(self.webpackChunk=self.webpackChunk||[]).push([[3086],{89489:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},59477:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},40001:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},26227:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},49198:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},41464:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},73331:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},15277:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},52671:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},8657:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},56082:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},33853:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},15075:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},43531:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},61485:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},47472:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(54476),k=O(59301),P={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"},_=P,N=O(7657),C=function(d,l){return k.createElement(N.Z,(0,h.Z)({},d,{ref:l,icon:_}))},m=k.forwardRef(C),p=m},13108:function(Nn,pt){"use strict";pt.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},84583:function(Nn,pt){"use strict";pt.Z={ChangeBut:"ChangeBut___VMCUO",DefaultDiv:"DefaultDiv___diOnG",DefaultDivItemActive:"DefaultDivItemActive___p8PnJ",DefaultDivItem:"DefaultDivItem___BkCuW",TableStyle:"TableStyle___DOsaq",ProgressStyle:"ProgressStyle___Mbw5z",ProgressStyle2:"ProgressStyle2___w9DG9",RankingDiv:"RankingDiv___RCXlB",NavBgTwo:"NavBgTwo___KU7t1",NavBgTwoActive:"NavBgTwoActive___hkC0h",NavBgItem:"NavBgItem___TBfQf",InputStyle:"InputStyle___BAYzG",TableMyHeader:"TableMyHeader___nZel6",TableMyDiv:"TableMyDiv___F4fkZ",CollapseStyle:"CollapseStyle___VkVMr",Item:"Item___pqPqX",SituationItem:"SituationItem___MzguO",waveDom:"waveDom___N1Yew",wave:"wave___UTqsO",select:"select___Yd9qe",selectWrap:"selectWrap___ddND4",masteryList:"masteryList___jQNpd",row:"row___h3q8Q",masteryHead:"masteryHead___B6Wcy",masteryBody:"masteryBody___DZSiT",dot:"dot___ZZ043"}},94008:function(Nn,pt,O){"use strict";var h=O(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,m=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))N.call(d,l)&&C(E,l,d[l]);return E};const p=E=>React.createElement("svg",m({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},E),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));pt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},20428:function(Nn,pt,O){"use strict";var h=O(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,m=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))N.call(d,l)&&C(E,l,d[l]);return E};const p=E=>React.createElement("svg",m({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},E),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));pt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},80636:function(Nn,pt){var O=(h,k,P)=>new Promise((_,N)=>{var C=E=>{try{p(P.next(E))}catch(d){N(d)}},m=E=>{try{p(P.throw(E))}catch(d){N(d)}},p=E=>E.done?_(E.value):Promise.resolve(E.value).then(C,m);p((P=P.apply(h,k)).next())});(function(h,k){k(pt)})(this,function(h){"use strict";var k={value:()=>{}};function P(){for(var S,R=0,W=arguments.length,H={};R=0&&(H=W.slice(G+1),W=W.slice(0,G)),W&&!R.hasOwnProperty(W))throw new Error("unknown type: "+W);return{type:W,name:H}})}function C(S,R){for(var W,H=0,G=S.length;H0)for(var W,H,G=new Array(W),J=0;J=0&&(R=S.slice(0,W))!=="xmlns"&&(S=S.slice(W+1)),E.hasOwnProperty(R)?{space:E[R],local:S}:S}function l(S){return function(){var R=this.ownerDocument,W=this.namespaceURI;return W===p&&R.documentElement.namespaceURI===p?R.createElement(S):R.createElementNS(W,S)}}function o(S){return function(){return this.ownerDocument.createElementNS(S.space,S.local)}}function g(S){var R=d(S);return(R.local?o:l)(R)}function r(){}function n(S){return S==null?r:function(){return this.querySelector(S)}}function a(S){return S==null?[]:Array.isArray(S)?S:Array.from(S)}function c(){return[]}function u(S){return S==null?c:function(){return this.querySelectorAll(S)}}function s(S){return function(){return this.matches(S)}}function v(S){return function(R){return R.matches(S)}}var e=Array.prototype.find;function t(){return this.firstElementChild}var i=Array.prototype.filter;function f(){return Array.from(this.children)}function y(S){return new Array(S.length)}function b(S,R){this.ownerDocument=S.ownerDocument,this.namespaceURI=S.namespaceURI,this._next=null,this._parent=S,this.__data__=R}function x(S){return function(){return S}}function A(S,R,W,H,G,J){for(var ue,ae=0,Ae=R.length,pe=J.length;aeR?1:S>=R?0:NaN}function B(S){return function(){this.removeAttribute(S)}}function I(S){return function(){this.removeAttributeNS(S.space,S.local)}}function U(S,R){return function(){this.setAttribute(S,R)}}function F(S,R){return function(){this.setAttributeNS(S.space,S.local,R)}}function K(S,R){return function(){var W=R.apply(this,arguments);W==null?this.removeAttribute(S):this.setAttribute(S,W)}}function j(S,R){return function(){var W=R.apply(this,arguments);W==null?this.removeAttributeNS(S.space,S.local):this.setAttributeNS(S.space,S.local,W)}}function X(S){return S.ownerDocument&&S.ownerDocument.defaultView||S.document&&S||S.defaultView}function Y(S){return function(){this.style.removeProperty(S)}}function se(S,R,W){return function(){this.style.setProperty(S,R,W)}}function Q(S,R,W){return function(){var H=R.apply(this,arguments);H==null?this.style.removeProperty(S):this.style.setProperty(S,H,W)}}function ve(S,R){return S.style.getPropertyValue(R)||X(S).getComputedStyle(S,null).getPropertyValue(R)}function xe(S){return function(){delete this[S]}}function Ce(S,R){return function(){this[S]=R}}function De(S,R){return function(){var W=R.apply(this,arguments);W==null?delete this[S]:this[S]=W}}function Ue(S){return S.trim().split(/^|\s+/)}function Me(S){return S.classList||new Je(S)}function Je(S){this._node=S,this._names=Ue(S.getAttribute("class")||"")}function Re(S,R){for(var W=Me(S),H=-1,G=R.length;++H=0&&(W=R.slice(H+1),R=R.slice(0,H)),{type:R,name:W}})}function Xe(S){return function(){var R=this.__on;if(R){for(var W,H=0,G=-1,J=R.length;H=0&&(this._names.splice(R,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(S){return this._names.indexOf(S)>=0}};var Ze=[null];function Oe(S,R){this._groups=S,this._parents=R}function Qe(){return new Oe([[document.documentElement]],Ze)}function rt(S){return typeof S=="string"?new Oe([[document.querySelector(S)]],[document.documentElement]):new Oe([[S]],Ze)}function _t(S,R){if(S=function(J){let ue;for(;ue=J.sourceEvent;)J=ue;return J}(S),R===void 0&&(R=S.currentTarget),R){var W=R.ownerSVGElement||R;if(W.createSVGPoint){var H=W.createSVGPoint();return H.x=S.clientX,H.y=S.clientY,[(H=H.matrixTransform(R.getScreenCTM().inverse())).x,H.y]}if(R.getBoundingClientRect){var G=R.getBoundingClientRect();return[S.clientX-G.left-R.clientLeft,S.clientY-G.top-R.clientTop]}}return[S.pageX,S.pageY]}Oe.prototype=Qe.prototype={constructor:Oe,select:function(S){typeof S!="function"&&(S=n(S));for(var R=this._groups,W=R.length,H=new Array(W),G=0;G=Wn&&(Wn=Ht+1);!(Kt=it[Wn])&&++Wn=0;)(H=G[J])&&(ue&&4^H.compareDocumentPosition(ue)&&ue.parentNode.insertBefore(H,ue),ue=H);return this},sort:function(S){function R(Ke,Ye){return Ke&&Ye?S(Ke.__data__,Ye.__data__):!Ke-!Ye}S||(S=D);for(var W=this._groups,H=W.length,G=new Array(H),J=0;J1?this.each((R==null?Y:typeof R=="function"?Q:se)(S,R,W==null?"":W)):ve(this.node(),S)},property:function(S,R){return arguments.length>1?this.each((R==null?xe:typeof R=="function"?De:Ce)(S,R)):this.node()[S]},classed:function(S,R){var W=Ue(S+"");if(arguments.length<2){for(var H=Me(this.node()),G=-1,J=W.length;++G()=>S;function Tn(S,{sourceEvent:R,subject:W,target:H,identifier:G,active:J,x:ue,y:ae,dx:Ae,dy:pe,dispatch:we}){Object.defineProperties(this,{type:{value:S,enumerable:!0,configurable:!0},sourceEvent:{value:R,enumerable:!0,configurable:!0},subject:{value:W,enumerable:!0,configurable:!0},target:{value:H,enumerable:!0,configurable:!0},identifier:{value:G,enumerable:!0,configurable:!0},active:{value:J,enumerable:!0,configurable:!0},x:{value:ue,enumerable:!0,configurable:!0},y:{value:ae,enumerable:!0,configurable:!0},dx:{value:Ae,enumerable:!0,configurable:!0},dy:{value:pe,enumerable:!0,configurable:!0},_:{value:we}})}function en(S){return!S.ctrlKey&&!S.button}function jt(){return this.parentNode}function Xt(S,R){return R==null?{x:S.x,y:S.y}:R}function St(){return navigator.maxTouchPoints||"ontouchstart"in this}function It(S,R,W){S.prototype=R.prototype=W,W.constructor=S}function Rt(S,R){var W=Object.create(S.prototype);for(var H in R)W[H]=R[H];return W}function Wt(){}Tn.prototype.on=function(){var S=this._.on.apply(this._,arguments);return S===this._?this:S};var dn=.7,Dn=1/dn,dt="\\s*([+-]?\\d+)\\s*",T="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Z=/^#([0-9a-f]{3,8})$/,ie=new RegExp(`^rgb\\(${dt},${dt},${dt}\\)$`),le=new RegExp(`^rgb\\(${z},${z},${z}\\)$`),$e=new RegExp(`^rgba\\(${dt},${dt},${dt},${T}\\)$`),ot=new RegExp(`^rgba\\(${z},${z},${z},${T}\\)$`),Et=new RegExp(`^hsl\\(${T},${z},${z}\\)$`),st=new RegExp(`^hsla\\(${T},${z},${z},${T}\\)$`),Bt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function kt(){return this.rgb().formatHex()}function He(){return this.rgb().formatRgb()}function Be(S){var R,W;return S=(S+"").trim().toLowerCase(),(R=Z.exec(S))?(W=R[1].length,R=parseInt(R[1],16),W===6?Ee(R):W===3?new he(R>>8&15|R>>4&240,R>>4&15|240&R,(15&R)<<4|15&R,1):W===8?Le(R>>24&255,R>>16&255,R>>8&255,(255&R)/255):W===4?Le(R>>12&15|R>>8&240,R>>8&15|R>>4&240,R>>4&15|240&R,((15&R)<<4|15&R)/255):null):(R=ie.exec(S))?new he(R[1],R[2],R[3],1):(R=le.exec(S))?new he(255*R[1]/100,255*R[2]/100,255*R[3]/100,1):(R=$e.exec(S))?Le(R[1],R[2],R[3],R[4]):(R=ot.exec(S))?Le(255*R[1]/100,255*R[2]/100,255*R[3]/100,R[4]):(R=Et.exec(S))?Ge(R[1],R[2]/100,R[3]/100,1):(R=st.exec(S))?Ge(R[1],R[2]/100,R[3]/100,R[4]):Bt.hasOwnProperty(S)?Ee(Bt[S]):S==="transparent"?new he(NaN,NaN,NaN,0):null}function Ee(S){return new he(S>>16&255,S>>8&255,255&S,1)}function Le(S,R,W,H){return H<=0&&(S=R=W=NaN),new he(S,R,W,H)}function Ie(S){return S instanceof Wt||(S=Be(S)),S?new he((S=S.rgb()).r,S.g,S.b,S.opacity):new he}function ze(S,R,W,H){return arguments.length===1?Ie(S):new he(S,R,W,H==null?1:H)}function he(S,R,W,H){this.r=+S,this.g=+R,this.b=+W,this.opacity=+H}function je(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}`}function tt(){const S=me(this.opacity);return`${S===1?"rgb(":"rgba("}${ye(this.r)}, ${ye(this.g)}, ${ye(this.b)}${S===1?")":`, ${S})`}`}function me(S){return isNaN(S)?1:Math.max(0,Math.min(1,S))}function ye(S){return Math.max(0,Math.min(255,Math.round(S)||0))}function _e(S){return((S=ye(S))<16?"0":"")+S.toString(16)}function Ge(S,R,W,H){return H<=0?S=R=W=NaN:W<=0||W>=1?S=R=NaN:R<=0&&(S=NaN),new ut(S,R,W,H)}function Se(S){if(S instanceof ut)return new ut(S.h,S.s,S.l,S.opacity);if(S instanceof Wt||(S=Be(S)),!S)return new ut;if(S instanceof ut)return S;var R=(S=S.rgb()).r/255,W=S.g/255,H=S.b/255,G=Math.min(R,W,H),J=Math.max(R,W,H),ue=NaN,ae=J-G,Ae=(J+G)/2;return ae?(ue=R===J?(W-H)/ae+6*(W0&&Ae<1?0:ue,new ut(ue,ae,Ae,S.opacity)}function ut(S,R,W,H){this.h=+S,this.s=+R,this.l=+W,this.opacity=+H}function bt(S){return(S=(S||0)%360)<0?S+360:S}function Pt(S){return Math.max(0,Math.min(1,S||0))}function Yt(S,R,W){return 255*(S<60?R+(W-R)*S/60:S<180?W:S<240?R+(W-R)*(240-S)/60:R)}It(Wt,Be,{copy(S){return Object.assign(new this.constructor,this,S)},displayable(){return this.rgb().displayable()},hex:kt,formatHex:kt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Se(this).formatHsl()},formatRgb:He,toString:He}),It(he,ze,Rt(Wt,{brighter(S){return S=S==null?Dn:Math.pow(Dn,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},darker(S){return S=S==null?dn:Math.pow(dn,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},rgb(){return this},clamp(){return new he(ye(this.r),ye(this.g),ye(this.b),me(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:je,formatHex:je,formatHex8:function(){return`#${_e(this.r)}${_e(this.g)}${_e(this.b)}${_e(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tt,toString:tt})),It(ut,function(S,R,W,H){return arguments.length===1?Se(S):new ut(S,R,W,H==null?1:H)},Rt(Wt,{brighter(S){return S=S==null?Dn:Math.pow(Dn,S),new ut(this.h,this.s,this.l*S,this.opacity)},darker(S){return S=S==null?dn:Math.pow(dn,S),new ut(this.h,this.s,this.l*S,this.opacity)},rgb(){var S=this.h%360+360*(this.h<0),R=isNaN(S)||isNaN(this.s)?0:this.s,W=this.l,H=W+(W<.5?W:1-W)*R,G=2*W-H;return new he(Yt(S>=240?S-240:S+120,G,H),Yt(S,G,H),Yt(S<120?S+240:S-120,G,H),this.opacity)},clamp(){return new ut(bt(this.h),Pt(this.s),Pt(this.l),me(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const S=me(this.opacity);return`${S===1?"hsl(":"hsla("}${bt(this.h)}, ${100*Pt(this.s)}%, ${100*Pt(this.l)}%${S===1?")":`, ${S})`}`}}));var sn=S=>()=>S;function Mn(S){return(S=+S)==1?xn:function(R,W){return W-R?function(H,G,J){return H=Math.pow(H,J),G=Math.pow(G,J)-H,J=1/J,function(ue){return Math.pow(H+ue*G,J)}}(R,W,S):sn(isNaN(R)?W:R)}}function xn(S,R){var W=R-S;return W?function(H,G){return function(J){return H+J*G}}(S,W):sn(isNaN(S)?R:S)}var an=function S(R){var W=Mn(R);function H(G,J){var ue=W((G=ze(G)).r,(J=ze(J)).r),ae=W(G.g,J.g),Ae=W(G.b,J.b),pe=xn(G.opacity,J.opacity);return function(we){return G.r=ue(we),G.g=ae(we),G.b=Ae(we),G.opacity=pe(we),G+""}}return H.gamma=S,H}(1);function hn(S,R){R||(R=[]);var W,H=S?Math.min(R.length,S.length):0,G=R.slice();return function(J){for(W=0;WJ&&(G=R.slice(J,G),ae[ue]?ae[ue]+=G:ae[++ue]=G),(W=W[0])===(H=H[0])?ae[ue]?ae[ue]+=H:ae[++ue]=H:(ae[++ue]=null,Ae.push({i:ue,x:On(W,H)})),J=Fn.lastIndex;return J180?we+=360:we-pe>180&&(pe+=360),Ye.push({i:Ke.push(G(Ke)+"rotate(",null,H)-2,x:On(pe,we)})):we&&Ke.push(G(Ke)+"rotate("+we+H)}(J.rotate,ue.rotate,ae,Ae),function(pe,we,Ke,Ye){pe!==we?Ye.push({i:Ke.push(G(Ke)+"skewX(",null,H)-2,x:On(pe,we)}):we&&Ke.push(G(Ke)+"skewX("+we+H)}(J.skewX,ue.skewX,ae,Ae),function(pe,we,Ke,Ye,gt,ct){if(pe!==Ke||we!==Ye){var nt=gt.push(G(gt)+"scale(",null,",",null,")");ct.push({i:nt-4,x:On(pe,Ke)},{i:nt-2,x:On(we,Ye)})}else Ke===1&&Ye===1||gt.push(G(gt)+"scale("+Ke+","+Ye+")")}(J.scaleX,J.scaleY,ue.scaleX,ue.scaleY,ae,Ae),J=ue=null,function(pe){for(var we,Ke=-1,Ye=Ae.length;++Ke=0&&R._call.call(void 0,S),R=R._next;--kr})()}finally{kr=0,function(){for(var S,R,W=Dt,H=1/0;W;)W._call?(H>W._time&&(H=W._time),S=W,W=W._next):(R=W._next,W._next=null,W=S?S._next=R:Dt=R);Hr=S,et(H)}(),lr=0}}function Pr(){var S=Zt.now(),R=S-ar;R>1e3&&(Sn-=R,ar=S)}function et(S){kr||(Wr&&(Wr=clearTimeout(Wr)),S-lr>24?(S<1/0&&(Wr=setTimeout(gr,S-Zt.now()-Sn)),ea&&(ea=clearInterval(ea))):(ea||(ar=Zt.now(),ea=setInterval(Pr,1e3)),kr=1,qt(gr)))}function Ft(S,R,W){var H=new hr;return R=R==null?0:+R,H.restart(G=>{H.stop(),S(G+R)},R,W),H}hr.prototype=Tr.prototype={constructor:hr,restart:function(S,R,W){if(typeof S!="function")throw new TypeError("callback is not a function");W=(W==null?Xn():+W)+(R==null?0:+R),this._next||Hr===this||(Hr?Hr._next=this:Dt=this,Hr=this),this._call=S,this._time=W,et()},stop:function(){this._call&&(this._call=null,this._time=1/0,et())}};var At=P("start","end","cancel","interrupt"),En=[];function Qn(S,R,W,H,G,J){var ue=S.__transition;if(ue){if(W in ue)return}else S.__transition={};(function(ae,Ae,pe){var we,Ke=ae.__transition;function Ye(it){pe.state=1,pe.timer.restart(gt,pe.delay,pe.time),pe.delay<=it&>(it-pe.delay)}function gt(it){var Tt,Ct,Kt,Ht;if(pe.state!==1)return nt();for(Tt in Ke)if((Ht=Ke[Tt]).name===pe.name){if(Ht.state===3)return Ft(gt);Ht.state===4?(Ht.state=6,Ht.timer.stop(),Ht.on.call("interrupt",ae,ae.__data__,Ht.index,Ht.group),delete Ke[Tt]):+Tt0)throw new Error("too late; already scheduled");return W}function vr(S,R){var W=Pn(S,R);if(W.state>3)throw new Error("too late; already running");return W}function Pn(S,R){var W=S.__transition;if(!W||!(W=W[R]))throw new Error("transition not found");return W}function Jt(S,R){var W,H,G,J=S.__transition,ue=!0;if(J){for(G in R=R==null?null:R+"",J)(W=J[G]).name===R?(H=W.state>2&&W.state<5,W.state=6,W.timer.stop(),W.on.call(H?"interrupt":"cancel",S,S.__data__,W.index,W.group),delete J[G]):ue=!1;ue&&delete S.__transition}}function Vn(S,R){var W,H;return function(){var G=vr(this,S),J=G.tween;if(J!==W){for(var ue=0,ae=(H=W=J).length;ue=0&&(ae=ae.slice(0,Ae)),!ae||ae==="start"})}(R)?mt:vr;return function(){var ue=J(this,S),ae=ue.on;ae!==H&&(G=(H=ae).copy()).on(R,W),ue.on=G}}var fa=Qe.prototype.constructor;function qr(S){return function(){this.style.removeProperty(S)}}function Ea(S,R,W){return function(H){this.style.setProperty(S,R.call(this,H),W)}}function Lr(S,R,W){var H,G;function J(){var ue=R.apply(this,arguments);return ue!==G&&(H=(G=ue)&&Ea(S,ue,W)),H}return J._value=R,J}function Qr(S){return function(R){this.textContent=S.call(this,R)}}function vn(S){var R,W;function H(){var G=S.apply(this,arguments);return G!==W&&(R=(W=G)&&Qr(G)),R}return H._value=S,H}var kn=0;function Yn(S,R,W,H){this._groups=S,this._parents=R,this._name=W,this._id=H}function Nr(){return++kn}var Gt=Qe.prototype;Yn.prototype={constructor:Yn,select:function(S){var R=this._name,W=this._id;typeof S!="function"&&(S=n(S));for(var H=this._groups,G=H.length,J=new Array(G),ue=0;ue=(J=(nt+Tt)/2))?nt=J:Tt=J,(we=W>=(ue=(it+Ct)/2))?it=ue:Ct=ue,G=gt,!(gt=gt[Ke=we<<1|pe]))return G[Ke]=ct,S;if(ae=+S._x.call(null,gt.data),Ae=+S._y.call(null,gt.data),R===ae&&W===Ae)return ct.next=gt,G?G[Ke]=ct:S._root=ct,S;do G=G?G[Ke]=new Array(4):S._root=new Array(4),(pe=R>=(J=(nt+Tt)/2))?nt=J:Tt=J,(we=W>=(ue=(it+Ct)/2))?it=ue:Ct=ue;while((Ke=we<<1|pe)==(Ye=(Ae>=ue)<<1|ae>=J));return G[Ye]=gt,G[Ke]=ct,S}function ha(S,R,W,H,G){this.node=S,this.x0=R,this.y0=W,this.x1=H,this.y1=G}function Ua(S){return S[0]}function Xa(S){return S[1]}function Wa(S,R,W){var H=new ei(R==null?Ua:R,W==null?Xa:W,NaN,NaN,NaN,NaN);return S==null?H:H.addAll(S)}function ei(S,R,W,H,G,J){this._x=S,this._y=R,this._x0=W,this._y0=H,this._x1=G,this._y1=J,this._root=void 0}function Fa(S){for(var R={data:S.data},W=R;S=S.next;)W=W.next={data:S.data};return R}la.prototype=Jr.prototype={constructor:la,moveTo:function(S,R){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+R)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(S,R){this._+="L"+(this._x1=+S)+","+(this._y1=+R)},quadraticCurveTo:function(S,R,W,H){this._+="Q"+ +S+","+ +R+","+(this._x1=+W)+","+(this._y1=+H)},bezierCurveTo:function(S,R,W,H,G,J){this._+="C"+ +S+","+ +R+","+ +W+","+ +H+","+(this._x1=+G)+","+(this._y1=+J)},arcTo:function(S,R,W,H,G){S=+S,R=+R,W=+W,H=+H,G=+G;var J=this._x1,ue=this._y1,ae=W-S,Ae=H-R,pe=J-S,we=ue-R,Ke=pe*pe+we*we;if(G<0)throw new Error("negative radius: "+G);if(this._x1===null)this._+="M"+(this._x1=S)+","+(this._y1=R);else if(Ke>Zn)if(Math.abs(we*ae-Ae*pe)>Zn&&G){var Ye=W-J,gt=H-ue,ct=ae*ae+Ae*Ae,nt=Ye*Ye+gt*gt,it=Math.sqrt(ct),Tt=Math.sqrt(Ke),Ct=G*Math.tan((oa-Math.acos((ct+Ke-nt)/(2*it*Tt)))/2),Kt=Ct/Tt,Ht=Ct/it;Math.abs(Kt-1)>Zn&&(this._+="L"+(S+Kt*pe)+","+(R+Kt*we)),this._+="A"+G+","+G+",0,0,"+ +(we*Ye>pe*gt)+","+(this._x1=S+Ht*ae)+","+(this._y1=R+Ht*Ae)}else this._+="L"+(this._x1=S)+","+(this._y1=R)},arc:function(S,R,W,H,G,J){S=+S,R=+R,J=!!J;var ue=(W=+W)*Math.cos(H),ae=W*Math.sin(H),Ae=S+ue,pe=R+ae,we=1^J,Ke=J?H-G:G-H;if(W<0)throw new Error("negative radius: "+W);this._x1===null?this._+="M"+Ae+","+pe:(Math.abs(this._x1-Ae)>Zn||Math.abs(this._y1-pe)>Zn)&&(this._+="L"+Ae+","+pe),W&&(Ke<0&&(Ke=Ke%Aa+Aa),Ke>na?this._+="A"+W+","+W+",0,1,"+we+","+(S-ue)+","+(R-ae)+"A"+W+","+W+",0,1,"+we+","+(this._x1=Ae)+","+(this._y1=pe):Ke>Zn&&(this._+="A"+W+","+W+",0,"+ +(Ke>=oa)+","+we+","+(this._x1=S+W*Math.cos(G))+","+(this._y1=R+W*Math.sin(G))))},rect:function(S,R,W,H){this._+="M"+(this._x0=this._x1=+S)+","+(this._y0=this._y1=+R)+"h"+ +W+"v"+ +H+"h"+-W+"Z"},toString:function(){return this._}};var va=Wa.prototype=ei.prototype;function jr(S){return function(){return S}}function za(S){return 1e-6*(S()-.5)}function vi(S){return S.x+S.vx}function mi(S){return S.y+S.vy}function ir(S){return S.index}function Vr(S,R){var W=S.get(R);if(!W)throw new Error("node not found: "+R);return W}function Ha(S){var R,W,H,G,J,ue,ae=ir,Ae=function(nt){return 1/Math.min(G[nt.source.index],G[nt.target.index])},pe=jr(30),we=1;function Ke(nt){for(var it=0,Tt=S.length;it[ae(Ht,Wn,H),Ht]));for(nt=0,G=new Array(Tt);ntwe&&(we=H),GKe&&(Ke=G));if(Ae>we||pe>Ke)return this;for(this.cover(Ae,pe).cover(we,Ke),W=0;WS||S>=G||H>R||R>=J;)switch(ae=(RYe||(J=Ae.y0)>gt||(ue=Ae.x1)=Tt)<<1|S>=it)&&(Ae=ct[ct.length-1],ct[ct.length-1]=ct[ct.length-1-pe],ct[ct.length-1-pe]=Ae)}else{var Ct=S-+this._x.call(null,nt.data),Kt=R-+this._y.call(null,nt.data),Ht=Ct*Ct+Kt*Kt;if(Ht=(ae=(ct+it)/2))?ct=ae:it=ae,(we=ue>=(Ae=(nt+Tt)/2))?nt=Ae:Tt=Ae,R=gt,!(gt=gt[Ke=we<<1|pe]))return this;if(!gt.length)break;(R[Ke+1&3]||R[Ke+2&3]||R[Ke+3&3])&&(W=R,Ye=Ke)}for(;gt.data!==S;)if(H=gt,!(gt=gt.next))return this;return(G=gt.next)&&delete gt.next,H?(G?H.next=G:delete H.next,this):R?(G?R[Ke]=G:delete R[Ke],(gt=R[0]||R[1]||R[2]||R[3])&>===(R[3]||R[2]||R[1]||R[0])&&!gt.length&&(W?W[Ye]=gt:this._root=gt),this):(this._root=G,this)},va.removeAll=function(S){for(var R=0,W=S.length;R(nt=(1664525*nt+1013904223)%Oa)/Oa}();function Ke(){Ye(),pe.call("tick",R),W1?(it==null?ae.delete(nt):ae.set(nt,ct(it)),R):ae.get(nt)},find:function(nt,it,Tt){var Ct,Kt,Ht,Wn,ln,rr=0,Hn=S.length;for(Tt==null?Tt=1/0:Tt*=Tt,rr=0;rr1?(pe.on(nt,it),R):pe.on(nt)}}}function Sr(S){return function(){return S}}const ta=Math.abs,Ur=Math.atan2,Zr=Math.cos,ua=Math.max,Ya=Math.min,ma=Math.sin,Ka=Math.sqrt,ka=1e-12,ui=Math.PI,$a=ui/2,Ai=2*ui;function wa(S){return S>1?0:S<-1?ui:Math.acos(S)}function pi(S){return S>=1?$a:S<=-1?-$a:Math.asin(S)}function Ni(S){return S.innerRadius}function xo(S){return S.outerRadius}function Co(S){return S.startAngle}function qi(S){return S.endAngle}function ao(S){return S&&S.padAngle}function ki(S,R,W,H,G,J,ue,ae){var Ae=W-S,pe=H-R,we=ue-G,Ke=ae-J,Ye=Ke*Ae-we*pe;if(!(Ye*Yefn*fn+Un*Un&&(Hn=An,xr=wn),{cx:Hn,cy:xr,x01:-we,y01:-Ke,x11:Hn*(G/Wn-1),y11:xr*(G/Wn-1)}}function Lo(){var S=Ni,R=xo,W=Sr(0),H=null,G=Co,J=qi,ue=ao,ae=null;function Ae(){var pe,we,Ke=+S.apply(this,arguments),Ye=+R.apply(this,arguments),gt=G.apply(this,arguments)-$a,ct=J.apply(this,arguments)-$a,nt=ta(ct-gt),it=ct>gt;if(ae||(ae=pe=Jr()),Yeka)if(nt>Ai-ka)ae.moveTo(Ye*Zr(gt),Ye*ma(gt)),ae.arc(0,0,Ye,gt,ct,!it),Ke>ka&&(ae.moveTo(Ke*Zr(ct),Ke*ma(ct)),ae.arc(0,0,Ke,ct,gt,it));else{var Tt,Ct,Kt=gt,Ht=ct,Wn=gt,ln=ct,rr=nt,Hn=nt,xr=ue.apply(this,arguments)/2,An=xr>ka&&(H?+H.apply(this,arguments):Ka(Ke*Ke+Ye*Ye)),wn=Ya(ta(Ye-Ke)/2,+W.apply(this,arguments)),qn=wn,Mt=wn;if(An>ka){var fn=pi(An/Ke*ma(xr)),Un=pi(An/Ye*ma(xr));(rr-=2*fn)>ka?(Wn+=fn*=it?1:-1,ln-=fn):(rr=0,Wn=ln=(gt+ct)/2),(Hn-=2*Un)>ka?(Kt+=Un*=it?1:-1,Ht-=Un):(Hn=0,Kt=Ht=(gt+ct)/2)}var Qt=Ye*Zr(Kt),In=Ye*ma(Kt),cn=Ke*Zr(ln),_n=Ke*ma(ln);if(wn>ka){var _r,Fr=Ye*Zr(Ht),dr=Ye*ma(Ht),aa=Ke*Zr(Wn),pa=Ke*ma(Wn);if(ntka?Mt>ka?(Tt=Gi(aa,pa,Qt,In,Ye,Mt,it),Ct=Gi(Fr,dr,cn,_n,Ye,Mt,it),ae.moveTo(Tt.cx+Tt.x01,Tt.cy+Tt.y01),Mtka&&rr>ka?qn>ka?(Tt=Gi(cn,_n,Fr,dr,Ke,-qn,it),Ct=Gi(Qt,In,aa,pa,Ke,-qn,it),ae.lineTo(Tt.cx+Tt.x01,Tt.cy+Tt.y01),qnS?1:R>=S?0:NaN}function oo(S){return S}function so(){var S=oo,R=bo,W=null,H=Sr(0),G=Sr(Ai),J=Sr(0);function ue(ae){var Ae,pe,we,Ke,Ye,gt=(ae=io(ae)).length,ct=0,nt=new Array(gt),it=new Array(gt),Tt=+H.apply(this,arguments),Ct=Math.min(Ai,Math.max(-Ai,G.apply(this,arguments)-Tt)),Kt=Math.min(Math.abs(Ct)/gt,J.apply(this,arguments)),Ht=Kt*(Ct<0?-1:1);for(Ae=0;Ae0&&(ct+=Ye);for(R!=null?nt.sort(function(Wn,ln){return R(it[Wn],it[ln])}):W!=null&&nt.sort(function(Wn,ln){return W(ae[Wn],ae[ln])}),Ae=0,we=ct?(Ct-gt*Ht)/ct:0;Ae0?Ye*we:0)+Ht,it[pe]={data:ae[pe],index:Ae,value:Ye,startAngle:Tt,endAngle:Ke,padAngle:Kt};return it}return ue.value=function(ae){return arguments.length?(S=typeof ae=="function"?ae:Sr(+ae),ue):S},ue.sortValues=function(ae){return arguments.length?(R=ae,W=null,ue):R},ue.sort=function(ae){return arguments.length?(W=ae,R=null,ue):W},ue.startAngle=function(ae){return arguments.length?(H=typeof ae=="function"?ae:Sr(+ae),ue):H},ue.endAngle=function(ae){return arguments.length?(G=typeof ae=="function"?ae:Sr(+ae),ue):G},ue.padAngle=function(ae){return arguments.length?(J=typeof ae=="function"?ae:Sr(+ae),ue):J},ue}var Xi=S=>()=>S;function lo(S,{sourceEvent:R,target:W,transform:H,dispatch:G}){Object.defineProperties(this,{type:{value:S,enumerable:!0,configurable:!0},sourceEvent:{value:R,enumerable:!0,configurable:!0},target:{value:W,enumerable:!0,configurable:!0},transform:{value:H,enumerable:!0,configurable:!0},_:{value:G}})}function Si(S,R,W){this.k=S,this.x=R,this.y=W}Si.prototype={constructor:Si,scale:function(S){return S===1?this:new Si(this.k*S,this.x,this.y)},translate:function(S,R){return S===0&R===0?this:new Si(this.k,this.x+this.k*S,this.y+this.k*R)},apply:function(S){return[S[0]*this.k+this.x,S[1]*this.k+this.y]},applyX:function(S){return S*this.k+this.x},applyY:function(S){return S*this.k+this.y},invert:function(S){return[(S[0]-this.x)/this.k,(S[1]-this.y)/this.k]},invertX:function(S){return(S-this.x)/this.k},invertY:function(S){return(S-this.y)/this.k},rescaleX:function(S){return S.copy().domain(S.range().map(this.invertX,this).map(S.invert,S))},rescaleY:function(S){return S.copy().domain(S.range().map(this.invertY,this).map(S.invert,S))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var si=new Si(1,0,0);function Di(S){S.stopImmediatePropagation()}function Yi(S){S.preventDefault(),S.stopImmediatePropagation()}function Ao(S){return!(S.ctrlKey&&S.type!=="wheel"||S.button)}function Ro(){var S=this;return S instanceof SVGElement?(S=S.ownerSVGElement||S).hasAttribute("viewBox")?[[(S=S.viewBox.baseVal).x,S.y],[S.x+S.width,S.y+S.height]]:[[0,0],[S.width.baseVal.value,S.height.baseVal.value]]:[[0,0],[S.clientWidth,S.clientHeight]]}function Zo(){return this.__zoom||si}function No(S){return-S.deltaY*(S.deltaMode===1?.05:S.deltaMode?1:.002)*(S.ctrlKey?10:1)}function ia(){return navigator.maxTouchPoints||"ontouchstart"in this}function eo(S,R,W){var H=S.invertX(R[0][0])-W[0][0],G=S.invertX(R[1][0])-W[1][0],J=S.invertY(R[0][1])-W[0][1],ue=S.invertY(R[1][1])-W[1][1];return S.translate(G>H?(H+G)/2:Math.min(0,H)||Math.max(0,G),ue>J?(J+ue)/2:Math.min(0,J)||Math.max(0,ue))}function Qi(){var S,R,W,H=Ao,G=Ro,J=eo,ue=No,ae=ia,Ae=[0,1/0],pe=[[-1/0,-1/0],[1/0,1/0]],we=250,Ke=Rr,Ye=P("start","zoom","end"),gt=500,ct=0,nt=10;function it(Mt){Mt.property("__zoom",Zo).on("wheel.zoom",rr,{passive:!1}).on("mousedown.zoom",Hn).on("dblclick.zoom",xr).filter(ae).on("touchstart.zoom",An).on("touchmove.zoom",wn).on("touchend.zoom touchcancel.zoom",qn).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Tt(Mt,fn){return(fn=Math.max(Ae[0],Math.min(Ae[1],fn)))===Mt.k?Mt:new Si(fn,Mt.x,Mt.y)}function Ct(Mt,fn,Un){var Qt=fn[0]-Un[0]*Mt.k,In=fn[1]-Un[1]*Mt.k;return Qt===Mt.x&&In===Mt.y?Mt:new Si(Mt.k,Qt,In)}function Kt(Mt){return[(+Mt[0][0]+ +Mt[1][0])/2,(+Mt[0][1]+ +Mt[1][1])/2]}function Ht(Mt,fn,Un,Qt){Mt.on("start.zoom",function(){Wn(this,arguments).event(Qt).start()}).on("interrupt.zoom end.zoom",function(){Wn(this,arguments).event(Qt).end()}).tween("zoom",function(){var In=this,cn=arguments,_n=Wn(In,cn).event(Qt),_r=G.apply(In,cn),Fr=Un==null?Kt(_r):typeof Un=="function"?Un.apply(In,cn):Un,dr=Math.max(_r[1][0]-_r[0][0],_r[1][1]-_r[0][1]),aa=In.__zoom,pa=typeof fn=="function"?fn.apply(In,cn):fn,ba=Ke(aa.invert(Fr).concat(dr/aa.k),pa.invert(Fr).concat(dr/pa.k));return function(Or){if(Or===1)Or=pa;else{var Kr=ba(Or),Sa=dr/Kr[2];Or=new Si(Sa,Fr[0]-Kr[0]*Sa,Fr[1]-Kr[1]*Sa)}_n.zoom(null,Or)}})}function Wn(Mt,fn,Un){return!Un&&Mt.__zooming||new ln(Mt,fn)}function ln(Mt,fn){this.that=Mt,this.args=fn,this.active=0,this.sourceEvent=null,this.extent=G.apply(Mt,fn),this.taps=0}function rr(Mt,...fn){if(H.apply(this,arguments)){var Un=Wn(this,fn).event(Mt),Qt=this.__zoom,In=Math.max(Ae[0],Math.min(Ae[1],Qt.k*Math.pow(2,ue.apply(this,arguments)))),cn=_t(Mt);if(Un.wheel)Un.mouse[0][0]===cn[0]&&Un.mouse[0][1]===cn[1]||(Un.mouse[1]=Qt.invert(Un.mouse[0]=cn)),clearTimeout(Un.wheel);else{if(Qt.k===In)return;Un.mouse=[cn,Qt.invert(cn)],Jt(this),Un.start()}Yi(Mt),Un.wheel=setTimeout(_n,150),Un.zoom("mouse",J(Ct(Tt(Qt,In),Un.mouse[0],Un.mouse[1]),Un.extent,pe))}function _n(){Un.wheel=null,Un.end()}}function Hn(Mt,...fn){if(!W&&H.apply(this,arguments)){var Un=Mt.currentTarget,Qt=Wn(this,fn,!0).event(Mt),In=rt(Mt.view).on("mousemove.zoom",Fr,!0).on("mouseup.zoom",dr,!0),cn=_t(Mt,Un),_n=Mt.clientX,_r=Mt.clientY;mn(Mt.view),Di(Mt),Qt.mouse=[cn,this.__zoom.invert(cn)],Jt(this),Qt.start()}function Fr(aa){if(Yi(aa),!Qt.moved){var pa=aa.clientX-_n,ba=aa.clientY-_r;Qt.moved=pa*pa+ba*ba>ct}Qt.event(aa).zoom("mouse",J(Ct(Qt.that.__zoom,Qt.mouse[0]=_t(aa,Un),Qt.mouse[1]),Qt.extent,pe))}function dr(aa){In.on("mousemove.zoom mouseup.zoom",null),Bn(aa.view,Qt.moved),Yi(aa),Qt.event(aa).end()}}function xr(Mt,...fn){if(H.apply(this,arguments)){var Un=this.__zoom,Qt=_t(Mt.changedTouches?Mt.changedTouches[0]:Mt,this),In=Un.invert(Qt),cn=Un.k*(Mt.shiftKey?.5:2),_n=J(Ct(Tt(Un,cn),Qt,In),G.apply(this,fn),pe);Yi(Mt),we>0?rt(this).transition().duration(we).call(Ht,_n,Qt,Mt):rt(this).call(it.transform,_n,Qt,Mt)}}function An(Mt,...fn){if(H.apply(this,arguments)){var Un,Qt,In,cn,_n=Mt.touches,_r=_n.length,Fr=Wn(this,fn,Mt.changedTouches.length===_r).event(Mt);for(Di(Mt),Qt=0;Qt<_r;++Qt)cn=[cn=_t(In=_n[Qt],this),this.__zoom.invert(cn),In.identifier],Fr.touch0?Fr.touch1||Fr.touch0[2]===cn[2]||(Fr.touch1=cn,Fr.taps=0):(Fr.touch0=cn,Un=!0,Fr.taps=1+!!S);S&&(S=clearTimeout(S)),Un&&(Fr.taps<2&&(R=cn[0],S=setTimeout(function(){S=null},gt)),Jt(this),Fr.start())}}function wn(Mt,...fn){if(this.__zooming){var Un,Qt,In,cn,_n=Wn(this,fn).event(Mt),_r=Mt.changedTouches,Fr=_r.length;for(Yi(Mt),Un=0;Un=0;--Mt){var fn=this.tryEntries[Mt],Un=fn.completion;if(fn.tryLoc==="root")return qn("end");if(fn.tryLoc<=this.prev){var Qt=W.call(fn,"catchLoc"),In=W.call(fn,"finallyLoc");if(Qt&&In){if(this.prev=0;--qn){var Mt=this.tryEntries[qn];if(Mt.tryLoc<=this.prev&&W.call(Mt,"finallyLoc")&&this.prev=0;--wn){var qn=this.tryEntries[wn];if(qn.finallyLoc===An)return this.complete(qn.completion,qn.afterLoc),ln(qn),we}},catch:function(An){for(var wn=this.tryEntries.length-1;wn>=0;--wn){var qn=this.tryEntries[wn];if(qn.tryLoc===An){var Mt=qn.completion;if(Mt.type==="throw"){var fn=Mt.arg;ln(qn)}return fn}}throw new Error("illegal catch attempt")},delegateYield:function(An,wn,qn){return this.delegate={iterator:Hn(An),resultName:wn,nextLoc:qn},this.method==="next"&&(this.arg=void 0),we}},S}function uo(S){return uo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},uo(S)}function Mi(S,R,W,H,G,J,ue){try{var ae=S[J](ue),Ae=ae.value}catch(pe){return void W(pe)}ae.done?R(Ae):Promise.resolve(Ae).then(H,G)}function co(S){return function(){var R=this,W=arguments;return new Promise(function(H,G){var J=S.apply(R,W);function ue(Ae){Mi(J,H,G,ue,ae,"next",Ae)}function ae(Ae){Mi(J,H,G,ue,ae,"throw",Ae)}ue(void 0)})}}function po(S,R){if(!(S instanceof R))throw new TypeError("Cannot call a class as a function")}function Bo(S,R){for(var W=0;WS.length)&&(R=S.length);for(var W=0,H=new Array(R);W=S.length?{done:!0}:{done:!1,value:S[H++]}},e:function(Ae){throw Ae},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var J,ue=!0,ae=!1;return{s:function(){W=W.call(S)},n:function(){var Ae=W.next();return ue=Ae.done,Ae},e:function(Ae){ae=!0,J=Ae},f:function(){try{ue||W.return==null||W.return()}finally{if(ae)throw J}}}}function fo(S){var R=32;switch(S){case 0:R=23;break;case 1:R=26;break;case 2:default:R=32;break;case 3:R=38}return R}function Uo(S){S=S.sort();for(var R=[],W=0;WR&&W<2*R||W>R&&W<3*R)&&H.push(S.length);var Ae=H.length;Ae===1?G.push({text:S,x:0,y:0}):Ae===2?H.forEach(function(pe,we){we===0?G.push({text:S.substring(0,pe),x:0,y:-7}):G.push({text:S.substring(H[0],pe),x:0,y:7})}):H.forEach(function(pe,we){we===0?G.push({text:S.substring(0,pe),x:0,y:-12}):we===1?G.push({text:S.substring(H[0],pe+1),x:0,y:4}):S.length>pe?(()=>{var Ke=G.reduce((Ye,gt)=>Ye+gt.text.length,0);G.push({text:S.substring(Ke,Ke+2)+(S.length-(Ke+2)>0?"...":""),x:0,y:16})})():G.push({text:S.substring(H[1]+1,pe),x:0,y:16})})}(),G}Si.prototype;var Bi=["circle","rect","ellipse"],Oo=["url(#radialGradient-1)","url(#radialGradient-2)","url(#radialGradient-3)"],Yr=["url(#lines1)","url(#lines2)","url(#lines3)"];function Li(S,R,W){return S.selectAll(".node-circle").remove(),S.selectAll(".node-circle").data(R,function(H){return H.id}).enter().append(function(H){return Bi.includes(H.shape)?document.createElementNS("http://www.w3.org/2000/svg",H.shape):document.createElementNS("http://www.w3.org/2000/svg","circle")}).style("display",function(H){return H.hide?"none":"block"}).style("opacity",function(H){return H.hide?"0":"1"}).attr("r",function(H){return H.shape=="circle"?Vi(H.size):null}).attr("rx",function(H){return H.shape=="ellipse"?Vi(H.size)+10:H.shape=="rect"?10:null}).attr("ry",function(H){return H.shape=="ellipse"?Vi(H.size)+10:H.shape=="rect"?10:null}).attr("width",function(H){return H.shape=="rect"?3*(Vi(H.size)-6):2*(Vi(H.size)-6)}).attr("height",function(H){return H.shape=="rect"?1.5*(Vi(H.size)-6):2*(Vi(H.size)-6)}).attr("fill",function(H){return H.colorType?Oo[H.colorType-1]:H.color||"url(#radialGradient-1)"}).attr("color",function(H){return H.color||"#2E8B57"}).attr("class",function(H){return"node-circle node-circle-".concat(H.id," transition-opacity duration-500")}).attr("id",function(H){return"node-circle".concat(H.id)}).style("cursor","pointer").on("mouseover",function(H,G){var J=G.activeColor||"#008FFF";H.target.setAttribute("stroke",J),H.target.setAttribute("stroke-width","8")}).on("mouseout",function(H){H.target.setAttribute("stroke-width","0")}).append("title").text(function(H){return H.name}),S.selectAll(".node-circle")}function Vi(S){var R=32;switch(S){case 0:R=23;break;case 1:R=26;break;case 2:default:R=32;break;case 3:R=38}return R}function Wo(S,R){return S.selectAll("text").remove(),S.selectAll("text").data(R,function(W){return W.id}).enter().append("text").attr("dy",".35em").attr("text-anchor","middle").attr("pointer-events","none").style("fill","#fff").style("font-size","10px").style("text-anchor","middle").attr("class",function(W){return"node-text node-circle node-circle--text-".concat(W.id," node-text-").concat(W.id," transition-opacity duration-500")}).style("cursor","pointer").append("svg:title").text(function(W){return W.name}),S.selectAll("text").style("display",function(W){return W.hide?"none":"block"}),S.selectAll("text").attr("d",function(W){W.shape=="rect"?rt(".node-circle--text-".concat(W.id)).append("tspan").style("cursor","pointer").append("tspan").text(function(H){return H.name}):go(W.name,Vi(W.size)).forEach(function(H,G){rt(".node-circle--text-".concat(W.id)).append("tspan").style("cursor","pointer").attr("class",function(J){return"node-circle--tspan-".concat(J.id,"-").concat(G)}).attr("x",H.x).attr("y",H.y).text(function(){return H.text})})}),S.selectAll("text")}function zo(S){var R=arguments.length>1&&arguments[1]!==void 0&&arguments[1],W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},G=H._ops,J=rt("body"),ue=[];if(R&&G.isShowBatchOperation)return W.push(S.id),rt("".concat(G.containerName)).style("background","#5e5e5e"),W.forEach(function(Ke){ue.push(J.select("".concat(G.containerName," .node-circle-").concat(Ke)).attr("color"))}),J.selectAll("".concat(G.containerName," .node-circle")).attr("fill","#3c3b3b"),W.forEach(function(Ke,Ye){J.select("".concat(G.containerName," .node-circle-").concat(Ke)).attr("fill",ue[Ye])}),void rt(".graph-bath").style("display","block");if(G.isShowMask){var ae=[],Ae=[];G.links.map(function(Ke){Ke.source.id==S.id&&(ae.push(Ke.target.id),Ae.push(Ke.source.id+Ke.target.id)),Ke.target.id==S.id&&(ae.push(Ke.source.id),Ae.push(Ke.source.id+Ke.target.id))});var pe=Uo(ae),we=Uo(Ae);pe.push(S.id),J.selectAll("".concat(G.containerName," .line-item")).style("display","none"),rt("".concat(G.containerName)).style("background","#5e5e5e"),pe.forEach(function(Ke){ue.push(J.select("".concat(G.containerName," .node-circle-").concat(Ke)).attr("color"))}),J.selectAll("".concat(G.containerName," .node-circle")).attr("fill","#3c3b3b"),pe.forEach(function(Ke,Ye){J.select("".concat(G.containerName," .node-circle-").concat(Ke)).attr("fill",ue[Ye])}),we.forEach(function(Ke){J.selectAll("".concat(G.containerName," .line-item-").concat(Ke)).style("display",function(Ye){return Ye.hide?"none":"block"})})}}var to=[],wo={addPath:function(S){S.forEach(function(R){var W=to.indexOf(R);W!=-1&&to.splice(W,1),to.unshift(R)})},getPath:function(){return to},clearPath:function(){to.length=0}};function ho(S,R,W,H){return ji.apply(this,arguments)}function ji(){return ji=co(bi().mark(function S(R,W,H,G){var J;return bi().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return J=H._ops,ue.delegateYield(bi().mark(function ae(){var Ae,pe,we,Ke,Ye,gt,ct,nt,it,Tt,Ct,Kt,Ht,Wn,ln,rr,Hn,xr,An,wn,qn,Mt,fn,Un,Qt,In,cn,_n,_r,Fr;return bi().wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:dr.t0=R,dr.next=dr.t0==="remove"?3:dr.t0==="hide"?19:dr.t0==="contraction"?22:dr.t0==="extend"?42:dr.t0==="editSize"?62:dr.t0==="editColor"?71:dr.t0==="editShape"?79:dr.t0==="extend-path"?87:dr.t0==="contraction-path"?96:100;break;case 3:Ae=0;case 4:if(!(Ae1?cn[1]:null)&&gi.contractionPath(_n,cn,H),gi.extendPath(In,H),gi.previousStep.id=In,gi.previousStep.operate="extend",H.update(),dr.abrupt("break",100);case 96:return _r=W[0],(Fr=wo.getPath()).indexOf(_r)!=-1&&(gi.contractionPath(_r,Fr,H),gi.previousStep.operate=="extend"&&gi.previousStep.id!=_r?(gi.extendPath(gi.previousStep.id,H),gi.previousStep.operate="extend"):(gi.previousStep.id=_r,gi.previousStep.operate="contraction"),H.update()),dr.abrupt("break",100);case 100:case"end":return dr.stop()}},ae)})(),"t0",2);case 2:rt(J.containerName).style("background",J.background);case 3:case"end":return ue.stop()}},S)})),ji.apply(this,arguments)}var yo,gi={extendPath:function(S,R){for(var W=R._ops,H=W.nodes,G=W.links,J=[],ue=[],ae=0;ae0)for(var we=0;we1&&arguments[1]!==void 0?arguments[1]:{};yo=S,R._linkContainer.selectAll(".connect-item")._groups[0].length||R._linkContainer.append("g").attr("class","connect-item").append("path").attr("stroke-width",2).attr("stroke","#5e5ef0").attr("class","connect-item-inner"),rt("".concat(R._ops.containerName)).on("mousemove",function(W){$r(W,R)})}function $r(S,R){var W,H,G,J=(W=R._linkContainer._groups[0][0].parentNode.attributes.transform,{translate:(G=(H=W)&&/translate/.test(H.value)&&/scale/.test(H.value)&&H.value.match(/translate\(([^\)]+)\)\s?scale\(([^\)]+)/))&&G[1].split(",")||[0,0],scale:G&&G[2]||1}),ue=J.translate,ae=J.scale;R._linkContainer.selectAll(".connect-item-inner").attr("d",function(){return"M".concat(yo.x,", ").concat(yo.y," L").concat(S.offsetX/ae-ue[0]/ae,", ").concat(S.offsetY/ae-ue[1]/ae)})}function zr(S){return Array.isArray(S[0])?{message:"success",done:function(R){for(var W=0;W1&&arguments[1]!==void 0?arguments[1]:"order",W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,J=!0;return H==1&&S.length%2==0&&(J=!1),S.map(function(ue,ae){ue._level=H,ue._value=H==1?ae+1:ae+1+(W-1)*S.length,ue._parent=H==2?1:G,ue._site=H!=1||J?R:ae=it/2){var Wn=Kt.startAngle;Kt.startAngle=Kt.endAngle,Kt.endAngle=Wn}return Kt})):(it=pe._level==1?pe.children.length*Ke._toolbarData.length:pe.children.length*pe._num,nt=so()(new Array(it).fill(1)).map(function(Kt){if(pe._site=="left"){var Ht=Kt.startAngle;Kt.startAngle=Kt.endAngle,Kt.endAngle=Ht}return Kt})),we._num=nt.length;var Ct=pe._value;return we._site=="left"?(Tt=nt.slice(nt.length/2,nt.length),Ct=pe._value-pe._num/2):Tt=nt.slice(0,nt.length/2),Ye=at(Tt,Tt.length/(pe._num/2))[Ct-1],pe._level==0&&(Ye=nt),Ye}(W,J,H),Ae=Cr(ae[ue].startAngle,ae[ue].endAngle);return function(pe){return ci?function(we,Ke,Ye,gt,ct,nt,it,Tt){var Ct=ne(Ye[it].startAngle,Ke(we),ct._level+1,ct._level+2,Tt),Kt=Ct.centroid(Ye[it]);return gt[it].setAttribute("x",Kt[0]-6),gt[it].setAttribute("y",Kt[1]-6),Tt._operationContainer.selectAll("".concat(nt," .pie-icon")).transition().delay(150).styleTween("display",function(){return er("none",ci?"block":"none")}),Ct()}(pe,Ae,ae,G,W,R,ue,H):""}})}}}]),S}();function de(S){S.selectAll(".arc-item .pie-item").interrupt().attr("d",null),S.selectAll(".arc-item .pie-icon").interrupt().style("display","none"),S.style("display","none"),S.selectAll(".operation-item").attr("transform",function(){return"rotate(0)"}),ci=!1}var ne=function(S,R){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2,G=arguments.length>4?arguments[4]:void 0;return Lo().innerRadius(W*G.containerSize+2).outerRadius(H*G.containerSize).padAngle(.02).startAngle(S).endAngle(R)};function Pe(){return Pe=co(bi().mark(function S(R,W,H){var G,J,ue;return bi().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:ae.t0=R.type,ae.next=ae.t0==="connect"?3:ae.t0==="unlocked"?8:33;break;case 3:return ni.length=0,Ri=!0,ni.push(W),Br(W,H._example),ae.abrupt("break",36);case 8:J=Ho(H._example._ops.nodes),ae.prev=9,J.s();case 11:if((ue=J.n()).done){ae.next=19;break}if((G=ue.value).id!=W.id){ae.next=17;break}return G.fx=null,G.fy=null,ae.abrupt("break",19);case 17:ae.next=11;break;case 19:ae.next=24;break;case 21:ae.prev=21,ae.t1=ae.catch(9),J.e(ae.t1);case 24:return ae.prev=24,J.f(),ae.finish(24);case 27:return H._example._simulation._simulation.nodes(H._example._ops.nodes),H._example._simulation._simulation.alphaTarget(.08).restart(),setTimeout(function(){H._example._simulation._simulation.alphaTarget(0)},300),ae.next=32,R.click(W);case 32:return ae.abrupt("break",36);case 33:return ae.next=35,R.click({node:W});case 35:ho(R.type,[W.id],H._example);case 36:Da=null,de(H._operationContainer);case 38:case"end":return ae.stop()}},S,null,[[9,21,24,27]])})),Pe.apply(this,arguments)}function ke(){return(ke=co(bi().mark(function S(R,W){var H,G,J;return bi().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return rt(".graph-container").on("mousemove",null),Ri=!1,ni.push(R),G={node:R,connects:(H=[]).concat.apply(H,ni)},ue.next=6,ti.click(G);case 6:J=ue.sent,zr(J||[ni.splice(0)]).done(W),zo(G.connects[0],!1,[],W),ni.length=0;case 11:case"end":return ue.stop()}},S)}))).apply(this,arguments)}function at(S,R){for(var W=[],H=0;H4&&arguments[4]!==void 0?arguments[4]:1,J=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7,ue=arguments.length>6&&arguments[6]!==void 0?arguments[6]:7;this.deflection=H;var ae=function(cn){return cn*cn},Ae=this.deflection*Math.PI/180,pe={x:Math.cos(Ae)*S,y:Math.sin(Ae)*S},we=S/(R+ue),Ke=-W*we/(1-we),Ye=function(cn,_n,_r,Fr){var dr=cn.y/(cn.x-Ke),aa=cn.y-dr*cn.x,pa=1+ae(dr),ba=2*(dr*aa-_r),Or=ae(aa)+ae(_r)-ae(_n),Kr={x:(-ba+Fr*Math.sqrt(ae(ba)-4*pa*Or))/(2*pa)};return Kr.y=(Kr.x-Ke)*dr,Kr},gt=Ye(pe,R+ue,W,-1),ct=-pe.x/pe.y,nt=pe.y+ae(pe.x)/pe.y,it=-(gt.x-W)/gt.y,Tt=gt.y+(gt.x-W)*gt.x/gt.y,Ct=(nt-Tt)/(it-ct),Kt=ct*Ct+nt,Ht=Math.sqrt(ae(Ct-pe.x)+ae(Kt-pe.y)),Wn=Math.atan2(pe.x-Ct,Kt-pe.y),ln=Math.atan2(gt.x-Ct,Kt-gt.y),rr=(Wn+ln)/2;this.deflection>0&&(rr+=Math.PI);var Hn=ln-Wn;this.deflection>0&&(Hn=2*Math.PI-Hn),this.shaftLength=Hn*Ht,Wn>ln&&(this.shaftLength=0),this.midShaftPoint={x:Ct+Ht*Math.sin(rr),y:Kt-Ht*Math.cos(rr)};var xr=function(cn){var _n=(cn<0?1:-1)*Math.sqrt(ae(cn)/(1+ae(ct))),_r=ct*_n;return{x:pe.x+_n,y:pe.y+_r}},An=function(cn){var _n=(cn<0?-1:1)*Math.sqrt(ae(cn)/(1+ae(it))),_r=it*_n;return{x:gt.x+_n,y:gt.y+_r}},wn=function(cn,_n){return{x:Ct+(Ht+_n)*Math.sin(cn),y:Kt-(Ht+_n)*Math.cos(cn)}},qn=function(cn){var _n=(cn<0?-1:1)*Math.sqrt(ae(cn)/(1+ae(1/it))),_r=_n/it;return{x:gt.x+_n,y:gt.y-_r}},Mt=function(cn){return cn.x+","+cn.y},fn=G/2,Un=J/2,Qt=pe.y>0?0:1,In=pe.y<0?0:1;this.outline=function(){if(Wn>ln)return["M",Mt(An(-Un)),"L",Mt(qn(ue)),"L",Mt(An(Un)),"Z"].join(" ");var cn=rr-0,_n=rr+0;return["M",Mt(xr(fn)),"L",Mt(xr(-fn)),"A",Ht-fn,Ht-fn,0,0,Qt,Mt(wn(cn,-fn)),"L",Mt(wn(cn,fn)),"A",Ht+fn,Ht+fn,0,0,In,Mt(xr(fn)),"Z","M",Mt(wn(_n,fn)),"L",Mt(wn(_n,-fn)),"A",Ht-fn,Ht-fn,0,0,Qt,Mt(An(-fn)),"L",Mt(An(-Un)),"L",Mt(qn(ue)),"L",Mt(An(Un)),"L",Mt(An(fn)),"A",Ht+fn,Ht+fn,0,0,In,Mt(wn(_n,fn))].join(" ")}}function Nt(S,R,W){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,J=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7,ue=arguments.length>6&&arguments[6]!==void 0?arguments[6]:7,ae=W*Math.PI/180,Ae=S,pe=S+ue,we=S+R,Ke=we*Math.tan(ae/2),Ye=G/2;function gt(Ct,Kt){return Ct+","+Kt}this.shaftLength=3*Ke+G;var ct=function(Ct,Kt,Ht){var Wn=Kt*Math.tan(ae/2),ln=Kt/Math.cos(ae/2);return gt((Wn+Ht)*Math.sin(Ct),ln+(Wn+Ht)*Math.cos(Ct))},nt=function(){var Ct=ct(0,we,Ye+H/2+2).split(",");return{x:Ct[0],y:Ct[1]}};this.midShaftPoint=nt();var it=function(Ct,Kt){return ct((Math.PI+ae)/2,Ct,Kt)},Tt=function(Ct,Kt){return ct(-(Math.PI+ae)/2,Ct,Kt)};this.outline=function(){var Ct=Ke-Ye,Kt=Ke+Ye;return["M",it(Ae,Ye),"L",it(we,Ye),"A",Kt,Kt,0,1,1,Tt(we,Ye),"L",Tt(pe,Ye),"L",Tt(pe,-J/2),"L",Tt(Ae,0),"L",Tt(pe,J/2),"L",Tt(pe,-Ye),"L",Tt(we,-Ye),"A",Ct,Ct,0,1,0,it(we,-Ye),"L",it(Ae,-Ye),"Z"].join(" ")}}function wt(S,R,W){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:7,J=arguments.length>5&&arguments[5]!==void 0?arguments[5]:7;this.length=W-(S+R),this.shaftLength=this.length-J;var ue=S,ae=ue+this.shaftLength,Ae=ue+this.length,pe=H/2,we=G/2;this.midShaftPoint={x:ue+this.shaftLength/2,y:0},this.outline=function(){var Ke=0,Ye=0;return["M",ue,pe,"L",Ke,pe,"L",Ke,-pe,"L",ue,-pe,"Z","M",Ye,pe,"L",ae,pe,"L",ae,we,"L",Ae,0,"L",ae,-we,"L",ae,-pe,"L",Ye,-pe,"Z"].join(" ")}}function zt(){}var Vt=new zt;function Cn(S,R){this.relationships=[],S.idH)return W;var G=Math.ceil((H-R)/12);return W.length-G<=0?"":W.substr(0,W.length-G)+"\u2026"}},zt.prototype.distributeAnglesForLoopArrows=function(S,R){for(var W,H=0,G=Array.from(S);H0){var Ye=void 0,gt=void 0,ct={start:0,end:0};for(J=0;Jct.end-ct.start&&(ct.start=gt,ct.end=Ye);for(ue=(ct.end-ct.start)/(W.relationships.length+1),J=0;J150?150/pe:30,Ke=0;KeYe.x&&(J=Ye.x),ueYe.y&&(ae=Ye.y),Ae=Ye)){(Ct.data!==ue||Ct.next)&&(ln===0&&(xr+=(ln=za(ae))*ln),rr===0&&(xr+=(rr=za(ae))*rr),xrTt+Un||wnCt+Un||qnit.index){var Qt=Tt-Mt.x-Mt.vx,In=Ct-Mt.y-Mt.vy,cn=Qt*Qt+In*In;cnct.r&&(ct.r=ct[nt].r)}function gt(){if(ue){var ct,nt,it=ue.length;for(ae=new Array(it),ct=0;ct3&&arguments[3]!==void 0?arguments[3]:1,J=H.benchmark,ue=H.height,ae=H.width,Ae=H.isResize,pe=H.layout,we=pe.distance?pe.distance:Math.min(ue,ae)/2-80,Ke=Ha(W).iterations(.05).id(function(Ye){return Ye[J]}).distance(function(){return W.length<=5&&Ae?100:W.length<=20&&Ae?we:W.length<=60?180:230});this._simulation.nodes(R).force("link",Ke).velocityDecay(.2).alpha(G).alphaDecay(.08),this._simulation.restart()}},{key:"addSimulationEvent",value:function(R,W,H,G){var J=this,ue=Fo(R,3),ae=ue[0],Ae=ue[1],pe=ue[2];this._simulation.on("tick",function(){return Vt.layoutRelationships(G),J._root.layout.force&&Vt.layoutNodes(J._root),ae.attr("transform",function(we){return"translate("+we.source.x+" "+we.source.y+") rotate("+(we.naturalAngle-180)+")"}),Ae.attr("d",function(we){return we.arrow.outline(we)}),pe.attr("x",function(we){return we.arrow.midShaftPoint.x}).attr("y",function(we){return we.arrow.midShaftPoint.y+13}).attr("transform",function(we){return we.naturalAngle<90||we.naturalAngle>270?"rotate(180 "+we.arrow.midShaftPoint.x+" "+we.arrow.midShaftPoint.y+")":null}).text(function(we){return we.shortCaption}),W.attr("cx",function(we){return we.x}).attr("cy",function(we){return we.y}).attr("x",function(we){return we.shape=="rect"?we.x-fo(we.size):we.x-we.size+6}).attr("y",function(we){return we.shape=="rect"?we.y-fo(we.size)/1.5:we.y-we.size+6}),void H.attr("x",function(we){return go(we.name,fo(we.size)).forEach(function(Ke,Ye){rt(".node-circle--tspan-".concat(we.id,"-").concat(Ye)).attr("x",we.x).attr("y",Ke.y+we.y)}),we.x}).attr("y",function(we){return we.y})})}},{key:"drag",value:function(){var R=this;return function(){var W,H,G,J,ue=en,ae=jt,Ae=Xt,pe=St,we={},Ke=P("start","drag","end"),Ye=0,gt=0;function ct(ln){ln.on("mousedown.drag",nt).filter(pe).on("touchstart.drag",Ct).on("touchmove.drag",Kt,xt).on("touchend.drag touchcancel.drag",Ht).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function nt(ln,rr){if(!J&&ue.call(this,ln,rr)){var Hn=Wn(this,ae.call(this,ln,rr),ln,rr,"mouse");Hn&&(rt(ln.view).on("mousemove.drag",it,un).on("mouseup.drag",Tt,un),mn(ln.view),$t(ln),G=!1,W=ln.clientX,H=ln.clientY,Hn("start",ln))}}function it(ln){if(Ut(ln),!G){var rr=ln.clientX-W,Hn=ln.clientY-H;G=rr*rr+Hn*Hn>gt}we.mouse("drag",ln)}function Tt(ln){rt(ln.view).on("mousemove.drag mouseup.drag",null),Bn(ln.view,G),Ut(ln),we.mouse("end",ln)}function Ct(ln,rr){if(ue.call(this,ln,rr)){var Hn,xr,An=ln.changedTouches,wn=ae.call(this,ln,rr),qn=An.length;for(Hn=0;Hn `;h.createContainer=class{constructor(S){var R=["style","innerHTML","body","absolute","append","defsvg","div","createElement","zIndex"],W=function(ae,Ae){ae=ae-0;var pe=R[ae];return pe};if(!document.getElementById("defsvg")){var H=document[W("0x7")](W("0x6"));H.id=W("0x5"),H[W("0x1")]=pn,H[W("0x0")].position=W("0x3"),H.style.top="-10000px",H[W("0x0")][W("0x8")]=-1,document[W("0x2")][W("0x4")](H)}Qe.prototype.addElement=function(ae){for(var Ae=arguments.length,pe=new Array(Ae>1?Ae-1:0),we=1;we2&&arguments[2]!==void 0?arguments[2]:.1,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:15,it=Qi().scaleExtent([ct,nt]).on("zoom",function(Tt){gt.attr("transform",Tt.transform)});ue.zoom=it,Ye.call(it),gt.on("dblclick.zoom",null),Ye.on("dblclick.zoom",null)}(we,Ke,pe.zoomOptions.minScale,pe.zoomOptions.maxScale)}(G,this),this._simulation=new on(this),this._pie=new ro(this),this.update()}addNode(S){(function(R,W){W._ops.nodes.push(R),W.update()})(S,this)}zoomIn(){rt(this._ops.containerName).select("svg").transition().duration(750).call(this.zoom.scaleBy,1.2)}zoomOut(){rt(this._ops.containerName).select("svg").transition().duration(750).call(this.zoom.scaleBy,.8)}toggleNode(S){if(!this._ops.clickToggle)return;var R=this._ops.nodes,W=this._ops.links;S.isExtendedState=!S.isExtendedState;var H=!S.isExtendedState,G=[S.id];function J(ue,ae,Ae){Ae.forEach(pe=>{if(pe.source.id===ue){pe.hide=H;const we=ae.find(Ke=>Ke.id===pe.target.id);we&&(we.hide=H,G.push(we.id),J(we.id,ae,Ae))}})}setTimeout(()=>{G.forEach(ue=>{W.forEach(ae=>{(ae.source.id===ue||ae.target.id===ue)&&ae.target.id!==S.id&&(ae.hide=H)})}),this.update()},100),J(S.id,R,W)}showAllNodes(){this._ops.nodes.forEach(S=>{S.hide=!1}),this._ops.links.forEach(S=>{S.hide=!1}),this.update()}deleteNode(S){(function(R,W){W._ops.nodes=W._ops.nodes.filter(function(H){return H.id!==R.id}),W._ops.links=W._ops.links.filter(function(H){return H.source.id!==R.id&&H.target.id!==R.id}),W.update(),de(W.operationContainer)})(S,this)}scrollToNode(S){const W=document.querySelector(this._ops.containerName+" svg").querySelector("g.graph-box"),H=this._ops.nodes.find(we=>we.id===S);if(!H)return;const G=H.x,J=H.y,ue=1287,ae=596,Ae=ue/2-G,pe=ae/2-J;W.setAttribute("transform",`translate(${Ae}, ${pe})`)}selectToNode(S){const R=document.querySelector(this._ops.containerName+" svg");document.body.querySelectorAll("circle.node-circle").forEach(W=>{W.classList.remove("highlightNode")}),S&&R.querySelector(".node-circle-"+S).classList.add("highlightNode")}update(S=!0,R={}){var W,H;this._pie.showPie("");const G=this._ops.nodes,J=this._ops.links,ue=this._nodeContainer.addElement(Li,G,this),ae=this._linkContainer.addElement(To,J,this),Ae=this._textContainer.addElement(Wo,G);ue.on("click",(Ye,gt)=>O(this,null,function*(){this.toggleNode(gt);const ct=yield this._ops.nodeClick(gt);if(ct){const{type:nt,id:it}=ct;ho(nt,it,this)}})),this._ops.isCustomMouse&&(ue.on("mouseover",(Ye,gt)=>O(this,null,function*(){yield this._ops.nodeMouseover(gt)})),ue.on("mouseout",()=>O(this,null,function*(){yield this._ops.nodeMouseout()}))),ue.on("contextmenu",(Ye,gt)=>{Ye.preventDefault(),this._pie.showPie(gt,Ye)}),ue.call(this._simulation.drag());const pe=(W=document.querySelector(this._ops.containerName))===null||W===void 0?void 0:W.clientWidth,we=(H=document.querySelector(this._ops.containerName))===null||H===void 0?void 0:H.clientHeight,Ke=document.getElementsByClassName(`${this._ops.containerName}-graph-container`)[0];Ke&&pe&&we&&(this._ops.width=pe,this._ops.height=we,Ke.setAttribute("viewBox",`0 0 ${pe} ${we}`)),S?this._simulation.updateSimulation(G,J,this._ops):this._simulation.updateSimulation(G,J,this._ops,.1),this._simulation.addSimulationEvent(ae,ue,Ae,J),function(Ye,gt){var ct=["object","function","undefined"];if(uo(gt)!=="object")return Ye;for(var nt in gt)ct.indexOf(uo(gt[nt]))===-1&&(Ye[nt]=gt[nt])}(this._ops,R),Object.getOwnPropertyNames(R).length&&this._updateBaseTheme()}_updateBaseTheme(){rt(this._ops.containerName).style("background",this._ops.background)}},h.storage=wo,Object.defineProperty(h,"__esModule",{value:!0})})},96609:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return C}});var h=O(37639),k={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},P=O(32637),_=O(59301),C=({type:m,style:p})=>{const E=_.createElement("div",{className:k.wrap,onClick:d=>{d.preventDefault(),d.stopPropagation()}},_.createElement("p",null,m==="shixun"||m==="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",_.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",m==="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"),_.createElement("div",{className:k.contact},_.createElement("div",{className:k.img},_.createElement("img",{src:P,width:"124px",height:"124px"})),_.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return _.createElement(h.Z,{content:E},_.createElement("span",{className:k.text,style:p},"\u9AD8\u6D88\u8017"))}},71347:function(Nn,pt,O){"use strict";var h=O(59301),k=O(93314),P=O(7939),_=Object.defineProperty,N=Object.defineProperties,C=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,d=(r,n,a)=>n in r?_(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,l=(r,n)=>{for(var a in n||(n={}))p.call(n,a)&&d(r,a,n[a]);if(m)for(var a of m(n))E.call(n,a)&&d(r,a,n[a]);return r},o=(r,n)=>N(r,C(n));const g=({img:r,buttonProps:n={},styles:a={},customText:c,ButtonText:u,ButtonClick:s,Buttonclass:v,ButtonTwo:e,imgStyles:t,loading:i=!1,className:f=""})=>h.createElement("section",{className:`tc animated fadeIn ${f}`,style:l({color:"#999",margin:"100px auto",visibility:i?"hidden":"visible"},a)},h.createElement("img",{src:r||k,style:o(l({},t),{pointerEvents:"none",userSelect:"none"})}),h.createElement("p",{className:"mt20 font14"},c||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),u&&h.createElement(P.ZP,l({className:v,onClick:s},n),u),e&&e);pt.Z=g},98893:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return v}});var h=O(59301),k={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},P=O(7939),_=O(70557),N=O(94871),C=O(25399),m=O(68911),p=O(58870),E=O(71347),d=O(35783),l=O(25341),o=O(59301),g=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,c=(e,t,i)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,u=(e,t)=>{for(var i in t||(t={}))n.call(t,i)&&c(e,i,t[i]);if(r)for(var i of r(t))a.call(t,i)&&c(e,i,t[i]);return e},s=(e,t,i)=>new Promise((f,y)=>{var b=w=>{try{A(i.next(w))}catch(L){y(L)}},x=w=>{try{A(i.throw(w))}catch(L){y(L)}},A=w=>w.done?f(w.value):Promise.resolve(w.value).then(b,x);A((i=i.apply(e,t)).next())}),v=({editOffice:e="view",data:t,issaver:i,onSaver:f,theme:y,type:b,filename:x,monacoEditor:A,className:w,style:L,close:M,onClose:D,hasMask:B,disabledDownload:I,onImgDimensions:U,showNodata:F,recordInfo:K})=>{const[j,X]=(0,h.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Y,se]=(0,h.useState)(""),[Q,ve]=(0,h.useState)(),xe=window.ENV==="build"?"/react/build":"",Ce=location.host.startsWith("localhost")?d.Z.PROXY_SERVER:d.Z.API_SERVER,Ue=10*(1024*1024),Me=(0,h.useRef)();t!=null&&t.startsWith("/api")&&b!=="txt"&&(t=d.Z.API_SERVER+t);const Je=We=>We.substring(We.lastIndexOf("/")+1).split(".").pop();x&&A&&(A.filename=x),(0,h.useEffect)(()=>{var We,Ne;const V=(Ne=(We=document.cookie)==null?void 0:We.replace(/\s/g,""))==null?void 0:Ne.split(";");V==null||V.map($=>{let re=$.split("=");re[0]==="_educoder_session"&&se(re[1])})},[]),(0,h.useEffect)(()=>{b==="office"&&(t.indexOf("bigfilescdn.")>-1||t.indexOf("bigfiles1")>-1?ve({url:t,fileType:Je(t),model:t.indexOf("model=edit")?"edit":"view"}):t.indexOf("coze")>-1?ve({url:t,fileType:"doc",model:"view"}):ge())},[b,t]);function Re(We){return s(this,null,function*(){We.data.type==="pdfdata"&&(f(We.data.data),window.removeEventListener("message",Re,!1)),console.log("mess---:",We.data)})}const ge=()=>s(void 0,null,function*(){console.log("data:",t);let We=t;t.startsWith("http")||(We=location.origin+We);let Ne=new URL(We).pathname.split("/").pop();const V=yield(0,p.gJ)({attachment_id:Ne});V.url=Ce+V.url,ve(V)}),Ve=()=>{if(t.startsWith("http")||t.startsWith("blob:")){Fe();return}(0,m.Sv)(x||"educoder",t,x)},Fe=()=>{K&&(0,l.fc)({id:K==null?void 0:K.id,watch_type:1,course_id:K==null?void 0:K.course_id}),(0,m.Nd)(x||"educoder",decodeURIComponent(t))};(0,h.useEffect)(()=>(window.addEventListener("message",Te),()=>{window.removeEventListener("message",Te)}),[]);const Te=We=>{var Ne;((Ne=We==null?void 0:We.data)==null?void 0:Ne.type)==="closePop"&&D()};return o.createElement("div",{style:u({},L||{}),className:`${B&&k.bgBlack} ${b?k.wrp:"hide"}`},!!b&&M&&o.createElement("div",{id:"closePop",className:k.close,ref:Me},!!U&&o.createElement(C.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Me.current},o.createElement("span",{onClick:()=>{D(),U()}},o.createElement("i",{className:"icon-yulanpizhu"}))),!I&&window.parent===window&&o.createElement(C.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Me.current},o.createElement("span",{onClick:Fe},o.createElement("i",{className:"icon-quxiaozhiding"}))),i&&o.createElement(C.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Me.current},o.createElement("span",{className:"",onClick:()=>{const We=document.getElementById("pdfiframe");window.addEventListener("message",Re,!1),setTimeout(()=>{We.contentWindow.postMessage("getData","*")},300)}},o.createElement("i",{className:"icon-baocun"}))),o.createElement(C.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Me.current},o.createElement("span",{className:"",onClick:()=>{D()}},o.createElement("i",{className:"icon-guanbi1"})))),o.createElement("div",{className:`${k[w]} ${w} ${k.monaco} ${b==="txt"?"show":"hide"}`},b==="txt"&&o.createElement(o.Fragment,null,o.createElement(N.ZP,u({},A)))),b==="audio"&&o.createElement("audio",{src:`${(t==null?void 0:t.indexOf("http://"))>-1||(t==null?void 0:t.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${t}`,autoPlay:!0}),b==="video"&&o.createElement(o.Fragment,null,(t==null?void 0:t.indexOf("http"))>-1?o.createElement("video",{controls:!0,src:`${t}`,autoPlay:!0}):o.createElement("video",{controls:!0,src:`data:video/mp4;base64,${t}`,autoPlay:!0})),b==="office"&&Q&&o.createElement("iframe",{src:`${xe}/office.html?key=${Q.key}&url=${btoa(Q.url)}&callbackUrl=${Ce+(Q.callbackUrl||"")}&fileType=${Q.fileType}&title=${Q.title||""}&model=${e}&officeServer=${d.Z.ONLYOFFICE}&disabledDownload=${!!I}`}),b==="html"&&o.createElement("iframe",{src:t+"&disposition=inline"}),b==="pdf"&&o.createElement("iframe",{id:"pdfiframe",src:`${xe}/js/pdf/index.html?filename=${x||"educoder.pdf"}&url=${encodeURIComponent(t)}&disabledDownload=${!!I}&model=${e}`}),b==="image"&&o.createElement("img",{src:`${(t==null?void 0:t.indexOf("http://"))>-1||(t==null?void 0:t.indexOf("https://"))>-1?"":"data:image/png;base64,"}${t}`}),(b==="other"||b==="download")&&o.createElement(o.Fragment,null,F?o.createElement(E.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:o.createElement(P.ZP,{icon:o.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ve,disabled:I},"\u4E0B\u8F7D")}):o.createElement(P.ZP,{type:"primary",size:"middle",onClick:Ve,disabled:I},o.createElement(_.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),b==="flowChart"&&o.createElement("div",{className:"embed"},o.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${t||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},22315:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return m}});var h=O(36237),k=O(60840),_={token:{colorPrimary:"#1B8565",colorInfo:"#1B8565",colorLink:"#1B8565",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},N=O(59301),m=({children:p,prefixCls:E="knowledgeGraph"})=>document.documentElement.style.fontSize!==""?N.createElement(h.StyleProvider,{transformers:[(0,h.px2remTransformer)({rootValue:1})]},N.createElement(k.ZP,{prefixCls:E,theme:_},p)):N.createElement(N.Fragment,null,p)},56375:function(Nn,pt,O){"use strict";O.d(pt,{z:function(){return A},Z:function(){return w}});var h=O(59301),k=O(64310),P=O(74410),_=O(64018),N=O(16471),C=O(35783),m=O(68911),p=O(15342),E=O(44104),d=O(7939),l=O(1012),o=O(98893),g=O(59301),n=({html:L})=>{const M=(0,h.useRef)(null),D=(0,h.useRef)(null),B=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 56px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,h.useEffect)(()=>{const I=M.current.attachShadow({mode:"open"});D.current=document.createElement("div"),D.current.className="markdown-body",D.current.innerHTML=L,I.appendChild(D.current);const U=document.createElement("style");return U.textContent=B,I.appendChild(U),()=>{I.innerHTML=""}},[]),(0,h.useEffect)(()=>{D.current&&(D.current.innerHTML=L)},[L]),g.createElement("div",{ref:M})};function a(L){const M=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],D=new RegExp(`\\b(${M.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),B=/]*>/gi;return L.replace(D,"").replace(B,"").trim()}var c={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},u=Object.defineProperty,s=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,t=(L,M,D)=>M in L?u(L,M,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[M]=D,i=(L,M)=>{for(var D in M||(M={}))v.call(M,D)&&t(L,D,M[D]);if(s)for(var D of s(M))e.call(M,D)&&t(L,D,M[D]);return L};const f="@\u2581\u2581@",y="@\u2581@",b=/]*>/g;function x(L){let M=document.createElement("div");return M.innerHTML=L,M.childNodes.length===0?"":M.childNodes[0].nodeValue}const A=(L,M)=>{L=L||"";const D=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,B=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,I=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,U=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return M?L.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(D,(F,K,j,X,Y,se,Q)=>{const ve=K||X||se,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+xe+"&t="+(0,m.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(L=L.replace(U,(F,K,j,X,Y,se,Q)=>{const ve=K||X||se,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/attachments/download/"+ve+xe+"&t="+(0,m.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(D,(F,K,j,X,Y,se,Q)=>{const ve=K||X||se,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+xe+"&t="+(0,m.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(B,(F,K,j,X,Y)=>{const se=K||X,Q=j||Y||"";return'"'+C.Z.API_SERVER+"/api/attachments/"+se+Q+se+Q+"&t="+(0,m.Jn)(se,Date.now())}).replace(I,(F,K,j,X,Y)=>{const se=K||X,Q=j||Y||"";return"("+C.Z.API_SERVER+"/files/uploads/"+se+Q+se+Q+"&t="+(0,m.Jn)(se,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),L)};var w=({value:L="",edit:M=!1,className:D,showTextOnly:B,showLines:I,style:U={},stylesPrev:F={},highlightKeywords:K,showProgramFill:j,isProgramFill:X,disabledFill:Y=!1,programFillValue:se,openEditor:Q=()=>{},onFillChange:ve=De=>{},onFillBlur:xe=()=>{},onFillFocus:Ce=()=>{}})=>{let De=a(String(L||""));const Ue=(0,h.useRef)(),Me=(0,h.useRef)(),[Je,Re]=(0,h.useState)(""),[ge,Ve]=(0,h.useState)("office"),[Fe,Te]=(0,h.useState)([]),We=(0,h.useRef)("a"+(0,l.Z)()),Ne={},V=qe=>//i.test(qe||""),$=(qe,vt,Ze)=>{const Oe=document.createElement(qe===y?"input":"textarea");Oe.style.width="100%",Oe.style.height=qe===y?"40px":"151px",Oe.rows=5,Oe.spellcheck=!1,Oe.name="edu-program-fill",Oe.placeholder="\u8BF7\u8F93\u5165",Oe.dataset.id=vt;const Qe=Object.keys(Ne).length;return Ne[Qe]=Oe,`${Oe.outerHTML}`};function re(qe){return qe=qe.replace(/!\[.*?\]\(.*?\)/g,""),qe=qe.replace(/\[.*?\]\(.*?\)/g,""),qe=qe.replace(new RegExp("","gs"),""),qe=qe.replace(//g,""),qe=qe.replace(//g,""),qe=qe.replace(new RegExp(".*?<\\/video>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/audio>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/style>","gs"),""),qe=qe.replace(new RegExp(".*?<\\/script>","gs"),""),qe}const ee=qe=>!B&&V(De)?qe:qe.replace(/([\s\S]+?)<\/style>/gim,function(vt,Ze){let Oe=Ze.replace(/(\n|\r)/g,"").split("}"),Qe=[];return Oe.map(rt=>{rt!=""&&Qe.push(`.${We.current} ${rt}`)}),``}),oe=(0,h.useMemo)(()=>{(0,P.Iy)();try{const Oe=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Qe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,rt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,_t=/\(\/attachments\/download\//g;De=De.replace(_t,"("+C.Z.API_SERVER+"/attachments/download/").replace(Oe,"("+C.Z.API_SERVER+"/api/attachments/").replace(Qe,'"'+C.Z.API_SERVER+"/api/attachments/").replace(rt,'"'+C.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Ue.current.style.display="none"}catch(Oe){}if(j){let Oe=-1;return De=De.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Qe,rt,_t){var xt;return++Oe,$(Qe,Oe,(xt=se==null?void 0:se[Oe])==null?void 0:xt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${ee(De||"")}
`}let qe=ee(De);qe=(0,P.ZP)(qe);const vt=(0,P.ez)();De.match(/\[TOC\]/)&&(qe=qe.replace("

[TOC]

",(0,P.Qv)()),(0,P.Iy)()),qe=qe.replace(/(__special_katext_id_\d+__)/g,(Oe,Qe)=>{const{type:rt,expression:_t}=vt[Qe];return(0,p.renderToString)(x(_t)||"",{displayMode:rt==="block",throwOnError:!1,output:"html"})}),qe=qe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,P.AL)();const Ze=document.createElement("div");if(Ze.innerHTML=qe,B)return Ze.innerText;if(K){const Oe=K.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return te(Ze,Oe),Ze.innerHTML}return setTimeout(()=>Xe(),500),Ze.innerHTML},[De,K]);(0,h.useEffect)(()=>{ce.current&&ce.current.querySelectorAll(["input","textarea"]).forEach(vt=>{vt.oninput=q,vt.onblur=fe,vt.onfocus=be})},[Fe]),(0,h.useEffect)(()=>{var qe,vt,Ze,Oe,Qe;if(se!=null&&se.length)try{const rt=ce.current.querySelectorAll(".edu-program-fill-score"),_t=ce.current.querySelectorAll('[name="edu-program-fill"]');for(const[xt,un]of _t.entries())un.value=((qe=se==null?void 0:se[xt])==null?void 0:qe.value)||"",((vt=se==null?void 0:se[xt])==null?void 0:vt.type)==="warning"?un.className="program-fill-warning":((Ze=se==null?void 0:se[xt])==null?void 0:Ze.type)==="success"?un.className="program-fill-success":un.className="";for(const[xt,un]of rt.entries())un.innerHTML=(Oe=se==null?void 0:se[xt])!=null&&Oe.score?`${(Qe=se==null?void 0:se[xt])==null?void 0:Qe.score}\u5206`:"";Te(se)}catch(rt){console.log(rt,"error")}},[se]);const q=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),ve(Fe,qe.target.dataset.id)},fe=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),xe(Fe,qe.target.dataset.id)},be=qe=>{Fe[qe.target.dataset.id]=Fe[qe.target.dataset.id]||{},Fe[qe.target.dataset.id].value=qe.target.value,Te([...Fe]),Ce(Fe,qe.target.dataset.id)};function te(qe,vt){return qe.childNodes.forEach(Ze=>{var Oe;if(Ze.childNodes.length>0)te(Ze,vt);else if(Ze.nodeName!=="IMG")if(Ze.innerHTML)Ze.innerHTML=(Oe=Ze.innerHTML)==null?void 0:Oe.replace(new RegExp(vt,"gi"),'$&');else{const Qe=document.createElement("span");Qe.innerHTML=Ze.textContent.replace(new RegExp(vt,"gi"),'$&'),Ze.replaceWith(Qe)}})}const ce=(0,h.useRef)();P.jb.WebkitLineClamp=I,I&&(U=i(i({},U),P.jb));function lt(qe){let vt=qe.target;if(vt.tagName.toUpperCase()==="A"){let Ze=vt.getAttribute("href");if(Ze.indexOf("office")>-1)qe.preventDefault(),Re(Ze),Ve("office");else if(Ze.indexOf("application/pdf")>-1)qe.preventDefault(),Re(Ze),Ve("pdf");else if(Ze.indexOf("text/html")>-1)qe.preventDefault(),Re(Ze),Ve("html");else if(Ze.startsWith("#")){qe.preventDefault();let Oe=document.getElementById(Ze.replace("#",""));Oe&&Oe.scrollIntoView(!0)}}}const Xe=()=>{var qe;const vt=(qe=ce.current)==null?void 0:qe.querySelectorAll("video");vt==null||vt.forEach(Ze=>{if(Ze.oncontextmenu=()=>!1,Ze.src.indexOf(".m3u8")>-1&&!Ze.canPlayType("application/vnd.apple.mpegurl")){if(N.ZP.isSupported()){var Oe=new N.ZP;Oe.loadSource(Ze.src),Oe.attachMedia(Ze)}}})};(0,h.useEffect)(()=>{if(ce.current&&oe&&oe.match(b)&&window.PR.prettyPrint(),ce.current)return ce.current.addEventListener("click",lt),()=>{var qe;(qe=ce.current)==null||qe.removeEventListener("click",lt),(0,P.AL)(),(0,P.Iy)()}},[oe,ce.current,lt]);const ft=qe=>{qe.target.nodeName==="IMG"&&qe.target.className.indexOf("draw-flowchart")>-1?(Ue.current.style.zIndex=1,Ue.current.style.display="flex",Ue.current.style.width=qe.target.clientWidth+"px",Ue.current.style.height=qe.target.clientHeight+"px",Ue.current.style.top=qe.target.offsetTop+"px",Ue.current.style.left=qe.target.offsetLeft+"px",qe.target.id&&(Me.current=qe.target.id)):Ue.current.style.display="none"},yt=()=>{Ue.current.style.display="none"};return(0,h.useEffect)(()=>{var qe;const vt=Ze=>{Ze.preventDefault(),Ze.clipboardData.setData("text",window.getSelection().toString())};return(qe=ce.current)==null||qe.addEventListener("copy",vt),()=>{var Ze;(Ze=ce.current)==null||Ze.removeEventListener("copy",vt)}},[ce.current]),h.createElement("div",{style:{position:"relative"},onMouseLeave:yt},B&&h.createElement("div",{ref:ce,className:`${c.mdBody} `},oe),!B&&!V(oe)&&h.createElement("div",{ref:ce,style:i({},U),onMouseOver:ft,className:`${D||""} ${Y?"disabled-fill":""} markdown-body ${c.mdBody} ${We.current}`,dangerouslySetInnerHTML:{__html:oe}}),!B&&V(oe)&&h.createElement(n,{html:oe}),h.createElement("div",{ref:Ue,className:`${c.button} ${M?"":c.previewFlowChart}`},h.createElement(E.Z,null,h.createElement(d.ZP,{onClick:()=>{M?Q(Me.current):(Re(Me.current),Ve("flowChart"))}},M?"\u7F16\u8F91":"\u9884\u89C8"))),h.createElement(o.Z,{close:!0,data:Je,type:Je!=null&&Je.length?ge:"",style:i({},F),onClose:()=>Re("")}))}},19220:function(Nn,pt,O){"use strict";var h=O(59301),k=O(28284),P=O(77019),_=O(82326),N=O(37568),C=O(1560),m=O(7939),p=O(62673),E=O(25399),d=O(6767),l=O(70858),o=O(63823),g=O(66649),r=O.n(g),n=O(26724),a=O.n(n),c=O(58143),u=O(89923),s=O(29596),v=O(13108),e=O(59301),t=Object.defineProperty,i=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(K,j,X)=>j in K?t(K,j,{enumerable:!0,configurable:!0,writable:!0,value:X}):K[j]=X,w=(K,j)=>{for(var X in j||(j={}))b.call(j,X)&&A(K,X,j[X]);if(y)for(var X of y(j))x.call(j,X)&&A(K,X,j[X]);return K},L=(K,j)=>i(K,f(j)),M=(K,j,X)=>new Promise((Y,se)=>{var Q=Ce=>{try{xe(X.next(Ce))}catch(De){se(De)}},ve=Ce=>{try{xe(X.throw(Ce))}catch(De){se(De)}},xe=Ce=>Ce.done?Y(Ce.value):Promise.resolve(Ce.value).then(Q,ve);xe((X=X.apply(K,j)).next())});const D=[];function B({onSearch:K,schools:j}){return e.createElement(k.default,{colon:!1,layout:"horizontal",onFinish:K,initialValues:{keyword:"",school_name:"",search_type:"1"}},e.createElement(P.Z,{style:{flexWrap:"nowrap"}},e.createElement(k.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},e.createElement(_.default,{popupClassName:v.Z.selectdown,style:{width:106}},e.createElement(_.default.Option,{value:"1"},"\u59D3\u540D"),e.createElement(_.default.Option,{value:"2"},"\u624B\u673A\u53F7"),e.createElement(_.default.Option,{value:"3"},"\u90AE\u7BB1"))),e.createElement(k.default.Item,{style:{marginLeft:20},label:"\u641C\u7D22\u5185\u5BB9",name:"keyword",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9"}]},e.createElement(N.default,{allowClear:!0,style:{width:300},size:"middle"})),e.createElement(k.default.Item,{style:{marginLeft:20},label:"\u5355\u4F4D",name:"school_name"},e.createElement(C.Z,{options:j,style:{width:300},size:"middle",showSearch:!0,filterOption:(X,Y)=>Y.value.toUpperCase().indexOf(X.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),e.createElement(m.ZP,{type:"primary",style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:16,color:"#165DFF",marginLeft:40,border:"1px solid #BACFFE"},htmlType:"submit"},"\u641C\u7D22")))}var I=(K=>(K[K.INITDATA=0]="INITDATA",K[K.INITSCHOOLS=1]="INITSCHOOLS",K[K.SHOWLOADING=2]="SHOWLOADING",K[K.SELECTEDIDS=3]="SELECTEDIDS",K[K.SETQUERY=4]="SETQUERY",K[K.SETPAGE=5]="SETPAGE",K))(I||{});function U(K,j){switch(j.type){case 0:return w(w({},K),j.payload);case 4:return w(w({},K),j.payload);case 5:return L(w({},K),{page:j.payload,reload:!1});case 2:return L(w({},K),{loading:j.payload});case 1:return L(w({},K),{schools:j.payload});case 3:return L(w({},K),{selectedIds:j.payload});default:throw new Error}}const F={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};pt.Z=({onSelect:K,onCancel:j,container_id:X,container_type:Y})=>{const[se,Q]=(0,h.useReducer)(U,F),{data:ve,schools:xe,loading:Ce,selectedIds:De,page:Ue,count:Me,query:Je,reload:Re}=se;(0,h.useEffect)(()=>{function V(){return M(this,null,function*(){const{users:$,user_count:re}=yield(0,u.nQ)(L(w({},Je),{page:Ue,container_type:Y,container_id:X,display_aliases:!0}));Q({type:0,payload:{data:Re?$:[...ve,...$],count:re}})})}Je&&V()},[Ue,Je,Re,X,Y]),(0,h.useEffect)(()=>{function V(){return M(this,null,function*(){const{school_names:$}=yield(0,u.K$)({display_aliases:!0});Q({type:1,payload:$.map(re=>({value:re}))})})}V()},[]);const ge=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(V,$)=>e.createElement(p.default,{value:$.numid,checked:De.includes($.numid),disabled:!!V})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(V,$)=>e.createElement("div",null,e.createElement(E.Z,{placement:"bottom",title:V},e.createElement(o.Link,{style:{color:"#000000"},className:"bold c-black",to:`/users/${$.login}`,target:"_blank"},V||"--")))},{title:"\u624B\u673A",width:100,dataIndex:"phone",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u90AE\u7BB1",dataIndex:"email",width:100,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",width:150,dataIndex:"school_name",ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"depart_name",width:130,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},V||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"auth",width:100,render:V=>e.createElement("span",{style:{color:"#000000"}},V?"\u662F":"\u5426")},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:V=>e.createElement(E.Z,{placement:"bottom",title:V},e.createElement("span",{style:{color:"#000000"}},r()(V).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"added",width:80,render:V=>{if(V===1)return e.createElement("span",{style:{color:"#000000"}},"\u5DF2\u6DFB\u52A0")}}];function Ve(V){Q({type:4,payload:{page:1,reload:!0,query:V}})}function Fe(V){Q({type:5,payload:V})}function Te(V){let $=De.indexOf(V);$>=0?De.splice($,1):De.push(V),Q({type:3,payload:[...De]})}function We(){De.length===0?d.ZP.warning("\u8BF7\u5148\u5728\u4E0B\u9762\u5217\u8868\u4E2D\u9009\u62E9\u8981\u6DFB\u52A0\u6210\u5458"):(K(De,X),Q({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Ne=Me>Ue*10;return e.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},e.createElement(B,{onSearch:Ve,schools:xe}),Je?e.createElement(e.Fragment,null,e.createElement("div",{className:"flexd-table-header mt20"},e.createElement(s.Gi,null,e.createElement(l.default,{pagination:!1,dataSource:D,columns:ge}))),e.createElement("div",{style:{maxHeight:260,overflow:"auto",marginBottom:20}},e.createElement(a(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:Fe,hasMore:Ne,useWindow:!1},e.createElement(s.Gi,null,e.createElement(l.default,{loading:Ce,showHeader:!1,pagination:!1,dataSource:ve,columns:ge,onRow:V=>({onClick:$=>{V.added!==1&&Te(V.numid)}})})))),e.createElement("div",{className:"flex-container flex-end"},e.createElement(m.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:j},"\u53D6\u6D88"),e.createElement(m.ZP,{style:{background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",borderRadius:2,color:"#165DFF",border:"1px solid #BACFFE"},type:"primary",onClick:We},"\u786E\u5B9A"))):e.createElement("div",{className:"tc font16 c-light-black mt40 pb30"},e.createElement("img",{src:c,width:"100",alt:""}),e.createElement("br",null),e.createElement("p",{className:"mt20"},"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458")))}},74451:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return n}});var h=O(59301),k=O(6767),P=O(75727),_=O(68262),N=O(16471),C=O(10102),m=O(56102),p=O(37295),E={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},d=(a,c,u)=>new Promise((s,v)=>{var e=f=>{try{i(u.next(f))}catch(y){v(y)}},t=f=>{try{i(u.throw(f))}catch(y){v(y)}},i=f=>f.done?s(f.value):Promise.resolve(f.value).then(e,t);i((u=u.apply(a,c)).next())});function l(a){if(isNaN(a))return{minutes:"00",seconds:"00"};const c=new Date(a*1e3).toISOString().substr(11,8);return{hour:c.substr(0,2),minutes:c.substr(3,2),seconds:c.substr(6,2)}}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2}});function o(a,c){return a-c}function g(a){a.sort(o);let c=0;for(let u=0;u{},handlePlay:f=()=>{},handlePlayEnded:y=()=>{},autoPlay:b=!1,onPlayEnded:x=()=>{},isShowWaterMark:A=!0},w)=>{var L;c=c==null?void 0:c.replace("http://","https://");const D=((L=c==null?void 0:c.split("."))==null?void 0:L.pop())==="flv",B=(0,h.useRef)(),I=(0,h.useRef)(),U=(0,h.useRef)(),F=(0,h.useRef)(),K=(0,h.useRef)(),j=(0,h.useRef)(),X=(0,h.useRef)(),Y=(0,h.useRef)(),se=(0,h.useRef)(),Q=(0,h.useRef)(),ve=(0,h.useRef)(),xe=(0,h.useRef)(),Ce=(0,h.useRef)(),De=(0,h.useRef)(),Ue=navigator.userAgent.toLowerCase().match(r),Me=Ue?Ue[0]:"pc",Je=(0,h.useRef)(!1),Re=(0,C.eY)();let ge=0,Ve=0,Fe=0,Te=null,We=!1,Ne=20,V=1,$=!1,re=!1,ee=[];(0,h.useImperativeHandle)(w,()=>({getLastUpdatedTime:()=>B.current.currentTime,getDuration:()=>B.current.duration})),k.ZP.config({maxCount:1,getContainer:()=>U.current});const oe=(0,h.useCallback)((Xe,ft=!1)=>{let yt={point:B.current.currentTime};Te?(yt.log_id=Te,yt.watch_duration=g(ee),yt.total_duration=Ve):(e?(yt.video_id=parseInt(s,10),yt.course_id=e):yt.video_id=s,yt.duration=ge,yt.device=Me),ft&&(yt.ed="1");function qe(){return d(this,null,function*(){$=!0,Te=yield v==null?void 0:v(yt),$=!1,Xe&&Xe()})}qe()},[s,e]);(0,h.useEffect)(()=>{B.current&&(F.current.style.display="none",K.current.style.display="block"),k.ZP.destroy();let Xe=null;return _.Z.isSupported&&D&&c&&(c==null?void 0:c.indexOf(".m3u8"))<0?(Xe=_.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:c,muted:!1}),B.current&&(Xe.attachMediaElement(B.current),Xe.load())):B.current.setAttribute("src",c),fe(),()=>{Xe&&(Xe.unload(),Xe.pause(),Xe.destroy(),Xe=null)}},[B,D,c]);function q(){B.current.paused?(F.current.style.display="none",K.current.style.display="block"):(F.current.style.display="block",K.current.style.display="none")}function fe(){ve.current.style.display="none",Ce.current.style.display="none",xe.current.style.display="none",B.current.muted||B.current.volume===0?ve.current.style.display="block":B.current.volume>0&&B.current.volume<=.5?Ce.current.style.display="block":xe.current.style.display="block"}(0,h.useEffect)(()=>{const Xe=document.getElementById("play"),ft=document.querySelectorAll(".playback-icons use");function yt(){f(),t&&!Je.current&&(B.current.currentTime=t),Je.current=!0,ee.push(B.current.currentTime),We||(We=!0,u&&oe())}function qe(){return d(this,null,function*(){q(),ee.push(B.current.currentTime),u&&oe(()=>{Te=null,Fe=0,We=!1,$=!1,re=!1,ee=[],Ve=0,V=1},!0),x()})}function vt(){j.current.value=Math.round(B.current.currentTime),X.current.value=Math.round(B.current.currentTime)}function Ze(){const rn=l(Math.round(B.current.currentTime));se.current.innerText=`${rn.hour>0?rn.hour+":":""}${rn.minutes}:${rn.seconds}`,se.current.setAttribute("datetime",`${rn.hour>0?" "+rn.hour+" ":""}${rn.minutes}m ${rn.seconds}s`)}function Oe(){var rn,Tn,en,jt,Xt,St,It;const Rt=Math.round((rn=B.current)==null?void 0:rn.duration);(en=(Tn=j.current)==null?void 0:Tn.setAttribute)==null||en.call(Tn,"max",Rt),(Xt=(jt=X.current)==null?void 0:jt.setAttribute)==null||Xt.call(jt,"max",Rt);const Wt=l(Rt);Y.current&&(Y.current.innerText=`${Wt.hour>0?Wt.hour+":":""}${Wt.minutes}:${Wt.seconds}`,(It=(St=Y.current).setAttribute)==null||It.call(St,"datetime",`${Wt.hour>0?" "+Wt.hour+" ":""}${Wt.minutes}m ${Wt.seconds}s`))}function Qe(){try{const rn=Math.round(B.current.duration);j.current.setAttribute("max",rn),X.current.setAttribute("max",rn);const Tn=l(rn);Y.current.innerText=`${Tn.hour>0?Tn.hour+":":""}${Tn.minutes}:${Tn.seconds}`,Y.current.setAttribute("datetime",`${Tn.hour>0?" "+Tn.hour+" ":""}${Tn.minutes}m ${Tn.seconds}s`),vt(),Ze();const{width:en,height:jt,x:Xt,y:St}=I.current.getBoundingClientRect();if(Xt<0||St<0,!re){let It=B.current.currentTime,Rt=It-Fe;Math.abs(Rt)<10?(Ve+=Math.abs(Rt),Fe=It,$||Ve-V*Ne>=0&&(V++,ee.push(Fe),u&&oe())):(Fe=It,u&&oe())}}catch(rn){console.log("videoplaying:",rn)}}function rt(){re=!0}function _t(){B.current.playing&&ee.push(B.current.currentTime,Fe),Fe=B.current.currentTime,re=!1}function xt(){ge=B.current.duration,ge<=20&&(Ne=ge/3),B.current.addEventListener("play",yt)}function un(rn){rn.preventDefault(),(0,p.vp)()?(B.current.style.width="100%",B.current.style.height="100%"):B.current.style.cssText=""}function $t(){i()}function Ut(rn){if(!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const Tn=rn.target.dataset.seek?rn.target.dataset.seek:rn.target.value;B.current.currentTime=Tn,X.current.value=Tn,j.current.value=Tn}function mn(rn){const Tn=Math.round(rn.offsetX/rn.target.clientWidth*parseInt(rn.target.getAttribute("max"),10));j.current.setAttribute("data-seek",Tn);const en=l(Tn);Q.current.textContent=`${en.hour>0?en.hour+":":""}${en.minutes}:${en.seconds}`;const jt=B.current.getBoundingClientRect();Q.current.style.left=`${rn.pageX-jt.left}px`}function Bn(rn){switch(rn.code){case"Space":rn.preventDefault(),ce();break;case"ArrowRight":if(rn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(B.current.currentTime>=B.current.duration)break;B.current.currentTime=parseInt(B.current.currentTime)+5,vt();break;case"ArrowLeft":if(rn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(B.current.currentTime===0)break;B.current.currentTime=parseInt(B.current.currentTime)-5,vt();break;case"ArrowUp":rn.preventDefault(),B.current.volume<1&&(B.current.volume=(parseInt(B.current.volume*10)+1)/10);break;case"ArrowDown":rn.preventDefault(),B.current.volume>0&&(B.current.volume=(parseInt(B.current.volume*10)-1)/10);break}}return U.current.addEventListener((0,p.gH)(),un),B.current.addEventListener("canplay",xt),B.current.addEventListener("ended",qe),B.current.addEventListener("seeking",rt),B.current.addEventListener("seeked",_t),B.current.addEventListener("loadedmetadata",Oe),j.current.addEventListener("mousemove",mn),j.current.addEventListener("input",Ut),B.current.addEventListener("timeupdate",Qe),B.current.addEventListener("pause",$t),B.current.addEventListener("volumechange",fe),document.addEventListener("keydown",Bn),()=>{var rn,Tn,en,jt,Xt,St,It,Rt,Wt,dn,Dn,dt;(rn=B.current)==null||rn.removeEventListener("canplay",xt),(Tn=B.current)==null||Tn.removeEventListener("play",yt),(en=B.current)==null||en.removeEventListener("ended",qe),(jt=B.current)==null||jt.removeEventListener("seeking",rt),(Xt=B.current)==null||Xt.removeEventListener("seeked",_t),(St=j.current)==null||St.removeEventListener("mousemove",mn),(It=j.current)==null||It.removeEventListener("input",Ut),(Rt=B.current)==null||Rt.removeEventListener("timeupdate",Qe),(Wt=B.current)==null||Wt.removeEventListener("pause",$t),(dn=B.current)==null||dn.removeEventListener("loadedmetadata",Oe),(Dn=B.current)==null||Dn.removeEventListener("volumechange",fe),document.removeEventListener("keydown",Bn),(dt=B.current)!=null&&dt.playing&&(ee.push(Fe,B.current.currentTime),u&&oe())}},[B,c]),(0,h.useEffect)(()=>{if(B.current.onended=()=>{y(B)},B.current.oncontextmenu=()=>!1,(c==null?void 0:c.indexOf(".m3u8"))>-1){if(B.current.canPlayType("application/vnd.apple.mpegurl"))B.current.src=c;else if(N.ZP.isSupported()){var Xe=new N.ZP;Xe.loadSource(c),Xe.attachMedia(B.current)}}},[c]);const[be,te]=(0,h.useState)(1),ce=()=>{B.current.paused||B.current.ended?B.current.play():B.current.pause(),q()};function lt(){B.current.muted=!B.current.muted,B.current.muted?(De.current.setAttribute("data-volume",volume.value),De.current.value=0):De.current.value=De.current.dataset.volume}return h.createElement("div",{style:{position:"relative"},ref:U},h.createElement("div",{ref:I,className:`${E.watermark} animated_alternate animate__animated_10s animate__infinite animate__stepstart ${E.animate__loop}`},A&&Re?Re.login:" "),h.createElement("div",{className:E.container},h.createElement("div",{className:E["video-container"],id:"video-container"},h.createElement("div",{className:E["playback-animation"],id:"playback-animation"},h.createElement("svg",{className:E["playback-icons"]},h.createElement("use",{className:"hidden",href:"#play-icon"}),h.createElement("use",{href:"#pause"}))),h.createElement("video",{className:E.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:B,autoPlay:b}),h.createElement("div",{className:`${E["video-controls"]} `,id:"video-controls"},h.createElement("div",{className:E["bottom-controls"]},h.createElement("div",{className:E["left-controls"]},h.createElement("button",{"data-title":"\u64AD\u653E/\u6682\u505C",id:"play",onClick:ce},h.createElement("svg",{className:E["playback-icons"]},h.createElement("use",{ref:K,href:"#play-icon"}),h.createElement("use",{ref:F,style:{display:"none"},href:"#pause"}))),h.createElement("div",{className:E.time},h.createElement("time",{id:"time-elapsed",ref:se},"00:00"),h.createElement("span",null," / "),h.createElement("time",{id:"duration",ref:Y},"00:00"))),h.createElement("div",{className:E["right-controls"]},a&&h.createElement(P.Z,{placement:"top",overlayClassName:E.rateOverlay,getPopupContainer:Xe=>Xe.parentNode,menu:{items:[{key:"1",label:h.createElement("span",{onClick:()=>{te(1),B.current.playbackRate=1}},"1.0x")},{key:"2",label:h.createElement("span",{onClick:()=>{te(1.5),B.current.playbackRate=1.5}},"1.5x")},{key:"3",label:h.createElement("span",{onClick:()=>{te(2),B.current.playbackRate=2}},"2.0x")}]}},h.createElement("div",{className:`${E.controlText} mr5`},"\u500D\u901F")),h.createElement(m.CopyToClipboard,{text:c,onCopy:()=>k.ZP.success("\u590D\u5236\u6210\u529F")},h.createElement("button",{"data-title":"\u590D\u5236\u94FE\u63A5"},h.createElement("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}}))),h.createElement("div",{className:E["volume-controls"]},h.createElement("button",{"data-title":"\u5F00\u542F/\u5173\u95ED\u58F0\u97F3",className:E["volume-button"],id:"volume-button",onClick:lt},h.createElement("i",{ref:ve,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),h.createElement("i",{ref:Ce,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),h.createElement("i",{ref:xe,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})),h.createElement("input",{className:E.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:De,style:{display:"none"},onClick:fe})),h.createElement("button",{"data-title":"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",className:E["fullscreen-button"],onClick:()=>{(0,p.vp)()?(0,p.BU)():(0,p.Dj)(U.current)}},h.createElement("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})))),h.createElement("div",{className:E["video-progress"]},h.createElement("progress",{ref:X,value:"0",min:"0"}),h.createElement("input",{className:E.seek,ref:j,value:"0",min:"0",type:"range",step:"1"}),h.createElement("div",{className:E["seek-tooltip"],ref:Q,id:"seek-tooltip"},"00:00"))))),h.createElement("svg",{style:{display:"none"}},h.createElement("defs",null,h.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),h.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},h.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),h.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),h.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},h.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),h.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},h.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),h.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},h.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),h.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},h.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),h.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},h.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))})},94871:function(Nn,pt,O){"use strict";O.d(pt,{SV:function(){return Ue},ZP:function(){return De}});var h=O(59301),k=O(76374);const P={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},_={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},N={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std",content:["using namespace std"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},C={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},m={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var p=O(53184),E=O.n(p),d=(Me,Je,Re)=>new Promise((ge,Ve)=>{var Fe=Ne=>{try{We(Re.next(Ne))}catch(V){Ve(V)}},Te=Ne=>{try{We(Re.throw(Ne))}catch(V){Ve(V)}},We=Ne=>Ne.done?ge(Ne.value):Promise.resolve(Ne.value).then(Fe,Te);We((Re=Re.apply(Me,Je)).next())});const l={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},o=(Me,Je,Re,ge)=>{const Ve=Je.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Re.lineNumber,endColumn:Re.column});return Array.from(new Set(Ve.match(/\b\w{2,}\b/g)||[])).map(Te=>({label:Te,kind:Me.languages.CompletionItemKind.Text,insertText:Te,range:ge}))},g=(Me,Je,Re,ge)=>{Me.languages.registerCompletionItemProvider(Je,{provideCompletionItems(Ve,Fe){const Te=Ve.getWordUntilPosition(Fe),We={startLineNumber:Fe.lineNumber,endLineNumber:Fe.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Ne=Ve.getLineContent(Fe.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...o(Me,Ve,Fe,We),...Re.map($=>({label:$,kind:Me.languages.CompletionItemKind.Keyword,documentation:$,insertText:$,insertTextRules:Me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:We})),...ge.map($=>({label:$.label,kind:Me.languages.CompletionItemKind.Snippet,documentation:$.content,insertText:Ne.startsWith("#")?$.content.replace(/#/,""):$.content,insertTextRules:Me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:We}))]}}})};var r=Me=>{l.languages.forEach(Je=>{Me.languages.registerDocumentFormattingEditProvider(Je,{provideDocumentFormattingEdits(Re){return d(this,null,function*(){const ge=E()(Re.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Re.getFullModelRange(),text:ge}]})}})}),g(Me,"java",_.keywords,_.quickKey),g(Me,"cpp",N.keywords,N.quickKey),g(Me,"c",P.keywords,[]),g(Me,"python",C.keywords,C.quickKey),g(Me,"scala",m.keywords,m.quickKey)};const n="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var a=Object.defineProperty,c=(Me,Je,Re)=>Je in Me?a(Me,Je,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Me[Je]=Re,u=(Me,Je,Re)=>c(Me,typeof Je!="symbol"?Je+"":Je,Re);const s=class Es{constructor(Je,Re,ge){this.placeholder=Je,this.editor=Re,this.monaco=ge,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Es.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};u(s,"ID","editor.widget.placeholderHint");var e=s,t=O(96236),i=O(6767),f=O(25399),y=O(89392),b=O(99936),x=O(56102),A=Object.defineProperty,w=Object.defineProperties,L=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,I=(Me,Je,Re)=>Je in Me?A(Me,Je,{enumerable:!0,configurable:!0,writable:!0,value:Re}):Me[Je]=Re,U=(Me,Je)=>{for(var Re in Je||(Je={}))D.call(Je,Re)&&I(Me,Re,Je[Re]);if(M)for(var Re of M(Je))B.call(Je,Re)&&I(Me,Re,Je[Re]);return Me},F=(Me,Je)=>w(Me,L(Je)),K=(Me,Je)=>{var Re={};for(var ge in Me)D.call(Me,ge)&&Je.indexOf(ge)<0&&(Re[ge]=Me[ge]);if(Me!=null&&M)for(var ge of M(Me))Je.indexOf(ge)<0&&B.call(Me,ge)&&(Re[ge]=Me[ge]);return Re},j=(Me,Je,Re)=>new Promise((ge,Ve)=>{var Fe=Ne=>{try{We(Re.next(Ne))}catch(V){Ve(V)}},Te=Ne=>{try{We(Re.throw(Ne))}catch(V){Ve(V)}},We=Ne=>Ne.done?ge(Ne.value):Promise.resolve(Ne.value).then(Fe,Te);We((Re=Re.apply(Me,Je)).next())});function X(Me){return/^\d+$/.test(Me)?`${Me}px`:Me}function Y(){}let se=!1;const Q={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function ve(Me=[]){let Je=Me;if(Array.isArray(Me)){for(let Re=0;Rej(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Me){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Me)}});var De=Me=>{var Je=Me,{width:Re="100%",height:ge="100%",value:Ve,language:Fe="javascript",style:Te={},options:We={},overrideServices:Ne={},theme:V="vs-dark",onEditBlur:$,isCopy:re=!1,onSave:ee,autoHeight:oe=!1,forbidCopy:q=!1,forbidCopyTips:fe,onChange:be=Y,editorDidMount:te=Y,onFocus:ce=Y,onBreakPoint:lt=Y,breakPointValue:Xe=[],filename:ft="educoder.txt",errorLine:yt,errorContent:qe="",highlightLine:vt,openBreakPoint:Ze=!1,placeholder:Oe="",showMiniMap:Qe=!0}=Je,rt=K(Je,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const _t=(0,h.useRef)(),xt=(0,h.useRef)({}),un=(0,h.useRef)(),$t=(0,h.useRef)(),Ut=(0,h.useRef)([]),mn=(0,h.useRef)(!1),Bn=(0,h.useRef)(),rn=(0,h.useRef)(),Tn=(0,h.useRef)(!1),[en,jt]=(0,h.useState)(!1);function Xt(){let Et;return _t.current&&(Et=new k.Z(st=>{for(let Bt of st)(Bt.target.offsetHeight>0||Bt.target.offsetWidth>0)&&xt.current.instance.layout()}),Et.observe(_t.current)),Et}function St(){i.ZP.warning({content:decodeURIComponent(fe||n),key:"monaco-editor-tip"})}const It=()=>{let Et=xt.current.instance;if(Ve!=null&&Et&&en){const st=Et.getModel();st&&Ve!==st.getValue()&&(se=!0,st.setValue(Ve),Et.layout(),se=!1)}};(0,h.useEffect)(()=>{const Et=b.Z.subscribe("formatDocument",st=>{var Bt;let kt=xt.current.instance;(Bt=kt==null?void 0:kt.getAction)==null||Bt.call(kt,"editor.action.formatDocument").run()});return window.updateMonacoValue=st=>{be(st)},Et},[]),(0,h.useEffect)(()=>{var Et;let st=xt.current.instance;$t.current&&clearTimeout($t.current),$t.current=setTimeout(()=>{It()},500),Ve&&(Ve!=null&&Ve.length)&&((Et=st==null?void 0:st.updateOptions)==null||Et.call(st,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ve.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ve,en,xt.current]),(0,h.useEffect)(()=>{if(yt&&xt.current&&xt.current.instance){let st=xt.current.instance;st.changeViewZones(function(Bt){var kt=document.createElement("div");kt.style.padding="10px 20px",kt.style.width="calc(100% - 20px)",kt.className="my-error-line-wrp",kt.innerHTML=qe,Bt.addZone({afterLineNumber:yt||11,heightInLines:3,domNode:kt})});var Et={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};st.addOverlayWidget(Et),st.revealPositionInCenter({lineNumber:20,column:1})}},[yt,xt.current,en]);const Rt=(Et="",st)=>{if(!Et||Et.trim()==="")return!0;const kt=xt.current.instance.getModel().getLineTokens(st);let He=!1;for(let Be=0;Be<2;Be++)kt.getStandardTokenType(Be)===1&&(He=!0);return He};(0,h.useEffect)(()=>{var Et;const st=(Et=xt.current)==null?void 0:Et.instance;if(st&&en&&q){const Bt=st.onDidBlurEditorWidget(()=>{Tn.current=!1}),kt=st.onDidFocusEditorText(()=>{Tn.current=!0});return()=>{Bt.dispose(),kt.dispose()}}},[xt.current,en,q]),(0,h.useEffect)(()=>{var Et;if((Et=xt.current)!=null&&Et.instance&&en&&Ze){let st=xt.current.instance,Bt=st.getModel();if(!Bt)return;(()=>{var ye;let _e=[],Ge=[];const Se=Bt.getAllDecorations();for(let bt of Se)bt.options.className==="highlighted-line"&&(_e.push((ye=bt==null?void 0:bt.range)==null?void 0:ye.startLineNumber),Ge.push(bt==null?void 0:bt.id));if(vt===_e[0])return;Bt.deltaDecorations(Ge,[]);const ut=Bt.getLineCount();vt&&vt<=ut&&(st.deltaDecorations([],[{range:new xe.Range(vt,1,vt,Bt.getLineMaxColumn(vt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),st.revealLineInCenter(vt))})();const He=(ye=!1)=>{var _e;let Ge=[],Se=[];const ut=Bt.getAllDecorations();for(let bt of ut)bt.options.linesDecorationsClassName==="breakpoints-select"&&(Ge.push((_e=bt==null?void 0:bt.range)==null?void 0:_e.startLineNumber),Se.push(bt==null?void 0:bt.id));if(ye)return{lines:Ge,ids:Se};lt(Ge)},Be=ye=>j(void 0,null,function*(){let _e={range:new xe.Range(ye,1,ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Bt.deltaDecorations([],[_e]),He()}),Ee=ye=>j(void 0,null,function*(){let _e=[];const Ge=st.getLineDecorations(ye);for(let Se of Ge)Se.options.linesDecorationsClassName==="breakpoints-select"&&_e.push(Se.id);yield Bt.deltaDecorations(_e,[]),He()}),Le=ye=>{let _e=st.getLineDecorations(ye);for(let Ge of _e)if(Ge.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,y.isEqual)(Xe,He(!0).lines)){Bt.deltaDecorations(He(!0).ids,[]);const ye=Xe.map(_e=>({range:new xe.Range(_e,1,_e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Bt.deltaDecorations([],ye)}const Ie=st.onDidChangeModelContent(ye=>{let _e=st.getPosition();if(_e){let Ge=_e.lineNumber;clearTimeout(rn.current),rn.current=setTimeout(()=>{Rt(Bt.getLineContent(Ge),Ge)?Ee(Ge):Le(Ge)?(Ee(Ge),Be(Ge)):He()},100)}}),ze=st.onMouseDown(ye=>{var _e,Ge,Se;if(ye.target.detail&&((Se=(Ge=(_e=ye.target)==null?void 0:_e.element)==null?void 0:Ge.className)!=null&&Se.includes("line-numbers"))){let ut=ye.target.position.lineNumber;if(Rt(Bt.getLineContent(ut),ut))return;Le(ut)?Ee(ut):Be(ut)}}),he=ye=>{let _e={range:new xe.Range(ye,1,ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ut.current=st.deltaDecorations(Ut.current,[_e])},je=()=>{Ut.current=st.deltaDecorations(Ut.current,[])},tt=st.onMouseMove(ye=>{var _e,Ge,Se;if(je(),ye.target.detail&&((Se=(Ge=(_e=ye.target)==null?void 0:_e.element)==null?void 0:Ge.className)!=null&&Se.includes("line-numbers"))){let ut=ye.target.position.lineNumber;if(Rt(Bt.getLineContent(ut),ut))return;he(ut)}}),me=st.onMouseLeave(()=>{je()});return()=>{Ie.dispose(),ze.dispose(),tt.dispose(),me.dispose()}}},[xt.current,en,Xe,vt,Ze,Fe]),(0,h.useEffect)(()=>{var Et;(Et=xt.current)!=null&&Et.instance&&Ze&&xt.current.instance.setPosition({lineNumber:0,column:0})},[vt]);function Wt(){let Et=xt.current.instance;if(Et){const st=Et.getSelection(),Bt=xt.current.pastePos||{},kt=new xe.Range(Bt.startLineNumber||st.endLineNumber,Bt.startColumn||st.endColumn,Bt.endLineNumber||st.endLineNumber,Bt.endColumn||st.endColumn);setTimeout(()=>{Et.executeEdits("",[{range:kt,text:""}])},300)}}function dn(Et){(window.navigator.platform.match("Mac")?Et.metaKey:Et.ctrlKey)&&Et.keyCode==83&&(Et.preventDefault(),ee())}const Dn=()=>{if(oe&&xt.current.instance){const Et=xt.current.instance.getContentHeight();$e(Et{if(!Tn.current)return;const{keyCode:st,ctrlKey:Bt,metaKey:kt,target:He,type:Be}=Et;return(Be==="paste"||(st===67||st===86)&&(kt||Bt))&&He.nodeName==="TEXTAREA"&&(St(),Et.preventDefault()),!1};function z(Et,st){var Bt=window.URL||window.webkitURL||window,kt=new Blob([st]),He=document.createElementNS("http://www.w3.org/1999/xhtml","a");He.href=Bt.createObjectURL(kt),He.download=Et,dt(He)}(0,h.useEffect)(()=>{Dn()},[Dn]),(0,h.useEffect)(()=>{_t.current&&!en&&Promise.all([O.e(8909),O.e(1859)]).then(O.bind(O,71448)).then(Et=>{try{xe=Et,xt.current.instance=xe.editor.create(_t.current,{value:Ve,language:ve(Fe),theme:V,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Qe||!1}},Ne);const st=xt.current.instance;let He=[...t.BH._menuItems].find(Ie=>Ie[0]._debugName=="EditorContext")[1],Be=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ee=(Ie,ze)=>{var he,je;let tt=Ie._first;do ze.includes((je=(he=tt.element)==null?void 0:he.command)==null?void 0:je.id)&&Ie._remove(tt);while(tt=tt.next)};if(te(st,xe),setTimeout(()=>{Dn(),xt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{z(ft||"educoder.txt",st.getValue())}})},500),xt.current.subscription=st.onDidChangeModelContent(Ie=>{mn.current?clearTimeout(Bn.current):(Dn(),be(st.getValue(),Ie)),Bn.current=setTimeout(()=>{mn.current=!1},500)}),window.Monaco||r(xe,ve(Fe)),q&&(Ee(He,Be),_t.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",T),window.removeEventListener("paste",T),window.addEventListener("keydown",T),window.addEventListener("paste",T)),window.Monaco=xe,$&&st.onDidBlurEditorWidget(()=>{$(st.getValue())}),ce&&st.onDidFocusEditorText(()=>{q&&Ce(),ce(st.getValue())}),q){Ce();try{st.onDidPaste(Ie=>{const ze=st.getSelection(),he=xt.current.pastePos||{},je=new xe.Range(he.startLineNumber||ze.endLineNumber,he.startColumn||ze.endColumn,he.endLineNumber||ze.endLineNumber,he.endColumn||ze.endColumn);st.executeEdits("",[{range:Ie.range,text:""}])})}catch(Ie){}}let Le=Xt();return Oe&&typeof Oe=="string"&&new e(Oe,st,xe),jt(!0),()=>{const Ie=xt.current.instance;Ie.dispose();const ze=Ie.getModel();ze&&ze.dispose(),xt.current.subscription&&xt.current.subscription.dispose(),Le.unobserve(_t.current)}}catch(st){}})},[]),(0,h.useEffect)(()=>{if(xt.current.instance&&en)return document.addEventListener("keydown",dn,!1),()=>{document.removeEventListener("keydown",dn)}},[ee,en]),(0,h.useEffect)(()=>{let Et=xt.current.instance;if(Et&&en){let st=ve(Fe);xe.editor.setModelLanguage(Et.getModel(),st)}},[Fe,en]),(0,h.useEffect)(()=>{xt.current.instance&&en&&xe.editor.setTheme(V)},[V,en]),(0,h.useEffect)(()=>{let Et=xt.current.instance;un.current=We,Et&&en&&(Et.updateOptions(U({},We)),setTimeout(()=>{Et.getModel().updateOptions(U({},We))},200))},[JSON.stringify(We),en]),(0,h.useEffect)(()=>{let Et=xt.current.instance;Et&&en&&Et.layout()},[Re,ge,en]);const[Z,ie]=(0,h.useState)(X(Re)),[le,$e]=(0,h.useState)(X(ge)),ot=F(U({},Te),{width:Z,height:le,position:"relative"});return h.createElement("div",{className:"my-monaco-editor",ref:_t,style:ot,onFocus:()=>{q&&Ce()}},re&&h.createElement(x.CopyToClipboard,{text:Ve,onCopy:()=>i.ZP.success("\u590D\u5236\u6210\u529F")},h.createElement(f.Z,{title:"\u590D\u5236\u4EE3\u7801"},h.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},h.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:Me="100%",height:Je="100%",original:Re,modified:ge,language:Ve,options:Fe={}}){const Te=(0,h.useRef)(),[We,Ne]=(0,h.useState)(null);function V(oe){let q;return Te.current&&(q=new k.Z(fe=>{for(let be of fe)(be.target.offsetHeight>0||be.target.offsetWidth>0)&&oe.layout()}),q.observe(Te.current)),q}(0,h.useEffect)(()=>(Te.current&&Promise.all([O.e(8909),O.e(9404)]).then(O.bind(O,2550)).then(oe=>{xe=oe;const q=xe.editor.createDiffEditor(Te.current,F(U({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Fe),{wordWrap:!0}));Ne(q);let fe=V(q);return()=>{q.dispose();const be=q.getModel();be&&be.dispose(),fe.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,h.useEffect)(()=>{We&&We.setModel({original:xe.editor.createModel(Re,Ve),modified:xe.editor.createModel(ge,Ve)})},[Re,ge,Ve,We]);const $=X(Me),re=X(Je),ee={width:$,height:re};return h.createElement("div",{className:"my-diff-editor",ref:Te,style:ee})}},64194:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return l}});var h={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",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},k=O(29787),P=O(25399),_=O(89787),N=O(92310),C=O.n(N),m=O(68911),p=O(71347),E=O(59301),l=({className:o,dataSource:g=[],col:r=4,right:n,bottom:a=23,precision:c=0,wrapWidth:u=1200,trackEventItems:s,loading:v,onRemove:e=()=>{},isCurrent:t=!0,showProgress:i=!1,showAlias:f=!1,category:y,hiddenClick:b})=>{const x=Math.floor((u-(r-1)*n)/r),A=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return E.createElement(k.Z,{spinning:v},E.createElement("div",{className:C()(h.list,o)},!!(g!=null&&g.length)&&(g==null?void 0:g.map((w,L)=>{var M,D,B,I,U,F,K,j,X,Y,se,Q,ve;const{name:xe,id:Ce,identifier:De,featured:Ue,school_name:Me,image_url:Je,excellent:Re,is_plan:ge}=w;return E.createElement("div",{key:Ce,className:t&&i?h.wrapisCurrent:h.wrap,style:{width:x,marginRight:(1+L)%r===0?0:n+c,marginBottom:a}},E.createElement("a",{className:h.li,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation(),s&&(0,m.L9)([s]),(0,m.xg)(`/paths/${De}`)}},E.createElement("div",{className:h.img},E.createElement("img",{className:h.cover,src:`${Je}`}),(M=w==null?void 0:w.subject_tags)==null?void 0:M.map((Ve,Fe)=>{var Te,We;if(Fe===0){const V=(Te=A.find($=>$.name==Ve))==null?void 0:Te.swclass;return E.createElement("span",{className:`sprite ${V} ${h.sign}`,style:{left:"-4px"}})}const Ne=(We=A.find(V=>V.name==Ve))==null?void 0:We.ptclass;return E.createElement("span",{className:`sprite ${Ne} ${h.sign}`,style:{left:`${48+52*(Fe-1)+2*Fe}px`}})}),E.createElement("div",{className:h.tagsDom},E.createElement("div",{className:"flex flex-wrap gap-10px item-center"},(w==null?void 0:w.excellent)&&E.createElement("div",{className:h.bq},"\u5F00\u653E\u8BFE\u7A0B"),((D=w==null?void 0:w.custom_tags)==null?void 0:D.length)>0&&E.createElement(P.Z,{title:(U=(I=w==null?void 0:w.custom_tags)==null?void 0:I[((B=w==null?void 0:w.custom_tags)==null?void 0:B.length)-1])==null?void 0:U.tag_name},E.createElement("div",{className:"px-6px rounded-2px c-white h-16px flex item-center",style:{maxWidth:"62px",background:"#3061D0",border:"0.5px solid #8FAFF8"}},E.createElement("span",{className:"multi-llipsis1e text-10px"},(j=(K=w==null?void 0:w.custom_tags)==null?void 0:K[((F=w==null?void 0:w.custom_tags)==null?void 0:F.length)-1])==null?void 0:j.tag_name))))),y=="hide"&&(w==null?void 0:w.studying)&&t&&E.createElement("div",{className:`${h.movebq} user-path-items`,onClick:Ve=>{Ve.stopPropagation(),e(w)}},E.createElement("i",{className:"iconfont icon-yichu1 font12"}),E.createElement("span",null,"\u79FB\u9664")),!["collect","payed"].includes(y)&&t&&E.createElement("div",{className:`${h.hiddenbq} user-path-items`,onClick:Ve=>{Ve.stopPropagation(),b(w)}},E.createElement("i",{className:`iconfont ${y=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),E.createElement("span",null,y=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),E.createElement("div",{className:h.name},E.createElement(P.Z,{title:f&&(w!=null&&w.excellent_alias_name)?E.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${xe}`,E.createElement("br",null),E.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${w==null?void 0:w.excellent_alias_name}`)):xe},E.createElement("span",{className:h.e},f&&(w==null?void 0:w.excellent_alias_name)||xe))),t&&i&&((X=w==null?void 0:w.progress)==null?void 0:X.all_score)!=0&&E.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},E.createElement(_.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Y=w==null?void 0:w.progress)==null?void 0:Y.my_score)/((se=w==null?void 0:w.progress)==null?void 0:se.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Q=w==null?void 0:w.progress)==null?void 0:Q.my_score,"/",(ve=w==null?void 0:w.progress)==null?void 0:ve.all_score),(!t||!i)&&E.createElement(P.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Me}`},E.createElement("div",{className:h.unit},E.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Me)),(!t||!i)&&E.createElement("div",{className:h.tags},E.createElement("div",null,E.createElement(P.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),E.createElement("span",null,w.stages_count))),E.createElement(P.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},E.createElement("span",null,E.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),E.createElement("span",null,w.members_count)))))))})),!g.length&&E.createElement(p.Z,null)))}},29596:function(Nn,pt,O){"use strict";O.d(pt,{jL:function(){return _},w9:function(){return j},QD:function(){return Xe},cQ:function(){return L.Z},op:function(){return q},O5:function(){return Xt},_b:function(){return Oe},t7:function(){return c},Gi:function(){return xe},YG:function(){return Q},qp:function(){return d},vr:function(){return qe},qE:function(){return te},Je:function(){return v},wb:function(){return w},cq:function(){return Re},tp:function(){return g}});var h=O(59301),k={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"},_=({dataSource:St=[],img:It,imgWidth:Rt=346,title:Wt,sunTitle:dn,bannerExtraContent:Dn})=>h.createElement("div",{className:k.banner},h.createElement("div",{className:k.content},h.createElement("aside",null,h.createElement("p",null,h.createElement("b",null,Wt),h.createElement("span",null,dn)),St.length>0&&h.createElement("div",{className:k.btns},St.map((dt,T)=>h.createElement("div",{key:T,onClick:dt.click},dt.name,dt.sign?h.createElement("span",{className:"sprite sprite-33"}):null))),Dn),It&&h.createElement("img",{style:{marginTop:33,marginRight:38},src:It,width:Rt}))),N={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"},C=O(92310),m=O.n(C),p=O(89392),d=({dataSource:St=[],value:It,onChange:Rt,onTitleChange:Wt,className:dn,title:Dn,titleWidth:dt=41,style:T={},fontColor:z="#6A7283",showCount:Z})=>{const[ie,le]=(0,h.useState)(1),[$e,ot]=(0,h.useState)(!1),Et=(0,h.useRef)(null),st=(0,h.useRef)(null);return(0,h.useEffect)(()=>{var Bt;St.length!==0&&(((Bt=Et==null?void 0:Et.current)==null?void 0:Bt.clientHeight)>97?le(1):le(0)),St.length===0&&le(0),ot(!1)},[St]),h.createElement("div",{className:m()(N.row,dn,"fadeIn","animated"),style:T},h.createElement("div",{onClick:(0,p.throttle)(()=>Wt==null?void 0:Wt(),2e3),style:{width:dt,marginTop:$e?12:4},className:`${N.title} ${Wt?"current":""}`},Dn),h.createElement("div",{className:$e?`${N.tagsWrap} ${N.tagsBorderWrap}`:N.tagsWrap},h.createElement("div",{className:N.bar,ref:st,style:ie>0?{height:ie===1?97:"auto",overflow:ie===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},h.createElement("div",{className:N.tag,ref:Et},St==null?void 0:St.map(Bt=>h.createElement("span",{onClick:()=>Rt(Bt.id),key:Bt.id,style:{color:z},className:It===Bt.id?N.active:""},h.createElement("span",{title:Bt.name,className:N.name},Bt.name),!!Z&&h.createElement("span",{className:N.num},Bt.count))))),!!ie&&h.createElement(h.Fragment,null,ie===1?h.createElement("div",{onClick:()=>{var Bt;le(2),((Bt=Et==null?void 0:Et.current)==null?void 0:Bt.clientHeight)>245?ot(!0):ot(!1)},className:N.action},"\u5C55\u5F00",h.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):h.createElement("div",{onClick:()=>{st.current.scrollTop=0,le(1),ot(!1)},className:N.action},"\u6536\u8D77",h.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},l={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"},g=({dataSource:St=[],value:It,onChange:Rt,className:Wt,style:dn={}})=>h.createElement("div",{style:dn,className:m()(l.tabs,Wt)},St.map(Dn=>h.createElement("span",{onClick:()=>Rt(Dn.id),className:It===Dn.id?l.active:"",key:Dn.id},Dn.name))),r={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"},n=O(37568),c=({dataSource:St=[],value:It="",onChange:Rt,onInputChange:Wt=()=>{},className:dn,style:Dn={},placeholder:dt,allowClear:T=!1})=>{var z;const[Z,ie]=(0,h.useState)(""),[le,$e]=(0,h.useState)("");(0,h.useEffect)(()=>{var st;let Bt=It;(st=JSON.stringify(It))!=null&&st.includes("{")&&(ie(It.id),Bt=It.value||"");try{$e(decodeURIComponent(Bt||""))}catch(kt){$e(decodeURIComponent(Bt||""))}},[It]);const ot=()=>{Rt(encodeURIComponent(le),Z||null)},Et=st=>{st!==Z&&(ie(st),Rt(encodeURIComponent(le),st))};return h.createElement("div",{className:m()(r.input,dn),style:Dn},!!St.length&&h.createElement("div",{className:r.dropdown},h.createElement("div",{className:r.text},(z=St.find(st=>st.id===Z))==null?void 0:z.name,h.createElement("i",{className:"iconfont icon-zhankai4"}),h.createElement("b",{className:r.b1}),h.createElement("b",{className:r.b2})),h.createElement("div",{className:r.menu},St.map((st,Bt)=>h.createElement("div",{key:Bt,onClick:()=>Et(st.id)},st.name)))),h.createElement(n.default,{onPressEnter:ot,value:le,onChange:st=>{$e(st.target.value),Wt(encodeURIComponent(st.target.value),Z||null)},placeholder:dt,variant:"borderless",allowClear:T,onClear:()=>Rt("",Z||null)}),h.createElement("i",{onClick:ot,className:"iconfont icon-sousuo9 font14 current"}))},u={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"},v=({value:St,onChange:It,className:Rt,total:Wt,pageSize:dn,style:Dn={}})=>{const dt=St<2,T=St>=Math.ceil(Wt/dn);return Wt<=dn?h.createElement(h.Fragment,null):h.createElement("div",{className:m()(u.quickPager,Rt),style:Dn},h.createElement("div",{onClick:()=>{dt||It(St-1,"prev")},className:dt?u.disabled:""},"\u4E0A\u4E00\u9875"),h.createElement("div",{onClick:()=>{T||It(St+1,"next")},className:T?u.disabled:""},"\u4E0B\u4E00\u9875"))},e={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"},t=O(29787),i=O(25399),f=O(63139),y=O(35783),b=O(68911),x=O(71347),w=({className:St,dataSource:It=[],col:Rt=4,right:Wt,bottom:dn=23,precision:Dn=0,wrapWidth:dt=1200,trackEventItems:T,loading:z})=>{const Z=Math.floor((dt-(Rt-1)*Wt)/Rt);return h.createElement(t.Z,{spinning:z},h.createElement("div",{className:m()(e.list,St)},!!It.length&&It.map((ie,le)=>{const{name:$e,id:ot,identifier:Et,power:st,cover_image_id:Bt,pic:kt}=ie;return h.createElement("div",{className:e.wrap,key:ot,style:{width:Z,marginRight:(1+le)%Rt===0?0:Wt+Dn,marginBottom:dn}},h.createElement("a",{target:"_blank",href:`/shixuns/${Et}/challenges`,className:e.li,onClick:He=>{He.preventDefault(),T&&(0,b.L9)([T]),st&&(0,b.xg)(`/shixuns/${Et}/challenges`)}},h.createElement("div",{className:e.img},h.createElement("img",{className:e.cover,src:`${kt}`}),ie.is_jupyter&&h.createElement("span",{className:`sprite sprite-43 ${e.sign}`}),ie.is_jupyter_lab&&h.createElement("span",{className:`sprite sprite-42 ${e.sign}`}),ie.is_unity_3d&&h.createElement("span",{className:`sprite sprite-44 ${e.sign}`})),h.createElement("div",{className:e.name},h.createElement(i.Z,{title:$e||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},h.createElement("span",{className:e.e},$e||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),h.createElement("div",{className:e.tags},h.createElement(i.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},h.createElement("span",null,h.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),h.createElement("span",null,ie.challenges_count))),!!ie.myshixuns_count&&h.createElement(i.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},h.createElement("span",null,h.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),h.createElement("span",null,ie.myshixuns_count))),h.createElement(i.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},h.createElement("span",null,h.createElement("span",null,ie.level))),h.createElement("div",{className:e.rate},h.createElement(f.Z,{allowHalf:!0,disabled:!0,defaultValue:ie.score_info}),h.createElement("span",null,"\xA0",ie.score_info?`${ie.score_info}\u5206`:"5\u5206")))),!st&&h.createElement("div",{className:e.lockWrap},h.createElement("img",{src:`${y.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),h.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!It.length&&h.createElement(x.Z,null)))},L=O(64194),M={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",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6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3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",U=O(59301),F=(St,It,Rt)=>new Promise((Wt,dn)=>{var Dn=z=>{try{T(Rt.next(z))}catch(Z){dn(Z)}},dt=z=>{try{T(Rt.throw(z))}catch(Z){dn(Z)}},T=z=>z.done?Wt(z.value):Promise.resolve(z.value).then(Dn,dt);T((Rt=Rt.apply(St,It)).next())}),j=({className:St,dataSource:It=[],col:Rt=4,right:Wt,bottom:dn=23,precision:Dn=0,wrapWidth:dt=1200,trackEventItems:T,loading:z,category:Z,hiddenClick:ie,handleVery:le=()=>!0,isCurrent:$e})=>{const[ot,Et]=D.default.useModal(),st=Math.floor((dt-(Rt-1)*Wt)/Rt),Bt=kt=>F(void 0,null,function*(){ot.confirm({title:"\u7F6E\u9876",width:500,content:U.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",U.createElement("span",{className:"c-blue"},"\u201C",kt.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return U.createElement(t.Z,{spinning:z},Et,U.createElement("div",{className:m()(M.list,St)},!!It.length&&It.map((kt,He)=>{const{subject_identifier:Be,id:Ee,identifier:Le,power:Ie}=kt,ze=kt.is_public!=0&&kt.is_public;return U.createElement("div",{className:M.wrap,key:Ee,style:{width:st,marginRight:(1+He)%Rt===0?0:Wt+Dn,marginBottom:dn}},kt.homepage_show&&U.createElement("div",{className:M.btnsTop},U.createElement(B.default,{color:"red"},"\u7F6E\u9876")),U.createElement("a",{className:M.li,onClick:he=>{he.preventDefault(),le(kt==null?void 0:kt.first_category_url)&&(T&&(0,b.L9)([T]),(0,b.xg)(kt.first_category_url))}},U.createElement("div",{className:M.top},U.createElement(i.Z,{title:kt.name},U.createElement("div",{className:M.name},kt.name)),U.createElement("img",{className:M.img,src:y.Z.IMG_SERVER+"/images/"+kt.avatar_url}),U.createElement("div",{className:M.text,title:kt.creator},kt.creator),Be&&U.createElement("div",{className:M.btns},U.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),U.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ze&&U.createElement("div",{className:M.sign},"\u516C\u5F00"),$e&&U.createElement("div",{className:M.hidden,onClick:he=>{he.stopPropagation(),ie(kt)}},U.createElement("i",{className:`iconfont ${Z=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Z=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),U.createElement("div",{className:M.bottom},kt.visits>0&&U.createElement(i.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-liulanyan"}),U.createElement("span",null,kt.visits))),kt.course_members_count>0&&U.createElement(i.Z,{title:"\u6210\u5458",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-chengyuan"}),kt.course_members_count)),kt.tasks_count>0&&U.createElement(i.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},U.createElement("span",null,U.createElement("i",{className:"iconfont icon-zuoye"}),kt.tasks_count)),kt.is_end?U.createElement("div",{style:{color:"#6B758B"}}):U.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!kt.is_accessible&&U.createElement("div",{className:M.lockWrap},U.createElement("img",{src:`${y.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),U.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!It.length&&U.createElement(x.Z,null)))},X={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"},Y=O(63823),Q=({dataSource:St=[],value:It,onChange:Rt,className:Wt,style:dn={},tabBarExtraContent:Dn})=>h.createElement("div",{className:m()(X.tabs,Wt),style:dn},h.createElement("div",{className:X.tabsWrap},St.map((dt,T)=>!(dt!=null&&dt.hide)&&h.createElement("aside",{className:X.tab,onClick:()=>{Rt(dt.id),dt.link&&Y.history.push(dt.link)},key:T},h.createElement("div",{className:It===dt.id?X.active:""},dt.name),(dt==null?void 0:dt.resetCount)==null&&(dt==null?void 0:dt.total)!==void 0&&h.createElement("span",null,"\uFF08",dt==null?void 0:dt.total,"\uFF09"),(dt==null?void 0:dt.resetCount)!==void 0&&(dt==null?void 0:dt.total)!==void 0&&h.createElement(i.Z,{title:(dt==null?void 0:dt.tip)!=null?dt==null?void 0:dt.tip:""},h.createElement("span",{style:{color:"#9096A3"}},"\uFF08",h.createElement("span",{style:{color:"#000"}},dt==null?void 0:dt.resetCount),"/",h.createElement("span",null,dt==null?void 0:dt.total),"\uFF09"))))),h.createElement("div",{className:X.tabBar},Dn)),xe=({className:St,style:It={},children:Rt})=>h.createElement("div",{className:m()(St),style:It},Rt),Ce={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"},De=O(75727),Ue=O(93041);const Me=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Re=({sortValue:St,dropValue:It,className:Rt,onSort:Wt,onDrop:dn,dataSource:Dn=Me})=>{var dt;return h.createElement("div",{className:m()(Ce.orderWrap,Rt)},h.createElement(De.Z,{dropdownRender:()=>h.createElement(Ue.default,null,Dn.map((T,z)=>h.createElement(Ue.default.Item,{key:z,onClick:()=>dn(T.id)},T.name)))},h.createElement("span",{className:Ce.orderTextWrap},(dt=Dn.find(T=>It===T.id))==null?void 0:dt.name)),h.createElement("span",{className:Ce.orderIconWrap},h.createElement("span",{className:Ce.orderAsc},h.createElement("i",{className:St==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ce.cursorPointer} ${Ce.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ce.cursorPointer}`,onClick:()=>Wt(St==="asc"?"desc":"asc")})),h.createElement("span",{className:Ce.orderDesc},h.createElement("i",{className:St==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ce.cursorPointer} ${Ce.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ce.cursorPointer}`,onClick:()=>Wt(St==="asc"?"desc":"asc")}))))},ge={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"},Ve=O(7939),Fe=Object.defineProperty,Te=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,V=(St,It,Rt)=>It in St?Fe(St,It,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):St[It]=Rt,$=(St,It)=>{for(var Rt in It||(It={}))We.call(It,Rt)&&V(St,Rt,It[Rt]);if(Te)for(var Rt of Te(It))Ne.call(It,Rt)&&V(St,Rt,It[Rt]);return St},re=(St,It)=>{var Rt={};for(var Wt in St)We.call(St,Wt)&&It.indexOf(Wt)<0&&(Rt[Wt]=St[Wt]);if(St!=null&&Te)for(var Wt of Te(St))It.indexOf(Wt)<0&&Ne.call(St,Wt)&&(Rt[Wt]=St[Wt]);return Rt},ee=(St,It,Rt)=>new Promise((Wt,dn)=>{var Dn=z=>{try{T(Rt.next(z))}catch(Z){dn(Z)}},dt=z=>{try{T(Rt.throw(z))}catch(Z){dn(Z)}},T=z=>z.done?Wt(z.value):Promise.resolve(z.value).then(Dn,dt);T((Rt=Rt.apply(St,It)).next())}),q=St=>{var It=St,{className:Rt,style:Wt,children:dn,loading:Dn=!1,openLoading:dt,onClick:T=()=>{},size:z="middle",shape:Z="round"}=It,ie=re(It,["className","style","children","loading","openLoading","onClick","size","shape"]);const[le,$e]=(0,h.useState)(!1);return h.createElement(Ve.ZP,$({onClick:(0,p.throttle)(ot=>ee(void 0,null,function*(){dt&&$e(!0);try{yield T(ot)}catch(Et){console.log("error",Et)}dt&&$e(!1)}),2e3,{leading:!0,trailing:!1}),className:m()(ge.btn,ge[`${z}-${Z}`],Rt),style:Wt,size:z,shape:Z,loading:le||Dn},ie),dn)},fe={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"},te=({className:St,style:It,children:Rt=null,onClick:Wt,title:dn})=>h.createElement("div",{className:m()(fe.head,St),style:It},h.createElement("span",{className:"primary-hover",onClick:Wt},h.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),h.createElement("b",{title:dn},dn),h.createElement("div",{className:fe.node},Rt)),ce={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"},Xe=({confirmShow:St=!0,confirmTitle:It,confirmClick:Rt,cancelShow:Wt=!0,cancelTitle:dn,cancelClick:Dn,className:dt,style:T,confirmLoading:z=!1})=>h.createElement("div",{className:m()(ce.btns,dt),style:T},St&&h.createElement(Ve.ZP,{loading:z,onClick:Rt,type:"primary",className:ce.confirm},It),Wt&&h.createElement(Ve.ZP,{onClick:Dn,className:ce.cancel},dn)),ft={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"},qe=({className:St,style:It={},LeftContent:Rt,children:Wt,RightContent:dn})=>h.createElement("div",{className:m()(ft.fixedBottom,St),style:It},h.createElement("div",{className:ft.wrap},h.createElement("div",{className:ft.left},Rt),h.createElement("div",{className:ft.center},Wt),h.createElement("div",{className:ft.right},dn))),vt={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"},Oe=({className:St,style:It={},dataSource:Rt=[]})=>h.createElement("div",{className:m()(vt.crumbs,St),style:It},Rt.map((Wt,dn)=>dnY.history.push(Wt.path)},Wt.name):h.createElement("span",null,Wt.name),h.createElement("span",null,"\xA0",">","\xA0")):h.createElement("span",{key:dn,style:{color:"#5F6368"}},Wt.name))),Qe=O(11938),rt=Object.defineProperty,_t=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,un=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,mn=(St,It,Rt)=>It in St?rt(St,It,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):St[It]=Rt,Bn=(St,It)=>{for(var Rt in It||(It={}))$t.call(It,Rt)&&mn(St,Rt,It[Rt]);if(un)for(var Rt of un(It))Ut.call(It,Rt)&&mn(St,Rt,It[Rt]);return St},rn=(St,It)=>_t(St,xt(It)),Tn=(St,It)=>{var Rt={};for(var Wt in St)$t.call(St,Wt)&&It.indexOf(Wt)<0&&(Rt[Wt]=St[Wt]);if(St!=null&&un)for(var Wt of un(St))It.indexOf(Wt)<0&&Ut.call(St,Wt)&&(Rt[Wt]=St[Wt]);return Rt};const{Countdown:en}=Qe.default;var Xt=St=>{var It=St,{onChange:Rt}=It,Wt=Tn(It,["onChange"]);const[dn,Dn]=(0,h.useState)(null);(0,h.useEffect)(()=>{typeof dn=="number"&&dn>=0&&Rt(dn)},[dn]);const dt=T=>{const z=Math.floor(T/1e3);Dn(z)};return h.createElement(en,rn(Bn({},Wt),{onChange:dt}))}},30562:function(Nn,pt,O){"use strict";O.r(pt),O.d(pt,{NoData:function(){return ge},default:function(){return Ne}});var h=O(59301),k=O(7939),P=O(62957),_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13TmXOm8/vkXb7vhz7EYrFYrLjl2SqOmVMefCivXLlm7nviFL4iLBaLxWKxWEkqryz8k7nekAeRV6HewVeExWKxWCwWKymJw+aWB/8uAWtehTibrwmLxWKxWCxWEprlFScNZa82h/IAXHxVWCwWi8VisZLQnPLA1RKwKJM1la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O(22972);function C(){return(0,N.U2)("teach_groups.json")}function m(V){return(0,N.v_)("teach_groups.json",V)}function p(V,$){return(0,N.gz)(`teach_groups/${V}.json`,$)}function E(V){return(0,N.v_)("teach_group_members.json",V)}function d(V){return(0,N.IV)(`teach_group_members/${V}.json`)}function l(V,$){return(0,N.gz)(`teach_groups/${V}/change_admin.json`,{member_id:$})}function o(V,$){return(0,N.IV)(`teach_groups/${V}/del_member.json`,{member_id:$})}function g(V){return(0,N.IV)(`teach_groups/${V}.json`)}function r(V){return(0,N.U2)(`teach_groups/${V}/show_permission.json`)}function n(V){return(0,N.gz)(`teach_groups/${V==null?void 0:V.id}/update_permission.json`,V)}var a=O(28284),c=O(37568),u=O(13108),s=({callback:V,visible:$,onCancel:re,id:ee,name:oe})=>{function q(be){V(be)}const[fe]=a.default.useForm();return(0,h.useEffect)(()=>{fe.setFieldsValue({name:oe})},[oe]),h.createElement(P.default,{centered:!0,title:ee?"\u4FEE\u6539\u540D\u79F0":"\u65B0\u5EFA",open:$,onCancel:re,onOk:()=>{fe.submit()},wrapClassName:u.Z.CustomCss},h.createElement(a.default,{form:fe,initialValues:{name:oe},onFinish:q},h.createElement(a.default.Item,{label:"\u6559\u7814\u56E2\u961F\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0"}]},h.createElement(c.default,{placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC720\u5B57\u7684\u540D\u79F0",maxLength:20}))))},v=O(62673),e=O(75727),t=O(93041),i=O(70858),f=O(6767),y=O(47889),b=Object.defineProperty,x=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,L=(V,$,re)=>$ in V?b(V,$,{enumerable:!0,configurable:!0,writable:!0,value:re}):V[$]=re,M=(V,$)=>{for(var re in $||($={}))A.call($,re)&&L(V,re,$[re]);if(x)for(var re of x($))w.call($,re)&&L(V,re,$[re]);return V};const D=V=>React.createElement("svg",M({className:"cjz_svg__icon",viewBox:"0 0 3194 1024",xmlns:"http://www.w3.org/2000/svg",width:623.828,height:200},V),React.createElement("path",{d:"M512 0h2170.88c282.624 0 512 229.376 512 512s-229.376 512-512 512H512C229.376 1024 0 794.624 0 512S229.376 0 512 0z",fill:"#EBEEFD"}),React.createElement("path",{d:"M1638.4 741.376c28.672 0 40.96-16.384 40.96-45.056V294.912h-36.864v393.216c0 16.384-8.192 20.48-20.48 20.48-24.576 0-45.056 0-73.728-4.096l8.192 32.768h81.92zm-372.736-258.048c49.152-45.056 90.112-94.208 126.976-147.456 32.768 32.768 69.632 77.824 110.592 135.168l24.576-24.576c-40.96-49.152-81.92-98.304-122.88-143.36h-24.576c-40.96 57.344-81.92 110.592-131.072 155.648l16.384 24.576zm323.584 159.744V339.968h-32.768v307.2h32.768zm-131.072 94.208c24.576 0 36.864-4.096 45.056-12.288s16.384-36.864 20.48-77.824l-32.768-12.288c0 28.672-4.096 45.056-8.192 53.248s-16.384 12.288-32.768 12.288h-98.304c-12.288 0-20.48-4.096-20.48-16.384v-204.8h106.496v94.208c0 12.288-8.192 20.48-20.48 20.48-16.384 0-32.768 0-49.152-4.096l8.192 32.768h53.248c28.672 0 40.96-16.384 40.96-40.96V450.56h-176.128v245.76c0 24.576 12.288 36.864 40.96 36.864h122.88zm585.728-53.248V634.88h131.072v-28.672h-131.072v-40.96h114.688v-28.672h-114.688v-40.96H2150.4v-69.632h32.768v-28.672H2150.4V327.68h-106.496v-32.768h-32.768v32.768h-86.016v28.672h86.016v36.864h-110.592v28.672h110.592v40.96h-86.016v28.672h86.016v40.96h-98.304v28.672h98.304v40.96h-110.592v28.672h110.592v49.152h32.768zm-270.336 57.344c24.576-16.384 40.96-36.864 57.344-61.44 4.096 4.096 12.288 8.192 16.384 12.288 36.864 24.576 102.4 36.864 188.416 36.864h147.456l4.096-32.768c-57.344 0-110.592 4.096-167.936 4.096-65.536 0-118.784-12.288-151.552-28.672-8.192-4.096-16.384-12.288-24.576-20.48 24.576-45.056 36.864-98.304 36.864-163.84v-20.48h-77.824c24.576-32.768 49.152-73.728 73.728-118.784v-28.672H1761.28v32.768h81.92c-24.576 40.96-49.152 81.92-77.824 118.784v28.672h90.112c-4.096 45.056-12.288 86.016-28.672 122.88-12.288-20.48-24.576-49.152-32.768-86.016l-32.768 12.288c12.288 40.96 28.672 77.824 45.056 106.496-16.384 24.576-36.864 40.96-57.344 57.344l24.576 28.672zm339.968-344.064h-69.632v-36.864h69.632v36.864zm0 69.632h-69.632v-40.96h69.632v40.96zm253.952 278.528v-20.48h212.992v20.48h36.864V524.288h-184.32c28.672-12.288 53.248-24.576 77.824-40.96l20.48-12.288h151.552v-32.768h-106.496c32.768-24.576 65.536-57.344 94.208-90.112l-32.768-20.48c-36.864 40.96-73.728 77.824-122.88 110.592h-61.44v-61.44h114.688v-32.768h-114.688v-49.152h-36.864v53.248h-135.168v32.768h135.168v57.344h-180.224v32.768h225.28c-69.632 40.96-147.456 69.632-229.376 90.112l16.384 32.768c28.672-8.192 57.344-20.48 81.92-28.672v180.224h36.864zm212.992-139.264h-212.992v-49.152h212.992v49.152zm0 86.016h-212.992v-53.248h212.992v53.248z",fill:"#165DFF"}),React.createElement("path",{d:"M573.44 204.8h327.68c90.112 0 163.84 73.728 163.84 163.84v327.68c0 90.112-73.728 163.84-163.84 163.84H573.44c-90.112 0-163.84-73.728-163.84-163.84V368.64c0-90.112 73.728-163.84 163.84-163.84z",fill:"#C2D0FF"}),React.createElement("path",{d:"M868.352 581.632c4.096 24.576 12.288 49.152 16.384 69.632 0 8.192 4.096 16.384 4.096 24.576s4.096 16.384 4.096 24.576 4.096 12.288 4.096 16.384v8.192c0 8.192 0 12.288-4.096 12.288-4.096 4.096-8.192 4.096-12.288 4.096h-8.192c-4.096 0-4.096 0-8.192-4.096L737.28 667.648c-24.576 12.288-45.056 24.576-61.44 36.864L651.264 716.8c-8.192 4.096-16.384 8.192-20.48 12.288-8.192 4.096-16.384 8.192-20.48 12.288s-8.192 4.096-8.192 4.096c-4.096 0-8.192 4.096-8.192 0-4.096 0-8.192 0-8.192-4.096-4.096 0-4.096-4.096-4.096-8.192v-8.192s0-4.096 4.096-8.192c0-4.096 4.096-12.288 4.096-16.384 0-8.192 4.096-16.384 4.096-24.576s4.096-16.384 8.192-24.576c4.096-20.48 12.288-45.056 16.384-69.632-24.576-16.384-45.056-28.672-57.344-45.056-8.192-4.096-16.384-8.192-20.48-16.384s-12.288-8.192-16.384-12.288S512 499.712 512 495.616c-4.096-4.096-8.192-4.096-8.192-4.096-4.096-4.096-4.096-8.192-8.192-12.288s-4.096-8.192-4.096-12.288 4.096-8.192 4.096-12.288c4.096 0 8.192-4.096 12.288-4.096l151.552-12.288L716.8 307.2c0-4.096 4.096-8.192 8.192-12.288 0-8.192 8.192-8.192 12.288-8.192s4.096 0 8.192 4.096c4.096 0 4.096 4.096 4.096 4.096l4.096 4.096s0 4.096 4.096 4.096l53.248 131.072 155.648 16.384c8.192 0 12.288 4.096 12.288 4.096 4.096 4.096 4.096 8.192 4.096 12.288s0 8.192-4.096 12.288l-12.288 12.288-98.304 90.112z",fill:"#2E5BEC"}));var B="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDMxOTQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjIzLjgyOCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik01MTIgMGgyMTcwLjg4YzI4Mi42MjQgMCA1MTIgMjI5LjM3NiA1MTIgNTEycy0yMjkuMzc2IDUxMi01MTIgNTEySDUxMkMyMjkuMzc2IDEwMjQgMCA3OTQuNjI0IDAgNTEyUzIyOS4zNzYgMCA1MTIgMHoiIGZpbGw9IiNFQkVFRkQiLz48cGF0aCBkPSJNMTYzOC40IDc0MS4zNzZjMjguNjcyIDAgNDAuOTYtMTYuMzg0IDQwLjk2LTQ1LjA1N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(29596),U=(V,$,re)=>new Promise((ee,oe)=>{var q=te=>{try{be(re.next(te))}catch(ce){oe(ce)}},fe=te=>{try{be(re.throw(te))}catch(ce){oe(ce)}},be=te=>te.done?ee(te.value):Promise.resolve(te.value).then(q,fe);be((re=re.apply(V,$)).next())});const F=50;var K=({data:V,isAdminOrTeacher:$,onDelGroup:re,onChangeGroupName:ee,onPlusMember:oe,onDelMember:q,onExitGroup:fe,Transferteams:be})=>{var te,ce;const[lt,Xe]=(0,h.useState)(0),[ft,yt]=(0,h.useState)(0);let[qe,vt]=(0,h.useState)(),[Ze,Oe]=(0,h.useState)(),[Qe,rt]=(0,h.useState)(!1),[_t,xt]=(0,h.useState)(),[un,$t]=(0,h.useState)(),[Ut,mn]=(0,h.useState)(!1),[Bn,rn]=(0,h.useState)(!1),[Tn,en]=(0,h.useState)("");function jt(dt){let T=parseInt(dt.key,10);en(T),rn(!0)}function Xt(dt){let T=parseInt(dt.key,10);P.default.confirm({title:"\u9000\u51FA\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{fe(T)}})}function St(dt){let T=parseInt(dt,10);P.default.confirm({title:"\u9000\u51FA\u63D0\u793A",okText:"\u786E\u5B9A",icon:!1,className:u.Z.CustomTipsModalCss,cancelText:"\u53D6\u6D88",content:"\u9000\u51FA\u5C06\u5BF9\u60A8\u4E0E\u7EC4\u5185\u6210\u5458\u5171\u540C\u5F00\u5C55\u6559\u7814\u6D3B\u52A8\u9020\u6210\u4E0D\u4FBF\u3002\u60A8\u786E\u5B9A\u8981\u9000\u51FA\u5417\uFF1F",onOk:()=>{fe(T)}})}function It(dt,T){P.default.confirm({title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u7EC4\u5458\u5417?",icon:!1,className:u.Z.CustomTipsModalCss,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>{q(dt,T)}})}const Rt={display:"block",height:"30px",lineHeight:"30px"};function Wt(dt){$t(dt),xt(dt==null?void 0:dt.id),mn(!0)}const dn=[{title:"\u6210\u5458\u540D\u79F0",dataIndex:"name",width:150},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u9898",dataIndex:"item_bank",align:"center",width:150,render:(dt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:dt,onChange:Z=>{n({id:_t,member_id:T.id,clazz:"item_bank",enable:Z.target.checked})}})},{title:"\u7F16\u8F91\u5171\u4EAB\u8BD5\u9898",dataIndex:"edit_item_bank",align:"center",width:150,render:(dt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:dt,onChange:Z=>{n({id:_t,member_id:T.id,clazz:"edit_item_bank",enable:Z.target.checked})}})},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u5377",dataIndex:"exercise",align:"center",render:(dt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:dt,onChange:Z=>{n({id:_t,member_id:T.id,clazz:"exercise",enable:Z.target.checked})}})}];function Dn(dt){return U(this,null,function*(){const T=yield r(dt==null?void 0:dt.id);xt(dt==null?void 0:dt.id),Oe(T),rt(!0)})}return h.createElement("ul",{className:"teaching-lists"},V.map((dt,T)=>h.createElement("li",{key:dt.id,style:{marginTop:T===0?30:16},onClick:()=>Xe(T)},h.createElement("div",{className:"item-group"},h.createElement("span",{style:{color:"#000000",fontSize:16,fontWeight:600}},dt.name,"\u7684\u6559\u7814\u56E2\u961F"),h.createElement("div",{className:"action-group"})),h.createElement("div",{style:{display:"flex"}},h.createElement("span",{style:{marginTop:29,marginLeft:24,color:"#5F6367"}},"\u56E2\u961F\u6210\u5458\uFF1A"),h.createElement("ul",{className:"info",style:{flex:1}},dt.memers.map(z=>{var Z;return h.createElement("li",{key:z.id||z.name,onClick:()=>{yt(z.id)},className:"directionItemWrap"},h.createElement("div",{className:"hovename",style:{display:"flex",alignItems:"center",justifyContent:"center",fontWeight:400,fontSize:14,color:z!=null&&z.is_creater?"#000000":"#5F6367"}},((Z=z.name)==null?void 0:Z.length)>6?z.name.substr(0,6)+"....":z.name,h.createElement("img",{src:B,style:{marginLeft:5,display:!(z!=null&&z.is_creater)&&"none",height:25,width:78}})),dt.is_creat?h.createElement("div",{className:"groupActionWrap",style:{display:!(z!=null&&z.id)&&"none"}},h.createElement("a",{className:"btn-del",onClick:ie=>{ie.preventDefault(),ie.stopPropagation(),It(dt.id,z.id)}},"x")):null)})),dt.is_creat||$?h.createElement(e.Z,{overlayClassName:"dropdowns",dropdownRender:()=>h.createElement(t.default,null,h.createElement(t.default.Item,{onClick:()=>{ee(dt)}},"\u4FEE\u6539\u540D\u79F0"),h.createElement(t.default.Item,{disabled:dt.memers.length>=50,onClick:()=>{oe(dt)}},"\u6DFB\u52A0\u6210\u5458"),dt.is_creat&&h.createElement(t.default.Item,{onClick:()=>Dn(dt)},"\u6743\u9650\u914D\u7F6E"),dt.is_creat&&h.createElement(t.default.Item,{onClick:()=>Wt(dt)},"\u8F6C\u8BA9\u56E2\u961F"),h.createElement(t.default.Item,{key:dt.id+"",onClick:dt.is_creat?jt:Xt},dt.is_creat?"\u89E3\u6563":"\u9000\u51FA"))},h.createElement("span",{style:{marginTop:30,marginRight:24,color:"#165DFF",fontSize:14,height:20}},"\u8BBE\u7F6E",h.createElement("i",{style:{marginLeft:5,color:"#979797"},className:"iconfont icon-a-bianzu11"}))):h.createElement("span",{key:dt.id+"",style:{marginTop:30,marginRight:24,color:"#165DFF",fontSize:14,height:20},className:"c-grey-c",onClick:()=>St(dt.id)},"\u9000\u51FA")))),h.createElement(P.default,{width:700,wrapClassName:u.Z.CustomCss,title:"\u6743\u9650\u914D\u7F6E",footer:null,open:Qe,onCancel:()=>rt(!1)},h.createElement(I.Gi,null,h.createElement(i.default,{dataSource:Ze==null?void 0:Ze.members,columns:dn,pagination:!1,scroll:{y:240}})),h.createElement("p",{style:{color:"#FF9D18",marginTop:5}},"*\u9009\u4E2D\u4EE3\u8868\u8BE5\u6210\u5458\u53EF\u4EE5\u4F7F\u7528\u56E2\u961F\u5185\u6240\u6709\u6210\u5458\u5171\u4EAB\u7684\u8D44\u6E90\uFF0C\u5426\u5219\u4E0D\u53EF\u4EE5")),h.createElement(P.default,{title:"\u89E3\u6563\u63D0\u793A",wrapClassName:u.Z.CustomCss,onOk:()=>{re(Tn),rn(!1)},open:Bn,onCancel:()=>rn(!1)},h.createElement("p",null,"\u89E3\u6563\u6559\u7814\u56E2\u961F\u5C06\u5BF9\u56E2\u961F\u6210\u5458\u4E4B\u95F4\u5171\u4EAB\u5B9E\u8BAD\u3001\u8BD5\u5377\u7B49\u529F\u80FD\u9020\u6210\u4E0D\u4FBF\u3002"),h.createElement("p",null,"\u60A8\u786E\u5B9A\u8981\u89E3\u6563\u672C\u6559\u7814\u56E2\u961F\u5417\uFF1F")),h.createElement(P.default,{wrapClassName:u.Z.CustomCss,title:"\u8F6C\u8BA9\u56E2\u961F",onOk:()=>{if(!qe){f.ZP.info("\u521B\u5EFA\u4EBA\u4E0D\u80FD\u4E3A\u7A7A");return}be(_t,qe),mn(!1),qe=""},open:Ut,onCancel:()=>{mn(!1),qe=""}},h.createElement("p",{style:{textAlign:"left"}},"\u9009\u4E2D\u7684\u6210\u5458\u5C06\u4F1A\u4EE5\u65B0\u7684\u521B\u5EFA\u4EBA\u8EAB\u4EFD\u63A5\u7BA1\u56E2\u4F53 ",h.createElement("br",null)," \u60A8\u5C06\u4E0D\u518D\u62E5\u6709\u521B\u5EFA\u4EBA\u7684\u8EAB\u4EFD\u548C\u6743\u9650\uFF0C\u4F46\u60A8\u4ECD\u662F\u56E2\u961F\u4E2D\u7684\u4E00\u5458"),h.createElement("div",null,h.createElement(y.ZP.Group,{defaultValue:[],onChange:dt=>{qe=dt.target.value,vt(dt.target.value)}},(ce=(te=un==null?void 0:un.memers)==null?void 0:te.filter(dt=>dt.is_teacher))==null?void 0:ce.map((dt,T)=>h.createElement(y.ZP,{style:Rt,value:dt==null?void 0:dt.id},dt==null?void 0:dt.name))))))},j=O(68911),X=O(63823),Y=O(19220),se=Object.defineProperty,Q=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ue=(V,$,re)=>$ in V?se(V,$,{enumerable:!0,configurable:!0,writable:!0,value:re}):V[$]=re,Me=(V,$)=>{for(var re in $||($={}))Ce.call($,re)&&Ue(V,re,$[re]);if(xe)for(var re of xe($))De.call($,re)&&Ue(V,re,$[re]);return V},Je=(V,$)=>Q(V,ve($)),Re=(V,$,re)=>new Promise((ee,oe)=>{var q=te=>{try{be(re.next(te))}catch(ce){oe(ce)}},fe=te=>{try{be(re.throw(te))}catch(ce){oe(ce)}},be=te=>te.done?ee(te.value):Promise.resolve(te.value).then(q,fe);be((re=re.apply(V,$)).next())});function ge({children:V}){return h.createElement("div",{className:"no-data"},h.createElement("img",{src:_,alt:"no-data",width:300}),V)}const Ve={data:[],loading:!0,selectedGroup:{},showFormPanel:!1,showMemberPanel:!1,index:0};var Fe=(V=>(V[V.INITDATA=0]="INITDATA",V[V.SHOWLOADING=1]="SHOWLOADING",V[V.SHOWFORMPANEL=2]="SHOWFORMPANEL",V[V.SHOWMEMBERPANEL=3]="SHOWMEMBERPANEL",V[V.SELECTGROUP=4]="SELECTGROUP",V[V.SETINDEX=5]="SETINDEX",V))(Fe||{});function Te(V,$){switch($.type){case 0:return Me(Me({},V),$.payload);case 1:return Je(Me({},V),{loading:$.payload});case 5:return Je(Me({},V),{index:$.payload});case 2:return Me(Me({},V),$.payload);case 3:return Me(Me({},V),$.payload);case 4:return Je(Me({},V),{selectedGroup:$.payload,showFormPanel:!0});default:throw new Error}}function We({user:V}){var $;const re=(0,X.useLocation)(),[ee]=(0,X.useSearchParams)(),[oe,q]=(0,h.useReducer)(Te,Ve),{data:fe,index:be,loading:te,showFormPanel:ce,selectedGroup:lt,showMemberPanel:Xe}=oe,ft=($=V.userInfo)==null?void 0:$.role,[yt,qe]=(0,h.useState)(ee.get("category")||"0"),vt=(0,h.useMemo)(()=>{let jt=[],Xt=[];if(fe){for(let St of fe)St.is_creat?jt.push(St):Xt.push(St);return[jt,Xt]}},[fe]);(0,h.useEffect)(()=>{ft===15&&q({type:5,payload:1})},[ft]);function Ze(){return Re(this,null,function*(){const jt=yield C();(jt==null?void 0:jt.status)!==401&&q({type:0,payload:{loading:!1,showFormPanel:!1,data:jt.groups,index:ee.get("category")||0}})})}(0,h.useEffect)(()=>{Ze()},[]);function Oe(jt){return Re(this,null,function*(){lt.id?yield p(lt.id,jt):yield m(jt),Ze()})}function Qe(){q({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function rt(jt){q({type:4,payload:jt})}function _t(){q({type:2,payload:{showFormPanel:!1}})}function xt(){q({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function un(jt){q({type:3,payload:{showMemberPanel:!0,selectedGroup:jt}})}function $t(jt,Xt){return Re(this,null,function*(){yield o(jt,Xt),Ze()})}function Ut(jt){return Re(this,null,function*(){yield g(jt),Ze()})}function mn(jt){return Re(this,null,function*(){yield d(jt),Ze()})}function Bn(jt,Xt){return Re(this,null,function*(){yield l(jt,Xt),Ze()})}function rn(jt){q({type:5,payload:parseInt(jt.target.id,10)})}function Tn(jt,Xt){return Re(this,null,function*(){xt(),yield E({user_ids:jt,group_id:Xt}),Ze()})}const en=[{id:"0",name:"\u6211\u521B\u5EFA\u7684"},{id:"1",name:"\u6211\u52A0\u5165\u7684"}];return h.createElement(h.Fragment,null,h.createElement("div",{className:"teaching-circling-container",style:{paddingLeft:45,paddingTop:22}},h.createElement("div",{className:"teaching-circling-body"},ft===15?null:h.createElement(I.YG,{value:yt,onChange:jt=>{var Xt;(Xt=window.location.href.toString())!=null&&Xt.includes("category")?(0,j.jz)("category",jt):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&category=${jt}`:`?category=${jt}`),qe(jt),q({type:5,payload:parseInt(jt,10)})},tabBarExtraContent:h.createElement(k.ZP,{type:"primary",disabled:fe.length>=50,style:{width:60,height:32,borderRadius:16,border:"1px solid #BACFFE",background:"#F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%)",boxShadow:"0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255,255,255,0.5)",color:"#3061D0"},title:fe.length>=50?"\u60A8\u52A0\u5165\u7684\u6559\u7814\u7EC4\u5DF2\u8FBE\u4E0A\u9650":"",onClick:Qe},"\u65B0\u5EFA"),className:"mb25",dataSource:en}),h.createElement("div",{className:vt[be].length===0?"nodata-content":"main-content"},vt[be].length===0?h.createElement(ge,null,ft<=12?h.createElement(h.Fragment,null," ",h.createElement("p",null,"\u6559\u7814\u56E2\u961F\u6709\u52A9\u4E8E\u4F60\u548C\u4F60\u7684\u4F19\u4F34\u4EEC\u4E00\u8D77\u521B\u5EFA\u5B9E\u8BAD\u3001\u534F\u540C\u6559\u5B66\uFF0C\u6216\u5F00\u5C55\u5176\u4ED6\u6559\u7814\u6D3B\u52A8\u3002")," ",h.createElement("p",null,"\u5F53\u524D\u60A8\u5C1A\u672A\u7EC4\u5EFA\u5C5E\u4E8E\u81EA\u5DF1\u6559\u7814\u56E2\u961F\uFF0C\u5FEB\u53BB\u7EC4\u5EFA\u5427\uFF01")," "):h.createElement("p",null," \u60A8\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u6559\u7814\u5C0F\u7EC4\uFF0C\u8BF7\u7B49\u5F85\u8001\u5E08\u7684\u53EC\u5524\u5427\uFF01 ")):h.createElement(K,{onExitGroup:mn,Transferteams:Bn,onPlusMember:un,onDelMember:$t,onDelGroup:Ut,isAdminOrTeacher:ft<=12,onChangeGroupName:rt,data:vt[be]})))),h.createElement(s,{callback:Oe,visible:ce,onCancel:_t,id:lt.id,name:lt.name}),h.createElement(P.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:Xe,onCancel:xt,footer:null,width:1150,bodyStyle:{minHeight:200},wrapClassName:u.Z.CustomCss},h.createElement(Y.Z,{container_id:lt.id,container_type:4,onSelect:Tn,onCancel:xt})))}var Ne=(0,X.connect)(({user:V})=>({user:V}))(We)},22861:function(Nn,pt,O){"use strict";var h=O(59301),k=O(76411),P=O.n(k),_=O(48961),N=O.n(_),C=O(59301),m=Object.defineProperty,p=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,l=(r,n,a)=>n in r?m(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,o=(r,n)=>{for(var a in n||(n={}))E.call(n,a)&&l(r,a,n[a]);if(p)for(var a of p(n))d.call(n,a)&&l(r,a,n[a]);return r};const g=({dataSource:r,height:n,labelTextColor:a,legend:c={}})=>{console.log("dataSource:",r);const u=(0,h.useRef)(null),s=(0,h.useRef)(null),[v,e]=(0,h.useState)({}),[t,i]=(0,h.useState)(""),[f,y]=(0,h.useState)(""),b=r||[{name:"\u638C\u63E1\u738780%~100%",value:1,itemStyle:{color:"rgb(223,209,38)"}},{name:"\u638C\u63D0\u738760%~79%",value:2,itemStyle:{color:"rgb(6,234,230)"}},{name:"\u638C\u63A8\u738759%\u4EE5\u4E0B",value:3,itemStyle:{color:"rgb(6,110,247)"}}];(0,h.useEffect)(()=>(A(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]),(0,h.useEffect)(()=>{r!=null&&r.length&&x()},[r]);const x=()=>{var I,U;const F=w(b,.8);(I=s.current)==null||I.setOption(F),(U=s.current)==null||U.resize()},A=()=>{const I=u.current;s.current=k.init(I);const U=w(b,.8);e(U),s.current.setOption(U),s.current.getZr().off("mousewheel"),U.series.push({name:"\u638C\u63E1\u7387",type:"pie",labelLine:{length:10,length2:10},startAngle:-20,clockwise:!1,radius:["20%","50%"],center:["50%","50%"],data:b,itemStyle:{opacity:0}}),s.current.setOption(U),B(s.current)},w=(I,U)=>{let F,K=[],j=0,X=0,Y=0,se=[],Q=[],ve=1-U;I.sort((Ce,De)=>De.value-Ce.value);for(let Ce=0;CeMe.name===Ce)[0],Ue=D(De.value*100,2)+"%";return`${De.name} ${Ue}`}},c),labelLine:{show:!0,lineStyle:{color:"#7BC0CB"}},label:{show:!0,position:"outside",rich:{b:{color:a||"#FFF",fontSize:12,lineHeight:20},c:{fontSize:16,lineHeight:24,color:a||"#FFF"}},formatter:`{b|{b} }{c|{c}}{b|}`},xAxis3D:{min:-1,max:1},yAxis3D:{min:-1,max:1},zAxis3D:{min:-1,max:1},grid3D:{show:!1,boxHeight:xe,viewControl:{alpha:40,distance:300,rotateSensitivity:0,zoomSensitivity:0,panSensitivity:0,autoRotate:!1}},series:K}},L=(I,U)=>(I.sort((F,K)=>K.pieData.value-F.pieData.value),U*25/I[0].pieData.value),M=(I,U,F,K,j,X)=>{let Y=(I+U)/2,se=I*Math.PI*2,Q=U*Math.PI*2,ve=Y*Math.PI*2;I===0&&U===1&&(F=!1),j=typeof j!="undefined"?j:1/3;let xe=F?Math.cos(ve)*.1:0,Ce=F?Math.sin(ve)*.1:0,De=K?1.05:1;return{u:{min:-Math.PI,max:Math.PI*3,step:Math.PI/32},v:{min:0,max:Math.PI*2,step:Math.PI/20},x:function(Ue,Me){return UeQ?xe+Math.cos(Q)*(1+Math.cos(Me)*j)*De:xe+Math.cos(Ue)*(1+Math.cos(Me)*j)*De},y:function(Ue,Me){return UeQ?Ce+Math.sin(Q)*(1+Math.cos(Me)*j)*De:Ce+Math.sin(Ue)*(1+Math.cos(Me)*j)*De},z:function(Ue,Me){return Ue<-Math.PI*.5?Math.sin(Ue):Ue>Math.PI*2.5?Math.sin(Ue)*X*.1:Math.sin(Me)>0?1*X*.1:-1}}},D=(I,U)=>{let F=parseFloat(I);if(isNaN(F))return!1;F=Math.round(I*Math.pow(10,U))/Math.pow(10,U);let K=F.toString();(K==null?void 0:K.indexOf("."))<0&&(K+=".");for(let X=K.length-(K==null?void 0:K.indexOf("."));X<=U;X++)K+="0";return K},B=()=>{s.current.on("click",function(I){if(I.seriesName==="pie2d"){i(I.dataIndex);let U=s.current.getWidth()/2,F=s.current.getHeight()/2;s.current.dispatchAction({type:"pieSelect",seriesIndex:0,dataIndex:I.dataIndex})}}),s.current.on("mousemove",function(I){}),s.current.on("mouseout",function(){s.current.dispatchAction({type:"pieUnSelect",seriesIndex:0,dataIndex:f}),y("")})};return C.createElement("div",{ref:u,style:{width:"100%",height:n||"500rem"}})};pt.Z=g},46024:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return Pr}});var h=O(59301),k=O(63823),P=O(28284),_=O(6767),N=O(94968),C=O(36207),m=O(7939),p=O(62957),E=O(37568),d=O(25399),l=O(31691),o=O(29787),g=O(47889),r=O(18287),n={flex_box_center:"flex_box_center___bAhU8",flex_space_between:"flex_space_between___fGcUL",flex_box_vertical_center:"flex_box_vertical_center___hqbFm",flex_box_center_end:"flex_box_center_end___h8cjt",flex_box_column:"flex_box_column___jkfSL",detailmodal:"detailmodal___KEy8k",title:"title___M0Bdn",button:"button___oEMiZ",drawer:"drawer___Pwq6m",tabstyle:"tabstyle___hGelr",items:"items___RrF7L",itemsactivite:"itemsactivite____kVzF",nodetitle:"nodetitle___UgLxl",nodeboyd:"nodeboyd___R1M87",listitem:"listitem___CjR4j",Tabs:"Tabs___gAkar",addmodal:"addmodal___KHvV4",gxcoent:"gxcoent___B8UeJ",gxtitle:"gxtitle___Ezw1C",Colortitle:"Colortitle___kChPm",gxbody:"gxbody___HmZPk",tag:"tag___b2Gak",form:"form___wY8YH",radioform:"radioform___RW7Fy",settingmodal:"settingmodal___LgbSA",body:"body___KaaXx",left:"left___BbRKH",header:"header___E8vej",treenode:"treenode___XViAn",hudong:"hudong___MzZbW",colortitle:"colortitle___PgqHg",right:"right___jzXCF",multiple:"multiple___GQEEM",settingtag:"settingtag___XVMCI",tree:"tree___zz_WU",select:"select___HL7_r",input:"input___reuVt",DetailStatistics:"DetailStatistics___v31Uq",xxrs:"xxrs___Q156g",xxrscount:"xxrscount___OdU60",righttop:"righttop___dnIBD",rightbottom:"rightbottom___B0s8j",gllist:"gllist___JZ9mz",gltag:"gltag___RF_cu"},a=O(99267),c=O(43531),u=O(15075),s={tag:"tag___aXy_L",active:"active___kZOMC",tagsModal:"tagsModal___wsl_M",btn:"btn___S2nL4",modal:"modal___r3iAS",mHead:"mHead___imW9A",body:"body___fZUhx",add:"add___QHMDJ",error:"error___aJzBo"},v=O(92310),e=O.n(v),t=O(22972),i=O(59301),f=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(et,Ft,At)=>Ft in et?f(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,w=(et,Ft)=>{for(var At in Ft||(Ft={}))b.call(Ft,At)&&A(et,At,Ft[At]);if(y)for(var At of y(Ft))x.call(Ft,At)&&A(et,At,Ft[At]);return et},L=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});let M=[{name:"\u4F5C\u4E1A",id:"zy",item_type:2},{name:"\u5B9E\u8BAD",id:"sx",item_type:2},{name:"\u6559\u6750",id:"jc",item_type:2},{name:"\u89C6\u9891",id:"sp",item_type:2},{name:"\u8BFE\u4EF6",id:"kj",item_type:2},{name:"\u8BD5\u5377",id:"sj",item_type:2},{name:"\u9898\u96C6",id:"tj",item_type:2},{name:"\u8BD5\u9898",id:"st",item_type:2}],D=[{name:"\u7AE0\u8282",id:"zj",item_type:1},{name:"\u77E5\u8BC6\u70B9",id:"zsd",item_type:1}];var I=({value:et=[],onChange:Ft,type:At,dataSources:En=[],pathsDetail:Qn={},showmodal:mt,containerRef:vr})=>{const Pn=(0,k.useParams)(),[Jt,Vn]=(0,h.useState)(!1),[yr,Kn]=(0,h.useState)([]),[pr,Ln]=(0,h.useState)(),[Mr,mr]=(0,h.useState)(""),[Gn,br]=(0,h.useState)(""),[Ar,Ir]=(0,h.useState)(""),[Jn,Er]=(0,h.useState)(!1),[ra,Gr]=(0,h.useState)(!1),[Dr,ur]=(0,h.useState)([]),[ca,da]=(0,h.useState)("");(0,h.useEffect)(()=>{Jt&&sa()},[Jt]);function sa(){return L(this,null,function*(){let vn=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:At,subject_id:Pn==null?void 0:Pn.pathId}});(vn==null?void 0:vn.status)===0&&(At===3?Kn(vn==null?void 0:vn.data):(Kn([...D,...vn==null?void 0:vn.data]),ur([...M,...vn==null?void 0:vn.data2])))})}const fa=[{background:"#6236FF",borderColor:"#9D82FF"},{background:"#6DB9FF",borderColor:"#6DB9FF"},{background:"rgba(27,175,234,0.8)",borderColor:"#68D5FF"},{background:"#C1AC15",borderColor:"#DCC51C"},{background:"#E07E37",borderColor:"#F79046"},{background:"rgba(29,94,255,0.8)",borderColor:"#6D97FE"},{background:"#E75454",borderColor:"#FE8383"},{background:"#A557D8",borderColor:"#C57AF6"},{background:"#2CA768",borderColor:"#43CC86"},{background:"#1F9269",borderColor:"#38B588"},{background:"#CA7720",borderColor:"#E99338"},{background:"rgba(224,32,32,0.8)",borderColor:"#E02020"},{background:"rgba(255,126,15,0.8)",borderColor:"#FF7E0F"},{background:"rgba(29,94,255,0.8)",borderColor:"#1D5EFF"},{background:"#2BAC8E",borderColor:"#30CB9D"},{background:"#EE5D5D",borderColor:"#FF8181"},{background:"#7E5AFE",borderColor:"#9173FA"},{background:"#3ABCEF",borderColor:"#6FD6FF"},{background:"#B132C2",borderColor:"#C57AF6"},{background:"#46A4FB",borderColor:"#72BBFF"},{background:"#C1AC15",borderColor:"#DCC51C"},{background:"#E07E37",borderColor:"#F79046"},{background:"#1D5EFF",borderColor:"#6D97FE"},{background:"#2CA768",borderColor:"#43CC86"},{background:"#A557D8",borderColor:"#C57AF6"},{background:"#1F9269",borderColor:"#38B588"},{background:"#CA7720",borderColor:"#E99338"}],qr="\u6807\u7B7E";(0,h.useEffect)(()=>{Kn(En)},[]),(0,h.useEffect)(()=>{Jt&&Ln(et)},[Jt]);const Ea=({title:vn="",style:kn={},values:Yn="",showDelete:Nr=!0,modal:Gt=!1,active:Xr=!1})=>{const oa=(na=>na.split("").reduce((la,Jr)=>la+Jr.charCodeAt(0),0))(vn)%fa.length,{background:Aa,borderColor:Zn}=fa[oa];return i.createElement("div",{className:e()(s.tag,Xr?s.active:""),onClick:()=>{var na;if(Gt){if(Jt===1){let la=[...yr,...Dr];Ln([...la.filter(Jr=>(Jr==null?void 0:Jr.id)===Yn)])}Jt===2&&((na=pr==null?void 0:pr.map(la=>la.id))!=null&&na.includes(Yn)?Ln(pr.filter(la=>la.id!==Yn)):Ln([...pr,...yr.filter(la=>(la==null?void 0:la.id)===Yn)]))}},style:w({background:Aa,borderColor:Zn},kn)},i.createElement("span",null,vn),Nr&&i.createElement("i",{onClick:na=>L(void 0,null,function*(){var la;if(na.stopPropagation(),Gt){Kn(yr.filter(_a=>_a.name!==vn)),Kn(yr.filter(_a=>_a.name!==vn));let Jr=yield(0,t.ZP)(`/api/knowledge_items/${Yn}.json`,{method:"delete",body:{id:Yn,subject_id:(la=Qn==null?void 0:Qn.detail)==null?void 0:la.id}});(Jr==null?void 0:Jr.status)===0&&sa()}else Ft(et.filter(Jr=>Jr.id!==Yn))}),className:"iconfont icon-shanchu5"}))},Lr=()=>{Ft(pr),Vn(!1)},Qr=vn=>L(void 0,null,function*(){if(!Mr.replace(/\s+/g,"")&&vn===1){Ir(`${qr}\u4E0D\u80FD\u4E3A\u7A7A`);return}if(!Gn.replace(/\s+/g,"")&&vn===2){da("\u8D44\u6E90\u4E0D\u80FD\u4E3A\u7A7A");return}if((yr.map(Yn=>Yn.name).includes(Mr)||Dr.map(Yn=>Yn.name).includes(Mr))&&vn===1){Ir(`\u8BE5${qr}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u91CD\u590D\u6DFB\u52A0\uFF01`);return}if((Dr.map(Yn=>Yn.name).includes(Gn)||yr.map(Yn=>Yn.name).includes(Gn))&&vn===2){da("\u8BE5\u8D44\u6E90\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u91CD\u590D\u6DFB\u52A0\uFF01");return}let kn=yield(0,t.ZP)("/api/knowledge_items.json",{method:"post",body:{item_type:At===3?3:vn,name:At===3||vn===1?Mr:Gn,subject_id:Pn==null?void 0:Pn.pathId}});(kn==null?void 0:kn.status)===0&&sa(),vn===1&&Er(!1),vn===2&&Gr(!1)});return i.createElement("div",{className:s.tagsModal},At===5&&i.createElement(i.Fragment,null,et==null?void 0:et.map((vn,kn)=>i.createElement(Ea,{values:vn.id,key:kn,title:vn.name,showDelete:!1,style:{marginRight:"20rem",marginBottom:0}})),mt&&i.createElement("div",{onClick:()=>Vn(1),style:{marginBottom:"0rem"},className:s.btn},i.createElement("i",{className:"iconfont icon-genghuanguanliyuan1"}),et!=null&&et.length?"\u66F4\u6362":"\u9009\u62E9","\u7C7B\u578B")),At===3&&i.createElement(i.Fragment,null,et==null?void 0:et.map((vn,kn)=>i.createElement(Ea,{values:vn.id,key:kn,title:vn.name})),mt&&i.createElement("div",{onClick:()=>Vn(2),className:s.btn,style:{marginBottom:"10rem"}},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),et!=null&&et.length?"\u66F4\u6362":"\u9009\u62E9","\u6807\u7B7E")),i.createElement(p.default,{open:!!Jt,centered:!0,width:"1000rem",okText:"\u4FDD\u5B58",getContainer:()=>vr.current,onCancel:()=>Vn(!1),cancelText:"\u53D6\u6D88",afterClose:()=>{Er(!1),Gr(!1),Ir(""),mr("")},onOk:Lr,title:`\u9009\u62E9${qr}`},i.createElement("div",{className:s.modal},i.createElement("div",{className:s.mHead},i.createElement("b",null),i.createElement("span",null,`${qr}`,"\uFF08",yr.length,"\uFF09"),i.createElement("div",{onClick:()=>{Er(!0),Ir(""),mr("")},className:s.btn},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),"\u6DFB\u52A0")),i.createElement("div",{className:s.body},yr==null?void 0:yr.map((vn,kn)=>{var Yn,Nr,Gt;return i.createElement(Ea,{showDelete:At===3?!((Yn=pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id))!=null&&Yn.includes(vn==null?void 0:vn.id)):!((Nr=pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id))!=null&&Nr.includes(vn==null?void 0:vn.id))&&!((Gt=D.map(Xr=>Xr.name))!=null&&Gt.includes(vn.name)),modal:!0,style:{cursor:"pointer"},active:pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id).includes(vn==null?void 0:vn.id),key:vn==null?void 0:vn.id,values:vn==null?void 0:vn.id,title:vn==null?void 0:vn.name})}),Jn&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:Mr,onChange:vn=>{Ir(""),mr(vn.target.value)}}),i.createElement("i",{onClick:()=>Qr(1),className:"iconfont icon-dui",style:{color:"#1B8565"}}),i.createElement("i",{onClick:()=>Er(!1),className:"iconfont icon-shanchu10",style:{color:"#9096A3"}}),!!Ar&&i.createElement("div",{className:s.error},Ar)))),At===5&&i.createElement("div",{className:s.modal},i.createElement("div",{className:s.mHead},i.createElement("b",null),i.createElement("span",null,"\u8D44\u6E90","\uFF08",Dr.length,"\uFF09"),i.createElement("div",{onClick:()=>{Gr(!0),da(""),br("")},className:s.btn},i.createElement("i",{className:"iconfont icon-tianjiatixing"}),"\u6DFB\u52A0")),i.createElement("div",{className:s.body},Dr==null?void 0:Dr.map((vn,kn)=>{var Yn,Nr;return i.createElement(Ea,{showDelete:!((Yn=pr==null?void 0:pr.map(Gt=>Gt==null?void 0:Gt.id))!=null&&Yn.includes(vn==null?void 0:vn.id))&&!((Nr=M.map(Gt=>Gt.name))!=null&&Nr.includes(vn.name)),modal:!0,style:{cursor:"pointer"},active:pr==null?void 0:pr.map(Gt=>Gt==null?void 0:Gt.id).includes(vn==null?void 0:vn.id),key:vn==null?void 0:vn.id,values:vn==null?void 0:vn.id,title:vn==null?void 0:vn.name})}),ra&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:Gn,onChange:vn=>{da(""),br(vn.target.value)}}),i.createElement("i",{onClick:()=>Qr(2),className:"iconfont icon-dui",style:{color:"#1B8565"}}),i.createElement("i",{onClick:()=>Gr(!1),className:"iconfont icon-shanchu10",style:{color:"#9096A3"}}),!!ca&&i.createElement("div",{className:s.error},ca))))))},U=O(35783),F=O(82326),K=O(70858),j=O(31709),X=O(74451),Y=O(59301),se=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,xe=(et,Ft)=>{var At={};for(var En in et)Q.call(et,En)&&Ft.indexOf(En)<0&&(At[En]=et[En]);if(et!=null&&se)for(var En of se(et))Ft.indexOf(En)<0&&ve.call(et,En)&&(At[En]=et[En]);return At},Ce=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});let De=[{label:"\u5B9E\u8BAD",key:"1"},{label:"\u89C6\u9891",key:"2"},{label:"\u8BFE\u4EF6",key:"3"},{label:"\u8BD5\u5377",key:"4"}];const Ue=et=>{var Ft=et,{types:At,globalSetting:En,loading:Qn,dispatch:mt,pathsDetail:vr,onChange:Pn,ktzykey:Jt,getother:Vn}=Ft,yr=xe(Ft,["types","globalSetting","loading","dispatch","pathsDetail","onChange","ktzykey","getother"]),Kn,pr,Ln,Mr;let[mr,Gn]=(0,h.useState)({page:1,limit:10,type:At,keyword:"",select_type:1,subject_id:"",course_id:""});const[br,Ar]=(0,h.useState)([]);(0,h.useEffect)(()=>{Ir()},[At]);function Ir(){return Ce(this,null,function*(){mr.select_type===3&&(mr.subject_id="",mr.course_id=""),mr.select_type===2&&(mr.subject_id=""),mr.select_type===1&&(mr.course_id="");let Jn=yield(0,t.ZP)("/api/paths/search_all.json",{method:"get",params:mr});(Jn==null?void 0:Jn.status)===0&&Ar(Jn)})}return Y.createElement("div",{style:{padding:"10rem 20rem"}},Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",null,At==="1"&&Y.createElement(E.default,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u67E5\u8BE2",style:{width:"992rem",marginRight:"10rem",height:"40rem"},onChange:Jn=>{mr.keyword=Jn.target.value,mr.page=1,mr.limit=10,Gn(mr)}}),At!=="1"&&Y.createElement("div",{style:{display:"flex"}},Y.createElement("div",{style:{width:"223rem",alignItems:"center",display:"flex",height:"40rem"}},Y.createElement("span",{style:{width:"92rem",border:"1rem solid #DCDCDC",borderRightStyle:"none",background:"#F6F7F9",height:"40rem",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"40rem",fontSize:"16rem",color:"#666666"}},"\u6240\u5728\u4F4D\u7F6E"),Y.createElement(F.default,{value:mr.select_type,onChange:Jn=>{mr.select_type=Jn,mr.page=1,mr.limit=10,Gn(mr),Ir()},className:n.select,style:{width:"131rem",height:"40rem"}},Y.createElement(F.default.Option,{value:1},"\u5B9E\u8DF5\u8BFE\u7A0B"),Y.createElement(F.default.Option,{value:2},"\u6559\u5B66\u8BFE\u5802"),Y.createElement(F.default.Option,{value:3},"\u4E2A\u4EBA\u4E2D\u5FC3"))),mr.select_type!==3&&Y.createElement(F.default,{value:mr.subject_id||mr.course_id,onChange:Jn=>{mr.course_id=Jn,mr.subject_id=Jn,mr.page=1,mr.limit=10,Gn(mr),Ir()},className:n.select,style:{width:"270rem",marginLeft:"8rem"}},mr.select_type===1&&((Kn=br==null?void 0:br.subjects)==null?void 0:Kn.map(Jn=>Y.createElement(F.default.Option,{value:Jn.id},Jn.name))),mr.select_type===2&&((pr=br==null?void 0:br.courses)==null?void 0:pr.map(Jn=>Y.createElement(F.default.Option,{value:Jn.id},Jn.name)))),Y.createElement(E.default,{onChange:Jn=>{mr.keyword=Jn.target.value,mr.page=1,mr.limit=10,Gn(mr)},addonBefore:((Ln=De==null?void 0:De.find(Jn=>Jn.key===At))==null?void 0:Ln.label)+"\u540D\u79F0",className:n.input,style:{marginLeft:"10rem",width:"486rem",height:"40rem"}}))),Y.createElement(m.ZP,{type:"primary",style:{height:"40rem",fontSize:"14rem",boxShadow:"none",lineHeight:"40rem",width:"108rem",padding:"0",marginLeft:"10rem"},onClick:()=>{Ir()}},"\u67E5\u8BE2")),Y.createElement(K.default,{style:{marginTop:"10rem"},dataSource:br==null?void 0:br.data,pagination:!1,rowKey:Jn=>Jn.id,scroll:{y:"400rem"},columns:[{title:((Mr=De==null?void 0:De.find(Jn=>Jn.key===At))==null?void 0:Mr.label)+"\u540D\u79F0",dataIndex:"name",ellipsis:!0,key:"name"},{title:At==="1"?"\u5408\u4F5C\u8005":"\u6240\u5C5E\u6A21\u5757",dataIndex:"name",key:"name",ellipsis:!0,render:(Jn,Er)=>Y.createElement("span",null,At==="1"?Er==null?void 0:Er.user_names:Er==null?void 0:Er.model)},{title:At==="1"?"\u6700\u8FD1\u4FEE\u6539\u65F6\u95F4":"\u6240\u5728\u4F4D\u7F6E",dataIndex:"updated_at",ellipsis:!0,render:(Jn,Er)=>Y.createElement("span",null,At==="1"?Er==null?void 0:Er.updated_at:Er==null?void 0:Er.stage_name)},{title:"\u64CD\u4F5C",dataIndex:"url",width:"100rem",render:(Jn,Er)=>Y.createElement("a",{onClick:()=>{(Er==null?void 0:Er.container_type)==="Video"?p.default.confirm({icon:null,title:"\u89C6\u9891\u64AD\u653E",centered:!0,closable:!0,footer:!1,width:600,content:Y.createElement(X.Z,{allow_skip:!0,src:Jn})}):At==="3"?Vn(Jn):window.open(Jn)}},"\u67E5\u770B")}],rowSelection:{type:"radio",onChange(Jn,Er){Pn(Er)}}}),Y.createElement(j.Z,{hideOnSinglePage:!0,style:{marginTop:"20rem"},total:br==null?void 0:br.total_count,current:mr==null?void 0:mr.page,pageSize:mr==null?void 0:mr.limit,onChange:(Jn,Er)=>{mr.page=Jn,mr.limit=Er,Gn(mr),Ir()}}))};var Me=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(Ue),Je=O(84105),Re=O(68911),ge=O(59301),Ve=Object.defineProperty,Fe=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,$=(et,Ft,At)=>Ft in et?Ve(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,re=(et,Ft)=>{for(var At in Ft||(Ft={}))Ne.call(Ft,At)&&$(et,At,Ft[At]);if(We)for(var At of We(Ft))V.call(Ft,At)&&$(et,At,Ft[At]);return et},ee=(et,Ft)=>Fe(et,Te(Ft)),oe=(et,Ft)=>{var At={};for(var En in et)Ne.call(et,En)&&Ft.indexOf(En)<0&&(At[En]=et[En]);if(et!=null&&We)for(var En of We(et))Ft.indexOf(En)<0&&V.call(et,En)&&(At[En]=et[En]);return At},q=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});const fe=et=>{var Ft=et,{typesdata:At,globalSetting:En,loading:Qn,dispatch:mt,pathsDetail:vr,onChange:Pn,uuid:Jt,itemsuuid:Vn}=Ft,yr=oe(Ft,["typesdata","globalSetting","loading","dispatch","pathsDetail","onChange","uuid","itemsuuid"]),Kn,pr,Ln,Mr,mr,Gn,br,Ar,Ir,Jn,Er,ra;const Gr=(0,k.useParams)();let[Dr,ur]=(0,h.useState)([]),[ca,da]=(0,h.useState)(!1);const[sa,fa]=(0,h.useState)([]),[qr,Ea]=(0,h.useState)(""),[Lr,Qr]=(0,h.useState)(""),[vn,kn]=(0,h.useState)([]),[Yn,Nr]=(0,h.useState)(!1);let[Gt,Xr]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]});(0,h.useEffect)(()=>{ya()},[Jt]),(0,h.useEffect)(()=>{if(At){let Zn=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));Xr(Zn)}return()=>{}},[At]);function ya(){return q(this,null,function*(){var Zn,na,la,Jr,_a;da(!0);let ha=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{nodeUuid:Jt,subject_id:Gr==null?void 0:Gr.pathId,depth:-1,relationshipFilter:"\u5305\u542B>"}});if(da(!1),(ha==null?void 0:ha.status)===0){fa(ha==null?void 0:ha.data);const Xa=[...(0,Re.fX)((na=(Zn=ha==null?void 0:ha.data)==null?void 0:Zn.nodes)==null?void 0:na.map((Wa,ei)=>{var Fa,va;return ee(re({},Wa),{key:(Fa=Wa==null?void 0:Wa.properties)==null?void 0:Fa.uuid,title:(va=Wa==null?void 0:Wa.properties)==null?void 0:va.name})}),(_a=(Jr=(la=ha==null?void 0:ha.data)==null?void 0:la.relationships)==null?void 0:Jr.filter(Wa=>Wa.type==="\u5305\u542B"||Wa.type==="\u524D\u5E8F"))==null?void 0:_a.filter((Wa,ei,Fa)=>ei===Fa.findIndex(va=>va.endNodeUuid===Wa.endNodeUuid))).children||[]];Dr=Xa,Qr(JSON.stringify(Xa)),ur(Xa)}})}(0,h.useEffect)(()=>{Pn(Gt)},[Gt]);function oa(Zn,na,la){for(let Jr of Zn)Jr!=null&&Jr.title.includes(na)&&la.push(Jr),Jr.children&&Jr.children.length>0&&(oa(Jr.children,na,la),Aa(Jr.children,na,la)&&la.push(Jr))}function Aa(Zn,na,la){for(let Jr of Zn)if(Jr!=null&&Jr.title.includes(na))return!0}return ge.createElement(o.Z,{spinning:ca},ge.createElement("div",{className:n.body},ge.createElement("div",{className:n.left},ge.createElement("div",{className:n.header},ge.createElement("div",null,"\u5171",ge.createElement("span",{style:{color:"#1B8565"}},((pr=(Kn=sa==null?void 0:sa.metricCounters)==null?void 0:Kn[0])==null?void 0:pr.count)||0),"\u4E2A\u6807\u7B7E\u8282\u70B9\uFF0C",ge.createElement("span",{style:{color:"#1B8565"}},((Mr=(Ln=sa==null?void 0:sa.metricCounters)==null?void 0:Ln[1])==null?void 0:Mr.count)||0),"\u4E2A\u77E5\u8BC6\u8282\u70B9"),ge.createElement(E.default.Search,{style:{width:"350rem",borderRadius:"50%"},onChange:Zn=>{var na,la,Jr,_a;const{value:ha}=Zn.target;Ea(ha);let Ua=[];oa(JSON.parse(Lr),ha,Ua),Ua.push((na=sa==null?void 0:sa.nodes)==null?void 0:na[0]);const Xa=(la=sa==null?void 0:sa.nodes)==null?void 0:la.filter(Fa=>{var va,jr;return((jr=(va=Fa==null?void 0:Fa.properties)==null?void 0:va.name)==null?void 0:jr.indexOf(ha))>-1}).map(Fa=>{var va;return(va=Fa==null?void 0:Fa.properties)==null?void 0:va.uuid});kn(Xa);const ei=[...(0,Re.fX)(Ua,(_a=(Jr=sa==null?void 0:sa.relationships)==null?void 0:Jr.filter(Fa=>Fa.type==="\u5305\u542B"||Fa.type==="\u524D\u5E8F"))==null?void 0:_a.filter((Fa,va,jr)=>va===jr.findIndex(za=>za.endNodeUuid===Fa.endNodeUuid)).filter(Fa=>(Ua==null?void 0:Ua.map(va=>va==null?void 0:va.key).includes(Fa.endNodeUuid))||(Ua==null?void 0:Ua.map(va=>va==null?void 0:va.key).includes(Fa.startNodeUuid)))).children||[]];Dr=ei,ur(ei),Nr(!0)},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"})),ge.createElement(r.default,{style:{marginTop:"30rem",maxHeight:"320rem",overflow:"auto"},showLine:!0,treeData:Dr,className:n.tree,expandedKeys:vn,onExpand:Zn=>{kn(Zn),Nr(!1)},autoExpandParent:Yn,blockNode:!0,switcherIcon:ge.createElement(Je.Z,null),titleRender:Zn=>{var na,la,Jr,_a,ha,Ua,Xa,Wa,ei,Fa,va,jr,za,vi,mi;return ge.createElement("div",{className:n.treenode,key:(na=Zn==null?void 0:Zn.properties)==null?void 0:na.uuid},ge.createElement("div",{style:{width:"50%",display:"flex",alignItems:"center"}},((la=Gt==null?void 0:Gt.bh)==null?void 0:la.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#6236ff"}},"\u5305\u542B"),((Jr=Gt==null?void 0:Gt.qx)==null?void 0:Jr.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#24A881"}},"\u524D\u7F6E"),((_a=Gt==null?void 0:Gt.hx)==null?void 0:_a.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#EC8657"}},"\u540E\u7F6E"),((ha=Gt==null?void 0:Gt.gl)==null?void 0:ha.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&ge.createElement("span",{className:n.settingtag,style:{background:"#497DFF"}},"\u5173\u8054"),ge.createElement("div",{className:n.multiple,title:Zn==null?void 0:Zn.title,dangerouslySetInnerHTML:{__html:(Ua=Zn==null?void 0:Zn.title)==null?void 0:Ua.replaceAll(qr,`${qr}`)},style:{width:"100%",fontSize:"14rem",color:"#000",fontWeight:400}})),ge.createElement("div",{className:n.hudong},!((Xa=Gt==null?void 0:Gt.qx)!=null&&Xa.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)})||(Wa=Gt==null?void 0:Gt.bh)!=null&&Wa.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)})||(ei=Gt==null?void 0:Gt.hx)!=null&&ei.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)})||(Fa=Gt==null?void 0:Gt.gl)!=null&&Fa.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&Vn!==((va=Zn==null?void 0:Zn.properties)==null?void 0:va.uuid)&&ge.createElement("div",null,ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=Gt==null?void 0:Gt.bh)==null?void 0:ir.filter(La=>{var yn;return(La==null?void 0:La.uuid)===((yn=Zn==null?void 0:Zn.properties)==null?void 0:yn.uuid)}))==null?void 0:Vr.length)>0)){let La=[];La.push({name:(Ha=Zn==null?void 0:Zn.properties)==null?void 0:Ha.name,uuid:(Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid}),Xr({bh:[...La,...Gt==null?void 0:Gt.bh],qx:Gt==null?void 0:Gt.qx,hx:Gt==null?void 0:Gt.hx,gl:Gt==null?void 0:Gt.gl})}},className:n.colortitle,style:{marginRight:"20rem"}},"\u8BBE\u4E3A\u5305\u542B"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=Gt==null?void 0:Gt.qx)==null?void 0:ir.filter(La=>{var yn;return(La==null?void 0:La.uuid)===((yn=Zn==null?void 0:Zn.properties)==null?void 0:yn.uuid)}))==null?void 0:Vr.length)>0)){let La=[];La.push({name:(Ha=Zn==null?void 0:Zn.properties)==null?void 0:Ha.name,uuid:(Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid}),Xr({qx:[...La,...Gt==null?void 0:Gt.qx],hx:Gt==null?void 0:Gt.hx,bh:Gt==null?void 0:Gt.bh,gl:Gt==null?void 0:Gt.gl})}},className:n.colortitle},"\u8BBE\u4E3A\u524D\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=Gt==null?void 0:Gt.hx)==null?void 0:ir.filter(La=>{var yn;return(La==null?void 0:La.uuid)===((yn=Zn==null?void 0:Zn.properties)==null?void 0:yn.uuid)}))==null?void 0:Vr.length)>0)){let La=[];La.push({name:(Ha=Zn==null?void 0:Zn.properties)==null?void 0:Ha.name,uuid:(Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid}),Xr({qx:Gt==null?void 0:Gt.qx,hx:[...La,...Gt==null?void 0:Gt.hx],bh:Gt==null?void 0:Gt.bh,gl:Gt==null?void 0:Gt.gl})}},style:{margin:"0rem 20rem"},className:n.colortitle},"\u8BBE\u4E3A\u540E\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=Gt==null?void 0:Gt.gl)==null?void 0:ir.filter(La=>{var yn;return(La==null?void 0:La.uuid)===((yn=Zn==null?void 0:Zn.properties)==null?void 0:yn.uuid)}))==null?void 0:Vr.length)>0)){let La=[];La.push({name:(Ha=Zn==null?void 0:Zn.properties)==null?void 0:Ha.name,uuid:(Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid}),Xr({qx:Gt==null?void 0:Gt.qx,hx:Gt==null?void 0:Gt.hx,gl:[...La,...Gt==null?void 0:Gt.gl],bh:Gt==null?void 0:Gt.bh})}},className:n.colortitle},"\u8BBE\u4E3A\u5173\u8054")),ge.createElement("span",{onClick:()=>{var ir;let Vr=(ir=Gt==null?void 0:Gt.bh)==null?void 0:ir.filter(Ha=>{var Oa;return Ha.uuid!==((Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid)});Xr({bh:Vr,hx:Gt==null?void 0:Gt.hx,qx:Gt==null?void 0:Gt.qx,gl:Gt==null?void 0:Gt.gl})}},((jr=Gt==null?void 0:Gt.bh)==null?void 0:jr.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&"\u53D6\u6D88\u5305\u542B"),ge.createElement("span",{onClick:()=>{var ir;let Vr=(ir=Gt==null?void 0:Gt.qx)==null?void 0:ir.filter(Ha=>{var Oa;return Ha.uuid!==((Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid)});Xr({qx:Vr,hx:Gt==null?void 0:Gt.hx,bh:Gt==null?void 0:Gt.bh,gl:Gt==null?void 0:Gt.gl})}},((za=Gt==null?void 0:Gt.qx)==null?void 0:za.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&"\u53D6\u6D88\u524D\u7F6E"),ge.createElement("span",{onClick:()=>{var ir;let Vr=(ir=Gt==null?void 0:Gt.hx)==null?void 0:ir.filter(Ha=>{var Oa;return Ha.uuid!==((Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid)});Xr({qx:Gt==null?void 0:Gt.qx,hx:Vr,bh:Gt==null?void 0:Gt.bh,gl:Gt==null?void 0:Gt.gl})}},((vi=Gt==null?void 0:Gt.hx)==null?void 0:vi.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&"\u53D6\u6D88\u540E\u7F6E"),ge.createElement("span",{onClick:()=>{var ir;let Vr=(ir=Gt==null?void 0:Gt.gl)==null?void 0:ir.filter(Ha=>{var Oa;return Ha.uuid!==((Oa=Zn==null?void 0:Zn.properties)==null?void 0:Oa.uuid)});Xr({qx:Gt==null?void 0:Gt.qx,hx:Gt==null?void 0:Gt.hx,bh:Gt==null?void 0:Gt.bh,gl:Vr})}},((mi=Gt==null?void 0:Gt.gl)==null?void 0:mi.find(ir=>{var Vr;return(ir==null?void 0:ir.uuid)===((Vr=Zn==null?void 0:Zn.properties)==null?void 0:Vr.uuid)}))&&"\u53D6\u6D88\u5173\u8054")))}})),ge.createElement("div",{className:n.right},ge.createElement("div",{className:n.title},"\u5DF2\u5173\u8054\u5173\u7CFB"),ge.createElement("div",{style:{padding:"20rem 25rem"}},ge.createElement("div",{className:n.gxtitle},ge.createElement("div",{className:n.Colortitle,style:{background:"#6236ff"}}),ge.createElement("div",null,"\u88AB\u5305\u542B\uFF08",(mr=Gt.bh)==null?void 0:mr.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Gn=Gt==null?void 0:Gt.bh)==null?void 0:Gn.map(Zn=>ge.createElement("div",{className:n.tag,style:{background:"#6236ff"}},ge.createElement("span",{style:{marginRight:"10rem"}},Zn==null?void 0:Zn.name)," ",ge.createElement(a.Z,{onClick:()=>{var na;let la=(na=Gt==null?void 0:Gt.bh)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({bh:la,hx:Gt==null?void 0:Gt.hx,qx:Gt==null?void 0:Gt.qx,gl:Gt==null?void 0:Gt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#24A881"}}),ge.createElement("div",null,"\u524D\u5E8F\uFF08",(br=Gt.qx)==null?void 0:br.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Ar=Gt==null?void 0:Gt.qx)==null?void 0:Ar.map(Zn=>ge.createElement("div",{className:n.tag,style:{background:"#24A881"}},ge.createElement("span",{style:{marginRight:"10rem"}},Zn==null?void 0:Zn.name)," ",ge.createElement(a.Z,{onClick:()=>{var na;let la=(na=Gt==null?void 0:Gt.qx)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:la,hx:Gt==null?void 0:Gt.hx,bh:Gt==null?void 0:Gt.bh,gl:Gt==null?void 0:Gt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#EC8657"}}),ge.createElement("div",null,"\u540E\u5E8F\uFF08",(Ir=Gt.hx)==null?void 0:Ir.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Jn=Gt==null?void 0:Gt.hx)==null?void 0:Jn.map(Zn=>ge.createElement("div",{className:n.tag,style:{background:"#EC8657"}},ge.createElement("span",{style:{marginRight:"10rem"}},Zn==null?void 0:Zn.name)," ",ge.createElement(a.Z,{onClick:()=>{var na;let la=(na=Gt==null?void 0:Gt.hx)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:Gt==null?void 0:Gt.qx,bh:Gt==null?void 0:Gt.bh,hx:la,gl:Gt==null?void 0:Gt.gl})}})))),ge.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},ge.createElement("div",{className:n.Colortitle,style:{background:"#497DFF"}}),ge.createElement("div",null,"\u5173\u8054\uFF08",(Er=Gt.gl)==null?void 0:Er.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(ra=Gt==null?void 0:Gt.gl)==null?void 0:ra.map(Zn=>ge.createElement("div",{className:n.tag,style:{background:"#497DFF"}},ge.createElement("span",{style:{marginRight:"10rem"}},Zn==null?void 0:Zn.name)," ",ge.createElement(a.Z,{onClick:()=>{var na;let la=(na=Gt==null?void 0:Gt.gl)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:Gt==null?void 0:Gt.qx,bh:Gt==null?void 0:Gt.bh,hx:Gt==null?void 0:Gt.hx,gl:la})}}))))))))};var be=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(fe),te=O(89392),ce=O(10102),lt=O(80636),Xe=O(59301),ft=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,vt=(et,Ft)=>{var At={};for(var En in et)yt.call(et,En)&&Ft.indexOf(En)<0&&(At[En]=et[En]);if(et!=null&&ft)for(var En of ft(et))Ft.indexOf(En)<0&&qe.call(et,En)&&(At[En]=et[En]);return At},Ze=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});const Oe=[3,2,1];let Qe=null;const rt=et=>{var Ft=et,{pathsDetail:At,user:En,globalSetting:Qn,loading:mt,dispatch:vr,datas:Pn,items:Jt}=Ft,Vn=vt(Ft,["pathsDetail","user","globalSetting","loading","dispatch","datas","items"]);const yr=(0,h.useRef)(),Kn=(0,h.useRef)(),pr=(0,h.useRef)(null);(0,h.useEffect)(()=>{Mr()},[Pn]),(0,h.useEffect)(()=>(window.addEventListener("resize",Ln),()=>{window.removeEventListener("resize",Ln)}),[]);function Ln(){var mr,Gn;(Gn=(mr=yr.current)==null?void 0:mr.update)==null||Gn.call(mr)}function Mr(){return Ze(this,null,function*(){var mr,Gn,br,Ar,Ir,Jn,Er,ra;if(((mr=Pn==null?void 0:Pn.nodes)==null?void 0:mr.length)>0){let Gr=(Gn=Pn==null?void 0:Pn.nodes)==null?void 0:Gn.filter(ur=>{var ca;return Jt==null?void 0:Jt.includes((ca=ur==null?void 0:ur.properties)==null?void 0:ca.uuid)}).map(ur=>{var ca,da,sa,fa,qr,Ea,Lr,Qr,vn,kn,Yn,Nr;return{rootNodeUuid:(ca=ur==null?void 0:ur.properties)==null?void 0:ca.rootNodeUuid,id:((da=ur==null?void 0:ur.properties)==null?void 0:da.uuid)+"_",name:(sa=ur==null?void 0:ur.properties)==null?void 0:sa.name,description:(fa=ur==null?void 0:ur.properties)==null?void 0:fa.description,nodeType:(qr=ur==null?void 0:ur.properties)==null?void 0:qr.nodeType,tags:((Ea=ur==null?void 0:ur.properties)==null?void 0:Ea.tags)&&((vn=(Qr=(Lr=ur==null?void 0:ur.properties)==null?void 0:Lr.tags)==null?void 0:Qr.split("\uFF0C"))==null?void 0:vn.map(Gt=>({name:Gt}))),colorType:parseInt((kn=ur==null?void 0:ur.properties)==null?void 0:kn.color)>3?"3":(Yn=ur==null?void 0:ur.properties)==null?void 0:Yn.color,activeColor:"#FA6400",size:Oe[((Nr=ur==null?void 0:ur.properties)==null?void 0:Nr.color)-1]||1,shape:"circle",hide:!1,isExtendedState:!0}}),Dr=(Jn=(Ir=(Ar=(br=Pn==null?void 0:Pn.relationships)==null?void 0:br.filter(ur=>{var ca,da,sa,fa,qr,Ea;return ur.endNodeUuid!==((sa=(da=(ca=Pn==null?void 0:Pn.nodes)==null?void 0:ca[0])==null?void 0:da.properties)==null?void 0:sa.rootNodeUuid)&&ur.startNodeUuid!==((Ea=(qr=(fa=Pn==null?void 0:Pn.nodes)==null?void 0:fa[0])==null?void 0:qr.properties)==null?void 0:Ea.rootNodeUuid)}))==null?void 0:Ar.filter(ur=>(Jt==null?void 0:Jt.includes(ur.startNodeUuid))&&(Jt==null?void 0:Jt.includes(ur.endNodeUuid))))==null?void 0:Ir.filter(ur=>ur.type==="\u5305\u542B"||ur.type==="\u524D\u5E8F"||ur.type==="\u5173\u8054"))==null?void 0:Jn.map(ur=>({hide:!1,id:(ur==null?void 0:ur.endNodeUuid)+"_",label:ur==null?void 0:ur.type,props:[],colorType:1,sourceRadius:32,targetRadius:32,source:(ur==null?void 0:ur.startNodeUuid)+"_",target:(ur==null?void 0:ur.endNodeUuid)+"_",value:10}));yr.current=null,Kn.current.innerHTML="",yr.current=new lt.createContainer({containerName:"#graphRefs",width:((Er=Kn==null?void 0:Kn.current)==null?void 0:Er.clientWidth)||0,height:((ra=Kn==null?void 0:Kn.current)==null?void 0:ra.clientHeight)||0,toolbarData:[],clickToggle:!1,background:"#fff",isShowMask:!1,nodes:Gr,links:Dr,zoomOptions:{minScale:.2,maxScale:5},nodeMouseover:function(ur){return ur},nodeClick:function(ur){var ca;return(ca=yr==null?void 0:yr.current)==null||ca.selectToNode(ur.id),ur},layout:{force:!1,x:20,y:60}}),yr.current.zoomOut()}})}return Xe.createElement("div",{ref:pr,style:{background:"#fff",height:"455rem"}},Xe.createElement("div",{style:{width:"100%",height:"455rem"},ref:Kn,id:"graphRefs"}))};var _t=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(rt),xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADICAYAAADvG90JAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQecXlWZ/7/n3vvW6SUzk0kPCZAYQpUOoggIiK4lKqIsritrdy27a1fWVRdl7a6ujb+N1dVdUEFFBUERpIQE0ieTmcn0+vb39nvP33PfiWIlZQZDcm8+72dKzj33nN+5v3me85ynCOIrRiBG4EmHgNg3Yiml+v63Pz/pZhIPOEbgyEdACiGkmmZEVCmlduTPOZ5hjMARgUBEXhFL2iNiMeNJHEUICCFCRdxY2h5Fix5P9YhAIJK4MXGPiLWMJ3EUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ/JEILAR9DG40oF1IaCBkGEoQFO5oFRCKJGQwb1/o+s3z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BMp/gnhovgnhDOZ9fixh/TozD3p4/MHTK4mFfq1Wa2rZ1DZ8NFgbOCvI0f2BGX69QMX3DjyWe7xPyKs1GfgpVEuAAAAAElFTkSuQmCC",mn=O(37285),Bn=O(42441),rn=O(22861);const Tn=et=>({tooltip:{trigger:"item"},legend:{top:"0%",left:"center"},series:[{name:"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5",type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:10,borderColor:"#fff",borderWidth:2},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}},labelLine:{show:!1},data:et}]});var en=O(30562),jt=O(59301),Xt=Object.defineProperty,St=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Wt=(et,Ft,At)=>Ft in et?Xt(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,dn=(et,Ft)=>{for(var At in Ft||(Ft={}))It.call(Ft,At)&&Wt(et,At,Ft[At]);if(St)for(var At of St(Ft))Rt.call(Ft,At)&&Wt(et,At,Ft[At]);return et},Dn=(et,Ft)=>{var At={};for(var En in et)It.call(et,En)&&Ft.indexOf(En)<0&&(At[En]=et[En]);if(et!=null&&St)for(var En of St(et))Ft.indexOf(En)<0&&Rt.call(et,En)&&(At[En]=et[En]);return At},dt=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});const T=[{name:"",value:0,itemStyle:{color:"rgb(223,209,38)"}},{name:"",value:0,itemStyle:{color:"rgb(6,234,230)"}},{name:"",value:0,itemStyle:{color:"rgb(6,110,247)"}}],z=et=>{var Ft=et,{pathsDetail:At,user:En,globalSetting:Qn,loading:mt,dispatch:vr,uuid:Pn}=Ft,Jt=Dn(Ft,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Vn,yr,Kn,pr;const Ln=(0,k.useParams)();let[Mr,mr]=(0,h.useState)({subject_id:Ln==null?void 0:Ln.pathId,course_id:"",parentNodeUuid:Pn,type:1});const[Gn,br]=(0,h.useState)(),[Ar,Ir]=(0,h.useState)([]),[Jn,Er]=(0,h.useState)([]),[ra]=(0,k.useSearchParams)();(0,h.useEffect)(()=>{Gr()},[Pn]);function Gr(){return dt(this,null,function*(){var Dr,ur,ca;let da=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:Mr});br(da);let sa=Object.entries((Dr=da==null?void 0:da.data)==null?void 0:Dr.study_grasp_hash).map(([qr,Ea],Lr)=>({name:qr,value:Ea,itemStyle:T[Lr].itemStyle})),fa=Object.entries((ur=da==null?void 0:da.data)==null?void 0:ur.study_complete_hash).map(([qr,Ea],Lr)=>({name:qr,value:Ea}));Er(fa),((ca=sa==null?void 0:sa.filter(qr=>(qr==null?void 0:qr.value)>0))==null?void 0:ca.length)===0?Ir([]):Ir(sa)})}return jt.createElement("div",{className:n.DetailStatistics},ra.get("type")!=="classrooms"&&jt.createElement("div",{className:n.header},jt.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),jt.createElement(g.ZP.Group,{onChange:Dr=>{Mr.type=Dr.target.value,mr(dn({},Mr)),Gr()},value:Mr.type},jt.createElement(g.ZP,{value:1},"\u5168\u90E8"),jt.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),jt.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(Mr==null?void 0:Mr.type)===3&&jt.createElement(F.default,{onChange:Dr=>{Mr.course_id=Dr,mr(dn({},Mr)),Gr()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Vn=Gn==null?void 0:Gn.courses)==null?void 0:Vn.map(Dr=>jt.createElement(F.default.Option,{value:Dr==null?void 0:Dr.id},Dr==null?void 0:Dr.name)))),jt.createElement("div",{style:{marginTop:"16rem",display:"flex"}},jt.createElement("div",{className:n.left,style:{backgroundImage:`url(${xt}),linear-gradient(180deg, rgba(221, 233, 241, 0.4) 0%, rgba(255, 255, 255, 0.49) 100%)`}},jt.createElement("img",{src:un}),jt.createElement("div",{style:{marginTop:"20rem"}},jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),jt.createElement("div",{className:n.xxrscount},(yr=Gn==null?void 0:Gn.data)==null?void 0:yr.study_count))),jt.createElement("div",{className:n.right},jt.createElement("div",{className:n.righttop},jt.createElement("img",{src:$t}),jt.createElement("div",null,jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),jt.createElement("div",{className:n.xxrscount},(Kn=Gn==null?void 0:Gn.data)==null?void 0:Kn.study_complete_rate,"%"))),jt.createElement("div",{className:n.rightbottom},jt.createElement("img",{src:Ut}),jt.createElement("div",null,jt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),jt.createElement("div",{className:n.xxrscount},(pr=Gn==null?void 0:Gn.data)==null?void 0:pr.study_grasp_rate,"%"))))),jt.createElement(mn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),jt.createElement(Bn.Z,{option:Tn(Jn),style:{height:300,width:400},opts:{renderer:"svg"}}),jt.createElement(mn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),(Ar==null?void 0:Ar.length)>0?jt.createElement(rn.Z,{labelTextColor:"#333",dataSource:Ar}):jt.createElement(en.NoData,{children:jt.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Z=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(z),ie=O(71347),le=O(59301),$e=Object.defineProperty,ot=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Bt=(et,Ft,At)=>Ft in et?$e(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,kt=(et,Ft)=>{for(var At in Ft||(Ft={}))Et.call(Ft,At)&&Bt(et,At,Ft[At]);if(ot)for(var At of ot(Ft))st.call(Ft,At)&&Bt(et,At,Ft[At]);return et},He=(et,Ft)=>{var At={};for(var En in et)Et.call(et,En)&&Ft.indexOf(En)<0&&(At[En]=et[En]);if(et!=null&&ot)for(var En of ot(et))Ft.indexOf(En)<0&&st.call(et,En)&&(At[En]=et[En]);return At},Be=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});const Ee=[{name:"",value:0,itemStyle:{color:"rgb(223,209,38)"}},{name:"",value:0,itemStyle:{color:"rgb(6,234,230)"}},{name:"",value:0,itemStyle:{color:"rgb(6,110,247)"}}],Le=et=>{var Ft=et,{pathsDetail:At,user:En,globalSetting:Qn,loading:mt,dispatch:vr,uuid:Pn}=Ft,Jt=He(Ft,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Vn,yr,Kn,pr;const Ln=(0,k.useParams)();let[Mr,mr]=(0,h.useState)({subject_id:Ln==null?void 0:Ln.pathId,course_id:"",parentNodeUuid:Pn,type:1});const[Gn,br]=(0,h.useState)(),[Ar,Ir]=(0,h.useState)([]),[Jn]=(0,k.useSearchParams)(),[Er,ra]=(0,h.useState)([]);(0,h.useEffect)(()=>{Gr()},[Pn]);function Gr(){return Be(this,null,function*(){var Dr,ur,ca;let da=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:Mr});br(da);let sa=Object.entries((Dr=da==null?void 0:da.data)==null?void 0:Dr.study_grasp_hash).map(([qr,Ea],Lr)=>({name:qr,value:Ea,itemStyle:Ee[Lr].itemStyle})),fa=Object.entries((ur=da==null?void 0:da.data)==null?void 0:ur.study_complete_hash).map(([qr,Ea],Lr)=>({name:qr,value:Ea}));ra(fa),((ca=sa==null?void 0:sa.filter(qr=>(qr==null?void 0:qr.value)>0))==null?void 0:ca.length)===0?Ir([]):Ir(sa)})}return le.createElement("div",{className:n.DetailStatistics},Jn.get("type")!=="classrooms"&&le.createElement("div",{className:n.header},le.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),le.createElement(g.ZP.Group,{onChange:Dr=>{Mr.type=Dr.target.value,mr(kt({},Mr)),Gr()},value:Mr.type},le.createElement(g.ZP,{value:1},"\u5168\u90E8"),le.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),le.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(Mr==null?void 0:Mr.type)===3&&le.createElement(F.default,{onChange:Dr=>{Mr.course_id=Dr,mr(kt({},Mr)),Gr()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Vn=Gn==null?void 0:Gn.courses)==null?void 0:Vn.map(Dr=>le.createElement(F.default.Option,{value:Dr==null?void 0:Dr.id},Dr==null?void 0:Dr.name)))),le.createElement("div",{style:{marginTop:"16rem",display:"flex"}},le.createElement("div",{className:n.left,style:{backgroundImage:`url(${xt}),linear-gradient(180deg, rgba(221, 233, 241, 0.4) 0%, rgba(255, 255, 255, 0.49) 100%)`}},le.createElement("img",{src:un}),le.createElement("div",{style:{marginTop:"20rem"}},le.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("div",{className:n.xxrscount},(yr=Gn==null?void 0:Gn.data)==null?void 0:yr.study_count))),le.createElement("div",{className:n.right},le.createElement("div",{className:n.righttop},le.createElement("img",{src:$t}),le.createElement("div",null,le.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),le.createElement("div",{className:n.xxrscount},(Kn=Gn==null?void 0:Gn.data)==null?void 0:Kn.study_complete_rate,"%"))),le.createElement("div",{className:n.rightbottom},le.createElement("img",{src:Ut}),le.createElement("div",null,le.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),le.createElement("div",{className:n.xxrscount},(pr=Gn==null?void 0:Gn.data)==null?void 0:pr.study_grasp_rate,"%"))))),le.createElement(mn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),le.createElement(Bn.Z,{option:Tn(Er),style:{height:300,width:400},opts:{renderer:"svg"}}),le.createElement(mn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),(Ar==null?void 0:Ar.length)>0?le.createElement(rn.Z,{labelTextColor:"#333",dataSource:Ar}):le.createElement(ie.Z,{children:le.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Ie=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(Le),ze=O(98893),he=O(22315),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAXlJREFUOE/VlD1Lw1AUhp+YmkGQSnFR8AcUoSJ+LiKCqINQqIODbk51ETpaVHTyD6h/QQddXMRNRal1qLaDOhSFQicdiiKUNrkSmzQxH6WCg2a6Iec+7z3ve24kIYTMLz7SPwSmozPI2h6InroTkqQvywjOQNlm4PDczyV3yxfDT4AFa97fAmhxN/C0u9o8w6wUtYUkFdzAk1CVyC4E+x3cr7YBY7NTtZSB7DLewKF9Xa4xwAnUfU7P+wBHjjy6dgqY77a2r2MG8GV9CaQdhAhYJI8NnuYqEBgFqQ1SswawmEiCttnQIxfMdmKlD5QIXE0ZwMJKGPUjV0uqyYzNbPR6OQTBRbgct3mYX7hDiN46zr7BHq6fYGccUlEb8GFuDaFuuKbCNwtDURgFHdOQTdqA97Ewlfec75xZ99DbE6ULno8dY5MZs9r2mV/fbPQPr3kH8GZwFVXd+lE4doXyW/H7TbmdaKf0eIBWmQRamszbLNOQWxN//wf7CYUnn95U81GtAAAAAElFTkSuQmCC",tt=O(58870),me=O(79939),ye=O(53420),_e={flex_box_center:"flex_box_center___wU4bP",flex_space_between:"flex_space_between___ryVxe",flex_box_vertical_center:"flex_box_vertical_center___J64e0",flex_box_center_end:"flex_box_center_end___ZQTrR",flex_box_column:"flex_box_column___qYlzG",scoremodal:"scoremodal___g_fYu",selectWrapper:"selectWrapper___wbF8t",selectWrappers:"selectWrappers___bAt3m",allqingchu:"allqingchu___IczWP",title:"title___cJxdu",score:"score___W6O3r",close:"close___rZaaH",content:"content___I6bh1",items:"items___NS5if",bottom:"bottom___zStfh",yes:"yes___dvYz0",no:"no___BqowM",titlecount:"titlecount___cx4fQ",add:"add___Vazpd",search:"search___kg8ng",searchIcon:"searchIcon___CaGo3",tabWrap:"tabWrap___CAndG",previewModal:"previewModal___Ms_9O",q_title:"q_title___WfJKh"},Ge=O(76154),Se={flex_box_center:"flex_box_center___nswYj",flex_space_between:"flex_space_between___fOVoM",flex_box_vertical_center:"flex_box_vertical_center___Q25Hr",flex_box_center_end:"flex_box_center_end___e8x5w",flex_box_column:"flex_box_column___TkKrN",warp:"warp___CyVTN",shixunbutton:"shixunbutton___5A5Bl",redio:"redio____F59s",redioitem:"redioitem___lpnfs",redioitemyes:"redioitemyes___LJh0a",title:"title___pmJ_X",titleyes:"titleyes___xpcjY",yestag:"yestag___DZcUj",qcount:"qcount___N4pNO",score:"score___aNTPQ",qtitle:"qtitle___E_ClM",checkbox:"checkbox___T6Xdo",checkboxitem:"checkboxitem___dfyKW",checkboxitemyes:"checkboxitemyes___Uh2au",bottom:"bottom___uZhfZ",bottomitem:"bottomitem___NElKx",left:"left___CG1Ne",right:"right___iBXmO",completion:"completion___xvAyY",content:"content___Tf9bM",items:"items___zogcz",simple:"simple___zY1bm",shixun:"shixun___AAIlJ",combination:"combination___c7Ghw",program:"program___sXFp_"},ut=O(56375),bt=O(24334);const Pt=["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"];var sn=({qitem:et})=>{var Ft,At,En,Qn,mt,vr,Pn,Jt,Vn,yr;return h.createElement("div",{className:Se.warp},h.createElement("div",{className:Se.mainPart},h.createElement("div",{className:Se.qcount},(et==null?void 0:et.question_type)===8&&h.createElement(ut.Z,{className:Se.content,showProgramFill:!0,value:(Ft=et==null?void 0:et.program_attr)==null?void 0:Ft.description}),(et==null?void 0:et.question_type)!=8&&h.createElement(ut.Z,{className:Se.qtitle,value:(et==null?void 0:et.name)||(et==null?void 0:et.title)})),((et==null?void 0:et.question_type)===0||(et==null?void 0:et.question_type)===2)&&h.createElement("div",null,(At=et==null?void 0:et.choices)==null?void 0:At.map((Kn,pr)=>h.createElement("div",{className:Se.redio},!(Kn!=null&&Kn.is_answer)&&h.createElement("span",{className:Se.redioitem}),(Kn==null?void 0:Kn.is_answer)&&h.createElement("i",{className:`${Se.redioitemyes} icon-duigou1`}),h.createElement(ut.Z,{className:Kn!=null&&Kn.is_answer?Se.titleyes:Se.title,value:Pt[pr]+(Kn==null?void 0:Kn.choice_text)}),(Kn==null?void 0:Kn.is_answer)&&h.createElement("div",{className:Se.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&h.createElement("div",null,(En=et==null?void 0:et.choices)==null?void 0:En.map((Kn,pr)=>h.createElement("div",{className:Se.checkbox},!(Kn!=null&&Kn.is_answer)&&h.createElement("span",{className:Se.checkboxitem}),(Kn==null?void 0:Kn.is_answer)&&h.createElement("i",{className:`${Se.checkboxitemyes} icon-duigou1`}),h.createElement(ut.Z,{className:Kn!=null&&Kn.is_answer?Se.titleyes:Se.title,value:Pt[pr]+(Kn==null?void 0:Kn.choice_text)}),(Kn==null?void 0:Kn.is_answer)&&h.createElement("div",{className:Se.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&h.createElement("div",{className:Se.completion},(Qn=et==null?void 0:et.standard_answer)==null?void 0:Qn.map((Kn,pr)=>{var Ln;return h.createElement("div",{style:{display:"flex"}},h.createElement("span",{className:Se.title},"\u586B\u7A7A\u9879",pr+1),h.createElement("div",{className:Se.content},(Ln=Kn==null?void 0:Kn.answer_text)==null?void 0:Ln.map((Mr,mr)=>h.createElement("div",{className:Se.items},Mr))))})),(et==null?void 0:et.question_type)===4&&h.createElement("div",{className:Se.simple},h.createElement("div",{className:Se.title},"\u53C2\u8003\u7B54\u6848"),h.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(mt=et==null?void 0:et.answer_texts)!=null&&mt[0]?h.createElement(ut.Z,{className:Se.content,value:(vr=et==null?void 0:et.answer_texts)==null?void 0:vr[0]}):h.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Pn=et==null?void 0:et.challenge_names)==null?void 0:Pn.map((Kn,pr)=>h.createElement("div",{className:Se.shixun},h.createElement("span",{className:Se.qtitle},h.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Re.EM)(pr+1),"\u9898"),Kn)))),(et==null?void 0:et.question_type)===6&&h.createElement("div",{className:Se.program},h.createElement(ut.Z,{className:Se.content,value:((Jt=et==null?void 0:et.program_attr)==null?void 0:Jt.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((Vn=et==null?void 0:et.sub_item_banks)==null?void 0:Vn.map((Kn,pr)=>{var Ln,Mr,mr,Gn,br;return h.createElement("div",null,h.createElement("div",{className:Se.combination},h.createElement("span",{className:Se.qtitle},Kn==null?void 0:Kn.name)),h.createElement("div",{className:Se.warp,style:{padding:"0px",paddingTop:20}},h.createElement("div",null,((Kn==null?void 0:Kn.item_type)=="SINGLE"||(Kn==null?void 0:Kn.item_type)=="JUDGMENT")&&((Ln=Kn==null?void 0:Kn.choices)==null?void 0:Ln.map((Ar,Ir)=>h.createElement("div",{className:Se.redio},!(Ar!=null&&Ar.is_answer)&&h.createElement("span",{className:Se.redioitem}),(Ar==null?void 0:Ar.is_answer)&&h.createElement("i",{className:`${Se.redioitemyes} icon-duigou1`}),h.createElement(ut.Z,{className:Ar!=null&&Ar.is_answer?Se.titleyes:Se.title,value:Pt[Ir]+(Ar==null?void 0:Ar.choice_text)}),(Ar==null?void 0:Ar.is_answer)&&h.createElement("div",{className:Se.yestag},"\u6B63\u786E\u7B54\u6848")))),(Kn==null?void 0:Kn.item_type)=="MULTIPLE"&&((Mr=Kn==null?void 0:Kn.choices)==null?void 0:Mr.map((Ar,Ir)=>h.createElement("div",{className:Se.checkbox},!(Ar!=null&&Ar.is_answer)&&h.createElement("span",{className:Se.checkboxitem}),(Ar==null?void 0:Ar.is_answer)&&h.createElement("i",{className:`${Se.checkboxitemyes} icon-duigou1`}),h.createElement(ut.Z,{className:Ar!=null&&Ar.is_answer?Se.titleyes:Se.title,value:Pt[Ir]+(Ar==null?void 0:Ar.choice_text)}),(Ar==null?void 0:Ar.is_answer)&&h.createElement("div",{className:Se.yestag},"\u6B63\u786E\u7B54\u6848")))),(Kn==null?void 0:Kn.item_type)=="COMPLETION"&&h.createElement("div",{className:Se.completion},(mr=Kn==null?void 0:Kn.standard_answer)==null?void 0:mr.map((Ar,Ir)=>{var Jn;return h.createElement("div",{style:{display:"flex"}},h.createElement("span",{className:Se.title},"\u586B\u7A7A\u9879",Ir+1),h.createElement("div",{className:Se.content},(Jn=Ar==null?void 0:Ar.answer_text)==null?void 0:Jn.map((Er,ra)=>h.createElement("div",{className:Se.items},Er))))})),(Kn==null?void 0:Kn.item_type)=="SUBJECTIVE"&&h.createElement("div",{className:Se.simple},h.createElement("div",{className:Se.title},"\u53C2\u8003\u7B54\u6848"),h.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Gn=Kn==null?void 0:Kn.answer_texts)!=null&&Gn[0]?h.createElement(ut.Z,{className:Se.content,value:(br=Kn==null?void 0:Kn.answer_texts)==null?void 0:br[0]}):h.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&h.createElement("div",null,h.createElement(ut.Z,{disabledFill:!0,className:Se.content,showProgramFill:!0,value:bt.Base64.decode(((yr=et==null?void 0:et.program_attr)==null?void 0:yr.code)||"")})),(et==null?void 0:et.question_type)===5&&h.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},h.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),h.createElement("div",{style:{marginRight:30}},h.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),h.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),h.createElement("a",{className:Se.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},h.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((et==null?void 0:et.question_type)<=4||[6,8].includes(et==null?void 0:et.question_type))&&h.createElement("div",{className:Se.bottom},h.createElement("div",{className:Se.bottomitem},h.createElement("span",{className:Se.left},"\u89E3\u6790"),h.createElement("span",{className:Se.right},et!=null&&et.analysis?h.createElement(ut.Z,{value:et==null?void 0:et.analysis}):h.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),h.createElement("div",{className:Se.bottomitem},h.createElement("span",{className:Se.left},"\u96BE\u5EA6"),h.createElement("span",{className:Se.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),h.createElement("div",{className:Se.bottomitem},h.createElement("span",{className:Se.left},"\u77E5\u8BC6\u70B9"),h.createElement("span",{className:Se.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:h.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},Mn=O(20428),xn=O(94008),an=O(61485),hn=O(96609),gn=O(50778),Lt=O(59301),On=Object.defineProperty,jn=Object.defineProperties,bn=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,sr=(et,Ft,At)=>Ft in et?On(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,Rn=(et,Ft)=>{for(var At in Ft||(Ft={}))er.call(Ft,At)&&sr(et,At,Ft[At]);if(Fn)for(var At of Fn(Ft))Cr.call(Ft,At)&&sr(et,At,Ft[At]);return et},or=(et,Ft)=>jn(et,bn(Ft)),fr=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});const nr=({setScoreShow:et,ScoreShow:Ft,listitem:At,onOk:En,isshixuns:Qn,isloadings:mt,dispatch:vr,isIntelligentAssistant:Pn=!1,ispptModal:Jt=!1,isChangeQuestion:Vn=!1,newExercisePaper:yr,shixunsDetail:Kn})=>{var pr;let[Ln,Mr]=(0,h.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:Pn,is_smart_plan:Jt,group_id:[]}),[mr,Gn]=(0,h.useState)([]),[br,Ar]=(0,h.useState)([]),[Ir,Jn]=(0,h.useState)([]),[Er,ra]=(0,h.useState)([]);const[Gr,Dr]=(0,h.useState)(!1),[ur]=P.default.useForm(),[ca,da]=(0,h.useState)(),[sa,fa]=(0,h.useState)(!1);let[qr,Ea]=(0,h.useState)(Qn);const[Lr,Qr]=(0,h.useState)([]),[vn,kn]=(0,h.useState)(0),[Yn,Nr]=(0,h.useState)(!0),[Gt,Xr]=(0,h.useState)([]),[ya,oa]=(0,h.useState)([]),Aa=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],Zn=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6}];let[na,la]=(0,h.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Jr=(0,h.useRef)(new Set),_a=(0,h.useRef)(new Set),ha=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Ua=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Xa=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Wa,ei]=(0,h.useState)(!1),Fa=()=>{ur.resetFields(),qr=!1,Ea(!1),ei(!1),ur.submit()};(0,h.useEffect)(()=>{var yn,cr;(((yn=At==null?void 0:At.questionIdArr)==null?void 0:yn.length)>0||((cr=At==null?void 0:At.shixun_ids)==null?void 0:cr.length)>0)&&(Ar([...At==null?void 0:At.questionIdArr,...At==null?void 0:At.shixun_ids]),Jn([...At==null?void 0:At.questionIdArr,...At==null?void 0:At.shixun_ids]),Qr([...At==null?void 0:At.shixun_ids]),_a.current=new Set([...At==null?void 0:At.questionIdArr]),Jr.current=new Set([...At==null?void 0:At.shixun_ids]))},[At]),(0,h.useEffect)(()=>{Ft&&(ur.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Yn&&qr&&(ur.setFieldsValue({item_type:"SHIXUN"}),Ln.item_type="SHIXUN",Mr(Rn({},Ln)),Nr(!1)),va(Ln),jr(),za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Ft]),(0,h.useEffect)(()=>{vn>0&&setTimeout(()=>{kn(0)},2e3)},[vn]);function va(yn){return fr(this,null,function*(){var cr,xa,Sr;if(Dr(!0),Mr(Rn({},yn)),(Ir==null?void 0:Ir.length)<=0&&yn.type==="5"){ra([]),Dr(!1);return}let ta=yn.type==="5"?Ir==null?void 0:Ir.filter(ua=>!Lr.includes(ua)):null,Ur=yn.type==="5"?Ir==null?void 0:Ir.filter(ua=>Lr.includes(ua)):null,Zr=yield(0,t.ZP)("/api/item_banks.json",{method:"get",params:or(Rn({},yn),{discipline_id:((cr=yn==null?void 0:yn.courseid)==null?void 0:cr[0])||null,sub_discipline_id:((xa=yn==null?void 0:yn.courseid)==null?void 0:xa[1])||null,ids:ta,shixun_ids:Ur,include_shixuns:!Pn,group_id:((Sr=yn.group_id)==null?void 0:Sr.map(ua=>ua==null?void 0:ua.value))||null,keyword:yn.keyword?encodeURIComponent(yn.keyword):yn.keyword,type:yn.type==="5"?null:yn.type,clazz:yn.type==="3"?"ItemBanksGroup":null,bigmodel:Pn,is_smart_plan:Jt})});ra(Zr),Dr(!1)})}function jr(){return fr(this,null,function*(){let yn=yield(0,t.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ln.type==="5"?null:Ln.type,clazz:"ItemBanksGroup"}});Gn((0,Ge.L)(yn==null?void 0:yn.disciplines))})}function za(yn){return fr(this,null,function*(){var cr;let xa=yield(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:yn}),Sr=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(cr=xa==null?void 0:xa.data)==null?void 0:cr.map(ta=>({title:ta.name,id:ta.id,pid:ta.id,value:ta.id,key:ta.id,isLeaf:!ta.have_child}))}];Xr(Sr)})}function vi(yn){return fr(this,null,function*(){var cr,xa,Sr,ta;Dr(!0);let Ur=(cr=yn.list)==null?void 0:cr.filter(Ya=>!Lr.includes(Ya)),Zr=(xa=yn.list)==null?void 0:xa.filter(Ya=>Lr.includes(Ya));if(Ur.length===0&&Zr.length===0){Dr(!1),ra([]);return}let ua=yield(0,t.ZP)("/api/item_banks.json",{method:"get",params:or(Rn({},yn),{discipline_id:((Sr=yn==null?void 0:yn.courseid)==null?void 0:Sr[0])||null,sub_discipline_id:((ta=yn==null?void 0:yn.courseid)==null?void 0:ta[1])||null,ids:Ur,shixun_ids:Zr,type:yn.type==="5"?null:yn.type,clazz:yn.type==="3"?"ItemBanksGroup":null})});Dr(!1),ra(ua)})}const mi=yn=>fr(void 0,null,function*(){const cr=yield vr({type:"shixunsDetail/release",payload:{id:yn}});let xa=cr==null?void 0:cr.tag_position,Sr=(cr==null?void 0:cr.evaluation_set_position)||[],ta=cr.status;return ta===0?(_.ZP.success("\u53D1\u5E03\u6210\u529F"),va(Ln),!0):(ta===2?_.ZP.error(`\u7B2C${Sr.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):ta===3?_.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${xa.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):_.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),ir=yn=>(yn==null?void 0:yn.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Vr=(yn,cr,xa)=>yn.map(Sr=>Sr.key===cr?Rn(Rn({},Sr),xa):Sr.children?or(Rn({},Sr),{children:Vr(Sr.children,cr,xa)}):Sr),Ha=yn=>fr(void 0,null,function*(){const{key:cr}=yn;let xa=Ln.type;const Sr=yield(0,gn.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(cr),type:xa}),{data:ta,total_count:Ur}=Sr||{};Ur>0&&Xr(Zr=>Vr(Zr,cr,{children:ta.map(ua=>({title:ua.name,id:ua.id,pid:ua.id,value:ua.id,key:ua.id,isLeaf:!ua.have_child}))}))});function Oa(yn){console.log("----",Ln),yn==="1"&&(na.gg=Rn({},Ln)),yn==="2"&&(na.scj=Rn({},Ln)),yn==="3"&&(na.ttgx=Rn({},Ln)),yn==="0"&&(na.wcjd=Rn({},Ln)),yn==="5"&&(na.yx=Rn({},Ln)),la(Rn({},na))}function La(){Ln.type==="1"&&(Ln=na.gg),Ln.type==="2"&&(Ln=na.scj),Ln.type==="3"&&(Ln=na.ttgx),Ln.type==="0"&&(Ln=na.wcjd),Ln.type==="5"&&(Ln=na.yx),(Ln==null?void 0:Ln.item_type)==="SHIXUN"?(qr=!0,Ea(!0)):(qr=!1,Ea(!1)),ur.setFieldsValue(Rn({},Ln)),Mr(Rn({},Ln)),va(Rn({},Ln))}return Lt.createElement("div",null,Lt.createElement(p.default,{title:!1,footer:!1,open:Ft,width:1200,centered:!0,className:_e.scoremodal,onCancel:()=>{et(!1)}},Lt.createElement("div",{style:{display:"flex",alignItems:"center"}},Lt.createElement("div",{className:_e.title},Pn?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Pn&&Lt.createElement("div",{style:{padding:10,background:"#F6F7F9",borderRadius:4,marginTop:14}},"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6"),Lt.createElement(l.default,{className:_e.tabWrap,activeKey:Ln.type,onChange:yn=>{yn==="3"?(Ln.show_all_share=!0,za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ln.show_all_share=null,yn==="0"&&za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Oa(Ln.type),Ln.type=yn,(Ln==null?void 0:Ln.item_type)==="SHIXUN"&&Ln.type!=="5"&&(qr=!0,Ea(!0)),ei(!1),Ln.type==="5"&&(qr=!1,Ea(!1)),La(),jr()},items:[{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Lt.createElement("div",null,"\u5DF2\u9009",Ir.length>0&&Lt.createElement("span",{className:_e.titlecount},Ir.length),vn>0&&Lt.createElement("span",{className:_e.add},"+",vn)),key:"5"}]}),Lt.createElement(P.default,{layout:"inline",form:ur,onValuesChange:(yn,cr)=>{const xa=Object.values(cr).some(ta=>ta!==null&&ta!==""&&ta!==void 0),Sr=cr.keyword==="";if(ei(xa||!Sr),Ln.page=1,(cr==null?void 0:cr.item_type)==="SHIXUN"){if(Ln.type==="5"?Ea(!1):Ea(!0),yn.keyword||yn.keyword==="")return;ur.submit()}else{if(yn!=null&&yn.courseid&&ur.setFieldsValue({tag_discipline_id:""}),Ea(!1),yn.keyword||yn.keyword==="")return;ur.submit()}},onFinish:yn=>{var cr;Ln.type==="3"&&(!yn.group_id||((cr=yn==null?void 0:yn.group_id)==null?void 0:cr.length)===0)?Ln.show_all_share=!0:Ln.show_all_share=null,Mr(Rn(Rn({},Ln),yn)),va(Rn(Rn({},Ln),yn))}},Lt.createElement(P.default.Item,{name:"item_type"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(Jt?Zn:Pn?Aa==null?void 0:Aa.filter(yn=>yn.question_type!==5):Aa).map(yn=>Lt.createElement(F.default.Option,{key:yn.value},yn.name)))),Lt.createElement(P.default.Item,{name:"courseid"},Lt.createElement(me.Z,{className:_e.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:mr})),!qr&&Lt.createElement(P.default.Item,{name:"tag_discipline_id"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(pr=Er==null?void 0:Er.tag_disciplines)==null?void 0:pr.map(yn=>Lt.createElement(F.default.Option,{key:yn.id},yn.name)))),Lt.createElement(P.default.Item,{name:qr?"diff":"difficulty"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},ha.map(yn=>Lt.createElement(F.default.Option,{key:yn.value},yn.name)))),qr&&Lt.createElement(P.default.Item,{name:"shixun_publish_status"},Lt.createElement(F.default,{className:_e.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Xa.map(yn=>Lt.createElement(F.default.Option,{key:yn.value},yn.name)))),(Ln.type==="3"||Ln.type==="0")&&!qr&&Lt.createElement(P.default.Item,{name:"group_id"},Lt.createElement(ye.default,{treeDataSimpleMode:!0,style:{width:118},className:_e.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(yn,cr)=>cr.title.toUpperCase().indexOf(yn.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Ha,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:Gt})),Wa&&Lt.createElement("span",{className:_e.allqingchu,onClick:Fa},Lt.createElement("i",{className:"iconfont icon-guanbi4"}),Lt.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Lt.createElement(P.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Lt.createElement(E.default.Search,{className:_e.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Lt.createElement("i",{className:`iconfont icon-sousuo9 font14 ${_e.searchIcon}`,onClick:()=>ur.submit()}),onSearch:yn=>{ur.submit()}}))),Lt.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Lt.createElement("div",{onClick:()=>{Ln.updated_at==="asc"?Ln.updated_at="desc":Ln.updated_at="asc",Mr(or(Rn({},Ln),{page:1})),va(or(Rn({},Ln),{page:1}))}}," ",Ln.updated_at?Lt.createElement("img",{src:Ln.updated_at==="asc"?Mn.Z:xn.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Lt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Lt.createElement("div",{onClick:()=>{Ln.quotes==="asc"?Ln.quotes="desc":Ln.quotes="asc",Mr(or(Rn({},Ln),{page:1})),va(or(Rn({},Ln),{page:1}))},style:{marginLeft:20}}," ",Ln.quotes?Lt.createElement("img",{src:Ln.quotes==="asc"?Mn.Z:xn.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Lt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Lt.createElement(K.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Er==null?void 0:Er.items)||(Er==null?void 0:Er.shixun_list),pagination:!1,loading:Gr,rowKey:yn=>yn.id,rowSelection:{type:Pn||Vn?"radio":"checkbox",selectedRowKeys:br,getCheckboxProps:yn=>({disabled:yn.shixun_tag_num===1||(ya==null?void 0:ya.find(cr=>yn.id===cr))}),onSelect(yn,cr,xa){if(Pn||Vn){Ar([yn.id]),_a.current=new Set([yn.id]),kn(1),Jn([yn.id]);return}if(cr)(qr||yn!=null&&yn.challenge_names)&&Qr([...Lr,yn.id]),Ar([...br,yn.id]),yn.identifier?Jr.current.add(yn.id):_a.current.add(yn.id),kn(1),Jn([...Ir,yn.id]);else{yn.identifier?Jr.current.delete(yn.id):_a.current.delete(yn.id);let Sr=Ir.filter(ta=>ta!==yn.id);if(Ar(Sr),Jn(Sr),qr||yn!=null&&yn.challenge_names){let ta=Lr.filter(Ur=>Ur!==yn.id);Qr([...ta])}if(Ln.type==="5"){vi(or(Rn({},Ln),{list:[...Sr]}));return}}},onSelectAll(yn,cr,xa){var Sr,ta;if(yn){const Ur=xa.map(ua=>ua.id),Zr=(ta=xa==null?void 0:xa.filter(ua=>ua==null?void 0:ua.challenge_names))==null?void 0:ta.map(ua=>ua.id);Qr([...Lr,...Zr]),Ar([...br,...Ur]),Jn([...Ir,...Ur]);for(const ua of xa)ua.identifier?Jr.current.add(ua.id):_a.current.add(ua.id)}else{const Ur=xa.map(ma=>ma.id),Zr=br.filter(ma=>!Ur.some(Ka=>Ka===ma)),ua=(Sr=xa==null?void 0:xa.filter(ma=>ma==null?void 0:ma.challenge_names))==null?void 0:Sr.map(ma=>ma.id);Ar([...Zr]),Jn([...Zr]);let Ya=Lr.filter(ma=>!ua.some(Ka=>Ka===ma.id));Qr([...Ya]),Ln.type==="5"&&vi(or(Rn({},Ln),{list:[...Zr]}));for(const ma of Ur)ma.identifier?Jr.current.delete(ma):_a.current.delete(ma)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(yn,cr,xa)=>{var Sr,ta;return Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",null,qr||cr!=null&&cr.challenge_names?"\u5B9E\u8BAD\u9898":(ta=(Sr=Aa==null?void 0:Aa.filter(Ur=>Ur.value===yn))==null?void 0:Sr[0])==null?void 0:ta.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:qr?"30%":"60%",key:"name",render:(yn,cr,xa)=>{var Sr;return Lt.createElement("div",{style:{display:"flex",alignItems:"center"}},Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",{className:cr!=null&&cr.high_resources_consume?_e.q_title:""},Lt.createElement(ut.Z,{key:1,showLines:1,showTextOnly:!0,value:qr||cr!=null&&cr.challenge_names?cr!=null&&cr.title||yn===null?"--":yn:(cr==null?void 0:cr.item_type)=="BPROGRAM"?(Sr=cr==null?void 0:cr.program_attr)==null?void 0:Sr.description:yn}))),(cr==null?void 0:cr.high_resources_consume)&&Lt.createElement(hn.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!qr,render:(yn,cr,xa)=>{var Sr;return Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("span",null,yn?(Sr=yn==null?void 0:yn.split("\u3001"))==null?void 0:Sr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!qr,render:(yn,cr,xa)=>Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("span",null,yn||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(yn,cr,xa)=>{var Sr,ta,Ur,Zr;return Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",null,qr||cr!=null&&cr.challenge_names?(cr==null?void 0:cr.level)||((ta=(Sr=ha==null?void 0:ha.filter(ua=>ua.value===yn))==null?void 0:Sr[0])==null?void 0:ta.name):(Zr=(Ur=ha==null?void 0:ha.filter(ua=>ua.value===yn))==null?void 0:Ur[0])==null?void 0:Zr.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!qr,render:(yn,cr,xa)=>Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",null,yn||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(yn,cr,xa)=>Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",null,qr||cr!=null&&cr.challenge_names?(cr==null?void 0:cr.study_count)||(cr==null?void 0:cr.stu_num):yn))},{title:Lt.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Lt.createElement(d.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Lt.createElement(an.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!qr,render:(yn,cr,xa)=>Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",null,yn||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(yn,cr,xa)=>Lt.createElement(d.Z,{title:ir(cr)},Lt.createElement("div",{style:{flex:1,textAlign:"start"}},Lt.createElement("a",{onClick:()=>{var Sr,ta;da(or(Rn({},cr),{question_type:qr||cr!=null&&cr.challenge_names?5:(ta=(Sr=Aa==null?void 0:Aa.filter(Ur=>Ur.value===(cr==null?void 0:cr.item_type)))==null?void 0:Sr[0])==null?void 0:ta.question_type})),fa(!0)}},"\u67E5\u770B"),(cr==null?void 0:cr.shixun_tag_num)===1&&Lt.createElement("a",{style:{marginLeft:10},onClick:()=>{p.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Lt.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Lt.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${cr==null?void 0:cr.identifier}/challenges`)}},(cr==null?void 0:cr.shixun_name)||"--"),"\uFF1F"),onOk:()=>fr(void 0,null,function*(){if(!mi(cr==null?void 0:cr.identifier))return new Promise((Sr,ta)=>{ta()})})})}},"\u53D1\u5E03")))}].filter(yn=>!yn.hidden)}),Lt.createElement(j.Z,{current:Ln.page,total:(Er==null?void 0:Er.items_count)||(Er==null?void 0:Er.shixuns_count),style:{marginBottom:20},defaultPageSize:Ln.per_page,showTotal:yn=>Lt.createElement("span",null,"\u5171\xA0",Lt.createElement("span",{style:{color:"#165DFF"}},yn),"\xA0\u6761\u6570\u636E"),pageSize:Ln.per_page,onChange:(yn,cr)=>{Ln.page=yn,Ln.per_page=cr,Mr(Rn({},Ln)),va(Rn({},Ln))}}),Lt.createElement("div",{className:_e.bottom},Lt.createElement(m.ZP,{className:_e.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Lt.createElement(m.ZP,{loading:mt,style:{width:mt&&75},className:_e.yes,onClick:()=>fr(void 0,null,function*(){if((Ir==null?void 0:Ir.length)<=0){_.ZP.info(Pn||Vn?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}console.log("----",_a.current,Jr.current),En([..._a.current],[...Jr.current],!0,Ir==null?void 0:Ir.length)})},Pn?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Lt.createElement(p.default,{open:sa,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:_e.previewModal,width:1e3,centered:!0,onCancel:()=>{fa(!1)},onOk:()=>{fa(!1)}},Lt.createElement(sn,{qitem:ca})))};var tr=(0,k.connect)(({shixunsDetail:et,newExercisePaper:Ft})=>({shixunsDetail:et,newExercisePaper:Ft}))(nr),$n=O(43332),wr=O(99936),Dt=O(59301),Hr=Object.defineProperty,Rr=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,lr=(et,Ft,At)=>Ft in et?Hr(et,Ft,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Ft]=At,Sn=(et,Ft)=>{for(var At in Ft||(Ft={}))ea.call(Ft,At)&&lr(et,At,Ft[At]);if(Wr)for(var At of Wr(Ft))ar.call(Ft,At)&&lr(et,At,Ft[At]);return et},Zt=(et,Ft)=>Rr(et,kr(Ft)),qt=(et,Ft,At)=>new Promise((En,Qn)=>{var mt=Jt=>{try{Pn(At.next(Jt))}catch(Vn){Qn(Vn)}},vr=Jt=>{try{Pn(At.throw(Jt))}catch(Vn){Qn(Vn)}},Pn=Jt=>Jt.done?En(Jt.value):Promise.resolve(Jt.value).then(mt,vr);Pn((At=At.apply(et,Ft)).next())});let Xn=[{name:"\u6839\u8282\u70B9",src:"/images/one.svg",color:"#CC7CF5",bordercolor:"#A150CB",img:"/images/gjd.svg"},{name:"\u8BFE\u7A0B",src:"/images/kc.svg",color:"#3241F7",bordercolor:"#3437D9",img:"/images/kcjd.svg"},{name:"\u7AE0\u8282",src:"/images/zj.svg",color:"#5e54e7",bordercolor:"#7f77f9",img:"/images/zjjd.svg"},{name:"\u77E5\u8BC6\u70B9",src:"/images/zsd.svg",color:"#FFDF55",bordercolor:"#FFD60F",img:"/images/zsdjd.svg"},{name:"\u5B9E\u8BAD",src:"/images/sx.svg",color:"#4E9DFF",bordercolor:"#0882FB",img:"/images/sxjd.svg"},{name:"\u4F5C\u4E1A",src:"/images/zy.svg",color:"#445DF3",bordercolor:"#3149D5",img:"/images/zyjd.svg"},{name:"\u89C6\u9891",src:"/images/sp.svg",color:"#6BC4DE",bordercolor:"#339DC4",img:"/images/spjd.svg"},{name:"\u8BFE\u4EF6",src:"/images/fj.svg",color:"#6BDE73",bordercolor:"#33C448",img:"/images/kjjd.svg"},{name:"\u8BD5\u5377",src:"/images/sj.svg",color:"#2D9534",bordercolor:"#077A04",img:"/images/sjjd.svg"},{name:"\u5176\u4ED6",src:"/images/qt.svg",color:"#2D947C",bordercolor:"#157660",img:"/images/qtjd.svg"}];const zn=[{name:"\u57FA\u672C\u4FE1\u606F",key:1},{name:"\u5173\u8054\u8D44\u6E90",key:4},{name:"\u5B66\u4E60\u7EDF\u8BA1",key:3}];let hr=[{name:"\u4F5C\u4E1A",id:"zy",item_type:2},{name:"\u5B9E\u8BAD",id:"sx",item_type:2},{name:"\u6559\u6750",id:"jc",item_type:2},{name:"\u89C6\u9891",id:"sp",item_type:2},{name:"\u8BFE\u4EF6",id:"kj",item_type:2},{name:"\u8BD5\u5377",id:"sj",item_type:2},{name:"\u9898\u96C6",id:"tj",item_type:2},{name:"\u8BD5\u9898",id:"st",item_type:2}],Tr=[{name:"\u7AE0\u8282",id:"zj",item_type:1},{name:"\u77E5\u8BC6\u70B9",id:"zsd",item_type:1}];const gr=({pathsDetail:et,user:Ft,globalSetting:At,loading:En,dispatch:Qn,items:mt,showdetail:vr,setshowdetail:Pn,containerRef:Jt,getData:Vn,setshow:yr,Tabsdatas:Kn,uuid:pr,tpacti:Ln,initdata:Mr,routeData:mr={}})=>{var Gn,br,Ar,Ir,Jn,Er,ra,Gr,Dr,ur,ca,da,sa,fa,qr,Ea,Lr,Qr,vn,kn,Yn,Nr,Gt,Xr,ya,oa,Aa,Zn,na,la,Jr,_a,ha,Ua,Xa,Wa,ei,Fa,va;const jr=(0,k.useParams)(),[za,vi]=(0,h.useState)(0),[mi]=P.default.useForm(),[ir,Vr]=(0,h.useState)({});let[Ha,Oa]=(0,h.useState)(!1);const[La,yn]=(0,h.useState)(!1),[cr,xa]=(0,h.useState)("1"),[Sr,ta]=(0,h.useState)([]),[Ur,Zr]=(0,h.useState)(1),[ua,Ya]=(0,h.useState)(2),[ma,Ka]=(0,h.useState)(2),[ka,ui]=(0,h.useState)(),[$a,Ai]=(0,h.useState)();let[wa,pi]=(0,h.useState)([]);const[Ni,xo]=(0,h.useState)({}),[Co,qi]=(0,h.useState)(!1),[ao,ki]=(0,h.useState)(""),[Gi,Lo]=(0,h.useState)([]),[io]=(0,k.useSearchParams)(),[bo,oo]=(0,h.useState)(!1),[so,Xi]=(0,h.useState)([]),[lo,Si]=(0,h.useState)([]),[si,Di]=(0,h.useState)([]),[Yi,Ao]=(0,h.useState)(!1),[Ro,Zo]=(0,h.useState)(!1),[No,ia]=(0,h.useState)(!1),[eo,Qi]=(0,h.useState)(!1),[bi,uo]=(0,h.useState)([]);let[Mi,co]=(0,h.useState)({tags:[],tagszy:[],tagslx:[]});const[po,Bo]=(0,h.useState)([{label:"\u5B9E\u8BAD",children:Dt.createElement(Me,{getother:ji,types:"1",ktzykey:cr,onChange:Ot=>{ta(Ot)}}),key:"1"},{label:"\u89C6\u9891",children:Dt.createElement(Me,{getother:ji,types:"2",ktzykey:cr,onChange:Ot=>{ta(Ot)}}),key:"2"},{label:"\u8BFE\u4EF6",children:Dt.createElement(Me,{getother:ji,types:"3",ktzykey:cr,onChange:Ot=>{ta(Ot)}}),key:"3"},{label:"\u8BD5\u5377",children:Dt.createElement(Me,{getother:ji,types:"4",ktzykey:cr,onChange:Ot=>{console.log("----",Ot),ta(Ot)}}),key:"4"}].filter(Ot=>!!Ot));let[So,Fo]=(0,h.useState)([]),[Do,Mo]=(0,h.useState)([]);const[Ho,fo]=(0,h.useState)(0),[Uo,go]=(0,h.useState)(0),[Bi,Oo]=(0,h.useState)([]),[Yr,Li]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]}),Vi=Ot=>{var Br,$r;return(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:((Br=Ot==null?void 0:Ot.items)==null?void 0:Br.uuid)||(($r=Ot==null?void 0:Ot.items)==null?void 0:$r.id)}}),Qn({type:"userDetail/logWatchHistory",payload:Sn({},Ot)})},Wo=Ot=>((0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:pr}}),Qn({type:"userDetail/logWatchHistory",payload:Sn({},Ot)}));function zo(){return qt(this,null,function*(){Qi(!0);let Ot=yield(0,t.ZP)("/api/knowledge/v2/knowledge_resources.json",{method:"get",params:Sn({subject_id:jr==null?void 0:jr.pathId,uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id)},mr)});Qi(!1),(Ot==null?void 0:Ot.status)===0&&uo(Ot==null?void 0:Ot.data)})}const to={maxCount:1,fileList:wa,accept:((br=(Gn=ir==null?void 0:ir.label)==null?void 0:Gn[0])==null?void 0:br.name)==="\u89C6\u9891"?".mp4":"",withCredentials:!0,beforeUpload:Ot=>{var Br,$r;if(!(Ot.type==="video/mp4")&&(($r=(Br=ir==null?void 0:ir.label)==null?void 0:Br[0])==null?void 0:$r.name)==="\u89C6\u9891")return _.ZP.error("\u53EA\u80FD\u4E0A\u4F20\u89C6\u9891"),N.default.LIST_IGNORE},action:`${U.Z.API_SERVER}/api/attachments.json`,onChange:Ot=>{pi(Ot==null?void 0:Ot.fileList)}};function wo(){return qt(this,null,function*(){var Ot,Br,$r,zr,Ra;let Ca=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{depth:1,subject_id:jr==null?void 0:jr.pathId}});if((Ca==null?void 0:Ca.status)===0){fo(pr);const Da=[...(Ra=(zr=(Ot=Ca==null?void 0:Ca.data)==null?void 0:Ot.nodes)==null?void 0:zr.splice(1,($r=(Br=Ca==null?void 0:Ca.data)==null?void 0:Br.nodes)==null?void 0:$r.length))==null?void 0:Ra.map(ja=>{var ti,ci,hi;return Sn({label:(ti=ja==null?void 0:ja.properties)==null?void 0:ti.name,children:Dt.createElement(be,{onChange:Ri=>{sessionStorage.setItem("typesdatajsoncopy",JSON.stringify(Ri))},itemsuuid:mt==null?void 0:mt.uuid,uuid:(ci=ja==null?void 0:ja.properties)==null?void 0:ci.uuid,typesdata:Yr}),key:(hi=ja==null?void 0:ja.properties)==null?void 0:hi.uuid},ja)})];So=Da,Fo(Da),sessionStorage.setItem("typesdatajson",JSON.stringify(Yr)),sessionStorage.setItem("typesdatajsoncopy",JSON.stringify(Yr)),Oa(!0)}})}function ho(){return qt(this,null,function*(){var Ot;let Br=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:3,subject_id:jr==null?void 0:jr.pathId}});(Br==null?void 0:Br.status)===0&&(Mi.tags=Br==null?void 0:Br.data,co(Sn({},Mi)));let $r=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:5,subject_id:jr==null?void 0:jr.pathId}});($r==null?void 0:$r.status)===0&&(Mi.tagszy=[...hr,...$r==null?void 0:$r.data2],Mi.tagslx=[...Tr,...$r==null?void 0:$r.data],co(Sn({},Mi)));let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:mt==null?void 0:mt.resourceUrl,item_banks_group_ids:mt==null?void 0:mt.itemBanksGroupIds}});if(ki(""),Di([]),localStorage.setItem("container_type_tupu",zr==null?void 0:zr.container_type),(mt==null?void 0:mt.nodeType)==="\u89C6\u9891"&&(((Ot=zr==null?void 0:zr.attachment)==null?void 0:Ot.file_type)==="video"||(zr==null?void 0:zr.container_type)==="video")&&ki(zr==null?void 0:zr.id),(mt==null?void 0:mt.resourceOrigin)===1&&(mt==null?void 0:mt.nodeType)!=="\u9898\u96C6"){let Ra={url:mt==null?void 0:mt.resourceUrl,name:zr==null?void 0:zr.name,id:zr==null?void 0:zr.examination_bank_id,questionIdArr:zr==null?void 0:zr.item_bank_ids,shixun_ids:zr==null?void 0:zr.shixun_ids};ta([Ra])}(mt==null?void 0:mt.resourceOrigin)===1&&(mt==null?void 0:mt.nodeType)==="\u9898\u96C6"&&Di(zr==null?void 0:zr.item_banks_groups),(mt==null?void 0:mt.resourceOrigin)===2&&pi([{uid:"123",name:zr==null?void 0:zr.name,response:{id:"123",url:mt==null?void 0:mt.resourceUrl}}])})}function ji(Ot){return qt(this,null,function*(){var Br,$r;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:Ot}});(zr==null?void 0:zr.status)===0&&((zr==null?void 0:zr.container_type)==="att"?xo({url:U.Z.API_SERVER+((Br=zr==null?void 0:zr.attachment)==null?void 0:Br.url),file_type:($r=zr==null?void 0:zr.attachment)==null?void 0:$r.file_type}):window.open(Ot))})}function yo(){return qt(this,null,function*(){let Ot=yield(0,t.ZP)("/api/knowledge/v2/item_bank_groups.json",{method:"get",params:{subject_id:jr==null?void 0:jr.pathId}});(Ot==null?void 0:Ot.status)===0&&Xi(Ot==null?void 0:Ot.data)})}function gi(){return qt(this,null,function*(){var Ot,Br,$r,zr,Ra,Ca;Zr(1);let Da=yield(0,t.ZP)("/api/knowledge/v2/get_node_detail.json",{method:"get",params:{nodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),parentNodeUuids:Kn==null?void 0:Kn.map(ja=>ja==null?void 0:ja.uuid).join(),depth:1,relationshipFilter:">",subgraphDepth:"-1",subgraphRelationshipFilter:"\u5305\u542B>",subject_id:jr==null?void 0:jr.pathId}});if((Da==null?void 0:Da.status)===0){Oo((Ot=Da==null?void 0:Da.data)==null?void 0:Ot.nodes),ui(($r=(Br=Da==null?void 0:Da.data)==null?void 0:Br.nodes)==null?void 0:$r.filter(ti=>{var ci;return((ci=ti==null?void 0:ti.properties)==null?void 0:ci.uuid)===(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id)})),Ai((zr=Da==null?void 0:Da.data)==null?void 0:zr.relationships);const ja=[...(Ca=(Ra=Da==null?void 0:Da.data)==null?void 0:Ra.graphNodeMappings)==null?void 0:Ca.map((ti,ci)=>{var hi;return{label:`${ti==null?void 0:ti.parentNodeName}\uFF08${(hi=ti==null?void 0:ti.childNodeUuids)==null?void 0:hi.length}\uFF09`,children:Dt.createElement(_t,{datas:Da==null?void 0:Da.data,items:ti==null?void 0:ti.childNodeUuids}),key:ci}})];go(0),Do=ja,Mo(ja)}})}(0,h.useEffect)(()=>{vr&&(gi(),ho())},[vr,mt]);const To=(...Ot)=>qt(void 0,[...Ot],function*(Br={}){return yield Qn({type:"pathsDetail/getKnowledgeGraphs",payload:Sn({graphable_type:io.get("type")==="classrooms"?"course":"subject",graphable_id:jr==null?void 0:jr.pathId},Br)})});return Dt.createElement(he.Z,null,Dt.createElement("div",null,vr&&Dt.createElement(C.Z,{open:vr,width:"700rem",maskStyle:{background:"#000",opacity:"0.1"},keyboard:!0,maskClosable:!0,closable:!1,rootClassName:n.drawer,getContainer:()=>Jt.current,onClose:()=>{Pn(!1),ki("")}},Dt.createElement("div",{className:n.detailmodal},Dt.createElement("div",null,Dt.createElement("span",{className:n.title},"\u8282\u70B9\u8BE6\u60C5"),((Ar=et==null?void 0:et.detail)==null?void 0:Ar.can_managed)&&pr!=="\u5B66\u4E60\u8DEF\u5F84"&&Dt.createElement("i",{className:"iconfont icon-bianji-moren",onClick:()=>qt(void 0,null,function*(){var Ot,Br,$r,zr,Ra,Ca,Da,ja,ti,ci;let hi=(Ot=$a==null?void 0:$a.filter(ne=>(ne==null?void 0:ne.type)==="\u88AB\u5305\u542B"&&(ne==null?void 0:ne.startNodeUuid)===((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))))==null?void 0:Ot.map(ne=>{var Pe,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Pe=Bi==null?void 0:Bi.find(at=>{var ht;return((ht=at==null?void 0:at.properties)==null?void 0:ht.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Pe.properties)==null?void 0:ke.name}}),Ri=(Br=$a==null?void 0:$a.filter(ne=>(ne==null?void 0:ne.type)==="\u5305\u542B"&&(ne==null?void 0:ne.startNodeUuid)===((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))))==null?void 0:Br.map(ne=>{var Pe,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Pe=Bi==null?void 0:Bi.find(at=>{var ht;return((ht=at==null?void 0:at.properties)==null?void 0:ht.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Pe.properties)==null?void 0:ke.name}});Lo(Ri);let ni=($r=$a==null?void 0:$a.filter(ne=>(ne==null?void 0:ne.type)==="\u524D\u5E8F"&&(ne==null?void 0:ne.startNodeUuid)===((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))))==null?void 0:$r.map(ne=>{var Pe,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Pe=Bi==null?void 0:Bi.find(at=>{var ht;return((ht=at==null?void 0:at.properties)==null?void 0:ht.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Pe.properties)==null?void 0:ke.name}}),no=(zr=$a==null?void 0:$a.filter(ne=>(ne==null?void 0:ne.type)==="\u540E\u5E8F"&&(ne==null?void 0:ne.startNodeUuid)===((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))))==null?void 0:zr.map(ne=>{var Pe,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Pe=Bi==null?void 0:Bi.find(at=>{var ht;return((ht=at==null?void 0:at.properties)==null?void 0:ht.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Pe.properties)==null?void 0:ke.name}}),ro=(Ra=$a==null?void 0:$a.filter(ne=>((ne==null?void 0:ne.type)==="\u5173\u8054"||(ne==null?void 0:ne.type)==="\u88AB\u5173\u8054")&&(ne==null?void 0:ne.startNodeUuid)===((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))))==null?void 0:Ra.map(ne=>{var Pe,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Pe=Bi==null?void 0:Bi.find(at=>{var ht;return((ht=at==null?void 0:at.properties)==null?void 0:ht.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Pe.properties)==null?void 0:ke.name}});if(Li({bh:hi,qx:ni,hx:no,gl:ro}),(mt==null?void 0:mt.colorType)=="1"){wr.Z.publish("update_a_knowledge_map",{name:mt.name,description:mt.description,nodeType:mt==null?void 0:mt.nodeType,settingbh:Ri,typesdata:{bh:hi,qx:ni,hx:no,gl:ro},items:mt});return}vi(3),Pn(!1);let de={name:mt.name,description:mt.description,label:((Da=(Ca=ka==null?void 0:ka[0])==null?void 0:Ca.labels)==null?void 0:Da[1])==="\u8D44\u6E90"?(ja=Mi==null?void 0:Mi.tagszy)==null?void 0:ja.filter(ne=>(ne==null?void 0:ne.name)===(mt==null?void 0:mt.nodeType)):(ti=Mi==null?void 0:Mi.tagslx)==null?void 0:ti.filter(ne=>(ne==null?void 0:ne.name)===(mt==null?void 0:mt.nodeType)),tag:(ci=Mi==null?void 0:Mi.tags)==null?void 0:ci.filter(ne=>{var Pe,ke;return(ke=(Pe=mt==null?void 0:mt.tags)==null?void 0:Pe.map(at=>at==null?void 0:at.name))==null?void 0:ke.includes(ne==null?void 0:ne.name)}),resourceOrigin:mt.resourceOrigin,url:(mt==null?void 0:mt.resourceOrigin)===3?mt==null?void 0:mt.resourceUrl:""};mi.setFieldsValue(de),Vr(de)}),style:{color:"#1B8565",marginLeft:10,cursor:"pointer"}})),Dt.createElement("div",{style:{display:"flex",alignItems:"center"}},(mt==null?void 0:mt.colorType)!=="1"&&((Ir=et==null?void 0:et.detail)==null?void 0:Ir.can_managed)&&pr!=="\u5B66\u4E60\u8DEF\u5F84"&&Dt.createElement(m.ZP,{type:"primary",className:n.button,onClick:(0,te.debounce)(()=>qt(void 0,null,function*(){var Ot,Br;let $r=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{nodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),subject_id:jr==null?void 0:jr.pathId,depth:1,relationshipFilter:"\u88AB\u5305\u542B>"}});if(($r==null?void 0:$r.status)===0){let zr=(Br=(Ot=$r==null?void 0:$r.data)==null?void 0:Ot.nodes)==null?void 0:Br.filter(Ca=>{var Da;return((Da=Ca==null?void 0:Ca.properties)==null?void 0:Da.uuid)!==((mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id))}),Ra=zr==null?void 0:zr.map(Ca=>{var Da,ja;return{name:(Da=Ca==null?void 0:Ca.properties)==null?void 0:Da.name,uuid:(ja=Ca==null?void 0:Ca.properties)==null?void 0:ja.uuid}});Yr.bh=Ra,Li(Yr),vi(1),Pn(!1),ta([]),Di([]),pi([])}}),500)},"\u589E\u52A0\u540C\u7EA7\u8282\u70B9"),((Jn=et==null?void 0:et.detail)==null?void 0:Jn.can_managed)&&pr!=="\u5B66\u4E60\u8DEF\u5F84"&&Dt.createElement(m.ZP,{type:"primary",className:n.button,onClick:()=>{var Ot,Br;((Br=(Ot=Yr==null?void 0:Yr.bh)==null?void 0:Ot.filter($r=>($r==null?void 0:$r.uuid)===(mt==null?void 0:mt.id)))==null?void 0:Br.length)>0||Yr.bh.push({name:mt==null?void 0:mt.name,uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id)}),vi(2),Pn(!1),ta([]),Di([]),pi([])}},"\u589E\u52A0\u5B50\u7EA7\u8282\u70B9"),((Er=et==null?void 0:et.detail)==null?void 0:Er.can_managed)&&pr!=="\u5B66\u4E60\u8DEF\u5F84"&&Dt.createElement(m.ZP,{className:n.button,onClick:()=>{let Ot="";p.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:Jt.current,content:Dt.createElement("div",null,Dt.createElement("p",null,"\u5220\u9664\u8282\u70B9\u4F1A\u540C\u6B65\u5220\u9664\u5F53\u524D\u8282\u70B9\u7684\u5B50\u7EA7\u8282\u70B9\uFF0C\u8BF7\u5728\u4E0B\u65B9\u8F93\u5165\u6846\u8F93\u5165",Dt.createElement("span",{style:{color:"red"}},"\u201C\u786E\u8BA4\u5220\u9664\u201D")),Dt.createElement(E.default,{onChange:Br=>{Ot=Br.target.value}})),onOk:()=>qt(void 0,null,function*(){if(Ot!=="\u786E\u8BA4\u5220\u9664")return _.ZP.info("\u8BF7\u8F93\u5165\u786E\u8BA4\u5220\u9664"),Promise.reject();if(Ot==="\u786E\u8BA4\u5220\u9664"){let Br=yield(0,t.ZP)("/api/knowledge/v2/del_node.json",{method:"post",body:{uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),subject_id:jr==null?void 0:jr.pathId}});(Br==null?void 0:Br.status)===0&&(_.ZP.info("\u5220\u9664\u6210\u529F"),To({graphable_id:jr==null?void 0:jr.pathId}),(mt==null?void 0:mt.colorType)!=="1"?(yr(!1),Vn()):Mr(),Pn(!1))}})})}},"\u5220\u9664\u8282\u70B9"),((ra=et==null?void 0:et.detail)==null?void 0:ra.can_managed)&&pr==="\u5B66\u4E60\u8DEF\u5F84"&&io.get("type")==="classrooms"&&Dt.createElement(m.ZP,{type:"primary",className:n.button,onClick:()=>{p.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:Jt.current,okText:"\u786E\u8BA4\u540C\u6B65",content:Dt.createElement("div",null,"\u8BE5\u8282\u70B9\u4E0B\u5171",Dt.createElement("span",{className:"c-light-primary"},mt==null?void 0:mt.currentResourceTotal),"\u4E2A\u8D44\u6E90\uFF0C\u786E\u8BA4\u540C\u6B65\u540E\uFF0C\u8FD9\u4E9B\u8D44\u6E90\u5C06\u6309\u7167\u7C7B\u578B\u5206\u522B\u53D1\u9001\u5230\u8BFE\u5802\u5B9E\u9A8C\u3001\u56FE\u6587\u4F5C\u4E1A\u3001\u5728\u7EBF\u8003\u8BD5\u3001\u89C6\u9891\u76F4\u64AD\u3001\u6559\u5B66\u8D44\u6599\u6A21\u5757\u4E2D\uFF0C\u53EF\u524D\u5F80\u5BF9\u5E94\u6A21\u5757\u8FDB\u884C\u8D44\u6E90\u53D1\u5E03\u7B49\u64CD\u4F5C\u3002"),onOk:()=>qt(void 0,null,function*(){const Ot=yield(0,t.ZP)("/api/subject_knowledge/send_to_course",{method:"post",body:{id:mt==null?void 0:mt.resourceid,subject_id:jr==null?void 0:jr.pathId}});(Ot==null?void 0:Ot.status)===0&&_.ZP.success("\u64CD\u4F5C\u6210\u529F")})})}},"\u540C\u6B65\u8D44\u6E90\u5230\u8BFE\u5802"),Dt.createElement(a.Z,{onClick:()=>{Pn(!1)},style:{marginLeft:"10rem",fontSize:"16rem",color:"#979797"}}))),Dt.createElement("div",{className:n.tabstyle},zn==null?void 0:zn.map(Ot=>Dt.createElement("div",{onClick:()=>{Zr(Ot.key),Ot.key===4&&zo()},className:Ur===(Ot==null?void 0:Ot.key)?n.itemsactivite:n.items},Ot==null?void 0:Ot.name))),Ur===1&&Dt.createElement("div",null,Dt.createElement("div",{className:n.nodetitle},ua===1&&Dt.createElement(c.Z,{onClick:()=>Ya(2)}),ua===2&&Dt.createElement(u.Z,{onClick:()=>Ya(1)}),Dt.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5C5E\u6027")),ua===2&&Dt.createElement("div",{className:n.nodeboyd},Dt.createElement("div",{className:n.listitem,style:{marginTop:"0rem"}},Dt.createElement("label",null,"\u8282\u70B9\u540D\u79F0"),Dt.createElement("span",null,mt==null?void 0:mt.name)),Dt.createElement("div",{className:n.listitem},Dt.createElement("label",null,"\u8282\u70B9\u7B80\u4ECB"),Dt.createElement("pre",null,(mt==null?void 0:mt.description)||"\u6682\u65E0")),Dt.createElement("div",{className:n.listitem},Dt.createElement("label",null,"\u8282\u70B9\u7C7B\u578B"),Dt.createElement("div",null,(mt==null?void 0:mt.nodeType)&&Dt.createElement(I,{containerRef:Jt,type:5,value:[{name:mt==null?void 0:mt.nodeType}],pathsDetail:et,showmodal:!1,dataSources:[]})," ")),Dt.createElement("div",{className:n.listitem},Dt.createElement("label",null,"\u8282\u70B9\u6807\u7B7E"),Dt.createElement("span",null,((Gr=mt==null?void 0:mt.tags)==null?void 0:Gr.length)>0&&Dt.createElement(I,{containerRef:Jt,type:5,pathsDetail:et,value:mt==null?void 0:mt.tags,showmodal:!1,dataSources:[]}))),(mt==null?void 0:mt.nodeType)==="\u89C6\u9891"&&(mt==null?void 0:mt.resourceOrigin)!==3&&ao&&Dt.createElement("div",{style:{height:"300rem",marginTop:"20rem"}},Dt.createElement(X.Z,{allow_skip:!0,videoId:ao,toLog:!0,src:mt==null?void 0:mt.resourceUrl,logWatchHistory:Ot=>Vi(Zt(Sn({},Ot),{container_type:localStorage.getItem("container_type_tupu"),items:mt}))})),(mt==null?void 0:mt.resourceOrigin)===3&&Dt.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},Dt.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},mt==null?void 0:mt.resourceUrl),Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){let Ot=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:mt==null?void 0:mt.uuid}});window.open(mt==null?void 0:mt.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(mt==null?void 0:mt.nodeType)==="\u9898\u96C6"&&(si==null?void 0:si.map(Ot=>Dt.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:"10rem"}},Dt.createElement(d.Z,{title:Ot==null?void 0:Ot.name},Dt.createElement("span",{className:n.multiple,style:{color:"#1B8565",fontSize:"16rem",maxWidth:"80%"}},Ot==null?void 0:Ot.name)),Dt.createElement("div",{style:{marginLeft:"10rem",padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",Ot==null?void 0:Ot.count)))),(mt==null?void 0:mt.nodeType)!="\u89C6\u9891"&&(mt==null?void 0:mt.nodeType)!="\u9898\u96C6"&&(mt!=null&&mt.resourceOrigin)&&[1,2].includes(mt==null?void 0:mt.resourceOrigin)?Dt.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},Dt.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},(mt==null?void 0:mt.resourceOrigin)===1?(Dr=Sr==null?void 0:Sr[0])==null?void 0:Dr.name:(ur=wa==null?void 0:wa[0])==null?void 0:ur.name),(0,ce.JA)()&&((mt==null?void 0:mt.nodeType)==="\u8BD5\u5377"||(mt==null?void 0:mt.nodeType)==="\u8BD5\u9898")?"":Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){ji(mt==null?void 0:mt.resourceUrl);let Ot=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:mt==null?void 0:mt.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((mt==null?void 0:mt.nodeType)==="\u8BD5\u5377"||(mt==null?void 0:mt.nodeType)==="\u8BD5\u9898")&&(mt==null?void 0:mt.resourceOrigin)===1&&Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){var Ot,Br;const $r=yield(0,tt.Mb)({categoryId:(Ot=Sr==null?void 0:Sr[0])==null?void 0:Ot.id});$r!=null&&$r.exercise_id&&(0,Re.xg)(`/classrooms/coursesId/exercise/${$r.exercise_id}/${(Br=Ft.userInfo)==null?void 0:Br.login}/initate_answer`)}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):""),Dt.createElement("div",{className:n.nodetitle},ma===1&&Dt.createElement(c.Z,{onClick:()=>Ka(2)}),ma===2&&Dt.createElement(u.Z,{onClick:()=>Ka(1)}),Dt.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5173\u7CFB")),ma===2&&Dt.createElement("div",{className:n.nodeboyd,style:{padding:0,minHeight:"530rem"}},Dt.createElement(l.default,{className:n.Tabs,activeKey:Uo,destroyInactiveTabPane:!0,onChange:Ot=>{go(parseInt(Ot))},type:"card",items:Do}))),Ur===4&&Dt.createElement(o.Z,{spinning:eo},Dt.createElement("div",null,(bi==null?void 0:bi.length)===0&&Dt.createElement($n.Z,{text:"\u5F53\u524D\u8282\u70B9\u4E0B\u6682\u65E0\u8D44\u6E90"}),bi==null?void 0:bi.map(Ot=>{var Br;return Dt.createElement("div",{className:n.gllist},Dt.createElement("div",{style:{display:"flex",alignItems:"center"}},Dt.createElement("div",{className:n.gltag,style:{background:((Br=Xn==null?void 0:Xn.find($r=>($r==null?void 0:$r.name)==(Ot==null?void 0:Ot.nodeType)))==null?void 0:Br.color)||"#2D947C"}},Ot==null?void 0:Ot.nodeType),Dt.createElement("div",{className:n.multiple,style:{flex:1}},Ot==null?void 0:Ot.name)),Dt.createElement("div",{style:{marginTop:20,color:"#5F6368",display:"flex",alignItems:"center",justifyContent:"space-between"}},Dt.createElement("div",{style:{flex:1}}),Dt.createElement("div",null,(Ot==null?void 0:Ot.nodeType)==="\u89C6\u9891"&&(Ot==null?void 0:Ot.resourceOrigin)!==3&&Dt.createElement(m.ZP,{type:"primary",onClick:()=>qt(void 0,null,function*(){var $r;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:Ot==null?void 0:Ot.resourceUrl,item_banks_group_ids:mt==null?void 0:mt.itemBanksGroupIds}});((($r=zr==null?void 0:zr.attachment)==null?void 0:$r.file_type)==="video"||(zr==null?void 0:zr.container_type)==="video")&&p.default.confirm({title:"\u64AD\u653E\u89C6\u9891",icon:null,closable:!0,footer:null,centered:!0,width:500,content:Dt.createElement(X.Z,{allow_skip:!0,videoId:zr==null?void 0:zr.id,toLog:!0,src:Ot==null?void 0:Ot.resourceUrl,logWatchHistory:Ra=>Wo(Zt(Sn({},Ra),{uuid:Ot==null?void 0:Ot.uuid,container_type:zr==null?void 0:zr.container_type,item:Ot}))})})})},"\u64AD\u653E\u89C6\u9891"),(Ot==null?void 0:Ot.resourceOrigin)===3&&Dt.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){let $r=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:Ot==null?void 0:Ot.uuid}});window.open(Ot==null?void 0:Ot.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(Ot==null?void 0:Ot.nodeType)!="\u89C6\u9891"&&(Ot==null?void 0:Ot.nodeType)!="\u9898\u96C6"&&(Ot!=null&&Ot.resourceOrigin)&&[1,2].includes(Ot==null?void 0:Ot.resourceOrigin)?Dt.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},(0,ce.JA)()&&((Ot==null?void 0:Ot.nodeType)==="\u8BD5\u5377"||(Ot==null?void 0:Ot.nodeType)==="\u8BD5\u9898")?"":Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){ji(Ot==null?void 0:Ot.resourceUrl);let $r=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:Ot==null?void 0:Ot.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((Ot==null?void 0:Ot.nodeType)==="\u8BD5\u5377"||(Ot==null?void 0:Ot.nodeType)==="\u8BD5\u9898")&&(Ot==null?void 0:Ot.resourceOrigin)===1&&Dt.createElement(m.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>qt(void 0,null,function*(){var $r;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:Ot==null?void 0:Ot.resourceUrl,item_banks_group_ids:mt==null?void 0:mt.itemBanksGroupIds}});if((Ot==null?void 0:Ot.resourceOrigin)===1&&(Ot==null?void 0:Ot.nodeType)!=="\u9898\u96C6"&&(zr==null?void 0:zr.status)===0){const Ra=yield(0,tt.Mb)({categoryId:zr==null?void 0:zr.examination_bank_id});Ra!=null&&Ra.exercise_id&&(0,Re.xg)(`/classrooms/coursesId/exercise/${Ra.exercise_id}/${($r=Ft.userInfo)==null?void 0:$r.login}/initate_answer`)}}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):"")))}))),Ur===3&&Dt.createElement("div",null,(0,ce.JA)()?Dt.createElement(Ie,{uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id)}):Dt.createElement(Z,{uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id)}))),Dt.createElement(p.default,{title:Dt.createElement("span",{style:{fontSize:"18rem",color:"#000"}},za===3?"\u7F16\u8F91":"\u521B\u5EFA","\u8282\u70B9"),centered:!0,destroyOnClose:!0,width:"1200rem",open:za>0,getContainer:()=>Jt.current,onCancel:()=>{vi(0),mi.resetFields(),Li({qx:[],bh:[],hx:[],gl:[]}),pi([]),Vr({}),ta([]),Di([])},okButtonProps:{loading:Co},onOk:()=>{mi.submit()}},Dt.createElement("div",{className:n.addmodal},Dt.createElement("div",{className:n.title},"\u8282\u70B9\u5C5E\u6027"),Dt.createElement(P.default,{className:n.form,labelCol:{flex:"92rem"},layout:"horizontal",form:mi,colon:!1,onValuesChange:(Ot,Br)=>{var $r,zr,Ra,Ca;Vr(Sn({},Br)),(Br==null?void 0:Br.resourceOrigin)!==1&&ta([]),((zr=($r=Br==null?void 0:Br.label)==null?void 0:$r[0])==null?void 0:zr.name)!=="\u9898\u96C6"&&Di([]),((Ca=(Ra=Br==null?void 0:Br.label)==null?void 0:Ra[0])==null?void 0:Ca.item_type)!==2&&(ta([]),pi([]),Di([]),mi.setFieldsValue({resourceOrigin:0,url:""}))},onFinish:(0,te.debounce)(Ot=>qt(void 0,null,function*(){var Br,$r,zr,Ra,Ca,Da,ja,ti,ci,hi,Ri,ni,no,ro,de,ne,Pe,ke,at,ht,Nt,wt,zt,Vt,Cn,on,nn,tn,pn,S,R,W,H,G,J,ue,ae,Ae,pe,we,Ke,Ye,gt,ct,nt,it,Tt,Ct,Kt,Ht;if(((Br=Yr==null?void 0:Yr.bh)==null?void 0:Br.length)===0){_.ZP.warning("\u8282\u70B9\u5305\u542B\u5173\u7CFB\u4E0D\u80FD\u4E3A\u7A7A");return}if((Ot==null?void 0:Ot.resourceOrigin)===0){_.ZP.warning("\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B");return}if((Ot==null?void 0:Ot.resourceOrigin)===1&&(Sr==null?void 0:Sr.length)<=0&&(($r=Ot==null?void 0:Ot.label[0])==null?void 0:$r.name)!=="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((Ot==null?void 0:Ot.resourceOrigin)===1&&(si==null?void 0:si.length)<=0&&((zr=Ot==null?void 0:Ot.label[0])==null?void 0:zr.name)==="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((Ot==null?void 0:Ot.resourceOrigin)===2&&(wa==null?void 0:wa.length)===0){_.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}qi(!0);let Wn=za===3?"/api/knowledge/v2/mod_node.json":"/api/knowledge/v2/add_node.json",ln=za===3?{subject_id:jr==null?void 0:jr.pathId,properties:{description:Ot.description,rootNodeUuid:mt==null?void 0:mt.rootNodeUuid,name:Ot.name,uuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),nodeType:(Ra=Ot==null?void 0:Ot.label[0])==null?void 0:Ra.name,tags:((Da=(Ca=Ot.tag)==null?void 0:Ca.map(Hn=>Hn==null?void 0:Hn.name))==null?void 0:Da.join("\uFF0C"))||"",color:mt==null?void 0:mt.color,resourceOrigin:Ot.resourceOrigin,resourceUrl:Ot.resourceOrigin===3?Ot.url:Ot.resourceOrigin===2?((ci=(ti=(ja=wa==null?void 0:wa[0])==null?void 0:ja.response)==null?void 0:ti.url)==null?void 0:ci.indexOf("educoder.net"))>-1?(Ri=(hi=wa==null?void 0:wa[0])==null?void 0:hi.response)==null?void 0:Ri.url:((ni=At==null?void 0:At.setting)==null?void 0:ni.public_bucket_host)+((ro=(no=wa==null?void 0:wa[0])==null?void 0:no.response)==null?void 0:ro.url):(de=Sr==null?void 0:Sr[0])==null?void 0:de.url,container_type:((ne=Ot==null?void 0:Ot.label[0])==null?void 0:ne.name)==="\u9898\u96C6"?"ItemBanksGroup":(Ot.resourceOrigin===1||Ot.resourceOrigin===2)&&((Pe=Sr==null?void 0:Sr[0])==null?void 0:Pe.container_type)||((at=(ke=wa==null?void 0:wa[0])==null?void 0:ke.response)==null?void 0:at.container_type),container_id:(Ot.resourceOrigin===1||Ot.resourceOrigin===2)&&((ht=Sr==null?void 0:Sr[0])==null?void 0:ht.container_id)||((wt=(Nt=wa==null?void 0:wa[0])==null?void 0:Nt.response)==null?void 0:wt.container_id),itemBanksGroupIds:si==null?void 0:si.map(Hn=>Hn==null?void 0:Hn.group_id).toString()},subgraphNodeUuid:Ln,relationships:[...(zt=Yr.bh)==null?void 0:zt.map(Hn=>({startNodeUuid:Hn.uuid,endNodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),type:"\u5305\u542B"})),...Gi==null?void 0:Gi.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),type:"\u5305\u542B"})),...(Vt=Yr.qx)==null?void 0:Vt.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),type:"\u524D\u5E8F"})),...(Cn=Yr.hx)==null?void 0:Cn.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),type:"\u540E\u5E8F"})),...(on=Yr.gl)==null?void 0:on.map(Hn=>({startNodeUuid:Hn.uuid,endNodeUuid:(mt==null?void 0:mt.keys)||(mt==null?void 0:mt.id),type:"\u5173\u8054"}))]}:{label:((nn=Ot==null?void 0:Ot.label[0])==null?void 0:nn.item_type)===1?"\u6807\u7B7E":"\u8D44\u6E90",subject_id:jr==null?void 0:jr.pathId,properties:{description:Ot.description,rootNodeUuid:mt==null?void 0:mt.rootNodeUuid,name:Ot.name,nodeType:(tn=Ot==null?void 0:Ot.label[0])==null?void 0:tn.name,tags:((S=(pn=Ot.tag)==null?void 0:pn.map(Hn=>Hn==null?void 0:Hn.name))==null?void 0:S.join("\uFF0C"))||"",color:za===1?"2":parseInt(mt==null?void 0:mt.colorType)+1+"",resourceOrigin:Ot.resourceOrigin,resourceUrl:Ot.resourceOrigin===3?Ot.url:Ot.resourceOrigin===2?((H=(W=(R=wa==null?void 0:wa[0])==null?void 0:R.response)==null?void 0:W.url)==null?void 0:H.indexOf("educoder.net"))>-1?(J=(G=wa==null?void 0:wa[0])==null?void 0:G.response)==null?void 0:J.url:((ue=At==null?void 0:At.setting)==null?void 0:ue.public_bucket_host)+((Ae=(ae=wa==null?void 0:wa[0])==null?void 0:ae.response)==null?void 0:Ae.url):(pe=Sr==null?void 0:Sr[0])==null?void 0:pe.url,container_type:((we=Ot==null?void 0:Ot.label[0])==null?void 0:we.name)==="\u9898\u96C6"?"ItemBanksGroup":(Ot.resourceOrigin===1||Ot.resourceOrigin===2)&&((Ke=Sr==null?void 0:Sr[0])==null?void 0:Ke.container_type)||((gt=(Ye=wa==null?void 0:wa[0])==null?void 0:Ye.response)==null?void 0:gt.container_type),container_id:(Ot.resourceOrigin===1||Ot.resourceOrigin===2)&&((ct=Sr==null?void 0:Sr[0])==null?void 0:ct.container_id)||((it=(nt=wa==null?void 0:wa[0])==null?void 0:nt.response)==null?void 0:it.container_id),itemBanksGroupIds:si==null?void 0:si.map(Hn=>Hn==null?void 0:Hn.group_id).toString()},subgraphNodeUuid:Ln,relationships:[...(Tt=Yr.bh)==null?void 0:Tt.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u5305\u542B"})),...(Ct=Yr.qx)==null?void 0:Ct.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u524D\u5E8F"})),...(Kt=Yr.hx)==null?void 0:Kt.map(Hn=>({endNodeUuid:Hn.uuid,type:"\u540E\u5E8F"})),...(Ht=Yr.gl)==null?void 0:Ht.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u5173\u8054"}))]};const rr=yield(0,t.ZP)(Wn,{method:"POST",body:ln});qi(!1),(rr==null?void 0:rr.status)===0&&(To({graphable_id:jr==null?void 0:jr.pathId}),_.ZP.info(za===3?"\u7F16\u8F91\u6210\u529F":"\u521B\u5EFA\u6210\u529F"),vi(0),yr(!1),Vn(),mi.resetFields(),pi([]),Vr({}),ta([]),Di([]),Li({qx:[],hx:[],bh:[],gl:[]}))}),500),size:"large"},Dt.createElement(P.default.Item,{label:"\u8282\u70B9\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8282\u70B9\u540D\u79F0"},{type:"string",max:200,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},Dt.createElement(E.default,{maxLength:200,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),Dt.createElement(P.default.Item,{label:"\u8282\u70B9\u7B80\u4ECB",name:"description",rules:[{type:"string",max:5e3,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{type:"string",whitespace:!0,message:"\u5185\u5BB9\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C"}]},Dt.createElement(E.default.TextArea,{maxLength:5e3,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),Dt.createElement(P.default.Item,{label:"\u8282\u70B9\u7C7B\u578B",name:"label",style:{marginBottom:"0rem"},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8282\u70B9\u7C7B\u578B"}]},Dt.createElement(I,{containerRef:Jt,type:5,pathsDetail:et,showmodal:za!==3,dataSources:[]})),((da=(ca=ir==null?void 0:ir.label)==null?void 0:ca[0])==null?void 0:da.item_type)===2&&Dt.createElement(P.default.Item,{label:" ",name:"resourceOrigin",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B"}]},Dt.createElement(g.ZP.Group,{className:n.radioform},Dt.createElement(g.ZP,{value:1},"\u9009\u62E9\u5E73\u53F0\u8D44\u6E90"),((fa=(sa=ir==null?void 0:ir.label)==null?void 0:sa[0])==null?void 0:fa.name)!=="\u9898\u96C6"&&Dt.createElement(g.ZP,{value:2},"\u4E0A\u4F20\u6587\u4EF6"),((Ea=(qr=ir==null?void 0:ir.label)==null?void 0:qr[0])==null?void 0:Ea.name)!=="\u9898\u96C6"&&Dt.createElement(g.ZP,{value:3},"\u5916\u94FE"))),(ir==null?void 0:ir.resourceOrigin)===1&&((Qr=(Lr=ir==null?void 0:ir.label)==null?void 0:Lr[0])==null?void 0:Qr.item_type)===2&&Dt.createElement(P.default.Item,{label:" ",name:""},Dt.createElement(m.ZP,{onClick:()=>{var Ot,Br,$r,zr,Ra,Ca,Da,ja;((Br=(Ot=ir==null?void 0:ir.label)==null?void 0:Ot[0])==null?void 0:Br.name)==="\u9898\u96C6"?(oo(!0),Si(si),yo()):((zr=($r=ir==null?void 0:ir.label)==null?void 0:$r[0])==null?void 0:zr.name)==="\u8BD5\u9898"?Ao(!0):(yn(!0),xa(((Ca=(Ra=ir==null?void 0:ir.label)==null?void 0:Ra[0])==null?void 0:Ca.name)==="\u89C6\u9891"?"2":((ja=(Da=ir==null?void 0:ir.label)==null?void 0:Da[0])==null?void 0:ja.name)==="\u8BD5\u5377"?"4":"1"))},type:"primary",style:{height:"40rem",lineHeight:"40rem",padding:"0rem 32rem",boxShadow:"none"}},((kn=(vn=ir==null?void 0:ir.label)==null?void 0:vn[0])==null?void 0:kn.name)==="\u9898\u96C6"?"\u9009\u62E9\u9898\u96C6":"\u9009\u62E9\u8D44\u6E90"),(Sr==null?void 0:Sr.length)>0&&Dt.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},Dt.createElement("div",{className:n.multiple,title:(Yn=Sr==null?void 0:Sr[0])==null?void 0:Yn.name},((Nr=Sr==null?void 0:Sr[0])==null?void 0:Nr.name)||mi.getFieldValue("name")+"\uFF08"+((Gt=Sr==null?void 0:Sr[0])==null?void 0:Gt.question_count)+"\uFF09"),Dt.createElement("i",{style:{fontSize:"16rem",cursor:"pointer",marginLeft:"10rem"},onClick:()=>{ta([])},className:"iconfont icon-shanchu12"})," "),(si==null?void 0:si.length)>0&&(si==null?void 0:si.map(Ot=>Dt.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},Dt.createElement("div",{className:n.multiple,title:Ot==null?void 0:Ot.name},Ot==null?void 0:Ot.name),Dt.createElement("i",{style:{fontSize:"16rem",cursor:"pointer",marginLeft:"10rem"},onClick:()=>{Di(si==null?void 0:si.filter(Br=>(Br==null?void 0:Br.group_id)!==(Ot==null?void 0:Ot.group_id)))},className:"iconfont icon-shanchu12"})," ")))),(ir==null?void 0:ir.resourceOrigin)===2&&((ya=(Xr=ir==null?void 0:ir.label)==null?void 0:Xr[0])==null?void 0:ya.item_type)===2&&Dt.createElement(P.default.Item,{label:" ",name:"file",shouldUpdate:!0},Dt.createElement(N.default,Sn({},to),Dt.createElement(m.ZP,{type:"primary",style:{height:"40rem",lineHeight:"40rem",padding:"0rem 32rem",boxShadow:"none"}},"\u4E0A\u4F20\u6587\u4EF6"))),(ir==null?void 0:ir.resourceOrigin)===3&&((Aa=(oa=ir==null?void 0:ir.label)==null?void 0:oa[0])==null?void 0:Aa.item_type)===2&&Dt.createElement(P.default.Item,{label:" ",name:"url"},Dt.createElement(P.default.Item,{label:"\u5916\u94FE\u94FE\u63A5",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5916\u94FE"}]},Dt.createElement(E.default,{style:{height:"40rem"}}))),Dt.createElement(P.default.Item,{label:"\u8282\u70B9\u6807\u7B7E",name:"tag"},Dt.createElement(I,{containerRef:Jt,type:3,pathsDetail:et,showmodal:!0,dataSources:[]})))),Dt.createElement("div",{className:n.addmodal,style:{marginTop:"20rem"}},Dt.createElement("div",{className:n.title},Dt.createElement("span",null,"\u8282\u70B9\u5173\u7CFB"),Dt.createElement("span",{style:{cursor:"pointer"},onClick:()=>{wo()}},"\u5173\u7CFB\u8BBE\u7F6E")),Dt.createElement("div",{className:n.gxcoent,style:{padding:"20rem 25rem"}},Dt.createElement("div",{className:n.gxtitle},Dt.createElement("div",{className:n.Colortitle,style:{background:"#6236ff"}}),Dt.createElement("div",null,"\u88AB\u5305\u542B\uFF08",(Zn=Yr.bh)==null?void 0:Zn.length,"\uFF09")),Dt.createElement("div",{className:n.gxbody},(na=Yr==null?void 0:Yr.bh)==null?void 0:na.map(Ot=>Dt.createElement("div",{className:n.tag,style:{background:"#6236ff"}},Dt.createElement("span",{style:{marginRight:"10rem"}},Ot==null?void 0:Ot.name)," ",Dt.createElement(a.Z,{onClick:()=>{var Br;let $r=(Br=Yr==null?void 0:Yr.bh)==null?void 0:Br.filter(zr=>zr.uuid!==Ot.uuid);Li({bh:$r,hx:Yr==null?void 0:Yr.hx,qx:Yr==null?void 0:Yr.qx,gl:Yr==null?void 0:Yr.gl})}})))),Dt.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},Dt.createElement("div",{className:n.Colortitle,style:{background:"#24A881"}}),Dt.createElement("div",null,"\u524D\u5E8F\uFF08",(la=Yr.qx)==null?void 0:la.length,"\uFF09")),Dt.createElement("div",{className:n.gxbody},(Jr=Yr==null?void 0:Yr.qx)==null?void 0:Jr.map(Ot=>Dt.createElement("div",{className:n.tag,style:{background:"#24A881"}},Dt.createElement("span",{style:{marginRight:"10rem"}},Ot==null?void 0:Ot.name)," ",Dt.createElement(a.Z,{onClick:()=>{var Br;let $r=(Br=Yr==null?void 0:Yr.qx)==null?void 0:Br.filter(zr=>zr.uuid!==Ot.uuid);Li({qx:$r,bh:Yr==null?void 0:Yr.bh,hx:Yr==null?void 0:Yr.hx,gl:Yr==null?void 0:Yr.gl})}})))),Dt.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},Dt.createElement("div",{className:n.Colortitle,style:{background:"#EC8657"}}),Dt.createElement("div",null,"\u540E\u5E8F\uFF08",(_a=Yr.hx)==null?void 0:_a.length,"\uFF09")),Dt.createElement("div",{className:n.gxbody},(ha=Yr==null?void 0:Yr.hx)==null?void 0:ha.map(Ot=>Dt.createElement("div",{className:n.tag,style:{background:"#EC8657"}},Dt.createElement("span",{style:{marginRight:"10rem"}},Ot==null?void 0:Ot.name)," ",Dt.createElement(a.Z,{onClick:()=>{var Br;let $r=(Br=Yr==null?void 0:Yr.hx)==null?void 0:Br.filter(zr=>zr.uuid!==Ot.uuid);Li({qx:Yr==null?void 0:Yr.qx,bh:Yr==null?void 0:Yr.bh,hx:$r,gl:Yr==null?void 0:Yr.gl})}})))),Dt.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},Dt.createElement("div",{className:n.Colortitle,style:{background:"#497DFF"}}),Dt.createElement("div",null,"\u5173\u8054\uFF08",(Ua=Yr.gl)==null?void 0:Ua.length,"\uFF09")),Dt.createElement("div",{className:n.gxbody},(Xa=Yr==null?void 0:Yr.gl)==null?void 0:Xa.map(Ot=>Dt.createElement("div",{className:n.tag,style:{background:"#497DFF"}},Dt.createElement("span",{style:{marginRight:"10rem"}},Ot==null?void 0:Ot.name)," ",Dt.createElement(a.Z,{onClick:()=>{var Br;let $r=(Br=Yr==null?void 0:Yr.gl)==null?void 0:Br.filter(zr=>zr.uuid!==Ot.uuid);Li({qx:Yr==null?void 0:Yr.qx,hx:Yr==null?void 0:Yr.hx,bh:Yr==null?void 0:Yr.bh,gl:$r})}}))))))),Dt.createElement(p.default,{title:"\u9009\u62E9\u9898\u96C6",open:bo,destroyOnClose:!0,centered:!0,getContainer:()=>Jt.current,width:"1200rem",onOk:()=>{if((lo==null?void 0:lo.length)<=0){_.ZP.info("\u8BF7\u9009\u62E9\u9898\u96C6");return}Di(lo),oo(!1)},onCancel:()=>{Si([]),oo(!1)}},Dt.createElement(r.default,{checkable:!0,style:{margin:20,maxHeight:400,overflow:"auto"},blockNode:!0,checkStrictly:!0,checkedKeys:lo==null?void 0:lo.map(Ot=>Ot==null?void 0:Ot.group_id),onCheck:(Ot,Br)=>{Si(Br==null?void 0:Br.checkedNodes)},treeData:so,fieldNames:{key:"group_id",title:"name"},titleRender:Ot=>Dt.createElement("div",{style:{display:"flex",alignItems:"center",paddingRight:"14px"}},Dt.createElement(d.Z,{title:Ot==null?void 0:Ot.name},Dt.createElement("div",{className:n.multiple,style:{display:"flex",alignItems:"center",maxWidth:"80%"}},Dt.createElement("img",{src:je,style:{marginRight:10}}),Dt.createElement("span",null,Ot==null?void 0:Ot.name))),Dt.createElement("div",{style:{padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",Ot==null?void 0:Ot.count))})),Dt.createElement(p.default,{title:"\u9009\u62E9\u5E73\u53F0\u8D44\u6E90",open:La,destroyOnClose:!0,centered:!0,getContainer:()=>Jt.current,width:"1200rem",onOk:()=>{yn(!1)},onCancel:()=>{yn(!1),za!==3&&ta([]),xa("1")}},Dt.createElement("div",{className:n.settingmodal},Dt.createElement(l.default,{className:n.Tabs,activeKey:cr,destroyInactiveTabPane:!0,onChange:Ot=>{xa(Ot)},type:"card",items:((ei=(Wa=ir==null?void 0:ir.label)==null?void 0:Wa[0])==null?void 0:ei.name)==="\u89C6\u9891"?po.filter(Ot=>(Ot==null?void 0:Ot.label)==="\u89C6\u9891"):((va=(Fa=ir==null?void 0:ir.label)==null?void 0:Fa[0])==null?void 0:va.name)==="\u8BD5\u5377"?po.filter(Ot=>(Ot==null?void 0:Ot.label)==="\u8BD5\u5377"):po.filter(Ot=>(Ot==null?void 0:Ot.label)!=="\u89C6\u9891")}))),Yi&&Dt.createElement(tr,{setScoreShow:Ao,isshixuns:Ro,ScoreShow:Yi,listitem:Sr==null?void 0:Sr[0],isloadings:No,onOk:(Ot,Br,$r,zr)=>qt(void 0,null,function*(){ia(!0);let Ra={item_bank_ids:Ot,shixun_ids:Br,name:mi.getFieldValue("name")+"\uFF08"+(parseInt(Ot.length)+parseInt(Br.length))+"\u9053\uFF09",subject_id:jr==null?void 0:jr.pathId};ia(!1);let Ca=yield(0,t.ZP)("/api/knowledge/v2/create_by_knowledge.json",{method:"post",body:Ra});if((Ca==null?void 0:Ca.status)===0){Ao(!1);let Da={container_id:Ca==null?void 0:Ca.container_id,container_type:Ca==null?void 0:Ca.container_type,url:Ca==null?void 0:Ca.resourceUrl,question_count:Ca==null?void 0:Ca.question_count,questionIdArr:Ot,shixun_ids:Br};ta([Da])}})}),Dt.createElement(ze.Z,{close:!0,style:{zIndex:1300,background:"rgba(1, 10, 35, 0.5)"},data:Ni==null?void 0:Ni.url,type:Ni==null?void 0:Ni.file_type,disabledDownload:!0,onClose:()=>xo({})}),Dt.createElement(p.default,{title:"\u5173\u7CFB\u8BBE\u7F6E",open:Ha,destroyOnClose:!0,centered:!0,getContainer:()=>Jt.current,width:"1200rem",onCancel:()=>{Oa(!1);let Ot=JSON.parse(sessionStorage.getItem("typesdatajson"));Li(Ot)},onOk:()=>{let Ot=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));Li(Ot),Oa(!1)}},Dt.createElement("div",{className:n.settingmodal},Dt.createElement(l.default,{className:n.Tabs,activeKey:Ho,destroyInactiveTabPane:!0,onChange:Ot=>{fo(Ot)},type:"card",items:So})))))};var Pr=(0,k.connect)(({pathsDetail:et,user:Ft,loading:At,globalSetting:En})=>({pathsDetail:et,user:Ft,globalSetting:En,loading:At.models.index}))(gr)},43332:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return E}});var h={noData:"noData___Luxe1"},k=O(14006),P=O(92310),_=O.n(P),N=O(25399),C=O(61485),m=O(59301),E=({style:d={},className:l,text:o="\u6682\u65E0\u6570\u636E",textColor:g="#666",buttonText:r,buttonTexttow:n,ontwoClick:a,onClick:c})=>m.createElement("div",{className:_()(h.noData,l),style:d},m.createElement("img",{src:k}),!!o&&m.createElement("span",{style:{color:g}},o),m.createElement("span",{style:{display:"flex"}},!!r&&m.createElement("div",{onClick:c},r),!!n&&m.createElement("div",{style:{marginLeft:"20rem",display:"flex",alignItems:"center",justifyContent:"center"},onClick:a},n," ",m.createElement(N.Z,{title:"\u6839\u636E\u65E7\u7248\u77E5\u8BC6\u56FE\u8C31\u5185\u5BB9\u6216\u8BFE\u7A0B\u7AE0\u8282\u53CA\u8D44\u6E90\u5185\u5BB9\u81EA\u52A8\u751F\u6210\u77E5\u8BC6\u56FE\u8C31"},m.createElement(C.Z,{style:{color:"#fff",marginLeft:5,marginTop:0}})))))},37295:function(Nn,pt,O){"use strict";O.d(pt,{BU:function(){return k},Dj:function(){return h},gH:function(){return P},vp:function(){return _}});function h(N){try{N.mozRequestFullScreen?N.mozRequestFullScreen():N.webkitRequestFullScreen&&N.webkitRequestFullScreen()}catch(C){console.log(C,":e")}}function k(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const P=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function _(){var N=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,C=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",N),window.isFullScreen?window.isFullScreen:N!=null}},63596:function(Nn,pt,O){"use strict";O.d(pt,{U:function(){return E}});var h=O(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,C=(d,l,o)=>l in d?k(d,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[l]=o,m=(d,l)=>{for(var o in l||(l={}))_.call(l,o)&&C(d,o,l[o]);if(P)for(var o of P(l))N.call(l,o)&&C(d,o,l[o]);return d},p=(d,l,o)=>new Promise((g,r)=>{var n=u=>{try{c(o.next(u))}catch(s){r(s)}},a=u=>{try{c(o.throw(u))}catch(s){r(s)}},c=u=>u.done?g(u.value):Promise.resolve(u.value).then(n,a);c((o=o.apply(d,l)).next())});function E(d,l){const[o,g]=(0,h.useState)(l),[r,n]=(0,h.useState)(!1),[a,c]=(0,h.useState)();return[o,r,(s,v=!1)=>p(this,null,function*(){const e=v?l:m(m({},o),s);n(!0),g(e);const t=yield d(e);return n(!1),c(t),t}),a,c]}},74410:function(Nn,pt,O){"use strict";O.d(pt,{AL:function(){return e},Iy:function(){return l},Qv:function(){return r},ez:function(){return v},jb:function(){return o}});var h=O(32834),k=O.n(h),P=O(11690),_=O.n(P);let N=1;function C(b,x){const A=b.match(/^(\s+)(?:```)/);if(A===null)return x;const w=A[1];return x.split(` `).map(L=>{const M=L.match(/^\s+/);if(M===null)return L;const[D]=M;return D.length>=w.length?L.slice(w.length):L}).join(` `)}let m=[],p=["
    "];const E=new(k()).Renderer,d=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function l(){m.length=0,p=["
      "]}const o={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function g(b,x,A,w){if(x>=b.length||b[x].level<=A)return x;var L=b[x];w.push("
    • "+L.text+""),x++;var M=[];return x=g(b,x,L.level,M),M.length>0&&(w.push("
        "),M.forEach(function(D){w.push(D)}),w.push("
      ")),w.push("
    • "),x=g(b,x,A,w),x}function r(){return g(m,0,0,p),p.push("
    "),p.join("")}const n={heading(b){const x=d.exec(b);if(N+=1,x)return{type:"heading",raw:x[0],depth:x[1].length,text:x[2]}},fences(b){const x=this.rules.block.fences.exec(b);if(x){const A=x[0];let w=C(A,x[3]||"");const L=x[2]?x[2].trim():x[2];if(["latex","katex","math"].indexOf(L)>=0){const M=u(),D=w;w=M,s[M]={type:"block",expression:D}}return{type:"code",raw:A,lang:L,text:w}}}},a=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let c=0;const u=()=>`__special_katext_id_${c++}__`;let s={};function v(){return s}function e(){c=0,s={}}function t(b){return b=b.replace(a,(x,A)=>{const w=u();return s[w]={type:"inline",expression:A},w}),b}const i=E.listitem;E.listitem=function(b){return i(t(b))};const f=E.paragraph;E.paragraph=function(b){return f(t(b))};const y=E.tablecell;E.tablecell=function(b,x){return y(t(b),x)},E.code=function(b,x,A){const w=(x||"").match(/\S*/)[0];return w?["latex","katex","math"].indexOf(w)>=0?`

    ${b}

    `:`
    ${A?b:(0,P.escape)(b,!0)}
    `:'
    '+(A?b:(0,P.escape)(b,!0))+"
    "},E.heading=function(b,x,A){let w=this.options.headerPrefix+A.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return m.push({anchor:w,level:x,text:b}),"'+b+""},k().setOptions({silent:!0,gfm:!0,pedantic:!1}),k().use({tokenizer:n,renderer:E}),pt.ZP=k()},68262:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return Dn}});class h{static install(){Object.setPrototypeOf=Object.setPrototypeOf||function(T,z){return T.__proto__=z,T},Object.assign=Object.assign||function(T){if(T==null)throw new TypeError("Cannot convert undefined or null to object");let z=Object(T);for(let Z=1;Z ${z}`;N.ENABLE_CALLBACK&&N.emitter.emit("log","error",Z),N.ENABLE_ERROR&&(console.error?console.error(Z):console.warn?console.warn(Z):console.log(Z))}static i(T,z){(!T||N.FORCE_GLOBAL_TAG)&&(T=N.GLOBAL_TAG);let Z=`[${T}] > ${z}`;N.ENABLE_CALLBACK&&N.emitter.emit("log","info",Z),N.ENABLE_INFO&&(console.info?console.info(Z):console.log(Z))}static w(T,z){(!T||N.FORCE_GLOBAL_TAG)&&(T=N.GLOBAL_TAG);let Z=`[${T}] > ${z}`;N.ENABLE_CALLBACK&&N.emitter.emit("log","warn",Z),N.ENABLE_WARN&&(console.warn?console.warn(Z):console.log(Z))}static d(T,z){(!T||N.FORCE_GLOBAL_TAG)&&(T=N.GLOBAL_TAG);let Z=`[${T}] > ${z}`;N.ENABLE_CALLBACK&&N.emitter.emit("log","debug",Z),N.ENABLE_DEBUG&&(console.debug?console.debug(Z):console.log(Z))}static v(T,z){(!T||N.FORCE_GLOBAL_TAG)&&(T=N.GLOBAL_TAG);let Z=`[${T}] > ${z}`;N.ENABLE_CALLBACK&&N.emitter.emit("log","verbose",Z),N.ENABLE_VERBOSE&&console.log(Z)}}N.GLOBAL_TAG="flv.js",N.FORCE_GLOBAL_TAG=!1,N.ENABLE_ERROR=!0,N.ENABLE_INFO=!0,N.ENABLE_WARN=!0,N.ENABLE_DEBUG=!0,N.ENABLE_VERBOSE=!0,N.ENABLE_CALLBACK=!1,N.emitter=new(_());var C=N;class m{constructor(){this._firstCheckpoint=0,this._lastCheckpoint=0,this._intervalBytes=0,this._totalBytes=0,this._lastSecondBytes=0,self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now}reset(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}addBytes(T){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=T,this._totalBytes+=T):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=T,this._totalBytes+=T):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=T,this._totalBytes+=T,this._lastCheckpoint=this._now())}get currentKBps(){this.addBytes(0);let T=(this._now()-this._lastCheckpoint)/1e3;return T==0&&(T=1),this._intervalBytes/T/1024}get lastSecondKBps(){return this.addBytes(0),this._lastSecondBytes!==0?this._lastSecondBytes/1024:this._now()-this._lastCheckpoint>=500?this.currentKBps:0}get averageKBps(){let T=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/T/1024}}var p=m;class E{constructor(T){this._message=T}get name(){return"RuntimeException"}get message(){return this._message}toString(){return this.name+": "+this.message}}class d extends E{constructor(T){super(T)}get name(){return"IllegalStateException"}}class l extends E{constructor(T){super(T)}get name(){return"InvalidArgumentException"}}class o extends E{constructor(T){super(T)}get name(){return"NotImplementedException"}}const g={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},r={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"};class n{constructor(T){this._type=T||"undefined",this._status=g.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}destroy(){this._status=g.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}isWorking(){return this._status===g.kConnecting||this._status===g.kBuffering}get type(){return this._type}get status(){return this._status}get needStashBuffer(){return this._needStash}get onContentLengthKnown(){return this._onContentLengthKnown}set onContentLengthKnown(T){this._onContentLengthKnown=T}get onURLRedirect(){return this._onURLRedirect}set onURLRedirect(T){this._onURLRedirect=T}get onDataArrival(){return this._onDataArrival}set onDataArrival(T){this._onDataArrival=T}get onError(){return this._onError}set onError(T){this._onError=T}get onComplete(){return this._onComplete}set onComplete(T){this._onComplete=T}open(T,z){throw new o("Unimplemented abstract function!")}abort(){throw new o("Unimplemented abstract function!")}}let a={};function c(){let dt=self.navigator.userAgent.toLowerCase(),T=/(edge)\/([\w.]+)/.exec(dt)||/(opr)[\/]([\w.]+)/.exec(dt)||/(chrome)[ \/]([\w.]+)/.exec(dt)||/(iemobile)[\/]([\w.]+)/.exec(dt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(dt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(dt)||/(webkit)[ \/]([\w.]+)/.exec(dt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(dt)||/(msie) ([\w.]+)/.exec(dt)||dt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(dt)||dt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(dt)||[],z=/(ipad)/.exec(dt)||/(ipod)/.exec(dt)||/(windows phone)/.exec(dt)||/(iphone)/.exec(dt)||/(kindle)/.exec(dt)||/(android)/.exec(dt)||/(windows)/.exec(dt)||/(mac)/.exec(dt)||/(linux)/.exec(dt)||/(cros)/.exec(dt)||[],Z={browser:T[5]||T[3]||T[1]||"",version:T[2]||T[4]||"0",majorVersion:T[4]||T[2]||"0",platform:z[0]||""},ie={};if(Z.browser){ie[Z.browser]=!0;let le=Z.majorVersion.split(".");ie.version={major:parseInt(Z.majorVersion,10),string:Z.version},le.length>1&&(ie.version.minor=parseInt(le[1],10)),le.length>2&&(ie.version.build=parseInt(le[2],10))}if(Z.platform&&(ie[Z.platform]=!0),(ie.chrome||ie.opr||ie.safari)&&(ie.webkit=!0),ie.rv||ie.iemobile){ie.rv&&delete ie.rv;let le="msie";Z.browser=le,ie[le]=!0}if(ie.edge){delete ie.edge;let le="msedge";Z.browser=le,ie[le]=!0}if(ie.opr){let le="opera";Z.browser=le,ie[le]=!0}if(ie.safari&&ie.android){let le="android";Z.browser=le,ie[le]=!0}ie.name=Z.browser,ie.platform=Z.platform;for(let le in a)a.hasOwnProperty(le)&&delete a[le];Object.assign(a,ie)}c();var u=a;class s extends n{static isSupported(){try{let T=u.msedge&&u.version.minor>=15048,z=u.msedge?T:!0;return self.fetch&&self.ReadableStream&&z}catch(T){return!1}}constructor(T,z){super("fetch-stream-loader"),this.TAG="FetchStreamLoader",this._seekHandler=T,this._config=z,this._needStash=!0,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),super.destroy()}open(T,z){this._dataSource=T,this._range=z;let Z=T.url;this._config.reuseRedirectedURL&&T.redirectedURL!=null&&(Z=T.redirectedURL);let ie=this._seekHandler.getConfig(Z,z),le=new self.Headers;if(typeof ie.headers=="object"){let ot=ie.headers;for(let Et in ot)ot.hasOwnProperty(Et)&&le.append(Et,ot[Et])}let $e={method:"GET",headers:le,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let ot in this._config.headers)le.append(ot,this._config.headers[ot]);T.cors===!1&&($e.mode="same-origin"),T.withCredentials&&($e.credentials="include"),T.referrerPolicy&&($e.referrerPolicy=T.referrerPolicy),this._status=g.kConnecting,self.fetch(ie.url,$e).then(ot=>{if(this._requestAbort){this._requestAbort=!1,this._status=g.kIdle;return}if(ot.ok&&ot.status>=200&&ot.status<=299){if(ot.url!==ie.url&&this._onURLRedirect){let st=this._seekHandler.removeURLParameters(ot.url);this._onURLRedirect(st)}let Et=ot.headers.get("Content-Length");return Et!=null&&(this._contentLength=parseInt(Et),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,ot.body.getReader())}else if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:ot.status,msg:ot.statusText});else throw new E("FetchStreamLoader: Http code invalid, "+ot.status+" "+ot.statusText)}).catch(ot=>{if(this._status=g.kError,this._onError)this._onError(r.EXCEPTION,{code:-1,msg:ot.message});else throw ot})}abort(){this._requestAbort=!0}_pump(T){return T.read().then(z=>{if(z.done)if(this._contentLength!==null&&this._receivedLength{if(z.code===11&&u.msedge)return;this._status=g.kError;let Z=0,ie=null;if((z.code===19||z.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength299))if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new E("MozChunkedLoader: Http code invalid, "+z.status+" "+z.statusText);else this._status=g.kBuffering}}_onProgress(T){if(this._status===g.kError)return;this._contentLength===null&&T.total!==null&&T.total!==0&&(this._contentLength=T.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength));let z=T.target.response,Z=this._range.from+this._receivedLength;this._receivedLength+=z.byteLength,this._onDataArrival&&this._onDataArrival(z,Z,this._receivedLength)}_onLoadEnd(T){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===g.kError)return;this._status=g.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}_onXhrError(T){this._status=g.kError;let z=0,Z=null;if(this._contentLength&&T.loaded=200&&z.status<=299){if(this._status=LoaderStatus.kBuffering,z.responseURL!=null){let ie=this._seekHandler.removeURLParameters(z.responseURL);z.responseURL!==this._currentRequestURL&&ie!==this._currentRedirectedURL&&(this._currentRedirectedURL=ie,this._onURLRedirect&&this._onURLRedirect(ie))}let Z=z.getResponseHeader("Content-Length");if(Z!=null&&this._contentLength==null){let ie=parseInt(Z);ie>0&&(this._contentLength=ie,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=LoaderStatus.kError,this._onError)this._onError(LoaderErrors.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new RuntimeException("MSStreamLoader: Http code invalid, "+z.status+" "+z.statusText);else if(z.readyState===3&&z.status>=200&&z.status<=299){this._status=LoaderStatus.kBuffering;let Z=z.response;this._reader.readAsArrayBuffer(Z)}}_xhrOnError(T){this._status=LoaderStatus.kError;let z=LoaderErrors.EXCEPTION,Z={code:-1,msg:T.constructor.name+" "+T.type};if(this._onError)this._onError(z,Z);else throw new RuntimeException(Z.msg)}_msrOnProgress(T){let Z=T.target.result;if(Z==null){this._doReconnectIfNeeded();return}let ie=Z.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Z.byteLength;let le=this._totalRange.from+this._receivedLength;this._receivedLength+=ie.byteLength,this._onDataArrival&&this._onDataArrival(ie,le,this._receivedLength),Z.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${le+ie.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength=this._contentLength&&(Z=this._range.from+this._contentLength-1),this._currentRequestRange={from:z,to:Z},this._internalOpen(this._dataSource,this._currentRequestRange)}_internalOpen(T,z){this._lastTimeLoaded=0;let Z=T.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Z=this._currentRedirectedURL:T.redirectedURL!=null&&(Z=T.redirectedURL));let ie=this._seekHandler.getConfig(Z,z);this._currentRequestURL=ie.url;let le=this._xhr=new XMLHttpRequest;if(le.open("GET",ie.url,!0),le.responseType="arraybuffer",le.onreadystatechange=this._onReadyStateChange.bind(this),le.onprogress=this._onProgress.bind(this),le.onload=this._onLoad.bind(this),le.onerror=this._onXhrError.bind(this),T.withCredentials&&(le.withCredentials=!0),typeof ie.headers=="object"){let $e=ie.headers;for(let ot in $e)$e.hasOwnProperty(ot)&&le.setRequestHeader(ot,$e[ot])}if(typeof this._config.headers=="object"){let $e=this._config.headers;for(let ot in $e)$e.hasOwnProperty(ot)&&le.setRequestHeader(ot,$e[ot])}le.send()}abort(){this._requestAbort=!0,this._internalAbort(),this._status=g.kComplete}_internalAbort(){this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr.abort(),this._xhr=null)}_onReadyStateChange(T){let z=T.target;if(z.readyState===2){if(z.responseURL!=null){let Z=this._seekHandler.removeURLParameters(z.responseURL);z.responseURL!==this._currentRequestURL&&Z!==this._currentRedirectedURL&&(this._currentRedirectedURL=Z,this._onURLRedirect&&this._onURLRedirect(Z))}if(z.status>=200&&z.status<=299){if(this._waitForTotalLength)return;this._status=g.kBuffering}else if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:z.status,msg:z.statusText});else throw new E("RangeLoader: Http code invalid, "+z.status+" "+z.statusText)}}_onProgress(T){if(this._status===g.kError)return;if(this._contentLength===null){let Z=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,Z=!0;let ie=T.total;this._internalAbort(),ie!=null&ie!==0&&(this._totalLength=ie)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,Z){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}let z=T.loaded-this._lastTimeLoaded;this._lastTimeLoaded=T.loaded,this._speedSampler.addBytes(z)}_normalizeSpeed(T){let z=this._chunkSizeKBList,Z=z.length-1,ie=0,le=0,$e=Z;if(T=z[ie]&&T=3&&(z=this._speedSampler.currentKBps)),z!==0){let $e=this._normalizeSpeed(z);this._currentSpeedNormalized!==$e&&(this._currentSpeedNormalized=$e,this._currentChunkSizeKB=$e)}let Z=T.target.response,ie=this._range.from+this._receivedLength;this._receivedLength+=Z.byteLength;let le=!1;this._contentLength!=null&&this._receivedLength0&&this._receivedLength{this._dispatchArrayBuffer(z.result)},z.readAsArrayBuffer(T.data)}else{this._status=g.kError;let z={code:-1,msg:"Unsupported WebSocket message type: "+T.data.constructor.name};if(this._onError)this._onError(r.EXCEPTION,z);else throw new E(z.msg)}}_dispatchArrayBuffer(T){let z=T,Z=this._receivedLength;this._receivedLength+=z.byteLength,this._onDataArrival&&this._onDataArrival(z,Z,this._receivedLength)}_onWebSocketError(T){this._status=g.kError;let z={code:T.code,msg:T.message};if(this._onError)this._onError(r.EXCEPTION,z);else throw new E(z.msg)}}var A=x;class w{constructor(T){this._zeroStart=T||!1}getConfig(T,z){let Z={};if(z.from!==0||z.to!==-1){let ie;z.to!==-1?ie=`bytes=${z.from.toString()}-${z.to.toString()}`:ie=`bytes=${z.from.toString()}-`,Z.Range=ie}else this._zeroStart&&(Z.Range="bytes=0-");return{url:T,headers:Z}}removeURLParameters(T){return T}}var L=w;class M{constructor(T,z){this._startName=T,this._endName=z}getConfig(T,z){let Z=T;if(z.from!==0||z.to!==-1){let ie=!0;Z.indexOf("?")===-1&&(Z+="?",ie=!1),ie&&(Z+="&"),Z+=`${this._startName}=${z.from.toString()}`,z.to!==-1&&(Z+=`&${this._endName}=${z.to.toString()}`)}return{url:Z,headers:{}}}removeURLParameters(T){let z=T.split("?")[0],Z,ie=T.indexOf("?");ie!==-1&&(Z=T.substring(ie+1));let le="";if(Z!=null&&Z.length>0){let $e=Z.split("&");for(let ot=0;ot<$e.length;ot++){let Et=$e[ot].split("="),st=ot>0;Et[0]!==this._startName&&Et[0]!==this._endName&&(st&&(le+="&"),le+=$e[ot])}}return le.length===0?z:z+"?"+le}}var D=M;class B{constructor(T,z,Z){this.TAG="IOController",this._config=z,this._extraData=Z,this._stashInitialSize=1024*384,z.stashInitialSize!=null&&z.stashInitialSize>0&&(this._stashInitialSize=z.stashInitialSize),this._stashUsed=0,this._stashSize=this._stashInitialSize,this._bufferSize=1024*1024*3,this._stashBuffer=new ArrayBuffer(this._bufferSize),this._stashByteStart=0,this._enableStash=!0,z.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=T,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(T.url),this._refTotalLength=T.filesize?T.filesize:null,this._totalLength=this._refTotalLength,this._fullRequestFlag=!1,this._currentRange=null,this._redirectedURL=null,this._speedNormalized=0,this._speedSampler=new p,this._speedNormalizeList=[64,128,256,384,512,768,1024,1536,2048,3072,4096],this._isEarlyEofReconnecting=!1,this._paused=!1,this._resumeFrom=0,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._selectSeekHandler(),this._selectLoader(),this._createLoader()}destroy(){this._loader.isWorking()&&this._loader.abort(),this._loader.destroy(),this._loader=null,this._loaderClass=null,this._dataSource=null,this._stashBuffer=null,this._stashUsed=this._stashSize=this._bufferSize=this._stashByteStart=0,this._currentRange=null,this._speedSampler=null,this._isEarlyEofReconnecting=!1,this._onDataArrival=null,this._onSeeked=null,this._onError=null,this._onComplete=null,this._onRedirect=null,this._onRecoveredEarlyEof=null,this._extraData=null}isWorking(){return this._loader&&this._loader.isWorking()&&!this._paused}isPaused(){return this._paused}get status(){return this._loader.status}get extraData(){return this._extraData}set extraData(T){this._extraData=T}get onDataArrival(){return this._onDataArrival}set onDataArrival(T){this._onDataArrival=T}get onSeeked(){return this._onSeeked}set onSeeked(T){this._onSeeked=T}get onError(){return this._onError}set onError(T){this._onError=T}get onComplete(){return this._onComplete}set onComplete(T){this._onComplete=T}get onRedirect(){return this._onRedirect}set onRedirect(T){this._onRedirect=T}get onRecoveredEarlyEof(){return this._onRecoveredEarlyEof}set onRecoveredEarlyEof(T){this._onRecoveredEarlyEof=T}get currentURL(){return this._dataSource.url}get hasRedirect(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}get currentRedirectedURL(){return this._redirectedURL||this._dataSource.redirectedURL}get currentSpeed(){return this._loaderClass===b?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}get loaderType(){return this._loader.type}_selectSeekHandler(){let T=this._config;if(T.seekType==="range")this._seekHandler=new L(this._config.rangeLoadZeroStart);else if(T.seekType==="param"){let z=T.seekParamStart||"bstart",Z=T.seekParamEnd||"bend";this._seekHandler=new D(z,Z)}else if(T.seekType==="custom"){if(typeof T.customSeekHandler!="function")throw new l("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new T.customSeekHandler}else throw new l(`Invalid seekType in config: ${T.seekType}`)}_selectLoader(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=A;else if(v.isSupported())this._loaderClass=v;else if(t.isSupported())this._loaderClass=t;else if(b.isSupported())this._loaderClass=b;else throw new E("Your browser doesn't support xhr with arraybuffer responseType!")}_createLoader(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}open(T){this._currentRange={from:0,to:-1},T&&(this._currentRange.from=T),this._speedSampler.reset(),T||(this._fullRequestFlag=!0),this._loader.open(this._dataSource,Object.assign({},this._currentRange))}abort(){this._loader.abort(),this._paused&&(this._paused=!1,this._resumeFrom=0)}pause(){this.isWorking()&&(this._loader.abort(),this._stashUsed!==0?(this._resumeFrom=this._stashByteStart,this._currentRange.to=this._stashByteStart-1):this._resumeFrom=this._currentRange.to+1,this._stashUsed=0,this._stashByteStart=0,this._paused=!0)}resume(){if(this._paused){this._paused=!1;let T=this._resumeFrom;this._resumeFrom=0,this._internalSeek(T,!0)}}seek(T){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(T,!0)}_internalSeek(T,z){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(z),this._loader.destroy(),this._loader=null;let Z={from:T,to:-1};this._currentRange={from:Z.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,Z),this._onSeeked&&this._onSeeked()}updateUrl(T){if(!T||typeof T!="string"||T.length===0)throw new l("Url must be a non-empty string!");this._dataSource.url=T}_expandBuffer(T){let z=this._stashSize;for(;z+1024*1024*10){let ie=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(Z,0,z).set(ie,0)}this._stashBuffer=Z,this._bufferSize=z}_normalizeSpeed(T){let z=this._speedNormalizeList,Z=z.length-1,ie=0,le=0,$e=Z;if(T=z[ie]&&T=512&&T<=1024?z=Math.floor(T*1.5):z=T*2,z>8192&&(z=8192);let Z=z*1024+1024*1024*1;this._bufferSize0){let $e=this._stashBuffer.slice(0,this._stashUsed),ot=this._dispatchChunks($e,this._stashByteStart);if(ot<$e.byteLength){if(ot>0){let Et=new Uint8Array($e,ot);le.set(Et,0),this._stashUsed=Et.byteLength,this._stashByteStart+=ot}}else this._stashUsed=0,this._stashByteStart+=ot;this._stashUsed+T.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+T.byteLength),le=new Uint8Array(this._stashBuffer,0,this._bufferSize)),le.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength}else{let $e=this._dispatchChunks(T,z);if($ethis._bufferSize&&(this._expandBuffer(ot),le=new Uint8Array(this._stashBuffer,0,this._bufferSize)),le.set(new Uint8Array(T,$e),0),this._stashUsed+=ot,this._stashByteStart=z+$e}}}else if(this._stashUsed===0){let le=this._dispatchChunks(T,z);if(lethis._bufferSize&&this._expandBuffer($e),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(T,le),0),this._stashUsed+=$e,this._stashByteStart=z+le}}else{this._stashUsed+T.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+T.byteLength);let le=new Uint8Array(this._stashBuffer,0,this._bufferSize);le.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength;let $e=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if($e0){let ot=new Uint8Array(this._stashBuffer,$e);le.set(ot,0)}this._stashUsed-=$e,this._stashByteStart+=$e}}_flushStashBuffer(T){if(this._stashUsed>0){let z=this._stashBuffer.slice(0,this._stashUsed),Z=this._dispatchChunks(z,this._stashByteStart),ie=z.byteLength-Z;if(Z0){let le=new Uint8Array(this._stashBuffer,0,this._bufferSize),$e=new Uint8Array(z,Z);le.set($e,0),this._stashUsed=$e.byteLength,this._stashByteStart+=Z}return 0}return this._stashUsed=0,this._stashByteStart=0,ie}return 0}_onLoaderComplete(T,z){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}_onLoaderError(T,z){switch(C.e(this.TAG,`Loader error, code = ${z.code}, msg = ${z.msg}`),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,T=r.UNRECOVERABLE_EARLY_EOF),T){case r.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){let Z=this._currentRange.to+1;Z0){let z=se.getConfig();T.emit("change",z)}}static registerListener(T){se.emitter.addListener("change",T)}static removeListener(T){se.emitter.removeListener("change",T)}static addLogListener(T){C.emitter.addListener("log",T),C.emitter.listenerCount("log")>0&&(C.ENABLE_CALLBACK=!0,se._notifyChange())}static removeLogListener(T){C.emitter.removeListener("log",T),C.emitter.listenerCount("log")===0&&(C.ENABLE_CALLBACK=!1,se._notifyChange())}}se.emitter=new(_());var Q=se;class ve{constructor(){this.mimeType=null,this.duration=null,this.hasAudio=null,this.hasVideo=null,this.audioCodec=null,this.videoCodec=null,this.audioDataRate=null,this.videoDataRate=null,this.audioSampleRate=null,this.audioChannelCount=null,this.width=null,this.height=null,this.fps=null,this.profile=null,this.level=null,this.refFrames=null,this.chromaFormat=null,this.sarNum=null,this.sarDen=null,this.metadata=null,this.segments=null,this.segmentCount=null,this.hasKeyframesIndex=null,this.keyframesIndex=null}isComplete(){let T=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,z=this.hasVideo===!1||this.hasVideo===!0&&this.videoCodec!=null&&this.width!=null&&this.height!=null&&this.fps!=null&&this.profile!=null&&this.level!=null&&this.refFrames!=null&&this.chromaFormat!=null&&this.sarNum!=null&&this.sarDen!=null;return this.mimeType!=null&&this.duration!=null&&this.metadata!=null&&this.hasKeyframesIndex!=null&&T&&z}isSeekable(){return this.hasKeyframesIndex===!0}getNearestKeyframe(T){if(this.keyframesIndex==null)return null;let z=this.keyframesIndex,Z=this._search(z.times,T);return{index:Z,milliseconds:z.times[Z],fileposition:z.filepositions[Z]}}_search(T,z){let Z=0,ie=T.length-1,le=0,$e=0,ot=ie;for(z=T[le]&&z=128){T.push(String.fromCharCode(le&65535)),Z+=2;continue}}}else if(z[Z]<240){if(Ce(z,Z,2)){let le=(z[Z]&15)<<12|(z[Z+1]&63)<<6|z[Z+2]&63;if(le>=2048&&(le&63488)!==55296){T.push(String.fromCharCode(le&65535)),Z+=3;continue}}}else if(z[Z]<248&&Ce(z,Z,3)){let le=(z[Z]&7)<<18|(z[Z+1]&63)<<12|(z[Z+2]&63)<<6|z[Z+3]&63;if(le>65536&&le<1114112){le-=65536,T.push(String.fromCharCode(le>>>10|55296)),T.push(String.fromCharCode(le&1023|56320)),Z+=4;continue}}}T.push("\uFFFD"),++Z}return T.join("")}var Ue=De;let Me=function(){let dt=new ArrayBuffer(2);return new DataView(dt).setInt16(0,256,!0),new Int16Array(dt)[0]===256}();class Je{static parseScriptData(T,z,Z){let ie={};try{let le=Je.parseValue(T,z,Z),$e=Je.parseValue(T,z+le.size,Z-le.size);ie[le.data]=$e.data}catch(le){C.e("AMF",le.toString())}return ie}static parseObject(T,z,Z){if(Z<3)throw new d("Data not enough when parse ScriptDataObject");let ie=Je.parseString(T,z,Z),le=Je.parseValue(T,z+ie.size,Z-ie.size),$e=le.objectEnd;return{data:{name:ie.data,value:le.data},size:ie.size+le.size,objectEnd:$e}}static parseVariable(T,z,Z){return Je.parseObject(T,z,Z)}static parseString(T,z,Z){if(Z<2)throw new d("Data not enough when parse String");let le=new DataView(T,z,Z).getUint16(0,!Me),$e;return le>0?$e=Ue(new Uint8Array(T,z+2,le)):$e="",{data:$e,size:2+le}}static parseLongString(T,z,Z){if(Z<4)throw new d("Data not enough when parse LongString");let le=new DataView(T,z,Z).getUint32(0,!Me),$e;return le>0?$e=Ue(new Uint8Array(T,z+4,le)):$e="",{data:$e,size:4+le}}static parseDate(T,z,Z){if(Z<10)throw new d("Data size invalid when parse Date");let ie=new DataView(T,z,Z),le=ie.getFloat64(0,!Me),$e=ie.getInt16(8,!Me);return le+=$e*60*1e3,{data:new Date(le),size:10}}static parseValue(T,z,Z){if(Z<1)throw new d("Data not enough when parse Value");let ie=new DataView(T,z,Z),le=1,$e=ie.getUint8(0),ot,Et=!1;try{switch($e){case 0:ot=ie.getFloat64(1,!Me),le+=8;break;case 1:{ot=!!ie.getUint8(1),le+=1;break}case 2:{let st=Je.parseString(T,z+1,Z-1);ot=st.data,le+=st.size;break}case 3:{ot={};let st=0;for((ie.getUint32(Z-4,!Me)&16777215)===9&&(st=3);le32)throw new l("ExpGolomb: readBits() bits exceeded max 32bits!");if(T<=this._current_word_bits_left){let $e=this._current_word>>>32-T;return this._current_word<<=T,this._current_word_bits_left-=T,$e}let z=this._current_word_bits_left?this._current_word:0;z=z>>>32-this._current_word_bits_left;let Z=T-this._current_word_bits_left;this._fillCurrentWord();let ie=Math.min(Z,this._current_word_bits_left),le=this._current_word>>>32-ie;return this._current_word<<=ie,this._current_word_bits_left-=ie,z=z<>>T)return this._current_word<<=T,this._current_word_bits_left-=T,T;return this._fillCurrentWord(),T+this._skipLeadingZero()}readUEG(){let T=this._skipLeadingZero();return this.readBits(T+1)-1}readSEG(){let T=this.readUEG();return T&1?T+1>>>1:-1*(T>>>1)}}var Ve=ge;class Fe{static _ebsp2rbsp(T){let z=T,Z=z.byteLength,ie=new Uint8Array(Z),le=0;for(let $e=0;$e=2&&z[$e]===3&&z[$e-1]===0&&z[$e-2]===0||(ie[le]=z[$e],le++);return new Uint8Array(ie.buffer,0,le)}static parseSPS(T){let z=Fe._ebsp2rbsp(T),Z=new Ve(z);Z.readByte();let ie=Z.readByte();Z.readByte();let le=Z.readByte();Z.readUEG();let $e=Fe.getProfileString(ie),ot=Fe.getLevelString(le),Et=1,st=420,Bt=[0,420,422,444],kt=8;if((ie===100||ie===110||ie===122||ie===244||ie===44||ie===83||ie===86||ie===118||ie===128||ie===138||ie===144)&&(Et=Z.readUEG(),Et===3&&Z.readBits(1),Et<=3&&(st=Bt[Et]),kt=Z.readUEG()+8,Z.readUEG(),Z.readBits(1),Z.readBool())){let gn=Et!==3?8:12;for(let Lt=0;Lt0&&gn<16?(ye=Lt[gn-1],_e=On[gn-1]):gn===255&&(ye=Z.readByte()<<8|Z.readByte(),_e=Z.readByte()<<8|Z.readByte())}if(Z.readBool()&&Z.readBool(),Z.readBool()&&(Z.readBits(4),Z.readBool()&&Z.readBits(24)),Z.readBool()&&(Z.readUEG(),Z.readUEG()),Z.readBool()){let gn=Z.readBits(32),Lt=Z.readBits(32);Se=Z.readBool(),ut=Lt,bt=gn*2,Ge=ut/bt}}let Yt=1;(ye!==1||_e!==1)&&(Yt=ye/_e);let sn=0,Mn=0;if(Et===0)sn=1,Mn=2-Ie;else{let gn=Et===3?1:2,Lt=Et===1?2:1;sn=gn,Mn=Lt*(2-Ie)}let xn=(Ee+1)*16,an=(2-Ie)*((Le+1)*16);xn-=(ze+he)*sn,an-=(je+tt)*Mn;let hn=Math.ceil(xn*Yt);return Z.destroy(),Z=null,{profile_string:$e,level_string:ot,bit_depth:kt,ref_frames:Be,chroma_format:st,chroma_format_string:Fe.getChromaFormatString(st),frame_rate:{fixed:Se,fps:Ge,fps_den:bt,fps_num:ut},sar_ratio:{width:ye,height:_e},codec_size:{width:xn,height:an},present_size:{width:hn,height:an}}}static _skipScalingList(T,z){let Z=8,ie=8,le=0;for(let $e=0;$e>>8&255|(dt&255)<<8}function $(dt){return(dt&4278190080)>>>24|(dt&16711680)>>>8|(dt&65280)<<8|(dt&255)<<24}function re(dt,T){return dt[T]<<24|dt[T+1]<<16|dt[T+2]<<8|dt[T+3]}class ee{constructor(T,z){this.TAG="FLVDemuxer",this._config=z,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=T.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=T.hasAudioTrack,this._hasVideo=T.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new xe,this._mediaInfo.hasAudio=this._hasAudio,this._mediaInfo.hasVideo=this._hasVideo,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._naluLengthSize=4,this._timestampBase=0,this._timescale=1e3,this._duration=0,this._durationOverrided=!1,this._referenceFrameRate={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3},this._flvSoundRateTable=[5500,11025,22050,44100,48e3],this._mpegSamplingRates=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],this._mpegAudioV10SampleRateTable=[44100,48e3,32e3,0],this._mpegAudioV20SampleRateTable=[22050,24e3,16e3,0],this._mpegAudioV25SampleRateTable=[11025,12e3,8e3,0],this._mpegAudioL1BitRateTable=[0,32,64,96,128,160,192,224,256,288,320,352,384,416,448,-1],this._mpegAudioL2BitRateTable=[0,32,48,56,64,80,96,112,128,160,192,224,256,320,384,-1],this._mpegAudioL3BitRateTable=[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],this._videoTrack={type:"video",id:1,sequenceNumber:0,samples:[],length:0},this._audioTrack={type:"audio",id:2,sequenceNumber:0,samples:[],length:0},this._littleEndian=function(){let Z=new ArrayBuffer(2);return new DataView(Z).setInt16(0,256,!0),new Int16Array(Z)[0]===256}()}destroy(){this._mediaInfo=null,this._metadata=null,this._audioMetadata=null,this._videoMetadata=null,this._videoTrack=null,this._audioTrack=null,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null}static probe(T){let z=new Uint8Array(T),Z={match:!1};if(z[0]!==70||z[1]!==76||z[2]!==86||z[3]!==1)return Z;let ie=(z[4]&4)>>>2!==0,le=(z[4]&1)!==0,$e=re(z,5);return $e<9?Z:{match:!0,consumed:$e,dataOffset:$e,hasAudioTrack:ie,hasVideoTrack:le}}bindDataSource(T){return T.onDataArrival=this.parseChunks.bind(this),this}get onTrackMetadata(){return this._onTrackMetadata}set onTrackMetadata(T){this._onTrackMetadata=T}get onMediaInfo(){return this._onMediaInfo}set onMediaInfo(T){this._onMediaInfo=T}get onMetaDataArrived(){return this._onMetaDataArrived}set onMetaDataArrived(T){this._onMetaDataArrived=T}get onScriptDataArrived(){return this._onScriptDataArrived}set onScriptDataArrived(T){this._onScriptDataArrived=T}get onError(){return this._onError}set onError(T){this._onError=T}get onDataAvailable(){return this._onDataAvailable}set onDataAvailable(T){this._onDataAvailable=T}get timestampBase(){return this._timestampBase}set timestampBase(T){this._timestampBase=T}get overridedDuration(){return this._duration}set overridedDuration(T){this._durationOverrided=!0,this._duration=T,this._mediaInfo.duration=T}set overridedHasAudio(T){this._hasAudioFlagOverrided=!0,this._hasAudio=T,this._mediaInfo.hasAudio=T}set overridedHasVideo(T){this._hasVideoFlagOverrided=!0,this._hasVideo=T,this._mediaInfo.hasVideo=T}resetMediaInfo(){this._mediaInfo=new xe}_isInitialMetadataDispatched(){return this._hasAudio&&this._hasVideo?this._audioInitialMetadataDispatched&&this._videoInitialMetadataDispatched:this._hasAudio&&!this._hasVideo?this._audioInitialMetadataDispatched:!this._hasAudio&&this._hasVideo?this._videoInitialMetadataDispatched:!1}parseChunks(T,z){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new d("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");let Z=0,ie=this._littleEndian;if(z===0)if(T.byteLength>13)Z=ee.probe(T).dataOffset;else return 0;for(this._firstParse&&(this._firstParse=!1,z+Z!==this._dataOffset&&C.w(this.TAG,"First time parsing but chunk byteStart invalid!"),new DataView(T,Z).getUint32(0,!ie)!==0&&C.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Z+=4);ZT.byteLength)break;let $e=le.getUint8(0),ot=le.getUint32(0,!ie)&16777215;if(Z+11+ot+4>T.byteLength)break;if($e!==8&&$e!==9&&$e!==18){C.w(this.TAG,`Unsupported tag type ${$e}, skipped`),Z+=11+ot+4;continue}let Et=le.getUint8(4),st=le.getUint8(5),Bt=le.getUint8(6),kt=le.getUint8(7),He=Bt|st<<8|Et<<16|kt<<24;(le.getUint32(7,!ie)&16777215)!==0&&C.w(this.TAG,"Meet tag which has StreamID != 0!");let Ee=Z+11;switch($e){case 8:this._parseAudioData(T,Ee,ot,He);break;case 9:this._parseVideoData(T,Ee,ot,He,z+Z);break;case 18:this._parseScriptData(T,Ee,ot);break}let Le=le.getUint32(11+ot,!ie);Le!==11+ot&&C.w(this.TAG,`Invalid PrevTagSize ${Le}`),Z+=11+ot+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),Z}_parseScriptData(T,z,Z){let ie=Re.parseScriptData(T,z,Z);if(ie.hasOwnProperty("onMetaData")){if(ie.onMetaData==null||typeof ie.onMetaData!="object"){C.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&C.w(this.TAG,"Found another onMetaData tag!"),this._metadata=ie;let le=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},le)),typeof le.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=le.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof le.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=le.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof le.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=le.audiodatarate),typeof le.videodatarate=="number"&&(this._mediaInfo.videoDataRate=le.videodatarate),typeof le.width=="number"&&(this._mediaInfo.width=le.width),typeof le.height=="number"&&(this._mediaInfo.height=le.height),typeof le.duration=="number"){if(!this._durationOverrided){let $e=Math.floor(le.duration*this._timescale);this._duration=$e,this._mediaInfo.duration=$e}}else this._mediaInfo.duration=0;if(typeof le.framerate=="number"){let $e=Math.floor(le.framerate*1e3);if($e>0){let ot=$e/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=ot,this._referenceFrameRate.fps_num=$e,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=ot}}if(typeof le.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let $e=le.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex($e),le.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=le,C.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(ie).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},ie))}_parseKeyframesIndex(T){let z=[],Z=[];for(let ie=1;ie>>4;if(Et!==2&&Et!==10){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Et);return}let st=0,Bt=(ot&12)>>>2;if(Bt>=0&&Bt<=4)st=this._flvSoundRateTable[Bt];else{this._onError(Ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Bt);return}let kt=(ot&2)>>>1,He=ot&1,Be=this._audioMetadata,Ee=this._audioTrack;if(Be||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Be=this._audioMetadata={},Be.type="audio",Be.id=Ee.id,Be.timescale=this._timescale,Be.duration=this._duration,Be.audioSampleRate=st,Be.channelCount=He===0?1:2),Et===10){let Le=this._parseAACAudioData(T,z+1,Z-1);if(Le==null)return;if(Le.packetType===0){Be.config&&C.w(this.TAG,"Found another AudioSpecificConfig!");let Ie=Le.data;Be.audioSampleRate=Ie.samplingRate,Be.channelCount=Ie.channelCount,Be.codec=Ie.codec,Be.originalCodec=Ie.originalCodec,Be.config=Ie.config,Be.refSampleDuration=1024/Be.audioSampleRate*Be.timescale,C.v(this.TAG,"Parsed AudioSpecificConfig"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._audioInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("audio",Be);let ze=this._mediaInfo;ze.audioCodec=Be.originalCodec,ze.audioSampleRate=Be.audioSampleRate,ze.audioChannelCount=Be.channelCount,ze.hasVideo?ze.videoCodec!=null&&(ze.mimeType='video/x-flv; codecs="'+ze.videoCodec+","+ze.audioCodec+'"'):ze.mimeType='video/x-flv; codecs="'+ze.audioCodec+'"',ze.isComplete()&&this._onMediaInfo(ze)}else if(Le.packetType===1){let Ie=this._timestampBase+ie,ze={unit:Le.data,length:Le.data.byteLength,dts:Ie,pts:Ie};Ee.samples.push(ze),Ee.length+=Le.data.length}else C.e(this.TAG,`Flv: Unsupported AAC data type ${Le.packetType}`)}else if(Et===2){if(!Be.codec){let he=this._parseMP3AudioData(T,z+1,Z-1,!0);if(he==null)return;Be.audioSampleRate=he.samplingRate,Be.channelCount=he.channelCount,Be.codec=he.codec,Be.originalCodec=he.originalCodec,Be.refSampleDuration=1152/Be.audioSampleRate*Be.timescale,C.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Be);let je=this._mediaInfo;je.audioCodec=Be.codec,je.audioSampleRate=Be.audioSampleRate,je.audioChannelCount=Be.channelCount,je.audioDataRate=he.bitRate,je.hasVideo?je.videoCodec!=null&&(je.mimeType='video/x-flv; codecs="'+je.videoCodec+","+je.audioCodec+'"'):je.mimeType='video/x-flv; codecs="'+je.audioCodec+'"',je.isComplete()&&this._onMediaInfo(je)}let Le=this._parseMP3AudioData(T,z+1,Z-1,!1);if(Le==null)return;let Ie=this._timestampBase+ie,ze={unit:Le,length:Le.byteLength,dts:Ie,pts:Ie};Ee.samples.push(ze),Ee.length+=Le.length}}_parseAACAudioData(T,z,Z){if(Z<=1){C.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let ie={},le=new Uint8Array(T,z,Z);return ie.packetType=le[0],le[0]===0?ie.data=this._parseAACAudioSpecificConfig(T,z+1,Z-1):ie.data=le.subarray(1),ie}_parseAACAudioSpecificConfig(T,z,Z){let ie=new Uint8Array(T,z,Z),le=null,$e=0,ot=0,Et=null,st=0,Bt=null;if($e=ot=ie[0]>>>3,st=(ie[0]&7)<<1|ie[1]>>>7,st<0||st>=this._mpegSamplingRates.length){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let kt=this._mpegSamplingRates[st],He=(ie[1]&120)>>>3;if(He<0||He>=8){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}$e===5&&(Bt=(ie[1]&7)<<1|ie[2]>>>7,Et=(ie[2]&124)>>>2);let Be=self.navigator.userAgent.toLowerCase();return Be.indexOf("firefox")!==-1?st>=6?($e=5,le=new Array(4),Bt=st-3):($e=2,le=new Array(2),Bt=st):Be.indexOf("android")!==-1?($e=2,le=new Array(2),Bt=st):($e=5,Bt=st,le=new Array(4),st>=6?Bt=st-3:He===1&&($e=2,le=new Array(2),Bt=st)),le[0]=$e<<3,le[0]|=(st&15)>>>1,le[1]=(st&15)<<7,le[1]|=(He&15)<<3,$e===5&&(le[1]|=(Bt&15)>>>1,le[2]=(Bt&1)<<7,le[2]|=8,le[3]=0),{config:le,samplingRate:kt,channelCount:He,codec:"mp4a.40."+$e,originalCodec:"mp4a.40."+ot}}_parseMP3AudioData(T,z,Z,ie){if(Z<4){C.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let le=this._littleEndian,$e=new Uint8Array(T,z,Z),ot=null;if(ie){if($e[0]!==255)return;let Et=$e[1]>>>3&3,st=($e[1]&6)>>1,Bt=($e[2]&240)>>>4,kt=($e[2]&12)>>>2,Be=($e[3]>>>6&3)!==3?2:1,Ee=0,Le=0,Ie=34,ze="mp3";switch(Et){case 0:Ee=this._mpegAudioV25SampleRateTable[kt];break;case 2:Ee=this._mpegAudioV20SampleRateTable[kt];break;case 3:Ee=this._mpegAudioV10SampleRateTable[kt];break}switch(st){case 1:Ie=34,Bt>>4,Et=$e&15;if(Et!==7){this._onError(Ne.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${Et}`);return}this._parseAVCVideoPacket(T,z+1,Z-1,ie,le,ot)}_parseAVCVideoPacket(T,z,Z,ie,le,$e){if(Z<4){C.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let ot=this._littleEndian,Et=new DataView(T,z,Z),st=Et.getUint8(0),kt=(Et.getUint32(0,!ot)&16777215)<<8>>8;if(st===0)this._parseAVCDecoderConfigurationRecord(T,z+4,Z-4);else if(st===1)this._parseAVCVideoData(T,z+4,Z-4,ie,le,$e,kt);else if(st!==2){this._onError(Ne.FORMAT_ERROR,`Flv: Invalid video packet type ${st}`);return}}_parseAVCDecoderConfigurationRecord(T,z,Z){if(Z<7){C.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let ie=this._videoMetadata,le=this._videoTrack,$e=this._littleEndian,ot=new DataView(T,z,Z);ie?typeof ie.avcc!="undefined"&&C.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),ie=this._videoMetadata={},ie.type="video",ie.id=le.id,ie.timescale=this._timescale,ie.duration=this._duration);let Et=ot.getUint8(0),st=ot.getUint8(1),Bt=ot.getUint8(2),kt=ot.getUint8(3);if(Et!==1||st===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(ot.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ne.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let He=ot.getUint8(5)&31;if(He===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else He>1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${He}`);let Be=6;for(let Le=0;Le1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${Ee}`);Be++;for(let Le=0;Le=Z){C.w(this.TAG,`Malformed Nalu near timestamp ${Ee}, offset = ${He}, dataSize = ${Z}`);break}let Ie=st.getUint32(He,!Et);if(Be===3&&(Ie>>>=8),Ie>Z-Be){C.w(this.TAG,`Malformed Nalus near timestamp ${Ee}, NaluSize > DataSize!`);return}let ze=st.getUint8(He+Be)&31;ze===5&&(Le=!0);let he=new Uint8Array(T,z+He,Be+Ie),je={type:ze,data:he};Bt.push(je),kt+=he.byteLength,He+=Be+Ie}if(Bt.length){let Ie=this._videoTrack,ze={units:Bt,length:kt,isKeyframe:Le,dts:Ee,cts:ot,pts:Ee+ot};Le&&(ze.fileposition=le),Ie.samples.push(ze),Ie.length+=kt}}}var oe=ee;class q{static init(){q.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[],".mp3":[]};for(let z in q.types)q.types.hasOwnProperty(z)&&(q.types[z]=[z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2),z.charCodeAt(3)]);let T=q.constants={};T.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),T.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),T.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),T.STSC=T.STCO=T.STTS,T.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),T.HDLR_VIDEO=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),T.HDLR_AUDIO=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),T.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),T.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),T.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}static box(T){let z=8,Z=null,ie=Array.prototype.slice.call(arguments,1),le=ie.length;for(let ot=0;ot>>24&255,Z[1]=z>>>16&255,Z[2]=z>>>8&255,Z[3]=z&255,Z.set(T,4);let $e=8;for(let ot=0;ot>>24&255,T>>>16&255,T>>>8&255,T&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]))}static trak(T){return q.box(q.types.trak,q.tkhd(T),q.mdia(T))}static tkhd(T){let z=T.id,Z=T.duration,ie=T.presentWidth,le=T.presentHeight;return q.box(q.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,0,0,0,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ie>>>8&255,ie&255,0,0,le>>>8&255,le&255,0,0]))}static mdia(T){return q.box(q.types.mdia,q.mdhd(T),q.hdlr(T),q.minf(T))}static mdhd(T){let z=T.timescale,Z=T.duration;return q.box(q.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255,85,196,0,0]))}static hdlr(T){let z=null;return T.type==="audio"?z=q.constants.HDLR_AUDIO:z=q.constants.HDLR_VIDEO,q.box(q.types.hdlr,z)}static minf(T){let z=null;return T.type==="audio"?z=q.box(q.types.smhd,q.constants.SMHD):z=q.box(q.types.vmhd,q.constants.VMHD),q.box(q.types.minf,z,q.dinf(),q.stbl(T))}static dinf(){return q.box(q.types.dinf,q.box(q.types.dref,q.constants.DREF))}static stbl(T){return q.box(q.types.stbl,q.stsd(T),q.box(q.types.stts,q.constants.STTS),q.box(q.types.stsc,q.constants.STSC),q.box(q.types.stsz,q.constants.STSZ),q.box(q.types.stco,q.constants.STCO))}static stsd(T){return T.type==="audio"?T.codec==="mp3"?q.box(q.types.stsd,q.constants.STSD_PREFIX,q.mp3(T)):q.box(q.types.stsd,q.constants.STSD_PREFIX,q.mp4a(T)):q.box(q.types.stsd,q.constants.STSD_PREFIX,q.avc1(T))}static mp3(T){let z=T.channelCount,Z=T.audioSampleRate,ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,z,0,16,0,0,0,0,Z>>>8&255,Z&255,0,0]);return q.box(q.types[".mp3"],ie)}static mp4a(T){let z=T.channelCount,Z=T.audioSampleRate,ie=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,z,0,16,0,0,0,0,Z>>>8&255,Z&255,0,0]);return q.box(q.types.mp4a,ie,q.esds(T))}static esds(T){let z=T.config||[],Z=z.length,ie=new Uint8Array([0,0,0,0,3,23+Z,0,1,0,4,15+Z,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([Z]).concat(z).concat([6,1,2]));return q.box(q.types.esds,ie)}static avc1(T){let z=T.avcc,Z=T.codecWidth,ie=T.codecHeight,le=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Z>>>8&255,Z&255,ie>>>8&255,ie&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,10,120,113,113,47,102,108,118,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,255,255]);return q.box(q.types.avc1,le,q.box(q.types.avcC,z))}static mvex(T){return q.box(q.types.mvex,q.trex(T))}static trex(T){let z=T.id,Z=new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return q.box(q.types.trex,Z)}static moof(T,z){return q.box(q.types.moof,q.mfhd(T.sequenceNumber),q.traf(T,z))}static mfhd(T){let z=new Uint8Array([0,0,0,0,T>>>24&255,T>>>16&255,T>>>8&255,T&255]);return q.box(q.types.mfhd,z)}static traf(T,z){let Z=T.id,ie=q.box(q.types.tfhd,new Uint8Array([0,0,0,0,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255])),le=q.box(q.types.tfdt,new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255])),$e=q.sdtp(T),ot=q.trun(T,$e.byteLength+16+16+8+16+8+8);return q.box(q.types.traf,ie,le,ot,$e)}static sdtp(T){let z=T.samples||[],Z=z.length,ie=new Uint8Array(4+Z);for(let le=0;le>>24&255,ie>>>16&255,ie>>>8&255,ie&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255],0);for(let ot=0;ot>>24&255,Et>>>16&255,Et>>>8&255,Et&255,st>>>24&255,st>>>16&255,st>>>8&255,st&255,Bt.isLeading<<2|Bt.dependsOn,Bt.isDependedOn<<6|Bt.hasRedundancy<<4|Bt.isNonSync,0,0,kt>>>24&255,kt>>>16&255,kt>>>8&255,kt&255],12+16*ot)}return q.box(q.types.trun,$e)}static mdat(T){return q.box(q.types.mdat,T)}}q.init();var fe=q;class be{static getSilentFrame(T,z){if(T==="mp4a.40.2"){if(z===1)return new Uint8Array([0,200,0,128,35,128]);if(z===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(z===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(z===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(z===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(z===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(z===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(z===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(z===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}}var te=be;class ce{constructor(T,z,Z,ie,le){this.dts=T,this.pts=z,this.duration=Z,this.originalDts=ie,this.isSyncPoint=le,this.fileposition=null}}class lt{constructor(){this.beginDts=0,this.endDts=0,this.beginPts=0,this.endPts=0,this.originalBeginDts=0,this.originalEndDts=0,this.syncPoints=[],this.firstSample=null,this.lastSample=null}appendSyncPoint(T){T.isSyncPoint=!0,this.syncPoints.push(T)}}class Xe{constructor(){this._list=[]}clear(){this._list=[]}appendArray(T){let z=this._list;T.length!==0&&(z.length>0&&T[0].originalDts=z[le].dts&&Tz[ie].lastSample.originalDts&&T=z[ie].lastSample.originalDts&&(ie===z.length-1||ie0&&(le=this._searchNearestSegmentBefore(Z.originalBeginDts)+1),this._lastAppendLocation=le,this._list.splice(le,0,Z)}getLastSegmentBefore(T){let z=this._searchNearestSegmentBefore(T);return z>=0?this._list[z]:null}getLastSampleBefore(T){let z=this.getLastSegmentBefore(T);return z!=null?z.lastSample:null}getLastSyncPointBefore(T){let z=this._searchNearestSegmentBefore(T),Z=this._list[z].syncPoints;for(;Z.length===0&&z>0;)z--,Z=this._list[z].syncPoints;return Z.length>0?Z[Z.length-1]:null}}class yt{constructor(T){this.TAG="MP4Remuxer",this._config=T,this._isLive=T.isLive===!0,this._dtsBase=-1,this._dtsBaseInited=!1,this._audioDtsBase=1/0,this._videoDtsBase=1/0,this._audioNextDts=void 0,this._videoNextDts=void 0,this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList=new ft("audio"),this._videoSegmentInfoList=new ft("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(u.chrome&&(u.version.major<50||u.version.major===50&&u.version.build<2661)),this._fillSilentAfterSeek=u.msedge||u.msie,this._mp3UseMpegAudio=!u.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}destroy(){this._dtsBase=-1,this._dtsBaseInited=!1,this._audioMeta=null,this._videoMeta=null,this._audioSegmentInfoList.clear(),this._audioSegmentInfoList=null,this._videoSegmentInfoList.clear(),this._videoSegmentInfoList=null,this._onInitSegment=null,this._onMediaSegment=null}bindDataSource(T){return T.onDataAvailable=this.remux.bind(this),T.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}get onInitSegment(){return this._onInitSegment}set onInitSegment(T){this._onInitSegment=T}get onMediaSegment(){return this._onMediaSegment}set onMediaSegment(T){this._onMediaSegment=T}insertDiscontinuity(){this._audioNextDts=this._videoNextDts=void 0}seek(T){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}remux(T,z){if(!this._onMediaSegment)throw new d("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(T,z),this._remuxVideo(z),this._remuxAudio(T)}_onTrackMetadataReceived(T,z){let Z=null,ie="mp4",le=z.codec;if(T==="audio")this._audioMeta=z,z.codec==="mp3"&&this._mp3UseMpegAudio?(ie="mpeg",le="",Z=new Uint8Array):Z=fe.generateInitSegment(z);else if(T==="video")this._videoMeta=z,Z=fe.generateInitSegment(z);else return;if(!this._onInitSegment)throw new d("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(T,{type:T,data:Z.buffer,codec:le,container:`${T}/${ie}`,mediaDuration:z.duration})}_calculateDtsBase(T,z){this._dtsBaseInited||(T.samples&&T.samples.length&&(this._audioDtsBase=T.samples[0].dts),z.samples&&z.samples.length&&(this._videoDtsBase=z.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0)}flushStashedSamples(){let T=this._videoStashedLastSample,z=this._audioStashedLastSample,Z={type:"video",id:1,sequenceNumber:0,samples:[],length:0};T!=null&&(Z.samples.push(T),Z.length=T.length);let ie={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};z!=null&&(ie.samples.push(z),ie.length=z.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Z,!0),this._remuxAudio(ie,!0)}_remuxAudio(T,z){if(this._audioMeta==null)return;let Z=T,ie=Z.samples,le,$e=-1,ot=-1,Et=-1,st=this._audioMeta.refSampleDuration,Bt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,kt=this._dtsBaseInited&&this._audioNextDts===void 0,He=!1;if(!ie||ie.length===0||ie.length===1&&!z)return;let Be=0,Ee=null,Le=0;Bt?(Be=0,Le=Z.length):(Be=8,Le=8+Z.length);let Ie=null;if(ie.length>1&&(Ie=ie.pop(),Le-=Ie.length),this._audioStashedLastSample!=null){let _e=this._audioStashedLastSample;this._audioStashedLastSample=null,ie.unshift(_e),Le+=_e.length}Ie!=null&&(this._audioStashedLastSample=Ie);let ze=ie[0].dts-this._dtsBase;if(this._audioNextDts)le=ze-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())le=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(He=!0);else{let _e=this._audioSegmentInfoList.getLastSampleBefore(ze);if(_e!=null){let Ge=ze-(_e.originalDts+_e.duration);Ge<=3&&(Ge=0);let Se=_e.dts+_e.duration+Ge;le=ze-Se}else le=0}if(He){let _e=ze-le,Ge=this._videoSegmentInfoList.getLastSegmentBefore(ze);if(Ge!=null&&Ge.beginDts<_e){let Se=te.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Se){let ut=Ge.beginDts,bt=_e-Ge.beginDts;C.v(this.TAG,`InsertPrefixSilentAudio: dts: ${ut}, duration: ${bt}`),ie.unshift({unit:Se,dts:ut,pts:ut}),Le+=Se.byteLength}}else He=!1}let he=[];for(let _e=0;_e=1?Pt=he[he.length-1].duration:Pt=Math.floor(st);let Yt=!1,sn=null;if(Pt>st*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!u.safari){Yt=!0;let Mn=Math.abs(Pt-st),xn=Math.ceil(Mn/st),an=bt+st;C.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync. dts: ${bt+Pt} ms, expected: ${bt+Math.round(st)} ms, delta: ${Math.round(Mn)} ms, generate: ${xn} frames`);let hn=te.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);hn==null&&(C.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),hn=Se),sn=[];for(let Lt=0;Lt0){let bn=sn[sn.length-1];bn.duration=On-bn.dts}let jn={dts:On,pts:On,cts:0,unit:hn,size:hn.byteLength,duration:0,originalDts:ut,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};sn.push(jn),Le+=jn.size,an+=st}let gn=sn[sn.length-1];gn.duration=bt+Pt-gn.dts,Pt=Math.round(st)}he.push({dts:bt,pts:bt,cts:0,unit:Ge.unit,size:Ge.unit.byteLength,duration:Pt,originalDts:ut,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Yt&&he.push.apply(he,sn)}Bt?Ee=new Uint8Array(Le):(Ee=new Uint8Array(Le),Ee[0]=Le>>>24&255,Ee[1]=Le>>>16&255,Ee[2]=Le>>>8&255,Ee[3]=Le&255,Ee.set(fe.types.mdat,4));for(let _e=0;_e1&&(Be=ie.pop(),He-=Be.length),this._videoStashedLastSample!=null){let je=this._videoStashedLastSample;this._videoStashedLastSample=null,ie.unshift(je),He+=je.length}Be!=null&&(this._videoStashedLastSample=Be);let Ee=ie[0].dts-this._dtsBase;if(this._videoNextDts)le=Ee-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())le=0;else{let je=this._videoSegmentInfoList.getLastSampleBefore(Ee);if(je!=null){let tt=Ee-(je.originalDts+je.duration);tt<=3&&(tt=0);let me=je.dts+je.duration+tt;le=Ee-me}else le=0}let Le=new lt,Ie=[];for(let je=0;je=1?ut=Ie[Ie.length-1].duration:ut=Math.floor(this._videoMeta.refSampleDuration),ye){let bt=new ce(_e,Se,ut,tt.dts,!0);bt.fileposition=tt.fileposition,Le.appendSyncPoint(bt)}Ie.push({dts:_e,pts:Se,cts:Ge,units:tt.units,size:tt.length,isKeyframe:ye,duration:ut,originalDts:me,flags:{isLeading:0,dependsOn:ye?2:1,isDependedOn:ye?1:0,hasRedundancy:0,isNonSync:ye?0:1}})}kt=new Uint8Array(He),kt[0]=He>>>24&255,kt[1]=He>>>16&255,kt[2]=He>>>8&255,kt[3]=He&255,kt.set(fe.types.mdat,4);for(let je=0;je{ie.timestampBase=Z,Z+=ie.duration,ie.cors=T.cors,ie.withCredentials=T.withCredentials,z.referrerPolicy&&(ie.referrerPolicy=z.referrerPolicy)}),!isNaN(Z)&&this._mediaDataSource.duration!==Z&&(this._mediaDataSource.duration=Z),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}destroy(){this._mediaInfo=null,this._mediaDataSource=null,this._statisticsReporter&&this._disableStatisticsReporter(),this._ioctl&&(this._ioctl.destroy(),this._ioctl=null),this._demuxer&&(this._demuxer.destroy(),this._demuxer=null),this._remuxer&&(this._remuxer.destroy(),this._remuxer=null),this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}start(){this._loadSegment(0),this._enableStatisticsReporter()}_loadSegment(T,z){this._currentSegmentIndex=T;let Z=this._mediaDataSource.segments[T],ie=this._ioctl=new I(Z,this._config,T);ie.onError=this._onIOException.bind(this),ie.onSeeked=this._onIOSeeked.bind(this),ie.onComplete=this._onIOComplete.bind(this),ie.onRedirect=this._onIORedirect.bind(this),ie.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),z?this._demuxer.bindDataSource(this._ioctl):ie.onDataArrival=this._onInitChunkArrival.bind(this),ie.open(z)}stop(){this._internalAbort(),this._disableStatisticsReporter()}_internalAbort(){this._ioctl&&(this._ioctl.destroy(),this._ioctl=null)}pause(){this._ioctl&&this._ioctl.isWorking()&&(this._ioctl.pause(),this._disableStatisticsReporter())}resume(){this._ioctl&&this._ioctl.isPaused()&&(this._ioctl.resume(),this._enableStatisticsReporter())}seek(T){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;let z=this._searchSegmentIndexContains(T);if(z===this._currentSegmentIndex){let Z=this._mediaInfo.segments[z];if(Z==null)this._pendingSeekTime=T;else{let ie=Z.getNearestKeyframe(T);this._remuxer.seek(ie.milliseconds),this._ioctl.seek(ie.fileposition),this._pendingResolveSeekPoint=ie.milliseconds}}else{let Z=this._mediaInfo.segments[z];if(Z==null)this._pendingSeekTime=T,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(z);else{let ie=Z.getNearestKeyframe(T);this._internalAbort(),this._remuxer.seek(T),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[z].timestampBase,this._loadSegment(z,ie.fileposition),this._pendingResolveSeekPoint=ie.milliseconds,this._reportSegmentMediaInfo(z)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(T){let z=this._mediaDataSource.segments,Z=z.length-1;for(let ie=0;ie0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,ie=this._demuxer.parseChunks(T,z);else if((Z=oe.probe(T)).match){this._demuxer=new oe(Z,this._config),this._remuxer||(this._remuxer=new qe(this._config));let le=this._mediaDataSource;le.duration!=null&&!isNaN(le.duration)&&(this._demuxer.overridedDuration=le.duration),typeof le.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=le.hasAudio),typeof le.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=le.hasVideo),this._demuxer.timestampBase=le.segments[this._currentSegmentIndex].timestampBase,this._demuxer.onError=this._onDemuxException.bind(this),this._demuxer.onMediaInfo=this._onMediaInfo.bind(this),this._demuxer.onMetaDataArrived=this._onMetaDataArrived.bind(this),this._demuxer.onScriptDataArrived=this._onScriptDataArrived.bind(this),this._remuxer.bindDataSource(this._demuxer.bindDataSource(this._ioctl)),this._remuxer.onInitSegment=this._onRemuxerInitSegmentArrival.bind(this),this._remuxer.onMediaSegment=this._onRemuxerMediaSegmentArrival.bind(this),ie=this._demuxer.parseChunks(T,z)}else Z=null,C.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(()=>{this._internalAbort()}),this._emitter.emit(Ze.DEMUX_ERROR,Ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),ie=0;return ie}_onMediaInfo(T){this._mediaInfo==null&&(this._mediaInfo=Object.assign({},T),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,xe.prototype));let z=Object.assign({},T);Object.setPrototypeOf(z,xe.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=z,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(()=>{let Z=this._pendingSeekTime;this._pendingSeekTime=null,this.seek(Z)})}_onMetaDataArrived(T){this._emitter.emit(Ze.METADATA_ARRIVED,T)}_onScriptDataArrived(T){this._emitter.emit(Ze.SCRIPTDATA_ARRIVED,T)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(T){let Z=T+1;Z0&&Z[0].originalDts===ie&&(ie=Z[0].pts),this._emitter.emit(Ze.RECOMMEND_SEEKPOINT,ie)}}_enableStatisticsReporter(){this._statisticsReporter==null&&(this._statisticsReporter=self.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval))}_disableStatisticsReporter(){this._statisticsReporter&&(self.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}_reportSegmentMediaInfo(T){let z=this._mediaInfo.segments[T],Z=Object.assign({},z);Z.duration=this._mediaInfo.duration,Z.segmentCount=this._mediaInfo.segmentCount,delete Z.segments,delete Z.keyframesIndex,this._emitter.emit(Ze.MEDIA_INFO,Z)}_reportStatisticsInfo(){let T={};T.url=this._ioctl.currentURL,T.hasRedirect=this._ioctl.hasRedirect,T.hasRedirect&&(T.redirectedURL=this._ioctl.currentRedirectedURL),T.speed=this._ioctl.currentSpeed,T.loaderType=this._ioctl.loaderType,T.currentSegmentIndex=this._currentSegmentIndex,T.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(Ze.STATISTICS_INFO,T)}}var Qe=Oe,_t=function(dt){let T="TransmuxingWorker",z=null,Z=Le.bind(this);k.install(),dt.addEventListener("message",function(Ie){switch(Ie.data.cmd){case"init":z=new Qe(Ie.data.param[0],Ie.data.param[1]),z.on(Ze.IO_ERROR,He.bind(this)),z.on(Ze.DEMUX_ERROR,Be.bind(this)),z.on(Ze.INIT_SEGMENT,ie.bind(this)),z.on(Ze.MEDIA_SEGMENT,le.bind(this)),z.on(Ze.LOADING_COMPLETE,$e.bind(this)),z.on(Ze.RECOVERED_EARLY_EOF,ot.bind(this)),z.on(Ze.MEDIA_INFO,Et.bind(this)),z.on(Ze.METADATA_ARRIVED,st.bind(this)),z.on(Ze.SCRIPTDATA_ARRIVED,Bt.bind(this)),z.on(Ze.STATISTICS_INFO,kt.bind(this)),z.on(Ze.RECOMMEND_SEEKPOINT,Ee.bind(this));break;case"destroy":z&&(z.destroy(),z=null),dt.postMessage({msg:"destroyed"});break;case"start":z.start();break;case"stop":z.stop();break;case"seek":z.seek(Ie.data.param);break;case"pause":z.pause();break;case"resume":z.resume();break;case"logging_config":{let ze=Ie.data.param;Q.applyConfig(ze),ze.enableCallback===!0?Q.addLogListener(Z):Q.removeLogListener(Z);break}}});function ie(Ie,ze){let he={msg:Ze.INIT_SEGMENT,data:{type:Ie,data:ze}};dt.postMessage(he,[ze.data])}function le(Ie,ze){let he={msg:Ze.MEDIA_SEGMENT,data:{type:Ie,data:ze}};dt.postMessage(he,[ze.data])}function $e(){let Ie={msg:Ze.LOADING_COMPLETE};dt.postMessage(Ie)}function ot(){let Ie={msg:Ze.RECOVERED_EARLY_EOF};dt.postMessage(Ie)}function Et(Ie){let ze={msg:Ze.MEDIA_INFO,data:Ie};dt.postMessage(ze)}function st(Ie){let ze={msg:Ze.METADATA_ARRIVED,data:Ie};dt.postMessage(ze)}function Bt(Ie){let ze={msg:Ze.SCRIPTDATA_ARRIVED,data:Ie};dt.postMessage(ze)}function kt(Ie){let ze={msg:Ze.STATISTICS_INFO,data:Ie};dt.postMessage(ze)}function He(Ie,ze){dt.postMessage({msg:Ze.IO_ERROR,data:{type:Ie,info:ze}})}function Be(Ie,ze){dt.postMessage({msg:Ze.DEMUX_ERROR,data:{type:Ie,info:ze}})}function Ee(Ie){dt.postMessage({msg:Ze.RECOMMEND_SEEKPOINT,data:Ie})}function Le(Ie,ze){dt.postMessage({msg:"logcat_callback",data:{type:Ie,logcat:ze}})}};class xt{constructor(T,z){if(this.TAG="Transmuxer",this._emitter=new(_()),z.enableWorker&&typeof Worker!="undefined")try{let Z=O(82059);this._worker=Z(_t),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[T,z]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},Q.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:Q.getConfig()})}catch(Z){C.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Qe(T,z)}else this._controller=new Qe(T,z);if(this._controller){let Z=this._controller;Z.on(Ze.IO_ERROR,this._onIOError.bind(this)),Z.on(Ze.DEMUX_ERROR,this._onDemuxError.bind(this)),Z.on(Ze.INIT_SEGMENT,this._onInitSegment.bind(this)),Z.on(Ze.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Z.on(Ze.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Z.on(Ze.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Z.on(Ze.MEDIA_INFO,this._onMediaInfo.bind(this)),Z.on(Ze.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Z.on(Ze.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Z.on(Ze.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Z.on(Ze.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}destroy(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),Q.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}hasWorker(){return this._worker!=null}open(){this._worker?this._worker.postMessage({cmd:"start"}):this._controller.start()}close(){this._worker?this._worker.postMessage({cmd:"stop"}):this._controller.stop()}seek(T){this._worker?this._worker.postMessage({cmd:"seek",param:T}):this._controller.seek(T)}pause(){this._worker?this._worker.postMessage({cmd:"pause"}):this._controller.pause()}resume(){this._worker?this._worker.postMessage({cmd:"resume"}):this._controller.resume()}_onInitSegment(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ze.INIT_SEGMENT,T,z)})}_onMediaSegment(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ze.MEDIA_SEGMENT,T,z)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(Ze.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(Ze.RECOVERED_EARLY_EOF)})}_onMediaInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ze.MEDIA_INFO,T)})}_onMetaDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ze.METADATA_ARRIVED,T)})}_onScriptDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ze.SCRIPTDATA_ARRIVED,T)})}_onStatisticsInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ze.STATISTICS_INFO,T)})}_onIOError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ze.IO_ERROR,T,z)})}_onDemuxError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ze.DEMUX_ERROR,T,z)})}_onRecommendSeekpoint(T){Promise.resolve().then(()=>{this._emitter.emit(Ze.RECOMMEND_SEEKPOINT,T)})}_onLoggingConfigChanged(T){this._worker&&this._worker.postMessage({cmd:"logging_config",param:T})}_onWorkerMessage(T){let z=T.data,Z=z.data;if(z.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(z.msg){case Ze.INIT_SEGMENT:case Ze.MEDIA_SEGMENT:this._emitter.emit(z.msg,Z.type,Z.data);break;case Ze.LOADING_COMPLETE:case Ze.RECOVERED_EARLY_EOF:this._emitter.emit(z.msg);break;case Ze.MEDIA_INFO:Object.setPrototypeOf(Z,xe.prototype),this._emitter.emit(z.msg,Z);break;case Ze.METADATA_ARRIVED:case Ze.SCRIPTDATA_ARRIVED:case Ze.STATISTICS_INFO:this._emitter.emit(z.msg,Z);break;case Ze.IO_ERROR:case Ze.DEMUX_ERROR:this._emitter.emit(z.msg,Z.type,Z.info);break;case Ze.RECOMMEND_SEEKPOINT:this._emitter.emit(z.msg,Z);break;case"logcat_callback":C.emitter.emit("log",Z.type,Z.logcat);break;default:break}}}var un=xt,Ut={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class mn{constructor(T){this.TAG="MSEController",this._config=T,this._emitter=new(_()),this._config.isLive&&this._config.autoCleanupSourceBuffer==null&&(this._config.autoCleanupSourceBuffer=!0),this.e={onSourceOpen:this._onSourceOpen.bind(this),onSourceEnded:this._onSourceEnded.bind(this),onSourceClose:this._onSourceClose.bind(this),onSourceBufferError:this._onSourceBufferError.bind(this),onSourceBufferUpdateEnd:this._onSourceBufferUpdateEnd.bind(this)},this._mediaSource=null,this._mediaSourceObjectURL=null,this._mediaElement=null,this._isBufferFull=!1,this._hasPendingEos=!1,this._requireSetMediaDuration=!1,this._pendingMediaDuration=0,this._pendingSourceBufferInit=[],this._mimeTypes={video:null,audio:null},this._sourceBuffers={video:null,audio:null},this._lastInitSegments={video:null,audio:null},this._pendingSegments={video:[],audio:[]},this._pendingRemoveRanges={video:[],audio:[]},this._idrList=new Xe}destroy(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}on(T,z){this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaSource)throw new d("MediaSource has been attached to an HTMLMediaElement!");let z=this._mediaSource=new window.MediaSource;z.addEventListener("sourceopen",this.e.onSourceOpen),z.addEventListener("sourceended",this.e.onSourceEnded),z.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=T,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),T.src=this._mediaSourceObjectURL}detachMediaElement(){if(this._mediaSource){let T=this._mediaSource;for(let z in this._sourceBuffers){let Z=this._pendingSegments[z];Z.splice(0,Z.length),this._pendingSegments[z]=null,this._pendingRemoveRanges[z]=null,this._lastInitSegments[z]=null;let ie=this._sourceBuffers[z];if(ie){if(T.readyState!=="closed"){try{T.removeSourceBuffer(ie)}catch(le){C.e(this.TAG,le.message)}ie.removeEventListener("error",this.e.onSourceBufferError),ie.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[z]=null,this._sourceBuffers[z]=null}}if(T.readyState==="open")try{T.endOfStream()}catch(z){C.e(this.TAG,z.message)}T.removeEventListener("sourceopen",this.e.onSourceOpen),T.removeEventListener("sourceended",this.e.onSourceEnded),T.removeEventListener("sourceclose",this.e.onSourceClose),this._pendingSourceBufferInit=[],this._isBufferFull=!1,this._idrList.clear(),this._mediaSource=null}this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement=null),this._mediaSourceObjectURL&&(window.URL.revokeObjectURL(this._mediaSourceObjectURL),this._mediaSourceObjectURL=null)}appendInitSegment(T,z){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(T),this._pendingSegments[T.type].push(T);return}let Z=T,ie=`${Z.container}`;Z.codec&&Z.codec.length>0&&(ie+=`;codecs=${Z.codec}`);let le=!1;if(C.v(this.TAG,"Received Initialization Segment, mimeType: "+ie),this._lastInitSegments[Z.type]=Z,ie!==this._mimeTypes[Z.type]){if(this._mimeTypes[Z.type])C.v(this.TAG,`Notice: ${Z.type} mimeType changed, origin: ${this._mimeTypes[Z.type]}, target: ${ie}`);else{le=!0;try{let $e=this._sourceBuffers[Z.type]=this._mediaSource.addSourceBuffer(ie);$e.addEventListener("error",this.e.onSourceBufferError),$e.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch($e){C.e(this.TAG,$e.message),this._emitter.emit(Ut.ERROR,{code:$e.code,msg:$e.message});return}}this._mimeTypes[Z.type]=ie}z||this._pendingSegments[Z.type].push(Z),le||this._sourceBuffers[Z.type]&&!this._sourceBuffers[Z.type].updating&&this._doAppendSegments(),u.safari&&Z.container==="audio/mpeg"&&Z.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=Z.mediaDuration/1e3,this._updateMediaSourceDuration())}appendMediaSegment(T){let z=T;this._pendingSegments[z.type].push(z),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();let Z=this._sourceBuffers[z.type];Z&&!Z.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}seek(T){for(let z in this._sourceBuffers){if(!this._sourceBuffers[z])continue;let Z=this._sourceBuffers[z];if(this._mediaSource.readyState==="open")try{Z.abort()}catch(le){C.e(this.TAG,le.message)}this._idrList.clear();let ie=this._pendingSegments[z];if(ie.splice(0,ie.length),this._mediaSource.readyState!=="closed"){for(let le=0;le=1&&T-ie.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}_doCleanupSourceBuffer(){let T=this._mediaElement.currentTime;for(let z in this._sourceBuffers){let Z=this._sourceBuffers[z];if(Z){let ie=Z.buffered,le=!1;for(let $e=0;$e=this._config.autoCleanupMaxBackwardDuration){le=!0;let st=T-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[z].push({start:ot,end:st})}}else Et0&&(isNaN(z)||Z>z)&&(C.v(this.TAG,`Update MediaSource duration from ${z} to ${Z}`),this._mediaSource.duration=Z),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}_doRemoveRanges(){for(let T in this._pendingRemoveRanges){if(!this._sourceBuffers[T]||this._sourceBuffers[T].updating)continue;let z=this._sourceBuffers[T],Z=this._pendingRemoveRanges[T];for(;Z.length&&!z.updating;){let ie=Z.shift();z.remove(ie.start,ie.end)}}}_doAppendSegments(){let T=this._pendingSegments;for(let z in T)if(!(!this._sourceBuffers[z]||this._sourceBuffers[z].updating)&&T[z].length>0){let Z=T[z].shift();if(Z.timestampOffset){let ie=this._sourceBuffers[z].timestampOffset,le=Z.timestampOffset/1e3;Math.abs(ie-le)>.1&&(C.v(this.TAG,`Update MPEG audio timestampOffset from ${ie} to ${le}`),this._sourceBuffers[z].timestampOffset=le),delete Z.timestampOffset}if(!Z.data||Z.data.byteLength===0)continue;try{this._sourceBuffers[z].appendBuffer(Z.data),this._isBufferFull=!1,z==="video"&&Z.hasOwnProperty("info")&&this._idrList.appendArray(Z.info.syncPoints)}catch(ie){this._pendingSegments[z].unshift(Z),ie.code===22?(this._isBufferFull||this._emitter.emit(Ut.BUFFER_FULL),this._isBufferFull=!0):(C.e(this.TAG,ie.message),this._emitter.emit(Ut.ERROR,{code:ie.code,msg:ie.message}))}}}_onSourceOpen(){if(C.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0){let T=this._pendingSourceBufferInit;for(;T.length;){let z=T.shift();this.appendInitSegment(z,!0)}}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(Ut.SOURCE_OPEN)}_onSourceEnded(){C.v(this.TAG,"MediaSource onSourceEnded")}_onSourceClose(){C.v(this.TAG,"MediaSource onSourceClose"),this._mediaSource&&this.e!=null&&(this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._mediaSource.removeEventListener("sourceended",this.e.onSourceEnded),this._mediaSource.removeEventListener("sourceclose",this.e.onSourceClose))}_hasPendingSegments(){let T=this._pendingSegments;return T.video.length>0||T.audio.length>0}_hasPendingRemoveRanges(){let T=this._pendingRemoveRanges;return T.video.length>0||T.audio.length>0}_onSourceBufferUpdateEnd(){this._requireSetMediaDuration?this._updateMediaSourceDuration():this._hasPendingRemoveRanges()?this._doRemoveRanges():this._hasPendingSegments()?this._doAppendSegments():this._hasPendingEos&&this.endOfStream(),this._emitter.emit(Ut.UPDATE_END)}_onSourceBufferError(T){C.e(this.TAG,`SourceBuffer Error: ${T}`)}}var Bn=mn;const rn={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Tn={NETWORK_EXCEPTION:r.EXCEPTION,NETWORK_STATUS_CODE_INVALID:r.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:r.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:r.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:Ne.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:Ne.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:Ne.CODEC_UNSUPPORTED};class en{constructor(T,z){if(this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new(_()),this._config=F(),typeof z=="object"&&Object.assign(this._config,z),T.type.toLowerCase()!=="flv")throw new l("FlvPlayer requires an flv MediaDataSource input!");T.isLive===!0&&(this._config.isLive=!0),this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this),onvSeeking:this._onvSeeking.bind(this),onvCanPlay:this._onvCanPlay.bind(this),onvStalled:this._onvStalled.bind(this),onvProgress:this._onvProgress.bind(this)},self.performance&&self.performance.now?this._now=self.performance.now.bind(self.performance):this._now=Date.now,this._pendingSeekTime=null,this._requestSetTime=!1,this._seekpointRecord=null,this._progressChecker=null,this._mediaDataSource=T,this._mediaElement=null,this._msectl=null,this._transmuxer=null,this._mseSourceOpened=!1,this._hasPendingLoad=!1,this._receivedCanPlay=!1,this._mediaInfo=null,this._statisticsInfo=null;let Z=u.chrome&&(u.version.major<50||u.version.major===50&&u.version.build<2661);this._alwaysSeekKeyframe=!!(Z||u.msedge||u.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}destroy(){this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._transmuxer&&this.unload(),this._mediaElement&&this.detachMediaElement(),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(T,z){T===Y.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}):T===Y.STATISTICS_INFO&&this._statisticsInfo!=null&&Promise.resolve().then(()=>{this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaElement=T,T.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),T.addEventListener("seeking",this.e.onvSeeking),T.addEventListener("canplay",this.e.onvCanPlay),T.addEventListener("stalled",this.e.onvStalled),T.addEventListener("progress",this.e.onvProgress),this._msectl=new Bn(this._config),this._msectl.on(Ut.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Ut.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Ut.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(Ut.ERROR,z=>{this._emitter.emit(Y.ERROR,rn.MEDIA_ERROR,Tn.MEDIA_MSE_ERROR,z)}),this._msectl.attachMediaElement(T),this._pendingSeekTime!=null)try{T.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(z){}}detachMediaElement(){this._mediaElement&&(this._msectl.detachMediaElement(),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement.removeEventListener("seeking",this.e.onvSeeking),this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay),this._mediaElement.removeEventListener("stalled",this.e.onvStalled),this._mediaElement.removeEventListener("progress",this.e.onvProgress),this._mediaElement=null),this._msectl&&(this._msectl.destroy(),this._msectl=null)}load(){if(!this._mediaElement)throw new d("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new d("FlvPlayer.load() has been called, please call unload() first!");if(!this._hasPendingLoad){if(this._config.deferLoadAfterSourceOpen&&this._mseSourceOpened===!1){this._hasPendingLoad=!0;return}this._mediaElement.readyState>0&&(this._requestSetTime=!0,this._mediaElement.currentTime=0),this._transmuxer=new un(this._mediaDataSource,this._config),this._transmuxer.on(Ze.INIT_SEGMENT,(T,z)=>{this._msectl.appendInitSegment(z)}),this._transmuxer.on(Ze.MEDIA_SEGMENT,(T,z)=>{if(this._msectl.appendMediaSegment(z),this._config.lazyLoad&&!this._config.isLive){let Z=this._mediaElement.currentTime;z.info.endDts>=(Z+this._config.lazyLoadMaxDuration)*1e3&&this._progressChecker==null&&(C.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}}),this._transmuxer.on(Ze.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(Y.LOADING_COMPLETE)}),this._transmuxer.on(Ze.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(Y.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Ze.IO_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,rn.NETWORK_ERROR,T,z)}),this._transmuxer.on(Ze.DEMUX_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,rn.MEDIA_ERROR,T,{code:-1,msg:z})}),this._transmuxer.on(Ze.MEDIA_INFO,T=>{this._mediaInfo=T,this._emitter.emit(Y.MEDIA_INFO,Object.assign({},T))}),this._transmuxer.on(Ze.METADATA_ARRIVED,T=>{this._emitter.emit(Y.METADATA_ARRIVED,T)}),this._transmuxer.on(Ze.SCRIPTDATA_ARRIVED,T=>{this._emitter.emit(Y.SCRIPTDATA_ARRIVED,T)}),this._transmuxer.on(Ze.STATISTICS_INFO,T=>{this._statisticsInfo=this._fillStatisticsInfo(T),this._emitter.emit(Y.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(Ze.RECOMMEND_SEEKPOINT,T=>{this._mediaElement&&!this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=T/1e3)}),this._transmuxer.open()}}unload(){this._mediaElement&&this._mediaElement.pause(),this._msectl&&this._msectl.seek(0),this._transmuxer&&(this._transmuxer.close(),this._transmuxer.destroy(),this._transmuxer=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(T){this._mediaElement.volume=T}get muted(){return this._mediaElement.muted}set muted(T){this._mediaElement.muted=T}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(T){this._mediaElement?this._internalSeek(T):this._pendingSeekTime=T}get mediaInfo(){return Object.assign({},this._mediaInfo)}get statisticsInfo(){return this._statisticsInfo==null&&(this._statisticsInfo={}),this._statisticsInfo=this._fillStatisticsInfo(this._statisticsInfo),Object.assign({},this._statisticsInfo)}_fillStatisticsInfo(T){if(T.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return T;let z=!0,Z=0,ie=0;if(this._mediaElement.getVideoPlaybackQuality){let le=this._mediaElement.getVideoPlaybackQuality();Z=le.totalVideoFrames,ie=le.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,ie=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=ie),T}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let T=this._mediaElement.buffered,z=this._mediaElement.currentTime,Z=0,ie=0;for(let le=0;le=z+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(C.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}_onmseBufferFull(){C.v(this.TAG,"MSE SourceBuffer is full, suspend transmuxing task"),this._progressChecker==null&&this._suspendTransmuxer()}_suspendTransmuxer(){this._transmuxer&&(this._transmuxer.pause(),this._progressChecker==null&&(this._progressChecker=window.setInterval(this._checkProgressAndResume.bind(this),1e3)))}_checkProgressAndResume(){let T=this._mediaElement.currentTime,z=this._mediaElement.buffered,Z=!1;for(let ie=0;ie=le&&T<$e){T>=$e-this._config.lazyLoadRecoverDuration&&(Z=!0);break}}Z&&(window.clearInterval(this._progressChecker),this._progressChecker=null,Z&&(C.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}_isTimepointBuffered(T){let z=this._mediaElement.buffered;for(let Z=0;Z=ie&&T0){let le=this._mediaElement.buffered.start(0);(le<1&&T0&&z.currentTime0){let ie=Z.start(0);if(ie<1&&z{this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}):T===Y.STATISTICS_INFO&&this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}),this._emitter.addListener(T,z)}off(T,z){this._emitter.removeListener(T,z)}attachMediaElement(T){if(this._mediaElement=T,T.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{T.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(z){}}detachMediaElement(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src"),this._mediaElement.removeEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._mediaElement=null),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}load(){if(!this._mediaElement)throw new d("HTMLMediaElement must be attached before load()!");this._mediaElement.src=this._mediaDataSource.url,this._mediaElement.readyState>0&&(this._mediaElement.currentTime=0),this._mediaElement.preload="auto",this._mediaElement.load(),this._statisticsReporter=window.setInterval(this._reportStatisticsInfo.bind(this),this._config.statisticsInfoReportInterval)}unload(){this._mediaElement&&(this._mediaElement.src="",this._mediaElement.removeAttribute("src")),this._statisticsReporter!=null&&(window.clearInterval(this._statisticsReporter),this._statisticsReporter=null)}play(){return this._mediaElement.play()}pause(){this._mediaElement.pause()}get type(){return this._type}get buffered(){return this._mediaElement.buffered}get duration(){return this._mediaElement.duration}get volume(){return this._mediaElement.volume}set volume(T){this._mediaElement.volume=T}get muted(){return this._mediaElement.muted}set muted(T){this._mediaElement.muted=T}get currentTime(){return this._mediaElement?this._mediaElement.currentTime:0}set currentTime(T){this._mediaElement?this._mediaElement.currentTime=T:this._pendingSeekTime=T}get mediaInfo(){let z={mimeType:(this._mediaElement instanceof HTMLAudioElement?"audio/":"video/")+this._mediaDataSource.type};return this._mediaElement&&(z.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(z.width=this._mediaElement.videoWidth,z.height=this._mediaElement.videoHeight)),z}get statisticsInfo(){let T={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return T;let z=!0,Z=0,ie=0;if(this._mediaElement.getVideoPlaybackQuality){let le=this._mediaElement.getVideoPlaybackQuality();Z=le.totalVideoFrames,ie=le.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,ie=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=ie),T}_onvLoadedMetadata(T){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}_reportStatisticsInfo(){this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}}var St=Xt;k.install();function It(dt,T){let z=dt;if(z==null||typeof z!="object")throw new l("MediaDataSource must be an javascript object!");if(!z.hasOwnProperty("type"))throw new l("MediaDataSource must has type field to indicate video file type!");switch(z.type){case"flv":return new jt(z,T);default:return new St(z,T)}}function Rt(){return j.supportMSEH264Playback()}function Wt(){return j.getFeatureList()}let dn={};dn.createPlayer=It,dn.isSupported=Rt,dn.getFeatureList=Wt,dn.BaseLoader=n,dn.LoaderStatus=g,dn.LoaderErrors=r,dn.Events=Y,dn.ErrorTypes=rn,dn.ErrorDetails=Tn,dn.FlvPlayer=jt,dn.NativePlayer=St,dn.LoggingControl=Q,Object.defineProperty(dn,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Dn=dn},9981:function(Nn,pt){"use strict";const O=function(){const h=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let k=1;k{const N=P[_];N!==void 0&&(h[_]=N)})}return h};pt.Z=O},86013:function(Nn,pt,O){"use strict";var h=O(59301),k=O(19248);const P=_=>{let N;return typeof _=="object"&&(_!=null&&_.clearIcon)?N=_:_&&(N={clearIcon:h.createElement(k.Z,null)}),N};pt.Z=P},54500:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return h}});const h=k=>k?typeof k=="function"?k():k:null},97224:function(Nn,pt,O){"use strict";O.d(pt,{F:function(){return h}});function h(P){return P!=null&&P===P.window}const k=P=>{var _,N;if(typeof window=="undefined")return 0;let C=0;return h(P)?C=P.pageYOffset:P instanceof Document?C=P.documentElement.scrollTop:(P instanceof HTMLElement||P)&&(C=P.scrollTop),P&&!h(P)&&typeof C!="number"&&(C=(N=((_=P.ownerDocument)!==null&&_!==void 0?_:P).documentElement)===null||N===void 0?void 0:N.scrollTop),C};pt.Z=k},83010:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return _}});var h=O(16089);function k(N,C,m,p){const E=m-C;return N/=p/2,N<1?E/2*N*N*N+C:E/2*((N-=2)*N*N+2)+C}var P=O(97224);function _(N){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:m=()=>window,callback:p,duration:E=450}=C,d=m(),l=(0,P.Z)(d),o=Date.now(),g=()=>{const n=Date.now()-o,a=k(n>E?E:n,l,N,E);(0,P.F)(d)?d.scrollTo(window.pageXOffset,a):d instanceof Document||d.constructor.name==="HTMLDocument"?d.documentElement.scrollTop=a:d.scrollTop=a,n{var e;const{prefixCls:t,className:i,popupClassName:f,dropdownClassName:y,children:b,dataSource:x}=s,A=(0,m.Z)(b);let w;A.length===1&&_.isValidElement(A[0])&&!l(A[0])&&([w]=A);const L=w?()=>w:void 0;let M;A.length&&l(A[0])?M=b:M=x?x.map(U=>{if(_.isValidElement(U))return U;switch(typeof U){case"string":return _.createElement(d,{key:U,value:U},U);case"object":{const{value:F}=U;return _.createElement(d,{key:F,value:F},U.text)}default:return}}):[];const{getPrefixCls:D}=_.useContext(E.E_),B=D("select",t),[I]=(0,p.Cn)("SelectLike",(e=s.dropdownStyle)===null||e===void 0?void 0:e.zIndex);return _.createElement(P.default,Object.assign({ref:v,suffixIcon:null},(0,h.Z)(s,["dataSource","dropdownClassName"]),{prefixCls:B,popupClassName:f||y,dropdownStyle:Object.assign(Object.assign({},s.dropdownStyle),{zIndex:I}),className:C()(`${B}-auto-complete`,i),mode:P.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:L}),M)};var r=_.forwardRef(o);const{Option:n}=P.default,a=(0,k.Z)(r,"dropdownAlign",s=>(0,h.Z)(s,["visible"])),c=r;c.Option=n,c._InternalPanelDoNotUseOrYouWillBeFired=a;var u=c},79939:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return tt}});var h=O(94480),k=O(59301),P=O(92310),_=O.n(P),N=O(54476),C=O(33885),m=O(42978),p=O(75931),E=O(37463),d=O(6551),l=O(6089),o=O(18929),g=k.createContext({}),r=g,n=O(76190),a=O(20068),c="__rc_cascader_search_mark__",u=function(ye,_e,Ge){var Se=Ge.label,ut=Se===void 0?"":Se;return _e.some(function(bt){return String(bt[ut]).toLowerCase().includes(ye.toLowerCase())})},s=function(ye,_e,Ge,Se){return _e.map(function(ut){return ut[Se.label]}).join(" / ")},v=function(ye,_e,Ge,Se,ut,bt){var Pt=ut.filter,Yt=Pt===void 0?u:Pt,sn=ut.render,Mn=sn===void 0?s:sn,xn=ut.limit,an=xn===void 0?50:xn,hn=ut.sort;return k.useMemo(function(){var gn=[];if(!ye)return[];function Lt(On,jn){var bn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;On.forEach(function(Fn){if(!(!hn&&an!==!1&&an>0&&gn.length>=an)){var er=[].concat((0,h.Z)(jn),[Fn]),Cr=Fn[Ge.children],sr=bn||Fn.disabled;if((!Cr||Cr.length===0||bt)&&Yt(ye,er,{label:Ge.label})){var Rn;gn.push((0,C.Z)((0,C.Z)({},Fn),{},(Rn={disabled:sr},(0,a.Z)(Rn,Ge.label,Mn(ye,er,Se,Ge)),(0,a.Z)(Rn,c,er),(0,a.Z)(Rn,Ge.children,void 0),Rn)))}Cr&&Lt(Fn[Ge.children],er,sr)}})}return Lt(_e,[]),hn&&gn.sort(function(On,jn){return hn(On[c],jn[c],ye,Ge)}),an!==!1&&an>0?gn.slice(0,an):gn},[ye,_e,Ge,Se,Mn,bt,Yt,hn,an])},e=v,t="__RC_CASCADER_SPLIT__",i="SHOW_PARENT",f="SHOW_CHILD";function y(me){return me.join(t)}function b(me){return me.map(y)}function x(me){return me.split(t)}function A(me){var ye=me||{},_e=ye.label,Ge=ye.value,Se=ye.children,ut=Ge||"value";return{label:_e||"label",value:ut,key:ut,children:Se||"children"}}function w(me,ye){var _e,Ge;return(_e=me.isLeaf)!==null&&_e!==void 0?_e:!((Ge=me[ye.children])!==null&&Ge!==void 0&&Ge.length)}function L(me){var ye=me.parentElement;if(ye){var _e=me.offsetTop-ye.offsetTop;_e-ye.scrollTop<0?ye.scrollTo({top:_e}):_e+me.offsetHeight-ye.scrollTop>ye.offsetHeight&&ye.scrollTo({top:_e+me.offsetHeight-ye.offsetHeight})}}function M(me,ye){return me.map(function(_e){var Ge;return(Ge=_e[c])===null||Ge===void 0?void 0:Ge.map(function(Se){return Se[ye.value]})})}function D(me){return Array.isArray(me)&&Array.isArray(me[0])}function B(me){return me?D(me)?me:(me.length===0?[]:[me]).map(function(ye){return Array.isArray(ye)?ye:[ye]}):[]}function I(me,ye,_e){var Ge=new Set(me),Se=ye();return me.filter(function(ut){var bt=Se[ut],Pt=bt?bt.parent:null,Yt=bt?bt.children:null;return bt&&bt.node.disabled?!0:_e===f?!(Yt&&Yt.some(function(sn){return sn.key&&Ge.has(sn.key)})):!(Pt&&!Pt.node.disabled&&Ge.has(Pt.key))})}function U(me,ye,_e){for(var Ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Se=ye,ut=[],bt=function(){var sn,Mn,xn,an=me[Pt],hn=(sn=Se)===null||sn===void 0?void 0:sn.findIndex(function(Lt){var On=Lt[_e.value];return Ge?String(On)===String(an):On===an}),gn=hn!==-1?(Mn=Se)===null||Mn===void 0?void 0:Mn[hn]:null;ut.push({value:(xn=gn==null?void 0:gn[_e.value])!==null&&xn!==void 0?xn:an,index:hn,option:gn}),Se=gn==null?void 0:gn[_e.children]},Pt=0;Pt1){var Rn=gn.slice(0,-1);bn(Rn)}else sn(!1)},Cr=function(){var Rn,or=((Rn=On[Lt])===null||Rn===void 0?void 0:Rn[_e.children])||[],fr=or.find(function(tr){return!tr.disabled});if(fr){var nr=[].concat((0,h.Z)(gn),[fr[_e.value]]);bn(nr)}};k.useImperativeHandle(me,function(){return{onKeyDown:function(Rn){var or=Rn.which;switch(or){case Fe.Z.UP:case Fe.Z.DOWN:{var fr=0;or===Fe.Z.UP?fr=-1:or===Fe.Z.DOWN&&(fr=1),fr!==0&&Fn(fr);break}case Fe.Z.LEFT:{if(Yt)break;xn?Cr():er();break}case Fe.Z.RIGHT:{if(Yt)break;xn?er():Cr();break}case Fe.Z.BACKSPACE:{Yt||er();break}case Fe.Z.ENTER:{if(gn.length){var nr=On[Lt],tr=(nr==null?void 0:nr[c])||[];tr.length?ut(tr.map(function($n){return $n[_e.value]}),tr[tr.length-1]):ut(gn,On[Lt])}break}case Fe.Z.ESC:sn(!1),Mn&&Rn.stopPropagation()}},onKeyUp:function(){}}})},We=k.forwardRef(function(me,ye){var _e,Ge,Se,ut=me.prefixCls,bt=me.multiple,Pt=me.searchValue,Yt=me.toggleOpen,sn=me.notFoundContent,Mn=me.direction,xn=me.open,an=me.disabled,hn=k.useRef(null),gn=Mn==="rtl",Lt=k.useContext(r),On=Lt.options,jn=Lt.values,bn=Lt.halfValues,Fn=Lt.fieldNames,er=Lt.changeOnSelect,Cr=Lt.onSelect,sr=Lt.searchOptions,Rn=Lt.dropdownPrefixCls,or=Lt.loadData,fr=Lt.expandTrigger,nr=Rn||ut,tr=k.useState([]),$n=(0,m.Z)(tr,2),wr=$n[0],Dt=$n[1],Hr=function(En){if(!(!or||Pt)){var Qn=U(En,On,Fn),mt=Qn.map(function(Jt){var Vn=Jt.option;return Vn}),vr=mt[mt.length-1];if(vr&&!w(vr,Fn)){var Pn=y(En);Dt(function(Jt){return[].concat((0,h.Z)(Jt),[Pn])}),or(mt)}}};k.useEffect(function(){wr.length&&wr.forEach(function(At){var En=x(At),Qn=U(En,On,Fn,!0).map(function(vr){var Pn=vr.option;return Pn}),mt=Qn[Qn.length-1];(!mt||mt[Fn.children]||w(mt,Fn))&&Dt(function(vr){return vr.filter(function(Pn){return Pn!==At})})})},[On,wr,Fn]);var Rr=k.useMemo(function(){return new Set(b(jn))},[jn]),kr=k.useMemo(function(){return new Set(b(bn))},[bn]),Wr=Ve(bt,xn),ea=(0,m.Z)(Wr,2),ar=ea[0],lr=ea[1],Sn=function(En){lr(En),Hr(En)},Zt=function(En){if(an)return!1;var Qn=En.disabled,mt=w(En,Fn);return!Qn&&(mt||er||bt)},qt=function(En,Qn){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Cr(En),!bt&&(Qn||er&&(fr==="hover"||mt))&&Yt(!1)},Xn=k.useMemo(function(){return Pt?sr:On},[Pt,sr,On]),zn=k.useMemo(function(){for(var At=[{options:Xn}],En=Xn,Qn=M(En,Fn),mt=function(){var Jt=ar[vr],Vn=En.find(function(Kn,pr){return(Qn[pr]?y(Qn[pr]):Kn[Fn.value])===Jt}),yr=Vn==null?void 0:Vn[Fn.children];if(!(yr!=null&&yr.length))return 1;En=yr,At.push({options:yr})},vr=0;vr":jn,Fn=_e.loadingIcon,er=_e.direction,Cr=_e.notFoundContent,sr=Cr===void 0?"Not Found":Cr,Rn=_e.disabled,or=!!Yt,fr=(0,re.C8)(sn,{value:Mn,postState:B}),nr=(0,m.Z)(fr,2),tr=nr[0],$n=nr[1],wr=k.useMemo(function(){return A(xn)},[JSON.stringify(xn)]),Dt=Y(wr,Pt),Hr=(0,m.Z)(Dt,3),Rr=Hr[0],kr=Hr[1],Wr=Hr[2],ea=K(Rr,wr),ar=Ce(or,tr,kr,Wr,ea),lr=(0,m.Z)(ar,3),Sn=lr[0],Zt=lr[1],qt=lr[2],Xn=(0,re.zX)(function(et){if($n(et),hn){var Ft=B(et),At=Ft.map(function(mt){return U(mt,Rr,wr).map(function(vr){return vr.option})}),En=or?Ft:Ft[0],Qn=or?At:At[0];hn(En,Qn)}}),zn=xe(or,Xn,Sn,Zt,qt,kr,Wr,gn),hr=(0,re.zX)(function(et){zn(et)}),Tr=k.useMemo(function(){return{options:Rr,fieldNames:wr,values:Sn,halfValues:Zt,changeOnSelect:an,onSelect:hr,checkable:Yt,searchOptions:[],dropdownPrefixCls:void 0,loadData:Lt,expandTrigger:On,expandIcon:bn,loadingIcon:Fn,dropdownMenuColumnStyle:void 0}},[Rr,wr,Sn,Zt,an,hr,Yt,Lt,On,bn,Fn]),gr="".concat(Se,"-panel"),Pr=!Rr.length;return k.createElement(r.Provider,{value:Tr},k.createElement("div",{className:_()(gr,(ye={},(0,a.Z)(ye,"".concat(gr,"-rtl"),er==="rtl"),(0,a.Z)(ye,"".concat(gr,"-empty"),Pr),ye),bt),style:ut},Pr?sr:k.createElement(Ne,{prefixCls:Se,searchValue:"",multiple:or,toggleOpen:ee,open:!0,direction:er,disabled:Rn})))}function q(me){var ye=me.onPopupVisibleChange,_e=me.popupVisible,Ge=me.popupClassName,Se=me.popupPlacement;warning(!ye,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(_e===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Ge===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Se===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function fe(me,ye){if(me){var _e=function Ge(Se){for(var ut=0;ut":Hr,kr=me.loadingIcon,Wr=me.children,ea=me.dropdownMatchSelectWidth,ar=ea===void 0?!1:ea,lr=me.showCheckedStrategy,Sn=lr===void 0?i:lr,Zt=me.optionRender,qt=(0,p.Z)(me,te),Xn=(0,d.ZP)(_e),zn=!!xn,hr=(0,o.Z)(bt,{value:Pt,postState:B}),Tr=(0,m.Z)(hr,2),gr=Tr[0],Pr=Tr[1],et=k.useMemo(function(){return A(ut)},[JSON.stringify(ut)]),Ft=Y(et,bn),At=(0,m.Z)(Ft,3),En=At[0],Qn=At[1],mt=At[2],vr=(0,o.Z)("",{value:gn,postState:function(Yn){return Yn||""}}),Pn=(0,m.Z)(vr,2),Jt=Pn[0],Vn=Pn[1],yr=function(Yn,Nr){Vn(Yn),Nr.source!=="blur"&&Lt&&Lt(Yn)},Kn=Q(On),pr=(0,m.Z)(Kn,2),Ln=pr[0],Mr=pr[1],mr=e(Jt,En,et,Fn||Se,Mr,Yt||zn),Gn=K(En,et),br=Ce(zn,gr,Qn,mt,Gn),Ar=(0,m.Z)(br,3),Ir=Ar[0],Jn=Ar[1],Er=Ar[2],ra=k.useMemo(function(){var kn=b(Ir),Yn=I(kn,Qn,Sn);return[].concat((0,h.Z)(Er),(0,h.Z)(mt(Yn)))},[Ir,Qn,mt,Er,Sn]),Gr=F(ra,En,et,zn,Mn),Dr=(0,l.Z)(function(kn){if(Pr(kn),sn){var Yn=B(kn),Nr=Yn.map(function(ya){return U(ya,En,et).map(function(oa){return oa.option})}),Gt=zn?Yn:Yn[0],Xr=zn?Nr:Nr[0];sn(Gt,Xr)}}),ur=xe(zn,Dr,Ir,Jn,Er,Qn,mt,Sn),ca=(0,l.Z)(function(kn){(!zn||hn)&&Vn(""),ur(kn)}),da=function(Yn,Nr){if(Nr.type==="clear"){Dr([]);return}var Gt=Nr.values[0],Xr=Gt.valueCells;ca(Xr)},sa=sr!==void 0?sr:Cr,fa=or||Rn,qr=$n||tr,Ea=function(Yn){wr==null||wr(Yn),Dt==null||Dt(Yn)},Lr=k.useMemo(function(){return{options:En,fieldNames:et,values:Ir,halfValues:Jn,changeOnSelect:Yt,onSelect:ca,checkable:xn,searchOptions:mr,dropdownPrefixCls:Fn,loadData:er,expandTrigger:jn,expandIcon:Rr,loadingIcon:kr,dropdownMenuColumnStyle:fr,optionRender:Zt}},[En,et,Ir,Jn,Yt,ca,xn,mr,Fn,er,jn,Rr,kr,fr,Zt]),Qr=!(Jt?mr:En).length,vn=Jt&&Mr.matchInputWidth||Qr?{}:{minWidth:"auto"};return k.createElement(r.Provider,{value:Lr},k.createElement(E.Ac,(0,N.Z)({},qt,{ref:ye,id:Xn,prefixCls:Se,autoClearSearchValue:hn,dropdownMatchSelectWidth:ar,dropdownStyle:(0,C.Z)((0,C.Z)({},vn),nr),displayValues:Gr,onDisplayValuesChange:da,mode:zn?"multiple":void 0,searchValue:Jt,onSearch:yr,showSearch:Ln,OptionList:$,emptyOptions:Qr,open:sa,dropdownClassName:fa,placement:qr,onDropdownVisibleChange:Ea,getRawInputElement:function(){return Wr}})))});ce.SHOW_PARENT=i,ce.SHOW_CHILD=f,ce.Panel=oe;var lt=ce,Xe=lt,ft=O(2738),yt=O(75030),qe=O(86641),vt=O(45915),Ze=O(82855),Oe=O(48755),Qe=O(38406),rt=O(2171),_t=O(83397),xt=O(31756),un=O(56553),$t=O(24971),Ut=O(1722),mn=O(90376),Bn=O(68525),rn=O(90005),Tn=O(70045);function en(me,ye){const{getPrefixCls:_e,direction:Ge,renderEmpty:Se}=k.useContext(Oe.E_),ut=ye||Ge,bt=_e("select",me),Pt=_e("cascader",me);return[bt,Pt,ut,Se]}var jt=en;function Xt(me,ye){return k.useMemo(()=>ye?k.createElement("span",{className:`${me}-checkbox-inner`}):!1,[ye])}var St=O(33853),It=O(58617),Rt=O(38819),dn=(me,ye,_e)=>{let Ge=_e;_e||(Ge=ye?k.createElement(St.Z,null):k.createElement(Rt.Z,null));const Se=k.createElement("span",{className:`${me}-menu-item-loading-icon`},k.createElement(It.Z,{spin:!0}));return k.useMemo(()=>[Ge,Se],[Ge])},Dn=O(56119),dt=O(16931),T=O(36237),z=O(36170),Z=O(63356),le=me=>{const{prefixCls:ye,componentCls:_e}=me,Ge=`${_e}-menu-item`,Se=` &${Ge}-expand ${Ge}-expand-icon, ${Ge}-loading-icon `;return[(0,z.C2)(`${ye}-checkbox`,me),{[_e]:{"&-checkbox":{top:0,marginInlineEnd:me.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_e}-menu-empty`]:{[`${_e}-menu`]:{width:"100%",height:"auto",[Ge]:{color:me.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:me.controlItemWidth,height:me.dropdownHeight,margin:0,padding:me.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,T.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`},"&-item":Object.assign(Object.assign({},Z.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:me.optionPadding,lineHeight:me.lineHeight,cursor:"pointer",transition:`all ${me.motionDurationMid}`,borderRadius:me.borderRadiusSM,"&:hover":{background:me.controlItemBgHover},"&-disabled":{color:me.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Se]:{color:me.colorTextDisabled}},[`&-active:not(${Ge}-disabled)`]:{"&, &:hover":{color:me.optionSelectedColor,fontWeight:me.optionSelectedFontWeight,backgroundColor:me.optionSelectedBg}},"&-content":{flex:"auto"},[Se]:{marginInlineStart:me.paddingXXS,color:me.colorTextDescription,fontSize:me.fontSizeIcon},"&-keyword":{color:me.colorHighlight}})}}}]};const $e=me=>{const{componentCls:ye,antCls:_e}=me;return[{[ye]:{width:me.controlWidth}},{[`${ye}-dropdown`]:[{[`&${_e}-select-dropdown`]:{padding:0}},le(me)]},{[`${ye}-dropdown-rtl`]:{direction:"rtl"}},(0,Dn.c)(me)]},ot=me=>{const ye=Math.round((me.controlHeight-me.fontSize*me.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:me.controlItemBgActive,optionSelectedFontWeight:me.fontWeightStrong,optionPadding:`${ye}px ${me.paddingSM}px`,menuPadding:me.paddingXXS,optionSelectedColor:me.colorText}};var Et=(0,dt.I$)("Cascader",me=>[$e(me)],ot);const st=me=>{const{componentCls:ye}=me;return{[`${ye}-panel`]:[le(me),{display:"inline-flex",border:`${(0,T.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`,borderRadius:me.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${ye}-menus`]:{alignItems:"stretch"},[`${ye}-menu`]:{height:"auto"},"&-empty":{padding:me.paddingXXS}}]}};var Bt=(0,dt.A1)(["Cascader","Panel"],me=>st(me),ot);function kt(me){const{prefixCls:ye,className:_e,multiple:Ge,rootClassName:Se,notFoundContent:ut,direction:bt,expandIcon:Pt,disabled:Yt}=me,sn=k.useContext(rt.Z),Mn=Yt!=null?Yt:sn,[xn,an,hn,gn]=jt(ye,bt),Lt=(0,_t.Z)(an),[On,jn,bn]=Et(an,Lt);Bt(an);const Fn=hn==="rtl",[er,Cr]=dn(xn,Fn,Pt),sr=ut||(gn==null?void 0:gn("Cascader"))||k.createElement(Qe.Z,{componentName:"Cascader"}),Rn=Xt(an,Ge);return On(k.createElement(oe,Object.assign({},me,{checkable:Rn,prefixCls:an,className:_()(_e,jn,Se,bn,Lt),notFoundContent:sr,direction:hn,expandIcon:er,loadingIcon:Cr,disabled:Mn})))}var He=kt,Be=function(me,ye){var _e={};for(var Ge in me)Object.prototype.hasOwnProperty.call(me,Ge)&&ye.indexOf(Ge)<0&&(_e[Ge]=me[Ge]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ge=Object.getOwnPropertySymbols(me);SeYt===0?[Pt]:[].concat((0,h.Z)(bt),[ye,Pt]),[]),Se=[];let ut=0;return Ge.forEach((bt,Pt)=>{const Yt=ut+bt.length;let sn=me.slice(ut,Yt);ut=Yt,Pt%2===1&&(sn=k.createElement("span",{className:`${_e}-menu-item-keyword`,key:`separator-${Pt}`},sn)),Se.push(sn)}),Se}const ze=(me,ye,_e,Ge)=>{const Se=[],ut=me.toLowerCase();return ye.forEach((bt,Pt)=>{Pt!==0&&Se.push(" / ");let Yt=bt[Ge.label];const sn=typeof Yt;(sn==="string"||sn==="number")&&(Yt=Ie(String(Yt),ut,_e)),Se.push(Yt)}),Se},he=k.forwardRef((me,ye)=>{var _e;const{prefixCls:Ge,size:Se,disabled:ut,className:bt,rootClassName:Pt,multiple:Yt,bordered:sn=!0,transitionName:Mn,choiceTransitionName:xn="",popupClassName:an,dropdownClassName:hn,expandIcon:gn,placement:Lt,showSearch:On,allowClear:jn=!0,notFoundContent:bn,direction:Fn,getPopupContainer:er,status:Cr,showArrow:sr,builtinPlacements:Rn,style:or,variant:fr}=me,nr=Be(me,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),tr=(0,ft.Z)(nr,["suffixIcon"]),{getPrefixCls:$n,getPopupContainer:wr,className:Dt,style:Hr}=(0,Oe.dj)("cascader"),{popupOverflow:Rr}=k.useContext(Oe.E_),{status:kr,hasFeedback:Wr,isFormItemInput:ea,feedbackIcon:ar}=k.useContext(un.aM),lr=(0,Ze.F)(kr,Cr),[Sn,Zt,qt,Xn]=jt(Ge,Fn),zn=qt==="rtl",hr=$n(),Tr=(0,_t.Z)(Sn),[gr,Pr,et]=(0,mn.Z)(Sn,Tr),Ft=(0,_t.Z)(Zt),[At]=Et(Zt,Ft),{compactSize:En,compactItemClassnames:Qn}=(0,Tn.ri)(Sn,Fn),[mt,vr]=(0,$t.Z)("cascader",fr,sn),Pn=bn||(Xn==null?void 0:Xn("Cascader"))||k.createElement(Qe.Z,{componentName:"Cascader"}),Jt=_()(an||hn,`${Zt}-dropdown`,{[`${Zt}-dropdown-rtl`]:qt==="rtl"},Pt,Tr,Ft,Pr,et),Vn=k.useMemo(()=>{if(!On)return On;let Dr={render:ze};return typeof On=="object"&&(Dr=Object.assign(Object.assign({},Dr),On)),Dr},[On]),yr=(0,xt.Z)(Dr=>{var ur;return(ur=Se!=null?Se:En)!==null&&ur!==void 0?ur:Dr}),Kn=k.useContext(rt.Z),pr=ut!=null?ut:Kn,[Ln,Mr]=dn(Sn,zn,gn),mr=Xt(Zt,Yt),Gn=(0,rn.Z)(me.suffixIcon,sr),{suffixIcon:br,removeIcon:Ar,clearIcon:Ir}=(0,Bn.Z)(Object.assign(Object.assign({},me),{hasFeedback:Wr,feedbackIcon:ar,showSuffixIcon:Gn,multiple:Yt,prefixCls:Sn,componentName:"Cascader"})),Jn=k.useMemo(()=>Lt!==void 0?Lt:zn?"bottomRight":"bottomLeft",[Lt,zn]),Er=jn===!0?{clearIcon:Ir}:jn,[ra]=(0,yt.Cn)("SelectLike",(_e=tr.dropdownStyle)===null||_e===void 0?void 0:_e.zIndex),Gr=k.createElement(Xe,Object.assign({prefixCls:Sn,className:_()(!Ge&&Zt,{[`${Sn}-lg`]:yr==="large",[`${Sn}-sm`]:yr==="small",[`${Sn}-rtl`]:zn,[`${Sn}-${mt}`]:vr,[`${Sn}-in-form-item`]:ea},(0,Ze.Z)(Sn,lr,Wr),Qn,Dt,bt,Pt,Tr,Ft,Pr,et),disabled:pr,style:Object.assign(Object.assign({},Hr),or)},tr,{builtinPlacements:(0,Ut.Z)(Rn,Rr),direction:qt,placement:Jn,notFoundContent:Pn,allowClear:Er,showSearch:Vn,expandIcon:Ln,suffixIcon:br,removeIcon:Ar,loadingIcon:Mr,checkable:mr,dropdownClassName:Jt,dropdownPrefixCls:Ge||Zt,dropdownStyle:Object.assign(Object.assign({},tr.dropdownStyle),{zIndex:ra}),choiceTransitionName:(0,qe.m)(hr,"",xn),transitionName:(0,qe.m)(hr,"slide-up",Mn),getPopupContainer:er||wr,ref:ye}));return At(gr(Gr))}),je=(0,vt.Z)(he,"dropdownAlign",me=>(0,ft.Z)(me,["visible"]));he.SHOW_PARENT=Le,he.SHOW_CHILD=Ee,he.Panel=He,he._InternalPanelDoNotUseOrYouWillBeFired=je;var tt=he},62673:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return b}});var h=O(59301),k=O(92310),P=O.n(k),_=O(16632),N=O(8654),C=O(12919),m=O(63872),p=O(48755),E=O(2171),d=O(83397),l=O(56553),g=h.createContext(null),r=O(36170),n=O(74632),a=function(x,A){var w={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(w[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,L=Object.getOwnPropertySymbols(x);M{var w;const{prefixCls:L,className:M,rootClassName:D,children:B,indeterminate:I=!1,style:U,onMouseEnter:F,onMouseLeave:K,skipGroup:j=!1,disabled:X}=x,Y=a(x,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:se,direction:Q,checkbox:ve}=h.useContext(p.E_),xe=h.useContext(g),{isFormItemInput:Ce}=h.useContext(l.aM),De=h.useContext(E.Z),Ue=(w=(xe==null?void 0:xe.disabled)||X)!==null&&w!==void 0?w:De,Me=h.useRef(Y.value),Je=h.useRef(null),Re=(0,N.sQ)(A,Je);h.useEffect(()=>{xe==null||xe.registerValue(Y.value)},[]),h.useEffect(()=>{if(!j)return Y.value!==Me.current&&(xe==null||xe.cancelValue(Me.current),xe==null||xe.registerValue(Y.value),Me.current=Y.value),()=>xe==null?void 0:xe.cancelValue(Y.value)},[Y.value]),h.useEffect(()=>{var oe;!((oe=Je.current)===null||oe===void 0)&&oe.input&&(Je.current.input.indeterminate=I)},[I]);const ge=se("checkbox",L),Ve=(0,d.Z)(ge),[Fe,Te,We]=(0,r.ZP)(ge,Ve),Ne=Object.assign({},Y);xe&&!j&&(Ne.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),xe.toggleOption&&xe.toggleOption({label:B,value:Y.value})},Ne.name=xe.name,Ne.checked=xe.value.includes(Y.value));const V=P()(`${ge}-wrapper`,{[`${ge}-rtl`]:Q==="rtl",[`${ge}-wrapper-checked`]:Ne.checked,[`${ge}-wrapper-disabled`]:Ue,[`${ge}-wrapper-in-form-item`]:Ce},ve==null?void 0:ve.className,M,D,We,Ve,Te),$=P()({[`${ge}-indeterminate`]:I},m.A,Te),[re,ee]=(0,n.Z)(Ne.onClick);return Fe(h.createElement(C.Z,{component:"Checkbox",disabled:Ue},h.createElement("label",{className:V,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),U),onMouseEnter:F,onMouseLeave:K,onClick:re},h.createElement(_.Z,Object.assign({},Ne,{onClick:ee,prefixCls:ge,className:$,disabled:Ue,ref:Re})),B!==void 0&&h.createElement("span",{className:`${ge}-label`},B))))};var s=h.forwardRef(c),v=O(94480),e=O(2738),t=function(x,A){var w={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(w[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,L=Object.getOwnPropertySymbols(x);M{const{defaultValue:w,children:L,options:M=[],prefixCls:D,className:B,rootClassName:I,style:U,onChange:F}=x,K=t(x,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:j,direction:X}=h.useContext(p.E_),[Y,se]=h.useState(K.value||w||[]),[Q,ve]=h.useState([]);h.useEffect(()=>{"value"in K&&se(K.value||[])},[K.value]);const xe=h.useMemo(()=>M.map($=>typeof $=="string"||typeof $=="number"?{label:$,value:$}:$),[M]),Ce=$=>{ve(re=>re.filter(ee=>ee!==$))},De=$=>{ve(re=>[].concat((0,v.Z)(re),[$]))},Ue=$=>{const re=Y.indexOf($.value),ee=(0,v.Z)(Y);re===-1?ee.push($.value):ee.splice(re,1),"value"in K||se(ee),F==null||F(ee.filter(oe=>Q.includes(oe)).sort((oe,q)=>{const fe=xe.findIndex(te=>te.value===oe),be=xe.findIndex(te=>te.value===q);return fe-be}))},Me=j("checkbox",D),Je=`${Me}-group`,Re=(0,d.Z)(Me),[ge,Ve,Fe]=(0,r.ZP)(Me,Re),Te=(0,e.Z)(K,["value","disabled"]),We=M.length?xe.map($=>h.createElement(s,{prefixCls:Me,key:$.value.toString(),disabled:"disabled"in $?$.disabled:K.disabled,value:$.value,checked:Y.includes($.value),onChange:$.onChange,className:`${Je}-item`,style:$.style,title:$.title,id:$.id,required:$.required},$.label)):L,Ne={toggleOption:Ue,value:Y,disabled:K.disabled,name:K.name,registerValue:De,cancelValue:Ce},V=P()(Je,{[`${Je}-rtl`]:X==="rtl"},B,I,Fe,Re,Ve);return ge(h.createElement("div",Object.assign({className:V,style:U},Te,{ref:A}),h.createElement(g.Provider,{value:Ne},We)))});const y=s;y.Group=f,y.__ANT_CHECKBOX=!0;var b=y},36170:function(Nn,pt,O){"use strict";O.d(pt,{C2:function(){return C}});var h=O(36237),k=O(63356),P=O(51636),_=O(16931);const N=m=>{const{checkboxCls:p}=m,E=`${p}-wrapper`;return[{[`${p}-group`]:Object.assign(Object.assign({},(0,k.Wf)(m)),{display:"inline-flex",flexWrap:"wrap",columnGap:m.marginXS,[`> ${m.antCls}-row`]:{flex:1}}),[E]:Object.assign(Object.assign({},(0,k.Wf)(m)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${E}`]:{marginInlineStart:0},[`&${E}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[p]:Object.assign(Object.assign({},(0,k.Wf)(m)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:m.borderRadiusSM,alignSelf:"center",[`${p}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${p}-inner`]:Object.assign({},(0,k.oN)(m))},[`${p}-inner`]:{boxSizing:"border-box",display:"block",width:m.checkboxSize,height:m.checkboxSize,direction:"ltr",backgroundColor:m.colorBgContainer,border:`${(0,h.unit)(m.lineWidth)} ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadiusSM,borderCollapse:"separate",transition:`all ${m.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:m.calc(m.checkboxSize).div(14).mul(5).equal(),height:m.calc(m.checkboxSize).div(14).mul(8).equal(),border:`${(0,h.unit)(m.lineWidthBold)} solid ${m.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${m.motionDurationFast} ${m.motionEaseInBack}, opacity ${m.motionDurationFast}`}},"& + span":{paddingInlineStart:m.paddingXS,paddingInlineEnd:m.paddingXS}})},{[` ${E}:not(${E}-disabled), ${p}:not(${p}-disabled) `]:{[`&:hover ${p}-inner`]:{borderColor:m.colorPrimary}},[`${E}:not(${E}-disabled)`]:{[`&:hover ${p}-checked:not(${p}-disabled) ${p}-inner`]:{backgroundColor:m.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${p}-checked:not(${p}-disabled):after`]:{borderColor:m.colorPrimaryHover}}},{[`${p}-checked`]:{[`${p}-inner`]:{backgroundColor:m.colorPrimary,borderColor:m.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${m.motionDurationMid} ${m.motionEaseOutBack} ${m.motionDurationFast}`}}},[` ${E}-checked:not(${E}-disabled), ${p}-checked:not(${p}-disabled) `]:{[`&:hover ${p}-inner`]:{backgroundColor:m.colorPrimaryHover,borderColor:"transparent"}}},{[p]:{"&-indeterminate":{[`${p}-inner`]:{backgroundColor:`${m.colorBgContainer} !important`,borderColor:`${m.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:m.calc(m.fontSizeLG).div(2).equal(),height:m.calc(m.fontSizeLG).div(2).equal(),backgroundColor:m.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${p}-inner`]:{backgroundColor:`${m.colorBgContainer} !important`,borderColor:`${m.colorPrimary} !important`}}}},{[`${E}-disabled`]:{cursor:"not-allowed"},[`${p}-disabled`]:{[`&, ${p}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${p}-inner`]:{background:m.colorBgContainerDisabled,borderColor:m.colorBorder,"&:after":{borderColor:m.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:m.colorTextDisabled},[`&${p}-indeterminate ${p}-inner::after`]:{background:m.colorTextDisabled}}}]};function C(m,p){const E=(0,P.mergeToken)(p,{checkboxCls:`.${m}`,checkboxSize:p.controlInteractiveSize});return[N(E)]}pt.ZP=(0,_.I$)("Checkbox",(m,p)=>{let{prefixCls:E}=p;return[C(E,m)]})},38406:function(Nn,pt,O){"use strict";var h=O(59301),k=O(48755),P=O(584);const _=N=>{const{componentName:C}=N,{getPrefixCls:m}=(0,h.useContext)(k.E_),p=m("empty");switch(C){case"Table":case"List":return h.createElement(P.Z,{image:P.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return h.createElement(P.Z,{image:P.Z.PRESENTED_IMAGE_SIMPLE,className:`${p}-small`});case"Table.filter":return null;default:return h.createElement(P.Z,null)}};pt.Z=_},37285:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return r}});var h=O(59301),k=O(92310),P=O.n(k),_=O(48755),N=O(36237),C=O(63356),m=O(16931),p=O(51636);const E=n=>{const{componentCls:a,sizePaddingEdgeHorizontal:c,colorSplit:u,lineWidth:s,textPaddingInline:v,orientationMargin:e,verticalMarginInline:t}=n;return{[a]:Object.assign(Object.assign({},(0,C.Wf)(n)),{borderBlockStart:`${(0,N.unit)(s)} solid ${u}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:t,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,N.unit)(s)} solid ${u}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,N.unit)(n.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${a}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,N.unit)(n.dividerHorizontalWithTextGutterMargin)} 0`,color:n.colorTextHeading,fontWeight:500,fontSize:n.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${u}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,N.unit)(s)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${a}-with-text-start`]:{"&::before":{width:`calc(${e} * 100%)`},"&::after":{width:`calc(100% - ${e} * 100%)`}},[`&-horizontal${a}-with-text-end`]:{"&::before":{width:`calc(100% - ${e} * 100%)`},"&::after":{width:`calc(${e} * 100%)`}},[`${a}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:v},"&-dashed":{background:"none",borderColor:u,borderStyle:"dashed",borderWidth:`${(0,N.unit)(s)} 0 0`},[`&-horizontal${a}-with-text${a}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${a}-dashed`]:{borderInlineStartWidth:s,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:u,borderStyle:"dotted",borderWidth:`${(0,N.unit)(s)} 0 0`},[`&-horizontal${a}-with-text${a}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${a}-dotted`]:{borderInlineStartWidth:s,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${a}-with-text`]:{color:n.colorText,fontWeight:"normal",fontSize:n.fontSize},[`&-horizontal${a}-with-text-start${a}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${a}-inner-text`]:{paddingInlineStart:c}},[`&-horizontal${a}-with-text-end${a}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${a}-inner-text`]:{paddingInlineEnd:c}}})}},d=n=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:n.marginXS});var l=(0,m.I$)("Divider",n=>{const a=(0,p.mergeToken)(n,{dividerHorizontalWithTextGutterMargin:n.margin,dividerHorizontalGutterMargin:n.marginLG,sizePaddingEdgeHorizontal:0});return[E(a)]},d,{unitless:{orientationMargin:!0}}),o=function(n,a){var c={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&a.indexOf(u)<0&&(c[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s{const{getPrefixCls:a,direction:c,className:u,style:s}=(0,_.dj)("divider"),{prefixCls:v,type:e="horizontal",orientation:t="center",orientationMargin:i,className:f,rootClassName:y,children:b,dashed:x,variant:A="solid",plain:w,style:L}=n,M=o(n,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),D=a("divider",v),[B,I,U]=l(D),F=!!b,K=h.useMemo(()=>t==="left"?c==="rtl"?"end":"start":t==="right"?c==="rtl"?"start":"end":t,[c,t]),j=K==="start"&&i!=null,X=K==="end"&&i!=null,Y=P()(D,u,I,U,`${D}-${e}`,{[`${D}-with-text`]:F,[`${D}-with-text-${K}`]:F,[`${D}-dashed`]:!!x,[`${D}-${A}`]:A!=="solid",[`${D}-plain`]:!!w,[`${D}-rtl`]:c==="rtl",[`${D}-no-default-orientation-margin-start`]:j,[`${D}-no-default-orientation-margin-end`]:X},f,y),se=h.useMemo(()=>typeof i=="number"?i:/^\d+$/.test(i)?Number(i):i,[i]),Q={marginInlineStart:j?se:void 0,marginInlineEnd:X?se:void 0};return B(h.createElement("div",Object.assign({className:Y,style:Object.assign(Object.assign({},s),L)},M,{role:"separator"}),b&&e!=="vertical"&&h.createElement("span",{className:`${D}-inner-text`,style:Q},b)))}},36207:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return re}});var h=O(59301),k=O(92310),P=O.n(k),_=O(33885),N=O(42978),C=O(43403),m=O(34280),p=h.createContext(null),E=h.createContext({}),d=p,l=O(20068),o=O(54476),g=O(77900),r=O(10228),n=O(26112),a=O(75931),c=O(8654),u=["prefixCls","className","containerRef"],s=function(oe){var q=oe.prefixCls,fe=oe.className,be=oe.containerRef,te=(0,a.Z)(oe,u),ce=h.useContext(E),lt=ce.panel,Xe=(0,c.x1)(lt,be);return h.createElement("div",(0,o.Z)({className:P()("".concat(q,"-content"),fe),role:"dialog",ref:Xe},(0,n.Z)(oe,{aria:!0}),{"aria-modal":"true"},te))},v=s,e=O(48736);function t(ee){return typeof ee=="string"&&String(Number(ee))===ee?((0,e.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ee)):ee}function i(ee){warning(!("wrapperClassName"in ee),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ee.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var f={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function y(ee,oe){var q,fe,be,te=ee.prefixCls,ce=ee.open,lt=ee.placement,Xe=ee.inline,ft=ee.push,yt=ee.forceRender,qe=ee.autoFocus,vt=ee.keyboard,Ze=ee.classNames,Oe=ee.rootClassName,Qe=ee.rootStyle,rt=ee.zIndex,_t=ee.className,xt=ee.id,un=ee.style,$t=ee.motion,Ut=ee.width,mn=ee.height,Bn=ee.children,rn=ee.mask,Tn=ee.maskClosable,en=ee.maskMotion,jt=ee.maskClassName,Xt=ee.maskStyle,St=ee.afterOpenChange,It=ee.onClose,Rt=ee.onMouseEnter,Wt=ee.onMouseOver,dn=ee.onMouseLeave,Dn=ee.onClick,dt=ee.onKeyDown,T=ee.onKeyUp,z=ee.styles,Z=ee.drawerRender,ie=h.useRef(),le=h.useRef(),$e=h.useRef();h.useImperativeHandle(oe,function(){return ie.current});var ot=function(_e){var Ge=_e.keyCode,Se=_e.shiftKey;switch(Ge){case r.Z.TAB:{if(Ge===r.Z.TAB){if(!Se&&document.activeElement===$e.current){var ut;(ut=le.current)===null||ut===void 0||ut.focus({preventScroll:!0})}else if(Se&&document.activeElement===le.current){var bt;(bt=$e.current)===null||bt===void 0||bt.focus({preventScroll:!0})}}break}case r.Z.ESC:{It&&vt&&(_e.stopPropagation(),It(_e));break}}};h.useEffect(function(){if(ce&&qe){var ye;(ye=ie.current)===null||ye===void 0||ye.focus({preventScroll:!0})}},[ce]);var Et=h.useState(!1),st=(0,N.Z)(Et,2),Bt=st[0],kt=st[1],He=h.useContext(d),Be;typeof ft=="boolean"?Be=ft?{}:{distance:0}:Be=ft||{};var Ee=(q=(fe=(be=Be)===null||be===void 0?void 0:be.distance)!==null&&fe!==void 0?fe:He==null?void 0:He.pushDistance)!==null&&q!==void 0?q:180,Le=h.useMemo(function(){return{pushDistance:Ee,push:function(){kt(!0)},pull:function(){kt(!1)}}},[Ee]);h.useEffect(function(){if(ce){var ye;He==null||(ye=He.push)===null||ye===void 0||ye.call(He)}else{var _e;He==null||(_e=He.pull)===null||_e===void 0||_e.call(He)}},[ce]),h.useEffect(function(){return function(){var ye;He==null||(ye=He.pull)===null||ye===void 0||ye.call(He)}},[]);var Ie=rn&&h.createElement(g.default,(0,o.Z)({key:"mask"},en,{visible:ce}),function(ye,_e){var Ge=ye.className,Se=ye.style;return h.createElement("div",{className:P()("".concat(te,"-mask"),Ge,Ze==null?void 0:Ze.mask,jt),style:(0,_.Z)((0,_.Z)((0,_.Z)({},Se),Xt),z==null?void 0:z.mask),onClick:Tn&&ce?It:void 0,ref:_e})}),ze=typeof $t=="function"?$t(lt):$t,he={};if(Bt&&Ee)switch(lt){case"top":he.transform="translateY(".concat(Ee,"px)");break;case"bottom":he.transform="translateY(".concat(-Ee,"px)");break;case"left":he.transform="translateX(".concat(Ee,"px)");break;default:he.transform="translateX(".concat(-Ee,"px)");break}lt==="left"||lt==="right"?he.width=t(Ut):he.height=t(mn);var je={onMouseEnter:Rt,onMouseOver:Wt,onMouseLeave:dn,onClick:Dn,onKeyDown:dt,onKeyUp:T},tt=h.createElement(g.default,(0,o.Z)({key:"panel"},ze,{visible:ce,forceRender:yt,onVisibleChanged:function(_e){St==null||St(_e)},removeOnLeave:!1,leavedClassName:"".concat(te,"-content-wrapper-hidden")}),function(ye,_e){var Ge=ye.className,Se=ye.style,ut=h.createElement(v,(0,o.Z)({id:xt,containerRef:_e,prefixCls:te,className:P()(_t,Ze==null?void 0:Ze.content),style:(0,_.Z)((0,_.Z)({},un),z==null?void 0:z.content)},(0,n.Z)(ee,{aria:!0}),je),Bn);return h.createElement("div",(0,o.Z)({className:P()("".concat(te,"-content-wrapper"),Ze==null?void 0:Ze.wrapper,Ge),style:(0,_.Z)((0,_.Z)((0,_.Z)({},he),Se),z==null?void 0:z.wrapper)},(0,n.Z)(ee,{data:!0})),Z?Z(ut):ut)}),me=(0,_.Z)({},Qe);return rt&&(me.zIndex=rt),h.createElement(d.Provider,{value:Le},h.createElement("div",{className:P()(te,"".concat(te,"-").concat(lt),Oe,(0,l.Z)((0,l.Z)({},"".concat(te,"-open"),ce),"".concat(te,"-inline"),Xe)),style:me,tabIndex:-1,ref:ie,onKeyDown:ot},Ie,h.createElement("div",{tabIndex:0,ref:le,style:f,"aria-hidden":"true","data-sentinel":"start"}),tt,h.createElement("div",{tabIndex:0,ref:$e,style:f,"aria-hidden":"true","data-sentinel":"end"})))}var b=h.forwardRef(y),x=b,A=function(oe){var q=oe.open,fe=q===void 0?!1:q,be=oe.prefixCls,te=be===void 0?"rc-drawer":be,ce=oe.placement,lt=ce===void 0?"right":ce,Xe=oe.autoFocus,ft=Xe===void 0?!0:Xe,yt=oe.keyboard,qe=yt===void 0?!0:yt,vt=oe.width,Ze=vt===void 0?378:vt,Oe=oe.mask,Qe=Oe===void 0?!0:Oe,rt=oe.maskClosable,_t=rt===void 0?!0:rt,xt=oe.getContainer,un=oe.forceRender,$t=oe.afterOpenChange,Ut=oe.destroyOnClose,mn=oe.onMouseEnter,Bn=oe.onMouseOver,rn=oe.onMouseLeave,Tn=oe.onClick,en=oe.onKeyDown,jt=oe.onKeyUp,Xt=oe.panelRef,St=h.useState(!1),It=(0,N.Z)(St,2),Rt=It[0],Wt=It[1],dn=h.useState(!1),Dn=(0,N.Z)(dn,2),dt=Dn[0],T=Dn[1];(0,m.Z)(function(){T(!0)},[]);var z=dt?fe:!1,Z=h.useRef(),ie=h.useRef();(0,m.Z)(function(){z&&(ie.current=document.activeElement)},[z]);var le=function(Bt){var kt;if(Wt(Bt),$t==null||$t(Bt),!Bt&&ie.current&&!((kt=Z.current)!==null&&kt!==void 0&&kt.contains(ie.current))){var He;(He=ie.current)===null||He===void 0||He.focus({preventScroll:!0})}},$e=h.useMemo(function(){return{panel:Xt}},[Xt]);if(!un&&!Rt&&!z&&Ut)return null;var ot={onMouseEnter:mn,onMouseOver:Bn,onMouseLeave:rn,onClick:Tn,onKeyDown:en,onKeyUp:jt},Et=(0,_.Z)((0,_.Z)({},oe),{},{open:z,prefixCls:te,placement:lt,autoFocus:ft,keyboard:qe,width:Ze,mask:Qe,maskClosable:_t,inline:xt===!1,afterOpenChange:le,ref:Z},ot);return h.createElement(E.Provider,{value:$e},h.createElement(C.Z,{open:z||un||Rt,autoDestroy:!1,getContainer:xt,autoLock:Qe&&(z||Rt)},h.createElement(x,Et)))},w=A,L=w,M=O(62487),D=O(75030),B=O(86641),I=O(55743),U=O(48755),F=O(91190),K=O(78776),j=O(458),Y=ee=>{var oe,q;const{prefixCls:fe,title:be,footer:te,extra:ce,loading:lt,onClose:Xe,headerStyle:ft,bodyStyle:yt,footerStyle:qe,children:vt,classNames:Ze,styles:Oe}=ee,Qe=(0,U.dj)("drawer"),rt=h.useCallback(Ut=>h.createElement("button",{type:"button",onClick:Xe,"aria-label":"Close",className:`${fe}-close`},Ut),[Xe]),[_t,xt]=(0,K.Z)((0,K.w)(ee),(0,K.w)(Qe),{closable:!0,closeIconRender:rt}),un=h.useMemo(()=>{var Ut,mn;return!be&&!_t?null:h.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(Ut=Qe.styles)===null||Ut===void 0?void 0:Ut.header),ft),Oe==null?void 0:Oe.header),className:P()(`${fe}-header`,{[`${fe}-header-close-only`]:_t&&!be&&!ce},(mn=Qe.classNames)===null||mn===void 0?void 0:mn.header,Ze==null?void 0:Ze.header)},h.createElement("div",{className:`${fe}-header-title`},xt,be&&h.createElement("div",{className:`${fe}-title`},be)),ce&&h.createElement("div",{className:`${fe}-extra`},ce))},[_t,xt,ce,ft,fe,be]),$t=h.useMemo(()=>{var Ut,mn;if(!te)return null;const Bn=`${fe}-footer`;return h.createElement("div",{className:P()(Bn,(Ut=Qe.classNames)===null||Ut===void 0?void 0:Ut.footer,Ze==null?void 0:Ze.footer),style:Object.assign(Object.assign(Object.assign({},(mn=Qe.styles)===null||mn===void 0?void 0:mn.footer),qe),Oe==null?void 0:Oe.footer)},te)},[te,qe,fe]);return h.createElement(h.Fragment,null,un,h.createElement("div",{className:P()(`${fe}-body`,Ze==null?void 0:Ze.body,(oe=Qe.classNames)===null||oe===void 0?void 0:oe.body),style:Object.assign(Object.assign(Object.assign({},(q=Qe.styles)===null||q===void 0?void 0:q.body),yt),Oe==null?void 0:Oe.body)},lt?h.createElement(j.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${fe}-body-skeleton`}):vt),$t)},se=O(36237),Q=O(63356),ve=O(16931),xe=O(51636);const Ce=ee=>{const oe="100%";return{left:`translateX(-${oe})`,right:`translateX(${oe})`,top:`translateY(-${oe})`,bottom:`translateY(${oe})`}[ee]},De=(ee,oe)=>({"&-enter, &-appear":Object.assign(Object.assign({},ee),{"&-active":oe}),"&-leave":Object.assign(Object.assign({},oe),{"&-active":ee})}),Ue=(ee,oe)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${oe}`}}},De({opacity:ee},{opacity:1})),Me=(ee,oe)=>[Ue(.7,oe),De({transform:Ce(ee)},{transform:"none"})];var Re=ee=>{const{componentCls:oe,motionDurationSlow:q}=ee;return{[oe]:{[`${oe}-mask-motion`]:Ue(0,q),[`${oe}-panel-motion`]:["left","right","top","bottom"].reduce((fe,be)=>Object.assign(Object.assign({},fe),{[`&-${be}`]:Me(be,q)}),{})}}};const ge=ee=>{const{borderRadiusSM:oe,componentCls:q,zIndexPopup:fe,colorBgMask:be,colorBgElevated:te,motionDurationSlow:ce,motionDurationMid:lt,paddingXS:Xe,padding:ft,paddingLG:yt,fontSizeLG:qe,lineHeightLG:vt,lineWidth:Ze,lineType:Oe,colorSplit:Qe,marginXS:rt,colorIcon:_t,colorIconHover:xt,colorBgTextHover:un,colorBgTextActive:$t,colorText:Ut,fontWeightStrong:mn,footerPaddingBlock:Bn,footerPaddingInline:rn,calc:Tn}=ee,en=`${q}-content-wrapper`;return{[q]:{position:"fixed",inset:0,zIndex:fe,pointerEvents:"none",color:Ut,"&-pure":{position:"relative",background:te,display:"flex",flexDirection:"column",[`&${q}-left`]:{boxShadow:ee.boxShadowDrawerLeft},[`&${q}-right`]:{boxShadow:ee.boxShadowDrawerRight},[`&${q}-top`]:{boxShadow:ee.boxShadowDrawerUp},[`&${q}-bottom`]:{boxShadow:ee.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${q}-mask`]:{position:"absolute",inset:0,zIndex:fe,background:be,pointerEvents:"auto"},[en]:{position:"absolute",zIndex:fe,maxWidth:"100vw",transition:`all ${ce}`,"&-hidden":{display:"none"}},[`&-left > ${en}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ee.boxShadowDrawerLeft},[`&-right > ${en}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ee.boxShadowDrawerRight},[`&-top > ${en}`]:{top:0,insetInline:0,boxShadow:ee.boxShadowDrawerUp},[`&-bottom > ${en}`]:{bottom:0,insetInline:0,boxShadow:ee.boxShadowDrawerDown},[`${q}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:te,pointerEvents:"auto"},[`${q}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,se.unit)(ft)} ${(0,se.unit)(yt)}`,fontSize:qe,lineHeight:vt,borderBottom:`${(0,se.unit)(Ze)} ${Oe} ${Qe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${q}-extra`]:{flex:"none"},[`${q}-close`]:Object.assign({display:"inline-flex",width:Tn(qe).add(Xe).equal(),height:Tn(qe).add(Xe).equal(),borderRadius:oe,justifyContent:"center",alignItems:"center",marginInlineEnd:rt,color:_t,fontWeight:mn,fontSize:qe,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${lt}`,textRendering:"auto","&:hover":{color:xt,backgroundColor:un,textDecoration:"none"},"&:active":{backgroundColor:$t}},(0,Q.Qy)(ee)),[`${q}-title`]:{flex:1,margin:0,fontWeight:ee.fontWeightStrong,fontSize:qe,lineHeight:vt},[`${q}-body`]:{flex:1,minWidth:0,minHeight:0,padding:yt,overflow:"auto",[`${q}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${q}-footer`]:{flexShrink:0,padding:`${(0,se.unit)(Bn)} ${(0,se.unit)(rn)}`,borderTop:`${(0,se.unit)(Ze)} ${Oe} ${Qe}`},"&-rtl":{direction:"rtl"}}}},Ve=ee=>({zIndexPopup:ee.zIndexPopupBase,footerPaddingBlock:ee.paddingXS,footerPaddingInline:ee.padding});var Fe=(0,ve.I$)("Drawer",ee=>{const oe=(0,xe.mergeToken)(ee,{});return[ge(oe),Re(oe)]},Ve),Te=function(ee,oe){var q={};for(var fe in ee)Object.prototype.hasOwnProperty.call(ee,fe)&&oe.indexOf(fe)<0&&(q[fe]=ee[fe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,fe=Object.getOwnPropertySymbols(ee);be{var oe;const{rootClassName:q,width:fe,height:be,size:te="default",mask:ce=!0,push:lt=Ne,open:Xe,afterOpenChange:ft,onClose:yt,prefixCls:qe,getContainer:vt,style:Ze,className:Oe,visible:Qe,afterVisibleChange:rt,maskStyle:_t,drawerStyle:xt,contentWrapperStyle:un}=ee,$t=Te(ee,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:Ut,getPrefixCls:mn,direction:Bn,className:rn,style:Tn,classNames:en,styles:jt}=(0,U.dj)("drawer"),Xt=mn("drawer",qe),[St,It,Rt]=Fe(Xt),Wt=vt===void 0&&Ut?()=>Ut(document.body):vt,dn=P()({"no-mask":!ce,[`${Xt}-rtl`]:Bn==="rtl"},q,It,Rt),Dn=h.useMemo(()=>fe!=null?fe:te==="large"?736:378,[fe,te]),dt=h.useMemo(()=>be!=null?be:te==="large"?736:378,[be,te]),T={motionName:(0,B.m)(Xt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},z=Et=>({motionName:(0,B.m)(Xt,`panel-motion-${Et}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Z=(0,F.H)(),[ie,le]=(0,D.Cn)("Drawer",$t.zIndex),{classNames:$e={},styles:ot={}}=$t;return St(h.createElement(M.Z,{form:!0,space:!0},h.createElement(I.Z.Provider,{value:le},h.createElement(L,Object.assign({prefixCls:Xt,onClose:yt,maskMotion:T,motion:z},$t,{classNames:{mask:P()($e.mask,en.mask),content:P()($e.content,en.content),wrapper:P()($e.wrapper,en.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ot.mask),_t),jt.mask),content:Object.assign(Object.assign(Object.assign({},ot.content),xt),jt.content),wrapper:Object.assign(Object.assign(Object.assign({},ot.wrapper),un),jt.wrapper)},open:Xe!=null?Xe:Qe,mask:ce,push:lt,width:Dn,height:dt,style:Object.assign(Object.assign({},Tn),Ze),className:P()(rn,Oe),rootClassName:dn,getContainer:Wt,afterOpenChange:ft!=null?ft:rt,panelRef:Z,zIndex:ie}),h.createElement(Y,Object.assign({prefixCls:Xt},$t,{onClose:yt}))))))},$=ee=>{const{prefixCls:oe,style:q,className:fe,placement:be="right"}=ee,te=Te(ee,["prefixCls","style","className","placement"]),{getPrefixCls:ce}=h.useContext(U.E_),lt=ce("drawer",oe),[Xe,ft,yt]=Fe(lt),qe=P()(lt,`${lt}-pure`,`${lt}-${be}`,ft,yt,fe);return Xe(h.createElement("div",{className:qe,style:q},h.createElement(Y,Object.assign({prefixCls:lt},te))))};V._InternalPanelDoNotUseOrYouWillBeFired=$;var re=V},19563:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return se}});var h=O(59301),k=O(33853),P=O(38819),_=O(92310),N=O.n(_),C=O(96478),m=O(6089),p=O(18929),E=O(2738),d=O(75030),o=Q=>typeof Q!="object"&&typeof Q!="function"||Q===null,g=O(52838),r=O(45915),n=O(22703),a=O(32383),c=O(55743),u=O(48755),s=O(83397),v=O(93041),e=O(78857),t=O(57700),i=O(36237),f=O(63356),y=O(46e3),b=O(93873),x=O(34925),A=O(37645),w=O(36305),L=O(16931),M=O(51636),B=Q=>{const{componentCls:ve,menuCls:xe,colorError:Ce,colorTextLightSolid:De}=Q,Ue=`${xe}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${xe} ${Ue}`]:{[`&${Ue}-danger:not(${Ue}-disabled)`]:{color:Ce,"&:hover":{color:De,backgroundColor:Ce}}}}}};const I=Q=>{const{componentCls:ve,menuCls:xe,zIndexPopup:Ce,dropdownArrowDistance:De,sizePopupArrow:Ue,antCls:Me,iconCls:Je,motionDurationMid:Re,paddingBlock:ge,fontSize:Ve,dropdownEdgeChildPadding:Fe,colorTextDisabled:Te,fontSizeIcon:We,controlPaddingHorizontal:Ne,colorBgElevated:V}=Q;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ce,display:"block","&::before":{position:"absolute",insetBlock:Q.calc(Ue).div(2).sub(De).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Me}-btn`]:{[`& > ${Je}-down, & > ${Me}-btn-icon > ${Je}-down`]:{fontSize:We}},[`${ve}-wrap`]:{position:"relative",[`${Me}-btn > ${Je}-down`]:{fontSize:We},[`${Je}-down::before`]:{transition:`transform ${Re}`}},[`${ve}-wrap-open`]:{[`${Je}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Me}-slide-down-enter${Me}-slide-down-enter-active${ve}-placement-bottomLeft, &${Me}-slide-down-appear${Me}-slide-down-appear-active${ve}-placement-bottomLeft, &${Me}-slide-down-enter${Me}-slide-down-enter-active${ve}-placement-bottom, &${Me}-slide-down-appear${Me}-slide-down-appear-active${ve}-placement-bottom, &${Me}-slide-down-enter${Me}-slide-down-enter-active${ve}-placement-bottomRight, &${Me}-slide-down-appear${Me}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:y.fJ},[`&${Me}-slide-up-enter${Me}-slide-up-enter-active${ve}-placement-topLeft, &${Me}-slide-up-appear${Me}-slide-up-appear-active${ve}-placement-topLeft, &${Me}-slide-up-enter${Me}-slide-up-enter-active${ve}-placement-top, &${Me}-slide-up-appear${Me}-slide-up-appear-active${ve}-placement-top, &${Me}-slide-up-enter${Me}-slide-up-enter-active${ve}-placement-topRight, &${Me}-slide-up-appear${Me}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:y.Qt},[`&${Me}-slide-down-leave${Me}-slide-down-leave-active${ve}-placement-bottomLeft, &${Me}-slide-down-leave${Me}-slide-down-leave-active${ve}-placement-bottom, &${Me}-slide-down-leave${Me}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:y.Uw},[`&${Me}-slide-up-leave${Me}-slide-up-leave-active${ve}-placement-topLeft, &${Me}-slide-up-leave${Me}-slide-up-leave-active${ve}-placement-top, &${Me}-slide-up-leave${Me}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:y.ly}}},(0,A.ZP)(Q,V,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${xe}`]:{position:"relative",margin:0},[`${xe}-submenu-popup`]:{position:"absolute",zIndex:Ce,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:Object.assign(Object.assign({},(0,f.Wf)(Q)),{[xe]:Object.assign(Object.assign({padding:Fe,listStyleType:"none",backgroundColor:V,backgroundClip:"padding-box",borderRadius:Q.borderRadiusLG,outline:"none",boxShadow:Q.boxShadowSecondary},(0,f.Qy)(Q)),{"&:empty":{padding:0,boxShadow:"none"},[`${xe}-item-group-title`]:{padding:`${(0,i.unit)(ge)} ${(0,i.unit)(Ne)}`,color:Q.colorTextDescription,transition:`all ${Re}`},[`${xe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${xe}-item-icon`]:{minWidth:Ve,marginInlineEnd:Q.marginXS,fontSize:Q.fontSizeSM},[`${xe}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Re}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${xe}-item-extra`]:{paddingInlineStart:Q.padding,marginInlineStart:"auto",fontSize:Q.fontSizeSM,color:Q.colorTextDescription}},[`${xe}-item, ${xe}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,i.unit)(ge)} ${(0,i.unit)(Ne)}`,color:Q.colorText,fontWeight:"normal",fontSize:Ve,lineHeight:Q.lineHeight,cursor:"pointer",transition:`all ${Re}`,borderRadius:Q.borderRadiusSM,"&:hover, &-active":{backgroundColor:Q.controlItemBgHover}},(0,f.Qy)(Q)),{"&-selected":{color:Q.colorPrimary,backgroundColor:Q.controlItemBgActive,"&:hover, &-active":{backgroundColor:Q.controlItemBgActiveHover}},"&-disabled":{color:Te,cursor:"not-allowed","&:hover":{color:Te,backgroundColor:V,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,i.unit)(Q.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:Q.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Q.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Q.colorTextDescription,fontSize:We,fontStyle:"normal"}}}),[`${xe}-item-group-list`]:{margin:`0 ${(0,i.unit)(Q.marginXS)}`,padding:0,listStyle:"none"},[`${xe}-submenu-title`]:{paddingInlineEnd:Q.calc(Ne).add(Q.fontSizeSM).equal()},[`${xe}-submenu-vertical`]:{position:"relative"},[`${xe}-submenu${xe}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:Te,backgroundColor:V,cursor:"not-allowed"}},[`${xe}-submenu-selected ${ve}-menu-submenu-title`]:{color:Q.colorPrimary}})})},[(0,y.oN)(Q,"slide-up"),(0,y.oN)(Q,"slide-down"),(0,b.Fm)(Q,"move-up"),(0,b.Fm)(Q,"move-down"),(0,x._y)(Q,"zoom-big")]]},U=Q=>Object.assign(Object.assign({zIndexPopup:Q.zIndexPopupBase+50,paddingBlock:(Q.controlHeight-Q.fontSize*Q.lineHeight)/2},(0,A.wZ)({contentRadius:Q.borderRadiusLG,limitVerticalRadius:!0})),(0,w.w)(Q));var F=(0,L.I$)("Dropdown",Q=>{const{marginXXS:ve,sizePopupArrow:xe,paddingXXS:Ce,componentCls:De}=Q,Ue=(0,M.mergeToken)(Q,{menuCls:`${De}-menu`,dropdownArrowDistance:Q.calc(xe).div(2).add(ve).equal(),dropdownEdgeChildPadding:Ce});return[I(Ue),B(Ue)]},U,{resetStyle:!1});const K=null,j=Q=>{var ve;const{menu:xe,arrow:Ce,prefixCls:De,children:Ue,trigger:Me,disabled:Je,dropdownRender:Re,getPopupContainer:ge,overlayClassName:Ve,rootClassName:Fe,overlayStyle:Te,open:We,onOpenChange:Ne,visible:V,onVisibleChange:$,mouseEnterDelay:re=.15,mouseLeaveDelay:ee=.1,autoAdjustOverflow:oe=!0,placement:q="",overlay:fe,transitionName:be}=Q,{getPopupContainer:te,getPrefixCls:ce,direction:lt,dropdown:Xe}=h.useContext(u.E_),ft=(0,a.ln)("Dropdown"),yt=h.useMemo(()=>{const Wt=ce();return be!==void 0?be:q.includes("top")?`${Wt}-slide-down`:`${Wt}-slide-up`},[ce,q,be]),qe=h.useMemo(()=>q?q.includes("Center")?q.slice(0,q.indexOf("Center")):q:lt==="rtl"?"bottomRight":"bottomLeft",[q,lt]),vt=ce("dropdown",De),Ze=(0,s.Z)(vt),[Oe,Qe,rt]=F(vt,Ze),[,_t]=(0,t.ZP)(),xt=h.Children.only(o(Ue)?h.createElement("span",null,Ue):Ue),un=(0,n.Tm)(xt,{className:N()(`${vt}-trigger`,{[`${vt}-rtl`]:lt==="rtl"},xt.props.className),disabled:(ve=xt.props.disabled)!==null&&ve!==void 0?ve:Je}),$t=Je?[]:Me,Ut=!!($t!=null&&$t.includes("contextMenu")),[mn,Bn]=(0,p.Z)(!1,{value:We!=null?We:V}),rn=(0,m.Z)(Wt=>{Ne==null||Ne(Wt,{source:"trigger"}),$==null||$(Wt),Bn(Wt)}),Tn=N()(Ve,Fe,Qe,rt,Ze,Xe==null?void 0:Xe.className,{[`${vt}-rtl`]:lt==="rtl"}),en=(0,g.Z)({arrowPointAtCenter:typeof Ce=="object"&&Ce.pointAtCenter,autoAdjustOverflow:oe,offset:_t.marginXXS,arrowWidth:Ce?_t.sizePopupArrow:0,borderRadius:_t.borderRadius}),jt=h.useCallback(()=>{xe!=null&&xe.selectable&&(xe!=null&&xe.multiple)||(Ne==null||Ne(!1,{source:"menu"}),Bn(!1))},[xe==null?void 0:xe.selectable,xe==null?void 0:xe.multiple]),Xt=()=>{let Wt;return xe!=null&&xe.items?Wt=h.createElement(v.default,Object.assign({},xe)):typeof fe=="function"?Wt=fe():Wt=fe,Re&&(Wt=Re(Wt)),Wt=h.Children.only(typeof Wt=="string"?h.createElement("span",null,Wt):Wt),h.createElement(e.J,{prefixCls:`${vt}-menu`,rootClassName:N()(rt,Ze),expandIcon:h.createElement("span",{className:`${vt}-menu-submenu-arrow`},lt==="rtl"?h.createElement(k.Z,{className:`${vt}-menu-submenu-arrow-icon`}):h.createElement(P.Z,{className:`${vt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:jt,validator:dn=>{let{mode:Dn}=dn}},Wt)},[St,It]=(0,d.Cn)("Dropdown",Te==null?void 0:Te.zIndex);let Rt=h.createElement(C.Z,Object.assign({alignPoint:Ut},(0,E.Z)(Q,["rootClassName"]),{mouseEnterDelay:re,mouseLeaveDelay:ee,visible:mn,builtinPlacements:en,arrow:!!Ce,overlayClassName:Tn,prefixCls:vt,getPopupContainer:ge||te,transitionName:yt,trigger:$t,overlay:Xt,placement:qe,onVisibleChange:rn,overlayStyle:Object.assign(Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Te),{zIndex:St})}),un);return St&&(Rt=h.createElement(c.Z.Provider,{value:It},Rt)),Oe(Rt)},X=(0,r.Z)(j,"align",void 0,"dropdown",Q=>Q),Y=Q=>h.createElement(X,Object.assign({},Q),h.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=Y;var se=j},75727:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return r}});var h=O(19563),k=O(59301),P=O(18785),_=O(92310),N=O.n(_),C=O(7939),m=O(48755),p=O(44104),E=O(70045),d=function(n,a){var c={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&a.indexOf(u)<0&&(c[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,u=Object.getOwnPropertySymbols(n);s{const{getPopupContainer:a,getPrefixCls:c,direction:u}=k.useContext(m.E_),{prefixCls:s,type:v="default",danger:e,disabled:t,loading:i,onClick:f,htmlType:y,children:b,className:x,menu:A,arrow:w,autoFocus:L,overlay:M,trigger:D,align:B,open:I,onOpenChange:U,placement:F,getPopupContainer:K,href:j,icon:X=k.createElement(P.Z,null),title:Y,buttonsRender:se=re=>re,mouseEnterDelay:Q,mouseLeaveDelay:ve,overlayClassName:xe,overlayStyle:Ce,destroyPopupOnHide:De,dropdownRender:Ue}=n,Me=d(n,["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"]),Je=c("dropdown",s),Re=`${Je}-button`,ge={menu:A,arrow:w,autoFocus:L,align:B,disabled:t,trigger:t?[]:D,onOpenChange:U,getPopupContainer:K||a,mouseEnterDelay:Q,mouseLeaveDelay:ve,overlayClassName:xe,overlayStyle:Ce,destroyPopupOnHide:De,dropdownRender:Ue},{compactSize:Ve,compactItemClassnames:Fe}=(0,E.ri)(Je,u),Te=N()(Re,Fe,x);"overlay"in n&&(ge.overlay=M),"open"in n&&(ge.open=I),"placement"in n?ge.placement=F:ge.placement=u==="rtl"?"bottomLeft":"bottomRight";const We=k.createElement(C.ZP,{type:v,danger:e,disabled:t,loading:i,onClick:f,htmlType:y,href:j,title:Y},b),Ne=k.createElement(C.ZP,{type:v,danger:e,icon:X}),[V,$]=se([We,Ne]);return k.createElement(p.Z.Compact,Object.assign({className:Te,size:Ve,block:!0},Me),V,k.createElement(h.Z,Object.assign({},ge),$))};l.__ANT_BUTTON=!0;var o=l;const g=h.Z;g.Button=o;var r=g},584:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return v}});var h=O(59301),k=O(92310),P=O.n(k),_=O(9017),N=O(17835),C=O(57700),p=()=>{const[,e]=(0,C.ZP)(),[t]=(0,_.Z)("Empty"),f=new N.FastColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return h.createElement("svg",{style:f,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(t==null?void 0:t.description)||"Empty"),h.createElement("g",{fill:"none",fillRule:"evenodd"},h.createElement("g",{transform:"translate(24 31.67)"},h.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),h.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"}),h.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)"}),h.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"}),h.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"})),h.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"}),h.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},h.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),h.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=()=>{const[,e]=(0,C.ZP)(),[t]=(0,_.Z)("Empty"),{colorFill:i,colorFillTertiary:f,colorFillQuaternary:y,colorBgContainer:b}=e,{borderColor:x,shadowColor:A,contentColor:w}=(0,h.useMemo)(()=>({borderColor:new N.FastColor(i).onBackground(b).toHexString(),shadowColor:new N.FastColor(f).onBackground(b).toHexString(),contentColor:new N.FastColor(y).onBackground(b).toHexString()}),[i,f,y,b]);return h.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},h.createElement("title",null,(t==null?void 0:t.description)||"Empty"),h.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},h.createElement("ellipse",{fill:A,cx:"32",cy:"33",rx:"32",ry:"7"}),h.createElement("g",{fillRule:"nonzero",stroke:x},h.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"}),h.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}))))},l=O(16931),o=O(51636);const g=e=>{const{componentCls:t,margin:i,marginXS:f,marginXL:y,fontSize:b,lineHeight:x}=e;return{[t]:{marginInline:f,fontSize:b,lineHeight:x,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:f,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:i},"&-normal":{marginBlock:y,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:f,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}};var r=(0,l.I$)("Empty",e=>{const{componentCls:t,controlHeightLG:i,calc:f}=e,y=(0,o.mergeToken)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:f(i).mul(2.5).equal(),emptyImgHeightMD:i,emptyImgHeightSM:f(i).mul(.875).equal()});return[g(y)]}),n=O(48755),a=function(e,t){var i={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&t.indexOf(f)<0&&(i[f]=e[f]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,f=Object.getOwnPropertySymbols(e);y{const{className:t,rootClassName:i,prefixCls:f,image:y=c,description:b,children:x,imageStyle:A,style:w,classNames:L,styles:M}=e,D=a(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:B,direction:I,className:U,style:F,classNames:K,styles:j}=(0,n.dj)("empty"),X=B("empty",f),[Y,se,Q]=r(X),[ve]=(0,_.Z)("Empty"),xe=typeof b!="undefined"?b:ve==null?void 0:ve.description,Ce=typeof xe=="string"?xe:"empty";let De=null;return typeof y=="string"?De=h.createElement("img",{alt:Ce,src:y}):De=y,Y(h.createElement("div",Object.assign({className:P()(se,Q,X,U,{[`${X}-normal`]:y===u,[`${X}-rtl`]:I==="rtl"},t,i,K.root,L==null?void 0:L.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),F),M==null?void 0:M.root),w)},D),h.createElement("div",{className:P()(`${X}-image`,K.image,L==null?void 0:L.image),style:Object.assign(Object.assign(Object.assign({},A),j.image),M==null?void 0:M.image)},De),xe&&h.createElement("div",{className:P()(`${X}-description`,K.description,L==null?void 0:L.description),style:Object.assign(Object.assign({},j.description),M==null?void 0:M.description)},xe),x&&h.createElement("div",{className:P()(`${X}-footer`,K.footer,L==null?void 0:L.footer),style:Object.assign(Object.assign({},j.footer),M==null?void 0:M.footer)},x)))};s.PRESENTED_IMAGE_DEFAULT=c,s.PRESENTED_IMAGE_SIMPLE=u;var v=s},28284:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return Be}});var h=O(56553),k=O(94480),P=O(59301),_=O(92310),N=O.n(_),C=O(77900),m=O(86641),p=O(83397);function E(Ee){const[Le,Ie]=P.useState(Ee);return P.useEffect(()=>{const ze=setTimeout(()=>{Ie(Ee)},Ee.length?0:10);return()=>{clearTimeout(ze)}},[Ee]),Le}var d=O(36237),l=O(63356),o=O(34925),g=O(34961),r=O(51636),n=O(16931),c=Ee=>{const{componentCls:Le}=Ee,Ie=`${Le}-show-help`,ze=`${Le}-show-help-item`;return{[Ie]:{transition:`opacity ${Ee.motionDurationFast} ${Ee.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ze]:{overflow:"hidden",transition:`height ${Ee.motionDurationFast} ${Ee.motionEaseInOut}, opacity ${Ee.motionDurationFast} ${Ee.motionEaseInOut}, transform ${Ee.motionDurationFast} ${Ee.motionEaseInOut} !important`,[`&${ze}-appear, &${ze}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ze}-leave-active`]:{transform:"translateY(-5px)"}}}}};const u=Ee=>({legend:{display:"block",width:"100%",marginBottom:Ee.marginLG,padding:0,color:Ee.colorTextDescription,fontSize:Ee.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,d.unit)(Ee.lineWidth)} ${Ee.lineType} ${Ee.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,d.unit)(Ee.controlOutlineWidth)} ${Ee.controlOutline}`},output:{display:"block",paddingTop:15,color:Ee.colorText,fontSize:Ee.fontSize,lineHeight:Ee.lineHeight}}),s=(Ee,Le)=>{const{formItemCls:Ie}=Ee;return{[Ie]:{[`${Ie}-label > label`]:{height:Le},[`${Ie}-control-input`]:{minHeight:Le}}}},v=Ee=>{const{componentCls:Le}=Ee;return{[Ee.componentCls]:Object.assign(Object.assign(Object.assign({},(0,l.Wf)(Ee)),u(Ee)),{[`${Le}-text`]:{display:"inline-block",paddingInlineEnd:Ee.paddingSM},"&-small":Object.assign({},s(Ee,Ee.controlHeightSM)),"&-large":Object.assign({},s(Ee,Ee.controlHeightLG))})}},e=Ee=>{const{formItemCls:Le,iconCls:Ie,rootPrefixCls:ze,antCls:he,labelRequiredMarkColor:je,labelColor:tt,labelFontSize:me,labelHeight:ye,labelColonMarginInlineStart:_e,labelColonMarginInlineEnd:Ge,itemMarginBottom:Se}=Ee;return{[Le]:Object.assign(Object.assign({},(0,l.Wf)(Ee)),{marginBottom:Se,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${he}-row`]:{display:"none"},"&-has-warning":{[`${Le}-split`]:{color:Ee.colorError}},"&-has-error":{[`${Le}-split`]:{color:Ee.colorWarning}},[`${Le}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Ee.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:ye,color:tt,fontSize:me,[`> ${Ie}`]:{fontSize:Ee.fontSize,verticalAlign:"top"},[`&${Le}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Ee.marginXXS,color:je,fontSize:Ee.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Le}-required-mark-hidden, &${Le}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Le}-optional`]:{display:"inline-block",marginInlineStart:Ee.marginXXS,color:Ee.colorTextDescription,[`&${Le}-required-mark-hidden`]:{display:"none"}},[`${Le}-tooltip`]:{color:Ee.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ee.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:_e,marginInlineEnd:Ge},[`&${Le}-no-colon::after`]:{content:'"\\a0"'}}},[`${Le}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ze}-col-'"]):not([class*="' ${ze}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ee.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Le]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Ee.colorTextDescription,fontSize:Ee.fontSize,lineHeight:Ee.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ee.controlHeightSM,transition:`color ${Ee.motionDurationMid} ${Ee.motionEaseOut}`},"&-explain":{"&-error":{color:Ee.colorError},"&-warning":{color:Ee.colorWarning}}},[`&-with-help ${Le}-explain`]:{height:"auto",opacity:1},[`${Le}-feedback-icon`]:{fontSize:Ee.fontSize,textAlign:"center",visibility:"visible",animationName:o.kr,animationDuration:Ee.motionDurationMid,animationTimingFunction:Ee.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ee.colorSuccess},"&-error":{color:Ee.colorError},"&-warning":{color:Ee.colorWarning},"&-validating":{color:Ee.colorPrimary}}})}},t=(Ee,Le)=>{const{formItemCls:Ie}=Ee;return{[`${Le}-horizontal`]:{[`${Ie}-label`]:{flexGrow:0},[`${Ie}-control`]:{flex:"1 1 0",minWidth:0},[`${Ie}-label[class$='-24'], ${Ie}-label[class*='-24 ']`]:{[`& + ${Ie}-control`]:{minWidth:"unset"}}}}},i=Ee=>{const{componentCls:Le,formItemCls:Ie,inlineItemMarginBottom:ze}=Ee;return{[`${Le}-inline`]:{display:"flex",flexWrap:"wrap",[Ie]:{flex:"none",marginInlineEnd:Ee.margin,marginBottom:ze,"&-row":{flexWrap:"nowrap"},[`> ${Ie}-label, > ${Ie}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ie}-label`]:{flex:"none"},[`${Le}-text`]:{display:"inline-block"},[`${Ie}-has-feedback`]:{display:"inline-block"}}}}},f=Ee=>({padding:Ee.verticalLabelPadding,margin:Ee.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),y=Ee=>{const{componentCls:Le,formItemCls:Ie,rootPrefixCls:ze}=Ee;return{[`${Ie} ${Ie}-label`]:f(Ee),[`${Le}:not(${Le}-inline)`]:{[Ie]:{flexWrap:"wrap",[`${Ie}-label, ${Ie}-control`]:{[`&:not([class*=" ${ze}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},b=Ee=>{const{componentCls:Le,formItemCls:Ie,antCls:ze}=Ee;return{[`${Le}-vertical`]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ie}-row`]:{flexDirection:"column"},[`${Ie}-label > label`]:{height:"auto"},[`${Ie}-control`]:{width:"100%"},[`${Ie}-label, ${ze}-col-24${Ie}-label, ${ze}-col-xl-24${Ie}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenXSMax)})`]:[y(Ee),{[Le]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${ze}-col-xs-24${Ie}-label`]:f(Ee)}}}],[`@media (max-width: ${(0,d.unit)(Ee.screenSMMax)})`]:{[Le]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${ze}-col-sm-24${Ie}-label`]:f(Ee)}}},[`@media (max-width: ${(0,d.unit)(Ee.screenMDMax)})`]:{[Le]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${ze}-col-md-24${Ie}-label`]:f(Ee)}}},[`@media (max-width: ${(0,d.unit)(Ee.screenLGMax)})`]:{[Le]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${ze}-col-lg-24${Ie}-label`]:f(Ee)}}}}},x=Ee=>{const{formItemCls:Le,antCls:Ie}=Ee;return{[`${Le}-vertical`]:{[`${Le}-row`]:{flexDirection:"column"},[`${Le}-label > label`]:{height:"auto"},[`${Le}-control`]:{width:"100%"}},[`${Le}-vertical ${Le}-label, ${Ie}-col-24${Le}-label, ${Ie}-col-xl-24${Le}-label`]:f(Ee),[`@media (max-width: ${(0,d.unit)(Ee.screenXSMax)})`]:[y(Ee),{[Le]:{[`${Ie}-col-xs-24${Le}-label`]:f(Ee)}}],[`@media (max-width: ${(0,d.unit)(Ee.screenSMMax)})`]:{[Le]:{[`${Ie}-col-sm-24${Le}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenMDMax)})`]:{[Le]:{[`${Ie}-col-md-24${Le}-label`]:f(Ee)}},[`@media (max-width: ${(0,d.unit)(Ee.screenLGMax)})`]:{[Le]:{[`${Ie}-col-lg-24${Le}-label`]:f(Ee)}}}},A=Ee=>({labelRequiredMarkColor:Ee.colorError,labelColor:Ee.colorTextHeading,labelFontSize:Ee.fontSize,labelHeight:Ee.controlHeight,labelColonMarginInlineStart:Ee.marginXXS/2,labelColonMarginInlineEnd:Ee.marginXS,itemMarginBottom:Ee.marginLG,verticalLabelPadding:`0 0 ${Ee.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),w=(Ee,Le)=>(0,r.mergeToken)(Ee,{formItemCls:`${Ee.componentCls}-item`,rootPrefixCls:Le});var L=(0,n.I$)("Form",(Ee,Le)=>{let{rootPrefixCls:Ie}=Le;const ze=w(Ee,Ie);return[v(ze),e(ze),c(ze),t(ze,ze.componentCls),t(ze,ze.formItemCls),i(ze),b(ze),x(ze),(0,g.Z)(ze),o.kr]},A,{order:-1e3});const M=[];function D(Ee,Le,Ie){let ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ee=="string"?Ee:`${Le}-${ze}`,error:Ee,errorStatus:Ie}}var I=Ee=>{let{help:Le,helpStatus:Ie,errors:ze=M,warnings:he=M,className:je,fieldId:tt,onVisibleChanged:me}=Ee;const{prefixCls:ye}=P.useContext(h.Rk),_e=`${ye}-item-explain`,Ge=(0,p.Z)(ye),[Se,ut,bt]=L(ye,Ge),Pt=P.useMemo(()=>(0,m.Z)(ye),[ye]),Yt=E(ze),sn=E(he),Mn=P.useMemo(()=>Le!=null?[D(Le,"help",Ie)]:[].concat((0,k.Z)(Yt.map((hn,gn)=>D(hn,"error","error",gn))),(0,k.Z)(sn.map((hn,gn)=>D(hn,"warning","warning",gn)))),[Le,Ie,Yt,sn]),xn=P.useMemo(()=>{const hn={};return Mn.forEach(gn=>{let{key:Lt}=gn;hn[Lt]=(hn[Lt]||0)+1}),Mn.map((gn,Lt)=>Object.assign(Object.assign({},gn),{key:hn[gn.key]>1?`${gn.key}-fallback-${Lt}`:gn.key}))},[Mn]),an={};return tt&&(an.id=`${tt}_help`),Se(P.createElement(C.default,{motionDeadline:Pt.motionDeadline,motionName:`${ye}-show-help`,visible:!!xn.length,onVisibleChanged:me},hn=>{const{className:gn,style:Lt}=hn;return P.createElement("div",Object.assign({},an,{className:N()(_e,gn,bt,Ge,je,ut),style:Lt}),P.createElement(C.CSSMotionList,Object.assign({keys:xn},(0,m.Z)(ye),{motionName:`${ye}-show-help-item`,component:!1}),On=>{const{key:jn,error:bn,errorStatus:Fn,className:er,style:Cr}=On;return P.createElement("div",{key:jn,className:N()(er,{[`${_e}-${Fn}`]:Fn}),style:Cr},bn)}))}))},U=O(22001),F=O(48755),K=O(2171),j=O(31756),X=O(23069),Y=O(76846),se=O(16722);const Q=["parentNode"],ve="form_item";function xe(Ee){return Ee===void 0||Ee===!1?[]:Array.isArray(Ee)?Ee:[Ee]}function Ce(Ee,Le){if(!Ee.length)return;const Ie=Ee.join("_");return Le?`${Le}_${Ie}`:Q.includes(Ie)?`${ve}_${Ie}`:Ie}function De(Ee,Le,Ie,ze,he,je){let tt=ze;return je!==void 0?tt=je:Ie.validating?tt="validating":Ee.length?tt="error":Le.length?tt="warning":(Ie.touched||he&&Ie.validated)&&(tt="success"),tt}var Ue=function(Ee,Le){var Ie={};for(var ze in Ee)Object.prototype.hasOwnProperty.call(Ee,ze)&&Le.indexOf(ze)<0&&(Ie[ze]=Ee[ze]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(Ee);heEe!=null?Ee:Object.assign(Object.assign({},Le),{__INTERNAL__:{itemRef:he=>je=>{const tt=Me(he);je?Ie.current[tt]=je:delete Ie.current[tt]}},scrollToField:function(he){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:tt}=je,me=Ue(je,["focus"]),ye=Je(he,ze);ye&&((0,se.Z)(ye,Object.assign({scrollMode:"if-needed",block:"nearest"},me)),tt&&ze.focusField(he))},focusField:he=>{var je,tt;const me=ze.getFieldInstance(he);typeof(me==null?void 0:me.focus)=="function"?me.focus():(tt=(je=Je(he,ze))===null||je===void 0?void 0:je.focus)===null||tt===void 0||tt.call(je)},getFieldInstance:he=>{const je=Me(he);return Ie.current[je]}}),[Ee,Le]);return[ze]}var ge=O(98350),Ve=function(Ee,Le){var Ie={};for(var ze in Ee)Object.prototype.hasOwnProperty.call(Ee,ze)&&Le.indexOf(ze)<0&&(Ie[ze]=Ee[ze]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(Ee);he{const Ie=P.useContext(K.Z),{getPrefixCls:ze,direction:he,requiredMark:je,colon:tt,scrollToFirstError:me,className:ye,style:_e}=(0,F.dj)("form"),{prefixCls:Ge,className:Se,rootClassName:ut,size:bt,disabled:Pt=Ie,form:Yt,colon:sn,labelAlign:Mn,labelWrap:xn,labelCol:an,wrapperCol:hn,hideRequiredMark:gn,layout:Lt="horizontal",scrollToFirstError:On,requiredMark:jn,onFinishFailed:bn,name:Fn,style:er,feedbackIcons:Cr,variant:sr}=Ee,Rn=Ve(Ee,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),or=(0,j.Z)(bt),fr=P.useContext(ge.Z),nr=P.useMemo(()=>jn!==void 0?jn:gn?!1:je!==void 0?je:!0,[gn,jn,je]),tr=sn!=null?sn:tt,$n=ze("form",Ge),wr=(0,p.Z)($n),[Dt,Hr,Rr]=L($n,wr),kr=N()($n,`${$n}-${Lt}`,{[`${$n}-hide-required-mark`]:nr===!1,[`${$n}-rtl`]:he==="rtl",[`${$n}-${or}`]:or},Rr,wr,Hr,ye,Se,ut),[Wr]=Re(Yt),{__INTERNAL__:ea}=Wr;ea.name=Fn;const ar=P.useMemo(()=>({name:Fn,labelAlign:Mn,labelCol:an,labelWrap:xn,wrapperCol:hn,vertical:Lt==="vertical",colon:tr,requiredMark:nr,itemRef:ea.itemRef,form:Wr,feedbackIcons:Cr}),[Fn,Mn,an,hn,Lt,tr,nr,Wr,Cr]),lr=P.useRef(null);P.useImperativeHandle(Le,()=>{var qt;return Object.assign(Object.assign({},Wr),{nativeElement:(qt=lr.current)===null||qt===void 0?void 0:qt.nativeElement})});const Sn=(qt,Xn)=>{if(qt){let zn={block:"nearest"};typeof qt=="object"&&(zn=Object.assign(Object.assign({},zn),qt)),Wr.scrollToField(Xn,zn)}},Zt=qt=>{if(bn==null||bn(qt),qt.errorFields.length){const Xn=qt.errorFields[0].name;if(On!==void 0){Sn(On,Xn);return}me!==void 0&&Sn(me,Xn)}};return Dt(P.createElement(h.pg.Provider,{value:sr},P.createElement(K.n,{disabled:Pt},P.createElement(X.Z.Provider,{value:or},P.createElement(h.RV,{validateMessages:fr},P.createElement(h.q3.Provider,{value:ar},P.createElement(U.default,Object.assign({id:Fn},Rn,{name:Fn,onFinishFailed:Zt,form:Wr,ref:lr,style:Object.assign(Object.assign({},_e),er),className:kr}))))))))};var We=P.forwardRef(Fe),Ne=O(41799),V=O(8654),$=O(22703),re=O(32383),ee=O(11592);function oe(Ee){if(typeof Ee=="function")return Ee;const Le=(0,ee.Z)(Ee);return Le.length<=1?Le[0]:Le}const q=()=>{const{status:Ee,errors:Le=[],warnings:Ie=[]}=P.useContext(h.aM);return{status:Ee,errors:Le,warnings:Ie}};q.Context=h.aM;var fe=q,be=O(16089);function te(Ee){const[Le,Ie]=P.useState(Ee),ze=P.useRef(null),he=P.useRef([]),je=P.useRef(!1);P.useEffect(()=>(je.current=!1,()=>{je.current=!0,be.Z.cancel(ze.current),ze.current=null}),[]);function tt(me){je.current||(ze.current===null&&(he.current=[],ze.current=(0,be.Z)(()=>{ze.current=null,Ie(ye=>{let _e=ye;return he.current.forEach(Ge=>{_e=Ge(_e)}),_e})})),he.current.push(me))}return[Le,tt]}function ce(){const{itemRef:Ee}=P.useContext(h.q3),Le=P.useRef({});function Ie(ze,he){const je=he&&typeof he=="object"&&(0,V.C4)(he),tt=ze.join("_");return(Le.current.name!==tt||Le.current.originRef!==je)&&(Le.current.name=tt,Le.current.originRef=je,Le.current.ref=(0,V.sQ)(Ee(ze),je)),Le.current.ref}return Ie}var lt=O(29194),Xe=O(34280),ft=O(2738),yt=O(65970),qe=O(70425),vt=O(5472);const Ze=Ee=>{const{formItemCls:Le}=Ee;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Le}-control`]:{display:"flex"}}}};var Oe=(0,n.bk)(["Form","item-item"],(Ee,Le)=>{let{rootPrefixCls:Ie}=Le;const ze=w(Ee,Ie);return[Ze(ze)]}),Qe=function(Ee,Le){var Ie={};for(var ze in Ee)Object.prototype.hasOwnProperty.call(Ee,ze)&&Le.indexOf(ze)<0&&(Ie[ze]=Ee[ze]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(Ee);he{const{prefixCls:Le,status:Ie,labelCol:ze,wrapperCol:he,children:je,errors:tt,warnings:me,_internalItemRender:ye,extra:_e,help:Ge,fieldId:Se,marginBottom:ut,onErrorVisibleChanged:bt,label:Pt}=Ee,Yt=`${Le}-item`,sn=P.useContext(h.q3),Mn=P.useMemo(()=>{let Rn=Object.assign({},he||sn.wrapperCol||{});return Pt===null&&!ze&&!he&&sn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(fr=>{const nr=fr?[fr]:[],tr=(0,qe.U2)(sn.labelCol,nr),$n=typeof tr=="object"?tr:{},wr=(0,qe.U2)(Rn,nr),Dt=typeof wr=="object"?wr:{};"span"in $n&&!("offset"in Dt)&&$n.span{const{labelCol:Rn,wrapperCol:or}=sn;return Qe(sn,["labelCol","wrapperCol"])},[sn]),hn=P.useRef(null),[gn,Lt]=P.useState(0);(0,Xe.Z)(()=>{_e&&hn.current?Lt(hn.current.clientHeight):Lt(0)},[_e]);const On=P.createElement("div",{className:`${Yt}-control-input`},P.createElement("div",{className:`${Yt}-control-input-content`},je)),jn=P.useMemo(()=>({prefixCls:Le,status:Ie}),[Le,Ie]),bn=ut!==null||tt.length||me.length?P.createElement(h.Rk.Provider,{value:jn},P.createElement(I,{fieldId:Se,errors:tt,warnings:me,help:Ge,helpStatus:Ie,className:`${Yt}-explain-connected`,onVisibleChanged:bt})):null,Fn={};Se&&(Fn.id=`${Se}_extra`);const er=_e?P.createElement("div",Object.assign({},Fn,{className:`${Yt}-extra`,ref:hn}),_e):null,Cr=bn||er?P.createElement("div",{className:`${Yt}-additional`,style:ut?{minHeight:ut+gn}:{}},bn,er):null,sr=ye&&ye.mark==="pro_table_render"&&ye.render?ye.render(Ee,{input:On,errorList:bn,extra:er}):P.createElement(P.Fragment,null,On,Cr);return P.createElement(h.q3.Provider,{value:an},P.createElement(vt.Z,Object.assign({},Mn,{className:xn}),sr),P.createElement(Oe,{prefixCls:Le}))},un=O(61485),$t=O(9017),Ut=O(85981),mn=O(25399),Bn=function(Ee,Le){var Ie={};for(var ze in Ee)Object.prototype.hasOwnProperty.call(Ee,ze)&&Le.indexOf(ze)<0&&(Ie[ze]=Ee[ze]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(Ee);he{let{prefixCls:Le,label:Ie,htmlFor:ze,labelCol:he,labelAlign:je,colon:tt,required:me,requiredMark:ye,tooltip:_e,vertical:Ge}=Ee;var Se;const[ut]=(0,$t.Z)("Form"),{labelAlign:bt,labelCol:Pt,labelWrap:Yt,colon:sn}=P.useContext(h.q3);if(!Ie)return null;const Mn=he||Pt||{},xn=je||bt,an=`${Le}-item-label`,hn=N()(an,xn==="left"&&`${an}-left`,Mn.className,{[`${an}-wrap`]:!!Yt});let gn=Ie;const Lt=tt===!0||sn!==!1&&tt!==!1;Lt&&!Ge&&typeof Ie=="string"&&Ie.trim()&&(gn=Ie.replace(/[:|:]\s*$/,""));const jn=rn(_e);if(jn){const{icon:Rn=P.createElement(un.Z,null)}=jn,or=Bn(jn,["icon"]),fr=P.createElement(mn.Z,Object.assign({},or),P.cloneElement(Rn,{className:`${Le}-item-tooltip`,title:"",onClick:nr=>{nr.preventDefault()},tabIndex:null}));gn=P.createElement(P.Fragment,null,gn,fr)}const bn=ye==="optional",Fn=typeof ye=="function",er=ye===!1;Fn?gn=ye(gn,{required:!!me}):bn&&!me&&(gn=P.createElement(P.Fragment,null,gn,P.createElement("span",{className:`${Le}-item-optional`,title:""},(ut==null?void 0:ut.optional)||((Se=Ut.Z.Form)===null||Se===void 0?void 0:Se.optional))));let Cr;er?Cr="hidden":(bn||Fn)&&(Cr="optional");const sr=N()({[`${Le}-item-required`]:me,[`${Le}-item-required-mark-${Cr}`]:Cr,[`${Le}-item-no-colon`]:!Lt});return P.createElement(vt.Z,Object.assign({},Mn,{className:hn}),P.createElement("label",{htmlFor:ze,className:sr,title:typeof Ie=="string"?Ie:""},gn))},jt=O(29679),Xt=O(19248),St=O(96512),It=O(58617);const Rt={success:jt.Z,warning:St.Z,error:Xt.Z,validating:It.Z};function Wt(Ee){let{children:Le,errors:Ie,warnings:ze,hasFeedback:he,validateStatus:je,prefixCls:tt,meta:me,noStyle:ye}=Ee;const _e=`${tt}-item`,{feedbackIcons:Ge}=P.useContext(h.q3),Se=De(Ie,ze,me,null,!!he,je),{isFormItemInput:ut,status:bt,hasFeedback:Pt,feedbackIcon:Yt}=P.useContext(h.aM),sn=P.useMemo(()=>{var Mn;let xn;if(he){const hn=he!==!0&&he.icons||Ge,gn=Se&&((Mn=hn==null?void 0:hn({status:Se,errors:Ie,warnings:ze}))===null||Mn===void 0?void 0:Mn[Se]),Lt=Se&&Rt[Se];xn=gn!==!1&&Lt?P.createElement("span",{className:N()(`${_e}-feedback-icon`,`${_e}-feedback-icon-${Se}`)},gn||P.createElement(Lt,null)):null}const an={status:Se||"",errors:Ie,warnings:ze,hasFeedback:!!he,feedbackIcon:xn,isFormItemInput:!0};return ye&&(an.status=(Se!=null?Se:bt)||"",an.isFormItemInput=ut,an.hasFeedback=!!(he!=null?he:Pt),an.feedbackIcon=he!==void 0?an.feedbackIcon:Yt),an},[Se,he,ye,ut,bt]);return P.createElement(h.aM.Provider,{value:sn},Le)}var dn=function(Ee,Le){var Ie={};for(var ze in Ee)Object.prototype.hasOwnProperty.call(Ee,ze)&&Le.indexOf(ze)<0&&(Ie[ze]=Ee[ze]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(Ee);he{if(er&&On.current){const $n=getComputedStyle(On.current);Rn(parseInt($n.marginBottom,10))}},[er,Cr]);const or=$n=>{$n||Rn(null)},nr=function(){let $n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const wr=$n?jn:_e.errors,Dt=$n?bn:_e.warnings;return De(wr,Dt,_e,"",!!Ge,ye)}(),tr=N()(an,Ie,ze,{[`${an}-with-help`]:Fn||jn.length||bn.length,[`${an}-has-feedback`]:nr&&Ge,[`${an}-has-success`]:nr==="success",[`${an}-has-warning`]:nr==="warning",[`${an}-has-error`]:nr==="error",[`${an}-is-validating`]:nr==="validating",[`${an}-hidden`]:Se,[`${an}-${Mn}`]:Mn});return P.createElement("div",{className:tr,style:he,ref:On},P.createElement(yt.Z,Object.assign({className:`${an}-row`},(0,ft.Z)(xn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),P.createElement(en,Object.assign({htmlFor:bt},Ee,{requiredMark:hn,required:Pt!=null?Pt:Yt,prefixCls:Le,vertical:Lt})),P.createElement(xt,Object.assign({},Ee,_e,{errors:jn,warnings:bn,prefixCls:Le,status:nr,help:je,marginBottom:sr,onErrorVisibleChanged:or}),P.createElement(h.qI.Provider,{value:sn},P.createElement(Wt,{prefixCls:Le,meta:_e,errors:_e.errors,warnings:_e.warnings,hasFeedback:Ge,validateStatus:nr},ut)))),!!sr&&P.createElement("div",{className:`${an}-margin-offset`,style:{marginBottom:-sr}}))}const dt="__SPLIT__",T=null;function z(Ee,Le){const Ie=Object.keys(Ee),ze=Object.keys(Le);return Ie.length===ze.length&&Ie.every(he=>{const je=Ee[he],tt=Le[he];return je===tt||typeof je=="function"||typeof tt=="function"})}const Z=P.memo(Ee=>{let{children:Le}=Ee;return Le},(Ee,Le)=>z(Ee.control,Le.control)&&Ee.update===Le.update&&Ee.childProps.length===Le.childProps.length&&Ee.childProps.every((Ie,ze)=>Ie===Le.childProps[ze]));function ie(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function le(Ee){const{name:Le,noStyle:Ie,className:ze,dependencies:he,prefixCls:je,shouldUpdate:tt,rules:me,children:ye,required:_e,label:Ge,messageVariables:Se,trigger:ut="onChange",validateTrigger:bt,hidden:Pt,help:Yt,layout:sn}=Ee,{getPrefixCls:Mn}=P.useContext(F.E_),{name:xn}=P.useContext(h.q3),an=oe(ye),hn=typeof an=="function",gn=P.useContext(h.qI),{validateTrigger:Lt}=P.useContext(U.FieldContext),On=bt!==void 0?bt:Lt,jn=Le!=null,bn=Mn("form",je),Fn=(0,p.Z)(bn),[er,Cr,sr]=L(bn,Fn),Rn=(0,re.ln)("Form.Item"),or=P.useContext(U.ListContext),fr=P.useRef(null),[nr,tr]=te({}),[$n,wr]=(0,Ne.Z)(()=>ie()),Dt=lr=>{const Sn=or==null?void 0:or.getKey(lr.name);if(wr(lr.destroy?ie():lr,!0),Ie&&Yt!==!1&&gn){let Zt=lr.name;if(lr.destroy)Zt=fr.current||Zt;else if(Sn!==void 0){const[qt,Xn]=Sn;Zt=[qt].concat((0,k.Z)(Xn)),fr.current=Zt}gn(lr,Zt)}},Hr=(lr,Sn)=>{tr(Zt=>{const qt=Object.assign({},Zt),zn=[].concat((0,k.Z)(lr.name.slice(0,-1)),(0,k.Z)(Sn)).join(dt);return lr.destroy?delete qt[zn]:qt[zn]=lr,qt})},[Rr,kr]=P.useMemo(()=>{const lr=(0,k.Z)($n.errors),Sn=(0,k.Z)($n.warnings);return Object.values(nr).forEach(Zt=>{lr.push.apply(lr,(0,k.Z)(Zt.errors||[])),Sn.push.apply(Sn,(0,k.Z)(Zt.warnings||[]))}),[lr,Sn]},[nr,$n.errors,$n.warnings]),Wr=ce();function ea(lr,Sn,Zt){return Ie&&!Pt?P.createElement(Wt,{prefixCls:bn,hasFeedback:Ee.hasFeedback,validateStatus:Ee.validateStatus,meta:$n,errors:Rr,warnings:kr,noStyle:!0},lr):P.createElement(Dn,Object.assign({key:"row"},Ee,{className:N()(ze,sr,Fn,Cr),prefixCls:bn,fieldId:Sn,isRequired:Zt,errors:Rr,warnings:kr,meta:$n,onSubItemMetaChange:Hr,layout:sn}),lr)}if(!jn&&!hn&&!he)return er(ea(an));let ar={};return typeof Ge=="string"?ar.label=Ge:Le&&(ar.label=String(Le)),Se&&(ar=Object.assign(Object.assign({},ar),Se)),er(P.createElement(U.Field,Object.assign({},Ee,{messageVariables:ar,trigger:ut,validateTrigger:On,onMetaChange:Dt}),(lr,Sn,Zt)=>{const qt=xe(Le).length&&Sn?Sn.name:[],Xn=Ce(qt,xn),zn=_e!==void 0?_e:!!(me!=null&&me.some(gr=>{if(gr&&typeof gr=="object"&&gr.required&&!gr.warningOnly)return!0;if(typeof gr=="function"){const Pr=gr(Zt);return(Pr==null?void 0:Pr.required)&&!(Pr!=null&&Pr.warningOnly)}return!1})),hr=Object.assign({},lr);let Tr=null;if(Array.isArray(an)&&jn)Tr=an;else if(!(hn&&(!(tt||he)||jn))){if(!(he&&!hn&&!jn))if(P.isValidElement(an)){const gr=Object.assign(Object.assign({},an.props),hr);if(gr.id||(gr.id=Xn),Yt||Rr.length>0||kr.length>0||Ee.extra){const Ft=[];(Yt||Rr.length>0)&&Ft.push(`${Xn}_help`),Ee.extra&&Ft.push(`${Xn}_extra`),gr["aria-describedby"]=Ft.join(" ")}Rr.length>0&&(gr["aria-invalid"]="true"),zn&&(gr["aria-required"]="true"),(0,V.Yr)(an)&&(gr.ref=Wr(qt,an)),new Set([].concat((0,k.Z)(xe(ut)),(0,k.Z)(xe(On)))).forEach(Ft=>{gr[Ft]=function(){for(var At,En,Qn,mt,vr,Pn=arguments.length,Jt=new Array(Pn),Vn=0;Vn{var{prefixCls:Le,children:Ie}=Ee,ze=Et(Ee,["prefixCls","children"]);const{getPrefixCls:he}=P.useContext(F.E_),je=he("form",Le),tt=P.useMemo(()=>({prefixCls:je,status:"error"}),[je]);return P.createElement(U.List,Object.assign({},ze),(me,ye,_e)=>P.createElement(h.Rk.Provider,{value:tt},Ie(me.map(Ge=>Object.assign(Object.assign({},Ge),{fieldKey:Ge.key})),ye,{errors:_e.errors,warnings:_e.warnings})))};function kt(){const{form:Ee}=P.useContext(h.q3);return Ee}const He=We;He.Item=ot,He.List=Bt,He.ErrorList=I,He.useForm=Re,He.useFormInstance=kt,He.useWatch=U.useWatch,He.Provider=h.RV,He.create=()=>{};var Be=He},49397:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return e}});var h=O(59301),k=O(92310),P=O.n(k),_=O(36901),N=O(8654),C=O(62487),m=O(86013),p=O(82855),E=O(48755),d=O(2171),l=O(83397),o=O(31756),g=O(56553),r=O(24971),n=O(70045),a=O(23826),c=O(53075);function u(t){return!!(t.prefix||t.suffix||t.allowClear||t.showCount)}var s=function(t,i){var f={};for(var y in t)Object.prototype.hasOwnProperty.call(t,y)&&i.indexOf(y)<0&&(f[y]=t[y]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,y=Object.getOwnPropertySymbols(t);b{const{prefixCls:f,bordered:y=!0,status:b,size:x,disabled:A,onBlur:w,onFocus:L,suffix:M,allowClear:D,addonAfter:B,addonBefore:I,className:U,style:F,styles:K,rootClassName:j,onChange:X,classNames:Y,variant:se}=t,Q=s(t,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ve,direction:xe,allowClear:Ce,autoComplete:De,className:Ue,style:Me,classNames:Je,styles:Re}=(0,E.dj)("input"),ge=ve("input",f),Ve=(0,h.useRef)(null),Fe=(0,l.Z)(ge),[Te,We,Ne]=(0,c.TI)(ge,j),[V]=(0,c.ZP)(ge,Fe),{compactSize:$,compactItemClassnames:re}=(0,n.ri)(ge,xe),ee=(0,o.Z)(_t=>{var xt;return(xt=x!=null?x:$)!==null&&xt!==void 0?xt:_t}),oe=h.useContext(d.Z),q=A!=null?A:oe,{status:fe,hasFeedback:be,feedbackIcon:te}=(0,h.useContext)(g.aM),ce=(0,p.F)(fe,b),lt=u(t)||!!be,Xe=(0,h.useRef)(lt),ft=(0,a.Z)(Ve,!0),yt=_t=>{ft(),w==null||w(_t)},qe=_t=>{ft(),L==null||L(_t)},vt=_t=>{ft(),X==null||X(_t)},Ze=(be||M)&&h.createElement(h.Fragment,null,M,be&&te),Oe=(0,m.Z)(D!=null?D:Ce),[Qe,rt]=(0,r.Z)("input",se,y);return Te(V(h.createElement(_.default,Object.assign({ref:(0,N.sQ)(i,Ve),prefixCls:ge,autoComplete:De},Q,{disabled:q,onBlur:yt,onFocus:qe,style:Object.assign(Object.assign({},Me),F),styles:Object.assign(Object.assign({},Re),K),suffix:Ze,allowClear:Oe,className:P()(U,j,Ne,Fe,re,Ue),onChange:vt,addonBefore:I&&h.createElement(C.Z,{form:!0,space:!0},I),addonAfter:B&&h.createElement(C.Z,{form:!0,space:!0},B),classNames:Object.assign(Object.assign(Object.assign({},Y),Je),{input:P()({[`${ge}-sm`]:ee==="small",[`${ge}-lg`]:ee==="large",[`${ge}-rtl`]:xe==="rtl"},Y==null?void 0:Y.input,Je.input,We),variant:P()({[`${ge}-${Qe}`]:rt},(0,p.Z)(ge,ce)),affixWrapper:P()({[`${ge}-affix-wrapper-sm`]:ee==="small",[`${ge}-affix-wrapper-lg`]:ee==="large",[`${ge}-affix-wrapper-rtl`]:xe==="rtl"},We),wrapper:P()({[`${ge}-group-rtl`]:xe==="rtl"},We),groupWrapper:P()({[`${ge}-group-wrapper-sm`]:ee==="small",[`${ge}-group-wrapper-lg`]:ee==="large",[`${ge}-group-wrapper-rtl`]:xe==="rtl",[`${ge}-group-wrapper-${Qe}`]:rt},(0,p.Z)(`${ge}-group-wrapper`,ce,be),We)})}))))})},79809:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return i}});var h=O(59301),k=O(92310),P=O.n(k),_=O(22711),N=O(86013),C=O(82855),m=O(48755),p=O(2171),E=O(83397),d=O(31756),l=O(56553),o=O(24971),g=O(70045),r=O(30292),n=O(53075),a=O(16931),c=O(51636),u=O(64910);const s=f=>{const{componentCls:y,paddingLG:b}=f,x=`${y}-textarea`;return{[`textarea${y}`]:{maxWidth:"100%",height:"auto",minHeight:f.controlHeight,lineHeight:f.lineHeight,verticalAlign:"bottom",transition:`all ${f.motionDurationSlow}`,resize:"vertical",[`&${y}-mouse-active`]:{transition:`all ${f.motionDurationSlow}, height 0s, width 0s`}},[`${y}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[x]:{position:"relative","&-show-count":{[`> ${y}`]:{height:"100%"},[`${y}-data-count`]:{position:"absolute",bottom:f.calc(f.fontSize).mul(f.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:f.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${y}, &-affix-wrapper${x}-has-feedback ${y} `]:{paddingInlineEnd:b},[`&-affix-wrapper${y}-affix-wrapper`]:{padding:0,[`> textarea${y}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:f.calc(f.controlHeight).sub(f.calc(f.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${y}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${y}-clear-icon`]:{position:"absolute",insetInlineEnd:f.paddingInline,insetBlockStart:f.paddingXS},[`${x}-suffix`]:{position:"absolute",top:0,insetInlineEnd:f.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${y}-affix-wrapper-sm`]:{[`${y}-suffix`]:{[`${y}-clear-icon`]:{insetInlineEnd:f.paddingInlineSM}}}}}};var v=(0,a.I$)(["Input","TextArea"],f=>{const y=(0,c.mergeToken)(f,(0,u.e)(f));return[s(y)]},u.T,{resetFont:!1}),e=function(f,y){var b={};for(var x in f)Object.prototype.hasOwnProperty.call(f,x)&&y.indexOf(x)<0&&(b[x]=f[x]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,x=Object.getOwnPropertySymbols(f);A{var b;const{prefixCls:x,bordered:A=!0,size:w,disabled:L,status:M,allowClear:D,classNames:B,rootClassName:I,className:U,style:F,styles:K,variant:j,showCount:X,onMouseDown:Y,onResize:se}=f,Q=e(f,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ve,direction:xe,allowClear:Ce,autoComplete:De,className:Ue,style:Me,classNames:Je,styles:Re}=(0,m.dj)("textArea"),ge=h.useContext(p.Z),Ve=L!=null?L:ge,{status:Fe,hasFeedback:Te,feedbackIcon:We}=h.useContext(l.aM),Ne=(0,C.F)(Fe,M),V=h.useRef(null);h.useImperativeHandle(y,()=>{var rt;return{resizableTextArea:(rt=V.current)===null||rt===void 0?void 0:rt.resizableTextArea,focus:_t=>{var xt,un;(0,r.nH)((un=(xt=V.current)===null||xt===void 0?void 0:xt.resizableTextArea)===null||un===void 0?void 0:un.textArea,_t)},blur:()=>{var _t;return(_t=V.current)===null||_t===void 0?void 0:_t.blur()}}});const $=ve("input",x),re=(0,E.Z)($),[ee,oe,q]=(0,n.TI)($,I),[fe]=v($,re),{compactSize:be,compactItemClassnames:te}=(0,g.ri)($,xe),ce=(0,d.Z)(rt=>{var _t;return(_t=w!=null?w:be)!==null&&_t!==void 0?_t:rt}),[lt,Xe]=(0,o.Z)("textArea",j,A),ft=(0,N.Z)(D!=null?D:Ce),[yt,qe]=h.useState(!1),[vt,Ze]=h.useState(!1),Oe=rt=>{qe(!0),Y==null||Y(rt);const _t=()=>{qe(!1),document.removeEventListener("mouseup",_t)};document.addEventListener("mouseup",_t)},Qe=rt=>{var _t,xt;if(se==null||se(rt),yt&&typeof getComputedStyle=="function"){const un=(xt=(_t=V.current)===null||_t===void 0?void 0:_t.nativeElement)===null||xt===void 0?void 0:xt.querySelector("textarea");un&&getComputedStyle(un).resize==="both"&&Ze(!0)}};return ee(fe(h.createElement(_.default,Object.assign({autoComplete:De},Q,{style:Object.assign(Object.assign({},Me),F),styles:Object.assign(Object.assign({},Re),K),disabled:Ve,allowClear:ft,className:P()(q,re,U,I,te,Ue,vt&&`${$}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},B),Je),{textarea:P()({[`${$}-sm`]:ce==="small",[`${$}-lg`]:ce==="large"},oe,B==null?void 0:B.textarea,Je.textarea,yt&&`${$}-mouse-active`),variant:P()({[`${$}-${lt}`]:Xe},(0,C.Z)($,Ne)),affixWrapper:P()(`${$}-textarea-affix-wrapper`,{[`${$}-affix-wrapper-rtl`]:xe==="rtl",[`${$}-affix-wrapper-sm`]:ce==="small",[`${$}-affix-wrapper-lg`]:ce==="large",[`${$}-textarea-show-count`]:X||((b=f.count)===null||b===void 0?void 0:b.show)},oe)}),prefixCls:$,suffix:Te&&h.createElement("span",{className:`${$}-textarea-suffix`},We),showCount:X,ref:V,onResize:Qe,onMouseDown:Oe}))))})},23826:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return k}});var h=O(59301);function k(P,_){const N=(0,h.useRef)([]),C=()=>{N.current.push(setTimeout(()=>{var m,p,E,d;!((m=P.current)===null||m===void 0)&&m.input&&((p=P.current)===null||p===void 0?void 0:p.input.getAttribute("type"))==="password"&&(!((E=P.current)===null||E===void 0)&&E.input.hasAttribute("value"))&&((d=P.current)===null||d===void 0||d.input.removeAttribute("value"))}))};return(0,h.useEffect)(()=>(_&&C(),()=>N.current.forEach(m=>{m&&clearTimeout(m)})),[]),C}},37568:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return Je}});var h=O(59301),k=O(92310),P=O.n(k),_=O(48755),N=O(56553),C=O(53075),p=Re=>{const{getPrefixCls:ge,direction:Ve}=(0,h.useContext)(_.E_),{prefixCls:Fe,className:Te}=Re,We=ge("input-group",Fe),Ne=ge("input"),[V,$,re]=(0,C.ZP)(Ne),ee=P()(We,re,{[`${We}-lg`]:Re.size==="large",[`${We}-sm`]:Re.size==="small",[`${We}-compact`]:Re.compact,[`${We}-rtl`]:Ve==="rtl"},$,Te),oe=(0,h.useContext)(N.aM),q=(0,h.useMemo)(()=>Object.assign(Object.assign({},oe),{isFormItemInput:!1}),[oe]);return V(h.createElement("span",{className:ee,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},h.createElement(N.aM.Provider,{value:q},Re.children)))},E=O(49397),d=O(94480),l=O(6089),o=O(26112),g=O(82855),r=O(31756),n=O(16931),a=O(51636),c=O(64910);const u=Re=>{const{componentCls:ge,paddingXS:Ve}=Re;return{[ge]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Ve,"&-rtl":{direction:"rtl"},[`${ge}-input`]:{textAlign:"center",paddingInline:Re.paddingXXS},[`&${ge}-sm ${ge}-input`]:{paddingInline:Re.calc(Re.paddingXXS).div(2).equal()},[`&${ge}-lg ${ge}-input`]:{paddingInline:Re.paddingXS}}}};var s=(0,n.I$)(["Input","OTP"],Re=>{const ge=(0,a.mergeToken)(Re,(0,c.e)(Re));return[u(ge)]},c.T),v=O(16089),e=function(Re,ge){var Ve={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ve[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{value:Ve,onChange:Fe,onActiveChange:Te,index:We,mask:Ne}=Re,V=e(Re,["value","onChange","onActiveChange","index","mask"]),$=Ve&&typeof Ne=="string"?Ne:Ve,re=be=>{Fe(We,be.target.value)},ee=h.useRef(null);h.useImperativeHandle(ge,()=>ee.current);const oe=()=>{(0,v.Z)(()=>{var be;const te=(be=ee.current)===null||be===void 0?void 0:be.input;document.activeElement===te&&te&&te.select()})},q=be=>{const{key:te,ctrlKey:ce,metaKey:lt}=be;te==="ArrowLeft"?Te(We-1):te==="ArrowRight"?Te(We+1):te==="z"&&(ce||lt)&&be.preventDefault(),oe()},fe=be=>{be.key==="Backspace"&&!Ve&&Te(We-1),oe()};return h.createElement(E.Z,Object.assign({type:Ne===!0?"password":"text"},V,{ref:ee,value:$,onInput:re,onFocus:oe,onKeyDown:q,onKeyUp:fe,onMouseDown:oe,onMouseUp:oe}))}),f=function(Re,ge){var Ve={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ve[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{index:ge,prefixCls:Ve,separator:Fe}=Re,Te=typeof Fe=="function"?Fe(ge):Fe;return Te?h.createElement("span",{className:`${Ve}-separator`},Te):null};var A=h.forwardRef((Re,ge)=>{const{prefixCls:Ve,length:Fe=6,size:Te,defaultValue:We,value:Ne,onChange:V,formatter:$,separator:re,variant:ee,disabled:oe,status:q,autoFocus:fe,mask:be,type:te,onInput:ce,inputMode:lt}=Re,Xe=f(Re,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:ft,direction:yt}=h.useContext(_.E_),qe=ft("otp",Ve),vt=(0,o.Z)(Xe,{aria:!0,data:!0,attr:!0}),[Ze,Oe,Qe]=s(qe),rt=(0,r.Z)(It=>Te!=null?Te:It),_t=h.useContext(N.aM),xt=(0,g.F)(_t.status,q),un=h.useMemo(()=>Object.assign(Object.assign({},_t),{status:xt,hasFeedback:!1,feedbackIcon:null}),[_t,xt]),$t=h.useRef(null),Ut=h.useRef({});h.useImperativeHandle(ge,()=>({focus:()=>{var It;(It=Ut.current[0])===null||It===void 0||It.focus()},blur:()=>{var It;for(let Rt=0;Rt$?$(It):It,[Bn,rn]=h.useState(()=>y(mn(We||"")));h.useEffect(()=>{Ne!==void 0&&rn(y(Ne))},[Ne]);const Tn=(0,l.Z)(It=>{rn(It),ce&&ce(It),V&&It.length===Fe&&It.every(Rt=>Rt)&&It.some((Rt,Wt)=>Bn[Wt]!==Rt)&&V(It.join(""))}),en=(0,l.Z)((It,Rt)=>{let Wt=(0,d.Z)(Bn);for(let Dn=0;Dn=0&&!Wt[Dn];Dn-=1)Wt.pop();const dn=mn(Wt.map(Dn=>Dn||" ").join(""));return Wt=y(dn).map((Dn,dt)=>Dn===" "&&!Wt[dt]?Wt[dt]:Dn),Wt}),jt=(It,Rt)=>{var Wt;const dn=en(It,Rt),Dn=Math.min(It+Rt.length,Fe-1);Dn!==It&&dn[It]!==void 0&&((Wt=Ut.current[Dn])===null||Wt===void 0||Wt.focus()),Tn(dn)},Xt=It=>{var Rt;(Rt=Ut.current[It])===null||Rt===void 0||Rt.focus()},St={variant:ee,disabled:oe,status:xt,mask:be,type:te,inputMode:lt};return Ze(h.createElement("div",Object.assign({},vt,{ref:$t,className:P()(qe,{[`${qe}-sm`]:rt==="small",[`${qe}-lg`]:rt==="large",[`${qe}-rtl`]:yt==="rtl"},Qe,Oe)}),h.createElement(N.aM.Provider,{value:un},Array.from({length:Fe}).map((It,Rt)=>{const Wt=`otp-${Rt}`,dn=Bn[Rt]||"";return h.createElement(h.Fragment,{key:Wt},h.createElement(i,Object.assign({ref:Dn=>{Ut.current[Rt]=Dn},index:Rt,size:rt,htmlSize:1,className:`${qe}-input`,onChange:jt,value:dn,onActiveChange:Xt,autoFocus:Rt===0&&fe},St)),RtRe?h.createElement(L.Z,null):h.createElement(w.Z,null),K={click:"onClick",hover:"onMouseOver"};var X=h.forwardRef((Re,ge)=>{const{disabled:Ve,action:Fe="click",visibilityToggle:Te=!0,iconRender:We=F}=Re,Ne=h.useContext(B.Z),V=Ve!=null?Ve:Ne,$=typeof Te=="object"&&Te.visible!==void 0,[re,ee]=(0,h.useState)(()=>$?Te.visible:!1),oe=(0,h.useRef)(null);h.useEffect(()=>{$&&ee(Te.visible)},[$,Te]);const q=(0,I.Z)(oe),fe=()=>{var rt;if(V)return;re&&q();const _t=!re;ee(_t),typeof Te=="object"&&((rt=Te.onVisibleChange)===null||rt===void 0||rt.call(Te,_t))},be=rt=>{const _t=K[Fe]||"",xt=We(re),un={[_t]:fe,className:`${rt}-icon`,key:"passwordIcon",onMouseDown:$t=>{$t.preventDefault()},onMouseUp:$t=>{$t.preventDefault()}};return h.cloneElement(h.isValidElement(xt)?xt:h.createElement("span",null,xt),un)},{className:te,prefixCls:ce,inputPrefixCls:lt,size:Xe}=Re,ft=U(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:yt}=h.useContext(_.E_),qe=yt("input",lt),vt=yt("input-password",ce),Ze=Te&&be(vt),Oe=P()(vt,te,{[`${vt}-${Xe}`]:!!Xe}),Qe=Object.assign(Object.assign({},(0,M.Z)(ft,["suffix","iconRender","visibilityToggle"])),{type:re?"text":"password",className:Oe,prefixCls:qe,suffix:Ze});return Xe&&(Qe.size=Xe),h.createElement(E.Z,Object.assign({ref:(0,D.sQ)(ge,oe)},Qe))}),Y=O(47472),se=O(22703),Q=O(7939),ve=O(70045),xe=function(Re,ge){var Ve={};for(var Fe in Re)Object.prototype.hasOwnProperty.call(Re,Fe)&&ge.indexOf(Fe)<0&&(Ve[Fe]=Re[Fe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Fe=Object.getOwnPropertySymbols(Re);Te{const{prefixCls:Ve,inputPrefixCls:Fe,className:Te,size:We,suffix:Ne,enterButton:V=!1,addonAfter:$,loading:re,disabled:ee,onSearch:oe,onChange:q,onCompositionStart:fe,onCompositionEnd:be}=Re,te=xe(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ce,direction:lt}=h.useContext(_.E_),Xe=h.useRef(!1),ft=ce("input-search",Ve),yt=ce("input",Fe),{compactSize:qe}=(0,ve.ri)(ft,lt),vt=(0,r.Z)(jt=>{var Xt;return(Xt=We!=null?We:qe)!==null&&Xt!==void 0?Xt:jt}),Ze=h.useRef(null),Oe=jt=>{jt!=null&&jt.target&&jt.type==="click"&&oe&&oe(jt.target.value,jt,{source:"clear"}),q==null||q(jt)},Qe=jt=>{var Xt;document.activeElement===((Xt=Ze.current)===null||Xt===void 0?void 0:Xt.input)&&jt.preventDefault()},rt=jt=>{var Xt,St;oe&&oe((St=(Xt=Ze.current)===null||Xt===void 0?void 0:Xt.input)===null||St===void 0?void 0:St.value,jt,{source:"input"})},_t=jt=>{Xe.current||re||rt(jt)},xt=typeof V=="boolean"?h.createElement(Y.Z,null):null,un=`${ft}-button`;let $t;const Ut=V||{},mn=Ut.type&&Ut.type.__ANT_BUTTON===!0;mn||Ut.type==="button"?$t=(0,se.Tm)(Ut,Object.assign({onMouseDown:Qe,onClick:jt=>{var Xt,St;(St=(Xt=Ut==null?void 0:Ut.props)===null||Xt===void 0?void 0:Xt.onClick)===null||St===void 0||St.call(Xt,jt),rt(jt)},key:"enterButton"},mn?{className:un,size:vt}:{})):$t=h.createElement(Q.ZP,{className:un,type:V?"primary":void 0,size:vt,disabled:ee,key:"enterButton",onMouseDown:Qe,onClick:rt,loading:re,icon:xt},V),$&&($t=[$t,(0,se.Tm)($,{key:"addonAfter"})]);const Bn=P()(ft,{[`${ft}-rtl`]:lt==="rtl",[`${ft}-${vt}`]:!!vt,[`${ft}-with-button`]:!!V},Te),rn=Object.assign(Object.assign({},te),{className:Bn,prefixCls:yt,type:"search"}),Tn=jt=>{Xe.current=!0,fe==null||fe(jt)},en=jt=>{Xe.current=!1,be==null||be(jt)};return h.createElement(E.Z,Object.assign({ref:(0,D.sQ)(Ze,ge),onPressEnter:_t},rn,{size:vt,onCompositionStart:Tn,onCompositionEnd:en,addonAfter:$t,suffix:Ne,onChange:Oe,disabled:ee}))}),Ue=O(79809);const Me=E.Z;Me.Group=p,Me.Search=De,Me.TextArea=Ue.Z,Me.Password=X,Me.OTP=A;var Je=Me},24303:function(Nn,pt,O){"use strict";O.d(pt,{D:function(){return f},Z:function(){return x}});var h=O(59301),k=O(54476),P={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"},_=P,N=O(7657),C=function(w,L){return h.createElement(N.Z,(0,k.Z)({},w,{ref:L,icon:_}))},m=h.forwardRef(C),p=m,E=O(33853),d=O(38819),l=O(92310),o=O.n(l),g=O(2738),r=O(48755),n=O(6989),a=O(36237),c=O(48923),u=O(16931);const s=A=>{const{componentCls:w,siderBg:L,motionDurationMid:M,motionDurationSlow:D,antCls:B,triggerHeight:I,triggerColor:U,triggerBg:F,headerHeight:K,zeroTriggerWidth:j,zeroTriggerHeight:X,borderRadiusLG:Y,lightSiderBg:se,lightTriggerColor:Q,lightTriggerBg:ve,bodyBg:xe}=A;return{[w]:{position:"relative",minWidth:0,background:L,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:I},"&-right":{order:1},[`${w}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${B}-menu${B}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${w}-children`]:{overflow:"hidden"},[`${w}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:I,color:U,lineHeight:(0,a.unit)(I),textAlign:"center",background:F,cursor:"pointer",transition:`all ${M}`},[`${w}-zero-width-trigger`]:{position:"absolute",top:K,insetInlineEnd:A.calc(j).mul(-1).equal(),zIndex:1,width:j,height:X,color:U,fontSize:A.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:L,borderRadius:`0 ${(0,a.unit)(Y)} ${(0,a.unit)(Y)} 0`,cursor:"pointer",transition:`background ${D} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${D}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:A.calc(j).mul(-1).equal(),borderRadius:`${(0,a.unit)(Y)} 0 0 ${(0,a.unit)(Y)}`}},"&-light":{background:se,[`${w}-trigger`]:{color:Q,background:ve},[`${w}-zero-width-trigger`]:{color:Q,background:ve,border:`1px solid ${xe}`,borderInlineStart:0}}}}};var v=(0,u.I$)(["Layout","Sider"],A=>[s(A)],c.eh,{deprecatedTokens:c.jn}),e=function(A,w){var L={};for(var M in A)Object.prototype.hasOwnProperty.call(A,M)&&w.indexOf(M)<0&&(L[M]=A[M]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,M=Object.getOwnPropertySymbols(A);D!Number.isNaN(Number.parseFloat(A))&&isFinite(A),f=h.createContext({}),y=(()=>{let A=0;return function(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return A+=1,`${w}${A}`}})();var x=h.forwardRef((A,w)=>{const{prefixCls:L,className:M,trigger:D,children:B,defaultCollapsed:I=!1,theme:U="dark",style:F={},collapsible:K=!1,reverseArrow:j=!1,width:X=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:se,breakpoint:Q,onCollapse:ve,onBreakpoint:xe}=A,Ce=e(A,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:De}=(0,h.useContext)(n.V),[Ue,Me]=(0,h.useState)("collapsed"in A?A.collapsed:I),[Je,Re]=(0,h.useState)(!1);(0,h.useEffect)(()=>{"collapsed"in A&&Me(A.collapsed)},[A.collapsed]);const ge=(vt,Ze)=>{"collapsed"in A||Me(vt),ve==null||ve(vt,Ze)},{getPrefixCls:Ve,direction:Fe}=(0,h.useContext)(r.E_),Te=Ve("layout-sider",L),[We,Ne,V]=v(Te),$=(0,h.useRef)(null);$.current=vt=>{Re(vt.matches),xe==null||xe(vt.matches),Ue!==vt.matches&&ge(vt.matches,"responsive")},(0,h.useEffect)(()=>{function vt(Oe){return $.current(Oe)}let Ze;if(typeof window!="undefined"){const{matchMedia:Oe}=window;if(Oe&&Q&&Q in t){Ze=Oe(`screen and (max-width: ${t[Q]})`);try{Ze.addEventListener("change",vt)}catch(Qe){Ze.addListener(vt)}vt(Ze)}}return()=>{try{Ze==null||Ze.removeEventListener("change",vt)}catch(Oe){Ze==null||Ze.removeListener(vt)}}},[Q]),(0,h.useEffect)(()=>{const vt=y("ant-sider-");return De.addSider(vt),()=>De.removeSider(vt)},[]);const re=()=>{ge(!Ue,"clickTrigger")},ee=(0,g.Z)(Ce,["collapsed"]),oe=Ue?Y:X,q=i(oe)?`${oe}px`:String(oe),fe=parseFloat(String(Y||0))===0?h.createElement("span",{onClick:re,className:o()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${j?"right":"left"}`),style:se},D||h.createElement(p,null)):null,be=Fe==="rtl"==!j,lt={expanded:be?h.createElement(d.Z,null):h.createElement(E.Z,null),collapsed:be?h.createElement(E.Z,null):h.createElement(d.Z,null)}[Ue?"collapsed":"expanded"],Xe=D!==null?fe||h.createElement("div",{className:`${Te}-trigger`,onClick:re,style:{width:q}},D||lt):null,ft=Object.assign(Object.assign({},F),{flex:`0 0 ${q}`,maxWidth:q,minWidth:q,width:q}),yt=o()(Te,`${Te}-${U}`,{[`${Te}-collapsed`]:!!Ue,[`${Te}-has-trigger`]:K&&D!==null&&!fe,[`${Te}-below`]:!!Je,[`${Te}-zero-width`]:parseFloat(q)===0},M,Ne,V),qe=h.useMemo(()=>({siderCollapsed:Ue}),[Ue]);return We(h.createElement(f.Provider,{value:qe},h.createElement("aside",Object.assign({className:yt},ee,{style:ft,ref:w}),h.createElement("div",{className:`${Te}-children`},B),K||Je&&fe?Xe:null)))})},6989:function(Nn,pt,O){"use strict";O.d(pt,{V:function(){return k}});var h=O(59301);const k=h.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Nn,pt,O){"use strict";O.d(pt,{eh:function(){return _},jn:function(){return N}});var h=O(36237),k=O(16931);const P=C=>{const{antCls:m,componentCls:p,colorText:E,footerBg:d,headerHeight:l,headerPadding:o,headerColor:g,footerPadding:r,fontSize:n,bodyBg:a,headerBg:c}=C;return{[p]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${p}-has-sider`]:{flexDirection:"row",[`> ${p}, > ${p}-content`]:{width:0}},[`${p}-header, &${p}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${p}-header`]:{height:l,padding:o,color:g,lineHeight:(0,h.unit)(l),background:c,[`${m}-menu`]:{lineHeight:"inherit"}},[`${p}-footer`]:{padding:r,color:E,fontSize:n,background:d},[`${p}-content`]:{flex:"auto",color:E,minHeight:0}}},_=C=>{const{colorBgLayout:m,controlHeight:p,controlHeightLG:E,colorText:d,controlHeightSM:l,marginXXS:o,colorTextLightSolid:g,colorBgContainer:r}=C,n=E*1.25;return{colorBgHeader:"#001529",colorBgBody:m,colorBgTrigger:"#002140",bodyBg:m,headerBg:"#001529",headerHeight:p*2,headerPadding:`0 ${n}px`,headerColor:d,footerPadding:`${l}px ${n}px`,footerBg:m,siderBg:"#001529",triggerHeight:E+o*2,triggerBg:"#002140",triggerColor:g,zeroTriggerWidth:E,zeroTriggerHeight:E,lightSiderBg:r,lightTriggerBg:r,lightTriggerColor:d}},N=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];pt.ZP=(0,k.I$)("Layout",C=>[P(C)],_,{deprecatedTokens:N})},78857:function(Nn,pt,O){"use strict";O.d(pt,{J:function(){return C}});var h=O(59301),k=O(8654),P=O(62487),_=function(m,p){var E={};for(var d in m)Object.prototype.hasOwnProperty.call(m,d)&&p.indexOf(d)<0&&(E[d]=m[d]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,d=Object.getOwnPropertySymbols(m);l{const{children:E}=m,d=_(m,["children"]),l=h.useContext(N),o=h.useMemo(()=>Object.assign(Object.assign({},l),d),[l,d.prefixCls,d.mode,d.selectable,d.rootClassName]),g=(0,k.t4)(E),r=(0,k.x1)(p,g?(0,k.C4)(E):null);return h.createElement(N.Provider,{value:o},h.createElement(P.Z,{space:!0},g?h.cloneElement(E,{ref:r}):E))});pt.Z=N},93041:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return We}});var h=O(59301),k=O(28321),P=O(24303),_=O(18785),N=O(92310),C=O.n(N),m=O(6089),p=O(2738),E=O(86641),d=O(22703),l=O(48755),o=O(83397),r=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),n=function(Ne,V){var $={};for(var re in Ne)Object.prototype.hasOwnProperty.call(Ne,re)&&V.indexOf(re)<0&&($[re]=Ne[re]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,re=Object.getOwnPropertySymbols(Ne);ee{const{prefixCls:V,className:$,dashed:re}=Ne,ee=n(Ne,["prefixCls","className","dashed"]),{getPrefixCls:oe}=h.useContext(l.E_),q=oe("menu",V),fe=C()({[`${q}-item-divider-dashed`]:!!re},$);return h.createElement(k.iz,Object.assign({className:fe},ee))},u=O(11592),s=O(25399),e=Ne=>{var V;const{className:$,children:re,icon:ee,title:oe,danger:q,extra:fe}=Ne,{prefixCls:be,firstLevel:te,direction:ce,disableMenuItemTitleTooltip:lt,inlineCollapsed:Xe}=h.useContext(r),ft=Qe=>{const rt=re==null?void 0:re[0],_t=h.createElement("span",{className:C()(`${be}-title-content`,{[`${be}-title-content-with-extra`]:!!fe||fe===0})},re);return(!ee||h.isValidElement(re)&&re.type==="span")&&re&&Qe&&te&&typeof rt=="string"?h.createElement("div",{className:`${be}-inline-collapsed-noicon`},rt.charAt(0)):_t},{siderCollapsed:yt}=h.useContext(P.D);let qe=oe;typeof oe=="undefined"?qe=te?re:"":oe===!1&&(qe="");const vt={title:qe};!yt&&!Xe&&(vt.title=null,vt.open=!1);const Ze=(0,u.Z)(re).length;let Oe=h.createElement(k.ck,Object.assign({},(0,p.Z)(Ne,["title","icon","danger"]),{className:C()({[`${be}-item-danger`]:q,[`${be}-item-only-child`]:(ee?Ze+1:Ze)===1},$),title:typeof oe=="string"?oe:void 0}),(0,d.Tm)(ee,{className:C()(h.isValidElement(ee)?(V=ee.props)===null||V===void 0?void 0:V.className:"",`${be}-item-icon`)}),ft(Xe));return lt||(Oe=h.createElement(s.Z,Object.assign({},vt,{placement:ce==="rtl"?"left":"right",classNames:{root:`${be}-inline-collapsed-tooltip`}}),Oe)),Oe},t=O(78857),i=O(36237),f=O(17835),y=O(63356),b=O(34961),x=O(46e3),A=O(34925),w=O(16931),L=O(51636),D=Ne=>{const{componentCls:V,motionDurationSlow:$,horizontalLineHeight:re,colorSplit:ee,lineWidth:oe,lineType:q,itemPaddingInline:fe}=Ne;return{[`${V}-horizontal`]:{lineHeight:re,border:0,borderBottom:`${(0,i.unit)(oe)} ${q} ${ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${V}-item, ${V}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:fe},[`> ${V}-item:hover, > ${V}-item-active, > ${V}-submenu ${V}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${V}-item, ${V}-submenu-title`]:{transition:[`border-color ${$}`,`background ${$}`].join(",")},[`${V}-submenu-arrow`]:{display:"none"}}}},I=Ne=>{let{componentCls:V,menuArrowOffset:$,calc:re}=Ne;return{[`${V}-rtl`]:{direction:"rtl"},[`${V}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${V}-rtl${V}-vertical, ${V}-submenu-rtl ${V}-vertical`]:{[`${V}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,i.unit)(re($).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,i.unit)($)})`}}}}};const U=Ne=>Object.assign({},(0,y.oN)(Ne));var K=(Ne,V)=>{const{componentCls:$,itemColor:re,itemSelectedColor:ee,subMenuItemSelectedColor:oe,groupTitleColor:q,itemBg:fe,subMenuItemBg:be,itemSelectedBg:te,activeBarHeight:ce,activeBarWidth:lt,activeBarBorderWidth:Xe,motionDurationSlow:ft,motionEaseInOut:yt,motionEaseOut:qe,itemPaddingInline:vt,motionDurationMid:Ze,itemHoverColor:Oe,lineType:Qe,colorSplit:rt,itemDisabledColor:_t,dangerItemColor:xt,dangerItemHoverColor:un,dangerItemSelectedColor:$t,dangerItemActiveBg:Ut,dangerItemSelectedBg:mn,popupBg:Bn,itemHoverBg:rn,itemActiveBg:Tn,menuSubMenuBg:en,horizontalItemSelectedColor:jt,horizontalItemSelectedBg:Xt,horizontalItemBorderRadius:St,horizontalItemHoverBg:It}=Ne;return{[`${$}-${V}, ${$}-${V} > ${$}`]:{color:re,background:fe,[`&${$}-root:focus-visible`]:Object.assign({},U(Ne)),[`${$}-item`]:{"&-group-title, &-extra":{color:q}},[`${$}-submenu-selected > ${$}-submenu-title`]:{color:oe},[`${$}-item, ${$}-submenu-title`]:{color:re,[`&:not(${$}-item-disabled):focus-visible`]:Object.assign({},U(Ne))},[`${$}-item-disabled, ${$}-submenu-disabled`]:{color:`${_t} !important`},[`${$}-item:not(${$}-item-selected):not(${$}-submenu-selected)`]:{[`&:hover, > ${$}-submenu-title:hover`]:{color:Oe}},[`&:not(${$}-horizontal)`]:{[`${$}-item:not(${$}-item-selected)`]:{"&:hover":{backgroundColor:rn},"&:active":{backgroundColor:Tn}},[`${$}-submenu-title`]:{"&:hover":{backgroundColor:rn},"&:active":{backgroundColor:Tn}}},[`${$}-item-danger`]:{color:xt,[`&${$}-item:hover`]:{[`&:not(${$}-item-selected):not(${$}-submenu-selected)`]:{color:un}},[`&${$}-item:active`]:{background:Ut}},[`${$}-item a`]:{"&, &:hover":{color:"inherit"}},[`${$}-item-selected`]:{color:ee,[`&${$}-item-danger`]:{color:$t},"a, a:hover":{color:"inherit"}},[`& ${$}-item-selected`]:{backgroundColor:te,[`&${$}-item-danger`]:{backgroundColor:mn}},[`&${$}-submenu > ${$}`]:{backgroundColor:en},[`&${$}-popup > ${$}`]:{backgroundColor:Bn},[`&${$}-submenu-popup > ${$}`]:{backgroundColor:Bn},[`&${$}-horizontal`]:Object.assign(Object.assign({},V==="dark"?{borderBottom:0}:{}),{[`> ${$}-item, > ${$}-submenu`]:{top:Xe,marginTop:Ne.calc(Xe).mul(-1).equal(),marginBottom:0,borderRadius:St,"&::after":{position:"absolute",insetInline:vt,bottom:0,borderBottom:`${(0,i.unit)(ce)} solid transparent`,transition:`border-color ${ft} ${yt}`,content:'""'},"&:hover, &-active, &-open":{background:It,"&::after":{borderBottomWidth:ce,borderBottomColor:jt}},"&-selected":{color:jt,backgroundColor:Xt,"&:hover":{backgroundColor:Xt},"&::after":{borderBottomWidth:ce,borderBottomColor:jt}}}}),[`&${$}-root`]:{[`&${$}-inline, &${$}-vertical`]:{borderInlineEnd:`${(0,i.unit)(Xe)} ${Qe} ${rt}`}},[`&${$}-inline`]:{[`${$}-sub${$}-inline`]:{background:be},[`${$}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,i.unit)(lt)} solid ${ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ze} ${qe}`,`opacity ${Ze} ${qe}`].join(","),content:'""'},[`&${$}-item-danger`]:{"&::after":{borderInlineEndColor:$t}}},[`${$}-selected, ${$}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ze} ${yt}`,`opacity ${Ze} ${yt}`].join(",")}}}}}};const j=Ne=>{const{componentCls:V,itemHeight:$,itemMarginInline:re,padding:ee,menuArrowSize:oe,marginXS:q,itemMarginBlock:fe,itemWidth:be,itemPaddingInline:te}=Ne,ce=Ne.calc(oe).add(ee).add(q).equal();return{[`${V}-item`]:{position:"relative",overflow:"hidden"},[`${V}-item, ${V}-submenu-title`]:{height:$,lineHeight:(0,i.unit)($),paddingInline:te,overflow:"hidden",textOverflow:"ellipsis",marginInline:re,marginBlock:fe,width:be},[`> ${V}-item, > ${V}-submenu > ${V}-submenu-title`]:{height:$,lineHeight:(0,i.unit)($)},[`${V}-item-group-list ${V}-submenu-title, ${V}-submenu-title`]:{paddingInlineEnd:ce}}};var Y=Ne=>{const{componentCls:V,iconCls:$,itemHeight:re,colorTextLightSolid:ee,dropdownWidth:oe,controlHeightLG:q,motionEaseOut:fe,paddingXL:be,itemMarginInline:te,fontSizeLG:ce,motionDurationFast:lt,motionDurationSlow:Xe,paddingXS:ft,boxShadowSecondary:yt,collapsedWidth:qe,collapsedIconSize:vt}=Ne,Ze={height:re,lineHeight:(0,i.unit)(re),listStylePosition:"inside",listStyleType:"disc"};return[{[V]:{"&-inline, &-vertical":Object.assign({[`&${V}-root`]:{boxShadow:"none"}},j(Ne))},[`${V}-submenu-popup`]:{[`${V}-vertical`]:Object.assign(Object.assign({},j(Ne)),{boxShadow:yt})}},{[`${V}-submenu-popup ${V}-vertical${V}-sub`]:{minWidth:oe,maxHeight:`calc(100vh - ${(0,i.unit)(Ne.calc(q).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${V}-inline`]:{width:"100%",[`&${V}-root`]:{[`${V}-item, ${V}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Xe}`,`background ${Xe}`,`padding ${lt} ${fe}`].join(","),[`> ${V}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${V}-sub${V}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${V}-submenu > ${V}-submenu-title`]:Ze,[`& ${V}-item-group-title`]:{paddingInlineStart:be}},[`${V}-item`]:Ze}},{[`${V}-inline-collapsed`]:{width:qe,[`&${V}-root`]:{[`${V}-item, ${V}-submenu ${V}-submenu-title`]:{[`> ${V}-inline-collapsed-noicon`]:{fontSize:ce,textAlign:"center"}}},[`> ${V}-item, > ${V}-item-group > ${V}-item-group-list > ${V}-item, > ${V}-item-group > ${V}-item-group-list > ${V}-submenu > ${V}-submenu-title, > ${V}-submenu > ${V}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,i.unit)(Ne.calc(vt).div(2).equal())} - ${(0,i.unit)(te)})`,textOverflow:"clip",[` ${V}-submenu-arrow, ${V}-submenu-expand-icon `]:{opacity:0},[`${V}-item-icon, ${$}`]:{margin:0,fontSize:vt,lineHeight:(0,i.unit)(re),"+ span":{display:"inline-block",opacity:0}}},[`${V}-item-icon, ${$}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${V}-item-icon, ${$}`]:{display:"none"},"a, a:hover":{color:ee}},[`${V}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:ft})}}]};const se=Ne=>{const{componentCls:V,motionDurationSlow:$,motionDurationMid:re,motionEaseInOut:ee,motionEaseOut:oe,iconCls:q,iconSize:fe,iconMarginInlineEnd:be}=Ne;return{[`${V}-item, ${V}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${$}`,`background ${$}`,`padding calc(${$} + 0.1s) ${ee}`].join(","),[`${V}-item-icon, ${q}`]:{minWidth:fe,fontSize:fe,transition:[`font-size ${re} ${oe}`,`margin ${$} ${ee}`,`color ${$}`].join(","),"+ span":{marginInlineStart:be,opacity:1,transition:[`opacity ${$} ${ee}`,`margin ${$}`,`color ${$}`].join(",")}},[`${V}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${V}-item-only-child`]:{[`> ${q}, > ${V}-item-icon`]:{marginInlineEnd:0}}},[`${V}-item-disabled, ${V}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${V}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Q=Ne=>{const{componentCls:V,motionDurationSlow:$,motionEaseInOut:re,borderRadius:ee,menuArrowSize:oe,menuArrowOffset:q}=Ne;return{[`${V}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ne.margin,width:oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${$} ${re}, opacity ${$}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ne.calc(oe).mul(.6).equal(),height:Ne.calc(oe).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:ee,transition:[`background ${$} ${re}`,`transform ${$} ${re}`,`top ${$} ${re}`,`color ${$} ${re}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,i.unit)(Ne.calc(q).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,i.unit)(q)})`}}}}},ve=Ne=>{const{antCls:V,componentCls:$,fontSize:re,motionDurationSlow:ee,motionDurationMid:oe,motionEaseInOut:q,paddingXS:fe,padding:be,colorSplit:te,lineWidth:ce,zIndexPopup:lt,borderRadiusLG:Xe,subMenuItemBorderRadius:ft,menuArrowSize:yt,menuArrowOffset:qe,lineType:vt,groupTitleLineHeight:Ze,groupTitleFontSize:Oe}=Ne;return[{"":{[$]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${$}-submenu-hidden`]:{display:"none"}},{[$]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(Ne)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:re,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${$}-item`]:{flex:"none"}},[`${$}-item, ${$}-submenu, ${$}-submenu-title`]:{borderRadius:Ne.itemBorderRadius},[`${$}-item-group-title`]:{padding:`${(0,i.unit)(fe)} ${(0,i.unit)(be)}`,fontSize:Oe,lineHeight:Ze,transition:`all ${ee}`},[`&-horizontal ${$}-submenu`]:{transition:[`border-color ${ee} ${q}`,`background ${ee} ${q}`].join(",")},[`${$}-submenu, ${$}-submenu-inline`]:{transition:[`border-color ${ee} ${q}`,`background ${ee} ${q}`,`padding ${oe} ${q}`].join(",")},[`${$}-submenu ${$}-sub`]:{cursor:"initial",transition:[`background ${ee} ${q}`,`padding ${ee} ${q}`].join(",")},[`${$}-title-content`]:{transition:`color ${ee}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${V}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${$}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Ne.padding}},[`${$}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${$}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:te,borderStyle:vt,borderWidth:0,borderTopWidth:ce,marginBlock:ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),se(Ne)),{[`${$}-item-group`]:{[`${$}-item-group-list`]:{margin:0,padding:0,[`${$}-item, ${$}-submenu-title`]:{paddingInline:`${(0,i.unit)(Ne.calc(re).mul(2).equal())} ${(0,i.unit)(be)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:lt,borderRadius:Xe,boxShadow:"none",transformOrigin:"0 0",[`&${$}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${$}`]:Object.assign(Object.assign(Object.assign({borderRadius:Xe},se(Ne)),Q(Ne)),{[`${$}-item, ${$}-submenu > ${$}-submenu-title`]:{borderRadius:ft},[`${$}-submenu-title::after`]:{transition:`transform ${ee} ${q}`}})},"\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:Ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ne.paddingXS}}}),Q(Ne)),{[`&-inline-collapsed ${$}-submenu-arrow, &-inline ${$}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,i.unit)(qe)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,i.unit)(Ne.calc(qe).mul(-1).equal())})`}},[`${$}-submenu-open${$}-submenu-inline > ${$}-submenu-title > ${$}-submenu-arrow`]:{transform:`translateY(${(0,i.unit)(Ne.calc(yt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,i.unit)(Ne.calc(qe).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,i.unit)(qe)})`}}})},{[`${V}-layout-header`]:{[$]:{lineHeight:"inherit"}}}]},xe=Ne=>{var V,$,re;const{colorPrimary:ee,colorError:oe,colorTextDisabled:q,colorErrorBg:fe,colorText:be,colorTextDescription:te,colorBgContainer:ce,colorFillAlter:lt,colorFillContent:Xe,lineWidth:ft,lineWidthBold:yt,controlItemBgActive:qe,colorBgTextHover:vt,controlHeightLG:Ze,lineHeight:Oe,colorBgElevated:Qe,marginXXS:rt,padding:_t,fontSize:xt,controlHeightSM:un,fontSizeLG:$t,colorTextLightSolid:Ut,colorErrorHover:mn}=Ne,Bn=(V=Ne.activeBarWidth)!==null&&V!==void 0?V:0,rn=($=Ne.activeBarBorderWidth)!==null&&$!==void 0?$:ft,Tn=(re=Ne.itemMarginInline)!==null&&re!==void 0?re:Ne.marginXXS,en=new f.FastColor(Ut).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ne.zIndexPopupBase+50,radiusItem:Ne.borderRadiusLG,itemBorderRadius:Ne.borderRadiusLG,radiusSubMenuItem:Ne.borderRadiusSM,subMenuItemBorderRadius:Ne.borderRadiusSM,colorItemText:be,itemColor:be,colorItemTextHover:be,itemHoverColor:be,colorItemTextHoverHorizontal:ee,horizontalItemHoverColor:ee,colorGroupTitle:te,groupTitleColor:te,colorItemTextSelected:ee,itemSelectedColor:ee,subMenuItemSelectedColor:ee,colorItemTextSelectedHorizontal:ee,horizontalItemSelectedColor:ee,colorItemBg:ce,itemBg:ce,colorItemBgHover:vt,itemHoverBg:vt,colorItemBgActive:Xe,itemActiveBg:qe,colorSubItemBg:lt,subMenuItemBg:lt,colorItemBgSelected:qe,itemSelectedBg:qe,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Bn,colorActiveBarHeight:yt,activeBarHeight:yt,colorActiveBarBorderSize:ft,activeBarBorderWidth:rn,colorItemTextDisabled:q,itemDisabledColor:q,colorDangerItemText:oe,dangerItemColor:oe,colorDangerItemTextHover:oe,dangerItemHoverColor:oe,colorDangerItemTextSelected:oe,dangerItemSelectedColor:oe,colorDangerItemBgActive:fe,dangerItemActiveBg:fe,colorDangerItemBgSelected:fe,dangerItemSelectedBg:fe,itemMarginInline:Tn,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ze,groupTitleLineHeight:Oe,collapsedWidth:Ze*2,popupBg:Qe,itemMarginBlock:rt,itemPaddingInline:_t,horizontalLineHeight:`${Ze*1.15}px`,iconSize:xt,iconMarginInlineEnd:un-xt,collapsedIconSize:$t,groupTitleFontSize:xt,darkItemDisabledColor:new f.FastColor(Ut).setA(.25).toRgbString(),darkItemColor:en,darkDangerItemColor:oe,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ut,darkItemSelectedBg:ee,darkDangerItemSelectedBg:oe,darkItemHoverBg:"transparent",darkGroupTitleColor:en,darkItemHoverColor:Ut,darkDangerItemHoverColor:mn,darkDangerItemSelectedColor:Ut,darkDangerItemActiveBg:oe,itemWidth:Bn?`calc(100% + ${rn}px)`:`calc(100% - ${Tn*2}px)`}};var Ce=function(Ne){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne,$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,w.I$)("Menu",ee=>{const{colorBgElevated:oe,controlHeightLG:q,fontSize:fe,darkItemColor:be,darkDangerItemColor:te,darkItemBg:ce,darkSubMenuItemBg:lt,darkItemSelectedColor:Xe,darkItemSelectedBg:ft,darkDangerItemSelectedBg:yt,darkItemHoverBg:qe,darkGroupTitleColor:vt,darkItemHoverColor:Ze,darkItemDisabledColor:Oe,darkDangerItemHoverColor:Qe,darkDangerItemSelectedColor:rt,darkDangerItemActiveBg:_t,popupBg:xt,darkPopupBg:un}=ee,$t=ee.calc(fe).div(7).mul(5).equal(),Ut=(0,L.mergeToken)(ee,{menuArrowSize:$t,menuHorizontalHeight:ee.calc(q).mul(1.15).equal(),menuArrowOffset:ee.calc($t).mul(.25).equal(),menuSubMenuBg:oe,calc:ee.calc,popupBg:xt}),mn=(0,L.mergeToken)(Ut,{itemColor:be,itemHoverColor:Ze,groupTitleColor:vt,itemSelectedColor:Xe,subMenuItemSelectedColor:Xe,itemBg:ce,popupBg:un,subMenuItemBg:lt,itemActiveBg:"transparent",itemSelectedBg:ft,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:qe,itemDisabledColor:Oe,dangerItemColor:te,dangerItemHoverColor:Qe,dangerItemSelectedColor:rt,dangerItemActiveBg:_t,dangerItemSelectedBg:yt,menuSubMenuBg:lt,horizontalItemSelectedColor:Xe,horizontalItemSelectedBg:ft});return[ve(Ut),D(Ut),Y(Ut),K(Ut,"light"),K(mn,"dark"),I(Ut),(0,b.Z)(Ut),(0,x.oN)(Ut,"slide-up"),(0,x.oN)(Ut,"slide-down"),(0,A._y)(Ut,"zoom-big")]},xe,{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"]],injectStyle:$,unitless:{groupTitleLineHeight:!0}})(Ne,V)},De=O(75030),Me=Ne=>{var V;const{popupClassName:$,icon:re,title:ee,theme:oe}=Ne,q=h.useContext(r),{prefixCls:fe,inlineCollapsed:be,theme:te}=q,ce=(0,k.Xl)();let lt;if(!re)lt=be&&!ce.length&&ee&&typeof ee=="string"?h.createElement("div",{className:`${fe}-inline-collapsed-noicon`},ee.charAt(0)):h.createElement("span",{className:`${fe}-title-content`},ee);else{const yt=h.isValidElement(ee)&&ee.type==="span";lt=h.createElement(h.Fragment,null,(0,d.Tm)(re,{className:C()(h.isValidElement(re)?(V=re.props)===null||V===void 0?void 0:V.className:"",`${fe}-item-icon`)}),yt?ee:h.createElement("span",{className:`${fe}-title-content`},ee))}const Xe=h.useMemo(()=>Object.assign(Object.assign({},q),{firstLevel:!1}),[q]),[ft]=(0,De.Cn)("Menu");return h.createElement(r.Provider,{value:Xe},h.createElement(k.Wd,Object.assign({},(0,p.Z)(Ne,["icon"]),{title:lt,popupClassName:C()(fe,$,`${fe}-${oe||te}`),popupStyle:Object.assign({zIndex:ft},Ne.popupStyle)})))},Je=function(Ne,V){var $={};for(var re in Ne)Object.prototype.hasOwnProperty.call(Ne,re)&&V.indexOf(re)<0&&($[re]=Ne[re]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,re=Object.getOwnPropertySymbols(Ne);ee{var $;const re=h.useContext(t.Z),ee=re||{},{getPrefixCls:oe,getPopupContainer:q,direction:fe,menu:be}=h.useContext(l.E_),te=oe(),{prefixCls:ce,className:lt,style:Xe,theme:ft="light",expandIcon:yt,_internalDisableMenuItemTitleTooltip:qe,inlineCollapsed:vt,siderCollapsed:Ze,rootClassName:Oe,mode:Qe,selectable:rt,onClick:_t,overflowedIndicatorPopupClassName:xt}=Ne,un=Je(Ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),$t=(0,p.Z)(un,["collapsedWidth"]);($=ee.validator)===null||$===void 0||$.call(ee,{mode:Qe});const Ut=(0,m.Z)(function(){var Dn;_t==null||_t.apply(void 0,arguments),(Dn=ee.onClick)===null||Dn===void 0||Dn.call(ee)}),mn=ee.mode||Qe,Bn=rt!=null?rt:ee.selectable,rn=vt!=null?vt:Ze,Tn={horizontal:{motionName:`${te}-slide-up`},inline:(0,E.Z)(te),other:{motionName:`${te}-zoom-big`}},en=oe("menu",ce||ee.prefixCls),jt=(0,o.Z)(en),[Xt,St,It]=Ce(en,jt,!re),Rt=C()(`${en}-${ft}`,be==null?void 0:be.className,lt),Wt=h.useMemo(()=>{var Dn,dt;if(typeof yt=="function"||Re(yt))return yt||null;if(typeof ee.expandIcon=="function"||Re(ee.expandIcon))return ee.expandIcon||null;if(typeof(be==null?void 0:be.expandIcon)=="function"||Re(be==null?void 0:be.expandIcon))return(be==null?void 0:be.expandIcon)||null;const T=(Dn=yt!=null?yt:ee==null?void 0:ee.expandIcon)!==null&&Dn!==void 0?Dn:be==null?void 0:be.expandIcon;return(0,d.Tm)(T,{className:C()(`${en}-submenu-expand-icon`,h.isValidElement(T)?(dt=T.props)===null||dt===void 0?void 0:dt.className:void 0)})},[yt,ee==null?void 0:ee.expandIcon,be==null?void 0:be.expandIcon,en]),dn=h.useMemo(()=>({prefixCls:en,inlineCollapsed:rn||!1,direction:fe,firstLevel:!0,theme:ft,mode:mn,disableMenuItemTitleTooltip:qe}),[en,rn,fe,qe,ft]);return Xt(h.createElement(t.Z.Provider,{value:null},h.createElement(r.Provider,{value:dn},h.createElement(k.ZP,Object.assign({getPopupContainer:q,overflowedIndicator:h.createElement(_.Z,null),overflowedIndicatorPopupClassName:C()(en,`${en}-${ft}`,xt),mode:mn,selectable:Bn,onClick:Ut},$t,{inlineCollapsed:rn,style:Object.assign(Object.assign({},be==null?void 0:be.style),Xe),className:Rt,prefixCls:en,direction:fe,defaultMotions:Tn,expandIcon:Wt,ref:V,rootClassName:C()(Oe,St,ee.rootClassName,It,jt),_internalComponents:ge})))))});const Te=(0,h.forwardRef)((Ne,V)=>{const $=(0,h.useRef)(null),re=h.useContext(P.D);return(0,h.useImperativeHandle)(V,()=>({menu:$.current,focus:ee=>{var oe;(oe=$.current)===null||oe===void 0||oe.focus(ee)}})),h.createElement(Fe,Object.assign({ref:$},Ne,re))});Te.Item=e,Te.SubMenu=Me,Te.Divider=c,Te.ItemGroup=k.BW;var We=Te},31709:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return be}});var h=O(59301),k=O(54476),P={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"},_=P,N=O(7657),C=function(ce,lt){return h.createElement(N.Z,(0,k.Z)({},ce,{ref:lt,icon:_}))},m=h.forwardRef(C),p=m,E=O(49198),d=O(33853),l=O(38819),o=O(92310),g=O.n(o),r=O(20068),n=O(76190),a=O(33885),c=O(42978),u=O(18929),s=O(10228),v=O(26112),e=O(48736),t=O(17119),i=[10,20,50,100],f=function(ce){var lt=ce.pageSizeOptions,Xe=lt===void 0?i:lt,ft=ce.locale,yt=ce.changeSize,qe=ce.pageSize,vt=ce.goButton,Ze=ce.quickGo,Oe=ce.rootPrefixCls,Qe=ce.disabled,rt=ce.buildOptionText,_t=ce.showSizeChanger,xt=ce.sizeChangerRender,un=h.useState(""),$t=(0,c.Z)(un,2),Ut=$t[0],mn=$t[1],Bn=function(){return!Ut||Number.isNaN(Ut)?void 0:Number(Ut)},rn=typeof rt=="function"?rt:function(dn){return"".concat(dn," ").concat(ft.items_per_page)},Tn=function(Dn){mn(Dn.target.value)},en=function(Dn){vt||Ut===""||(mn(""),!(Dn.relatedTarget&&(Dn.relatedTarget.className.indexOf("".concat(Oe,"-item-link"))>=0||Dn.relatedTarget.className.indexOf("".concat(Oe,"-item"))>=0))&&(Ze==null||Ze(Bn())))},jt=function(Dn){Ut!==""&&(Dn.keyCode===s.Z.ENTER||Dn.type==="click")&&(mn(""),Ze==null||Ze(Bn()))},Xt=function(){return Xe.some(function(Dn){return Dn.toString()===qe.toString()})?Xe:Xe.concat([qe]).sort(function(Dn,dt){var T=Number.isNaN(Number(Dn))?0:Number(Dn),z=Number.isNaN(Number(dt))?0:Number(dt);return T-z})},St="".concat(Oe,"-options");if(!_t&&!Ze)return null;var It=null,Rt=null,Wt=null;return _t&&xt&&(It=xt({disabled:Qe,size:qe,onSizeChange:function(Dn){yt==null||yt(Number(Dn))},"aria-label":ft.page_size,className:"".concat(St,"-size-changer"),options:Xt().map(function(dn){return{label:rn(dn),value:dn}})})),Ze&&(vt&&(Wt=typeof vt=="boolean"?h.createElement("button",{type:"button",onClick:jt,onKeyUp:jt,disabled:Qe,className:"".concat(St,"-quick-jumper-button")},ft.jump_to_confirm):h.createElement("span",{onClick:jt,onKeyUp:jt},vt)),Rt=h.createElement("div",{className:"".concat(St,"-quick-jumper")},ft.jump_to,h.createElement("input",{disabled:Qe,type:"text",value:Ut,onChange:Tn,onKeyUp:jt,onBlur:en,"aria-label":ft.page}),ft.page,Wt)),h.createElement("li",{className:St},It,Rt)},y=f,b=function(ce){var lt=ce.rootPrefixCls,Xe=ce.page,ft=ce.active,yt=ce.className,qe=ce.showTitle,vt=ce.onClick,Ze=ce.onKeyPress,Oe=ce.itemRender,Qe="".concat(lt,"-item"),rt=g()(Qe,"".concat(Qe,"-").concat(Xe),(0,r.Z)((0,r.Z)({},"".concat(Qe,"-active"),ft),"".concat(Qe,"-disabled"),!Xe),yt),_t=function(){vt(Xe)},xt=function(Ut){Ze(Ut,vt,Xe)},un=Oe(Xe,"page",h.createElement("a",{rel:"nofollow"},Xe));return un?h.createElement("li",{title:qe?String(Xe):null,className:rt,onClick:_t,onKeyDown:xt,tabIndex:0},un):null},x=b,A=function(ce,lt,Xe){return Xe};function w(){}function L(te){var ce=Number(te);return typeof ce=="number"&&!Number.isNaN(ce)&&isFinite(ce)&&Math.floor(ce)===ce}function M(te,ce,lt){var Xe=typeof te=="undefined"?ce:te;return Math.floor((lt-1)/Xe)+1}var D=function(ce){var lt=ce.prefixCls,Xe=lt===void 0?"rc-pagination":lt,ft=ce.selectPrefixCls,yt=ft===void 0?"rc-select":ft,qe=ce.className,vt=ce.current,Ze=ce.defaultCurrent,Oe=Ze===void 0?1:Ze,Qe=ce.total,rt=Qe===void 0?0:Qe,_t=ce.pageSize,xt=ce.defaultPageSize,un=xt===void 0?10:xt,$t=ce.onChange,Ut=$t===void 0?w:$t,mn=ce.hideOnSinglePage,Bn=ce.align,rn=ce.showPrevNextJumpers,Tn=rn===void 0?!0:rn,en=ce.showQuickJumper,jt=ce.showLessItems,Xt=ce.showTitle,St=Xt===void 0?!0:Xt,It=ce.onShowSizeChange,Rt=It===void 0?w:It,Wt=ce.locale,dn=Wt===void 0?t.Z:Wt,Dn=ce.style,dt=ce.totalBoundaryShowSizeChanger,T=dt===void 0?50:dt,z=ce.disabled,Z=ce.simple,ie=ce.showTotal,le=ce.showSizeChanger,$e=le===void 0?rt>T:le,ot=ce.sizeChangerRender,Et=ce.pageSizeOptions,st=ce.itemRender,Bt=st===void 0?A:st,kt=ce.jumpPrevIcon,He=ce.jumpNextIcon,Be=ce.prevIcon,Ee=ce.nextIcon,Le=h.useRef(null),Ie=(0,u.Z)(10,{value:_t,defaultValue:un}),ze=(0,c.Z)(Ie,2),he=ze[0],je=ze[1],tt=(0,u.Z)(1,{value:vt,defaultValue:Oe,postState:function(br){return Math.max(1,Math.min(br,M(void 0,he,rt)))}}),me=(0,c.Z)(tt,2),ye=me[0],_e=me[1],Ge=h.useState(ye),Se=(0,c.Z)(Ge,2),ut=Se[0],bt=Se[1];(0,h.useEffect)(function(){bt(ye)},[ye]);var Pt=Ut!==w,Yt="current"in ce,sn=Math.max(1,ye-(jt?3:5)),Mn=Math.min(M(void 0,he,rt),ye+(jt?3:5));function xn(Gn,br){var Ar=Gn||h.createElement("button",{type:"button","aria-label":br,className:"".concat(Xe,"-item-link")});return typeof Gn=="function"&&(Ar=h.createElement(Gn,(0,a.Z)({},ce))),Ar}function an(Gn){var br=Gn.target.value,Ar=M(void 0,he,rt),Ir;return br===""?Ir=br:Number.isNaN(Number(br))?Ir=ut:br>=Ar?Ir=Ar:Ir=Number(br),Ir}function hn(Gn){return L(Gn)&&Gn!==ye&&L(rt)&&rt>0}var gn=rt>he?en:!1;function Lt(Gn){(Gn.keyCode===s.Z.UP||Gn.keyCode===s.Z.DOWN)&&Gn.preventDefault()}function On(Gn){var br=an(Gn);switch(br!==ut&&bt(br),Gn.keyCode){case s.Z.ENTER:Fn(br);break;case s.Z.UP:Fn(br-1);break;case s.Z.DOWN:Fn(br+1);break;default:break}}function jn(Gn){Fn(an(Gn))}function bn(Gn){var br=M(Gn,he,rt),Ar=ye>br&&br!==0?br:ye;je(Gn),bt(Ar),Rt==null||Rt(ye,Gn),_e(Ar),Ut==null||Ut(Ar,Gn)}function Fn(Gn){if(hn(Gn)&&!z){var br=M(void 0,he,rt),Ar=Gn;return Gn>br?Ar=br:Gn<1&&(Ar=1),Ar!==ut&&bt(Ar),_e(Ar),Ut==null||Ut(Ar,he),Ar}return ye}var er=ye>1,Cr=ye2?Ar-2:0),Jn=2;Jnrt?rt:ye*he])),lr=null,Sn=M(void 0,he,rt);if(mn&&rt<=he)return null;var Zt=[],qt={rootPrefixCls:Xe,onClick:Fn,onKeyPress:nr,showTitle:St,itemRender:Bt,page:-1},Xn=ye-1>0?ye-1:0,zn=ye+1=et*2&&ye!==3&&(Zt[0]=h.cloneElement(Zt[0],{className:g()("".concat(Xe,"-item-after-jump-prev"),Zt[0].props.className)}),Zt.unshift(Wr)),Sn-ye>=et*2&&ye!==Sn-2){var Vn=Zt[Zt.length-1];Zt[Zt.length-1]=h.cloneElement(Vn,{className:g()("".concat(Xe,"-item-before-jump-next"),Vn.props.className)}),Zt.push(lr)}vr!==1&&Zt.unshift(h.createElement(x,(0,k.Z)({},qt,{key:1,page:1}))),Pn!==Sn&&Zt.push(h.createElement(x,(0,k.Z)({},qt,{key:Sn,page:Sn})))}var yr=Hr(Xn);if(yr){var Kn=!er||!Sn;yr=h.createElement("li",{title:St?dn.prev_page:null,onClick:sr,tabIndex:Kn?null:0,onKeyDown:tr,className:g()("".concat(Xe,"-prev"),(0,r.Z)({},"".concat(Xe,"-disabled"),Kn)),"aria-disabled":Kn},yr)}var pr=Rr(zn);if(pr){var Ln,Mr;Z?(Ln=!Cr,Mr=er?0:null):(Ln=!Cr||!Sn,Mr=Ln?null:0),pr=h.createElement("li",{title:St?dn.next_page:null,onClick:Rn,tabIndex:Mr,onKeyDown:$n,className:g()("".concat(Xe,"-next"),(0,r.Z)({},"".concat(Xe,"-disabled"),Ln)),"aria-disabled":Ln},pr)}var mr=g()(Xe,qe,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(Xe,"-start"),Bn==="start"),"".concat(Xe,"-center"),Bn==="center"),"".concat(Xe,"-end"),Bn==="end"),"".concat(Xe,"-simple"),Z),"".concat(Xe,"-disabled"),z));return h.createElement("ul",(0,k.Z)({className:mr,style:Dn,ref:Le},ea),ar,yr,Z?Pr:Zt,pr,h.createElement(y,{locale:dn,rootPrefixCls:Xe,disabled:z,selectPrefixCls:yt,changeSize:bn,pageSize:he,pageSizeOptions:Et,quickGo:gn?Fn:null,goButton:gr,showSizeChanger:$e,sizeChangerRender:ot}))},B=D,I=O(61852),U=O(48755),F=O(31756),K=O(13783),j=O(9017),X=O(82326),Y=O(57700),se=O(36237),Q=O(53075),ve=O(64910),xe=O(39082),Ce=O(63356),De=O(51636),Ue=O(16931);const Me=te=>{const{componentCls:ce}=te;return{[`${ce}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ce}-item-link`]:{color:te.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ce}-item-link`]:{color:te.colorTextDisabled,cursor:"not-allowed"}}},[`&${ce}-disabled`]:{cursor:"not-allowed",[`${ce}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:te.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:te.colorBorder,backgroundColor:te.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:te.itemActiveBgDisabled},a:{color:te.itemActiveColorDisabled}}},[`${ce}-item-link`]:{color:te.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ce}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ce}-simple-pager`]:{color:te.colorTextDisabled},[`${ce}-jump-prev, ${ce}-jump-next`]:{[`${ce}-item-link-icon`]:{opacity:0},[`${ce}-item-ellipsis`]:{opacity:1}}},[`&${ce}-simple`]:{[`${ce}-prev, ${ce}-next`]:{[`&${ce}-disabled ${ce}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Je=te=>{const{componentCls:ce}=te;return{[`&${ce}-mini ${ce}-total-text, &${ce}-mini ${ce}-simple-pager`]:{height:te.itemSizeSM,lineHeight:(0,se.unit)(te.itemSizeSM)},[`&${ce}-mini ${ce}-item`]:{minWidth:te.itemSizeSM,height:te.itemSizeSM,margin:0,lineHeight:(0,se.unit)(te.calc(te.itemSizeSM).sub(2).equal())},[`&${ce}-mini ${ce}-prev, &${ce}-mini ${ce}-next`]:{minWidth:te.itemSizeSM,height:te.itemSizeSM,margin:0,lineHeight:(0,se.unit)(te.itemSizeSM)},[`&${ce}-mini:not(${ce}-disabled)`]:{[`${ce}-prev, ${ce}-next`]:{[`&:hover ${ce}-item-link`]:{backgroundColor:te.colorBgTextHover},[`&:active ${ce}-item-link`]:{backgroundColor:te.colorBgTextActive},[`&${ce}-disabled:hover ${ce}-item-link`]:{backgroundColor:"transparent"}}},[` &${ce}-mini ${ce}-prev ${ce}-item-link, &${ce}-mini ${ce}-next ${ce}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:te.itemSizeSM,lineHeight:(0,se.unit)(te.itemSizeSM)}},[`&${ce}-mini ${ce}-jump-prev, &${ce}-mini ${ce}-jump-next`]:{height:te.itemSizeSM,marginInlineEnd:0,lineHeight:(0,se.unit)(te.itemSizeSM)},[`&${ce}-mini ${ce}-options`]:{marginInlineStart:te.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:te.miniOptionsSizeChangerTop},"&-quick-jumper":{height:te.itemSizeSM,lineHeight:(0,se.unit)(te.itemSizeSM),input:Object.assign(Object.assign({},(0,Q.x0)(te)),{width:te.paginationMiniQuickJumperInputWidth,height:te.controlHeightSM})}}}},Re=te=>{const{componentCls:ce}=te;return{[` &${ce}-simple ${ce}-prev, &${ce}-simple ${ce}-next `]:{height:te.itemSizeSM,lineHeight:(0,se.unit)(te.itemSizeSM),verticalAlign:"top",[`${ce}-item-link`]:{height:te.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:te.colorBgTextHover},"&:active":{backgroundColor:te.colorBgTextActive},"&::after":{height:te.itemSizeSM,lineHeight:(0,se.unit)(te.itemSizeSM)}}},[`&${ce}-simple ${ce}-simple-pager`]:{display:"inline-block",height:te.itemSizeSM,marginInlineEnd:te.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,se.unit)(te.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:te.itemInputBg,border:`${(0,se.unit)(te.lineWidth)} ${te.lineType} ${te.colorBorder}`,borderRadius:te.borderRadius,outline:"none",transition:`border-color ${te.motionDurationMid}`,color:"inherit","&:hover":{borderColor:te.colorPrimary},"&:focus":{borderColor:te.colorPrimaryHover,boxShadow:`${(0,se.unit)(te.inputOutlineOffset)} 0 ${(0,se.unit)(te.controlOutlineWidth)} ${te.controlOutline}`},"&[disabled]":{color:te.colorTextDisabled,backgroundColor:te.colorBgContainerDisabled,borderColor:te.colorBorder,cursor:"not-allowed"}}}}},ge=te=>{const{componentCls:ce}=te;return{[`${ce}-jump-prev, ${ce}-jump-next`]:{outline:0,[`${ce}-item-container`]:{position:"relative",[`${ce}-item-link-icon`]:{color:te.colorPrimary,fontSize:te.fontSizeSM,opacity:0,transition:`all ${te.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ce}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:te.colorTextDisabled,letterSpacing:te.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:te.paginationEllipsisTextIndent,opacity:1,transition:`all ${te.motionDurationMid}`}},"&:hover":{[`${ce}-item-link-icon`]:{opacity:1},[`${ce}-item-ellipsis`]:{opacity:0}}},[` ${ce}-prev, ${ce}-jump-prev, ${ce}-jump-next `]:{marginInlineEnd:te.marginXS},[` ${ce}-prev, ${ce}-next, ${ce}-jump-prev, ${ce}-jump-next `]:{display:"inline-block",minWidth:te.itemSize,height:te.itemSize,color:te.colorText,fontFamily:te.fontFamily,lineHeight:(0,se.unit)(te.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:te.borderRadius,cursor:"pointer",transition:`all ${te.motionDurationMid}`},[`${ce}-prev, ${ce}-next`]:{outline:0,button:{color:te.colorText,cursor:"pointer",userSelect:"none"},[`${ce}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:te.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,se.unit)(te.lineWidth)} ${te.lineType} transparent`,borderRadius:te.borderRadius,outline:"none",transition:`all ${te.motionDurationMid}`},[`&:hover ${ce}-item-link`]:{backgroundColor:te.colorBgTextHover},[`&:active ${ce}-item-link`]:{backgroundColor:te.colorBgTextActive},[`&${ce}-disabled:hover`]:{[`${ce}-item-link`]:{backgroundColor:"transparent"}}},[`${ce}-slash`]:{marginInlineEnd:te.paginationSlashMarginInlineEnd,marginInlineStart:te.paginationSlashMarginInlineStart},[`${ce}-options`]:{display:"inline-block",marginInlineStart:te.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:te.controlHeight,marginInlineStart:te.marginXS,lineHeight:(0,se.unit)(te.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(te)),(0,xe.$U)(te,{borderColor:te.colorBorder,hoverBorderColor:te.colorPrimaryHover,activeBorderColor:te.colorPrimary,activeShadow:te.activeShadow})),{"&[disabled]":Object.assign({},(0,xe.Xy)(te)),width:te.calc(te.controlHeightLG).mul(1.25).equal(),height:te.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:te.marginXS,marginInlineEnd:te.marginXS})}}}},Ve=te=>{const{componentCls:ce}=te;return{[`${ce}-item`]:{display:"inline-block",minWidth:te.itemSize,height:te.itemSize,marginInlineEnd:te.marginXS,fontFamily:te.fontFamily,lineHeight:(0,se.unit)(te.calc(te.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:te.itemBg,border:`${(0,se.unit)(te.lineWidth)} ${te.lineType} transparent`,borderRadius:te.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,se.unit)(te.paginationItemPaddingInline)}`,color:te.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ce}-item-active)`]:{"&:hover":{transition:`all ${te.motionDurationMid}`,backgroundColor:te.colorBgTextHover},"&:active":{backgroundColor:te.colorBgTextActive}},"&-active":{fontWeight:te.fontWeightStrong,backgroundColor:te.itemActiveBg,borderColor:te.colorPrimary,a:{color:te.colorPrimary},"&:hover":{borderColor:te.colorPrimaryHover},"&:hover a":{color:te.colorPrimaryHover}}}}},Fe=te=>{const{componentCls:ce}=te;return{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(te)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${ce}-total-text`]:{display:"inline-block",height:te.itemSize,marginInlineEnd:te.marginXS,lineHeight:(0,se.unit)(te.calc(te.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Ve(te)),ge(te)),Re(te)),Je(te)),Me(te)),{[`@media only screen and (max-width: ${te.screenLG}px)`]:{[`${ce}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${te.screenSM}px)`]:{[`${ce}-options`]:{display:"none"}}}),[`&${te.componentCls}-rtl`]:{direction:"rtl"}}},Te=te=>{const{componentCls:ce}=te;return{[`${ce}:not(${ce}-disabled)`]:{[`${ce}-item`]:Object.assign({},(0,Ce.Qy)(te)),[`${ce}-jump-prev, ${ce}-jump-next`]:{"&:focus-visible":Object.assign({[`${ce}-item-link-icon`]:{opacity:1},[`${ce}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(te))},[`${ce}-prev, ${ce}-next`]:{[`&:focus-visible ${ce}-item-link`]:Object.assign({},(0,Ce.oN)(te))}}}},We=te=>Object.assign({itemBg:te.colorBgContainer,itemSize:te.controlHeight,itemSizeSM:te.controlHeightSM,itemActiveBg:te.colorBgContainer,itemLinkBg:te.colorBgContainer,itemActiveColorDisabled:te.colorTextDisabled,itemActiveBgDisabled:te.controlItemBgActiveDisabled,itemInputBg:te.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(te)),Ne=te=>(0,De.mergeToken)(te,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:te.calc(te.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:te.calc(te.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:te.calc(te.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:te.calc(te.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:te.marginSM,paginationSlashMarginInlineEnd:te.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(te));var V=(0,Ue.I$)("Pagination",te=>{const ce=Ne(te);return[Fe(ce),Te(ce)]},We);const $=te=>{const{componentCls:ce}=te;return{[`${ce}${ce}-bordered${ce}-disabled:not(${ce}-mini)`]:{"&, &:hover":{[`${ce}-item-link`]:{borderColor:te.colorBorder}},"&:focus-visible":{[`${ce}-item-link`]:{borderColor:te.colorBorder}},[`${ce}-item, ${ce}-item-link`]:{backgroundColor:te.colorBgContainerDisabled,borderColor:te.colorBorder,[`&:hover:not(${ce}-item-active)`]:{backgroundColor:te.colorBgContainerDisabled,borderColor:te.colorBorder,a:{color:te.colorTextDisabled}},[`&${ce}-item-active`]:{backgroundColor:te.itemActiveBgDisabled}},[`${ce}-prev, ${ce}-next`]:{"&:hover button":{backgroundColor:te.colorBgContainerDisabled,borderColor:te.colorBorder,color:te.colorTextDisabled},[`${ce}-item-link`]:{backgroundColor:te.colorBgContainerDisabled,borderColor:te.colorBorder}}},[`${ce}${ce}-bordered:not(${ce}-mini)`]:{[`${ce}-prev, ${ce}-next`]:{"&:hover button":{borderColor:te.colorPrimaryHover,backgroundColor:te.itemBg},[`${ce}-item-link`]:{backgroundColor:te.itemLinkBg,borderColor:te.colorBorder},[`&:hover ${ce}-item-link`]:{borderColor:te.colorPrimary,backgroundColor:te.itemBg,color:te.colorPrimary},[`&${ce}-disabled`]:{[`${ce}-item-link`]:{borderColor:te.colorBorder,color:te.colorTextDisabled}}},[`${ce}-item`]:{backgroundColor:te.itemBg,border:`${(0,se.unit)(te.lineWidth)} ${te.lineType} ${te.colorBorder}`,[`&:hover:not(${ce}-item-active)`]:{borderColor:te.colorPrimary,backgroundColor:te.itemBg,a:{color:te.colorPrimary}},"&-active":{borderColor:te.colorPrimary}}}}};var re=(0,Ue.bk)(["Pagination","bordered"],te=>{const ce=Ne(te);return[$(ce)]},We);function ee(te){return(0,h.useMemo)(()=>typeof te=="boolean"?[te,{}]:te&&typeof te=="object"?[!0,te]:[void 0,void 0],[te])}var oe=function(te,ce){var lt={};for(var Xe in te)Object.prototype.hasOwnProperty.call(te,Xe)&&ce.indexOf(Xe)<0&&(lt[Xe]=te[Xe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Xe=Object.getOwnPropertySymbols(te);ft{const{align:ce,prefixCls:lt,selectPrefixCls:Xe,className:ft,rootClassName:yt,style:qe,size:vt,locale:Ze,responsive:Oe,showSizeChanger:Qe,selectComponentClass:rt,pageSizeOptions:_t}=te,xt=oe(te,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:un}=(0,K.Z)(Oe),[,$t]=(0,Y.ZP)(),{getPrefixCls:Ut,direction:mn,showSizeChanger:Bn,className:rn,style:Tn}=(0,U.dj)("pagination"),en=Ut("pagination",lt),[jt,Xt,St]=V(en),It=(0,F.Z)(vt),Rt=It==="small"||!!(un&&!It&&Oe),[Wt]=(0,j.Z)("Pagination",I.Z),dn=Object.assign(Object.assign({},Wt),Ze),[Dn,dt]=ee(Qe),[T,z]=ee(Bn),Z=Dn!=null?Dn:T,ie=dt!=null?dt:z,le=rt||X.default,$e=h.useMemo(()=>_t?_t.map(He=>Number(He)):void 0,[_t]),ot=He=>{var Be;const{disabled:Ee,size:Le,onSizeChange:Ie,"aria-label":ze,className:he,options:je}=He,{className:tt,onChange:me}=ie||{},ye=(Be=je.find(_e=>String(_e.value)===String(Le)))===null||Be===void 0?void 0:Be.value;return h.createElement(le,Object.assign({disabled:Ee,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:_e=>_e.parentNode,"aria-label":ze,options:je},ie,{value:ye,onChange:(_e,Ge)=>{Ie==null||Ie(_e),me==null||me(_e,Ge)},size:Rt?"small":"middle",className:g()(he,tt)}))},Et=h.useMemo(()=>{const He=h.createElement("span",{className:`${en}-item-ellipsis`},"\u2022\u2022\u2022"),Be=h.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},mn==="rtl"?h.createElement(l.Z,null):h.createElement(d.Z,null)),Ee=h.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},mn==="rtl"?h.createElement(d.Z,null):h.createElement(l.Z,null)),Le=h.createElement("a",{className:`${en}-item-link`},h.createElement("div",{className:`${en}-item-container`},mn==="rtl"?h.createElement(E.Z,{className:`${en}-item-link-icon`}):h.createElement(p,{className:`${en}-item-link-icon`}),He)),Ie=h.createElement("a",{className:`${en}-item-link`},h.createElement("div",{className:`${en}-item-container`},mn==="rtl"?h.createElement(p,{className:`${en}-item-link-icon`}):h.createElement(E.Z,{className:`${en}-item-link-icon`}),He));return{prevIcon:Be,nextIcon:Ee,jumpPrevIcon:Le,jumpNextIcon:Ie}},[mn,en]),st=Ut("select",Xe),Bt=g()({[`${en}-${ce}`]:!!ce,[`${en}-mini`]:Rt,[`${en}-rtl`]:mn==="rtl",[`${en}-bordered`]:$t.wireframe},rn,ft,yt,Xt,St),kt=Object.assign(Object.assign({},Tn),qe);return jt(h.createElement(h.Fragment,null,$t.wireframe&&h.createElement(re,{prefixCls:en}),h.createElement(B,Object.assign({},Et,xt,{style:kt,prefixCls:en,selectPrefixCls:st,className:Bt,locale:dn,pageSizeOptions:$e,showSizeChanger:Z,sizeChangerRender:ot}))))},be=fe},69106:function(Nn,pt,O){"use strict";O.d(pt,{aV:function(){return E},t5:function(){return d}});var h=O(59301),k=O(92310),P=O.n(k),_=O(29125),N=O(54500),C=O(48755),m=O(85074),p=function(o,g){var r={};for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&g.indexOf(n)<0&&(r[n]=o[n]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(o);a{let{title:g,content:r,prefixCls:n}=o;return!g&&!r?null:h.createElement(h.Fragment,null,g&&h.createElement("div",{className:`${n}-title`},g),r&&h.createElement("div",{className:`${n}-inner-content`},r))},d=o=>{const{hashId:g,prefixCls:r,className:n,style:a,placement:c="top",title:u,content:s,children:v}=o,e=(0,N.Z)(u),t=(0,N.Z)(s),i=P()(g,r,`${r}-pure`,`${r}-placement-${c}`,n);return h.createElement("div",{className:i,style:a},h.createElement("div",{className:`${r}-arrow`}),h.createElement(_.G,Object.assign({},o,{className:g,prefixCls:r}),v||h.createElement(E,{prefixCls:r,title:e,content:t})))},l=o=>{const{prefixCls:g,className:r}=o,n=p(o,["prefixCls","className"]),{getPrefixCls:a}=h.useContext(C.E_),c=a("popover",g),[u,s,v]=(0,m.Z)(c);return u(h.createElement(d,Object.assign({},n,{prefixCls:c,hashId:s,className:P()(r,v)})))};pt.ZP=l},37639:function(Nn,pt,O){"use strict";var h=O(59301),k=O(92310),P=O.n(k),_=O(18929),N=O(10228),C=O(54500),m=O(86641),p=O(22703),E=O(25399),d=O(69106),l=O(48755),o=O(85074),g=function(a,c){var u={};for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&c.indexOf(s)<0&&(u[s]=a[s]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,s=Object.getOwnPropertySymbols(a);v{var u,s;const{prefixCls:v,title:e,content:t,overlayClassName:i,placement:f="top",trigger:y="hover",children:b,mouseEnterDelay:x=.1,mouseLeaveDelay:A=.1,onOpenChange:w,overlayStyle:L={},styles:M,classNames:D}=a,B=g(a,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:I,className:U,style:F,classNames:K,styles:j}=(0,l.dj)("popover"),X=I("popover",v),[Y,se,Q]=(0,o.Z)(X),ve=I(),xe=P()(i,se,Q,U,K.root,D==null?void 0:D.root),Ce=P()(K.body,D==null?void 0:D.body),[De,Ue]=(0,_.Z)(!1,{value:(u=a.open)!==null&&u!==void 0?u:a.visible,defaultValue:(s=a.defaultOpen)!==null&&s!==void 0?s:a.defaultVisible}),Me=(Fe,Te)=>{Ue(Fe,!0),w==null||w(Fe,Te)},Je=Fe=>{Fe.keyCode===N.Z.ESC&&Me(!1,Fe)},Re=Fe=>{Me(Fe)},ge=(0,C.Z)(e),Ve=(0,C.Z)(t);return Y(h.createElement(E.Z,Object.assign({placement:f,trigger:y,mouseEnterDelay:x,mouseLeaveDelay:A},B,{prefixCls:X,classNames:{root:xe,body:Ce},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),F),L),M==null?void 0:M.root),body:Object.assign(Object.assign({},j.body),M==null?void 0:M.body)},ref:c,open:De,onOpenChange:Re,overlay:ge||Ve?h.createElement(d.aV,{prefixCls:X,title:ge,content:Ve}):null,transitionName:(0,m.m)(ve,"zoom-big",B.transitionName),"data-popover-inject":!0}),(0,p.Tm)(b,{onKeyDown:Fe=>{var Te,We;h.isValidElement(b)&&((We=b==null?void 0:(Te=b.props).onKeyDown)===null||We===void 0||We.call(Te,Fe)),Je(Fe)}})))});n._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,pt.Z=n},85074:function(Nn,pt,O){"use strict";var h=O(63356),k=O(34925),P=O(37645),_=O(36305),N=O(34998),C=O(16931),m=O(51636);const p=l=>{const{componentCls:o,popoverColor:g,titleMinWidth:r,fontWeightStrong:n,innerPadding:a,boxShadowSecondary:c,colorTextHeading:u,borderRadiusLG:s,zIndexPopup:v,titleMarginBottom:e,colorBgElevated:t,popoverBg:i,titleBorderBottom:f,innerContentPadding:y,titlePadding:b}=l;return[{[o]:Object.assign(Object.assign({},(0,h.Wf)(l)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:v,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":t,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:i,backgroundClip:"padding-box",borderRadius:s,boxShadow:c,padding:a},[`${o}-title`]:{minWidth:r,marginBottom:e,color:u,fontWeight:n,borderBottom:f,padding:b},[`${o}-inner-content`]:{color:g,padding:y}})},(0,P.ZP)(l,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:l.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]},E=l=>{const{componentCls:o}=l;return{[o]:N.i.map(g=>{const r=l[`${g}6`];return{[`&${o}-${g}`]:{"--antd-arrow-background-color":r,[`${o}-inner`]:{backgroundColor:r},[`${o}-arrow`]:{background:"transparent"}}}})}},d=l=>{const{lineWidth:o,controlHeight:g,fontHeight:r,padding:n,wireframe:a,zIndexPopupBase:c,borderRadiusLG:u,marginXS:s,lineType:v,colorSplit:e,paddingSM:t}=l,i=g-r,f=i/2,y=i/2-o,b=n;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:c+30},(0,_.w)(l)),(0,P.wZ)({contentRadius:u,limitVerticalRadius:!0})),{innerPadding:a?0:12,titleMarginBottom:a?0:s,titlePadding:a?`${f}px ${b}px ${y}px`:0,titleBorderBottom:a?`${o}px ${v} ${e}`:"none",innerContentPadding:a?`${t}px ${b}px`:0})};pt.Z=(0,C.I$)("Popover",l=>{const{colorBgElevated:o,colorText:g}=l,r=(0,m.mergeToken)(l,{popoverBg:o,popoverColor:g});return[p(r),E(r),(0,k._y)(r,"zoom-big")]},d,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return Ze}});var h=O(59301),k=O(17835),P=O(29679),_=O(40001),N=O(19248),C=O(99267),m=O(92310),p=O.n(m),E=O(2738),d=O(48755),l=O(54476),o=O(33885),g=O(75931),r={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},n=function(){var Qe=(0,h.useRef)([]),rt=(0,h.useRef)(null);return(0,h.useEffect)(function(){var _t=Date.now(),xt=!1;Qe.current.forEach(function(un){if(un){xt=!0;var $t=un.style;$t.transitionDuration=".3s, .3s, .3s, .06s",rt.current&&_t-rt.current<100&&($t.transitionDuration="0s, 0s")}}),xt&&(rt.current=Date.now())}),Qe.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],c=function(Qe){var rt=(0,o.Z)((0,o.Z)({},r),Qe),_t=rt.className,xt=rt.percent,un=rt.prefixCls,$t=rt.strokeColor,Ut=rt.strokeLinecap,mn=rt.strokeWidth,Bn=rt.style,rn=rt.trailColor,Tn=rt.trailWidth,en=rt.transition,jt=(0,g.Z)(rt,a);delete jt.gapPosition;var Xt=Array.isArray(xt)?xt:[xt],St=Array.isArray($t)?$t:[$t],It=n(),Rt=mn/2,Wt=100-mn/2,dn="M ".concat(Ut==="round"?Rt:0,",").concat(Rt,` L `).concat(Ut==="round"?Wt:100,",").concat(Rt),Dn="0 0 100 ".concat(mn),dt=0;return h.createElement("svg",(0,l.Z)({className:p()("".concat(un,"-line"),_t),viewBox:Dn,preserveAspectRatio:"none",style:Bn},jt),h.createElement("path",{className:"".concat(un,"-line-trail"),d:dn,strokeLinecap:Ut,stroke:rn,strokeWidth:Tn||mn,fillOpacity:"0"}),Xt.map(function(T,z){var Z=1;switch(Ut){case"round":Z=1-mn/100;break;case"square":Z=1-mn/2/100;break;default:Z=1;break}var ie={strokeDasharray:"".concat(T*Z,"px, 100px"),strokeDashoffset:"-".concat(dt,"px"),transition:en||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},le=St[z]||St[St.length-1];return dt+=T,h.createElement("path",{key:z,className:"".concat(un,"-line-path"),d:dn,strokeLinecap:Ut,stroke:le,strokeWidth:mn,fillOpacity:"0",ref:function(ot){It[z]=ot},style:ie})}))},u=c,s=O(76190),v=O(42978),e=O(47273),t=0,i=(0,e.Z)();function f(){var Oe;return i?(Oe=t,t+=1):Oe="TEST_OR_SSR",Oe}var y=function(Oe){var Qe=h.useState(),rt=(0,v.Z)(Qe,2),_t=rt[0],xt=rt[1];return h.useEffect(function(){xt("rc_progress_".concat(f()))},[]),Oe||_t},b=function(Qe){var rt=Qe.bg,_t=Qe.children;return h.createElement("div",{style:{width:"100%",height:"100%",background:rt}},_t)};function x(Oe,Qe){return Object.keys(Oe).map(function(rt){var _t=parseFloat(rt),xt="".concat(Math.floor(_t*Qe),"%");return"".concat(Oe[rt]," ").concat(xt)})}var A=h.forwardRef(function(Oe,Qe){var rt=Oe.prefixCls,_t=Oe.color,xt=Oe.gradientId,un=Oe.radius,$t=Oe.style,Ut=Oe.ptg,mn=Oe.strokeLinecap,Bn=Oe.strokeWidth,rn=Oe.size,Tn=Oe.gapDegree,en=_t&&(0,s.Z)(_t)==="object",jt=en?"#FFF":void 0,Xt=rn/2,St=h.createElement("circle",{className:"".concat(rt,"-circle-path"),r:un,cx:Xt,cy:Xt,stroke:jt,strokeLinecap:mn,strokeWidth:Bn,opacity:Ut===0?0:1,style:$t,ref:Qe});if(!en)return St;var It="".concat(xt,"-conic"),Rt=Tn?"".concat(180+Tn/2,"deg"):"0deg",Wt=x(_t,(360-Tn)/360),dn=x(_t,1),Dn="conic-gradient(from ".concat(Rt,", ").concat(Wt.join(", "),")"),dt="linear-gradient(to ".concat(Tn?"bottom":"top",", ").concat(dn.join(", "),")");return h.createElement(h.Fragment,null,h.createElement("mask",{id:It},St),h.createElement("foreignObject",{x:0,y:0,width:rn,height:rn,mask:"url(#".concat(It,")")},h.createElement(b,{bg:dt},h.createElement(b,{bg:Dn}))))}),w=A,L=100,M=function(Qe,rt,_t,xt,un,$t,Ut,mn,Bn,rn){var Tn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,en=_t/100*360*((360-$t)/360),jt=$t===0?0:{bottom:0,top:180,left:90,right:-90}[Ut],Xt=(100-xt)/100*rt;Bn==="round"&&xt!==100&&(Xt+=rn/2,Xt>=rt&&(Xt=rt-.01));var St=L/2;return{stroke:typeof mn=="string"?mn:void 0,strokeDasharray:"".concat(rt,"px ").concat(Qe),strokeDashoffset:Xt+Tn,transform:"rotate(".concat(un+en+jt,"deg)"),transformOrigin:"".concat(St,"px ").concat(St,"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}},D=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function B(Oe){var Qe=Oe!=null?Oe:[];return Array.isArray(Qe)?Qe:[Qe]}var I=function(Qe){var rt=(0,o.Z)((0,o.Z)({},r),Qe),_t=rt.id,xt=rt.prefixCls,un=rt.steps,$t=rt.strokeWidth,Ut=rt.trailWidth,mn=rt.gapDegree,Bn=mn===void 0?0:mn,rn=rt.gapPosition,Tn=rt.trailColor,en=rt.strokeLinecap,jt=rt.style,Xt=rt.className,St=rt.strokeColor,It=rt.percent,Rt=(0,g.Z)(rt,D),Wt=L/2,dn=y(_t),Dn="".concat(dn,"-gradient"),dt=Wt-$t/2,T=Math.PI*2*dt,z=Bn>0?90+Bn/2:-90,Z=T*((360-Bn)/360),ie=(0,s.Z)(un)==="object"?un:{count:un,gap:2},le=ie.count,$e=ie.gap,ot=B(It),Et=B(St),st=Et.find(function(Ie){return Ie&&(0,s.Z)(Ie)==="object"}),Bt=st&&(0,s.Z)(st)==="object",kt=Bt?"butt":en,He=M(T,Z,0,100,z,Bn,rn,Tn,kt,$t),Be=n(),Ee=function(){var ze=0;return ot.map(function(he,je){var tt=Et[je]||Et[Et.length-1],me=M(T,Z,ze,he,z,Bn,rn,tt,kt,$t);return ze+=he,h.createElement(w,{key:je,color:tt,ptg:he,radius:dt,prefixCls:xt,gradientId:Dn,style:me,strokeLinecap:kt,strokeWidth:$t,gapDegree:Bn,ref:function(_e){Be[je]=_e},size:L})}).reverse()},Le=function(){var ze=Math.round(le*(ot[0]/100)),he=100/le,je=0;return new Array(le).fill(null).map(function(tt,me){var ye=me<=ze-1?Et[0]:Tn,_e=ye&&(0,s.Z)(ye)==="object"?"url(#".concat(Dn,")"):void 0,Ge=M(T,Z,je,he,z,Bn,rn,ye,"butt",$t,$e);return je+=(Z-Ge.strokeDashoffset+$e)*100/Z,h.createElement("circle",{key:me,className:"".concat(xt,"-circle-path"),r:dt,cx:Wt,cy:Wt,stroke:_e,strokeWidth:$t,opacity:1,style:Ge,ref:function(ut){Be[me]=ut}})})};return h.createElement("svg",(0,l.Z)({className:p()("".concat(xt,"-circle"),Xt),viewBox:"0 0 ".concat(L," ").concat(L),style:jt,id:_t,role:"presentation"},Rt),!le&&h.createElement("circle",{className:"".concat(xt,"-circle-trail"),r:dt,cx:Wt,cy:Wt,stroke:Tn,strokeLinecap:kt,strokeWidth:Ut||$t,style:He}),le?Le():Ee())},U=I,F={Line:u,Circle:U},K=O(25399),j=O(68361);function X(Oe){return!Oe||Oe<0?0:Oe>100?100:Oe}function Y(Oe){let{success:Qe,successPercent:rt}=Oe,_t=rt;return Qe&&"progress"in Qe&&(_t=Qe.progress),Qe&&"percent"in Qe&&(_t=Qe.percent),_t}const se=Oe=>{let{percent:Qe,success:rt,successPercent:_t}=Oe;const xt=X(Y({success:rt,successPercent:_t}));return[xt,X(X(Qe)-xt)]},Q=Oe=>{let{success:Qe={},strokeColor:rt}=Oe;const{strokeColor:_t}=Qe;return[_t||j.presetPrimaryColors.green,rt||null]},ve=(Oe,Qe,rt)=>{var _t,xt,un,$t;let Ut=-1,mn=-1;if(Qe==="step"){const Bn=rt.steps,rn=rt.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?(Ut=Oe==="small"?2:14,mn=rn!=null?rn:8):typeof Oe=="number"?[Ut,mn]=[Oe,Oe]:[Ut=14,mn=8]=Array.isArray(Oe)?Oe:[Oe.width,Oe.height],Ut*=Bn}else if(Qe==="line"){const Bn=rt==null?void 0:rt.strokeWidth;typeof Oe=="string"||typeof Oe=="undefined"?mn=Bn||(Oe==="small"?6:8):typeof Oe=="number"?[Ut,mn]=[Oe,Oe]:[Ut=-1,mn=8]=Array.isArray(Oe)?Oe:[Oe.width,Oe.height]}else(Qe==="circle"||Qe==="dashboard")&&(typeof Oe=="string"||typeof Oe=="undefined"?[Ut,mn]=Oe==="small"?[60,60]:[120,120]:typeof Oe=="number"?[Ut,mn]=[Oe,Oe]:Array.isArray(Oe)&&(Ut=(xt=(_t=Oe[0])!==null&&_t!==void 0?_t:Oe[1])!==null&&xt!==void 0?xt:120,mn=($t=(un=Oe[0])!==null&&un!==void 0?un:Oe[1])!==null&&$t!==void 0?$t:120));return[Ut,mn]},xe=3,Ce=Oe=>xe/Oe*100;var Ue=Oe=>{const{prefixCls:Qe,trailColor:rt=null,strokeLinecap:_t="round",gapPosition:xt,gapDegree:un,width:$t=120,type:Ut,children:mn,success:Bn,size:rn=$t,steps:Tn}=Oe,[en,jt]=ve(rn,"circle");let{strokeWidth:Xt}=Oe;Xt===void 0&&(Xt=Math.max(Ce(en),6));const St={width:en,height:jt,fontSize:en*.15+6},It=h.useMemo(()=>{if(un||un===0)return un;if(Ut==="dashboard")return 75},[un,Ut]),Rt=se(Oe),Wt=xt||Ut==="dashboard"&&"bottom"||void 0,dn=Object.prototype.toString.call(Oe.strokeColor)==="[object Object]",Dn=Q({success:Bn,strokeColor:Oe.strokeColor}),dt=p()(`${Qe}-inner`,{[`${Qe}-circle-gradient`]:dn}),T=h.createElement(U,{steps:Tn,percent:Tn?Rt[1]:Rt,strokeWidth:Xt,trailWidth:Xt,strokeColor:Tn?Dn[1]:Dn,strokeLinecap:_t,trailColor:rt,prefixCls:Qe,gapDegree:It,gapPosition:Wt}),z=en<=20,Z=h.createElement("div",{className:dt,style:St},T,!z&&mn);return z?h.createElement(K.Z,{title:mn},Z):Z},Me=O(36237),Je=O(63356),Re=O(16931),ge=O(51636);const Ve="--progress-line-stroke-color",Fe="--progress-percent",Te=Oe=>{const Qe=Oe?"100%":"-100%";return new Me.Keyframes(`antProgress${Oe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Qe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Qe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},We=Oe=>{const{componentCls:Qe,iconCls:rt}=Oe;return{[Qe]:Object.assign(Object.assign({},(0,Je.Wf)(Oe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Oe.fontSize},[`${Qe}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Qe}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Oe.remainingColor,borderRadius:Oe.lineBorderRadius},[`${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:Oe.defaultColor}},[`${Qe}-success-bg, ${Qe}-bg`]:{position:"relative",background:Oe.defaultColor,borderRadius:Oe.lineBorderRadius,transition:`all ${Oe.motionDurationSlow} ${Oe.motionEaseInOutCirc}`},[`${Qe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Qe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Oe.marginXXS}},[`${Qe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Ve})`]},height:"100%",width:`calc(1 / var(${Fe}) * 100%)`,display:"block"},[`&${Qe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Qe}-text-inner`]:{color:Oe.colorWhite,[`&${Qe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Qe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Oe.colorSuccess},[`${Qe}-text`]:{display:"inline-block",marginInlineStart:Oe.marginXS,color:Oe.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[rt]:{fontSize:Oe.fontSize},[`&${Qe}-text-outer`]:{width:"max-content"},[`&${Qe}-text-outer${Qe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Oe.marginXS}},[`${Qe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Me.unit)(Oe.paddingXXS)}`,[`&${Qe}-text-start`]:{justifyContent:"start"},[`&${Qe}-text-end`]:{justifyContent:"end"}},[`&${Qe}-status-active`]:{[`${Qe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Oe.colorBgContainer,borderRadius:Oe.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:Oe.progressActiveMotionDuration,animationTimingFunction:Oe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Qe}-rtl${Qe}-status-active`]:{[`${Qe}-bg::before`]:{animationName:Te(!0)}},[`&${Qe}-status-exception`]:{[`${Qe}-bg`]:{backgroundColor:Oe.colorError},[`${Qe}-text`]:{color:Oe.colorError}},[`&${Qe}-status-exception ${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:Oe.colorError}},[`&${Qe}-status-success`]:{[`${Qe}-bg`]:{backgroundColor:Oe.colorSuccess},[`${Qe}-text`]:{color:Oe.colorSuccess}},[`&${Qe}-status-success ${Qe}-inner:not(${Qe}-circle-gradient)`]:{[`${Qe}-circle-path`]:{stroke:Oe.colorSuccess}}})}},Ne=Oe=>{const{componentCls:Qe,iconCls:rt}=Oe;return{[Qe]:{[`${Qe}-circle-trail`]:{stroke:Oe.remainingColor},[`&${Qe}-circle ${Qe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Qe}-circle ${Qe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Oe.circleTextColor,fontSize:Oe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[rt]:{fontSize:Oe.circleIconFontSize}},[`${Qe}-circle&-status-exception`]:{[`${Qe}-text`]:{color:Oe.colorError}},[`${Qe}-circle&-status-success`]:{[`${Qe}-text`]:{color:Oe.colorSuccess}}},[`${Qe}-inline-circle`]:{lineHeight:1,[`${Qe}-inner`]:{verticalAlign:"bottom"}}}},V=Oe=>{const{componentCls:Qe}=Oe;return{[Qe]:{[`${Qe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Oe.progressStepMinWidth,marginInlineEnd:Oe.progressStepMarginInlineEnd,backgroundColor:Oe.remainingColor,transition:`all ${Oe.motionDurationSlow}`,"&-active":{backgroundColor:Oe.defaultColor}}}}}},$=Oe=>{const{componentCls:Qe,iconCls:rt}=Oe;return{[Qe]:{[`${Qe}-small&-line, ${Qe}-small&-line ${Qe}-text ${rt}`]:{fontSize:Oe.fontSizeSM}}}},re=Oe=>({circleTextColor:Oe.colorText,defaultColor:Oe.colorInfo,remainingColor:Oe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Oe.fontSize/Oe.fontSizeSM}em`});var ee=(0,Re.I$)("Progress",Oe=>{const Qe=Oe.calc(Oe.marginXXS).div(2).equal(),rt=(0,ge.mergeToken)(Oe,{progressStepMarginInlineEnd:Qe,progressStepMinWidth:Qe,progressActiveMotionDuration:"2.4s"});return[We(rt),Ne(rt),V(rt),$(rt)]},re),oe=function(Oe,Qe){var rt={};for(var _t in Oe)Object.prototype.hasOwnProperty.call(Oe,_t)&&Qe.indexOf(_t)<0&&(rt[_t]=Oe[_t]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,_t=Object.getOwnPropertySymbols(Oe);xt<_t.length;xt++)Qe.indexOf(_t[xt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,_t[xt])&&(rt[_t[xt]]=Oe[_t[xt]]);return rt};const q=Oe=>{let Qe=[];return Object.keys(Oe).forEach(rt=>{const _t=parseFloat(rt.replace(/%/g,""));Number.isNaN(_t)||Qe.push({key:_t,value:Oe[rt]})}),Qe=Qe.sort((rt,_t)=>rt.key-_t.key),Qe.map(rt=>{let{key:_t,value:xt}=rt;return`${xt} ${_t}%`}).join(", ")},fe=(Oe,Qe)=>{const{from:rt=j.presetPrimaryColors.blue,to:_t=j.presetPrimaryColors.blue,direction:xt=Qe==="rtl"?"to left":"to right"}=Oe,un=oe(Oe,["from","to","direction"]);if(Object.keys(un).length!==0){const Ut=q(un),mn=`linear-gradient(${xt}, ${Ut})`;return{background:mn,[Ve]:mn}}const $t=`linear-gradient(${xt}, ${rt}, ${_t})`;return{background:$t,[Ve]:$t}};var te=Oe=>{const{prefixCls:Qe,direction:rt,percent:_t,size:xt,strokeWidth:un,strokeColor:$t,strokeLinecap:Ut="round",children:mn,trailColor:Bn=null,percentPosition:rn,success:Tn}=Oe,{align:en,type:jt}=rn,Xt=$t&&typeof $t!="string"?fe($t,rt):{[Ve]:$t,background:$t},St=Ut==="square"||Ut==="butt"?0:void 0,It=xt!=null?xt:[-1,un||(xt==="small"?6:8)],[Rt,Wt]=ve(It,"line",{strokeWidth:un}),dn={backgroundColor:Bn||void 0,borderRadius:St},Dn=Object.assign(Object.assign({width:`${X(_t)}%`,height:Wt,borderRadius:St},Xt),{[Fe]:X(_t)/100}),dt=Y(Oe),T={width:`${X(dt)}%`,height:Wt,borderRadius:St,backgroundColor:Tn==null?void 0:Tn.strokeColor},z={width:Rt<0?"100%":Rt},Z=h.createElement("div",{className:`${Qe}-inner`,style:dn},h.createElement("div",{className:p()(`${Qe}-bg`,`${Qe}-bg-${jt}`),style:Dn},jt==="inner"&&mn),dt!==void 0&&h.createElement("div",{className:`${Qe}-success-bg`,style:T})),ie=jt==="outer"&&en==="start",le=jt==="outer"&&en==="end";return jt==="outer"&&en==="center"?h.createElement("div",{className:`${Qe}-layout-bottom`},Z,mn):h.createElement("div",{className:`${Qe}-outer`,style:z},ie&&mn,Z,le&&mn)},lt=Oe=>{const{size:Qe,steps:rt,rounding:_t=Math.round,percent:xt=0,strokeWidth:un=8,strokeColor:$t,trailColor:Ut=null,prefixCls:mn,children:Bn}=Oe,rn=_t(rt*(xt/100)),Tn=Qe==="small"?2:14,en=Qe!=null?Qe:[Tn,un],[jt,Xt]=ve(en,"step",{steps:rt,strokeWidth:un}),St=jt/rt,It=Array.from({length:rt});for(let Rt=0;Rt{const{prefixCls:rt,className:_t,rootClassName:xt,steps:un,strokeColor:$t,percent:Ut=0,size:mn="default",showInfo:Bn=!0,type:rn="line",status:Tn,format:en,style:jt,percentPosition:Xt={}}=Oe,St=Xe(Oe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:It="end",type:Rt="outer"}=Xt,Wt=Array.isArray($t)?$t[0]:$t,dn=typeof $t=="string"||Array.isArray($t)?$t:void 0,Dn=h.useMemo(()=>{if(Wt){const Ee=typeof Wt=="string"?Wt:Object.values(Wt)[0];return new k.FastColor(Ee).isLight()}return!1},[$t]),dt=h.useMemo(()=>{var Ee,Le;const Ie=Y(Oe);return parseInt(Ie!==void 0?(Ee=Ie!=null?Ie:0)===null||Ee===void 0?void 0:Ee.toString():(Le=Ut!=null?Ut:0)===null||Le===void 0?void 0:Le.toString(),10)},[Ut,Oe.success,Oe.successPercent]),T=h.useMemo(()=>!yt.includes(Tn)&&dt>=100?"success":Tn||"normal",[Tn,dt]),{getPrefixCls:z,direction:Z,progress:ie}=h.useContext(d.E_),le=z("progress",rt),[$e,ot,Et]=ee(le),st=rn==="line",Bt=st&&!un,kt=h.useMemo(()=>{if(!Bn)return null;const Ee=Y(Oe);let Le;const Ie=en||(he=>`${he}%`),ze=st&&Dn&&Rt==="inner";return Rt==="inner"||en||T!=="exception"&&T!=="success"?Le=Ie(X(Ut),X(Ee)):T==="exception"?Le=st?h.createElement(N.Z,null):h.createElement(C.Z,null):T==="success"&&(Le=st?h.createElement(P.Z,null):h.createElement(_.Z,null)),h.createElement("span",{className:p()(`${le}-text`,{[`${le}-text-bright`]:ze,[`${le}-text-${It}`]:Bt,[`${le}-text-${Rt}`]:Bt}),title:typeof Le=="string"?Le:void 0},Le)},[Bn,Ut,dt,T,rn,le,en]);let He;rn==="line"?He=un?h.createElement(lt,Object.assign({},Oe,{strokeColor:dn,prefixCls:le,steps:typeof un=="object"?un.count:un}),kt):h.createElement(te,Object.assign({},Oe,{strokeColor:Wt,prefixCls:le,direction:Z,percentPosition:{align:It,type:Rt}}),kt):(rn==="circle"||rn==="dashboard")&&(He=h.createElement(Ue,Object.assign({},Oe,{strokeColor:Wt,prefixCls:le,progressStatus:T}),kt));const Be=p()(le,`${le}-status-${T}`,{[`${le}-${rn==="dashboard"&&"circle"||rn}`]:rn!=="line",[`${le}-inline-circle`]:rn==="circle"&&ve(mn,"circle")[0]<=20,[`${le}-line`]:Bt,[`${le}-line-align-${It}`]:Bt,[`${le}-line-position-${Rt}`]:Bt,[`${le}-steps`]:un,[`${le}-show-info`]:Bn,[`${le}-${mn}`]:typeof mn=="string",[`${le}-rtl`]:Z==="rtl"},ie==null?void 0:ie.className,_t,xt,ot,Et);return $e(h.createElement("div",Object.assign({ref:Qe,style:Object.assign(Object.assign({},ie==null?void 0:ie.style),jt),className:Be,role:"progressbar","aria-valuenow":dt,"aria-valuemin":0,"aria-valuemax":100},(0,E.Z)(St,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),He))}),Ze=vt},63139:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return se}});var h=O(59301),k=O(54476),P={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"},_=P,N=O(7657),C=function(ve,xe){return h.createElement(N.Z,(0,k.Z)({},ve,{ref:xe,icon:_}))},m=h.forwardRef(C),p=m,E=O(92310),d=O.n(E),l=O(20068),o=O(42978),g=O(75931),r=O(18929),n=O(10228),a=O(26112);function c(Q,ve){var xe=Q.disabled,Ce=Q.prefixCls,De=Q.character,Ue=Q.characterRender,Me=Q.index,Je=Q.count,Re=Q.value,ge=Q.allowHalf,Ve=Q.focused,Fe=Q.onHover,Te=Q.onClick,We=function(fe){Fe(fe,Me)},Ne=function(fe){Te(fe,Me)},V=function(fe){fe.keyCode===n.Z.ENTER&&Te(fe,Me)},$=Me+1,re=new Set([Ce]);Re===0&&Me===0&&Ve?re.add("".concat(Ce,"-focused")):ge&&Re+.5>=$&&Re<$?(re.add("".concat(Ce,"-half")),re.add("".concat(Ce,"-active")),Ve&&re.add("".concat(Ce,"-focused"))):($<=Re?re.add("".concat(Ce,"-full")):re.add("".concat(Ce,"-zero")),$===Re&&Ve&&re.add("".concat(Ce,"-focused")));var ee=typeof De=="function"?De(Q):De,oe=h.createElement("li",{className:d()(Array.from(re)),ref:ve},h.createElement("div",{onClick:xe?null:Ne,onKeyDown:xe?null:V,onMouseMove:xe?null:We,role:"radio","aria-checked":Re>Me?"true":"false","aria-posinset":Me+1,"aria-setsize":Je,tabIndex:xe?-1:0},h.createElement("div",{className:"".concat(Ce,"-first")},ee),h.createElement("div",{className:"".concat(Ce,"-second")},ee)));return Ue&&(oe=Ue(oe,Q)),oe}var u=h.forwardRef(c);function s(){var Q=h.useRef({});function ve(Ce){return Q.current[Ce]}function xe(Ce){return function(De){Q.current[Ce]=De}}return[ve,xe]}function v(Q){var ve=Q.pageXOffset,xe="scrollLeft";if(typeof ve!="number"){var Ce=Q.document;ve=Ce.documentElement[xe],typeof ve!="number"&&(ve=Ce.body[xe])}return ve}function e(Q){var ve,xe,Ce=Q.ownerDocument,De=Ce.body,Ue=Ce&&Ce.documentElement,Me=Q.getBoundingClientRect();return ve=Me.left,xe=Me.top,ve-=Ue.clientLeft||De.clientLeft||0,xe-=Ue.clientTop||De.clientTop||0,{left:ve,top:xe}}function t(Q){var ve=e(Q),xe=Q.ownerDocument,Ce=xe.defaultView||xe.parentWindow;return ve.left+=v(Ce),ve.left}var i=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function f(Q,ve){var xe=Q.prefixCls,Ce=xe===void 0?"rc-rate":xe,De=Q.className,Ue=Q.defaultValue,Me=Q.value,Je=Q.count,Re=Je===void 0?5:Je,ge=Q.allowHalf,Ve=ge===void 0?!1:ge,Fe=Q.allowClear,Te=Fe===void 0?!0:Fe,We=Q.keyboard,Ne=We===void 0?!0:We,V=Q.character,$=V===void 0?"\u2605":V,re=Q.characterRender,ee=Q.disabled,oe=Q.direction,q=oe===void 0?"ltr":oe,fe=Q.tabIndex,be=fe===void 0?0:fe,te=Q.autoFocus,ce=Q.onHoverChange,lt=Q.onChange,Xe=Q.onFocus,ft=Q.onBlur,yt=Q.onKeyDown,qe=Q.onMouseLeave,vt=(0,g.Z)(Q,i),Ze=s(),Oe=(0,o.Z)(Ze,2),Qe=Oe[0],rt=Oe[1],_t=h.useRef(null),xt=function(){if(!ee){var kt;(kt=_t.current)===null||kt===void 0||kt.focus()}};h.useImperativeHandle(ve,function(){return{focus:xt,blur:function(){if(!ee){var kt;(kt=_t.current)===null||kt===void 0||kt.blur()}}}});var un=(0,r.Z)(Ue||0,{value:Me}),$t=(0,o.Z)(un,2),Ut=$t[0],mn=$t[1],Bn=(0,r.Z)(null),rn=(0,o.Z)(Bn,2),Tn=rn[0],en=rn[1],jt=function(kt,He){var Be=q==="rtl",Ee=kt+1;if(Ve){var Le=Qe(kt),Ie=t(Le),ze=Le.clientWidth;(Be&&He-Ie>ze/2||!Be&&He-Ie0&&!Be||He===n.Z.RIGHT&&Ut>0&&Be?(Xt(Ut-Ee),kt.preventDefault()):He===n.Z.LEFT&&Ut{const{componentCls:ve}=Q;return{[`${ve}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Q.marginXS},"> div":{transition:`all ${Q.motionDurationMid}, outline 0s`,"&:hover":{transform:Q.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,w.unit)(Q.lineWidth)} dashed ${Q.starColor}`,transform:Q.starHoverScale}},"&-first, &-second":{color:Q.starBg,transition:`all ${Q.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ve}-star-first, &-half ${ve}-star-second`]:{opacity:1},[`&-half ${ve}-star-first, &-full ${ve}-star-second`]:{color:"inherit"}}}},I=Q=>({[`&-rtl${Q.componentCls}`]:{direction:"rtl"}}),U=Q=>{const{componentCls:ve}=Q;return{[ve]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,L.Wf)(Q)),{display:"inline-block",margin:0,padding:0,color:Q.starColor,fontSize:Q.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${ve} ${ve}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),B(Q)),I(Q))}},F=Q=>({starColor:Q.yellow6,starSize:Q.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Q.colorFillContent});var K=(0,M.I$)("Rate",Q=>{const ve=(0,D.mergeToken)(Q,{});return[U(ve)]},F),j=O(2171),X=function(Q,ve){var xe={};for(var Ce in Q)Object.prototype.hasOwnProperty.call(Q,Ce)&&ve.indexOf(Ce)<0&&(xe[Ce]=Q[Ce]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ce=Object.getOwnPropertySymbols(Q);De{const{prefixCls:xe,className:Ce,rootClassName:De,style:Ue,tooltips:Me,character:Je=h.createElement(p,null),disabled:Re}=Q,ge=X(Q,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),Ve=(fe,be)=>{let{index:te}=be;return Me?h.createElement(A.Z,{title:Me[te]},fe):fe},{getPrefixCls:Fe,direction:Te,rate:We}=h.useContext(x.E_),Ne=Fe("rate",xe),[V,$,re]=K(Ne),ee=Object.assign(Object.assign({},We==null?void 0:We.style),Ue),oe=h.useContext(j.Z),q=Re!=null?Re:oe;return V(h.createElement(b,Object.assign({ref:ve,character:Je,characterRender:Ve,disabled:q},ge,{className:d()(Ce,De,$,re,We==null?void 0:We.className),style:ee,prefixCls:Ne,direction:Te})))})},82326:function(Nn,pt,O){"use strict";var h=O(59301),k=O(92310),P=O.n(k),_=O(37463),N=O(2738),C=O(75030),m=O(86641),p=O(45915),E=O(82855),d=O(48755),l=O(38406),o=O(2171),g=O(83397),r=O(31756),n=O(56553),a=O(24971),c=O(70045),u=O(57700),s=O(1722),v=O(90376),e=O(68525),t=O(90005),i=function(A,w){var L={};for(var M in A)Object.prototype.hasOwnProperty.call(A,M)&&w.indexOf(M)<0&&(L[M]=A[M]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,M=Object.getOwnPropertySymbols(A);D{var L;const{prefixCls:M,bordered:D,className:B,rootClassName:I,getPopupContainer:U,popupClassName:F,dropdownClassName:K,listHeight:j=256,placement:X,listItemHeight:Y,size:se,disabled:Q,notFoundContent:ve,status:xe,builtinPlacements:Ce,dropdownMatchSelectWidth:De,popupMatchSelectWidth:Ue,direction:Me,style:Je,allowClear:Re,variant:ge,dropdownStyle:Ve,transitionName:Fe,tagRender:Te,maxCount:We,prefix:Ne}=A,V=i(A,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:$,getPrefixCls:re,renderEmpty:ee,direction:oe,virtual:q,popupMatchSelectWidth:fe,popupOverflow:be}=h.useContext(d.E_),te=(0,d.dj)("select"),[,ce]=(0,u.ZP)(),lt=Y!=null?Y:ce==null?void 0:ce.controlHeight,Xe=re("select",M),ft=re(),yt=Me!=null?Me:oe,{compactSize:qe,compactItemClassnames:vt}=(0,c.ri)(Xe,yt),[Ze,Oe]=(0,a.Z)("select",ge,D),Qe=(0,g.Z)(Xe),[rt,_t,xt]=(0,v.Z)(Xe,Qe),un=h.useMemo(()=>{const{mode:ot}=A;if(ot!=="combobox")return ot===f?"combobox":ot},[A.mode]),$t=un==="multiple"||un==="tags",Ut=(0,t.Z)(A.suffixIcon,A.showArrow),mn=(L=Ue!=null?Ue:De)!==null&&L!==void 0?L:fe,{status:Bn,hasFeedback:rn,isFormItemInput:Tn,feedbackIcon:en}=h.useContext(n.aM),jt=(0,E.F)(Bn,xe);let Xt;ve!==void 0?Xt=ve:un==="combobox"?Xt=null:Xt=(ee==null?void 0:ee("Select"))||h.createElement(l.Z,{componentName:"Select"});const{suffixIcon:St,itemIcon:It,removeIcon:Rt,clearIcon:Wt}=(0,e.Z)(Object.assign(Object.assign({},V),{multiple:$t,hasFeedback:rn,feedbackIcon:en,showSuffixIcon:Ut,prefixCls:Xe,componentName:"Select"})),dn=Re===!0?{clearIcon:Wt}:Re,Dn=(0,N.Z)(V,["suffixIcon","itemIcon"]),dt=P()(F||K,{[`${Xe}-dropdown-${yt}`]:yt==="rtl"},I,xt,Qe,_t),T=(0,r.Z)(ot=>{var Et;return(Et=se!=null?se:qe)!==null&&Et!==void 0?Et:ot}),z=h.useContext(o.Z),Z=Q!=null?Q:z,ie=P()({[`${Xe}-lg`]:T==="large",[`${Xe}-sm`]:T==="small",[`${Xe}-rtl`]:yt==="rtl",[`${Xe}-${Ze}`]:Oe,[`${Xe}-in-form-item`]:Tn},(0,E.Z)(Xe,jt,rn),vt,te.className,B,I,xt,Qe,_t),le=h.useMemo(()=>X!==void 0?X:yt==="rtl"?"bottomRight":"bottomLeft",[X,yt]),[$e]=(0,C.Cn)("SelectLike",Ve==null?void 0:Ve.zIndex);return rt(h.createElement(_.ZP,Object.assign({ref:w,virtual:q,showSearch:te.showSearch},Dn,{style:Object.assign(Object.assign({},te.style),Je),dropdownMatchSelectWidth:mn,transitionName:(0,m.m)(ft,"slide-up",Fe),builtinPlacements:(0,s.Z)(Ce,be),listHeight:j,listItemHeight:lt,mode:un,prefixCls:Xe,placement:le,direction:yt,prefix:Ne,suffixIcon:St,menuItemSelectedIcon:It,removeIcon:Rt,allowClear:dn,notFoundContent:Xt,className:ie,getPopupContainer:U||$,dropdownClassName:dt,disabled:Z,dropdownStyle:Object.assign(Object.assign({},Ve),{zIndex:$e}),maxCount:$t?We:void 0,tagRender:$t?Te:void 0})))},b=h.forwardRef(y),x=(0,p.Z)(b,"dropdownAlign");b.SECRET_COMBOBOX_MODE_DO_NOT_USE=f,b.Option=_.Wx,b.OptGroup=_.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=x,pt.default=b},1722:function(Nn,pt){"use strict";const O=k=>{const _={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:k==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},_),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},_),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},_),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},_),{points:["br","tr"],offset:[0,-4]})}};function h(k,P){return k||O(P)}pt.Z=h},90376:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return M}});var h=O(63356),k=O(56119),P=O(16931),_=O(51636),N=O(46e3),C=O(93873);const m=D=>{const{optionHeight:B,optionFontSize:I,optionLineHeight:U,optionPadding:F}=D;return{position:"relative",display:"block",minHeight:B,padding:F,color:D.colorText,fontWeight:"normal",fontSize:I,lineHeight:U,boxSizing:"border-box"}};var E=D=>{const{antCls:B,componentCls:I}=D,U=`${I}-item`,F=`&${B}-slide-up-enter${B}-slide-up-enter-active`,K=`&${B}-slide-up-appear${B}-slide-up-appear-active`,j=`&${B}-slide-up-leave${B}-slide-up-leave-active`,X=`${I}-dropdown-placement-`,Y=`${U}-option-selected`;return[{[`${I}-dropdown`]:Object.assign(Object.assign({},(0,h.Wf)(D)),{position:"absolute",top:-9999,zIndex:D.zIndexPopup,boxSizing:"border-box",padding:D.paddingXXS,overflow:"hidden",fontSize:D.fontSize,fontVariant:"initial",backgroundColor:D.colorBgElevated,borderRadius:D.borderRadiusLG,outline:"none",boxShadow:D.boxShadowSecondary,[` ${F}${X}bottomLeft, ${K}${X}bottomLeft `]:{animationName:N.fJ},[` ${F}${X}topLeft, ${K}${X}topLeft, ${F}${X}topRight, ${K}${X}topRight `]:{animationName:N.Qt},[`${j}${X}bottomLeft`]:{animationName:N.Uw},[` ${j}${X}topLeft, ${j}${X}topRight `]:{animationName:N.ly},"&-hidden":{display:"none"},[U]:Object.assign(Object.assign({},m(D)),{cursor:"pointer",transition:`background ${D.motionDurationSlow} ease`,borderRadius:D.borderRadiusSM,"&-group":{color:D.colorTextDescription,fontSize:D.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},h.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${U}-option-disabled)`]:{backgroundColor:D.optionActiveBg},[`&-selected:not(${U}-option-disabled)`]:{color:D.optionSelectedColor,fontWeight:D.optionSelectedFontWeight,backgroundColor:D.optionSelectedBg,[`${U}-option-state`]:{color:D.colorPrimary}},"&-disabled":{[`&${U}-option-selected`]:{backgroundColor:D.colorBgContainerDisabled},color:D.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:D.calc(D.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},m(D)),{color:D.colorTextDisabled})}),[`${Y}:has(+ ${Y})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Y}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,N.oN)(D,"slide-up"),(0,N.oN)(D,"slide-down"),(0,C.Fm)(D,"move-up"),(0,C.Fm)(D,"move-down")]},d=O(26743),l=O(36237);function o(D,B){const{componentCls:I,inputPaddingHorizontalBase:U,borderRadius:F}=D,K=D.calc(D.controlHeight).sub(D.calc(D.lineWidth).mul(2)).equal(),j=B?`${I}-${B}`:"";return{[`${I}-single${j}`]:{fontSize:D.fontSize,height:D.controlHeight,[`${I}-selector`]:Object.assign(Object.assign({},(0,h.Wf)(D,!0)),{display:"flex",borderRadius:F,flex:"1 1 auto",[`${I}-selection-wrap:after`]:{lineHeight:(0,l.unit)(K)},[`${I}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` ${I}-selection-item, ${I}-selection-placeholder `]:{display:"block",padding:0,lineHeight:(0,l.unit)(K),transition:`all ${D.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${I}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${I}-selection-item:empty:after`,`${I}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${I}-show-arrow ${I}-selection-item, &${I}-show-arrow ${I}-selection-search, &${I}-show-arrow ${I}-selection-placeholder `]:{paddingInlineEnd:D.showArrowPaddingInlineEnd},[`&${I}-open ${I}-selection-item`]:{color:D.colorTextPlaceholder},[`&:not(${I}-customize-input)`]:{[`${I}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,l.unit)(U)}`,[`${I}-selection-search-input`]:{height:K,fontSize:D.fontSize},"&:after":{lineHeight:(0,l.unit)(K)}}},[`&${I}-customize-input`]:{[`${I}-selector`]:{"&:after":{display:"none"},[`${I}-selection-search`]:{position:"static",width:"100%"},[`${I}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,l.unit)(U)}`,"&:after":{display:"none"}}}}}}}function g(D){const{componentCls:B}=D,I=D.calc(D.controlPaddingHorizontalSM).sub(D.lineWidth).equal();return[o(D),o((0,_.mergeToken)(D,{controlHeight:D.controlHeightSM,borderRadius:D.borderRadiusSM}),"sm"),{[`${B}-single${B}-sm`]:{[`&:not(${B}-customize-input)`]:{[`${B}-selector`]:{padding:`0 ${(0,l.unit)(I)}`},[`&${B}-show-arrow ${B}-selection-search`]:{insetInlineEnd:D.calc(I).add(D.calc(D.fontSize).mul(1.5)).equal()},[` &${B}-show-arrow ${B}-selection-item, &${B}-show-arrow ${B}-selection-placeholder `]:{paddingInlineEnd:D.calc(D.fontSize).mul(1.5).equal()}}}},o((0,_.mergeToken)(D,{controlHeight:D.singleItemHeightLG,fontSize:D.fontSizeLG,borderRadius:D.borderRadiusLG}),"lg")]}const r=D=>{const{fontSize:B,lineHeight:I,lineWidth:U,controlHeight:F,controlHeightSM:K,controlHeightLG:j,paddingXXS:X,controlPaddingHorizontal:Y,zIndexPopupBase:se,colorText:Q,fontWeightStrong:ve,controlItemBgActive:xe,controlItemBgHover:Ce,colorBgContainer:De,colorFillSecondary:Ue,colorBgContainerDisabled:Me,colorTextDisabled:Je,colorPrimaryHover:Re,colorPrimary:ge,controlOutline:Ve}=D,Fe=X*2,Te=U*2,We=Math.min(F-Fe,F-Te),Ne=Math.min(K-Fe,K-Te),V=Math.min(j-Fe,j-Te);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(X/2),zIndexPopup:se+50,optionSelectedColor:Q,optionSelectedFontWeight:ve,optionSelectedBg:xe,optionActiveBg:Ce,optionPadding:`${(F-B*I)/2}px ${Y}px`,optionFontSize:B,optionLineHeight:I,optionHeight:F,selectorBg:De,clearBg:De,singleItemHeightLG:j,multipleItemBg:Ue,multipleItemBorderColor:"transparent",multipleItemHeight:We,multipleItemHeightSM:Ne,multipleItemHeightLG:V,multipleSelectorBgDisabled:Me,multipleItemColorDisabled:Je,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(D.fontSize*1.25),hoverBorderColor:Re,activeBorderColor:ge,activeOutlineColor:Ve,selectAffixPadding:X}},n=(D,B)=>{const{componentCls:I,antCls:U,controlOutlineWidth:F}=D;return{[`&:not(${I}-customize-input) ${I}-selector`]:{border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${B.borderColor}`,background:D.selectorBg},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:B.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:B.activeBorderColor,boxShadow:`0 0 0 ${(0,l.unit)(F)} ${B.activeOutlineColor}`,outline:0},[`${I}-prefix`]:{color:B.color}}}},a=(D,B)=>({[`&${D.componentCls}-status-${B.status}`]:Object.assign({},n(D,B))}),c=D=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},n(D,{borderColor:D.colorBorder,hoverBorderHover:D.hoverBorderColor,activeBorderColor:D.activeBorderColor,activeOutlineColor:D.activeOutlineColor,color:D.colorText})),a(D,{status:"error",borderColor:D.colorError,hoverBorderHover:D.colorErrorHover,activeBorderColor:D.colorError,activeOutlineColor:D.colorErrorOutline,color:D.colorError})),a(D,{status:"warning",borderColor:D.colorWarning,hoverBorderHover:D.colorWarningHover,activeBorderColor:D.colorWarning,activeOutlineColor:D.colorWarningOutline,color:D.colorWarning})),{[`&${D.componentCls}-disabled`]:{[`&:not(${D.componentCls}-customize-input) ${D.componentCls}-selector`]:{background:D.colorBgContainerDisabled,color:D.colorTextDisabled}},[`&${D.componentCls}-multiple ${D.componentCls}-selection-item`]:{background:D.multipleItemBg,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${D.multipleItemBorderColor}`}})}),u=(D,B)=>{const{componentCls:I,antCls:U}=D;return{[`&:not(${I}-customize-input) ${I}-selector`]:{background:B.bg,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} transparent`,color:B.color},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{background:B.hoverBg},[`${I}-focused& ${I}-selector`]:{background:D.selectorBg,borderColor:B.activeBorderColor,outline:0}}}},s=(D,B)=>({[`&${D.componentCls}-status-${B.status}`]:Object.assign({},u(D,B))}),v=D=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},u(D,{bg:D.colorFillTertiary,hoverBg:D.colorFillSecondary,activeBorderColor:D.activeBorderColor,color:D.colorText})),s(D,{status:"error",bg:D.colorErrorBg,hoverBg:D.colorErrorBgHover,activeBorderColor:D.colorError,color:D.colorError})),s(D,{status:"warning",bg:D.colorWarningBg,hoverBg:D.colorWarningBgHover,activeBorderColor:D.colorWarning,color:D.colorWarning})),{[`&${D.componentCls}-disabled`]:{[`&:not(${D.componentCls}-customize-input) ${D.componentCls}-selector`]:{borderColor:D.colorBorder,background:D.colorBgContainerDisabled,color:D.colorTextDisabled}},[`&${D.componentCls}-multiple ${D.componentCls}-selection-item`]:{background:D.colorBgContainer,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${D.colorSplit}`}})}),e=D=>({"&-borderless":{[`${D.componentCls}-selector`]:{background:"transparent",border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} transparent`},[`&${D.componentCls}-disabled`]:{[`&:not(${D.componentCls}-customize-input) ${D.componentCls}-selector`]:{color:D.colorTextDisabled}},[`&${D.componentCls}-multiple ${D.componentCls}-selection-item`]:{background:D.multipleItemBg,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${D.multipleItemBorderColor}`},[`&${D.componentCls}-status-error`]:{[`${D.componentCls}-prefix, ${D.componentCls}-selection-item`]:{color:D.colorError}},[`&${D.componentCls}-status-warning`]:{[`${D.componentCls}-prefix, ${D.componentCls}-selection-item`]:{color:D.colorWarning}}}}),t=(D,B)=>{const{componentCls:I,antCls:U}=D;return{[`&:not(${I}-customize-input) ${I}-selector`]:{borderWidth:`0 0 ${(0,l.unit)(D.lineWidth)} 0`,borderStyle:`none none ${D.lineType} none`,borderColor:B.borderColor,background:D.selectorBg,borderRadius:0},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:B.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:B.activeBorderColor,outline:0},[`${I}-prefix`]:{color:B.color}}}},i=(D,B)=>({[`&${D.componentCls}-status-${B.status}`]:Object.assign({},t(D,B))}),f=D=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},t(D,{borderColor:D.colorBorder,hoverBorderHover:D.hoverBorderColor,activeBorderColor:D.activeBorderColor,activeOutlineColor:D.activeOutlineColor,color:D.colorText})),i(D,{status:"error",borderColor:D.colorError,hoverBorderHover:D.colorErrorHover,activeBorderColor:D.colorError,activeOutlineColor:D.colorErrorOutline,color:D.colorError})),i(D,{status:"warning",borderColor:D.colorWarning,hoverBorderHover:D.colorWarningHover,activeBorderColor:D.colorWarning,activeOutlineColor:D.colorWarningOutline,color:D.colorWarning})),{[`&${D.componentCls}-disabled`]:{[`&:not(${D.componentCls}-customize-input) ${D.componentCls}-selector`]:{color:D.colorTextDisabled}},[`&${D.componentCls}-multiple ${D.componentCls}-selection-item`]:{background:D.multipleItemBg,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${D.multipleItemBorderColor}`}})});var b=D=>({[D.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},c(D)),v(D)),e(D)),f(D))});const x=D=>{const{componentCls:B}=D;return{position:"relative",transition:`all ${D.motionDurationMid} ${D.motionEaseInOut}`,input:{cursor:"pointer"},[`${B}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${B}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},A=D=>{const{componentCls:B}=D;return{[`${B}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},w=D=>{const{antCls:B,componentCls:I,inputPaddingHorizontalBase:U,iconCls:F}=D;return{[I]:Object.assign(Object.assign({},(0,h.Wf)(D)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${I}-customize-input) ${I}-selector`]:Object.assign(Object.assign({},x(D)),A(D)),[`${I}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},h.vS),{[`> ${B}-typography`]:{display:"inline"}}),[`${I}-selection-placeholder`]:Object.assign(Object.assign({},h.vS),{flex:1,color:D.colorTextPlaceholder,pointerEvents:"none"}),[`${I}-arrow`]:Object.assign(Object.assign({},(0,h.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:U,height:D.fontSizeIcon,marginTop:D.calc(D.fontSizeIcon).mul(-1).div(2).equal(),color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${D.motionDurationSlow} ease`,[F]:{verticalAlign:"top",transition:`transform ${D.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${I}-suffix)`]:{pointerEvents:"auto"}},[`${I}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${I}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${I}-prefix`]:{flex:"none",marginInlineEnd:D.selectAffixPadding},[`${I}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:U,zIndex:1,display:"inline-block",width:D.fontSizeIcon,height:D.fontSizeIcon,marginTop:D.calc(D.fontSizeIcon).mul(-1).div(2).equal(),color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${D.motionDurationMid} ease, opacity ${D.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:D.colorTextTertiary}},[`&:hover ${I}-clear`]:{opacity:1,background:D.colorBgBase,borderRadius:"50%"}}),[`${I}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${I}-has-feedback`]:{[`${I}-clear`]:{insetInlineEnd:D.calc(U).add(D.fontSize).add(D.paddingXS).equal()}}}}}},L=D=>{const{componentCls:B}=D;return[{[B]:{[`&${B}-in-form-item`]:{width:"100%"}}},w(D),g(D),(0,d.ZP)(D),E(D),{[`${B}-rtl`]:{direction:"rtl"}},(0,k.c)(D,{borderElCls:`${B}-selector`,focusElCls:`${B}-focused`})]};var M=(0,P.I$)("Select",(D,B)=>{let{rootPrefixCls:I}=B;const U=(0,_.mergeToken)(D,{rootPrefixCls:I,inputPaddingHorizontalBase:D.calc(D.paddingSM).sub(1).equal(),multipleSelectItemHeight:D.multipleItemHeight,selectHeight:D.controlHeight});return[L(U),b(U)]},r,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Nn,pt,O){"use strict";O.d(pt,{_z:function(){return C},gp:function(){return _}});var h=O(36237),k=O(63356),P=O(51636);const _=d=>{const{multipleSelectItemHeight:l,paddingXXS:o,lineWidth:g,INTERNAL_FIXED_ITEM_MARGIN:r}=d,n=d.max(d.calc(o).sub(g).equal(),0),a=d.max(d.calc(n).sub(r).equal(),0);return{basePadding:n,containerPadding:a,itemHeight:(0,h.unit)(l),itemLineHeight:(0,h.unit)(d.calc(l).sub(d.calc(d.lineWidth).mul(2)).equal())}},N=d=>{const{multipleSelectItemHeight:l,selectHeight:o,lineWidth:g}=d;return d.calc(o).sub(l).div(2).sub(g).equal()},C=d=>{const{componentCls:l,iconCls:o,borderRadiusSM:g,motionDurationSlow:r,paddingXS:n,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:c,colorIcon:u,colorIconHover:s,INTERNAL_FIXED_ITEM_MARGIN:v}=d;return{[`${l}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${l}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:v,borderRadius:g,cursor:"default",transition:`font-size ${r}, line-height ${r}, height ${r}`,marginInlineEnd:d.calc(v).mul(2).equal(),paddingInlineStart:n,paddingInlineEnd:d.calc(n).div(2).equal(),[`${l}-disabled&`]:{color:a,borderColor:c,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:d.calc(n).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,k.Ro)()),{display:"inline-flex",alignItems:"center",color:u,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s}})}}}},m=(d,l)=>{const{componentCls:o,INTERNAL_FIXED_ITEM_MARGIN:g}=d,r=`${o}-selection-overflow`,n=d.multipleSelectItemHeight,a=N(d),c=l?`${o}-${l}`:"",u=_(d);return{[`${o}-multiple${c}`]:Object.assign(Object.assign({},C(d)),{[`${o}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:u.basePadding,paddingBlock:u.containerPadding,borderRadius:d.borderRadius,[`${o}-disabled&`]:{background:d.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,h.unit)(g)} 0`,lineHeight:(0,h.unit)(n),visibility:"hidden",content:'"\\a0"'}},[`${o}-selection-item`]:{height:u.itemHeight,lineHeight:(0,h.unit)(u.itemLineHeight)},[`${o}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,h.unit)(n),marginBlock:g}},[`${o}-prefix`]:{marginInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(u.basePadding).equal()},[`${r}-item + ${r}-item, ${o}-prefix + ${o}-selection-wrap `]:{[`${o}-selection-search`]:{marginInlineStart:0},[`${o}-selection-placeholder`]:{insetInlineStart:0}},[`${r}-item-suffix`]:{minHeight:u.itemHeight,marginBlock:g},[`${o}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:n,fontFamily:d.fontFamily,lineHeight:(0,h.unit)(n),transition:`all ${d.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${o}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:d.calc(d.inputPaddingHorizontalBase).sub(u.basePadding).equal(),insetInlineEnd:d.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${d.motionDurationSlow}`}})}};function p(d,l){const{componentCls:o}=d,g=l?`${o}-${l}`:"",r={[`${o}-multiple${g}`]:{fontSize:d.fontSize,[`${o}-selector`]:{[`${o}-show-search&`]:{cursor:"text"}},[` &${o}-show-arrow ${o}-selector, &${o}-allow-clear ${o}-selector `]:{paddingInlineEnd:d.calc(d.fontSizeIcon).add(d.controlPaddingHorizontal).equal()}}};return[m(d,l),r]}const E=d=>{const{componentCls:l}=d,o=(0,P.mergeToken)(d,{selectHeight:d.controlHeightSM,multipleSelectItemHeight:d.multipleItemHeightSM,borderRadius:d.borderRadiusSM,borderRadiusSM:d.borderRadiusXS}),g=(0,P.mergeToken)(d,{fontSize:d.fontSizeLG,selectHeight:d.controlHeightLG,multipleSelectItemHeight:d.multipleItemHeightLG,borderRadius:d.borderRadiusLG,borderRadiusSM:d.borderRadius});return[p(d),p(o,"sm"),{[`${l}-multiple${l}-sm`]:{[`${l}-selection-placeholder`]:{insetInline:d.calc(d.controlPaddingHorizontalSM).sub(d.lineWidth).equal()},[`${l}-selection-search`]:{marginInlineStart:2}}},p(g,"lg")]};pt.ZP=E},68525:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});var h=O(59301),k=O(40001),P=O(19248),_=O(99267),N=O(84105),C=O(58617),m=O(47472);function p(E){let{suffixIcon:d,clearIcon:l,menuItemSelectedIcon:o,removeIcon:g,loading:r,multiple:n,hasFeedback:a,prefixCls:c,showSuffixIcon:u,feedbackIcon:s,showArrow:v,componentName:e}=E;const t=l!=null?l:h.createElement(P.Z,null),i=x=>d===null&&!a&&!v?null:h.createElement(h.Fragment,null,u!==!1&&x,a&&s);let f=null;if(d!==void 0)f=i(d);else if(r)f=i(h.createElement(C.Z,{spin:!0}));else{const x=`${c}-suffix`;f=A=>{let{open:w,showSearch:L}=A;return i(w&&L?h.createElement(m.Z,{className:x}):h.createElement(N.Z,{className:x}))}}let y=null;o!==void 0?y=o:n?y=h.createElement(k.Z,null):y=null;let b=null;return g!==void 0?b=g:b=h.createElement(_.Z,null),{clearIcon:t,suffixIcon:f,itemIcon:y,removeIcon:b}}},90005:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return h}});function h(k,P){return P!==void 0?P:k!==null}},11938:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return A}});var h=O(59301),k=O(40192),P=O(22703),_=O(92310),N=O.n(_),C=O(26112),m=O(48755),p=O(458),d=w=>{const{value:L,formatter:M,precision:D,decimalSeparator:B,groupSeparator:I="",prefixCls:U}=w;let F;if(typeof M=="function")F=M(L);else{const K=String(L),j=K.match(/^(-?)(\d*)(\.(\d+))?$/);if(!j||K==="-")F=K;else{const X=j[1];let Y=j[2]||"0",se=j[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,I),typeof D=="number"&&(se=se.padEnd(D,"0").slice(0,D>0?D:0)),se&&(se=`${B}${se}`),F=[h.createElement("span",{key:"int",className:`${U}-content-value-int`},X,Y),se&&h.createElement("span",{key:"decimal",className:`${U}-content-value-decimal`},se)]}}return h.createElement("span",{className:`${U}-content-value`},F)},l=O(63356),o=O(16931),g=O(51636);const r=w=>{const{componentCls:L,marginXXS:M,padding:D,colorTextDescription:B,titleFontSize:I,colorTextHeading:U,contentFontSize:F,fontFamily:K}=w;return{[L]:Object.assign(Object.assign({},(0,l.Wf)(w)),{[`${L}-title`]:{marginBottom:M,color:B,fontSize:I},[`${L}-skeleton`]:{paddingTop:D},[`${L}-content`]:{color:U,fontSize:F,fontFamily:K,[`${L}-content-value`]:{display:"inline-block",direction:"ltr"},[`${L}-content-prefix, ${L}-content-suffix`]:{display:"inline-block"},[`${L}-content-prefix`]:{marginInlineEnd:M},[`${L}-content-suffix`]:{marginInlineStart:M}}})}},n=w=>{const{fontSizeHeading3:L,fontSize:M}=w;return{titleFontSize:M,contentFontSize:L}};var a=(0,o.I$)("Statistic",w=>{const L=(0,g.mergeToken)(w,{});return[r(L)]},n),c=function(w,L){var M={};for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&L.indexOf(D)<0&&(M[D]=w[D]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(w);B{const{prefixCls:L,className:M,rootClassName:D,style:B,valueStyle:I,value:U=0,title:F,valueRender:K,prefix:j,suffix:X,loading:Y=!1,formatter:se,precision:Q,decimalSeparator:ve=".",groupSeparator:xe=",",onMouseEnter:Ce,onMouseLeave:De}=w,Ue=c(w,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:Me,direction:Je,className:Re,style:ge}=(0,m.dj)("statistic"),Ve=Me("statistic",L),[Fe,Te,We]=a(Ve),Ne=h.createElement(d,{decimalSeparator:ve,groupSeparator:xe,prefixCls:Ve,formatter:se,precision:Q,value:U}),V=N()(Ve,{[`${Ve}-rtl`]:Je==="rtl"},Re,M,D,Te,We),$=(0,C.Z)(Ue,{aria:!0,data:!0});return Fe(h.createElement("div",Object.assign({},$,{className:V,style:Object.assign(Object.assign({},ge),B),onMouseEnter:Ce,onMouseLeave:De}),F&&h.createElement("div",{className:`${Ve}-title`},F),h.createElement(p.Z,{paragraph:!1,loading:Y,className:`${Ve}-skeleton`},h.createElement("div",{style:I,className:`${Ve}-content`},j&&h.createElement("span",{className:`${Ve}-content-prefix`},j),K?K(Ne):Ne,X&&h.createElement("span",{className:`${Ve}-content-suffix`},X)))))};const v=[["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 e(w,L){let M=w;const D=/\[[^\]]*]/g,B=(L.match(D)||[]).map(K=>K.slice(1,-1)),I=L.replace(D,"[]"),U=v.reduce((K,j)=>{let[X,Y]=j;if(K.includes(X)){const se=Math.floor(M/Y);return M-=se*Y,K.replace(new RegExp(`${X}+`,"g"),Q=>{const ve=Q.length;return se.toString().padStart(ve,"0")})}return K},I);let F=0;return U.replace(D,()=>{const K=B[F];return F+=1,K})}function t(w,L){const{format:M=""}=L,D=new Date(w).getTime(),B=Date.now(),I=Math.max(D-B,0);return e(I,M)}var i=function(w,L){var M={};for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&L.indexOf(D)<0&&(M[D]=w[D]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(w);B{const{value:L,format:M="HH:mm:ss",onChange:D,onFinish:B}=w,I=i(w,["value","format","onChange","onFinish"]),U=(0,k.Z)(),F=h.useRef(null),K=()=>{B==null||B(),F.current&&(clearInterval(F.current),F.current=null)},j=()=>{const se=y(L);se>=Date.now()&&(F.current=setInterval(()=>{U(),D==null||D(se-Date.now()),se(j(),()=>{F.current&&(clearInterval(F.current),F.current=null)}),[L]);const X=(se,Q)=>t(se,Object.assign(Object.assign({},Q),{format:M})),Y=se=>(0,P.Tm)(se,{title:void 0});return h.createElement(s,Object.assign({},I,{value:L,valueRender:Y,formatter:X}))};var x=h.memo(b);s.Countdown=x;var A=s},70858:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return ro}});var h=O(59301),k={},P="rc-table-internal-hook",_=O(42978),N=O(6089),C=O(34280),m=O(13697),p=O(4676);function E(de){var ne=h.createContext(void 0),Pe=function(at){var ht=at.value,Nt=at.children,wt=h.useRef(ht);wt.current=ht;var zt=h.useState(function(){return{getValue:function(){return wt.current},listeners:new Set}}),Vt=(0,_.Z)(zt,1),Cn=Vt[0];return(0,C.Z)(function(){(0,p.unstable_batchedUpdates)(function(){Cn.listeners.forEach(function(on){on(ht)})})},[ht]),h.createElement(ne.Provider,{value:Cn},Nt)};return{Context:ne,Provider:Pe,defaultValue:de}}function d(de,ne){var Pe=(0,N.Z)(typeof ne=="function"?ne:function(on){if(ne===void 0)return on;if(!Array.isArray(ne))return on[ne];var nn={};return ne.forEach(function(tn){nn[tn]=on[tn]}),nn}),ke=h.useContext(de==null?void 0:de.Context),at=ke||{},ht=at.listeners,Nt=at.getValue,wt=h.useRef();wt.current=Pe(ke?Nt():de==null?void 0:de.defaultValue);var zt=h.useState({}),Vt=(0,_.Z)(zt,2),Cn=Vt[1];return(0,C.Z)(function(){if(!ke)return;function on(nn){var tn=Pe(nn);(0,m.Z)(wt.current,tn,!0)||Cn({})}return ht.add(on),function(){ht.delete(on)}},[ke]),wt.current}var l=O(54476),o=O(8654);function g(){var de=h.createContext(null);function ne(){return h.useContext(de)}function Pe(at,ht){var Nt=(0,o.Yr)(at),wt=function(Vt,Cn){var on=Nt?{ref:Cn}:{},nn=h.useRef(0),tn=h.useRef(Vt),pn=ne();return pn!==null?h.createElement(at,(0,l.Z)({},Vt,on)):((!ht||ht(tn.current,Vt))&&(nn.current+=1),tn.current=Vt,h.createElement(de.Provider,{value:nn.current},h.createElement(at,(0,l.Z)({},Vt,on))))};return Nt?h.forwardRef(wt):wt}function ke(at,ht){var Nt=(0,o.Yr)(at),wt=function(Vt,Cn){var on=Nt?{ref:Cn}:{};return ne(),h.createElement(at,(0,l.Z)({},Vt,on))};return Nt?h.memo(h.forwardRef(wt),ht):h.memo(wt,ht)}return{makeImmutable:Pe,responseImmutable:ke,useImmutableMark:ne}}var r=g(),n=r.makeImmutable,a=r.responseImmutable,c=r.useImmutableMark,u=g(),s=u.makeImmutable,v=u.responseImmutable,e=u.useImmutableMark,t=E(),i=t;function f(de,ne){var Pe=React.useRef(0);Pe.current+=1;var ke=React.useRef(de),at=[];Object.keys(de||{}).map(function(Nt){var wt;(de==null?void 0:de[Nt])!==((wt=ke.current)===null||wt===void 0?void 0:wt[Nt])&&at.push(Nt)}),ke.current=de;var ht=React.useRef([]);return at.length&&(ht.current=at),React.useDebugValue(Pe.current),React.useDebugValue(ht.current.join(", ")),ne&&console.log("".concat(ne,":"),Pe.current,ht.current),Pe.current}var y=null,b=null,x=O(76190),A=O(33885),w=O(20068),L=O(92310),M=O.n(L),D=O(80547),B=O(97938),I=O(48736),U=h.createContext({renderWithProps:!1}),F=U,K="RC_TABLE_KEY";function j(de){return de==null?[]:Array.isArray(de)?de:[de]}function X(de){var ne=[],Pe={};return de.forEach(function(ke){for(var at=ke||{},ht=at.key,Nt=at.dataIndex,wt=ht||j(Nt).join("-")||K;Pe[wt];)wt="".concat(wt,"_next");Pe[wt]=!0,ne.push(wt)}),ne}function Y(de){return de!=null}function se(de){return typeof de=="number"&&!Number.isNaN(de)}function Q(de){return de&&(0,x.Z)(de)==="object"&&!Array.isArray(de)&&!h.isValidElement(de)}function ve(de,ne,Pe,ke,at,ht){var Nt=h.useContext(F),wt=e(),zt=(0,D.Z)(function(){if(Y(ke))return[ke];var Vt=ne==null||ne===""?[]:Array.isArray(ne)?ne:[ne],Cn=(0,B.Z)(de,Vt),on=Cn,nn=void 0;if(at){var tn=at(Cn,de,Pe);Q(tn)?(on=tn.children,nn=tn.props,Nt.renderWithProps=!0):on=tn}return[on,nn]},[wt,de,ke,ne,at,Pe],function(Vt,Cn){if(ht){var on=(0,_.Z)(Vt,2),nn=on[1],tn=(0,_.Z)(Cn,2),pn=tn[1];return ht(pn,nn)}return Nt.renderWithProps?!0:!(0,m.Z)(Vt,Cn,!0)});return zt}function xe(de,ne,Pe,ke){var at=de+ne-1;return de<=ke&&at>=Pe}function Ce(de,ne){return d(i,function(Pe){var ke=xe(de,ne||1,Pe.hoverStartRow,Pe.hoverEndRow);return[ke,Pe.onHover]})}var De=O(70425),Ue=function(ne){var Pe=ne.ellipsis,ke=ne.rowType,at=ne.children,ht,Nt=Pe===!0?{showTitle:!0}:Pe;return Nt&&(Nt.showTitle||ke==="header")&&(typeof at=="string"||typeof at=="number"?ht=at.toString():h.isValidElement(at)&&typeof at.props.children=="string"&&(ht=at.props.children)),ht};function Me(de){var ne,Pe,ke,at,ht,Nt,wt,zt,Vt=de.component,Cn=de.children,on=de.ellipsis,nn=de.scope,tn=de.prefixCls,pn=de.className,S=de.align,R=de.record,W=de.render,H=de.dataIndex,G=de.renderIndex,J=de.shouldCellUpdate,ue=de.index,ae=de.rowType,Ae=de.colSpan,pe=de.rowSpan,we=de.fixLeft,Ke=de.fixRight,Ye=de.firstFixLeft,gt=de.lastFixLeft,ct=de.firstFixRight,nt=de.lastFixRight,it=de.appendNode,Tt=de.additionalProps,Ct=Tt===void 0?{}:Tt,Kt=de.isSticky,Ht="".concat(tn,"-cell"),Wn=d(i,["supportSticky","allColumnsFixedLeft","rowHoverable"]),ln=Wn.supportSticky,rr=Wn.allColumnsFixedLeft,Hn=Wn.rowHoverable,xr=ve(R,H,G,Cn,W,J),An=(0,_.Z)(xr,2),wn=An[0],qn=An[1],Mt={},fn=typeof we=="number"&&ln,Un=typeof Ke=="number"&&ln;fn&&(Mt.position="sticky",Mt.left=we),Un&&(Mt.position="sticky",Mt.right=Ke);var Qt=(ne=(Pe=(ke=qn==null?void 0:qn.colSpan)!==null&&ke!==void 0?ke:Ct.colSpan)!==null&&Pe!==void 0?Pe:Ae)!==null&&ne!==void 0?ne:1,In=(at=(ht=(Nt=qn==null?void 0:qn.rowSpan)!==null&&Nt!==void 0?Nt:Ct.rowSpan)!==null&&ht!==void 0?ht:pe)!==null&&at!==void 0?at:1,cn=Ce(ue,In),_n=(0,_.Z)(cn,2),_r=_n[0],Fr=_n[1],dr=(0,De.zX)(function(Za){var Pa;R&&Fr(ue,ue+In-1),Ct==null||(Pa=Ct.onMouseEnter)===null||Pa===void 0||Pa.call(Ct,Za)}),aa=(0,De.zX)(function(Za){var Pa;R&&Fr(-1,-1),Ct==null||(Pa=Ct.onMouseLeave)===null||Pa===void 0||Pa.call(Ct,Za)});if(Qt===0||In===0)return null;var pa=(wt=Ct.title)!==null&&wt!==void 0?wt:Ue({rowType:ae,ellipsis:on,children:wn}),ba=M()(Ht,pn,(zt={},(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)(zt,"".concat(Ht,"-fix-left"),fn&&ln),"".concat(Ht,"-fix-left-first"),Ye&&ln),"".concat(Ht,"-fix-left-last"),gt&&ln),"".concat(Ht,"-fix-left-all"),gt&&rr&&ln),"".concat(Ht,"-fix-right"),Un&&ln),"".concat(Ht,"-fix-right-first"),ct&&ln),"".concat(Ht,"-fix-right-last"),nt&&ln),"".concat(Ht,"-ellipsis"),on),"".concat(Ht,"-with-append"),it),"".concat(Ht,"-fix-sticky"),(fn||Un)&&Kt&&ln),(0,w.Z)(zt,"".concat(Ht,"-row-hover"),!qn&&_r)),Ct.className,qn==null?void 0:qn.className),Or={};S&&(Or.textAlign=S);var Kr=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},qn==null?void 0:qn.style),Mt),Or),Ct.style),Sa=wn;return(0,x.Z)(Sa)==="object"&&!Array.isArray(Sa)&&!h.isValidElement(Sa)&&(Sa=null),on&&(gt||ct)&&(Sa=h.createElement("span",{className:"".concat(Ht,"-content")},Sa)),h.createElement(Vt,(0,l.Z)({},qn,Ct,{className:ba,style:Kr,title:pa,scope:nn,onMouseEnter:Hn?dr:void 0,onMouseLeave:Hn?aa:void 0,colSpan:Qt!==1?Qt:null,rowSpan:In!==1?In:null}),it,Sa)}var Je=h.memo(Me);function Re(de,ne,Pe,ke,at){var ht=Pe[de]||{},Nt=Pe[ne]||{},wt,zt;ht.fixed==="left"?wt=ke.left[at==="rtl"?ne:de]:Nt.fixed==="right"&&(zt=ke.right[at==="rtl"?de:ne]);var Vt=!1,Cn=!1,on=!1,nn=!1,tn=Pe[ne+1],pn=Pe[de-1],S=tn&&!tn.fixed||pn&&!pn.fixed||Pe.every(function(J){return J.fixed==="left"});if(at==="rtl"){if(wt!==void 0){var R=pn&&pn.fixed==="left";nn=!R&&S}else if(zt!==void 0){var W=tn&&tn.fixed==="right";on=!W&&S}}else if(wt!==void 0){var H=tn&&tn.fixed==="left";Vt=!H&&S}else if(zt!==void 0){var G=pn&&pn.fixed==="right";Cn=!G&&S}return{fixLeft:wt,fixRight:zt,lastFixLeft:Vt,firstFixRight:Cn,lastFixRight:on,firstFixLeft:nn,isSticky:ke.isSticky}}var ge=h.createContext({}),Ve=ge;function Fe(de){var ne=de.className,Pe=de.index,ke=de.children,at=de.colSpan,ht=at===void 0?1:at,Nt=de.rowSpan,wt=de.align,zt=d(i,["prefixCls","direction"]),Vt=zt.prefixCls,Cn=zt.direction,on=h.useContext(Ve),nn=on.scrollColumnIndex,tn=on.stickyOffsets,pn=on.flattenColumns,S=Pe+ht-1,R=S+1===nn?ht+1:ht,W=Re(Pe,Pe+R-1,pn,tn,Cn);return h.createElement(Je,(0,l.Z)({className:ne,index:Pe,component:"td",prefixCls:Vt,record:null,dataIndex:null,align:wt,colSpan:R,rowSpan:Nt,render:function(){return ke}},W))}var Te=O(75931),We=["children"];function Ne(de){var ne=de.children,Pe=(0,Te.Z)(de,We);return h.createElement("tr",Pe,ne)}function V(de){var ne=de.children;return ne}V.Row=Ne,V.Cell=Fe;var $=V;function re(de){var ne=de.children,Pe=de.stickyOffsets,ke=de.flattenColumns,at=d(i,"prefixCls"),ht=ke.length-1,Nt=ke[ht],wt=h.useMemo(function(){return{stickyOffsets:Pe,flattenColumns:ke,scrollColumnIndex:Nt!=null&&Nt.scrollbar?ht:null}},[Nt,ke,ht,Pe]);return h.createElement(Ve.Provider,{value:wt},h.createElement("tfoot",{className:"".concat(at,"-summary")},ne))}var ee=v(re),oe=$,q=O(29301),fe=O(24514),be=O(75152),te=O(26112);function ce(de,ne,Pe,ke,at,ht,Nt){de.push({record:ne,indent:Pe,index:Nt});var wt=ht(ne),zt=at==null?void 0:at.has(wt);if(ne&&Array.isArray(ne[ke])&&zt)for(var Vt=0;Vt1?Ye-1:0),ct=1;ct=1)),style:(0,A.Z)((0,A.Z)({},Pe),W==null?void 0:W.style)}),pn.map(function(we,Ke){var Ye=we.render,gt=we.dataIndex,ct=we.className,nt=Oe(nn,we,Ke,zt,at),it=nt.key,Tt=nt.fixedInfo,Ct=nt.appendCellNode,Kt=nt.additionalCellProps;return h.createElement(Je,(0,l.Z)({className:ct,ellipsis:we.ellipsis,align:we.align,scope:we.rowScope,component:we.rowScope?on:Cn,prefixCls:tn,key:it,record:ke,index:at,renderIndex:ht,dataIndex:gt,render:Ye,shouldCellUpdate:we.shouldCellUpdate},Tt,{appendNode:Ct,additionalProps:Kt}))})),Ae;if(G&&(J.current||H)){var pe=R(ke,at,zt+1,H);Ae=h.createElement(yt,{expanded:H,className:M()("".concat(tn,"-expanded-row"),"".concat(tn,"-expanded-row-level-").concat(zt+1),ue),prefixCls:tn,component:Vt,cellComponent:Cn,colSpan:pn.length,isEmpty:!1},pe)}return h.createElement(h.Fragment,null,ae,Ae)}var rt=v(Qe);function _t(de){var ne=de.columnKey,Pe=de.onColumnResize,ke=h.useRef();return(0,C.Z)(function(){ke.current&&Pe(ne,ke.current.offsetWidth)},[]),h.createElement(q.Z,{data:ne},h.createElement("td",{ref:ke,style:{padding:0,border:0,height:0}},h.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var xt=O(29194);function un(de){var ne=de.prefixCls,Pe=de.columnsKey,ke=de.onColumnResize,at=h.useRef(null);return h.createElement("tr",{"aria-hidden":"true",className:"".concat(ne,"-measure-row"),style:{height:0,fontSize:0},ref:at},h.createElement(q.Z.Collection,{onBatchResize:function(Nt){(0,xt.Z)(at.current)&&Nt.forEach(function(wt){var zt=wt.data,Vt=wt.size;ke(zt,Vt.offsetWidth)})}},Pe.map(function(ht){return h.createElement(_t,{key:ht,columnKey:ht,onColumnResize:ke})})))}function $t(de){var ne=de.data,Pe=de.measureColumnWidth,ke=d(i,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),at=ke.prefixCls,ht=ke.getComponent,Nt=ke.onColumnResize,wt=ke.flattenColumns,zt=ke.getRowKey,Vt=ke.expandedKeys,Cn=ke.childrenColumnName,on=ke.emptyNode,nn=lt(ne,Cn,Vt,zt),tn=h.useRef({renderWithProps:!1}),pn=ht(["body","wrapper"],"tbody"),S=ht(["body","row"],"tr"),R=ht(["body","cell"],"td"),W=ht(["body","cell"],"th"),H;ne.length?H=nn.map(function(J,ue){var ae=J.record,Ae=J.indent,pe=J.index,we=zt(ae,ue);return h.createElement(rt,{key:we,rowKey:we,record:ae,index:ue,renderIndex:pe,rowComponent:S,cellComponent:R,scopeCellComponent:W,indent:Ae})}):H=h.createElement(yt,{expanded:!0,className:"".concat(at,"-placeholder"),prefixCls:at,component:S,cellComponent:R,colSpan:wt.length,isEmpty:!0},on);var G=X(wt);return h.createElement(F.Provider,{value:tn.current},h.createElement(pn,{className:"".concat(at,"-tbody")},Pe&&h.createElement(un,{prefixCls:at,columnsKey:G,onColumnResize:Nt}),H))}var Ut=v($t),mn=["expandable"],Bn="RC_TABLE_INTERNAL_COL_DEFINE";function rn(de){var ne=de.expandable,Pe=(0,Te.Z)(de,mn),ke;return"expandable"in de?ke=(0,A.Z)((0,A.Z)({},Pe),ne):ke=Pe,ke.showExpandColumn===!1&&(ke.expandIconColumnIndex=-1),ke}var Tn=["columnType"];function en(de){for(var ne=de.colWidths,Pe=de.columns,ke=de.columCount,at=d(i,["tableLayout"]),ht=at.tableLayout,Nt=[],wt=ke||Pe.length,zt=!1,Vt=wt-1;Vt>=0;Vt-=1){var Cn=ne[Vt],on=Pe&&Pe[Vt],nn=void 0,tn=void 0;if(on&&(nn=on[Bn],ht==="auto"&&(tn=on.minWidth)),Cn||tn||nn||zt){var pn=nn||{},S=pn.columnType,R=(0,Te.Z)(pn,Tn);Nt.unshift(h.createElement("col",(0,l.Z)({key:Vt,style:{width:Cn,minWidth:tn}},R))),zt=!0}}return h.createElement("colgroup",null,Nt)}var jt=en,Xt=O(94480),St=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function It(de,ne){return(0,h.useMemo)(function(){for(var Pe=[],ke=0;ke1?"colgroup":"col":null,ellipsis:R.ellipsis,align:R.align,component:Nt,prefixCls:Cn,key:tn[S]},W,{additionalProps:H,rowType:"header"}))}))},Dn=dn;function dt(de){var ne=[];function Pe(Nt,wt){var zt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ne[zt]=ne[zt]||[];var Vt=wt,Cn=Nt.filter(Boolean).map(function(on){var nn={key:on.key,className:on.className||"",children:on.title,column:on,colStart:Vt},tn=1,pn=on.children;return pn&&pn.length>0&&(tn=Pe(pn,Vt,zt+1).reduce(function(S,R){return S+R},0),nn.hasSubColumns=!0),"colSpan"in on&&(tn=on.colSpan),"rowSpan"in on&&(nn.rowSpan=on.rowSpan),nn.colSpan=tn,nn.colEnd=nn.colStart+tn-1,ne[zt].push(nn),Vt+=tn,tn});return Cn}Pe(de,0);for(var ke=ne.length,at=function(wt){ne[wt].forEach(function(zt){!("rowSpan"in zt)&&!zt.hasSubColumns&&(zt.rowSpan=ke-wt)})},ht=0;ht1&&arguments[1]!==void 0?arguments[1]:"";return typeof ne=="number"?ne:ne.endsWith("%")?de*parseFloat(ne)/100:null}function le(de,ne,Pe){return h.useMemo(function(){if(ne&&ne>0){var ke=0,at=0;de.forEach(function(nn){var tn=ie(ne,nn.width);tn?ke+=tn:at+=1});var ht=Math.max(ne,Pe),Nt=Math.max(ht-ke,at),wt=at,zt=Nt/at,Vt=0,Cn=de.map(function(nn){var tn=(0,A.Z)({},nn),pn=ie(ne,tn.width);if(pn)tn.width=pn;else{var S=Math.floor(zt);tn.width=wt===1?Nt:S,Nt-=S,wt-=1}return Vt+=tn.width,tn});if(Vt0?(0,A.Z)((0,A.Z)({},ne),{},{children:st(Pe)}):ne})}function Bt(de){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(Pe){return Pe&&(0,x.Z)(Pe)==="object"}).reduce(function(Pe,ke,at){var ht=ke.fixed,Nt=ht===!0?"left":ht,wt="".concat(ne,"-").concat(at),zt=ke.children;return zt&&zt.length>0?[].concat((0,Xt.Z)(Pe),(0,Xt.Z)(Bt(zt,wt).map(function(Vt){return(0,A.Z)({fixed:Nt},Vt)}))):[].concat((0,Xt.Z)(Pe),[(0,A.Z)((0,A.Z)({key:wt},ke),{},{fixed:Nt})])},[])}function kt(de){return de.map(function(ne){var Pe=ne.fixed,ke=(0,Te.Z)(ne,ot),at=Pe;return Pe==="left"?at="right":Pe==="right"&&(at="left"),(0,A.Z)({fixed:at},ke)})}function He(de,ne){var Pe=de.prefixCls,ke=de.columns,at=de.children,ht=de.expandable,Nt=de.expandedKeys,wt=de.columnTitle,zt=de.getRowKey,Vt=de.onTriggerExpand,Cn=de.expandIcon,on=de.rowExpandable,nn=de.expandIconColumnIndex,tn=de.direction,pn=de.expandRowByClick,S=de.columnWidth,R=de.fixed,W=de.scrollWidth,H=de.clientWidth,G=h.useMemo(function(){var gt=ke||Et(at)||[];return st(gt.slice())},[ke,at]),J=h.useMemo(function(){if(ht){var gt=G.slice();if(!gt.includes(k)){var ct=nn||0;ct>=0&&(ct||R==="left"||!R)&>.splice(ct,0,k),R==="right"&>.splice(G.length,0,k)}var nt=gt.indexOf(k);gt=gt.filter(function(Kt,Ht){return Kt!==k||Ht===nt});var it=G[nt],Tt;R?Tt=R:Tt=it?it.fixed:null;var Ct=(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)({},Bn,{className:"".concat(Pe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",wt),"fixed",Tt),"className","".concat(Pe,"-row-expand-icon-cell")),"width",S),"render",function(Ht,Wn,ln){var rr=zt(Wn,ln),Hn=Nt.has(rr),xr=on?on(Wn):!0,An=Cn({prefixCls:Pe,expanded:Hn,expandable:xr,record:Wn,onExpand:Vt});return pn?h.createElement("span",{onClick:function(qn){return qn.stopPropagation()}},An):An});return gt.map(function(Kt){return Kt===k?Ct:Kt})}return G.filter(function(Kt){return Kt!==k})},[ht,G,zt,Nt,Cn,tn]),ue=h.useMemo(function(){var gt=J;return ne&&(gt=ne(gt)),gt.length||(gt=[{render:function(){return null}}]),gt},[ne,J,tn]),ae=h.useMemo(function(){return tn==="rtl"?kt(Bt(ue)):Bt(ue)},[ue,tn,W]),Ae=h.useMemo(function(){for(var gt=-1,ct=ae.length-1;ct>=0;ct-=1){var nt=ae[ct].fixed;if(nt==="left"||nt===!0){gt=ct;break}}if(gt>=0)for(var it=0;it<=gt;it+=1){var Tt=ae[it].fixed;if(Tt!=="left"&&Tt!==!0)return!0}var Ct=ae.findIndex(function(Wn){var ln=Wn.fixed;return ln==="right"});if(Ct>=0)for(var Kt=Ct;Kt=Ct-wt?H(function(Kt){return(0,A.Z)((0,A.Z)({},Kt),{},{isHiddenScrollBar:!0})}):H(function(Kt){return(0,A.Z)((0,A.Z)({},Kt),{},{isHiddenScrollBar:!1})})}})},ct=function(it){H(function(Tt){return(0,A.Z)((0,A.Z)({},Tt),{},{scrollLeft:it/on*nn||0})})};return h.useImperativeHandle(Pe,function(){return{setScrollLeft:ct,checkScrollBarVisible:gt}}),h.useEffect(function(){var nt=(0,ut.Z)(document.body,"mouseup",we,!1),it=(0,ut.Z)(document.body,"mousemove",Ye,!1);return gt(),function(){nt.remove(),it.remove()}},[tn,ae]),h.useEffect(function(){if(ht.current){for(var nt=[],it=(0,Pt.bn)(ht.current);it;)nt.push(it),it=it.parentElement;return nt.forEach(function(Tt){return Tt.addEventListener("scroll",gt,!1)}),window.addEventListener("resize",gt,!1),window.addEventListener("scroll",gt,!1),zt.addEventListener("scroll",gt,!1),function(){nt.forEach(function(Tt){return Tt.removeEventListener("scroll",gt)}),window.removeEventListener("resize",gt),window.removeEventListener("scroll",gt),zt.removeEventListener("scroll",gt)}}},[zt]),h.useEffect(function(){W.isHiddenScrollBar||H(function(nt){var it=ht.current;return it?(0,A.Z)((0,A.Z)({},nt),{},{scrollLeft:it.scrollLeft/it.scrollWidth*it.clientWidth}):nt})},[W.isHiddenScrollBar]),on<=nn||!tn||W.isHiddenScrollBar?null:h.createElement("div",{style:{height:(0,be.Z)(),width:nn,bottom:wt},className:"".concat(Cn,"-sticky-scroll")},h.createElement("div",{onMouseDown:Ke,ref:pn,className:M()("".concat(Cn,"-sticky-scroll-bar"),(0,w.Z)({},"".concat(Cn,"-sticky-scroll-bar-active"),ae)),style:{width:"".concat(tn,"px"),transform:"translate3d(".concat(W.scrollLeft,"px, 0, 0)")}}))},Mn=h.forwardRef(sn);function xn(de){return null}var an=xn;function hn(de){return null}var gn=hn,Lt="rc-table",On=[],jn={};function bn(){return"No Data"}function Fn(de,ne){var Pe=(0,A.Z)({rowKey:"key",prefixCls:Lt,emptyText:bn},de),ke=Pe.prefixCls,at=Pe.className,ht=Pe.rowClassName,Nt=Pe.style,wt=Pe.data,zt=Pe.rowKey,Vt=Pe.scroll,Cn=Pe.tableLayout,on=Pe.direction,nn=Pe.title,tn=Pe.footer,pn=Pe.summary,S=Pe.caption,R=Pe.id,W=Pe.showHeader,H=Pe.components,G=Pe.emptyText,J=Pe.onRow,ue=Pe.onHeaderRow,ae=Pe.onScroll,Ae=Pe.internalHooks,pe=Pe.transformColumns,we=Pe.internalRefs,Ke=Pe.tailor,Ye=Pe.getContainerWidth,gt=Pe.sticky,ct=Pe.rowHoverable,nt=ct===void 0?!0:ct,it=wt||On,Tt=!!it.length,Ct=Ae===P,Kt=h.useCallback(function(Ma,Ta){return(0,B.Z)(H,Ma)||Ta},[H]),Ht=h.useMemo(function(){return typeof zt=="function"?zt:function(Ma){var Ta=Ma&&Ma[zt];return Ta}},[zt]),Wn=Kt(["body"]),ln=he(),rr=(0,_.Z)(ln,3),Hn=rr[0],xr=rr[1],An=rr[2],wn=Ee(Pe,it,Ht),qn=(0,_.Z)(wn,6),Mt=qn[0],fn=qn[1],Un=qn[2],Qt=qn[3],In=qn[4],cn=qn[5],_n=Vt==null?void 0:Vt.x,_r=h.useState(0),Fr=(0,_.Z)(_r,2),dr=Fr[0],aa=Fr[1],pa=Be((0,A.Z)((0,A.Z)((0,A.Z)({},Pe),Mt),{},{expandable:!!Mt.expandedRowRender,columnTitle:Mt.columnTitle,expandedKeys:Un,getRowKey:Ht,onTriggerExpand:cn,expandIcon:Qt,expandIconColumnIndex:Mt.expandIconColumnIndex,direction:on,scrollWidth:Ct&&Ke&&typeof _n=="number"?_n:null,clientWidth:dr}),Ct?pe:null),ba=(0,_.Z)(pa,4),Or=ba[0],Kr=ba[1],Sa=ba[2],Za=ba[3],Pa=Sa!=null?Sa:_n,yi=h.useMemo(function(){return{columns:Or,flattenColumns:Kr}},[Or,Kr]),ai=h.useRef(),Zi=h.useRef(),Ja=h.useRef(),Na=h.useRef();h.useImperativeHandle(ne,function(){return{nativeElement:ai.current,scrollTo:function(Ta){var xi;if(Ja.current instanceof HTMLElement){var Ki=Ta.index,Ci=Ta.top,Io=Ta.key;if(se(Ci)){var _o;(_o=Ja.current)===null||_o===void 0||_o.scrollTo({top:Ci})}else{var Eo,jo=Io!=null?Io:Ht(it[Ki]);(Eo=Ja.current.querySelector('[data-row-key="'.concat(jo,'"]')))===null||Eo===void 0||Eo.scrollIntoView()}}else(xi=Ja.current)!==null&&xi!==void 0&&xi.scrollTo&&Ja.current.scrollTo(Ta)}}});var Ga=h.useRef(),Qa=h.useState(!1),di=(0,_.Z)(Qa,2),li=di[0],Ia=di[1],ri=h.useState(!1),Va=(0,_.Z)(ri,2),_i=Va[0],ii=Va[1],Oi=h.useState(new Map),vo=(0,_.Z)(Oi,2),Ko=vo[0],qa=vo[1],Vo=X(Kr),wi=Vo.map(function(Ma){return Ko.get(Ma)}),Ui=h.useMemo(function(){return wi},[wi.join("_")]),Fi=_e(Ui,Kr,on),Ti=Vt&&Y(Vt.y),Pi=Vt&&Y(Pa)||!!Mt.fixed,Wi=Pi&&Kr.some(function(Ma){var Ta=Ma.fixed;return Ta}),mo=h.useRef(),Ji=me(gt,ke),$i=Ji.isSticky,Qo=Ji.offsetHeader,Jo=Ji.offsetSummary,$o=Ji.offsetScroll,ko=Ji.stickyClassName,qo=Ji.container,ga=h.useMemo(function(){return pn==null?void 0:pn(it)},[pn,it]),Ba=(Ti||$i)&&h.isValidElement(ga)&&ga.type===$&&ga.props.fixed,oi,fi,Ii;Ti&&(fi={overflowY:Tt?"scroll":"auto",maxHeight:Vt.y}),Pi&&(oi={overflowX:"auto"},Ti||(fi={overflowY:"hidden"}),Ii={width:Pa===!0?"auto":Pa,minWidth:"100%"});var zi=h.useCallback(function(Ma,Ta){qa(function(xi){if(xi.get(Ma)!==Ta){var Ki=new Map(xi);return Ki.set(Ma,Ta),Ki}return xi})},[]),Hi=ze(null),Ei=(0,_.Z)(Hi,2),xs=Ei[0],is=Ei[1];function Go(Ma,Ta){Ta&&(typeof Ta=="function"?Ta(Ma):Ta.scrollLeft!==Ma&&(Ta.scrollLeft=Ma,Ta.scrollLeft!==Ma&&setTimeout(function(){Ta.scrollLeft=Ma},0)))}var Po=(0,N.Z)(function(Ma){var Ta=Ma.currentTarget,xi=Ma.scrollLeft,Ki=on==="rtl",Ci=typeof xi=="number"?xi:Ta.scrollLeft,Io=Ta||jn;if(!is()||is()===Io){var _o;xs(Io),Go(Ci,Zi.current),Go(Ci,Ja.current),Go(Ci,Ga.current),Go(Ci,(_o=mo.current)===null||_o===void 0?void 0:_o.setScrollLeft)}var Eo=Ta||Zi.current;if(Eo){var jo=Ct&&Ke&&typeof Pa=="number"?Pa:Eo.scrollWidth,as=Eo.clientWidth;if(jo===as){Ia(!1),ii(!1);return}Ki?(Ia(-Ci0)):(Ia(Ci>0),ii(Ci1?R-nt:0,Tt=(0,A.Z)((0,A.Z)((0,A.Z)({},pe),Vt),{},{flex:"0 0 ".concat(nt,"px"),width:"".concat(nt,"px"),marginRight:it,pointerEvents:"auto"}),Ct=h.useMemo(function(){return on?gt<=1:Ke===0||gt===0||gt>1},[gt,Ke,on]);Ct?Tt.visibility="hidden":on&&(Tt.height=nn==null?void 0:nn(gt));var Kt=Ct?function(){return null}:tn,Ht={};return(gt===0||Ke===0)&&(Ht.rowSpan=1,Ht.colSpan=1),h.createElement(Je,(0,l.Z)({className:M()(S,Cn),ellipsis:Pe.ellipsis,align:Pe.align,scope:Pe.rowScope,component:Nt,prefixCls:ne.prefixCls,key:J,record:zt,index:ht,renderIndex:wt,dataIndex:pn,render:Kt,shouldCellUpdate:Pe.shouldCellUpdate},ue,{appendNode:ae,additionalProps:(0,A.Z)((0,A.Z)({},Ae),{},{style:Tt},Ht)}))}var wr=$n,Dt=["data","index","className","rowKey","style","extra","getHeight"],Hr=h.forwardRef(function(de,ne){var Pe=de.data,ke=de.index,at=de.className,ht=de.rowKey,Nt=de.style,wt=de.extra,zt=de.getHeight,Vt=(0,Te.Z)(de,Dt),Cn=Pe.record,on=Pe.indent,nn=Pe.index,tn=d(i,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),pn=tn.scrollX,S=tn.flattenColumns,R=tn.prefixCls,W=tn.fixColumn,H=tn.componentWidth,G=d(fr,["getComponent"]),J=G.getComponent,ue=Xe(Cn,ht,ke,on),ae=J(["body","row"],"div"),Ae=J(["body","cell"],"div"),pe=ue.rowSupportExpand,we=ue.expanded,Ke=ue.rowProps,Ye=ue.expandedRowRender,gt=ue.expandedRowClassName,ct;if(pe&&we){var nt=Ye(Cn,ke,on+1,we),it=Ze(gt,Cn,ke,on),Tt={};W&&(Tt={style:(0,w.Z)({},"--virtual-width","".concat(H,"px"))});var Ct="".concat(R,"-expanded-row-cell");ct=h.createElement(ae,{className:M()("".concat(R,"-expanded-row"),"".concat(R,"-expanded-row-level-").concat(on+1),it)},h.createElement(Je,{component:Ae,prefixCls:R,className:M()(Ct,(0,w.Z)({},"".concat(Ct,"-fixed"),W)),additionalProps:Tt},nt))}var Kt=(0,A.Z)((0,A.Z)({},Nt),{},{width:pn});wt&&(Kt.position="absolute",Kt.pointerEvents="none");var Ht=h.createElement(ae,(0,l.Z)({},Ke,Vt,{"data-row-key":ht,ref:pe?null:ne,className:M()(at,"".concat(R,"-row"),Ke==null?void 0:Ke.className,(0,w.Z)({},"".concat(R,"-row-extra"),wt)),style:(0,A.Z)((0,A.Z)({},Kt),Ke==null?void 0:Ke.style)}),S.map(function(Wn,ln){return h.createElement(wr,{key:ln,component:Ae,rowInfo:ue,column:Wn,colIndex:ln,indent:on,index:ke,renderIndex:nn,record:Cn,inverse:wt,getHeight:zt})}));return pe?h.createElement("div",{ref:ne},Ht,ct):Ht}),Rr=v(Hr),kr=Rr,Wr=h.forwardRef(function(de,ne){var Pe=de.data,ke=de.onScroll,at=d(i,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ht=at.flattenColumns,Nt=at.onColumnResize,wt=at.getRowKey,zt=at.expandedKeys,Vt=at.prefixCls,Cn=at.childrenColumnName,on=at.scrollX,nn=at.direction,tn=d(fr),pn=tn.sticky,S=tn.scrollY,R=tn.listItemHeight,W=tn.getComponent,H=tn.onScroll,G=h.useRef(),J=lt(Pe,Cn,zt,wt),ue=h.useMemo(function(){var ct=0;return ht.map(function(nt){var it=nt.width,Tt=nt.key;return ct+=it,[Tt,it,ct]})},[ht]),ae=h.useMemo(function(){return ue.map(function(ct){return ct[2]})},[ue]);h.useEffect(function(){ue.forEach(function(ct){var nt=(0,_.Z)(ct,2),it=nt[0],Tt=nt[1];Nt(it,Tt)})},[ue]),h.useImperativeHandle(ne,function(){var ct,nt={scrollTo:function(Tt){var Ct;(Ct=G.current)===null||Ct===void 0||Ct.scrollTo(Tt)},nativeElement:(ct=G.current)===null||ct===void 0?void 0:ct.nativeElement};return Object.defineProperty(nt,"scrollLeft",{get:function(){var Tt;return((Tt=G.current)===null||Tt===void 0?void 0:Tt.getScrollInfo().x)||0},set:function(Tt){var Ct;(Ct=G.current)===null||Ct===void 0||Ct.scrollTo({left:Tt})}}),nt});var Ae=function(nt,it){var Tt,Ct=(Tt=J[it])===null||Tt===void 0?void 0:Tt.record,Kt=nt.onCell;if(Kt){var Ht,Wn=Kt(Ct,it);return(Ht=Wn==null?void 0:Wn.rowSpan)!==null&&Ht!==void 0?Ht:1}return 1},pe=function(nt){var it=nt.start,Tt=nt.end,Ct=nt.getSize,Kt=nt.offsetY;if(Tt<0)return null;for(var Ht=ht.filter(function(Qt){return Ae(Qt,it)===0}),Wn=it,ln=function(In){if(Ht=Ht.filter(function(cn){return Ae(cn,In)===0}),!Ht.length)return Wn=In,1},rr=it;rr>=0&&!ln(rr);rr-=1);for(var Hn=ht.filter(function(Qt){return Ae(Qt,Tt)!==1}),xr=Tt,An=function(In){if(Hn=Hn.filter(function(cn){return Ae(cn,In)!==1}),!Hn.length)return xr=Math.max(In-1,Tt),1},wn=Tt;wn1})&&qn.push(In)},fn=Wn;fn<=xr;fn+=1)Mt(fn);var Un=qn.map(function(Qt){var In=J[Qt],cn=wt(In.record,Qt),_n=function(dr){var aa=Qt+dr-1,pa=wt(J[aa].record,aa),ba=Ct(cn,pa);return ba.bottom-ba.top},_r=Ct(cn);return h.createElement(kr,{key:Qt,data:In,rowKey:cn,index:Qt,style:{top:-Kt+_r.top},extra:!0,getHeight:_n})});return Un},we=h.useMemo(function(){return{columnsOffset:ae}},[ae]),Ke="".concat(Vt,"-tbody"),Ye=W(["body","wrapper"]),gt={};return pn&&(gt.position="sticky",gt.bottom=0,(0,x.Z)(pn)==="object"&&pn.offsetScroll&&(gt.bottom=pn.offsetScroll)),h.createElement(nr.Provider,{value:we},h.createElement(or.Z,{fullHeight:!1,ref:G,prefixCls:"".concat(Ke,"-virtual"),styles:{horizontalScrollBar:gt},className:Ke,height:S,itemHeight:R||24,data:J,itemKey:function(nt){return wt(nt.record)},component:Ye,scrollWidth:on,direction:nn,onVirtualScroll:function(nt){var it,Tt=nt.x;ke({currentTarget:(it=G.current)===null||it===void 0?void 0:it.nativeElement,scrollLeft:Tt})},onScroll:H,extraRender:pe},function(ct,nt,it){var Tt=wt(ct.record,nt);return h.createElement(kr,{data:ct,rowKey:Tt,index:nt,style:it.style})}))}),ea=v(Wr),ar=ea,lr=function(ne,Pe){var ke=Pe.ref,at=Pe.onScroll;return h.createElement(ar,{ref:ke,data:ne,onScroll:at})};function Sn(de,ne){var Pe=de.data,ke=de.columns,at=de.scroll,ht=de.sticky,Nt=de.prefixCls,wt=Nt===void 0?Lt:Nt,zt=de.className,Vt=de.listItemHeight,Cn=de.components,on=de.onScroll,nn=at||{},tn=nn.x,pn=nn.y;typeof tn!="number"&&(tn=1),typeof pn!="number"&&(pn=500);var S=(0,De.zX)(function(H,G){return(0,B.Z)(Cn,H)||G}),R=(0,De.zX)(on),W=h.useMemo(function(){return{sticky:ht,scrollY:pn,listItemHeight:Vt,getComponent:S,onScroll:R}},[ht,pn,Vt,S,R]);return h.createElement(fr.Provider,{value:W},h.createElement(Rn,(0,l.Z)({},de,{className:M()(zt,"".concat(wt,"-virtual")),scroll:(0,A.Z)((0,A.Z)({},at),{},{x:tn}),components:(0,A.Z)((0,A.Z)({},Cn),{},{body:Pe!=null&&Pe.length?lr:void 0}),columns:ke,internalHooks:P,tailor:!0,ref:ne})))}var Zt=h.forwardRef(Sn);function qt(de){return s(Zt,de)}var Xn=qt(),zn=null,Tr=de=>null,Pr=de=>null,et=O(84105),Ft=O(82661),At=O(34643),En=O(34061),Qn=O(18929);function mt(de){const[ne,Pe]=(0,h.useState)(null);return[(0,h.useCallback)((ht,Nt,wt)=>{const zt=ne!=null?ne:ht,Vt=Math.min(zt||0,ht),Cn=Math.max(zt||0,ht),on=Nt.slice(Vt,Cn+1).map(pn=>de(pn)),nn=on.some(pn=>!wt.has(pn)),tn=[];return on.forEach(pn=>{nn?(wt.has(pn)||tn.push(pn),wt.add(pn)):(wt.delete(pn),tn.push(pn))}),Pe(nn?Cn:null),tn},[ne]),ht=>{Pe(ht)}]}var vr=O(32383),Pn=O(62673),Jt=O(75727),Vn=O(47889);const yr={},Kn="SELECT_ALL",pr="SELECT_INVERT",Ln="SELECT_NONE",Mr=[],mr=(de,ne)=>{let Pe=[];return(ne||[]).forEach(ke=>{Pe.push(ke),ke&&typeof ke=="object"&&de in ke&&(Pe=[].concat((0,Xt.Z)(Pe),(0,Xt.Z)(mr(de,ke[de]))))}),Pe};var br=(de,ne)=>{const{preserveSelectedRowKeys:Pe,selectedRowKeys:ke,defaultSelectedRowKeys:at,getCheckboxProps:ht,onChange:Nt,onSelect:wt,onSelectAll:zt,onSelectInvert:Vt,onSelectNone:Cn,onSelectMultiple:on,columnWidth:nn,type:tn,selections:pn,fixed:S,renderCell:R,hideSelectAll:W,checkStrictly:H=!0}=ne||{},{prefixCls:G,data:J,pageData:ue,getRecordByKey:ae,getRowKey:Ae,expandType:pe,childrenColumnName:we,locale:Ke,getPopupContainer:Ye}=de,gt=(0,vr.ln)("Table"),[ct,nt]=mt(Qt=>Qt),[it,Tt]=(0,Qn.Z)(ke||at||Mr,{value:ke}),Ct=h.useRef(new Map),Kt=(0,h.useCallback)(Qt=>{if(Pe){const In=new Map;Qt.forEach(cn=>{let _n=ae(cn);!_n&&Ct.current.has(cn)&&(_n=Ct.current.get(cn)),In.set(cn,_n)}),Ct.current=In}},[ae,Pe]);h.useEffect(()=>{Kt(it)},[it]);const Ht=(0,h.useMemo)(()=>mr(we,ue),[we,ue]),{keyEntities:Wn}=(0,h.useMemo)(()=>{if(H)return{keyEntities:null};let Qt=J;if(Pe){const In=new Set(Ht.map((_n,_r)=>Ae(_n,_r))),cn=Array.from(Ct.current).reduce((_n,_r)=>{let[Fr,dr]=_r;return In.has(Fr)?_n:_n.concat(dr)},[]);Qt=[].concat((0,Xt.Z)(Qt),(0,Xt.Z)(cn))}return(0,En.I8)(Qt,{externalGetKey:Ae,childrenPropName:we})},[J,Ae,H,we,Pe,Ht]),ln=(0,h.useMemo)(()=>{const Qt=new Map;return Ht.forEach((In,cn)=>{const _n=Ae(In,cn),_r=(ht?ht(In):null)||{};Qt.set(_n,_r)}),Qt},[Ht,Ae,ht]),rr=(0,h.useCallback)(Qt=>{const In=Ae(Qt);let cn;return ln.has(In)?cn=ln.get(Ae(Qt)):cn=ht?ht(Qt):void 0,!!(cn!=null&&cn.disabled)},[ln,Ae]),[Hn,xr]=(0,h.useMemo)(()=>{if(H)return[it||[],[]];const{checkedKeys:Qt,halfCheckedKeys:In}=(0,At.S)(it,!0,Wn,rr);return[Qt||[],In]},[it,H,Wn,rr]),An=(0,h.useMemo)(()=>{const Qt=tn==="radio"?Hn.slice(0,1):Hn;return new Set(Qt)},[Hn,tn]),wn=(0,h.useMemo)(()=>tn==="radio"?new Set:new Set(xr),[xr,tn]);h.useEffect(()=>{ne||Tt(Mr)},[!!ne]);const qn=(0,h.useCallback)((Qt,In)=>{let cn,_n;Kt(Qt),Pe?(cn=Qt,_n=Qt.map(_r=>Ct.current.get(_r))):(cn=[],_n=[],Qt.forEach(_r=>{const Fr=ae(_r);Fr!==void 0&&(cn.push(_r),_n.push(Fr))})),Tt(cn),Nt==null||Nt(cn,_n,{type:In})},[Tt,ae,Nt,Pe]),Mt=(0,h.useCallback)((Qt,In,cn,_n)=>{if(wt){const _r=cn.map(Fr=>ae(Fr));wt(ae(Qt),In,_r,_n)}qn(cn,"single")},[wt,ae,qn]),fn=(0,h.useMemo)(()=>!pn||W?null:(pn===!0?[Kn,pr,Ln]:pn).map(In=>In===Kn?{key:"all",text:Ke.selectionAll,onSelect(){qn(J.map((cn,_n)=>Ae(cn,_n)).filter(cn=>{const _n=ln.get(cn);return!(_n!=null&&_n.disabled)||An.has(cn)}),"all")}}:In===pr?{key:"invert",text:Ke.selectInvert,onSelect(){const cn=new Set(An);ue.forEach((_r,Fr)=>{const dr=Ae(_r,Fr),aa=ln.get(dr);aa!=null&&aa.disabled||(cn.has(dr)?cn.delete(dr):cn.add(dr))});const _n=Array.from(cn);Vt&&(gt.deprecated(!1,"onSelectInvert","onChange"),Vt(_n)),qn(_n,"invert")}}:In===Ln?{key:"none",text:Ke.selectNone,onSelect(){Cn==null||Cn(),qn(Array.from(An).filter(cn=>{const _n=ln.get(cn);return _n==null?void 0:_n.disabled}),"none")}}:In).map(In=>Object.assign(Object.assign({},In),{onSelect:function(){for(var cn,_n,_r=arguments.length,Fr=new Array(_r),dr=0;dr<_r;dr++)Fr[dr]=arguments[dr];(_n=In.onSelect)===null||_n===void 0||(cn=_n).call.apply(cn,[In].concat(Fr)),nt(null)}})),[pn,An,ue,Ae,Vt,qn]);return[(0,h.useCallback)(Qt=>{var In;if(!ne)return Qt.filter(Na=>Na!==yr);let cn=(0,Xt.Z)(Qt);const _n=new Set(An),_r=Ht.map(Ae).filter(Na=>!ln.get(Na).disabled),Fr=_r.every(Na=>_n.has(Na)),dr=_r.some(Na=>_n.has(Na)),aa=()=>{const Na=[];Fr?_r.forEach(Qa=>{_n.delete(Qa),Na.push(Qa)}):_r.forEach(Qa=>{_n.has(Qa)||(_n.add(Qa),Na.push(Qa))});const Ga=Array.from(_n);zt==null||zt(!Fr,Ga.map(Qa=>ae(Qa)),Na.map(Qa=>ae(Qa))),qn(Ga,"all"),nt(null)};let pa,ba;if(tn!=="radio"){let Na;if(fn){const Ia={getPopupContainer:Ye,items:fn.map((ri,Va)=>{const{key:_i,text:ii,onSelect:Oi}=ri;return{key:_i!=null?_i:Va,onClick:()=>{Oi==null||Oi(_r)},label:ii}})};Na=h.createElement("div",{className:`${G}-selection-extra`},h.createElement(Jt.Z,{menu:Ia,getPopupContainer:Ye},h.createElement("span",null,h.createElement(et.Z,null))))}const Ga=Ht.map((Ia,ri)=>{const Va=Ae(Ia,ri),_i=ln.get(Va)||{};return Object.assign({checked:_n.has(Va)},_i)}).filter(Ia=>{let{disabled:ri}=Ia;return ri}),Qa=!!Ga.length&&Ga.length===Ht.length,di=Qa&&Ga.every(Ia=>{let{checked:ri}=Ia;return ri}),li=Qa&&Ga.some(Ia=>{let{checked:ri}=Ia;return ri});ba=h.createElement(Pn.default,{checked:Qa?di:!!Ht.length&&Fr,indeterminate:Qa?!di&&li:!Fr&&dr,onChange:aa,disabled:Ht.length===0||Qa,"aria-label":Na?"Custom selection":"Select all",skipGroup:!0}),pa=!W&&h.createElement("div",{className:`${G}-selection`},ba,Na)}let Or;tn==="radio"?Or=(Na,Ga,Qa)=>{const di=Ae(Ga,Qa),li=_n.has(di),Ia=ln.get(di);return{node:h.createElement(Vn.ZP,Object.assign({},Ia,{checked:li,onClick:ri=>{var Va;ri.stopPropagation(),(Va=Ia==null?void 0:Ia.onClick)===null||Va===void 0||Va.call(Ia,ri)},onChange:ri=>{var Va;_n.has(di)||Mt(di,!0,[di],ri.nativeEvent),(Va=Ia==null?void 0:Ia.onChange)===null||Va===void 0||Va.call(Ia,ri)}})),checked:li}}:Or=(Na,Ga,Qa)=>{var di;const li=Ae(Ga,Qa),Ia=_n.has(li),ri=wn.has(li),Va=ln.get(li);let _i;return pe==="nest"?_i=ri:_i=(di=Va==null?void 0:Va.indeterminate)!==null&&di!==void 0?di:ri,{node:h.createElement(Pn.default,Object.assign({},Va,{indeterminate:_i,checked:Ia,skipGroup:!0,onClick:ii=>{var Oi;ii.stopPropagation(),(Oi=Va==null?void 0:Va.onClick)===null||Oi===void 0||Oi.call(Va,ii)},onChange:ii=>{var Oi;const{nativeEvent:vo}=ii,{shiftKey:Ko}=vo,qa=_r.findIndex(wi=>wi===li),Vo=Hn.some(wi=>_r.includes(wi));if(Ko&&H&&Vo){const wi=ct(qa,_r,_n),Ui=Array.from(_n);on==null||on(!Ia,Ui.map(Fi=>ae(Fi)),wi.map(Fi=>ae(Fi))),qn(Ui,"multiple")}else{const wi=Hn;if(H){const Ui=Ia?(0,Ft._5)(wi,li):(0,Ft.L0)(wi,li);Mt(li,!Ia,Ui,vo)}else{const Ui=(0,At.S)([].concat((0,Xt.Z)(wi),[li]),!0,Wn,rr),{checkedKeys:Fi,halfCheckedKeys:Ti}=Ui;let Pi=Fi;if(Ia){const Wi=new Set(Fi);Wi.delete(li),Pi=(0,At.S)(Array.from(Wi),{checked:!1,halfCheckedKeys:Ti},Wn,rr).checkedKeys}Mt(li,!Ia,Pi,vo)}}nt(Ia?null:qa),(Oi=Va==null?void 0:Va.onChange)===null||Oi===void 0||Oi.call(Va,ii)}})),checked:Ia}};const Kr=(Na,Ga,Qa)=>{const{node:di,checked:li}=Or(Na,Ga,Qa);return R?R(li,Ga,Qa,di):di};if(!cn.includes(yr))if(cn.findIndex(Na=>{var Ga;return((Ga=Na[Bn])===null||Ga===void 0?void 0:Ga.columnType)==="EXPAND_COLUMN"})===0){const[Na,...Ga]=cn;cn=[Na,yr].concat((0,Xt.Z)(Ga))}else cn=[yr].concat((0,Xt.Z)(cn));const Sa=cn.indexOf(yr);cn=cn.filter((Na,Ga)=>Na!==yr||Ga===Sa);const Za=cn[Sa-1],Pa=cn[Sa+1];let yi=S;yi===void 0&&((Pa==null?void 0:Pa.fixed)!==void 0?yi=Pa.fixed:(Za==null?void 0:Za.fixed)!==void 0&&(yi=Za.fixed)),yi&&Za&&((In=Za[Bn])===null||In===void 0?void 0:In.columnType)==="EXPAND_COLUMN"&&Za.fixed===void 0&&(Za.fixed=yi);const ai=M()(`${G}-selection-col`,{[`${G}-selection-col-with-dropdown`]:pn&&tn==="checkbox"}),Zi=()=>ne!=null&&ne.columnTitle?typeof ne.columnTitle=="function"?ne.columnTitle(ba):ne.columnTitle:pa,Ja={fixed:yi,width:nn,className:`${G}-selection-column`,title:Zi(),render:Kr,onCell:ne.onCell,[Bn]:{className:ai}};return cn.map(Na=>Na===yr?Ja:Na)},[Ae,Ht,ne,Hn,An,wn,nn,fn,pe,ln,on,Mt,rr]),An]},Ar=O(2738);function Ir(de,ne){return de._antProxy=de._antProxy||{},Object.keys(ne).forEach(Pe=>{if(!(Pe in de._antProxy)){const ke=de[Pe];de._antProxy[Pe]=ke,de[Pe]=ne[Pe]}}),de}function Jn(de,ne){return(0,h.useImperativeHandle)(de,()=>{const Pe=ne(),{nativeElement:ke}=Pe;return typeof Proxy!="undefined"?new Proxy(ke,{get(at,ht){return Pe[ht]?Pe[ht]:Reflect.get(at,ht)}}):Ir(ke,Pe)})}var Er=O(83010),ra=O(48755),Gr=O(38406),Dr=O(83397),ur=O(31756),ca=O(13783),da=O(85981),sa=O(31709),fa=O(29787),qr=O(57700);function Ea(de){return ne=>{const{prefixCls:Pe,onExpand:ke,record:at,expanded:ht,expandable:Nt}=ne,wt=`${Pe}-row-expand-icon`;return h.createElement("button",{type:"button",onClick:zt=>{ke(at,zt),zt.stopPropagation()},className:M()(wt,{[`${wt}-spaced`]:!Nt,[`${wt}-expanded`]:Nt&&ht,[`${wt}-collapsed`]:Nt&&!ht}),"aria-label":ht?de.collapse:de.expand,"aria-expanded":ht})}}var Lr=Ea;function Qr(de){return(Pe,ke)=>{const at=Pe.querySelector(`.${de}-container`);let ht=ke;if(at){const Nt=getComputedStyle(at),wt=parseInt(Nt.borderLeftWidth,10),zt=parseInt(Nt.borderRightWidth,10);ht=ke-wt-zt}return ht}}const vn=(de,ne)=>"key"in de&&de.key!==void 0&&de.key!==null?de.key:de.dataIndex?Array.isArray(de.dataIndex)?de.dataIndex.join("."):de.dataIndex:ne;function kn(de,ne){return ne?`${ne}-${de}`:`${de}`}const Yn=(de,ne)=>typeof de=="function"?de(ne):de,Nr=(de,ne)=>{const Pe=Yn(de,ne);return Object.prototype.toString.call(Pe)==="[object Object]"?"":Pe};var Gt={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"},Xr=Gt,ya=O(7657),oa=function(ne,Pe){return h.createElement(ya.Z,(0,l.Z)({},ne,{ref:Pe,icon:Xr}))},Aa=h.forwardRef(oa),Zn=Aa,na=O(9981),la=O(40192);function Jr(de){const ne=h.useRef(de),Pe=(0,la.Z)();return[()=>ne.current,ke=>{ne.current=ke,Pe()}]}var _a=O(7939),ha=O(584),Ua=O(93041),Xa=O(78857),Wa=O(18287),ei=O(47472),Fa=O(49397),jr=de=>{const{value:ne,filterSearch:Pe,tablePrefixCls:ke,locale:at,onChange:ht}=de;return Pe?h.createElement("div",{className:`${ke}-filter-dropdown-search`},h.createElement(Fa.Z,{prefix:h.createElement(ei.Z,null),placeholder:at.filterSearchPlaceholder,onChange:ht,value:ne,htmlSize:1,className:`${ke}-filter-dropdown-search-input`})):null},za=O(10228);const vi=de=>{const{keyCode:ne}=de;ne===za.Z.ENTER&&de.stopPropagation()};var ir=h.forwardRef((de,ne)=>h.createElement("div",{className:de.className,onClick:Pe=>Pe.stopPropagation(),onKeyDown:vi,ref:ne},de.children));function Vr(de){let ne=[];return(de||[]).forEach(Pe=>{let{value:ke,children:at}=Pe;ne.push(ke),at&&(ne=[].concat((0,Xt.Z)(ne),(0,Xt.Z)(Vr(at))))}),ne}function Ha(de){return de.some(ne=>{let{children:Pe}=ne;return Pe})}function Oa(de,ne){return typeof ne=="string"||typeof ne=="number"?ne==null?void 0:ne.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function La(de){let{filters:ne,prefixCls:Pe,filteredKeys:ke,filterMultiple:at,searchValue:ht,filterSearch:Nt}=de;return ne.map((wt,zt)=>{const Vt=String(wt.value);if(wt.children)return{key:Vt||zt,label:wt.text,popupClassName:`${Pe}-dropdown-submenu`,children:La({filters:wt.children,prefixCls:Pe,filteredKeys:ke,filterMultiple:at,searchValue:ht,filterSearch:Nt})};const Cn=at?Pn.default:Vn.ZP,on={key:wt.value!==void 0?Vt:zt,label:h.createElement(h.Fragment,null,h.createElement(Cn,{checked:ke.includes(Vt)}),h.createElement("span",null,wt.text))};return ht.trim()?typeof Nt=="function"?Nt(ht,wt)?on:null:Oa(ht,wt.text)?on:null:on})}function yn(de){return de||[]}var xa=de=>{var ne,Pe,ke,at;const{tablePrefixCls:ht,prefixCls:Nt,column:wt,dropdownPrefixCls:zt,columnKey:Vt,filterOnClose:Cn,filterMultiple:on,filterMode:nn="menu",filterSearch:tn=!1,filterState:pn,triggerFilter:S,locale:R,children:W,getPopupContainer:H,rootClassName:G}=de,{filterResetToDefaultFilteredValue:J,defaultFilteredValue:ue,filterDropdownProps:ae={},filterDropdownOpen:Ae,filterDropdownVisible:pe,onFilterDropdownVisibleChange:we,onFilterDropdownOpenChange:Ke}=wt,[Ye,gt]=h.useState(!1),ct=!!(pn&&(!((ne=pn.filteredKeys)===null||ne===void 0)&&ne.length||pn.forceFiltered)),nt=Or=>{var Kr;gt(Or),(Kr=ae.onOpenChange)===null||Kr===void 0||Kr.call(ae,Or),Ke==null||Ke(Or),we==null||we(Or)},it=(at=(ke=(Pe=ae.open)!==null&&Pe!==void 0?Pe:Ae)!==null&&ke!==void 0?ke:pe)!==null&&at!==void 0?at:Ye,Tt=pn==null?void 0:pn.filteredKeys,[Ct,Kt]=Jr(yn(Tt)),Ht=Or=>{let{selectedKeys:Kr}=Or;Kt(Kr)},Wn=(Or,Kr)=>{let{node:Sa,checked:Za}=Kr;Ht(on?{selectedKeys:Or}:{selectedKeys:Za&&Sa.key?[Sa.key]:[]})};h.useEffect(()=>{Ye&&Ht({selectedKeys:yn(Tt)})},[Tt]);const[ln,rr]=h.useState([]),Hn=Or=>{rr(Or)},[xr,An]=h.useState(""),wn=Or=>{const{value:Kr}=Or.target;An(Kr)};h.useEffect(()=>{Ye||An("")},[Ye]);const qn=Or=>{const Kr=Or!=null&&Or.length?Or:null;if(Kr===null&&(!pn||!pn.filteredKeys)||(0,m.Z)(Kr,pn==null?void 0:pn.filteredKeys,!0))return null;S({column:wt,key:Vt,filteredKeys:Kr})},Mt=()=>{nt(!1),qn(Ct())},fn=function(){let{confirm:Or,closeDropdown:Kr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Or&&qn([]),Kr&&nt(!1),An(""),Kt(J?(ue||[]).map(Sa=>String(Sa)):[])},Un=function(){let{closeDropdown:Or}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Or&&nt(!1),qn(Ct())},Qt=(Or,Kr)=>{Kr.source==="trigger"&&(Or&&Tt!==void 0&&Kt(yn(Tt)),nt(Or),!Or&&!wt.filterDropdown&&Cn&&Mt())},In=M()({[`${zt}-menu-without-submenu`]:!Ha(wt.filters||[])}),cn=Or=>{if(Or.target.checked){const Kr=Vr(wt==null?void 0:wt.filters).map(Sa=>String(Sa));Kt(Kr)}else Kt([])},_n=Or=>{let{filters:Kr}=Or;return(Kr||[]).map((Sa,Za)=>{const Pa=String(Sa.value),yi={title:Sa.text,key:Sa.value!==void 0?Pa:String(Za)};return Sa.children&&(yi.children=_n({filters:Sa.children})),yi})},_r=Or=>{var Kr;return Object.assign(Object.assign({},Or),{text:Or.title,value:Or.key,children:((Kr=Or.children)===null||Kr===void 0?void 0:Kr.map(Sa=>_r(Sa)))||[]})};let Fr;const{direction:dr,renderEmpty:aa}=h.useContext(ra.E_);if(typeof wt.filterDropdown=="function")Fr=wt.filterDropdown({prefixCls:`${zt}-custom`,setSelectedKeys:Or=>Ht({selectedKeys:Or}),selectedKeys:Ct(),confirm:Un,clearFilters:fn,filters:wt.filters,visible:it,close:()=>{nt(!1)}});else if(wt.filterDropdown)Fr=wt.filterDropdown;else{const Or=Ct()||[],Kr=()=>{var Za,Pa;const yi=(Za=aa==null?void 0:aa("Table.filter"))!==null&&Za!==void 0?Za:h.createElement(ha.Z,{image:ha.Z.PRESENTED_IMAGE_SIMPLE,description:R.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((wt.filters||[]).length===0)return yi;if(nn==="tree")return h.createElement(h.Fragment,null,h.createElement(jr,{filterSearch:tn,value:xr,onChange:wn,tablePrefixCls:ht,locale:R}),h.createElement("div",{className:`${ht}-filter-dropdown-tree`},on?h.createElement(Pn.default,{checked:Or.length===Vr(wt.filters).length,indeterminate:Or.length>0&&Or.lengthtypeof tn=="function"?tn(xr,_r(Ja)):Oa(xr,Ja.title):void 0})));const ai=La({filters:wt.filters||[],filterSearch:tn,prefixCls:Nt,filteredKeys:Ct(),filterMultiple:on,searchValue:xr}),Zi=ai.every(Ja=>Ja===null);return h.createElement(h.Fragment,null,h.createElement(jr,{filterSearch:tn,value:xr,onChange:wn,tablePrefixCls:ht,locale:R}),Zi?yi:h.createElement(Ua.default,{selectable:!0,multiple:on,prefixCls:`${zt}-menu`,className:In,onSelect:Ht,onDeselect:Ht,selectedKeys:Or,getPopupContainer:H,openKeys:ln,onOpenChange:Hn,items:ai}))},Sa=()=>J?(0,m.Z)((ue||[]).map(Za=>String(Za)),Or,!0):Or.length===0;Fr=h.createElement(h.Fragment,null,Kr(),h.createElement("div",{className:`${Nt}-dropdown-btns`},h.createElement(_a.ZP,{type:"link",size:"small",disabled:Sa(),onClick:()=>fn()},R.filterReset),h.createElement(_a.ZP,{type:"primary",size:"small",onClick:Mt},R.filterConfirm)))}wt.filterDropdown&&(Fr=h.createElement(Xa.J,{selectable:void 0},Fr)),Fr=h.createElement(ir,{className:`${Nt}-dropdown`},Fr);const pa=()=>{let Or;return typeof wt.filterIcon=="function"?Or=wt.filterIcon(ct):wt.filterIcon?Or=wt.filterIcon:Or=h.createElement(Zn,null),h.createElement("span",{role:"button",tabIndex:-1,className:M()(`${Nt}-trigger`,{active:ct}),onClick:Kr=>{Kr.stopPropagation()}},Or)},ba=(0,na.Z)({trigger:["click"],placement:dr==="rtl"?"bottomLeft":"bottomRight",children:pa(),getPopupContainer:H},Object.assign(Object.assign({},ae),{rootClassName:M()(G,ae.rootClassName),open:it,onOpenChange:Qt,dropdownRender:()=>typeof(ae==null?void 0:ae.dropdownRender)=="function"?ae.dropdownRender(Fr):Fr}));return h.createElement("div",{className:`${Nt}-column`},h.createElement("span",{className:`${ht}-column-title`},W),h.createElement(Jt.Z,Object.assign({},ba)))};const Sr=(de,ne,Pe)=>{let ke=[];return(de||[]).forEach((at,ht)=>{var Nt;const wt=kn(ht,Pe);if(at.filters||"filterDropdown"in at||"onFilter"in at)if("filteredValue"in at){let zt=at.filteredValue;"filterDropdown"in at||(zt=(Nt=zt==null?void 0:zt.map(String))!==null&&Nt!==void 0?Nt:zt),ke.push({column:at,key:vn(at,wt),filteredKeys:zt,forceFiltered:at.filtered})}else ke.push({column:at,key:vn(at,wt),filteredKeys:ne&&at.defaultFilteredValue?at.defaultFilteredValue:void 0,forceFiltered:at.filtered});"children"in at&&(ke=[].concat((0,Xt.Z)(ke),(0,Xt.Z)(Sr(at.children,ne,wt))))}),ke};function ta(de,ne,Pe,ke,at,ht,Nt,wt,zt){return Pe.map((Vt,Cn)=>{const on=kn(Cn,wt),{filterOnClose:nn=!0,filterMultiple:tn=!0,filterMode:pn,filterSearch:S}=Vt;let R=Vt;if(R.filters||R.filterDropdown){const W=vn(R,on),H=ke.find(G=>{let{key:J}=G;return W===J});R=Object.assign(Object.assign({},R),{title:G=>h.createElement(xa,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ne,column:R,columnKey:W,filterState:H,filterOnClose:nn,filterMultiple:tn,filterMode:pn,filterSearch:S,triggerFilter:ht,locale:at,getPopupContainer:Nt,rootClassName:zt},Yn(Vt.title,G))})}return"children"in R&&(R=Object.assign(Object.assign({},R),{children:ta(de,ne,R.children,ke,at,ht,Nt,on,zt)})),R})}const Ur=de=>{const ne={};return de.forEach(Pe=>{let{key:ke,filteredKeys:at,column:ht}=Pe;const Nt=ke,{filters:wt,filterDropdown:zt}=ht;if(zt)ne[Nt]=at||null;else if(Array.isArray(at)){const Vt=Vr(wt);ne[Nt]=Vt.filter(Cn=>at.includes(String(Cn)))}else ne[Nt]=null}),ne},Zr=(de,ne,Pe)=>ne.reduce((at,ht)=>{const{column:{onFilter:Nt,filters:wt},filteredKeys:zt}=ht;return Nt&&zt&&zt.length?at.map(Vt=>Object.assign({},Vt)).filter(Vt=>zt.some(Cn=>{const on=Vr(wt),nn=on.findIndex(pn=>String(pn)===String(Cn)),tn=nn!==-1?on[nn]:Cn;return Vt[Pe]&&(Vt[Pe]=Zr(Vt[Pe],ne,Pe)),Nt(tn,Vt)})):at},de),ua=de=>de.flatMap(ne=>"children"in ne?[ne].concat((0,Xt.Z)(ua(ne.children||[]))):[ne]);var ma=de=>{const{prefixCls:ne,dropdownPrefixCls:Pe,mergedColumns:ke,onFilterChange:at,getPopupContainer:ht,locale:Nt,rootClassName:wt}=de,zt=(0,vr.ln)("Table"),Vt=h.useMemo(()=>ua(ke||[]),[ke]),[Cn,on]=h.useState(()=>Sr(Vt,!0)),nn=h.useMemo(()=>{const R=Sr(Vt,!1);if(R.length===0)return R;let W=!0,H=!0;if(R.forEach(G=>{let{filteredKeys:J}=G;J!==void 0?W=!1:H=!1}),W){const G=(Vt||[]).map((J,ue)=>vn(J,kn(ue)));return Cn.filter(J=>{let{key:ue}=J;return G.includes(ue)}).map(J=>{const ue=Vt[G.findIndex(ae=>ae===J.key)];return Object.assign(Object.assign({},J),{column:Object.assign(Object.assign({},J.column),ue),forceFiltered:ue.filtered})})}return R},[Vt,Cn]),tn=h.useMemo(()=>Ur(nn),[nn]),pn=R=>{const W=nn.filter(H=>{let{key:G}=H;return G!==R.key});W.push(R),on(W),at(Ur(W),W)};return[R=>ta(ne,Pe,R,nn,Nt,pn,ht,void 0,wt),nn,tn]},ka=(de,ne,Pe)=>{const ke=h.useRef({});function at(ht){var Nt;if(!ke.current||ke.current.data!==de||ke.current.childrenColumnName!==ne||ke.current.getRowKey!==Pe){let zt=function(Vt){Vt.forEach((Cn,on)=>{const nn=Pe(Cn,on);wt.set(nn,Cn),Cn&&typeof Cn=="object"&&ne in Cn&&zt(Cn[ne]||[])})};const wt=new Map;zt(de),ke.current={data:de,childrenColumnName:ne,kvMap:wt,getRowKey:Pe}}return(Nt=ke.current.kvMap)===null||Nt===void 0?void 0:Nt.get(ht)}return[at]},ui=function(de,ne){var Pe={};for(var ke in de)Object.prototype.hasOwnProperty.call(de,ke)&&ne.indexOf(ke)<0&&(Pe[ke]=de[ke]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,ke=Object.getOwnPropertySymbols(de);at{const ht=de[at];typeof ht!="function"&&(Pe[at]=ht)}),Pe}function wa(de,ne,Pe){const ke=Pe&&typeof Pe=="object"?Pe:{},{total:at=0}=ke,ht=ui(ke,["total"]),[Nt,wt]=(0,h.useState)(()=>({current:"defaultCurrent"in ht?ht.defaultCurrent:1,pageSize:"defaultPageSize"in ht?ht.defaultPageSize:$a})),zt=(0,na.Z)(Nt,ht,{total:at>0?at:de}),Vt=Math.ceil((at||de)/zt.pageSize);zt.current>Vt&&(zt.current=Vt||1);const Cn=(nn,tn)=>{wt({current:nn!=null?nn:1,pageSize:tn||zt.pageSize})},on=(nn,tn)=>{var pn;Pe&&((pn=Pe.onChange)===null||pn===void 0||pn.call(Pe,nn,tn)),Cn(nn,tn),ne(nn,tn||(zt==null?void 0:zt.pageSize))};return Pe===!1?[{},()=>{}]:[Object.assign(Object.assign({},zt),{onChange:on}),Cn]}var pi=wa,Ni=O(89489),xo=O(59477),Co=O(25399);const qi="ascend",ao="descend",ki=de=>typeof de.sorter=="object"&&typeof de.sorter.multiple=="number"?de.sorter.multiple:!1,Gi=de=>typeof de=="function"?de:de&&typeof de=="object"&&de.compare?de.compare:!1,Lo=(de,ne)=>ne?de[de.indexOf(ne)+1]:de[0],io=(de,ne,Pe)=>{let ke=[];const at=(ht,Nt)=>{ke.push({column:ht,key:vn(ht,Nt),multiplePriority:ki(ht),sortOrder:ht.sortOrder})};return(de||[]).forEach((ht,Nt)=>{const wt=kn(Nt,Pe);ht.children?("sortOrder"in ht&&at(ht,wt),ke=[].concat((0,Xt.Z)(ke),(0,Xt.Z)(io(ht.children,ne,wt)))):ht.sorter&&("sortOrder"in ht?at(ht,wt):ne&&ht.defaultSortOrder&&ke.push({column:ht,key:vn(ht,wt),multiplePriority:ki(ht),sortOrder:ht.defaultSortOrder}))}),ke},bo=(de,ne,Pe,ke,at,ht,Nt,wt)=>(ne||[]).map((Vt,Cn)=>{const on=kn(Cn,wt);let nn=Vt;if(nn.sorter){const tn=nn.sortDirections||at,pn=nn.showSorterTooltip===void 0?Nt:nn.showSorterTooltip,S=vn(nn,on),R=Pe.find(we=>{let{key:Ke}=we;return Ke===S}),W=R?R.sortOrder:null,H=Lo(tn,W);let G;if(Vt.sortIcon)G=Vt.sortIcon({sortOrder:W});else{const we=tn.includes(qi)&&h.createElement(xo.Z,{className:M()(`${de}-column-sorter-up`,{active:W===qi})}),Ke=tn.includes(ao)&&h.createElement(Ni.Z,{className:M()(`${de}-column-sorter-down`,{active:W===ao})});G=h.createElement("span",{className:M()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(we&&Ke)})},h.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},we,Ke))}const{cancelSort:J,triggerAsc:ue,triggerDesc:ae}=ht||{};let Ae=J;H===ao?Ae=ae:H===qi&&(Ae=ue);const pe=typeof pn=="object"?Object.assign({title:Ae},pn):{title:Ae};nn=Object.assign(Object.assign({},nn),{className:M()(nn.className,{[`${de}-column-sort`]:W}),title:we=>{const Ke=`${de}-column-sorters`,Ye=h.createElement("span",{className:`${de}-column-title`},Yn(Vt.title,we)),gt=h.createElement("div",{className:Ke},Ye,G);return pn?typeof pn!="boolean"&&(pn==null?void 0:pn.target)==="sorter-icon"?h.createElement("div",{className:`${Ke} ${de}-column-sorters-tooltip-target-sorter`},Ye,h.createElement(Co.Z,Object.assign({},pe),G)):h.createElement(Co.Z,Object.assign({},pe),gt):gt},onHeaderCell:we=>{var Ke;const Ye=((Ke=Vt.onHeaderCell)===null||Ke===void 0?void 0:Ke.call(Vt,we))||{},gt=Ye.onClick,ct=Ye.onKeyDown;Ye.onClick=Tt=>{ke({column:Vt,key:S,sortOrder:H,multiplePriority:ki(Vt)}),gt==null||gt(Tt)},Ye.onKeyDown=Tt=>{Tt.keyCode===za.Z.ENTER&&(ke({column:Vt,key:S,sortOrder:H,multiplePriority:ki(Vt)}),ct==null||ct(Tt))};const nt=Nr(Vt.title,{}),it=nt==null?void 0:nt.toString();return W&&(Ye["aria-sort"]=W==="ascend"?"ascending":"descending"),Ye["aria-label"]=it||"",Ye.className=M()(Ye.className,`${de}-column-has-sorters`),Ye.tabIndex=0,Vt.ellipsis&&(Ye.title=(nt!=null?nt:"").toString()),Ye}})}return"children"in nn&&(nn=Object.assign(Object.assign({},nn),{children:bo(de,nn.children,Pe,ke,at,ht,Nt,on)})),nn}),oo=de=>{const{column:ne,sortOrder:Pe}=de;return{column:ne,order:Pe,field:ne.dataIndex,columnKey:ne.key}},so=de=>{const ne=de.filter(Pe=>{let{sortOrder:ke}=Pe;return ke}).map(oo);if(ne.length===0&&de.length){const Pe=de.length-1;return Object.assign(Object.assign({},oo(de[Pe])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ne.length<=1?ne[0]||{}:ne},Xi=(de,ne,Pe)=>{const ke=ne.slice().sort((Nt,wt)=>wt.multiplePriority-Nt.multiplePriority),at=de.slice(),ht=ke.filter(Nt=>{let{column:{sorter:wt},sortOrder:zt}=Nt;return Gi(wt)&&zt});return ht.length?at.sort((Nt,wt)=>{for(let zt=0;zt{const wt=Nt[Pe];return wt?Object.assign(Object.assign({},Nt),{[Pe]:Xi(wt,ne,Pe)}):Nt}):at};var Si=de=>{const{prefixCls:ne,mergedColumns:Pe,sortDirections:ke,tableLocale:at,showSorterTooltip:ht,onSorterChange:Nt}=de,[wt,zt]=h.useState(io(Pe,!0)),Vt=(S,R)=>{const W=[];return S.forEach((H,G)=>{const J=kn(G,R);if(W.push(vn(H,J)),Array.isArray(H.children)){const ue=Vt(H.children,J);W.push.apply(W,(0,Xt.Z)(ue))}}),W},Cn=h.useMemo(()=>{let S=!0;const R=io(Pe,!1);if(!R.length){const J=Vt(Pe);return wt.filter(ue=>{let{key:ae}=ue;return J.includes(ae)})}const W=[];function H(J){S?W.push(J):W.push(Object.assign(Object.assign({},J),{sortOrder:null}))}let G=null;return R.forEach(J=>{G===null?(H(J),J.sortOrder&&(J.multiplePriority===!1?S=!1:G=!0)):(G&&J.multiplePriority!==!1||(S=!1),H(J))}),W},[Pe,wt]),on=h.useMemo(()=>{var S,R;const W=Cn.map(H=>{let{column:G,sortOrder:J}=H;return{column:G,order:J}});return{sortColumns:W,sortColumn:(S=W[0])===null||S===void 0?void 0:S.column,sortOrder:(R=W[0])===null||R===void 0?void 0:R.order}},[Cn]),nn=S=>{let R;S.multiplePriority===!1||!Cn.length||Cn[0].multiplePriority===!1?R=[S]:R=[].concat((0,Xt.Z)(Cn.filter(W=>{let{key:H}=W;return H!==S.key})),[S]),zt(R),Nt(so(R),R)};return[S=>bo(ne,S,Cn,nn,ke,at,ht),Cn,on,()=>so(Cn)]};const si=(de,ne)=>de.map(ke=>{const at=Object.assign({},ke);return at.title=Yn(ke.title,ne),"children"in at&&(at.children=si(at.children,ne)),at});var Yi=de=>[h.useCallback(Pe=>si(Pe,de),[de])],Ro=Cr((de,ne)=>{const{_renderTimes:Pe}=de,{_renderTimes:ke}=ne;return Pe!==ke}),No=qt((de,ne)=>{const{_renderTimes:Pe}=de,{_renderTimes:ke}=ne;return Pe!==ke}),ia=O(36237),eo=O(17835),Qi=O(63356),bi=O(16931),uo=O(51636),co=de=>{const{componentCls:ne,lineWidth:Pe,lineType:ke,tableBorderColor:at,tableHeaderBg:ht,tablePaddingVertical:Nt,tablePaddingHorizontal:wt,calc:zt}=de,Vt=`${(0,ia.unit)(Pe)} ${ke} ${at}`,Cn=(on,nn,tn)=>({[`&${ne}-${on}`]:{[`> ${ne}-container`]:{[`> ${ne}-content, > ${ne}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ne}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(zt(nn).mul(-1).equal())} ${(0,ia.unit)(zt(zt(tn).add(Pe)).mul(-1).equal())}`}}}}}});return{[`${ne}-wrapper`]:{[`${ne}${ne}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ne}-title`]:{border:Vt,borderBottom:0},[`> ${ne}-container`]:{borderInlineStart:Vt,borderTop:Vt,[` > ${ne}-content, > ${ne}-header, > ${ne}-body, > ${ne}-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:Vt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Vt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ne}-cell-fix-right-first::after`]:{borderInlineEnd:Vt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ne}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(zt(Nt).mul(-1).equal())} ${(0,ia.unit)(zt(zt(wt).add(Pe)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Pe,bottom:0,borderInlineEnd:Vt,content:'""'}}}}}},[`&${ne}-scroll-horizontal`]:{[`> ${ne}-container > ${ne}-body`]:{"> table > tbody":{[` > tr${ne}-expanded-row, > tr${ne}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},Cn("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),Cn("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ne}-footer`]:{border:Vt,borderTop:0}}),[`${ne}-cell`]:{[`${ne}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ia.unit)(Pe)} 0 ${(0,ia.unit)(Pe)} ${ht}`}},[`${ne}-bordered ${ne}-cell-scrollbar`]:{borderInlineEnd:Vt}}}},Bo=de=>{const{componentCls:ne}=de;return{[`${ne}-wrapper`]:{[`${ne}-cell-ellipsis`]:Object.assign(Object.assign({},Qi.vS),{wordBreak:"keep-all",[` &${ne}-cell-fix-left-last, &${ne}-cell-fix-right-first `]:{overflow:"visible",[`${ne}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ne}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Fo=de=>{const{componentCls:ne}=de;return{[`${ne}-wrapper`]:{[`${ne}-tbody > tr${ne}-placeholder`]:{textAlign:"center",color:de.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:de.colorBgContainer}}}}},Mo=de=>{const{componentCls:ne,antCls:Pe,motionDurationSlow:ke,lineWidth:at,paddingXS:ht,lineType:Nt,tableBorderColor:wt,tableExpandIconBg:zt,tableExpandColumnWidth:Vt,borderRadius:Cn,tablePaddingVertical:on,tablePaddingHorizontal:nn,tableExpandedRowBg:tn,paddingXXS:pn,expandIconMarginTop:S,expandIconSize:R,expandIconHalfInner:W,expandIconScale:H,calc:G}=de,J=`${(0,ia.unit)(at)} ${Nt} ${wt}`,ue=G(pn).sub(at).equal();return{[`${ne}-wrapper`]:{[`${ne}-expand-icon-col`]:{width:Vt},[`${ne}-row-expand-icon-cell`]:{textAlign:"center",[`${ne}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ne}-row-indent`]:{height:1,float:"left"},[`${ne}-row-expand-icon`]:Object.assign(Object.assign({},(0,Qi.Nd)(de)),{position:"relative",float:"left",width:R,height:R,color:"inherit",lineHeight:(0,ia.unit)(R),background:zt,border:J,borderRadius:Cn,transform:`scale(${H})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ke} ease-out`,content:'""'},"&::before":{top:W,insetInlineEnd:ue,insetInlineStart:ue,height:at},"&::after":{top:ue,bottom:ue,insetInlineStart:W,width:at,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"}}),[`${ne}-row-indent + ${ne}-row-expand-icon`]:{marginTop:S,marginInlineEnd:ht},[`tr${ne}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:tn}},[`${Pe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ne}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ia.unit)(G(on).mul(-1).equal())} ${(0,ia.unit)(G(nn).mul(-1).equal())}`,padding:`${(0,ia.unit)(on)} ${(0,ia.unit)(nn)}`}}}},fo=de=>{const{componentCls:ne,antCls:Pe,iconCls:ke,tableFilterDropdownWidth:at,tableFilterDropdownSearchWidth:ht,paddingXXS:Nt,paddingXS:wt,colorText:zt,lineWidth:Vt,lineType:Cn,tableBorderColor:on,headerIconColor:nn,fontSizeSM:tn,tablePaddingHorizontal:pn,borderRadius:S,motionDurationSlow:R,colorTextDescription:W,colorPrimary:H,tableHeaderFilterActiveBg:G,colorTextDisabled:J,tableFilterDropdownBg:ue,tableFilterDropdownHeight:ae,controlItemBgHover:Ae,controlItemBgActive:pe,boxShadowSecondary:we,filterDropdownMenuBg:Ke,calc:Ye}=de,gt=`${Pe}-dropdown`,ct=`${ne}-filter-dropdown`,nt=`${Pe}-tree`,it=`${(0,ia.unit)(Vt)} ${Cn} ${on}`;return[{[`${ne}-wrapper`]:{[`${ne}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ne}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Ye(Nt).mul(-1).equal(),marginInline:`${(0,ia.unit)(Nt)} ${(0,ia.unit)(Ye(pn).div(2).mul(-1).equal())}`,padding:`0 ${(0,ia.unit)(Nt)}`,color:nn,fontSize:tn,borderRadius:S,cursor:"pointer",transition:`all ${R}`,"&:hover":{color:W,background:G},"&.active":{color:H}}}},{[`${Pe}-dropdown`]:{[ct]:Object.assign(Object.assign({},(0,Qi.Wf)(de)),{minWidth:at,backgroundColor:ue,borderRadius:S,boxShadow:we,overflow:"hidden",[`${gt}-menu`]:{maxHeight:ae,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ke,"&:empty::after":{display:"block",padding:`${(0,ia.unit)(wt)} 0`,color:J,fontSize:tn,textAlign:"center",content:'"Not Found"'}},[`${ct}-tree`]:{paddingBlock:`${(0,ia.unit)(wt)} 0`,paddingInline:wt,[nt]:{padding:0},[`${nt}-treenode ${nt}-node-content-wrapper:hover`]:{backgroundColor:Ae},[`${nt}-treenode-checkbox-checked ${nt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:pe}}},[`${ct}-search`]:{padding:wt,borderBottom:it,"&-input":{input:{minWidth:ht},[ke]:{color:J}}},[`${ct}-checkall`]:{width:"100%",marginBottom:Nt,marginInlineStart:Nt},[`${ct}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ia.unit)(Ye(wt).sub(Vt).equal())} ${(0,ia.unit)(wt)}`,overflow:"hidden",borderTop:it}})}},{[`${Pe}-dropdown ${ct}, ${ct}-submenu`]:{[`${Pe}-checkbox-wrapper + span`]:{paddingInlineStart:wt,color:zt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},go=de=>{const{componentCls:ne,lineWidth:Pe,colorSplit:ke,motionDurationSlow:at,zIndexTableFixed:ht,tableBg:Nt,zIndexTableSticky:wt,calc:zt}=de,Vt=ke;return{[`${ne}-wrapper`]:{[` ${ne}-cell-fix-left, ${ne}-cell-fix-right `]:{position:"sticky !important",zIndex:ht,background:Nt},[` ${ne}-cell-fix-left-first::after, ${ne}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:zt(Pe).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},[`${ne}-cell-fix-left-all::after`]:{display:"none"},[` ${ne}-cell-fix-right-first::after, ${ne}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:zt(Pe).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},[`${ne}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:zt(wt).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${at}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ne}-ping-left`]:{[`&:not(${ne}-has-fix-left) ${ne}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Vt}`},[` ${ne}-cell-fix-left-first::after, ${ne}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Vt}`},[`${ne}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ne}-ping-right`]:{[`&:not(${ne}-has-fix-right) ${ne}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Vt}`},[` ${ne}-cell-fix-right-first::after, ${ne}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Vt}`}},[`${ne}-fixed-column-gapped`]:{[` ${ne}-cell-fix-left-first::after, ${ne}-cell-fix-left-last::after, ${ne}-cell-fix-right-first::after, ${ne}-cell-fix-right-last::after `]:{boxShadow:"none"}}}}},Oo=de=>{const{componentCls:ne,antCls:Pe,margin:ke}=de;return{[`${ne}-wrapper`]:{[`${ne}-pagination${Pe}-pagination`]:{margin:`${(0,ia.unit)(ke)} 0`},[`${ne}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:de.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Li=de=>{const{componentCls:ne,tableRadius:Pe}=de;return{[`${ne}-wrapper`]:{[ne]:{[`${ne}-title, ${ne}-header`]:{borderRadius:`${(0,ia.unit)(Pe)} ${(0,ia.unit)(Pe)} 0 0`},[`${ne}-title + ${ne}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ne}-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 ${(0,ia.unit)(Pe)} ${(0,ia.unit)(Pe)}`}}}}},Wo=de=>{const{componentCls:ne}=de;return{[`${ne}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ne}-pagination-left`]:{justifyContent:"flex-end"},[`${ne}-pagination-right`]:{justifyContent:"flex-start"},[`${ne}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ne}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ne}-row-indent`]:{float:"right"}}}}},to=de=>{const{componentCls:ne,antCls:Pe,iconCls:ke,fontSizeIcon:at,padding:ht,paddingXS:Nt,headerIconColor:wt,headerIconHoverColor:zt,tableSelectionColumnWidth:Vt,tableSelectedRowBg:Cn,tableSelectedRowHoverBg:on,tableRowHoverBg:nn,tablePaddingHorizontal:tn,calc:pn}=de;return{[`${ne}-wrapper`]:{[`${ne}-selection-col`]:{width:Vt,[`&${ne}-selection-col-with-dropdown`]:{width:pn(Vt).add(at).add(pn(ht).div(4)).equal()}},[`${ne}-bordered ${ne}-selection-col`]:{width:pn(Vt).add(pn(Nt).mul(2)).equal(),[`&${ne}-selection-col-with-dropdown`]:{width:pn(Vt).add(at).add(pn(ht).div(4)).add(pn(Nt).mul(2)).equal()}},[` table tr th${ne}-selection-column, table tr td${ne}-selection-column, ${ne}-selection-column `]:{paddingInlineEnd:de.paddingXS,paddingInlineStart:de.paddingXS,textAlign:"center",[`${Pe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ne}-selection-column${ne}-cell-fix-left`]:{zIndex:pn(de.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ne}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ne}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ne}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${de.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ia.unit)(pn(tn).div(4).equal()),[ke]:{color:wt,fontSize:at,verticalAlign:"baseline","&:hover":{color:zt}}},[`${ne}-tbody`]:{[`${ne}-row`]:{[`&${ne}-row-selected`]:{[`> ${ne}-cell`]:{background:Cn,"&-row-hover":{background:on}}},[`> ${ne}-cell-row-hover`]:{background:nn}}}}}},ho=de=>{const{componentCls:ne,tableExpandColumnWidth:Pe,calc:ke}=de,at=(ht,Nt,wt,zt)=>({[`${ne}${ne}-${ht}`]:{fontSize:zt,[` ${ne}-title, ${ne}-footer, ${ne}-cell, ${ne}-thead > tr > th, ${ne}-tbody > tr > th, ${ne}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${(0,ia.unit)(Nt)} ${(0,ia.unit)(wt)}`},[`${ne}-filter-trigger`]:{marginInlineEnd:(0,ia.unit)(ke(wt).div(2).mul(-1).equal())},[`${ne}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(ke(Nt).mul(-1).equal())} ${(0,ia.unit)(ke(wt).mul(-1).equal())}`},[`${ne}-tbody`]:{[`${ne}-wrapper:only-child ${ne}`]:{marginBlock:(0,ia.unit)(ke(Nt).mul(-1).equal()),marginInline:`${(0,ia.unit)(ke(Pe).sub(wt).equal())} ${(0,ia.unit)(ke(wt).mul(-1).equal())}`}},[`${ne}-selection-extra`]:{paddingInlineStart:(0,ia.unit)(ke(wt).div(4).equal())}}});return{[`${ne}-wrapper`]:Object.assign(Object.assign({},at("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),at("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},yo=de=>{const{componentCls:ne,marginXXS:Pe,fontSizeIcon:ke,headerIconColor:at,headerIconHoverColor:ht}=de;return{[`${ne}-wrapper`]:{[`${ne}-thead th${ne}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${de.motionDurationSlow}, left 0s`,"&:hover":{background:de.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:de.colorPrimary},[` &${ne}-cell-fix-left:hover, &${ne}-cell-fix-right:hover `]:{background:de.tableFixedHeaderSortActiveBg}},[`${ne}-thead th${ne}-column-sort`]:{background:de.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ne}-column-sort`]:{background:de.tableBodySortBg},[`${ne}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ne}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ne}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ne}-column-sorter`]:{marginInlineStart:Pe,color:at,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ke,"&.active":{color:de.colorPrimary}},[`${ne}-column-sorter-up + ${ne}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ne}-column-sorters:hover ${ne}-column-sorter`]:{color:ht}}}},To=de=>{const{componentCls:ne,opacityLoading:Pe,tableScrollThumbBg:ke,tableScrollThumbBgHover:at,tableScrollThumbSize:ht,tableScrollBg:Nt,zIndexTableSticky:wt,stickyScrollBarBorderRadius:zt,lineWidth:Vt,lineType:Cn,tableBorderColor:on}=de,nn=`${(0,ia.unit)(Vt)} ${Cn} ${on}`;return{[`${ne}-wrapper`]:{[`${ne}-sticky`]:{"&-holder":{position:"sticky",zIndex:wt,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ia.unit)(ht)} !important`,zIndex:wt,display:"flex",alignItems:"center",background:Nt,borderTop:nn,opacity:Pe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ht,backgroundColor:ke,borderRadius:zt,transition:`all ${de.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:at}}}}}}},Br=de=>{const{componentCls:ne,lineWidth:Pe,tableBorderColor:ke,calc:at}=de,ht=`${(0,ia.unit)(Pe)} ${de.lineType} ${ke}`;return{[`${ne}-wrapper`]:{[`${ne}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${ne}-summary`]:{boxShadow:`0 ${(0,ia.unit)(at(Pe).mul(-1).equal())} 0 ${ke}`}}}},zr=de=>{const{componentCls:ne,motionDurationMid:Pe,lineWidth:ke,lineType:at,tableBorderColor:ht,calc:Nt}=de,wt=`${(0,ia.unit)(ke)} ${at} ${ht}`,zt=`${ne}-expanded-row-cell`;return{[`${ne}-wrapper`]:{[`${ne}-tbody-virtual`]:{[`${ne}-tbody-virtual-holder-inner`]:{[` & > ${ne}-row, & > div:not(${ne}-row) > ${ne}-row `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ne}-cell`]:{borderBottom:wt,transition:`background ${Pe}`},[`${ne}-expanded-row`]:{[`${zt}${zt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ia.unit)(ke)})`,borderInlineEnd:"none"}}},[`${ne}-bordered`]:{[`${ne}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:wt,position:"absolute"},[`${ne}-cell`]:{borderInlineEnd:wt,[`&${ne}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Nt(ke).mul(-1).equal(),borderInlineStart:wt}}},[`&${ne}-virtual`]:{[`${ne}-placeholder ${ne}-cell`]:{borderInlineEnd:wt,borderBottom:wt}}}}}};const Ra=de=>{const{componentCls:ne,fontWeightStrong:Pe,tablePaddingVertical:ke,tablePaddingHorizontal:at,tableExpandColumnWidth:ht,lineWidth:Nt,lineType:wt,tableBorderColor:zt,tableFontSize:Vt,tableBg:Cn,tableRadius:on,tableHeaderTextColor:nn,motionDurationMid:tn,tableHeaderBg:pn,tableHeaderCellSplitColor:S,tableFooterTextColor:R,tableFooterBg:W,calc:H}=de,G=`${(0,ia.unit)(Nt)} ${wt} ${zt}`;return{[`${ne}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Qi.dF)()),{[ne]:Object.assign(Object.assign({},(0,Qi.Wf)(de)),{fontSize:Vt,background:Cn,borderRadius:`${(0,ia.unit)(on)} ${(0,ia.unit)(on)} 0 0`,scrollbarColor:`${de.tableScrollThumbBg} ${de.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ia.unit)(on)} ${(0,ia.unit)(on)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ne}-cell, ${ne}-thead > tr > th, ${ne}-tbody > tr > th, ${ne}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${(0,ia.unit)(ke)} ${(0,ia.unit)(at)}`,overflowWrap:"break-word"},[`${ne}-title`]:{padding:`${(0,ia.unit)(ke)} ${(0,ia.unit)(at)}`},[`${ne}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:nn,fontWeight:Pe,textAlign:"start",background:pn,borderBottom:G,transition:`background ${tn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ne}-selection-column):not(${ne}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:S,transform:"translateY(-50%)",transition:`background-color ${tn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ne}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${tn}, border-color ${tn}`,borderBottom:G,[` > ${ne}-wrapper:only-child, > ${ne}-expanded-row-fixed > ${ne}-wrapper:only-child `]:{[ne]:{marginBlock:(0,ia.unit)(H(ke).mul(-1).equal()),marginInline:`${(0,ia.unit)(H(ht).sub(at).equal())} ${(0,ia.unit)(H(at).mul(-1).equal())}`,[`${ne}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:nn,fontWeight:Pe,textAlign:"start",background:pn,borderBottom:G,transition:`background ${tn} ease`}}},[`${ne}-footer`]:{padding:`${(0,ia.unit)(ke)} ${(0,ia.unit)(at)}`,color:R,background:W}})}},Ca=de=>{const{colorFillAlter:ne,colorBgContainer:Pe,colorTextHeading:ke,colorFillSecondary:at,colorFillContent:ht,controlItemBgActive:Nt,controlItemBgActiveHover:wt,padding:zt,paddingSM:Vt,paddingXS:Cn,colorBorderSecondary:on,borderRadiusLG:nn,controlHeight:tn,colorTextPlaceholder:pn,fontSize:S,fontSizeSM:R,lineHeight:W,lineWidth:H,colorIcon:G,colorIconHover:J,opacityLoading:ue,controlInteractiveSize:ae}=de,Ae=new eo.FastColor(at).onBackground(Pe).toHexString(),pe=new eo.FastColor(ht).onBackground(Pe).toHexString(),we=new eo.FastColor(ne).onBackground(Pe).toHexString(),Ke=new eo.FastColor(G),Ye=new eo.FastColor(J),gt=ae/2-H,ct=gt*2+H*3;return{headerBg:we,headerColor:ke,headerSortActiveBg:Ae,headerSortHoverBg:pe,bodySortBg:we,rowHoverBg:we,rowSelectedBg:Nt,rowSelectedHoverBg:wt,rowExpandedBg:ne,cellPaddingBlock:zt,cellPaddingInline:zt,cellPaddingBlockMD:Vt,cellPaddingInlineMD:Cn,cellPaddingBlockSM:Cn,cellPaddingInlineSM:Cn,borderColor:on,headerBorderRadius:nn,footerBg:we,footerColor:ke,cellFontSize:S,cellFontSizeMD:S,cellFontSizeSM:S,headerSplitColor:on,fixedHeaderSortActiveBg:Ae,headerFilterHoverBg:ht,filterDropdownMenuBg:Pe,filterDropdownBg:Pe,expandIconBg:Pe,selectionColumnWidth:tn,stickyScrollBarBg:pn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(S*W-H*3)/2-Math.ceil((R*1.4-H*3)/2),headerIconColor:Ke.clone().setA(Ke.a*ue).toRgbString(),headerIconHoverColor:Ye.clone().setA(Ye.a*ue).toRgbString(),expandIconHalfInner:gt,expandIconSize:ct,expandIconScale:ae/ct}},Da=2;var ja=(0,bi.I$)("Table",de=>{const{colorTextHeading:ne,colorSplit:Pe,colorBgContainer:ke,controlInteractiveSize:at,headerBg:ht,headerColor:Nt,headerSortActiveBg:wt,headerSortHoverBg:zt,bodySortBg:Vt,rowHoverBg:Cn,rowSelectedBg:on,rowSelectedHoverBg:nn,rowExpandedBg:tn,cellPaddingBlock:pn,cellPaddingInline:S,cellPaddingBlockMD:R,cellPaddingInlineMD:W,cellPaddingBlockSM:H,cellPaddingInlineSM:G,borderColor:J,footerBg:ue,footerColor:ae,headerBorderRadius:Ae,cellFontSize:pe,cellFontSizeMD:we,cellFontSizeSM:Ke,headerSplitColor:Ye,fixedHeaderSortActiveBg:gt,headerFilterHoverBg:ct,filterDropdownBg:nt,expandIconBg:it,selectionColumnWidth:Tt,stickyScrollBarBg:Ct,calc:Kt}=de,Ht=(0,uo.mergeToken)(de,{tableFontSize:pe,tableBg:ke,tableRadius:Ae,tablePaddingVertical:pn,tablePaddingHorizontal:S,tablePaddingVerticalMiddle:R,tablePaddingHorizontalMiddle:W,tablePaddingVerticalSmall:H,tablePaddingHorizontalSmall:G,tableBorderColor:J,tableHeaderTextColor:Nt,tableHeaderBg:ht,tableFooterTextColor:ae,tableFooterBg:ue,tableHeaderCellSplitColor:Ye,tableHeaderSortBg:wt,tableHeaderSortHoverBg:zt,tableBodySortBg:Vt,tableFixedHeaderSortActiveBg:gt,tableHeaderFilterActiveBg:ct,tableFilterDropdownBg:nt,tableRowHoverBg:Cn,tableSelectedRowBg:on,tableSelectedRowHoverBg:nn,zIndexTableFixed:Da,zIndexTableSticky:Kt(Da).add(1).equal({unit:!1}),tableFontSizeMiddle:we,tableFontSizeSmall:Ke,tableSelectionColumnWidth:Tt,tableExpandIconBg:it,tableExpandColumnWidth:Kt(at).add(Kt(de.padding).mul(2)).equal(),tableExpandedRowBg:tn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ct,tableScrollThumbBgHover:ne,tableScrollBg:Pe});return[Ra(Ht),Oo(Ht),Br(Ht),yo(Ht),fo(Ht),co(Ht),Li(Ht),Mo(Ht),Br(Ht),Fo(Ht),to(Ht),go(Ht),To(Ht),Bo(Ht),ho(Ht),Wo(Ht),zr(Ht)]},Ca,{unitless:{expandIconScale:!0}});const ti=[],ci=(de,ne)=>{var Pe,ke;const{prefixCls:at,className:ht,rootClassName:Nt,style:wt,size:zt,bordered:Vt,dropdownPrefixCls:Cn,dataSource:on,pagination:nn,rowSelection:tn,rowKey:pn="key",rowClassName:S,columns:R,children:W,childrenColumnName:H,onChange:G,getPopupContainer:J,loading:ue,expandIcon:ae,expandable:Ae,expandedRowRender:pe,expandIconColumnIndex:we,indentSize:Ke,scroll:Ye,sortDirections:gt,locale:ct,showSorterTooltip:nt={target:"full-header"},virtual:it}=de,Tt=(0,vr.ln)("Table"),Ct=h.useMemo(()=>R||Et(W),[R,W]),Kt=h.useMemo(()=>Ct.some(ga=>ga.responsive),[Ct]),Ht=(0,ca.Z)(Kt),Wn=h.useMemo(()=>{const ga=new Set(Object.keys(Ht).filter(Ba=>Ht[Ba]));return Ct.filter(Ba=>!Ba.responsive||Ba.responsive.some(oi=>ga.has(oi)))},[Ct,Ht]),ln=(0,Ar.Z)(de,["className","style","columns"]),{locale:rr=da.Z,direction:Hn,table:xr,renderEmpty:An,getPrefixCls:wn,getPopupContainer:qn}=h.useContext(ra.E_),Mt=(0,ur.Z)(zt),fn=Object.assign(Object.assign({},rr.Table),ct),Un=on||ti,Qt=wn("table",at),In=wn("dropdown",Cn),[,cn]=(0,qr.ZP)(),_n=(0,Dr.Z)(Qt),[_r,Fr,dr]=ja(Qt,_n),aa=Object.assign(Object.assign({childrenColumnName:H,expandIconColumnIndex:we},Ae),{expandIcon:(Pe=Ae==null?void 0:Ae.expandIcon)!==null&&Pe!==void 0?Pe:(ke=xr==null?void 0:xr.expandable)===null||ke===void 0?void 0:ke.expandIcon}),{childrenColumnName:pa="children"}=aa,ba=h.useMemo(()=>Un.some(ga=>ga==null?void 0:ga[pa])?"nest":pe||Ae!=null&&Ae.expandedRowRender?"row":null,[Un]),Or={body:h.useRef(null)},Kr=Qr(Qt),Sa=h.useRef(null),Za=h.useRef(null);Jn(ne,()=>Object.assign(Object.assign({},Za.current),{nativeElement:Sa.current}));const Pa=h.useMemo(()=>typeof pn=="function"?pn:ga=>ga==null?void 0:ga[pn],[pn]),[yi]=ka(Un,pa,Pa),ai={},Zi=function(ga,Ba){let oi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var fi,Ii,zi,Hi;const Ei=Object.assign(Object.assign({},ai),ga);oi&&((fi=ai.resetPagination)===null||fi===void 0||fi.call(ai),!((Ii=Ei.pagination)===null||Ii===void 0)&&Ii.current&&(Ei.pagination.current=1),nn&&((zi=nn.onChange)===null||zi===void 0||zi.call(nn,1,(Hi=Ei.pagination)===null||Hi===void 0?void 0:Hi.pageSize))),Ye&&Ye.scrollToFirstRowOnChange!==!1&&Or.body.current&&(0,Er.Z)(0,{getContainer:()=>Or.body.current}),G==null||G(Ei.pagination,Ei.filters,Ei.sorter,{currentDataSource:Zr(Xi(Un,Ei.sorterStates,pa),Ei.filterStates,pa),action:Ba})},Ja=(ga,Ba)=>{Zi({sorter:ga,sorterStates:Ba},"sort",!1)},[Na,Ga,Qa,di]=Si({prefixCls:Qt,mergedColumns:Wn,onSorterChange:Ja,sortDirections:gt||["ascend","descend"],tableLocale:fn,showSorterTooltip:nt}),li=h.useMemo(()=>Xi(Un,Ga,pa),[Un,Ga]);ai.sorter=di(),ai.sorterStates=Ga;const Ia=(ga,Ba)=>{Zi({filters:ga,filterStates:Ba},"filter",!0)},[ri,Va,_i]=ma({prefixCls:Qt,locale:fn,dropdownPrefixCls:In,mergedColumns:Wn,onFilterChange:Ia,getPopupContainer:J||qn,rootClassName:M()(Nt,_n)}),ii=Zr(li,Va,pa);ai.filters=_i,ai.filterStates=Va;const Oi=h.useMemo(()=>{const ga={};return Object.keys(_i).forEach(Ba=>{_i[Ba]!==null&&(ga[Ba]=_i[Ba])}),Object.assign(Object.assign({},Qa),{filters:ga})},[Qa,_i]),[vo]=Yi(Oi),Ko=(ga,Ba)=>{Zi({pagination:Object.assign(Object.assign({},ai.pagination),{current:ga,pageSize:Ba})},"paginate")},[qa,Vo]=pi(ii.length,Ko,nn);ai.pagination=nn===!1?{}:Ai(qa,nn),ai.resetPagination=Vo;const wi=h.useMemo(()=>{if(nn===!1||!qa.pageSize)return ii;const{current:ga=1,total:Ba,pageSize:oi=$a}=qa;return ii.lengthoi?ii.slice((ga-1)*oi,ga*oi):ii:ii.slice((ga-1)*oi,ga*oi)},[!!nn,ii,qa==null?void 0:qa.current,qa==null?void 0:qa.pageSize,qa==null?void 0:qa.total]),[Ui,Fi]=br({prefixCls:Qt,data:ii,pageData:wi,getRowKey:Pa,getRecordByKey:yi,expandType:ba,childrenColumnName:pa,locale:fn,getPopupContainer:J||qn},tn),Ti=(ga,Ba,oi)=>{let fi;return typeof S=="function"?fi=M()(S(ga,Ba,oi)):fi=M()(S),M()({[`${Qt}-row-selected`]:Fi.has(Pa(ga,Ba))},fi)};aa.__PARENT_RENDER_ICON__=aa.expandIcon,aa.expandIcon=aa.expandIcon||ae||Lr(fn),ba==="nest"&&aa.expandIconColumnIndex===void 0?aa.expandIconColumnIndex=tn?1:0:aa.expandIconColumnIndex>0&&tn&&(aa.expandIconColumnIndex-=1),typeof aa.indentSize!="number"&&(aa.indentSize=typeof Ke=="number"?Ke:15);const Pi=h.useCallback(ga=>vo(Ui(ri(Na(ga)))),[Na,ri,Ui]);let Wi,mo;if(nn!==!1&&(qa!=null&&qa.total)){let ga;qa.size?ga=qa.size:ga=Mt==="small"||Mt==="middle"?"small":void 0;const Ba=Ii=>h.createElement(sa.Z,Object.assign({},qa,{className:M()(`${Qt}-pagination ${Qt}-pagination-${Ii}`,qa.className),size:ga})),oi=Hn==="rtl"?"left":"right",{position:fi}=qa;if(fi!==null&&Array.isArray(fi)){const Ii=fi.find(Ei=>Ei.includes("top")),zi=fi.find(Ei=>Ei.includes("bottom")),Hi=fi.every(Ei=>`${Ei}`=="none");!Ii&&!zi&&!Hi&&(mo=Ba(oi)),Ii&&(Wi=Ba(Ii.toLowerCase().replace("top",""))),zi&&(mo=Ba(zi.toLowerCase().replace("bottom","")))}else mo=Ba(oi)}let Ji;typeof ue=="boolean"?Ji={spinning:ue}:typeof ue=="object"&&(Ji=Object.assign({spinning:!0},ue));const $i=M()(dr,_n,`${Qt}-wrapper`,xr==null?void 0:xr.className,{[`${Qt}-wrapper-rtl`]:Hn==="rtl"},ht,Nt,Fr),Qo=Object.assign(Object.assign({},xr==null?void 0:xr.style),wt),Jo=typeof(ct==null?void 0:ct.emptyText)!="undefined"?ct.emptyText:(An==null?void 0:An("Table"))||h.createElement(Gr.Z,{componentName:"Table"}),$o=it?No:Ro,ko={},qo=h.useMemo(()=>{const{fontSize:ga,lineHeight:Ba,lineWidth:oi,padding:fi,paddingXS:Ii,paddingSM:zi}=cn,Hi=Math.floor(ga*Ba);switch(Mt){case"middle":return zi*2+Hi+oi;case"small":return Ii*2+Hi+oi;default:return fi*2+Hi+oi}},[cn,Mt]);return it&&(ko.listItemHeight=qo),_r(h.createElement("div",{ref:Sa,className:$i,style:Qo},h.createElement(fa.Z,Object.assign({spinning:!1},Ji),Wi,h.createElement($o,Object.assign({},ko,ln,{ref:Za,columns:Wn,direction:Hn,expandable:aa,prefixCls:Qt,className:M()({[`${Qt}-middle`]:Mt==="middle",[`${Qt}-small`]:Mt==="small",[`${Qt}-bordered`]:Vt,[`${Qt}-empty`]:Un.length===0},dr,_n,Fr),data:wi,rowKey:Pa,rowClassName:Ti,emptyText:Jo,internalHooks:P,internalRefs:Or,transformColumns:Pi,getContainerWidth:Kr})),mo)))};var hi=h.forwardRef(ci);const Ri=(de,ne)=>{const Pe=h.useRef(0);return Pe.current+=1,h.createElement(hi,Object.assign({},de,{ref:ne,_renderTimes:Pe.current}))},ni=h.forwardRef(Ri);ni.SELECTION_COLUMN=yr,ni.EXPAND_COLUMN=k,ni.SELECTION_ALL=Kn,ni.SELECTION_INVERT=pr,ni.SELECTION_NONE=Ln,ni.Column=Tr,ni.ColumnGroup=Pr,ni.Summary=oe;var no=ni,ro=no},96599:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return M}});var h=O(59301),k=O(92310),P=O.n(k),_=O(2738),N=O(29509),C=O(78776),m=O(22703),p=O(12919),E=O(48755),d=O(36237),l=O(17835),o=O(63356),g=O(51636),r=O(16931);const n=D=>{const{paddingXXS:B,lineWidth:I,tagPaddingHorizontal:U,componentCls:F,calc:K}=D,j=K(U).sub(I).equal(),X=K(B).sub(I).equal();return{[F]:Object.assign(Object.assign({},(0,o.Wf)(D)),{display:"inline-block",height:"auto",marginInlineEnd:D.marginXS,paddingInline:j,fontSize:D.tagFontSize,lineHeight:D.tagLineHeight,whiteSpace:"nowrap",background:D.defaultBg,border:`${(0,d.unit)(D.lineWidth)} ${D.lineType} ${D.colorBorder}`,borderRadius:D.borderRadiusSM,opacity:1,transition:`all ${D.motionDurationMid}`,textAlign:"start",position:"relative",[`&${F}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:D.defaultColor},[`${F}-close-icon`]:{marginInlineStart:X,fontSize:D.tagIconSize,color:D.colorTextDescription,cursor:"pointer",transition:`all ${D.motionDurationMid}`,"&:hover":{color:D.colorTextHeading}},[`&${F}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${D.iconCls}-close, ${D.iconCls}-close:hover`]:{color:D.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${F}-checkable-checked):hover`]:{color:D.colorPrimary,backgroundColor:D.colorFillSecondary},"&:active, &-checked":{color:D.colorTextLightSolid},"&-checked":{backgroundColor:D.colorPrimary,"&:hover":{backgroundColor:D.colorPrimaryHover}},"&:active":{backgroundColor:D.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${D.iconCls} + span, > span + ${D.iconCls}`]:{marginInlineStart:j}}),[`${F}-borderless`]:{borderColor:"transparent",background:D.tagBorderlessBg}}},a=D=>{const{lineWidth:B,fontSizeIcon:I,calc:U}=D,F=D.fontSizeSM;return(0,g.mergeToken)(D,{tagFontSize:F,tagLineHeight:(0,d.unit)(U(D.lineHeightSM).mul(F).equal()),tagIconSize:U(I).sub(U(B).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:D.defaultBg})},c=D=>({defaultBg:new l.FastColor(D.colorFillQuaternary).onBackground(D.colorBgContainer).toHexString(),defaultColor:D.colorText});var u=(0,r.I$)("Tag",D=>{const B=a(D);return n(B)},c),s=function(D,B){var I={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(I[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F{const{prefixCls:I,style:U,className:F,checked:K,onChange:j,onClick:X}=D,Y=s(D,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:se,tag:Q}=h.useContext(E.E_),ve=Je=>{j==null||j(!K),X==null||X(Je)},xe=se("tag",I),[Ce,De,Ue]=u(xe),Me=P()(xe,`${xe}-checkable`,{[`${xe}-checkable-checked`]:K},Q==null?void 0:Q.className,F,De,Ue);return Ce(h.createElement("span",Object.assign({},Y,{ref:B,style:Object.assign(Object.assign({},U),Q==null?void 0:Q.style),className:Me,onClick:ve})))}),t=O(93427);const i=D=>(0,t.Z)(D,(B,I)=>{let{textColor:U,lightBorderColor:F,lightColor:K,darkColor:j}=I;return{[`${D.componentCls}${D.componentCls}-${B}`]:{color:U,background:K,borderColor:F,"&-inverse":{color:D.colorTextLightSolid,background:j,borderColor:j},[`&${D.componentCls}-borderless`]:{borderColor:"transparent"}}}});var f=(0,r.bk)(["Tag","preset"],D=>{const B=a(D);return i(B)},c);function y(D){return typeof D!="string"?D:D.charAt(0).toUpperCase()+D.slice(1)}const b=(D,B,I)=>{const U=y(I);return{[`${D.componentCls}${D.componentCls}-${B}`]:{color:D[`color${I}`],background:D[`color${U}Bg`],borderColor:D[`color${U}Border`],[`&${D.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,r.bk)(["Tag","status"],D=>{const B=a(D);return[b(B,"success","Success"),b(B,"processing","Info"),b(B,"error","Error"),b(B,"warning","Warning")]},c),A=function(D,B){var I={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&B.indexOf(U)<0&&(I[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F{const{prefixCls:I,className:U,rootClassName:F,style:K,children:j,icon:X,color:Y,onClose:se,bordered:Q=!0,visible:ve}=D,xe=A(D,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Ce,direction:De,tag:Ue}=h.useContext(E.E_),[Me,Je]=h.useState(!0),Re=(0,_.Z)(xe,["closeIcon","closable"]);h.useEffect(()=>{ve!==void 0&&Je(ve)},[ve]);const ge=(0,N.o2)(Y),Ve=(0,N.yT)(Y),Fe=ge||Ve,Te=Object.assign(Object.assign({backgroundColor:Y&&!Fe?Y:void 0},Ue==null?void 0:Ue.style),K),We=Ce("tag",I),[Ne,V,$]=u(We),re=P()(We,Ue==null?void 0:Ue.className,{[`${We}-${Y}`]:Fe,[`${We}-has-color`]:Y&&!Fe,[`${We}-hidden`]:!Me,[`${We}-rtl`]:De==="rtl",[`${We}-borderless`]:!Q},U,F,V,$),ee=ce=>{ce.stopPropagation(),se==null||se(ce),!ce.defaultPrevented&&Je(!1)},[,oe]=(0,C.Z)((0,C.w)(D),(0,C.w)(Ue),{closable:!1,closeIconRender:ce=>{const lt=h.createElement("span",{className:`${We}-close-icon`,onClick:ee},ce);return(0,m.wm)(ce,lt,Xe=>({onClick:ft=>{var yt;(yt=Xe==null?void 0:Xe.onClick)===null||yt===void 0||yt.call(Xe,ft),ee(ft)},className:P()(Xe==null?void 0:Xe.className,`${We}-close-icon`)}))}}),q=typeof xe.onClick=="function"||j&&j.type==="a",fe=X||null,be=fe?h.createElement(h.Fragment,null,fe,j&&h.createElement("span",null,j)):j,te=h.createElement("span",Object.assign({},Re,{ref:B,className:re,style:Te}),be,oe,ge&&h.createElement(f,{key:"preset",prefixCls:We}),Ve&&h.createElement(x,{key:"status",prefixCls:We}));return Ne(q?h.createElement(p.Z,{component:"Tag"},te):te)});L.CheckableTag=e;var M=L},53420:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return dt}});var h=O(59301),k=O(92310),P=O.n(k),_=O(54476),N=O(94480),C=O(33885),m=O(42978),p=O(75931),E=O(76190),d=O(37463),l=O(6551),o=O(34643),g=O(18929),r=O(48736),n=function(T){var z=h.useRef({valueLabels:new Map});return h.useMemo(function(){var Z=z.current.valueLabels,ie=new Map,le=T.map(function($e){var ot=$e.value,Et=$e.label,st=Et!=null?Et:Z.get(ot);return ie.set(ot,st),(0,C.Z)((0,C.Z)({},$e),{},{label:st})});return z.current.valueLabels=ie,[le]},[T])},a=function(z,Z,ie,le){return h.useMemo(function(){var $e=function(Ee){return Ee.map(function(Le){var Ie=Le.value;return Ie})},ot=$e(z),Et=$e(Z),st=ot.filter(function(Be){return!le[Be]}),Bt=ot,kt=Et;if(ie){var He=(0,o.S)(ot,!0,le);Bt=He.checkedKeys,kt=He.halfCheckedKeys}return[Array.from(new Set([].concat((0,N.Z)(st),(0,N.Z)(Bt)))),kt]},[z,Z,ie,le])},c=a,u=O(34061),s=function(T,z){return h.useMemo(function(){var Z=(0,u.I8)(T,{fieldNames:z,initWrapper:function(le){return(0,C.Z)((0,C.Z)({},le),{},{valueEntities:new Map})},processEntity:function(le,$e){var ot=le.node[z.value];if(0)var Et;$e.valueEntities.set(ot,le)}});return Z},[T,z])},v=O(20068),e=O(11592),t=function(){return null},i=t,f=["children","value"];function y(T){return(0,e.Z)(T).map(function(z){if(!h.isValidElement(z)||!z.type)return null;var Z=z,ie=Z.key,le=Z.props,$e=le.children,ot=le.value,Et=(0,p.Z)(le,f),st=(0,C.Z)({key:ie,value:ot},Et),Bt=y($e);return Bt.length&&(st.children=Bt),st}).filter(function(z){return z})}function b(T){if(!T)return T;var z=(0,C.Z)({},T);return"props"in z||Object.defineProperty(z,"props",{get:function(){return(0,r.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),z}}),z}function x(T,z,Z,ie,le,$e){var ot=null,Et=null;function st(){function Bt(kt){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return kt.map(function(Ee,Le){var Ie="".concat(He,"-").concat(Le),ze=Ee[$e.value],he=Z.includes(ze),je=Bt(Ee[$e.children]||[],Ie,he),tt=h.createElement(i,Ee,je.map(function(ye){return ye.node}));if(z===ze&&(ot=tt),he){var me={pos:Ie,node:tt,children:je};return Be||Et.push(me),me}return null}).filter(function(Ee){return Ee})}Et||(Et=[],Bt(ie),Et.sort(function(kt,He){var Be=kt.node.props.value,Ee=He.node.props.value,Le=Z.indexOf(Be),Ie=Z.indexOf(Ee);return Le-Ie}))}Object.defineProperty(T,"triggerNode",{get:function(){return(0,r.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),st(),ot}}),Object.defineProperty(T,"allCheckedNodes",{get:function(){return(0,r.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),st(),le?Et:Et.map(function(kt){var He=kt.node;return He})}})}var A=function(z,Z,ie){var le=ie.fieldNames,$e=ie.treeNodeFilterProp,ot=ie.filterTreeNode,Et=le.children;return h.useMemo(function(){if(!Z||ot===!1)return z;var st=typeof ot=="function"?ot:function(kt,He){return String(He[$e]).toUpperCase().includes(Z.toUpperCase())},Bt=function kt(He){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return He.reduce(function(Ee,Le){var Ie=Le[Et],ze=Be||st(Z,b(Le)),he=kt(Ie||[],ze);return(ze||he.length)&&Ee.push((0,C.Z)((0,C.Z)({},Le),{},(0,v.Z)({isLeaf:void 0},Et,he))),Ee},[])};return Bt(z)},[z,Z,Et,$e,ot])},w=A;function L(T){var z=h.useRef();z.current=T;var Z=h.useCallback(function(){return z.current.apply(z,arguments)},[]);return Z}function M(T,z){var Z=z.id,ie=z.pId,le=z.rootPId,$e=new Map,ot=[];return T.forEach(function(Et){var st=Et[Z],Bt=(0,C.Z)((0,C.Z)({},Et),{},{key:Et.key||st});$e.set(st,Bt)}),$e.forEach(function(Et){var st=Et[ie],Bt=$e.get(st);Bt?(Bt.children=Bt.children||[],Bt.children.push(Et)):(st===le||le===null)&&ot.push(Et)}),ot}function D(T,z,Z){return h.useMemo(function(){if(T){if(Z){var ie=(0,C.Z)({id:"id",pId:"pId",rootPId:null},(0,E.Z)(Z)==="object"?Z:{});return M(T,ie)}return T}return y(z)},[z,Z,T])}var B=h.createContext(null),I=B,U=O(19251),F=O(3741),K=O(10228),j=O(80547),X=h.createContext(null),Y=X,se=function(z){return Array.isArray(z)?z:z!==void 0?[z]:[]},Q=function(z){var Z=z||{},ie=Z.label,le=Z.value,$e=Z.children;return{_title:ie?[ie]:["title","label"],value:le||"value",key:le||"value",children:$e||"children"}},ve=function(z){return!z||z.disabled||z.disableCheckbox||z.checkable===!1},xe=function(z,Z){var ie=[],le=function $e(ot){ot.forEach(function(Et){var st=Et[Z.children];st&&(ie.push(Et[Z.value]),$e(st))})};return le(z),ie},Ce=function(z){return z==null},De=O(70425),Ue={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Me=function(z,Z){var ie=(0,d.lk)(),le=ie.prefixCls,$e=ie.multiple,ot=ie.searchValue,Et=ie.toggleOpen,st=ie.open,Bt=ie.notFoundContent,kt=h.useContext(Y),He=kt.virtual,Be=kt.listHeight,Ee=kt.listItemHeight,Le=kt.listItemScrollOffset,Ie=kt.treeData,ze=kt.fieldNames,he=kt.onSelect,je=kt.dropdownMatchSelectWidth,tt=kt.treeExpandAction,me=kt.treeTitleRender,ye=kt.onPopupScroll,_e=kt.leftMaxCount,Ge=kt.leafCountOnly,Se=kt.valueEntities,ut=h.useContext(I),bt=ut.checkable,Pt=ut.checkedKeys,Yt=ut.halfCheckedKeys,sn=ut.treeExpandedKeys,Mn=ut.treeDefaultExpandAll,xn=ut.treeDefaultExpandedKeys,an=ut.onTreeExpand,hn=ut.treeIcon,gn=ut.showTreeIcon,Lt=ut.switcherIcon,On=ut.treeLine,jn=ut.treeNodeFilterProp,bn=ut.loadData,Fn=ut.treeLoadedKeys,er=ut.treeMotion,Cr=ut.onTreeLoad,sr=ut.keyEntities,Rn=h.useRef(),or=(0,j.Z)(function(){return Ie},[st,Ie],function(Jt,Vn){return Vn[0]&&Jt[1]!==Vn[1]}),fr=h.useMemo(function(){return bt?{checked:Pt,halfChecked:Yt}:null},[bt,Pt,Yt]);h.useEffect(function(){if(st&&!$e&&Pt.length){var Jt;(Jt=Rn.current)===null||Jt===void 0||Jt.scrollTo({key:Pt[0]})}},[st]);var nr=function(Vn){Vn.preventDefault()},tr=function(Vn,yr){var Kn=yr.node;bt&&ve(Kn)||(he(Kn.key,{selected:!Pt.includes(Kn.key)}),$e||Et(!1))},$n=h.useState(xn),wr=(0,m.Z)($n,2),Dt=wr[0],Hr=wr[1],Rr=h.useState(null),kr=(0,m.Z)(Rr,2),Wr=kr[0],ea=kr[1],ar=h.useMemo(function(){return sn?(0,N.Z)(sn):ot?Wr:Dt},[Dt,Wr,sn,ot]),lr=function(Vn){Hr(Vn),ea(Vn),an&&an(Vn)},Sn=String(ot).toLowerCase(),Zt=function(Vn){return Sn?String(Vn[jn]).toLowerCase().includes(Sn):!1};h.useEffect(function(){ot&&ea(xe(Ie,ze))},[ot]);var qt=h.useState(function(){return new Map}),Xn=(0,m.Z)(qt,2),zn=Xn[0],hr=Xn[1];h.useEffect(function(){_e&&hr(new Map)},[_e]);function Tr(Jt){var Vn=Jt[ze.value];if(!zn.has(Vn)){var yr=Se.get(Vn),Kn=(yr.children||[]).length===0;if(Kn)zn.set(Vn,!1);else{var pr=yr.children.filter(function(Mr){return!Mr.node.disabled&&!Mr.node.disableCheckbox&&!Pt.includes(Mr.node[ze.value])}),Ln=pr.length;zn.set(Vn,Ln>_e)}}return zn.get(Vn)}var gr=(0,De.zX)(function(Jt){var Vn=Jt[ze.value];return Pt.includes(Vn)||_e===null?!1:_e<=0?!0:Ge&&_e?Tr(Jt):!1}),Pr=function Jt(Vn){var yr=(0,U.Z)(Vn),Kn;try{for(yr.s();!(Kn=yr.n()).done;){var pr=Kn.value;if(!(pr.disabled||pr.selectable===!1)){if(ot){if(Zt(pr))return pr}else return pr;if(pr[ze.children]){var Ln=Jt(pr[ze.children]);if(Ln)return Ln}}}}catch(Mr){yr.e(Mr)}finally{yr.f()}return null},et=h.useState(null),Ft=(0,m.Z)(et,2),At=Ft[0],En=Ft[1],Qn=sr[At];h.useEffect(function(){if(st){var Jt=null,Vn=function(){var Kn=Pr(or);return Kn?Kn[ze.value]:null};!$e&&Pt.length&&!ot?Jt=Pt[0]:Jt=Vn(),En(Jt)}},[st,ot]),h.useImperativeHandle(Z,function(){var Jt;return{scrollTo:(Jt=Rn.current)===null||Jt===void 0?void 0:Jt.scrollTo,onKeyDown:function(yr){var Kn,pr=yr.which;switch(pr){case K.Z.UP:case K.Z.DOWN:case K.Z.LEFT:case K.Z.RIGHT:(Kn=Rn.current)===null||Kn===void 0||Kn.onKeyDown(yr);break;case K.Z.ENTER:{if(Qn){var Ln=gr(Qn.node),Mr=(Qn==null?void 0:Qn.node)||{},mr=Mr.selectable,Gn=Mr.value,br=Mr.disabled;mr!==!1&&!br&&!Ln&&tr(null,{node:{key:At},selected:!Pt.includes(Gn)})}break}case K.Z.ESC:Et(!1)}},onKeyUp:function(){}}});var mt=(0,j.Z)(function(){return!ot},[ot,sn||Dt],function(Jt,Vn){var yr=(0,m.Z)(Jt,1),Kn=yr[0],pr=(0,m.Z)(Vn,2),Ln=pr[0],Mr=pr[1];return Kn!==Ln&&!!(Ln||Mr)}),vr=mt?bn:null;if(or.length===0)return h.createElement("div",{role:"listbox",className:"".concat(le,"-empty"),onMouseDown:nr},Bt);var Pn={fieldNames:ze};return Fn&&(Pn.loadedKeys=Fn),ar&&(Pn.expandedKeys=ar),h.createElement("div",{onMouseDown:nr},Qn&&st&&h.createElement("span",{style:Ue,"aria-live":"assertive"},Qn.node.value),h.createElement(F.y6.Provider,{value:{nodeDisabled:gr}},h.createElement(F.ZP,(0,_.Z)({ref:Rn,focusable:!1,prefixCls:"".concat(le,"-tree"),treeData:or,height:Be,itemHeight:Ee,itemScrollOffset:Le,virtual:He!==!1&&je!==!1,multiple:$e,icon:hn,showIcon:gn,switcherIcon:Lt,showLine:On,loadData:vr,motion:er,activeKey:At,checkable:bt,checkStrictly:!0,checkedKeys:fr,selectedKeys:bt?[]:Pt,defaultExpandAll:Mn,titleRender:me},Pn,{onActiveChange:En,onSelect:tr,onCheck:tr,onExpand:lr,onLoad:Cr,filterTreeNode:Zt,expandAction:tt,onScroll:ye}))))},Je=h.forwardRef(Me),Re=Je,ge="SHOW_ALL",Ve="SHOW_PARENT",Fe="SHOW_CHILD";function Te(T,z,Z,ie){var le=new Set(T);return z===Fe?T.filter(function($e){var ot=Z[$e];return!ot||!ot.children||!ot.children.some(function(Et){var st=Et.node;return le.has(st[ie.value])})||!ot.children.every(function(Et){var st=Et.node;return ve(st)||le.has(st[ie.value])})}):z===Ve?T.filter(function($e){var ot=Z[$e],Et=ot?ot.parent:null;return!Et||ve(Et.node)||!le.has(Et.key)}):T}function We(T){var z=T.searchPlaceholder,Z=T.treeCheckStrictly,ie=T.treeCheckable,le=T.labelInValue,$e=T.value,ot=T.multiple,Et=T.showCheckedStrategy,st=T.maxCount;warning(!z,"`searchPlaceholder` has been removed."),Z&&le===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(le||Z)&&warning(toArray($e).every(function(Bt){return Bt&&_typeof(Bt)==="object"&&"value"in Bt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Z||ot||ie?warning(!$e||Array.isArray($e),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray($e),"`value` should not be array when `TreeSelect` is single mode."),st&&(Et==="SHOW_ALL"&&!Z||Et==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var Ne=null,V=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function $(T){return!T||(0,E.Z)(T)!=="object"}var re=h.forwardRef(function(T,z){var Z=T.id,ie=T.prefixCls,le=ie===void 0?"rc-tree-select":ie,$e=T.value,ot=T.defaultValue,Et=T.onChange,st=T.onSelect,Bt=T.onDeselect,kt=T.searchValue,He=T.inputValue,Be=T.onSearch,Ee=T.autoClearSearchValue,Le=Ee===void 0?!0:Ee,Ie=T.filterTreeNode,ze=T.treeNodeFilterProp,he=ze===void 0?"value":ze,je=T.showCheckedStrategy,tt=T.treeNodeLabelProp,me=T.multiple,ye=T.treeCheckable,_e=T.treeCheckStrictly,Ge=T.labelInValue,Se=T.maxCount,ut=T.fieldNames,bt=T.treeDataSimpleMode,Pt=T.treeData,Yt=T.children,sn=T.loadData,Mn=T.treeLoadedKeys,xn=T.onTreeLoad,an=T.treeDefaultExpandAll,hn=T.treeExpandedKeys,gn=T.treeDefaultExpandedKeys,Lt=T.onTreeExpand,On=T.treeExpandAction,jn=T.virtual,bn=T.listHeight,Fn=bn===void 0?200:bn,er=T.listItemHeight,Cr=er===void 0?20:er,sr=T.listItemScrollOffset,Rn=sr===void 0?0:sr,or=T.onDropdownVisibleChange,fr=T.dropdownMatchSelectWidth,nr=fr===void 0?!0:fr,tr=T.treeLine,$n=T.treeIcon,wr=T.showTreeIcon,Dt=T.switcherIcon,Hr=T.treeMotion,Rr=T.treeTitleRender,kr=T.onPopupScroll,Wr=(0,p.Z)(T,V),ea=(0,l.ZP)(Z),ar=ye&&!_e,lr=ye||_e,Sn=_e||Ge,Zt=lr||me,qt=(0,g.Z)(ot,{value:$e}),Xn=(0,m.Z)(qt,2),zn=Xn[0],hr=Xn[1],Tr=h.useMemo(function(){return ye?je||Fe:ge},[je,ye]),gr=h.useMemo(function(){return Q(ut)},[JSON.stringify(ut)]),Pr=(0,g.Z)("",{value:kt!==void 0?kt:He,postState:function(kn){return kn||""}}),et=(0,m.Z)(Pr,2),Ft=et[0],At=et[1],En=function(kn){At(kn),Be==null||Be(kn)},Qn=D(Pt,Yt,bt),mt=s(Qn,gr),vr=mt.keyEntities,Pn=mt.valueEntities,Jt=h.useCallback(function(vn){var kn=[],Yn=[];return vn.forEach(function(Nr){Pn.has(Nr)?Yn.push(Nr):kn.push(Nr)}),{missingRawValues:kn,existRawValues:Yn}},[Pn]),Vn=w(Qn,Ft,{fieldNames:gr,treeNodeFilterProp:he,filterTreeNode:Ie}),yr=h.useCallback(function(vn){if(vn){if(tt)return vn[tt];for(var kn=gr._title,Yn=0;Ynda)){var Gt=pr(vn);if(hr(Gt),Le&&At(""),Et){var Xr=vn;ar&&(Xr=Nr.map(function(Ua){var Xa=Pn.get(Ua);return Xa?Xa.node[gr.value]:Ua}));var ya=kn||{triggerValue:void 0,selected:void 0},oa=ya.triggerValue,Aa=ya.selected,Zn=Xr;if(_e){var na=br.filter(function(Ua){return!Xr.includes(Ua.value)});Zn=[].concat((0,N.Z)(Zn),(0,N.Z)(na))}var la=pr(Zn),Jr={preValue:Gn,triggerValue:oa},_a=!0;(_e||Yn==="selection"&&!Aa)&&(_a=!1),x(Jr,oa,vn,Qn,_a,gr),lr?Jr.checked=Aa:Jr.selected=Aa;var ha=Sn?la:la.map(function(Ua){return Ua.value});Et(Zt?ha:ha[0],Sn?null:la.map(function(Ua){return Ua.label}),Jr)}}}),fa=h.useCallback(function(vn,kn){var Yn,Nr=kn.selected,Gt=kn.source,Xr=vr[vn],ya=Xr==null?void 0:Xr.node,oa=(Yn=ya==null?void 0:ya[gr.value])!==null&&Yn!==void 0?Yn:vn;if(!Zt)sa([oa],{selected:!0,triggerValue:oa},"option");else{var Aa=Nr?[].concat((0,N.Z)(Ar),[oa]):Er.filter(function(Xa){return Xa!==oa});if(ar){var Zn=Jt(Aa),na=Zn.missingRawValues,la=Zn.existRawValues,Jr=la.map(function(Xa){return Pn.get(Xa).key}),_a;if(Nr){var ha=(0,o.S)(Jr,!0,vr);_a=ha.checkedKeys}else{var Ua=(0,o.S)(Jr,{checked:!1,halfCheckedKeys:ra},vr);_a=Ua.checkedKeys}Aa=[].concat((0,N.Z)(na),(0,N.Z)(_a.map(function(Xa){return vr[Xa].node[gr.value]})))}sa(Aa,{selected:Nr,triggerValue:oa},Gt||"option")}Nr||!Zt?st==null||st(oa,b(ya)):Bt==null||Bt(oa,b(ya))},[Jt,Pn,vr,gr,Zt,Ar,sa,ar,st,Bt,Er,ra,Se]),qr=h.useCallback(function(vn){if(or){var kn={};Object.defineProperty(kn,"documentClickClose",{get:function(){return(0,r.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),or(vn,kn)}},[or]),Ea=L(function(vn,kn){var Yn=vn.map(function(Nr){return Nr.value});if(kn.type==="clear"){sa(Yn,{},"selection");return}kn.values.length&&fa(kn.values[0].value,{selected:!1,source:"selection"})}),Lr=h.useMemo(function(){return{virtual:jn,dropdownMatchSelectWidth:nr,listHeight:Fn,listItemHeight:Cr,listItemScrollOffset:Rn,treeData:Vn,fieldNames:gr,onSelect:fa,treeExpandAction:On,treeTitleRender:Rr,onPopupScroll:kr,leftMaxCount:Se===void 0?null:Se-ca.length,leafCountOnly:Tr==="SHOW_CHILD"&&!_e&&!!ye,valueEntities:Pn}},[jn,nr,Fn,Cr,Rn,Vn,gr,fa,On,Rr,kr,Se,ca.length,Tr,_e,ye,Pn]),Qr=h.useMemo(function(){return{checkable:lr,loadData:sn,treeLoadedKeys:Mn,onTreeLoad:xn,checkedKeys:Er,halfCheckedKeys:ra,treeDefaultExpandAll:an,treeExpandedKeys:hn,treeDefaultExpandedKeys:gn,onTreeExpand:Lt,treeIcon:$n,treeMotion:Hr,showTreeIcon:wr,switcherIcon:Dt,treeLine:tr,treeNodeFilterProp:he,keyEntities:vr}},[lr,sn,Mn,xn,Er,ra,an,hn,gn,Lt,$n,Hr,wr,Dt,tr,he,vr]);return h.createElement(Y.Provider,{value:Lr},h.createElement(I.Provider,{value:Qr},h.createElement(d.Ac,(0,_.Z)({ref:z},Wr,{id:ea,prefixCls:le,mode:Zt?"multiple":void 0,displayValues:ca,onDisplayValuesChange:Ea,searchValue:Ft,onSearch:En,OptionList:Re,emptyOptions:!Qn.length,onDropdownVisibleChange:qr,dropdownMatchSelectWidth:nr}))))}),ee=re;ee.TreeNode=i,ee.SHOW_ALL=ge,ee.SHOW_PARENT=Ve,ee.SHOW_CHILD=Fe;var oe=ee,q=oe,fe=O(2738),be=O(75030),te=O(86641),ce=O(45915),lt=O(82855),Xe=O(48755),ft=O(38406),yt=O(2171),qe=O(83397),vt=O(31756),Ze=O(56553),Oe=O(24971),Qe=O(1722),rt=O(90376),_t=O(68525),xt=O(90005),un=O(70045),$t=O(57700),Ut=O(85278),mn=O(36237),Bn=O(36170),rn=O(51636),Tn=O(16931),en=O(12425);const jt=T=>{const{componentCls:z,treePrefixCls:Z,colorBgElevated:ie}=T,le=`.${Z}`;return[{[`${z}-dropdown`]:[{padding:`${(0,mn.unit)(T.paddingXS)} ${(0,mn.unit)(T.calc(T.paddingXS).div(2).equal())}`},(0,en.Yk)(Z,(0,rn.mergeToken)(T,{colorBgContainer:ie}),!1),{[le]:{borderRadius:0,[`${le}-list-holder-inner`]:{alignItems:"stretch",[`${le}-treenode`]:{[`${le}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Bn.C2)(`${Z}-checkbox`,T),{"&-rtl":{direction:"rtl",[`${le}-switcher${le}-switcher_close`]:{[`${le}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Xt=null;function St(T,z,Z){return(0,Tn.I$)("TreeSelect",ie=>{const le=(0,rn.mergeToken)(ie,{treePrefixCls:z});return[jt(le)]},en.TM)(T,Z)}var It=function(T,z){var Z={};for(var ie in T)Object.prototype.hasOwnProperty.call(T,ie)&&z.indexOf(ie)<0&&(Z[ie]=T[ie]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ie=Object.getOwnPropertySymbols(T);le{var Z;const{prefixCls:ie,size:le,disabled:$e,bordered:ot=!0,className:Et,rootClassName:st,treeCheckable:Bt,multiple:kt,listHeight:He=256,listItemHeight:Be,placement:Ee,notFoundContent:Le,switcherIcon:Ie,treeLine:ze,getPopupContainer:he,popupClassName:je,dropdownClassName:tt,treeIcon:me=!1,transitionName:ye,choiceTransitionName:_e="",status:Ge,treeExpandAction:Se,builtinPlacements:ut,dropdownMatchSelectWidth:bt,popupMatchSelectWidth:Pt,allowClear:Yt,variant:sn,dropdownStyle:Mn,tagRender:xn,maxCount:an,showCheckedStrategy:hn,treeCheckStrictly:gn}=T,Lt=It(T,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:On,getPrefixCls:jn,renderEmpty:bn,direction:Fn,virtual:er,popupMatchSelectWidth:Cr,popupOverflow:sr}=h.useContext(Xe.E_),[,Rn]=(0,$t.ZP)(),or=Be!=null?Be:(Rn==null?void 0:Rn.controlHeightSM)+(Rn==null?void 0:Rn.paddingXXS),fr=jn(),nr=jn("select",ie),tr=jn("select-tree",ie),$n=jn("tree-select",ie),{compactSize:wr,compactItemClassnames:Dt}=(0,un.ri)(nr,Fn),Hr=(0,qe.Z)(nr),Rr=(0,qe.Z)($n),[kr,Wr,ea]=(0,rt.Z)(nr,Hr),[ar]=St($n,tr,Rr),[lr,Sn]=(0,Oe.Z)("treeSelect",sn,ot),Zt=P()(je||tt,`${$n}-dropdown`,{[`${$n}-dropdown-rtl`]:Fn==="rtl"},st,ea,Hr,Rr,Wr),qt=!!(Bt||kt),Xn=h.useMemo(()=>{if(!(an&&(hn==="SHOW_ALL"&&!gn||hn==="SHOW_PARENT")))return an},[an,hn,gn]),zn=(0,xt.Z)(T.suffixIcon,T.showArrow),hr=(Z=Pt!=null?Pt:bt)!==null&&Z!==void 0?Z:Cr,{status:Tr,hasFeedback:gr,isFormItemInput:Pr,feedbackIcon:et}=h.useContext(Ze.aM),Ft=(0,lt.F)(Tr,Ge),{suffixIcon:At,removeIcon:En,clearIcon:Qn}=(0,_t.Z)(Object.assign(Object.assign({},Lt),{multiple:qt,showSuffixIcon:zn,hasFeedback:gr,feedbackIcon:et,prefixCls:nr,componentName:"TreeSelect"})),mt=Yt===!0?{clearIcon:Qn}:Yt;let vr;Le!==void 0?vr=Le:vr=(bn==null?void 0:bn("Select"))||h.createElement(ft.Z,{componentName:"Select"});const Pn=(0,fe.Z)(Lt,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Jt=h.useMemo(()=>Ee!==void 0?Ee:Fn==="rtl"?"bottomRight":"bottomLeft",[Ee,Fn]),Vn=(0,vt.Z)(Gn=>{var br;return(br=le!=null?le:wr)!==null&&br!==void 0?br:Gn}),yr=h.useContext(yt.Z),Kn=$e!=null?$e:yr,pr=P()(!ie&&$n,{[`${nr}-lg`]:Vn==="large",[`${nr}-sm`]:Vn==="small",[`${nr}-rtl`]:Fn==="rtl",[`${nr}-${lr}`]:Sn,[`${nr}-in-form-item`]:Pr},(0,lt.Z)(nr,Ft,gr),Dt,Et,st,ea,Hr,Rr,Wr),Ln=Gn=>h.createElement(Ut.Z,{prefixCls:tr,switcherIcon:Ie,treeNodeProps:Gn,showLine:ze}),[Mr]=(0,be.Cn)("SelectLike",Mn==null?void 0:Mn.zIndex),mr=h.createElement(q,Object.assign({virtual:er,disabled:Kn},Pn,{dropdownMatchSelectWidth:hr,builtinPlacements:(0,Qe.Z)(ut,sr),ref:z,prefixCls:nr,className:pr,listHeight:He,listItemHeight:or,treeCheckable:Bt&&h.createElement("span",{className:`${nr}-tree-checkbox-inner`}),treeLine:!!ze,suffixIcon:At,multiple:qt,placement:Jt,removeIcon:En,allowClear:mt,switcherIcon:Ln,showTreeIcon:me,notFoundContent:vr,getPopupContainer:he||On,treeMotion:null,dropdownClassName:Zt,dropdownStyle:Object.assign(Object.assign({},Mn),{zIndex:Mr}),choiceTransitionName:(0,te.m)(fr,"",_e),transitionName:(0,te.m)(fr,"slide-up",ye),treeExpandAction:Se,tagRender:qt?xn:void 0,maxCount:Xn,showCheckedStrategy:hn,treeCheckStrictly:gn}));return kr(ar(mr))},dn=h.forwardRef(Rt),Dn=(0,ce.Z)(dn,"dropdownAlign",T=>(0,fe.Z)(T,["visible"]));dn.TreeNode=i,dn.SHOW_ALL=ge,dn.SHOW_PARENT=Ve,dn.SHOW_CHILD=Fe,dn._InternalPanelDoNotUseOrYouWillBeFired=Dn;var dt=dn},18287:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return se}});var h=O(3741),k=O(94480),P=O(59301),_=O(52671),N=O(8657),C=O(54476),m={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"},p=m,E=O(7657),d=function(ve,xe){return P.createElement(E.Z,(0,C.Z)({},ve,{ref:xe,icon:p}))},l=P.forwardRef(d),o=l,g=O(92310),r=O.n(g),n=O(82661),a=O(34061),c=O(48755),u=O(56082),s=O(86641),v=O(57700),e=O(12425);const t=4;function i(Q){const{dropPosition:ve,dropLevelOffset:xe,prefixCls:Ce,indent:De,direction:Ue="ltr"}=Q,Me=Ue==="ltr"?"left":"right",Je=Ue==="ltr"?"right":"left",Re={[Me]:-xe*De+t,[Je]:0};switch(ve){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[Me]=De+t;break}return P.createElement("div",{style:Re,className:`${Ce}-drop-indicator`})}var f=i,y=O(85278),x=P.forwardRef((Q,ve)=>{var xe;const{getPrefixCls:Ce,direction:De,virtual:Ue,tree:Me}=P.useContext(c.E_),{prefixCls:Je,className:Re,showIcon:ge=!1,showLine:Ve,switcherIcon:Fe,switcherLoadingIcon:Te,blockNode:We=!1,children:Ne,checkable:V=!1,selectable:$=!0,draggable:re,motion:ee,style:oe}=Q,q=Ce("tree",Je),fe=Ce(),be=ee!=null?ee:Object.assign(Object.assign({},(0,s.Z)(fe)),{motionAppear:!1}),te=Object.assign(Object.assign({},Q),{checkable:V,selectable:$,showIcon:ge,motion:be,blockNode:We,showLine:!!Ve,dropIndicatorRender:f}),[ce,lt,Xe]=(0,e.ZP)(q),[,ft]=(0,v.ZP)(),yt=ft.paddingXS/2+(((xe=ft.Tree)===null||xe===void 0?void 0:xe.titleHeight)||ft.controlHeightSM),qe=P.useMemo(()=>{if(!re)return!1;let Ze={};switch(typeof re){case"function":Ze.nodeDraggable=re;break;case"object":Ze=Object.assign({},re);break;default:break}return Ze.icon!==!1&&(Ze.icon=Ze.icon||P.createElement(u.Z,null)),Ze},[re]),vt=Ze=>P.createElement(y.Z,{prefixCls:q,switcherIcon:Fe,switcherLoadingIcon:Te,treeNodeProps:Ze,showLine:Ve});return ce(P.createElement(h.ZP,Object.assign({itemHeight:yt,ref:ve,virtual:Ue},te,{style:Object.assign(Object.assign({},Me==null?void 0:Me.style),oe),prefixCls:q,className:r()({[`${q}-icon-hide`]:!ge,[`${q}-block-node`]:We,[`${q}-unselectable`]:!$,[`${q}-rtl`]:De==="rtl"},Me==null?void 0:Me.className,Re,lt,Xe),direction:De,checkable:V&&P.createElement("span",{className:`${q}-checkbox-inner`}),selectable:$,switcherIcon:vt,draggable:qe}),Ne))});const A=0,w=1,L=2;function M(Q,ve,xe){const{key:Ce,children:De}=xe;function Ue(Me){const Je=Me[Ce],Re=Me[De];ve(Je,Me)!==!1&&M(Re||[],ve,xe)}Q.forEach(Ue)}function D(Q){let{treeData:ve,expandedKeys:xe,startKey:Ce,endKey:De,fieldNames:Ue}=Q;const Me=[];let Je=A;if(Ce&&Ce===De)return[Ce];if(!Ce||!De)return[];function Re(ge){return ge===Ce||ge===De}return M(ve,ge=>{if(Je===L)return!1;if(Re(ge)){if(Me.push(ge),Je===A)Je=w;else if(Je===w)return Je=L,!1}else Je===w&&Me.push(ge);return xe.includes(ge)},(0,a.w$)(Ue)),Me}function B(Q,ve,xe){const Ce=(0,k.Z)(ve),De=[];return M(Q,(Ue,Me)=>{const Je=Ce.indexOf(Ue);return Je!==-1&&(De.push(Me),Ce.splice(Je,1)),!!Ce.length},(0,a.w$)(xe)),De}var I=function(Q,ve){var xe={};for(var Ce in Q)Object.prototype.hasOwnProperty.call(Q,Ce)&&ve.indexOf(Ce)<0&&(xe[Ce]=Q[Ce]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Ce=Object.getOwnPropertySymbols(Q);De{var{defaultExpandAll:xe,defaultExpandParent:Ce,defaultExpandedKeys:De}=Q,Ue=I(Q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Me=P.useRef(null),Je=P.useRef(null),Re=()=>{const{keyEntities:ce}=(0,a.I8)(F(Ue));let lt;return xe?lt=Object.keys(ce):Ce?lt=(0,n.r7)(Ue.expandedKeys||De||[],ce):lt=Ue.expandedKeys||De||[],lt},[ge,Ve]=P.useState(Ue.selectedKeys||Ue.defaultSelectedKeys||[]),[Fe,Te]=P.useState(()=>Re());P.useEffect(()=>{"selectedKeys"in Ue&&Ve(Ue.selectedKeys)},[Ue.selectedKeys]),P.useEffect(()=>{"expandedKeys"in Ue&&Te(Ue.expandedKeys)},[Ue.expandedKeys]);const We=(ce,lt)=>{var Xe;return"expandedKeys"in Ue||Te(ce),(Xe=Ue.onExpand)===null||Xe===void 0?void 0:Xe.call(Ue,ce,lt)},Ne=(ce,lt)=>{var Xe;const{multiple:ft,fieldNames:yt}=Ue,{node:qe,nativeEvent:vt}=lt,{key:Ze=""}=qe,Oe=F(Ue),Qe=Object.assign(Object.assign({},lt),{selected:!0}),rt=(vt==null?void 0:vt.ctrlKey)||(vt==null?void 0:vt.metaKey),_t=vt==null?void 0:vt.shiftKey;let xt;ft&&rt?(xt=ce,Me.current=Ze,Je.current=xt,Qe.selectedNodes=B(Oe,xt,yt)):ft&&_t?(xt=Array.from(new Set([].concat((0,k.Z)(Je.current||[]),(0,k.Z)(D({treeData:Oe,expandedKeys:Fe,startKey:Ze,endKey:Me.current,fieldNames:yt}))))),Qe.selectedNodes=B(Oe,xt,yt)):(xt=[Ze],Me.current=Ze,Je.current=xt,Qe.selectedNodes=B(Oe,xt,yt)),(Xe=Ue.onSelect)===null||Xe===void 0||Xe.call(Ue,xt,Qe),"selectedKeys"in Ue||Ve(xt)},{getPrefixCls:V,direction:$}=P.useContext(c.E_),{prefixCls:re,className:ee,showIcon:oe=!0,expandAction:q="click"}=Ue,fe=I(Ue,["prefixCls","className","showIcon","expandAction"]),be=V("tree",re),te=r()(`${be}-directory`,{[`${be}-directory-rtl`]:$==="rtl"},ee);return P.createElement(x,Object.assign({icon:U,ref:ve,blockNode:!0},fe,{showIcon:oe,expandAction:q,prefixCls:be,className:te,expandedKeys:Fe,selectedKeys:ge,onSelect:Ne,onExpand:We}))};var X=P.forwardRef(K);const Y=x;Y.DirectoryTree=X,Y.TreeNode=h.OF;var se=Y},12425:function(Nn,pt,O){"use strict";O.d(pt,{ZP:function(){return n},Yk:function(){return o},TM:function(){return g}});var h=O(36237),k=O(36170),P=O(63356),_=O(34961),N=O(51636),C=O(16931);const m=a=>{let{treeCls:c,treeNodeCls:u,directoryNodeSelectedBg:s,directoryNodeSelectedColor:v,motionDurationMid:e,borderRadius:t,controlItemBgHover:i}=a;return{[`${c}${c}-directory ${u}`]:{[`${c}-node-content-wrapper`]:{position:"static",[`> *:not(${c}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${e}`,content:'""',borderRadius:t},"&:hover:before":{background:i}},[`${c}-switcher, ${c}-checkbox, ${c}-draggable-icon`]:{zIndex:1},"&-selected":{[`${c}-switcher, ${c}-draggable-icon`]:{color:v},[`${c}-node-content-wrapper`]:{color:v,background:"transparent","&:before, &:hover:before":{background:s}}}}}},p=new h.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),E=(a,c)=>({[`.${a}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${c.motionDurationSlow}`}}}),d=(a,c)=>({[`.${a}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:c.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,h.unit)(c.lineWidthBold)} solid ${c.colorPrimary}`,borderRadius:"50%",content:'""'}}}),l=(a,c)=>{const{treeCls:u,treeNodeCls:s,treeNodePadding:v,titleHeight:e,indentSize:t,nodeSelectedBg:i,nodeHoverBg:f,colorTextQuaternary:y,controlItemBgActiveDisabled:b}=c;return{[u]:Object.assign(Object.assign({},(0,P.Wf)(c)),{background:c.colorBgContainer,borderRadius:c.borderRadius,transition:`background-color ${c.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${u}-rtl ${u}-switcher_close ${u}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${u}-active-focused)`]:Object.assign({},(0,P.oN)(c)),[`${u}-list-holder-inner`]:{alignItems:"flex-start"},[`&${u}-block-node`]:{[`${u}-list-holder-inner`]:{alignItems:"stretch",[`${u}-node-content-wrapper`]:{flex:"auto"},[`${s}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${c.colorPrimary}`,opacity:0,animationName:p,animationDuration:c.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:c.borderRadius}}},[s]:{display:"flex",alignItems:"flex-start",marginBottom:v,lineHeight:(0,h.unit)(e),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:v},[`&-disabled ${u}-node-content-wrapper`]:{color:c.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${u}-checkbox-disabled + ${u}-node-selected,&${s}-disabled${s}-selected ${u}-node-content-wrapper`]:{backgroundColor:b},[`${u}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${s}-disabled)`]:{[`${u}-node-content-wrapper`]:{"&:hover":{color:c.nodeHoverColor}}},[`&-active ${u}-node-content-wrapper`]:{background:c.controlItemBgHover},[`&:not(${s}-disabled).filter-node ${u}-title`]:{color:c.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${u}-draggable-icon`]:{flexShrink:0,width:e,textAlign:"center",visibility:"visible",color:y},[`&${s}-disabled ${u}-draggable-icon`]:{visibility:"hidden"}}},[`${u}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:t}},[`${u}-draggable-icon`]:{visibility:"hidden"},[`${u}-switcher, ${u}-checkbox`]:{marginInlineEnd:c.calc(c.calc(e).sub(c.controlInteractiveSize)).div(2).equal()},[`${u}-switcher`]:Object.assign(Object.assign({},E(a,c)),{position:"relative",flex:"none",alignSelf:"stretch",width:e,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${c.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:e,height:e,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:c.borderRadius,transition:`all ${c.motionDurationSlow}`},[`&:not(${u}-switcher-noop):hover:before`]:{backgroundColor:c.colorBgTextHover},[`&_close ${u}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:c.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:c.calc(e).div(2).equal(),bottom:c.calc(v).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:c.calc(c.calc(e).div(2).equal()).mul(.8).equal(),height:c.calc(e).div(2).equal(),borderBottom:`1px solid ${c.colorBorder}`,content:'""'}}}),[`${u}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:e,paddingBlock:0,paddingInline:c.paddingXS,background:"transparent",borderRadius:c.borderRadius,cursor:"pointer",transition:`all ${c.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},d(a,c)),{"&:hover":{backgroundColor:f},[`&${u}-node-selected`]:{color:c.nodeSelectedColor,backgroundColor:i},[`${u}-iconEle`]:{display:"inline-block",width:e,height:e,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${u}-unselectable ${u}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${s}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${c.colorPrimary}`},"&-show-line":{[`${u}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:c.calc(e).div(2).equal(),bottom:c.calc(v).mul(-1).equal(),borderInlineEnd:`1px solid ${c.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${u}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${s}-leaf-last ${u}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,h.unit)(c.calc(e).div(2).equal())} !important`}})}},o=function(a,c){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const s=`.${a}`,v=`${s}-treenode`,e=c.calc(c.paddingXS).div(2).equal(),t=(0,N.mergeToken)(c,{treeCls:s,treeNodeCls:v,treeNodePadding:e});return[l(a,t),u&&m(t)].filter(Boolean)},g=a=>{const{controlHeightSM:c,controlItemBgHover:u,controlItemBgActive:s}=a,v=c;return{titleHeight:v,indentSize:v,nodeHoverBg:u,nodeHoverColor:a.colorText,nodeSelectedBg:s,nodeSelectedColor:a.colorText}},r=a=>{const{colorTextLightSolid:c,colorPrimary:u}=a;return Object.assign(Object.assign({},g(a)),{directoryNodeSelectedColor:c,directoryNodeSelectedBg:u})};var n=(0,C.I$)("Tree",(a,c)=>{let{prefixCls:u}=c;return[{[a.componentCls]:(0,k.C2)(`${u}-checkbox`,a)},o(u,a),(0,_.Z)(a)]},r)},85278:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return c}});var h=O(59301),k=O(54476),P={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"},_=P,N=O(7657),C=function(s,v){return h.createElement(N.Z,(0,k.Z)({},s,{ref:v,icon:_}))},m=h.forwardRef(C),p=m,E=O(52671),d=O(58617),l=O(15075),o=O(43531),g=O(92310),r=O.n(g),n=O(22703),c=u=>{const{prefixCls:s,switcherIcon:v,treeNodeProps:e,showLine:t,switcherLoadingIcon:i}=u,{isLeaf:f,expanded:y,loading:b}=e;if(b)return h.isValidElement(i)?i:h.createElement(d.Z,{className:`${s}-switcher-loading-icon`});let x;if(t&&typeof t=="object"&&(x=t.showLeafIcon),f){if(!t)return null;if(typeof x!="boolean"&&x){const L=typeof x=="function"?x(e):x,M=`${s}-switcher-line-custom-icon`;return h.isValidElement(L)?(0,n.Tm)(L,{className:r()(L.props.className||"",M)}):L}return x?h.createElement(E.Z,{className:`${s}-switcher-line-icon`}):h.createElement("span",{className:`${s}-switcher-leaf-line`})}const A=`${s}-switcher-icon`,w=typeof v=="function"?v(e):v;return h.isValidElement(w)?(0,n.Tm)(w,{className:r()(w.props.className||"",A)}):w!==void 0?w:t?y?h.createElement(l.Z,{className:`${s}-switcher-line-icon`}):h.createElement(o.Z,{className:`${s}-switcher-line-icon`}):h.createElement(p,{className:A})}},94968:function(Nn,pt,O){"use strict";O.d(pt,{default:function(){return ze}});var h=O(59301),k=O(94480),P=O(4676),_=O(92310),N=O.n(_),C=O(54476),m=O(67732),p=O(83652),E=O(31226),d=O(42403),l=O(158),o=O(20068),g=O(33885),r=O(75931),n=O(76190),a=O(75044),c=O(3202),u=O(26112),s=O(48736),v=function(he,je){if(he&&je){var tt=Array.isArray(je)?je:je.split(","),me=he.name||"",ye=he.type||"",_e=ye.replace(/\/.*$/,"");return tt.some(function(Ge){var Se=Ge.trim();if(/^\*(\/\*)?$/.test(Ge))return!0;if(Se.charAt(0)==="."){var ut=me.toLowerCase(),bt=Se.toLowerCase(),Pt=[bt];return(bt===".jpg"||bt===".jpeg")&&(Pt=[".jpg",".jpeg"]),Pt.some(function(Yt){return ut.endsWith(Yt)})}return/\/\*$/.test(Se)?_e===Se.replace(/\/.*$/,""):ye===Se?!0:/^\w+$/.test(Se)?((0,s.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Se,"'.Skip for check.")),!0):!1})}return!0};function e(he,je){var tt="cannot ".concat(he.method," ").concat(he.action," ").concat(je.status,"'"),me=new Error(tt);return me.status=je.status,me.method=he.method,me.url=he.action,me}function t(he){var je=he.responseText||he.response;if(!je)return je;try{return JSON.parse(je)}catch(tt){return je}}function i(he){var je=new XMLHttpRequest;he.onProgress&&je.upload&&(je.upload.onprogress=function(_e){_e.total>0&&(_e.percent=_e.loaded/_e.total*100),he.onProgress(_e)});var tt=new FormData;he.data&&Object.keys(he.data).forEach(function(ye){var _e=he.data[ye];if(Array.isArray(_e)){_e.forEach(function(Ge){tt.append("".concat(ye,"[]"),Ge)});return}tt.append(ye,_e)}),he.file instanceof Blob?tt.append(he.filename,he.file,he.file.name):tt.append(he.filename,he.file),je.onerror=function(_e){he.onError(_e)},je.onload=function(){return je.status<200||je.status>=300?he.onError(e(he,je),t(je)):he.onSuccess(t(je),je)},je.open(he.method,he.action,!0),he.withCredentials&&"withCredentials"in je&&(je.withCredentials=!0);var me=he.headers||{};return me["X-Requested-With"]!==null&&je.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(me).forEach(function(ye){me[ye]!==null&&je.setRequestHeader(ye,me[ye])}),je.send(tt),{abort:function(){je.abort()}}}var f=function(){var he=(0,c.Z)((0,a.Z)().mark(function je(tt,me){var ye,_e,Ge,Se,ut,bt,Pt,Yt;return(0,a.Z)().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:bt=function(){return bt=(0,c.Z)((0,a.Z)().mark(function an(hn){return(0,a.Z)().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Lt.abrupt("return",new Promise(function(On){hn.file(function(jn){me(jn)?(hn.fullPath&&!jn.webkitRelativePath&&(Object.defineProperties(jn,{webkitRelativePath:{writable:!0}}),jn.webkitRelativePath=hn.fullPath.replace(/^\//,""),Object.defineProperties(jn,{webkitRelativePath:{writable:!1}})),On(jn)):On(null)})}));case 1:case"end":return Lt.stop()}},an)})),bt.apply(this,arguments)},ut=function(an){return bt.apply(this,arguments)},Se=function(){return Se=(0,c.Z)((0,a.Z)().mark(function an(hn){var gn,Lt,On,jn,bn;return(0,a.Z)().wrap(function(er){for(;;)switch(er.prev=er.next){case 0:gn=hn.createReader(),Lt=[];case 2:return er.next=5,new Promise(function(Cr){gn.readEntries(Cr,function(){return Cr([])})});case 5:if(On=er.sent,jn=On.length,jn){er.next=9;break}return er.abrupt("break",12);case 9:for(bn=0;bn{const{componentCls:je,iconCls:tt}=he;return{[`${je}-wrapper`]:{[`${je}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:he.colorFillAlter,border:`${(0,Ce.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[je]:{padding:he.padding},[`${je}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:he.borderRadiusLG,"&:focus-visible":{outline:`${(0,Ce.unit)(he.lineWidthFocus)} solid ${he.colorPrimaryBorder}`}},[`${je}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${je}-disabled):hover, &-hover:not(${je}-disabled) `]:{borderColor:he.colorPrimaryHover},[`p${je}-drag-icon`]:{marginBottom:he.margin,[tt]:{color:he.colorPrimary,fontSize:he.uploadThumbnailSize}},[`p${je}-text`]:{margin:`0 0 ${(0,Ce.unit)(he.marginXXS)}`,color:he.colorTextHeading,fontSize:he.fontSizeLG},[`p${je}-hint`]:{color:he.colorTextDescription,fontSize:he.fontSize},[`&${je}-disabled`]:{[`p${je}-drag-icon ${tt}, p${je}-text, p${je}-hint `]:{color:he.colorTextDisabled}}}}}},Je=he=>{const{componentCls:je,iconCls:tt,fontSize:me,lineHeight:ye,calc:_e}=he,Ge=`${je}-list-item`,Se=`${Ge}-actions`,ut=`${Ge}-action`;return{[`${je}-wrapper`]:{[`${je}-list`]:Object.assign(Object.assign({},(0,se.dF)()),{lineHeight:he.lineHeight,[Ge]:{position:"relative",height:_e(he.lineHeight).mul(me).equal(),marginTop:he.marginXS,fontSize:me,display:"flex",alignItems:"center",transition:`background-color ${he.motionDurationSlow}`,borderRadius:he.borderRadiusSM,"&:hover":{backgroundColor:he.controlItemBgHover},[`${Ge}-name`]:Object.assign(Object.assign({},se.vS),{padding:`0 ${(0,Ce.unit)(he.paddingXS)}`,lineHeight:ye,flex:"auto",transition:`all ${he.motionDurationSlow}`}),[Se]:{whiteSpace:"nowrap",[ut]:{opacity:0},[tt]:{color:he.actionsColor,transition:`all ${he.motionDurationSlow}`},[` ${ut}:focus-visible, &.picture ${ut} `]:{opacity:1}},[`${je}-icon ${tt}`]:{color:he.colorTextDescription,fontSize:me},[`${Ge}-progress`]:{position:"absolute",bottom:he.calc(he.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:_e(me).add(he.paddingXS).equal(),fontSize:me,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ge}:hover ${ut}`]:{opacity:1},[`${Ge}-error`]:{color:he.colorError,[`${Ge}-name, ${je}-icon ${tt}`]:{color:he.colorError},[Se]:{[`${tt}, ${tt}:hover`]:{color:he.colorError},[ut]:{opacity:1}}},[`${je}-list-item-container`]:{transition:`opacity ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Re=O(99495),Ve=he=>{const{componentCls:je}=he,tt=new Ce.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),me=new Ce.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),ye=`${je}-animate-inline`;return[{[`${je}-wrapper`]:{[`${ye}-appear, ${ye}-enter, ${ye}-leave`]:{animationDuration:he.motionDurationSlow,animationTimingFunction:he.motionEaseInOutCirc,animationFillMode:"forwards"},[`${ye}-appear, ${ye}-enter`]:{animationName:tt},[`${ye}-leave`]:{animationName:me}}},{[`${je}-wrapper`]:(0,Re.J$)(he)},tt,me]},Fe=O(68361);const Te=he=>{const{componentCls:je,iconCls:tt,uploadThumbnailSize:me,uploadProgressOffset:ye,calc:_e}=he,Ge=`${je}-list`,Se=`${Ge}-item`;return{[`${je}-wrapper`]:{[` ${Ge}${Ge}-picture, ${Ge}${Ge}-picture-card, ${Ge}${Ge}-picture-circle `]:{[Se]:{position:"relative",height:_e(me).add(_e(he.lineWidth).mul(2)).add(_e(he.paddingXS).mul(2)).equal(),padding:he.paddingXS,border:`${(0,Ce.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusLG,"&:hover":{background:"transparent"},[`${Se}-thumbnail`]:Object.assign(Object.assign({},se.vS),{width:me,height:me,lineHeight:(0,Ce.unit)(_e(me).add(he.paddingSM).equal()),textAlign:"center",flex:"none",[tt]:{fontSize:he.fontSizeHeading2,color:he.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Se}-progress`]:{bottom:ye,width:`calc(100% - ${(0,Ce.unit)(_e(he.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:_e(me).add(he.paddingXS).equal()}},[`${Se}-error`]:{borderColor:he.colorError,[`${Se}-thumbnail ${tt}`]:{[`svg path[fill='${Fe.blue[0]}']`]:{fill:he.colorErrorBg},[`svg path[fill='${Fe.blue.primary}']`]:{fill:he.colorError}}},[`${Se}-uploading`]:{borderStyle:"dashed",[`${Se}-name`]:{marginBottom:ye}}},[`${Ge}${Ge}-picture-circle ${Se}`]:{[`&, &::before, ${Se}-thumbnail`]:{borderRadius:"50%"}}}}},We=he=>{const{componentCls:je,iconCls:tt,fontSizeLG:me,colorTextLightSolid:ye,calc:_e}=he,Ge=`${je}-list`,Se=`${Ge}-item`,ut=he.uploadPicCardSize;return{[` ${je}-wrapper${je}-picture-card-wrapper, ${je}-wrapper${je}-picture-circle-wrapper `]:Object.assign(Object.assign({},(0,se.dF)()),{display:"block",[`${je}${je}-select`]:{width:ut,height:ut,textAlign:"center",verticalAlign:"top",backgroundColor:he.colorFillAlter,border:`${(0,Ce.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[`> ${je}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${je}-disabled):hover`]:{borderColor:he.colorPrimary}},[`${Ge}${Ge}-picture-card, ${Ge}${Ge}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:he.marginXS,marginInlineEnd:he.marginXS}},"@supports (gap: 1px)":{gap:he.marginXS},[`${Ge}-item-container`]:{display:"inline-block",width:ut,height:ut,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[Se]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Ce.unit)(_e(he.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Ce.unit)(_e(he.paddingXS).mul(2).equal())})`,backgroundColor:he.colorBgMask,opacity:0,transition:`all ${he.motionDurationSlow}`,content:'" "'}},[`${Se}:hover`]:{[`&::before, ${Se}-actions`]:{opacity:1}},[`${Se}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${he.motionDurationSlow}`,[` ${tt}-eye, ${tt}-download, ${tt}-delete `]:{zIndex:10,width:me,margin:`0 ${(0,Ce.unit)(he.marginXXS)}`,fontSize:me,cursor:"pointer",transition:`all ${he.motionDurationSlow}`,color:ye,"&:hover":{color:ye},svg:{verticalAlign:"baseline"}}},[`${Se}-thumbnail, ${Se}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Se}-name`]:{display:"none",textAlign:"center"},[`${Se}-file + ${Se}-name`]:{position:"absolute",bottom:he.margin,display:"block",width:`calc(100% - ${(0,Ce.unit)(_e(he.paddingXS).mul(2).equal())})`},[`${Se}-uploading`]:{[`&${Se}`]:{backgroundColor:he.colorFillAlter},[`&::before, ${tt}-eye, ${tt}-download, ${tt}-delete`]:{display:"none"}},[`${Se}-progress`]:{bottom:he.marginXL,width:`calc(100% - ${(0,Ce.unit)(_e(he.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${je}-wrapper${je}-picture-circle-wrapper`]:{[`${je}${je}-select`]:{borderRadius:"50%"}}}};var V=he=>{const{componentCls:je}=he;return{[`${je}-rtl`]:{direction:"rtl"}}};const $=he=>{const{componentCls:je,colorTextDisabled:tt}=he;return{[`${je}-wrapper`]:Object.assign(Object.assign({},(0,se.Wf)(he)),{[je]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${je}-select`]:{display:"inline-block"},[`${je}-hidden`]:{display:"none"},[`${je}-disabled`]:{color:tt,cursor:"not-allowed"}})}},re=he=>({actionsColor:he.colorTextDescription});var ee=(0,ve.I$)("Upload",he=>{const{fontSizeHeading3:je,fontHeight:tt,lineWidth:me,controlHeightLG:ye,calc:_e}=he,Ge=(0,xe.mergeToken)(he,{uploadThumbnailSize:_e(je).mul(2).equal(),uploadProgressOffset:_e(_e(tt).div(2)).add(me).equal(),uploadPicCardSize:_e(ye).mul(2.55).equal()});return[$(Ge),Ue(Ge),Te(Ge),We(Ge),Je(Ge),Ve(Ge),V(Ge),(0,Q.Z)(Ge)]},re),oe={icon:function(je,tt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:tt}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:je}}]}},name:"file",theme:"twotone"},q=oe,fe=O(7657),be=function(je,tt){return h.createElement(fe.Z,(0,C.Z)({},je,{ref:tt,icon:q}))},te=h.forwardRef(be),ce=te,lt=O(58617),Xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ft=Xe,yt=function(je,tt){return h.createElement(fe.Z,(0,C.Z)({},je,{ref:tt,icon:ft}))},qe=h.forwardRef(yt),vt=qe,Ze={icon:function(je,tt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:je}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:tt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:tt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:tt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:je}}]}},name:"picture",theme:"twotone"},Oe=Ze,Qe=function(je,tt){return h.createElement(fe.Z,(0,C.Z)({},je,{ref:tt,icon:Oe}))},rt=h.forwardRef(Qe),_t=rt,xt=O(77900),un=O(2738),$t=O(40192),Ut=O(86641),mn=O(22703),Bn=O(7939);function rn(he){return Object.assign(Object.assign({},he),{lastModified:he.lastModified,lastModifiedDate:he.lastModifiedDate,name:he.name,size:he.size,type:he.type,uid:he.uid,percent:0,originFileObj:he})}function Tn(he,je){const tt=(0,k.Z)(je),me=tt.findIndex(ye=>{let{uid:_e}=ye;return _e===he.uid});return me===-1?tt.push(he):tt[me]=he,tt}function en(he,je){const tt=he.uid!==void 0?"uid":"name";return je.filter(me=>me[tt]===he[tt])[0]}function jt(he,je){const tt=he.uid!==void 0?"uid":"name",me=je.filter(ye=>ye[tt]!==he[tt]);return me.length===je.length?null:me}const Xt=function(){const je=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),me=je[je.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(me)||[""])[0]},St=he=>he.indexOf("image/")===0,It=he=>{if(he.type&&!he.thumbUrl)return St(he.type);const je=he.thumbUrl||he.url||"",tt=Xt(je);return/^data:image\//.test(je)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tt)?!0:!(/^data:/.test(je)||tt)},Rt=200;function Wt(he){return new Promise(je=>{if(!he.type||!St(he.type)){je("");return}const tt=document.createElement("canvas");tt.width=Rt,tt.height=Rt,tt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Rt}px; height: ${Rt}px; z-index: 9999; display: none;`,document.body.appendChild(tt);const me=tt.getContext("2d"),ye=new Image;if(ye.onload=()=>{const{width:_e,height:Ge}=ye;let Se=Rt,ut=Rt,bt=0,Pt=0;_e>Ge?(ut=Ge*(Rt/_e),Pt=-(ut-Se)/2):(Se=_e*(Rt/Ge),bt=-(Se-ut)/2),me.drawImage(ye,bt,Pt,Se,ut);const Yt=tt.toDataURL();document.body.removeChild(tt),window.URL.revokeObjectURL(ye.src),je(Yt)},ye.crossOrigin="anonymous",he.type.startsWith("image/svg+xml")){const _e=new FileReader;_e.onload=()=>{_e.result&&typeof _e.result=="string"&&(ye.src=_e.result)},_e.readAsDataURL(he)}else if(he.type.startsWith("image/gif")){const _e=new FileReader;_e.onload=()=>{_e.result&&je(_e.result)},_e.readAsDataURL(he)}else ye.src=window.URL.createObjectURL(he)})}var dn=O(26227),Dn=O(41464),dt=O(15277),T=O(89787),z=O(25399),ie=h.forwardRef((he,je)=>{let{prefixCls:tt,className:me,style:ye,locale:_e,listType:Ge,file:Se,items:ut,progress:bt,iconRender:Pt,actionIconRender:Yt,itemRender:sn,isImgUrl:Mn,showPreviewIcon:xn,showRemoveIcon:an,showDownloadIcon:hn,previewIcon:gn,removeIcon:Lt,downloadIcon:On,extra:jn,onPreview:bn,onDownload:Fn,onClose:er}=he;var Cr,sr;const{status:Rn}=Se,[or,fr]=h.useState(Rn);h.useEffect(()=>{Rn!=="removed"&&fr(Rn)},[Rn]);const[nr,tr]=h.useState(!1);h.useEffect(()=>{const Pr=setTimeout(()=>{tr(!0)},300);return()=>{clearTimeout(Pr)}},[]);const $n=Pt(Se);let wr=h.createElement("div",{className:`${tt}-icon`},$n);if(Ge==="picture"||Ge==="picture-card"||Ge==="picture-circle")if(or==="uploading"||!Se.thumbUrl&&!Se.url){const Pr=N()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:or!=="uploading"});wr=h.createElement("div",{className:Pr},$n)}else{const Pr=Mn!=null&&Mn(Se)?h.createElement("img",{src:Se.thumbUrl||Se.url,alt:Se.name,className:`${tt}-list-item-image`,crossOrigin:Se.crossOrigin}):$n,et=N()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:Mn&&!Mn(Se)});wr=h.createElement("a",{className:et,onClick:Ft=>bn(Se,Ft),href:Se.url||Se.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pr)}const Dt=N()(`${tt}-list-item`,`${tt}-list-item-${or}`),Hr=typeof Se.linkProps=="string"?JSON.parse(Se.linkProps):Se.linkProps,Rr=(typeof an=="function"?an(Se):an)?Yt((typeof Lt=="function"?Lt(Se):Lt)||h.createElement(dn.Z,null),()=>er(Se),tt,_e.removeFile,!0):null,kr=(typeof hn=="function"?hn(Se):hn)&&or==="done"?Yt((typeof On=="function"?On(Se):On)||h.createElement(Dn.Z,null),()=>Fn(Se),tt,_e.downloadFile):null,Wr=Ge!=="picture-card"&&Ge!=="picture-circle"&&h.createElement("span",{key:"download-delete",className:N()(`${tt}-list-item-actions`,{picture:Ge==="picture"})},kr,Rr),ea=typeof jn=="function"?jn(Se):jn,ar=ea&&h.createElement("span",{className:`${tt}-list-item-extra`},ea),lr=N()(`${tt}-list-item-name`),Sn=Se.url?h.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:lr,title:Se.name},Hr,{href:Se.url,onClick:Pr=>bn(Se,Pr)}),Se.name,ar):h.createElement("span",{key:"view",className:lr,onClick:Pr=>bn(Se,Pr),title:Se.name},Se.name,ar),Zt=(typeof xn=="function"?xn(Se):xn)&&(Se.url||Se.thumbUrl)?h.createElement("a",{href:Se.url||Se.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Pr=>bn(Se,Pr),title:_e.previewFile},typeof gn=="function"?gn(Se):gn||h.createElement(dt.Z,null)):null,qt=(Ge==="picture-card"||Ge==="picture-circle")&&or!=="uploading"&&h.createElement("span",{className:`${tt}-list-item-actions`},Zt,or==="done"&&kr,Rr),{getPrefixCls:Xn}=h.useContext(K.E_),zn=Xn(),hr=h.createElement("div",{className:Dt},wr,Sn,Wr,qt,nr&&h.createElement(xt.default,{motionName:`${zn}-fade`,visible:or==="uploading",motionDeadline:2e3},Pr=>{let{className:et}=Pr;const Ft="percent"in Se?h.createElement(T.Z,Object.assign({},bt,{type:"line",percent:Se.percent,"aria-label":Se["aria-label"],"aria-labelledby":Se["aria-labelledby"]})):null;return h.createElement("div",{className:N()(`${tt}-list-item-progress`,et)},Ft)})),Tr=Se.response&&typeof Se.response=="string"?Se.response:((Cr=Se.error)===null||Cr===void 0?void 0:Cr.statusText)||((sr=Se.error)===null||sr===void 0?void 0:sr.message)||_e.uploadError,gr=or==="error"?h.createElement(z.Z,{title:Tr,getPopupContainer:Pr=>Pr.parentNode},hr):hr;return h.createElement("div",{className:N()(`${tt}-list-item-container`,me),style:ye,ref:je},sn?sn(gr,Se,ut,{download:Fn.bind(null,Se),preview:bn.bind(null,Se),remove:er.bind(null,Se)}):gr)});const le=(he,je)=>{const{listType:tt="text",previewFile:me=Wt,onPreview:ye,onDownload:_e,onRemove:Ge,locale:Se,iconRender:ut,isImageUrl:bt=It,prefixCls:Pt,items:Yt=[],showPreviewIcon:sn=!0,showRemoveIcon:Mn=!0,showDownloadIcon:xn=!1,removeIcon:an,previewIcon:hn,downloadIcon:gn,extra:Lt,progress:On={size:[-1,2],showInfo:!1},appendAction:jn,appendActionVisible:bn=!0,itemRender:Fn,disabled:er}=he,Cr=(0,$t.Z)(),[sr,Rn]=h.useState(!1),or=["picture-card","picture-circle"].includes(tt);h.useEffect(()=>{tt.startsWith("picture")&&(Yt||[]).forEach(ar=>{!(ar.originFileObj instanceof File||ar.originFileObj instanceof Blob)||ar.thumbUrl!==void 0||(ar.thumbUrl="",me==null||me(ar.originFileObj).then(lr=>{ar.thumbUrl=lr||"",Cr()}))})},[tt,Yt,me]),h.useEffect(()=>{Rn(!0)},[]);const fr=(ar,lr)=>{if(ye)return lr==null||lr.preventDefault(),ye(ar)},nr=ar=>{typeof _e=="function"?_e(ar):ar.url&&window.open(ar.url)},tr=ar=>{Ge==null||Ge(ar)},$n=ar=>{if(ut)return ut(ar,tt);const lr=ar.status==="uploading";if(tt.startsWith("picture")){const Sn=tt==="picture"?h.createElement(lt.Z,null):Se.uploading,Zt=bt!=null&&bt(ar)?h.createElement(_t,null):h.createElement(ce,null);return lr?Sn:Zt}return lr?h.createElement(lt.Z,null):h.createElement(vt,null)},wr=(ar,lr,Sn,Zt,qt)=>{const Xn={type:"text",size:"small",title:Zt,onClick:zn=>{var hr,Tr;lr(),h.isValidElement(ar)&&((Tr=(hr=ar.props).onClick)===null||Tr===void 0||Tr.call(hr,zn))},className:`${Sn}-list-item-action`};return qt&&(Xn.disabled=er),h.isValidElement(ar)?h.createElement(Bn.ZP,Object.assign({},Xn,{icon:(0,mn.Tm)(ar,Object.assign(Object.assign({},ar.props),{onClick:()=>{}}))})):h.createElement(Bn.ZP,Object.assign({},Xn),h.createElement("span",null,ar))};h.useImperativeHandle(je,()=>({handlePreview:fr,handleDownload:nr}));const{getPrefixCls:Dt}=h.useContext(K.E_),Hr=Dt("upload",Pt),Rr=Dt(),kr=N()(`${Hr}-list`,`${Hr}-list-${tt}`),Wr=h.useMemo(()=>(0,un.Z)((0,Ut.Z)(Rr),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Rr]),ea=Object.assign(Object.assign({},or?{}:Wr),{motionDeadline:2e3,motionName:`${Hr}-${or?"animate-inline":"animate"}`,keys:(0,k.Z)(Yt.map(ar=>({key:ar.uid,file:ar}))),motionAppear:sr});return h.createElement("div",{className:kr},h.createElement(xt.CSSMotionList,Object.assign({},ea,{component:!1}),ar=>{let{key:lr,file:Sn,className:Zt,style:qt}=ar;return h.createElement(ie,{key:lr,locale:Se,prefixCls:Hr,className:Zt,style:qt,file:Sn,items:Yt,progress:On,listType:tt,isImgUrl:bt,showPreviewIcon:sn,showRemoveIcon:Mn,showDownloadIcon:xn,removeIcon:an,previewIcon:hn,downloadIcon:gn,extra:Lt,iconRender:$n,actionIconRender:wr,itemRender:Fn,onPreview:fr,onDownload:nr,onClose:tr})}),jn&&h.createElement(xt.default,Object.assign({},ea,{visible:bn,forceRender:!0}),ar=>{let{className:lr,style:Sn}=ar;return(0,mn.Tm)(jn,Zt=>({className:N()(Zt.className,lr),style:Object.assign(Object.assign(Object.assign({},Sn),{pointerEvents:lr?"none":void 0}),Zt.style)}))}))};var ot=h.forwardRef(le),Et=function(he,je,tt,me){function ye(_e){return _e instanceof tt?_e:new tt(function(Ge){Ge(_e)})}return new(tt||(tt=Promise))(function(_e,Ge){function Se(Pt){try{bt(me.next(Pt))}catch(Yt){Ge(Yt)}}function ut(Pt){try{bt(me.throw(Pt))}catch(Yt){Ge(Yt)}}function bt(Pt){Pt.done?_e(Pt.value):ye(Pt.value).then(Se,ut)}bt((me=me.apply(he,je||[])).next())})};const st=`__LIST_IGNORE_${Date.now()}__`,Bt=(he,je)=>{const{fileList:tt,defaultFileList:me,onRemove:ye,showUploadList:_e=!0,listType:Ge="text",onPreview:Se,onDownload:ut,onChange:bt,onDrop:Pt,previewFile:Yt,disabled:sn,locale:Mn,iconRender:xn,isImageUrl:an,progress:hn,prefixCls:gn,className:Lt,type:On="select",children:jn,style:bn,itemRender:Fn,maxCount:er,data:Cr={},multiple:sr=!1,hasControlInside:Rn=!0,action:or="",accept:fr="",supportServerRender:nr=!0,rootClassName:tr}=he,$n=h.useContext(j.Z),wr=sn!=null?sn:$n,[Dt,Hr]=(0,F.Z)(me||[],{value:tt,postState:Jn=>Jn!=null?Jn:[]}),[Rr,kr]=h.useState("drop"),Wr=h.useRef(null),ea=h.useRef(null);h.useMemo(()=>{const Jn=Date.now();(tt||[]).forEach((Er,ra)=>{!Er.uid&&!Object.isFrozen(Er)&&(Er.uid=`__AUTO__${Jn}_${ra}__`)})},[tt]);const ar=(Jn,Er,ra)=>{let Gr=(0,k.Z)(Er),Dr=!1;er===1?Gr=Gr.slice(-1):er&&(Dr=Gr.length>er,Gr=Gr.slice(0,er)),(0,P.flushSync)(()=>{Hr(Gr)});const ur={file:Jn,fileList:Gr};ra&&(ur.event=ra),(!Dr||Jn.status==="removed"||Gr.some(ca=>ca.uid===Jn.uid))&&(0,P.flushSync)(()=>{bt==null||bt(ur)})},lr=(Jn,Er)=>Et(void 0,void 0,void 0,function*(){const{beforeUpload:ra,transformFile:Gr}=he;let Dr=Jn;if(ra){const ur=yield ra(Jn,Er);if(ur===!1)return!1;if(delete Jn[st],ur===st)return Object.defineProperty(Jn,st,{value:!0,configurable:!0}),!1;typeof ur=="object"&&ur&&(Dr=ur)}return Gr&&(Dr=yield Gr(Dr)),Dr}),Sn=Jn=>{const Er=Jn.filter(Dr=>!Dr.file[st]);if(!Er.length)return;const ra=Er.map(Dr=>rn(Dr.file));let Gr=(0,k.Z)(Dt);ra.forEach(Dr=>{Gr=Tn(Dr,Gr)}),ra.forEach((Dr,ur)=>{let ca=Dr;if(Er[ur].parsedFile)Dr.status="uploading";else{const{originFileObj:da}=Dr;let sa;try{sa=new File([da],da.name,{type:da.type})}catch(fa){sa=new Blob([da],{type:da.type}),sa.name=da.name,sa.lastModifiedDate=new Date,sa.lastModified=new Date().getTime()}sa.uid=Dr.uid,ca=sa}ar(ca,Gr)})},Zt=(Jn,Er,ra)=>{try{typeof Jn=="string"&&(Jn=JSON.parse(Jn))}catch(ur){}if(!en(Er,Dt))return;const Gr=rn(Er);Gr.status="done",Gr.percent=100,Gr.response=Jn,Gr.xhr=ra;const Dr=Tn(Gr,Dt);ar(Gr,Dr)},qt=(Jn,Er)=>{if(!en(Er,Dt))return;const ra=rn(Er);ra.status="uploading",ra.percent=Jn.percent;const Gr=Tn(ra,Dt);ar(ra,Gr,Jn)},Xn=(Jn,Er,ra)=>{if(!en(ra,Dt))return;const Gr=rn(ra);Gr.error=Jn,Gr.response=Er,Gr.status="error";const Dr=Tn(Gr,Dt);ar(Gr,Dr)},zn=Jn=>{let Er;Promise.resolve(typeof ye=="function"?ye(Jn):ye).then(ra=>{var Gr;if(ra===!1)return;const Dr=jt(Jn,Dt);Dr&&(Er=Object.assign(Object.assign({},Jn),{status:"removed"}),Dt==null||Dt.forEach(ur=>{const ca=Er.uid!==void 0?"uid":"name";ur[ca]===Er[ca]&&!Object.isFrozen(ur)&&(ur.status="removed")}),(Gr=Wr.current)===null||Gr===void 0||Gr.abort(Er),ar(Er,Dr))})},hr=Jn=>{kr(Jn.type),Jn.type==="drop"&&(Pt==null||Pt(Jn))};h.useImperativeHandle(je,()=>({onBatchStart:Sn,onSuccess:Zt,onProgress:qt,onError:Xn,fileList:Dt,upload:Wr.current,nativeElement:ea.current}));const{getPrefixCls:Tr,direction:gr,upload:Pr}=h.useContext(K.E_),et=Tr("upload",gn),Ft=Object.assign(Object.assign({onBatchStart:Sn,onError:Xn,onProgress:qt,onSuccess:Zt},he),{data:Cr,multiple:sr,action:or,accept:fr,supportServerRender:nr,prefixCls:et,disabled:wr,beforeUpload:lr,onChange:void 0,hasControlInside:Rn});delete Ft.className,delete Ft.style,(!jn||wr)&&delete Ft.id;const At=`${et}-wrapper`,[En,Qn,mt]=ee(et,At),[vr]=(0,X.Z)("Upload",Y.Z.Upload),{showRemoveIcon:Pn,showPreviewIcon:Jt,showDownloadIcon:Vn,removeIcon:yr,previewIcon:Kn,downloadIcon:pr,extra:Ln}=typeof _e=="boolean"?{}:_e,Mr=typeof Pn=="undefined"?!wr:Pn,mr=(Jn,Er)=>_e?h.createElement(ot,{prefixCls:et,listType:Ge,items:Dt,previewFile:Yt,onPreview:Se,onDownload:ut,onRemove:zn,showRemoveIcon:Mr,showPreviewIcon:Jt,showDownloadIcon:Vn,removeIcon:yr,previewIcon:Kn,downloadIcon:pr,iconRender:xn,extra:Ln,locale:Object.assign(Object.assign({},vr),Mn),isImageUrl:an,progress:hn,appendAction:Jn,appendActionVisible:Er,itemRender:Fn,disabled:wr}):Jn,Gn=N()(At,Lt,tr,Qn,mt,Pr==null?void 0:Pr.className,{[`${et}-rtl`]:gr==="rtl",[`${et}-picture-card-wrapper`]:Ge==="picture-card",[`${et}-picture-circle-wrapper`]:Ge==="picture-circle"}),br=Object.assign(Object.assign({},Pr==null?void 0:Pr.style),bn);if(On==="drag"){const Jn=N()(Qn,et,`${et}-drag`,{[`${et}-drag-uploading`]:Dt.some(Er=>Er.status==="uploading"),[`${et}-drag-hover`]:Rr==="dragover",[`${et}-disabled`]:wr,[`${et}-rtl`]:gr==="rtl"});return En(h.createElement("span",{className:Gn,ref:ea},h.createElement("div",{className:Jn,style:br,onDrop:hr,onDragOver:hr,onDragLeave:hr},h.createElement(U,Object.assign({},Ft,{ref:Wr,className:`${et}-btn`}),h.createElement("div",{className:`${et}-drag-container`},jn))),mr()))}const Ar=N()(et,`${et}-select`,{[`${et}-disabled`]:wr,[`${et}-hidden`]:!jn}),Ir=h.createElement("div",{className:Ar},h.createElement(U,Object.assign({},Ft,{ref:Wr})));return En(Ge==="picture-card"||Ge==="picture-circle"?h.createElement("span",{className:Gn,ref:ea},mr(Ir,!!jn)):h.createElement("span",{className:Gn,ref:ea},Ir,mr()))};var He=h.forwardRef(Bt),Be=function(he,je){var tt={};for(var me in he)Object.prototype.hasOwnProperty.call(he,me)&&je.indexOf(me)<0&&(tt[me]=he[me]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,me=Object.getOwnPropertySymbols(he);ye{var{style:tt,height:me,hasControlInside:ye=!1}=he,_e=Be(he,["style","height","hasControlInside"]);return h.createElement(He,Object.assign({ref:je,hasControlInside:ye},_e,{type:"drag",style:Object.assign(Object.assign({},tt),{height:me})}))});const Ie=He;Ie.Dragger=Le,Ie.LIST_IGNORE=st;var ze=Ie},97774:function(Nn,pt,O){"use strict";Object.defineProperty(pt,"__esModule",{value:!0}),pt.default=void 0;var h=Object.assign||function(a){for(var c=1;c0&&(y=1/Math.sqrt(y),e[0]=t[0]*y,e[1]=t[1]*y),e},g.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},g.cross=function(e,t,i){var f=t[0]*i[1]-t[1]*i[0];return e[0]=e[1]=0,e[2]=f,e},g.lerp=function(e,t,i,f){var y=t[0],b=t[1];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e},g.random=function(e,t){t=t||1;var i=d()*2*Math.PI;return e[0]=Math.cos(i)*t,e[1]=Math.sin(i)*t,e},g.transformMat2=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[2]*y,e[1]=i[1]*f+i[3]*y,e},g.transformMat2d=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[2]*y+i[4],e[1]=i[1]*f+i[3]*y+i[5],e},g.transformMat3=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[3]*y+i[6],e[1]=i[1]*f+i[4]*y+i[7],e},g.transformMat4=function(e,t,i){var f=t[0],y=t[1];return e[0]=i[0]*f+i[4]*y+i[12],e[1]=i[1]*f+i[5]*y+i[13],e},g.forEach=function(){var e=g.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=2),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A0&&(b=1/Math.sqrt(b),e[0]=t[0]*b,e[1]=t[1]*b,e[2]=t[2]*b),e},r.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},r.cross=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2];return e[0]=y*w-b*A,e[1]=b*x-f*w,e[2]=f*A-y*x,e},r.lerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e[2]=x+f*(i[2]-x),e},r.random=function(e,t){t=t||1;var i=d()*2*Math.PI,f=d()*2-1,y=Math.sqrt(1-f*f)*t;return e[0]=Math.cos(i)*y,e[1]=Math.sin(i)*y,e[2]=f*t,e},r.transformMat4=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[3]*f+i[7]*y+i[11]*b+i[15];return x=x||1,e[0]=(i[0]*f+i[4]*y+i[8]*b+i[12])/x,e[1]=(i[1]*f+i[5]*y+i[9]*b+i[13])/x,e[2]=(i[2]*f+i[6]*y+i[10]*b+i[14])/x,e},r.transformMat3=function(e,t,i){var f=t[0],y=t[1],b=t[2];return e[0]=f*i[0]+y*i[3]+b*i[6],e[1]=f*i[1]+y*i[4]+b*i[7],e[2]=f*i[2]+y*i[5]+b*i[8],e},r.transformQuat=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2],L=i[3],M=L*f+A*b-w*y,D=L*y+w*f-x*b,B=L*b+x*y-A*f,I=-x*f-A*y-w*b;return e[0]=M*L+I*-x+D*-w-B*-A,e[1]=D*L+I*-A+B*-x-M*-w,e[2]=B*L+I*-w+M*-A-D*-x,e},r.rotateX=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[0],b[1]=y[1]*Math.cos(f)-y[2]*Math.sin(f),b[2]=y[1]*Math.sin(f)+y[2]*Math.cos(f),e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.rotateY=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[2]*Math.sin(f)+y[0]*Math.cos(f),b[1]=y[1],b[2]=y[2]*Math.cos(f)-y[0]*Math.sin(f),e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.rotateZ=function(e,t,i,f){var y=[],b=[];return y[0]=t[0]-i[0],y[1]=t[1]-i[1],y[2]=t[2]-i[2],b[0]=y[0]*Math.cos(f)-y[1]*Math.sin(f),b[1]=y[0]*Math.sin(f)+y[1]*Math.cos(f),b[2]=y[2],e[0]=b[0]+i[0],e[1]=b[1]+i[1],e[2]=b[2]+i[2],e},r.forEach=function(){var e=r.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=3),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A1?0:Math.acos(y)},r.str=function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},typeof m!="undefined"&&(m.vec3=r);var n={};n.create=function(){var e=new E(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e},n.clone=function(e){var t=new E(4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},n.fromValues=function(e,t,i,f){var y=new E(4);return y[0]=e,y[1]=t,y[2]=i,y[3]=f,y},n.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},n.set=function(e,t,i,f,y){return e[0]=t,e[1]=i,e[2]=f,e[3]=y,e},n.add=function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e[2]=t[2]+i[2],e[3]=t[3]+i[3],e},n.subtract=function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e[2]=t[2]-i[2],e[3]=t[3]-i[3],e},n.sub=n.subtract,n.multiply=function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e[2]=t[2]*i[2],e[3]=t[3]*i[3],e},n.mul=n.multiply,n.divide=function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e[2]=t[2]/i[2],e[3]=t[3]/i[3],e},n.div=n.divide,n.min=function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e[2]=Math.min(t[2],i[2]),e[3]=Math.min(t[3],i[3]),e},n.max=function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e[2]=Math.max(t[2],i[2]),e[3]=Math.max(t[3],i[3]),e},n.scale=function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e[3]=t[3]*i,e},n.scaleAndAdd=function(e,t,i,f){return e[0]=t[0]+i[0]*f,e[1]=t[1]+i[1]*f,e[2]=t[2]+i[2]*f,e[3]=t[3]+i[3]*f,e},n.distance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2],b=t[3]-e[3];return Math.sqrt(i*i+f*f+y*y+b*b)},n.dist=n.distance,n.squaredDistance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2],b=t[3]-e[3];return i*i+f*f+y*y+b*b},n.sqrDist=n.squaredDistance,n.length=function(e){var t=e[0],i=e[1],f=e[2],y=e[3];return Math.sqrt(t*t+i*i+f*f+y*y)},n.len=n.length,n.squaredLength=function(e){var t=e[0],i=e[1],f=e[2],y=e[3];return t*t+i*i+f*f+y*y},n.sqrLen=n.squaredLength,n.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},n.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},n.normalize=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i*i+f*f+y*y+b*b;return x>0&&(x=1/Math.sqrt(x),e[0]=t[0]*x,e[1]=t[1]*x,e[2]=t[2]*x,e[3]=t[3]*x),e},n.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},n.lerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2],A=t[3];return e[0]=y+f*(i[0]-y),e[1]=b+f*(i[1]-b),e[2]=x+f*(i[2]-x),e[3]=A+f*(i[3]-A),e},n.random=function(e,t){return t=t||1,e[0]=d(),e[1]=d(),e[2]=d(),e[3]=d(),n.normalize(e,e),n.scale(e,e,t),e},n.transformMat4=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3];return e[0]=i[0]*f+i[4]*y+i[8]*b+i[12]*x,e[1]=i[1]*f+i[5]*y+i[9]*b+i[13]*x,e[2]=i[2]*f+i[6]*y+i[10]*b+i[14]*x,e[3]=i[3]*f+i[7]*y+i[11]*b+i[15]*x,e},n.transformQuat=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=i[0],A=i[1],w=i[2],L=i[3],M=L*f+A*b-w*y,D=L*y+w*f-x*b,B=L*b+x*y-A*f,I=-x*f-A*y-w*b;return e[0]=M*L+I*-x+D*-w-B*-A,e[1]=D*L+I*-A+B*-x-M*-w,e[2]=B*L+I*-w+M*-A-D*-x,e},n.forEach=function(){var e=n.create();return function(t,i,f,y,b,x){var A,w;for(i||(i=4),f||(f=0),y?w=Math.min(y*i+f,t.length):w=t.length,A=f;A.999999?(f[0]=0,f[1]=0,f[2]=0,f[3]=1,f):(r.cross(e,y,b),f[0]=e[0],f[1]=e[1],f[2]=e[2],f[3]=1+x,v.normalize(f,f))}}(),v.setAxes=function(){var e=u.create();return function(t,i,f,y){return e[0]=f[0],e[3]=f[1],e[6]=f[2],e[1]=y[0],e[4]=y[1],e[7]=y[2],e[2]=-i[0],e[5]=-i[1],e[8]=-i[2],v.normalize(t,v.fromMat3(t,e))}}(),v.clone=n.clone,v.fromValues=n.fromValues,v.copy=n.copy,v.set=n.set,v.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},v.setAxisAngle=function(e,t,i){i=i*.5;var f=Math.sin(i);return e[0]=f*t[0],e[1]=f*t[1],e[2]=f*t[2],e[3]=Math.cos(i),e},v.add=n.add,v.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=i[0],w=i[1],L=i[2],M=i[3];return e[0]=f*M+x*A+y*L-b*w,e[1]=y*M+x*w+b*A-f*L,e[2]=b*M+x*L+f*w-y*A,e[3]=x*M-f*A-y*w-b*L,e},v.mul=v.multiply,v.scale=n.scale,v.rotateX=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w+x*A,e[1]=y*w+b*A,e[2]=b*w-y*A,e[3]=x*w-f*A,e},v.rotateY=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w-b*A,e[1]=y*w+x*A,e[2]=b*w+f*A,e[3]=x*w-y*A,e},v.rotateZ=function(e,t,i){i*=.5;var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),w=Math.cos(i);return e[0]=f*w+y*A,e[1]=y*w-f*A,e[2]=b*w+x*A,e[3]=x*w-b*A,e},v.calculateW=function(e,t){var i=t[0],f=t[1],y=t[2];return e[0]=i,e[1]=f,e[2]=y,e[3]=Math.sqrt(Math.abs(1-i*i-f*f-y*y)),e},v.dot=n.dot,v.lerp=n.lerp,v.slerp=function(e,t,i,f){var y=t[0],b=t[1],x=t[2],A=t[3],w=i[0],L=i[1],M=i[2],D=i[3],B,I,U,F,K;return I=y*w+b*L+x*M+A*D,I<0&&(I=-I,w=-w,L=-L,M=-M,D=-D),1-I>1e-6?(B=Math.acos(I),U=Math.sin(B),F=Math.sin((1-f)*B)/U,K=Math.sin(f*B)/U):(F=1-f,K=f),e[0]=F*y+K*w,e[1]=F*b+K*L,e[2]=F*x+K*M,e[3]=F*A+K*D,e},v.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i*i+f*f+y*y+b*b,A=x?1/x:0;return e[0]=-i*A,e[1]=-f*A,e[2]=-y*A,e[3]=b*A,e},v.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},v.length=n.length,v.len=v.length,v.squaredLength=n.squaredLength,v.sqrLen=v.squaredLength,v.normalize=n.normalize,v.fromMat3=function(e,t){var i=t[0]+t[4]+t[8],f;if(i>0)f=Math.sqrt(i+1),e[3]=.5*f,f=.5/f,e[0]=(t[5]-t[7])*f,e[1]=(t[6]-t[2])*f,e[2]=(t[1]-t[3])*f;else{var y=0;t[4]>t[0]&&(y=1),t[8]>t[y*3+y]&&(y=2);var b=(y+1)%3,x=(y+2)%3;f=Math.sqrt(t[y*3+y]-t[b*3+b]-t[x*3+x]+1),e[y]=.5*f,f=.5/f,e[3]=(t[b*3+x]-t[x*3+b])*f,e[b]=(t[b*3+y]+t[y*3+b])*f,e[x]=(t[x*3+y]+t[y*3+x])*f}return e},v.str=function(e){return"quat("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},typeof m!="undefined"&&(m.quat=v)}(C.exports)})(this)},function(k,P,_){"use strict";var N=_(24),C=_(46),m=_(5),p=_(6),E=_(7),d=_(17),l=_(28),o=_(13),g=_(0),r=_.n(g),n=_(29),a=_(53),c=_.n(a),u=_(54),s=_(106),v=_(107),e=_(113),t=_(114),i=_(3),f=_(68),y=_(37),b=_(69),x=_(116),A=_(70),w=_(71),L=_(72),M=_(36),D=_(30),B=_(23),I=_(4),U=_(117),F=_(50),K=_(118),j=_(119),X=_(120),Y=_(9),se=_(67),Q=_(49),ve=_(15),xe=_(52),Ce=_(121),De=_(126),Ue=_(63),Me=_(127),Je=_(128),Re=_(129),ge=_(130),Ve=_(131),Fe=_(132);r.a.util.extend(l.a.prototype,Ce.a),E.a.import(De.a),E.a.import(Ue.a),E.a.import(Me.a),E.a.import(Je.a),E.a.import(Re.a),E.a.import(ge.a),E.a.import(Ve.a),E.a.import(Fe.a);function Te(fe){return!fe||fe==="none"}function We(fe){return fe instanceof HTMLCanvasElement||fe instanceof HTMLImageElement||fe instanceof Image}function Ne(fe){return fe.getZr&&fe.setOption}var V=n.a.prototype.addToScene,$=n.a.prototype.removeFromScene;n.a.prototype.addToScene=function(fe){if(V.call(this,fe),this.__zr){var be=this.__zr;fe.traverse(function(te){te.__zr=be,te.addAnimatorsToZr&&te.addAnimatorsToZr(be)})}},n.a.prototype.removeFromScene=function(fe){$.call(this,fe),fe.traverse(function(be){var te=be.__zr;be.__zr=null,te&&be.removeAnimatorsFromZr&&be.removeAnimatorsFromZr(te)})},d.a.prototype.setTextureImage=function(fe,be,te,ce){if(this.shader){var lt=te.getZr(),Xe=this,ft;return Xe.autoUpdateTextureStatus=!1,Xe.disableTexture(fe),Te(be)||(ft=re.loadTexture(be,te,ce,function(yt){Xe.enableTexture(fe),lt&<.refresh()}),Xe.set(fe,ft)),ft}};var re={};re.Renderer=C.a,re.Node=l.a,re.Mesh=N.a,re.Shader=E.a,re.Material=d.a,re.Texture=p.a,re.Texture2D=m.a,re.Geometry=o.a,re.SphereGeometry=f.a,re.PlaneGeometry=y.a,re.CubeGeometry=b.a,re.AmbientLight=x.a,re.DirectionalLight=A.a,re.PointLight=w.a,re.SpotLight=L.a,re.PerspectiveCamera=M.a,re.OrthographicCamera=D.a,re.Vector2=B.a,re.Vector3=I.a,re.Vector4=U.a,re.Quaternion=F.a,re.Matrix2=K.a,re.Matrix2d=j.a,re.Matrix3=X.a,re.Matrix4=Y.a,re.Plane=se.a,re.Ray=Q.a,re.BoundingBox=ve.a,re.Frustum=xe.a;var ee=u.a.createBlank("rgba(255,255,255,0)").image;function oe(fe){return Math.pow(2,Math.round(Math.log(fe)/Math.LN2))}function q(fe){if((fe.wrapS===p.a.REPEAT||fe.wrapT===p.a.REPEAT)&&fe.image){var be=oe(fe.width),te=oe(fe.height);if(be!==fe.width||te!==fe.height){var ce=document.createElement("canvas");ce.width=be,ce.height=te;var lt=ce.getContext("2d");lt.drawImage(fe.image,0,0,be,te),fe.image=ce}}}re.loadTexture=function(fe,be,te,ce){typeof te=="function"&&(ce=te,te={}),te=te||{};for(var lt=Object.keys(te).sort(),Xe="",ft=0;ft3?be[3]=fe[3]:be[3]=1,be):(be=r.a.color.parse(fe||"#000",be)||[0,0,0,0],be[0]/=255,be[1]/=255,be[2]/=255,be)},re.directionFromAlphaBeta=function(fe,be){var te=fe/180*Math.PI+Math.PI/2,ce=-be/180*Math.PI+Math.PI/2,lt=[],Xe=Math.sin(te);return lt[0]=Xe*Math.cos(ce),lt[1]=-Math.cos(te),lt[2]=Xe*Math.sin(ce),lt},re.getShadowResolution=function(fe){var be=1024;switch(fe){case"low":be=512;break;case"medium":break;case"high":be=2048;break;case"ultra":be=4096;break}return be},re.COMMON_SHADERS=["lambert","color","realistic","hatching"],re.createShader=function(fe){var be=E.a.source(fe+".vertex"),te=E.a.source(fe+".fragment");be||console.error("Vertex shader of '%s' not exits",fe),te||console.error("Fragment shader of '%s' not exits",fe);var ce=new E.a(be,te);return ce.name=fe,ce},re.createMaterial=function(fe,be){be instanceof Array||(be=[be]);var te=re.createShader(fe),ce=new d.a({shader:te});return be.forEach(function(lt){typeof lt=="string"&&ce.define(lt)}),ce},re.setMaterialFromModel=function(fe,be,te,ce){be.autoUpdateTextureStatus=!1;var lt=te.getModel(fe+"Material"),Xe=lt.get("detailTexture"),ft=i.a.firstNotNull(lt.get("textureTiling"),1),yt=i.a.firstNotNull(lt.get("textureOffset"),0);typeof ft=="number"&&(ft=[ft,ft]),typeof yt=="number"&&(yt=[yt,yt]);var qe=ft[0]>1||ft[1]>1?re.Texture.REPEAT:re.Texture.CLAMP_TO_EDGE,vt={anisotropic:8,wrapS:qe,wrapT:qe};if(fe==="realistic"){var Ze=lt.get("roughness"),Oe=lt.get("metalness");Oe!=null?isNaN(Oe)&&(be.setTextureImage("metalnessMap",Oe,ce,vt),Oe=i.a.firstNotNull(lt.get("metalnessAdjust"),.5)):Oe=0,Ze!=null?isNaN(Ze)&&(be.setTextureImage("roughnessMap",Ze,ce,vt),Ze=i.a.firstNotNull(lt.get("roughnessAdjust"),.5)):Ze=.5;var Qe=lt.get("normalTexture");be.setTextureImage("detailMap",Xe,ce,vt),be.setTextureImage("normalMap",Qe,ce,vt),be.set({roughness:Ze,metalness:Oe,detailUvRepeat:ft,detailUvOffset:yt})}else if(fe==="lambert")be.setTextureImage("detailMap",Xe,ce,vt),be.set({detailUvRepeat:ft,detailUvOffset:yt});else if(fe==="color")be.setTextureImage("detailMap",Xe,ce,vt),be.set({detailUvRepeat:ft,detailUvOffset:yt});else if(fe==="hatching"){var rt=lt.get("hatchingTextures")||[];rt.length<6&&console.error("Invalid hatchingTextures.");for(var _t=0;_t<6;_t++)be.setTextureImage("hatch"+(_t+1),rt[_t],ce,{anisotropic:8,wrapS:re.Texture.REPEAT,wrapT:re.Texture.REPEAT});be.set({detailUvRepeat:ft,detailUvOffset:yt})}},re.updateVertexAnimation=function(fe,be,te,ce){var lt=ce.get("animation"),Xe=ce.get("animationDurationUpdate"),ft=ce.get("animationEasingUpdate"),yt=te.shadowDepthMaterial;if(lt&&be&&Xe>0&&be.geometry.vertexCount===te.geometry.vertexCount){te.material.define("vertex","VERTEX_ANIMATION"),te.ignorePreZ=!0,yt&&yt.define("vertex","VERTEX_ANIMATION");for(var qe=0;qec?c:n}var o=Math.atan2,g=Math.asin,r=Math.abs;p.eulerFromQuat=function(n,a,x){n._dirty=!0,a=a.array;var u=n.array,s=a[0],v=a[1],e=a[2],t=a[3],i=s*s,f=v*v,y=e*e,b=t*t,x=(x||"XYZ").toUpperCase();switch(x){case"XYZ":u[0]=o(2*(s*t-v*e),b-i-f+y),u[1]=g(l(2*(s*e+v*t),-1,1)),u[2]=o(2*(e*t-s*v),b+i-f-y);break;case"YXZ":u[0]=g(l(2*(s*t-v*e),-1,1)),u[1]=o(2*(s*e+v*t),b-i-f+y),u[2]=o(2*(s*v+e*t),b-i+f-y);break;case"ZXY":u[0]=g(l(2*(s*t+v*e),-1,1)),u[1]=o(2*(v*t-e*s),b-i-f+y),u[2]=o(2*(e*t-s*v),b-i+f-y);break;case"ZYX":u[0]=o(2*(s*t+e*v),b-i-f+y),u[1]=g(l(2*(v*t-s*e),-1,1)),u[2]=o(2*(s*v+e*t),b+i-f-y);break;case"YZX":u[0]=o(2*(s*t-e*v),b-i+f-y),u[1]=o(2*(v*t-s*e),b+i-f-y),u[2]=g(l(2*(s*v+e*t),-1,1));break;case"XZY":u[0]=o(2*(s*t+v*e),b-i+f-y),u[1]=o(2*(s*e+v*t),b+i-f-y),u[2]=g(l(2*(e*t-s*v),-1,1));break;default:console.warn("Unkown order: "+x)}return n},p.eulerFromMat3=function(n,a,w){var u=a.array,s=u[0],v=u[3],e=u[6],t=u[1],i=u[4],f=u[7],y=u[2],b=u[5],x=u[8],A=n.array,w=(w||"XYZ").toUpperCase();switch(w){case"XYZ":A[1]=g(l(e,-1,1)),r(e)<.99999?(A[0]=o(-f,x),A[2]=o(-v,s)):(A[0]=o(b,i),A[2]=0);break;case"YXZ":A[0]=g(-l(f,-1,1)),r(f)<.99999?(A[1]=o(e,x),A[2]=o(t,i)):(A[1]=o(-y,s),A[2]=0);break;case"ZXY":A[0]=g(l(b,-1,1)),r(b)<.99999?(A[1]=o(-y,x),A[2]=o(-v,i)):(A[1]=0,A[2]=o(t,s));break;case"ZYX":A[1]=g(-l(y,-1,1)),r(y)<.99999?(A[0]=o(b,x),A[2]=o(t,s)):(A[0]=0,A[2]=o(-v,i));break;case"YZX":A[2]=g(l(t,-1,1)),r(t)<.99999?(A[0]=o(-f,i),A[1]=o(-y,s)):(A[0]=0,A[1]=o(e,x));break;case"XZY":A[2]=g(-l(v,-1,1)),r(v)<.99999?(A[0]=o(b,i),A[1]=o(e,s)):(A[0]=o(-f,x),A[1]=0);break;default:console.warn("Unkown order: "+w)}return n._dirty=!0,n},p.POSITIVE_X=new p(1,0,0),p.NEGATIVE_X=new p(-1,0,0),p.POSITIVE_Y=new p(0,1,0),p.NEGATIVE_Y=new p(0,-1,0),p.POSITIVE_Z=new p(0,0,1),p.NEGATIVE_Z=new p(0,0,-1),p.UP=new p(0,1,0),p.ZERO=new p(0,0,0),P.a=p},function(k,P,_){"use strict";var N=_(6),C=_(11),m=_(66),p=m.a.isPowerOfTwo,E=N.a.extend(function(){return{image:null,pixels:null,mipmaps:[]}},{update:function(d){var l=d.gl;l.bindTexture(l.TEXTURE_2D,this._cache.get("webgl_texture")),this.updateCommon(d);var o=this.format,g=this.type;l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_S,this.getAvailableWrapS()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_WRAP_T,this.getAvailableWrapT()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),l.texParameteri(l.TEXTURE_2D,l.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var r=d.getGLExtension("EXT_texture_filter_anisotropic");if(r&&this.anisotropic>1&&l.texParameterf(l.TEXTURE_2D,r.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),g===36193){var n=d.getGLExtension("OES_texture_half_float");n||(g=C.a.FLOAT)}if(this.mipmaps.length)for(var a=this.width,c=this.height,u=0;u=N.a.COMPRESSED_RGB_S3TC_DXT1_EXT?d.compressedTexImage2D(d.TEXTURE_2D,o,n,g,r,0,l.pixels):d.texImage2D(d.TEXTURE_2D,o,n,g,r,0,n,a,l.pixels)},generateMipmap:function(d){var l=d.gl;this.useMipmap&&!this.NPOT&&(l.bindTexture(l.TEXTURE_2D,this._cache.get("webgl_texture")),l.generateMipmap(l.TEXTURE_2D))},isPowerOfTwo:function(){var d,l;return this.image?(d=this.image.width,l=this.image.height):(d=this.width,l=this.height),p(d)&&p(l)},isRenderable:function(){return this.image?this.image.nodeName==="CANVAS"||this.image.nodeName==="VIDEO"||this.image.complete:!!(this.width&&this.height)},bind:function(d){d.gl.bindTexture(d.gl.TEXTURE_2D,this.getWebGLTexture(d))},unbind:function(d){d.gl.bindTexture(d.gl.TEXTURE_2D,null)},load:function(d,l){var o=new Image;l&&(o.crossOrigin=l);var g=this;return o.onload=function(){g.dirty(),g.trigger("success",g),o.onload=null},o.onerror=function(){g.trigger("error",g),o.onerror=null},o.src=d,this.image=o,this}});Object.defineProperty(E.prototype,"width",{get:function(){return this.image?this.image.width:this._width},set:function(d){this.image?console.warn("Texture from image can't set width"):(this._width!==d&&this.dirty(),this._width=d)}}),Object.defineProperty(E.prototype,"height",{get:function(){return this.image?this.image.height:this._height},set:function(d){this.image?console.warn("Texture from image can't set height"):(this._height!==d&&this.dirty(),this._height=d)}}),P.a=E},function(k,P,_){"use strict";var N=_(8),C=_(11),m=_(48),p=N.a.extend({width:512,height:512,type:C.a.UNSIGNED_BYTE,format:C.a.RGBA,wrapS:C.a.REPEAT,wrapT:C.a.REPEAT,minFilter:C.a.LINEAR_MIPMAP_LINEAR,magFilter:C.a.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,sRGB:!0,unpackAlignment:4,premultiplyAlpha:!1,dynamic:!1,NPOT:!1},function(){this._cache=new m.a},{getWebGLTexture:function(E){var d=E.gl,l=this._cache;return l.use(E.__uid__),l.miss("webgl_texture")&&l.put("webgl_texture",d.createTexture()),this.dynamic?this.update(E):l.isDirty()&&(this.update(E),l.fresh()),l.get("webgl_texture")},bind:function(){},unbind:function(){},dirty:function(){this._cache&&this._cache.dirtyAll()},update:function(E){},updateCommon:function(E){var d=E.gl;d.pixelStorei(d.UNPACK_FLIP_Y_WEBGL,this.flipY),d.pixelStorei(d.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),d.pixelStorei(d.UNPACK_ALIGNMENT,this.unpackAlignment),this.format===C.a.DEPTH_COMPONENT&&(this.useMipmap=!1);var l=E.getGLExtension("EXT_sRGB");this.format===p.SRGB&&!l&&(this.format=p.RGB),this.format===p.SRGB_ALPHA&&!l&&(this.format=p.RGBA),this.NPOT=!this.isPowerOfTwo()},getAvailableWrapS:function(){return this.NPOT?C.a.CLAMP_TO_EDGE:this.wrapS},getAvailableWrapT:function(){return this.NPOT?C.a.CLAMP_TO_EDGE:this.wrapT},getAvailableMinFilter:function(){var E=this.minFilter;return this.NPOT||!this.useMipmap?E==C.a.NEAREST_MIPMAP_NEAREST||E==C.a.NEAREST_MIPMAP_LINEAR?C.a.NEAREST:E==C.a.LINEAR_MIPMAP_LINEAR||E==C.a.LINEAR_MIPMAP_NEAREST?C.a.LINEAR:E:E},getAvailableMagFilter:function(){return this.magFilter},nextHighestPowerOfTwo:function(E){--E;for(var d=1;d<32;d<<=1)E=E|E>>d;return E+1},dispose:function(E){var d=this._cache;d.use(E.__uid__);var l=d.get("webgl_texture");l&&E.gl.deleteTexture(l),d.deleteContext(E.__uid__)},isRenderable:function(){},isPowerOfTwo:function(){}});Object.defineProperty(p.prototype,"width",{get:function(){return this._width},set:function(E){this._width=E}}),Object.defineProperty(p.prototype,"height",{get:function(){return this._height},set:function(E){this._height=E}}),p.BYTE=C.a.BYTE,p.UNSIGNED_BYTE=C.a.UNSIGNED_BYTE,p.SHORT=C.a.SHORT,p.UNSIGNED_SHORT=C.a.UNSIGNED_SHORT,p.INT=C.a.INT,p.UNSIGNED_INT=C.a.UNSIGNED_INT,p.FLOAT=C.a.FLOAT,p.HALF_FLOAT=36193,p.UNSIGNED_INT_24_8_WEBGL=34042,p.DEPTH_COMPONENT=C.a.DEPTH_COMPONENT,p.DEPTH_STENCIL=C.a.DEPTH_STENCIL,p.ALPHA=C.a.ALPHA,p.RGB=C.a.RGB,p.RGBA=C.a.RGBA,p.LUMINANCE=C.a.LUMINANCE,p.LUMINANCE_ALPHA=C.a.LUMINANCE_ALPHA,p.SRGB=35904,p.SRGB_ALPHA=35906,p.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,p.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,p.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,p.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,p.NEAREST=C.a.NEAREST,p.LINEAR=C.a.LINEAR,p.NEAREST_MIPMAP_NEAREST=C.a.NEAREST_MIPMAP_NEAREST,p.LINEAR_MIPMAP_NEAREST=C.a.LINEAR_MIPMAP_NEAREST,p.NEAREST_MIPMAP_LINEAR=C.a.NEAREST_MIPMAP_LINEAR,p.LINEAR_MIPMAP_LINEAR=C.a.LINEAR_MIPMAP_LINEAR,p.REPEAT=C.a.REPEAT,p.CLAMP_TO_EDGE=C.a.CLAMP_TO_EDGE,p.MIRRORED_REPEAT=C.a.MIRRORED_REPEAT,P.a=p},function(k,P,_){"use strict";var N=_(21),C=_(18),m=_(1),p=_.n(m),E=p.a.mat2,d=p.a.mat3,l=p.a.mat4,o=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\w\,]+)?(\[.*?\])?\s*(:\s*([\S\s]+?))?;/g,g=/attribute\s+(float|int|vec2|vec3|vec4)\s+(\w*)\s*(:\s*(\w+))?;/g,r=/#define\s+(\w+)?(\s+[\w-.]+)?\s*;?\s*\n/g,n={bool:"1i",int:"1i",sampler2D:"t",samplerCube:"t",float:"1f",vec2:"2f",vec3:"3f",vec4:"4f",ivec2:"2i",ivec3:"3i",ivec4:"4i",mat2:"m2",mat3:"m3",mat4:"m4"},a={bool:function(){return!0},int:function(){return 0},float:function(){return 0},sampler2D:function(){return null},samplerCube:function(){return null},vec2:function(){return[0,0]},vec3:function(){return[0,0,0]},vec4:function(){return[0,0,0,0]},ivec2:function(){return[0,0]},ivec3:function(){return[0,0,0]},ivec4:function(){return[0,0,0,0]},mat2:function(){return E.create()},mat3:function(){return d.create()},mat4:function(){return l.create()},array:function(){return[]}},c=["POSITION","NORMAL","BINORMAL","TANGENT","TEXCOORD","TEXCOORD_0","TEXCOORD_1","COLOR","JOINT","WEIGHT"],u=["SKIN_MATRIX","VIEWPORT_SIZE","VIEWPORT","DEVICEPIXELRATIO","WINDOW_SIZE","NEAR","FAR","TIME"],s=["WORLD","VIEW","PROJECTION","WORLDVIEW","VIEWPROJECTION","WORLDVIEWPROJECTION","WORLDINVERSE","VIEWINVERSE","PROJECTIONINVERSE","WORLDVIEWINVERSE","VIEWPROJECTIONINVERSE","WORLDVIEWPROJECTIONINVERSE","WORLDTRANSPOSE","VIEWTRANSPOSE","PROJECTIONTRANSPOSE","WORLDVIEWTRANSPOSE","VIEWPROJECTIONTRANSPOSE","WORLDVIEWPROJECTIONTRANSPOSE","WORLDINVERSETRANSPOSE","VIEWINVERSETRANSPOSE","PROJECTIONINVERSETRANSPOSE","WORLDVIEWINVERSETRANSPOSE","VIEWPROJECTIONINVERSETRANSPOSE","WORLDVIEWPROJECTIONINVERSETRANSPOSE"],v={},e={};function t(b,x){var A="vertex:"+b+"fragment:"+x;if(v[A])return v[A];var w=N.a.genGUID();return v[A]=w,e[w]={vertex:b,fragment:x},w}function i(b,x){typeof b=="object"&&(x=b.fragment,b=b.vertex),this._shaderID=t(b,x),this._vertexCode=i.parseImport(b),this._fragmentCode=i.parseImport(x),this.attributeSemantics={},this.matrixSemantics={},this.uniformSemantics={},this.matrixSemanticKeys=[],this.uniformTemplates={},this.attributes={},this.textures={},this.vertexDefines={},this.fragmentDefines={},this._parseAttributes(),this._parseUniforms(),this._parseDefines()}i.prototype={constructor:i,createUniforms:function(){var b={};for(var x in this.uniformTemplates){var A=this.uniformTemplates[x];b[x]={type:A.type,value:A.value()}}return b},_parseImport:function(){this._vertexCode=i.parseImport(this.vertex),this._fragmentCode=i.parseImport(this.fragment)},_parseUniforms:function(){var b={},x=this,A="vertex";this._uniformList=[],this._vertexCode=this._vertexCode.replace(o,w),A="fragment",this._fragmentCode=this._fragmentCode.replace(o,w),x.matrixSemanticKeys=Object.keys(this.matrixSemantics);function w(L,M,D,B,I,U){if(M&&D){var F=n[M],K=!0,j;if(F){if(x._uniformList.push(D),(M==="sampler2D"||M==="samplerCube")&&(x.textures[D]={shaderType:A,type:M}),B&&(F+="v"),U)if(c.indexOf(U)>=0)x.attributeSemantics[U]={symbol:D,type:F},K=!1;else if(s.indexOf(U)>=0){var X=!1,Y=U;U.match(/TRANSPOSE$/)&&(X=!0,Y=U.slice(0,-9)),x.matrixSemantics[U]={symbol:D,type:F,isTranspose:X,semanticNoTranspose:Y},K=!1}else if(u.indexOf(U)>=0)x.uniformSemantics[U]={symbol:D,type:F},K=!1;else if(U==="unconfigurable")K=!1;else if(j=x._parseDefaultValue(M,U),j)U="";else throw new Error('Unkown semantic "'+U+'"');K&&(b[D]={type:F,value:B?a.array:j||a[M],semantic:U||null})}return["uniform",M,D,B].join(" ")+`; `}}this.uniformTemplates=b},_parseDefaultValue:function(b,x){var A=/\[\s*(.*)\s*\]/;if(b==="vec2"||b==="vec3"||b==="vec4"){var w=A.exec(x)[1];if(w){var L=w.split(/\s*,\s*/);return function(){return new C.a.Float32Array(L)}}else return}else{if(b==="bool")return function(){return x.toLowerCase()==="true"};if(b==="float")return function(){return parseFloat(x)};if(b==="int")return function(){return parseInt(x)}}},_parseAttributes:function(){var b={},x=this;this._vertexCode=this._vertexCode.replace(g,A);function A(w,L,M,D,B){if(L&&M){var I=1;switch(L){case"vec4":I=4;break;case"vec3":I=3;break;case"vec2":I=2;break;case"float":I=1;break}if(b[M]={type:"float",size:I,semantic:B||null},B){if(c.indexOf(B)<0)throw new Error('Unkown semantic "'+B+'"');x.attributeSemantics[B]={symbol:M,type:L}}}return["attribute",L,M].join(" ")+`; `}this.attributes=b},_parseDefines:function(){var b=this,x="vertex";this._vertexCode=this._vertexCode.replace(r,A),x="fragment",this._fragmentCode=this._fragmentCode.replace(r,A);function A(w,L,M){var D=x==="vertex"?b.vertexDefines:b.fragmentDefines;return D[L]||(M=="false"?D[L]=!1:M=="true"?D[L]=!0:D[L]=M?isNaN(parseFloat(M))?M.trim():parseFloat(M):null),""}},clone:function(){var b=e[this._shaderID],x=new i(b.vertex,b.fragment);return x}},Object.defineProperty&&(Object.defineProperty(i.prototype,"shaderID",{get:function(){return this._shaderID}}),Object.defineProperty(i.prototype,"vertex",{get:function(){return this._vertexCode}}),Object.defineProperty(i.prototype,"fragment",{get:function(){return this._fragmentCode}}),Object.defineProperty(i.prototype,"uniforms",{get:function(){return this._uniformList}}));var f=/(@import)\s*([0-9a-zA-Z_\-\.]*)/g;i.parseImport=function(b){return b=b.replace(f,function(L,A,w){var L=i.source(w);return L?i.parseImport(L):(console.error('Shader chunk "'+w+'" not existed in library'),"")}),b};var y=/(@export)\s*([0-9a-zA-Z_\-\.]*)\s*\n([\s\S]*?)@end/g;i.import=function(b){b.replace(y,function(x,A,w,M){var M=M.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"");if(M){for(var D=w.split("."),B=i.codes,I=0,U;IA[0]&&(A[0]=L),M>A[1]&&(A[1]=M),D>A[2]&&(A[2]=D)}y._dirty=!0,b._dirty=!0}},dirty:function(){for(var i=this.getEnabledAttributes(),f=0;f=0){f||(f=r());var y=this.indices;return f[0]=y[i*3],f[1]=y[i*3+1],f[2]=y[i*3+2],f}},setTriangleIndices:function(i,f){var y=this.indices;y[i*3]=f[0],y[i*3+1]=f[1],y[i*3+2]=f[2]},isUseIndices:function(){return!!this.indices},initIndicesFromArray:function(i){var f,y=this.vertexCount>65535?p.a.Uint32Array:p.a.Uint16Array;if(i[0]&&i[0].length){var b=0,x=3;f=new y(i.length*x);for(var A=0;A=0?(f.splice(y,1),delete this.attributes[i],!0):!1},getAttribute:function(i){return this.attributes[i]},getEnabledAttributes:function(){var i=this._enabledAttributes,f=this._attributeList;if(i)return i;for(var y=[],b=this.vertexCount,x=0;x65535&&(this.indices=new p.a.Uint32Array(this.indices));for(var i=this.attributes,f=this.indices,y=this.getEnabledAttributes(),b={},x=0;x=s.COLOR_ATTACHMENT0&&t<=s.COLOR_ATTACHMENT0+8&&e.push(t);v.drawBuffersEXT(e)}}this.trigger("beforerender",this,c);var i=this.clearDepth?s.DEPTH_BUFFER_BIT:0;if(s.depthMask(!0),this.clearColor){i=i|s.COLOR_BUFFER_BIT,s.colorMask(!0,!0,!0,!0);var f=this.clearColor;Array.isArray(f)&&s.clearColor(f[0],f[1],f[2],f[3])}s.clear(i),this.blendWithPrevious?(s.enable(s.BLEND),this.material.transparent=!0):(s.disable(s.BLEND),this.material.transparent=!1),this.renderQuad(c),this.trigger("afterrender",this,c),u&&this.unbind(c,u)},renderQuad:function(c){r.material=this.material,c.renderPass([r],n)},dispose:function(c){}});P.a=a},function(k,P,_){"use strict";var N=_(4),C=_(1),m=_.n(C),p=m.a.vec3,E=p.copy,d=p.set,l=function(o,g){this.min=o||new N.a(1/0,1/0,1/0),this.max=g||new N.a(-1/0,-1/0,-1/0)};l.prototype={constructor:l,updateFromVertices:function(o){if(o.length>0){var g=this.min,r=this.max,n=g.array,a=r.array;E(n,o[0]),E(a,o[0]);for(var c=1;ca[0]&&(a[0]=u[0]),u[1]>a[1]&&(a[1]=u[1]),u[2]>a[2]&&(a[2]=u[2])}g._dirty=!0,r._dirty=!0}},union:function(o){var g=this.min,r=this.max;return p.min(g.array,g.array,o.min.array),p.max(r.array,r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},intersection:function(o){var g=this.min,r=this.max;return p.max(g.array,g.array,o.min.array),p.min(r.array,r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},intersectBoundingBox:function(o){var g=this.min.array,r=this.max.array,n=o.min.array,a=o.max.array;return!(g[0]>a[0]||g[1]>a[1]||g[2]>a[2]||r[0]=a[0]&&r[1]>=a[1]&&r[2]>=a[2]},containPoint:function(o){var g=this.min.array,r=this.max.array,n=o.array;return g[0]<=n[0]&&g[1]<=n[1]&&g[2]<=n[2]&&r[0]>=n[0]&&r[1]>=n[1]&&r[2]>=n[2]},isFinite:function(){var o=this.min.array,g=this.max.array;return isFinite(o[0])&&isFinite(o[1])&&isFinite(o[2])&&isFinite(g[0])&&isFinite(g[1])&&isFinite(g[2])},applyTransform:function(){var o=p.create(),g=p.create(),r=p.create(),n=p.create(),a=p.create(),c=p.create();return function(u){var s=this.min.array,v=this.max.array,e=u.array;return o[0]=e[0]*s[0],o[1]=e[1]*s[0],o[2]=e[2]*s[0],g[0]=e[0]*v[0],g[1]=e[1]*v[0],g[2]=e[2]*v[0],r[0]=e[4]*s[1],r[1]=e[5]*s[1],r[2]=e[6]*s[1],n[0]=e[4]*v[1],n[1]=e[5]*v[1],n[2]=e[6]*v[1],a[0]=e[8]*s[2],a[1]=e[9]*s[2],a[2]=e[10]*s[2],c[0]=e[8]*v[2],c[1]=e[9]*v[2],c[2]=e[10]*v[2],s[0]=Math.min(o[0],g[0])+Math.min(r[0],n[0])+Math.min(a[0],c[0])+e[12],s[1]=Math.min(o[1],g[1])+Math.min(r[1],n[1])+Math.min(a[1],c[1])+e[13],s[2]=Math.min(o[2],g[2])+Math.min(r[2],n[2])+Math.min(a[2],c[2])+e[14],v[0]=Math.max(o[0],g[0])+Math.max(r[0],n[0])+Math.max(a[0],c[0])+e[12],v[1]=Math.max(o[1],g[1])+Math.max(r[1],n[1])+Math.max(a[1],c[1])+e[13],v[2]=Math.max(o[2],g[2])+Math.max(r[2],n[2])+Math.max(a[2],c[2])+e[14],this.min._dirty=!0,this.max._dirty=!0,this}}(),applyProjection:function(o){var g=this.min.array,r=this.max.array,n=o.array,a=g[0],c=g[1],u=g[2],s=r[0],v=r[1],e=g[2],t=r[0],i=r[1],f=r[2];if(n[15]===1)g[0]=n[0]*a+n[12],g[1]=n[5]*c+n[13],r[2]=n[10]*u+n[14],r[0]=n[0]*t+n[12],r[1]=n[5]*i+n[13],g[2]=n[10]*f+n[14];else{var y=-1/u;g[0]=n[0]*a*y,g[1]=n[5]*c*y,r[2]=(n[10]*u+n[14])*y,y=-1/e,r[0]=n[0]*s*y,r[1]=n[5]*v*y,y=-1/f,g[2]=(n[10]*f+n[14])*y}return this.min._dirty=!0,this.max._dirty=!0,this},updateVertices:function(){var o=this.vertices;if(!o){for(var o=[],g=0;g<8;g++)o[g]=p.fromValues(0,0,0);this.vertices=o}var r=this.min.array,n=this.max.array;return d(o[0],r[0],r[1],r[2]),d(o[1],r[0],n[1],r[2]),d(o[2],n[0],r[1],r[2]),d(o[3],n[0],n[1],r[2]),d(o[4],r[0],r[1],n[2]),d(o[5],r[0],n[1],n[2]),d(o[6],n[0],r[1],n[2]),d(o[7],n[0],n[1],n[2]),this},copy:function(o){var g=this.min,r=this.max;return E(g.array,o.min.array),E(r.array,o.max.array),g._dirty=!0,r._dirty=!0,this},clone:function(){var o=new l;return o.copy(this),o}},P.a=l},function(k,P,_){"use strict";P.a=function(N,C,m){return{seriesType:N,reset:function(p,E){var d=p.getData(),l=p.visualColorAccessPath.split(".");l[l.length-1]="opacity";var o=p.get(l);d.setVisual("opacity",o==null?1:o);function g(r){var n=d.getItemModel(r),a=n.get(l);a!=null&&d.setItemVisual(r,"opacity",a)}return{dataEach:d.hasItemOption?g:null}}}}},function(k,P,_){"use strict";var N=_(8),C=_(6),m=_(21),p=_(93),E=p.a.parseToFloat,d={};function l(r,n,a){var c=Object.keys(r);c.sort();for(var u=[],s=0;s=0},getEnabledUniforms:function(){return this._enabledUniforms},getTextureUniforms:function(){return this._textureUniforms},set:function(r,n){if(typeof r=="object")for(var a in r){var c=r[a];this.setUniform(a,c)}else this.setUniform(r,n)},get:function(r){var n=this.uniforms[r];if(n)return n.value},attachShader:function(r,n){var a=this.uniforms;this.uniforms=r.createUniforms(),this.shader=r;var c=this.uniforms;this._enabledUniforms=Object.keys(c),this._enabledUniforms.sort(),this._textureUniforms=this._enabledUniforms.filter(function(i){var f=this.uniforms[i].type;return f==="t"||f==="tv"},this);var u=this.vertexDefines,s=this.fragmentDefines;if(this.vertexDefines=m.a.clone(r.vertexDefines),this.fragmentDefines=m.a.clone(r.fragmentDefines),n){for(var v in a)c[v]&&(c[v].value=a[v].value);m.a.defaults(this.vertexDefines,u),m.a.defaults(this.fragmentDefines,s)}var e={};for(var t in r.textures)e[t]={shaderType:r.textures[t].shaderType,type:r.textures[t].type,enabled:n&&this._textureStatus[t]?this._textureStatus[t].enabled:!1};this._textureStatus=e,this._programKey=""},clone:function(){var r=new this.constructor({name:this.name,shader:this.shader});for(var n in this.uniforms)r.uniforms[n].value=this.uniforms[n].value;return r.depthTest=this.depthTest,r.depthMask=this.depthMask,r.transparent=this.transparent,r.blend=this.blend,r.vertexDefines=m.a.clone(this.vertexDefines),r.fragmentDefines=m.a.clone(this.fragmentDefines),r.enableTexture(this.getEnabledTextures()),r.precision=this.precision,r},define:function(r,n,a){var c=this.vertexDefines,u=this.fragmentDefines;r!=="vertex"&&r!=="fragment"&&r!=="both"&&arguments.length<3&&(a=n,n=r,r="both"),a=a!=null?a:null,(r==="vertex"||r==="both")&&c[n]!==a&&(c[n]=a,this._programKey=""),(r==="fragment"||r==="both")&&u[n]!==a&&(u[n]=a,r!=="both"&&(this._programKey=""))},undefine:function(r,n){r!=="vertex"&&r!=="fragment"&&r!=="both"&&arguments.length<2&&(n=r,r="both"),(r==="vertex"||r==="both")&&this.isDefined("vertex",n)&&(delete this.vertexDefines[n],this._programKey=""),(r==="fragment"||r==="both")&&this.isDefined("fragment",n)&&(delete this.fragmentDefines[n],r!=="both"&&(this._programKey=""))},isDefined:function(r,n){switch(r){case"vertex":return this.vertexDefines[n]!==void 0;case"fragment":return this.fragmentDefines[n]!==void 0}},getDefine:function(r,n){switch(r){case"vertex":return this.vertexDefines[n];case"fragment":return this.fragmentDefines[n]}},enableTexture:function(r){if(Array.isArray(r)){for(var n=0;n=t.x&&e>=t.y&&v<=t.x+t.width&&e<=t.y+t.height};var s=new g.a;u.prototype.castRay=function(v,e,t){var i=this.layer.renderer,f=i.viewport;return i.viewport=this.viewport,i.screenToNDC(v,e,s),this.camera.castRay(s,t),i.viewport=f,t},u.prototype.prepareRender=function(){this.scene.update(),this.camera.update(),this._needsSortProgressively=!1;for(var v=0;v30},u.prototype._doRender=function(v,e,t){var i=this.scene,f=this.camera;if(t=t||0,this._updateTransparent(v,i,f,t),e||(this._shadowMapPass.kernelPCF=this._pcfKernels[0],this._shadowMapPass.render(v,i,f,!0)),this._updateShadowPCFKernel(t),v.gl.clearColor(0,0,0,0),this._enablePostEffect&&(this.needsTemporalSS()&&this._temporalSS.jitterProjection(v,f),this._compositor.updateNormal(v,i,f,this._temporalSS.getFrame())),this._updateSSAO(v,i,f,this._temporalSS.getFrame()),this._enablePostEffect){var y=this._compositor.getSourceFrameBuffer();y.bind(v),v.gl.clear(v.gl.DEPTH_BUFFER_BIT|v.gl.COLOR_BUFFER_BIT),v.render(i,f,!0,!0),y.unbind(v),this.needsTemporalSS()&&e?(this._compositor.composite(v,f,this._temporalSS.getSourceFrameBuffer(),this._temporalSS.getFrame()),v.setViewport(this.viewport),this._temporalSS.render(v)):(v.setViewport(this.viewport),this._compositor.composite(v,f,null,0))}else if(this.needsTemporalSS()&&e){var y=this._temporalSS.getSourceFrameBuffer();y.bind(v),v.saveClear(),v.clearBit=v.gl.DEPTH_BUFFER_BIT|v.gl.COLOR_BUFFER_BIT,v.render(i,f,!0,!0),v.restoreClear(),y.unbind(v),v.setViewport(this.viewport),this._temporalSS.render(v)}else v.setViewport(this.viewport),v.render(i,f,!0,!0)},u.prototype._updateTransparent=function(v,e,t,i){for(var f=new o.a,y=new l.a,b=t.getWorldPosition(),x=0;xthis.camera.far||v65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(r){this.triangleCount!==r&&(r===0?this.indices=null:this.indices=this.vertexCount>65535?new Uint32Array(r*3):new Uint16Array(r*3))},_getCubicCurveApproxStep:function(r,n,a,c){var u=l.dist(r,n)+l.dist(a,n)+l.dist(c,a),s=1/(u+1)*this.segmentScale;return s},getCubicCurveVertexCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?s*2:s*2+2},getCubicCurveTriangleCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?0:s*2},getLineVertexCount:function(){return this.getPolylineVertexCount(o)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(o)},getPolylineVertexCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/3}return this.useNativeLine?(n-1)*2:(n-1)*2+2},getPolylineTriangleCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/3}return this.useNativeLine?0:Math.max(n-1,0)*2},addCubicCurve:function(r,n,a,c,u,s){s==null&&(s=1);for(var v=r[0],e=r[1],t=r[2],i=n[0],f=n[1],y=n[2],b=a[0],x=a[1],A=a[2],w=c[0],L=c[1],M=c[2],D=this._getCubicCurveApproxStep(r,n,a,c),B=D*D,I=B*D,U=3*D,F=3*B,K=6*B,j=6*I,X=v-i*2+b,Y=e-f*2+x,se=t-y*2+A,Q=(i-b)*3-v+w,ve=(f-x)*3-e+L,xe=(y-A)*3-t+M,Ce=v,De=e,Ue=t,Me=(i-v)*U+X*F+Q*I,Je=(f-e)*U+Y*F+ve*I,Re=(y-t)*U+se*F+xe*I,ge=X*K+Q*j,Ve=Y*K+ve*j,Fe=se*K+xe*j,Te=Q*j,We=ve*j,Ne=xe*j,V=0,$=0,re=Math.ceil(1/D),ee=new Float32Array((re+1)*3),ee=[],oe=0,$=0;$1&&(Ce=Me>0?Math.min(Ce,w):Math.max(Ce,w),De=Je>0?Math.min(De,L):Math.max(De,L),Ue=Re>0?Math.min(Ue,M):Math.max(Ue,M));return this.addPolyline(ee,u,s)},addLine:function(r,n,a,c){return this.addPolyline([r,n],a,c)},addPolyline:function(r,n,a,c,u){if(r.length){var s=typeof r[0]!="number";if(u==null&&(u=s?r.length:r.length/3),!(u<2)){c==null&&(c=0),a==null&&(a=1),this._itemVertexOffsets.push(this._vertexOffset);var s=typeof r[0]!="number",v=s?typeof n[0]!="number":n.length/4===u,e=this.attributes.position,t=this.attributes.positionPrev,i=this.attributes.positionNext,f=this.attributes.color,y=this.attributes.offset,b=this.indices,x=this._vertexOffset,A,w;a=Math.max(a,.01);for(var L=c;L1&&(e.copy(x,x-1),f.copy(x,x-1),x++):(L0&&(i.set(x-2,A),i.set(x-1,A)),e.set(x,A),e.set(x+1,A),f.set(x,w),f.set(x+1,w),y.set(x,a/2),y.set(x+1,-a/2),x+=2),this.useNativeLine)f.set(x,w),e.set(x,A),x++;else if(L>0){var B=this._triangleOffset*3,b=this.indices;b[B]=x-4,b[B+1]=x-3,b[B+2]=x-2,b[B+3]=x-3,b[B+4]=x-1,b[B+5]=x-2,this._triangleOffset+=2}}if(!this.useNativeLine){var I=this._vertexOffset,U=this._vertexOffset+u*2;t.copy(I,I+2),t.copy(I+1,I+3),i.copy(U-1,U-3),i.copy(U-2,U-4)}return this._vertexOffset=x,this._vertexOffset}}},setItemColor:function(r,n){for(var a=this._itemVertexOffsets[r],c=r0)},render:function(E,d,l){var o=E.gl;if(this.skeleton){this.skeleton.update();var g=this.skeleton.getSubSkinMatrices(this.__uid__,this.joints);l.setUniformOfSemantic(o,"SKIN_MATRIX",g)}return N.a.prototype.render.call(this,E,d,l)},getSkinMatricesTexture:function(){return this._skinMatricesTexture=this._skinMatricesTexture||new m.a({type:C.a.FLOAT,minFilter:C.a.NEAREST,magFilter:C.a.NEAREST,useMipmap:!1,flipY:!1}),this._skinMatricesTexture}});p.POINTS=C.a.POINTS,p.LINES=C.a.LINES,p.LINE_LOOP=C.a.LINE_LOOP,p.LINE_STRIP=C.a.LINE_STRIP,p.TRIANGLES=C.a.TRIANGLES,p.TRIANGLE_STRIP=C.a.TRIANGLE_STRIP,p.TRIANGLE_FAN=C.a.TRIANGLE_FAN,p.BACK=C.a.BACK,p.FRONT=C.a.FRONT,p.FRONT_AND_BACK=C.a.FRONT_AND_BACK,p.CW=C.a.CW,p.CCW=C.a.CCW,P.a=p},function(k,P,_){"use strict";var N=_(6),C=_(11),m=_(21),p=_(66),E=p.a.isPowerOfTwo,d=["px","nx","py","ny","pz","nz"],l=N.a.extend(function(){return{image:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},pixels:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},mipmaps:[]}},{update:function(g){var r=g.gl;r.bindTexture(r.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),this.updateCommon(g);var n=this.format,a=this.type;r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_WRAP_S,this.getAvailableWrapS()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_WRAP_T,this.getAvailableWrapT()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),r.texParameteri(r.TEXTURE_CUBE_MAP,r.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var c=g.getGLExtension("EXT_texture_filter_anisotropic");if(c&&this.anisotropic>1&&r.texParameterf(r.TEXTURE_CUBE_MAP,c.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),a===36193){var u=g.getGLExtension("OES_texture_half_float");u||(a=C.a.FLOAT)}if(this.mipmaps.length)for(var s=this.width,v=this.height,e=0;e0&&console.warn("Found multiple camera in one scene. Use the fist one."),this._cameraList.push(r)),r.name&&(this._nodeRepository[r.name]=r)},removeFromScene:function(r){if(r instanceof m.a){var n=this._cameraList.indexOf(r);n>=0&&this._cameraList.splice(n,1)}r.name&&delete this._nodeRepository[r.name]},getNode:function(r){return this._nodeRepository[r]},cloneNode:function(r){var n=r.clone(),a={},c=function(s,v){s.skeleton&&(v.skeleton=s.skeleton.clone(r,n),v.joints=s.joints.slice()),s.material&&(a[s.material.__uid__]={oldMat:s.material});for(var e=0;e0&&this._updateRenderList(c)}},_updateLightUniforms:function(){var r=this.lights;r.sort(g);var n=this._lightUniforms;for(var a in n)for(var c in n[a])n[a][c].value.length=0;for(var u=0;u0?N[C].value=new Float32Array(N[C].value):N[C].value=null;this.indices&&this.indices.length>0&&(this.indices=this.vertexCount>65535?new Uint32Array(this.indices):new Uint16Array(this.indices)),this.dirty()}}},function(k,P,_){"use strict";var N=_(2),C=_(57),m=_(56),p=_(0),E=_.n(p);function d(){}d.prototype={constructor:d,setScene:function(l){this._scene=l,this._skybox&&this._skybox.attachScene(this._scene)},initLight:function(l){this._lightRoot=l,this.mainLight=new N.a.DirectionalLight({shadowBias:.005}),this.ambientLight=new N.a.AmbientLight,l.add(this.mainLight),l.add(this.ambientLight)},dispose:function(){this._lightRoot&&(this._lightRoot.remove(this.mainLight),this._lightRoot.remove(this.ambientLight))},updateLight:function(l){var o=this.mainLight,g=this.ambientLight,r=l.getModel("light"),n=r.getModel("main"),a=r.getModel("ambient");o.intensity=n.get("intensity"),g.intensity=a.get("intensity"),o.color=N.a.parseColor(n.get("color")).slice(0,3),g.color=N.a.parseColor(a.get("color")).slice(0,3);var c=n.get("alpha")||0,u=n.get("beta")||0;o.position.setArray(N.a.directionFromAlphaBeta(c,u)),o.lookAt(N.a.Vector3.ZERO),o.castShadow=n.get("shadow"),o.shadowResolution=N.a.getShadowResolution(n.get("shadowQuality"))},updateAmbientCubemap:function(l,o,g){var r=o.getModel("light.ambientCubemap"),n=r.get("texture");if(n){this._cubemapLightsCache=this._cubemapLightsCache||{};var a=this._cubemapLightsCache[n];if(!a){var c=this;a=this._cubemapLightsCache[n]=N.a.createAmbientCubemap(r.option,l,g,function(){c._skybox instanceof C.a&&c._skybox.setEnvironmentMap(a.specular.cubemap),g.getZr().refresh()})}this._lightRoot.add(a.diffuse),this._lightRoot.add(a.specular),this._currentCubemapLights=a}else this._currentCubemapLights&&(this._lightRoot.remove(this._currentCubemapLights.diffuse),this._lightRoot.remove(this._currentCubemapLights.specular),this._currentCubemapLights=null)},updateSkybox:function(l,o,g){var r=o.get("environment"),n=this;function a(){return n._skybox instanceof C.a||(n._skybox&&n._skybox.dispose(l),n._skybox=new C.a),n._skybox}function c(){return n._skybox instanceof m.a||(n._skybox&&n._skybox.dispose(l),n._skybox=new m.a),n._skybox}if(r&&r!=="none")if(r==="auto")if(this._currentCubemapLights){var u=a(),s=this._currentCubemapLights.specular.cubemap;u.setEnvironmentMap(s),this._scene&&u.attachScene(this._scene),u.material.set("lod",2)}else this._skybox&&this._skybox.detachScene();else if(typeof r=="object"&&r.colorStops||typeof r=="string"&&E.a.color.parse(r)){var v=c(),e=new N.a.Texture2D({anisotropic:8,flipY:!1});v.setEnvironmentMap(e);var t=e.image=document.createElement("canvas");t.width=t.height=16;var i=t.getContext("2d"),f=new E.a.graphic.Rect({shape:{x:0,y:0,width:16,height:16},style:{fill:r}});f.brush(i),v.attachScene(this._scene)}else{var v=c(),e=N.a.loadTexture(r,g,{anisotropic:8,flipY:!1});v.setEnvironmentMap(e),v.attachScene(this._scene)}else this._skybox&&this._skybox.detachScene(this._scene),this._skybox=null;var y=o.coordinateSystem;if(this._skybox)if(y&&y.viewGL&&r!=="auto"&&!(r.match&&r.match(/.hdr$/))){var b=y.viewGL.isLinearSpace()?"define":"undefine";this._skybox.material[b]("fragment","SRGB_DECODE")}else this._skybox.material.undefine("fragment","SRGB_DECODE")}},P.a=d},function(k,P,_){"use strict";var N=_(0),C=_.n(N);function m(p,E){var d=[];return C.a.util.each(p.dimensions,function(l){var o=p.getDimensionInfo(l),g=o.otherDims,r=g[E];r!=null&&r!==!1&&(d[r]=o.name)}),d}P.a=function(p,E,d){function l(s){var v=!0,e=[],t=m(o,"tooltip");t.length?C.a.util.each(t,function(f){i(o.get(f,E),f)}):C.a.util.each(s,i);function i(f,y){var b=o.getDimensionInfo(y);if(!(!b||b.otherDims.tooltip===!1)){var x=b.type,A=(v?"- "+(b.tooltipName||b.name)+": ":"")+(x==="ordinal"?f+"":x==="time"?d?"":C.a.format.formatTime("yyyy/MM/dd hh:mm:ss",f):C.a.format.addCommas(f));A&&e.push(C.a.format.encodeHTML(A))}}return(v?"
    ":"")+e.join(v?"
    ":", ")}var o=p.getData(),g=p.getRawValue(E),r=C.a.util.isArray(g)?l(g):C.a.format.encodeHTML(C.a.format.addCommas(g)),n=o.getName(E),a=o.getItemVisual(E,"color");C.a.util.isObject(a)&&a.colorStops&&(a=(a.colorStops[0]||{}).color),a=a||"transparent";var c=C.a.format.getTooltipMarker(a),u=p.name;return u==="\0-"&&(u=""),u=u?C.a.format.encodeHTML(u)+(d?": ":"
    "):"",d?c+u+r:u+c+(n?C.a.format.encodeHTML(n)+": "+r:r)}},function(k,P,_){"use strict";var N=_(51),C=N.a.extend({fov:50,aspect:1,near:.1,far:2e3},{updateProjectionMatrix:function(){var m=this.fov/180*Math.PI;this.projectionMatrix.perspective(m,this.aspect,this.near,this.far)},decomposeProjectionMatrix:function(){var m=this.projectionMatrix.array,p=Math.atan(1/m[5])*2;this.fov=p/Math.PI*180,this.aspect=m[5]/m[0],this.near=m[14]/(m[10]-1),this.far=m[14]/(m[10]+1)},clone:function(){var m=N.a.prototype.clone.call(this);return m.fov=this.fov,m.aspect=this.aspect,m.near=this.near,m.far=this.far,m}});P.a=C},function(k,P,_){"use strict";var N=_(13),C=_(15),m=N.a.extend({dynamic:!1,widthSegments:1,heightSegments:1},function(){this.build()},{build:function(){for(var p=this.heightSegments,E=this.widthSegments,d=this.attributes,l=[],o=[],g=[],r=[],n=0;n<=p;n++)for(var a=n/p,c=0;c<=E;c++){var u=c/E;if(l.push([2*u-1,2*a-1,0]),o&&o.push([u,a]),g&&g.push([0,0,1]),c0&&this._notFirst?this.animateTo({alpha:i,beta:f,center:y,distance:s,targetOrthographicSize:v,easing:t.animationEasingUpdate,duration:t.animationDurationUpdate}):(this.setDistance(s),this.setAlpha(i),this.setBeta(f),this.setCenter(y),this.setOrthographicSize(v)),this._notFirst=!0,this._validateProperties()},_validateProperties:function(){l[this.panMouseButton]==null&&console.error("Unkown panMouseButton %s. It should be left|middle|right",this.panMouseButton),l[this.rotateMouseButton]==null&&console.error("Unkown rotateMouseButton %s. It should be left|middle|right",this.rotateMouseButton),this.autoRotateDirection!=="cw"&&this.autoRotateDirection!=="ccw"&&console.error("Unkown autoRotateDirection %s. It should be cw|ccw",this.autoRotateDirection)},animateTo:function(r){var n=this.zr,a=this,c={},u={};return r.distance!=null&&(c.distance=this.getDistance(),u.distance=r.distance),r.orthographicSize!=null&&(c.orthographicSize=this.getOrthographicSize(),u.orthographicSize=r.orthographicSize),r.alpha!=null&&(c.alpha=this.getAlpha(),u.alpha=r.alpha),r.beta!=null&&(c.beta=this.getBeta(),u.beta=r.beta),r.center!=null&&(c.center=this.getCenter(),u.center=r.center),this._addAnimator(n.animation.animate(c).when(r.duration||1e3,u).during(function(){c.alpha!=null&&a.setAlpha(c.alpha),c.beta!=null&&a.setBeta(c.beta),c.distance!=null&&a.setDistance(c.distance),c.center!=null&&a.setCenter(c.center),c.orthographicSize!=null&&a.setOrthographicSize(c.orthographicSize),a._needsUpdate=!0})).start(r.easing||"linear")},stopAllAnimation:function(){for(var r=0;r0},_update:function(r){if(this._rotating){var n=(this.autoRotateDirection==="cw"?1:-1)*this.autoRotateSpeed/180*Math.PI;this._phi-=n*r/1e3,this._needsUpdate=!0}else this._rotateVelocity.len()>0&&(this._needsUpdate=!0);(Math.abs(this._zoomSpeed)>.1||this._panVelocity.len()>0)&&(this._needsUpdate=!0),this._needsUpdate&&(r=Math.min(r,50),this._updateDistanceOrSize(r),this._updatePan(r),this._updateRotate(r),this._updateTransform(),this.getCamera().update(),this.zr&&this.zr.refresh(),this.trigger("update"),this._needsUpdate=!1)},_updateRotate:function(r){var n=this._rotateVelocity;this._phi=n.y*r/20+this._phi,this._theta=n.x*r/20+this._theta,this.setAlpha(this.getAlpha()),this.setBeta(this.getBeta()),this._vectorDamping(n,Math.pow(this.damping,r/16))},_updateDistanceOrSize:function(r){this._projection==="perspective"?this._setDistance(this._distance+this._zoomSpeed*r/20):this._setOrthoSize(this._orthoSize+this._zoomSpeed*r/20),this._zoomSpeed*=Math.pow(this.damping,r/16)},_setDistance:function(r){this._distance=Math.max(Math.min(r,this.maxDistance),this.minDistance)},_setOrthoSize:function(r){this._orthoSize=Math.max(Math.min(r,this.maxOrthographicSize),this.minOrthographicSize);var n=this.getCamera(),a=this._orthoSize,c=a/this.viewGL.viewport.height*this.viewGL.viewport.width;n.left=-c/2,n.right=c/2,n.top=a/2,n.bottom=-a/2},_updatePan:function(r){var n=this._panVelocity,a=this._distance,c=this.getCamera(),u=c.worldTransform.y,s=c.worldTransform.x;this._center.scaleAndAdd(s,-n.x*a/200).scaleAndAdd(u,-n.y*a/200),this._vectorDamping(n,0)},_updateTransform:function(){var r=this.getCamera(),n=new m.a,a=this._theta+Math.PI/2,c=this._phi+Math.PI/2,u=Math.sin(a);n.x=u*Math.cos(c),n.y=-Math.cos(a),n.z=u*Math.sin(c),r.position.copy(this._center).scaleAndAdd(n,this._distance),r.rotation.identity().rotateY(-this._phi).rotateX(-this._theta)},_startCountingStill:function(){clearTimeout(this._stillTimeout);var r=this.autoRotateAfterStill,n=this;!isNaN(r)&&r>0&&(this._stillTimeout=setTimeout(function(){n._rotating=!0},r*1e3))},_vectorDamping:function(r,n){var a=r.len();a=a*n,a<1e-4&&(a=0),r.normalize().scale(a)},_decomposeTransform:function(){if(this.getCamera()){this.getCamera().updateWorldTransform();var r=this.getCamera().worldTransform.z,n=Math.asin(r.y),a=Math.atan2(r.x,r.z);this._theta=n,this._phi=-a,this.setBeta(this.getBeta()),this.setAlpha(this.getAlpha()),this.getCamera().aspect?this._setDistance(this.getCamera().position.dist(this._center)):this._setOrthoSize(this.getCamera().top-this.getCamera().bottom)}},_mouseDownHandler:function(r){if(!r.target&&!this._isAnimating()){var n=r.offsetX,a=r.offsetY;this.viewGL&&!this.viewGL.containPoint(n,a)||(this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler),r.event.targetTouches?r.event.targetTouches.length===1&&(this._mode="rotate"):r.event.button===l[this.rotateMouseButton]?this._mode="rotate":r.event.button===l[this.panMouseButton]?this._mode="pan":this._mode="",this._rotateVelocity.set(0,0),this._rotating=!1,this.autoRotate&&this._startCountingStill(),this._mouseX=r.offsetX,this._mouseY=r.offsetY)}},_mouseMoveHandler:function(r){if(!(r.target&&r.target.__isGLToZRProxy)&&!this._isAnimating()){var n=o(this.panSensitivity),a=o(this.rotateSensitivity);this._mode==="rotate"?(this._rotateVelocity.y=(r.offsetX-this._mouseX)/this.zr.getHeight()*2*a[0],this._rotateVelocity.x=(r.offsetY-this._mouseY)/this.zr.getWidth()*2*a[1]):this._mode==="pan"&&(this._panVelocity.x=(r.offsetX-this._mouseX)/this.zr.getWidth()*n[0]*400,this._panVelocity.y=(-r.offsetY+this._mouseY)/this.zr.getHeight()*n[1]*400),this._mouseX=r.offsetX,this._mouseY=r.offsetY,r.event.preventDefault()}},_mouseWheelHandler:function(r){if(!this._isAnimating()){var n=r.event.wheelDelta||-r.event.detail;this._zoomHandler(r,n)}},_pinchHandler:function(r){this._isAnimating()||(this._zoomHandler(r,r.pinchScale>1?1:-1),this._mode="")},_zoomHandler:function(r,n){if(n!==0){var a=r.offsetX,c=r.offsetY;if(!(this.viewGL&&!this.viewGL.containPoint(a,c))){var u;this._projection==="perspective"?u=Math.max(Math.max(Math.min(this._distance-this.minDistance,this.maxDistance-this._distance))/20,.5):u=Math.max(Math.max(Math.min(this._orthoSize-this.minOrthographicSize,this.maxOrthographicSize-this._orthoSize))/20,.5),this._zoomSpeed=(n>0?-1:1)*u*this.zoomSensitivity,this._rotating=!1,this.autoRotate&&this._mode==="rotate"&&this._startCountingStill(),r.event.preventDefault()}}},_mouseUpHandler:function(){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_isRightMouseButtonUsed:function(){return this.rotateMouseButton==="right"||this.panMouseButton==="right"},_contextMenuHandler:function(r){this._isRightMouseButtonUsed()&&r.preventDefault()},_addAnimator:function(r){var n=this._animators;return n.push(r),r.done(function(){var a=n.indexOf(r);a>=0&&n.splice(a,1)}),r}});Object.defineProperty(g.prototype,"autoRotate",{get:function(r){return this._autoRotate},set:function(r){this._autoRotate=r,this._rotating=r}}),P.a=g},function(k,P,_){"use strict";P.a=`@export ecgl.lines3D.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position: POSITION; attribute vec4 a_Color : COLOR; varying vec4 v_Color; void main() { gl_Position = worldViewProjection * vec4(position, 1.0); v_Color = a_Color; } @end @export ecgl.lines3D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif } @end @export ecgl.lines3D.clipNear vec4 clipNear(vec4 p1, vec4 p2) { float n = (p1.w - near) / (p1.w - p2.w); return vec4(mix(p1.xy, p2.xy, n), -near, near); } @end @export ecgl.lines3D.expandLine #ifdef VERTEX_ANIMATION vec4 prevProj = worldViewProjection * vec4(mix(prevPositionPrev, positionPrev, percent), 1.0); vec4 currProj = worldViewProjection * vec4(mix(prevPosition, position, percent), 1.0); vec4 nextProj = worldViewProjection * vec4(mix(prevPositionNext, positionNext, percent), 1.0); #else vec4 prevProj = worldViewProjection * vec4(positionPrev, 1.0); vec4 currProj = worldViewProjection * vec4(position, 1.0); vec4 nextProj = worldViewProjection * vec4(positionNext, 1.0); #endif if (currProj.w < 0.0) { if (nextProj.w > 0.0) { currProj = clipNear(currProj, nextProj); } else if (prevProj.w > 0.0) { currProj = clipNear(currProj, prevProj); } } vec2 prevScreen = (prevProj.xy / abs(prevProj.w) + 1.0) * 0.5 * viewport.zw; vec2 currScreen = (currProj.xy / abs(currProj.w) + 1.0) * 0.5 * viewport.zw; vec2 nextScreen = (nextProj.xy / abs(nextProj.w) + 1.0) * 0.5 * viewport.zw; vec2 dir; float len = offset; if (position == positionPrev) { dir = normalize(nextScreen - currScreen); } else if (position == positionNext) { dir = normalize(currScreen - prevScreen); } else { vec2 dirA = normalize(currScreen - prevScreen); vec2 dirB = normalize(nextScreen - currScreen); vec2 tanget = normalize(dirA + dirB); float miter = 1.0 / max(dot(tanget, dirA), 0.5); len *= miter; dir = tanget; } dir = vec2(-dir.y, dir.x) * len; currScreen += dir; currProj.xy = (currScreen / viewport.zw - 0.5) * 2.0 * abs(currProj.w); @end @export ecgl.meshLines3D.vertex attribute vec3 position: POSITION; attribute vec3 positionPrev; attribute vec3 positionNext; attribute float offset; attribute vec4 a_Color : COLOR; #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute vec3 prevPositionPrev; attribute vec3 prevPositionNext; uniform float percent : 1.0; #endif uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec4 viewport : VIEWPORT; uniform float near : NEAR; varying vec4 v_Color; @import ecgl.common.wireframe.vertexHeader @import ecgl.lines3D.clipNear void main() { @import ecgl.lines3D.expandLine gl_Position = currProj; v_Color = a_Color; @import ecgl.common.wireframe.vertexMain } @end @export ecgl.meshLines3D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; @import ecgl.common.wireframe.fragmentHeader @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){var N=_(12),C=_(75),m=_(78),p=m.parsePercent,E=_(149),d=N.each,l=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function g(f,y,b,x,A){var w=0,L=0;x==null&&(x=1/0),A==null&&(A=1/0);var M=0;y.eachChild(function(D,B){var I=D.position,U=D.getBoundingRect(),F=y.childAt(B+1),K=F&&F.getBoundingRect(),j,X;if(f==="horizontal"){var Y=U.width+(K?-K.x+U.x:0);j=w+Y,j>x||D.newline?(w=0,j=Y,L+=M+b,M=U.height):M=Math.max(M,U.height)}else{var se=U.height+(K?-K.y+U.y:0);X=L+se,X>A||D.newline?(w+=M+b,L=0,X=se,M=U.width):M=Math.max(M,U.width)}D.newline||(I[0]=w,I[1]=L,f==="horizontal"?w=j+b:L=X+b)})}var r=g,n=N.curry(g,"vertical"),a=N.curry(g,"horizontal");function c(f,y,b){var x=y.width,A=y.height,w=p(f.x,x),L=p(f.y,A),M=p(f.x2,x),D=p(f.y2,A);return(isNaN(w)||isNaN(parseFloat(f.x)))&&(w=0),(isNaN(M)||isNaN(parseFloat(f.x2)))&&(M=x),(isNaN(L)||isNaN(parseFloat(f.y)))&&(L=0),(isNaN(D)||isNaN(parseFloat(f.y2)))&&(D=A),b=E.normalizeCssArray(b||0),{width:Math.max(M-w-b[1]-b[3],0),height:Math.max(D-L-b[0]-b[2],0)}}function u(f,y,b){b=E.normalizeCssArray(b||0);var x=y.width,A=y.height,w=p(f.left,x),L=p(f.top,A),M=p(f.right,x),D=p(f.bottom,A),B=p(f.width,x),I=p(f.height,A),U=b[2]+b[0],F=b[1]+b[3],K=f.aspect;switch(isNaN(B)&&(B=x-M-F-w),isNaN(I)&&(I=A-D-U-L),K!=null&&(isNaN(B)&&isNaN(I)&&(K>x/A?B=x*.8:I=A*.8),isNaN(B)&&(B=K*I),isNaN(I)&&(I=B/K)),isNaN(w)&&(w=x-M-B-F),isNaN(L)&&(L=A-D-I-U),f.left||f.right){case"center":w=x/2-B/2-b[3];break;case"right":w=x-B-F;break}switch(f.top||f.bottom){case"middle":case"center":L=A/2-I/2-b[0];break;case"bottom":L=A-I-U;break}w=w||0,L=L||0,isNaN(B)&&(B=x-F-w-(M||0)),isNaN(I)&&(I=A-U-L-(D||0));var j=new C(w+b[3],L+b[0],B,I);return j.margin=b,j}function s(f,y,b,x,A){var w=!A||!A.hv||A.hv[0],L=!A||!A.hv||A.hv[1],M=A&&A.boundingMode||"all";if(!(!w&&!L)){var D;if(M==="raw")D=f.type==="group"?new C(0,0,+y.width||0,+y.height||0):f.getBoundingRect();else if(D=f.getBoundingRect(),f.needLocalTransform()){var B=f.getLocalTransform();D=D.clone(),D.applyTransform(B)}y=u(N.defaults({width:D.width,height:D.height},y),b,x);var I=f.position,U=w?y.x-D.x:0,F=L?y.y-D.y:0;f.attr("position",M==="raw"?[U,F]:[I[0]+U,I[1]+F])}}function v(f,y){return f[o[y][0]]!=null||f[o[y][1]]!=null&&f[o[y][2]]!=null}function e(f,y,b){!N.isObject(b)&&(b={});var x=b.ignoreSize;!N.isArray(x)&&(x=[x,x]);var A=L(o[0],0),w=L(o[1],1);B(o[0],f,A),B(o[1],f,w);function L(I,U){var F={},K=0,j={},X=0,Y=2;if(d(I,function(ve){j[ve]=f[ve]}),d(I,function(ve){M(y,ve)&&(F[ve]=j[ve]=y[ve]),D(F,ve)&&K++,D(j,ve)&&X++}),x[U])return D(y,I[1])?j[I[2]]=null:D(y,I[2])&&(j[I[1]]=null),j;if(X===Y||!K)return j;if(K>=Y)return F;for(var se=0;se0){var p=this.outputs[m];p.keepLastFrame?(this._prevOutputTextures[m]&&this._compositor.releaseTexture(this._prevOutputTextures[m]),this._prevOutputTextures[m]=this._outputTextures[m]):this._compositor.releaseTexture(this._outputTextures[m])}}});P.a=C},function(k,P,_){"use strict";function N(C,m){for(var p=0,E=1/m,d=C;d>0;)p=p+E*(d%m),d=Math.floor(d/m),E=E/m;return p}P.a=N},function(k,P,_){"use strict";var N=_(0),C=_.n(N);P.a=function(m,p,E){E=E||m.getSource();var d=p||C.a.getCoordinateSystemDimensions(m.get("coordinateSystem"))||["x","y","z"],l=C.a.helper.createDimensions(E,{dimensionsDefine:E.dimensionsDefine||m.get("dimensions"),encodeDefine:E.encodeDefine||m.get("encode"),coordDimensions:d.map(function(g){var r=m.getReferringComponents(g+"Axis3D")[0];return{type:r&&r.get("type")==="category"?"ordinal":"float",name:g,stackable:g==="z"}})});m.get("coordinateSystem")==="cartesian3D"&&l.forEach(function(g){if(d.indexOf(g.coordDim)>=0){var r=m.getReferringComponents(g.coordDim+"Axis3D")[0];r&&r.get("type")==="category"&&(g.ordinalMeta=r.getOrdinalMeta())}});var o=new C.a.List(l,m);return o.initData(E),o}},function(k,P){function _(N,C,m){return{seriesType:N,performRawSeries:!0,reset:function(p,E,d){var l=p.getData(),o=p.get("symbol")||C,g=p.get("symbolSize");if(l.setVisual({legendSymbol:m||o,symbol:o,symbolSize:g}),E.isSeriesFiltered(p))return;var r=typeof g=="function";function n(a,c){if(typeof g=="function"){var u=p.getRawValue(c),s=p.getDataParams(c);a.setItemVisual(c,"symbolSize",g(u,s))}if(a.hasItemOption){var v=a.getItemModel(c),e=v.getShallow("symbol",!0),t=v.getShallow("symbolSize",!0);e!=null&&a.setItemVisual(c,"symbol",e),t!=null&&a.setItemVisual(c,"symbolSize",t)}}return{dataEach:l.hasItemOption||r?n:null}}}}k.exports=_},function(k,P,_){"use strict";var N=_(8),C=_(92),m=_(11),p=_(18),E=_(15),d=_(9),l=_(17),o=_(23),g=_(96),r=_(7),n=_(98),a=_(63),c=_(1),u=_.n(c);r.a.import(n.a),r.a.import(a.a);var s=u.a.mat4,v=u.a.vec3,e=s.create,t={};function i(x){return x.material}function f(){}var y=N.a.extend(function(){return{canvas:null,_width:100,_height:100,devicePixelRatio:window.devicePixelRatio||1,clearColor:[0,0,0,0],clearBit:17664,alpha:!0,depth:!0,stencil:!1,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!1,throwError:!0,gl:null,viewport:{},__currentFrameBuffer:null,_viewportStack:[],_clearStack:[],_sceneRendering:null}},function(){this.canvas||(this.canvas=document.createElement("canvas"));var x=this.canvas;try{var A={alpha:this.alpha,depth:this.depth,stencil:this.stencil,antialias:this.antialias,premultipliedAlpha:this.premultipliedAlpha,preserveDrawingBuffer:this.preserveDrawingBuffer};if(this.gl=x.getContext("webgl",A)||x.getContext("experimental-webgl",A),!this.gl)throw new Error;this._glinfo=new C.a(this.gl),this.gl.targetRenderer&&console.error("Already created a renderer"),this.gl.targetRenderer=this,this.resize()}catch(w){throw"Error creating WebGL Context "+w}this._programMgr=new g.a(this)},{resize:function(x,A){var w=this.canvas,L=this.devicePixelRatio;x!=null?(w.style.width=x+"px",w.style.height=A+"px",w.width=x*L,w.height=A*L,this._width=x,this._height=A):(this._width=w.width/L,this._height=w.height/L),this.setViewport(0,0,this._width,this._height)},getWidth:function(){return this._width},getHeight:function(){return this._height},getViewportAspect:function(){var x=this.viewport;return x.width/x.height},setDevicePixelRatio:function(x){this.devicePixelRatio=x,this.resize(this._width,this._height)},getDevicePixelRatio:function(){return this.devicePixelRatio},getGLExtension:function(x){return this._glinfo.getExtension(x)},getGLParameter:function(x){return this._glinfo.getParameter(x)},setViewport:function(x,A,w,L,M){if(typeof x=="object"){var D=x;x=D.x,A=D.y,w=D.width,L=D.height,M=D.devicePixelRatio}M=M||this.devicePixelRatio,this.gl.viewport(x*M,A*M,w*M,L*M),this.viewport={x,y:A,width:w,height:L,devicePixelRatio:M}},saveViewport:function(){this._viewportStack.push(this.viewport)},restoreViewport:function(){this._viewportStack.length>0&&this.setViewport(this._viewportStack.pop())},saveClear:function(){this._clearStack.push({clearBit:this.clearBit,clearColor:this.clearColor})},restoreClear:function(){if(this._clearStack.length>0){var x=this._clearStack.pop();this.clearColor=x.clearColor,this.clearBit=x.clearBit}},bindSceneRendering:function(x){this._sceneRendering=x},render:function(x,A,w,L){var M=this.gl,D=this.clearColor;if(this.clearBit){M.colorMask(!0,!0,!0,!0),M.depthMask(!0);var B=this.viewport,I=!1,U=B.devicePixelRatio;(B.width!==this._width||B.height!==this._height||U&&U!==this.devicePixelRatio||B.x||B.y)&&(I=!0,M.enable(M.SCISSOR_TEST),M.scissor(B.x*U,B.y*U,B.width*U,B.height*U)),M.clearColor(D[0],D[1],D[2],D[3]),M.clear(this.clearBit),I&&M.disable(M.SCISSOR_TEST)}if(w||x.update(!1),A=A||x.getMainCamera(),!A){console.error("Can't find camera in the scene.");return}A.getScene()||A.update(!0),this._sceneRendering=x,x.viewBoundingBoxLastFrame.min.set(1/0,1/0,1/0),x.viewBoundingBoxLastFrame.max.set(-1/0,-1/0,-1/0);var F=this.cullRenderList(x.opaqueList,x,A),K=this.cullRenderList(x.transparentList,x,A),j=x.material;x.trigger("beforerender",this,x,A),L?(this.renderPreZ(F,x,A),M.depthFunc(M.LEQUAL)):M.depthFunc(M.LESS);for(var X=e(),Y=v.create(),se=0;se0){var I=x[M-1],U=I.joints?I.joints.length:0,F=D.joints.length?D.joints.length:0;if(F===U&&D.material===I.material&&D.lightGroup===I.lightGroup){D.__program=I.__program;continue}}var K=this._programMgr.getProgram(D,B,A);this.validateProgram(K),D.__program=K}},cullRenderList:function(x,A,w){for(var L=[],M=0;M0&&x.min.array[2]<0&&(x.max.array[2]=-1e-20),x.applyProjection(A);var U=x.min.array,F=x.max.array;if(F[0]<-1||U[0]>1||F[1]<-1||U[1]>1||F[2]<-1||U[2]>1)return!0}return!1}}(),disposeScene:function(x){this.disposeNode(x,!0,!0),x.dispose()},disposeNode:function(x,A,w){x.getParent()&&x.getParent().remove(x),x.traverse(function(L){L.geometry&&A&&L.geometry.dispose(this),L.dispose&&L.dispose(this)},this)},disposeGeometry:function(x){x.dispose(this)},disposeTexture:function(x){x.dispose(this)},disposeFrameBuffer:function(x){x.dispose(this)},dispose:function(){},screenToNDC:function(x,A,w){w||(w=new o.a),A=this._height-A;var L=this.viewport,M=w.array;return M[0]=(x-L.x)/L.width,M[0]=M[0]*2-1,M[1]=(A-L.y)/L.height,M[1]=M[1]*2-1,w}});y.opaqueSortCompare=y.prototype.opaqueSortCompare=function(x,A){return x.renderOrder===A.renderOrder?x.__program===A.__program?x.material===A.material?x.geometry.__uid__-A.geometry.__uid__:x.material.__uid__-A.material.__uid__:x.__program&&A.__program?x.__program.__uid__-A.__program.__uid__:0:x.renderOrder-A.renderOrder},y.transparentSortCompare=y.prototype.transparentSortCompare=function(x,A){return x.renderOrder===A.renderOrder?x.__depth===A.__depth?x.__program===A.__program?x.material===A.material?x.geometry.__uid__-A.geometry.__uid__:x.material.__uid__-A.material.__uid__:x.__program&&A.__program?x.__program.__uid__-A.__program.__uid__:0:x.__depth-A.__depth:x.renderOrder-A.renderOrder};var b={IDENTITY:e(),WORLD:e(),VIEW:e(),PROJECTION:e(),WORLDVIEW:e(),VIEWPROJECTION:e(),WORLDVIEWPROJECTION:e(),WORLDINVERSE:e(),VIEWINVERSE:e(),PROJECTIONINVERSE:e(),WORLDVIEWINVERSE:e(),VIEWPROJECTIONINVERSE:e(),WORLDVIEWPROJECTIONINVERSE:e(),WORLDTRANSPOSE:e(),VIEWTRANSPOSE:e(),PROJECTIONTRANSPOSE:e(),WORLDVIEWTRANSPOSE:e(),VIEWPROJECTIONTRANSPOSE:e(),WORLDVIEWPROJECTIONTRANSPOSE:e(),WORLDINVERSETRANSPOSE:e(),VIEWINVERSETRANSPOSE:e(),PROJECTIONINVERSETRANSPOSE:e(),WORLDVIEWINVERSETRANSPOSE:e(),VIEWPROJECTIONINVERSETRANSPOSE:e(),WORLDVIEWPROJECTIONINVERSETRANSPOSE:e()};y.COLOR_BUFFER_BIT=m.a.COLOR_BUFFER_BIT,y.DEPTH_BUFFER_BIT=m.a.DEPTH_BUFFER_BIT,y.STENCIL_BUFFER_BIT=m.a.STENCIL_BUFFER_BIT,P.a=y},function(k,P,_){"use strict";function N(m,p){this.action=m,this.context=p}var C={trigger:function(m){if(this.hasOwnProperty("__handlers__")&&this.__handlers__.hasOwnProperty(m)){var p=this.__handlers__[m],E=p.length,d=-1,l=arguments;switch(l.length){case 1:for(;++dv)){var e=Math.sqrt(v-s),t=c-e,i=c+e;return r||(r=new N.a),t<0?i<0?null:(p.scaleAndAdd(r.array,n,a,i),r):(p.scaleAndAdd(r.array,n,a,t),r)}}}(),intersectBoundingBox:function(l,o){var g=this.direction.array,r=this.origin.array,n=l.min.array,a=l.max.array,c=1/g[0],u=1/g[1],s=1/g[2],v,e,t,i,f,y;if(c>=0?(v=(n[0]-r[0])*c,e=(a[0]-r[0])*c):(e=(n[0]-r[0])*c,v=(a[0]-r[0])*c),u>=0?(t=(n[1]-r[1])*u,i=(a[1]-r[1])*u):(i=(n[1]-r[1])*u,t=(a[1]-r[1])*u),v>i||t>e||((t>v||v!==v)&&(v=t),(i=0?(f=(n[2]-r[2])*s,y=(a[2]-r[2])*s):(y=(n[2]-r[2])*s,f=(a[2]-r[2])*s),v>y||f>e)||((f>v||v!==v)&&(v=f),(y=0?v:e;return o||(o=new N.a),p.scaleAndAdd(o.array,r,g,b),o},intersectTriangle:function(){var l=p.create(),o=p.create(),g=p.create(),r=p.create();return function(n,a,c,u,s,v){var e=this.direction.array,t=this.origin.array;n=n.array,a=a.array,c=c.array,p.sub(l,a,n),p.sub(o,c,n),p.cross(r,o,e);var i=p.dot(l,r);if(u){if(i>-E)return null}else if(i>-E&&i1)return null;p.cross(r,l,g);var y=p.dot(e,r)/i;if(y<0||y>1||f+y>1)return null;p.cross(r,l,o);var b=-p.dot(g,r)/i;return b<0?null:(s||(s=new N.a),v&&N.a.set(v,1-f-y,f,y),p.scaleAndAdd(s.array,t,e,b),s)}}(),applyTransform:function(l){N.a.add(this.direction,this.direction,this.origin),N.a.transformMat4(this.origin,this.origin,l),N.a.transformMat4(this.direction,this.direction,l),N.a.sub(this.direction,this.direction,this.origin),N.a.normalize(this.direction,this.direction)},copy:function(l){N.a.copy(this.origin,l.origin),N.a.copy(this.direction,l.direction)},clone:function(){var l=new d;return l.copy(this),l}},P.a=d},function(k,P,_){"use strict";var N=_(1),C=_.n(N),m=C.a.quat,p=function(l,o,g,r){l=l||0,o=o||0,g=g||0,r=r===void 0?1:r,this.array=m.fromValues(l,o,g,r),this._dirty=!0};p.prototype={constructor:p,add:function(l){return m.add(this.array,this.array,l.array),this._dirty=!0,this},calculateW:function(){return m.calculateW(this.array,this.array),this._dirty=!0,this},set:function(l,o,g,r){return this.array[0]=l,this.array[1]=o,this.array[2]=g,this.array[3]=r,this._dirty=!0,this},setArray:function(l){return this.array[0]=l[0],this.array[1]=l[1],this.array[2]=l[2],this.array[3]=l[3],this._dirty=!0,this},clone:function(){return new p(this.x,this.y,this.z,this.w)},conjugate:function(){return m.conjugate(this.array,this.array),this._dirty=!0,this},copy:function(l){return m.copy(this.array,l.array),this._dirty=!0,this},dot:function(l){return m.dot(this.array,l.array)},fromMat3:function(l){return m.fromMat3(this.array,l.array),this._dirty=!0,this},fromMat4:function(){var l=C.a.mat3,o=l.create();return function(g){return l.fromMat4(o,g.array),l.transpose(o,o),m.fromMat3(this.array,o),this._dirty=!0,this}}(),identity:function(){return m.identity(this.array),this._dirty=!0,this},invert:function(){return m.invert(this.array,this.array),this._dirty=!0,this},len:function(){return m.len(this.array)},length:function(){return m.length(this.array)},lerp:function(l,o,g){return m.lerp(this.array,l.array,o.array,g),this._dirty=!0,this},mul:function(l){return m.mul(this.array,this.array,l.array),this._dirty=!0,this},mulLeft:function(l){return m.multiply(this.array,l.array,this.array),this._dirty=!0,this},multiply:function(l){return m.multiply(this.array,this.array,l.array),this._dirty=!0,this},multiplyLeft:function(l){return m.multiply(this.array,l.array,this.array),this._dirty=!0,this},normalize:function(){return m.normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(l){return m.rotateX(this.array,this.array,l),this._dirty=!0,this},rotateY:function(l){return m.rotateY(this.array,this.array,l),this._dirty=!0,this},rotateZ:function(l){return m.rotateZ(this.array,this.array,l),this._dirty=!0,this},rotationTo:function(l,o){return m.rotationTo(this.array,l.array,o.array),this._dirty=!0,this},setAxes:function(l,o,g){return m.setAxes(this.array,l.array,o.array,g.array),this._dirty=!0,this},setAxisAngle:function(l,o){return m.setAxisAngle(this.array,l.array,o),this._dirty=!0,this},slerp:function(l,o,g){return m.slerp(this.array,l.array,o.array,g),this._dirty=!0,this},sqrLen:function(){return m.sqrLen(this.array)},squaredLength:function(){return m.squaredLength(this.array)},fromEuler:function(l,o){return p.fromEuler(this,l,o)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var E=Object.defineProperty;if(E){var d=p.prototype;E(d,"x",{get:function(){return this.array[0]},set:function(l){this.array[0]=l,this._dirty=!0}}),E(d,"y",{get:function(){return this.array[1]},set:function(l){this.array[1]=l,this._dirty=!0}}),E(d,"z",{get:function(){return this.array[2]},set:function(l){this.array[2]=l,this._dirty=!0}}),E(d,"w",{get:function(){return this.array[3]},set:function(l){this.array[3]=l,this._dirty=!0}})}p.add=function(l,o,g){return m.add(l.array,o.array,g.array),l._dirty=!0,l},p.set=function(l,o,g,r,n){m.set(l.array,o,g,r,n),l._dirty=!0},p.copy=function(l,o){return m.copy(l.array,o.array),l._dirty=!0,l},p.calculateW=function(l,o){return m.calculateW(l.array,o.array),l._dirty=!0,l},p.conjugate=function(l,o){return m.conjugate(l.array,o.array),l._dirty=!0,l},p.identity=function(l){return m.identity(l.array),l._dirty=!0,l},p.invert=function(l,o){return m.invert(l.array,o.array),l._dirty=!0,l},p.dot=function(l,o){return m.dot(l.array,o.array)},p.len=function(l){return m.length(l.array)},p.lerp=function(l,o,g,r){return m.lerp(l.array,o.array,g.array,r),l._dirty=!0,l},p.slerp=function(l,o,g,r){return m.slerp(l.array,o.array,g.array,r),l._dirty=!0,l},p.mul=function(l,o,g){return m.multiply(l.array,o.array,g.array),l._dirty=!0,l},p.multiply=p.mul,p.rotateX=function(l,o,g){return m.rotateX(l.array,o.array,g),l._dirty=!0,l},p.rotateY=function(l,o,g){return m.rotateY(l.array,o.array,g),l._dirty=!0,l},p.rotateZ=function(l,o,g){return m.rotateZ(l.array,o.array,g),l._dirty=!0,l},p.setAxisAngle=function(l,o,g){return m.setAxisAngle(l.array,o.array,g),l._dirty=!0,l},p.normalize=function(l,o){return m.normalize(l.array,o.array),l._dirty=!0,l},p.sqrLen=function(l){return m.sqrLen(l.array)},p.squaredLength=p.sqrLen,p.fromMat3=function(l,o){return m.fromMat3(l.array,o.array),l._dirty=!0,l},p.setAxes=function(l,o,g,r){return m.setAxes(l.array,o.array,g.array,r.array),l._dirty=!0,l},p.rotationTo=function(l,o,g){return m.rotationTo(l.array,o.array,g.array),l._dirty=!0,l},p.fromEuler=function(l,o,e){l._dirty=!0,o=o.array;var r=l.array,n=Math.cos(o[0]/2),a=Math.cos(o[1]/2),c=Math.cos(o[2]/2),u=Math.sin(o[0]/2),s=Math.sin(o[1]/2),v=Math.sin(o[2]/2),e=(e||"XYZ").toUpperCase();switch(e){case"XYZ":r[0]=u*a*c+n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c-u*s*v;break;case"YXZ":r[0]=u*a*c+n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c+u*s*v;break;case"ZXY":r[0]=u*a*c-n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c-u*s*v;break;case"ZYX":r[0]=u*a*c-n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c+u*s*v;break;case"YZX":r[0]=u*a*c+n*s*v,r[1]=n*s*c+u*a*v,r[2]=n*a*v-u*s*c,r[3]=n*a*c-u*s*v;break;case"XZY":r[0]=u*a*c-n*s*v,r[1]=n*s*c-u*a*v,r[2]=n*a*v+u*s*c,r[3]=n*a*c+u*s*v;break}},P.a=p},function(k,P,_){"use strict";var N=_(28),C=_(9),m=_(52),p=_(49),E=_(1),d=_.n(E),l=d.a.vec3,o=d.a.vec4,g=N.a.extend(function(){return{projectionMatrix:new C.a,invProjectionMatrix:new C.a,viewMatrix:new C.a,frustum:new m.a}},function(){this.update(!0)},{update:function(r){N.a.prototype.update.call(this,r),C.a.invert(this.viewMatrix,this.worldTransform),this.updateProjectionMatrix(),C.a.invert(this.invProjectionMatrix,this.projectionMatrix),this.frustum.setFromProjection(this.projectionMatrix)},setViewMatrix:function(r){C.a.copy(this.viewMatrix,r),C.a.invert(this.worldTransform,r),this.decomposeWorldTransform()},decomposeProjectionMatrix:function(){},setProjectionMatrix:function(r){C.a.copy(this.projectionMatrix,r),C.a.invert(this.invProjectionMatrix,r),this.decomposeProjectionMatrix()},updateProjectionMatrix:function(){},castRay:function(){var r=o.create();return function(n,a){var c=a!==void 0?a:new p.a,u=n.array[0],s=n.array[1];return o.set(r,u,s,-1,1),o.transformMat4(r,r,this.invProjectionMatrix.array),o.transformMat4(r,r,this.worldTransform.array),l.scale(c.origin.array,r,1/r[3]),o.set(r,u,s,1,1),o.transformMat4(r,r,this.invProjectionMatrix.array),o.transformMat4(r,r,this.worldTransform.array),l.scale(r,r,1/r[3]),l.sub(c.direction.array,r,c.origin.array),l.normalize(c.direction.array,c.direction.array),c.direction._dirty=!0,c.origin._dirty=!0,c}}()});P.a=g},function(k,P,_){"use strict";var N=_(4),C=_(15),m=_(67),p=_(1),E=_.n(p),d=E.a.vec3,l=d.set,o=d.copy,g=d.transformMat4,r=Math.min,n=Math.max,a=function(){this.planes=[];for(var c=0;c<6;c++)this.planes.push(new m.a);this.boundingBox=new C.a,this.vertices=[];for(var c=0;c<8;c++)this.vertices[c]=d.fromValues(0,0,0)};a.prototype={setFromProjection:function(c){var u=this.planes,s=c.array,v=s[0],e=s[1],t=s[2],i=s[3],f=s[4],y=s[5],b=s[6],x=s[7],A=s[8],w=s[9],L=s[10],M=s[11],D=s[12],B=s[13],I=s[14],U=s[15];l(u[0].normal.array,i-v,x-f,M-A),u[0].distance=-(U-D),u[0].normalize(),l(u[1].normal.array,i+v,x+f,M+A),u[1].distance=-(U+D),u[1].normalize(),l(u[2].normal.array,i+e,x+y,M+w),u[2].distance=-(U+B),u[2].normalize(),l(u[3].normal.array,i-e,x-y,M-w),u[3].distance=-(U-B),u[3].normalize(),l(u[4].normal.array,i-t,x-b,M-L),u[4].distance=-(U-I),u[4].normalize(),l(u[5].normal.array,i+t,x+b,M+L),u[5].distance=-(U+I),u[5].normalize();var F=this.boundingBox;if(U===0){var K=y/v,j=-I/(L-1),X=-I/(L+1),Y=-X/y,se=-j/y;F.min.set(-Y*K,-Y,X),F.max.set(Y*K,Y,j);var Q=this.vertices;l(Q[0],-Y*K,-Y,X),l(Q[1],-Y*K,Y,X),l(Q[2],Y*K,-Y,X),l(Q[3],Y*K,Y,X),l(Q[4],-se*K,-se,j),l(Q[5],-se*K,se,j),l(Q[6],se*K,-se,j),l(Q[7],se*K,se,j)}else{var ve=(-1-D)/v,xe=(1-D)/v,Ce=(1-B)/y,De=(-1-B)/y,Ue=(-1-I)/L,Me=(1-I)/L;F.min.set(Math.min(ve,xe),Math.min(De,Ce),Math.min(Me,Ue)),F.max.set(Math.max(xe,ve),Math.max(Ce,De),Math.max(Ue,Me));var Je=F.min.array,Re=F.max.array,Q=this.vertices;l(Q[0],Je[0],Je[1],Je[2]),l(Q[1],Je[0],Re[1],Je[2]),l(Q[2],Re[0],Je[1],Je[2]),l(Q[3],Re[0],Re[1],Je[2]),l(Q[4],Je[0],Je[1],Re[2]),l(Q[5],Je[0],Re[1],Re[2]),l(Q[6],Re[0],Je[1],Re[2]),l(Q[7],Re[0],Re[1],Re[2])}},getTransformedBoundingBox:function(){var c=d.create();return function(u,s){var v=this.vertices,e=s.array,t=u.min,i=u.max,f=t.array,y=i.array,b=v[0];g(c,b,e),o(f,c),o(y,c);for(var x=1;x<8;x++)b=v[x],g(c,b,e),f[0]=r(c[0],f[0]),f[1]=r(c[1],f[1]),f[2]=r(c[2],f[2]),y[0]=n(c[0],y[0]),y[1]=n(c[1],y[1]),y[2]=n(c[2],y[2]);return t._dirty=!0,i._dirty=!0,u}}()},P.a=a},function(k,P){var _=function(){this.head=null,this.tail=null,this._len=0},N=_.prototype;N.insert=function(d){var l=new C(d);return this.insertEntry(l),l},N.insertEntry=function(d){this.head?(this.tail.next=d,d.prev=this.tail,d.next=null,this.tail=d):this.head=this.tail=d,this._len++},N.remove=function(d){var l=d.prev,o=d.next;l?l.next=o:this.head=o,o?o.prev=l:this.tail=l,d.next=d.prev=null,this._len--},N.len=function(){return this._len},N.clear=function(){this.head=this.tail=null,this._len=0};var C=function(d){this.value=d,this.next,this.prev},m=function(d){this._list=new _,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},p=m.prototype;p.put=function(d,l){var o=this._list,g=this._map,r=null;if(g[d]==null){var n=o.len(),a=this._lastRemovedEntry;if(n>=this._maxSize&&n>0){var c=o.head;o.remove(c),delete g[c.key],r=c.value,this._lastRemovedEntry=c}a?a.value=l:a=new C(l),a.key=d,o.insertEntry(a),g[d]=a}return r},p.get=function(d){var l=this._map[d],o=this._list;if(l!=null)return l!==o.tail&&(o.remove(l),o.insertEntry(l)),l.value},p.clear=function(){this._list.clear(),this._map={}};var E=m;k.exports=E},function(k,P,_){"use strict";var N=_(5),C=_(25),m=_(102),p=_(55),E=_(56),d=_(29),l=_(104),o=_(105),g={loadTexture:function(r,n,a,c){var u;if(typeof n=="function"?(a=n,c=a,n={}):n=n||{},typeof r=="string"){if(r.match(/.hdr$/)||n.fileType==="hdr")return u=new N.a({width:0,height:0,sRGB:!1}),g._fetchTexture(r,function(s){o.a.parseRGBE(s,u,n.exposure),u.dirty(),a&&a(u)},c),u;r.match(/.dds$/)||n.fileType==="dds"?(u=new N.a({width:0,height:0}),g._fetchTexture(r,function(s){l.a.parse(s,u),u.dirty(),a&&a(u)},c)):(u=new N.a,u.load(r),u.success(a),u.error(c))}else if(typeof r=="object"&&typeof r.px!="undefined"){var u=new C.a;u.load(r),u.success(a),u.error(c)}return u},loadPanorama:function(r,n,a,c,u,s){var v=this;typeof c=="function"?(u=c,s=u,c={}):c=c||{},g.loadTexture(n,c,function(e){e.flipY=c.flipY||!1,v.panoramaToCubeMap(r,e,a,c),e.dispose(r),u&&u(a)},s)},panoramaToCubeMap:function(r,n,a,c){var u=new p.a,s=new E.a({scene:new d.a});return s.material.set("diffuseMap",n),c=c||{},c.encodeRGBM&&s.material.define("fragment","RGBM_ENCODE"),a.sRGB=n.sRGB,u.texture=a,u.render(r,s.scene),u.texture=null,u.dispose(r),a},heightToNormal:function(r,n){var a=document.createElement("canvas"),c=a.width=r.width,u=a.height=r.height,s=a.getContext("2d");s.drawImage(r,0,0,c,u),n=n||!1;for(var v=s.getImageData(0,0,c,u),e=s.createImageData(c,u),t=0;t20)return console.warn("Given image is not a height map"),r}var x,A,w,L;t%(c*4)===0?(x=v.data[t],w=v.data[t+4]):t%(c*4)===(c-1)*4?(x=v.data[t-4],w=v.data[t]):(x=v.data[t-4],w=v.data[t+4]),tc*(u-1)*4?(A=v.data[t-c*4],L=v.data[t]):(A=v.data[t-c*4],L=v.data[t+c*4]),e.data[t]=x-w+127,e.data[t+1]=A-L+127,e.data[t+2]=255,e.data[t+3]=255}return s.putImageData(e,0,0),a},isHeightImage:function(r,n,a){if(!r||!r.width||!r.height)return!1;var c=document.createElement("canvas"),u=c.getContext("2d"),s=n||32;a=a||20,c.width=c.height=s,u.drawImage(r,0,0,s,s);for(var v=u.getImageData(0,0,s,s),e=0;ea)return!1}return!0},_fetchTexture:function(r,n,a){m.a.get({url:r,responseType:"arraybuffer",onload:n,onerror:a})},createChessboard:function(r,n,a,c){r=r||512,n=n||64,a=a||"black",c=c||"white";var u=Math.ceil(r/n),s=document.createElement("canvas");s.width=r,s.height=r;var v=s.getContext("2d");v.fillStyle=c,v.fillRect(0,0,r,r),v.fillStyle=a;for(var e=0;e0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),l.renderPass([this],o)}});P.a=d},function(k,P,_){"use strict";var N=_(2),C=_(143),m=_(144);N.a.Shader.import(m.a),P.a=N.a.Mesh.extend(function(){var p=new C.a({dynamic:!0}),E=new N.a.Material({shader:N.a.createShader("ecgl.labels"),transparent:!0,depthMask:!1});return{geometry:p,material:E,culling:!1,castShadow:!1,ignorePicking:!0}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(186),E=_(22),d=_(3),l=_(1),o=_.n(l),g=_(60),r=_(61),n=_(40),a=o.a.vec3;m.a.Shader.import(n.a);function c(u){this.rootNode=new m.a.Node,this._triangulationResults={},this._shadersMap=m.a.COMMON_SHADERS.reduce(function(v,e){return v[e]=m.a.createShader("ecgl."+e),v},{}),this._linesShader=m.a.createShader("ecgl.meshLines3D");var s={};m.a.COMMON_SHADERS.forEach(function(v){s[v]=new m.a.Material({shader:m.a.createShader("ecgl."+v)})}),this._groundMaterials=s,this._groundMesh=new m.a.Mesh({geometry:new m.a.PlaneGeometry({dynamic:!0}),castShadow:!1,renderNormal:!0,$ignorePicking:!0}),this._groundMesh.rotation.rotateX(-Math.PI/2),this._labelsBuilder=new r.a(512,512,u),this._labelsBuilder.getMesh().renderOrder=100,this._labelsBuilder.getMesh().material.depthTest=!1,this.rootNode.add(this._labelsBuilder.getMesh()),this._initMeshes(),this._api=u}c.prototype={constructor:c,extrudeY:!0,update:function(u,s,v,e,t){var i=u.getData();e==null&&(e=0),t==null&&(t=i.count()),this._startIndex=e,this._endIndex=t-1,this._triangulation(u,e,t);var f=this._getShader(u.get("shading"));this._prepareMesh(u,f,v,e,t),this.rootNode.updateWorldTransform(),this._updateRegionMesh(u,v,e,t);var y=u.coordinateSystem;y.type==="geo3D"&&this._updateGroundPlane(u,y,v);var b=this;this._labelsBuilder.updateData(i,e,t),this._labelsBuilder.getLabelPosition=function(x,A,w){var L=i.getName(x),M,D=w;if(y.type==="geo3D"){var B=y.getRegion(L);return M=B.center,y.dataToPoint([M[0],M[1],D])}else var I=b._triangulationResults[x-b._startIndex],M=b.extrudeY?[(I.max[0]+I.min[0])/2,I.max[1]+D,(I.max[2]+I.min[2])/2]:[(I.max[0]+I.min[0])/2,(I.max[1]+I.min[1])/2,I.max[2]+D]},this._data=i,this._labelsBuilder.updateLabels(),this._updateDebugWireframe(u),this._lastHoverDataIndex=0},_initMeshes:function(){this.rootNode.removeAll();var u=this;function s(){var t=new m.a.Mesh({name:"Polygon",material:new m.a.Material({shader:u._shadersMap.lambert}),culling:!1,geometry:new m.a.Geometry({sortTriangles:!0,dynamic:!0}),ignorePicking:!0,renderNormal:!0});return C.a.util.extend(t.geometry,g.a),t}var v=s(),e=new m.a.Mesh({material:new m.a.Material({shader:this._linesShader}),castShadow:!1,ignorePicking:!0,$ignorePicking:!0,geometry:new E.a({useNativeLine:!1})});this.rootNode.add(v),this.rootNode.add(e),v.material.define("both","VERTEX_COLOR"),v.material.define("fragment","DOUBLE_SIDED"),this._polygonMesh=v,this._linesMesh=e,this.rootNode.add(this._groundMesh)},_getShader:function(u){var s=this._shadersMap[u];return s||(console.warn("Unkown shading "+u),s=this._shadersMap.lambert),s.__shading=u,s},_prepareMesh:function(u,s,v,e,t){for(var i=0,f=0,y=0,b=0,x=e;x65535?new Uint32Array(f*3):new Uint16Array(f*3),L.material.shader!==s&&L.material.attachShader(s,!0),m.a.setMaterialFromModel(s.__shading,L.material,u,v),y>0&&(this._linesMesh.geometry.resetOffset(),this._linesMesh.geometry.setVertexCount(y),this._linesMesh.geometry.setTriangleCount(b)),this._dataIndexOfVertex=new Uint32Array(i),this._vertexRangeOfDataIndex=new Uint32Array((t-e)*2)},_updateRegionMesh:function(u,s,v,e){for(var t=u.getData(),i=0,f=0,y=!1,Y=this._polygonMesh,b=this._linesMesh,x=v;x0;X&&(j*=s.getDevicePixelRatio(),this._updateLinesGeometry(b.geometry,u,x,U,j,u.coordinateSystem.transform)),b.invisible=!X,b.material.set({color:B})}var Y=this._polygonMesh;Y.material.transparent=y,Y.material.depthMask=!y,Y.geometry.updateBoundingBox(),Y.material.get("normalMap")&&Y.geometry.generateTangents(),Y.seriesIndex=u.seriesIndex,Y.on("mousemove",this._onmousemove,this),Y.on("mouseout",this._onmouseout,this)},_updateDebugWireframe:function(u){var s=u.getModel("debug.wireframe");if(s.get("show")){var v=m.a.parseColor(s.get("lineStyle.color")||"rgba(0,0,0,0.5)"),e=d.a.firstNotNull(s.get("lineStyle.width"),1),t=this._polygonMesh;t.geometry.generateBarycentric(),t.material.define("both","WIREFRAME_TRIANGLE"),t.material.set("wireframeLineColor",v),t.material.set("wireframeLineWidth",e)}},_onmousemove:function(u){var s=this._dataIndexOfVertex[u.triangle[0]];s==null&&(s=-1),s!==this._lastHoverDataIndex&&(this.downplay(this._lastHoverDataIndex),this.highlight(s)),this._lastHoverDataIndex=s,this._polygonMesh.dataIndex=s},_onmouseover:function(u){if(u.target){var s=u.target.eventData?this._data.indexOfName(u.target.eventData.name):u.target.dataIndex;s!=null&&(this.highlight(s),this._labelsBuilder.updateLabels([s]))}},_onmouseout:function(u){u.target&&(this.downplay(this._lastHoverDataIndex),this._lastHoverDataIndex=-1,this._polygonMesh.dataIndex=-1)},_updateGroundPlane:function(u,s,v){var e=u.getModel("groundPlane",u);if(this._groundMesh.invisible=!e.get("show",!0),!this._groundMesh.invisible){var t=u.get("shading"),i=this._groundMaterials[t];i||(console.warn("Unkown shading "+t),i=this._groundMaterials.lambert),m.a.setMaterialFromModel(t,i,e,v),i.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=i,this._groundMesh.material.set("color",m.a.parseColor(e.get("color"))),this._groundMesh.scale.set(s.size[0],s.size[2],1)}},_triangulation:function(u,s,v){this._triangulationResults=[];for(var e=[1/0,1/0,1/0],t=[-1/0,-1/0,-1/0],i=u.coordinateSystem,f=s;f1?e:0,Je[re][I]=Ce.points[oe+2],b.set(t+re,Je[re]),y?(Fe[0]=(Ce.points[oe]*U[0]-F[0])/j,Fe[1]=(Ce.points[oe+2]*U[I]-F[I])/j):(Fe[0]=(ee?Te:Te+$)/j,Fe[1]=(Je[re][B]*U[B]-F[B])/j),A.set(t+re,Fe)}a.sub(Re,Je[1],Je[0]),a.sub(ge,Je[3],Je[0]),a.cross(Ve,Re,ge),a.normalize(Ve,Ve);for(var re=0;re<4;re++)x.set(t+re,Ve),M&&w.set(t+re,f);for(var re=0;re<6;re++)D[i*3+re]=Me[re]+t;t+=4,i+=2,Te+=$}}return s.dirty(),{vertexOffset:t,triangleOffset:i}},_getRegionLinesInfo:function(u,s,v){var e=0,t=0,i=s.getRegionModel(u),f=i.getModel("itemStyle"),y=f.get("borderWidth");if(y>0){var b=s.getRegionPolygonCoords(u);b.forEach(function(x){var A=x.exterior,w=x.interiors;e+=v.getPolylineVertexCount(A),t+=v.getPolylineTriangleCount(A);for(var L=0;Lthis._endIndex)){s-=this._startIndex;for(var e=this._vertexRangeOfDataIndex[s*2];e=2e4},doSortTriangles:function(o,g){var r=this.indices;if(g===0){var n=this.attributes.position,o=o.array;(!this._triangleZList||this._triangleZList.length!==this.triangleCount)&&(this._triangleZList=new Float32Array(this.triangleCount),this._sortedTriangleIndices=new Uint32Array(this.triangleCount),this._indicesTmp=new r.constructor(r.length),this._triangleZListTmp=new Float32Array(this.triangleCount));for(var a=0,c,u=0;u0,n={},a=0;a2?(M=this._updateSymbolSprite(c,w,x,A),f.enableTexture("sprite")):f.disableTexture("sprite"),b.position.init(e-v);var D=[];if(L){f.undefine("VERTEX_SIZE"),f.undefine("VERTEX_COLOR");var B=i.getVisual("color"),I=i.getVisual("opacity");m.a.parseColor(B,D),D[3]*=I,f.set({color:D,u_Size:x.maxSize*this._sizeScale})}else f.set({color:[1,1,1,1]}),f.define("VERTEX_SIZE"),f.define("VERTEX_COLOR"),b.size.init(e-v),b.color.init(e-v),this._originalOpacity=new Float32Array(e-v);for(var U=i.getLayout("points"),F=b.position.value,K=!1,j=0;j1?(e[0]=s.maxSize,e[1]=s.maxSize/s.aspect):(e[1]=s.maxSize,e[0]=s.maxSize*s.aspect),e[0]=e[0]||1,e[1]=e[1]||1,(this._symbolType!==s.type||!n(this._symbolSize,e)||this._lineWidth!==u.lineWidth)&&(p.a.createSymbolSprite(s.type,e,{fill:"#fff",lineWidth:u.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(e[0]/2,10)},this._spriteImageCanvas),p.a.createSDFFromCanvas(this._spriteImageCanvas,Math.min(this._spriteImageCanvas.width,32),g,this._mesh.material.get("sprite").image),this._symbolType=s.type,this._symbolSize=e,this._lineWidth=u.lineWidth),this._spriteImageCanvas.width/s.maxSize*v},_updateMaterial:function(c,u){var s=c.get("blendMode")==="lighter"?m.a.additiveBlend:null,v=this._mesh.material;v.blend=s,v.set("lineWidth",u.lineWidth/g);var e=m.a.parseColor(u.stroke);v.set("strokeColor",e),v.transparent=!0,v.depthMask=!1,v.depthTest=!this.is2D,v.sortVertices=!this.is2D},_updateLabelBuilder:function(c,i,s){var v=c.getData(),e=this._mesh.geometry,t=e.attributes.position.value,i=this._startDataIndex,f=this._mesh.sizeScale;this._labelsBuilder.updateData(v,i,s),this._labelsBuilder.getLabelPosition=function(y,b,x){var A=(y-i)*3;return[t[A],t[A+1],t[A+2]]},this._labelsBuilder.getLabelDistance=function(y,b,x){var A=e.attributes.size.get(y-i)/f;return A/2+x},this._labelsBuilder.updateLabels()},_updateAnimation:function(c){m.a.updateVertexAnimation([["prevPosition","position"],["prevSize","size"]],this._prevMesh,this._mesh,c)},_updateHandler:function(c,u,s){var v=c.getData(),e=this._mesh,t=this,i=-1,f=c.coordinateSystem&&c.coordinateSystem.type==="cartesian3D",y;f&&(y=c.coordinateSystem.model),e.seriesIndex=c.seriesIndex,e.off("mousemove"),e.off("mouseout"),e.on("mousemove",function(b){var x=b.vertexIndex+t._startDataIndex;x!==i&&(this.highlightOnMouseover&&(this.downplay(v,i),this.highlight(v,x),this._labelsBuilder.updateLabels([x])),f&&s.dispatchAction({type:"grid3DShowAxisPointer",value:[v.get(c.coordDimToDataDim("x")[0],x),v.get(c.coordDimToDataDim("y")[0],x),v.get(c.coordDimToDataDim("z")[0],x)],grid3DIndex:y.componentIndex})),e.dataIndex=x,i=x},this),e.on("mouseout",function(b){var x=b.vertexIndex+t._startDataIndex;this.highlightOnMouseover&&(this.downplay(v,x),this._labelsBuilder.updateLabels()),i=-1,e.dataIndex=-1,f&&s.dispatchAction({type:"grid3DHideAxisPointer",grid3DIndex:y.componentIndex})},this)},updateLayout:function(c,u,s){var v=c.getData();if(this._mesh){var e=this._mesh.geometry.attributes.position.value,t=v.getLayout("points");if(this.is2D)for(var i=0;ithis._endDataIndex||uthis._endDataIndex||u.05&&(i=!0),A!==f&&(y=!0),f=A,t=w}return i&&console.warn("Different symbol width / height ratio will be ignored."),y&&console.warn("Different symbol type will be ignored."),{maxSize:b,type:f,aspect:t}}},P.a=a},function(k,P,_){"use strict";P.a=`@export clay.prez.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position : POSITION; @import clay.chunk.skinning_header void main() { vec3 skinnedPosition = position; #ifdef SKINNING @import clay.chunk.skin_matrix skinnedPosition = (skinMatrixWS * vec4(position, 1.0)).xyz; #endif gl_Position = worldViewProjection * vec4(skinnedPosition, 1.0); } @end @export clay.prez.fragment void main() { gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0); } @end`},function(k,P,_){"use strict";var N=_(28),C=_(11),m=0,p=null,E=!0,d,l=function(){this.triangleCount=0,this.vertexCount=0,this.drawCallCount=0};function o(r,n,a){this.availableAttributes=r,this.availableAttributeSymbols=n,this.indicesBuffer=a,this.vao=null}var g=N.a.extend({material:null,geometry:null,mode:C.a.TRIANGLES,_drawCache:null,_renderInfo:null},function(){this._drawCache={},this._renderInfo=new l},{__program:null,lightGroup:0,renderOrder:0,lineWidth:1,culling:!0,cullFace:C.a.BACK,frontFace:C.a.CCW,frustumCulling:!0,receiveShadow:!0,castShadow:!0,ignorePicking:!1,ignorePreZ:!1,ignoreGBuffer:!1,isRenderable:function(){return this.geometry&&this.material&&this.material.shader&&!this.invisible&&this.geometry.vertexCount>0},beforeRender:function(r){},afterRender:function(r,n){},getBoundingBox:function(r,n){return n=N.a.prototype.getBoundingBox.call(this,r,n),this.geometry&&this.geometry.boundingBox&&n.union(this.geometry.boundingBox),n},render:function(r,n,a){var c=r.gl;n=n||this.material;var u=n.shader,s=this.geometry,v=this.mode,e=s.vertexCount,t=s.isUseIndices(),i=r.getGLExtension("OES_element_index_uint"),f=i&&e>65535,y=f?c.UNSIGNED_INT:c.UNSIGNED_SHORT,b=r.getGLExtension("OES_vertex_array_object"),x=!s.dynamic,A=this._renderInfo;A.vertexCount=e,A.triangleCount=0,A.drawCallCount=0;var w=!1;if(d=r.__uid__+"-"+s.__uid__+"-"+a.__uid__,(d!==m||b&&x||s._cache.isDirty("any"))&&(w=!0),m=d,!w)E?(c.drawElements(v,p.count,y,0),A.triangleCount=p.count/3):c.drawArrays(v,0,e),A.drawCallCount=1;else{var L=this._drawCache[d];if(!L){var M=s.getBufferChunks(r);if(!M)return;L=[];for(var D=0;D>1,C|=C>>2,C|=C>>4,C|=C>>8,C|=C>>16,C++,C},N.nearestPowerOfTwo=function(C){return Math.pow(2,Math.round(Math.log(C)/Math.LN2))},P.a=N},function(k,P,_){"use strict";var N=_(4),C=_(1),m=_.n(C),p=m.a.vec3,E=m.a.mat4,d=m.a.vec4,l=function(o,g){this.normal=o||new N.a(0,1,0),this.distance=g||0};l.prototype={constructor:l,distanceToPoint:function(o){return p.dot(o.array,this.normal.array)-this.distance},projectPoint:function(o,g){g||(g=new N.a);var r=this.distanceToPoint(o);return p.scaleAndAdd(g.array,o.array,this.normal.array,-r),g._dirty=!0,g},normalize:function(){var o=1/p.len(this.normal.array);p.scale(this.normal.array,o),this.distance*=o},intersectFrustum:function(o){for(var g=o.vertices,r=this.normal.array,n=p.dot(g[0].array,r)>this.distance,a=1;a<8;a++)if(p.dot(g[a].array,r)>this.distance!=n)return!0},intersectLine:function(){var o=p.create();return function(g,r,n){var a=this.distanceToPoint(g),c=this.distanceToPoint(r);if(a>0&&c>0||a<0&&c<0)return null;var u=this.normal.array,s=this.distance,v=g.array;p.sub(o,r.array,g.array),p.normalize(o,o);var e=p.dot(u,o);if(e===0)return null;n||(n=new N.a);var t=(p.dot(u,v)-s)/e;return p.scaleAndAdd(n.array,v,o,-t),n._dirty=!0,n}}(),applyTransform:function(){var o=E.create(),g=d.create(),r=d.create();return r[3]=1,function(n){n=n.array,p.scale(r,this.normal.array,this.distance),d.transformMat4(r,r,n),this.distance=p.dot(r,this.normal.array),E.invert(o,n),E.transpose(o,o),g[3]=0,p.copy(g,this.normal.array),d.transformMat4(g,g,o),p.copy(this.normal.array,g)}}(),copy:function(o){p.copy(this.normal.array,o.normal.array),this.normal._dirty=!0,this.distance=o.distance},clone:function(){var o=new l;return o.copy(this),o}},P.a=l},function(k,P,_){"use strict";var N=_(13),C=_(15),m=N.a.extend({dynamic:!1,widthSegments:40,heightSegments:20,phiStart:0,phiLength:Math.PI*2,thetaStart:0,thetaLength:Math.PI,radius:1},function(){this.build()},{build:function(){var p=this.heightSegments,E=this.widthSegments,d=this.attributes.position,l=this.attributes.texcoord0,o=this.attributes.normal,g=(E+1)*(p+1);d.init(g),l.init(g),o.init(g);var r=g>65535?Uint32Array:Uint16Array,n=this.indices=new r(E*p*6),a,c,u,s,v,e,t,x=this.radius,i=this.phiStart,f=this.phiLength,y=this.thetaStart,b=this.thetaLength,x=this.radius,A=[],w=[],L=0,M=1/x;for(t=0;t<=p;t++)for(e=0;e<=E;e++)s=e/E,v=t/p,a=-x*Math.cos(i+s*f)*Math.sin(y+v*b),c=x*Math.cos(y+v*b),u=x*Math.sin(i+s*f)*Math.sin(y+v*b),A[0]=a,A[1]=c,A[2]=u,w[0]=s,w[1]=v,d.set(L,A),l.set(L,w),A[0]*=M,A[1]*=M,A[2]*=M,o.set(L,A),L++;var D,B,I,U,F=E+1,K=0;for(t=0;ta&&(r=this._x=0,n+=this._rowHeight+u,this._y=n,this._rowHeight=0),this._x+=l+u,this._rowHeight=Math.max(this._rowHeight,o),n+o+u>c)return null;d.position[0]+=this.offsetX*this.dpr+r,d.position[1]+=this.offsetY*this.dpr+n,this._zr.add(d);var s=[this.offsetX/this.width,this.offsetY/this.height],v=[[r/a+s[0],n/c+s[1]],[(r+l)/a+s[0],(n+o)/c+s[1]]];return v},_fitElement:function(d,l,o){var g=d.getBoundingRect(),r=l/g.width,n=o/g.height;d.position=[-g.x*r,-g.y*n],d.scale=[r,n],d.update()}};function E(d){d=d||{},d.width=d.width||512,d.height=d.height||512,d.devicePixelRatio=d.devicePixelRatio||1,d.gap=d.gap==null?2:d.gap;var l=document.createElement("canvas");l.width=d.width*d.devicePixelRatio,l.height=d.height*d.devicePixelRatio,this._canvas=l,this._texture=new m.a({image:l,flipY:!1});var o=this;this._zr=C.a.zrender.init(l);var g=this._zr.refreshImmediately;this._zr.refreshImmediately=function(){g.call(this),o._texture.dirty(),o.onupdate&&o.onupdate()},this._dpr=d.devicePixelRatio,this._coords={},this.onupdate=d.onupdate,this._gap=d.gap,this._textureAtlasNodes=[new p(this._zr,0,0,d.width,d.height,this._gap,this._dpr)],this._nodeWidth=d.width,this._nodeHeight=d.height,this._currentNodeIdx=0}E.prototype={clear:function(){for(var d=0;d=d){console.error("Too much labels. Some will be ignored.");return}var n=(g+this._nodeWidth)*this._dpr,a=(r+this._nodeHeight)*this._dpr;try{this._zr.resize({width:n,height:a})}catch(u){this._canvas.width=n,this._canvas.height=a}var c=new p(this._zr,g,r,this._nodeWidth,this._nodeHeight,this._gap,this._dpr);return this._textureAtlasNodes.push(c),c},add:function(d,l,o){if(this._coords[d.id])return console.warn("Element already been add"),this._coords[d.id];var g=this._getCurrentNode().add(d,l,o);if(!g){var r=this._expand();if(!r)return;g=r.add(d,l,o)}return this._coords[d.id]=g,g},getCoordsScale:function(){var d=this._dpr;return[this._nodeWidth/this._canvas.width*d,this._nodeHeight/this._canvas.height*d]},getCoords:function(d){return this._coords[d]}},P.a=E},function(k,P,_){"use strict";P.a=N;function N(C,m,p){var E,d=C.scale;return d.type==="ordinal"&&(typeof p=="function"?(E=d.getTicks()[m],!p(E,d.getLabel(E))):m%(p+1))}},function(k,P,_){var N=_(76),C=_(77),m=N.applyTransform,p=Math.min,E=Math.max;function d(o,g,r,n){r<0&&(o=o+r,r=-r),n<0&&(g=g+n,n=-n),this.x=o,this.y=g,this.width=r,this.height=n}d.prototype={constructor:d,union:function(o){var g=p(o.x,this.x),r=p(o.y,this.y);this.width=E(o.x+o.width,this.x+this.width)-g,this.height=E(o.y+o.height,this.y+this.height)-r,this.x=g,this.y=r},applyTransform:function(){var o=[],g=[],r=[],n=[];return function(a){if(a){o[0]=r[0]=this.x,o[1]=n[1]=this.y,g[0]=n[0]=this.x+this.width,g[1]=r[1]=this.y+this.height,m(o,o,a),m(g,g,a),m(r,r,a),m(n,n,a),this.x=p(o[0],g[0],r[0],n[0]),this.y=p(o[1],g[1],r[1],n[1]);var c=E(o[0],g[0],r[0],n[0]),u=E(o[1],g[1],r[1],n[1]);this.width=c-this.x,this.height=u-this.y}}}(),calculateTransform:function(o){var g=this,r=o.width/g.width,n=o.height/g.height,a=C.create();return C.translate(a,a,[-g.x,-g.y]),C.scale(a,a,[r,n]),C.translate(a,a,[o.x,o.y]),a},intersect:function(o){if(!o)return!1;o instanceof d||(o=d.create(o));var g=this,r=g.x,n=g.x+g.width,a=g.y,c=g.y+g.height,u=o.x,s=o.x+o.width,v=o.y,e=o.y+o.height;return!(n=r.x&&o<=r.x+r.width&&g>=r.y&&g<=r.y+r.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(o){return new d(o.x,o.y,o.width,o.height)};var l=d;k.exports=l},function(k,P){var _=typeof Float32Array=="undefined"?Array:Float32Array;function N(L,M){var D=new _(2);return L==null&&(L=0),M==null&&(M=0),D[0]=L,D[1]=M,D}function C(L,M){return L[0]=M[0],L[1]=M[1],L}function m(L){var M=new _(2);return M[0]=L[0],M[1]=L[1],M}function p(L,M,D){return L[0]=M,L[1]=D,L}function E(L,M,D){return L[0]=M[0]+D[0],L[1]=M[1]+D[1],L}function d(L,M,D,B){return L[0]=M[0]+D[0]*B,L[1]=M[1]+D[1]*B,L}function l(L,M,D){return L[0]=M[0]-D[0],L[1]=M[1]-D[1],L}function o(L){return Math.sqrt(r(L))}var g=o;function r(L){return L[0]*L[0]+L[1]*L[1]}var n=r;function a(L,M,D){return L[0]=M[0]*D[0],L[1]=M[1]*D[1],L}function c(L,M,D){return L[0]=M[0]/D[0],L[1]=M[1]/D[1],L}function u(L,M){return L[0]*M[0]+L[1]*M[1]}function s(L,M,D){return L[0]=M[0]*D,L[1]=M[1]*D,L}function v(L,M){var D=o(M);return D===0?(L[0]=0,L[1]=0):(L[0]=M[0]/D,L[1]=M[1]/D),L}function e(L,M){return Math.sqrt((L[0]-M[0])*(L[0]-M[0])+(L[1]-M[1])*(L[1]-M[1]))}var t=e;function i(L,M){return(L[0]-M[0])*(L[0]-M[0])+(L[1]-M[1])*(L[1]-M[1])}var f=i;function y(L,M){return L[0]=-M[0],L[1]=-M[1],L}function b(L,M,D,B){return L[0]=M[0]+B*(D[0]-M[0]),L[1]=M[1]+B*(D[1]-M[1]),L}function x(L,M,D){var B=M[0],I=M[1];return L[0]=D[0]*B+D[2]*I+D[4],L[1]=D[1]*B+D[3]*I+D[5],L}function A(L,M,D){return L[0]=Math.min(M[0],D[0]),L[1]=Math.min(M[1],D[1]),L}function w(L,M,D){return L[0]=Math.max(M[0],D[0]),L[1]=Math.max(M[1],D[1]),L}P.create=N,P.copy=C,P.clone=m,P.set=p,P.add=E,P.scaleAndAdd=d,P.sub=l,P.len=o,P.length=g,P.lenSquare=r,P.lengthSquare=n,P.mul=a,P.div=c,P.dot=u,P.scale=s,P.normalize=v,P.distance=e,P.dist=t,P.distanceSquare=i,P.distSquare=f,P.negate=y,P.lerp=b,P.applyTransform=x,P.min=A,P.max=w},function(k,P){var _=typeof Float32Array=="undefined"?Array:Float32Array;function N(){var r=new _(6);return C(r),r}function C(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function m(r,n){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4],r[5]=n[5],r}function p(r,n,a){var c=n[0]*a[0]+n[2]*a[1],u=n[1]*a[0]+n[3]*a[1],s=n[0]*a[2]+n[2]*a[3],v=n[1]*a[2]+n[3]*a[3],e=n[0]*a[4]+n[2]*a[5]+n[4],t=n[1]*a[4]+n[3]*a[5]+n[5];return r[0]=c,r[1]=u,r[2]=s,r[3]=v,r[4]=e,r[5]=t,r}function E(r,n,a){return r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],r[4]=n[4]+a[0],r[5]=n[5]+a[1],r}function d(r,n,a){var c=n[0],u=n[2],s=n[4],v=n[1],e=n[3],t=n[5],i=Math.sin(a),f=Math.cos(a);return r[0]=c*f+v*i,r[1]=-c*i+v*f,r[2]=u*f+e*i,r[3]=-u*i+f*e,r[4]=f*s+i*t,r[5]=f*t-i*s,r}function l(r,n,a){var c=a[0],u=a[1];return r[0]=n[0]*c,r[1]=n[1]*u,r[2]=n[2]*c,r[3]=n[3]*u,r[4]=n[4]*c,r[5]=n[5]*u,r}function o(r,n){var a=n[0],c=n[2],u=n[4],s=n[1],v=n[3],e=n[5],t=a*v-s*c;return t?(t=1/t,r[0]=v*t,r[1]=-s*t,r[2]=-c*t,r[3]=a*t,r[4]=(c*e-v*u)*t,r[5]=(s*u-a*e)*t,r):null}function g(r){var n=N();return m(n,r),n}P.create=N,P.identity=C,P.copy=m,P.mul=p,P.translate=E,P.rotate=d,P.scale=l,P.invert=o,P.clone=g},function(k,P,_){var N=_(12),C=1e-4;function m(b){return b.replace(/^\s+/,"").replace(/\s+$/,"")}function p(b,x,A,w){var L=x[1]-x[0],M=A[1]-A[0];if(L===0)return M===0?A[0]:(A[0]+A[1])/2;if(w)if(L>0){if(b<=x[0])return A[0];if(b>=x[1])return A[1]}else{if(b>=x[0])return A[0];if(b<=x[1])return A[1]}else{if(b===x[0])return A[0];if(b===x[1])return A[1]}return(b-x[0])/L*M+A[0]}function E(b,x){switch(b){case"center":case"middle":b="50%";break;case"left":case"top":b="0%";break;case"right":case"bottom":b="100%";break}return typeof b=="string"?m(b).match(/%$/)?parseFloat(b)/100*x:parseFloat(b):b==null?NaN:+b}function d(b,x,A){return x==null&&(x=10),x=Math.min(Math.max(0,x),20),b=(+b).toFixed(x),A?b:+b}function l(b){return b.sort(function(x,A){return x-A}),b}function o(b){if(b=+b,isNaN(b))return 0;for(var x=1,A=0;Math.round(b*x)/x!==b;)x*=10,A++;return A}function g(b){var x=b.toString(),A=x.indexOf("e");if(A>0){var w=+x.slice(A+1);return w<0?-w:0}else{var L=x.indexOf(".");return L<0?0:x.length-1-L}}function r(b,x){var A=Math.log,w=Math.LN10,L=Math.floor(A(b[1]-b[0])/w),M=Math.round(A(Math.abs(x[1]-x[0]))/w),D=Math.min(Math.max(-L+M,0),20);return isFinite(D)?D:20}function n(b,x,A){if(!b[x])return 0;var w=N.reduce(b,function(Y,se){return Y+(isNaN(se)?0:se)},0);if(w===0)return 0;for(var L=Math.pow(10,A),M=N.map(b,function(Y){return(isNaN(Y)?0:Y)/w*L*100}),D=L*100,B=N.map(M,function(Y){return Math.floor(Y)}),I=N.reduce(B,function(Y,se){return Y+se},0),U=N.map(M,function(Y,se){return Y-B[se]});IF&&(F=U[j],K=j);++B[K],U[K]=0,++I}return B[x]/L}var a=9007199254740991;function c(b){var x=Math.PI*2;return(b%x+x)%x}function u(b){return b>-C&&b=-20?+b.toFixed(A<0?-A:0):b}function f(b){b.sort(function(I,U){return B(I,U,0)?-1:1});for(var x=-1/0,A=1,w=0;w=0}P.linearMap=p,P.parsePercent=E,P.round=d,P.asc=l,P.getPrecision=o,P.getPrecisionSafe=g,P.getPixelPrecision=r,P.getPercentWithPrecision=n,P.MAX_SAFE_INTEGER=a,P.remRadian=c,P.isRadianAroundZero=u,P.parseDate=v,P.quantity=e,P.nice=i,P.reformIntervals=f,P.isNumeric=y},function(k,P,_){"use strict";var N=_(5),C=_(11),m=_(21),p=function(){this._pool={},this._allocatedTextures=[]};p.prototype={constructor:p,get:function(r){var n=l(r);this._pool.hasOwnProperty(n)||(this._pool[n]=[]);var a=this._pool[n];if(!a.length){var c=new N.a(r);return this._allocatedTextures.push(c),c}return a.pop()},put:function(r){var n=l(r);this._pool.hasOwnProperty(n)||(this._pool[n]=[]);var a=this._pool[n];a.push(r)},clear:function(r){for(var n=0;nc&&a.push({pivot:Math.floor((u+c)/2),left:c,right:u});var c=r[n].pivot+1,u=r[n].right;u>c&&a.push({pivot:Math.floor((u+c)/2),left:c,right:u})}r=this._parts=a}else for(var n=0;n65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(r){this.triangleCount!==r&&(r===0?this.indices=null:this.indices=this.vertexCount>65535?new Uint32Array(r*3):new Uint16Array(r*3))},_getCubicCurveApproxStep:function(r,n,a,c){var u=l.dist(r,n)+l.dist(a,n)+l.dist(c,a),s=1/(u+1)*this.segmentScale;return s},getCubicCurveVertexCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?s*2:s*2+2},getCubicCurveTriangleCount:function(r,n,a,c){var u=this._getCubicCurveApproxStep(r,n,a,c),s=Math.ceil(1/u);return this.useNativeLine?0:s*2},getLineVertexCount:function(){return this.getPolylineVertexCount(o)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(o)},getPolylineVertexCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/2}return this.useNativeLine?(n-1)*2:(n-1)*2+2},getPolylineTriangleCount:function(r){var n;if(typeof r=="number")n=r;else{var a=typeof r[0]!="number";n=a?r.length:r.length/2}return this.useNativeLine?0:(n-1)*2},addCubicCurve:function(r,n,a,c,u,s){s==null&&(s=1);for(var v=r[0],e=r[1],t=n[0],i=n[1],f=a[0],y=a[1],b=c[0],x=c[1],A=this._getCubicCurveApproxStep(r,n,a,c),w=A*A,L=w*A,M=3*A,D=3*w,B=6*w,I=6*L,U=v-t*2+f,F=e-i*2+y,K=(t-f)*3-v+b,j=(i-y)*3-e+x,X=v,Y=e,se=(t-v)*M+U*D+K*L,Q=(i-e)*M+F*D+j*L,ve=U*B+K*I,xe=F*B+j*I,Ce=K*I,De=j*I,Ue=0,Me=0,Je=Math.ceil(1/A),Re=new Float32Array((Je+1)*3),Re=[],ge=0,Me=0;Me1&&(X=se>0?Math.min(X,b):Math.max(X,b),Y=Q>0?Math.min(Y,x):Math.max(Y,x));this.addPolyline(Re,u,s)},addLine:function(r,n,a,c){this.addPolyline([r,n],a,c)},addPolyline:function(){var r=l.create(),n=l.create(),a=l.create(),c=l.create(),u=[],s=[],v=[];return function(e,t,i,f,y){if(e.length){var b=typeof e[0]!="number";if(y==null&&(y=b?e.length:e.length/2),!(y<2)){f==null&&(f=0),i==null&&(i=1),this._itemVertexOffsets.push(this._vertexOffset);for(var x=b?typeof t[0]!="number":t.length/4===y,A=this.attributes.position,w=this.attributes.color,L=this.attributes.offset,M=this.attributes.normal,D=this.indices,B=this._vertexOffset,I,U=0;U1&&(A.copy(B,B-1),w.copy(B,B-1),B++);else{var j;if(U0){l.sub(r,u,v),l.sub(n,s,u),l.normalize(r,r),l.normalize(n,n),l.add(c,r,n),l.normalize(c,c);var X=i/2*Math.min(1/l.dot(r,c),2);a[0]=-c[1],a[1]=c[0],j=X}else l.sub(r,s,u),l.normalize(r,r),a[0]=-r[1],a[1]=r[0],j=i/2}else l.sub(r,u,v),l.normalize(r,r),a[0]=-r[1],a[1]=r[0],j=i/2;M.set(B,a),M.set(B+1,a),L.set(B,j),L.set(B+1,-j),l.copy(v,u),A.set(B,u),A.set(B+1,u),w.set(B,I),w.set(B+1,I),B+=2}if(this.useNativeLine)w.set(B,I),A.set(B,u),B++;else if(U>0){var Y=this._faceOffset*3,D=this.indices;D[Y]=B-4,D[Y+1]=B-3,D[Y+2]=B-2,D[Y+3]=B-3,D[Y+4]=B-1,D[Y+5]=B-2,this._faceOffset+=2}}this._vertexOffset=B}}}}(),setItemColor:function(r,n){for(var a=this._itemVertexOffsets[r],c=rM&&F=0&&this._viewsToDispose.splice(e,1),this.views.push(v),v.layer=this;var t=this.zr;v.scene.traverse(function(i){i.__zr=t,i.addAnimatorsToZr&&i.addAnimatorsToZr(t)})}};function r(v){var e=v.__zr;v.__zr=null,e&&v.removeAnimatorsFromZr&&v.removeAnimatorsFromZr(e)}g.prototype.removeView=function(v){if(v.layer===this){var e=this.views.indexOf(v);e>=0&&(this.views.splice(e,1),v.scene.traverse(r,this),v.layer=null,this._viewsToDispose.push(v))}},g.prototype.removeViewsAll=function(){this.views.forEach(function(v){v.scene.traverse(r,this),v.layer=null,this._viewsToDispose.push(v)},this),this.views.length=0},g.prototype.resize=function(v,e){var t=this.renderer;t.resize(v,e)},g.prototype.clear=function(){var v=this.renderer.gl;v.clearColor(0,0,0,0),v.depthMask(!0),v.colorMask(!0,!0,!0,!0),v.clear(v.DEPTH_BUFFER_BIT|v.COLOR_BUFFER_BIT)},g.prototype.clearDepth=function(){var v=this.renderer.gl;v.clear(v.DEPTH_BUFFER_BIT)},g.prototype.clearColor=function(){var v=this.renderer.gl;v.clearColor(0,0,0,0),v.clear(v.COLOR_BUFFER_BIT)},g.prototype.needsRefresh=function(){this.zr.refresh()},g.prototype.refresh=function(){for(var v=0;v20)){v=v.event;var i=this.pickObject(v.offsetX,v.offsetY);i&&(this._dispatchEvent(v.type,v,i),this._dispatchDataEvent(v.type,v,i));var f=this._clickToSetFocusPoint(v);if(f){var y=f.view.setDOFFocusOnPoint(f.distance);y&&this.zr.refresh()}}}},g.prototype._clickToSetFocusPoint=function(v){for(var e=this.renderer,t=e.viewport,i=this.views.length-1;i>=0;i--){var f=this.views[i];if(f.hasDOF()&&f.containPoint(v.offsetX,v.offsetY)){this._picking.scene=f.scene,this._picking.camera=f.camera,e.viewport=f.viewport;var y=this._picking.pick(v.offsetX,v.offsetY,!0);if(y)return y.view=f,y}}e.viewport=t},g.prototype.onglobalout=function(v){var e=this._hovered;e&&this._dispatchEvent("mouseout",v,{target:e.target})},g.prototype.pickObject=function(v,e){for(var t=[],i=this.renderer,f=i.viewport,y=0;y=0&&(A.dataIndex=this._lastDataIndex,A.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(w,"mouseout",e)),x=!0):b!=null&&b!==this._lastEventData&&(this._lastEventData!=null&&(A.eventData=this._lastEventData,this.zr.handler.dispatchToElement(w,"mouseout",e)),x=!0),this._lastEventData=b,this._lastDataIndex=f,this._lastSeriesIndex=y),A.eventData=b,A.dataIndex=f,A.seriesIndex=y,(b!=null||parseInt(f,10)>=0)&&(this.zr.handler.dispatchToElement(w,v,e),x&&this.zr.handler.dispatchToElement(w,"mouseover",e))},g.prototype._dispatchToView=function(v,e){for(var t=0;t255?255:t}function E(t){return t=Math.round(t),t<0?0:t>360?360:t}function d(t){return t<0?0:t>1?1:t}function l(t){return t.length&&t.charAt(t.length-1)==="%"?p(parseFloat(t)/100*255):p(parseInt(t,10))}function o(t){return t.length&&t.charAt(t.length-1)==="%"?d(parseFloat(t)/100):d(parseFloat(t))}function g(t,i,f){return f<0?f+=1:f>1&&(f-=1),f*6<1?t+(i-t)*f*6:f*2<1?i:f*3<2?t+(i-t)*(2/3-f)*6:t}function r(t,i,f){return t+(i-t)*f}function n(t,i,f,y,b){return t[0]=i,t[1]=f,t[2]=y,t[3]=b,t}function a(t,i){return t[0]=i[0],t[1]=i[1],t[2]=i[2],t[3]=i[3],t}var c=new N.a(20),u=null;function s(t,i){u&&a(u,i),u=c.put(t,u||i.slice())}C.parse=function(t,i){if(t){i=i||[];var f=c.get(t);if(f)return a(i,f);t=t+"";var y=t.replace(/ /g,"").toLowerCase();if(y in m)return a(i,m[y]),s(t,i),i;if(y.charAt(0)==="#"){if(y.length===4){var b=parseInt(y.substr(1),16);if(!(b>=0&&b<=4095)){n(i,0,0,0,1);return}return n(i,(b&3840)>>4|(b&3840)>>8,b&240|(b&240)>>4,b&15|(b&15)<<4,1),s(t,i),i}else if(y.length===7){var b=parseInt(y.substr(1),16);if(!(b>=0&&b<=16777215)){n(i,0,0,0,1);return}return n(i,(b&16711680)>>16,(b&65280)>>8,b&255,1),s(t,i),i}return}var x=y.indexOf("("),A=y.indexOf(")");if(x!==-1&&A+1===y.length){var w=y.substr(0,x),L=y.substr(x+1,A-(x+1)).split(","),M=1;switch(w){case"rgba":if(L.length!==4){n(i,0,0,0,1);return}M=o(L.pop());case"rgb":if(L.length!==3){n(i,0,0,0,1);return}return n(i,l(L[0]),l(L[1]),l(L[2]),M),s(t,i),i;case"hsla":if(L.length!==4){n(i,0,0,0,1);return}return L[3]=o(L[3]),v(L,i),s(t,i),i;case"hsl":if(L.length!==3){n(i,0,0,0,1);return}return v(L,i),s(t,i),i;default:return}}n(i,0,0,0,1)}},C.parseToFloat=function(t,i){if(i=C.parse(t,i),!!i)return i[0]/=255,i[1]/=255,i[2]/=255,i};function v(t,i){var f=(parseFloat(t[0])%360+360)%360/360,y=o(t[1]),b=o(t[2]),x=b<=.5?b*(y+1):b+y-b*y,A=b*2-x;return i=i||[],n(i,p(g(A,x,f+1/3)*255),p(g(A,x,f)*255),p(g(A,x,f-1/3)*255),1),t.length===4&&(i[3]=t[3]),i}function e(t){if(t){var i=t[0]/255,f=t[1]/255,y=t[2]/255,b=Math.min(i,f,y),x=Math.max(i,f,y),A=x-b,w=(x+b)/2,L,M;if(A===0)L=0,M=0;else{w<.5?M=A/(x+b):M=A/(2-x-b);var D=((x-i)/6+A/2)/A,B=((x-f)/6+A/2)/A,I=((x-y)/6+A/2)/A;i===x?L=I-B:f===x?L=1/3+D-I:y===x&&(L=2/3+B-D),L<0&&(L+=1),L>1&&(L-=1)}var U=[L*360,M,w];return t[3]!=null&&U.push(t[3]),U}}C.lift=function(t,i){var f=C.parse(t);if(f){for(var y=0;y<3;y++)i<0?f[y]=f[y]*(1-i)|0:f[y]=(255-f[y])*i+f[y]|0;return C.stringify(f,f.length===4?"rgba":"rgb")}},C.toHex=function(t){var i=C.parse(t);if(i)return((1<<24)+(i[0]<<16)+(i[1]<<8)+ +i[2]).toString(16).slice(1)},C.fastLerp=function(t,i,f){if(!(!(i&&i.length)||!(t>=0&&t<=1))){f=f||[];var y=t*(i.length-1),b=Math.floor(y),x=Math.ceil(y),A=i[b],w=i[x],L=y-b;return f[0]=p(r(A[0],w[0],L)),f[1]=p(r(A[1],w[1],L)),f[2]=p(r(A[2],w[2],L)),f[3]=d(r(A[3],w[3],L)),f}},C.fastMapToColor=C.fastLerp,C.lerp=function(t,i,f){if(!(!(i&&i.length)||!(t>=0&&t<=1))){var y=t*(i.length-1),b=Math.floor(y),x=Math.ceil(y),A=C.parse(i[b]),w=C.parse(i[x]),L=y-b,M=C.stringify([p(r(A[0],w[0],L)),p(r(A[1],w[1],L)),p(r(A[2],w[2],L)),d(r(A[3],w[3],L))],"rgba");return f?{color:M,leftIndex:b,rightIndex:x,value:y}:M}},C.mapToColor=C.lerp,C.modifyHSL=function(t,i,f,y){if(t=C.parse(t),t)return t=e(t),i!=null&&(t[0]=E(i)),f!=null&&(t[1]=o(f)),y!=null&&(t[2]=o(y)),C.stringify(v(t),"rgba")},C.modifyAlpha=function(t,i){if(t=C.parse(t),t&&i!=null)return t[3]=d(i),C.stringify(t,"rgba")},C.stringify=function(t,i){if(!(!t||!t.length)){var f=t[0]+","+t[1]+","+t[2];return(i==="rgba"||i==="hsva"||i==="hsla")&&(f+=","+t[3]),i+"("+f+")"}},P.a=C},function(k,P,_){"use strict";var N=_(95),C=function(m){this._list=new N.a,this._map={},this._maxSize=m||10};C.prototype.setMaxSize=function(m){this._maxSize=m},C.prototype.put=function(m,p){if(typeof this._map[m]=="undefined"){var E=this._list.length();if(E>=this._maxSize&&E>0){var d=this._list.head;this._list.remove(d),delete this._map[d.key]}var l=this._list.insert(p);l.key=m,this._map[m]=l}},C.prototype.get=function(m){var p=this._map[m];if(typeof p!="undefined")return p!==this._list.tail&&(this._list.remove(p),this._list.insertEntry(p)),p.value},C.prototype.remove=function(m){var p=this._map[m];typeof p!="undefined"&&(delete this._map[m],this._list.remove(p))},C.prototype.clear=function(){this._list.clear(),this._map={}},P.a=C},function(k,P,_){"use strict";var N=function(){this.head=null,this.tail=null,this._length=0};N.prototype.insert=function(C){var m=new N.Entry(C);return this.insertEntry(m),m},N.prototype.insertAt=function(C,m){if(!(C<0)){for(var p=this.head,E=0;p&&E!=C;)p=p.next,E++;if(p){var d=new N.Entry(m),l=p.prev;l?(l.next=d,d.prev=l):this.head=d,d.next=p,p.prev=d}else this.insert(m)}},N.prototype.insertBeforeEntry=function(C,m){var p=new N.Entry(C),E=m.prev;E?(E.next=p,p.prev=E):this.head=p,p.next=m,m.prev=p,this._length++},N.prototype.insertEntry=function(C){this.head?(this.tail.next=C,C.prev=this.tail,this.tail=C):this.head=this.tail=C,this._length++},N.prototype.remove=function(C){var m=C.prev,p=C.next;m?m.next=p:this.head=p,p?p.prev=m:this.tail=m,C.next=C.prev=null,this._length--},N.prototype.removeAt=function(C){if(!(C<0)){for(var m=this.head,p=0;m&&p!=C;)m=m.next,p++;if(m)return this.remove(m),m.value}},N.prototype.getHead=function(){if(this.head)return this.head.value},N.prototype.getTail=function(){if(this.tail)return this.tail.value},N.prototype.getAt=function(C){if(!(C<0)){for(var m=this.head,p=0;m&&p!=C;)m=m.next,p++;return m.value}},N.prototype.indexOf=function(C){for(var m=this.head,p=0;m;){if(m.value===C)return p;m=m.next,p++}},N.prototype.length=function(){return this._length},N.prototype.isEmpty=function(){return this._length===0},N.prototype.forEach=function(C,m){for(var p=this.head,E=0,d=typeof m!="undefined";p;)d?C.call(m,p.value,E):C(p.value,E),p=p.next,E++},N.prototype.clear=function(){this.tail=this.head=null,this._length=0},N.Entry=function(C){this.value=C,this.next=null,this.prev=null},P.a=N},function(k,P,_){"use strict";var N=_(97),C=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function m(o,g,r){function n(u,s,v,e){var t="";isNaN(s)&&(s in g?s=g[s]:s=a[s]),isNaN(v)&&(v in g?v=g[v]:v=a[v]);for(var i=parseInt(s);i0&&n.push("#define "+a.toUpperCase()+"_COUNT "+c)}if(r)for(var u=0;u=0&&F[I]>1e-4&&(r.transformMat4(X,U,D[K[I]]),r.scaleAndAdd(j,j,X,F[I]));Y.set(B,j)}}for(var B=0;B=0&&(E(o),o.coordinateSystem==="mapbox"&&(o.coordinateSystem="mapbox3D",l.mapbox3D=l.mapbox))}),d(l.xAxis3D),d(l.yAxis3D),d(l.zAxis3D),d(l.grid3D),p(l.geo3D)}},function(k,P,_){"use strict";function N(C){var m=new XMLHttpRequest;m.open("get",C.url),m.responseType=C.responseType||"text",C.onprogress&&(m.onprogress=function(p){if(p.lengthComputable){var E=p.loaded/p.total;C.onprogress(E,p.loaded,p.total)}else C.onprogress(null)}),m.onload=function(p){m.status>=400?C.onerror&&C.onerror():C.onload&&C.onload(m.response)},C.onerror&&(m.onerror=C.onerror),m.send(null)}P.a={get:N}},function(k,P,_){"use strict";P.a=`@export clay.basic.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec2 uvRepeat : [1.0, 1.0]; uniform vec2 uvOffset : [0.0, 0.0]; attribute vec2 texcoord : TEXCOORD_0; attribute vec3 position : POSITION; attribute vec3 barycentric; @import clay.chunk.skinning_header varying vec2 v_Texcoord; varying vec3 v_Barycentric; #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif void main() { vec3 skinnedPosition = position; #ifdef SKINNING @import clay.chunk.skin_matrix skinnedPosition = (skinMatrixWS * vec4(position, 1.0)).xyz; #endif v_Texcoord = texcoord * uvRepeat + uvOffset; v_Barycentric = barycentric; gl_Position = worldViewProjection * vec4(skinnedPosition, 1.0); #ifdef VERTEX_COLOR v_Color = a_Color; #endif } @end @export clay.basic.fragment varying vec2 v_Texcoord; uniform sampler2D diffuseMap; uniform vec3 color : [1.0, 1.0, 1.0]; uniform vec3 emission : [0.0, 0.0, 0.0]; uniform float alpha : 1.0; #ifdef ALPHA_TEST uniform float alphaCutoff: 0.9; #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif uniform float lineWidth : 0.0; uniform vec4 lineColor : [0.0, 0.0, 0.0, 0.6]; varying vec3 v_Barycentric; @import clay.util.edge_factor @import clay.util.rgbm @import clay.util.srgb @import clay.util.ACES void main() { #ifdef RENDER_TEXCOORD gl_FragColor = vec4(v_Texcoord, 1.0, 1.0); return; #endif gl_FragColor = vec4(color, alpha); #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif #ifdef DIFFUSEMAP_ENABLED vec4 tex = decodeHDR(texture2D(diffuseMap, v_Texcoord)); #ifdef SRGB_DECODE tex = sRGBToLinear(tex); #endif #if defined(DIFFUSEMAP_ALPHA_ALPHA) gl_FragColor.a = tex.a; #endif gl_FragColor.rgb *= tex.rgb; #endif gl_FragColor.rgb += emission; if( lineWidth > 0.) { gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor(lineWidth)) * lineColor.a); } #ifdef ALPHA_TEST if (gl_FragColor.a < alphaCutoff) { discard; } #endif #ifdef TONEMAPPING gl_FragColor.rgb = ACESToneMapping(gl_FragColor.rgb); #endif #ifdef SRGB_ENCODE gl_FragColor = linearTosRGB(gl_FragColor); #endif gl_FragColor = encodeHDR(gl_FragColor); } @end`},function(k,P,_){"use strict";var N=_(6),C=_(5),m=_(25),p=542327876,E=1,d=2,l=4,o=8,g=4096,r=131072,n=524288,a=8388608,c=8,u=4194304,s=4096,v=512,e=1024,t=2048,i=4096,f=8192,y=16384,b=32768,x=2097152,A=1,w=2,L=4,M=64,D=512,B=131072;function I(Fe){return Fe.charCodeAt(0)+(Fe.charCodeAt(1)<<8)+(Fe.charCodeAt(2)<<16)+(Fe.charCodeAt(3)<<24)}function U(Fe){return String.fromCharCode(Fe&255,Fe>>8&255,Fe>>16&255,Fe>>24&255)}var F=31,K=I("DXT1"),j=I("DXT3"),X=I("DXT5"),Y=0,se=1,Q=2,ve=3,xe=4,Ce=7,De=20,Ue=21,Me=27,Je=28,Re=29,ge=30,Ve={parse:function(Fe,Te){var We=new Int32Array(Fe,0,F);if(We[Y]!==p||!We(De)&L)return null;var Ne=We(Ue),V=We[xe],$=We[ve],re=We[Je]&v,ee=We[Q]&r,oe,q;switch(Ne){case K:oe=8,q=N.a.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case j:oe=16,q=N.a.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case X:oe=16,q=N.a.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}var fe=We[se]+4,be=re?6:1,te=1;ee&&(te=Math.max(1,We[Ce]));for(var ce=[],lt=0;lt0){var v=Math.pow(2,a[3]-128-8+s);c[u+0]=a[0]*v,c[u+1]=a[1]*v,c[u+2]=a[2]*v}else c[u+0]=0,c[u+1]=0,c[u+2]=0;return c[u+3]=1,c}function l(a,c,u){for(var s="",v=c;v0;)if(a[e][0]=c[u++],a[e][1]=c[u++],a[e][2]=c[u++],a[e][3]=c[u++],a[e][0]===1&&a[e][1]===1&&a[e][2]===1){for(var i=a[e][3]<>>0;i>0;i--)o(a[e-1],a[e]),e++,t--;v+=8}else e++,t--,v=0;return u}function r(a,c,u,s){if(sE)return g(a,c,u,s);var v=c[u++];if(v!=2)return g(a,c,u-1,s);if(a[0][1]=c[u++],a[0][2]=c[u++],v=c[u++],(a[0][2]<<8>>>0|v)>>>0!==s)return null;for(var v=0;v<4;v++)for(var e=0;e128){t=(t&127)>>>0;for(var i=c[u++];t--;)a[e++][v]=i}else for(;t--;)a[e++][v]=c[u++]}return u}var n={parseRGBE:function(a,c,u){u==null&&(u=0);var s=new Uint8Array(a),v=s.length;if(l(s,0,2)==="#?"){for(var e=2;e=v)){e+=2;for(var t="";e=0||(p.forEach(function(o){l.on(o,this[E(o)],this)},this),this._meshes.push(l))},detachFromMesh:function(l){var o=this._meshes.indexOf(l);o>=0&&this._meshes.splice(o,1),p.forEach(function(g){l.off(g,this[E(g)])},this)},dispose:function(){this._meshes.forEach(function(l){this.detachFromMesh(l)},this)}},P.a=d},function(k,P,_){"use strict";var N=_(19),C=_(108),m=N.a.extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(p,E){this._brdfLookup||(this._normalDistribution=C.a.generateNormalDistribution(),this._brdfLookup=C.a.integrateBRDF(p,this._normalDistribution));var d=this.cubemap;if(!d.__prefiltered){var l=C.a.prefilterEnvironmentMap(p,d,{encodeRGBM:!0,width:E,height:E},this._normalDistribution,this._brdfLookup);this.cubemap=l.environmentMap,this.cubemap.__prefiltered=!0,d.dispose(p)}},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(p){var E=p.color,d=p.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientCubemapLightCubemap:{type:"t",value:function(p){return p.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(p){return p._brdfLookup}}}});P.a=m},function(k,P,_){"use strict";var N=_(5),C=_(25),m=_(6),p=_(10),E=_(14),d=_(17),l=_(7),o=_(57),g=_(29),r=_(55),n=_(18),a=_(54),c=_(111),u=_(112),s={},v=["px","nx","py","ny","pz","nz"];s.prefilterEnvironmentMap=function(e,t,i,f,y){(!y||!f)&&(f=s.generateNormalDistribution(),y=s.integrateBRDF(e,f)),i=i||{};var b=i.width||64,x=i.height||64,A=i.type||t.type,w=new C.a({width:b,height:x,type:A,flipY:!1,mipmaps:[]});w.isPowerOfTwo()||console.warn("Width and height must be power of two to enable mipmap.");var L=Math.min(b,x),M=Math.log(L)/Math.log(2)+1,D=new d.a({shader:new l.a({vertex:l.a.source("clay.skybox.vertex"),fragment:u.a})});D.set("normalDistribution",f),i.encodeRGBM&&D.define("fragment","RGBM_ENCODE"),i.decodeRGBM&&D.define("fragment","RGBM_DECODE");var B=new g.a,I;if(t instanceof N.a){var U=new C.a({width:b,height:x,type:A===m.a.FLOAT?m.a.HALF_FLOAT:A});a.a.panoramaToCubeMap(e,t,U,{encodeRGBM:i.decodeRGBM}),t=U}I=new o.a({scene:B,material:D}),I.material.set("environmentMap",t);var F=new r.a({texture:w});i.encodeRGBM&&(A=w.type=m.a.UNSIGNED_BYTE);for(var K=new N.a({width:b,height:x,type:A}),j=new p.a({depthBuffer:!1}),X=n.a[A===m.a.UNSIGNED_BYTE?"Uint8Array":"Float32Array"],Y=0;Y>>16)>>>0;w=((w&1431655765)<<1|(w&2863311530)>>>1)>>>0,w=((w&858993459)<<2|(w&3435973836)>>>2)>>>0,w=((w&252645135)<<4|(w&4042322160)>>>4)>>>0,w=(((w&16711935)<<8|(w&4278255360)>>>8)>>>0)/4294967296;for(var L=0;L 0.0) { float G = G_Smith(roughness, NoV, NoL); float G_Vis = G * VoH / (NoH * NoV); float Fc = pow(1.0 - VoH, 5.0); A += (1.0 - Fc) * G_Vis; B += Fc * G_Vis; } } gl_FragColor = vec4(vec2(A, B) / fSampleNumber, 0.0, 1.0); } `},function(k,P,_){"use strict";P.a=`#define SAMPLE_NUMBER 1024 #define PI 3.14159265358979 uniform mat4 viewInverse : VIEWINVERSE; uniform samplerCube environmentMap; uniform sampler2D normalDistribution; uniform float roughness : 0.5; varying vec2 v_Texcoord; varying vec3 v_WorldPosition; const float fSampleNumber = float(SAMPLE_NUMBER); @import clay.util.rgbm vec3 importanceSampleNormal(float i, float roughness, vec3 N) { vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb; vec3 upVector = abs(N.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0); vec3 tangentX = normalize(cross(upVector, N)); vec3 tangentY = cross(N, tangentX); return tangentX * H.x + tangentY * H.y + N * H.z; } void main() { vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(v_WorldPosition - eyePos); vec3 N = V; vec3 R = V; vec3 prefilteredColor = vec3(0.0); float totalWeight = 0.0; for (int i = 0; i < SAMPLE_NUMBER; i++) { vec3 H = importanceSampleNormal(float(i) / fSampleNumber, roughness, N); vec3 L = reflect(-V, H); float NoL = clamp(dot(N, L), 0.0, 1.0); if (NoL > 0.0) { prefilteredColor += decodeHDR(textureCube(environmentMap, L)).rgb * NoL; totalWeight += NoL; } } gl_FragColor = encodeHDR(vec4(prefilteredColor / totalWeight, 1.0)); } `},function(k,P,_){"use strict";var N=_(19),C=_(18),m=N.a.extend({castShadow:!1,coefficients:[]},function(){this._coefficientsTmpArr=new C.a.Float32Array(9*3)},{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(p){var E=p.color,d=p.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientSHLightCoefficients:{type:"3f",value:function(p){for(var E=p._coefficientsTmpArr,d=0;d=0&&a.splice(s,1)}),a.push(c),this.__zr&&this.__zr.animation.addAnimator(c),c},stopAnimation:function(p){this._animators=this._animators||[];for(var E=this._animators,d=E.length,l=0;l.5?b:y}function r(y,b,x,A,w){var L=y.length;if(w==1)for(var M=0;Mw;if(L)y.length=w;else for(var M=A;M=0&&!(se[q]<=oe);q--);q=Math.min(q,I-2)}else{for(q=Je;qoe);q++);q=Math.min(q-1,I-2)}Je=q,Re=oe;var fe=se[q+1]-se[q];if(fe!==0)if(Ve=(oe-se[q])/fe,B)if(Te=Q[q],Fe=Q[q===0?q:q-1],We=Q[q>I-2?I-1:q+1],Ne=Q[q>I-3?I-1:q+2],F)c(Fe,Te,We,Ne,Ve,Ve*Ve,Ve*Ve*Ve,M(ee,w),X);else{var be;if(K)be=c(Fe,Te,We,Ne,Ve,Ve*Ve,Ve*Ve*Ve,V,1),be=v(V);else{if(j)return g(Te,We,Ve);be=u(Fe,Te,We,Ne,Ve,Ve*Ve,Ve*Ve*Ve)}D(ee,w,be)}else if(F)r(Q[q],Q[q+1],Ve,M(ee,w),X);else{var be;if(K)r(Q[q],Q[q+1],Ve,V,1),be=v(V);else{if(j)return g(Q[q],Q[q+1],Ve);be=o(Q[q],Q[q+1],Ve)}D(ee,w,be)}},re=new N({target:y._target,life:Y,loop:y._loop,delay:y._delay,onframe:$,ondestroy:x});return b&&b!=="spline"&&(re.easing=b),re}}}var i=function(y,b,x,A){this._tracks={},this._target=y,this._loop=b||!1,this._getter=x||d,this._setter=A||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};i.prototype={when:function(y,b){var x=this._tracks;for(var A in b)if(b.hasOwnProperty(A)){if(!x[A]){x[A]=[];var w=this._getter(this._target,A);if(w==null)continue;y!==0&&x[A].push({time:0,value:s(w)})}x[A].push({time:y,value:b[A]})}return this},during:function(y){return this._onframeList.push(y),this},pause:function(){for(var y=0;y255?255:M}function p(M){return M=Math.round(M),M<0?0:M>360?360:M}function E(M){return M<0?0:M>1?1:M}function d(M){return M.length&&M.charAt(M.length-1)==="%"?m(parseFloat(M)/100*255):m(parseInt(M,10))}function l(M){return M.length&&M.charAt(M.length-1)==="%"?E(parseFloat(M)/100):E(parseFloat(M))}function o(M,D,B){return B<0?B+=1:B>1&&(B-=1),B*6<1?M+(D-M)*B*6:B*2<1?D:B*3<2?M+(D-M)*(2/3-B)*6:M}function g(M,D,B){return M+(D-M)*B}function r(M,D,B,I,U){return M[0]=D,M[1]=B,M[2]=I,M[3]=U,M}function n(M,D){return M[0]=D[0],M[1]=D[1],M[2]=D[2],M[3]=D[3],M}var a=new N(20),c=null;function u(M,D){c&&n(c,D),c=a.put(M,c||D.slice())}function s(M,D){if(M){D=D||[];var B=a.get(M);if(B)return n(D,B);M=M+"";var I=M.replace(/ /g,"").toLowerCase();if(I in C)return n(D,C[I]),u(M,D),D;if(I.charAt(0)==="#"){if(I.length===4){var U=parseInt(I.substr(1),16);if(!(U>=0&&U<=4095)){r(D,0,0,0,1);return}return r(D,(U&3840)>>4|(U&3840)>>8,U&240|(U&240)>>4,U&15|(U&15)<<4,1),u(M,D),D}else if(I.length===7){var U=parseInt(I.substr(1),16);if(!(U>=0&&U<=16777215)){r(D,0,0,0,1);return}return r(D,(U&16711680)>>16,(U&65280)>>8,U&255,1),u(M,D),D}return}var F=I.indexOf("("),K=I.indexOf(")");if(F!==-1&&K+1===I.length){var j=I.substr(0,F),X=I.substr(F+1,K-(F+1)).split(","),Y=1;switch(j){case"rgba":if(X.length!==4){r(D,0,0,0,1);return}Y=l(X.pop());case"rgb":if(X.length!==3){r(D,0,0,0,1);return}return r(D,d(X[0]),d(X[1]),d(X[2]),Y),u(M,D),D;case"hsla":if(X.length!==4){r(D,0,0,0,1);return}return X[3]=l(X[3]),v(X,D),u(M,D),D;case"hsl":if(X.length!==3){r(D,0,0,0,1);return}return v(X,D),u(M,D),D;default:return}}r(D,0,0,0,1)}}function v(M,D){var B=(parseFloat(M[0])%360+360)%360/360,I=l(M[1]),U=l(M[2]),F=U<=.5?U*(I+1):U+I-U*I,K=U*2-F;return D=D||[],r(D,m(o(K,F,B+1/3)*255),m(o(K,F,B)*255),m(o(K,F,B-1/3)*255),1),M.length===4&&(D[3]=M[3]),D}function e(M){if(M){var D=M[0]/255,B=M[1]/255,I=M[2]/255,U=Math.min(D,B,I),F=Math.max(D,B,I),K=F-U,j=(F+U)/2,X,Y;if(K===0)X=0,Y=0;else{j<.5?Y=K/(F+U):Y=K/(2-F-U);var se=((F-D)/6+K/2)/K,Q=((F-B)/6+K/2)/K,ve=((F-I)/6+K/2)/K;D===F?X=ve-Q:B===F?X=1/3+se-ve:I===F&&(X=2/3+Q-se),X<0&&(X+=1),X>1&&(X-=1)}var xe=[X*360,Y,j];return M[3]!=null&&xe.push(M[3]),xe}}function t(M,D){var B=s(M);if(B){for(var I=0;I<3;I++)D<0?B[I]=B[I]*(1-D)|0:B[I]=(255-B[I])*D+B[I]|0;return L(B,B.length===4?"rgba":"rgb")}}function i(M){var D=s(M);if(D)return((1<<24)+(D[0]<<16)+(D[1]<<8)+ +D[2]).toString(16).slice(1)}function f(M,D,B){if(!(!(D&&D.length)||!(M>=0&&M<=1))){B=B||[];var I=M*(D.length-1),U=Math.floor(I),F=Math.ceil(I),K=D[U],j=D[F],X=I-U;return B[0]=m(g(K[0],j[0],X)),B[1]=m(g(K[1],j[1],X)),B[2]=m(g(K[2],j[2],X)),B[3]=E(g(K[3],j[3],X)),B}}var y=f;function b(M,D,B){if(!(!(D&&D.length)||!(M>=0&&M<=1))){var I=M*(D.length-1),U=Math.floor(I),F=Math.ceil(I),K=s(D[U]),j=s(D[F]),X=I-U,Y=L([m(g(K[0],j[0],X)),m(g(K[1],j[1],X)),m(g(K[2],j[2],X)),E(g(K[3],j[3],X))],"rgba");return B?{color:Y,leftIndex:U,rightIndex:F,value:I}:Y}}var x=b;function A(M,D,B,I){if(M=s(M),M)return M=e(M),D!=null&&(M[0]=p(D)),B!=null&&(M[1]=l(B)),I!=null&&(M[2]=l(I)),L(v(M),"rgba")}function w(M,D){if(M=s(M),M&&D!=null)return M[3]=E(D),L(M,"rgba")}function L(M,D){if(!(!M||!M.length)){var B=M[0]+","+M[1]+","+M[2];return(D==="rgba"||D==="hsva"||D==="hsla")&&(B+=","+M[3]),D+"("+B+")"}}P.parse=s,P.lift=t,P.toHex=i,P.fastLerp=f,P.fastMapToColor=y,P.lerp=b,P.mapToColor=x,P.modifyHSL=A,P.modifyAlpha=w,P.stringify=L},function(k,P,_){"use strict";P.a=` @export clay.util.rand highp float rand(vec2 uv) { const highp float a = 12.9898, b = 78.233, c = 43758.5453; highp float dt = dot(uv.xy, vec2(a,b)), sn = mod(dt, 3.141592653589793); return fract(sin(sn) * c); } @end @export clay.util.calculate_attenuation uniform float attenuationFactor : 5.0; float lightAttenuation(float dist, float range) { float attenuation = 1.0; attenuation = dist*dist/(range*range+1.0); float att_s = attenuationFactor; attenuation = 1.0/(attenuation*att_s+1.0); att_s = 1.0/(att_s+1.0); attenuation = attenuation - att_s; attenuation /= 1.0 - att_s; return clamp(attenuation, 0.0, 1.0); } @end @export clay.util.edge_factor float edgeFactor(float width) { vec3 d = fwidth(v_Barycentric); vec3 a3 = smoothstep(vec3(0.0), d * width, v_Barycentric); return min(min(a3.x, a3.y), a3.z); } @end @export clay.util.encode_float vec4 encodeFloat(const in float depth) { const vec4 bitShifts = vec4(256.0*256.0*256.0, 256.0*256.0, 256.0, 1.0); const vec4 bit_mask = vec4(0.0, 1.0/256.0, 1.0/256.0, 1.0/256.0); vec4 res = fract(depth * bitShifts); res -= res.xxyz * bit_mask; return res; } @end @export clay.util.decode_float float decodeFloat(const in vec4 color) { const vec4 bitShifts = vec4(1.0/(256.0*256.0*256.0), 1.0/(256.0*256.0), 1.0/256.0, 1.0); return dot(color, bitShifts); } @end @export clay.util.float @import clay.util.encode_float @import clay.util.decode_float @end @export clay.util.rgbm_decode vec3 RGBMDecode(vec4 rgbm, float range) { return range * rgbm.rgb * rgbm.a; } @end @export clay.util.rgbm_encode vec4 RGBMEncode(vec3 color, float range) { if (dot(color, color) == 0.0) { return vec4(0.0); } vec4 rgbm; color /= range; rgbm.a = clamp(max(max(color.r, color.g), max(color.b, 1e-6)), 0.0, 1.0); rgbm.a = ceil(rgbm.a * 255.0) / 255.0; rgbm.rgb = color / rgbm.a; return rgbm; } @end @export clay.util.rgbm @import clay.util.rgbm_decode @import clay.util.rgbm_encode vec4 decodeHDR(vec4 color) { #if defined(RGBM_DECODE) || defined(RGBM) return vec4(RGBMDecode(color, 51.5), 1.0); #else return color; #endif } vec4 encodeHDR(vec4 color) { #if defined(RGBM_ENCODE) || defined(RGBM) return RGBMEncode(color.xyz, 51.5); #else return color; #endif } @end @export clay.util.srgb vec4 sRGBToLinear(in vec4 value) { return vec4(mix(pow(value.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), value.rgb * 0.0773993808, vec3(lessThanEqual(value.rgb, vec3(0.04045)))), value.w); } vec4 linearTosRGB(in vec4 value) { return vec4(mix(pow(value.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), value.rgb * 12.92, vec3(lessThanEqual(value.rgb, vec3(0.0031308)))), value.w); } @end @export clay.chunk.skinning_header #ifdef SKINNING attribute vec3 weight : WEIGHT; attribute vec4 joint : JOINT; uniform mat4 skinMatrix[JOINT_COUNT] : SKIN_MATRIX; mat4 getSkinMatrix(float idx) { return skinMatrix[int(idx)]; } #endif @end @export clay.chunk.skin_matrix mat4 skinMatrixWS = getSkinMatrix(joint.x) * weight.x; if (weight.y > 1e-4) { skinMatrixWS += getSkinMatrix(joint.y) * weight.y; } if (weight.z > 1e-4) { skinMatrixWS += getSkinMatrix(joint.z) * weight.z; } float weightW = 1.0-weight.x-weight.y-weight.z; if (weightW > 1e-4) { skinMatrixWS += getSkinMatrix(joint.w) * weightW; } @end @export clay.util.parallax_correct vec3 parallaxCorrect(in vec3 dir, in vec3 pos, in vec3 boxMin, in vec3 boxMax) { vec3 first = (boxMax - pos) / dir; vec3 second = (boxMin - pos) / dir; vec3 further = max(first, second); float dist = min(further.x, min(further.y, further.z)); vec3 fixedPos = pos + dir * dist; vec3 boxCenter = (boxMax + boxMin) * 0.5; return normalize(fixedPos - boxCenter); } @end @export clay.util.clamp_sample vec4 clampSample(const in sampler2D texture, const in vec2 coord) { #ifdef STEREO float eye = step(0.5, coord.x) * 0.5; vec2 coordClamped = clamp(coord, vec2(eye, 0.0), vec2(0.5 + eye, 1.0)); #else vec2 coordClamped = clamp(coord, vec2(0.0), vec2(1.0)); #endif return texture2D(texture, coordClamped); } @end @export clay.util.ACES vec3 ACESToneMapping(vec3 color) { const float A = 2.51; const float B = 0.03; const float C = 2.43; const float D = 0.59; const float E = 0.14; return (color * (A * color + B)) / (color * (C * color + D) + E); } @end`},function(k,P,_){"use strict";P.a=` @export ecgl.common.transformUniforms uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE; uniform mat4 world : WORLD; @end @export ecgl.common.attributes attribute vec3 position : POSITION; attribute vec2 texcoord : TEXCOORD_0; attribute vec3 normal : NORMAL; @end @export ecgl.common.uv.header uniform vec2 uvRepeat : [1.0, 1.0]; uniform vec2 uvOffset : [0.0, 0.0]; uniform vec2 detailUvRepeat : [1.0, 1.0]; uniform vec2 detailUvOffset : [0.0, 0.0]; varying vec2 v_Texcoord; varying vec2 v_DetailTexcoord; @end @export ecgl.common.uv.main v_Texcoord = texcoord * uvRepeat + uvOffset; v_DetailTexcoord = texcoord * detailUvRepeat + detailUvOffset; @end @export ecgl.common.uv.fragmentHeader varying vec2 v_Texcoord; varying vec2 v_DetailTexcoord; @end @export ecgl.common.albedo.main vec4 albedoTexel = vec4(1.0); #ifdef DIFFUSEMAP_ENABLED albedoTexel = texture2D(diffuseMap, v_Texcoord); #ifdef SRGB_DECODE albedoTexel = sRGBToLinear(albedoTexel); #endif #endif #ifdef DETAILMAP_ENABLED vec4 detailTexel = texture2D(detailMap, v_DetailTexcoord); #ifdef SRGB_DECODE detailTexel = sRGBToLinear(detailTexel); #endif albedoTexel.rgb = mix(albedoTexel.rgb, detailTexel.rgb, detailTexel.a); albedoTexel.a = detailTexel.a + (1.0 - detailTexel.a) * albedoTexel.a; #endif @end @export ecgl.common.wireframe.vertexHeader #ifdef WIREFRAME_QUAD attribute vec4 barycentric; varying vec4 v_Barycentric; #elif defined(WIREFRAME_TRIANGLE) attribute vec3 barycentric; varying vec3 v_Barycentric; #endif @end @export ecgl.common.wireframe.vertexMain #if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE) v_Barycentric = barycentric; #endif @end @export ecgl.common.wireframe.fragmentHeader uniform float wireframeLineWidth : 1; uniform vec4 wireframeLineColor: [0, 0, 0, 0.5]; #ifdef WIREFRAME_QUAD varying vec4 v_Barycentric; float edgeFactor () { vec4 d = fwidth(v_Barycentric); vec4 a4 = smoothstep(vec4(0.0), d * wireframeLineWidth, v_Barycentric); return min(min(min(a4.x, a4.y), a4.z), a4.w); } #elif defined(WIREFRAME_TRIANGLE) varying vec3 v_Barycentric; float edgeFactor () { vec3 d = fwidth(v_Barycentric); vec3 a3 = smoothstep(vec3(0.0), d * wireframeLineWidth, v_Barycentric); return min(min(a3.x, a3.y), a3.z); } #endif @end @export ecgl.common.wireframe.fragmentMain #if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE) if (wireframeLineWidth > 0.) { vec4 lineColor = wireframeLineColor; #ifdef SRGB_DECODE lineColor = sRGBToLinear(lineColor); #endif gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor()) * lineColor.a); } #endif @end @export ecgl.common.bumpMap.header #ifdef BUMPMAP_ENABLED uniform sampler2D bumpMap; uniform float bumpScale : 1.0; vec3 bumpNormal(vec3 surfPos, vec3 surfNormal, vec3 baseNormal) { vec2 dSTdx = dFdx(v_Texcoord); vec2 dSTdy = dFdy(v_Texcoord); float Hll = bumpScale * texture2D(bumpMap, v_Texcoord).x; float dHx = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdx).x - Hll; float dHy = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdy).x - Hll; vec3 vSigmaX = dFdx(surfPos); vec3 vSigmaY = dFdy(surfPos); vec3 vN = surfNormal; vec3 R1 = cross(vSigmaY, vN); vec3 R2 = cross(vN, vSigmaX); float fDet = dot(vSigmaX, R1); vec3 vGrad = sign(fDet) * (dHx * R1 + dHy * R2); return normalize(abs(fDet) * baseNormal - vGrad); } #endif @end @export ecgl.common.normalMap.vertexHeader #ifdef NORMALMAP_ENABLED attribute vec4 tangent : TANGENT; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @end @export ecgl.common.normalMap.vertexMain #ifdef NORMALMAP_ENABLED if (dot(tangent, tangent) > 0.0) { v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz); v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w); } #endif @end @export ecgl.common.normalMap.fragmentHeader #ifdef NORMALMAP_ENABLED uniform sampler2D normalMap; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @end @export ecgl.common.normalMap.fragmentMain #ifdef NORMALMAP_ENABLED if (dot(v_Tangent, v_Tangent) > 0.0) { vec3 normalTexel = texture2D(normalMap, v_DetailTexcoord).xyz; if (dot(normalTexel, normalTexel) > 0.0) { N = normalTexel * 2.0 - 1.0; mat3 tbn = mat3(v_Tangent, v_Bitangent, v_Normal); N = normalize(tbn * N); } } #endif @end @export ecgl.common.vertexAnimation.header #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute vec3 prevNormal; uniform float percent; #endif @end @export ecgl.common.vertexAnimation.main #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); vec3 norm = mix(prevNormal, normal, percent); #else vec3 pos = position; vec3 norm = normal; #endif @end @export ecgl.common.ssaoMap.header #ifdef SSAOMAP_ENABLED uniform sampler2D ssaoMap; uniform vec4 viewport : VIEWPORT; #endif @end @export ecgl.common.ssaoMap.main float ao = 1.0; #ifdef SSAOMAP_ENABLED ao = texture2D(ssaoMap, (gl_FragCoord.xy - viewport.xy) / viewport.zw).r; #endif @end @export ecgl.common.diffuseLayer.header #if (LAYER_DIFFUSEMAP_COUNT > 0) uniform float layerDiffuseIntensity[LAYER_DIFFUSEMAP_COUNT]; uniform sampler2D layerDiffuseMap[LAYER_DIFFUSEMAP_COUNT]; #endif @end @export ecgl.common.emissiveLayer.header #if (LAYER_EMISSIVEMAP_COUNT > 0) uniform float layerEmissionIntensity[LAYER_EMISSIVEMAP_COUNT]; uniform sampler2D layerEmissiveMap[LAYER_EMISSIVEMAP_COUNT]; #endif @end @export ecgl.common.layers.header @import ecgl.common.diffuseLayer.header @import ecgl.common.emissiveLayer.header @end @export ecgl.common.diffuseLayer.main #if (LAYER_DIFFUSEMAP_COUNT > 0) for (int _idx_ = 0; _idx_ < LAYER_DIFFUSEMAP_COUNT; _idx_++) {{ float intensity = layerDiffuseIntensity[_idx_]; vec4 texel2 = texture2D(layerDiffuseMap[_idx_], v_Texcoord); #ifdef SRGB_DECODE texel2 = sRGBToLinear(texel2); #endif albedoTexel.rgb = mix(albedoTexel.rgb, texel2.rgb * intensity, texel2.a); albedoTexel.a = texel2.a + (1.0 - texel2.a) * albedoTexel.a; }} #endif @end @export ecgl.common.emissiveLayer.main #if (LAYER_EMISSIVEMAP_COUNT > 0) for (int _idx_ = 0; _idx_ < LAYER_EMISSIVEMAP_COUNT; _idx_++) {{ vec4 texel2 = texture2D(layerEmissiveMap[_idx_], v_Texcoord) * layerEmissionIntensity[_idx_]; #ifdef SRGB_DECODE texel2 = sRGBToLinear(texel2); #endif float intensity = layerEmissionIntensity[_idx_]; gl_FragColor.rgb += texel2.rgb * texel2.a * intensity; }} #endif @end `},function(k,P,_){"use strict";P.a=`@export ecgl.color.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; @import ecgl.common.uv.header attribute vec2 texcoord : TEXCOORD_0; attribute vec3 position: POSITION; @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; uniform float percent : 1.0; #endif void main() { #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif gl_Position = worldViewProjection * vec4(pos, 1.0); @import ecgl.common.uv.main #ifdef VERTEX_COLOR v_Color = a_Color; #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.color.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 uniform sampler2D diffuseMap; uniform sampler2D detailMap; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.layers.header @import ecgl.common.uv.fragmentHeader @import ecgl.common.wireframe.fragmentHeader @import clay.util.srgb void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color); #else gl_FragColor = color; #endif #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main gl_FragColor *= albedoTexel; @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`/** * http: */ @export ecgl.lambert.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif @import ecgl.common.vertexAnimation.header varying vec3 v_Normal; varying vec3 v_WorldPosition; void main() { @import ecgl.common.uv.main @import ecgl.common.vertexAnimation.main gl_Position = worldViewProjection * vec4(pos, 1.0); v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; #ifdef VERTEX_COLOR v_Color = a_Color; #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.lambert.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform sampler2D diffuseMap; uniform sampler2D detailMap; @import ecgl.common.layers.header uniform float emissionIntensity: 1.0; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map void main() { #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color); #else gl_FragColor = color; #endif #ifdef VERTEX_COLOR #ifdef SRGB_DECODE gl_FragColor *= sRGBToLinear(v_Color); #else gl_FragColor *= v_Color; #endif #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main gl_FragColor *= albedoTexel; vec3 N = v_Normal; #ifdef DOUBLE_SIDED vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { N = -N; } #endif float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); vec3 diffuseColor = vec3(0.0, 0.0, 0.0); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++) { diffuseColor += ambientLightColor[i] * ambientFactor * ao; } #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ diffuseColor += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) { vec3 lightDirection = -directionalLightDirection[i]; vec3 lightColor = directionalLightColor[i]; float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[i]; } #endif float ndl = dot(N, normalize(lightDirection)) * shadowContrib; diffuseColor += lightColor * clamp(ndl, 0.0, 1.0); } #endif gl_FragColor.rgb *= diffuseColor; @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.realistic.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes @import ecgl.common.wireframe.vertexHeader #ifdef VERTEX_COLOR attribute vec4 a_Color : COLOR; varying vec4 v_Color; #endif #ifdef NORMALMAP_ENABLED attribute vec4 tangent : TANGENT; varying vec3 v_Tangent; varying vec3 v_Bitangent; #endif @import ecgl.common.vertexAnimation.header varying vec3 v_Normal; varying vec3 v_WorldPosition; void main() { @import ecgl.common.uv.main @import ecgl.common.vertexAnimation.main gl_Position = worldViewProjection * vec4(pos, 1.0); v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; #ifdef VERTEX_COLOR v_Color = a_Color; #endif #ifdef NORMALMAP_ENABLED v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz); v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w); #endif @import ecgl.common.wireframe.vertexMain } @end @export ecgl.realistic.fragment #define LAYER_DIFFUSEMAP_COUNT 0 #define LAYER_EMISSIVEMAP_COUNT 0 #define PI 3.14159265358979 #define ROUGHNESS_CHANEL 0 #define METALNESS_CHANEL 1 #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform sampler2D diffuseMap; uniform sampler2D detailMap; uniform sampler2D metalnessMap; uniform sampler2D roughnessMap; @import ecgl.common.layers.header uniform float emissionIntensity: 1.0; uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform float metalness : 0.0; uniform float roughness : 0.5; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef AMBIENT_CUBEMAP_LIGHT_COUNT @import clay.header.ambient_cubemap_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif @import ecgl.common.normalMap.fragmentHeader @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import clay.util.rgbm @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map vec3 F_Schlick(float ndv, vec3 spec) { return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0); } float D_Phong(float g, float ndh) { float a = pow(8192.0, g); return (a + 2.0) / 8.0 * pow(ndh, a); } void main() { vec4 albedoColor = color; vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); #ifdef VERTEX_COLOR #ifdef SRGB_DECODE albedoColor *= sRGBToLinear(v_Color); #else albedoColor *= v_Color; #endif #endif @import ecgl.common.albedo.main @import ecgl.common.diffuseLayer.main albedoColor *= albedoTexel; float m = metalness; #ifdef METALNESSMAP_ENABLED float m2 = texture2D(metalnessMap, v_DetailTexcoord)[METALNESS_CHANEL]; m = clamp(m2 + (m - 0.5) * 2.0, 0.0, 1.0); #endif vec3 baseColor = albedoColor.rgb; albedoColor.rgb = baseColor * (1.0 - m); vec3 specFactor = mix(vec3(0.04), baseColor, m); float g = 1.0 - roughness; #ifdef ROUGHNESSMAP_ENABLED float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL]; g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0); #endif vec3 N = v_Normal; #ifdef DOUBLE_SIDED if (dot(N, V) < 0.0) { N = -N; } #endif float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif @import ecgl.common.normalMap.fragmentMain vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); vec3 diffuseTerm = vec3(0.0); vec3 specularTerm = vec3(0.0); float ndv = clamp(dot(N, V), 0.0, 1.0); vec3 fresnelTerm = F_Schlick(ndv, specFactor); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_LIGHT_COUNT; _idx_++) {{ diffuseTerm += ambientLightColor[_idx_] * ambientFactor * ao; }} #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ diffuseTerm += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ vec3 L = -directionalLightDirection[_idx_]; vec3 lc = directionalLightColor[_idx_]; vec3 H = normalize(L + V); float ndl = clamp(dot(N, normalize(L)), 0.0, 1.0); float ndh = clamp(dot(N, H), 0.0, 1.0); float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[_idx_]; } #endif vec3 li = lc * ndl * shadowContrib; diffuseTerm += li; specularTerm += li * fresnelTerm * D_Phong(g, ndh); }} #endif #ifdef AMBIENT_CUBEMAP_LIGHT_COUNT vec3 L = reflect(-V, N); L = vec3(L.x, L[NORMAL_UP_AXIS], L[NORMAL_FRONT_AXIS]); float rough2 = clamp(1.0 - g, 0.0, 1.0); float bias2 = rough2 * 5.0; vec2 brdfParam2 = texture2D(ambientCubemapLightBRDFLookup[0], vec2(rough2, ndv)).xy; vec3 envWeight2 = specFactor * brdfParam2.x + brdfParam2.y; vec3 envTexel2; for(int _idx_ = 0; _idx_ < AMBIENT_CUBEMAP_LIGHT_COUNT; _idx_++) {{ envTexel2 = RGBMDecode(textureCubeLodEXT(ambientCubemapLightCubemap[_idx_], L, bias2), 51.5); specularTerm += ambientCubemapLightColor[_idx_] * envTexel2 * envWeight2 * ao; }} #endif gl_FragColor.rgb = albedoColor.rgb * diffuseTerm + specularTerm; gl_FragColor.a = albedoColor.a; #ifdef SRGB_ENCODE gl_FragColor = linearTosRGB(gl_FragColor); #endif @import ecgl.common.emissiveLayer.main @import ecgl.common.wireframe.fragmentMain } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.hatching.vertex @import ecgl.realistic.vertex @end @export ecgl.hatching.fragment #define NORMAL_UP_AXIS 1 #define NORMAL_FRONT_AXIS 2 @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform vec4 color : [0.0, 0.0, 0.0, 1.0]; uniform vec4 paperColor : [1.0, 1.0, 1.0, 1.0]; uniform mat4 viewInverse : VIEWINVERSE; #ifdef AMBIENT_LIGHT_COUNT @import clay.header.ambient_light #endif #ifdef AMBIENT_SH_LIGHT_COUNT @import clay.header.ambient_sh_light #endif #ifdef DIRECTIONAL_LIGHT_COUNT @import clay.header.directional_light #endif #ifdef VERTEX_COLOR varying vec4 v_Color; #endif @import ecgl.common.ssaoMap.header @import ecgl.common.bumpMap.header @import clay.util.srgb @import ecgl.common.wireframe.fragmentHeader @import clay.plugin.compute_shadow_map uniform sampler2D hatch1; uniform sampler2D hatch2; uniform sampler2D hatch3; uniform sampler2D hatch4; uniform sampler2D hatch5; uniform sampler2D hatch6; float shade(in float tone) { vec4 c = vec4(1. ,1., 1., 1.); float step = 1. / 6.; vec2 uv = v_DetailTexcoord; if (tone <= step / 2.0) { c = mix(vec4(0.), texture2D(hatch6, uv), 12. * tone); } else if (tone <= step) { c = mix(texture2D(hatch6, uv), texture2D(hatch5, uv), 6. * tone); } if(tone > step && tone <= 2. * step){ c = mix(texture2D(hatch5, uv), texture2D(hatch4, uv) , 6. * (tone - step)); } if(tone > 2. * step && tone <= 3. * step){ c = mix(texture2D(hatch4, uv), texture2D(hatch3, uv), 6. * (tone - 2. * step)); } if(tone > 3. * step && tone <= 4. * step){ c = mix(texture2D(hatch3, uv), texture2D(hatch2, uv), 6. * (tone - 3. * step)); } if(tone > 4. * step && tone <= 5. * step){ c = mix(texture2D(hatch2, uv), texture2D(hatch1, uv), 6. * (tone - 4. * step)); } if(tone > 5. * step){ c = mix(texture2D(hatch1, uv), vec4(1.), 6. * (tone - 5. * step)); } return c.r; } const vec3 w = vec3(0.2125, 0.7154, 0.0721); void main() { #ifdef SRGB_DECODE vec4 inkColor = sRGBToLinear(color); #else vec4 inkColor = color; #endif #ifdef VERTEX_COLOR #ifdef SRGB_DECODE inkColor *= sRGBToLinear(v_Color); #else inkColor *= v_Color; #endif #endif vec3 N = v_Normal; #ifdef DOUBLE_SIDED vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { N = -N; } #endif float tone = 0.0; float ambientFactor = 1.0; #ifdef BUMPMAP_ENABLED N = bumpNormal(v_WorldPosition, v_Normal, N); ambientFactor = dot(v_Normal, N); #endif vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]); @import ecgl.common.ssaoMap.main #ifdef AMBIENT_LIGHT_COUNT for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++) { tone += dot(ambientLightColor[i], w) * ambientFactor * ao; } #endif #ifdef AMBIENT_SH_LIGHT_COUNT for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++) {{ tone += dot(calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_], w) * ao; }} #endif #ifdef DIRECTIONAL_LIGHT_COUNT #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT]; if(shadowEnabled) { computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir); } #endif for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) { vec3 lightDirection = -directionalLightDirection[i]; float lightTone = dot(directionalLightColor[i], w); float shadowContrib = 1.0; #if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) if (shadowEnabled) { shadowContrib = shadowContribsDir[i]; } #endif float ndl = dot(N, normalize(lightDirection)) * shadowContrib; tone += lightTone * clamp(ndl, 0.0, 1.0); } #endif gl_FragColor = mix(inkColor, paperColor, shade(clamp(tone, 0.0, 1.0))); } @end `},function(k,P,_){"use strict";P.a=`@export ecgl.sm.depth.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec3 position : POSITION; #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; uniform float percent : 1.0; #endif varying vec4 v_ViewPosition; void main(){ #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif v_ViewPosition = worldViewProjection * vec4(pos, 1.0); gl_Position = v_ViewPosition; } @end @export ecgl.sm.depth.fragment @import clay.sm.depth.fragment @end`},function(k,P,_){"use strict";var N=_(134),C=_(138),m=_(139),p=_(145),E=_(0),d=_.n(E);d.a.registerAction({type:"grid3DChangeCamera",event:"grid3dcamerachanged",update:"series:updateCamera"},function(l,o){o.eachComponent({mainType:"grid3D",query:l},function(g){g.setView(l)})}),d.a.registerAction({type:"grid3DShowAxisPointer",event:"grid3dshowaxispointer",update:"grid3D:showAxisPointer"},function(l,o){}),d.a.registerAction({type:"grid3DHideAxisPointer",event:"grid3dhideaxispointer",update:"grid3D:hideAxisPointer"},function(l,o){})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(135),p=C.a.extendComponentModel({type:"cartesian3DAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid3D",index:this.option.gridIndex,id:this.option.gridId})[0]}});C.a.helper.mixinAxisModelCommonMethods(p);function E(d,l){return l.type||(l.data?"category":"value")}Object(m.a)("x",p,E,{name:"X"}),Object(m.a)("y",p,E,{name:"Y"}),Object(m.a)("z",p,E,{name:"Z"})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(136),p=_(137),E=_.n(p),d=["value","category","time","log"];P.a=function(l,o,g,r){C.a.util.each(d,function(n){o.extend({type:l+"Axis3D."+n,__ordinalMeta:null,mergeDefaultAndTheme:function(a,c){var u=c.getTheme();C.a.util.merge(a,u.get(n+"Axis3D")),C.a.util.merge(a,this.getDefaultOption()),a.type=g(l,a)},optionUpdated:function(){var a=this.option;a.type==="category"&&(this.__ordinalMeta=E.a.createByAxisModel(this))},getCategories:function(){if(this.option.type==="category")return this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:C.a.util.merge(C.a.util.clone(m.a[n+"Axis3D"]),r||{},!0)})}),o.superClass.registerSubTypeDefaulter(l+"Axis3D",C.a.util.curry(g,l))}},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},p=C.a.util.merge({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},m),E=C.a.util.merge({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},m),d=C.a.util.defaults({scale:!0,min:"dataMin",max:"dataMax"},E),l=C.a.util.defaults({logBase:10},E);l.scale=!0,P.a={categoryAxis3D:p,valueAxis3D:E,timeAxis3D:d,logAxis3D:l}},function(k,P,_){var N=_(12),C=N.createHashMap,m=N.isObject,p=N.map;function E(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}E.createByAxisModel=function(r){var n=r.option,a=n.data,c=a&&p(a,o);return new E({categories:c,needCollect:!c,deduplication:n.dedplication!==!1})};var d=E.prototype;d.getOrdinal=function(r){return l(this).get(r)},d.parseAndCollect=function(r){var n,a=this._needCollect;if(typeof r!="string"&&!a)return r;if(a&&!this._deduplication)return n=this.categories.length,this.categories[n]=r,n;var c=l(this);return n=c.get(r),n==null&&(a?(n=this.categories.length,this.categories[n]=r,c.set(r,n)):n=NaN),n};function l(r){return r._map||(r._map=C(r.categories))}function o(r){return m(r)&&r.value!=null?r.value:r+""}var g=E;k.exports=g},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(38),p=_(31),E=_(32),d=C.a.extendComponentModel({type:"grid3D",dependencies:["xAxis3D","yAxis3D","zAxis3D"],defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",boxWidth:100,boxHeight:100,boxDepth:100,axisPointer:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.8)",width:1},label:{show:!0,formatter:null,margin:8,textStyle:{fontSize:14,color:"#fff",backgroundColor:"rgba(0,0,0,0.5)",padding:3,borderRadius:3}}},axisLine:{show:!0,lineStyle:{color:"#333",width:2,type:"solid"}},axisTick:{show:!0,inside:!1,length:3,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},light:{main:{alpha:30,beta:40},ambient:{intensity:.4}},viewControl:{alpha:20,beta:40,autoRotate:!1,distance:200,minDistance:40,maxDistance:400}}});C.a.util.merge(d.prototype,m.a),C.a.util.merge(d.prototype,p.a),C.a.util.merge(d.prototype,E.a);var l=d},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(39),E=_(22),d=_(3),l=_(73),o=_(34),g=_(140),r=_(142),n=_(58),a=_(40),c=d.a.firstNotNull;m.a.Shader.import(a.a),["x","y","z"].forEach(function(v){C.a.extendComponentView({type:v+"Axis3D"})});var u={x:0,y:2,z:1},s=C.a.extendComponentView({type:"grid3D",__ecgl__:!0,init:function(v,e){var t=[["y","z","x",-1,"left"],["y","z","x",1,"right"],["x","y","z",-1,"bottom"],["x","y","z",1,"top"],["x","z","y",-1,"far"],["x","z","y",1,"near"]],i=["x","y","z"],f=new m.a.Material({shader:m.a.createShader("ecgl.color"),depthMask:!1,transparent:!0}),y=new m.a.Material({shader:m.a.createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});f.define("fragment","DOUBLE_SIDED"),f.define("both","VERTEX_COLOR"),this.groupGL=new m.a.Node,this._control=new p.a({zr:e.getZr()}),this._control.init(),this._faces=t.map(function(x){var A=new g.a(x,y,f);return this.groupGL.add(A.rootNode),A},this),this._axes=i.map(function(x){var A=new r.a(x,y);return this.groupGL.add(A.rootNode),A},this);var b=e.getDevicePixelRatio();this._axisLabelSurface=new l.a({width:256,height:256,devicePixelRatio:b}),this._axisLabelSurface.onupdate=function(){e.getZr().refresh()},this._axisPointerLineMesh=new m.a.Mesh({geometry:new E.a({useNativeLine:!1}),material:y,castShadow:!1,ignorePicking:!0,renderOrder:3}),this.groupGL.add(this._axisPointerLineMesh),this._axisPointerLabelsSurface=new l.a({width:128,height:128,devicePixelRatio:b}),this._axisPointerLabelsMesh=new n.a({ignorePicking:!0,renderOrder:4,castShadow:!1}),this._axisPointerLabelsMesh.material.set("textureAtlas",this._axisPointerLabelsSurface.getTexture()),this.groupGL.add(this._axisPointerLabelsMesh),this._lightRoot=new m.a.Node,this._sceneHelper=new o.a,this._sceneHelper.initLight(this._lightRoot)},render:function(v,e,t){this._model=v,this._api=t;var i=v.coordinateSystem;i.viewGL.add(this._lightRoot),v.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var f=this._control;f.setViewGL(i.viewGL);var y=v.getModel("viewControl");f.setFromViewControlModel(y,0),this._axisLabelSurface.clear();var b=["x","y","z"].reduce(function(x,A){var w=i.getAxis(A),L=w.model;return x[A]=c(L.get("axisLabel.interval"),v.get("axisLabel.interval")),w.scale.type==="ordinal"&&(x[A]==null||x[A]=="auto")&&(x[A]=Math.floor(w.scale.getTicks().length/8)),x},{});f.off("update"),v.get("show")&&(this._faces.forEach(function(x){x.update(b,v,e,t)},this),this._axes.forEach(function(x){x.update(v,b,this._axisLabelSurface,t)},this)),f.on("update",this._onCameraChange.bind(this,v,t),this),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(v),i.viewGL.setPostEffect(v.getModel("postEffect"),t),i.viewGL.setTemporalSuperSampling(v.getModel("temporalSuperSampling")),this._initMouseHandler(v)},afterRender:function(v,e,t,i){var f=i.renderer;this._sceneHelper.updateAmbientCubemap(f,v,t),this._sceneHelper.updateSkybox(f,v,t)},showAxisPointer:function(v,e,t,i){this._doShowAxisPointer(),this._updateAxisPointer(i.value)},hideAxisPointer:function(v,e,t,i){this._doHideAxisPointer()},_initMouseHandler:function(v){var e=v.coordinateSystem,t=e.viewGL;v.get("show")&&v.get("axisPointer.show")?t.on("mousemove",this._updateAxisPointerOnMousePosition,this):t.off("mousemove",this._updateAxisPointerOnMousePosition)},_updateAxisPointerOnMousePosition:function(v){if(!v.target){for(var e=this._model,t=e.coordinateSystem,i=t.viewGL,f=i.castRay(v.offsetX,v.offsetY,new m.a.Ray),y,b=0;bi[1]?0:1,x=this._faces[t*2+b],A=this._faces[t*2+1-b];x.rootNode.invisible=!0,A.rootNode.invisible=!1}},_updateAxisLinePosition:function(){var v=this._model.coordinateSystem,e=v.getAxis("x"),t=v.getAxis("y"),i=v.getAxis("z"),f=i.getExtentMax(),y=i.getExtentMin(),b=e.getExtentMin(),x=e.getExtentMax(),A=t.getExtentMax(),w=t.getExtentMin(),L=this._axes[0].rootNode,M=this._axes[1].rootNode,D=this._axes[2].rootNode,B=this._faces,I=B[4].rootNode.invisible?w:A,U=B[2].rootNode.invisible?f:y,F=B[0].rootNode.invisible?b:x,K=B[2].rootNode.invisible?f:y,j=B[0].rootNode.invisible?x:b,X=B[4].rootNode.invisible?w:A;L.rotation.identity(),M.rotation.identity(),D.rotation.identity(),B[4].rootNode.invisible&&(this._axes[0].flipped=!0,L.rotation.rotateX(Math.PI)),B[0].rootNode.invisible&&(this._axes[1].flipped=!0,M.rotation.rotateZ(Math.PI)),B[4].rootNode.invisible&&(this._axes[2].flipped=!0,D.rotation.rotateY(Math.PI)),L.position.set(0,U,I),M.position.set(F,K,0),D.position.set(j,0,X),L.update(),M.update(),D.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var v=this._control.getCamera(),e=[new m.a.Vector4,new m.a.Vector4],t=new m.a.Vector4;this.groupGL.getWorldPosition(t),t.w=1,t.transformMat4(v.viewMatrix).transformMat4(v.projectionMatrix),t.x/=t.w,t.y/=t.w,this._axes.forEach(function(i){for(var f=i.axisLineCoords,y=i.labelsMesh.geometry,b=0;bt.y?"bottom":"top"):(D="middle",M=w>t.x?"left":"right"),i.setSpriteAlign(M,D,this._api)},this)},_doShowAxisPointer:function(){this._axisPointerLineMesh.invisible&&(this._axisPointerLineMesh.invisible=!1,this._axisPointerLabelsMesh.invisible=!1,this._api.getZr().refresh())},_doHideAxisPointer:function(){this._axisPointerLineMesh.invisible||(this._axisPointerLineMesh.invisible=!0,this._axisPointerLabelsMesh.invisible=!0,this._api.getZr().refresh())},_updateAxisPointer:function(v){var e=this._model.coordinateSystem,t=e.dataToPoint(v),i=this._axisPointerLineMesh,f=i.geometry,y=this._model.getModel("axisPointer"),b=this._api.getDevicePixelRatio();f.convertToDynamicArray(!0);function x(xe){return d.a.firstNotNull(xe.model.get("axisPointer.show"),y.get("show"))}function A(xe){var Ce=xe.model.getModel("axisPointer",y),De=Ce.getModel("lineStyle"),Ue=m.a.parseColor(De.get("color")),Me=c(De.get("width"),1),Je=c(De.get("opacity"),1);return Ue[3]*=Je,{color:Ue,lineWidth:Me}}for(var w=0;w0&&a.rotation.rotateY(Math.PI),c.normal.z=-s)}function n(a,c,u){this.rootNode=new m.a.Node;var s=new m.a.Mesh({geometry:new E.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:1}),v=new m.a.Mesh({geometry:new d.a,material:u,castShadow:!1,culling:!1,ignorePicking:!0,renderOrder:0});this.rootNode.add(v),this.rootNode.add(s),this.faceInfo=a,this.plane=new m.a.Plane,this.linesMesh=s,this.quadsMesh=v}n.prototype.update=function(a,c,u,s){var v=c.coordinateSystem,e=[v.getAxis(this.faceInfo[0]),v.getAxis(this.faceInfo[1])],t=this.linesMesh.geometry,i=this.quadsMesh.geometry;t.convertToDynamicArray(!0),i.convertToDynamicArray(!0),this._updateSplitLines(t,e,c,a,s),this._udpateSplitAreas(i,e,c,a,s),t.convertToTypedArray(),i.convertToTypedArray();var f=v.getAxis(this.faceInfo[2]);r(this.rootNode,this.plane,f,this.faceInfo[3])},n.prototype._updateSplitLines=function(a,c,u,s,v){var e=v.getDevicePixelRatio();c.forEach(function(t,i){var f=t.model,y=c[1-i].getExtent();if(!t.scale.isBlank()){var b=f.getModel("splitLine",u.getModel("splitLine"));if(b.get("show")){var x=b.getModel("lineStyle"),A=x.get("color"),w=o(x.get("opacity"),1),L=o(x.get("width"),1),M=b.get("interval");(M==null||M==="auto")&&(M=s[t.dim]),A=C.a.util.isArray(A)?A:[A];for(var D=t.getTicksCoords(),B=0,I=0;I65535?new Uint32Array(a*3):new Uint16Array(a*3))},getQuadVertexCount:function(){return 4},getQuadTriangleCount:function(){return 2},addQuad:function(){var g=l.create(),r=l.create(),n=l.create(),a=[0,3,1,3,2,1];return function(c,u){var s=this.attributes.position,v=this.attributes.normal,e=this.attributes.color;l.sub(g,c[1],c[0]),l.sub(r,c[2],c[1]),l.cross(n,g,r),l.normalize(n,n);for(var t=0;t<4;t++)s.set(this._vertexOffset+t,c[t]),e.set(this._vertexOffset+t,u),v.set(this._vertexOffset+t,n);for(var i=this._faceOffset*3,t=0;t<6;t++)this.indices[i+t]=a[t]+this._vertexOffset;this._vertexOffset+=4,this._faceOffset+=2}}()});m.a.util.defaults(o.prototype,p.a),P.a=o},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(22),E=_(3),d=_(58),l=_(74),o=E.a.firstNotNull,g={x:0,y:2,z:1};function r(a,c){var u=new m.a.Mesh({geometry:new p.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:2}),s=new d.a;s.material.depthMask=!1;var v=new m.a.Node;v.add(u),v.add(s),this.rootNode=v,this.dim=a,this.linesMesh=u,this.labelsMesh=s,this.axisLineCoords=null,this.labelElements=[]}var n={x:"y",y:"x",z:"y"};r.prototype.update=function(a,c,u,s){var v=a.coordinateSystem,e=v.getAxis(this.dim),t=c[this.dim],i=this.linesMesh.geometry,f=this.labelsMesh.geometry;i.convertToDynamicArray(!0),f.convertToDynamicArray(!0);var y=e.model,b=e.getExtent(),De=s.getDevicePixelRatio(),x=y.getModel("axisLine",a.getModel("axisLine")),A=y.getModel("axisTick",a.getModel("axisTick")),w=y.getModel("axisLabel",a.getModel("axisLabel")),L=x.get("lineStyle.color");if(x.get("show")){var M=x.getModel("lineStyle"),D=[0,0,0],B=[0,0,0],I=g[e.dim];D[I]=b[0],B[I]=b[1],this.axisLineCoords=[D,B];var U=m.a.parseColor(L),F=o(M.get("width"),1),K=o(M.get("opacity"),1);U[3]*=K,i.addLine(D,B,U,F*De)}if(A.get("show")){var j=A.getModel("lineStyle"),X=m.a.parseColor(o(j.get("color"),L)),F=o(j.get("width"),1);X[3]*=o(j.get("opacity"),1);var Y=e.getTicksCoords(),se=A.get("interval");(se==null||se==="auto")&&(se=t);for(var Q=A.get("length"),ve=0;ve65535?new Uint32Array(g*3):new Uint16Array(g*3))},setSpriteAlign:function(l,o,g,r,n){g==null&&(g="left"),r==null&&(r="top");var a,c,u,s;switch(n=n||0,g){case"left":a=n,u=o[0]+n;break;case"center":case"middle":a=-o[0]/2,u=o[0]/2;break;case"right":a=-o[0]-n,u=-n;break}switch(r){case"bottom":c=n,s=o[1]+n;break;case"middle":c=-o[1]/2,s=o[1]/2;break;case"top":c=-o[1]-n,s=-n;break}var v=l*4,e=this.attributes.offset;e.set(v,[a,s]),e.set(v+1,[u,s]),e.set(v+2,[u,c]),e.set(v+3,[a,c])},addSprite:function(l,o,g,r,n,a){var c=this._vertexOffset;this.setSprite(this._vertexOffset/4,l,o,g,r,n,a);for(var u=0;u1?"."+t[1]:""))}function E(t,i){return t=(t||"").toLowerCase().replace(/-(.)/g,function(f,y){return y.toUpperCase()}),i&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var d=N.normalizeCssArray;function l(t){return String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}var o=["a","b","c","d","e","f","g"],g=function(t,i){return"{"+t+(i==null?"":i)+"}"};function r(t,i,f){N.isArray(i)||(i=[i]);var y=i.length;if(!y)return"";for(var b=i[0].$vars||[],x=0;x':'':""}var c=function(t){return t<10?"0"+t:t};function u(t,i,f){(t==="week"||t==="month"||t==="quarter"||t==="half-year"||t==="year")&&(t=`MM-dd yyyy`);var y=m.parseDate(i),b=f?"UTC":"",x=y["get"+b+"FullYear"](),A=y["get"+b+"Month"]()+1,w=y["get"+b+"Date"](),L=y["get"+b+"Hours"](),M=y["get"+b+"Minutes"](),D=y["get"+b+"Seconds"]();return t=t.replace("MM",c(A)).replace("M",A).replace("yyyy",x).replace("yy",x%100).replace("dd",c(w)).replace("d",w).replace("hh",c(L)).replace("h",L).replace("mm",c(M)).replace("m",M).replace("ss",c(D)).replace("s",D),t}function s(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)}var v=C.truncateText,e=C.getBoundingRect;P.addCommas=p,P.toCamelCase=E,P.normalizeCssArray=d,P.encodeHTML=l,P.formatTpl=r,P.formatTplSimple=n,P.getTooltipMarker=a,P.formatTime=u,P.capitalFirst=s,P.truncateText=v,P.getTextRect=e},function(k,P,_){var N=_(75),C=_(151),m=_(12),p=m.getContext,E=m.extend,d=m.retrieve2,l=m.retrieve3,o={},g=0,r=5e3,n=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,a="12px sans-serif",c={};function u(F,K){c[F]=K}function s(F,K){K=K||a;var j=F+":"+K;if(o[j])return o[j];for(var X=(F+"").split(` `),Y=0,se=0,Q=X.length;ser&&(g=0,o={}),g++,o[j]=Y,Y}function v(F,K,j,X,Y,se,Q){return se?t(F,K,j,X,Y,se,Q):e(F,K,j,X,Y,Q)}function e(F,K,j,X,Y,se){var Q=D(F,K,Y,se),ve=s(F,K);Y&&(ve+=Y[1]+Y[3]);var xe=Q.outerHeight,Ce=i(0,ve,j),De=f(0,xe,X),Ue=new N(Ce,De,ve,xe);return Ue.lineHeight=Q.lineHeight,Ue}function t(F,K,j,X,Y,se,Q){var ve=B(F,{rich:se,truncate:Q,font:K,textAlign:j,textPadding:Y}),xe=ve.outerWidth,Ce=ve.outerHeight,De=i(0,xe,j),Ue=f(0,Ce,X);return new N(De,Ue,xe,Ce)}function i(F,K,j){return j==="right"?F-=K:j==="center"&&(F-=K/2),F}function f(F,K,j){return j==="middle"?F-=K/2:j==="bottom"&&(F-=K),F}function y(F,K,j){var X=K.x,Y=K.y,se=K.height,Q=K.width,ve=se/2,xe="left",Ce="top";switch(F){case"left":X-=j,Y+=ve,xe="right",Ce="middle";break;case"right":X+=j+Q,Y+=ve,Ce="middle";break;case"top":X+=Q/2,Y-=j,xe="center",Ce="bottom";break;case"bottom":X+=Q/2,Y+=se+j,xe="center";break;case"inside":X+=Q/2,Y+=ve,xe="center",Ce="middle";break;case"insideLeft":X+=j,Y+=ve,Ce="middle";break;case"insideRight":X+=Q-j,Y+=ve,xe="right",Ce="middle";break;case"insideTop":X+=Q/2,Y+=j,xe="center";break;case"insideBottom":X+=Q/2,Y+=se-j,xe="center",Ce="bottom";break;case"insideTopLeft":X+=j,Y+=j;break;case"insideTopRight":X+=Q-j,Y+=j,xe="right";break;case"insideBottomLeft":X+=j,Y+=se-j,Ce="bottom";break;case"insideBottomRight":X+=Q-j,Y+=se-j,xe="right",Ce="bottom";break}return{x:X,y:Y,textAlign:xe,textVerticalAlign:Ce}}function b(F,K,j,X,Y){if(!K)return"";var se=(F+"").split(` `);Y=x(K,j,X,Y);for(var Q=0,ve=se.length;Q=Q;xe++)ve-=Q;var Ce=s(Y);return Ce>ve&&(Y="",Ce=0),ve=F-Ce,X.ellipsis=Y,X.ellipsisWidth=Ce,X.contentWidth=ve,X.containerWidth=F,X}function A(F,K){var j=K.containerWidth,X=K.font,Y=K.contentWidth;if(!j)return"";var se=s(F,X);if(se<=j)return F;for(var Q=0;;Q++){if(se<=Y||Q>=K.maxIterations){F+=K.ellipsis;break}var ve=Q===0?w(F,Y,K.ascCharWidth,K.cnCharWidth):se>0?Math.floor(F.length*Y/se):0;F=F.substr(0,ve),se=s(F,X)}return F===""&&(F=K.placeholder),F}function w(F,K,j,X){for(var Y=0,se=0,Q=F.length;sexe)F="",se=[];else if(Ce!=null)for(var De=x(Ce-(j?j[1]+j[3]:0),K,X.ellipsis,{minChar:X.minChar,placeholder:X.placeholder}),Ue=0,Me=se.length;UeX&&I(j,F.substring(X,se)),I(j,Y[2],Y[1]),X=n.lastIndex}XJe)return{lines:[],width:0,height:0};We.textWidth=s(We.text,$);var ee=Ne.textWidth,oe=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")We.percentWidth=ee,Ce.push(We),ee=0;else{if(oe){ee=We.textWidth;var q=Ne.textBackgroundColor,fe=q&&q.image;fe&&(fe=C.findExistImage(fe),C.isImageReady(fe)&&(ee=Math.max(ee,fe.width*re/fe.height)))}var be=V?V[1]+V[3]:0;ee+=be;var te=Me!=null?Me-Fe:null;te!=null&&te4){console.warn("Support at most 4 cascade");continue}Je.shadowCascade>1&&(Ue=Je.shadowCascade),this.renderDirectionalLightShadow(U,F,K,Je,this._opaqueCasters,Ce,xe,ve)}else Je instanceof n.a?this.renderSpotLightShadow(U,F,Je,this._opaqueCasters,Q,se):Je instanceof c.a&&this.renderPointLightShadow(U,F,Je,this._opaqueCasters,De);this._shadowMapNumber[Je.type]++}for(var Re in this._shadowMapNumber)for(var ge=this._shadowMapNumber[Re],Ve=Re+"_SHADOWMAP_COUNT",Me=0;Me0?Te.define("fragment",Ve,ge):Te.isDefined("fragment",Ve)&&Te.undefine("fragment",Ve))}for(var Me=0;Me0){var V=ve.map(Ne);if(We.directionalLightShadowMaps={value:ve,type:"tv"},We.directionalLightMatrices={value:xe,type:"m4v"},We.directionalLightShadowMapSizes={value:V,type:"1fv"},Ue){var $=Ce.slice(),re=Ce.slice();$.pop(),re.shift(),$.reverse(),re.reverse(),xe.reverse(),We.shadowCascadeClipsNear={value:$,type:"1fv"},We.shadowCascadeClipsFar={value:re,type:"1fv"}}}if(se.length>0){var ee=se.map(Ne),We=F.shadowUniforms;We.spotLightShadowMaps={value:se,type:"tv"},We.spotLightMatrices={value:Q,type:"m4v"},We.spotLightShadowMapSizes={value:ee,type:"1fv"}}De.length>0&&(We.pointLightShadowMaps={value:De,type:"tv"})},renderDirectionalLightShadow:function(){var U=new E.a,F=new d.a,K=new p.a,j=new d.a,X=new d.a,Y=new d.a,se=new d.a;return function(Q,ve,xe,Ce,De,Ue,Me,Je){var Re=this._getDepthMaterial(Ce),ge={getMaterial:function(Oe){return Oe.shadowDepthMaterial||Re},sortCompare:l.a.opaqueSortCompare};if(!ve.viewBoundingBoxLastFrame.isFinite()){var Ve=ve.getBoundingBox();ve.viewBoundingBoxLastFrame.copy(Ve).applyTransform(xe.viewMatrix)}var Fe=Math.min(-ve.viewBoundingBoxLastFrame.min.z,xe.far),Te=Math.max(-ve.viewBoundingBoxLastFrame.max.z,xe.near),We=this._getDirectionalLightCamera(Ce,ve,xe),Ne=Y.array;se.copy(We.projectionMatrix),M.invert(X.array,We.worldTransform.array),M.multiply(X.array,X.array,xe.worldTransform.array),M.multiply(Ne,se.array,X.array);for(var V=[],$=xe instanceof f.a,re=(xe.near+xe.far)/(xe.near-xe.far),ee=2*xe.near*xe.far/(xe.near-xe.far),oe=0;oe<=Ce.shadowCascade;oe++){var q=Te*Math.pow(Fe/Te,oe/Ce.shadowCascade),fe=Te+(Fe-Te)*oe/Ce.shadowCascade,be=q*Ce.cascadeSplitLogFactor+fe*(1-Ce.cascadeSplitLogFactor);V.push(be),Ue.push(-(-be*re+ee)/-be)}var te=this._getTexture(Ce,Ce.shadowCascade);Je.push(te);var ce=Q.viewport,lt=Q.gl;this._frameBuffer.attach(te),this._frameBuffer.bind(Q),lt.clear(lt.COLOR_BUFFER_BIT|lt.DEPTH_BUFFER_BIT);for(var oe=0;oe= shadowCascadeClipsNear[_idx_] && depth <= shadowCascadeClipsFar[_idx_] ) { shadowContrib = computeShadowContrib( directionalLightShadowMaps[0], directionalLightMatrices[_idx_], position, directionalLightShadowMapSizes[0], vec2(1.0 / float(SHADOW_CASCADE), 1.0), vec2(float(_idx_) / float(SHADOW_CASCADE), 0.0) ); shadowContribs[0] = shadowContrib; } }} for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #else void computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){ float shadowContrib; for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_++) {{ shadowContrib = computeShadowContrib( directionalLightShadowMaps[_idx_], directionalLightMatrices[_idx_], position, directionalLightShadowMapSizes[_idx_] ); shadowContribs[_idx_] = shadowContrib; }} for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #endif #endif #if defined(POINT_LIGHT_SHADOWMAP_COUNT) void computeShadowOfPointLights(vec3 position, inout float shadowContribs[POINT_LIGHT_COUNT] ){ vec3 lightPosition; vec3 direction; for(int _idx_ = 0; _idx_ < POINT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{ lightPosition = pointLightPosition[_idx_]; direction = position - lightPosition; shadowContribs[_idx_] = computeShadowContribOmni(pointLightShadowMaps[_idx_], direction, pointLightRange[_idx_]); }} for(int _idx_ = POINT_LIGHT_SHADOWMAP_COUNT; _idx_ < POINT_LIGHT_COUNT; _idx_++) {{ shadowContribs[_idx_] = 1.0; }} } #endif #endif @end`},function(k,P,_){"use strict";var N=_(7),C=_(5),m=_(6),p=_(10),E=_(156),d=_(162),l=_(164),o=_(166),g=_(2),r=_(167),n=_(169),a=_(9),c=_(170),u=_(171),s=_(172),v=_(173),e=_(174),t=_(175),i=_(176),f=_(177),y=_(178),b=_(179),x=_(180),A=_(181);N.a.import(u.a),N.a.import(s.a),N.a.import(v.a),N.a.import(e.a),N.a.import(t.a),N.a.import(i.a),N.a.import(f.a),N.a.import(y.a),N.a.import(b.a),N.a.import(x.a),N.a.import(A.a);var w={color:{parameters:{width:function(D){return D.getWidth()},height:function(D){return D.getHeight()}}}},L=["composite","FXAA"];function M(){this._sourceTexture=new C.a({type:m.a.HALF_FLOAT}),this._depthTexture=new C.a({format:m.a.DEPTH_COMPONENT,type:m.a.UNSIGNED_INT}),this._framebuffer=new p.a,this._framebuffer.attach(this._sourceTexture),this._framebuffer.attach(this._depthTexture,p.a.DEPTH_ATTACHMENT),this._normalPass=new r.a,this._compositor=Object(E.a)(c.a);var D=this._compositor.getNodeByName("source");D.texture=this._sourceTexture;var B=this._compositor.getNodeByName("coc");this._sourceNode=D,this._cocNode=B,this._compositeNode=this._compositor.getNodeByName("composite"),this._fxaaNode=this._compositor.getNodeByName("FXAA"),this._dofBlurNodes=["dof_far_blur","dof_near_blur","dof_coc_blur"].map(function(U){return this._compositor.getNodeByName(U)},this),this._dofBlurKernel=0,this._dofBlurKernelSize=new Float32Array(0),this._finalNodesChain=L.map(function(U){return this._compositor.getNodeByName(U)},this);var I={normalTexture:this._normalPass.getNormalTexture(),depthTexture:this._normalPass.getDepthTexture()};this._ssaoPass=new d.a(I),this._ssrPass=new l.a(I),this._edgePass=new n.a(I)}M.prototype.resize=function(U,F,I){I=I||1;var U=U*I,F=F*I,K=this._sourceTexture,j=this._depthTexture;K.width=U,K.height=F,j.width=U,j.height=F},M.prototype._ifRenderNormalPass=function(){return this._enableSSAO||this._enableEdge||this._enableSSR},M.prototype._getPrevNode=function(D){for(var B=L.indexOf(D.name)-1,I=this._finalNodesChain[B];I&&!this._compositor.getNodeByName(I.name);)B-=1,I=this._finalNodesChain[B];return I},M.prototype._getNextNode=function(D){for(var B=L.indexOf(D.name)+1,I=this._finalNodesChain[B];I&&!this._compositor.getNodeByName(I.name);)B+=1,I=this._finalNodesChain[B];return I},M.prototype._addChainNode=function(D){var B=this._getPrevNode(D),I=this._getNextNode(D);B&&(B.outputs=w,D.inputs.texture=B.name,I?(D.outputs=w,I.inputs.texture=D.name):D.outputs=null,this._compositor.addNode(D))},M.prototype._removeChainNode=function(D){var B=this._getPrevNode(D),I=this._getNextNode(D);B&&(I?(B.outputs=w,I.inputs.texture=B.name):B.outputs=null,this._compositor.removeNode(D))},M.prototype.updateNormal=function(D,B,I,U){this._ifRenderNormalPass()&&this._normalPass.update(D,B,I)},M.prototype.updateSSAO=function(D,B,I,U){this._ssaoPass.update(D,I,U)},M.prototype.enableSSAO=function(){this._enableSSAO=!0},M.prototype.disableSSAO=function(){this._enableSSAO=!1},M.prototype.enableSSR=function(){this._enableSSR=!0},M.prototype.disableSSR=function(){this._enableSSR=!1},M.prototype.getSSAOTexture=function(D,B,I,U){return this._ssaoPass.getTargetTexture()},M.prototype.getSourceFrameBuffer=function(){return this._framebuffer},M.prototype.getSourceTexture=function(){return this._sourceTexture},M.prototype.disableFXAA=function(){this._removeChainNode(this._fxaaNode)},M.prototype.enableFXAA=function(){this._addChainNode(this._fxaaNode)},M.prototype.enableBloom=function(){this._compositeNode.inputs.bloom="bloom_composite",this._compositor.dirty()},M.prototype.disableBloom=function(){this._compositeNode.inputs.bloom=null,this._compositor.dirty()},M.prototype.enableDOF=function(){this._compositeNode.inputs.texture="dof_composite",this._compositor.dirty()},M.prototype.disableDOF=function(){this._compositeNode.inputs.texture="source",this._compositor.dirty()},M.prototype.enableColorCorrection=function(){this._compositeNode.define("COLOR_CORRECTION"),this._enableColorCorrection=!0},M.prototype.disableColorCorrection=function(){this._compositeNode.undefine("COLOR_CORRECTION"),this._enableColorCorrection=!1},M.prototype.enableEdge=function(){this._enableEdge=!0},M.prototype.disableEdge=function(){this._enableEdge=!1},M.prototype.setBloomIntensity=function(D){this._compositeNode.setParameter("bloomIntensity",D)},M.prototype.setSSAOParameter=function(D,B){switch(D){case"quality":var I={low:6,medium:12,high:32,ultra:62}[B]||12;this._ssaoPass.setParameter("kernelSize",I);break;case"radius":this._ssaoPass.setParameter(D,B),this._ssaoPass.setParameter("bias",B/200);break;case"intensity":this._ssaoPass.setParameter(D,B);break;default:console.warn("Unkown SSAO parameter "+D)}},M.prototype.setDOFParameter=function(D,B){switch(D){case"focalDistance":case"focalRange":case"fstop":this._cocNode.setParameter(D,B);break;case"blurRadius":for(var I=0;I=0||(this.nodes.push(p),this._dirty=!0)},removeNode:function(p){typeof p=="string"&&(p=this.getNodeByName(p));var E=this.nodes.indexOf(p);E>=0&&(this.nodes.splice(E,1),this._dirty=!0)},getNodeByName:function(p){for(var E=0;E=d.COLOR_ATTACHMENT0&&c<=d.COLOR_ATTACHMENT0+8&&s.push(c);u.drawBuffersEXT(s)}E.saveClear(),E.clearBit=C.a.DEPTH_BUFFER_BIT|C.a.COLOR_BUFFER_BIT,l=E.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ),E.restoreClear(),o.unbind(E)}this.trigger("afterrender",l),this._rendering=!1,this._rendered=!0}});P.a=p},function(k,P,_){"use strict";var N=_(42),C=N.a.extend(function(){return{texture:null,outputs:{color:{}}}},function(){},{getOutput:function(m,p){return this.texture},beforeFrame:function(){},afterFrame:function(){}});P.a=C},function(k,P,_){"use strict";var N=_(14),C=_(42),m=C.a.extend(function(){return{name:"",inputs:{},outputs:null,shader:"",inputLinks:{},outputLinks:{},pass:null,_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}},function(){var p=new N.a({fragment:this.shader});this.pass=p},{render:function(p,E){this.trigger("beforerender",p),this._rendering=!0;var d=p.gl;for(var l in this.inputLinks){var o=this.inputLinks[l],g=o.node.getOutput(p,o.pin);this.pass.setUniform(l,g)}if(!this.outputs)this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(p),this.pass.render(p,E);else{this.pass.outputs={};var r={};for(var n in this.outputs){var a=this.updateParameter(n,p);isNaN(a.width)&&this.updateParameter(n,p);var c=this.outputs[n],u=this._compositor.allocateTexture(a);this._outputTextures[n]=u;var s=c.attachment||d.COLOR_ATTACHMENT0;typeof s=="string"&&(s=d[s]),r[s]=u}this._compositor.getFrameBuffer().bind(p);for(var s in r)this._compositor.getFrameBuffer().attach(r[s],s);this.pass.render(p),this._compositor.getFrameBuffer().updateMipmap(p.gl)}for(var l in this.inputLinks){var o=this.inputLinks[l];o.node.removeReference(o.pin)}this._rendering=!1,this._rendered=!0,this.trigger("afterrender",p)},updateParameter:function(p,E){var d=this.outputs[p],l=d.parameters,o=d._parametersCopy;if(o||(o=d._parametersCopy={}),l)for(var g in l)g!=="width"&&g!=="height"&&(o[g]=l[g]);var r,n;return l.width instanceof Function?r=l.width.call(this,E):r=l.width,l.height instanceof Function?n=l.height.call(this,E):n=l.height,(o.width!==r||o.height!==n)&&this._outputTextures[p]&&this._outputTextures[p].dispose(E),o.width=r,o.height=n,o},setParameter:function(p,E){this.pass.setUniform(p,E)},getParameter:function(p){return this.pass.getUniform(p)},setParameters:function(p){for(var E in p)this.setParameter(E,p[E])},define:function(p,E){this.pass.material.define("fragment",p,E)},undefine:function(p){this.pass.material.undefine("fragment",p)},removeReference:function(p){if(this._outputReferences[p]--,this._outputReferences[p]===0){var E=this.outputs[p];E.keepLastFrame?(this._prevOutputTextures[p]&&this._compositor.releaseTexture(this._prevOutputTextures[p]),this._prevOutputTextures[p]=this._outputTextures[p]):this._compositor.releaseTexture(this._outputTextures[p])}},clear:function(){C.a.prototype.clear.call(this),this.pass.material.disableTexturesAll()}});P.a=m},function(k,P,_){"use strict";var N=_(9),C=_(4),m=_(5),p=_(6),E=_(14),d=_(7),l=_(10),o=_(43),g=_(163);d.a.import(g.a);function r(u){for(var s=new Uint8Array(u*u*4),v=0,e=new C.a,t=0;t 0.99999) { gl_FragColor = vec4(1.0); return; } mat3 kernelBasis; #endif float z = depthTexel.r * 2.0 - 1.0; vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0); vec4 p4 = projectionInv * projectedPos; vec3 position = p4.xyz / p4.w; float ao = ssaoEstimator(position, kernelBasis); ao = clamp(1.0 - (1.0 - ao) * intensity, 0.0, 1.0); gl_FragColor = vec4(vec3(ao), 1.0); } @end @export ecgl.ssao.blur #define SHADER_NAME SSAO_BLUR uniform sampler2D ssaoTexture; #ifdef NORMALTEX_ENABLED uniform sampler2D normalTex; #endif varying vec2 v_Texcoord; uniform vec2 textureSize; uniform float blurSize : 1.0; uniform int direction: 0.0; #ifdef DEPTHTEX_ENABLED uniform sampler2D depthTex; uniform mat4 projection; uniform float depthRange : 0.5; float getLinearDepth(vec2 coord) { float depth = texture2D(depthTex, coord).r * 2.0 - 1.0; return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } #endif void main() { float kernel[5]; kernel[0] = 0.122581; kernel[1] = 0.233062; kernel[2] = 0.288713; kernel[3] = 0.233062; kernel[4] = 0.122581; vec2 off = vec2(0.0); if (direction == 0) { off[0] = blurSize / textureSize.x; } else { off[1] = blurSize / textureSize.y; } vec2 coord = v_Texcoord; float sum = 0.0; float weightAll = 0.0; #ifdef NORMALTEX_ENABLED vec3 centerNormal = texture2D(normalTex, v_Texcoord).rgb * 2.0 - 1.0; #endif #if defined(DEPTHTEX_ENABLED) float centerDepth = getLinearDepth(v_Texcoord); #endif for (int i = 0; i < 5; i++) { vec2 coord = clamp(v_Texcoord + vec2(float(i) - 2.0) * off, vec2(0.0), vec2(1.0)); float w = kernel[i]; #ifdef NORMALTEX_ENABLED vec3 normal = texture2D(normalTex, coord).rgb * 2.0 - 1.0; w *= clamp(dot(normal, centerNormal), 0.0, 1.0); #endif #ifdef DEPTHTEX_ENABLED float d = getLinearDepth(coord); w *= (1.0 - smoothstep(abs(centerDepth - d) / depthRange, 0.0, 1.0)); #endif weightAll += w; sum += texture2D(ssaoTexture, coord).r * w; } gl_FragColor = vec4(vec3(sum / weightAll), 1.0); } @end `},function(k,P,_){"use strict";var N=_(9),C=_(4),m=_(5),p=_(6),E=_(14),d=_(7),l=_(10),o=_(43),g=_(165);d.a.import(g.a);function r(n){n=n||{},this._ssrPass=new E.a({fragment:d.a.source("ecgl.ssr.main"),clearColor:[0,0,0,0]}),this._blurPass1=new E.a({fragment:d.a.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blurPass2=new E.a({fragment:d.a.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._ssrPass.setUniform("gBufferTexture1",n.normalTexture),this._ssrPass.setUniform("gBufferTexture2",n.depthTexture),this._blurPass1.setUniform("gBufferTexture1",n.normalTexture),this._blurPass1.setUniform("gBufferTexture2",n.depthTexture),this._blurPass2.setUniform("gBufferTexture1",n.normalTexture),this._blurPass2.setUniform("gBufferTexture2",n.depthTexture),this._blurPass2.material.define("fragment","VERTICAL"),this._blurPass2.material.define("fragment","BLEND"),this._texture1=new m.a({type:p.a.HALF_FLOAT}),this._texture2=new m.a({type:p.a.HALF_FLOAT}),this._texture3=new m.a({type:p.a.HALF_FLOAT}),this._frameBuffer=new l.a({depthBuffer:!1})}r.prototype.update=function(n,a,c,u){var s=n.getWidth(),v=n.getHeight(),e=n.getDevicePixelRatio(),t=this._texture1,i=this._texture2,f=this._texture3;i.width=s/2,i.height=v/2,t.width=s,t.height=v,f.width=s*e,f.height=v*e;var y=this._frameBuffer,b=this._ssrPass,x=this._blurPass1,A=this._blurPass2,w=new N.a;N.a.transpose(w,a.worldTransform),b.setUniform("sourceTexture",c),b.setUniform("projection",a.projectionMatrix.array),b.setUniform("projectionInv",a.invProjectionMatrix.array),b.setUniform("viewInverseTranspose",w.array),b.setUniform("nearZ",a.near),b.setUniform("jitterOffset",u/30),x.setUniform("textureSize",[s/2,v/2]),A.setUniform("textureSize",[s,v]),A.setUniform("sourceTexture",c),x.setUniform("projection",a.projectionMatrix.array),A.setUniform("projection",a.projectionMatrix.array),y.attach(t),y.bind(n),b.render(n),y.attach(i),x.setUniform("texture",t),x.render(n),y.attach(f),A.setUniform("texture",i),A.render(n),y.unbind(n)},r.prototype.getTargetTexture=function(){return this._texture3},r.prototype.setParameter=function(n,a){n==="maxIteration"?this._ssrPass.material.define("fragment","MAX_ITERATION",a):this._ssrPass.setUniform(n,a)},r.prototype.setSSAOTexture=function(n){var a=this._blurPass2;n?(a.material.enableTexture("ssaoTex"),a.material.set("ssaoTex",n)):a.material.disableTexture("ssaoTex")},r.prototype.dispose=function(n){this._texture1.dispose(n),this._texture2.dispose(n),this._texture3.dispose(n),this._frameBuffer.dispose(n)},P.a=r},function(k,P,_){"use strict";P.a=`@export ecgl.ssr.main #define MAX_ITERATION 20; uniform sampler2D sourceTexture; uniform sampler2D gBufferTexture1; uniform sampler2D gBufferTexture2; uniform mat4 projection; uniform mat4 projectionInv; uniform mat4 viewInverseTranspose; uniform float maxRayDistance: 50; uniform float pixelStride: 16; uniform float pixelStrideZCutoff: 50; uniform float screenEdgeFadeStart: 0.9; uniform float eyeFadeStart : 0.2; uniform float eyeFadeEnd: 0.8; uniform float minGlossiness: 0.2; uniform float zThicknessThreshold: 10; uniform float nearZ; uniform vec2 viewportSize : VIEWPORT_SIZE; uniform float jitterOffset: 0; varying vec2 v_Texcoord; #ifdef DEPTH_DECODE @import clay.util.decode_float #endif float fetchDepth(sampler2D depthTexture, vec2 uv) { vec4 depthTexel = texture2D(depthTexture, uv); return depthTexel.r * 2.0 - 1.0; } float linearDepth(float depth) { if (projection[3][3] == 0.0) { return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } else { return (depth - projection[3][2]) / projection[2][2]; } } bool rayIntersectDepth(float rayZNear, float rayZFar, vec2 hitPixel) { if (rayZFar > rayZNear) { float t = rayZFar; rayZFar = rayZNear; rayZNear = t; } float cameraZ = linearDepth(fetchDepth(gBufferTexture2, hitPixel)); return rayZFar <= cameraZ && rayZNear >= cameraZ - zThicknessThreshold; } bool traceScreenSpaceRay( vec3 rayOrigin, vec3 rayDir, float jitter, out vec2 hitPixel, out vec3 hitPoint, out float iterationCount ) { float rayLength = ((rayOrigin.z + rayDir.z * maxRayDistance) > -nearZ) ? (-nearZ - rayOrigin.z) / rayDir.z : maxRayDistance; vec3 rayEnd = rayOrigin + rayDir * rayLength; vec4 H0 = projection * vec4(rayOrigin, 1.0); vec4 H1 = projection * vec4(rayEnd, 1.0); float k0 = 1.0 / H0.w, k1 = 1.0 / H1.w; vec3 Q0 = rayOrigin * k0, Q1 = rayEnd * k1; vec2 P0 = (H0.xy * k0 * 0.5 + 0.5) * viewportSize; vec2 P1 = (H1.xy * k1 * 0.5 + 0.5) * viewportSize; P1 += dot(P1 - P0, P1 - P0) < 0.0001 ? 0.01 : 0.0; vec2 delta = P1 - P0; bool permute = false; if (abs(delta.x) < abs(delta.y)) { permute = true; delta = delta.yx; P0 = P0.yx; P1 = P1.yx; } float stepDir = sign(delta.x); float invdx = stepDir / delta.x; vec3 dQ = (Q1 - Q0) * invdx; float dk = (k1 - k0) * invdx; vec2 dP = vec2(stepDir, delta.y * invdx); float strideScaler = 1.0 - min(1.0, -rayOrigin.z / pixelStrideZCutoff); float pixStride = 1.0 + strideScaler * pixelStride; dP *= pixStride; dQ *= pixStride; dk *= pixStride; vec4 pqk = vec4(P0, Q0.z, k0); vec4 dPQK = vec4(dP, dQ.z, dk); pqk += dPQK * jitter; float rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w); float rayZNear; bool intersect = false; vec2 texelSize = 1.0 / viewportSize; iterationCount = 0.0; for (int i = 0; i < MAX_ITERATION; i++) { pqk += dPQK; rayZNear = rayZFar; rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w); hitPixel = permute ? pqk.yx : pqk.xy; hitPixel *= texelSize; intersect = rayIntersectDepth(rayZNear, rayZFar, hitPixel); iterationCount += 1.0; if (intersect) { break; } } Q0.xy += dQ.xy * iterationCount; Q0.z = pqk.z; hitPoint = Q0 / pqk.w; return intersect; } float calculateAlpha( float iterationCount, float reflectivity, vec2 hitPixel, vec3 hitPoint, float dist, vec3 rayDir ) { float alpha = clamp(reflectivity, 0.0, 1.0); alpha *= 1.0 - (iterationCount / float(MAX_ITERATION)); vec2 hitPixelNDC = hitPixel * 2.0 - 1.0; float maxDimension = min(1.0, max(abs(hitPixelNDC.x), abs(hitPixelNDC.y))); alpha *= 1.0 - max(0.0, maxDimension - screenEdgeFadeStart) / (1.0 - screenEdgeFadeStart); float _eyeFadeStart = eyeFadeStart; float _eyeFadeEnd = eyeFadeEnd; if (_eyeFadeStart > _eyeFadeEnd) { float tmp = _eyeFadeEnd; _eyeFadeEnd = _eyeFadeStart; _eyeFadeStart = tmp; } float eyeDir = clamp(rayDir.z, _eyeFadeStart, _eyeFadeEnd); alpha *= 1.0 - (eyeDir - _eyeFadeStart) / (_eyeFadeEnd - _eyeFadeStart); alpha *= 1.0 - clamp(dist / maxRayDistance, 0.0, 1.0); return alpha; } @import clay.util.rand @import clay.util.rgbm void main() { vec4 normalAndGloss = texture2D(gBufferTexture1, v_Texcoord); if (dot(normalAndGloss.rgb, vec3(1.0)) == 0.0) { discard; } float g = normalAndGloss.a; if (g <= minGlossiness) { discard; } float reflectivity = (g - minGlossiness) / (1.0 - minGlossiness); vec3 N = normalAndGloss.rgb * 2.0 - 1.0; N = normalize((viewInverseTranspose * vec4(N, 0.0)).xyz); vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, fetchDepth(gBufferTexture2, v_Texcoord), 1.0); vec4 pos = projectionInv * projectedPos; vec3 rayOrigin = pos.xyz / pos.w; vec3 rayDir = normalize(reflect(normalize(rayOrigin), N)); vec2 hitPixel; vec3 hitPoint; float iterationCount; vec2 uv2 = v_Texcoord * viewportSize; float jitter = rand(fract(v_Texcoord + jitterOffset)); bool intersect = traceScreenSpaceRay(rayOrigin, rayDir, jitter, hitPixel, hitPoint, iterationCount); float dist = distance(rayOrigin, hitPoint); float alpha = calculateAlpha(iterationCount, reflectivity, hitPixel, hitPoint, dist, rayDir) * float(intersect); vec3 hitNormal = texture2D(gBufferTexture1, hitPixel).rgb * 2.0 - 1.0; hitNormal = normalize((viewInverseTranspose * vec4(hitNormal, 0.0)).xyz); if (dot(hitNormal, rayDir) >= 0.0) { discard; } if (!intersect) { discard; } vec4 color = decodeHDR(texture2D(sourceTexture, hitPixel)); gl_FragColor = encodeHDR(vec4(color.rgb * alpha, color.a)); } @end @export ecgl.ssr.blur uniform sampler2D texture; uniform sampler2D gBufferTexture1; uniform sampler2D gBufferTexture2; uniform mat4 projection; uniform float depthRange : 0.05; varying vec2 v_Texcoord; uniform vec2 textureSize; uniform float blurSize : 4.0; #ifdef BLEND #ifdef SSAOTEX_ENABLED uniform sampler2D ssaoTex; #endif uniform sampler2D sourceTexture; #endif float getLinearDepth(vec2 coord) { float depth = texture2D(gBufferTexture2, coord).r * 2.0 - 1.0; return projection[3][2] / (depth * projection[2][3] - projection[2][2]); } @import clay.util.rgbm void main() { @import clay.compositor.kernel.gaussian_9 vec4 centerNTexel = texture2D(gBufferTexture1, v_Texcoord); float g = centerNTexel.a; float maxBlurSize = clamp(1.0 - g + 0.1, 0.0, 1.0) * blurSize; #ifdef VERTICAL vec2 off = vec2(0.0, maxBlurSize / textureSize.y); #else vec2 off = vec2(maxBlurSize / textureSize.x, 0.0); #endif vec2 coord = v_Texcoord; vec4 sum = vec4(0.0); float weightAll = 0.0; vec3 cN = centerNTexel.rgb * 2.0 - 1.0; float cD = getLinearDepth(v_Texcoord); for (int i = 0; i < 9; i++) { vec2 coord = clamp((float(i) - 4.0) * off + v_Texcoord, vec2(0.0), vec2(1.0)); float w = gaussianKernel[i] * clamp(dot(cN, texture2D(gBufferTexture1, coord).rgb * 2.0 - 1.0), 0.0, 1.0); float d = getLinearDepth(coord); w *= (1.0 - smoothstep(abs(cD - d) / depthRange, 0.0, 1.0)); weightAll += w; sum += decodeHDR(texture2D(texture, coord)) * w; } #ifdef BLEND float aoFactor = 1.0; #ifdef SSAOTEX_ENABLED aoFactor = texture2D(ssaoTex, v_Texcoord).r; #endif gl_FragColor = encodeHDR( sum / weightAll * aoFactor + decodeHDR(texture2D(sourceTexture, v_Texcoord)) ); #else gl_FragColor = encodeHDR(sum / weightAll); #endif } @end`},function(k,P,_){"use strict";P.a=[0,0,-.321585265978,-.154972575841,.458126042375,.188473391593,.842080129861,.527766490688,.147304551086,-.659453822776,-.331943915203,-.940619700594,.0479226680259,.54812163202,.701581552186,-.709825561388,-.295436780218,.940589268233,-.901489676764,.237713156085,.973570876096,-.109899459384,-.866792314779,-.451805525005,.330975007087,.800048655954,-.344275183665,.381779221166,-.386139432542,-.437418421534,-.576478634965,-.0148463392551,.385798197415,-.262426961053,-.666302061145,.682427250835,-.628010632582,-.732836215494,.10163141741,-.987658134403,.711995289051,-.320024291314,.0296005138058,.950296523438,.0130612307608,-.351024443122,-.879596633704,-.10478487883,.435712737232,.504254490347,.779203817497,.206477676721,.388264289969,-.896736162545,-.153106280781,-.629203242522,-.245517550697,.657969239148,.126830499058,.26862328493,-.634888119007,-.302301223431,.617074219636,.779817204925]},function(k,P,_){"use strict";var N=_(5),C=_(6),m=_(7),p=_(10),E=_(17),d=_(14),l=_(54),o=_(168);m.a.import(o.a);function g(a,c,u,s,v){var e=a.gl;c.setUniform(e,"1i",u,v),e.activeTexture(e.TEXTURE0+v),s.isRenderable()?s.bind(a):s.unbind(a)}function r(a,c,u,s,v){var e,t,i,f,y=a.gl;return function(b,x,A){if(!(f&&f.material===b.material)){var w=b.material,L=b.__program,M=w.get("roughness");M==null&&(M=1);var D=w.get("normalMap")||c,B=w.get("roughnessMap"),I=w.get("bumpMap"),U=w.get("uvRepeat"),F=w.get("uvOffset"),K=w.get("detailUvRepeat"),j=w.get("detailUvOffset"),X=!!I&&w.isTextureEnabled("bumpMap"),Y=!!B&&w.isTextureEnabled("roughnessMap"),se=w.isDefined("fragment","DOUBLE_SIDED");I=I||u,B=B||s,A!==x?(x.set("normalMap",D),x.set("bumpMap",I),x.set("roughnessMap",B),x.set("useBumpMap",X),x.set("useRoughnessMap",Y),x.set("doubleSide",se),U!=null&&x.set("uvRepeat",U),F!=null&&x.set("uvOffset",F),K!=null&&x.set("detailUvRepeat",K),j!=null&&x.set("detailUvOffset",j),x.set("roughness",M)):(L.setUniform(y,"1f","roughness",M),e!==D&&g(a,L,"normalMap",D,0),t!==I&&I&&g(a,L,"bumpMap",I,1),i!==B&&B&&g(a,L,"roughnessMap",B,2),U!=null&&L.setUniform(y,"2f","uvRepeat",U),F!=null&&L.setUniform(y,"2f","uvOffset",F),K!=null&&L.setUniform(y,"2f","detailUvRepeat",K),j!=null&&L.setUniform(y,"2f","detailUvOffset",j),L.setUniform(y,"1i","useBumpMap",+X),L.setUniform(y,"1i","useRoughnessMap",+Y),L.setUniform(y,"1i","doubleSide",+se)),e=D,t=I,i=B,f=b}}}function n(a){a=a||{},this._depthTex=new N.a({format:C.a.DEPTH_COMPONENT,type:C.a.UNSIGNED_INT}),this._normalTex=new N.a({type:C.a.HALF_FLOAT}),this._framebuffer=new p.a,this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,p.a.DEPTH_ATTACHMENT),this._normalMaterial=new E.a({shader:new m.a(m.a.source("ecgl.normal.vertex"),m.a.source("ecgl.normal.fragment"))}),this._normalMaterial.enableTexture(["normalMap","bumpMap","roughnessMap"]),this._defaultNormalMap=l.a.createBlank("#000"),this._defaultBumpMap=l.a.createBlank("#000"),this._defaultRoughessMap=l.a.createBlank("#000"),this._debugPass=new d.a({fragment:m.a.source("clay.compositor.output")}),this._debugPass.setUniform("texture",this._normalTex),this._debugPass.material.undefine("fragment","OUTPUT_ALPHA")}n.prototype.getDepthTexture=function(){return this._depthTex},n.prototype.getNormalTexture=function(){return this._normalTex},n.prototype.update=function(a,c,u){var s=a.getWidth(),v=a.getHeight(),e=this._depthTex,t=this._normalTex,i=this._normalMaterial;e.width=s,e.height=v,t.width=s,t.height=v;var f=c.opaqueList;this._framebuffer.bind(a),a.gl.clearColor(0,0,0,0),a.gl.clear(a.gl.COLOR_BUFFER_BIT|a.gl.DEPTH_BUFFER_BIT),a.gl.disable(a.gl.BLEND),a.renderPass(f,u,{getMaterial:function(){return i},ifRender:function(y){return y.renderNormal},beforeRender:r(a,this._defaultNormalMap,this._defaultBumpMap,this._defaultRoughessMap,this._normalMaterial),sort:a.opaqueSortCompare}),this._framebuffer.unbind(a)},n.prototype.renderDebug=function(a){this._debugPass.render(a)},n.prototype.dispose=function(a){this._depthTex.dispose(a),this._normalTex.dispose(a)},P.a=n},function(k,P,_){"use strict";P.a=`@export ecgl.normal.vertex @import ecgl.common.transformUniforms @import ecgl.common.uv.header @import ecgl.common.attributes varying vec3 v_Normal; varying vec3 v_WorldPosition; @import ecgl.common.normalMap.vertexHeader @import ecgl.common.vertexAnimation.header void main() { @import ecgl.common.vertexAnimation.main @import ecgl.common.uv.main v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz); v_WorldPosition = (world * vec4(pos, 1.0)).xyz; @import ecgl.common.normalMap.vertexMain gl_Position = worldViewProjection * vec4(pos, 1.0); } @end @export ecgl.normal.fragment #define ROUGHNESS_CHANEL 0 uniform bool useBumpMap; uniform bool useRoughnessMap; uniform bool doubleSide; uniform float roughness; @import ecgl.common.uv.fragmentHeader varying vec3 v_Normal; varying vec3 v_WorldPosition; uniform mat4 viewInverse : VIEWINVERSE; @import ecgl.common.normalMap.fragmentHeader @import ecgl.common.bumpMap.header uniform sampler2D roughnessMap; void main() { vec3 N = v_Normal; bool flipNormal = false; if (doubleSide) { vec3 eyePos = viewInverse[3].xyz; vec3 V = normalize(eyePos - v_WorldPosition); if (dot(N, V) < 0.0) { flipNormal = true; } } @import ecgl.common.normalMap.fragmentMain if (useBumpMap) { N = bumpNormal(v_WorldPosition, v_Normal, N); } float g = 1.0 - roughness; if (useRoughnessMap) { float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL]; g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0); } if (flipNormal) { N = -N; } gl_FragColor.rgb = (N.xyz + 1.0) * 0.5; gl_FragColor.a = g; } @end`},function(k,P,_){"use strict";var N=_(9),C=_(4),m=_(5),p=_(6),E=_(14),d=_(7),l=_(10);function o(g){g=g||{},this._edgePass=new E.a({fragment:d.a.source("ecgl.edge")}),this._edgePass.setUniform("normalTexture",g.normalTexture),this._edgePass.setUniform("depthTexture",g.depthTexture),this._targetTexture=new m.a({type:p.a.HALF_FLOAT}),this._frameBuffer=new l.a,this._frameBuffer.attach(this._targetTexture)}o.prototype.update=function(g,r,n,a){var c=g.getWidth(),u=g.getHeight(),s=this._targetTexture;s.width=c,s.height=u;var v=this._frameBuffer;v.bind(g),this._edgePass.setUniform("projectionInv",r.invProjectionMatrix.array),this._edgePass.setUniform("textureSize",[c,u]),this._edgePass.setUniform("texture",n),this._edgePass.render(g),v.unbind(g)},o.prototype.getTargetTexture=function(){return this._targetTexture},o.prototype.setParameter=function(g,r){this._edgePass.setUniform(g,r)},o.prototype.dispose=function(g){this._targetTexture.dispose(g),this._frameBuffer.dispose(g)},P.a=o},function(k,P,_){"use strict";P.a={type:"compositor",nodes:[{name:"source",type:"texture",outputs:{color:{}}},{name:"source_half",shader:"#source(clay.compositor.downsample)",inputs:{texture:"source"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bright",shader:"#source(clay.compositor.bright)",inputs:{texture:"source_half"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{threshold:2,scale:4,textureSize:"expr([width * 1.0 / 2, height / 2])"}},{name:"bright_downsample_4",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 2, height / 2] )"}},{name:"bright_downsample_8",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 4, height / 4] )"}},{name:"bright_downsample_16",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 8, height / 8] )"}},{name:"bright_downsample_32",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 32)",height:"expr(height * 1.0 / 32)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 16, height / 16] )"}},{name:"bright_upsample_16_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_32"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 32, height / 32] )"}},{name:"bright_upsample_16_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_16_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_8_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_8_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_8_blur_v",texture2:"bright_upsample_16_blur_v"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_4_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_4_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_4_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_4_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_4_blur_v",texture2:"bright_upsample_8_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_2_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_2_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_2_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_2_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_2_blur_v",texture2:"bright_upsample_4_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_full_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_full_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_full_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bloom_composite",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_full_blur_v",texture2:"bright_upsample_2_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"coc",shader:"#source(ecgl.dof.coc)",outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{focalDist:50,focalRange:30}},{name:"dof_far_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"dof_near_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_NEARFIELD:null}},{name:"dof_coc_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"coc"},outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_COC:null}},{name:"dof_composite",shader:"#source(ecgl.dof.composite)",inputs:{original:"source",blurred:"dof_far_blur",nearfield:"dof_near_blur",coc:"coc",nearcoc:"dof_coc_blur"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}}},{name:"composite",shader:"#source(clay.compositor.hdr.composite)",inputs:{texture:"source",bloom:"bloom_composite"},defines:{}},{name:"FXAA",shader:"#source(clay.compositor.fxaa)",inputs:{texture:"composite"}}]}},function(k,P,_){"use strict";P.a=`@export clay.compositor.kernel.gaussian_9 float gaussianKernel[9]; gaussianKernel[0] = 0.07; gaussianKernel[1] = 0.09; gaussianKernel[2] = 0.12; gaussianKernel[3] = 0.14; gaussianKernel[4] = 0.16; gaussianKernel[5] = 0.14; gaussianKernel[6] = 0.12; gaussianKernel[7] = 0.09; gaussianKernel[8] = 0.07; @end @export clay.compositor.kernel.gaussian_13 float gaussianKernel[13]; gaussianKernel[0] = 0.02; gaussianKernel[1] = 0.03; gaussianKernel[2] = 0.06; gaussianKernel[3] = 0.08; gaussianKernel[4] = 0.11; gaussianKernel[5] = 0.13; gaussianKernel[6] = 0.14; gaussianKernel[7] = 0.13; gaussianKernel[8] = 0.11; gaussianKernel[9] = 0.08; gaussianKernel[10] = 0.06; gaussianKernel[11] = 0.03; gaussianKernel[12] = 0.02; @end @export clay.compositor.gaussian_blur #define SHADER_NAME gaussian_blur uniform sampler2D texture;varying vec2 v_Texcoord; uniform float blurSize : 2.0; uniform vec2 textureSize : [512.0, 512.0]; uniform float blurDir : 0.0; @import clay.util.rgbm @import clay.util.clamp_sample void main (void) { @import clay.compositor.kernel.gaussian_9 vec2 off = blurSize / textureSize; off *= vec2(1.0 - blurDir, blurDir); vec4 sum = vec4(0.0); float weightAll = 0.0; for (int i = 0; i < 9; i++) { float w = gaussianKernel[i]; vec4 texel = decodeHDR(clampSample(texture, v_Texcoord + float(i - 4) * off)); sum += texel * w; weightAll += w; } gl_FragColor = encodeHDR(sum / max(weightAll, 0.01)); } @end `},function(k,P,_){"use strict";P.a=` @export clay.compositor.lut varying vec2 v_Texcoord; uniform sampler2D texture; uniform sampler2D lookup; void main() { vec4 tex = texture2D(texture, v_Texcoord); float blueColor = tex.b * 63.0; vec2 quad1; quad1.y = floor(floor(blueColor) / 8.0); quad1.x = floor(blueColor) - (quad1.y * 8.0); vec2 quad2; quad2.y = floor(ceil(blueColor) / 8.0); quad2.x = ceil(blueColor) - (quad2.y * 8.0); vec2 texPos1; texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r); texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g); vec2 texPos2; texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r); texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g); vec4 newColor1 = texture2D(lookup, texPos1); vec4 newColor2 = texture2D(lookup, texPos2); vec4 newColor = mix(newColor1, newColor2, fract(blueColor)); gl_FragColor = vec4(newColor.rgb, tex.w); } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.output #define OUTPUT_ALPHA varying vec2 v_Texcoord; uniform sampler2D texture; @import clay.util.rgbm void main() { vec4 tex = decodeHDR(texture2D(texture, v_Texcoord)); gl_FragColor.rgb = tex.rgb; #ifdef OUTPUT_ALPHA gl_FragColor.a = tex.a; #else gl_FragColor.a = 1.0; #endif gl_FragColor = encodeHDR(gl_FragColor); #ifdef PREMULTIPLY_ALPHA gl_FragColor.rgb *= gl_FragColor.a; #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.bright uniform sampler2D texture; uniform float threshold : 1; uniform float scale : 1.0; uniform vec2 textureSize: [512, 512]; varying vec2 v_Texcoord; const vec3 lumWeight = vec3(0.2125, 0.7154, 0.0721); @import clay.util.rgbm vec4 median(vec4 a, vec4 b, vec4 c) { return a + b + c - min(min(a, b), c) - max(max(a, b), c); } void main() { vec4 texel = decodeHDR(texture2D(texture, v_Texcoord)); #ifdef ANTI_FLICKER vec3 d = 1.0 / textureSize.xyx * vec3(1.0, 1.0, 0.0); vec4 s1 = decodeHDR(texture2D(texture, v_Texcoord - d.xz)); vec4 s2 = decodeHDR(texture2D(texture, v_Texcoord + d.xz)); vec4 s3 = decodeHDR(texture2D(texture, v_Texcoord - d.zy)); vec4 s4 = decodeHDR(texture2D(texture, v_Texcoord + d.zy)); texel = median(median(texel, s1, s2), s3, s4); #endif float lum = dot(texel.rgb , lumWeight); vec4 color; if (lum > threshold && texel.a > 0.0) { color = vec4(texel.rgb * scale, texel.a * scale); } else { color = vec4(0.0); } gl_FragColor = encodeHDR(color); } @end `},function(k,P,_){"use strict";P.a=`@export clay.compositor.downsample uniform sampler2D texture; uniform vec2 textureSize : [512, 512]; varying vec2 v_Texcoord; @import clay.util.rgbm float brightness(vec3 c) { return max(max(c.r, c.g), c.b); } @import clay.util.clamp_sample void main() { vec4 d = vec4(-1.0, -1.0, 1.0, 1.0) / textureSize.xyxy; #ifdef ANTI_FLICKER vec3 s1 = decodeHDR(clampSample(texture, v_Texcoord + d.xy)).rgb; vec3 s2 = decodeHDR(clampSample(texture, v_Texcoord + d.zy)).rgb; vec3 s3 = decodeHDR(clampSample(texture, v_Texcoord + d.xw)).rgb; vec3 s4 = decodeHDR(clampSample(texture, v_Texcoord + d.zw)).rgb; float s1w = 1.0 / (brightness(s1) + 1.0); float s2w = 1.0 / (brightness(s2) + 1.0); float s3w = 1.0 / (brightness(s3) + 1.0); float s4w = 1.0 / (brightness(s4) + 1.0); float oneDivideSum = 1.0 / (s1w + s2w + s3w + s4w); vec4 color = vec4( (s1 * s1w + s2 * s2w + s3 * s3w + s4 * s4w) * oneDivideSum, 1.0 ); #else vec4 color = decodeHDR(clampSample(texture, v_Texcoord + d.xy)); color += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); color += decodeHDR(clampSample(texture, v_Texcoord + d.xw)); color += decodeHDR(clampSample(texture, v_Texcoord + d.zw)); color *= 0.25; #endif gl_FragColor = encodeHDR(color); } @end`},function(k,P,_){"use strict";P.a=` @export clay.compositor.upsample #define HIGH_QUALITY uniform sampler2D texture; uniform vec2 textureSize : [512, 512]; uniform float sampleScale: 0.5; varying vec2 v_Texcoord; @import clay.util.rgbm @import clay.util.clamp_sample void main() { #ifdef HIGH_QUALITY vec4 d = vec4(1.0, 1.0, -1.0, 0.0) / textureSize.xyxy * sampleScale; vec4 s; s = decodeHDR(clampSample(texture, v_Texcoord - d.xy)); s += decodeHDR(clampSample(texture, v_Texcoord - d.wy)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord - d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord )) * 4.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.wy)) * 2.0; s += decodeHDR(clampSample(texture, v_Texcoord + d.xy)); gl_FragColor = encodeHDR(s / 16.0); #else vec4 d = vec4(-1.0, -1.0, +1.0, +1.0) / textureSize.xyxy; vec4 s; s = decodeHDR(clampSample(texture, v_Texcoord + d.xy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zy)); s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)); s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)); gl_FragColor = encodeHDR(s / 4.0); #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.hdr.composite uniform sampler2D texture; #ifdef BLOOM_ENABLED uniform sampler2D bloom; #endif #ifdef LENSFLARE_ENABLED uniform sampler2D lensflare; uniform sampler2D lensdirt; #endif #ifdef LUM_ENABLED uniform sampler2D lum; #endif #ifdef LUT_ENABLED uniform sampler2D lut; #endif #ifdef COLOR_CORRECTION uniform float brightness : 0.0; uniform float contrast : 1.0; uniform float saturation : 1.0; #endif #ifdef VIGNETTE uniform float vignetteDarkness: 1.0; uniform float vignetteOffset: 1.0; #endif uniform float exposure : 1.0; uniform float bloomIntensity : 0.25; uniform float lensflareIntensity : 1; varying vec2 v_Texcoord; @import clay.util.srgb vec3 ACESToneMapping(vec3 color) { const float A = 2.51; const float B = 0.03; const float C = 2.43; const float D = 0.59; const float E = 0.14; return (color * (A * color + B)) / (color * (C * color + D) + E); } float eyeAdaption(float fLum) { return mix(0.2, fLum, 0.5); } #ifdef LUT_ENABLED vec3 lutTransform(vec3 color) { float blueColor = color.b * 63.0; vec2 quad1; quad1.y = floor(floor(blueColor) / 8.0); quad1.x = floor(blueColor) - (quad1.y * 8.0); vec2 quad2; quad2.y = floor(ceil(blueColor) / 8.0); quad2.x = ceil(blueColor) - (quad2.y * 8.0); vec2 texPos1; texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r); texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g); vec2 texPos2; texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r); texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g); vec4 newColor1 = texture2D(lut, texPos1); vec4 newColor2 = texture2D(lut, texPos2); vec4 newColor = mix(newColor1, newColor2, fract(blueColor)); return newColor.rgb; } #endif @import clay.util.rgbm void main() { vec4 texel = vec4(0.0); vec4 originalTexel = vec4(0.0); #ifdef TEXTURE_ENABLED texel = decodeHDR(texture2D(texture, v_Texcoord)); originalTexel = texel; #endif #ifdef BLOOM_ENABLED vec4 bloomTexel = decodeHDR(texture2D(bloom, v_Texcoord)); texel.rgb += bloomTexel.rgb * bloomIntensity; texel.a += bloomTexel.a * bloomIntensity; #endif #ifdef LENSFLARE_ENABLED texel += decodeHDR(texture2D(lensflare, v_Texcoord)) * texture2D(lensdirt, v_Texcoord) * lensflareIntensity; #endif texel.a = min(texel.a, 1.0); #ifdef LUM_ENABLED float fLum = texture2D(lum, vec2(0.5, 0.5)).r; float adaptedLumDest = 3.0 / (max(0.1, 1.0 + 10.0*eyeAdaption(fLum))); float exposureBias = adaptedLumDest * exposure; #else float exposureBias = exposure; #endif texel.rgb *= exposureBias; texel.rgb = ACESToneMapping(texel.rgb); texel = linearTosRGB(texel); #ifdef LUT_ENABLED texel.rgb = lutTransform(clamp(texel.rgb,vec3(0.0),vec3(1.0))); #endif #ifdef COLOR_CORRECTION texel.rgb = clamp(texel.rgb + vec3(brightness), 0.0, 1.0); texel.rgb = clamp((texel.rgb - vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0); float lum = dot(texel.rgb, vec3(0.2125, 0.7154, 0.0721)); texel.rgb = mix(vec3(lum), texel.rgb, saturation); #endif #ifdef VIGNETTE vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(vignetteOffset); texel.rgb = mix(texel.rgb, vec3(1.0 - vignetteDarkness), dot(uv, uv)); #endif gl_FragColor = encodeHDR(texel); #ifdef DEBUG #if DEBUG == 1 gl_FragColor = encodeHDR(decodeHDR(texture2D(texture, v_Texcoord))); #elif DEBUG == 2 gl_FragColor = encodeHDR(decodeHDR(texture2D(bloom, v_Texcoord)) * bloomIntensity); #elif DEBUG == 3 gl_FragColor = encodeHDR(decodeHDR(texture2D(lensflare, v_Texcoord) * lensflareIntensity)); #endif #endif if (originalTexel.a <= 0.01 && gl_FragColor.a > 1e-5) { gl_FragColor.a = dot(gl_FragColor.rgb, vec3(0.2125, 0.7154, 0.0721)); } #ifdef PREMULTIPLY_ALPHA gl_FragColor.rgb *= gl_FragColor.a; #endif } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.blend #define SHADER_NAME blend #ifdef TEXTURE1_ENABLED uniform sampler2D texture1; uniform float weight1 : 1.0; #endif #ifdef TEXTURE2_ENABLED uniform sampler2D texture2; uniform float weight2 : 1.0; #endif #ifdef TEXTURE3_ENABLED uniform sampler2D texture3; uniform float weight3 : 1.0; #endif #ifdef TEXTURE4_ENABLED uniform sampler2D texture4; uniform float weight4 : 1.0; #endif #ifdef TEXTURE5_ENABLED uniform sampler2D texture5; uniform float weight5 : 1.0; #endif #ifdef TEXTURE6_ENABLED uniform sampler2D texture6; uniform float weight6 : 1.0; #endif varying vec2 v_Texcoord; @import clay.util.rgbm void main() { vec4 tex = vec4(0.0); #ifdef TEXTURE1_ENABLED tex += decodeHDR(texture2D(texture1, v_Texcoord)) * weight1; #endif #ifdef TEXTURE2_ENABLED tex += decodeHDR(texture2D(texture2, v_Texcoord)) * weight2; #endif #ifdef TEXTURE3_ENABLED tex += decodeHDR(texture2D(texture3, v_Texcoord)) * weight3; #endif #ifdef TEXTURE4_ENABLED tex += decodeHDR(texture2D(texture4, v_Texcoord)) * weight4; #endif #ifdef TEXTURE5_ENABLED tex += decodeHDR(texture2D(texture5, v_Texcoord)) * weight5; #endif #ifdef TEXTURE6_ENABLED tex += decodeHDR(texture2D(texture6, v_Texcoord)) * weight6; #endif gl_FragColor = encodeHDR(tex); } @end`},function(k,P,_){"use strict";P.a=`@export clay.compositor.fxaa uniform sampler2D texture; uniform vec4 viewport : VIEWPORT; varying vec2 v_Texcoord; #define FXAA_REDUCE_MIN (1.0/128.0) #define FXAA_REDUCE_MUL (1.0/8.0) #define FXAA_SPAN_MAX 8.0 @import clay.util.rgbm void main() { vec2 resolution = 1.0 / viewport.zw; vec3 rgbNW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, -1.0 ) ) * resolution ) ).xyz; vec3 rgbNE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, -1.0 ) ) * resolution ) ).xyz; vec3 rgbSW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, 1.0 ) ) * resolution ) ).xyz; vec3 rgbSE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, 1.0 ) ) * resolution ) ).xyz; vec4 rgbaM = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution ) ); vec3 rgbM = rgbaM.xyz; float opacity = rgbaM.w; vec3 luma = vec3( 0.299, 0.587, 0.114 ); float lumaNW = dot( rgbNW, luma ); float lumaNE = dot( rgbNE, luma ); float lumaSW = dot( rgbSW, luma ); float lumaSE = dot( rgbSE, luma ); float lumaM = dot( rgbM, luma ); float lumaMin = min( lumaM, min( min( lumaNW, lumaNE ), min( lumaSW, lumaSE ) ) ); float lumaMax = max( lumaM, max( max( lumaNW, lumaNE) , max( lumaSW, lumaSE ) ) ); vec2 dir; dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE)); dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE)); float dirReduce = max( ( lumaNW + lumaNE + lumaSW + lumaSE ) * ( 0.25 * FXAA_REDUCE_MUL ), FXAA_REDUCE_MIN ); float rcpDirMin = 1.0 / ( min( abs( dir.x ), abs( dir.y ) ) + dirReduce ); dir = min( vec2( FXAA_SPAN_MAX, FXAA_SPAN_MAX), max( vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX), dir * rcpDirMin)) * resolution; vec3 rgbA = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 1.0 / 3.0 - 0.5 ) ) ).xyz; rgbA += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 2.0 / 3.0 - 0.5 ) ) ).xyz; rgbA *= 0.5; vec3 rgbB = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * -0.5 ) ).xyz; rgbB += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * 0.5 ) ).xyz; rgbB *= 0.25; rgbB += rgbA * 0.5; float lumaB = dot( rgbB, luma ); if ( ( lumaB < lumaMin ) || ( lumaB > lumaMax ) ) { gl_FragColor = vec4( rgbA, opacity ); } else { gl_FragColor = vec4( rgbB, opacity ); } } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.dof.coc uniform sampler2D depth; uniform float zNear: 0.1; uniform float zFar: 2000; uniform float focalDistance: 3; uniform float focalRange: 1; uniform float focalLength: 30; uniform float fstop: 2.8; varying vec2 v_Texcoord; @import clay.util.encode_float void main() { float z = texture2D(depth, v_Texcoord).r * 2.0 - 1.0; float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear)); float aperture = focalLength / fstop; float coc; float uppper = focalDistance + focalRange; float lower = focalDistance - focalRange; if (dist <= uppper && dist >= lower) { coc = 0.5; } else { float focalAdjusted = dist > uppper ? uppper : lower; coc = abs(aperture * (focalLength * (dist - focalAdjusted)) / (dist * (focalAdjusted - focalLength))); coc = clamp(coc, 0.0, 2.0) / 2.00001; if (dist < lower) { coc = -coc; } coc = coc * 0.5 + 0.5; } gl_FragColor = encodeFloat(coc); } @end @export ecgl.dof.composite #define DEBUG 0 uniform sampler2D original; uniform sampler2D blurred; uniform sampler2D nearfield; uniform sampler2D coc; uniform sampler2D nearcoc; varying vec2 v_Texcoord; @import clay.util.rgbm @import clay.util.float void main() { vec4 blurredColor = decodeHDR(texture2D(blurred, v_Texcoord)); vec4 originalColor = decodeHDR(texture2D(original, v_Texcoord)); float fCoc = decodeFloat(texture2D(coc, v_Texcoord)); fCoc = abs(fCoc * 2.0 - 1.0); float weight = smoothstep(0.0, 1.0, fCoc); #ifdef NEARFIELD_ENABLED vec4 nearfieldColor = decodeHDR(texture2D(nearfield, v_Texcoord)); float fNearCoc = decodeFloat(texture2D(nearcoc, v_Texcoord)); fNearCoc = abs(fNearCoc * 2.0 - 1.0); gl_FragColor = encodeHDR( mix( nearfieldColor, mix(originalColor, blurredColor, weight), pow(1.0 - fNearCoc, 4.0) ) ); #else gl_FragColor = encodeHDR(mix(originalColor, blurredColor, weight)); #endif } @end @export ecgl.dof.diskBlur #define POISSON_KERNEL_SIZE 16; uniform sampler2D texture; uniform sampler2D coc; varying vec2 v_Texcoord; uniform float blurRadius : 10.0; uniform vec2 textureSize : [512.0, 512.0]; uniform vec2 poissonKernel[POISSON_KERNEL_SIZE]; uniform float percent; float nrand(const in vec2 n) { return fract(sin(dot(n.xy ,vec2(12.9898,78.233))) * 43758.5453); } @import clay.util.rgbm @import clay.util.float void main() { vec2 offset = blurRadius / textureSize; float rnd = 6.28318 * nrand(v_Texcoord + 0.07 * percent ); float cosa = cos(rnd); float sina = sin(rnd); vec4 basis = vec4(cosa, -sina, sina, cosa); #if !defined(BLUR_NEARFIELD) && !defined(BLUR_COC) offset *= abs(decodeFloat(texture2D(coc, v_Texcoord)) * 2.0 - 1.0); #endif #ifdef BLUR_COC float cocSum = 0.0; #else vec4 color = vec4(0.0); #endif float weightSum = 0.0; for (int i = 0; i < POISSON_KERNEL_SIZE; i++) { vec2 ofs = poissonKernel[i]; ofs = vec2(dot(ofs, basis.xy), dot(ofs, basis.zw)); vec2 uv = v_Texcoord + ofs * offset; vec4 texel = texture2D(texture, uv); float w = 1.0; #ifdef BLUR_COC float fCoc = decodeFloat(texel) * 2.0 - 1.0; cocSum += clamp(fCoc, -1.0, 0.0) * w; #else texel = decodeHDR(texel); #if !defined(BLUR_NEARFIELD) float fCoc = decodeFloat(texture2D(coc, uv)) * 2.0 - 1.0; w *= abs(fCoc); #endif color += texel * w; #endif weightSum += w; } #ifdef BLUR_COC gl_FragColor = encodeFloat(clamp(cocSum / weightSum, -1.0, 0.0) * 0.5 + 0.5); #else color /= weightSum; gl_FragColor = encodeHDR(color); #endif } @end`},function(k,P,_){"use strict";P.a=`@export ecgl.edge uniform sampler2D texture; uniform sampler2D normalTexture; uniform sampler2D depthTexture; uniform mat4 projectionInv; uniform vec2 textureSize; uniform vec4 edgeColor: [0,0,0,0.8]; varying vec2 v_Texcoord; vec3 packColor(vec2 coord) { float z = texture2D(depthTexture, coord).r * 2.0 - 1.0; vec4 p = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0); vec4 p4 = projectionInv * p; return vec3( texture2D(normalTexture, coord).rg, -p4.z / p4.w / 5.0 ); } void main() { vec2 cc = v_Texcoord; vec3 center = packColor(cc); float size = clamp(1.0 - (center.z - 10.0) / 100.0, 0.0, 1.0) * 0.5; float dx = size / textureSize.x; float dy = size / textureSize.y; vec2 coord; vec3 topLeft = packColor(cc+vec2(-dx, -dy)); vec3 top = packColor(cc+vec2(0.0, -dy)); vec3 topRight = packColor(cc+vec2(dx, -dy)); vec3 left = packColor(cc+vec2(-dx, 0.0)); vec3 right = packColor(cc+vec2(dx, 0.0)); vec3 bottomLeft = packColor(cc+vec2(-dx, dy)); vec3 bottom = packColor(cc+vec2(0.0, dy)); vec3 bottomRight = packColor(cc+vec2(dx, dy)); vec3 v = -topLeft-2.0*top-topRight+bottomLeft+2.0*bottom+bottomRight; vec3 h = -bottomLeft-2.0*left-topLeft+bottomRight+2.0*right+topRight; float edge = sqrt(dot(h, h) + dot(v, v)); edge = smoothstep(0.8, 1.0, edge); gl_FragColor = mix(texture2D(texture, v_Texcoord), vec4(edgeColor.rgb, 1.0), edgeColor.a * edge); } @end`},function(k,P,_){"use strict";var N=_(43),C=_(14),m=_(10),p=_(5),E=_(7),d=_(9);function l(o){for(var g=[],r=0;r<30;r++)g.push([Object(N.a)(r,2),Object(N.a)(r,3)]);this._haltonSequence=g,this._frame=0,this._sourceTex=new p.a,this._sourceFb=new m.a,this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new p.a,this._outputTex=new p.a;var n=this._blendPass=new C.a({fragment:E.a.source("clay.compositor.blend")});n.material.disableTexturesAll(),n.material.enableTexture(["texture1","texture2"]),this._blendFb=new m.a({depthBuffer:!1}),this._outputPass=new C.a({fragment:E.a.source("clay.compositor.output"),blendWithPrevious:!0}),this._outputPass.material.define("fragment","OUTPUT_ALPHA"),this._outputPass.material.blend=function(a){a.blendEquationSeparate(a.FUNC_ADD,a.FUNC_ADD),a.blendFuncSeparate(a.ONE,a.ONE_MINUS_SRC_ALPHA,a.ONE,a.ONE_MINUS_SRC_ALPHA)}}l.prototype={constructor:l,jitterProjection:function(o,g){var r=o.viewport,n=r.devicePixelRatio||o.getDevicePixelRatio(),a=r.width*n,c=r.height*n,u=this._haltonSequence[this._frame%this._haltonSequence.length],s=new d.a;s.array[12]=(u[0]*2-1)/a,s.array[13]=(u[1]*2-1)/c,d.a.mul(g.projectionMatrix,s,g.projectionMatrix),d.a.invert(g.invProjectionMatrix,g.projectionMatrix)},resetFrame:function(){this._frame=0},getFrame:function(){return this._frame},getSourceFrameBuffer:function(){return this._sourceFb},getOutputTexture:function(){return this._outputTex},resize:function(o,g){this._prevFrameTex.width=o,this._prevFrameTex.height=g,this._outputTex.width=o,this._outputTex.height=g,this._sourceTex.width=o,this._sourceTex.height=g,this._prevFrameTex.dirty(),this._outputTex.dirty(),this._sourceTex.dirty()},isFinished:function(){return this._frame>=this._haltonSequence.length},render:function(o,g,r){var n=this._blendPass;this._frame===0?(n.setUniform("weight1",0),n.setUniform("weight2",1)):(n.setUniform("weight1",.9),n.setUniform("weight2",.1)),n.setUniform("texture1",this._prevFrameTex),n.setUniform("texture2",g||this._sourceTex),this._blendFb.attach(this._outputTex),this._blendFb.bind(o),n.render(o),this._blendFb.unbind(o),r||(this._outputPass.setUniform("texture",this._outputTex),this._outputPass.render(o));var a=this._prevFrameTex;this._prevFrameTex=this._outputTex,this._outputTex=a,this._frame++},dispose:function(o){this._sourceFb.dispose(o),this._blendFb.dispose(o),this._prevFrameTex.dispose(o),this._outputTex.dispose(o),this._sourceTex.dispose(o),this._outputPass.dispose(o),this._blendPass.dispose(o)}},P.a=l},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(184),p=_(185),E=_(82);C.a.registerAction({type:"geo3DChangeCamera",event:"geo3dcamerachanged",update:"series:updateCamera"},function(d,l){l.eachComponent({mainType:"geo3D",query:d},function(o){o.setView(d)})})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(38),p=_(31),E=_(32),d=_(26),l=_(80),o=C.a.extendComponentModel({type:"geo3D",layoutMode:"box",coordinateSystem:null,optionUpdated:function(){var r=this.option;r.regions=this.getFilledRegions(r.regions,r.map);var n=C.a.helper.completeDimensions(["value"],r.data,{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),a=new C.a.List(n,this);a.initData(r.regions);var c={};a.each(function(u){var s=a.getName(u),v=a.getItemModel(u);c[s]=v}),this._regionModelMap=c,this._data=a},getData:function(){return this._data},getRegionModel:function(r){var n=this.getData().getName(r);return this._regionModelMap[n]||new C.a.Model(null,this)},getRegionPolygonCoords:function(r){var n=this.getData().getName(r),a=this.coordinateSystem.getRegion(n);return a?a.geometries:[]},getFormattedLabel:function(r,n){var a=this._data.getName(r),c=this.getRegionModel(a),u=c.get(n==="normal"?["label","formatter"]:["emphasis","label","formatter"]);u==null&&(u=c.get(["label","formatter"]));var s={name:a};if(typeof u=="function")return s.status=n,u(s);if(typeof u=="string"){var v=s.seriesName;return u.replace("{a}",v!=null?v:"")}else return a},defaultOption:{regions:[]}});C.a.util.merge(o.prototype,l.a),C.a.util.merge(o.prototype,m.a),C.a.util.merge(o.prototype,p.a),C.a.util.merge(o.prototype,E.a),C.a.util.merge(o.prototype,d.a);var g=o},function(k,P,_){"use strict";var N=_(59),C=_(0),m=_.n(C),p=_(2),E=_(39),d=_(34),l=m.a.extendComponentView({type:"geo3D",__ecgl__:!0,init:function(o,g){this._geo3DBuilder=new N.a(g),this.groupGL=new p.a.Node,this._lightRoot=new p.a.Node,this._sceneHelper=new d.a(this._lightRoot),this._sceneHelper.initLight(this._lightRoot),this._control=new E.a({zr:g.getZr()}),this._control.init()},render:function(o,g,r){this.groupGL.add(this._geo3DBuilder.rootNode);var n=o.coordinateSystem;if(!(!n||!n.viewGL)){n.viewGL.add(this._lightRoot),o.get("show")?n.viewGL.add(this.groupGL):n.viewGL.remove(this.groupGL);var a=this._control;a.setViewGL(n.viewGL);var c=o.getModel("viewControl");a.setFromViewControlModel(c,0),this._sceneHelper.setScene(n.viewGL.scene),this._sceneHelper.updateLight(o),n.viewGL.setPostEffect(o.getModel("postEffect"),r),n.viewGL.setTemporalSuperSampling(o.getModel("temporalSuperSampling")),this._geo3DBuilder.update(o,g,r,0,o.getData().count());var u=n.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse(function(s){s.material&&s.material[u]("fragment","SRGB_DECODE")}),a.off("update"),a.on("update",function(){r.dispatchAction({type:"geo3DChangeCamera",alpha:a.getAlpha(),beta:a.getBeta(),distance:a.getDistance(),center:a.getCenter(),from:this.uid,geo3DId:o.id})})}},afterRender:function(o,g,r,n){var a=n.renderer;this._sceneHelper.updateAmbientCubemap(a,o,r),this._sceneHelper.updateSkybox(a,o,r)},dispose:function(){this._control.dispose()}})},function(k,P,_){"use strict";P.a=N;function N(I,U,F){F=F||2;var K=U&&U.length,j=K?U[0]*F:I.length,X=C(I,0,j,F,!0),Y=[];if(!X)return Y;var se,Q,ve,xe,Ce,De,Ue;if(K&&(X=g(I,U,X,F)),I.length>80*F){se=ve=I[0],Q=xe=I[1];for(var Me=F;Meve&&(ve=Ce),De>xe&&(xe=De);Ue=Math.max(ve-se,xe-Q)}return p(X,Y,F,se,Q,Ue),Y}function C(I,U,F,K,j){var X,Y;if(j===B(I,U,F,K)>0)for(X=U;X=U;X-=K)Y=L(X,I[X],I[X+1],Y);return Y&&f(Y,Y.next)&&(M(Y),Y=Y.next),Y}function m(I,U){if(!I)return I;U||(U=I);var F=I,K;do if(K=!1,!F.steiner&&(f(F,F.next)||i(F.prev,F,F.next)===0)){if(M(F),F=U=F.prev,F===F.next)return null;K=!0}else F=F.next;while(K||F!==U);return U}function p(I,U,F,K,j,X,Y){if(I){!Y&&X&&c(I,K,j,X);for(var se=I,Q,ve;I.prev!==I.next;){if(Q=I.prev,ve=I.next,X?d(I,K,j,X):E(I)){U.push(Q.i/F),U.push(I.i/F),U.push(ve.i/F),M(I),I=ve.next,se=ve.next;continue}if(I=ve,I===se){Y?Y===1?(I=l(I,U,F),p(I,U,F,K,j,X,2)):Y===2&&o(I,U,F,K,j,X):p(m(I),U,F,K,j,X,1);break}}}}function E(I){var U=I.prev,F=I,K=I.next;if(i(U,F,K)>=0)return!1;for(var j=I.next.next;j!==I.prev;){if(e(U.x,U.y,F.x,F.y,K.x,K.y,j.x,j.y)&&i(j.prev,j,j.next)>=0)return!1;j=j.next}return!0}function d(I,U,F,K){var j=I.prev,X=I,Y=I.next;if(i(j,X,Y)>=0)return!1;for(var se=j.xX.x?j.x>Y.x?j.x:Y.x:X.x>Y.x?X.x:Y.x,xe=j.y>X.y?j.y>Y.y?j.y:Y.y:X.y>Y.y?X.y:Y.y,Ce=s(se,Q,U,F,K),De=s(ve,xe,U,F,K),Ue=I.nextZ;Ue&&Ue.z<=De;){if(Ue!==I.prev&&Ue!==I.next&&e(j.x,j.y,X.x,X.y,Y.x,Y.y,Ue.x,Ue.y)&&i(Ue.prev,Ue,Ue.next)>=0)return!1;Ue=Ue.nextZ}for(Ue=I.prevZ;Ue&&Ue.z>=Ce;){if(Ue!==I.prev&&Ue!==I.next&&e(j.x,j.y,X.x,X.y,Y.x,Y.y,Ue.x,Ue.y)&&i(Ue.prev,Ue,Ue.next)>=0)return!1;Ue=Ue.prevZ}return!0}function l(I,U,F){var K=I;do{var j=K.prev,X=K.next.next;!f(j,X)&&y(j,K,K.next,X)&&x(j,X)&&x(X,j)&&(U.push(j.i/F),U.push(K.i/F),U.push(X.i/F),M(K),M(K.next),K=I=X),K=K.next}while(K!==I);return K}function o(I,U,F,K,j,X){var Y=I;do{for(var se=Y.next.next;se!==Y.prev;){if(Y.i!==se.i&&t(Y,se)){var Q=w(Y,se);Y=m(Y,Y.next),Q=m(Q,Q.next),p(Y,U,F,K,j,X),p(Q,U,F,K,j,X);return}se=se.next}Y=Y.next}while(Y!==I)}function g(I,U,F,K){var j=[],X,Y,se,Q,ve;for(X=0,Y=U.length;X=F.next.y&&F.next.y!==F.y){var se=F.x+(j-F.y)*(F.next.x-F.x)/(F.next.y-F.y);if(se<=K&&se>X){if(X=se,se===K){if(j===F.y)return F;if(j===F.next.y)return F.next}Y=F.x=F.x&&F.x>=ve&&K!==F.x&&e(jY.x)&&x(F,I)&&(Y=F,Ce=De)),F=F.next;return Y}function c(I,U,F,K){var j=I;do j.z===null&&(j.z=s(j.x,j.y,U,F,K)),j.prevZ=j.prev,j.nextZ=j.next,j=j.next;while(j!==I);j.prevZ.nextZ=null,j.prevZ=null,u(j)}function u(I){var U,F,K,j,X,Y,se,Q,ve=1;do{for(F=I,I=null,X=null,Y=0;F;){for(Y++,K=F,se=0,U=0;U0||Q>0&&K;)se!==0&&(Q===0||!K||F.z<=K.z)?(j=F,F=F.nextZ,se--):(j=K,K=K.nextZ,Q--),X?X.nextZ=j:I=j,j.prevZ=X,X=j;F=K}X.nextZ=null,ve*=2}while(Y>1);return I}function s(I,U,F,K,j){return I=32767*(I-F)/j,U=32767*(U-K)/j,I=(I|I<<8)&16711935,I=(I|I<<4)&252645135,I=(I|I<<2)&858993459,I=(I|I<<1)&1431655765,U=(U|U<<8)&16711935,U=(U|U<<4)&252645135,U=(U|U<<2)&858993459,U=(U|U<<1)&1431655765,I|U<<1}function v(I){var U=I,F=I;do U.x=0&&(I-Y)*(K-se)-(F-Y)*(U-se)>=0&&(F-Y)*(X-se)-(j-Y)*(K-se)>=0}function t(I,U){return I.next.i!==U.i&&I.prev.i!==U.i&&!b(I,U)&&x(I,U)&&x(U,I)&&A(I,U)}function i(I,U,F){return(U.y-I.y)*(F.x-U.x)-(U.x-I.x)*(F.y-U.y)}function f(I,U){return I.x===U.x&&I.y===U.y}function y(I,U,F,K){return f(I,U)&&f(F,K)||f(I,K)&&f(F,U)?!0:i(I,U,F)>0!=i(I,U,K)>0&&i(F,K,I)>0!=i(F,K,U)>0}function b(I,U){var F=I;do{if(F.i!==I.i&&F.next.i!==I.i&&F.i!==U.i&&F.next.i!==U.i&&y(F,F.next,I,U))return!0;F=F.next}while(F!==I);return!1}function x(I,U){return i(I.prev,I,I.next)<0?i(I,U,I.next)>=0&&i(I,I.prev,U)>=0:i(I,U,I.prev)<0||i(I,I.next,U)<0}function A(I,U){var F=I,K=!1,j=(I.x+U.x)/2,X=(I.y+U.y)/2;do F.y>X!=F.next.y>X&&F.next.y!==F.y&&j<(F.next.x-F.x)*(X-F.y)/(F.next.y-F.y)+F.x&&(K=!K),F=F.next;while(F!==I);return K}function w(I,U){var F=new D(I.i,I.x,I.y),K=new D(U.i,U.x,U.y),j=I.next,X=U.prev;return I.next=U,U.prev=I,F.next=j,j.prev=F,K.next=F,F.prev=K,X.next=K,K.prev=X,K}function L(I,U,F,K){var j=new D(I,U,F);return K?(j.next=K.next,j.prev=K,K.next.prev=j,K.next=j):(j.prev=j,j.next=j),j}function M(I){I.next.prev=I.prev,I.prev.next=I.next,I.prevZ&&(I.prevZ.nextZ=I.nextZ),I.nextZ&&(I.nextZ.prevZ=I.prevZ)}function D(I,U,F){this.i=I,this.x=U,this.y=F,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}N.deviation=function(I,U,F,K){var j=U&&U.length,X=j?U[0]*F:I.length,Y=Math.abs(B(I,0,X,F));if(j)for(var se=0,Q=U.length;se0},_displacementChanged:!0,_displacementScale:0,updateDisplacementHash:function(){var r=this.getDisplacementTexture(),n=this.getDisplacemenScale();this._displacementChanged=this._displacementTexture!==r||this._displacementScale!==n,this._displacementTexture=r,this._displacementScale=n},isDisplacementChanged:function(){return this._displacementChanged}});C.a.util.merge(o.prototype,m.a),C.a.util.merge(o.prototype,p.a),C.a.util.merge(o.prototype,E.a),C.a.util.merge(o.prototype,d.a);var g=o},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(39),E=_(34),d=_(192),l=_(3),o=C.a.extendComponentView({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(g,r){this.groupGL=new m.a.Node,this._sphereGeometry=new m.a.SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new m.a.SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new m.a.PlaneGeometry,this._earthMesh=new m.a.Mesh({renderNormal:!0}),this._lightRoot=new m.a.Node,this._sceneHelper=new E.a,this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._earthMesh),this._control=new p.a({zr:r.getZr()}),this._control.init(),this._layerMeshes={}},render:function(g,r,n){var a=g.coordinateSystem,c=g.get("shading");a.viewGL.add(this._lightRoot),g.get("show")?a.viewGL.add(this.groupGL):a.viewGL.remove(this.groupGL),this._sceneHelper.setScene(a.viewGL.scene),a.viewGL.setPostEffect(g.getModel("postEffect"),n),a.viewGL.setTemporalSuperSampling(g.getModel("temporalSuperSampling"));var u=this._earthMesh;u.geometry=this._sphereGeometry;var s="ecgl."+c;(!u.material||u.material.shader.name!==s)&&(u.material=m.a.createMaterial(s)),m.a.setMaterialFromModel(c,u.material,g,n),["roughnessMap","metalnessMap","detailMap","normalMap"].forEach(function(i){var f=u.material.get(i);f&&(f.flipY=!1)}),u.material.set("color",m.a.parseColor(g.get("baseColor")));var v=a.radius*.99;u.scale.set(v,v,v);var e=u.material.setTextureImage("diffuseMap",g.get("baseTexture"),n,{flipY:!1,anisotropic:8});e&&e.surface&&e.surface.attachToMesh(u);var t=u.material.setTextureImage("bumpMap",g.get("heightTexture"),n,{flipY:!1,anisotropic:8});t&&t.surface&&t.surface.attachToMesh(u),u.material[g.get("postEffect.enable")?"define":"undefine"]("fragment","SRGB_DECODE"),this._updateLight(g,n),this._displaceVertices(g,n),this._updateViewControl(g,n),this._updateLayers(g,n)},afterRender:function(g,r,n,a){var c=a.renderer;this._sceneHelper.updateAmbientCubemap(c,g,n),this._sceneHelper.updateSkybox(c,g,n)},_updateLayers:function(g,r){var n=g.coordinateSystem,a=g.get("layers"),c=n.radius,u=[],s=[],v=[],e=[];C.a.util.each(a,function(b){var x=new C.a.Model(b),A=x.get("type"),w=m.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8});if(w.surface&&w.surface.attachToMesh(this._earthMesh),A==="blend"){var L=x.get("blendTo"),M=l.a.firstNotNull(x.get("intensity"),1);L==="emission"?(v.push(w),e.push(M)):(u.push(w),s.push(M))}else{var D=x.get("id"),B=this._layerMeshes[D];B||(B=this._layerMeshes[D]=new m.a.Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0}));var I=x.get("shading");I==="lambert"?(B.material=B.__lambertMaterial||new m.a.Material({autoUpdateTextureStatus:!1,shader:m.a.createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),B.__lambertMaterial=B.material):(B.material=B.__colorMaterial||new m.a.Material({autoUpdateTextureStatus:!1,shader:m.a.createShader("ecgl.color"),transparent:!0,depthMask:!1}),B.__colorMaterial=B.material),B.material.enableTexture("diffuseMap");var U=x.get("distance"),F=c+(U==null?n.radius/100:U);B.scale.set(F,F,F),c=F;var K=this._blankTexture||(this._blankTexture=m.a.createBlankTexture("rgba(255, 255, 255, 0)"));B.material.set("diffuseMap",K),m.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8},function(j){j.surface&&j.surface.attachToMesh(B),B.material.set("diffuseMap",j),r.getZr().refresh()}),x.get("show")?this.groupGL.add(B):this.groupGL.remove(B)}},this);var t=this._earthMesh.material;t.define("fragment","LAYER_DIFFUSEMAP_COUNT",u.length),t.define("fragment","LAYER_EMISSIVEMAP_COUNT",v.length),t.set("layerDiffuseMap",u),t.set("layerDiffuseIntensity",s),t.set("layerEmissiveMap",v),t.set("layerEmissionIntensity",e);var i=g.getModel("debug.wireframe");if(i.get("show")){t.define("both","WIREFRAME_TRIANGLE");var f=m.a.parseColor(i.get("lineStyle.color")||"rgba(0,0,0,0.5)"),y=l.a.firstNotNull(i.get("lineStyle.width"),1);t.set("wireframeLineWidth",y),t.set("wireframeLineColor",f)}else t.undefine("both","WIREFRAME_TRIANGLE")},_updateViewControl:function(g,r){var n=g.coordinateSystem,a=g.getModel("viewControl"),c=n.viewGL.camera,u=this;function s(){return{type:"globeChangeCamera",alpha:v.getAlpha(),beta:v.getBeta(),distance:v.getDistance()-n.radius,center:v.getCenter(),from:u.uid,globeId:g.id}}var v=this._control;v.setViewGL(n.viewGL);var e=a.get("targetCoord"),t,i;e!=null&&(i=e[0]+90,t=e[1]),v.setFromViewControlModel(a,{baseDistance:n.radius,alpha:t,beta:i}),v.off("update"),v.on("update",function(){r.dispatchAction(s())})},_displaceVertices:function(g,r){var n=g.get("displacementQuality"),a=g.get("debug.wireframe.show"),c=g.coordinateSystem;if(!(!g.isDisplacementChanged()&&n===this._displacementQuality&&a===this._showDebugWireframe)){this._displacementQuality=n,this._showDebugWireframe=a;var u=this._sphereGeometry,s={low:100,medium:200,high:400,ultra:800}[n]||200,v=s/2;(u.widthSegments!==s||a)&&(u.widthSegments=s,u.heightSegments=v,u.build()),this._doDisplaceVertices(u,c),a&&u.generateBarycentric()}},_doDisplaceVertices:function(g,r){var n=g.attributes.position.value,a=g.attributes.texcoord0.value,c=g.__originalPosition;(!c||c.length!==n.length)&&(c=new Float32Array(n.length),c.set(n),g.__originalPosition=c);for(var u=r.displacementWidth,s=r.displacementHeight,v=r.displacementData,e=0;e0&&r>0||g<0&&r<0)}function l(o,g){var r=o.getData(),n=o.get("barSize");if(n==null){var a=g.size,c,u,s=g.getAxis("x"),v=g.getAxis("y");s.type==="category"?c=s.getBandWidth()*.7:c=Math.round(a[0]/Math.sqrt(r.count()))*.6,v.type==="category"?u=v.getBandWidth()*.7:u=Math.round(a[1]/Math.sqrt(r.count()))*.6,n=[c,u]}else C.a.util.isArray(n)||(n=[n,n]);var e=g.getAxis("z").scale.getExtent(),t=d(e),i=["x","y","z"].map(function(f){return o.coordDimToDataDim(f)[0]});r.each(i,function(f,y,b,x){var A=r.get(i[2],x,!0),w=r.stackedOn?A-b:t?0:e[0],L=g.dataToPoint([f,y,w]),M=g.dataToPoint([f,y,A]),D=E.dist(L,M),B=[0,M[1]0&&(D++,b[3]<.99&&(w=!0))}}),t.geometry.setBarCount(D);var L=u.getLayout("orient"),M=this._barIndexOfData=new Int32Array(u.count()),D=0;u.each(function(I){if(!u.hasValue(I)){M[I]=-1;return}var U=u.getItemLayout(I),F=U[0],K=U[1],j=U[2],X=I*4;b[0]=x[X++],b[1]=x[X++],b[2]=x[X++],b[3]=x[X++],b[3]>0&&(e._barMesh.geometry.addBar(F,K,L,j,b,I),M[I]=D++)}),t.geometry.dirty(),t.geometry.updateBoundingBox();var B=t.material;B.transparent=w,B.depthMask=!w,t.geometry.sortTriangles=w,this._initHandler(a,c)},_initHandler:function(a,c){var u=a.getData(),s=this._barMesh,v=a.coordinateSystem.type==="cartesian3D";s.seriesIndex=a.seriesIndex;var e=-1;s.off("mousemove"),s.off("mouseout"),s.on("mousemove",function(t){var i=s.geometry.getDataIndexOfVertex(t.triangle[0]);i!==e&&(this._downplay(e),this._highlight(i),this._labelsBuilder.updateLabels([i]),v&&c.dispatchAction({type:"grid3DShowAxisPointer",value:[u.get("x",i),u.get("y",i),u.get("z",i,!0)]})),e=i,s.dataIndex=i},this),s.on("mouseout",function(t){this._downplay(e),this._labelsBuilder.updateLabels(),e=-1,s.dataIndex=-1,v&&c.dispatchAction({type:"grid3DHideAxisPointer"})},this)},_highlight:function(a){var c=this._data;if(c){var u=this._barIndexOfData[a];if(!(u<0)){var s=c.getItemModel(a),v=s.getModel("emphasis.itemStyle"),e=v.get("color"),t=v.get("opacity");if(e==null){var i=c.getItemVisual(a,"color");e=C.a.color.lift(i,-.4)}t==null&&(t=c.getItemVisual(a,"opacity"));var f=m.a.parseColor(e);f[3]*=t,this._barMesh.geometry.setColor(u,f),this._api.getZr().refresh()}}},_downplay:function(a){var c=this._data;if(c){var u=this._barIndexOfData[a];if(!(u<0)){var s=c.getItemVisual(a,"color"),v=c.getItemVisual(a,"opacity"),e=m.a.parseColor(s);e[3]*=v,this._barMesh.geometry.setColor(u,e),this._api.getZr().refresh()}}},highlight:function(a,c,u,s){this._toggleStatus("highlight",a,c,u,s)},downplay:function(a,c,u,s){this._toggleStatus("downplay",a,c,u,s)},_toggleStatus:function(a,c,u,s,v){var e=c.getData(),t=p.a.queryDataIndex(e,v),i=this;t!=null?C.a.util.each(E.a.normalizeToArray(t),function(f){a==="highlight"?this._highlight(f):this._downplay(f)},this):e.each(function(f){a==="highlight"?i._highlight(f):i._downplay(f)})},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(33),p=_(60),E=_(13),d=_(1),l=_.n(d),o=l.a.vec3,g=l.a.mat3,r=E.a.extend(function(){return{attributes:{position:new E.a.Attribute("position","float",3,"POSITION"),normal:new E.a.Attribute("normal","float",3,"NORMAL"),color:new E.a.Attribute("color","float",4,"COLOR"),prevPosition:new E.a.Attribute("prevPosition","float",3),prevNormal:new E.a.Attribute("prevNormal","float",3)},dynamic:!0,enableNormal:!1,bevelSize:1,bevelSegments:0,_dataIndices:null,_vertexOffset:0,_triangleOffset:0}},{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0},setBarCount:function(n){var a=this.enableNormal,c=this.getBarVertexCount()*n,u=this.getBarTriangleCount()*n;this.vertexCount!==c&&(this.attributes.position.init(c),a?this.attributes.normal.init(c):this.attributes.normal.value=null,this.attributes.color.init(c)),this.triangleCount!==u&&(this.indices=c>65535?new Uint32Array(u*3):new Uint16Array(u*3),this._dataIndices=new Uint32Array(c))},getBarVertexCount:function(){var n=this.bevelSize>0?this.bevelSegments:0;return n>0?this._getBevelBarVertexCount(n):this.enableNormal?24:8},getBarTriangleCount:function(){var n=this.bevelSize>0?this.bevelSegments:0;return n>0?this._getBevelBarTriangleCount(n):12},_getBevelBarVertexCount:function(n){return(n+1)*4*(n+1)*2},_getBevelBarTriangleCount:function(n){var a=n*4+3,c=n*2+1;return(a+1)*c*2+4},setColor:function(n,a){for(var c=this.getBarVertexCount(),u=c*n,s=c*(n+1),v=u;v0&&this.bevelSegments>0)this._addBevelBar(I,U,F,K,this.bevelSize,this.bevelSegments,j);else{o.copy(s,U),o.normalize(s,s),o.cross(v,F,s),o.normalize(v,v),o.cross(u,s,v),o.normalize(v,v),o.negate(e,u),o.negate(t,s),o.negate(i,v),a(f[0],I,u,K[0]/2),a(f[0],f[0],v,K[2]/2),a(f[1],I,u,K[0]/2),a(f[1],f[1],i,K[2]/2),a(f[2],I,e,K[0]/2),a(f[2],f[2],i,K[2]/2),a(f[3],I,e,K[0]/2),a(f[3],f[3],v,K[2]/2),a(c,I,s,K[1]),a(f[4],c,u,K[0]/2),a(f[4],f[4],v,K[2]/2),a(f[5],c,u,K[0]/2),a(f[5],f[5],i,K[2]/2),a(f[6],c,e,K[0]/2),a(f[6],f[6],i,K[2]/2),a(f[7],c,e,K[0]/2),a(f[7],f[7],v,K[2]/2);var se=this.attributes;if(this.enableNormal){y[0]=u,y[1]=e,y[2]=s,y[3]=t,y[4]=v,y[5]=i;for(var Q=this._vertexOffset,ve=0;ve=0){var Y=A*3,se=new l.a(this._points[Y],this._points[Y+1],this._points[Y+2]);f.push({dataIndex:A,point:se,pointWorld:se.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(se)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P){function _(N,C,m,p,E,d,l){if(E===0)return!1;var o=E,g=0,r=N;if(l>C+o&&l>p+o||lN+o&&d>m+o||dc?u.position[1]+=(s-c)/2:u.position[0]+=(s-a)/2;var v=u.getBoundingRect();return u.position[0]-=v.x,u.position[1]-=v.y,u.setStyle(g),u.update(),u.__size=s,u}function E(l,o,g){var r=o.width,n=o.height,a=l.canvas.width,c=l.canvas.height,u=r/a,s=n/c;function v(A){return A<128?1:-1}function e(A,w){var L=1/0;A=Math.floor(A*u),w=Math.floor(w*s);for(var M=w*r+A,D=o.data[M*4],B=v(D),I=Math.max(w-g,0);I=0;f--){var y;this.geometry.indices?y=this.geometry.indices[f]:y=f;var b=v[y*2],x=v[y*2+1],A=this.geometry.attributes.size.get(y)/this.sizeScale,w=A/2;if(r>b-w*t&&rx-w*i&&n=2e4},doSortVertices:function(E,d){var l=this.indices,o=p.create();if(!l){l=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var g=0;g.05);else for(var g=0;g<3;g++)this._progressiveQuickSort(d*3+g);this.dirtyIndices()},_simpleSort:function(E){var d=this._zList,l=this.indices;function o(g,r){return d[r]-d[g]}E?Array.prototype.sort.call(l,o):N.a.sort(l,o,0,l.length-1)},_progressiveQuickSort:function(E){var d=this._zList,l=this.indices;this._quickSort=this._quickSort||new N.a,this._quickSort.step(l,function(o,g){return d[g]-d[o]},E)}}},function(k,P,_){"use strict";P.a=`@export ecgl.sdfSprite.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform float elapsedTime : 0; attribute vec3 position : POSITION; #ifdef VERTEX_SIZE attribute float size; #else uniform float u_Size; #endif #ifdef VERTEX_COLOR attribute vec4 a_FillColor: COLOR; varying vec4 v_Color; #endif #ifdef VERTEX_ANIMATION attribute vec3 prevPosition; attribute float prevSize; uniform float percent : 1.0; #endif #ifdef POSITIONTEXTURE_ENABLED uniform sampler2D positionTexture; #endif varying float v_Size; void main() { #ifdef POSITIONTEXTURE_ENABLED gl_Position = worldViewProjection * vec4(texture2D(positionTexture, position.xy).xy, -10.0, 1.0); #else #ifdef VERTEX_ANIMATION vec3 pos = mix(prevPosition, position, percent); #else vec3 pos = position; #endif gl_Position = worldViewProjection * vec4(pos, 1.0); #endif #ifdef VERTEX_SIZE #ifdef VERTEX_ANIMATION v_Size = mix(prevSize, size, percent); #else v_Size = size; #endif #else v_Size = u_Size; #endif #ifdef VERTEX_COLOR v_Color = a_FillColor; #endif gl_PointSize = v_Size; } @end @export ecgl.sdfSprite.fragment uniform vec4 color: [1, 1, 1, 1]; uniform vec4 strokeColor: [1, 1, 1, 1]; uniform float smoothing: 0.07; uniform float lineWidth: 0.0; #ifdef VERTEX_COLOR varying vec4 v_Color; #endif varying float v_Size; uniform sampler2D sprite; @import clay.util.srgb void main() { gl_FragColor = color; vec4 _strokeColor = strokeColor; #ifdef VERTEX_COLOR gl_FragColor *= v_Color; #endif #ifdef SPRITE_ENABLED float d = texture2D(sprite, gl_PointCoord).r; gl_FragColor.a *= smoothstep(0.5 - smoothing, 0.5 + smoothing, d); if (lineWidth > 0.0) { float sLineWidth = lineWidth / 2.0; float outlineMaxValue0 = 0.5 + sLineWidth; float outlineMaxValue1 = 0.5 + sLineWidth + smoothing; float outlineMinValue0 = 0.5 - sLineWidth - smoothing; float outlineMinValue1 = 0.5 - sLineWidth; if (d <= outlineMaxValue1 && d >= outlineMinValue0) { float a = _strokeColor.a; if (d <= outlineMinValue1) { a = a * smoothstep(outlineMinValue0, outlineMinValue1, d); } else { a = a * smoothstep(outlineMaxValue1, outlineMaxValue0, d); } gl_FragColor.rgb = mix(gl_FragColor.rgb * gl_FragColor.a, _strokeColor.rgb, a); gl_FragColor.a = gl_FragColor.a * (1.0 - a) + a; } } #endif #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(gl_FragColor); #endif } @end`},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(221),p=_(222),E=_(225),d=_(16);C.a.registerVisual(Object(d.a)("lines3D")),C.a.registerAction({type:"lines3DPauseEffect",event:"lines3deffectpaused",update:"series.lines3D:pauseEffect"},function(){}),C.a.registerAction({type:"lines3DResumeEffect",event:"lines3deffectresumed",update:"series.lines3D:resumeEffect"},function(){}),C.a.registerAction({type:"lines3DToggleEffect",event:"lines3deffectchanged",update:"series.lines3D:toggleEffect"},function(){})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(1),p=_.n(m),E=p.a.vec3,d=p.a.vec2,l=E.normalize,o=E.cross,g=E.sub,r=E.add,n=E.create,a=n(),c=n(),u=n(),s=n(),v=[],e=[];function t(A,w){d.copy(v,A[0]),d.copy(e,A[1]);var L=[],M=L[0]=n(),D=L[1]=n(),B=L[2]=n(),I=L[3]=n();w.dataToPoint(v,M),w.dataToPoint(e,I),l(a,M),g(c,I,M),l(c,c),o(u,c,a),l(u,u),o(c,a,u),r(D,a,c),l(D,D),l(a,I),g(c,M,I),l(c,c),o(u,c,a),l(u,u),o(c,a,u),r(B,a,c),l(B,B),r(s,M,I),l(s,s);var U=E.dot(M,s),F=E.dot(s,D),K=(Math.max(E.len(M),E.len(I))-U)/F*2;return E.scaleAndAdd(D,M,D,K),E.scaleAndAdd(B,I,B,K),L}function i(A,w,L){var M=[],D=M[0]=E.create(),B=M[1]=E.create(),I=M[2]=E.create(),U=M[3]=E.create();w.dataToPoint(A[0],D),w.dataToPoint(A[1],U);var F=E.dist(D,U);return E.lerp(B,D,U,.3),E.lerp(I,D,U,.3),E.scaleAndAdd(B,B,L,Math.min(F*.1,10)),E.scaleAndAdd(I,I,L,Math.min(F*.1,10)),M}function f(A,w){for(var L=new Float32Array(A.length*3),M=0,D=[],B=0;B0&&D[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(D)+". Lines must have 2d coords array in data item.");w.push(D)}),{coordsList:w}}function b(A,w){var L=A.getData(),M=A.get("polyline");L.setLayout("lineType",M?"polyline":"cubicBezier");var D=y(L);L.each(function(B){var I=D.coordsList[B],U=M?f:t;L.setItemLayout(B,U(I,w))})}function x(A,w,L){var M=A.getData(),D=A.get("polyline"),B=y(M);M.setLayout("lineType",D?"polyline":"cubicBezier"),M.each(function(I){var U=B.coordsList[I],F=D?f(U,w):i(U,w,L);M.setItemLayout(I,F)})}C.a.registerLayout(function(A,w){A.eachSeriesByType("lines3D",function(L){var M=L.coordinateSystem;M.type==="globe"?b(L,M):M.type==="geo3D"?x(L,M,[0,1,0]):M.type==="mapbox3D"&&x(L,M,[0,0,1])})})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(22),E=_(223),d=_(40);m.a.Shader.import(d.a);function l(g){return g.radius!=null?g.radius:g.size!=null?Math.max(g.size[0],g.size[1],g.size[2]):100}var o=C.a.extendChartView({type:"lines3D",__ecgl__:!0,init:function(g,r){this.groupGL=new m.a.Node,this._meshLinesMaterial=new m.a.Material({shader:m.a.createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new m.a.Mesh({geometry:new p.a,material:this._meshLinesMaterial,$ignorePicking:!0}),this._trailMesh=new E.a},render:function(g,r,n){this.groupGL.add(this._linesMesh);var a=g.coordinateSystem,c=g.getData();if(a&&a.viewGL){var u=a.viewGL;u.add(this.groupGL),this._updateLines(g,r,n);var s=a.viewGL.isLinearSpace()?"define":"undefine";this._linesMesh.material[s]("fragment","SRGB_DECODE"),this._trailMesh.material[s]("fragment","SRGB_DECODE")}var v=this._trailMesh;if(v.stopAnimation(),g.get("effect.show")){this.groupGL.add(v),v.updateData(c,n,this._linesMesh.geometry),v.__time=v.__time||0;var e=3600*1e3;this._curveEffectsAnimator=v.animate("",{loop:!0}).when(e,{__time:e}).during(function(){v.setAnimationTime(v.__time)}).start()}else this.groupGL.remove(v),this._curveEffectsAnimator=null;this._linesMesh.material.blend=this._trailMesh.material.blend=g.get("blendMode")==="lighter"?m.a.additiveBlend:null},pauseEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.pause()},resumeEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.resume()},toggleEffect:function(){var g=this._curveEffectsAnimator;g&&(g.isPaused()?g.resume():g.pause())},_updateLines:function(g,r,n){var a=g.getData(),c=g.coordinateSystem,u=this._linesMesh.geometry,s=g.get("polyline");u.expandLine=!0;var v=l(c);u.segmentScale=v/20;var e="lineStyle.width".split("."),t=n.getDevicePixelRatio(),i=0;a.each(function(x){var A=a.getItemModel(x),w=A.get(e);w==null&&(w=1),a.setItemVisual(x,"lineWidth",w),i=Math.max(w,i)}),u.useNativeLine=!1;var f=0,y=0;a.each(function(x){var A=a.getItemLayout(x);s?(f+=u.getPolylineVertexCount(A),y+=u.getPolylineTriangleCount(A)):(f+=u.getCubicCurveVertexCount(A[0],A[1],A[2],A[3]),y+=u.getCubicCurveTriangleCount(A[0],A[1],A[2],A[3]))}),u.setVertexCount(f),u.setTriangleCount(y),u.resetOffset();var b=[];a.each(function(x){var A=a.getItemLayout(x),w=a.getItemVisual(x,"color"),L=a.getItemVisual(x,"opacity"),M=a.getItemVisual(x,"lineWidth")*t;L==null&&(L=1),b=m.a.parseColor(w,b),b[3]*=L,s?u.addPolyline(A,b,M):u.addCubicCurve(A[0],A[1],A[2],A[3],b,M)}),u.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(1),E=_.n(p),d=_(22),l=_(224),o=E.a.vec3;function g(r){return r>0?1:-1}m.a.Shader.import(l.a),P.a=m.a.Mesh.extend(function(){var r=new m.a.Material({shader:new m.a.Shader(m.a.Shader.source("ecgl.trail2.vertex"),m.a.Shader.source("ecgl.trail2.fragment")),transparent:!0,depthMask:!1}),n=new d.a({dynamic:!0});return n.createAttribute("dist","float",1),n.createAttribute("distAll","float",1),n.createAttribute("start","float",1),{geometry:n,material:r,culling:!1,$ignorePicking:!0}},{updateData:function(r,n,a){var c=r.hostModel,u=this.geometry,s=c.getModel("effect"),v=s.get("trailWidth")*n.getDevicePixelRatio(),e=s.get("trailLength"),t=c.get("effect.constantSpeed"),i=c.get("effect.period")*1e3,f=t!=null;this.getScene()||console.error("TrailMesh must been add to scene before updateData"),f?this.material.set("speed",t/1e3):this.material.set("period",i),this.material[f?"define":"undefine"]("vertex","CONSTANT_SPEED");var y=c.get("polyline");u.trailLength=e,this.material.set("trailLength",e),u.resetOffset(),["position","positionPrev","positionNext"].forEach(function(K){u.attributes[K].value=a.attributes[K].value});var b=["dist","distAll","start","offset","color"];b.forEach(function(K){u.attributes[K].init(u.vertexCount)}),u.indices=a.indices;var x=[],A=s.get("trailColor"),w=s.get("trailOpacity"),L=A!=null,M=w!=null;this.updateWorldTransform();var D=this.worldTransform.x.len(),B=this.worldTransform.y.len(),I=this.worldTransform.z.len(),U=0,F=0;r.each(function(K){var j=r.getItemLayout(K),X=M?w:r.getItemVisual(K,"opacity"),Y=r.getItemVisual(K,"color");X==null&&(X=1),x=m.a.parseColor(L?A:Y,x),x[3]*=X;for(var se=y?a.getPolylineVertexCount(j):a.getCubicCurveVertexCount(j[0],j[1],j[2],j[3]),Q=0,ve=[],xe=[],Ce=U;CeU&&(Q+=o.dist(ve,xe)),u.attributes.dist.set(Ce,Q),o.copy(xe,ve);F=Math.max(F,Q);for(var De=Math.random()*(f?Q:i),Ce=U;Ce 1.0 || v_Percent < 0.0) { discard; } float fade = v_Percent; #ifdef SRGB_DECODE gl_FragColor = sRGBToLinear(color * v_Color); #else gl_FragColor = color * v_Color; #endif @import ecgl.common.wireframe.fragmentMain if (v_Percent > (1.0 - v_SpotPercent)) { gl_FragColor.rgb *= spotIntensity; } gl_FragColor.a *= fade; } @end`},function(k,P,_){"use strict";var N=_(0),C=_.n(N);C.a.extendSeriesModel({type:"series.lines3D",dependencies:["globe"],visualColorAccessPath:"lineStyle.color",getInitialData:function(m,p){var E=new C.a.List(["value"],this);return E.hasItemOption=!1,E.initData(m.data,[],function(d,l,o,g){if(d instanceof Array)return NaN;E.hasItemOption=!0;var r=d.value;if(r!=null)return r instanceof Array?r[g]:r}),E},defaultOption:{coordinateSystem:"globe",globeIndex:0,geo3DIndex:0,zlevel:-10,polyline:!1,effect:{show:!1,period:4,trailWidth:4,trailLength:.2,spotIntensity:6},silent:!0,blendMode:"source-over",lineStyle:{width:1,opacity:.5}}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(227),p=_(228),E=_(16);C.a.registerVisual(Object(E.a)("polygons3D"))},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(26);function p(l,o){for(var g=[],r=0;r0;this._updateSurfaceMesh(this._surfaceMesh,r,f,x);var A=this._surfaceMesh.material;x?(A.define("WIREFRAME_QUAD"),A.set("wireframeLineWidth",b),A.set("wireframeLineColor",m.a.parseColor(y.get("lineStyle.color")))):A.undefine("WIREFRAME_QUAD"),this._initHandler(r,a),this._updateAnimation(r)},_updateAnimation:function(r){m.a.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,r)},_createSurfaceMesh:function(){var r=new m.a.Mesh({geometry:new m.a.Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new m.a.Material({shader:new m.a.Shader(m.a.Shader.source("ecgl.sm.depth.vertex"),m.a.Shader.source("ecgl.sm.depth.fragment"))}),culling:!1,renderOrder:10,renderNormal:!0});return r.geometry.createAttribute("barycentric","float",4),r.geometry.createAttribute("prevPosition","float",3),r.geometry.createAttribute("prevNormal","float",3),C.a.util.extend(r.geometry,l.a),r},_initHandler:function(r,n){var a=r.getData(),c=this._surfaceMesh,u=r.coordinateSystem;function s(e,t){for(var i=1/0,f=-1,y=[],b=0;b=0){var i=[];c.geometry.attributes.position.get(t,i);for(var f=u.pointToData(i),y=1/0,b=-1,x=[],A=0;A65535?Uint32Array:Uint16Array)((A-1)*(w-1)*6),F=function(fe,be,te){te[1]=fe*w+be,te[0]=fe*w+be+1,te[3]=(fe+1)*w+be+1,te[2]=(fe+1)*w+be},K=!1;if(t){var j=[],X=[],Y=0;M?f.init(u.vertexCount):f.value=null;for(var se=[[],[],[]],Q=[],ve=[],xe=o.create(),Ce=function(fe,be,te){var ce=be*3;return te[0]=fe[ce],te[1]=fe[ce+1],te[2]=fe[ce+2],te},De=new Float32Array(v.length),Ue=new Float32Array(v.length/3*4),Me=0;Me ")),n.value&&(s+=" : "+C.a.format.encodeHTML(n.value)),s}else return E.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var l=(this.option.categories||[]).map(function(g){return g.value!=null?g:C.a.util.extend({value:0},g)}),o=new C.a.List(["value"],this);o.initData(l),this._categoriesData=o,this._categoriesModels=o.mapArray(function(g){return o.getItemModel(g,!0)})},setView:function(l){l.zoom!=null&&(this.option.zoom=l.zoom),l.offset!=null&&(this.option.offset=l.offset)},setNodePosition:function(l){for(var o=0;o "+f)),e++)}var y,b=C.a.helper.completeDimensions(["value"],o);y=new C.a.List(b,r),y.initData(o);var x=new C.a.List(["value"],r);return x.initData(v,s),a&&a(y,x),d()({mainData:y,struct:c,structAttr:"graph",datas:{node:y,edge:x},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}},function(k,P,_){var N=_(85),C=N.__DEV__,m=_(12),p=_(244),E=p.enableClassCheck;function d(c){return"_EC_"+c}var l=function(c){this._directed=c||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},o=l.prototype;o.type="graph",o.isDirected=function(){return this._directed},o.addNode=function(c,u){c=c||""+u;var s=this._nodesMap;if(!s[d(c)]){var v=new g(c,u);return v.hostGraph=this,this.nodes.push(v),s[d(c)]=v,v}},o.getNodeByIndex=function(c){var u=this.data.getRawIndex(c);return this.nodes[u]},o.getNodeById=function(c){return this._nodesMap[d(c)]},o.addEdge=function(c,u,s){var v=this._nodesMap,e=this._edgesMap;if(typeof c=="number"&&(c=this.nodes[c]),typeof u=="number"&&(u=this.nodes[u]),g.isInstance(c)||(c=v[d(c)]),g.isInstance(u)||(u=v[d(u)]),!(!c||!u)){var t=c.id+"-"+u.id;if(!e[t]){var i=new r(c,u,s);return i.hostGraph=this,this._directed&&(c.outEdges.push(i),u.inEdges.push(i)),c.edges.push(i),c!==u&&u.edges.push(i),this.edges.push(i),e[t]=i,i}}},o.getEdgeByIndex=function(c){var u=this.edgeData.getRawIndex(c);return this.edges[u]},o.getEdge=function(c,u){g.isInstance(c)&&(c=c.id),g.isInstance(u)&&(u=u.id);var s=this._edgesMap;return this._directed?s[c+"-"+u]:s[c+"-"+u]||s[u+"-"+c]},o.eachNode=function(c,u){for(var s=this.nodes,v=s.length,e=0;e=0&&c.call(u,s[e],e)},o.eachEdge=function(c,u){for(var s=this.edges,v=s.length,e=0;e=0&&s[e].node1.dataIndex>=0&&s[e].node2.dataIndex>=0&&c.call(u,s[e],e)},o.breadthFirstTraverse=function(c,u,s,v){if(g.isInstance(u)||(u=this._nodesMap[d(u)]),!!u){for(var e=s==="out"?"outEdges":s==="in"?"inEdges":"edges",t=0;t=0&&f.node2.dataIndex>=0});for(var e=0,t=v.length;e=0&&this[c][u].setItemVisual(this.dataIndex,s,v)},getVisual:function(s,v){return this[c][u].getItemVisual(this.dataIndex,s,v)},setLayout:function(s,v){this.dataIndex>=0&&this[c][u].setItemLayout(this.dataIndex,s,v)},getLayout:function(){return this[c][u].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[c][u].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[c][u].getRawIndex(this.dataIndex)}}};m.mixin(g,n("hostGraph","data")),m.mixin(r,n("hostGraph","edgeData")),l.Node=g,l.Edge=r,E(g),E(r);var a=l;k.exports=a},function(k,P){var _;_=function(){return this}();try{_=_||Function("return this")()||(0,eval)("this")}catch(N){typeof window=="object"&&(_=window)}k.exports=_},function(k,P,_){var N=_(85),C=N.__DEV__,m=_(12),p=".",E="___EC__COMPONENT__CONTAINER___";function d(s){var v={main:"",sub:""};return s&&(s=s.split(p),v.main=s[0]||"",v.sub=s[1]||""),v}function l(s){m.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(s),'componentType "'+s+'" illegal')}function o(s,v){s.$constructor=s,s.extend=function(e){var t=this,i=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return m.extend(i.prototype,e),i.extend=this.extend,i.superCall=n,i.superApply=a,m.inherits(i,this),i.superClass=t,i}}var g=0;function r(s){var v=["__\0is_clz",g++,Math.random().toFixed(3)].join("_");s.prototype[v]=!0,s.isInstance=function(e){return!!(e&&e[v])}}function n(s,v){var e=m.slice(arguments,2);return this.superClass.prototype[v].apply(s,e)}function a(s,v,e){return this.superClass.prototype[v].apply(s,e)}function c(s,v){v=v||{};var e={};s.registerClass=function(f,y){if(y){if(l(y),y=d(y),!y.sub)e[y.main]=f;else if(y.sub!==E){var b=t(y);b[y.sub]=f}}return f},s.getClass=function(f,y,b){var x=e[f];if(x&&x[E]&&(x=y?x[y]:null),b&&!x)throw new Error(y?"Component "+f+"."+(y||"")+" not exists. Load it first.":f+".type should be specified.");return x},s.getClassesByMainType=function(f){f=d(f);var y=[],b=e[f.main];return b&&b[E]?m.each(b,function(x,A){A!==E&&y.push(x)}):y.push(b),y},s.hasClass=function(f){return f=d(f),!!e[f.main]},s.getAllClassMainTypes=function(){var f=[];return m.each(e,function(y,b){f.push(b)}),f},s.hasSubTypes=function(f){f=d(f);var y=e[f.main];return y&&y[E]},s.parseClassType=d;function t(f){var y=e[f.main];return(!y||!y[E])&&(y=e[f.main]={},y[E]=!0),y}if(v.registerWhenExtend){var i=s.extend;i&&(s.extend=function(f){var y=i.call(this,f);return s.registerClass(y,f.type)})}return s}function u(s,v){}P.parseClassType=d,P.enableClassExtend=o,P.enableClassCheck=r,P.enableClassManagement=c,P.setReadOnly=u},function(k,P,_){var N=_(12),C=N.each,m="\0__link_datas",p="\0__link_mainData";function E(u){var s=u.mainData,v=u.datas;v||(v={main:s},u.datasAttr={main:"data"}),u.datas=u.mainData=null,n(s,v,u),C(v,function(e){C(s.TRANSFERABLE_METHODS,function(t){e.wrapMethod(t,N.curry(d,u))})}),s.wrapMethod("cloneShallow",N.curry(o,u)),C(s.CHANGABLE_METHODS,function(e){s.wrapMethod(e,N.curry(l,u))}),N.assert(v[s.dataType]===s)}function d(u,s){if(r(this)){var v=N.extend({},this[m]);v[this.dataType]=s,n(s,v,u)}else a(s,this.dataType,this[p],u);return s}function l(u,s){return u.struct&&u.struct.update(this),s}function o(u,s){return C(s[m],function(v,e){v!==s&&a(v.cloneShallow(),e,s,u)}),s}function g(u){var s=this[p];return u==null||s==null?s:s[m][u]}function r(u){return u[p]===u}function n(u,s,v){u[m]={},C(s,function(e,t){a(e,t,u,v)})}function a(u,s,v,e){v[m][s]=u,u[p]=v,u.dataType=s,e.struct&&(u[e.structAttr]=e.struct,e.struct[e.datasAttr[s]]=u),u.getLinkedData=g}var c=E;k.exports=c},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(41),p=_.n(m),E=_(2),d=_(20),l=_(86),o=_(3),g=_(247),r=_(249),n=_(65),a=_.n(n),c=_(1),u=_.n(c),s=_(251),v=_(62),e=_(252),t=u.a.vec2;E.a.Shader.import(e.a);var i=1;C.a.extendChartView({type:"graphGL",__ecgl__:!0,init:function(f,y){this.groupGL=new E.a.Node,this.viewGL=new d.a("orthographic"),this.viewGL.camera.left=this.viewGL.camera.right=0,this.viewGL.add(this.groupGL),this._pointsBuilder=new v.a(!0,y),this._forceEdgesMesh=new E.a.Mesh({material:new E.a.Material({shader:E.a.createShader("ecgl.forceAtlas2.edges"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new E.a.Geometry({attributes:{node:new E.a.Geometry.Attribute("node","float",2),color:new E.a.Geometry.Attribute("color","float",4,"COLOR")},dynamic:!0,mainAttribute:"node"}),renderOrder:-1,mode:E.a.Mesh.LINES}),this._edgesMesh=new E.a.Mesh({material:new E.a.Material({shader:E.a.createShader("ecgl.meshLines2D"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new l.a({useNativeLine:!1,dynamic:!0}),renderOrder:-1,culling:!1}),this._layoutId=0,this._control=new s.a({zr:y.getZr(),viewGL:this.viewGL}),this._control.setTarget(this.groupGL),this._control.init(),this._clickHandler=this._clickHandler.bind(this)},render:function(f,y,b){this.groupGL.add(this._pointsBuilder.rootNode),this._model=f,this._api=b,this._initLayout(f,y,b),this._pointsBuilder.update(f,y,b),this._forceLayoutInstance instanceof g.a||this.groupGL.remove(this._forceEdgesMesh),this._updateCamera(f,b),this._control.off("update"),this._control.on("update",function(){b.dispatchAction({type:"graphGLRoam",seriesId:f.id,zoom:this._control.getZoom(),offset:this._control.getOffset()}),this._pointsBuilder.updateView(this.viewGL.camera)},this),this._control.setZoom(o.a.firstNotNull(f.get("zoom"),1)),this._control.setOffset(f.get("offset")||[0,0]);var x=this._pointsBuilder.getPointsMesh();if(x.off("mousemove",this._mousemoveHandler),x.off("mouseout",this._mouseOutHandler,this),b.getZr().off("click",this._clickHandler),this._pointsBuilder.highlightOnMouseover=!0,f.get("focusNodeAdjacency")){var A=f.get("focusNodeAdjacencyOn");A==="click"?b.getZr().on("click",this._clickHandler):A==="mouseover"?(x.on("mousemove",this._mousemoveHandler,this),x.on("mouseout",this._mouseOutHandler,this),this._pointsBuilder.highlightOnMouseover=!1):console.warn("Unkown focusNodeAdjacencyOn value s"+A)}this._lastMouseOverDataIndex=-1},_clickHandler:function(f){if(!this._layouting){var y=this._pointsBuilder.getPointsMesh().dataIndex;y>=0?this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:y}):this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id})}},_mousemoveHandler:function(f){if(!this._layouting){var y=this._pointsBuilder.getPointsMesh().dataIndex;y>=0?y!==this._lastMouseOverDataIndex&&this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:y}):this._mouseOutHandler(f),this._lastMouseOverDataIndex=y}},_mouseOutHandler:function(f){this._layouting||(this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id}),this._lastMouseOverDataIndex=-1)},_updateForceEdgesGeometry:function(f,y){var b=this._forceEdgesMesh.geometry,x=y.getEdgeData(),A=0,w=this._forceLayoutInstance,L=x.count()*2;b.attributes.node.init(L),b.attributes.color.init(L),x.each(function(M){var D=f[M];b.attributes.node.set(A,w.getNodeUV(D.node1)),b.attributes.node.set(A+1,w.getNodeUV(D.node2));var B=x.getItemVisual(D.dataIndex,"color"),I=E.a.parseColor(B);I[3]*=o.a.firstNotNull(x.getItemVisual(D.dataIndex,"opacity"),1),b.attributes.color.set(A,I),b.attributes.color.set(A+1,I),A+=2}),b.dirty()},_updateMeshLinesGeometry:function(){var y=this._model.getEdgeData(),f=this._edgesMesh.geometry,y=this._model.getEdgeData(),b=this._model.getData().getLayout("points");f.resetOffset(),f.setVertexCount(y.count()*f.getLineVertexCount()),f.setTriangleCount(y.count()*f.getLineTriangleCount());var x=[],A=[],w=["lineStyle","width"];this._originalEdgeColors=new Float32Array(y.count()*4),this._edgeIndicesMap=new Float32Array(y.count()),y.each(function(L){var M=y.graph.getEdgeByIndex(L),D=M.node1.dataIndex*2,B=M.node2.dataIndex*2;x[0]=b[D],x[1]=b[D+1],A[0]=b[B],A[1]=b[B+1];var I=y.getItemVisual(M.dataIndex,"color"),U=E.a.parseColor(I);U[3]*=o.a.firstNotNull(y.getItemVisual(M.dataIndex,"opacity"),1);var F=y.getItemModel(M.dataIndex),K=o.a.firstNotNull(F.get(w),1)*this._api.getDevicePixelRatio();f.addLine(x,A,U,K);for(var j=0;j<4;j++)this._originalEdgeColors[M.dataIndex*4+j]=U[j];this._edgeIndicesMap[M.dataIndex]=L},!1,this),f.dirty()},_updateForceNodesGeometry:function(f){for(var y=this._pointsBuilder.getPointsMesh(),b=[],x=0;x=j&&(B._syncNodePosition(f),K=0),w.getZr().refresh(),a()(function(){X(Y)})})}};a()(function(){B._forceLayoutInstanceToDispose&&(B._forceLayoutInstanceToDispose.dispose(A.layer.renderer),B._forceLayoutInstanceToDispose=null),X(I)}),this._layouting=!0}}},stopLayout:function(f,y,b,x){x&&x.from!=null&&x.from!==this.uid||(this._layoutId=0,this.groupGL.remove(this._forceEdgesMesh),this.groupGL.add(this._edgesMesh),this._forceLayoutInstance&&this.viewGL.layer&&(x&&x.beforeLayout||(this._syncNodePosition(f),this._updateAfterLayout(f,y,b)),this._api.getZr().refresh(),this._layouting=!1))},_syncNodePosition:function(f){var y=this._forceLayoutInstance.getNodePosition(this.viewGL.layer.renderer);f.getData().setLayout("points",y),f.setNodePosition(y)},_updateAfterLayout:function(f,y,b){this._updateMeshLinesGeometry(),this._pointsBuilder.removePositionTexture(),this._pointsBuilder.updateLayout(f,y,b),this._pointsBuilder.updateView(this.viewGL.camera),this._pointsBuilder.updateLabels(),this._pointsBuilder.showLabels()},focusNodeAdjacency:function(f,y,b,x){var A=this._model.getData();this._downplayAll();var w=x.dataIndex,L=A.graph,M=[],D=L.getNodeByIndex(w);M.push(D),D.edges.forEach(function(I){I.dataIndex<0||(I.node1!==D&&M.push(I.node1),I.node2!==D&&M.push(I.node2))},this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),M.forEach(function(I){this._pointsBuilder.highlight(A,I.dataIndex)},this),this._pointsBuilder.updateLabels(M.map(function(I){return I.dataIndex}));var B=[];D.edges.forEach(function(I){I.dataIndex>=0&&(this._highlightEdge(I.dataIndex),B.push(I))},this),this._focusNodes=M,this._focusEdges=B},unfocusNodeAdjacency:function(f,y,b,x){this._downplayAll(),this._pointsBuilder.fadeInAll(),this._fadeInEdgesAll(),this._pointsBuilder.updateLabels()},_highlightEdge:function(f){var y=this._model.getEdgeData().getItemModel(f),b=E.a.parseColor(y.get("emphasis.lineStyle.color")||y.get("lineStyle.color")),x=o.a.firstNotNull(y.get("emphasis.lineStyle.opacity"),y.get("lineStyle.opacity"),1);b[3]*=x,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[f],b)},_downplayAll:function(){this._focusNodes&&this._focusNodes.forEach(function(f){this._pointsBuilder.downplay(this._model.getData(),f.dataIndex)},this),this._focusEdges&&this._focusEdges.forEach(function(f){this._downplayEdge(f.dataIndex)},this)},_downplayEdge:function(f){var y=this._getColor(f,[]);this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[f],y)},_setEdgeFade:function(){var f=[];return function(y,b){this._getColor(y,f),f[3]*=b,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[y],f)}}(),_getColor:function(f,y){for(var b=0;b<4;b++)y[b]=this._originalEdgeColors[f*4+b];return y},_fadeOutEdgesAll:function(f){var y=this._model.getData().graph;y.eachEdge(function(b){this._setEdgeFade(b.dataIndex,f)},this)},_fadeInEdgesAll:function(){this._fadeOutEdgesAll(1)},_updateCamera:function(f,y){this.viewGL.setViewport(0,0,y.getWidth(),y.getHeight(),y.getDevicePixelRatio());for(var b=this.viewGL.camera,x=f.getData(),A=x.getLayout("points"),w=t.create(1/0,1/0),L=t.create(-1/0,-1/0),M=[],D=0;Db.left&&Ib.top)){var U=Math.max(L[0]-w[0],10),F=U/y.getWidth()*y.getHeight();U*=1.4,F*=1.4,w[0]-=U*.2,b.left=w[0],b.top=B-F/2,b.bottom=B+F/2,b.right=U+w[0],b.near=0,b.far=100}},dispose:function(){var f=this.viewGL.layer.renderer;this._forceLayoutInstance&&this._forceLayoutInstance.dispose(f),this.groupGL.removeAll(),this._layoutId=-1},remove:function(){this.groupGL.removeAll(),this._control.dispose()}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(14),E=_(10),d=_(248);m.a.Shader.import(d.a);var l={repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null};function o(g){var r={type:m.a.Texture.FLOAT,minFilter:m.a.Texture.NEAREST,magFilter:m.a.Texture.NEAREST};this._positionSourceTex=new m.a.Texture2D(r),this._positionSourceTex.flipY=!1,this._positionTex=new m.a.Texture2D(r),this._positionPrevTex=new m.a.Texture2D(r),this._forceTex=new m.a.Texture2D(r),this._forcePrevTex=new m.a.Texture2D(r),this._weightedSumTex=new m.a.Texture2D(r),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new m.a.Texture2D(r),this._globalSpeedPrevTex=new m.a.Texture2D(r),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new p.a({fragment:m.a.Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new p.a({fragment:m.a.Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new p.a({fragment:m.a.Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new p.a({fragment:m.a.Shader.source("clay.compositor.output")});var n=function(a){a.blendEquation(a.FUNC_ADD),a.blendFunc(a.ONE,a.ONE)};this._edgeForceMesh=new m.a.Mesh({geometry:new m.a.Geometry({attributes:{node1:new m.a.Geometry.Attribute("node1","float",2),node2:new m.a.Geometry.Attribute("node2","float",2),weight:new m.a.Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new m.a.Material({transparent:!0,shader:m.a.createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:m.a.Mesh.POINTS}),this._weightedSumMesh=new m.a.Mesh({geometry:new m.a.Geometry({attributes:{node:new m.a.Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new m.a.Material({transparent:!0,shader:m.a.createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:m.a.Mesh.POINTS}),this._framebuffer=new E.a({depthBuffer:!1}),this._dummyCamera=new m.a.OrthographicCamera({left:-1,right:1,top:1,bottom:-1,near:0,far:100}),this._globalSpeed=0}o.prototype.updateOption=function(g){for(var r in l)this[r]=l[r];var n=this._nodes.length;if(n>5e4?this.jitterTolerence=10:n>5e3?this.jitterTolerence=1:this.jitterTolerence=.1,n>100?this.scaling=2:this.scaling=10,g)for(var r in l)g[r]!=null&&(this[r]=g[r]);if(this.repulsionByDegree)for(var a=this._positionSourceTex.pixels,c=0;cg},o.prototype._swapTexture=function(){var g=this._positionPrevTex;this._positionPrevTex=this._positionTex,this._positionTex=g;var g=this._forcePrevTex;this._forcePrevTex=this._forceTex,this._forceTex=g;var g=this._globalSpeedPrevTex;this._globalSpeedPrevTex=this._globalSpeedTex,this._globalSpeedTex=g},o.prototype._initFromSource=function(g){this._framebuffer.attach(this._positionPrevTex),this._framebuffer.bind(g),this._copyPass.setUniform("texture",this._positionSourceTex),this._copyPass.render(g),g.gl.clearColor(0,0,0,0),this._framebuffer.attach(this._forcePrevTex),g.gl.clear(g.gl.COLOR_BUFFER_BIT),this._framebuffer.attach(this._globalSpeedPrevTex),g.gl.clear(g.gl.COLOR_BUFFER_BIT),this._framebuffer.unbind(g)},o.prototype._resize=function(g,r){["_positionSourceTex","_positionTex","_positionPrevTex","_forceTex","_forcePrevTex"].forEach(function(n){this[n].width=g,this[n].height=r,this[n].dirty()},this)},o.prototype.dispose=function(g){this._framebuffer.dispose(g),this._copyPass.dispose(g),this._nodeRepulsionPass.dispose(g),this._positionPass.dispose(g),this._globalSpeedPass.dispose(g),this._edgeForceMesh.geometry.dispose(g),this._weightedSumMesh.geometry.dispose(g),this._positionSourceTex.dispose(g),this._positionTex.dispose(g),this._positionPrevTex.dispose(g),this._forceTex.dispose(g),this._forcePrevTex.dispose(g),this._weightedSumTex.dispose(g),this._globalSpeedTex.dispose(g),this._globalSpeedPrevTex.dispose(g)},C.a.ForceAtlas2GPU=o,P.a=o},function(k,P,_){"use strict";P.a=`@export ecgl.forceAtlas2.updateNodeRepulsion #define NODE_COUNT 0 uniform sampler2D positionTex; uniform vec2 textureSize; uniform float gravity; uniform float scaling; uniform vec2 gravityCenter; uniform bool strongGravityMode; uniform bool preventOverlap; varying vec2 v_Texcoord; void main() { vec4 n0 = texture2D(positionTex, v_Texcoord); vec2 force = vec2(0.0); for (int i = 0; i < NODE_COUNT; i++) { vec2 uv = vec2( mod(float(i), textureSize.x) / (textureSize.x - 1.0), floor(float(i) / textureSize.x) / (textureSize.y - 1.0) ); vec4 n1 = texture2D(positionTex, uv); vec2 dir = n0.xy - n1.xy; float d2 = dot(dir, dir); if (d2 > 0.0) { float factor = 0.0; if (preventOverlap) { float d = sqrt(d2); d = d - n0.w - n1.w; if (d > 0.0) { factor = scaling * n0.z * n1.z / (d * d); } else if (d < 0.0) { factor = scaling * 100.0 * n0.z * n1.z; } } else { factor = scaling * n0.z * n1.z / d2; } force += dir * factor; } } vec2 dir = gravityCenter - n0.xy; float d = 1.0; if (!strongGravityMode) { d = length(dir); } force += dir * n0.z * gravity / (d + 1.0); gl_FragColor = vec4(force, 0.0, 1.0); } @end @export ecgl.forceAtlas2.updateEdgeAttraction.vertex attribute vec2 node1; attribute vec2 node2; attribute float weight; uniform sampler2D positionTex; uniform float edgeWeightInfluence; uniform bool preventOverlap; uniform bool linLogMode; uniform vec2 windowSize: WINDOW_SIZE; varying vec2 v_Force; void main() { vec4 n0 = texture2D(positionTex, node1); vec4 n1 = texture2D(positionTex, node2); vec2 dir = n1.xy - n0.xy; float d = length(dir); float w; if (edgeWeightInfluence == 0.0) { w = 1.0; } else if (edgeWeightInfluence == 1.0) { w = weight; } else { w = pow(weight, edgeWeightInfluence); } vec2 offset = vec2(1.0 / windowSize.x, 1.0 / windowSize.y); vec2 scale = vec2((windowSize.x - 1.0) / windowSize.x, (windowSize.y - 1.0) / windowSize.y); vec2 pos = node1 * scale * 2.0 - 1.0; gl_Position = vec4(pos + offset, 0.0, 1.0); gl_PointSize = 1.0; float factor; if (preventOverlap) { d = d - n1.w - n0.w; } if (d <= 0.0) { v_Force = vec2(0.0); return; } if (linLogMode) { factor = w * log(d) / d; } else { factor = w; } v_Force = dir * factor; } @end @export ecgl.forceAtlas2.updateEdgeAttraction.fragment varying vec2 v_Force; void main() { gl_FragColor = vec4(v_Force, 0.0, 0.0); } @end @export ecgl.forceAtlas2.calcWeightedSum.vertex attribute vec2 node; varying vec2 v_NodeUv; void main() { v_NodeUv = node; gl_Position = vec4(0.0, 0.0, 0.0, 1.0); gl_PointSize = 1.0; } @end @export ecgl.forceAtlas2.calcWeightedSum.fragment varying vec2 v_NodeUv; uniform sampler2D positionTex; uniform sampler2D forceTex; uniform sampler2D forcePrevTex; void main() { vec2 force = texture2D(forceTex, v_NodeUv).rg; vec2 forcePrev = texture2D(forcePrevTex, v_NodeUv).rg; float mass = texture2D(positionTex, v_NodeUv).z; float swing = length(force - forcePrev) * mass; float traction = length(force + forcePrev) * 0.5 * mass; gl_FragColor = vec4(swing, traction, 0.0, 0.0); } @end @export ecgl.forceAtlas2.calcGlobalSpeed uniform sampler2D globalSpeedPrevTex; uniform sampler2D weightedSumTex; uniform float jitterTolerence; void main() { vec2 weightedSum = texture2D(weightedSumTex, vec2(0.5)).xy; float prevGlobalSpeed = texture2D(globalSpeedPrevTex, vec2(0.5)).x; float globalSpeed = jitterTolerence * jitterTolerence * weightedSum.y / weightedSum.x; if (prevGlobalSpeed > 0.0) { globalSpeed = min(globalSpeed / prevGlobalSpeed, 1.5) * prevGlobalSpeed; } gl_FragColor = vec4(globalSpeed, 0.0, 0.0, 1.0); } @end @export ecgl.forceAtlas2.updatePosition uniform sampler2D forceTex; uniform sampler2D forcePrevTex; uniform sampler2D positionTex; uniform sampler2D globalSpeedTex; varying vec2 v_Texcoord; void main() { vec2 force = texture2D(forceTex, v_Texcoord).xy; vec2 forcePrev = texture2D(forcePrevTex, v_Texcoord).xy; vec4 node = texture2D(positionTex, v_Texcoord); float globalSpeed = texture2D(globalSpeedTex, vec2(0.5)).r; float swing = length(force - forcePrev); float speed = 0.1 * globalSpeed / (0.1 + globalSpeed * sqrt(swing)); float df = length(force); if (df > 0.0) { speed = min(df * speed, 10.0) / df; gl_FragColor = vec4(node.xy + speed * force, node.zw); } else { gl_FragColor = node; } } @end @export ecgl.forceAtlas2.edges.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec2 node; attribute vec4 a_Color : COLOR; varying vec4 v_Color; uniform sampler2D positionTex; void main() { gl_Position = worldViewProjection * vec4( texture2D(positionTex, node).xy, -10.0, 1.0 ); v_Color = a_Color; } @end @export ecgl.forceAtlas2.edges.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; void main() { gl_FragColor = color * v_Color; } @end`},function(k,P,_){"use strict";var N=_(5),C=_(6),m=_(250),p=m.a.toString();p=p.slice(p.indexOf("{")+1,p.lastIndexOf("}"));var E={barnesHutOptimize:!0,barnesHutTheta:1.5,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null},d=function(l){for(var o in E)this[o]=E[o];if(l)for(var o in l)this[o]=l[o];this._nodes=[],this._edges=[],this._disposed=!1,this._positionTex=new N.a({type:C.a.FLOAT,flipY:!1,minFilter:C.a.NEAREST,magFilter:C.a.NEAREST})};d.prototype.initData=function(l,o){var g=new Blob([p]),r=window.URL.createObjectURL(g);this._worker=new Worker(r),this._worker.onmessage=this._$onupdate.bind(this),this._nodes=l,this._edges=o,this._frame=0;for(var n=l.length,a=o.length,c=new Float32Array(n*2),u=new Float32Array(n),s=new Float32Array(n),v=new Float32Array(a*2),e=new Float32Array(a),t=0;t5e4?o.jitterTolerence=10:a>5e3?o.jitterTolerence=1:o.jitterTolerence=.1,a>100?o.scaling=2:o.scaling=10,a>1e3?o.barnesHutOptimize=!0:o.barnesHutOptimize=!1,l)for(var g in E)l[g]!=null&&(o[g]=l[g]);if(!o.gravityCenter){for(var c=[1/0,1/0],u=[-1/0,-1/0],s=0;sl},d.prototype.getNodePosition=function(l,o){if(o||(o=new Float32Array(this._nodes.length*2)),this._positionArr)for(var g=0;g0&&(u=1/Math.sqrt(u),r[0]=n[0]*u,r[1]=n[1]*u),r},negate:function(r,n){return r[0]=-n[0],r[1]=-n[1],r},copy:function(r,n){return r[0]=n[0],r[1]=n[1],r},set:function(r,n,a){return r[0]=n,r[1]=a,r}};function m(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var p=m.prototype;p.beforeUpdate=function(){for(var r=0;r=r&&this.bbox[1]<=n&&this.bbox[3]>=n},p.setBBox=function(r,n,a,c){this.bbox[0]=r,this.bbox[1]=n,this.bbox[2]=a,this.bbox[3]=c,this.size=(a-r+c-n)/2},p._newSubRegion=function(){var r=this.subRegions[this.nSubRegions];return r||(r=new m,this.subRegions[this.nSubRegions]=r),this.nSubRegions++,r},p._addNodeToSubRegion=function(r){var n=this.findSubRegion(r.position[0],r.position[1]),a=this.bbox;if(!n){var c=(a[0]+a[2])/2,u=(a[1]+a[3])/2,s=(a[2]-a[0])/2,v=(a[3]-a[1])/2,e=r.position[0]>=c?1:0,t=r.position[1]>=u?1:0,n=this._newSubRegion();n.setBBox(e*s+a[0],t*v+a[1],(e+1)*s+a[0],(t+1)*v+a[1])}n.addNode(r)},p._updateCenterOfMass=function(r){this.centerOfMass==null&&(this.centerOfMass=new Float32Array(2));var n=this.centerOfMass[0]*this.mass,a=this.centerOfMass[1]*this.mass;n+=r.position[0]*r.mass,a+=r.position[1]*r.mass,this.mass+=r.mass,this.centerOfMass[0]=n/this.mass,this.centerOfMass[1]=a/this.mass};function E(){this.position=new Float32Array(2),this.force=C.create(),this.forcePrev=C.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function d(r,n){this.source=r,this.target=n,this.weight=1}function l(){this.autoSettings=!0,this.barnesHutOptimize=!0,this.barnesHutTheta=1.5,this.repulsionByDegree=!0,this.linLogMode=!1,this.strongGravityMode=!1,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.jitterTolerence=.1,this.preventOverlap=!1,this.dissuadeHubs=!1,this.rootRegion=new m,this.rootRegion.centerOfMass=C.create(),this.nodes=[],this.edges=[],this.bbox=new Float32Array(4),this.gravityCenter=null,this._massArr=null,this._swingingArr=null,this._sizeArr=null,this._globalSpeed=0}var o=l.prototype;o.initNodes=function(r,n,a){var c=n.length;this.nodes.length=0;for(var u=typeof a!="undefined",s=0;s0&&(this.strongGravityMode?this.applyNodeStrongGravity(c):this.applyNodeGravity(c))}for(var n=0;n0&&(y=Math.min(y/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=y;for(var n=0;n0&&(b=Math.min(x*b,10)/x,C.scaleAndAdd(a.position,a.position,a.force,b))}},o.applyRegionToNodeRepulsion=function(){var r=C.create();return function(a,c){if(a.node)this.applyNodeToNodeRepulsion(a.node,c,!0);else{C.sub(r,c.position,a.centerOfMass);var u=r[0]*r[0]+r[1]*r[1];if(u>this.barnesHutTheta*a.size*a.size){var s=this.scaling*c.mass*a.mass/u;C.scaleAndAdd(c.force,c.force,r,s)}else for(var v=0;v0)v=this.scaling*a.mass*c.mass/(e*e);else if(e<0)v=this.scaling*100*a.mass*c.mass;else return}else v=this.scaling*a.mass*c.mass/s;C.scaleAndAdd(a.force,a.force,r,v),C.scaleAndAdd(c.force,c.force,r,-v)}}}}(),o.applyEdgeAttraction=function(){var r=C.create();return function(a){var c=a.source,u=a.target;C.sub(r,c.position,u.position);var s=C.len(r),v;this.edgeWeightInfluence===0?v=1:this.edgeWeightInfluence===1?v=a.weight:v=Math.pow(a.weight,this.edgeWeightInfluence);var e;this.preventOverlap&&(s=s-c.size-u.size,s<=0)||(this.linLogMode?e=-v*Math.log(s+1)/(s+1):e=-v,C.scaleAndAdd(c.force,c.force,r,e),C.scaleAndAdd(u.force,u.force,r,-e))}}(),o.applyNodeGravity=function(){var r=C.create();return function(n){C.sub(r,this.gravityCenter,n.position);var a=C.len(r);C.scaleAndAdd(n.force,n.force,r,this.gravity*n.mass/(a+1))}}(),o.applyNodeStrongGravity=function(){var r=C.create();return function(n){C.sub(r,this.gravityCenter,n.position),C.scaleAndAdd(n.force,n.force,r,this.gravity*n.mass)}}(),o.updateBBox=function(){for(var r=1/0,n=1/0,a=-1/0,c=-1/0,u=0;u0?1.1:.9,g=Math.max(Math.min(this._zoom*o,this.maxZoom),this.minZoom);o=g/this._zoom;var r=this._convertPos(d,l),n=(r.x-this._dx)*(o-1),a=(r.y-this._dy)*(o-1);this._dx-=n,this._dy-=a,this._zoom=g,this._needsUpdate=!0}}},dispose:function(){var p=this.zr;p.off("mousedown",this._mouseDownHandler),p.off("mousemove",this._mouseMoveHandler),p.off("mouseup",this._mouseUpHandler),p.off("mousewheel",this._mouseWheelHandler),p.off("globalout",this._mouseUpHandler),p.animation.off("frame",this._update)}});P.a=m},function(k,P,_){"use strict";P.a=`@export ecgl.lines2D.vertex uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; attribute vec2 position: POSITION; attribute vec4 a_Color : COLOR; varying vec4 v_Color; #ifdef POSITIONTEXTURE_ENABLED uniform sampler2D positionTexture; #endif void main() { gl_Position = worldViewProjection * vec4(position, -10.0, 1.0); v_Color = a_Color; } @end @export ecgl.lines2D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; void main() { gl_FragColor = color * v_Color; } @end @export ecgl.meshLines2D.vertex attribute vec2 position: POSITION; attribute vec2 normal; attribute float offset; attribute vec4 a_Color : COLOR; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform vec4 viewport : VIEWPORT; varying vec4 v_Color; varying float v_Miter; void main() { vec4 p2 = worldViewProjection * vec4(position + normal, -10.0, 1.0); gl_Position = worldViewProjection * vec4(position, -10.0, 1.0); p2.xy /= p2.w; gl_Position.xy /= gl_Position.w; vec2 N = normalize(p2.xy - gl_Position.xy); gl_Position.xy += N * offset / viewport.zw * 2.0; gl_Position.xy *= gl_Position.w; v_Color = a_Color; } @end @export ecgl.meshLines2D.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; varying vec4 v_Color; varying float v_Miter; void main() { gl_FragColor = color * v_Color; } @end`},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(254),p=_(258)},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(3),E=_(20),d=_(255);C.a.extendChartView({type:"flowGL",__ecgl__:!0,init:function(l,o){this.viewGL=new E.a("orthographic"),this.groupGL=new m.a.Node,this.viewGL.add(this.groupGL),this._particleSurface=new d.a;var g=new m.a.Mesh({geometry:new m.a.PlaneGeometry,material:new m.a.Material({shader:new m.a.Shader({vertex:m.a.Shader.source("ecgl.color.vertex"),fragment:m.a.Shader.source("ecgl.color.fragment")}),transparent:!0})});g.material.enableTexture("diffuseMap"),this.groupGL.add(g),this._planeMesh=g},render:function(l,o,g){var r=this._particleSurface;r.setParticleType(l.get("particleType")),r.setSupersampling(l.get("supersampling")),this._updateData(l,g),this._updateCamera(g.getWidth(),g.getHeight(),g.getDevicePixelRatio());var n=p.a.firstNotNull(l.get("particleDensity"),128);r.setParticleDensity(n,n);var a=this._planeMesh,c=+new Date,u=this,s=!0;a.__percent=0,a.stopAnimation(),a.animate("",{loop:!0}).when(1e5,{__percent:1}).during(function(){var t=+new Date,i=Math.min(t-c,20);c=c+i,u._renderer&&(r.update(u._renderer,g,i/1e3,s),a.material.set("diffuseMap",r.getSurfaceTexture())),s=!1}).start();var v=l.getModel("itemStyle"),e=m.a.parseColor(v.get("color"));e[3]*=p.a.firstNotNull(v.get("opacity"),1),a.material.set("color",e),r.setColorTextureImage(l.get("colorTexture"),g),r.setParticleSize(l.get("particleSize")),r.particleSpeedScaling=l.get("particleSpeed"),r.motionBlurFactor=1-Math.pow(.1,l.get("particleTrail"))},updateTransform:function(l,o,g){this._updateData(l,g)},afterRender:function(l,o,g,r){var n=r.renderer;this._renderer=n},_updateData:function(l,o){var g=l.coordinateSystem,r=g.dimensions.map(function(w){return l.coordDimToDataDim(w)[0]}),n=l.getData(),a=n.getDataExtent(r[0]),c=n.getDataExtent(r[1]),u=l.get("gridWidth"),s=l.get("gridHeight");if(u==null||u==="auto"){var v=(a[1]-a[0])/(c[1]-c[0]);u=Math.round(Math.sqrt(v*n.count()))}(s==null||s==="auto")&&(s=Math.ceil(n.count()/u));var e=this._particleSurface.vectorFieldTexture,t=e.pixels;if(!t||t.length!==s*u*4)t=e.pixels=new Float32Array(u*s*4);else for(var i=0;i=359;u&&(n[0]>0&&(n[0]=0),a[0]0?s[s.length-1]:this._lastFrameTexture},setRegion:function(s){this._particlePass.setUniform("region",s)},resize:function(s,v){this._lastFrameTexture.width=s*this._supersampling,this._lastFrameTexture.height=v*this._supersampling,this._thisFrameTexture.width=s*this._supersampling,this._thisFrameTexture.height=v*this._supersampling,this._width=s,this._height=v},setParticleSize:function(s){var v=this._getParticleMesh();if(s<=2){v.material.disableTexture("spriteTexture"),v.material.transparent=!1;return}this._spriteTexture||(this._spriteTexture=new d.a),(!this._spriteTexture.image||this._spriteTexture.image.width!==s)&&(this._spriteTexture.image=c(s),this._spriteTexture.dirty()),v.material.transparent=!0,v.material.enableTexture("spriteTexture"),v.material.set("spriteTexture",this._spriteTexture),this._particleSize=s},setGradientTexture:function(s){var v=this._getParticleMesh().material;v[s?"enableTexture":"disableTexture"]("gradientTexture"),v.setUniform("gradientTexture",s)},setColorTextureImage:function(s,v){var e=this._getParticleMesh().material;e.setTextureImage("colorTexture",s,v,{flipY:!0})},setParticleType:function(s){this._particleType=s},clearFrame:function(s){var v=this._frameBuffer;v.attach(this._lastFrameTexture),v.bind(s),s.gl.clear(s.gl.DEPTH_BUFFER_BIT|s.gl.COLOR_BUFFER_BIT),v.unbind(s)},setSupersampling:function(s){this._supersampling=s,this.resize(this._width,this._height)},_updateDownsampleTextures:function(s,v){for(var e=this._downsampleTextures,t=Math.max(Math.floor(Math.log(this._supersampling/v.getDevicePixelRatio())/Math.log(2)),0),i=2,f=this._width*this._supersampling,y=this._height*this._supersampling,b=0;b65535?new Uint32Array(o*3):new Uint16Array(o*3))},addLine:function(E){var d=this._vertexOffset;this.attributes.position.set(d,[E[0],E[1],1]),this.attributes.position.set(d+1,[E[0],E[1],-1]),this.attributes.position.set(d+2,[E[0],E[1],2]),this.attributes.position.set(d+3,[E[0],E[1],-2]),this.setTriangleIndices(this._faceOffset++,[d,d+1,d+2]),this.setTriangleIndices(this._faceOffset++,[d+1,d+2,d+3]),this._vertexOffset+=4}});P.a=p},function(k,P,_){"use strict";P.a=`@export ecgl.vfParticle.particle.fragment uniform sampler2D particleTexture; uniform sampler2D spawnTexture; uniform sampler2D velocityTexture; uniform float deltaTime; uniform float elapsedTime; uniform float speedScaling : 1.0; uniform vec2 textureSize; uniform vec4 region : [0, 0, 1, 1]; uniform float firstFrameTime; varying vec2 v_Texcoord; void main() { vec4 p = texture2D(particleTexture, v_Texcoord); bool spawn = false; if (p.w <= 0.0) { p = texture2D(spawnTexture, fract(v_Texcoord + elapsedTime / 10.0)); p.w -= firstFrameTime; spawn = true; } vec2 v = texture2D(velocityTexture, fract(p.xy * region.zw + region.xy)).xy; v = (v - 0.5) * 2.0; p.z = length(v); p.xy += v * deltaTime / 10.0 * speedScaling; p.w -= deltaTime; if (spawn || p.xy != fract(p.xy)) { p.z = 0.0; } p.xy = fract(p.xy); gl_FragColor = p; } @end @export ecgl.vfParticle.renderPoints.vertex #define PI 3.1415926 attribute vec2 texcoord : TEXCOORD_0; uniform sampler2D particleTexture; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; uniform float size : 1.0; varying float v_Mag; varying vec2 v_Uv; void main() { vec4 p = texture2D(particleTexture, texcoord); if (p.w > 0.0 && p.z > 1e-5) { gl_Position = worldViewProjection * vec4(p.xy * 2.0 - 1.0, 0.0, 1.0); } else { gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0); } v_Mag = p.z; v_Uv = p.xy; gl_PointSize = size; } @end @export ecgl.vfParticle.renderPoints.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform sampler2D gradientTexture; uniform sampler2D colorTexture; uniform sampler2D spriteTexture; varying float v_Mag; varying vec2 v_Uv; void main() { gl_FragColor = color; #ifdef SPRITETEXTURE_ENABLED gl_FragColor *= texture2D(spriteTexture, gl_PointCoord); if (color.a == 0.0) { discard; } #endif #ifdef GRADIENTTEXTURE_ENABLED gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5)); #endif #ifdef COLORTEXTURE_ENABLED gl_FragColor *= texture2D(colorTexture, v_Uv); #endif } @end @export ecgl.vfParticle.renderLines.vertex #define PI 3.1415926 attribute vec3 position : POSITION; uniform sampler2D particleTexture; uniform sampler2D prevParticleTexture; uniform float size : 1.0; uniform vec4 vp: VIEWPORT; uniform mat4 worldViewProjection : WORLDVIEWPROJECTION; varying float v_Mag; varying vec2 v_Uv; @import clay.util.rand void main() { vec4 p = texture2D(particleTexture, position.xy); vec4 p2 = texture2D(prevParticleTexture, position.xy); p.xy = p.xy * 2.0 - 1.0; p2.xy = p2.xy * 2.0 - 1.0; if (p.w > 0.0 && p.z > 1e-5) { vec2 dir = normalize(p.xy - p2.xy); vec2 norm = vec2(dir.y / vp.z, -dir.x / vp.w) * sign(position.z) * size; if (abs(position.z) == 2.0) { gl_Position = vec4(p.xy + norm, 0.0, 1.0); v_Uv = p.xy; v_Mag = p.z; } else { gl_Position = vec4(p2.xy + norm, 0.0, 1.0); v_Mag = p2.z; v_Uv = p2.xy; } gl_Position = worldViewProjection * gl_Position; } else { gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0); } } @end @export ecgl.vfParticle.renderLines.fragment uniform vec4 color : [1.0, 1.0, 1.0, 1.0]; uniform sampler2D gradientTexture; uniform sampler2D colorTexture; varying float v_Mag; varying vec2 v_Uv; void main() { gl_FragColor = color; #ifdef GRADIENTTEXTURE_ENABLED gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5)); #endif #ifdef COLORTEXTURE_ENABLED gl_FragColor *= texture2D(colorTexture, v_Uv); #endif } @end `},function(k,P,_){"use strict";var N=_(0),C=_.n(N);C.a.extendSeriesModel({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualColorAccessPath:"itemStyle.color",getInitialData:function(m,p){var E=C.a.getCoordinateSystemDimensions(this.get("coordinateSystem"))||["x","y"];if(E.length>2)throw new Error("flowGL can only be used on 2d coordinate systems.");E.push("vx","vy");var d=C.a.helper.completeDimensions(E,this.getSource(),{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),l=new C.a.List(d,this);return l.initData(this.getSource()),l},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,supersampling:1,particleType:"point",particleDensity:128,particleSize:1,particleSpeed:1,particleTrail:2,colorTexture:null,gridWidth:"auto",gridHeight:"auto",itemStyle:{color:"#fff",opacity:.8}}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(260),p=_(261),E=_(16);C.a.registerVisual(Object(E.a)("linesGL"))},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(12),p=_.n(m),E=C.a.extendSeriesModel({type:"series.linesGL",dependencies:["grid","geo"],visualColorAccessPath:"lineStyle.color",streamEnabled:!0,init:function(d){var l=this._processFlatCoordsArray(d.data);this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset,l.flatCoords&&(d.data=new Float32Array(l.count)),E.superApply(this,"init",arguments)},mergeOption:function(d){var l=this._processFlatCoordsArray(d.data);this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset,l.flatCoords&&(d.data=new Float32Array(l.count)),E.superApply(this,"mergeOption",arguments)},appendData:function(d){var l=this._processFlatCoordsArray(d.data);l.flatCoords&&(this._flatCoords?(this._flatCoords=Object(m.concatArray)(this._flatCoords,l.flatCoords),this._flatCoordsOffset=Object(m.concatArray)(this._flatCoordsOffset,l.flatCoordsOffset)):(this._flatCoords=l.flatCoords,this._flatCoordsOffset=l.flatCoordsOffset),d.data=new Float32Array(l.count)),this.getRawData().appendData(d.data)},_getCoordsFromItemModel:function(d){var l=this.getData().getItemModel(d),o=l.option instanceof Array?l.option:l.getShallow("coords");if(!(o instanceof Array&&o.length>0&&o[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(o)+". Lines must have 2d coords array in data item.");return o},getLineCoordsCount:function(d){return this._flatCoordsOffset?this._flatCoordsOffset[d*2+1]:this._getCoordsFromItemModel(d).length},getLineCoords:function(d,l){if(this._flatCoordsOffset){for(var o=this._flatCoordsOffset[d*2],g=this._flatCoordsOffset[d*2+1],r=0;ro)throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(g.buffer,0,a),flatCoords:r,count:c}}return{flatCoordsOffset:null,flatCoords:null,count:d.length}},getInitialData:function(d,l){var o=new C.a.List(["value"],this);return o.hasItemOption=!1,o.initData(d.data,[],function(g,r,n,a){if(g instanceof Array)return NaN;o.hasItemOption=!0;var c=g.value;if(c!=null)return c instanceof Array?c[a]:c}),o},defaultOption:{coordinateSystem:"geo",zlevel:10,progressive:1e4,progressiveThreshold:5e4,blendMode:"source-over",lineStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}})},function(k,P,_){"use strict";var N=_(0),C=_.n(N),m=_(2),p=_(20),E=_(86),d=_(84),l=_(3);C.a.extendChartView({type:"linesGL",__ecgl__:!0,init:function(o,g){this.groupGL=new m.a.Node,this.viewGL=new p.a("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new d.a(this.viewGL),this._nativeLinesShader=m.a.createShader("ecgl.lines3D"),this._meshLinesShader=m.a.createShader("ecgl.meshLines3D"),this._linesMeshes=[],this._currentStep=0},render:function(o,g,r){this.groupGL.removeAll(),this._glViewHelper.reset(o,r);var n=this._linesMeshes[0];n||(n=this._linesMeshes[0]=this._createLinesMesh(o)),this._linesMeshes.length=1,this.groupGL.add(n),this._updateLinesMesh(o,n,0,o.getData().count()),this.viewGL.setPostEffect(o.getModel("postEffect"),r)},incrementalPrepareRender:function(o,g,r){this.groupGL.removeAll(),this._glViewHelper.reset(o,r),this._currentStep=0,this.viewGL.setPostEffect(o.getModel("postEffect"),r)},incrementalRender:function(o,g,r,n){var a=this._linesMeshes[this._currentStep];a||(a=this._createLinesMesh(g),this._linesMeshes[this._currentStep]=a),this._updateLinesMesh(g,a,o.start,o.end),this.groupGL.add(a),n.getZr().refresh(),this._currentStep++},updateTransform:function(o,g,r){o.coordinateSystem.getRoamTransform&&this._glViewHelper.updateTransform(o,r)},_createLinesMesh:function(o){var g=new m.a.Mesh({$ignorePicking:!0,material:new m.a.Material({shader:m.a.createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new E.a({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:m.a.Mesh.LINES,culling:!1});return g},_updateLinesMesh:function(o,g,r,n){var a=o.getData();g.material.blend=o.get("blendMode")==="lighter"?m.a.additiveBlend:null;var c=o.get("lineStyle.curveness")||0,u=o.get("polyline"),s=g.geometry,v=o.coordinateSystem,e=l.a.firstNotNull(o.get("lineStyle.width"),1);e>1?(g.material.shader!==this._meshLinesShader&&g.material.attachShader(this._meshLinesShader),g.mode=m.a.Mesh.TRIANGLES):(g.material.shader!==this._nativeLinesShader&&g.material.attachShader(this._nativeLinesShader),g.mode=m.a.Mesh.LINES),r=r||0,n=n||a.count(),s.resetOffset();var t=0,i=0,f=[],y=[],b=[],x=[],A=[],w=.3,L=.7;function M(){y[0]=f[0]*L+x[0]*w-(f[1]-x[1])*c,y[1]=f[1]*L+x[1]*w-(x[0]-f[0])*c,b[0]=f[0]*w+x[0]*L-(f[1]-x[1])*c,b[1]=f[1]*w+x[1]*L-(x[0]-f[0])*c}if(u||c!==0)for(var D=r;D0&&(y=e[0]),y instanceof Error)throw y;var b=new Error("Unhandled error."+(y?" ("+y.message+")":""));throw b.context=y,b}var x=f[v];if(x===void 0)return!1;if(typeof x=="function")O(x,this,e);else for(var A=x.length,w=g(x,A),t=0;t0&&y.length>i&&!y.warned){y.warned=!0;var b=new Error("Possible EventEmitter memory leak detected. "+y.length+" "+String(v)+" listeners added. Use emitter.setMaxListeners() to increase limit");b.name="MaxListenersExceededWarning",b.emitter=s,b.type=v,b.count=y.length,k(b)}return s}_.prototype.addListener=function(v,e){return p(this,v,e,!1)},_.prototype.on=_.prototype.addListener,_.prototype.prependListener=function(v,e){return p(this,v,e,!0)};function E(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(s,v,e){var t={fired:!1,wrapFn:void 0,target:s,type:v,listener:e},i=E.bind(t);return i.listener=e,t.wrapFn=i,i}_.prototype.once=function(v,e){return C(e),this.on(v,d(this,v,e)),this},_.prototype.prependOnceListener=function(v,e){return C(e),this.prependListener(v,d(this,v,e)),this},_.prototype.removeListener=function(v,e){var t,i,f,y,b;if(C(e),i=this._events,i===void 0)return this;if(t=i[v],t===void 0)return this;if(t===e||t.listener===e)--this._eventsCount===0?this._events=Object.create(null):(delete i[v],i.removeListener&&this.emit("removeListener",v,t.listener||e));else if(typeof t!="function"){for(f=-1,y=t.length-1;y>=0;y--)if(t[y]===e||t[y].listener===e){b=t[y].listener,f=y;break}if(f<0)return this;f===0?t.shift():r(t,f),t.length===1&&(i[v]=t[0]),i.removeListener!==void 0&&this.emit("removeListener",v,b||e)}return this},_.prototype.off=_.prototype.removeListener,_.prototype.removeAllListeners=function(v){var e,t,i;if(t=this._events,t===void 0)return this;if(t.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):t[v]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete t[v]),this;if(arguments.length===0){var f=Object.keys(t),y;for(i=0;i=0;i--)this.removeListener(v,e[i]);return this};function l(s,v,e){var t=s._events;if(t===void 0)return[];var i=t[v];return i===void 0?[]:typeof i=="function"?e?[i.listener||i]:[i]:e?n(i):g(i,i.length)}_.prototype.listeners=function(v){return l(this,v,!0)},_.prototype.rawListeners=function(v){return l(this,v,!1)},_.listenerCount=function(s,v){return typeof s.listenerCount=="function"?s.listenerCount(v):o.call(s,v)},_.prototype.listenerCount=o;function o(s){var v=this._events;if(v!==void 0){var e=v[s];if(typeof e=="function")return 1;if(e!==void 0)return e.length}return 0}_.prototype.eventNames=function(){return this._eventsCount>0?h(this._events):[]};function g(s,v){for(var e=new Array(v),t=0;t>>6)+p(128|D&63):p(224|D>>>12&15)+p(128|D>>>6&63)+p(128|D&63)}else{var D=65536+(M.charCodeAt(0)-55296)*1024+(M.charCodeAt(1)-56320);return p(240|D>>>18&7)+p(128|D>>>12&63)+p(128|D>>>6&63)+p(128|D&63)}},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(M){return M.replace(d,E)},o=function(M){var D=[0,2,1][M.length%3],B=M.charCodeAt(0)<<16|(M.length>1?M.charCodeAt(1):0)<<8|(M.length>2?M.charCodeAt(2):0),I=[C.charAt(B>>>18),C.charAt(B>>>12&63),D>=2?"=":C.charAt(B>>>6&63),D>=1?"=":C.charAt(B&63)];return I.join("")},g=P.btoa&&typeof P.btoa=="function"?function(M){return P.btoa(M)}:function(M){if(M.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return M.replace(/[\s\S]{1,3}/g,o)},r=function(M){return g(l(String(M)))},n=function(M){return M.replace(/[+\/]/g,function(D){return D=="+"?"-":"_"}).replace(/=/g,"")},a=function(M,D){return D?n(r(M)):r(M)},c=function(M){return a(M,!0)},u;P.Uint8Array&&(u=function(M,D){for(var B="",I=0,U=M.length;I>>18)+C.charAt(X>>>12&63)+(typeof K!="undefined"?C.charAt(X>>>6&63):"=")+(typeof j!="undefined"?C.charAt(X&63):"=")}return D?n(B):B});var s=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,v=function(M){switch(M.length){case 4:var D=(7&M.charCodeAt(0))<<18|(63&M.charCodeAt(1))<<12|(63&M.charCodeAt(2))<<6|63&M.charCodeAt(3),B=D-65536;return p((B>>>10)+55296)+p((B&1023)+56320);case 3:return p((15&M.charCodeAt(0))<<12|(63&M.charCodeAt(1))<<6|63&M.charCodeAt(2));default:return p((31&M.charCodeAt(0))<<6|63&M.charCodeAt(1))}},e=function(M){return M.replace(s,v)},t=function(M){var D=M.length,B=D%4,I=(D>0?m[M.charAt(0)]<<18:0)|(D>1?m[M.charAt(1)]<<12:0)|(D>2?m[M.charAt(2)]<<6:0)|(D>3?m[M.charAt(3)]:0),U=[p(I>>>16),p(I>>>8&255),p(I&255)];return U.length-=[0,0,2,1][B],U.join("")},i=P.atob&&typeof P.atob=="function"?function(M){return P.atob(M)}:function(M){return M.replace(/\S{1,4}/g,t)},f=function(M){return i(String(M).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(M){return e(i(M))},b=function(M){return String(M).replace(/[-_]/g,function(D){return D=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},x=function(M){return y(b(M))},A;P.Uint8Array&&(A=function(M){return Uint8Array.from(f(b(M)),function(D){return D.charCodeAt(0)})});var w=function(){var M=P.Base64;return P.Base64=_,M};if(P.Base64={VERSION:N,atob:f,btoa:g,fromBase64:x,toBase64:a,utob:l,encode:a,encodeURI:c,btou:e,decode:x,noConflict:w,fromUint8Array:u,toUint8Array:A},typeof Object.defineProperty=="function"){var L=function(M){return{value:M,enumerable:!1,writable:!0,configurable:!0}};P.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",L(function(){return x(this)})),Object.defineProperty(String.prototype,"toBase64",L(function(M){return a(this,M)})),Object.defineProperty(String.prototype,"toBase64URI",L(function(){return a(this,!0)}))}}return P.Meteor&&(Base64=P.Base64),Nn.exports?Nn.exports.Base64=P.Base64:(h=[],k=function(){return P.Base64}.apply(pt,h),k!==void 0&&(Nn.exports=k)),{Base64:P.Base64}})},6551:function(Nn,pt,O){"use strict";O.d(pt,{ZP:function(){return m}});var h=O(42978),k=O(59301),P=O(47273),_=0,N=(0,P.Z)();function C(){var p;return N?(p=_,_+=1):p="TEST_OR_SSR",p}function m(p){var E=k.useState(),d=(0,h.Z)(E,2),l=d[0],o=d[1];return k.useEffect(function(){o("rc_select_".concat(C()))},[]),p||l}},37463:function(Nn,pt,O){"use strict";O.d(pt,{Ac:function(){return qe},Xo:function(){return Ze},Wx:function(){return Qe},ZP:function(){return kt},lk:function(){return v}});var h=O(54476),k=O(94480),P=O(20068),_=O(33885),N=O(42978),C=O(75931),m=O(76190),p=O(18929),E=O(48736),d=O(59301),l=O(92310),o=O.n(l),g=O(34280),r=O(49658),n=O(8654),a=function(Be){var Ee=Be.className,Le=Be.customizeIcon,Ie=Be.customizeIconProps,ze=Be.children,he=Be.onMouseDown,je=Be.onClick,tt=typeof Le=="function"?Le(Ie):Le;return d.createElement("span",{className:Ee,onMouseDown:function(ye){ye.preventDefault(),he==null||he(ye)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:je,"aria-hidden":!0},tt!==void 0?tt:d.createElement("span",{className:o()(Ee.split(/\s+/).map(function(me){return"".concat(me,"-icon")}))},ze))},c=a,u=function(Be,Ee,Le,Ie,ze){var he=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,je=arguments.length>6?arguments[6]:void 0,tt=arguments.length>7?arguments[7]:void 0,me=d.useMemo(function(){if((0,m.Z)(Ie)==="object")return Ie.clearIcon;if(ze)return ze},[Ie,ze]),ye=d.useMemo(function(){return!!(!he&&Ie&&(Le.length||je)&&!(tt==="combobox"&&je===""))},[Ie,he,Le.length,je,tt]);return{allowClear:ye,clearIcon:d.createElement(c,{className:"".concat(Be,"-clear"),onMouseDown:Ee,customizeIcon:me},"\xD7")}},s=d.createContext(null);function v(){return d.useContext(s)}function e(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Be=d.useState(!1),Ee=(0,N.Z)(Be,2),Le=Ee[0],Ie=Ee[1],ze=d.useRef(null),he=function(){window.clearTimeout(ze.current)};d.useEffect(function(){return he},[]);var je=function(me,ye){he(),ze.current=window.setTimeout(function(){Ie(me),ye&&ye()},He)};return[Le,je,he]}function t(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Be=d.useRef(null),Ee=d.useRef(null);d.useEffect(function(){return function(){window.clearTimeout(Ee.current)}},[]);function Le(Ie){(Ie||Be.current===null)&&(Be.current=Ie),window.clearTimeout(Ee.current),Ee.current=window.setTimeout(function(){Be.current=null},He)}return[function(){return Be.current},Le]}function i(He,Be,Ee,Le){var Ie=d.useRef(null);Ie.current={open:Be,triggerOpen:Ee,customizedTrigger:Le},d.useEffect(function(){function ze(he){var je;if(!((je=Ie.current)!==null&&je!==void 0&&je.customizedTrigger)){var tt=he.target;tt.shadowRoot&&he.composed&&(tt=he.composedPath()[0]||tt),Ie.current.open&&He().filter(function(me){return me}).every(function(me){return!me.contains(tt)&&me!==tt})&&Ie.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ze),function(){return window.removeEventListener("mousedown",ze)}},[])}var f=O(10228);function y(He){return He&&![f.Z.ESC,f.Z.SHIFT,f.Z.BACKSPACE,f.Z.TAB,f.Z.WIN_KEY,f.Z.ALT,f.Z.META,f.Z.WIN_KEY_RIGHT,f.Z.CTRL,f.Z.SEMICOLON,f.Z.EQUALS,f.Z.CAPS_LOCK,f.Z.CONTEXT_MENU,f.Z.F1,f.Z.F2,f.Z.F3,f.Z.F4,f.Z.F5,f.Z.F6,f.Z.F7,f.Z.F8,f.Z.F9,f.Z.F10,f.Z.F11,f.Z.F12].includes(He)}var b=O(26112),x=O(83836);function A(He,Be,Ee){var Le=(0,_.Z)((0,_.Z)({},He),Ee?Be:{});return Object.keys(Be).forEach(function(Ie){var ze=Be[Ie];typeof ze=="function"&&(Le[Ie]=function(){for(var he,je=arguments.length,tt=new Array(je),me=0;meMn&&(et="".concat(Ft.slice(0,Mn),"..."))}var At=function(Qn){Qn&&Qn.stopPropagation(),Lt(zn)};return typeof hn=="function"?ar(gr,et,hr,Pr,At):ea(zn,et,hr,Pr,At)},Sn=function(zn){if(!Ie.length)return null;var hr=typeof an=="function"?an(zn):an;return typeof hn=="function"?ar(void 0,hr,!1,!1,void 0,!0):ea({title:hr},hr,!1)},Zt=d.createElement("div",{className:"".concat(Rr,"-search"),style:{width:nr},onFocus:function(){Hr(!0)},onBlur:function(){Hr(!1)}},d.createElement(B,{ref:tt,open:ze,prefixCls:Le,id:Ee,inputElement:null,disabled:ye,autoFocus:Se,autoComplete:ut,editable:Wr,activeDescendantId:bt,value:kr,onKeyDown:bn,onMouseDown:Fn,onChange:On,onPaste:jn,onCompositionStart:er,onCompositionEnd:Cr,onBlur:sr,tabIndex:Pt,attrs:(0,b.Z)(Be,!0)}),d.createElement("span",{ref:Rn,className:"".concat(Rr,"-search-mirror"),"aria-hidden":!0},kr,"\xA0")),qt=d.createElement(x.Z,{prefixCls:"".concat(Rr,"-overflow"),data:Ie,renderItem:lr,renderRest:Sn,suffix:Zt,itemKey:Q,maxCount:sn});return d.createElement("span",{className:"".concat(Rr,"-wrap")},qt,!Ie.length&&!kr&&d.createElement("span",{className:"".concat(Rr,"-placeholder")},me))},Ce=xe,De=function(Be){var Ee=Be.inputElement,Le=Be.prefixCls,Ie=Be.id,ze=Be.inputRef,he=Be.disabled,je=Be.autoFocus,tt=Be.autoComplete,me=Be.activeDescendantId,ye=Be.mode,_e=Be.open,Ge=Be.values,Se=Be.placeholder,ut=Be.tabIndex,bt=Be.showSearch,Pt=Be.searchValue,Yt=Be.activeValue,sn=Be.maxLength,Mn=Be.onInputKeyDown,xn=Be.onInputMouseDown,an=Be.onInputChange,hn=Be.onInputPaste,gn=Be.onInputCompositionStart,Lt=Be.onInputCompositionEnd,On=Be.onInputBlur,jn=Be.title,bn=d.useState(!1),Fn=(0,N.Z)(bn,2),er=Fn[0],Cr=Fn[1],sr=ye==="combobox",Rn=sr||bt,or=Ge[0],fr=Pt||"";sr&&Yt&&!er&&(fr=Yt),d.useEffect(function(){sr&&Cr(!1)},[sr,Yt]);var nr=ye!=="combobox"&&!_e&&!bt?!1:!!fr,tr=jn===void 0?Y(or):jn,$n=d.useMemo(function(){return or?null:d.createElement("span",{className:"".concat(Le,"-selection-placeholder"),style:nr?{visibility:"hidden"}:void 0},Se)},[or,nr,Se,Le]);return d.createElement("span",{className:"".concat(Le,"-selection-wrap")},d.createElement("span",{className:"".concat(Le,"-selection-search")},d.createElement(B,{ref:ze,prefixCls:Le,id:Ie,open:_e,inputElement:Ee,disabled:he,autoFocus:je,autoComplete:tt,editable:Rn,activeDescendantId:me,value:fr,onKeyDown:Mn,onMouseDown:xn,onChange:function(Dt){Cr(!0),an(Dt)},onPaste:hn,onCompositionStart:gn,onCompositionEnd:Lt,onBlur:On,tabIndex:ut,attrs:(0,b.Z)(Be,!0),maxLength:sr?sn:void 0})),!sr&&or?d.createElement("span",{className:"".concat(Le,"-selection-item"),title:tr,style:nr?{visibility:"hidden"}:void 0},or.label):null,$n)},Ue=De,Me=function(Be,Ee){var Le=(0,d.useRef)(null),Ie=(0,d.useRef)(!1),ze=Be.prefixCls,he=Be.open,je=Be.mode,tt=Be.showSearch,me=Be.tokenWithEnter,ye=Be.disabled,_e=Be.prefix,Ge=Be.autoClearSearchValue,Se=Be.onSearch,ut=Be.onSearchSubmit,bt=Be.onToggleOpen,Pt=Be.onInputKeyDown,Yt=Be.onInputBlur,sn=Be.domRef;d.useImperativeHandle(Ee,function(){return{focus:function(tr){Le.current.focus(tr)},blur:function(){Le.current.blur()}}});var Mn=t(0),xn=(0,N.Z)(Mn,2),an=xn[0],hn=xn[1],gn=function(tr){var $n=tr.which,wr=Le.current instanceof HTMLTextAreaElement;!wr&&he&&($n===f.Z.UP||$n===f.Z.DOWN)&&tr.preventDefault(),Pt&&Pt(tr),$n===f.Z.ENTER&&je==="tags"&&!Ie.current&&!he&&(ut==null||ut(tr.target.value)),!(wr&&!he&&~[f.Z.UP,f.Z.DOWN,f.Z.LEFT,f.Z.RIGHT].indexOf($n))&&y($n)&&bt(!0)},Lt=function(){hn(!0)},On=(0,d.useRef)(null),jn=function(tr){Se(tr,!0,Ie.current)!==!1&&bt(!0)},bn=function(){Ie.current=!0},Fn=function(tr){Ie.current=!1,je!=="combobox"&&jn(tr.target.value)},er=function(tr){var $n=tr.target.value;if(me&&On.current&&/[\r\n]/.test(On.current)){var wr=On.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$n=$n.replace(wr,On.current)}On.current=null,jn($n)},Cr=function(tr){var $n=tr.clipboardData,wr=$n==null?void 0:$n.getData("text");On.current=wr||""},sr=function(tr){var $n=tr.target;if($n!==Le.current){var wr=document.body.style.msTouchAction!==void 0;wr?setTimeout(function(){Le.current.focus()}):Le.current.focus()}},Rn=function(tr){var $n=an();tr.target!==Le.current&&!$n&&!(je==="combobox"&&ye)&&tr.preventDefault(),(je!=="combobox"&&(!tt||!$n)||!he)&&(he&&Ge!==!1&&Se("",!0,!1),bt())},or={inputRef:Le,onInputKeyDown:gn,onInputMouseDown:Lt,onInputChange:er,onInputPaste:Cr,onInputCompositionStart:bn,onInputCompositionEnd:Fn,onInputBlur:Yt},fr=je==="multiple"||je==="tags"?d.createElement(Ce,(0,h.Z)({},Be,or)):d.createElement(Ue,(0,h.Z)({},Be,or));return d.createElement("div",{ref:sn,className:"".concat(ze,"-selector"),onClick:sr,onMouseDown:Rn},_e&&d.createElement("div",{className:"".concat(ze,"-prefix")},_e),fr)},Je=d.forwardRef(Me),Re=Je,ge=O(65030),Ve=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Fe=function(Be){var Ee=Be===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ee,adjustY:1},htmlRegion:"scroll"}}},Te=function(Be,Ee){var Le=Be.prefixCls,Ie=Be.disabled,ze=Be.visible,he=Be.children,je=Be.popupElement,tt=Be.animation,me=Be.transitionName,ye=Be.dropdownStyle,_e=Be.dropdownClassName,Ge=Be.direction,Se=Ge===void 0?"ltr":Ge,ut=Be.placement,bt=Be.builtinPlacements,Pt=Be.dropdownMatchSelectWidth,Yt=Be.dropdownRender,sn=Be.dropdownAlign,Mn=Be.getPopupContainer,xn=Be.empty,an=Be.getTriggerDOMNode,hn=Be.onPopupVisibleChange,gn=Be.onPopupMouseEnter,Lt=(0,C.Z)(Be,Ve),On="".concat(Le,"-dropdown"),jn=je;Yt&&(jn=Yt(je));var bn=d.useMemo(function(){return bt||Fe(Pt)},[bt,Pt]),Fn=tt?"".concat(On,"-").concat(tt):me,er=typeof Pt=="number",Cr=d.useMemo(function(){return er?null:Pt===!1?"minWidth":"width"},[Pt,er]),sr=ye;er&&(sr=(0,_.Z)((0,_.Z)({},sr),{},{width:Pt}));var Rn=d.useRef(null);return d.useImperativeHandle(Ee,function(){return{getPopupElement:function(){var fr;return(fr=Rn.current)===null||fr===void 0?void 0:fr.popupElement}}}),d.createElement(ge.Z,(0,h.Z)({},Lt,{showAction:hn?["click"]:[],hideAction:hn?["click"]:[],popupPlacement:ut||(Se==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:bn,prefixCls:On,popupTransitionName:Fn,popup:d.createElement("div",{onMouseEnter:gn},jn),ref:Rn,stretch:Cr,popupAlign:sn,popupVisible:ze,getPopupContainer:Mn,popupClassName:o()(_e,(0,P.Z)({},"".concat(On,"-empty"),xn)),popupStyle:sr,getTriggerDOMNode:an,onPopupVisibleChange:hn}),he)},We=d.forwardRef(Te),Ne=We,V=O(66712);function $(He,Be){var Ee=He.key,Le;return"value"in He&&(Le=He.value),Ee!=null?Ee:Le!==void 0?Le:"rc-index-key-".concat(Be)}function re(He){return typeof He!="undefined"&&!Number.isNaN(He)}function ee(He,Be){var Ee=He||{},Le=Ee.label,Ie=Ee.value,ze=Ee.options,he=Ee.groupLabel,je=Le||(Be?"children":"label");return{label:je,value:Ie||"value",options:ze||"options",groupLabel:he||je}}function oe(He){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=Be.fieldNames,Le=Be.childrenAsData,Ie=[],ze=ee(Ee,!1),he=ze.label,je=ze.value,tt=ze.options,me=ze.groupLabel;function ye(_e,Ge){Array.isArray(_e)&&_e.forEach(function(Se){if(Ge||!(tt in Se)){var ut=Se[je];Ie.push({key:$(Se,Ie.length),groupOption:Ge,data:Se,label:Se[he],value:ut})}else{var bt=Se[me];bt===void 0&&Le&&(bt=Se.label),Ie.push({key:$(Se,Ie.length),group:!0,data:Se,label:bt}),ye(Se[tt],!0)}})}return ye(He,!1),Ie}function q(He){var Be=(0,_.Z)({},He);return"props"in Be||Object.defineProperty(Be,"props",{get:function(){return(0,E.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Be}}),Be}var fe=function(Be,Ee,Le){if(!Ee||!Ee.length)return null;var Ie=!1,ze=function je(tt,me){var ye=(0,V.Z)(me),_e=ye[0],Ge=ye.slice(1);if(!_e)return[tt];var Se=tt.split(_e);return Ie=Ie||Se.length>1,Se.reduce(function(ut,bt){return[].concat((0,k.Z)(ut),(0,k.Z)(je(bt,Ge)))},[]).filter(Boolean)},he=ze(Be,Ee);return Ie?typeof Le!="undefined"?he.slice(0,Le):he:null},be=d.createContext(null),te=be;function ce(He){var Be=He.visible,Ee=He.values;if(!Be)return null;var Le=50;return d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ee.slice(0,Le).map(function(Ie){var ze=Ie.label,he=Ie.value;return["number","string"].includes((0,m.Z)(ze))?ze:he}).join(", ")),Ee.length>Le?", ...":null)}var lt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Xe=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ft=function(Be){return Be==="tags"||Be==="multiple"},yt=d.forwardRef(function(He,Be){var Ee,Le=He.id,Ie=He.prefixCls,ze=He.className,he=He.showSearch,je=He.tagRender,tt=He.direction,me=He.omitDomProps,ye=He.displayValues,_e=He.onDisplayValuesChange,Ge=He.emptyOptions,Se=He.notFoundContent,ut=Se===void 0?"Not Found":Se,bt=He.onClear,Pt=He.mode,Yt=He.disabled,sn=He.loading,Mn=He.getInputElement,xn=He.getRawInputElement,an=He.open,hn=He.defaultOpen,gn=He.onDropdownVisibleChange,Lt=He.activeValue,On=He.onActiveValueChange,jn=He.activeDescendantId,bn=He.searchValue,Fn=He.autoClearSearchValue,er=He.onSearch,Cr=He.onSearchSplit,sr=He.tokenSeparators,Rn=He.allowClear,or=He.prefix,fr=He.suffixIcon,nr=He.clearIcon,tr=He.OptionList,$n=He.animation,wr=He.transitionName,Dt=He.dropdownStyle,Hr=He.dropdownClassName,Rr=He.dropdownMatchSelectWidth,kr=He.dropdownRender,Wr=He.dropdownAlign,ea=He.placement,ar=He.builtinPlacements,lr=He.getPopupContainer,Sn=He.showAction,Zt=Sn===void 0?[]:Sn,qt=He.onFocus,Xn=He.onBlur,zn=He.onKeyUp,hr=He.onKeyDown,Tr=He.onMouseDown,gr=(0,C.Z)(He,lt),Pr=ft(Pt),et=(he!==void 0?he:Pr)||Pt==="combobox",Ft=(0,_.Z)({},gr);Xe.forEach(function(Ur){delete Ft[Ur]}),me==null||me.forEach(function(Ur){delete Ft[Ur]});var At=d.useState(!1),En=(0,N.Z)(At,2),Qn=En[0],mt=En[1];d.useEffect(function(){mt((0,r.Z)())},[]);var vr=d.useRef(null),Pn=d.useRef(null),Jt=d.useRef(null),Vn=d.useRef(null),yr=d.useRef(null),Kn=d.useRef(!1),pr=e(),Ln=(0,N.Z)(pr,3),Mr=Ln[0],mr=Ln[1],Gn=Ln[2];d.useImperativeHandle(Be,function(){var Ur,Zr;return{focus:(Ur=Vn.current)===null||Ur===void 0?void 0:Ur.focus,blur:(Zr=Vn.current)===null||Zr===void 0?void 0:Zr.blur,scrollTo:function(Ya){var ma;return(ma=yr.current)===null||ma===void 0?void 0:ma.scrollTo(Ya)},nativeElement:vr.current||Pn.current}});var br=d.useMemo(function(){var Ur;if(Pt!=="combobox")return bn;var Zr=(Ur=ye[0])===null||Ur===void 0?void 0:Ur.value;return typeof Zr=="string"||typeof Zr=="number"?String(Zr):""},[bn,Pt,ye]),Ar=Pt==="combobox"&&typeof Mn=="function"&&Mn()||null,Ir=typeof xn=="function"&&xn(),Jn=(0,n.x1)(Pn,Ir==null||(Ee=Ir.props)===null||Ee===void 0?void 0:Ee.ref),Er=d.useState(!1),ra=(0,N.Z)(Er,2),Gr=ra[0],Dr=ra[1];(0,g.Z)(function(){Dr(!0)},[]);var ur=(0,p.Z)(!1,{defaultValue:hn,value:an}),ca=(0,N.Z)(ur,2),da=ca[0],sa=ca[1],fa=Gr?da:!1,qr=!ut&&Ge;(Yt||qr&&fa&&Pt==="combobox")&&(fa=!1);var Ea=qr?!1:fa,Lr=d.useCallback(function(Ur){var Zr=Ur!==void 0?Ur:!fa;Yt||(sa(Zr),fa!==Zr&&(gn==null||gn(Zr)))},[Yt,fa,sa,gn]),Qr=d.useMemo(function(){return(sr||[]).some(function(Ur){return[` `,`\r `].includes(Ur)})},[sr]),vn=d.useContext(te)||{},kn=vn.maxCount,Yn=vn.rawValues,Nr=function(Zr,ua,Ya){if(!(Pr&&re(kn)&&(Yn==null?void 0:Yn.size)>=kn)){var ma=!0,Ka=Zr;On==null||On(null);var ka=fe(Zr,sr,re(kn)?kn-Yn.size:void 0),ui=Ya?null:ka;return Pt!=="combobox"&&ui&&(Ka="",Cr==null||Cr(ui),Lr(!1),ma=!1),er&&br!==Ka&&er(Ka,{source:ua?"typing":"effect"}),ma}},Gt=function(Zr){!Zr||!Zr.trim()||er(Zr,{source:"submit"})};d.useEffect(function(){!fa&&!Pr&&Pt!=="combobox"&&Nr("",!1,!1)},[fa]),d.useEffect(function(){da&&Yt&&sa(!1),Yt&&!Kn.current&&mr(!1)},[Yt]);var Xr=t(),ya=(0,N.Z)(Xr,2),oa=ya[0],Aa=ya[1],Zn=d.useRef(!1),na=function(Zr){var ua=oa(),Ya=Zr.key,ma=Ya==="Enter";if(ma&&(Pt!=="combobox"&&Zr.preventDefault(),fa||Lr(!0)),Aa(!!br),Ya==="Backspace"&&!ua&&Pr&&!br&&ye.length){for(var Ka=(0,k.Z)(ye),ka=null,ui=Ka.length-1;ui>=0;ui-=1){var $a=Ka[ui];if(!$a.disabled){Ka.splice(ui,1),ka=$a;break}}ka&&_e(Ka,{type:"remove",values:[ka]})}for(var Ai=arguments.length,wa=new Array(Ai>1?Ai-1:0),pi=1;pi1?ua-1:0),ma=1;ma1?ka-1:0),$a=1;$a=ut},[je,ut,xn==null?void 0:xn.size]),sr=function(Zt){Zt.preventDefault()},Rn=function(Zt){var qt;(qt=er.current)===null||qt===void 0||qt.scrollTo(typeof Zt=="number"?{index:Zt}:Zt)},or=d.useCallback(function(Sn){return tt==="combobox"?!1:xn.has(Sn)},[tt,(0,k.Z)(xn).toString(),xn.size]),fr=function(Zt){for(var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Xn=Fn.length,zn=0;zn1&&arguments[1]!==void 0?arguments[1]:!1;wr(Zt);var Xn={source:qt?"keyboard":"mouse"},zn=Fn[Zt];if(!zn){Pt(null,-1,Xn);return}Pt(zn.value,Zt,Xn)};(0,d.useEffect)(function(){Dt(Yt!==!1?fr(0):-1)},[Fn.length,me]);var Hr=d.useCallback(function(Sn){return tt==="combobox"?String(Sn).toLowerCase()===me.toLowerCase():xn.has(Sn)},[tt,me,(0,k.Z)(xn).toString(),xn.size]);(0,d.useEffect)(function(){var Sn=setTimeout(function(){if(!je&&he&&xn.size===1){var qt=Array.from(xn)[0],Xn=Fn.findIndex(function(zn){var hr=zn.data;return me?String(hr.value).startsWith(me):hr.value===qt});Xn!==-1&&(Dt(Xn),Rn(Xn))}});if(he){var Zt;(Zt=er.current)===null||Zt===void 0||Zt.scrollTo(void 0)}return function(){return clearTimeout(Sn)}},[he,me]);var Rr=function(Zt){Zt!==void 0&&sn(Zt,{selected:!xn.has(Zt)}),je||ye(!1)};if(d.useImperativeHandle(Ee,function(){return{onKeyDown:function(Zt){var qt=Zt.which,Xn=Zt.ctrlKey;switch(qt){case f.Z.N:case f.Z.P:case f.Z.UP:case f.Z.DOWN:{var zn=0;if(qt===f.Z.UP?zn=-1:qt===f.Z.DOWN?zn=1:un()&&Xn&&(qt===f.Z.N?zn=1:qt===f.Z.P&&(zn=-1)),zn!==0){var hr=fr($n+zn,zn);Rn(hr),Dt(hr,!0)}break}case f.Z.TAB:case f.Z.ENTER:{var Tr,gr=Fn[$n];gr&&!(gr!=null&&(Tr=gr.data)!==null&&Tr!==void 0&&Tr.disabled)&&!Cr?Rr(gr.value):Rr(void 0),he&&Zt.preventDefault();break}case f.Z.ESC:ye(!1),he&&Zt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Zt){Rn(Zt)}}}),Fn.length===0)return d.createElement("div",{role:"listbox",id:"".concat(ze,"_list"),className:"".concat(bn,"-empty"),onMouseDown:sr},_e);var kr=Object.keys(an).map(function(Sn){return an[Sn]}),Wr=function(Zt){return Zt.label};function ea(Sn,Zt){var qt=Sn.group;return{role:qt?"presentation":"option",id:"".concat(ze,"_list_").concat(Zt)}}var ar=function(Zt){var qt=Fn[Zt];if(!qt)return null;var Xn=qt.data||{},zn=Xn.value,hr=qt.group,Tr=(0,b.Z)(Xn,!0),gr=Wr(qt);return qt?d.createElement("div",(0,h.Z)({"aria-label":typeof gr=="string"&&!hr?gr:null},Tr,{key:Zt},ea(qt,Zt),{"aria-selected":Hr(zn)}),zn):null},lr={role:"listbox",id:"".concat(ze,"_list")};return d.createElement(d.Fragment,null,hn&&d.createElement("div",(0,h.Z)({},lr,{style:{height:0,width:0,overflow:"hidden"}}),ar($n-1),ar($n),ar($n+1)),d.createElement(xt.Z,{itemKey:"key",ref:er,data:Fn,height:Lt,itemHeight:On,fullHeight:!1,onMouseDown:sr,onScroll:Ge,virtual:hn,direction:gn,innerProps:hn?null:lr},function(Sn,Zt){var qt=Sn.group,Xn=Sn.groupOption,zn=Sn.data,hr=Sn.label,Tr=Sn.value,gr=zn.key;if(qt){var Pr,et=(Pr=zn.title)!==null&&Pr!==void 0?Pr:Ut(hr)?hr.toString():void 0;return d.createElement("div",{className:o()(bn,"".concat(bn,"-group"),zn.className),title:et},hr!==void 0?hr:gr)}var Ft=zn.disabled,At=zn.title,En=zn.children,Qn=zn.style,mt=zn.className,vr=(0,C.Z)(zn,$t),Pn=(0,_t.Z)(vr,kr),Jt=or(Tr),Vn=Ft||!Jt&&Cr,yr="".concat(bn,"-option"),Kn=o()(bn,yr,mt,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(yr,"-grouped"),Xn),"".concat(yr,"-active"),$n===Zt&&!Vn),"".concat(yr,"-disabled"),Vn),"".concat(yr,"-selected"),Jt)),pr=Wr(Sn),Ln=!Mn||typeof Mn=="function"||Jt,Mr=typeof pr=="number"?pr:pr||Tr,mr=Ut(Mr)?Mr.toString():void 0;return At!==void 0&&(mr=At),d.createElement("div",(0,h.Z)({},(0,b.Z)(Pn),hn?{}:ea(Sn,Zt),{"aria-selected":Hr(Tr),className:Kn,title:mr,onMouseMove:function(){$n===Zt||Vn||Dt(Zt)},onClick:function(){Vn||Rr(Tr)},style:Qn}),d.createElement("div",{className:"".concat(yr,"-content")},typeof jn=="function"?jn(Sn,{index:Zt}):Mr),d.isValidElement(Mn)||Jt,Ln&&d.createElement(c,{className:"".concat(bn,"-option-state"),customizeIcon:Mn,customizeIconProps:{value:Tr,disabled:Vn,isSelected:Jt}},Jt?"\u2713":null))}))},Bn=d.forwardRef(mn),rn=Bn,Tn=function(He,Be){var Ee=d.useRef({values:new Map,options:new Map}),Le=d.useMemo(function(){var ze=Ee.current,he=ze.values,je=ze.options,tt=He.map(function(_e){if(_e.label===void 0){var Ge;return(0,_.Z)((0,_.Z)({},_e),{},{label:(Ge=he.get(_e.value))===null||Ge===void 0?void 0:Ge.label})}return _e}),me=new Map,ye=new Map;return tt.forEach(function(_e){me.set(_e.value,_e),ye.set(_e.value,Be.get(_e.value)||je.get(_e.value))}),Ee.current.values=me,Ee.current.options=ye,tt},[He,Be]),Ie=d.useCallback(function(ze){return Be.get(ze)||Ee.current.options.get(ze)},[Be]);return[Le,Ie]};function en(He,Be){return I(He).join("").toUpperCase().includes(Be)}var jt=function(He,Be,Ee,Le,Ie){return d.useMemo(function(){if(!Ee||Le===!1)return He;var ze=Be.options,he=Be.label,je=Be.value,tt=[],me=typeof Le=="function",ye=Ee.toUpperCase(),_e=me?Le:function(Se,ut){return Ie?en(ut[Ie],ye):ut[ze]?en(ut[he!=="children"?he:"label"],ye):en(ut[je],ye)},Ge=me?function(Se){return q(Se)}:function(Se){return Se};return He.forEach(function(Se){if(Se[ze]){var ut=_e(Ee,Ge(Se));if(ut)tt.push(Se);else{var bt=Se[ze].filter(function(Pt){return _e(Ee,Ge(Pt))});bt.length&&tt.push((0,_.Z)((0,_.Z)({},Se),{},(0,P.Z)({},ze,bt)))}return}_e(Ee,Ge(Se))&&tt.push(Se)}),tt},[He,Le,Ie,Ee,Be])},Xt=O(6551),St=O(11592),It=["children","value"],Rt=["children"];function Wt(He){var Be=He,Ee=Be.key,Le=Be.props,Ie=Le.children,ze=Le.value,he=(0,C.Z)(Le,It);return(0,_.Z)({key:Ee,value:ze!==void 0?ze:Ee,children:Ie},he)}function dn(He){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,St.Z)(He).map(function(Ee,Le){if(!d.isValidElement(Ee)||!Ee.type)return null;var Ie=Ee,ze=Ie.type.isSelectOptGroup,he=Ie.key,je=Ie.props,tt=je.children,me=(0,C.Z)(je,Rt);return Be||!ze?Wt(Ee):(0,_.Z)((0,_.Z)({key:"__RC_SELECT_GRP__".concat(he===null?Le:he,"__"),label:he},me),{},{options:dn(tt)})}).filter(function(Ee){return Ee})}var Dn=function(Be,Ee,Le,Ie,ze){return d.useMemo(function(){var he=Be,je=!Be;je&&(he=dn(Ee));var tt=new Map,me=new Map,ye=function(Se,ut,bt){bt&&typeof bt=="string"&&Se.set(ut[bt],ut)},_e=function Ge(Se){for(var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=0;bt1&&arguments[1]!==void 0?arguments[1]:!1,he=0;he0?Lr(kn.options):kn.options}):kn})},Ln=d.useMemo(function(){return sn?pr(Kn):Kn},[Kn,sn,lr]),Mr=d.useMemo(function(){return oe(Ln,{fieldNames:Wr,childrenAsData:Rr})},[Ln,Wr,Rr]),mr=function(Qr){var vn=hr(Qr);if(et(vn),tr&&(vn.length!==Qn.length||vn.some(function(Nr,Gt){var Xr;return((Xr=Qn[Gt])===null||Xr===void 0?void 0:Xr.value)!==(Nr==null?void 0:Nr.value)}))){var kn=nr?vn:vn.map(function(Nr){return Nr.value}),Yn=vn.map(function(Nr){return q(mt(Nr.value))});tr(Hr?kn:kn[0],Hr?Yn:Yn[0])}},Gn=d.useState(null),br=(0,N.Z)(Gn,2),Ar=br[0],Ir=br[1],Jn=d.useState(0),Er=(0,N.Z)(Jn,2),ra=Er[0],Gr=Er[1],Dr=Lt!==void 0?Lt:Le!=="combobox",ur=d.useCallback(function(Lr,Qr){var vn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kn=vn.source,Yn=kn===void 0?"keyboard":kn;Gr(Qr),he&&Le==="combobox"&&Lr!==null&&Yn==="keyboard"&&Ir(String(Lr))},[he,Le]),ca=function(Qr,vn,kn){var Yn=function(){var Jr,_a=mt(Qr);return[nr?{label:_a==null?void 0:_a[Wr.label],value:Qr,key:(Jr=_a==null?void 0:_a.key)!==null&&Jr!==void 0?Jr:Qr}:Qr,q(_a)]};if(vn&&Se){var Nr=Yn(),Gt=(0,N.Z)(Nr,2),Xr=Gt[0],ya=Gt[1];Se(Xr,ya)}else if(!vn&&ut&&kn!=="clear"){var oa=Yn(),Aa=(0,N.Z)(oa,2),Zn=Aa[0],na=Aa[1];ut(Zn,na)}},da=T(function(Lr,Qr){var vn,kn=Hr?Qr.selected:!0;kn?vn=Hr?[].concat((0,k.Z)(Qn),[Lr]):[Lr]:vn=Qn.filter(function(Yn){return Yn.value!==Lr}),mr(vn),ca(Lr,kn),Le==="combobox"?Ir(""):(!ft||Ge)&&(Sn(""),Ir(""))}),sa=function(Qr,vn){mr(Qr);var kn=vn.type,Yn=vn.values;(kn==="remove"||kn==="clear")&&Yn.forEach(function(Nr){ca(Nr.value,!1,kn)})},fa=function(Qr,vn){if(Sn(Qr),Ir(null),vn.source==="submit"){var kn=(Qr||"").trim();if(kn){var Yn=Array.from(new Set([].concat((0,k.Z)(Pn),[kn])));mr(Yn),ca(kn,!0),Sn("")}return}vn.source!=="blur"&&(Le==="combobox"&&mr(Qr),ye==null||ye(Qr))},qr=function(Qr){var vn=Qr;Le!=="tags"&&(vn=Qr.map(function(Yn){var Nr=Xn.get(Yn);return Nr==null?void 0:Nr.value}).filter(function(Yn){return Yn!==void 0}));var kn=Array.from(new Set([].concat((0,k.Z)(Pn),(0,k.Z)(vn))));mr(kn),kn.forEach(function(Yn){ca(Yn,!0)})},Ea=d.useMemo(function(){var Lr=jn!==!1&&Pt!==!1;return(0,_.Z)((0,_.Z)({},Zt),{},{flattenOptions:Mr,onActiveValue:ur,defaultActiveFirstOption:Dr,onSelect:da,menuItemSelectedIcon:On,rawValues:Pn,fieldNames:Wr,virtual:Lr,direction:bn,listHeight:er,listItemHeight:sr,childrenAsData:Rr,maxCount:$n,optionRender:hn})},[$n,Zt,Mr,ur,Dr,da,On,Pn,Wr,jn,Pt,bn,er,sr,Rr,hn]);return d.createElement(te.Provider,{value:Ea},d.createElement(qe,(0,h.Z)({},wr,{id:Dt,prefixCls:ze,ref:Be,omitDomProps:$e,mode:Le,displayValues:vr,onDisplayValuesChange:sa,direction:bn,searchValue:lr,onSearch:fa,autoClearSearchValue:Ge,onSearchSplit:qr,dropdownMatchSelectWidth:Pt,OptionList:rn,emptyOptions:!Mr.length,activeValue:Ar,activeDescendantId:"".concat(Dt,"_list_").concat(ra)})))}),st=Et;st.Option=Qe,st.OptGroup=Ze;var Bt=st,kt=Bt},22711:function(Nn,pt,O){"use strict";O.r(pt),O.d(pt,{ResizableTextArea:function(){return w},default:function(){return B}});var h=O(54476),k=O(20068),P=O(33885),_=O(94480),N=O(42978),C=O(75931),m=O(92310),p=O.n(m),E=O(36901),d=O(66003),l=O(30292),o=O(18929),g=O(59301),r=O(76190),n=O(29301),a=O(34280),c=O(16089),u=` 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; `,s=["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"],v={},e;function t(I){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=I.getAttribute("id")||I.getAttribute("data-reactid")||I.getAttribute("name");if(U&&v[F])return v[F];var K=window.getComputedStyle(I),j=K.getPropertyValue("box-sizing")||K.getPropertyValue("-moz-box-sizing")||K.getPropertyValue("-webkit-box-sizing"),X=parseFloat(K.getPropertyValue("padding-bottom"))+parseFloat(K.getPropertyValue("padding-top")),Y=parseFloat(K.getPropertyValue("border-bottom-width"))+parseFloat(K.getPropertyValue("border-top-width")),se=s.map(function(ve){return"".concat(ve,":").concat(K.getPropertyValue(ve))}).join(";"),Q={sizingStyle:se,paddingSize:X,borderSize:Y,boxSizing:j};return U&&F&&(v[F]=Q),Q}function i(I){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;e||(e=document.createElement("textarea"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute("name","hiddenTextarea"),document.body.appendChild(e)),I.getAttribute("wrap")?e.setAttribute("wrap",I.getAttribute("wrap")):e.removeAttribute("wrap");var j=t(I,U),X=j.paddingSize,Y=j.borderSize,se=j.boxSizing,Q=j.sizingStyle;e.setAttribute("style","".concat(Q,";").concat(u)),e.value=I.value||I.placeholder||"";var ve=void 0,xe=void 0,Ce,De=e.scrollHeight;if(se==="border-box"?De+=Y:se==="content-box"&&(De-=X),F!==null||K!==null){e.value=" ";var Ue=e.scrollHeight-X;F!==null&&(ve=Ue*F,se==="border-box"&&(ve=ve+X+Y),De=Math.max(ve,De)),K!==null&&(xe=Ue*K,se==="border-box"&&(xe=xe+X+Y),Ce=De>xe?"":"hidden",De=Math.min(xe,De))}var Me={height:De,overflowY:Ce,resize:"none"};return ve&&(Me.minHeight=ve),xe&&(Me.maxHeight=xe),Me}var f=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y=0,b=1,x=2,A=g.forwardRef(function(I,U){var F=I,K=F.prefixCls,j=F.defaultValue,X=F.value,Y=F.autoSize,se=F.onResize,Q=F.className,ve=F.style,xe=F.disabled,Ce=F.onChange,De=F.onInternalAutoSize,Ue=(0,C.Z)(F,f),Me=(0,o.Z)(j,{value:X,postState:function(Qe){return Qe!=null?Qe:""}}),Je=(0,N.Z)(Me,2),Re=Je[0],ge=Je[1],Ve=function(Qe){ge(Qe.target.value),Ce==null||Ce(Qe)},Fe=g.useRef();g.useImperativeHandle(U,function(){return{textArea:Fe.current}});var Te=g.useMemo(function(){return Y&&(0,r.Z)(Y)==="object"?[Y.minRows,Y.maxRows]:[]},[Y]),We=(0,N.Z)(Te,2),Ne=We[0],V=We[1],$=!!Y,re=function(){try{if(document.activeElement===Fe.current){var Qe=Fe.current,rt=Qe.selectionStart,_t=Qe.selectionEnd,xt=Qe.scrollTop;Fe.current.setSelectionRange(rt,_t),Fe.current.scrollTop=xt}}catch(un){}},ee=g.useState(x),oe=(0,N.Z)(ee,2),q=oe[0],fe=oe[1],be=g.useState(),te=(0,N.Z)(be,2),ce=te[0],lt=te[1],Xe=function(){fe(y)};(0,a.Z)(function(){$&&Xe()},[X,Ne,V,$]),(0,a.Z)(function(){if(q===y)fe(b);else if(q===b){var Oe=i(Fe.current,!1,Ne,V);fe(x),lt(Oe)}else re()},[q]);var ft=g.useRef(),yt=function(){c.Z.cancel(ft.current)},qe=function(Qe){q===x&&(se==null||se(Qe),Y&&(yt(),ft.current=(0,c.Z)(function(){Xe()})))};g.useEffect(function(){return yt},[]);var vt=$?ce:null,Ze=(0,P.Z)((0,P.Z)({},ve),vt);return(q===y||q===b)&&(Ze.overflowY="hidden",Ze.overflowX="hidden"),g.createElement(n.Z,{onResize:qe,disabled:!(Y||se)},g.createElement("textarea",(0,h.Z)({},Ue,{ref:Fe,style:Ze,className:p()(K,Q,(0,k.Z)({},"".concat(K,"-disabled"),xe)),disabled:xe,value:Re,onChange:Ve})))}),w=A,L=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],M=g.forwardRef(function(I,U){var F,K=I.defaultValue,j=I.value,X=I.onFocus,Y=I.onBlur,se=I.onChange,Q=I.allowClear,ve=I.maxLength,xe=I.onCompositionStart,Ce=I.onCompositionEnd,De=I.suffix,Ue=I.prefixCls,Me=Ue===void 0?"rc-textarea":Ue,Je=I.showCount,Re=I.count,ge=I.className,Ve=I.style,Fe=I.disabled,Te=I.hidden,We=I.classNames,Ne=I.styles,V=I.onResize,$=I.onClear,re=I.onPressEnter,ee=I.readOnly,oe=I.autoSize,q=I.onKeyDown,fe=(0,C.Z)(I,L),be=(0,o.Z)(K,{value:j,defaultValue:K}),te=(0,N.Z)(be,2),ce=te[0],lt=te[1],Xe=ce==null?"":String(ce),ft=g.useState(!1),yt=(0,N.Z)(ft,2),qe=yt[0],vt=yt[1],Ze=g.useRef(!1),Oe=g.useState(null),Qe=(0,N.Z)(Oe,2),rt=Qe[0],_t=Qe[1],xt=(0,g.useRef)(null),un=(0,g.useRef)(null),$t=function(){var st;return(st=un.current)===null||st===void 0?void 0:st.textArea},Ut=function(){$t().focus()};(0,g.useImperativeHandle)(U,function(){var Et;return{resizableTextArea:un.current,focus:Ut,blur:function(){$t().blur()},nativeElement:((Et=xt.current)===null||Et===void 0?void 0:Et.nativeElement)||$t()}}),(0,g.useEffect)(function(){vt(function(Et){return!Fe&&Et})},[Fe]);var mn=g.useState(null),Bn=(0,N.Z)(mn,2),rn=Bn[0],Tn=Bn[1];g.useEffect(function(){if(rn){var Et;(Et=$t()).setSelectionRange.apply(Et,(0,_.Z)(rn))}},[rn]);var en=(0,d.Z)(Re,Je),jt=(F=en.max)!==null&&F!==void 0?F:ve,Xt=Number(jt)>0,St=en.strategy(Xe),It=!!jt&&St>jt,Rt=function(st,Bt){var kt=Bt;!Ze.current&&en.exceedFormatter&&en.max&&en.strategy(Bt)>en.max&&(kt=en.exceedFormatter(Bt,{max:en.max}),Bt!==kt&&Tn([$t().selectionStart||0,$t().selectionEnd||0])),lt(kt),(0,l.rJ)(st.currentTarget,st,se,kt)},Wt=function(st){Ze.current=!0,xe==null||xe(st)},dn=function(st){Ze.current=!1,Rt(st,st.currentTarget.value),Ce==null||Ce(st)},Dn=function(st){Rt(st,st.target.value)},dt=function(st){st.key==="Enter"&&re&&re(st),q==null||q(st)},T=function(st){vt(!0),X==null||X(st)},z=function(st){vt(!1),Y==null||Y(st)},Z=function(st){lt(""),Ut(),(0,l.rJ)($t(),st,se)},ie=De,le;en.show&&(en.showFormatter?le=en.showFormatter({value:Xe,count:St,maxLength:jt}):le="".concat(St).concat(Xt?" / ".concat(jt):""),ie=g.createElement(g.Fragment,null,ie,g.createElement("span",{className:p()("".concat(Me,"-data-count"),We==null?void 0:We.count),style:Ne==null?void 0:Ne.count},le)));var $e=function(st){var Bt;V==null||V(st),(Bt=$t())!==null&&Bt!==void 0&&Bt.style.height&&_t(!0)},ot=!oe&&!Je&&!Q;return g.createElement(E.BaseInput,{ref:xt,value:Xe,allowClear:Q,handleReset:Z,suffix:ie,prefixCls:Me,classNames:(0,P.Z)((0,P.Z)({},We),{},{affixWrapper:p()(We==null?void 0:We.affixWrapper,(0,k.Z)((0,k.Z)({},"".concat(Me,"-show-count"),Je),"".concat(Me,"-textarea-allow-clear"),Q))}),disabled:Fe,focused:qe,className:p()(ge,It&&"".concat(Me,"-out-of-range")),style:(0,P.Z)((0,P.Z)({},Ve),rt&&!ot?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof le=="string"?le:void 0}},hidden:Te,readOnly:ee,onClear:$},g.createElement(w,(0,h.Z)({},fe,{autoSize:oe,maxLength:ve,onKeyDown:dt,onChange:Dn,onFocus:T,onBlur:z,onCompositionStart:Wt,onCompositionEnd:dn,className:p()(We==null?void 0:We.textarea),style:(0,P.Z)((0,P.Z)({},Ne==null?void 0:Ne.textarea),{},{resize:Ve==null?void 0:Ve.resize}),disabled:Fe,prefixCls:Me,onResize:$e,ref:un,readOnly:ee})))}),D=M,B=D},639:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return v}});var h=O(54476),k=O(20068),P=O(33885),_=O(42978),N=O(75931),C=O(59301),m=O(92310),p=O.n(m),E=O(26112),d=O(30699),l=function(t){for(var i=t.prefixCls,f=t.level,y=t.isStart,b=t.isEnd,x="".concat(i,"-indent-unit"),A=[],w=0;w0&&arguments[0]!==void 0?arguments[0]:[],We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ne=Te.length,V=We.length;if(Math.abs(Ne-V)!==1)return{add:!1,key:null};function $(re,ee){var oe=new Map;re.forEach(function(fe){oe.set(fe,!0)});var q=ee.filter(function(fe){return!oe.has(fe)});return q.length===1?q[0]:null}return Ne ").concat(We);return We}var Ce=a.forwardRef(function(Te,We){var Ne=Te.prefixCls,V=Te.data,$=Te.selectable,re=Te.checkable,ee=Te.expandedKeys,oe=Te.selectedKeys,q=Te.checkedKeys,fe=Te.loadedKeys,be=Te.loadingKeys,te=Te.halfCheckedKeys,ce=Te.keyEntities,lt=Te.disabled,Xe=Te.dragging,ft=Te.dragOverNodeKey,yt=Te.dropPosition,qe=Te.motion,vt=Te.height,Ze=Te.itemHeight,Oe=Te.virtual,Qe=Te.scrollWidth,rt=Te.focusable,_t=Te.activeItem,xt=Te.focused,un=Te.tabIndex,$t=Te.onKeyDown,Ut=Te.onFocus,mn=Te.onBlur,Bn=Te.onActiveChange,rn=Te.onListChangeStart,Tn=Te.onListChangeEnd,en=(0,t.Z)(Te,U),jt=a.useRef(null),Xt=a.useRef(null);a.useImperativeHandle(We,function(){return{scrollTo:function(je){jt.current.scrollTo(je)},getIndentWidth:function(){return Xt.current.offsetWidth}}});var St=a.useState(ee),It=(0,e.Z)(St,2),Rt=It[0],Wt=It[1],dn=a.useState(V),Dn=(0,e.Z)(dn,2),dt=Dn[0],T=Dn[1],z=a.useState(V),Z=(0,e.Z)(z,2),ie=Z[0],le=Z[1],$e=a.useState([]),ot=(0,e.Z)($e,2),Et=ot[0],st=ot[1],Bt=a.useState(null),kt=(0,e.Z)(Bt,2),He=kt[0],Be=kt[1],Ee=a.useRef(V);Ee.current=V;function Le(){var he=Ee.current;T(he),le(he),st([]),Be(null),Tn()}(0,i.Z)(function(){Wt(ee);var he=B(Rt,ee);if(he.key!==null)if(he.add){var je=dt.findIndex(function(Se){var ut=Se.key;return ut===he.key}),tt=Q(I(dt,V,he.key),Oe,vt,Ze),me=dt.slice();me.splice(je+1,0,se),le(me),st(tt),Be("show")}else{var ye=V.findIndex(function(Se){var ut=Se.key;return ut===he.key}),_e=Q(I(V,dt,he.key),Oe,vt,Ze),Ge=V.slice();Ge.splice(ye+1,0,se),le(Ge),st(_e),Be("hide")}else dt!==V&&(T(V),le(V))},[ee,V]),a.useEffect(function(){Xe||Le()},[Xe]);var Ie=qe?ie:V,ze={expandedKeys:ee,selectedKeys:oe,loadedKeys:fe,loadingKeys:be,checkedKeys:q,halfCheckedKeys:te,dragOverNodeKey:ft,dropPosition:yt,keyEntities:ce};return a.createElement(a.Fragment,null,xt&&_t&&a.createElement("span",{style:F,"aria-live":"assertive"},xe(_t)),a.createElement("div",null,a.createElement("input",{style:F,disabled:rt===!1||lt,tabIndex:rt!==!1?un:null,onKeyDown:$t,onFocus:Ut,onBlur:mn,value:"",onChange:K,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Ne,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Ne,"-indent")},a.createElement("div",{ref:Xt,className:"".concat(Ne,"-indent-unit")}))),a.createElement(f.Z,(0,h.Z)({},en,{data:Ie,itemKey:ve,height:vt,fullHeight:!1,virtual:Oe,itemHeight:Ze,scrollWidth:Qe,prefixCls:"".concat(Ne,"-list"),ref:jt,role:"tree",onVisibleChange:function(je){je.every(function(tt){return ve(tt)!==j})&&Le()}}),function(he){var je=he.pos,tt=Object.assign({},(v(he.data),he.data)),me=he.title,ye=he.key,_e=he.isStart,Ge=he.isEnd,Se=(0,w.km)(ye,je);delete tt.key,delete tt.children;var ut=(0,w.H8)(Se,ze);return a.createElement(D,(0,h.Z)({},tt,ut,{title:me,active:!!_t&&ye===_t.key,pos:je,data:he.data,isStart:_e,isEnd:Ge,motion:qe,motionNodes:ye===j?Et:null,motionType:He,onMotionStart:rn,onMotionEnd:Le,treeNodeRequiredProps:ze,onMouseMove:function(){Bn(null)}}))}))}),De=Ce,Ue=O(82661),Me=O(34643),Je=O(65065),Re=10,ge=function(Te){(0,p.Z)(Ne,Te);var We=(0,E.Z)(Ne);function Ne(){var V;(0,N.Z)(this,Ne);for(var $=arguments.length,re=new Array($),ee=0;ee<$;ee++)re[ee]=arguments[ee];return V=We.call.apply(We,[this].concat(re)),(0,d.Z)((0,m.Z)(V),"destroyed",!1),(0,d.Z)((0,m.Z)(V),"delayedDragEnterLogic",void 0),(0,d.Z)((0,m.Z)(V),"loadingRetryTimes",{}),(0,d.Z)((0,m.Z)(V),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,w.w$)()}),(0,d.Z)((0,m.Z)(V),"dragStartMousePosition",null),(0,d.Z)((0,m.Z)(V),"dragNodeProps",null),(0,d.Z)((0,m.Z)(V),"currentMouseOverDroppableNodeKey",null),(0,d.Z)((0,m.Z)(V),"listRef",a.createRef()),(0,d.Z)((0,m.Z)(V),"onNodeDragStart",function(oe,q){var fe=V.state,be=fe.expandedKeys,te=fe.keyEntities,ce=V.props.onDragStart,lt=q.eventKey;V.dragNodeProps=q,V.dragStartMousePosition={x:oe.clientX,y:oe.clientY};var Xe=(0,Ue._5)(be,lt);V.setState({draggingNodeKey:lt,dragChildrenKeys:(0,Ue.wA)(lt,te),indent:V.listRef.current.getIndentWidth()}),V.setExpandedKeys(Xe),window.addEventListener("dragend",V.onWindowDragEnd),ce==null||ce({event:oe,node:(0,w.F)(q)})}),(0,d.Z)((0,m.Z)(V),"onNodeDragEnter",function(oe,q){var fe=V.state,be=fe.expandedKeys,te=fe.keyEntities,ce=fe.dragChildrenKeys,lt=fe.flattenNodes,Xe=fe.indent,ft=V.props,yt=ft.onDragEnter,qe=ft.onExpand,vt=ft.allowDrop,Ze=ft.direction,Oe=q.pos,Qe=q.eventKey;if(V.currentMouseOverDroppableNodeKey!==Qe&&(V.currentMouseOverDroppableNodeKey=Qe),!V.dragNodeProps){V.resetDragState();return}var rt=(0,Ue.OM)(oe,V.dragNodeProps,q,Xe,V.dragStartMousePosition,vt,lt,te,be,Ze),_t=rt.dropPosition,xt=rt.dropLevelOffset,un=rt.dropTargetKey,$t=rt.dropContainerKey,Ut=rt.dropTargetPos,mn=rt.dropAllowed,Bn=rt.dragOverNodeKey;if(ce.includes(un)||!mn){V.resetDragState();return}if(V.delayedDragEnterLogic||(V.delayedDragEnterLogic={}),Object.keys(V.delayedDragEnterLogic).forEach(function(rn){clearTimeout(V.delayedDragEnterLogic[rn])}),V.dragNodeProps.eventKey!==q.eventKey&&(oe.persist(),V.delayedDragEnterLogic[Oe]=window.setTimeout(function(){if(V.state.draggingNodeKey!==null){var rn=(0,_.Z)(be),Tn=(0,Je.Z)(te,q.eventKey);Tn&&(Tn.children||[]).length&&(rn=(0,Ue.L0)(be,q.eventKey)),V.props.hasOwnProperty("expandedKeys")||V.setExpandedKeys(rn),qe==null||qe(rn,{node:(0,w.F)(q),expanded:!0,nativeEvent:oe.nativeEvent})}},800)),V.dragNodeProps.eventKey===un&&xt===0){V.resetDragState();return}V.setState({dragOverNodeKey:Bn,dropPosition:_t,dropLevelOffset:xt,dropTargetKey:un,dropContainerKey:$t,dropTargetPos:Ut,dropAllowed:mn}),yt==null||yt({event:oe,node:(0,w.F)(q),expandedKeys:be})}),(0,d.Z)((0,m.Z)(V),"onNodeDragOver",function(oe,q){var fe=V.state,be=fe.dragChildrenKeys,te=fe.flattenNodes,ce=fe.keyEntities,lt=fe.expandedKeys,Xe=fe.indent,ft=V.props,yt=ft.onDragOver,qe=ft.allowDrop,vt=ft.direction;if(V.dragNodeProps){var Ze=(0,Ue.OM)(oe,V.dragNodeProps,q,Xe,V.dragStartMousePosition,qe,te,ce,lt,vt),Oe=Ze.dropPosition,Qe=Ze.dropLevelOffset,rt=Ze.dropTargetKey,_t=Ze.dropContainerKey,xt=Ze.dropTargetPos,un=Ze.dropAllowed,$t=Ze.dragOverNodeKey;be.includes(rt)||!un||(V.dragNodeProps.eventKey===rt&&Qe===0?V.state.dropPosition===null&&V.state.dropLevelOffset===null&&V.state.dropTargetKey===null&&V.state.dropContainerKey===null&&V.state.dropTargetPos===null&&V.state.dropAllowed===!1&&V.state.dragOverNodeKey===null||V.resetDragState():Oe===V.state.dropPosition&&Qe===V.state.dropLevelOffset&&rt===V.state.dropTargetKey&&_t===V.state.dropContainerKey&&xt===V.state.dropTargetPos&&un===V.state.dropAllowed&&$t===V.state.dragOverNodeKey||V.setState({dropPosition:Oe,dropLevelOffset:Qe,dropTargetKey:rt,dropContainerKey:_t,dropTargetPos:xt,dropAllowed:un,dragOverNodeKey:$t}),yt==null||yt({event:oe,node:(0,w.F)(q)}))}}),(0,d.Z)((0,m.Z)(V),"onNodeDragLeave",function(oe,q){V.currentMouseOverDroppableNodeKey===q.eventKey&&!oe.currentTarget.contains(oe.relatedTarget)&&(V.resetDragState(),V.currentMouseOverDroppableNodeKey=null);var fe=V.props.onDragLeave;fe==null||fe({event:oe,node:(0,w.F)(q)})}),(0,d.Z)((0,m.Z)(V),"onWindowDragEnd",function(oe){V.onNodeDragEnd(oe,null,!0),window.removeEventListener("dragend",V.onWindowDragEnd)}),(0,d.Z)((0,m.Z)(V),"onNodeDragEnd",function(oe,q){var fe=V.props.onDragEnd;V.setState({dragOverNodeKey:null}),V.cleanDragState(),fe==null||fe({event:oe,node:(0,w.F)(q)}),V.dragNodeProps=null,window.removeEventListener("dragend",V.onWindowDragEnd)}),(0,d.Z)((0,m.Z)(V),"onNodeDrop",function(oe,q){var fe,be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,te=V.state,ce=te.dragChildrenKeys,lt=te.dropPosition,Xe=te.dropTargetKey,ft=te.dropTargetPos,yt=te.dropAllowed;if(yt){var qe=V.props.onDrop;if(V.setState({dragOverNodeKey:null}),V.cleanDragState(),Xe!==null){var vt=(0,P.Z)((0,P.Z)({},(0,w.H8)(Xe,V.getTreeNodeRequiredProps())),{},{active:((fe=V.getActiveItem())===null||fe===void 0?void 0:fe.key)===Xe,data:(0,Je.Z)(V.state.keyEntities,Xe).node}),Ze=ce.includes(Xe);(0,n.ZP)(!Ze,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Oe=(0,Ue.yx)(ft),Qe={event:oe,node:(0,w.F)(vt),dragNode:V.dragNodeProps?(0,w.F)(V.dragNodeProps):null,dragNodesKeys:[V.dragNodeProps.eventKey].concat(ce),dropToGap:lt!==0,dropPosition:lt+Number(Oe[Oe.length-1])};be||qe==null||qe(Qe),V.dragNodeProps=null}}}),(0,d.Z)((0,m.Z)(V),"cleanDragState",function(){var oe=V.state.draggingNodeKey;oe!==null&&V.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),V.dragStartMousePosition=null,V.currentMouseOverDroppableNodeKey=null}),(0,d.Z)((0,m.Z)(V),"triggerExpandActionExpand",function(oe,q){var fe=V.state,be=fe.expandedKeys,te=fe.flattenNodes,ce=q.expanded,lt=q.key,Xe=q.isLeaf;if(!(Xe||oe.shiftKey||oe.metaKey||oe.ctrlKey)){var ft=te.filter(function(qe){return qe.key===lt})[0],yt=(0,w.F)((0,P.Z)((0,P.Z)({},(0,w.H8)(lt,V.getTreeNodeRequiredProps())),{},{data:ft.data}));V.setExpandedKeys(ce?(0,Ue._5)(be,lt):(0,Ue.L0)(be,lt)),V.onNodeExpand(oe,yt)}}),(0,d.Z)((0,m.Z)(V),"onNodeClick",function(oe,q){var fe=V.props,be=fe.onClick,te=fe.expandAction;te==="click"&&V.triggerExpandActionExpand(oe,q),be==null||be(oe,q)}),(0,d.Z)((0,m.Z)(V),"onNodeDoubleClick",function(oe,q){var fe=V.props,be=fe.onDoubleClick,te=fe.expandAction;te==="doubleClick"&&V.triggerExpandActionExpand(oe,q),be==null||be(oe,q)}),(0,d.Z)((0,m.Z)(V),"onNodeSelect",function(oe,q){var fe=V.state.selectedKeys,be=V.state,te=be.keyEntities,ce=be.fieldNames,lt=V.props,Xe=lt.onSelect,ft=lt.multiple,yt=q.selected,qe=q[ce.key],vt=!yt;vt?ft?fe=(0,Ue.L0)(fe,qe):fe=[qe]:fe=(0,Ue._5)(fe,qe);var Ze=fe.map(function(Oe){var Qe=(0,Je.Z)(te,Oe);return Qe?Qe.node:null}).filter(Boolean);V.setUncontrolledState({selectedKeys:fe}),Xe==null||Xe(fe,{event:"select",selected:vt,node:q,selectedNodes:Ze,nativeEvent:oe.nativeEvent})}),(0,d.Z)((0,m.Z)(V),"onNodeCheck",function(oe,q,fe){var be=V.state,te=be.keyEntities,ce=be.checkedKeys,lt=be.halfCheckedKeys,Xe=V.props,ft=Xe.checkStrictly,yt=Xe.onCheck,qe=q.key,vt,Ze={event:"check",node:q,checked:fe,nativeEvent:oe.nativeEvent};if(ft){var Oe=fe?(0,Ue.L0)(ce,qe):(0,Ue._5)(ce,qe),Qe=(0,Ue._5)(lt,qe);vt={checked:Oe,halfChecked:Qe},Ze.checkedNodes=Oe.map(function(Ut){return(0,Je.Z)(te,Ut)}).filter(Boolean).map(function(Ut){return Ut.node}),V.setUncontrolledState({checkedKeys:Oe})}else{var rt=(0,Me.S)([].concat((0,_.Z)(ce),[qe]),!0,te),_t=rt.checkedKeys,xt=rt.halfCheckedKeys;if(!fe){var un=new Set(_t);un.delete(qe);var $t=(0,Me.S)(Array.from(un),{checked:!1,halfCheckedKeys:xt},te);_t=$t.checkedKeys,xt=$t.halfCheckedKeys}vt=_t,Ze.checkedNodes=[],Ze.checkedNodesPositions=[],Ze.halfCheckedKeys=xt,_t.forEach(function(Ut){var mn=(0,Je.Z)(te,Ut);if(mn){var Bn=mn.node,rn=mn.pos;Ze.checkedNodes.push(Bn),Ze.checkedNodesPositions.push({node:Bn,pos:rn})}}),V.setUncontrolledState({checkedKeys:_t},!1,{halfCheckedKeys:xt})}yt==null||yt(vt,Ze)}),(0,d.Z)((0,m.Z)(V),"onNodeLoad",function(oe){var q,fe=oe.key,be=V.state.keyEntities,te=(0,Je.Z)(be,fe);if(!(te!=null&&(q=te.children)!==null&&q!==void 0&&q.length)){var ce=new Promise(function(lt,Xe){V.setState(function(ft){var yt=ft.loadedKeys,qe=yt===void 0?[]:yt,vt=ft.loadingKeys,Ze=vt===void 0?[]:vt,Oe=V.props,Qe=Oe.loadData,rt=Oe.onLoad;if(!Qe||qe.includes(fe)||Ze.includes(fe))return null;var _t=Qe(oe);return _t.then(function(){var xt=V.state.loadedKeys,un=(0,Ue.L0)(xt,fe);rt==null||rt(un,{event:"load",node:oe}),V.setUncontrolledState({loadedKeys:un}),V.setState(function($t){return{loadingKeys:(0,Ue._5)($t.loadingKeys,fe)}}),lt()}).catch(function(xt){if(V.setState(function($t){return{loadingKeys:(0,Ue._5)($t.loadingKeys,fe)}}),V.loadingRetryTimes[fe]=(V.loadingRetryTimes[fe]||0)+1,V.loadingRetryTimes[fe]>=Re){var un=V.state.loadedKeys;(0,n.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),V.setUncontrolledState({loadedKeys:(0,Ue.L0)(un,fe)}),lt()}Xe(xt)}),{loadingKeys:(0,Ue.L0)(Ze,fe)}})});return ce.catch(function(){}),ce}}),(0,d.Z)((0,m.Z)(V),"onNodeMouseEnter",function(oe,q){var fe=V.props.onMouseEnter;fe==null||fe({event:oe,node:q})}),(0,d.Z)((0,m.Z)(V),"onNodeMouseLeave",function(oe,q){var fe=V.props.onMouseLeave;fe==null||fe({event:oe,node:q})}),(0,d.Z)((0,m.Z)(V),"onNodeContextMenu",function(oe,q){var fe=V.props.onRightClick;fe&&(oe.preventDefault(),fe({event:oe,node:q}))}),(0,d.Z)((0,m.Z)(V),"onFocus",function(){var oe=V.props.onFocus;V.setState({focused:!0});for(var q=arguments.length,fe=new Array(q),be=0;be1&&arguments[1]!==void 0?arguments[1]:!1,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!V.destroyed){var be=!1,te=!0,ce={};Object.keys(oe).forEach(function(lt){if(V.props.hasOwnProperty(lt)){te=!1;return}be=!0,ce[lt]=oe[lt]}),be&&(!q||te)&&V.setState((0,P.Z)((0,P.Z)({},ce),fe))}}),(0,d.Z)((0,m.Z)(V),"scrollTo",function(oe){V.listRef.current.scrollTo(oe)}),V}return(0,C.Z)(Ne,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var $=this.props,re=$.activeKey,ee=$.itemScrollOffset,oe=ee===void 0?0:ee;re!==void 0&&re!==this.state.activeKey&&(this.setState({activeKey:re}),re!==null&&this.scrollTo({key:re,offset:oe}))}},{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 $=this.state,re=$.focused,ee=$.flattenNodes,oe=$.keyEntities,q=$.draggingNodeKey,fe=$.activeKey,be=$.dropLevelOffset,te=$.dropContainerKey,ce=$.dropTargetKey,lt=$.dropPosition,Xe=$.dragOverNodeKey,ft=$.indent,yt=this.props,qe=yt.prefixCls,vt=yt.className,Ze=yt.style,Oe=yt.showLine,Qe=yt.focusable,rt=yt.tabIndex,_t=rt===void 0?0:rt,xt=yt.selectable,un=yt.showIcon,$t=yt.icon,Ut=yt.switcherIcon,mn=yt.draggable,Bn=yt.checkable,rn=yt.checkStrictly,Tn=yt.disabled,en=yt.motion,jt=yt.loadData,Xt=yt.filterTreeNode,St=yt.height,It=yt.itemHeight,Rt=yt.scrollWidth,Wt=yt.virtual,dn=yt.titleRender,Dn=yt.dropIndicatorRender,dt=yt.onContextMenu,T=yt.onScroll,z=yt.direction,Z=yt.rootClassName,ie=yt.rootStyle,le=(0,r.Z)(this.props,{aria:!0,data:!0}),$e;mn&&((0,k.Z)(mn)==="object"?$e=mn:typeof mn=="function"?$e={nodeDraggable:mn}:$e={});var ot={prefixCls:qe,selectable:xt,showIcon:un,icon:$t,switcherIcon:Ut,draggable:$e,draggingNodeKey:q,checkable:Bn,checkStrictly:rn,disabled:Tn,keyEntities:oe,dropLevelOffset:be,dropContainerKey:te,dropTargetKey:ce,dropPosition:lt,dragOverNodeKey:Xe,indent:ft,direction:z,dropIndicatorRender:Dn,loadData:jt,filterTreeNode:Xt,titleRender:dn,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};return a.createElement(c.k.Provider,{value:ot},a.createElement("div",{className:o()(qe,vt,Z,(0,d.Z)((0,d.Z)((0,d.Z)({},"".concat(qe,"-show-line"),Oe),"".concat(qe,"-focused"),re),"".concat(qe,"-active-focused"),fe!==null)),style:ie},a.createElement(De,(0,h.Z)({ref:this.listRef,prefixCls:qe,style:Ze,data:ee,disabled:Tn,selectable:xt,checkable:!!Bn,motion:en,dragging:q!==null,height:St,itemHeight:It,virtual:Wt,focusable:Qe,focused:re,tabIndex:_t,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:dt,onScroll:T,scrollWidth:Rt},this.getTreeNodeRequiredProps(),le))))}}],[{key:"getDerivedStateFromProps",value:function($,re){var ee=re.prevProps,oe={prevProps:$};function q(_t){return!ee&&$.hasOwnProperty(_t)||ee&&ee[_t]!==$[_t]}var fe,be=re.fieldNames;if(q("fieldNames")&&(be=(0,w.w$)($.fieldNames),oe.fieldNames=be),q("treeData")?fe=$.treeData:q("children")&&((0,n.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),fe=(0,w.zn)($.children)),fe){oe.treeData=fe;var te=(0,w.I8)(fe,{fieldNames:be});oe.keyEntities=(0,P.Z)((0,d.Z)({},j,Y),te.keyEntities)}var ce=oe.keyEntities||re.keyEntities;if(q("expandedKeys")||ee&&q("autoExpandParent"))oe.expandedKeys=$.autoExpandParent||!ee&&$.defaultExpandParent?(0,Ue.r7)($.expandedKeys,ce):$.expandedKeys;else if(!ee&&$.defaultExpandAll){var lt=(0,P.Z)({},ce);delete lt[j];var Xe=[];Object.keys(lt).forEach(function(_t){var xt=lt[_t];xt.children&&xt.children.length&&Xe.push(xt.key)}),oe.expandedKeys=Xe}else!ee&&$.defaultExpandedKeys&&(oe.expandedKeys=$.autoExpandParent||$.defaultExpandParent?(0,Ue.r7)($.defaultExpandedKeys,ce):$.defaultExpandedKeys);if(oe.expandedKeys||delete oe.expandedKeys,fe||oe.expandedKeys){var ft=(0,w.oH)(fe||re.treeData,oe.expandedKeys||re.expandedKeys,be);oe.flattenNodes=ft}if($.selectable&&(q("selectedKeys")?oe.selectedKeys=(0,Ue.BT)($.selectedKeys,$):!ee&&$.defaultSelectedKeys&&(oe.selectedKeys=(0,Ue.BT)($.defaultSelectedKeys,$))),$.checkable){var yt;if(q("checkedKeys")?yt=(0,Ue.E6)($.checkedKeys)||{}:!ee&&$.defaultCheckedKeys?yt=(0,Ue.E6)($.defaultCheckedKeys)||{}:fe&&(yt=(0,Ue.E6)($.checkedKeys)||{checkedKeys:re.checkedKeys,halfCheckedKeys:re.halfCheckedKeys}),yt){var qe=yt,vt=qe.checkedKeys,Ze=vt===void 0?[]:vt,Oe=qe.halfCheckedKeys,Qe=Oe===void 0?[]:Oe;if(!$.checkStrictly){var rt=(0,Me.S)(Ze,!0,ce);Ze=rt.checkedKeys,Qe=rt.halfCheckedKeys}oe.checkedKeys=Ze,oe.halfCheckedKeys=Qe}}return q("loadedKeys")&&(oe.loadedKeys=$.loadedKeys),oe}}]),Ne}(a.Component);(0,d.Z)(ge,"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:s,allowDrop:function(){return!0},expandAction:!1}),(0,d.Z)(ge,"TreeNode",b.Z);var Ve=ge,Fe=Ve},82661:function(Nn,pt,O){"use strict";O.d(pt,{BT:function(){return a},E6:function(){return s},L0:function(){return d},OM:function(){return n},_5:function(){return E},r7:function(){return v},wA:function(){return o},yx:function(){return l}});var h=O(94480),k=O(76190),P=O(48736),_=O(59301),N=O(639),C=O(65065),m=O(34061),p=null;function E(e,t){if(!e)return[];var i=e.slice(),f=i.indexOf(t);return f>=0&&i.splice(f,1),i}function d(e,t){var i=(e||[]).slice();return i.indexOf(t)===-1&&i.push(t),i}function l(e){return e.split("-")}function o(e,t){var i=[],f=(0,C.Z)(t,e);function y(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];b.forEach(function(x){var A=x.key,w=x.children;i.push(A),y(w)})}return y(f.children),i}function g(e){if(e.parent){var t=l(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function r(e){var t=l(e.pos);return Number(t[t.length-1])===0}function n(e,t,i,f,y,b,x,A,w,L){var M,D=e.clientX,B=e.clientY,I=e.target.getBoundingClientRect(),U=I.top,F=I.height,K=(L==="rtl"?-1:1)*(((y==null?void 0:y.x)||0)-D),j=(K-12)/f,X=w.filter(function(Fe){var Te;return(Te=A[Fe])===null||Te===void 0||(Te=Te.children)===null||Te===void 0?void 0:Te.length}),Y=(0,C.Z)(A,i.eventKey);if(B-1.5?b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ve=!1:b({dragNode:Re,dropNode:ge,dropPosition:0})?Ue=0:b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ve=!1:b({dragNode:Re,dropNode:ge,dropPosition:1})?Ue=1:Ve=!1,{dropPosition:Ue,dropLevelOffset:Me,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:De,dropContainerKey:Ue===0?null:((M=Y.parent)===null||M===void 0?void 0:M.key)||null,dropAllowed:Ve}}function a(e,t){if(e){var i=t.multiple;return i?e.slice():e.length?[e[0]]:e}}var c=function(t){return t};function u(e,t){if(!e)return[];var i=t||{},f=i.processProps,y=f===void 0?c:f,b=Array.isArray(e)?e:[e];return b.map(function(x){var A=x.children,w=_objectWithoutProperties(x,p),L=u(A,t);return React.createElement(TreeNode,_extends({key:w.key},y(w)),L)})}function s(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if((0,k.Z)(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return(0,P.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return t}function v(e,t){var i=new Set;function f(y){if(!i.has(y)){var b=(0,C.Z)(t,y);if(b){i.add(y);var x=b.parent,A=b.node;A.disabled||x&&f(x.key)}}}return(e||[]).forEach(function(y){f(y)}),(0,h.Z)(i)}},34643:function(Nn,pt,O){"use strict";O.d(pt,{S:function(){return m}});var h=O(48736),k=O(65065);function P(p,E){var d=new Set;return p.forEach(function(l){E.has(l)||d.add(l)}),d}function _(p){var E=p||{},d=E.disabled,l=E.disableCheckbox,o=E.checkable;return!!(d||l)||o===!1}function N(p,E,d,l){for(var o=new Set(p),g=new Set,r=0;r<=d;r+=1){var n=E.get(r)||new Set;n.forEach(function(s){var v=s.key,e=s.node,t=s.children,i=t===void 0?[]:t;o.has(v)&&!l(e)&&i.filter(function(f){return!l(f.node)}).forEach(function(f){o.add(f.key)})})}for(var a=new Set,c=d;c>=0;c-=1){var u=E.get(c)||new Set;u.forEach(function(s){var v=s.parent,e=s.node;if(!(l(e)||!s.parent||a.has(s.parent.key))){if(l(s.parent.node)){a.add(v.key);return}var t=!0,i=!1;(v.children||[]).filter(function(f){return!l(f.node)}).forEach(function(f){var y=f.key,b=o.has(y);t&&!b&&(t=!1),!i&&(b||g.has(y))&&(i=!0)}),t&&o.add(v.key),i&&g.add(v.key),a.add(v.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(P(g,o))}}function C(p,E,d,l,o){for(var g=new Set(p),r=new Set(E),n=0;n<=l;n+=1){var a=d.get(n)||new Set;a.forEach(function(v){var e=v.key,t=v.node,i=v.children,f=i===void 0?[]:i;!g.has(e)&&!r.has(e)&&!o(t)&&f.filter(function(y){return!o(y.node)}).forEach(function(y){g.delete(y.key)})})}r=new Set;for(var c=new Set,u=l;u>=0;u-=1){var s=d.get(u)||new Set;s.forEach(function(v){var e=v.parent,t=v.node;if(!(o(t)||!v.parent||c.has(v.parent.key))){if(o(v.parent.node)){c.add(e.key);return}var i=!0,f=!1;(e.children||[]).filter(function(y){return!o(y.node)}).forEach(function(y){var b=y.key,x=g.has(b);i&&!x&&(i=!1),!f&&(x||r.has(b))&&(f=!0)}),i||g.delete(e.key),f&&r.add(e.key),c.add(e.key)}})}return{checkedKeys:Array.from(g),halfCheckedKeys:Array.from(P(r,g))}}function m(p,E,d,l){var o=[],g;l?g=l:g=_;var r=new Set(p.filter(function(u){var s=!!(0,k.Z)(d,u);return s||o.push(u),s})),n=new Map,a=0;Object.keys(d).forEach(function(u){var s=d[u],v=s.level,e=n.get(v);e||(e=new Set,n.set(v,e)),e.add(s),a=Math.max(a,v)}),(0,h.ZP)(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map(function(u){return"'".concat(u,"'")}).join(", ")));var c;return E===!0?c=N(r,n,a,g):c=C(r,E.halfCheckedKeys,n,a,g),c}},65065:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return h}});function h(k,P){return k[P]}},34061:function(Nn,pt,O){"use strict";O.d(pt,{F:function(){return v},H8:function(){return s},I8:function(){return u},km:function(){return o},oH:function(){return a},w$:function(){return g},zn:function(){return n}});var h=O(76190),k=O(94480),P=O(33885),_=O(75931),N=O(11592),C=O(2738),m=O(48736),p=O(65065),E=["children"];function d(e,t){return"".concat(e,"-").concat(t)}function l(e){return e&&e.type&&e.type.isTreeNode}function o(e,t){return e!=null?e:t}function g(e){var t=e||{},i=t.title,f=t._title,y=t.key,b=t.children,x=i||"title";return{title:x,_title:f||[x],key:y||"key",children:b||"children"}}function r(e,t){var i=new Map;function f(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(x){var A=x[t.key],w=x[t.children];warning(A!=null,"Tree node must have a certain key: [".concat(b).concat(A,"]"));var L=String(A);warning(!i.has(L)||A===null||A===void 0,"Same 'key' exist in the Tree: ".concat(L)),i.set(L,!0),f(w,"".concat(b).concat(L," > "))})}f(e)}function n(e){function t(i){var f=(0,N.Z)(i);return f.map(function(y){if(!l(y))return(0,m.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var b=y.key,x=y.props,A=x.children,w=(0,_.Z)(x,E),L=(0,P.Z)({key:b},w),M=t(A);return M.length&&(L.children=M),L}).filter(function(y){return y})}return t(e)}function a(e,t,i){var f=g(i),y=f._title,b=f.key,x=f.children,A=new Set(t===!0?[]:t),w=[];function L(M){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return M.map(function(B,I){for(var U=d(D?D.pos:"0",I),F=o(B[b],U),K,j=0;j1&&arguments[1]!==void 0?arguments[1]:{},i=t.initWrapper,f=t.processEntity,y=t.onProcessFinished,b=t.externalGetKey,x=t.childrenPropName,A=t.fieldNames,w=arguments.length>2?arguments[2]:void 0,L=b||w,M={},D={},B={posEntities:M,keyEntities:D};return i&&(B=i(B)||B),c(e,function(I){var U=I.node,F=I.index,K=I.pos,j=I.key,X=I.parentPos,Y=I.level,se=I.nodes,Q={node:U,nodes:se,index:F,key:j,pos:K,level:Y},ve=o(j,K);M[K]=Q,D[ve]=Q,Q.parent=M[X],Q.parent&&(Q.parent.children=Q.parent.children||[],Q.parent.children.push(Q)),f&&f(Q,B)},{externalGetKey:L,childrenPropName:x,fieldNames:A}),y&&y(B),B}function s(e,t){var i=t.expandedKeys,f=t.selectedKeys,y=t.loadedKeys,b=t.loadingKeys,x=t.checkedKeys,A=t.halfCheckedKeys,w=t.dragOverNodeKey,L=t.dropPosition,M=t.keyEntities,D=(0,p.Z)(M,e),B={eventKey:e,expanded:i.indexOf(e)!==-1,selected:f.indexOf(e)!==-1,loaded:y.indexOf(e)!==-1,loading:b.indexOf(e)!==-1,checked:x.indexOf(e)!==-1,halfChecked:A.indexOf(e)!==-1,pos:String(D?D.pos:""),dragOver:w===e&&L===0,dragOverGapTop:w===e&&L===-1,dragOverGapBottom:w===e&&L===1};return B}function v(e){var t=e.data,i=e.expanded,f=e.selected,y=e.checked,b=e.loaded,x=e.loading,A=e.halfChecked,w=e.dragOver,L=e.dragOverGapTop,M=e.dragOverGapBottom,D=e.pos,B=e.active,I=e.eventKey,U=(0,P.Z)((0,P.Z)({},t),{},{expanded:i,selected:f,checked:y,loaded:b,loading:x,halfChecked:A,dragOver:w,dragOverGapTop:L,dragOverGapBottom:M,pos:D,active:B,key:I});return"props"in U||Object.defineProperty(U,"props",{get:function(){return(0,m.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),U}},8224:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return k}});var h=O(4676);function k(P,_,N,C){var m=h.unstable_batchedUpdates?function(E){h.unstable_batchedUpdates(N,E)}:N;return P!=null&&P.addEventListener&&P.addEventListener(_,m,C),{remove:function(){P!=null&&P.removeEventListener&&P.removeEventListener(_,m,C)}}}},24514:function(Nn,pt,O){"use strict";O.d(pt,{G:function(){return _}});var h=O(47273),k=function(C){if((0,h.Z)()&&window.document.documentElement){var m=Array.isArray(C)?C:[C],p=window.document.documentElement;return m.some(function(E){return E in p.style})}return!1},P=function(C,m){if(!k(C))return!1;var p=document.createElement("div"),E=p.style[C];return p.style[C]=m,p.style[C]!==E};function _(N,C){return!Array.isArray(N)&&C!==void 0?P(N,C):k(N)}},48911:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return Re}});var h=O(54476),k=O(76190),P=O(33885),_=O(20068),N=O(42978),C=O(75931),m=O(92310),p=O.n(m),E=O(29301),d=O(70425),l=O(34280),o=O(59301),g=O(4676),r=o.forwardRef(function(ge,Ve){var Fe=ge.height,Te=ge.offsetY,We=ge.offsetX,Ne=ge.children,V=ge.prefixCls,$=ge.onInnerResize,re=ge.innerProps,ee=ge.rtl,oe=ge.extra,q={},fe={display:"flex",flexDirection:"column"};return Te!==void 0&&(q={height:Fe,position:"relative",overflow:"hidden"},fe=(0,P.Z)((0,P.Z)({},fe),{},(0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)({transform:"translateY(".concat(Te,"px)")},ee?"marginRight":"marginLeft",-We),"position","absolute"),"left",0),"right",0),"top",0))),o.createElement("div",{style:q},o.createElement(E.Z,{onResize:function(te){var ce=te.offsetHeight;ce&&$&&$()}},o.createElement("div",(0,h.Z)({style:fe,className:p()((0,_.Z)({},"".concat(V,"-holder-inner"),V)),ref:Ve},re),Ne,oe)))});r.displayName="Filler";var n=r;function a(ge){var Ve=ge.children,Fe=ge.setRef,Te=o.useCallback(function(We){Fe(We)},[]);return o.cloneElement(Ve,{ref:Te})}function c(ge,Ve,Fe,Te,We,Ne,V,$){var re=$.getKey;return ge.slice(Ve,Fe+1).map(function(ee,oe){var q=Ve+oe,fe=V(ee,q,{style:{width:Te},offsetX:We}),be=re(ee);return o.createElement(a,{key:be,setRef:function(ce){return Ne(ee,ce)}},fe)})}function u(ge,Ve,Fe,Te){var We=Fe-ge,Ne=Ve-Fe,V=Math.min(We,Ne)*2;if(Te<=V){var $=Math.floor(Te/2);return Te%2?Fe+$+1:Fe-$}return We>Ne?Fe-(Te-Ne):Fe+(Te-We)}function s(ge,Ve,Fe){var Te=ge.length,We=Ve.length,Ne,V;if(Te===0&&We===0)return null;Te2&&arguments[2]!==void 0?arguments[2]:!1,q=re?ee<0&&$.current.left||ee>0&&$.current.right:ee<0&&$.current.top||ee>0&&$.current.bottom;return oe&&q?(clearTimeout(Ne.current),We.current=!1):(!q||We.current)&&V(),!We.current&&q}};function y(ge,Ve,Fe,Te,We,Ne,V){var $=(0,o.useRef)(0),re=(0,o.useRef)(null),ee=(0,o.useRef)(null),oe=(0,o.useRef)(!1),q=f(Ve,Fe,Te,We);function fe(ft,yt){if(e.Z.cancel(re.current),!q(!1,yt)){var qe=ft;if(!qe._virtualHandled)qe._virtualHandled=!0;else return;$.current+=yt,ee.current=yt,i||qe.preventDefault(),re.current=(0,e.Z)(function(){var vt=oe.current?10:1;V($.current*vt,!1),$.current=0})}}function be(ft,yt){V(yt,!0),i||ft.preventDefault()}var te=(0,o.useRef)(null),ce=(0,o.useRef)(null);function lt(ft){if(ge){e.Z.cancel(ce.current),ce.current=(0,e.Z)(function(){te.current=null},2);var yt=ft.deltaX,qe=ft.deltaY,vt=ft.shiftKey,Ze=yt,Oe=qe;(te.current==="sx"||!te.current&&vt&&qe&&!yt)&&(Ze=qe,Oe=0,te.current="sx");var Qe=Math.abs(Ze),rt=Math.abs(Oe);te.current===null&&(te.current=Ne&&Qe>rt?"x":"y"),te.current==="y"?fe(ft,Oe):be(ft,Ze)}}function Xe(ft){ge&&(oe.current=ft.detail===ee.current)}return[lt,Xe]}function b(ge,Ve,Fe,Te){var We=o.useMemo(function(){return[new Map,[]]},[ge,Fe.id,Te]),Ne=(0,N.Z)(We,2),V=Ne[0],$=Ne[1],re=function(oe){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,fe=V.get(oe),be=V.get(q);if(fe===void 0||be===void 0)for(var te=ge.length,ce=$.length;ce0&&arguments[0]!==void 0?arguments[0]:!1;oe();var te=function(){var Xe=!1;$.current.forEach(function(ft,yt){if(ft&&ft.offsetParent){var qe=ft.offsetHeight,vt=getComputedStyle(ft),Ze=vt.marginTop,Oe=vt.marginBottom,Qe=M(Ze),rt=M(Oe),_t=qe+Qe+rt;re.current.get(yt)!==_t&&(re.current.set(yt,_t),Xe=!0)}}),Xe&&V(function(ft){return ft+1})};if(be)te();else{ee.current+=1;var ce=ee.current;Promise.resolve().then(function(){ce===ee.current&&te()})}}function fe(be,te){var ce=ge(be),lt=$.current.get(ce);te?($.current.set(ce,te),q()):$.current.delete(ce),!lt!=!te&&(te?Ve==null||Ve(be):Fe==null||Fe(be))}return(0,o.useEffect)(function(){return oe},[]),[fe,q,re.current,Ne]}var B=14/15;function I(ge,Ve,Fe){var Te=(0,o.useRef)(!1),We=(0,o.useRef)(0),Ne=(0,o.useRef)(0),V=(0,o.useRef)(null),$=(0,o.useRef)(null),re,ee=function(be){if(Te.current){var te=Math.ceil(be.touches[0].pageX),ce=Math.ceil(be.touches[0].pageY),lt=We.current-te,Xe=Ne.current-ce,ft=Math.abs(lt)>Math.abs(Xe);ft?We.current=te:Ne.current=ce;var yt=Fe(ft,ft?lt:Xe,!1,be);yt&&be.preventDefault(),clearInterval($.current),yt&&($.current=setInterval(function(){ft?lt*=B:Xe*=B;var qe=Math.floor(ft?lt:Xe);(!Fe(ft,qe,!0)||Math.abs(qe)<=.1)&&clearInterval($.current)},16))}},oe=function(){Te.current=!1,re()},q=function(be){re(),be.touches.length===1&&!Te.current&&(Te.current=!0,We.current=Math.ceil(be.touches[0].pageX),Ne.current=Math.ceil(be.touches[0].pageY),V.current=be.target,V.current.addEventListener("touchmove",ee,{passive:!1}),V.current.addEventListener("touchend",oe,{passive:!0}))};re=function(){V.current&&(V.current.removeEventListener("touchmove",ee),V.current.removeEventListener("touchend",oe))},(0,l.Z)(function(){return ge&&Ve.current.addEventListener("touchstart",q,{passive:!0}),function(){var fe;(fe=Ve.current)===null||fe===void 0||fe.removeEventListener("touchstart",q),re(),clearInterval($.current)}},[ge])}function U(ge){return Math.floor(Math.pow(ge,.5))}function F(ge,Ve){var Fe="touches"in ge?ge.touches[0]:ge;return Fe[Ve?"pageX":"pageY"]-window[Ve?"scrollX":"scrollY"]}function K(ge,Ve,Fe){o.useEffect(function(){var Te=Ve.current;if(ge&&Te){var We=!1,Ne,V,$=function(){e.Z.cancel(Ne)},re=function fe(){$(),Ne=(0,e.Z)(function(){Fe(V),fe()})},ee=function(){We=!1,$()},oe=function(be){if(!(be.target.draggable||be.button!==0)){var te=be;te._virtualHandled||(te._virtualHandled=!0,We=!0)}},q=function(be){if(We){var te=F(be,!1),ce=Te.getBoundingClientRect(),lt=ce.top,Xe=ce.bottom;if(te<=lt){var ft=lt-te;V=-U(ft),re()}else if(te>=Xe){var yt=te-Xe;V=U(yt),re()}else $()}};return Te.addEventListener("mousedown",oe),Te.ownerDocument.addEventListener("mouseup",ee),Te.ownerDocument.addEventListener("mousemove",q),Te.ownerDocument.addEventListener("dragend",ee),function(){Te.removeEventListener("mousedown",oe),Te.ownerDocument.removeEventListener("mouseup",ee),Te.ownerDocument.removeEventListener("mousemove",q),Te.ownerDocument.removeEventListener("dragend",ee),$()}}},[ge])}var j=10;function X(ge,Ve,Fe,Te,We,Ne,V,$){var re=o.useRef(),ee=o.useState(null),oe=(0,N.Z)(ee,2),q=oe[0],fe=oe[1];return(0,l.Z)(function(){if(q&&q.times=0;Ut-=1){var mn=We(Ve[Ut]),Bn=Fe.get(mn);if(Bn===void 0){ft=!0;break}if($t-=Bn,$t<=0)break}switch(vt){case"top":qe=Oe-lt;break;case"bottom":qe=Qe-Xe+lt;break;default:{var rn=ge.current.scrollTop,Tn=rn+Xe;OeTn&&(yt="bottom")}}qe!==null&&V(qe),qe!==q.lastTop&&(ft=!0)}ft&&fe((0,P.Z)((0,P.Z)({},q),{},{times:q.times+1,targetAlign:yt,lastTop:qe}))}},[q,ge.current]),function(be){if(be==null){$();return}if(e.Z.cancel(re.current),typeof be=="number")V(be);else if(be&&(0,k.Z)(be)==="object"){var te,ce=be.align;"index"in be?te=be.index:te=Ve.findIndex(function(ft){return We(ft)===be.key});var lt=be.offset,Xe=lt===void 0?0:lt;fe({times:0,index:te,offset:Xe,originAlign:ce})}}}var Y=o.forwardRef(function(ge,Ve){var Fe=ge.prefixCls,Te=ge.rtl,We=ge.scrollOffset,Ne=ge.scrollRange,V=ge.onStartMove,$=ge.onStopMove,re=ge.onScroll,ee=ge.horizontal,oe=ge.spinSize,q=ge.containerSize,fe=ge.style,be=ge.thumbStyle,te=ge.showScrollBar,ce=o.useState(!1),lt=(0,N.Z)(ce,2),Xe=lt[0],ft=lt[1],yt=o.useState(null),qe=(0,N.Z)(yt,2),vt=qe[0],Ze=qe[1],Oe=o.useState(null),Qe=(0,N.Z)(Oe,2),rt=Qe[0],_t=Qe[1],xt=!Te,un=o.useRef(),$t=o.useRef(),Ut=o.useState(te),mn=(0,N.Z)(Ut,2),Bn=mn[0],rn=mn[1],Tn=o.useRef(),en=function(){te===!0||te===!1||(clearTimeout(Tn.current),rn(!0),Tn.current=setTimeout(function(){rn(!1)},3e3))},jt=Ne-q||0,Xt=q-oe||0,St=o.useMemo(function(){if(We===0||jt===0)return 0;var Z=We/jt;return Z*Xt},[We,jt,Xt]),It=function(ie){ie.stopPropagation(),ie.preventDefault()},Rt=o.useRef({top:St,dragging:Xe,pageY:vt,startTop:rt});Rt.current={top:St,dragging:Xe,pageY:vt,startTop:rt};var Wt=function(ie){ft(!0),Ze(F(ie,ee)),_t(Rt.current.top),V(),ie.stopPropagation(),ie.preventDefault()};o.useEffect(function(){var Z=function(ot){ot.preventDefault()},ie=un.current,le=$t.current;return ie.addEventListener("touchstart",Z,{passive:!1}),le.addEventListener("touchstart",Wt,{passive:!1}),function(){ie.removeEventListener("touchstart",Z),le.removeEventListener("touchstart",Wt)}},[]);var dn=o.useRef();dn.current=jt;var Dn=o.useRef();Dn.current=Xt,o.useEffect(function(){if(Xe){var Z,ie=function(ot){var Et=Rt.current,st=Et.dragging,Bt=Et.pageY,kt=Et.startTop;e.Z.cancel(Z);var He=un.current.getBoundingClientRect(),Be=q/(ee?He.width:He.height);if(st){var Ee=(F(ot,ee)-Bt)*Be,Le=kt;!xt&&ee?Le-=Ee:Le+=Ee;var Ie=dn.current,ze=Dn.current,he=ze?Le/ze:0,je=Math.ceil(he*Ie);je=Math.max(je,0),je=Math.min(je,Ie),Z=(0,e.Z)(function(){re(je,ee)})}},le=function(){ft(!1),$()};return window.addEventListener("mousemove",ie,{passive:!0}),window.addEventListener("touchmove",ie,{passive:!0}),window.addEventListener("mouseup",le,{passive:!0}),window.addEventListener("touchend",le,{passive:!0}),function(){window.removeEventListener("mousemove",ie),window.removeEventListener("touchmove",ie),window.removeEventListener("mouseup",le),window.removeEventListener("touchend",le),e.Z.cancel(Z)}}},[Xe]),o.useEffect(function(){return en(),function(){clearTimeout(Tn.current)}},[We]),o.useImperativeHandle(Ve,function(){return{delayHidden:en}});var dt="".concat(Fe,"-scrollbar"),T={position:"absolute",visibility:Bn?null:"hidden"},z={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return ee?(Object.assign(T,{height:8,left:0,right:0,bottom:0}),Object.assign(z,(0,_.Z)({height:"100%",width:oe},xt?"left":"right",St))):(Object.assign(T,(0,_.Z)({width:8,top:0,bottom:0},xt?"right":"left",0)),Object.assign(z,{width:"100%",height:oe,top:St})),o.createElement("div",{ref:un,className:p()(dt,(0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(dt,"-horizontal"),ee),"".concat(dt,"-vertical"),!ee),"".concat(dt,"-visible"),Bn)),style:(0,P.Z)((0,P.Z)({},T),fe),onMouseDown:It,onMouseMove:en},o.createElement("div",{ref:$t,className:p()("".concat(dt,"-thumb"),(0,_.Z)({},"".concat(dt,"-thumb-moving"),Xe)),style:(0,P.Z)((0,P.Z)({},z),be),onMouseDown:Wt}))}),se=Y,Q=20;function ve(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=ge/Ve*ge;return isNaN(Fe)&&(Fe=0),Fe=Math.max(Fe,Q),Math.floor(Fe)}var xe=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ce=[],De={overflowY:"auto",overflowAnchor:"none"};function Ue(ge,Ve){var Fe=ge.prefixCls,Te=Fe===void 0?"rc-virtual-list":Fe,We=ge.className,Ne=ge.height,V=ge.itemHeight,$=ge.fullHeight,re=$===void 0?!0:$,ee=ge.style,oe=ge.data,q=ge.children,fe=ge.itemKey,be=ge.virtual,te=ge.direction,ce=ge.scrollWidth,lt=ge.component,Xe=lt===void 0?"div":lt,ft=ge.onScroll,yt=ge.onVirtualScroll,qe=ge.onVisibleChange,vt=ge.innerProps,Ze=ge.extraRender,Oe=ge.styles,Qe=ge.showScrollBar,rt=Qe===void 0?"optional":Qe,_t=(0,C.Z)(ge,xe),xt=o.useCallback(function(Zt){return typeof fe=="function"?fe(Zt):Zt==null?void 0:Zt[fe]},[fe]),un=D(xt,null,null),$t=(0,N.Z)(un,4),Ut=$t[0],mn=$t[1],Bn=$t[2],rn=$t[3],Tn=!!(be!==!1&&Ne&&V),en=o.useMemo(function(){return Object.values(Bn.maps).reduce(function(Zt,qt){return Zt+qt},0)},[Bn.id,Bn.maps]),jt=Tn&&oe&&(Math.max(V*oe.length,en)>Ne||!!ce),Xt=te==="rtl",St=p()(Te,(0,_.Z)({},"".concat(Te,"-rtl"),Xt),We),It=oe||Ce,Rt=(0,o.useRef)(),Wt=(0,o.useRef)(),dn=(0,o.useRef)(),Dn=(0,o.useState)(0),dt=(0,N.Z)(Dn,2),T=dt[0],z=dt[1],Z=(0,o.useState)(0),ie=(0,N.Z)(Z,2),le=ie[0],$e=ie[1],ot=(0,o.useState)(!1),Et=(0,N.Z)(ot,2),st=Et[0],Bt=Et[1],kt=function(){Bt(!0)},He=function(){Bt(!1)},Be={getKey:xt};function Ee(Zt){z(function(qt){var Xn;typeof Zt=="function"?Xn=Zt(qt):Xn=Zt;var zn=Lt(Xn);return Rt.current.scrollTop=zn,zn})}var Le=(0,o.useRef)({start:0,end:It.length}),Ie=(0,o.useRef)(),ze=v(It,xt),he=(0,N.Z)(ze,1),je=he[0];Ie.current=je;var tt=o.useMemo(function(){if(!Tn)return{scrollHeight:void 0,start:0,end:It.length-1,offset:void 0};if(!jt){var Zt;return{scrollHeight:((Zt=Wt.current)===null||Zt===void 0?void 0:Zt.offsetHeight)||0,start:0,end:It.length-1,offset:void 0}}for(var qt=0,Xn,zn,hr,Tr=It.length,gr=0;gr=T&&Xn===void 0&&(Xn=gr,zn=qt),At>T+Ne&&hr===void 0&&(hr=gr),qt=At}return Xn===void 0&&(Xn=0,zn=0,hr=Math.ceil(Ne/V)),hr===void 0&&(hr=It.length-1),hr=Math.min(hr+1,It.length-1),{scrollHeight:qt,start:Xn,end:hr,offset:zn}},[jt,Tn,T,It,rn,Ne]),me=tt.scrollHeight,ye=tt.start,_e=tt.end,Ge=tt.offset;Le.current.start=ye,Le.current.end=_e,o.useLayoutEffect(function(){var Zt=Bn.getRecord();if(Zt.size===1){var qt=Array.from(Zt.keys())[0],Xn=Zt.get(qt),zn=It[ye];if(zn&&Xn===void 0){var hr=xt(zn);if(hr===qt){var Tr=Bn.get(qt),gr=Tr-V;Ee(function(Pr){return Pr+gr})}}}Bn.resetRecord()},[me]);var Se=o.useState({width:0,height:Ne}),ut=(0,N.Z)(Se,2),bt=ut[0],Pt=ut[1],Yt=function(qt){Pt({width:qt.offsetWidth,height:qt.offsetHeight})},sn=(0,o.useRef)(),Mn=(0,o.useRef)(),xn=o.useMemo(function(){return ve(bt.width,ce)},[bt.width,ce]),an=o.useMemo(function(){return ve(bt.height,me)},[bt.height,me]),hn=me-Ne,gn=(0,o.useRef)(hn);gn.current=hn;function Lt(Zt){var qt=Zt;return Number.isNaN(gn.current)||(qt=Math.min(qt,gn.current)),qt=Math.max(qt,0),qt}var On=T<=0,jn=T>=hn,bn=le<=0,Fn=le>=ce,er=f(On,jn,bn,Fn),Cr=function(){return{x:Xt?-le:le,y:T}},sr=(0,o.useRef)(Cr()),Rn=(0,d.zX)(function(Zt){if(yt){var qt=(0,P.Z)((0,P.Z)({},Cr()),Zt);(sr.current.x!==qt.x||sr.current.y!==qt.y)&&(yt(qt),sr.current=qt)}});function or(Zt,qt){var Xn=Zt;qt?((0,g.flushSync)(function(){$e(Xn)}),Rn()):Ee(Xn)}function fr(Zt){var qt=Zt.currentTarget.scrollTop;qt!==T&&Ee(qt),ft==null||ft(Zt),Rn()}var nr=function(qt){var Xn=qt,zn=ce?ce-bt.width:0;return Xn=Math.max(Xn,0),Xn=Math.min(Xn,zn),Xn},tr=(0,d.zX)(function(Zt,qt){qt?((0,g.flushSync)(function(){$e(function(Xn){var zn=Xn+(Xt?-Zt:Zt);return nr(zn)})}),Rn()):Ee(function(Xn){var zn=Xn+Zt;return zn})}),$n=y(Tn,On,jn,bn,Fn,!!ce,tr),wr=(0,N.Z)($n,2),Dt=wr[0],Hr=wr[1];I(Tn,Rt,function(Zt,qt,Xn,zn){var hr=zn;return er(Zt,qt,Xn)?!1:!hr||!hr._virtualHandled?(hr&&(hr._virtualHandled=!0),Dt({preventDefault:function(){},deltaX:Zt?qt:0,deltaY:Zt?0:qt}),!0):!1}),K(jt,Rt,function(Zt){Ee(function(qt){return qt+Zt})}),(0,l.Z)(function(){function Zt(Xn){var zn=On&&Xn.detail<0,hr=jn&&Xn.detail>0;Tn&&!zn&&!hr&&Xn.preventDefault()}var qt=Rt.current;return qt.addEventListener("wheel",Dt,{passive:!1}),qt.addEventListener("DOMMouseScroll",Hr,{passive:!0}),qt.addEventListener("MozMousePixelScroll",Zt,{passive:!1}),function(){qt.removeEventListener("wheel",Dt),qt.removeEventListener("DOMMouseScroll",Hr),qt.removeEventListener("MozMousePixelScroll",Zt)}},[Tn,On,jn]),(0,l.Z)(function(){if(ce){var Zt=nr(le);$e(Zt),Rn({x:Zt})}},[bt.width,ce]);var Rr=function(){var qt,Xn;(qt=sn.current)===null||qt===void 0||qt.delayHidden(),(Xn=Mn.current)===null||Xn===void 0||Xn.delayHidden()},kr=X(Rt,It,Bn,V,xt,function(){return mn(!0)},Ee,Rr);o.useImperativeHandle(Ve,function(){return{nativeElement:dn.current,getScrollInfo:Cr,scrollTo:function(qt){function Xn(zn){return zn&&(0,k.Z)(zn)==="object"&&("left"in zn||"top"in zn)}Xn(qt)?(qt.left!==void 0&&$e(nr(qt.left)),kr(qt.top)):kr(qt)}}}),(0,l.Z)(function(){if(qe){var Zt=It.slice(ye,_e+1);qe(Zt,It)}},[ye,_e,It]);var Wr=b(It,xt,Bn,V),ea=Ze==null?void 0:Ze({start:ye,end:_e,virtual:jt,offsetX:le,offsetY:Ge,rtl:Xt,getSize:Wr}),ar=c(It,ye,_e,ce,le,Ut,q,Be),lr=null;Ne&&(lr=(0,P.Z)((0,_.Z)({},re?"height":"maxHeight",Ne),De),Tn&&(lr.overflowY="hidden",ce&&(lr.overflowX="hidden"),st&&(lr.pointerEvents="none")));var Sn={};return Xt&&(Sn.dir="rtl"),o.createElement("div",(0,h.Z)({ref:dn,style:(0,P.Z)((0,P.Z)({},ee),{},{position:"relative"}),className:St},Sn,_t),o.createElement(E.Z,{onResize:Yt},o.createElement(Xe,{className:"".concat(Te,"-holder"),style:lr,ref:Rt,onScroll:fr,onMouseEnter:Rr},o.createElement(n,{prefixCls:Te,height:me,offsetX:le,offsetY:Ge,scrollWidth:ce,onInnerResize:mn,ref:Wt,innerProps:vt,rtl:Xt,extra:ea},ar))),jt&&me>Ne&&o.createElement(se,{ref:sn,prefixCls:Te,scrollOffset:T,scrollRange:me,rtl:Xt,onScroll:or,onStartMove:kt,onStopMove:He,spinSize:an,containerSize:bt.height,style:Oe==null?void 0:Oe.verticalScrollBar,thumbStyle:Oe==null?void 0:Oe.verticalScrollBarThumb,showScrollBar:rt}),jt&&ce>bt.width&&o.createElement(se,{ref:Mn,prefixCls:Te,scrollOffset:le,scrollRange:ce,rtl:Xt,onScroll:or,onStartMove:kt,onStopMove:He,spinSize:xn,containerSize:bt.width,horizontal:!0,style:Oe==null?void 0:Oe.horizontalScrollBar,thumbStyle:Oe==null?void 0:Oe.horizontalScrollBarThumb,showScrollBar:rt}))}var Me=o.forwardRef(Ue);Me.displayName="List";var Je=Me,Re=Je},51581:function(Nn,pt,O){"use strict";Object.defineProperty(pt,"__esModule",{value:!0});var h=function(){function o(g,r){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n]);return r}function p(o,g){if(!(o instanceof g))throw new TypeError("Cannot call a class as a function")}function E(o,g){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:o}function d(o,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);o.prototype=Object.create(g&&g.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(o,g):o.__proto__=g)}var l=function(o){d(g,o);function g(r){p(this,g);var n=E(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,r));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return h(g,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var n=this.getParentElement(this.scrollComponent);n.scrollTop=n.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var n=!1,a={get passive(){n=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(c){}return n}},{key:"eventListenerOptions",value:function(){var n=this.props.useCapture;return this.isPassiveSupported()&&(n={useCapture:this.props.useCapture,passive:!0}),n}},{key:"setDefaultLoader",value:function(n){this.defaultLoader=n}},{key:"detachMousewheelListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.scrollComponent.parentNode),n.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var n=window;this.props.useWindow===!1&&(n=this.getParentElement(this.scrollComponent)),n.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(n){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:n&&n.parentNode}},{key:"filterProps",value:function(n){return n}},{key:"attachScrollListener",value:function(){var n=this.getParentElement(this.scrollComponent);if(!(!this.props.hasMore||!n)){var a=window;this.props.useWindow===!1&&(a=n),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(n){n.deltaY===1&&!this.isPassiveSupported()&&n.preventDefault()}},{key:"scrollListener",value:function(){var n=this.scrollComponent,a=window,c=this.getParentElement(n),u=void 0;if(this.props.useWindow){var s=document.documentElement||document.body.parentNode||document.body,v=a.pageYOffset!==void 0?a.pageYOffset:s.scrollTop;this.props.isReverse?u=v:u=this.calculateOffset(n,v)}else this.props.isReverse?u=c.scrollTop:u=n.scrollHeight-c.scrollTop-c.clientHeight;u1&&arguments[1]!==void 0?arguments[1]:60,_=null;return function(){for(var N=this,C=arguments.length,m=new Array(C),p=0;p=P.length?{done:!0}:{done:!1,value:P[C++]}},e:function(o){throw o},f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,E=!0,d=!1;return{s:function(){N=N.call(P)},n:function(){var o=N.next();return E=o.done,o},e:function(o){d=!0,p=o},f:function(){try{E||N.return==null||N.return()}finally{if(d)throw p}}}}},16722:function(Nn,pt,O){"use strict";O.d(pt,{Z:function(){return p}});const h=E=>typeof E=="object"&&E!=null&&E.nodeType===1,k=(E,d)=>(!d||E!=="hidden")&&E!=="visible"&&E!=="clip",P=(E,d)=>{if(E.clientHeight{const g=(r=>{if(!r.ownerDocument||!r.ownerDocument.defaultView)return null;try{return r.ownerDocument.defaultView.frameElement}catch(n){return null}})(o);return!!g&&(g.clientHeightrd||r>E&&n=d&&a>=l?r-E-o:n>d&&al?n-d+g:0,N=E=>{const d=E.parentElement;return d==null?E.getRootNode().host||null:d},C=(E,d)=>{var l,o,g,r;if(typeof document=="undefined")return[];const{scrollMode:n,block:a,inline:c,boundary:u,skipOverflowHiddenElements:s}=d,v=typeof u=="function"?u:se=>se!==u;if(!h(E))throw new TypeError("Invalid target");const e=document.scrollingElement||document.documentElement,t=[];let i=E;for(;h(i)&&v(i);){if(i=N(i),i===e){t.push(i);break}i!=null&&i===document.body&&P(i)&&!P(document.documentElement)||i!=null&&P(i,s)&&t.push(i)}const f=(o=(l=window.visualViewport)==null?void 0:l.width)!=null?o:innerWidth,y=(r=(g=window.visualViewport)==null?void 0:g.height)!=null?r:innerHeight,{scrollX:b,scrollY:x}=window,{height:A,width:w,top:L,right:M,bottom:D,left:B}=E.getBoundingClientRect(),{top:I,right:U,bottom:F,left:K}=(se=>{const Q=window.getComputedStyle(se);return{top:parseFloat(Q.scrollMarginTop)||0,right:parseFloat(Q.scrollMarginRight)||0,bottom:parseFloat(Q.scrollMarginBottom)||0,left:parseFloat(Q.scrollMarginLeft)||0}})(E);let j=a==="start"||a==="nearest"?L-I:a==="end"?D+F:L+A/2-I+F,X=c==="center"?B+w/2-K+U:c==="end"?M+U:B-K;const Y=[];for(let se=0;se=0&&B>=0&&D<=y&&M<=f&&(Q===e&&!P(Q)||L>=Ce&&D<=Ue&&B>=Me&&M<=De))return Y;const Je=getComputedStyle(Q),Re=parseInt(Je.borderLeftWidth,10),ge=parseInt(Je.borderTopWidth,10),Ve=parseInt(Je.borderRightWidth,10),Fe=parseInt(Je.borderBottomWidth,10);let Te=0,We=0;const Ne="offsetWidth"in Q?Q.offsetWidth-Q.clientWidth-Re-Ve:0,V="offsetHeight"in Q?Q.offsetHeight-Q.clientHeight-ge-Fe:0,$="offsetWidth"in Q?Q.offsetWidth===0?0:xe/Q.offsetWidth:0,re="offsetHeight"in Q?Q.offsetHeight===0?0:ve/Q.offsetHeight:0;if(e===Q)Te=a==="start"?j:a==="end"?j-y:a==="nearest"?_(x,x+y,y,ge,Fe,x+j,x+j+A,A):j-y/2,We=c==="start"?X:c==="center"?X-f/2:c==="end"?X-f:_(b,b+f,f,Re,Ve,b+X,b+X+w,w),Te=Math.max(0,Te+x),We=Math.max(0,We+b);else{Te=a==="start"?j-Ce-ge:a==="end"?j-Ue+Fe+V:a==="nearest"?_(Ce,Ue,ve,ge,Fe+V,j,j+A,A):j-(Ce+ve/2)+V/2,We=c==="start"?X-Me-Re:c==="center"?X-(Me+xe/2)+Ne/2:c==="end"?X-De+Ve+Ne:_(Me,De,xe,Re,Ve+Ne,X,X+w,w);const{scrollLeft:ee,scrollTop:oe}=Q;Te=re===0?0:Math.max(0,Math.min(oe+Te/re,Q.scrollHeight-ve/re+V)),We=$===0?0:Math.max(0,Math.min(ee+We/$,Q.scrollWidth-xe/$+Ne)),j+=oe-Te,X+=ee-We}Y.push({el:Q,top:Te,left:We})}return Y},m=E=>E===!1?{block:"end",inline:"nearest"}:(d=>d===Object(d)&&Object.keys(d).length!==0)(E)?E:{block:"start",inline:"nearest"};function p(E,d){if(!E.isConnected||!(g=>{let r=g;for(;r&&r.parentNode;){if(r.parentNode===document)return!0;r=r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}return!1})(E))return;const l=(g=>{const r=window.getComputedStyle(g);return{top:parseFloat(r.scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||0,left:parseFloat(r.scrollMarginLeft)||0}})(E);if((g=>typeof g=="object"&&typeof g.behavior=="function")(d))return d.behavior(C(E,d));const o=typeof d=="boolean"||d==null?void 0:d.behavior;for(const{el:g,top:r,left:n}of C(E,m(d))){const a=r-l.top+l.bottom,c=n-l.left+l.right;g.scroll({top:a,left:c,behavior:o})}}}}]);