|
|
(self.webpackChunk=self.webpackChunk||[]).push([[1602],{89489:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},59477:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},40001:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},26227:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},49198:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},41464:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},73331:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},15277:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},52671:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},8657:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},56082:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},33853:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},15075:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},43531:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},61485:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},47472:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(54476),k=w(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,B=w(7657),C=function(d,l){return k.createElement(B.Z,(0,h.Z)({},d,{ref:l,icon:_}))},p=k.forwardRef(C),m=p},6738:function(Ln,gt){"use strict";gt.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"}},2371:function(Ln,gt){"use strict";gt.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"}},28215:function(Ln,gt,w){"use strict";var h=w(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,p=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))B.call(d,l)&&C(E,l,d[l]);return E};const m=E=>React.createElement("svg",p({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"}));gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},80003:function(Ln,gt,w){"use strict";var h=w(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(E,d,l)=>d in E?k(E,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):E[d]=l,p=(E,d)=>{for(var l in d||(d={}))_.call(d,l)&&C(E,l,d[l]);if(P)for(var l of P(d))B.call(d,l)&&C(E,l,d[l]);return E};const m=E=>React.createElement("svg",p({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"}));gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},21463:function(Ln,gt){var w=(h,k,P)=>new Promise((_,B)=>{var C=E=>{try{m(P.next(E))}catch(d){B(d)}},p=E=>{try{m(P.throw(E))}catch(d){B(d)}},m=E=>E.done?_(E.value):Promise.resolve(E.value).then(C,p);m((P=P.apply(h,k)).next())});(function(h,k){k(gt)})(this,function(h){"use strict";var k={value:()=>{}};function P(){for(var S,R=0,W=arguments.length,H={};R<W;++R){if(!(S=arguments[R]+"")||S in H||/[\s.]/.test(S))throw new Error("illegal type: "+S);H[S]=[]}return new _(H)}function _(S){this._=S}function B(S,R){return S.trim().split(/^|\s+/).map(function(W){var H="",X=W.indexOf(".");if(X>=0&&(H=W.slice(X+1),W=W.slice(0,X)),W&&!R.hasOwnProperty(W))throw new Error("unknown type: "+W);return{type:W,name:H}})}function C(S,R){for(var W,H=0,X=S.length;H<X;++H)if((W=S[H]).name===R)return W.value}function p(S,R,W){for(var H=0,X=S.length;H<X;++H)if(S[H].name===R){S[H]=k,S=S.slice(0,H).concat(S.slice(H+1));break}return W!=null&&S.push({name:R,value:W}),S}_.prototype=P.prototype={constructor:_,on:function(S,R){var W,H=this._,X=B(S+"",H),J=-1,ue=X.length;if(!(arguments.length<2)){if(R!=null&&typeof R!="function")throw new Error("invalid callback: "+R);for(;++J<ue;)if(W=(S=X[J]).type)H[W]=p(H[W],S.name,R);else if(R==null)for(W in H)H[W]=p(H[W],S.name,null);return this}for(;++J<ue;)if((W=(S=X[J]).type)&&(W=C(H[W],S.name)))return W},copy:function(){var S={},R=this._;for(var W in R)S[W]=R[W].slice();return new _(S)},call:function(S,R){if((W=arguments.length-2)>0)for(var W,H,X=new Array(W),J=0;J<W;++J)X[J]=arguments[J+2];if(!this._.hasOwnProperty(S))throw new Error("unknown type: "+S);for(J=0,W=(H=this._[S]).length;J<W;++J)H[J].value.apply(R,X)},apply:function(S,R,W){if(!this._.hasOwnProperty(S))throw new Error("unknown type: "+S);for(var H=this._[S],X=0,J=H.length;X<J;++X)H[X].value.apply(R,W)}};var m="http://www.w3.org/1999/xhtml",E={svg:"http://www.w3.org/2000/svg",xhtml:m,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function d(S){var R=S+="",W=R.indexOf(":");return W>=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===m&&R.documentElement.namespaceURI===m?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,X,J){for(var ue,ie=0,Ae=R.length,pe=J.length;ie<pe;++ie)(ue=R[ie])?(ue.__data__=J[ie],H[ie]=ue):W[ie]=new b(S,J[ie]);for(;ie<Ae;++ie)(ue=R[ie])&&(X[ie]=ue)}function M(S,R,W,H,X,J,ue){var ie,Ae,pe,Oe=new Map,je=R.length,Je=J.length,yt=new Array(je);for(ie=0;ie<je;++ie)(Ae=R[ie])&&(yt[ie]=pe=ue.call(Ae,Ae.__data__,ie,R)+"",Oe.has(pe)?X[ie]=Ae:Oe.set(pe,Ae));for(ie=0;ie<Je;++ie)pe=ue.call(S,J[ie],ie,J)+"",(Ae=Oe.get(pe))?(H[ie]=Ae,Ae.__data__=J[ie],Oe.delete(pe)):W[ie]=new b(S,J[ie]);for(ie=0;ie<je;++ie)(Ae=R[ie])&&Oe.get(yt[ie])===Ae&&(X[ie]=Ae)}function L(S){return S.__data__}function O(S){return typeof S=="object"&&"length"in S?S:Array.from(S)}function D(S,R){return S<R?-1:S>R?1:S>=R?0:NaN}function N(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 G(S){return S.ownerDocument&&S.ownerDocument.defaultView||S.document&&S||S.defaultView}function Y(S){return function(){this.style.removeProperty(S)}}function le(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)||G(S).getComputedStyle(S,null).getPropertyValue(R)}function xe(S){return function(){delete this[S]}}function be(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 we(S){return S.classList||new Ye(S)}function Ye(S){this._node=S,this._names=Ue(S.getAttribute("class")||"")}function Be(S,R){for(var W=we(S),H=-1,X=R.length;++H<X;)W.add(R[H])}function ge(S,R){for(var W=we(S),H=-1,X=R.length;++H<X;)W.remove(R[H])}function He(S){return function(){Be(this,S)}}function Fe(S){return function(){ge(this,S)}}function Pe(S,R){return function(){(R.apply(this,arguments)?Be:ge)(this,S)}}function We(){this.textContent=""}function Ne(S){return function(){this.textContent=S}}function V(S){return function(){var R=S.apply(this,arguments);this.textContent=R==null?"":R}}function q(){this.innerHTML=""}function ae(S){return function(){this.innerHTML=S}}function te(S){return function(){var R=S.apply(this,arguments);this.innerHTML=R==null?"":R}}function oe(){this.nextSibling&&this.parentNode.appendChild(this)}function ee(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fe(){return null}function Ce(){var S=this.parentNode;S&&S.removeChild(this)}function re(){var S=this.cloneNode(!1),R=this.parentNode;return R?R.insertBefore(S,this.nextSibling):S}function ce(){var S=this.cloneNode(!0),R=this.parentNode;return R?R.insertBefore(S,this.nextSibling):S}function lt(S){return S.trim().split(/^|\s+/).map(function(R){var W="",H=R.indexOf(".");return H>=0&&(W=R.slice(H+1),R=R.slice(0,H)),{type:R,name:W}})}function Qe(S){return function(){var R=this.__on;if(R){for(var W,H=0,X=-1,J=R.length;H<J;++H)W=R[H],S.type&&W.type!==S.type||W.name!==S.name?R[++X]=W:this.removeEventListener(W.type,W.listener,W.options);++X?R.length=X:delete this.__on}}}function ht(S,R,W){return function(){var H,X=this.__on,J=function(Ae){return function(pe){Ae.call(this,pe,this.__data__)}}(R);if(X){for(var ue=0,ie=X.length;ue<ie;++ue)if((H=X[ue]).type===S.type&&H.name===S.name)return this.removeEventListener(H.type,H.listener,H.options),this.addEventListener(H.type,H.listener=J,H.options=W),void(H.value=R)}this.addEventListener(S.type,J,W),H={type:S.type,name:S.name,value:R,listener:J,options:W},X?X.push(H):this.__on=[H]}}function pt(S,R,W){var H=G(S),X=H.CustomEvent;typeof X=="function"?X=new X(R,W):(X=H.document.createEvent("Event"),W?(X.initEvent(R,W.bubbles,W.cancelable),X.detail=W.detail):X.initEvent(R,!1,!1)),S.dispatchEvent(X)}function $e(S,R){return function(){return pt(this,S,R)}}function mt(S,R){return function(){return pt(this,S,R.apply(this,arguments))}}b.prototype={constructor:b,appendChild:function(S){return this._parent.insertBefore(S,this._next)},insertBefore:function(S,R){return this._parent.insertBefore(S,R)},querySelector:function(S){return this._parent.querySelector(S)},querySelectorAll:function(S){return this._parent.querySelectorAll(S)}},Ye.prototype={add:function(S){this._names.indexOf(S)<0&&(this._names.push(S),this._node.setAttribute("class",this._names.join(" ")))},remove:function(S){var R=this._names.indexOf(S);R>=0&&(this._names.splice(R,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(S){return this._names.indexOf(S)>=0}};var Ve=[null];function Me(S,R){this._groups=S,this._parents=R}function qe(){return new Me([[document.documentElement]],Ve)}function it(S){return typeof S=="string"?new Me([[document.querySelector(S)]],[document.documentElement]):new Me([[S]],Ve)}function Et(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 X=R.getBoundingClientRect();return[S.clientX-X.left-R.clientLeft,S.clientY-X.top-R.clientTop]}}return[S.pageX,S.pageY]}Me.prototype=qe.prototype={constructor:Me,select:function(S){typeof S!="function"&&(S=n(S));for(var R=this._groups,W=R.length,H=new Array(W),X=0;X<W;++X)for(var J,ue,ie=R[X],Ae=ie.length,pe=H[X]=new Array(Ae),Oe=0;Oe<Ae;++Oe)(J=ie[Oe])&&(ue=S.call(J,J.__data__,Oe,ie))&&("__data__"in J&&(ue.__data__=J.__data__),pe[Oe]=ue);return new Me(H,this._parents)},selectAll:function(S){S=typeof S=="function"?function(Oe){return function(){return a(Oe.apply(this,arguments))}}(S):u(S);for(var R=this._groups,W=R.length,H=[],X=[],J=0;J<W;++J)for(var ue,ie=R[J],Ae=ie.length,pe=0;pe<Ae;++pe)(ue=ie[pe])&&(H.push(S.call(ue,ue.__data__,pe,ie)),X.push(ue));return new Me(H,X)},selectChild:function(S){return this.select(S==null?t:function(R){return function(){return e.call(this.children,R)}}(typeof S=="function"?S:v(S)))},selectChildren:function(S){return this.selectAll(S==null?f:function(R){return function(){return i.call(this.children,R)}}(typeof S=="function"?S:v(S)))},filter:function(S){typeof S!="function"&&(S=s(S));for(var R=this._groups,W=R.length,H=new Array(W),X=0;X<W;++X)for(var J,ue=R[X],ie=ue.length,Ae=H[X]=[],pe=0;pe<ie;++pe)(J=ue[pe])&&S.call(J,J.__data__,pe,ue)&&Ae.push(J);return new Me(H,this._parents)},data:function(S,R){if(!arguments.length)return Array.from(this,L);var W=R?M:A,H=this._parents,X=this._groups;typeof S!="function"&&(S=x(S));for(var J=X.length,ue=new Array(J),ie=new Array(J),Ae=new Array(J),pe=0;pe<J;++pe){var Oe=H[pe],je=X[pe],Je=je.length,yt=O(S.call(Oe,Oe&&Oe.__data__,pe,H)),ct=yt.length,nt=ie[pe]=new Array(ct),st=ue[pe]=new Array(ct),Mt=Ae[pe]=new Array(Je);W(Oe,je,nt,st,Mt,yt,R);for(var Ct,Ut,Vt=0,Wn=0;Vt<ct;++Vt)if(Ct=nt[Vt]){for(Vt>=Wn&&(Wn=Vt+1);!(Ut=st[Wn])&&++Wn<ct;);Ct._next=Ut||null}}return(ue=new Me(ue,H))._enter=ie,ue._exit=Ae,ue},enter:function(){return new Me(this._enter||this._groups.map(y),this._parents)},exit:function(){return new Me(this._exit||this._groups.map(y),this._parents)},join:function(S,R,W){var H=this.enter(),X=this,J=this.exit();return typeof S=="function"?(H=S(H))&&(H=H.selection()):H=H.append(S+""),R!=null&&(X=R(X))&&(X=X.selection()),W==null?J.remove():W(J),H&&X?H.merge(X).order():X},merge:function(S){for(var R=S.selection?S.selection():S,W=this._groups,H=R._groups,X=W.length,J=H.length,ue=Math.min(X,J),ie=new Array(X),Ae=0;Ae<ue;++Ae)for(var pe,Oe=W[Ae],je=H[Ae],Je=Oe.length,yt=ie[Ae]=new Array(Je),ct=0;ct<Je;++ct)(pe=Oe[ct]||je[ct])&&(yt[ct]=pe);for(;Ae<X;++Ae)ie[Ae]=W[Ae];return new Me(ie,this._parents)},selection:function(){return this},order:function(){for(var S=this._groups,R=-1,W=S.length;++R<W;)for(var H,X=S[R],J=X.length-1,ue=X[J];--J>=0;)(H=X[J])&&(ue&&4^H.compareDocumentPosition(ue)&&ue.parentNode.insertBefore(H,ue),ue=H);return this},sort:function(S){function R(je,Je){return je&&Je?S(je.__data__,Je.__data__):!je-!Je}S||(S=D);for(var W=this._groups,H=W.length,X=new Array(H),J=0;J<H;++J){for(var ue,ie=W[J],Ae=ie.length,pe=X[J]=new Array(Ae),Oe=0;Oe<Ae;++Oe)(ue=ie[Oe])&&(pe[Oe]=ue);pe.sort(R)}return new Me(X,this._parents).order()},call:function(){var S=arguments[0];return arguments[0]=this,S.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var S=this._groups,R=0,W=S.length;R<W;++R)for(var H=S[R],X=0,J=H.length;X<J;++X){var ue=H[X];if(ue)return ue}return null},size:function(){let S=0;for(const R of this)++S;return S},empty:function(){return!this.node()},each:function(S){for(var R=this._groups,W=0,H=R.length;W<H;++W)for(var X,J=R[W],ue=0,ie=J.length;ue<ie;++ue)(X=J[ue])&&S.call(X,X.__data__,ue,J);return this},attr:function(S,R){var W=d(S);if(arguments.length<2){var H=this.node();return W.local?H.getAttributeNS(W.space,W.local):H.getAttribute(W)}return this.each((R==null?W.local?I:N:typeof R=="function"?W.local?j:K:W.local?F:U)(W,R))},style:function(S,R,W){return arguments.length>1?this.each((R==null?Y:typeof R=="function"?Q:le)(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:be)(S,R)):this.node()[S]},classed:function(S,R){var W=Ue(S+"");if(arguments.length<2){for(var H=we(this.node()),X=-1,J=W.length;++X<J;)if(!H.contains(W[X]))return!1;return!0}return this.each((typeof R=="function"?Pe:R?He:Fe)(W,R))},text:function(S){return arguments.length?this.each(S==null?We:(typeof S=="function"?V:Ne)(S)):this.node().textContent},html:function(S){return arguments.length?this.each(S==null?q:(typeof S=="function"?te:ae)(S)):this.node().innerHTML},raise:function(){return this.each(oe)},lower:function(){return this.each(ee)},append:function(S){var R=typeof S=="function"?S:g(S);return this.select(function(){return this.appendChild(R.apply(this,arguments))})},insert:function(S,R){var W=typeof S=="function"?S:g(S),H=R==null?fe:typeof R=="function"?R:n(R);return this.select(function(){return this.insertBefore(W.apply(this,arguments),H.apply(this,arguments)||null)})},remove:function(){return this.each(Ce)},clone:function(S){return this.select(S?ce:re)},datum:function(S){return arguments.length?this.property("__data__",S):this.node().__data__},on:function(S,R,W){var H,X,J=lt(S+""),ue=J.length;if(!(arguments.length<2)){for(ie=R?ht:Qe,H=0;H<ue;++H)this.each(ie(J[H],R,W));return this}var ie=this.node().__on;if(ie){for(var Ae,pe=0,Oe=ie.length;pe<Oe;++pe)for(H=0,Ae=ie[pe];H<ue;++H)if((X=J[H]).type===Ae.type&&X.name===Ae.name)return Ae.value}},dispatch:function(S,R){return this.each((typeof R=="function"?mt:$e)(S,R))},[Symbol.iterator]:function*(){for(var S=this._groups,R=0,W=S.length;R<W;++R)for(var H,X=S[R],J=0,ue=X.length;J<ue;++J)(H=X[J])&&(yield H)}};const xt={passive:!1},un={capture:!0,passive:!1};function Jt(S){S.stopImmediatePropagation()}function Bt(S){S.preventDefault(),S.stopImmediatePropagation()}function hn(S){var R=S.document.documentElement,W=it(S).on("dragstart.drag",Bt,un);"onselectstart"in R?W.on("selectstart.drag",Bt,un):(R.__noselect=R.style.MozUserSelect,R.style.MozUserSelect="none")}function Nn(S,R){var W=S.document.documentElement,H=it(S).on("dragstart.drag",null);R&&(H.on("click.drag",Bt,un),setTimeout(function(){H.on("click.drag",null)},0)),"onselectstart"in W?H.on("selectstart.drag",null):(W.style.MozUserSelect=W.__noselect,delete W.__noselect)}var tn=S=>()=>S;function On(S,{sourceEvent:R,subject:W,target:H,identifier:X,active:J,x:ue,y:ie,dx:Ae,dy:pe,dispatch:Oe}){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:X,enumerable:!0,configurable:!0},active:{value:J,enumerable:!0,configurable:!0},x:{value:ue,enumerable:!0,configurable:!0},y:{value:ie,enumerable:!0,configurable:!0},dx:{value:Ae,enumerable:!0,configurable:!0},dy:{value:pe,enumerable:!0,configurable:!0},_:{value:Oe}})}function qt(S){return!S.ctrlKey&&!S.button}function Wt(){return this.parentNode}function Zt(S,R){return R==null?{x:S.x,y:S.y}:R}function rn(){return navigator.maxTouchPoints||"ontouchstart"in this}function xn(S,R,W){S.prototype=R.prototype=W,W.constructor=S}function Dn(S,R){var W=Object.create(S.prototype);for(var H in R)W[H]=R[H];return W}function Pn(){}On.prototype.on=function(){var S=this._.on.apply(this._,arguments);return S===this._?this:S};var Nt=.7,Ht=1/Nt,rt="\\s*([+-]?\\d+)\\s*",T="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Z=/^#([0-9a-f]{3,8})$/,$=new RegExp(`^rgb\\(${rt},${rt},${rt}\\)$`),se=new RegExp(`^rgb\\(${z},${z},${z}\\)$`),Ge=new RegExp(`^rgba\\(${rt},${rt},${rt},${T}\\)$`),at=new RegExp(`^rgba\\(${z},${z},${z},${T}\\)$`),_t=new RegExp(`^hsl\\(${T},${z},${z}\\)$`),dt=new RegExp(`^hsla\\(${T},${z},${z},${T}\\)$`),Rt={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 Gt(){return this.rgb().formatHex()}function ze(){return this.rgb().formatRgb()}function Re(S){var R,W;return S=(S+"").trim().toLowerCase(),(R=Z.exec(S))?(W=R[1].length,R=parseInt(R[1],16),W===6?ye(R):W===3?new he(R>>8&15|R>>4&240,R>>4&15|240&R,(15&R)<<4|15&R,1):W===8?Te(R>>24&255,R>>16&255,R>>8&255,(255&R)/255):W===4?Te(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=$.exec(S))?new he(R[1],R[2],R[3],1):(R=se.exec(S))?new he(255*R[1]/100,255*R[2]/100,255*R[3]/100,1):(R=Ge.exec(S))?Te(R[1],R[2],R[3],R[4]):(R=at.exec(S))?Te(255*R[1]/100,255*R[2]/100,255*R[3]/100,R[4]):(R=_t.exec(S))?Xe(R[1],R[2]/100,R[3]/100,1):(R=dt.exec(S))?Xe(R[1],R[2]/100,R[3]/100,R[4]):Rt.hasOwnProperty(S)?ye(Rt[S]):S==="transparent"?new he(NaN,NaN,NaN,0):null}function ye(S){return new he(S>>16&255,S>>8&255,255&S,1)}function Te(S,R,W,H){return H<=0&&(S=R=W=NaN),new he(S,R,W,H)}function Ie(S){return S instanceof Pn||(S=Re(S)),S?new he((S=S.rgb()).r,S.g,S.b,S.opacity):new he}function Ke(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 Ze(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}`}function tt(){const S=me(this.opacity);return`${S===1?"rgb(":"rgba("}${_e(this.r)}, ${_e(this.g)}, ${_e(this.b)}${S===1?")":`, ${S})`}`}function me(S){return isNaN(S)?1:Math.max(0,Math.min(1,S))}function _e(S){return Math.max(0,Math.min(255,Math.round(S)||0))}function Ee(S){return((S=_e(S))<16?"0":"")+S.toString(16)}function Xe(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 Pn||(S=Re(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,X=Math.min(R,W,H),J=Math.max(R,W,H),ue=NaN,ie=J-X,Ae=(J+X)/2;return ie?(ue=R===J?(W-H)/ie+6*(W<H):W===J?(H-R)/ie+2:(R-W)/ie+4,ie/=Ae<.5?J+X:2-J-X,ue*=60):ie=Ae>0&&Ae<1?0:ue,new ut(ue,ie,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 Tt(S){return Math.max(0,Math.min(1,S||0))}function kt(S,R,W){return 255*(S<60?R+(W-R)*S/60:S<180?W:S<240?R+(W-R)*(240-S)/60:R)}xn(Pn,Re,{copy(S){return Object.assign(new this.constructor,this,S)},displayable(){return this.rgb().displayable()},hex:Gt,formatHex:Gt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Se(this).formatHsl()},formatRgb:ze,toString:ze}),xn(he,Ke,Dn(Pn,{brighter(S){return S=S==null?Ht:Math.pow(Ht,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},darker(S){return S=S==null?Nt:Math.pow(Nt,S),new he(this.r*S,this.g*S,this.b*S,this.opacity)},rgb(){return this},clamp(){return new he(_e(this.r),_e(this.g),_e(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:Ze,formatHex:Ze,formatHex8:function(){return`#${Ee(this.r)}${Ee(this.g)}${Ee(this.b)}${Ee(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:tt,toString:tt})),xn(ut,function(S,R,W,H){return arguments.length===1?Se(S):new ut(S,R,W,H==null?1:H)},Dn(Pn,{brighter(S){return S=S==null?Ht:Math.pow(Ht,S),new ut(this.h,this.s,this.l*S,this.opacity)},darker(S){return S=S==null?Nt:Math.pow(Nt,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,X=2*W-H;return new he(kt(S>=240?S-240:S+120,X,H),kt(S,X,H),kt(S<120?S+240:S-120,X,H),this.opacity)},clamp(){return new ut(bt(this.h),Tt(this.s),Tt(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*Tt(this.s)}%, ${100*Tt(this.l)}%${S===1?")":`, ${S})`}`}}));var on=S=>()=>S;function Sn(S){return(S=+S)==1?_n:function(R,W){return W-R?function(H,X,J){return H=Math.pow(H,J),X=Math.pow(X,J)-H,J=1/J,function(ue){return Math.pow(H+ue*X,J)}}(R,W,S):on(isNaN(R)?W:R)}}function _n(S,R){var W=R-S;return W?function(H,X){return function(J){return H+J*X}}(S,W):on(isNaN(S)?R:S)}var nn=function S(R){var W=Sn(R);function H(X,J){var ue=W((X=Ke(X)).r,(J=Ke(J)).r),ie=W(X.g,J.g),Ae=W(X.b,J.b),pe=_n(X.opacity,J.opacity);return function(Oe){return X.r=ue(Oe),X.g=ie(Oe),X.b=Ae(Oe),X.opacity=pe(Oe),X+""}}return H.gamma=S,H}(1);function dn(S,R){R||(R=[]);var W,H=S?Math.min(R.length,S.length):0,X=R.slice();return function(J){for(W=0;W<H;++W)X[W]=S[W]*(1-J)+R[W]*J;return X}}function mn(S,R){var W,H=R?R.length:0,X=S?Math.min(H,S.length):0,J=new Array(X),ue=new Array(H);for(W=0;W<X;++W)J[W]=Cr(S[W],R[W]);for(;W<H;++W)ue[W]=R[W];return function(ie){for(W=0;W<X;++W)ue[W]=J[W](ie);return ue}}function Pt(S,R){var W=new Date;return S=+S,R=+R,function(H){return W.setTime(S*(1-H)+R*H),W}}function wn(S,R){return S=+S,R=+R,function(W){return S*(1-W)+R*W}}function jn(S,R){var W,H={},X={};for(W in S!==null&&typeof S=="object"||(S={}),R!==null&&typeof R=="object"||(R={}),R)W in S?H[W]=Cr(S[W],R[W]):X[W]=R[W];return function(J){for(W in H)X[W]=H[W](J);return X}}var Cn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Fn=new RegExp(Cn.source,"g");function er(S,R){var W,H,X,J=Cn.lastIndex=Fn.lastIndex=0,ue=-1,ie=[],Ae=[];for(S+="",R+="";(W=Cn.exec(S))&&(H=Fn.exec(R));)(X=H.index)>J&&(X=R.slice(J,X),ie[ue]?ie[ue]+=X:ie[++ue]=X),(W=W[0])===(H=H[0])?ie[ue]?ie[ue]+=H:ie[++ue]=H:(ie[++ue]=null,Ae.push({i:ue,x:wn(W,H)})),J=Fn.lastIndex;return J<R.length&&(X=R.slice(J),ie[ue]?ie[ue]+=X:ie[++ue]=X),ie.length<2?Ae[0]?function(pe){return function(Oe){return pe(Oe)+""}}(Ae[0].x):function(pe){return function(){return pe}}(R):(R=Ae.length,function(pe){for(var Oe,je=0;je<R;++je)ie[(Oe=Ae[je]).i]=Oe.x(pe);return ie.join("")})}function Cr(S,R){var W,H=typeof R;return R==null||H==="boolean"?on(R):(H==="number"?wn:H==="string"?(W=Re(R))?(R=W,nn):er:R instanceof Re?nn:R instanceof Date?Pt:function(X){return ArrayBuffer.isView(X)&&!(X instanceof DataView)}(R)?dn:Array.isArray(R)?mn:typeof R.valueOf!="function"&&typeof R.toString!="function"||isNaN(R)?jn:wn)(S,R)}var sr,Bn=180/Math.PI,or={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function fr(S,R,W,H,X,J){var ue,ie,Ae;return(ue=Math.sqrt(S*S+R*R))&&(S/=ue,R/=ue),(Ae=S*W+R*H)&&(W-=S*Ae,H-=R*Ae),(ie=Math.sqrt(W*W+H*H))&&(W/=ie,H/=ie,Ae/=ie),S*H<R*W&&(S=-S,R=-R,Ae=-Ae,ue=-ue),{translateX:X,translateY:J,rotate:Math.atan2(R,S)*Bn,skewX:Math.atan(Ae)*Bn,scaleX:ue,scaleY:ie}}function nr(S,R,W,H){function X(J){return J.length?J.pop()+" ":""}return function(J,ue){var ie=[],Ae=[];return J=S(J),ue=S(ue),function(pe,Oe,je,Je,yt,ct){if(pe!==je||Oe!==Je){var nt=yt.push("translate(",null,R,null,W);ct.push({i:nt-4,x:wn(pe,je)},{i:nt-2,x:wn(Oe,Je)})}else(je||Je)&&yt.push("translate("+je+R+Je+W)}(J.translateX,J.translateY,ue.translateX,ue.translateY,ie,Ae),function(pe,Oe,je,Je){pe!==Oe?(pe-Oe>180?Oe+=360:Oe-pe>180&&(pe+=360),Je.push({i:je.push(X(je)+"rotate(",null,H)-2,x:wn(pe,Oe)})):Oe&&je.push(X(je)+"rotate("+Oe+H)}(J.rotate,ue.rotate,ie,Ae),function(pe,Oe,je,Je){pe!==Oe?Je.push({i:je.push(X(je)+"skewX(",null,H)-2,x:wn(pe,Oe)}):Oe&&je.push(X(je)+"skewX("+Oe+H)}(J.skewX,ue.skewX,ie,Ae),function(pe,Oe,je,Je,yt,ct){if(pe!==je||Oe!==Je){var nt=yt.push(X(yt)+"scale(",null,",",null,")");ct.push({i:nt-4,x:wn(pe,je)},{i:nt-2,x:wn(Oe,Je)})}else je===1&&Je===1||yt.push(X(yt)+"scale("+je+","+Je+")")}(J.scaleX,J.scaleY,ue.scaleX,ue.scaleY,ie,Ae),J=ue=null,function(pe){for(var Oe,je=-1,Je=Ae.length;++je<Je;)ie[(Oe=Ae[je]).i]=Oe.x(pe);return ie.join("")}}}var tr=nr(function(S){const R=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(S+"");return R.isIdentity?or:fr(R.a,R.b,R.c,R.d,R.e,R.f)},"px, ","px)","deg)"),qn=nr(function(S){return S==null?or:(sr||(sr=document.createElementNS("http://www.w3.org/2000/svg","g")),sr.setAttribute("transform",S),(S=sr.transform.baseVal.consolidate())?fr((S=S.matrix).a,S.b,S.c,S.d,S.e,S.f):or)},", ",")",")");function Mr(S){return((S=Math.exp(S))+1/S)/2}var St,Hr,Rr=function S(R,W,H){function X(J,ue){var ie,Ae,pe=J[0],Oe=J[1],je=J[2],Je=ue[0],yt=ue[1],ct=ue[2],nt=Je-pe,st=yt-Oe,Mt=nt*nt+st*st;if(Mt<1e-12)Ae=Math.log(ct/je)/R,ie=function(rr){return[pe+rr*nt,Oe+rr*st,je*Math.exp(R*rr*Ae)]};else{var Ct=Math.sqrt(Mt),Ut=(ct*ct-je*je+H*Mt)/(2*je*W*Ct),Vt=(ct*ct-je*je-H*Mt)/(2*ct*W*Ct),Wn=Math.log(Math.sqrt(Ut*Ut+1)-Ut),sn=Math.log(Math.sqrt(Vt*Vt+1)-Vt);Ae=(sn-Wn)/R,ie=function(rr){var Hn=rr*Ae,xr=Mr(Wn),bn=je/(W*Ct)*(xr*function(Mn){return((Mn=Math.exp(2*Mn))-1)/(Mn+1)}(R*Hn+Wn)-function(Mn){return((Mn=Math.exp(Mn))-1/Mn)/2}(Wn));return[pe+bn*nt,Oe+bn*st,je*xr/Mr(R*Hn+Wn)]}}return ie.duration=1e3*Ae*R/Math.SQRT2,ie}return X.rho=function(J){var ue=Math.max(.001,+J),ie=ue*ue;return S(ue,ie,ie*ie)},X}(Math.SQRT2,2,4),kr=0,Wr=0,ea=0,ar=0,lr=0,An=0,Kt=typeof performance=="object"&&performance.now?performance:Date,Qt=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(S){setTimeout(S,17)};function Xn(){return lr||(Qt(zn),lr=Kt.now()+An)}function zn(){lr=0}function hr(){this._call=this._time=this._next=null}function Tr(S,R,W){var H=new hr;return H.restart(S,R,W),H}function gr(){lr=(ar=Kt.now())+An,kr=Wr=0;try{(function(){Xn(),++kr;for(var S,R=St;R;)(S=lr-R._time)>=0&&R._call.call(void 0,S),R=R._next;--kr})()}finally{kr=0,function(){for(var S,R,W=St,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:St=R);Hr=S,et(H)}(),lr=0}}function Pr(){var S=Kt.now(),R=S-ar;R>1e3&&(An-=R,ar=S)}function et(S){kr||(Wr&&(Wr=clearTimeout(Wr)),S-lr>24?(S<1/0&&(Wr=setTimeout(gr,S-Kt.now()-An)),ea&&(ea=clearInterval(ea))):(ea||(ar=Kt.now(),ea=setInterval(Pr,1e3)),kr=1,Qt(gr)))}function Lt(S,R,W){var H=new hr;return R=R==null?0:+R,H.restart(X=>{H.stop(),S(X+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:St=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"),yn=[];function Qn(S,R,W,H,X,J){var ue=S.__transition;if(ue){if(W in ue)return}else S.__transition={};(function(ie,Ae,pe){var Oe,je=ie.__transition;function Je(st){pe.state=1,pe.timer.restart(yt,pe.delay,pe.time),pe.delay<=st&&yt(st-pe.delay)}function yt(st){var Mt,Ct,Ut,Vt;if(pe.state!==1)return nt();for(Mt in je)if((Vt=je[Mt]).name===pe.name){if(Vt.state===3)return Lt(yt);Vt.state===4?(Vt.state=6,Vt.timer.stop(),Vt.on.call("interrupt",ie,ie.__data__,Vt.index,Vt.group),delete je[Mt]):+Mt<Ae&&(Vt.state=6,Vt.timer.stop(),Vt.on.call("cancel",ie,ie.__data__,Vt.index,Vt.group),delete je[Mt])}if(Lt(function(){pe.state===3&&(pe.state=4,pe.timer.restart(ct,pe.delay,pe.time),ct(st))}),pe.state=2,pe.on.call("start",ie,ie.__data__,pe.index,pe.group),pe.state===2){for(pe.state=3,Oe=new Array(Ut=pe.tween.length),Mt=0,Ct=-1;Mt<Ut;++Mt)(Vt=pe.tween[Mt].value.call(ie,ie.__data__,pe.index,pe.group))&&(Oe[++Ct]=Vt);Oe.length=Ct+1}}function ct(st){for(var Mt=st<pe.duration?pe.ease.call(null,st/pe.duration):(pe.timer.restart(nt),pe.state=5,1),Ct=-1,Ut=Oe.length;++Ct<Ut;)Oe[Ct].call(ie,Mt);pe.state===5&&(pe.on.call("end",ie,ie.__data__,pe.index,pe.group),nt())}function nt(){for(var st in pe.state=6,pe.timer.stop(),delete je[Ae],je)return;delete ie.__transition}je[Ae]=pe,pe.timer=Tr(Je,0,pe.time)})(S,W,{name:R,index:H,group:X,on:At,tween:yn,time:J.time,delay:J.delay,duration:J.duration,ease:J.ease,timer:null,state:0})}function vt(S,R){var W=Tn(S,R);if(W.state>0)throw new Error("too late; already scheduled");return W}function vr(S,R){var W=Tn(S,R);if(W.state>3)throw new Error("too late; already running");return W}function Tn(S,R){var W=S.__transition;if(!W||!(W=W[R]))throw new Error("transition not found");return W}function Yt(S,R){var W,H,X,J=S.__transition,ue=!0;if(J){for(X in R=R==null?null:R+"",J)(W=J[X]).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[X]):ue=!1;ue&&delete S.__transition}}function Vn(S,R){var W,H;return function(){var X=vr(this,S),J=X.tween;if(J!==W){for(var ue=0,ie=(H=W=J).length;ue<ie;++ue)if(H[ue].name===R){(H=H.slice()).splice(ue,1);break}}X.tween=H}}function yr(S,R,W){var H,X;if(typeof W!="function")throw new Error;return function(){var J=vr(this,S),ue=J.tween;if(ue!==H){X=(H=ue).slice();for(var ie={name:R,value:W},Ae=0,pe=X.length;Ae<pe;++Ae)if(X[Ae].name===R){X[Ae]=ie;break}Ae===pe&&X.push(ie)}J.tween=X}}function Kn(S,R,W){var H=S._id;return S.each(function(){var X=vr(this,H);(X.value||(X.value={}))[R]=W.apply(this,arguments)}),function(X){return Tn(X,H).value[R]}}function pr(S,R){var W;return(typeof R=="number"?wn:R instanceof Re?nn:(W=Re(R))?(R=W,nn):er)(S,R)}function Rn(S){return function(){this.removeAttribute(S)}}function wr(S){return function(){this.removeAttributeNS(S.space,S.local)}}function mr(S,R,W){var H,X,J=W+"";return function(){var ue=this.getAttribute(S);return ue===J?null:ue===H?X:X=R(H=ue,W)}}function Gn(S,R,W){var H,X,J=W+"";return function(){var ue=this.getAttributeNS(S.space,S.local);return ue===J?null:ue===H?X:X=R(H=ue,W)}}function br(S,R,W){var H,X,J;return function(){var ue,ie,Ae=W(this);if(Ae!=null)return(ue=this.getAttribute(S))===(ie=Ae+"")?null:ue===H&&ie===X?J:(X=ie,J=R(H=ue,Ae));this.removeAttribute(S)}}function Ar(S,R,W){var H,X,J;return function(){var ue,ie,Ae=W(this);if(Ae!=null)return(ue=this.getAttributeNS(S.space,S.local))===(ie=Ae+"")?null:ue===H&&ie===X?J:(X=ie,J=R(H=ue,Ae));this.removeAttributeNS(S.space,S.local)}}function Ir(S,R){return function(W){this.setAttribute(S,R.call(this,W))}}function Jn(S,R){return function(W){this.setAttributeNS(S.space,S.local,R.call(this,W))}}function Er(S,R){var W,H;function X(){var J=R.apply(this,arguments);return J!==H&&(W=(H=J)&&Jn(S,J)),W}return X._value=R,X}function ra(S,R){var W,H;function X(){var J=R.apply(this,arguments);return J!==H&&(W=(H=J)&&Ir(S,J)),W}return X._value=R,X}function Gr(S,R){return function(){vt(this,S).delay=+R.apply(this,arguments)}}function Dr(S,R){return R=+R,function(){vt(this,S).delay=R}}function ur(S,R){return function(){vr(this,S).duration=+R.apply(this,arguments)}}function ca(S,R){return R=+R,function(){vr(this,S).duration=R}}function da(S,R){if(typeof R!="function")throw new Error;return function(){vr(this,S).ease=R}}function sa(S,R,W){var H,X,J=function(ue){return(ue+"").trim().split(/^|\s+/).every(function(ie){var Ae=ie.indexOf(".");return Ae>=0&&(ie=ie.slice(0,Ae)),!ie||ie==="start"})}(R)?vt:vr;return function(){var ue=J(this,S),ie=ue.on;ie!==H&&(X=(H=ie).copy()).on(R,W),ue.on=X}}var fa=qe.prototype.constructor;function $r(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,X;function J(){var ue=R.apply(this,arguments);return ue!==X&&(H=(X=ue)&&Ea(S,ue,W)),H}return J._value=R,J}function Qr(S){return function(R){this.textContent=S.call(this,R)}}function fn(S){var R,W;function H(){var X=S.apply(this,arguments);return X!==W&&(R=(W=X)&&Qr(X)),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 Br(){return++kn}var jt=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,X=H.length,J=new Array(X),ue=0;ue<X;++ue)for(var ie,Ae,pe=H[ue],Oe=pe.length,je=J[ue]=new Array(Oe),Je=0;Je<Oe;++Je)(ie=pe[Je])&&(Ae=S.call(ie,ie.__data__,Je,pe))&&("__data__"in ie&&(Ae.__data__=ie.__data__),je[Je]=Ae,Qn(je[Je],R,W,Je,je,Tn(ie,W)));return new Yn(J,this._parents,R,W)},selectAll:function(S){var R=this._name,W=this._id;typeof S!="function"&&(S=u(S));for(var H=this._groups,X=H.length,J=[],ue=[],ie=0;ie<X;++ie)for(var Ae,pe=H[ie],Oe=pe.length,je=0;je<Oe;++je)if(Ae=pe[je]){for(var Je,yt=S.call(Ae,Ae.__data__,je,pe),ct=Tn(Ae,W),nt=0,st=yt.length;nt<st;++nt)(Je=yt[nt])&&Qn(Je,R,W,nt,yt,ct);J.push(yt),ue.push(Ae)}return new Yn(J,ue,R,W)},selectChild:jt.selectChild,selectChildren:jt.selectChildren,filter:function(S){typeof S!="function"&&(S=s(S));for(var R=this._groups,W=R.length,H=new Array(W),X=0;X<W;++X)for(var J,ue=R[X],ie=ue.length,Ae=H[X]=[],pe=0;pe<ie;++pe)(J=ue[pe])&&S.call(J,J.__data__,pe,ue)&&Ae.push(J);return new Yn(H,this._parents,this._name,this._id)},merge:function(S){if(S._id!==this._id)throw new Error;for(var R=this._groups,W=S._groups,H=R.length,X=W.length,J=Math.min(H,X),ue=new Array(H),ie=0;ie<J;++ie)for(var Ae,pe=R[ie],Oe=W[ie],je=pe.length,Je=ue[ie]=new Array(je),yt=0;yt<je;++yt)(Ae=pe[yt]||Oe[yt])&&(Je[yt]=Ae);for(;ie<H;++ie)ue[ie]=R[ie];return new Yn(ue,this._parents,this._name,this._id)},selection:function(){return new fa(this._groups,this._parents)},transition:function(){for(var S=this._name,R=this._id,W=Br(),H=this._groups,X=H.length,J=0;J<X;++J)for(var ue,ie=H[J],Ae=ie.length,pe=0;pe<Ae;++pe)if(ue=ie[pe]){var Oe=Tn(ue,R);Qn(ue,S,W,pe,ie,{time:Oe.time+Oe.delay+Oe.duration,delay:0,duration:Oe.duration,ease:Oe.ease})}return new Yn(H,this._parents,S,W)},call:jt.call,nodes:jt.nodes,node:jt.node,size:jt.size,empty:jt.empty,each:jt.each,on:function(S,R){var W=this._id;return arguments.length<2?Tn(this.node(),W).on.on(S):this.each(sa(W,S,R))},attr:function(S,R){var W=d(S),H=W==="transform"?qn:pr;return this.attrTween(S,typeof R=="function"?(W.local?Ar:br)(W,H,Kn(this,"attr."+S,R)):R==null?(W.local?wr:Rn)(W):(W.local?Gn:mr)(W,H,R))},attrTween:function(S,R){var W="attr."+S;if(arguments.length<2)return(W=this.tween(W))&&W._value;if(R==null)return this.tween(W,null);if(typeof R!="function")throw new Error;var H=d(S);return this.tween(W,(H.local?Er:ra)(H,R))},style:function(S,R,W){var H=(S+="")=="transform"?tr:pr;return R==null?this.styleTween(S,function(X,J){var ue,ie,Ae;return function(){var pe=ve(this,X),Oe=(this.style.removeProperty(X),ve(this,X));return pe===Oe?null:pe===ue&&Oe===ie?Ae:Ae=J(ue=pe,ie=Oe)}}(S,H)).on("end.style."+S,$r(S)):typeof R=="function"?this.styleTween(S,function(X,J,ue){var ie,Ae,pe;return function(){var Oe=ve(this,X),je=ue(this),Je=je+"";return je==null&&(this.style.removeProperty(X),Je=je=ve(this,X)),Oe===Je?null:Oe===ie&&Je===Ae?pe:(Ae=Je,pe=J(ie=Oe,je))}}(S,H,Kn(this,"style."+S,R))).each(function(X,J){var ue,ie,Ae,pe,Oe="style."+J,je="end."+Oe;return function(){var Je=vr(this,X),yt=Je.on,ct=Je.value[Oe]==null?pe||(pe=$r(J)):void 0;yt===ue&&Ae===ct||(ie=(ue=yt).copy()).on(je,Ae=ct),Je.on=ie}}(this._id,S)):this.styleTween(S,function(X,J,ue){var ie,Ae,pe=ue+"";return function(){var Oe=ve(this,X);return Oe===pe?null:Oe===ie?Ae:Ae=J(ie=Oe,ue)}}(S,H,R),W).on("end.style."+S,null)},styleTween:function(S,R,W){var H="style."+(S+="");if(arguments.length<2)return(H=this.tween(H))&&H._value;if(R==null)return this.tween(H,null);if(typeof R!="function")throw new Error;return this.tween(H,Lr(S,R,W==null?"":W))},text:function(S){return this.tween("text",typeof S=="function"?function(R){return function(){var W=R(this);this.textContent=W==null?"":W}}(Kn(this,"text",S)):function(R){return function(){this.textContent=R}}(S==null?"":S+""))},textTween:function(S){var R="text";if(arguments.length<1)return(R=this.tween(R))&&R._value;if(S==null)return this.tween(R,null);if(typeof S!="function")throw new Error;return this.tween(R,fn(S))},remove:function(){return this.on("end.remove",function(S){return function(){var R=this.parentNode;for(var W in this.__transition)if(+W!==S)return;R&&R.removeChild(this)}}(this._id))},tween:function(S,R){var W=this._id;if(S+="",arguments.length<2){for(var H,X=Tn(this.node(),W).tween,J=0,ue=X.length;J<ue;++J)if((H=X[J]).name===S)return H.value;return null}return this.each((R==null?Vn:yr)(W,S,R))},delay:function(S){var R=this._id;return arguments.length?this.each((typeof S=="function"?Gr:Dr)(R,S)):Tn(this.node(),R).delay},duration:function(S){var R=this._id;return arguments.length?this.each((typeof S=="function"?ur:ca)(R,S)):Tn(this.node(),R).duration},ease:function(S){var R=this._id;return arguments.length?this.each(da(R,S)):Tn(this.node(),R).ease},easeVarying:function(S){if(typeof S!="function")throw new Error;return this.each(function(R,W){return function(){var H=W.apply(this,arguments);if(typeof H!="function")throw new Error;vr(this,R).ease=H}}(this._id,S))},end:function(){var S,R,W=this,H=W._id,X=W.size();return new Promise(function(J,ue){var ie={value:ue},Ae={value:function(){--X==0&&J()}};W.each(function(){var pe=vr(this,H),Oe=pe.on;Oe!==S&&((R=(S=Oe).copy())._.cancel.push(ie),R._.interrupt.push(ie),R._.end.push(Ae)),pe.on=R}),X===0&&J()})},[Symbol.iterator]:jt[Symbol.iterator]};var Xr={time:null,delay:0,duration:250,ease:function(S){return((S*=2)<=1?S*S*S:(S-=2)*S*S+2)/2}};function ya(S,R){for(var W;!(W=S.__transition)||!(W=W[R]);)if(!(S=S.parentNode))throw new Error(`transition ${R} not found`);return W}qe.prototype.interrupt=function(S){return this.each(function(){Yt(this,S)})},qe.prototype.transition=function(S){var R,W;S instanceof Yn?(R=S._id,S=S._name):(R=Br(),(W=Xr).time=Xn(),S=S==null?null:S+"");for(var H=this._groups,X=H.length,J=0;J<X;++J)for(var ue,ie=H[J],Ae=ie.length,pe=0;pe<Ae;++pe)(ue=ie[pe])&&Qn(ue,S,R,pe,ie,W||ya(ue,R));return new Yn(H,this._parents,S,R)};const oa=Math.PI,Aa=2*oa,Zn=1e-6,na=Aa-Zn;function la(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Jr(){return new la}function _a(S,R,W,H){if(isNaN(R)||isNaN(W))return S;var X,J,ue,ie,Ae,pe,Oe,je,Je,yt=S._root,ct={data:H},nt=S._x0,st=S._y0,Mt=S._x1,Ct=S._y1;if(!yt)return S._root=ct,S;for(;yt.length;)if((pe=R>=(J=(nt+Mt)/2))?nt=J:Mt=J,(Oe=W>=(ue=(st+Ct)/2))?st=ue:Ct=ue,X=yt,!(yt=yt[je=Oe<<1|pe]))return X[je]=ct,S;if(ie=+S._x.call(null,yt.data),Ae=+S._y.call(null,yt.data),R===ie&&W===Ae)return ct.next=yt,X?X[je]=ct:S._root=ct,S;do X=X?X[je]=new Array(4):S._root=new Array(4),(pe=R>=(J=(nt+Mt)/2))?nt=J:Mt=J,(Oe=W>=(ue=(st+Ct)/2))?st=ue:Ct=ue;while((je=Oe<<1|pe)==(Je=(Ae>=ue)<<1|ie>=J));return X[Je]=yt,X[je]=ct,S}function ha(S,R,W,H,X){this.node=S,this.x0=R,this.y0=W,this.x1=H,this.y1=X}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,X,J){this._x=S,this._y=R,this._x0=W,this._y0=H,this._x1=X,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,X,J){this._+="C"+ +S+","+ +R+","+ +W+","+ +H+","+(this._x1=+X)+","+(this._y1=+J)},arcTo:function(S,R,W,H,X){S=+S,R=+R,W=+W,H=+H,X=+X;var J=this._x1,ue=this._y1,ie=W-S,Ae=H-R,pe=J-S,Oe=ue-R,je=pe*pe+Oe*Oe;if(X<0)throw new Error("negative radius: "+X);if(this._x1===null)this._+="M"+(this._x1=S)+","+(this._y1=R);else if(je>Zn)if(Math.abs(Oe*ie-Ae*pe)>Zn&&X){var Je=W-J,yt=H-ue,ct=ie*ie+Ae*Ae,nt=Je*Je+yt*yt,st=Math.sqrt(ct),Mt=Math.sqrt(je),Ct=X*Math.tan((oa-Math.acos((ct+je-nt)/(2*st*Mt)))/2),Ut=Ct/Mt,Vt=Ct/st;Math.abs(Ut-1)>Zn&&(this._+="L"+(S+Ut*pe)+","+(R+Ut*Oe)),this._+="A"+X+","+X+",0,0,"+ +(Oe*Je>pe*yt)+","+(this._x1=S+Vt*ie)+","+(this._y1=R+Vt*Ae)}else this._+="L"+(this._x1=S)+","+(this._y1=R)},arc:function(S,R,W,H,X,J){S=+S,R=+R,J=!!J;var ue=(W=+W)*Math.cos(H),ie=W*Math.sin(H),Ae=S+ue,pe=R+ie,Oe=1^J,je=J?H-X:X-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&&(je<0&&(je=je%Aa+Aa),je>na?this._+="A"+W+","+W+",0,1,"+Oe+","+(S-ue)+","+(R-ie)+"A"+W+","+W+",0,1,"+Oe+","+(this._x1=Ae)+","+(this._y1=pe):je>Zn&&(this._+="A"+W+","+W+",0,"+ +(je>=oa)+","+Oe+","+(this._x1=S+W*Math.cos(X))+","+(this._y1=R+W*Math.sin(X))))},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,X,J,ue,ie=ir,Ae=function(nt){return 1/Math.min(X[nt.source.index],X[nt.target.index])},pe=jr(30),Oe=1;function je(nt){for(var st=0,Mt=S.length;st<Oe;++st)for(var Ct,Ut,Vt,Wn,sn,rr,Hn,xr=0;xr<Mt;++xr)Ut=(Ct=S[xr]).source,Wn=(Vt=Ct.target).x+Vt.vx-Ut.x-Ut.vx||za(ue),sn=Vt.y+Vt.vy-Ut.y-Ut.vy||za(ue),Wn*=rr=((rr=Math.sqrt(Wn*Wn+sn*sn))-W[xr])/rr*nt*R[xr],sn*=rr,Vt.vx-=Wn*(Hn=J[xr]),Vt.vy-=sn*Hn,Ut.vx+=Wn*(Hn=1-Hn),Ut.vy+=sn*Hn}function Je(){if(H){var nt,st,Mt=H.length,Ct=S.length,Ut=new Map(H.map((Vt,Wn)=>[ie(Vt,Wn,H),Vt]));for(nt=0,X=new Array(Mt);nt<Ct;++nt)(st=S[nt]).index=nt,typeof st.source!="object"&&(st.source=Vr(Ut,st.source)),typeof st.target!="object"&&(st.target=Vr(Ut,st.target)),X[st.source.index]=(X[st.source.index]||0)+1,X[st.target.index]=(X[st.target.index]||0)+1;for(nt=0,J=new Array(Ct);nt<Ct;++nt)st=S[nt],J[nt]=X[st.source.index]/(X[st.source.index]+X[st.target.index]);R=new Array(Ct),yt(),W=new Array(Ct),ct()}}function yt(){if(H)for(var nt=0,st=S.length;nt<st;++nt)R[nt]=+Ae(S[nt],nt,S)}function ct(){if(H)for(var nt=0,st=S.length;nt<st;++nt)W[nt]=+pe(S[nt],nt,S)}return S==null&&(S=[]),je.initialize=function(nt,st){H=nt,ue=st,Je()},je.links=function(nt){return arguments.length?(S=nt,Je(),je):S},je.id=function(nt){return arguments.length?(ie=nt,je):ie},je.iterations=function(nt){return arguments.length?(Oe=+nt,je):Oe},je.strength=function(nt){return arguments.length?(Ae=typeof nt=="function"?nt:jr(+nt),yt(),je):Ae},je.distance=function(nt){return arguments.length?(pe=typeof nt=="function"?nt:jr(+nt),ct(),je):pe},je}va.copy=function(){var S,R,W=new ei(this._x,this._y,this._x0,this._y0,this._x1,this._y1),H=this._root;if(!H)return W;if(!H.length)return W._root=Fa(H),W;for(S=[{source:H,target:W._root=new Array(4)}];H=S.pop();)for(var X=0;X<4;++X)(R=H.source[X])&&(R.length?S.push({source:R,target:H.target[X]=new Array(4)}):H.target[X]=Fa(R));return W},va.add=function(S){const R=+this._x.call(null,S),W=+this._y.call(null,S);return _a(this.cover(R,W),R,W,S)},va.addAll=function(S){var R,W,H,X,J=S.length,ue=new Array(J),ie=new Array(J),Ae=1/0,pe=1/0,Oe=-1/0,je=-1/0;for(W=0;W<J;++W)isNaN(H=+this._x.call(null,R=S[W]))||isNaN(X=+this._y.call(null,R))||(ue[W]=H,ie[W]=X,H<Ae&&(Ae=H),H>Oe&&(Oe=H),X<pe&&(pe=X),X>je&&(je=X));if(Ae>Oe||pe>je)return this;for(this.cover(Ae,pe).cover(Oe,je),W=0;W<J;++W)_a(this,ue[W],ie[W],S[W]);return this},va.cover=function(S,R){if(isNaN(S=+S)||isNaN(R=+R))return this;var W=this._x0,H=this._y0,X=this._x1,J=this._y1;if(isNaN(W))X=(W=Math.floor(S))+1,J=(H=Math.floor(R))+1;else{for(var ue,ie,Ae=X-W||1,pe=this._root;W>S||S>=X||H>R||R>=J;)switch(ie=(R<H)<<1|S<W,(ue=new Array(4))[ie]=pe,pe=ue,Ae*=2,ie){case 0:X=W+Ae,J=H+Ae;break;case 1:W=X-Ae,J=H+Ae;break;case 2:X=W+Ae,H=J-Ae;break;case 3:W=X-Ae,H=J-Ae}this._root&&this._root.length&&(this._root=pe)}return this._x0=W,this._y0=H,this._x1=X,this._y1=J,this},va.data=function(){var S=[];return this.visit(function(R){if(!R.length)do S.push(R.data);while(R=R.next)}),S},va.extent=function(S){return arguments.length?this.cover(+S[0][0],+S[0][1]).cover(+S[1][0],+S[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},va.find=function(S,R,W){var H,X,J,ue,ie,Ae,pe,Oe=this._x0,je=this._y0,Je=this._x1,yt=this._y1,ct=[],nt=this._root;for(nt&&ct.push(new ha(nt,Oe,je,Je,yt)),W==null?W=1/0:(Oe=S-W,je=R-W,Je=S+W,yt=R+W,W*=W);Ae=ct.pop();)if(!(!(nt=Ae.node)||(X=Ae.x0)>Je||(J=Ae.y0)>yt||(ue=Ae.x1)<Oe||(ie=Ae.y1)<je))if(nt.length){var st=(X+ue)/2,Mt=(J+ie)/2;ct.push(new ha(nt[3],st,Mt,ue,ie),new ha(nt[2],X,Mt,st,ie),new ha(nt[1],st,J,ue,Mt),new ha(nt[0],X,J,st,Mt)),(pe=(R>=Mt)<<1|S>=st)&&(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),Ut=R-+this._y.call(null,nt.data),Vt=Ct*Ct+Ut*Ut;if(Vt<W){var Wn=Math.sqrt(W=Vt);Oe=S-Wn,je=R-Wn,Je=S+Wn,yt=R+Wn,H=nt.data}}return H},va.remove=function(S){if(isNaN(J=+this._x.call(null,S))||isNaN(ue=+this._y.call(null,S)))return this;var R,W,H,X,J,ue,ie,Ae,pe,Oe,je,Je,yt=this._root,ct=this._x0,nt=this._y0,st=this._x1,Mt=this._y1;if(!yt)return this;if(yt.length)for(;;){if((pe=J>=(ie=(ct+st)/2))?ct=ie:st=ie,(Oe=ue>=(Ae=(nt+Mt)/2))?nt=Ae:Mt=Ae,R=yt,!(yt=yt[je=Oe<<1|pe]))return this;if(!yt.length)break;(R[je+1&3]||R[je+2&3]||R[je+3&3])&&(W=R,Je=je)}for(;yt.data!==S;)if(H=yt,!(yt=yt.next))return this;return(X=yt.next)&&delete yt.next,H?(X?H.next=X:delete H.next,this):R?(X?R[je]=X:delete R[je],(yt=R[0]||R[1]||R[2]||R[3])&&yt===(R[3]||R[2]||R[1]||R[0])&&!yt.length&&(W?W[Je]=yt:this._root=yt),this):(this._root=X,this)},va.removeAll=function(S){for(var R=0,W=S.length;R<W;++R)this.remove(S[R]);return this},va.root=function(){return this._root},va.size=function(){var S=0;return this.visit(function(R){if(!R.length)do++S;while(R=R.next)}),S},va.visit=function(S){var R,W,H,X,J,ue,ie=[],Ae=this._root;for(Ae&&ie.push(new ha(Ae,this._x0,this._y0,this._x1,this._y1));R=ie.pop();)if(!S(Ae=R.node,H=R.x0,X=R.y0,J=R.x1,ue=R.y1)&&Ae.length){var pe=(H+J)/2,Oe=(X+ue)/2;(W=Ae[3])&&ie.push(new ha(W,pe,Oe,J,ue)),(W=Ae[2])&&ie.push(new ha(W,H,Oe,pe,ue)),(W=Ae[1])&&ie.push(new ha(W,pe,X,J,Oe)),(W=Ae[0])&&ie.push(new ha(W,H,X,pe,Oe))}return this},va.visitAfter=function(S){var R,W=[],H=[];for(this._root&&W.push(new ha(this._root,this._x0,this._y0,this._x1,this._y1));R=W.pop();){var X=R.node;if(X.length){var J,ue=R.x0,ie=R.y0,Ae=R.x1,pe=R.y1,Oe=(ue+Ae)/2,je=(ie+pe)/2;(J=X[0])&&W.push(new ha(J,ue,ie,Oe,je)),(J=X[1])&&W.push(new ha(J,Oe,ie,Ae,je)),(J=X[2])&&W.push(new ha(J,ue,je,Oe,pe)),(J=X[3])&&W.push(new ha(J,Oe,je,Ae,pe))}H.push(R)}for(;R=H.pop();)S(R.node,R.x0,R.y0,R.x1,R.y1);return this},va.x=function(S){return arguments.length?(this._x=S,this):this._x},va.y=function(S){return arguments.length?(this._y=S,this):this._y};const Oa=4294967296;function La(S){return S.x}function pn(S){return S.y}var cr=Math.PI*(3-Math.sqrt(5));function xa(S){var R,W=1,H=.001,X=1-Math.pow(H,1/300),J=0,ue=.6,ie=new Map,Ae=Tr(je),pe=P("tick","end"),Oe=function(){let nt=1;return()=>(nt=(1664525*nt+1013904223)%Oa)/Oa}();function je(){Je(),pe.call("tick",R),W<H&&(Ae.stop(),pe.call("end",R))}function Je(nt){var st,Mt,Ct=S.length;nt===void 0&&(nt=1);for(var Ut=0;Ut<nt;++Ut)for(W+=(J-W)*X,ie.forEach(function(Vt){Vt(W)}),st=0;st<Ct;++st)(Mt=S[st]).fx==null?Mt.x+=Mt.vx*=ue:(Mt.x=Mt.fx,Mt.vx=0),Mt.fy==null?Mt.y+=Mt.vy*=ue:(Mt.y=Mt.fy,Mt.vy=0);return R}function yt(){for(var nt,st=0,Mt=S.length;st<Mt;++st){if((nt=S[st]).index=st,nt.fx!=null&&(nt.x=nt.fx),nt.fy!=null&&(nt.y=nt.fy),isNaN(nt.x)||isNaN(nt.y)){var Ct=10*Math.sqrt(.5+st),Ut=st*cr;nt.x=Ct*Math.cos(Ut),nt.y=Ct*Math.sin(Ut)}(isNaN(nt.vx)||isNaN(nt.vy))&&(nt.vx=nt.vy=0)}}function ct(nt){return nt.initialize&&nt.initialize(S,Oe),nt}return S==null&&(S=[]),yt(),R={tick:Je,restart:function(){return Ae.restart(je),R},stop:function(){return Ae.stop(),R},nodes:function(nt){return arguments.length?(S=nt,yt(),ie.forEach(ct),R):S},alpha:function(nt){return arguments.length?(W=+nt,R):W},alphaMin:function(nt){return arguments.length?(H=+nt,R):H},alphaDecay:function(nt){return arguments.length?(X=+nt,R):+X},alphaTarget:function(nt){return arguments.length?(J=+nt,R):J},velocityDecay:function(nt){return arguments.length?(ue=1-nt,R):1-ue},randomSource:function(nt){return arguments.length?(Oe=nt,ie.forEach(ct),R):Oe},force:function(nt,st){return arguments.length>1?(st==null?ie.delete(nt):ie.set(nt,ct(st)),R):ie.get(nt)},find:function(nt,st,Mt){var Ct,Ut,Vt,Wn,sn,rr=0,Hn=S.length;for(Mt==null?Mt=1/0:Mt*=Mt,rr=0;rr<Hn;++rr)(Vt=(Ct=nt-(Wn=S[rr]).x)*Ct+(Ut=st-Wn.y)*Ut)<Mt&&(sn=Wn,Mt=Vt);return sn},on:function(nt,st){return arguments.length>1?(pe.on(nt,st),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,qa=ui/2,Ai=2*ui;function Ma(S){return S>1?0:S<-1?ui:Math.acos(S)}function pi(S){return S>=1?qa:S<=-1?-qa:Math.asin(S)}function Bi(S){return S.innerRadius}function xo(S){return S.outerRadius}function Co(S){return S.startAngle}function $i(S){return S.endAngle}function ao(S){return S&&S.padAngle}function ki(S,R,W,H,X,J,ue,ie){var Ae=W-S,pe=H-R,Oe=ue-X,je=ie-J,Je=je*Ae-Oe*pe;if(!(Je*Je<ka))return[S+(Je=(Oe*(R-J)-je*(S-X))/Je)*Ae,R+Je*pe]}function Gi(S,R,W,H,X,J,ue){var ie=S-W,Ae=R-H,pe=(ue?J:-J)/Ka(ie*ie+Ae*Ae),Oe=pe*Ae,je=-pe*ie,Je=S+Oe,yt=R+je,ct=W+Oe,nt=H+je,st=(Je+ct)/2,Mt=(yt+nt)/2,Ct=ct-Je,Ut=nt-yt,Vt=Ct*Ct+Ut*Ut,Wn=X-J,sn=Je*nt-ct*yt,rr=(Ut<0?-1:1)*Ka(ua(0,Wn*Wn*Vt-sn*sn)),Hn=(sn*Ut-Ct*rr)/Vt,xr=(-sn*Ct-Ut*rr)/Vt,bn=(sn*Ut+Ct*rr)/Vt,Mn=(-sn*Ct+Ut*rr)/Vt,$n=Hn-st,Dt=xr-Mt,cn=bn-st,Un=Mn-Mt;return $n*$n+Dt*Dt>cn*cn+Un*Un&&(Hn=bn,xr=Mn),{cx:Hn,cy:xr,x01:-Oe,y01:-je,x11:Hn*(X/Wn-1),y11:xr*(X/Wn-1)}}function Lo(){var S=Bi,R=xo,W=Sr(0),H=null,X=Co,J=$i,ue=ao,ie=null;function Ae(){var pe,Oe,je=+S.apply(this,arguments),Je=+R.apply(this,arguments),yt=X.apply(this,arguments)-qa,ct=J.apply(this,arguments)-qa,nt=ta(ct-yt),st=ct>yt;if(ie||(ie=pe=Jr()),Je<je&&(Oe=Je,Je=je,je=Oe),Je>ka)if(nt>Ai-ka)ie.moveTo(Je*Zr(yt),Je*ma(yt)),ie.arc(0,0,Je,yt,ct,!st),je>ka&&(ie.moveTo(je*Zr(ct),je*ma(ct)),ie.arc(0,0,je,ct,yt,st));else{var Mt,Ct,Ut=yt,Vt=ct,Wn=yt,sn=ct,rr=nt,Hn=nt,xr=ue.apply(this,arguments)/2,bn=xr>ka&&(H?+H.apply(this,arguments):Ka(je*je+Je*Je)),Mn=Ya(ta(Je-je)/2,+W.apply(this,arguments)),$n=Mn,Dt=Mn;if(bn>ka){var cn=pi(bn/je*ma(xr)),Un=pi(bn/Je*ma(xr));(rr-=2*cn)>ka?(Wn+=cn*=st?1:-1,sn-=cn):(rr=0,Wn=sn=(yt+ct)/2),(Hn-=2*Un)>ka?(Ut+=Un*=st?1:-1,Vt-=Un):(Hn=0,Ut=Vt=(yt+ct)/2)}var Xt=Je*Zr(Ut),In=Je*ma(Ut),ln=je*Zr(sn),gn=je*ma(sn);if(Mn>ka){var _r,Fr=Je*Zr(Vt),dr=Je*ma(Vt),aa=je*Zr(Wn),pa=je*ma(Wn);if(nt<ui&&(_r=ki(Xt,In,aa,pa,Fr,dr,ln,gn))){var ba=Xt-_r[0],Or=In-_r[1],Kr=Fr-_r[0],Sa=dr-_r[1],Za=1/ma(Ma((ba*Kr+Or*Sa)/(Ka(ba*ba+Or*Or)*Ka(Kr*Kr+Sa*Sa)))/2),Pa=Ka(_r[0]*_r[0]+_r[1]*_r[1]);$n=Ya(Mn,(je-Pa)/(Za-1)),Dt=Ya(Mn,(Je-Pa)/(Za+1))}}Hn>ka?Dt>ka?(Mt=Gi(aa,pa,Xt,In,Je,Dt,st),Ct=Gi(Fr,dr,ln,gn,Je,Dt,st),ie.moveTo(Mt.cx+Mt.x01,Mt.cy+Mt.y01),Dt<Mn?ie.arc(Mt.cx,Mt.cy,Dt,Ur(Mt.y01,Mt.x01),Ur(Ct.y01,Ct.x01),!st):(ie.arc(Mt.cx,Mt.cy,Dt,Ur(Mt.y01,Mt.x01),Ur(Mt.y11,Mt.x11),!st),ie.arc(0,0,Je,Ur(Mt.cy+Mt.y11,Mt.cx+Mt.x11),Ur(Ct.cy+Ct.y11,Ct.cx+Ct.x11),!st),ie.arc(Ct.cx,Ct.cy,Dt,Ur(Ct.y11,Ct.x11),Ur(Ct.y01,Ct.x01),!st))):(ie.moveTo(Xt,In),ie.arc(0,0,Je,Ut,Vt,!st)):ie.moveTo(Xt,In),je>ka&&rr>ka?$n>ka?(Mt=Gi(ln,gn,Fr,dr,je,-$n,st),Ct=Gi(Xt,In,aa,pa,je,-$n,st),ie.lineTo(Mt.cx+Mt.x01,Mt.cy+Mt.y01),$n<Mn?ie.arc(Mt.cx,Mt.cy,$n,Ur(Mt.y01,Mt.x01),Ur(Ct.y01,Ct.x01),!st):(ie.arc(Mt.cx,Mt.cy,$n,Ur(Mt.y01,Mt.x01),Ur(Mt.y11,Mt.x11),!st),ie.arc(0,0,je,Ur(Mt.cy+Mt.y11,Mt.cx+Mt.x11),Ur(Ct.cy+Ct.y11,Ct.cx+Ct.x11),st),ie.arc(Ct.cx,Ct.cy,$n,Ur(Ct.y11,Ct.x11),Ur(Ct.y01,Ct.x01),!st))):ie.arc(0,0,je,sn,Wn,st):ie.lineTo(ln,gn)}else ie.moveTo(0,0);if(ie.closePath(),pe)return ie=null,pe+""||null}return Ae.centroid=function(){var pe=(+S.apply(this,arguments)+ +R.apply(this,arguments))/2,Oe=(+X.apply(this,arguments)+ +J.apply(this,arguments))/2-ui/2;return[Zr(Oe)*pe,ma(Oe)*pe]},Ae.innerRadius=function(pe){return arguments.length?(S=typeof pe=="function"?pe:Sr(+pe),Ae):S},Ae.outerRadius=function(pe){return arguments.length?(R=typeof pe=="function"?pe:Sr(+pe),Ae):R},Ae.cornerRadius=function(pe){return arguments.length?(W=typeof pe=="function"?pe:Sr(+pe),Ae):W},Ae.padRadius=function(pe){return arguments.length?(H=pe==null?null:typeof pe=="function"?pe:Sr(+pe),Ae):H},Ae.startAngle=function(pe){return arguments.length?(X=typeof pe=="function"?pe:Sr(+pe),Ae):X},Ae.endAngle=function(pe){return arguments.length?(J=typeof pe=="function"?pe:Sr(+pe),Ae):J},Ae.padAngle=function(pe){return arguments.length?(ue=typeof pe=="function"?pe:Sr(+pe),Ae):ue},Ae.context=function(pe){return arguments.length?(ie=pe==null?null:pe,Ae):ie},Ae}function io(S){return typeof S=="object"&&"length"in S?S:Array.from(S)}function bo(S,R){return R<S?-1:R>S?1:R>=S?0:NaN}function oo(S){return S}function so(){var S=oo,R=bo,W=null,H=Sr(0),X=Sr(Ai),J=Sr(0);function ue(ie){var Ae,pe,Oe,je,Je,yt=(ie=io(ie)).length,ct=0,nt=new Array(yt),st=new Array(yt),Mt=+H.apply(this,arguments),Ct=Math.min(Ai,Math.max(-Ai,X.apply(this,arguments)-Mt)),Ut=Math.min(Math.abs(Ct)/yt,J.apply(this,arguments)),Vt=Ut*(Ct<0?-1:1);for(Ae=0;Ae<yt;++Ae)(Je=st[nt[Ae]=Ae]=+S(ie[Ae],Ae,ie))>0&&(ct+=Je);for(R!=null?nt.sort(function(Wn,sn){return R(st[Wn],st[sn])}):W!=null&&nt.sort(function(Wn,sn){return W(ie[Wn],ie[sn])}),Ae=0,Oe=ct?(Ct-yt*Vt)/ct:0;Ae<yt;++Ae,Mt=je)pe=nt[Ae],je=Mt+((Je=st[pe])>0?Je*Oe:0)+Vt,st[pe]={data:ie[pe],index:Ae,value:Je,startAngle:Mt,endAngle:je,padAngle:Ut};return st}return ue.value=function(ie){return arguments.length?(S=typeof ie=="function"?ie:Sr(+ie),ue):S},ue.sortValues=function(ie){return arguments.length?(R=ie,W=null,ue):R},ue.sort=function(ie){return arguments.length?(W=ie,R=null,ue):W},ue.startAngle=function(ie){return arguments.length?(H=typeof ie=="function"?ie:Sr(+ie),ue):H},ue.endAngle=function(ie){return arguments.length?(X=typeof ie=="function"?ie:Sr(+ie),ue):X},ue.padAngle=function(ie){return arguments.length?(J=typeof ie=="function"?ie:Sr(+ie),ue):J},ue}var Xi=S=>()=>S;function lo(S,{sourceEvent:R,target:W,transform:H,dispatch:X}){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:X}})}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 Bo(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],X=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(X>H?(H+X)/2:Math.min(0,H)||Math.max(0,X),ue>J?(J+ue)/2:Math.min(0,J)||Math.max(0,ue))}function Qi(){var S,R,W,H=Ao,X=Ro,J=eo,ue=Bo,ie=ia,Ae=[0,1/0],pe=[[-1/0,-1/0],[1/0,1/0]],Oe=250,je=Rr,Je=P("start","zoom","end"),yt=500,ct=0,nt=10;function st(Dt){Dt.property("__zoom",Zo).on("wheel.zoom",rr,{passive:!1}).on("mousedown.zoom",Hn).on("dblclick.zoom",xr).filter(ie).on("touchstart.zoom",bn).on("touchmove.zoom",Mn).on("touchend.zoom touchcancel.zoom",$n).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function Mt(Dt,cn){return(cn=Math.max(Ae[0],Math.min(Ae[1],cn)))===Dt.k?Dt:new Si(cn,Dt.x,Dt.y)}function Ct(Dt,cn,Un){var Xt=cn[0]-Un[0]*Dt.k,In=cn[1]-Un[1]*Dt.k;return Xt===Dt.x&&In===Dt.y?Dt:new Si(Dt.k,Xt,In)}function Ut(Dt){return[(+Dt[0][0]+ +Dt[1][0])/2,(+Dt[0][1]+ +Dt[1][1])/2]}function Vt(Dt,cn,Un,Xt){Dt.on("start.zoom",function(){Wn(this,arguments).event(Xt).start()}).on("interrupt.zoom end.zoom",function(){Wn(this,arguments).event(Xt).end()}).tween("zoom",function(){var In=this,ln=arguments,gn=Wn(In,ln).event(Xt),_r=X.apply(In,ln),Fr=Un==null?Ut(_r):typeof Un=="function"?Un.apply(In,ln):Un,dr=Math.max(_r[1][0]-_r[0][0],_r[1][1]-_r[0][1]),aa=In.__zoom,pa=typeof cn=="function"?cn.apply(In,ln):cn,ba=je(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)}gn.zoom(null,Or)}})}function Wn(Dt,cn,Un){return!Un&&Dt.__zooming||new sn(Dt,cn)}function sn(Dt,cn){this.that=Dt,this.args=cn,this.active=0,this.sourceEvent=null,this.extent=X.apply(Dt,cn),this.taps=0}function rr(Dt,...cn){if(H.apply(this,arguments)){var Un=Wn(this,cn).event(Dt),Xt=this.__zoom,In=Math.max(Ae[0],Math.min(Ae[1],Xt.k*Math.pow(2,ue.apply(this,arguments)))),ln=Et(Dt);if(Un.wheel)Un.mouse[0][0]===ln[0]&&Un.mouse[0][1]===ln[1]||(Un.mouse[1]=Xt.invert(Un.mouse[0]=ln)),clearTimeout(Un.wheel);else{if(Xt.k===In)return;Un.mouse=[ln,Xt.invert(ln)],Yt(this),Un.start()}Yi(Dt),Un.wheel=setTimeout(gn,150),Un.zoom("mouse",J(Ct(Mt(Xt,In),Un.mouse[0],Un.mouse[1]),Un.extent,pe))}function gn(){Un.wheel=null,Un.end()}}function Hn(Dt,...cn){if(!W&&H.apply(this,arguments)){var Un=Dt.currentTarget,Xt=Wn(this,cn,!0).event(Dt),In=it(Dt.view).on("mousemove.zoom",Fr,!0).on("mouseup.zoom",dr,!0),ln=Et(Dt,Un),gn=Dt.clientX,_r=Dt.clientY;hn(Dt.view),Di(Dt),Xt.mouse=[ln,this.__zoom.invert(ln)],Yt(this),Xt.start()}function Fr(aa){if(Yi(aa),!Xt.moved){var pa=aa.clientX-gn,ba=aa.clientY-_r;Xt.moved=pa*pa+ba*ba>ct}Xt.event(aa).zoom("mouse",J(Ct(Xt.that.__zoom,Xt.mouse[0]=Et(aa,Un),Xt.mouse[1]),Xt.extent,pe))}function dr(aa){In.on("mousemove.zoom mouseup.zoom",null),Nn(aa.view,Xt.moved),Yi(aa),Xt.event(aa).end()}}function xr(Dt,...cn){if(H.apply(this,arguments)){var Un=this.__zoom,Xt=Et(Dt.changedTouches?Dt.changedTouches[0]:Dt,this),In=Un.invert(Xt),ln=Un.k*(Dt.shiftKey?.5:2),gn=J(Ct(Mt(Un,ln),Xt,In),X.apply(this,cn),pe);Yi(Dt),Oe>0?it(this).transition().duration(Oe).call(Vt,gn,Xt,Dt):it(this).call(st.transform,gn,Xt,Dt)}}function bn(Dt,...cn){if(H.apply(this,arguments)){var Un,Xt,In,ln,gn=Dt.touches,_r=gn.length,Fr=Wn(this,cn,Dt.changedTouches.length===_r).event(Dt);for(Di(Dt),Xt=0;Xt<_r;++Xt)ln=[ln=Et(In=gn[Xt],this),this.__zoom.invert(ln),In.identifier],Fr.touch0?Fr.touch1||Fr.touch0[2]===ln[2]||(Fr.touch1=ln,Fr.taps=0):(Fr.touch0=ln,Un=!0,Fr.taps=1+!!S);S&&(S=clearTimeout(S)),Un&&(Fr.taps<2&&(R=ln[0],S=setTimeout(function(){S=null},yt)),Yt(this),Fr.start())}}function Mn(Dt,...cn){if(this.__zooming){var Un,Xt,In,ln,gn=Wn(this,cn).event(Dt),_r=Dt.changedTouches,Fr=_r.length;for(Yi(Dt),Un=0;Un<Fr;++Un)In=Et(Xt=_r[Un],this),gn.touch0&&gn.touch0[2]===Xt.identifier?gn.touch0[0]=In:gn.touch1&&gn.touch1[2]===Xt.identifier&&(gn.touch1[0]=In);if(Xt=gn.that.__zoom,gn.touch1){var dr=gn.touch0[0],aa=gn.touch0[1],pa=gn.touch1[0],ba=gn.touch1[1],Or=(Or=pa[0]-dr[0])*Or+(Or=pa[1]-dr[1])*Or,Kr=(Kr=ba[0]-aa[0])*Kr+(Kr=ba[1]-aa[1])*Kr;Xt=Mt(Xt,Math.sqrt(Or/Kr)),In=[(dr[0]+pa[0])/2,(dr[1]+pa[1])/2],ln=[(aa[0]+ba[0])/2,(aa[1]+ba[1])/2]}else{if(!gn.touch0)return;In=gn.touch0[0],ln=gn.touch0[1]}gn.zoom("touch",J(Ct(Xt,In,ln),gn.extent,pe))}}function $n(Dt,...cn){if(this.__zooming){var Un,Xt,In=Wn(this,cn).event(Dt),ln=Dt.changedTouches,gn=ln.length;for(Di(Dt),W&&clearTimeout(W),W=setTimeout(function(){W=null},yt),Un=0;Un<gn;++Un)Xt=ln[Un],In.touch0&&In.touch0[2]===Xt.identifier?delete In.touch0:In.touch1&&In.touch1[2]===Xt.identifier&&delete In.touch1;if(In.touch1&&!In.touch0&&(In.touch0=In.touch1,delete In.touch1),In.touch0)In.touch0[1]=this.__zoom.invert(In.touch0[0]);else if(In.end(),In.taps===2&&(Xt=Et(Xt,this),Math.hypot(R[0]-Xt[0],R[1]-Xt[1])<nt)){var _r=it(this).on("dblclick.zoom");_r&&_r.apply(this,arguments)}}}return st.transform=function(Dt,cn,Un,Xt){var In=Dt.selection?Dt.selection():Dt;In.property("__zoom",Zo),Dt!==In?Vt(Dt,cn,Un,Xt):In.interrupt().each(function(){Wn(this,arguments).event(Xt).start().zoom(null,typeof cn=="function"?cn.apply(this,arguments):cn).end()})},st.scaleBy=function(Dt,cn,Un,Xt){st.scaleTo(Dt,function(){var In=this.__zoom.k,ln=typeof cn=="function"?cn.apply(this,arguments):cn;return In*ln},Un,Xt)},st.scaleTo=function(Dt,cn,Un,Xt){st.transform(Dt,function(){var In=X.apply(this,arguments),ln=this.__zoom,gn=Un==null?Ut(In):typeof Un=="function"?Un.apply(this,arguments):Un,_r=ln.invert(gn),Fr=typeof cn=="function"?cn.apply(this,arguments):cn;return J(Ct(Mt(ln,Fr),gn,_r),In,pe)},Un,Xt)},st.translateBy=function(Dt,cn,Un,Xt){st.transform(Dt,function(){return J(this.__zoom.translate(typeof cn=="function"?cn.apply(this,arguments):cn,typeof Un=="function"?Un.apply(this,arguments):Un),X.apply(this,arguments),pe)},null,Xt)},st.translateTo=function(Dt,cn,Un,Xt,In){st.transform(Dt,function(){var ln=X.apply(this,arguments),gn=this.__zoom,_r=Xt==null?Ut(ln):typeof Xt=="function"?Xt.apply(this,arguments):Xt;return J(si.translate(_r[0],_r[1]).scale(gn.k).translate(typeof cn=="function"?-cn.apply(this,arguments):-cn,typeof Un=="function"?-Un.apply(this,arguments):-Un),ln,pe)},Xt,In)},sn.prototype={event:function(Dt){return Dt&&(this.sourceEvent=Dt),this},start:function(){return++this.active==1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(Dt,cn){return this.mouse&&Dt!=="mouse"&&(this.mouse[1]=cn.invert(this.mouse[0])),this.touch0&&Dt!=="touch"&&(this.touch0[1]=cn.invert(this.touch0[0])),this.touch1&&Dt!=="touch"&&(this.touch1[1]=cn.invert(this.touch1[0])),this.that.__zoom=cn,this.emit("zoom"),this},end:function(){return--this.active==0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(Dt){var cn=it(this.that).datum();Je.call(Dt,this.that,new lo(Dt,{sourceEvent:this.sourceEvent,target:st,type:Dt,transform:this.that.__zoom,dispatch:Je}),cn)}},st.wheelDelta=function(Dt){return arguments.length?(ue=typeof Dt=="function"?Dt:Xi(+Dt),st):ue},st.filter=function(Dt){return arguments.length?(H=typeof Dt=="function"?Dt:Xi(!!Dt),st):H},st.touchable=function(Dt){return arguments.length?(ie=typeof Dt=="function"?Dt:Xi(!!Dt),st):ie},st.extent=function(Dt){return arguments.length?(X=typeof Dt=="function"?Dt:Xi([[+Dt[0][0],+Dt[0][1]],[+Dt[1][0],+Dt[1][1]]]),st):X},st.scaleExtent=function(Dt){return arguments.length?(Ae[0]=+Dt[0],Ae[1]=+Dt[1],st):[Ae[0],Ae[1]]},st.translateExtent=function(Dt){return arguments.length?(pe[0][0]=+Dt[0][0],pe[1][0]=+Dt[1][0],pe[0][1]=+Dt[0][1],pe[1][1]=+Dt[1][1],st):[[pe[0][0],pe[0][1]],[pe[1][0],pe[1][1]]]},st.constrain=function(Dt){return arguments.length?(J=Dt,st):J},st.duration=function(Dt){return arguments.length?(Oe=+Dt,st):Oe},st.interpolate=function(Dt){return arguments.length?(je=Dt,st):je},st.on=function(){var Dt=Je.on.apply(Je,arguments);return Dt===Je?st:Dt},st.clickDistance=function(Dt){return arguments.length?(ct=(Dt=+Dt)*Dt,st):Math.sqrt(ct)},st.tapDistance=function(Dt){return arguments.length?(nt=+Dt,st):nt},st}function bi(){bi=function(){return S};var S={},R=Object.prototype,W=R.hasOwnProperty,H=typeof Symbol=="function"?Symbol:{},X=H.iterator||"@@iterator",J=H.asyncIterator||"@@asyncIterator",ue=H.toStringTag||"@@toStringTag";function ie(bn,Mn,$n){return Object.defineProperty(bn,Mn,{value:$n,enumerable:!0,configurable:!0,writable:!0}),bn[Mn]}try{ie({},"")}catch(bn){ie=function(Mn,$n,Dt){return Mn[$n]=Dt}}function Ae(bn,Mn,$n,Dt){var cn=Mn&&Mn.prototype instanceof je?Mn:je,Un=Object.create(cn.prototype),Xt=new rr(Dt||[]);return Un._invoke=function(In,ln,gn){var _r="suspendedStart";return function(Fr,dr){if(_r==="executing")throw new Error("Generator is already running");if(_r==="completed"){if(Fr==="throw")throw dr;return xr()}for(gn.method=Fr,gn.arg=dr;;){var aa=gn.delegate;if(aa){var pa=Vt(aa,gn);if(pa){if(pa===Oe)continue;return pa}}if(gn.method==="next")gn.sent=gn._sent=gn.arg;else if(gn.method==="throw"){if(_r==="suspendedStart")throw _r="completed",gn.arg;gn.dispatchException(gn.arg)}else gn.method==="return"&&gn.abrupt("return",gn.arg);_r="executing";var ba=pe(In,ln,gn);if(ba.type==="normal"){if(_r=gn.done?"completed":"suspendedYield",ba.arg===Oe)continue;return{value:ba.arg,done:gn.done}}ba.type==="throw"&&(_r="completed",gn.method="throw",gn.arg=ba.arg)}}}(bn,$n,Xt),Un}function pe(bn,Mn,$n){try{return{type:"normal",arg:bn.call(Mn,$n)}}catch(Dt){return{type:"throw",arg:Dt}}}S.wrap=Ae;var Oe={};function je(){}function Je(){}function yt(){}var ct={};ie(ct,X,function(){return this});var nt=Object.getPrototypeOf,st=nt&&nt(nt(Hn([])));st&&st!==R&&W.call(st,X)&&(ct=st);var Mt=yt.prototype=je.prototype=Object.create(ct);function Ct(bn){["next","throw","return"].forEach(function(Mn){ie(bn,Mn,function($n){return this._invoke(Mn,$n)})})}function Ut(bn,Mn){function $n(cn,Un,Xt,In){var ln=pe(bn[cn],bn,Un);if(ln.type!=="throw"){var gn=ln.arg,_r=gn.value;return _r&&typeof _r=="object"&&W.call(_r,"__await")?Mn.resolve(_r.__await).then(function(Fr){$n("next",Fr,Xt,In)},function(Fr){$n("throw",Fr,Xt,In)}):Mn.resolve(_r).then(function(Fr){gn.value=Fr,Xt(gn)},function(Fr){return $n("throw",Fr,Xt,In)})}In(ln.arg)}var Dt;this._invoke=function(cn,Un){function Xt(){return new Mn(function(In,ln){$n(cn,Un,In,ln)})}return Dt=Dt?Dt.then(Xt,Xt):Xt()}}function Vt(bn,Mn){var $n=bn.iterator[Mn.method];if($n===void 0){if(Mn.delegate=null,Mn.method==="throw"){if(bn.iterator.return&&(Mn.method="return",Mn.arg=void 0,Vt(bn,Mn),Mn.method==="throw"))return Oe;Mn.method="throw",Mn.arg=new TypeError("The iterator does not provide a 'throw' method")}return Oe}var Dt=pe($n,bn.iterator,Mn.arg);if(Dt.type==="throw")return Mn.method="throw",Mn.arg=Dt.arg,Mn.delegate=null,Oe;var cn=Dt.arg;return cn?cn.done?(Mn[bn.resultName]=cn.value,Mn.next=bn.nextLoc,Mn.method!=="return"&&(Mn.method="next",Mn.arg=void 0),Mn.delegate=null,Oe):cn:(Mn.method="throw",Mn.arg=new TypeError("iterator result is not an object"),Mn.delegate=null,Oe)}function Wn(bn){var Mn={tryLoc:bn[0]};1 in bn&&(Mn.catchLoc=bn[1]),2 in bn&&(Mn.finallyLoc=bn[2],Mn.afterLoc=bn[3]),this.tryEntries.push(Mn)}function sn(bn){var Mn=bn.completion||{};Mn.type="normal",delete Mn.arg,bn.completion=Mn}function rr(bn){this.tryEntries=[{tryLoc:"root"}],bn.forEach(Wn,this),this.reset(!0)}function Hn(bn){if(bn){var Mn=bn[X];if(Mn)return Mn.call(bn);if(typeof bn.next=="function")return bn;if(!isNaN(bn.length)){var $n=-1,Dt=function cn(){for(;++$n<bn.length;)if(W.call(bn,$n))return cn.value=bn[$n],cn.done=!1,cn;return cn.value=void 0,cn.done=!0,cn};return Dt.next=Dt}}return{next:xr}}function xr(){return{value:void 0,done:!0}}return Je.prototype=yt,ie(Mt,"constructor",yt),ie(yt,"constructor",Je),Je.displayName=ie(yt,ue,"GeneratorFunction"),S.isGeneratorFunction=function(bn){var Mn=typeof bn=="function"&&bn.constructor;return!!Mn&&(Mn===Je||(Mn.displayName||Mn.name)==="GeneratorFunction")},S.mark=function(bn){return Object.setPrototypeOf?Object.setPrototypeOf(bn,yt):(bn.__proto__=yt,ie(bn,ue,"GeneratorFunction")),bn.prototype=Object.create(Mt),bn},S.awrap=function(bn){return{__await:bn}},Ct(Ut.prototype),ie(Ut.prototype,J,function(){return this}),S.AsyncIterator=Ut,S.async=function(bn,Mn,$n,Dt,cn){cn===void 0&&(cn=Promise);var Un=new Ut(Ae(bn,Mn,$n,Dt),cn);return S.isGeneratorFunction(Mn)?Un:Un.next().then(function(Xt){return Xt.done?Xt.value:Un.next()})},Ct(Mt),ie(Mt,ue,"Generator"),ie(Mt,X,function(){return this}),ie(Mt,"toString",function(){return"[object Generator]"}),S.keys=function(bn){var Mn=[];for(var $n in bn)Mn.push($n);return Mn.reverse(),function Dt(){for(;Mn.length;){var cn=Mn.pop();if(cn in bn)return Dt.value=cn,Dt.done=!1,Dt}return Dt.done=!0,Dt}},S.values=Hn,rr.prototype={constructor:rr,reset:function(bn){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(sn),!bn)for(var Mn in this)Mn.charAt(0)==="t"&&W.call(this,Mn)&&!isNaN(+Mn.slice(1))&&(this[Mn]=void 0)},stop:function(){this.done=!0;var bn=this.tryEntries[0].completion;if(bn.type==="throw")throw bn.arg;return this.rval},dispatchException:function(bn){if(this.done)throw bn;var Mn=this;function $n(ln,gn){return Un.type="throw",Un.arg=bn,Mn.next=ln,gn&&(Mn.method="next",Mn.arg=void 0),!!gn}for(var Dt=this.tryEntries.length-1;Dt>=0;--Dt){var cn=this.tryEntries[Dt],Un=cn.completion;if(cn.tryLoc==="root")return $n("end");if(cn.tryLoc<=this.prev){var Xt=W.call(cn,"catchLoc"),In=W.call(cn,"finallyLoc");if(Xt&&In){if(this.prev<cn.catchLoc)return $n(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return $n(cn.finallyLoc)}else if(Xt){if(this.prev<cn.catchLoc)return $n(cn.catchLoc,!0)}else{if(!In)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return $n(cn.finallyLoc)}}}},abrupt:function(bn,Mn){for(var $n=this.tryEntries.length-1;$n>=0;--$n){var Dt=this.tryEntries[$n];if(Dt.tryLoc<=this.prev&&W.call(Dt,"finallyLoc")&&this.prev<Dt.finallyLoc){var cn=Dt;break}}cn&&(bn==="break"||bn==="continue")&&cn.tryLoc<=Mn&&Mn<=cn.finallyLoc&&(cn=null);var Un=cn?cn.completion:{};return Un.type=bn,Un.arg=Mn,cn?(this.method="next",this.next=cn.finallyLoc,Oe):this.complete(Un)},complete:function(bn,Mn){if(bn.type==="throw")throw bn.arg;return bn.type==="break"||bn.type==="continue"?this.next=bn.arg:bn.type==="return"?(this.rval=this.arg=bn.arg,this.method="return",this.next="end"):bn.type==="normal"&&Mn&&(this.next=Mn),Oe},finish:function(bn){for(var Mn=this.tryEntries.length-1;Mn>=0;--Mn){var $n=this.tryEntries[Mn];if($n.finallyLoc===bn)return this.complete($n.completion,$n.afterLoc),sn($n),Oe}},catch:function(bn){for(var Mn=this.tryEntries.length-1;Mn>=0;--Mn){var $n=this.tryEntries[Mn];if($n.tryLoc===bn){var Dt=$n.completion;if(Dt.type==="throw"){var cn=Dt.arg;sn($n)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function(bn,Mn,$n){return this.delegate={iterator:Hn(bn),resultName:Mn,nextLoc:$n},this.method==="next"&&(this.arg=void 0),Oe}},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 wi(S,R,W,H,X,J,ue){try{var ie=S[J](ue),Ae=ie.value}catch(pe){return void W(pe)}ie.done?R(Ae):Promise.resolve(Ae).then(H,X)}function co(S){return function(){var R=this,W=arguments;return new Promise(function(H,X){var J=S.apply(R,W);function ue(Ae){wi(J,H,X,ue,ie,"next",Ae)}function ie(Ae){wi(J,H,X,ue,ie,"throw",Ae)}ue(void 0)})}}function po(S,R){if(!(S instanceof R))throw new TypeError("Cannot call a class as a function")}function No(S,R){for(var W=0;W<R.length;W++){var H=R[W];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(S,H.key,H)}}function So(S,R,W){return R&&No(S.prototype,R),W&&No(S,W),Object.defineProperty(S,"prototype",{writable:!1}),S}function Fo(S,R){return function(W){if(Array.isArray(W))return W}(S)||function(W,H){var X=W==null?null:typeof Symbol!="undefined"&&W[Symbol.iterator]||W["@@iterator"];if(X!=null){var J,ue,ie=[],Ae=!0,pe=!1;try{for(X=X.call(W);!(Ae=(J=X.next()).done)&&(ie.push(J.value),!H||ie.length!==H);Ae=!0);}catch(Oe){pe=!0,ue=Oe}finally{try{Ae||X.return==null||X.return()}finally{if(pe)throw ue}}return ie}}(S,R)||Do(S,R)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Do(S,R){if(S){if(typeof S=="string")return wo(S,R);var W=Object.prototype.toString.call(S).slice(8,-1);return W==="Object"&&S.constructor&&(W=S.constructor.name),W==="Map"||W==="Set"?Array.from(S):W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W)?wo(S,R):void 0}}function wo(S,R){(R==null||R>S.length)&&(R=S.length);for(var W=0,H=new Array(R);W<R;W++)H[W]=S[W];return H}function Ho(S,R){var W=typeof Symbol!="undefined"&&S[Symbol.iterator]||S["@@iterator"];if(!W){if(Array.isArray(S)||(W=Do(S))||R&&S&&typeof S.length=="number"){W&&(S=W);var H=0,X=function(){};return{s:X,n:function(){return H>=S.length?{done:!0}:{done:!1,value:S[H++]}},e:function(Ae){throw Ae},f:X}}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,ie=!1;return{s:function(){W=W.call(S)},n:function(){var Ae=W.next();return ue=Ae.done,Ae},e:function(Ae){ie=!0,J=Ae},f:function(){try{ue||W.return==null||W.return()}finally{if(ie)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;W<S.length;W++)S[W]!==S[W-1]&&R.push(S[W]);return R}function go(S,R){var W=0,H=[],X=[];return S&&function(){var J,ue=(S+="").split(""),ie=0;for(ie=0;ie<ue.length;ie++)J=ue[ie],/(?:[\u3400-\u4DB5\u4E00-\u9FEA\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0])/.test(J)?new Array(10).fill(1).forEach(function(){(W===R||W===2*R||W===3*R)&&H.push(ie),W+=1}):new Array(5).fill(1).forEach(function(){(W===R||W===2*R||W===3*R)&&H.push(ie),W+=1});ie===S.length&&(W<R||!H.length||W>R&&W<2*R||W>R&&W<3*R)&&H.push(S.length);var Ae=H.length;Ae===1?X.push({text:S,x:0,y:0}):Ae===2?H.forEach(function(pe,Oe){Oe===0?X.push({text:S.substring(0,pe),x:0,y:-7}):X.push({text:S.substring(H[0],pe),x:0,y:7})}):H.forEach(function(pe,Oe){Oe===0?X.push({text:S.substring(0,pe),x:0,y:-12}):Oe===1?X.push({text:S.substring(H[0],pe+1),x:0,y:4}):S.length>pe?(()=>{var je=X.reduce((Je,yt)=>Je+yt.text.length,0);X.push({text:S.substring(je,je+2)+(S.length-(je+2)>0?"...":""),x:0,y:16})})():X.push({text:S.substring(H[1]+1,pe),x:0,y:16})})}(),X}Si.prototype;var Ni=["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 Ni.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,X){var J=X.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"?it(".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,X){it(".node-circle--text-".concat(W.id)).append("tspan").style("cursor","pointer").attr("class",function(J){return"node-circle--tspan-".concat(J.id,"-").concat(X)}).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]:{},X=H._ops,J=it("body"),ue=[];if(R&&X.isShowBatchOperation)return W.push(S.id),it("".concat(X.containerName)).style("background","#5e5e5e"),W.forEach(function(je){ue.push(J.select("".concat(X.containerName," .node-circle-").concat(je)).attr("color"))}),J.selectAll("".concat(X.containerName," .node-circle")).attr("fill","#3c3b3b"),W.forEach(function(je,Je){J.select("".concat(X.containerName," .node-circle-").concat(je)).attr("fill",ue[Je])}),void it(".graph-bath").style("display","block");if(X.isShowMask){var ie=[],Ae=[];X.links.map(function(je){je.source.id==S.id&&(ie.push(je.target.id),Ae.push(je.source.id+je.target.id)),je.target.id==S.id&&(ie.push(je.source.id),Ae.push(je.source.id+je.target.id))});var pe=Uo(ie),Oe=Uo(Ae);pe.push(S.id),J.selectAll("".concat(X.containerName," .line-item")).style("display","none"),it("".concat(X.containerName)).style("background","#5e5e5e"),pe.forEach(function(je){ue.push(J.select("".concat(X.containerName," .node-circle-").concat(je)).attr("color"))}),J.selectAll("".concat(X.containerName," .node-circle")).attr("fill","#3c3b3b"),pe.forEach(function(je,Je){J.select("".concat(X.containerName," .node-circle-").concat(je)).attr("fill",ue[Je])}),Oe.forEach(function(je){J.selectAll("".concat(X.containerName," .line-item-").concat(je)).style("display",function(Je){return Je.hide?"none":"block"})})}}var to=[],Mo={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,X){var J;return bi().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return J=H._ops,ue.delegateYield(bi().mark(function ie(){var Ae,pe,Oe,je,Je,yt,ct,nt,st,Mt,Ct,Ut,Vt,Wn,sn,rr,Hn,xr,bn,Mn,$n,Dt,cn,Un,Xt,In,ln,gn,_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(!(Ae<W.length)){dr.next=17;break}pe=0;case 6:if(!(pe<J.nodes.length)){dr.next=13;break}if(J.nodes[pe].id!=W[Ae]){dr.next=10;break}return J.nodes.splice(pe,1),dr.abrupt("break",13);case 10:pe++,dr.next=6;break;case 13:for(Oe=0;Oe<J.links.length;Oe++)J.links[Oe].source.id!=W[Ae]&&J.links[Oe].target.id!=W[Ae]||(J.links.splice(Oe,1),Oe--);case 14:Ae++,dr.next=4;break;case 17:return H.update(),dr.abrupt("break",100);case 19:for(je=0;je<W.length;je++){for(Je=0;Je<J.nodes.length;Je++)J.nodes[Je].id==W[je]&&(J.nodes[Je].hide=!0);for(yt=0;yt<J.links.length;yt++)J.links[yt].source.id!=W[je]&&J.links[yt].target.id!=W[je]||(J.links[yt].hide=!0)}return H.update(),dr.abrupt("break",100);case 22:for(ct=[],nt=function(aa){J.links.map(function(pa){if(pa.source.id==W[aa]){pa.hide=!0;for(var ba=!1,Or=0;Or<J.links.length;Or++)(J.links[Or].source.id==pa.target.id||J.links[Or].target.id==pa.target.id&&J.links[Or].source.id!=W[aa])&&(ba=!0);ba||ct.push(pa.target.id)}})},st=0;st<W.length;st++)nt(st);Mt=0;case 26:if(!(Mt<J.nodes.length)){dr.next=40;break}Ct=0;case 28:if(!(Ct<ct.length)){dr.next=37;break}if(J.nodes[Mt].id!=ct[Ct]){dr.next=34;break}return J.nodes[Mt].hide=!0,ct.splice(Ct,1),Ct--,dr.abrupt("break",37);case 34:Ct++,dr.next=28;break;case 37:Mt++,dr.next=26;break;case 40:return H.update(),dr.abrupt("break",100);case 42:for(Ut=[],Vt=function(aa){J.links.map(function(pa){pa.source.id==W[aa]&&(pa.hide=!1,Ut.push(pa.target.id))})},Wn=0;Wn<W.length;Wn++)Vt(Wn);sn=0;case 46:if(!(sn<J.nodes.length)){dr.next=60;break}rr=0;case 48:if(!(rr<Ut.length)){dr.next=57;break}if(J.nodes[sn].id!=Ut[rr]){dr.next=54;break}return J.nodes[sn].hide=!1,Ut.splice(rr,1),rr--,dr.abrupt("break",57);case 54:rr++,dr.next=48;break;case 57:sn++,dr.next=46;break;case 60:return H.update(),dr.abrupt("break",100);case 62:if(Hn=0,!X){dr.next=70;break}return dr.next=66,X();case 66:for((Hn=dr.sent)<=24&&(Hn=24),xr=0;xr<W.length;xr++)for(bn=0;bn<J.nodes.length;bn++)J.nodes[bn].id==W[xr]&&(J.nodes[bn].size=Hn);H.update();case 70:return dr.abrupt("break",100);case 71:if(Mn=0,!X){dr.next=78;break}return dr.next=75,X();case 75:for(Mn=dr.sent,$n=0;$n<W.length;$n++)for(Dt=0;Dt<J.nodes.length;Dt++)J.nodes[Dt].id==W[$n]&&(J.nodes[Dt].color=Mn);H.update();case 78:return dr.abrupt("break",100);case 79:if(cn="circle",!X){dr.next=86;break}return dr.next=83,X();case 83:for(cn=dr.sent,Un=0;Un<W.length;Un++)for(Xt=0;Xt<J.nodes.length;Xt++)J.nodes[Xt].id==W[Un]&&(J.nodes[Xt].shape=cn);H.update();case 86:return dr.abrupt("break",100);case 87:return In=W[0],ln=Mo.getPath(),(gn=ln.length>1?ln[1]:null)&&gi.contractionPath(gn,ln,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=Mo.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()}},ie)})(),"t0",2);case 2:it(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,X=W.links,J=[],ue=[],ie=0;ie<X.length;ie++)X[ie].source.id==S&&X[ie].target.id!=S&&(W.links[ie].hide=!1,J.push(X[ie].target.id)),X[ie].source.id!=S&&X[ie].target.id==S&&(W.links[ie].hide=!1,J.push(X[ie].source.id));if(J.length){for(var Ae=0;Ae<H.length;Ae++)for(var pe=0;pe<J.length;pe++)if(H[Ae].id==J[pe]){W.nodes[Ae].hide=!1,J.splice(pe,1),pe--;break}if(H.map(function(yt){yt.hide&&ue.push(yt.id)}),ue.length>0)for(var Oe=0;Oe<X.length;Oe++)for(var je=0;je<ue.length;je++)X[Oe].source.id!=ue[je]&&X[Oe].target.id!=ue[je]||(X[Oe].hide=!0),ue.includes(X[Oe].source.id)||ue.includes(X[Oe].target.id)||(X[Oe].hide=!1);else for(var Je=0;Je<X.length;Je++)X[Je].hide=!1}},contractionPath:function(S,R,W){for(var H=W._ops,X=H.nodes,J=H.links,ue=[],ie=[],Ae=!1,pe=0;pe<X.length;pe++)if(X[pe].id==S){Ae=!!X[pe].isExtendedState;break}if(Ae&&(J.forEach(function(ct,nt){ct.source.id==S&&gi.filterEvery(R,ct.target.id)&&(H.links[nt].hide=!0,ue.push(ct.target.id)),ct.target.id==S&&gi.filterEvery(R,ct.source.id)&&(H.links[nt].hide=!0,ue.push(ct.source.id))}),ue.length)){for(var Oe=0;Oe<X.length;Oe++)for(var je=0;je<ue.length;je++)if(X[Oe].id==ue[je]){H.nodes[Oe].hide=!0,ie.push(H.nodes[Oe].id),ue.splice(je,1),je--;break}for(var Je=0;Je<J.length;Je++)for(var yt=0;yt<ie.length;yt++)J[Je].source.id!=ie[yt]&&J[Je].target.id!=ie[yt]||(J[Je].hide=!0)}},filterEvery:function(S,R){return S.every(function(W){return W!=R})},previousStep:{id:"0",operate:"undefined"}};function To(S,R,W){var H=S.selectAll(".line-item");return(H=H.data(R,function(X){return"".concat(X.source.id,"_").concat(X.target.id)})).exit().remove(),(H=H.enter().append("g")).append("path").style("fill",function(X){return X.colorType?Yr[X.colorType-1]:X.color||"url(#lines1)"}).attr("stroke-width",function(X){return Math.sqrt(X.value)}).attr("stroke","none").style("cursor","pointer").attr("class",function(X,J){return"line-item-inner line-item-inner-".concat(J)}).on("click",function(X,J){W._ops.linkClick(J)}).on("mouseover",function(X,J){wt(S,J,"in",W)}).on("mouseout",function(X,J){wt(S,J,"out",W)}),H.attr("class",function(X){return"line-item line-item-".concat(X.source.id).concat(X.target.id)}).append("text").attr("class",function(X,J){return"line-text-item line-text-item-".concat(J)}).attr("stroke","none").style("pointer-events","none").style("text-anchor","middle").style("fill","rgba(184, 191, 204, 1)").style("font-size","10px"),S.selectAll(".line-item").style("display",function(X){return X.hide?"none":"block"}).style("opacity",function(X){return X.hide?"0":"1"}).attr("class",function(X,J){return"line-item line-item-".concat(X.source.id).concat(X.target.id," line-item-index-").concat(J," transition-opacity duration-500")}),[S.selectAll(".line-item"),S.selectAll(".line-item-inner"),S.selectAll(".line-text-item")]}function wt(S,R,W,H){W==="in"?(S.select(".line-item-inner-".concat(R.index)).style("fill",function(X){return X.colorType?Yr[X.colorType-1]:X.color||Yr[0]}),S.select(".line-item-inner-".concat(R.index)).attr("stroke-width","3"),S.select(".line-item-inner-".concat(R.index)).attr("stroke",function(X){return X.colorType?Yr[X.colorType-1]:X.color||Yr[0]}),S.select(".line-text-item-".concat(R.index)).style("fill","rgba(184, 191, 204, 1)"),S.select(".line-text-item-".concat(R.index)).style("font-size","14px")):(S.select(".line-item-inner-".concat(R.index)).style("fill",function(X){return X.colorType?Yr[X.colorType-1]:X.color||Yr[0]}),S.select(".line-item-inner-".concat(R.index)).attr("stroke-width",Math.sqrt(R.value)),S.select(".line-item-inner-".concat(R.index)).attr("stroke","none"),S.select(".line-text-item-".concat(R.index)).style("fill","rgba(184, 191, 204, 1)"),S.select(".line-text-item-".concat(R.index)).style("font-size","10px"))}function Nr(S){var R=arguments.length>1&&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"),it("".concat(R._ops.containerName)).on("mousemove",function(W){qr(W,R)})}function qr(S,R){var W,H,X,J=(W=R._linkContainer._groups[0][0].parentNode.attributes.transform,{translate:(X=(H=W)&&/translate/.test(H.value)&&/scale/.test(H.value)&&H.value.match(/translate\(([^\)]+)\)\s?scale\(([^\)]+)/))&&X[1].split(",")||[0,0],scale:X&&X[2]||1}),ue=J.translate,ie=J.scale;R._linkContainer.selectAll(".connect-item-inner").attr("d",function(){return"M".concat(yo.x,", ").concat(yo.y," L").concat(S.offsetX/ie-ue[0]/ie,", ").concat(S.offsetY/ie-ue[1]/ie)})}function zr(S){return Array.isArray(S[0])?{message:"success",done:function(R){for(var W=0;W<S.length;W++){var H={hide:!1,label:S[W][2]?S[W][2].name:"",source:S[W][0][R._ops.benchmark],target:S[W][1][R._ops.benchmark],props:S[W][3]?S[W][3].name:[],sourceRadius:32,targetRadius:32,value:1,sh:1,relation:1};R._ops.links.push(H)}Ra(R),R.update()}}:{message:"error",done:Ra}}function Ra(S){it("".concat(S._ops.containerName)).on("mousemove",null),S._linkContainer.selectAll(".connect-item-inner").attr("d",null)}function Ca(S){var R=arguments.length>1&&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,X=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,ie){ue._level=H,ue._value=H==1?ie+1:ie+1+(W-1)*S.length,ue._parent=H==2?1:X,ue._site=H!=1||J?R:ie<S.length/2?"right":"left",ue.children&&ue.children.length&&Ca(ue.children,ue._site,ue._value,H+1,S.length)}),S}var Da,ja,ti,ci=!1,hi=[],Ri=!1,ni=[],no=["arc-item","pie-item","pie-icon","operation-item","node-circle"],ro=function(){function S(R){var W=this;po(this,S),this._example=R,this._operationContainer=R.operationContainer,this._operationContainer.addElement(this.initPie,this),this.containerSize=0,it(this._example._ops.containerName).on("click",function(H){if(!(H.target.classList&&H.target.classList[0]&&no.includes(H.target.classList[0]))&&W._example._ops.isCustomClick){var X=W;Da=null,de(W._operationContainer),it(X._example._ops.containerName).selectAll(".node-circle").attr("fill",function(J){return J.colorType?Oo[J.colorType-1]:J.color||"url(#radialGradient-1)"}),it(X._example._ops.containerName).selectAll(".line-item").style("display",function(J){return J.hide?"none":"block"}),it(W._example._ops.containerName).style("background",W._example._ops.background),it(".graph-bath").style("display","none"),hi=[]}}),document.addEventListener("keyup",function(H){H.keyCode==27&&Ri&&(it("".concat(W._example._ops.containerName)).on("mousemove",null),it(".graph-container").on("mousemove",null),W._example._linkContainer.selectAll(".connect-item-inner").attr("d",null),ni.length=0)})}return So(S,[{key:"initPie",value:function(R,W){W._toolbarData=Ca(W._example._ops.toolbarData),W._symbolIcon=R.append("g").attr("class","icons")}},{key:"showPie",value:function(R,W){if(R){var H=this._example._ops;if(this.containerSize=function(J){var ue=32;switch(J){case 1:ue=26;break;case 2:default:ue=32;break;case 3:ue=38}return ue}(R.size)+8,Ri)(function(J,ue){ke.apply(this,arguments)})(R,this._example);else if(zo(R,W.shiftKey,hi,this._example),this._toolbarData.length&&(de(this._operationContainer),!W.shiftKey&&!hi.length))if(Da!=W.target.id){Da=W.target.id,this._operationContainer.attr("transform",function(){return"translate("+R.x+" "+R.y+")"}).attr("data-node",JSON.stringify(R)).style("display","block");var X={code:"root",name:"\u6839",_level:0,_parent:1,_value:1,children:this._toolbarData};ci=!0,ja=R,this._operationContainer.selectAll(".operation-item-root")._groups[0].length?this.drawPie("".concat(H.containerName," .operation-item-root"),X):this.createArc(X)}else Da=null}else de(this._operationContainer)}},{key:"createArc",value:function(R){var W=this._example._ops,H=this,X=this._operationContainer.selectAll("".concat(W.containerName," .operation-item-").concat(R.code)).data(R.children).enter().append("a").style("color",W.arcColor).attr("class","operation-item-".concat(R.code," arc-item"));this._symbolIcon.selectAll(".icons-symbol").data(R.children).enter().append("symbol").attr("class",function(J,ue){return"icons-symbol-".concat(J.code).concat(ue)}).attr("id",function(J,ue){return"icons-symbol-".concat(J.code).concat(ue)}).append("path").attr("class","icon").attr("d",function(J){return J.icon}),X.append("path").attr("fill",W.pieFill).attr("class","pie-item").on("mouseover",function(J){J.target.setAttribute("fill",W.activePieFill)}).on("mouseout",function(J){J.target.setAttribute("fill",W.pieFill)}).on("click",function(J,ue){if(!ue.click&&ue.children&&ue.code&&(H._operationContainer.selectAll("".concat(W.containerName," .operation-item-").concat(ue.code))._groups[0].length?H.drawPie("".concat(W.containerName," .operation-item-").concat(ue.code),ue):H.createArc(ue)),ue.click){if(!(ue.click({verify:!0})instanceof Promise))throw de(H._operationContainer),new Error("the click function does not return a promise");ti=ue,function(ie,Ae,pe){Le.apply(this,arguments)}(ue,ja,H)}}).append("title").text(function(J){return J.name}),X.append("svg").attr("class","pie-icon").style("display","none").attr("width",18).attr("height",18).attr("viewBox","0 0 1024 1024").append("use").attr("xlink:href",function(J,ue){return"#icons-symbol-".concat(J.code).concat(ue)}).style("pointer-events","none"),this.drawPie("".concat(W.containerName," .operation-item-").concat(R.code),R)}},{key:"drawPie",value:function(R,W){var H=this;if(!this._operationContainer.selectAll("".concat(R," .pie-item")).attr("d")){var X=document.querySelectorAll("".concat(R," .pie-icon"));this._operationContainer.selectAll(".arc-item").style("color",H._example._ops.arcColor),this._operationContainer.selectAll("".concat(R," .pie-item")).attr("fill",H._example._ops.pieFill).transition().duration(500).attrTween("d",function(J,ue){var ie=function(pe,Oe,je){var Je=[];if(Oe._site=="order"){var yt=pe._num||1,ct=so()(new Array(pe.children.length*yt).fill(1));return Oe._num=ct.length,Je=ot(ct,ct.length/pe._num)[pe._value-1],pe._level==0&&(Je=ct),Je}var nt,st=0,Mt=[];pe._level==0?(st=pe.children.length,nt=so()(new Array(st).fill(1)).map(function(Ut,Vt){if(Vt>=st/2){var Wn=Ut.startAngle;Ut.startAngle=Ut.endAngle,Ut.endAngle=Wn}return Ut})):(st=pe._level==1?pe.children.length*je._toolbarData.length:pe.children.length*pe._num,nt=so()(new Array(st).fill(1)).map(function(Ut){if(pe._site=="left"){var Vt=Ut.startAngle;Ut.startAngle=Ut.endAngle,Ut.endAngle=Vt}return Ut})),Oe._num=nt.length;var Ct=pe._value;return Oe._site=="left"?(Mt=nt.slice(nt.length/2,nt.length),Ct=pe._value-pe._num/2):Mt=nt.slice(0,nt.length/2),Je=ot(Mt,Mt.length/(pe._num/2))[Ct-1],pe._level==0&&(Je=nt),Je}(W,J,H),Ae=Cr(ie[ue].startAngle,ie[ue].endAngle);return function(pe){return ci?function(Oe,je,Je,yt,ct,nt,st,Mt){var Ct=ne(Je[st].startAngle,je(Oe),ct._level+1,ct._level+2,Mt),Ut=Ct.centroid(Je[st]);return yt[st].setAttribute("x",Ut[0]-6),yt[st].setAttribute("y",Ut[1]-6),Mt._operationContainer.selectAll("".concat(nt," .pie-icon")).transition().delay(150).styleTween("display",function(){return er("none",ci?"block":"none")}),Ct()}(pe,Ae,ie,X,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,X=arguments.length>4?arguments[4]:void 0;return Lo().innerRadius(W*X.containerSize+2).outerRadius(H*X.containerSize).padAngle(.02).startAngle(S).endAngle(R)};function Le(){return Le=co(bi().mark(function S(R,W,H){var X,J,ue;return bi().wrap(function(ie){for(;;)switch(ie.prev=ie.next){case 0:ie.t0=R.type,ie.next=ie.t0==="connect"?3:ie.t0==="unlocked"?8:33;break;case 3:return ni.length=0,Ri=!0,ni.push(W),Nr(W,H._example),ie.abrupt("break",36);case 8:J=Ho(H._example._ops.nodes),ie.prev=9,J.s();case 11:if((ue=J.n()).done){ie.next=19;break}if((X=ue.value).id!=W.id){ie.next=17;break}return X.fx=null,X.fy=null,ie.abrupt("break",19);case 17:ie.next=11;break;case 19:ie.next=24;break;case 21:ie.prev=21,ie.t1=ie.catch(9),J.e(ie.t1);case 24:return ie.prev=24,J.f(),ie.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),ie.next=32,R.click(W);case 32:return ie.abrupt("break",36);case 33:return ie.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 ie.stop()}},S,null,[[9,21,24,27]])})),Le.apply(this,arguments)}function ke(){return(ke=co(bi().mark(function S(R,W){var H,X,J;return bi().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return it(".graph-container").on("mousemove",null),Ri=!1,ni.push(R),X={node:R,connects:(H=[]).concat.apply(H,ni)},ue.next=6,ti.click(X);case 6:J=ue.sent,zr(J||[ni.splice(0)]).done(W),zo(X.connects[0],!1,[],W),ni.length=0;case 11:case"end":return ue.stop()}},S)}))).apply(this,arguments)}function ot(S,R){for(var W=[],H=0;H<S.length;)W.push(S.slice(H,H+=R));return W}function ft(S,R,W,H){var X=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;this.deflection=H;var ie=function(ln){return ln*ln},Ae=this.deflection*Math.PI/180,pe={x:Math.cos(Ae)*S,y:Math.sin(Ae)*S},Oe=S/(R+ue),je=-W*Oe/(1-Oe),Je=function(ln,gn,_r,Fr){var dr=ln.y/(ln.x-je),aa=ln.y-dr*ln.x,pa=1+ie(dr),ba=2*(dr*aa-_r),Or=ie(aa)+ie(_r)-ie(gn),Kr={x:(-ba+Fr*Math.sqrt(ie(ba)-4*pa*Or))/(2*pa)};return Kr.y=(Kr.x-je)*dr,Kr},yt=Je(pe,R+ue,W,-1),ct=-pe.x/pe.y,nt=pe.y+ie(pe.x)/pe.y,st=-(yt.x-W)/yt.y,Mt=yt.y+(yt.x-W)*yt.x/yt.y,Ct=(nt-Mt)/(st-ct),Ut=ct*Ct+nt,Vt=Math.sqrt(ie(Ct-pe.x)+ie(Ut-pe.y)),Wn=Math.atan2(pe.x-Ct,Ut-pe.y),sn=Math.atan2(yt.x-Ct,Ut-yt.y),rr=(Wn+sn)/2;this.deflection>0&&(rr+=Math.PI);var Hn=sn-Wn;this.deflection>0&&(Hn=2*Math.PI-Hn),this.shaftLength=Hn*Vt,Wn>sn&&(this.shaftLength=0),this.midShaftPoint={x:Ct+Vt*Math.sin(rr),y:Ut-Vt*Math.cos(rr)};var xr=function(ln){var gn=(ln<0?1:-1)*Math.sqrt(ie(ln)/(1+ie(ct))),_r=ct*gn;return{x:pe.x+gn,y:pe.y+_r}},bn=function(ln){var gn=(ln<0?-1:1)*Math.sqrt(ie(ln)/(1+ie(st))),_r=st*gn;return{x:yt.x+gn,y:yt.y+_r}},Mn=function(ln,gn){return{x:Ct+(Vt+gn)*Math.sin(ln),y:Ut-(Vt+gn)*Math.cos(ln)}},$n=function(ln){var gn=(ln<0?-1:1)*Math.sqrt(ie(ln)/(1+ie(1/st))),_r=gn/st;return{x:yt.x+gn,y:yt.y-_r}},Dt=function(ln){return ln.x+","+ln.y},cn=X/2,Un=J/2,Xt=pe.y>0?0:1,In=pe.y<0?0:1;this.outline=function(){if(Wn>sn)return["M",Dt(bn(-Un)),"L",Dt($n(ue)),"L",Dt(bn(Un)),"Z"].join(" ");var ln=rr-0,gn=rr+0;return["M",Dt(xr(cn)),"L",Dt(xr(-cn)),"A",Vt-cn,Vt-cn,0,0,Xt,Dt(Mn(ln,-cn)),"L",Dt(Mn(ln,cn)),"A",Vt+cn,Vt+cn,0,0,In,Dt(xr(cn)),"Z","M",Dt(Mn(gn,cn)),"L",Dt(Mn(gn,-cn)),"A",Vt-cn,Vt-cn,0,0,Xt,Dt(bn(-cn)),"L",Dt(bn(-Un)),"L",Dt($n(ue)),"L",Dt(bn(Un)),"L",Dt(bn(cn)),"A",Vt+cn,Vt+cn,0,0,In,Dt(Mn(gn,cn))].join(" ")}}function It(S,R,W){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8,X=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,ie=W*Math.PI/180,Ae=S,pe=S+ue,Oe=S+R,je=Oe*Math.tan(ie/2),Je=X/2;function yt(Ct,Ut){return Ct+","+Ut}this.shaftLength=3*je+X;var ct=function(Ct,Ut,Vt){var Wn=Ut*Math.tan(ie/2),sn=Ut/Math.cos(ie/2);return yt((Wn+Vt)*Math.sin(Ct),sn+(Wn+Vt)*Math.cos(Ct))},nt=function(){var Ct=ct(0,Oe,Je+H/2+2).split(",");return{x:Ct[0],y:Ct[1]}};this.midShaftPoint=nt();var st=function(Ct,Ut){return ct((Math.PI+ie)/2,Ct,Ut)},Mt=function(Ct,Ut){return ct(-(Math.PI+ie)/2,Ct,Ut)};this.outline=function(){var Ct=je-Je,Ut=je+Je;return["M",st(Ae,Je),"L",st(Oe,Je),"A",Ut,Ut,0,1,1,Mt(Oe,Je),"L",Mt(pe,Je),"L",Mt(pe,-J/2),"L",Mt(Ae,0),"L",Mt(pe,J/2),"L",Mt(pe,-Je),"L",Mt(Oe,-Je),"A",Ct,Ct,0,1,0,st(Oe,-Je),"L",st(Ae,-Je),"Z"].join(" ")}}function Ot(S,R,W){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,X=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,ie=ue+this.shaftLength,Ae=ue+this.length,pe=H/2,Oe=X/2;this.midShaftPoint={x:ue+this.shaftLength/2,y:0},this.outline=function(){var je=0,Je=0;return["M",ue,pe,"L",je,pe,"L",je,-pe,"L",ue,-pe,"Z","M",Je,pe,"L",ie,pe,"L",ie,Oe,"L",Ae,0,"L",ie,-Oe,"L",ie,-pe,"L",Je,-pe,"Z"].join(" ")}}function Ft(){}var zt=new Ft;function En(S,R){this.relationships=[],S.id<R.id?(this.nodeA=S,this.nodeB=R):(this.nodeA=R,this.nodeB=S)}Ft.prototype.computeGeometryForNonLoopArrows=function(S){for(var R,W=function(Je){return Je*Je},H=0,X=Array.from(S);H<X.length;H++)for(var J=(R=X[H]).nodeA.x-R.nodeB.x,ue=R.nodeA.y-R.nodeB.y,ie=(Math.atan2(ue,J)/Math.PI*180+360)%360,Ae=Math.sqrt(W(J)+W(ue)),pe=void 0,Oe=0,je=Array.from(R.relationships);Oe<je.length;Oe++)(pe=je[Oe]).naturalAngle=pe.target.id===R.nodeA.id?(ie+180)%360:ie,pe.centreDistance=Ae},Ft.prototype.shortenCaption=function(S,R){for(var W=S,H=12*W.length;;){if(R>H)return W;var X=Math.ceil((H-R)/12);return W.length-X<=0?"":W.substr(0,W.length-X)+"\u2026"}},Ft.prototype.distributeAnglesForLoopArrows=function(S,R){for(var W,H=0,X=Array.from(S);H<X.length;H++)if((W=X[H]).isLoop()){for(var J=void 0,ue=void 0,ie=[],Ae=W.nodeA,pe=void 0,Oe=0,je=Array.from(R);Oe<je.length;Oe++)(pe=je[Oe]).isLoop||(pe.source.id===Ae.id&&ie.push(pe.naturalAngle),pe.target.id===Ae.id&&ie.push(pe.naturalAngle+180));if(ie=ie.map(function(nt){return(nt+360)%360}).sort(function(nt,st){return nt-st}),ie.length>0){var Je=void 0,yt=void 0,ct={start:0,end:0};for(J=0;J<ie.length;J++)yt=ie[J],(Je=J===ie.length-1?ie[0]+360:ie[J+1])-yt>ct.end-ct.start&&(ct.start=yt,ct.end=Je);for(ue=(ct.end-ct.start)/(W.relationships.length+1),J=0;J<W.relationships.length;J++)(pe=W.relationships[J]).naturalAngle=(ct.start+(J+1)*ue-90)%360}else for(ue=360/W.relationships.length,J=0;J<W.relationships.length;J++)(pe=W.relationships[J]).naturalAngle=J*ue}},Ft.prototype.layoutRelationships=function(S){var R,W,H=function(yt){for(var ct,nt={},st=0,Mt=Array.from(yt);st<Mt.length;st++){var Ct=new En((ct=Mt[st]).source,ct.target);(Ct=nt[Ct]!=null?nt[Ct]:Ct).relationships.push(ct),nt[Ct]=Ct}return function(){var Ut=[];for(var Vt in nt){var Wn=nt[Vt];Ut.push(Wn)}return Ut}()}(S);this.computeGeometryForNonLoopArrows(H),this.distributeAnglesForLoopArrows(H,S);for(var X=0,J=Array.from(H);X<J.length;X++){W=J[X];for(var ue=0,ie=Array.from(W.relationships);ue<ie.length;ue++)delete(R=ie[ue]).arrow;for(var Ae=(W.relationships.length-1)/2,pe=W.relationships.length-1,Oe=30*pe>150?150/pe:30,je=0;je<W.relationships.length;je++){if(R=W.relationships[je],W.isLoop())R.arrow=new It(R.sourceRadius,40,30);else if(je===Ae)R.arrow=new Ot(R.sourceRadius,R.targetRadius,R.centreDistance);else{var Je=Oe*(je-Ae);W.nodeA.id!==R.source.id&&(Je*=-1),R.arrow=new ft(R.sourceRadius,R.targetRadius,R.centreDistance,Je)}R.shortCaption=this.shortenCaption(R.label,R.arrow.shaftLength)}}},Ft.prototype.layoutNodes=function(S){var R=S.width,W=S.height,H=S.layout,X=S.nodes;(function(){var J=99999999,ue=-99999999,ie=99999999,Ae=-99999999,pe=-9999999;X.forEach(function(Je){J>Je.x&&(J=Je.x),ue<Je.x&&(ue=Je.x),ie>Je.y&&(ie=Je.y),Ae<Je.y&&(Ae=Je.y),pe<Je.size&&(pe=12)});var Oe=(R-H.x-pe)/(ue-J),je=(W-H.y-pe)/(Ae-ie);X.forEach(function(Je){Je.x=(Je.x-J)*Oe+H.x/2,Je.y=(Je.y-ie)*je+H.y/2})})()},En.prototype.toString=function(){return this.nodeA.id+""+this.nodeB.id},En.prototype.isLoop=function(){return this.nodeA.id===this.nodeB.id};var an=function(){function S(R){po(this,S);var W=R.operationContainer,H=R._ops,X=H.width,J=H.height,ue=H.layout;this._root=R._ops,this._rootComponent=W,this.init(X,J,ue)}return So(S,[{key:"init",value:function(R,W,H){console.log(R,"width");var X=H.simulation?H.simulation:.01;this._simulation=xa([]).force("center",function(J,ue){var ie,Ae=1;function pe(){var Oe,je,Je=ie.length,yt=0,ct=0;for(Oe=0;Oe<Je;++Oe)yt+=(je=ie[Oe]).x,ct+=je.y;for(yt=(yt/Je-J)*Ae,ct=(ct/Je-ue)*Ae,Oe=0;Oe<Je;++Oe)(je=ie[Oe]).x-=yt,je.y-=ct}return J==null&&(J=0),ue==null&&(ue=0),pe.initialize=function(Oe){ie=Oe},pe.x=function(Oe){return arguments.length?(J=+Oe,pe):J},pe.y=function(Oe){return arguments.length?(ue=+Oe,pe):ue},pe.strength=function(Oe){return arguments.length?(Ae=+Oe,pe):Ae},pe}(R/2,W/2).strength(.03)).force("charge",function(){var J,ue,ie,Ae,pe,Oe=jr(-30),je=1,Je=1/0,yt=.81;function ct(Ct){var Ut,Vt=J.length,Wn=Wa(J,La,pn).visitAfter(st);for(Ae=Ct,Ut=0;Ut<Vt;++Ut)ue=J[Ut],Wn.visit(Mt)}function nt(){if(J){var Ct,Ut,Vt=J.length;for(pe=new Array(Vt),Ct=0;Ct<Vt;++Ct)Ut=J[Ct],pe[Ut.index]=+Oe(Ut,Ct,J)}}function st(Ct){var Ut,Vt,Wn,sn,rr,Hn=0,xr=0;if(Ct.length){for(Wn=sn=rr=0;rr<4;++rr)(Ut=Ct[rr])&&(Vt=Math.abs(Ut.value))&&(Hn+=Ut.value,xr+=Vt,Wn+=Vt*Ut.x,sn+=Vt*Ut.y);Ct.x=Wn/xr,Ct.y=sn/xr}else{(Ut=Ct).x=Ut.data.x,Ut.y=Ut.data.y;do Hn+=pe[Ut.data.index];while(Ut=Ut.next)}Ct.value=Hn}function Mt(Ct,Ut,Vt,Wn){if(!Ct.value)return!0;var sn=Ct.x-ue.x,rr=Ct.y-ue.y,Hn=Wn-Ut,xr=sn*sn+rr*rr;if(Hn*Hn/yt<xr)return xr<Je&&(sn===0&&(xr+=(sn=za(ie))*sn),rr===0&&(xr+=(rr=za(ie))*rr),xr<je&&(xr=Math.sqrt(je*xr)),ue.vx+=sn*Ct.value*Ae/xr,ue.vy+=rr*Ct.value*Ae/xr),!0;if(!(Ct.length||xr>=Je)){(Ct.data!==ue||Ct.next)&&(sn===0&&(xr+=(sn=za(ie))*sn),rr===0&&(xr+=(rr=za(ie))*rr),xr<je&&(xr=Math.sqrt(je*xr)));do Ct.data!==ue&&(Hn=pe[Ct.data.index]*Ae/xr,ue.vx+=sn*Hn,ue.vy+=rr*Hn);while(Ct=Ct.next)}}return ct.initialize=function(Ct,Ut){J=Ct,ie=Ut,nt()},ct.strength=function(Ct){return arguments.length?(Oe=typeof Ct=="function"?Ct:jr(+Ct),nt(),ct):Oe},ct.distanceMin=function(Ct){return arguments.length?(je=Ct*Ct,ct):Math.sqrt(je)},ct.distanceMax=function(Ct){return arguments.length?(Je=Ct*Ct,ct):Math.sqrt(Je)},ct.theta=function(Ct){return arguments.length?(yt=Ct*Ct,ct):Math.sqrt(yt)},ct}().strength(-350)).force("collide",function(J){var ue,ie,Ae,pe=1,Oe=1;function je(){for(var ct,nt,st,Mt,Ct,Ut,Vt,Wn=ue.length,sn=0;sn<Oe;++sn)for(nt=Wa(ue,vi,mi).visitAfter(Je),ct=0;ct<Wn;++ct)st=ue[ct],Ut=ie[st.index],Vt=Ut*Ut,Mt=st.x+st.vx,Ct=st.y+st.vy,nt.visit(rr);function rr(Hn,xr,bn,Mn,$n){var Dt=Hn.data,cn=Hn.r,Un=Ut+cn;if(!Dt)return xr>Mt+Un||Mn<Mt-Un||bn>Ct+Un||$n<Ct-Un;if(Dt.index>st.index){var Xt=Mt-Dt.x-Dt.vx,In=Ct-Dt.y-Dt.vy,ln=Xt*Xt+In*In;ln<Un*Un&&(Xt===0&&(ln+=(Xt=za(Ae))*Xt),In===0&&(ln+=(In=za(Ae))*In),ln=(Un-(ln=Math.sqrt(ln)))/ln*pe,st.vx+=(Xt*=ln)*(Un=(cn*=cn)/(Vt+cn)),st.vy+=(In*=ln)*Un,Dt.vx-=Xt*(Un=1-Un),Dt.vy-=In*Un)}}}function Je(ct){if(ct.data)return ct.r=ie[ct.data.index];for(var nt=ct.r=0;nt<4;++nt)ct[nt]&&ct[nt].r>ct.r&&(ct.r=ct[nt].r)}function yt(){if(ue){var ct,nt,st=ue.length;for(ie=new Array(st),ct=0;ct<st;++ct)nt=ue[ct],ie[nt.index]=+J(nt,ct,ue)}}return typeof J!="function"&&(J=jr(J==null?1:+J)),je.initialize=function(ct,nt){ue=ct,Ae=nt,yt()},je.iterations=function(ct){return arguments.length?(Oe=+ct,je):Oe},je.strength=function(ct){return arguments.length?(pe=+ct,je):pe},je.radius=function(ct){return arguments.length?(J=typeof ct=="function"?ct:jr(+ct),yt(),je):J},je}(40)).force("x",function(J){var ue,ie,Ae,pe=jr(.1);function Oe(Je){for(var yt,ct=0,nt=ue.length;ct<nt;++ct)(yt=ue[ct]).vx+=(Ae[ct]-yt.x)*ie[ct]*Je}function je(){if(ue){var Je,yt=ue.length;for(ie=new Array(yt),Ae=new Array(yt),Je=0;Je<yt;++Je)ie[Je]=isNaN(Ae[Je]=+J(ue[Je],Je,ue))?0:+pe(ue[Je],Je,ue)}}return typeof J!="function"&&(J=jr(J==null?0:+J)),Oe.initialize=function(Je){ue=Je,je()},Oe.strength=function(Je){return arguments.length?(pe=typeof Je=="function"?Je:jr(+Je),je(),Oe):pe},Oe.x=function(Je){return arguments.length?(J=typeof Je=="function"?Je:jr(+Je),je(),Oe):J},Oe}(R/2).strength(.01)).force("y",function(J){var ue,ie,Ae,pe=jr(.1);function Oe(Je){for(var yt,ct=0,nt=ue.length;ct<nt;++ct)(yt=ue[ct]).vy+=(Ae[ct]-yt.y)*ie[ct]*Je}function je(){if(ue){var Je,yt=ue.length;for(ie=new Array(yt),Ae=new Array(yt),Je=0;Je<yt;++Je)ie[Je]=isNaN(Ae[Je]=+J(ue[Je],Je,ue))?0:+pe(ue[Je],Je,ue)}}return typeof J!="function"&&(J=jr(J==null?0:+J)),Oe.initialize=function(Je){ue=Je,je()},Oe.strength=function(Je){return arguments.length?(pe=typeof Je=="function"?Je:jr(+Je),je(),Oe):pe},Oe.y=function(Je){return arguments.length?(J=typeof Je=="function"?Je:jr(+Je),je(),Oe):J},Oe}(W/2).strength(X))}},{key:"updateSimulation",value:function(R,W,H){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,J=H.benchmark,ue=H.height,ie=H.width,Ae=H.isResize,pe=H.layout,Oe=pe.distance?pe.distance:Math.min(ue,ie)/2-80,je=Ha(W).iterations(.05).id(function(Je){return Je[J]}).distance(function(){return W.length<=5&&Ae?100:W.length<=20&&Ae?Oe:W.length<=60?180:230});this._simulation.nodes(R).force("link",je).velocityDecay(.2).alpha(X).alphaDecay(.08),this._simulation.restart()}},{key:"addSimulationEvent",value:function(R,W,H,X){var J=this,ue=Fo(R,3),ie=ue[0],Ae=ue[1],pe=ue[2];this._simulation.on("tick",function(){return zt.layoutRelationships(X),J._root.layout.force&&zt.layoutNodes(J._root),ie.attr("transform",function(Oe){return"translate("+Oe.source.x+" "+Oe.source.y+") rotate("+(Oe.naturalAngle-180)+")"}),Ae.attr("d",function(Oe){return Oe.arrow.outline(Oe)}),pe.attr("x",function(Oe){return Oe.arrow.midShaftPoint.x}).attr("y",function(Oe){return Oe.arrow.midShaftPoint.y+13}).attr("transform",function(Oe){return Oe.naturalAngle<90||Oe.naturalAngle>270?"rotate(180 "+Oe.arrow.midShaftPoint.x+" "+Oe.arrow.midShaftPoint.y+")":null}).text(function(Oe){return Oe.shortCaption}),W.attr("cx",function(Oe){return Oe.x}).attr("cy",function(Oe){return Oe.y}).attr("x",function(Oe){return Oe.shape=="rect"?Oe.x-fo(Oe.size):Oe.x-Oe.size+6}).attr("y",function(Oe){return Oe.shape=="rect"?Oe.y-fo(Oe.size)/1.5:Oe.y-Oe.size+6}),void H.attr("x",function(Oe){return go(Oe.name,fo(Oe.size)).forEach(function(je,Je){it(".node-circle--tspan-".concat(Oe.id,"-").concat(Je)).attr("x",Oe.x).attr("y",je.y+Oe.y)}),Oe.x}).attr("y",function(Oe){return Oe.y})})}},{key:"drag",value:function(){var R=this;return function(){var W,H,X,J,ue=qt,ie=Wt,Ae=Zt,pe=rn,Oe={},je=P("start","drag","end"),Je=0,yt=0;function ct(sn){sn.on("mousedown.drag",nt).filter(pe).on("touchstart.drag",Ct).on("touchmove.drag",Ut,xt).on("touchend.drag touchcancel.drag",Vt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function nt(sn,rr){if(!J&&ue.call(this,sn,rr)){var Hn=Wn(this,ie.call(this,sn,rr),sn,rr,"mouse");Hn&&(it(sn.view).on("mousemove.drag",st,un).on("mouseup.drag",Mt,un),hn(sn.view),Jt(sn),X=!1,W=sn.clientX,H=sn.clientY,Hn("start",sn))}}function st(sn){if(Bt(sn),!X){var rr=sn.clientX-W,Hn=sn.clientY-H;X=rr*rr+Hn*Hn>yt}Oe.mouse("drag",sn)}function Mt(sn){it(sn.view).on("mousemove.drag mouseup.drag",null),Nn(sn.view,X),Bt(sn),Oe.mouse("end",sn)}function Ct(sn,rr){if(ue.call(this,sn,rr)){var Hn,xr,bn=sn.changedTouches,Mn=ie.call(this,sn,rr),$n=bn.length;for(Hn=0;Hn<$n;++Hn)(xr=Wn(this,Mn,sn,rr,bn[Hn].identifier,bn[Hn]))&&(Jt(sn),xr("start",sn,bn[Hn]))}}function Ut(sn){var rr,Hn,xr=sn.changedTouches,bn=xr.length;for(rr=0;rr<bn;++rr)(Hn=Oe[xr[rr].identifier])&&(Bt(sn),Hn("drag",sn,xr[rr]))}function Vt(sn){var rr,Hn,xr=sn.changedTouches,bn=xr.length;for(J&&clearTimeout(J),J=setTimeout(function(){J=null},500),rr=0;rr<bn;++rr)(Hn=Oe[xr[rr].identifier])&&(Jt(sn),Hn("end",sn,xr[rr]))}function Wn(sn,rr,Hn,xr,bn,Mn){var $n,Dt,cn,Un=je.copy(),Xt=Et(Mn||Hn,rr);if((cn=Ae.call(sn,new On("beforestart",{sourceEvent:Hn,target:ct,identifier:bn,active:Je,x:Xt[0],y:Xt[1],dx:0,dy:0,dispatch:Un}),xr))!=null)return $n=cn.x-Xt[0]||0,Dt=cn.y-Xt[1]||0,function In(ln,gn,_r){var Fr,dr=Xt;switch(ln){case"start":Oe[bn]=In,Fr=Je++;break;case"end":delete Oe[bn],--Je;case"drag":Xt=Et(_r||gn,rr),Fr=Je}Un.call(ln,sn,new On(ln,{sourceEvent:gn,subject:cn,target:ct,identifier:bn,active:Fr,x:Xt[0]+$n,y:Xt[1]+Dt,dx:Xt[0]-dr[0],dy:Xt[1]-dr[1],dispatch:Un}),xr)}}return ct.filter=function(sn){return arguments.length?(ue=typeof sn=="function"?sn:tn(!!sn),ct):ue},ct.container=function(sn){return arguments.length?(ie=typeof sn=="function"?sn:tn(sn),ct):ie},ct.subject=function(sn){return arguments.length?(Ae=typeof sn=="function"?sn:tn(sn),ct):Ae},ct.touchable=function(sn){return arguments.length?(pe=typeof sn=="function"?sn:tn(!!sn),ct):pe},ct.on=function(){var sn=je.on.apply(je,arguments);return sn===je?ct:sn},ct.clickDistance=function(sn){return arguments.length?(yt=(sn=+sn)*sn,ct):Math.sqrt(yt)},ct}().on("start",function(W){var H=W.subject;W.active||R._simulation.alphaTarget(.08).restart(),H.fx=H.x,H.fy=H.y}).on("drag",function(W){de(R._rootComponent),W.subject.fx=W.x,W.subject.fy=W.y,W.subject.drag=!0,R._simulation.force("center",null),R._root.nodeMove(W)}).on("end",function(W){W.active||R._simulation.alphaTarget(0)})}}]),S}();function en(S,R,W){var H=document.createElement("ul");H.className="graph-bath",R.forEach(function(X){var J=document.createElement("li");if(J.innerText=X.name,J.className="graph-bath-item",X.click){if(!(X.click()instanceof Promise))throw new Error("the click function does not return a promise");J.onclick=function(){ho(X.type,hi,W,X.click)}}else J.onclick=function(){ho(X.type,hi,W)};H.appendChild(J)}),H.style.position="fixed",H.style.top="100px",H.style.right="0",H.style.display="none",document.querySelector(W._ops.containerName).append(H)}var $t={width:1e3,height:1e3,containerName:"#graph",benchmark:"id",background:"#F7FAFC",pieFill:"#dddde1",activePieFill:"#b5b5bd",arcColor:"#000",isShowMask:!0,isResize:!1,isCustomClick:!0,isCustomMouse:!1,isShowBatchOperation:!1,clickToggle:!1,nodes:[],links:[],nodeSize:32,nodeClick:function(){},nodeMouseover:function(){},nodeMouseout:function(){},nodeMove:function(){},linkClick:function(){},zoomOptions:{minScale:.5,maxScale:1.5},linkOps:{stroke:"#999","stroke-opacity":.6},layout:{simulation:0,distance:0,force:!1,x:10,y:10},colors:["rgba(42, 134, 246, 1)","rgba(9, 179, 222, 1)","rgba(253, 141, 60, 1)","rgba(255, 71, 81, 1)","rgba(120, 152, 210, 1)","rgba(110, 184, 201, 1)","rgba(245, 174, 42, 1)","rgba(254, 126, 133, 1)"],activeColors:["rgba(42, 134, 246, .6)","rgba(9, 179, 222, .6)","rgba(253, 141, 60, .6)","rgba(255, 71, 81, .6)","rgba(120, 152, 210, .6)","rgba(110, 184, 201, .6)","rgba(245, 174, 42, .6)","rgba(254, 126, 133, .6)"],batchOperation:[{name:"\u5220\u9664",type:"remove"},{name:"\u9690\u85CF",type:"hide"},{name:"\u5C55\u5F00",type:"extend"},{name:"\u6536\u8D77",type:"contraction"},{name:"\u4FEE\u6539\u989C\u8272",type:"editColor"},{name:"\u4FEE\u6539\u5927\u5C0F",type:"editSize"},{name:"\u4FEE\u6539\u5F62\u72B6",type:"editShape"}],toolbarData:[{name:"\u5C55\u5F00",code:"extend",icon:"M512 426.666667c93.866667 0 170.666667-76.8 170.666667-170.666667 0-93.866667-76.8-170.666667-170.666667-170.666667C418.133333 85.333333 341.333333 162.133333 341.333333 256 341.333333 349.866667 418.133333 426.666667 512 426.666667zM512 170.666667c46.933333 0 85.333333 38.4 85.333333 85.333333 0 46.933333-38.4 85.333333-85.333333 85.333333-46.933333 0-85.333333-38.4-85.333333-85.333333C426.666667 209.066667 465.066667 170.666667 512 170.666667zM256 554.666667c-93.866667 0-170.666667 76.8-170.666667 170.666667 0 93.866667 76.8 170.666667 170.666667 170.666667 93.866667 0 170.666667-76.8 170.666667-170.666667C426.666667 631.466667 349.866667 554.666667 256 554.666667zM256 810.666667c-46.933333 0-85.333333-38.4-85.333333-85.333333 0-46.933333 38.4-85.333333 85.333333-85.333333 46.933333 0 85.333333 38.4 85.333333 85.333333C341.333333 772.266667 302.933333 810.666667 256 810.666667zM512 473.6c-42.666667 0-81.066667 38.4-81.066667 81.066667s38.4 81.066667 81.066667 81.066667c42.666667 0 81.066667-38.4 81.066667-81.066667S554.666667 473.6 512 473.6zM768 554.666667c-93.866667 0-170.666667 76.8-170.666667 170.666667 0 93.866667 76.8 170.666667 170.666667 170.666667 93.866667 0 170.666667-76.8 170.666667-170.666667C938.666667 631.466667 861.866667 554.666667 768 554.666667zM768 810.666667c-46.933333 0-85.333333-38.4-85.333333-85.333333 0-46.933333 38.4-85.333333 85.333333-85.333333 46.933333 0 85.333333 38.4 85.333333 85.333333C853.333333 772.266667 814.933333 810.666667 768 810.666667z",type:"extend",click:function(){return new Promise(function(S){S(!1)})}},{name:"\u9690\u85CF",code:"hide",icon:"M906.688 126.976a48 48 0 0 1 3.84 62.528l-4.736 5.376-104.96 101.952a1013.12 1013.12 0 0 1 130.24 112.128c53.952 54.336 56.512 140.352 7.68 197.76l-7.68 8.32-17.92 17.728C775.872 765.568 642.176 832 512 832c-67.584 0-136.064-17.92-205.568-53.696l-117.76 114.56a48 48 0 0 1-71.68-63.488l4.8-5.312L222.08 726.4a1015.04 1015.04 0 0 1-129.152-111.36 146.304 146.304 0 0 1-7.68-197.76l7.68-8.32 17.92-17.728C248.128 258.432 381.824 192 512 192c67.2 0 135.36 17.728 204.416 53.12l122.368-119.04a48 48 0 0 1 67.84 0.896z m-208 269.44L626.944 466.304a123.584 123.584 0 0 1-163.584 159.296l-71.872 69.952a219.584 219.584 0 0 0 307.264-299.2zM512 292.416A219.584 219.584 0 0 0 324.608 626.56l72.064-70.08a123.584 123.584 0 0 1 162.88-158.592l72-70.144A218.56 218.56 0 0 0 512 292.48z",type:"hide",click:function(){return new Promise(function(S){S(!1)})}},{name:"\u89E3\u9501",code:"unlocked",icon:"M553.55 601.87v209.1c0 21.74-17.63 39.36-39.36 39.36-21.74 0-39.36-17.62-39.36-39.36v-209.1c0-21.74 17.63-39.36 39.36-39.36 21.74 0 39.36 17.62 39.36 39.36zM929.8 497.94v412.04c0 62.06-50.48 112.54-112.54 112.54h-611.3c-62.06 0-112.54-50.48-112.54-112.54V497.94c0-62.06 50.48-112.54 112.54-112.54h5.45c0.18-134.05 31.06-235.21 91.82-300.66 27.43-29.55 60.84-51.69 99.31-65.79C435.89 6.72 473.17 0.52 513.31 0.52c78.95 0 140.72 17.26 188.82 52.76 27.18 20.06 49.94 46.2 67.64 77.69 17.86 31.77 31.11 70.05 39.39 113.76 4.04 21.35-9.99 41.94-31.34 45.98-21.35 4.05-41.94-9.98-45.98-31.34-23.91-126.28-89.27-180.16-218.53-180.16-64.75 0-116.03 19.88-152.42 59.07-46.83 50.44-70.64 133.58-70.81 247.12h527.17c62.06 0 112.55 50.48 112.55 112.54z m-78.72 0c0-18.65-15.18-33.82-33.82-33.82h-611.3c-18.65 0-33.82 15.17-33.82 33.82v412.04c0 18.65 15.18 33.82 33.82 33.82h611.3c18.65 0 33.82-15.18 33.82-33.82V497.94z",type:"unlocked",click:function(){return new Promise(function(S){S(!1)})}},{name:"\u6536\u8D77",code:"contraction",icon:"M890.2 115H133.8c-20.9 0-37.8 16.9-37.8 37.8v37.8c0 20.9 16.9 37.8 37.8 37.8h756.4c20.9 0 37.8-16.9 37.8-37.8v-37.8c0-20.9-16.9-37.8-37.8-37.8zM890.2 455.3H398.5c-20.9 0-37.8 16.9-37.8 37.8v37.8c0 20.9 16.9 37.8 37.8 37.8h491.6c20.9 0 37.8-16.9 37.8-37.8v-37.8c0.1-20.9-16.8-37.8-37.7-37.8zM890.2 795.6H133.8c-20.9 0-37.8 16.9-37.8 37.8v37.8c0 20.9 16.9 37.8 37.8 37.8h756.4c20.9 0 37.8-16.9 37.8-37.8v-37.8c0-20.9-16.9-37.8-37.8-37.8zM266.2 600.7V423.3c0-22-29.2-33.1-46.2-17.5l-97.1 88.7c-10.6 9.7-10.6 25.3 0 35l97.1 88.7c17 15.5 46.2 4.5 46.2-17.5z",type:"contraction",click:function(){return new Promise(function(S){S(!1)})}},{name:"\u5220\u9664",code:"remove",icon:"M597.333333 128h-170.666666a42.666667 42.666667 0 0 0-42.666667 42.666667v42.666666h256V170.666667a42.666667 42.666667 0 0 0-37.674667-42.368L597.333333 128z m0 298.666667a42.666667 42.666667 0 0 1 42.666667 42.666666v256a42.666667 42.666667 0 0 1-85.333333 0v-256a42.666667 42.666667 0 0 1 42.666666-42.666666z m-170.666666 0a42.666667 42.666667 0 0 1 42.666666 42.666666v256a42.666667 42.666667 0 0 1-85.333333 0v-256a42.666667 42.666667 0 0 1 42.666667-42.666666z m341.333333-128H256v554.666666a42.666667 42.666667 0 0 0 37.674667 42.368L298.666667 896h426.666666a42.666667 42.666667 0 0 0 42.666667-42.666667V298.666667z m-170.666667-256a128 128 0 0 1 128 128v42.666666h170.666667a42.666667 42.666667 0 0 1 42.368 37.674667L938.666667 256a42.666667 42.666667 0 0 1-42.666667 42.666667h-42.666667v554.666666a128 128 0 0 1-120.490666 127.786667L725.333333 981.333333H298.666667a128 128 0 0 1-128-128V298.666667H128a42.666667 42.666667 0 0 1-42.368-37.674667L85.333333 256a42.666667 42.666667 0 0 1 42.666667-42.666667h170.666667V170.666667a128 128 0 0 1 120.490666-127.786667L426.666667 42.666667h170.666666z",type:"remove",click:function(){return new Promise(function(S){S(!1)})}},{name:"\u8FDE\u7EBF",icon:"M922.00324 771.5L712.90324 892.2c-2.7 1.5-6-0.4-6-3.5V816c0-8.8-7.2-16-16-16H208.00324c-42.5 0-82.6-16.7-113-47-30.3-30.3-47-70.4-47-113s16.7-82.6 47-113c30.3-30.3 70.5-47 113-47h576c53.3 0 96.5-43.6 96-97-0.5-52.8-44.4-95-97.2-95h-519c-6.8 0-12.8 4.3-15.1 10.7-17.6 49.7-65 85.3-120.7 85.3C57.00324 384-0.49676 326.2 0.00324 255.1c0.5-71 59.4-128.3 130.4-127.1 54.7 1 101.1 36.4 118.4 85.4 2.2 6.4 8.3 10.6 15 10.6H784.00324c42.5 0 82.6 16.7 113 47 30.3 30.3 47 70.5 47 113s-16.7 82.6-47 113c-30.3 30.3-70.5 47-113 47H208.00324c-53.3 0-96.5 43.6-96 97 0.5 52.8 44.4 95 97.2 95h481.7c8.8 0 16-7.2 16-16v-72.7c0-3.1 3.3-5 6-3.5L922.00324 764.5c2.7 1.6 2.7 5.4 0 7z",code:"connect",type:"connect",click:function(){return new Promise(function(S){S(!1)})}}]},vn=`
|
|
|
<svg width="300" height="200" viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg">
|
|
|
<defs>
|
|
|
<radialGradient id="grad1" cx="64%" cy="41%" r="64%" fx="64%" fy="41%">
|
|
|
<stop offset="0%" stop-color="#ffcdca"/>
|
|
|
<stop offset="15%" stop-color="#f8a8af"/>
|
|
|
<stop offset="36%" stop-color="#f486bd"/>
|
|
|
<stop offset="64%" stop-color="#f15acb"/>
|
|
|
<stop offset="100%" stop-color="#dc48be"/>
|
|
|
</radialGradient>
|
|
|
<radialGradient cx="62.7929688%" cy="38.7660435%" fx="62.7929688%" fy="38.7660435%" r="69.6171323%" id="radialGradient-1">
|
|
|
<stop stop-color="#FF938E" offset="0%"></stop>
|
|
|
<stop stop-color="#F3629B" offset="27.7958615%"></stop>
|
|
|
<stop stop-color="#F25B98" offset="61.0231575%"></stop>
|
|
|
<stop stop-color="#D45C9F" offset="79.1889024%"></stop>
|
|
|
<stop stop-color="#FB94DC" offset="100%"></stop>
|
|
|
</radialGradient>
|
|
|
<radialGradient cx="64.4599781%" cy="41.4199561%" fx="64.4599781%" fy="41.4199561%" r="66.0105958%" gradientTransform="translate(0.644600,0.414200),scale(1.000000,0.982143),rotate(135.557584),translate(-0.644600,-0.414200)" id="radialGradient-2">
|
|
|
<stop stop-color="#9C4BFF" offset="0%"></stop>
|
|
|
<stop stop-color="#7D2FE3" offset="22.2365921%"></stop>
|
|
|
<stop stop-color="#7F29E3" offset="53.5499367%"></stop>
|
|
|
<stop stop-color="#9635DB" offset="82.281989%"></stop>
|
|
|
<stop stop-color="#C47AF8" offset="100%"></stop>
|
|
|
</radialGradient>
|
|
|
<radialGradient cx="64.4599781%" cy="41.4199561%" fx="64.4599781%" fy="41.4199561%" r="65.4353394%" id="radialGradient-3">
|
|
|
<stop stop-color="#6F99FF" offset="0%"></stop>
|
|
|
<stop stop-color="#2465E0" offset="15.3761414%"></stop>
|
|
|
<stop stop-color="#3047D6" offset="35.5277535%"></stop>
|
|
|
<stop stop-color="#3435D9" offset="79.4914212%"></stop>
|
|
|
<stop stop-color="#5D58F2" offset="100%"></stop>
|
|
|
</radialGradient>
|
|
|
<linearGradient x1="0%" y1="50.0019531%" x2="100%" y2="50%" id="lines1">
|
|
|
<stop stop-color="#F763AF" offset="0%"></stop>
|
|
|
<stop stop-color="#7328E5" offset="100%"></stop>
|
|
|
</linearGradient>
|
|
|
<linearGradient x1="-5.45107057%" y1="49.9980469%" x2="100%" y2="50.0019531%" id="linearGradient-1">
|
|
|
<stop stop-color="#862FF3" offset="0%"></stop>
|
|
|
<stop stop-color="#4531E9" offset="100%"></stop>
|
|
|
</linearGradient>
|
|
|
<linearGradient x1="-5.45107057%" y1="49.9980469%" x2="100%" y2="50.0019531%" id="linearGradient-1">
|
|
|
<stop stop-color="#862FF3" offset="0%"></stop>
|
|
|
<stop stop-color="#4531E9" offset="100%"></stop>
|
|
|
</linearGradient>
|
|
|
</defs>
|
|
|
</svg>
|
|
|
`;h.createContainer=class{constructor(S){var R=["style","innerHTML","body","absolute","append","defsvg","div","createElement","zIndex"],W=function(ie,Ae){ie=ie-0;var pe=R[ie];return pe};if(!document.getElementById("defsvg")){var H=document[W("0x7")](W("0x6"));H.id=W("0x5"),H[W("0x1")]=vn,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(ie){for(var Ae=arguments.length,pe=new Array(Ae>1?Ae-1:0),Oe=1;Oe<Ae;Oe++)pe[Oe-1]=arguments[Oe];return ie.apply(void 0,[this].concat(pe))},qe.prototype.attrs=function(ie){return function(Ae,pe){for(var Oe in pe)Ae.attr(Oe,pe[Oe]);return Ae}(this,ie)},qe.prototype.addElements=function(ie,Ae){return this.data(ie).exit().remove(),this.data(ie).enter().append(Ae)},this._ops=function(ie,Ae){var pe={};for(var Oe in ie)pe[Oe]=Ae[Oe]!=null?Ae[Oe]:ie[Oe];return pe}($t,S);const X=it(this._ops.containerName);var J,ue=this;X.node()||(J="\u627E\u4E0D\u5230\u8981\u6302\u8F7D\u7684\u8282\u70B9",console.warn("\u3010graph error\u3011:"+J)),function(ie,Ae){const{_ops:pe}=Ae,Oe=ie.append("svg").attr("viewBox",[0,0,pe.width,pe.height]).attr("class",`${pe.containerName}-graph-container`),je=Oe.append("g").attr("class","graph-box");ie.style("background",pe.background),Ae._linkContainer=je.append("g").attr("class",`${pe.containerName}-link-container`),Ae._nodeContainer=je.append("g").attr("class",`${pe.containerName}-node-container`),Ae._textContainer=je.append("g").attr("class",`${pe.containerName}-text-container`),ie.addElement(en,pe.batchOperation,Ae),Ae.operationContainer=je.append("g").attr("class",`${pe.containerName}-operation-container`),Ae._linkContainer.attrs(pe.link_ops),Ae.operationContainer.style("display","none"),function(Je,yt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:15,st=Qi().scaleExtent([ct,nt]).on("zoom",function(Mt){yt.attr("transform",Mt.transform)});ue.zoom=st,Je.call(st),yt.on("dblclick.zoom",null),Je.on("dblclick.zoom",null)}(Oe,je,pe.zoomOptions.minScale,pe.zoomOptions.maxScale)}(X,this),this._simulation=new an(this),this._pie=new ro(this),this.update()}addNode(S){(function(R,W){W._ops.nodes.push(R),W.update()})(S,this)}zoomIn(){it(this._ops.containerName).select("svg").transition().duration(750).call(this.zoom.scaleBy,1.2)}zoomOut(){it(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,X=[S.id];function J(ue,ie,Ae){Ae.forEach(pe=>{if(pe.source.id===ue){pe.hide=H;const Oe=ie.find(je=>je.id===pe.target.id);Oe&&(Oe.hide=H,X.push(Oe.id),J(Oe.id,ie,Ae))}})}setTimeout(()=>{X.forEach(ue=>{W.forEach(ie=>{(ie.source.id===ue||ie.target.id===ue)&&ie.target.id!==S.id&&(ie.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(Oe=>Oe.id===S);if(!H)return;const X=H.x,J=H.y,ue=1287,ie=596,Ae=ue/2-X,pe=ie/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 X=this._ops.nodes,J=this._ops.links,ue=this._nodeContainer.addElement(Li,X,this),ie=this._linkContainer.addElement(To,J,this),Ae=this._textContainer.addElement(Wo,X);ue.on("click",(Je,yt)=>w(this,null,function*(){this.toggleNode(yt);const ct=yield this._ops.nodeClick(yt);if(ct){const{type:nt,id:st}=ct;ho(nt,st,this)}})),this._ops.isCustomMouse&&(ue.on("mouseover",(Je,yt)=>w(this,null,function*(){yield this._ops.nodeMouseover(yt)})),ue.on("mouseout",()=>w(this,null,function*(){yield this._ops.nodeMouseout()}))),ue.on("contextmenu",(Je,yt)=>{Je.preventDefault(),this._pie.showPie(yt,Je)}),ue.call(this._simulation.drag());const pe=(W=document.querySelector(this._ops.containerName))===null||W===void 0?void 0:W.clientWidth,Oe=(H=document.querySelector(this._ops.containerName))===null||H===void 0?void 0:H.clientHeight,je=document.getElementsByClassName(`${this._ops.containerName}-graph-container`)[0];je&&pe&&Oe&&(this._ops.width=pe,this._ops.height=Oe,je.setAttribute("viewBox",`0 0 ${pe} ${Oe}`)),S?this._simulation.updateSimulation(X,J,this._ops):this._simulation.updateSimulation(X,J,this._ops,.1),this._simulation.addSimulationEvent(ie,ue,Ae,J),function(Je,yt){var ct=["object","function","undefined"];if(uo(yt)!=="object")return Je;for(var nt in yt)ct.indexOf(uo(yt[nt]))===-1&&(Je[nt]=yt[nt])}(this._ops,R),Object.getOwnPropertyNames(R).length&&this._updateBaseTheme()}_updateBaseTheme(){it(this._ops.containerName).style("background",this._ops.background)}},h.storage=Mo,Object.defineProperty(h,"__esModule",{value:!0})})},53245:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return C}});var h=w(37639),k={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},P=w(32637),_=w(59301),C=({type:p,style:m})=>{const E=_.createElement("div",{className:k.wrap,onClick:d=>{d.preventDefault(),d.stopPropagation()}},_.createElement("p",null,p==="shixun"||p==="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",p==="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:m},"\u9AD8\u6D88\u8017"))}},82549:function(Ln,gt,w){"use strict";var h=w(59301),k=w(93314),P=w(7939),_=Object.defineProperty,B=Object.defineProperties,C=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=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={}))m.call(n,a)&&d(r,a,n[a]);if(p)for(var a of p(n))E.call(n,a)&&d(r,a,n[a]);return r},o=(r,n)=>B(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);gt.Z=g},47171:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return v}});var h=w(59301),k={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},P=w(7939),_=w(70557),B=w(44054),C=w(25399),p=w(72565),m=w(17960),E=w(82549),d=w(86748),l=w(87929),o=w(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=M=>{try{A(i.next(M))}catch(L){y(L)}},x=M=>{try{A(i.throw(M))}catch(L){y(L)}},A=M=>M.done?f(M.value):Promise.resolve(M.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:M,style:L,close:O,onClose:D,hasMask:N,disabledDownload:I,onImgDimensions:U,showNodata:F,recordInfo:K})=>{const[j,G]=(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,le]=(0,h.useState)(""),[Q,ve]=(0,h.useState)(),xe=window.ENV==="build"?"/react/build":"",be=location.host.startsWith("localhost")?d.Z.PROXY_SERVER:d.Z.API_SERVER,Ue=10*(1024*1024),we=(0,h.useRef)();t!=null&&t.startsWith("/api")&&b!=="txt"&&(t=d.Z.API_SERVER+t);const Ye=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(q=>{let ae=q.split("=");ae[0]==="_educoder_session"&&le(ae[1])})},[]),(0,h.useEffect)(()=>{b==="office"&&(t.indexOf("bigfilescdn.")>-1||t.indexOf("bigfiles1")>-1?ve({url:t,fileType:Ye(t),model:t.indexOf("model=edit")?"edit":"view"}):t.indexOf("coze")>-1?ve({url:t,fileType:"doc",model:"view"}):ge())},[b,t]);function Be(We){return s(this,null,function*(){We.data.type==="pdfdata"&&(f(We.data.data),window.removeEventListener("message",Be,!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,m.gJ)({attachment_id:Ne});V.url=be+V.url,ve(V)}),He=()=>{if(t.startsWith("http")||t.startsWith("blob:")){Fe();return}(0,p.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,p.Nd)(x||"educoder",decodeURIComponent(t))};(0,h.useEffect)(()=>(window.addEventListener("message",Pe),()=>{window.removeEventListener("message",Pe)}),[]);const Pe=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:`${N&&k.bgBlack} ${b?k.wrp:"hide"}`},!!b&&O&&o.createElement("div",{id:"closePop",className:k.close,ref:we},!!U&&o.createElement(C.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>we.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:()=>we.current},o.createElement("span",{onClick:Fe},o.createElement("i",{className:"icon-quxiaozhiding"}))),i&&o.createElement(C.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>we.current},o.createElement("span",{className:"",onClick:()=>{const We=document.getElementById("pdfiframe");window.addEventListener("message",Be,!1),setTimeout(()=>{We.contentWindow.postMessage("getData","*")},300)}},o.createElement("i",{className:"icon-baocun"}))),o.createElement(C.Z,{title:"\u5173\u95ED",getPopupContainer:()=>we.current},o.createElement("span",{className:"",onClick:()=>{D()}},o.createElement("i",{className:"icon-guanbi1"})))),o.createElement("div",{className:`${k[M]} ${M} ${k.monaco} ${b==="txt"?"show":"hide"}`},b==="txt"&&o.createElement(o.Fragment,null,o.createElement(B.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=${be+(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:He,disabled:I},"\u4E0B\u8F7D")}):o.createElement(P.ZP,{type:"primary",size:"middle",onClick:He,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"})))}},1392:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return p}});var h=w(36237),k=w(60840),_={token:{colorPrimary:"#1B8565",colorInfo:"#1B8565",colorLink:"#1B8565",borderRadius:2,fontSizeLG:14},components:{Radio:{radioSize:16,dotSize:6},Modal:{titleFontSize:16,titleColor:"#000"}}},B=w(59301),p=({children:m,prefixCls:E="knowledgeGraph"})=>document.documentElement.style.fontSize!==""?B.createElement(h.StyleProvider,{transformers:[(0,h.px2remTransformer)({rootValue:1})]},B.createElement(k.ZP,{prefixCls:E,theme:_},m)):B.createElement(B.Fragment,null,m)},51164:function(Ln,gt,w){"use strict";w.d(gt,{z:function(){return A},Z:function(){return M}});var h=w(59301),k=w(76647),P=w(90823),_=w(64018),B=w(16471),C=w(86748),p=w(72565),m=w(15342),E=w(44104),d=w(7939),l=w(1012),o=w(47171),g=w(59301),n=({html:L})=>{const O=(0,h.useRef)(null),D=(0,h.useRef)(null),N=`.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=O.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=N,I.appendChild(U),()=>{I.innerHTML=""}},[]),(0,h.useEffect)(()=>{D.current&&(D.current.innerHTML=L)},[L]),g.createElement("div",{ref:O})};function a(L){const O=["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(${O.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return L.replace(D,"").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,O,D)=>O in L?u(L,O,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[O]=D,i=(L,O)=>{for(var D in O||(O={}))v.call(O,D)&&t(L,D,O[D]);if(s)for(var D of s(O))e.call(O,D)&&t(L,D,O[D]);return L};const f="@\u2581\u2581@",y="@\u2581@",b=/<pre[^>]*>/g;function x(L){let O=document.createElement("div");return O.innerHTML=L,O.childNodes.length===0?"":O.childNodes[0].nodeValue}const A=(L,O)=>{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,N=/\"(?: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 O?L.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(D,(F,K,j,G,Y,le,Q)=>{const ve=K||G||le,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+xe+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(L=L.replace(U,(F,K,j,G,Y,le,Q)=>{const ve=K||G||le,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/attachments/download/"+ve+xe+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(D,(F,K,j,G,Y,le,Q)=>{const ve=K||G||le,xe=j||Y||Q||"?";return C.Z.API_SERVER+"/api/attachments/"+ve+xe+"&t="+(0,p.Jn)(ve,Date.now())+(F.indexOf(")")>-1?")":"&")}).replace(N,(F,K,j,G,Y)=>{const le=K||G,Q=j||Y||"";return'"'+C.Z.API_SERVER+"/api/attachments/"+le+Q+le+Q+"&t="+(0,p.Jn)(le,Date.now())}).replace(I,(F,K,j,G,Y)=>{const le=K||G,Q=j||Y||"";return"("+C.Z.API_SERVER+"/files/uploads/"+le+Q+le+Q+"&t="+(0,p.Jn)(le,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 M=({value:L="",edit:O=!1,className:D,showTextOnly:N,showLines:I,style:U={},stylesPrev:F={},highlightKeywords:K,showProgramFill:j,isProgramFill:G,disabledFill:Y=!1,programFillValue:le,openEditor:Q=()=>{},onFillChange:ve=De=>{},onFillBlur:xe=()=>{},onFillFocus:be=()=>{}})=>{let De=a(String(L||""));const Ue=(0,h.useRef)(),we=(0,h.useRef)(),[Ye,Be]=(0,h.useState)(""),[ge,He]=(0,h.useState)("office"),[Fe,Pe]=(0,h.useState)([]),We=(0,h.useRef)("a"+(0,l.Z)()),Ne={},V=$e=>/<style[\s\S]*?>/i.test($e||""),q=($e,mt,Ve)=>{const Me=document.createElement($e===y?"input":"textarea");Me.style.width="100%",Me.style.height=$e===y?"40px":"151px",Me.rows=5,Me.spellcheck=!1,Me.name="edu-program-fill",Me.placeholder="\u8BF7\u8F93\u5165",Me.dataset.id=mt;const qe=Object.keys(Ne).length;return Ne[qe]=Me,`<span class="edu-program-fill-wrap ${$e===y?"":"show"}" style="width:${$e===y?"600px":"100%"}" title=${Ve||""}><span>${Me.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function ae($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),$e=$e.replace(/<embed.*?>/g,""),$e=$e.replace(/<img.*?>/g,""),$e=$e.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),$e=$e.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),$e=$e.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),$e}const te=$e=>!N&&V(De)?$e:$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(mt,Ve){let Me=Ve.replace(/(\n|\r)/g,"").split("}"),qe=[];return Me.map(it=>{it!=""&&qe.push(`.${We.current} ${it}`)}),`<style>${qe.join("}")}</style>`}),oe=(0,h.useMemo)(()=>{try{const Me=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,qe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,it=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Et=/\(\/attachments\/download\//g;De=De.replace(Et,"("+C.Z.API_SERVER+"/attachments/download/").replace(Me,"("+C.Z.API_SERVER+"/api/attachments/").replace(qe,'"'+C.Z.API_SERVER+"/api/attachments/").replace(it,'"'+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(Me){}if(j){let Me=-1;return De=De.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(qe,it,Et){var xt;return++Me,q(qe,Me,(xt=le==null?void 0:le[Me])==null?void 0:xt.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${te(De||"")}</pre>`}let $e=te(De);$e=(0,P.ZP)($e);const mt=(0,P.ez)();De.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,P.Qv)()),(0,P.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(Me,qe)=>{const{type:it,expression:Et}=mt[qe];return(0,m.renderToString)(x(Et)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,P.AL)();const Ve=document.createElement("div");if(Ve.innerHTML=$e,N)return Ve.innerText;if(K){const Me=K.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return re(Ve,Me),Ve.innerHTML}return setTimeout(()=>Qe(),500),Ve.innerHTML},[De,K]);(0,h.useEffect)(()=>{ce.current&&ce.current.querySelectorAll(["input","textarea"]).forEach(mt=>{mt.oninput=ee,mt.onblur=fe,mt.onfocus=Ce})},[Fe]),(0,h.useEffect)(()=>{var $e,mt,Ve,Me,qe;if(le!=null&&le.length)try{const it=ce.current.querySelectorAll(".edu-program-fill-score"),Et=ce.current.querySelectorAll('[name="edu-program-fill"]');for(const[xt,un]of Et.entries())un.value=(($e=le==null?void 0:le[xt])==null?void 0:$e.value)||"",((mt=le==null?void 0:le[xt])==null?void 0:mt.type)==="warning"?un.className="program-fill-warning":((Ve=le==null?void 0:le[xt])==null?void 0:Ve.type)==="success"?un.className="program-fill-success":un.className="";for(const[xt,un]of it.entries())un.innerHTML=(Me=le==null?void 0:le[xt])!=null&&Me.score?`${(qe=le==null?void 0:le[xt])==null?void 0:qe.score}\u5206`:"";Pe(le)}catch(it){console.log(it,"error")}},[le]);const ee=$e=>{Fe[$e.target.dataset.id]=Fe[$e.target.dataset.id]||{},Fe[$e.target.dataset.id].value=$e.target.value,Pe([...Fe]),ve(Fe,$e.target.dataset.id)},fe=$e=>{Fe[$e.target.dataset.id]=Fe[$e.target.dataset.id]||{},Fe[$e.target.dataset.id].value=$e.target.value,Pe([...Fe]),xe(Fe,$e.target.dataset.id)},Ce=$e=>{Fe[$e.target.dataset.id]=Fe[$e.target.dataset.id]||{},Fe[$e.target.dataset.id].value=$e.target.value,Pe([...Fe]),be(Fe,$e.target.dataset.id)};function re($e,mt){return $e.childNodes.forEach(Ve=>{var Me;if(Ve.childNodes.length>0)re(Ve,mt);else if(Ve.nodeName!=="IMG")if(Ve.innerHTML)Ve.innerHTML=(Me=Ve.innerHTML)==null?void 0:Me.replace(new RegExp(mt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const qe=document.createElement("span");qe.innerHTML=Ve.textContent.replace(new RegExp(mt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),Ve.replaceWith(qe)}})}const ce=(0,h.useRef)();P.jb.WebkitLineClamp=I,I&&(U=i(i({},U),P.jb));function lt($e){let mt=$e.target;if(mt.tagName.toUpperCase()==="A"){let Ve=mt.getAttribute("href");if(Ve.indexOf("office")>-1)$e.preventDefault(),Be(Ve),He("office");else if(Ve.indexOf("application/pdf")>-1)$e.preventDefault(),Be(Ve),He("pdf");else if(Ve.indexOf("text/html")>-1)$e.preventDefault(),Be(Ve),He("html");else if(Ve.startsWith("#")){$e.preventDefault();let Me=document.getElementById(Ve.replace("#",""));Me&&Me.scrollIntoView(!0)}}}const Qe=()=>{var $e;const mt=($e=ce.current)==null?void 0:$e.querySelectorAll("video");mt==null||mt.forEach(Ve=>{if(Ve.oncontextmenu=()=>!1,Ve.src.indexOf(".m3u8")>-1&&!Ve.canPlayType("application/vnd.apple.mpegurl")){if(B.ZP.isSupported()){var Me=new B.ZP;Me.loadSource(Ve.src),Me.attachMedia(Ve)}}})};(0,h.useEffect)(()=>{if(ce.current&&oe&&oe.match(b)&&window.PR.prettyPrint(),ce.current)return ce.current.addEventListener("click",lt),()=>{var $e;($e=ce.current)==null||$e.removeEventListener("click",lt),(0,P.AL)(),(0,P.Iy)()}},[oe,ce.current,lt]);const ht=$e=>{$e.target.nodeName==="IMG"&&$e.target.className.indexOf("draw-flowchart")>-1?(Ue.current.style.zIndex=1,Ue.current.style.display="flex",Ue.current.style.width=$e.target.clientWidth+"px",Ue.current.style.height=$e.target.clientHeight+"px",Ue.current.style.top=$e.target.offsetTop+"px",Ue.current.style.left=$e.target.offsetLeft+"px",$e.target.id&&(we.current=$e.target.id)):Ue.current.style.display="none"},pt=()=>{Ue.current.style.display="none"};return(0,h.useEffect)(()=>{var $e;const mt=Ve=>{Ve.preventDefault(),Ve.clipboardData.setData("text",window.getSelection().toString())};return($e=ce.current)==null||$e.addEventListener("copy",mt),()=>{var Ve;(Ve=ce.current)==null||Ve.removeEventListener("copy",mt)}},[ce.current]),h.createElement("div",{style:{position:"relative"},onMouseLeave:pt},N&&h.createElement("div",{ref:ce,className:`${c.mdBody} `},oe),!N&&!V(oe)&&h.createElement("div",{ref:ce,style:i({},U),onMouseOver:ht,className:`${D||""} ${Y?"disabled-fill":""} markdown-body ${c.mdBody} ${We.current}`,dangerouslySetInnerHTML:{__html:oe}}),!N&&V(oe)&&h.createElement(n,{html:oe}),h.createElement("div",{ref:Ue,className:`${c.button} ${O?"":c.previewFlowChart}`},h.createElement(E.Z,null,h.createElement(d.ZP,{onClick:()=>{O?Q(we.current):(Be(we.current),He("flowChart"))}},O?"\u7F16\u8F91":"\u9884\u89C8"))),h.createElement(o.Z,{close:!0,data:Ye,type:Ye!=null&&Ye.length?ge:"",style:i({},F),onClose:()=>Be("")}))}},86261:function(Ln,gt,w){"use strict";var h=w(59301),k=w(28284),P=w(77019),_=w(82326),B=w(37568),C=w(1560),p=w(7939),m=w(62673),E=w(25399),d=w(6767),l=w(70858),o=w(22740),g=w(66649),r=w.n(g),n=w(26724),a=w.n(n),c=w(58143),u=w(24811),s=w(4111),v=w(6738),e=w(59301),t=Object.defineProperty,i=Object.defineProperties,f=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(K,j,G)=>j in K?t(K,j,{enumerable:!0,configurable:!0,writable:!0,value:G}):K[j]=G,M=(K,j)=>{for(var G in j||(j={}))b.call(j,G)&&A(K,G,j[G]);if(y)for(var G of y(j))x.call(j,G)&&A(K,G,j[G]);return K},L=(K,j)=>i(K,f(j)),O=(K,j,G)=>new Promise((Y,le)=>{var Q=be=>{try{xe(G.next(be))}catch(De){le(De)}},ve=be=>{try{xe(G.throw(be))}catch(De){le(De)}},xe=be=>be.done?Y(be.value):Promise.resolve(be.value).then(Q,ve);xe((G=G.apply(K,j)).next())});const D=[];function N({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(B.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:(G,Y)=>Y.value.toUpperCase().indexOf(G.toUpperCase())!==-1,placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"})),e.createElement(p.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 M(M({},K),j.payload);case 4:return M(M({},K),j.payload);case 5:return L(M({},K),{page:j.payload,reload:!1});case 2:return L(M({},K),{loading:j.payload});case 1:return L(M({},K),{schools:j.payload});case 3:return L(M({},K),{selectedIds:j.payload});default:throw new Error}}const F={data:[],schools:[],loading:!1,selectedIds:[],query:null,page:1,count:0,reload:!1};gt.Z=({onSelect:K,onCancel:j,container_id:G,container_type:Y})=>{const[le,Q]=(0,h.useReducer)(U,F),{data:ve,schools:xe,loading:be,selectedIds:De,page:Ue,count:we,query:Ye,reload:Be}=le;(0,h.useEffect)(()=>{function V(){return O(this,null,function*(){const{users:q,user_count:ae}=yield(0,u.nQ)(L(M({},Ye),{page:Ue,container_type:Y,container_id:G,display_aliases:!0}));Q({type:0,payload:{data:Be?q:[...ve,...q],count:ae}})})}Ye&&V()},[Ue,Ye,Be,G,Y]),(0,h.useEffect)(()=>{function V(){return O(this,null,function*(){const{school_names:q}=yield(0,u.K$)({display_aliases:!0});Q({type:1,payload:q.map(ae=>({value:ae}))})})}V()},[]);const ge=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:(V,q)=>e.createElement(m.default,{value:q.numid,checked:De.includes(q.numid),disabled:!!V})},{title:"\u59D3\u540D",width:100,ellipsis:!0,align:"left",dataIndex:"username",render:(V,q)=>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/${q.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 He(V){Q({type:4,payload:{page:1,reload:!0,query:V}})}function Fe(V){Q({type:5,payload:V})}function Pe(V){let q=De.indexOf(V);q>=0?De.splice(q,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,G),Q({type:0,payload:{data:[],count:0,page:1,selectedIds:[],query:null,reload:!1}}))}const Ne=we>Ue*10;return e.createElement("div",{className:"select-user-container",style:{paddingBottom:20}},e.createElement(N,{onSearch:He,schools:xe}),Ye?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:be,showHeader:!1,pagination:!1,dataSource:ve,columns:ge,onRow:V=>({onClick:q=>{V.added!==1&&Pe(V.numid)}})})))),e.createElement("div",{className:"flex-container flex-end"},e.createElement(p.ZP,{type:"ghost",style:{marginRight:10,border:"1px solid #C3CFE0",color:"#464F66"},onClick:j},"\u53D6\u6D88"),e.createElement(p.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")))}},85307:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return n}});var h=w(59301),k=w(6767),P=w(75727),_=w(66220),B=w(16471),C=w(54331),p=w(56102),m=w(340),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<a.length-1;u++){let s=Math.abs(a[u+1]-a[u]);s<21&&(c+=s)}return c}const r=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;var n=(0,h.forwardRef)(({allow_skip:a,src:c,toLog:u,videoId:s,logWatchHistory:v,courseId:e=null,startTime:t,handlePause:i=()=>{},handlePlay:f=()=>{},handlePlayEnded:y=()=>{},autoPlay:b=!1,onPlayEnded:x=()=>{},isShowWaterMark:A=!0},M)=>{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",N=(0,h.useRef)(),I=(0,h.useRef)(),U=(0,h.useRef)(),F=(0,h.useRef)(),K=(0,h.useRef)(),j=(0,h.useRef)(),G=(0,h.useRef)(),Y=(0,h.useRef)(),le=(0,h.useRef)(),Q=(0,h.useRef)(),ve=(0,h.useRef)(),xe=(0,h.useRef)(),be=(0,h.useRef)(),De=(0,h.useRef)(),Ue=navigator.userAgent.toLowerCase().match(r),we=Ue?Ue[0]:"pc",Ye=(0,h.useRef)(!1),Be=(0,C.eY)();let ge=0,He=0,Fe=0,Pe=null,We=!1,Ne=20,V=1,q=!1,ae=!1,te=[];(0,h.useImperativeHandle)(M,()=>({getLastUpdatedTime:()=>N.current.currentTime,getDuration:()=>N.current.duration})),k.ZP.config({maxCount:1,getContainer:()=>U.current});const oe=(0,h.useCallback)((Qe,ht=!1)=>{let pt={point:N.current.currentTime};Pe?(pt.log_id=Pe,pt.watch_duration=g(te),pt.total_duration=He):(e?(pt.video_id=parseInt(s,10),pt.course_id=e):pt.video_id=s,pt.duration=ge,pt.device=we),ht&&(pt.ed="1");function $e(){return d(this,null,function*(){q=!0,Pe=yield v==null?void 0:v(pt),q=!1,Qe&&Qe()})}$e()},[s,e]);(0,h.useEffect)(()=>{N.current&&(F.current.style.display="none",K.current.style.display="block"),k.ZP.destroy();let Qe=null;return _.Z.isSupported&&D&&c&&(c==null?void 0:c.indexOf(".m3u8"))<0?(Qe=_.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:c,muted:!1}),N.current&&(Qe.attachMediaElement(N.current),Qe.load())):N.current.setAttribute("src",c),fe(),()=>{Qe&&(Qe.unload(),Qe.pause(),Qe.destroy(),Qe=null)}},[N,D,c]);function ee(){N.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",be.current.style.display="none",xe.current.style.display="none",N.current.muted||N.current.volume===0?ve.current.style.display="block":N.current.volume>0&&N.current.volume<=.5?be.current.style.display="block":xe.current.style.display="block"}(0,h.useEffect)(()=>{const Qe=document.getElementById("play"),ht=document.querySelectorAll(".playback-icons use");function pt(){f(),t&&!Ye.current&&(N.current.currentTime=t),Ye.current=!0,te.push(N.current.currentTime),We||(We=!0,u&&oe())}function $e(){return d(this,null,function*(){ee(),te.push(N.current.currentTime),u&&oe(()=>{Pe=null,Fe=0,We=!1,q=!1,ae=!1,te=[],He=0,V=1},!0),x()})}function mt(){j.current.value=Math.round(N.current.currentTime),G.current.value=Math.round(N.current.currentTime)}function Ve(){const tn=l(Math.round(N.current.currentTime));le.current.innerText=`${tn.hour>0?tn.hour+":":""}${tn.minutes}:${tn.seconds}`,le.current.setAttribute("datetime",`${tn.hour>0?" "+tn.hour+" ":""}${tn.minutes}m ${tn.seconds}s`)}function Me(){var tn,On,qt,Wt,Zt,rn,xn;const Dn=Math.round((tn=N.current)==null?void 0:tn.duration);(qt=(On=j.current)==null?void 0:On.setAttribute)==null||qt.call(On,"max",Dn),(Zt=(Wt=G.current)==null?void 0:Wt.setAttribute)==null||Zt.call(Wt,"max",Dn);const Pn=l(Dn);Y.current&&(Y.current.innerText=`${Pn.hour>0?Pn.hour+":":""}${Pn.minutes}:${Pn.seconds}`,(xn=(rn=Y.current).setAttribute)==null||xn.call(rn,"datetime",`${Pn.hour>0?" "+Pn.hour+" ":""}${Pn.minutes}m ${Pn.seconds}s`))}function qe(){try{const tn=Math.round(N.current.duration);j.current.setAttribute("max",tn),G.current.setAttribute("max",tn);const On=l(tn);Y.current.innerText=`${On.hour>0?On.hour+":":""}${On.minutes}:${On.seconds}`,Y.current.setAttribute("datetime",`${On.hour>0?" "+On.hour+" ":""}${On.minutes}m ${On.seconds}s`),mt(),Ve();const{width:qt,height:Wt,x:Zt,y:rn}=I.current.getBoundingClientRect();if(Zt<0||rn<0,!ae){let xn=N.current.currentTime,Dn=xn-Fe;Math.abs(Dn)<10?(He+=Math.abs(Dn),Fe=xn,q||He-V*Ne>=0&&(V++,te.push(Fe),u&&oe())):(Fe=xn,u&&oe())}}catch(tn){console.log("videoplaying:",tn)}}function it(){ae=!0}function Et(){N.current.playing&&te.push(N.current.currentTime,Fe),Fe=N.current.currentTime,ae=!1}function xt(){ge=N.current.duration,ge<=20&&(Ne=ge/3),N.current.addEventListener("play",pt)}function un(tn){tn.preventDefault(),(0,m.vp)()?(N.current.style.width="100%",N.current.style.height="100%"):N.current.style.cssText=""}function Jt(){i()}function Bt(tn){if(!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");return}const On=tn.target.dataset.seek?tn.target.dataset.seek:tn.target.value;N.current.currentTime=On,G.current.value=On,j.current.value=On}function hn(tn){const On=Math.round(tn.offsetX/tn.target.clientWidth*parseInt(tn.target.getAttribute("max"),10));j.current.setAttribute("data-seek",On);const qt=l(On);Q.current.textContent=`${qt.hour>0?qt.hour+":":""}${qt.minutes}:${qt.seconds}`;const Wt=N.current.getBoundingClientRect();Q.current.style.left=`${tn.pageX-Wt.left}px`}function Nn(tn){switch(tn.code){case"Space":tn.preventDefault(),ce();break;case"ArrowRight":if(tn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime>=N.current.duration)break;N.current.currentTime=parseInt(N.current.currentTime)+5,mt();break;case"ArrowLeft":if(tn.preventDefault(),!a){k.ZP.warning("\u8BE5\u89C6\u9891\u7981\u6B62\u5FEB\u8FDB/\u540E\u9000\u64AD\u653E");break}if(N.current.currentTime===0)break;N.current.currentTime=parseInt(N.current.currentTime)-5,mt();break;case"ArrowUp":tn.preventDefault(),N.current.volume<1&&(N.current.volume=(parseInt(N.current.volume*10)+1)/10);break;case"ArrowDown":tn.preventDefault(),N.current.volume>0&&(N.current.volume=(parseInt(N.current.volume*10)-1)/10);break}}return U.current.addEventListener((0,m.gH)(),un),N.current.addEventListener("canplay",xt),N.current.addEventListener("ended",$e),N.current.addEventListener("seeking",it),N.current.addEventListener("seeked",Et),N.current.addEventListener("loadedmetadata",Me),j.current.addEventListener("mousemove",hn),j.current.addEventListener("input",Bt),N.current.addEventListener("timeupdate",qe),N.current.addEventListener("pause",Jt),N.current.addEventListener("volumechange",fe),document.addEventListener("keydown",Nn),()=>{var tn,On,qt,Wt,Zt,rn,xn,Dn,Pn,Nt,Ht,rt;(tn=N.current)==null||tn.removeEventListener("canplay",xt),(On=N.current)==null||On.removeEventListener("play",pt),(qt=N.current)==null||qt.removeEventListener("ended",$e),(Wt=N.current)==null||Wt.removeEventListener("seeking",it),(Zt=N.current)==null||Zt.removeEventListener("seeked",Et),(rn=j.current)==null||rn.removeEventListener("mousemove",hn),(xn=j.current)==null||xn.removeEventListener("input",Bt),(Dn=N.current)==null||Dn.removeEventListener("timeupdate",qe),(Pn=N.current)==null||Pn.removeEventListener("pause",Jt),(Nt=N.current)==null||Nt.removeEventListener("loadedmetadata",Me),(Ht=N.current)==null||Ht.removeEventListener("volumechange",fe),document.removeEventListener("keydown",Nn),(rt=N.current)!=null&&rt.playing&&(te.push(Fe,N.current.currentTime),u&&oe())}},[N,c]),(0,h.useEffect)(()=>{if(N.current.onended=()=>{y(N)},N.current.oncontextmenu=()=>!1,(c==null?void 0:c.indexOf(".m3u8"))>-1){if(N.current.canPlayType("application/vnd.apple.mpegurl"))N.current.src=c;else if(B.ZP.isSupported()){var Qe=new B.ZP;Qe.loadSource(c),Qe.attachMedia(N.current)}}},[c]);const[Ce,re]=(0,h.useState)(1),ce=()=>{N.current.paused||N.current.ended?N.current.play():N.current.pause(),ee()};function lt(){N.current.muted=!N.current.muted,N.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&&Be?Be.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:N,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:le},"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:Qe=>Qe.parentNode,menu:{items:[{key:"1",label:h.createElement("span",{onClick:()=>{re(1),N.current.playbackRate=1}},"1.0x")},{key:"2",label:h.createElement("span",{onClick:()=>{re(1.5),N.current.playbackRate=1.5}},"1.5x")},{key:"3",label:h.createElement("span",{onClick:()=>{re(2),N.current.playbackRate=2}},"2.0x")}]}},h.createElement("div",{className:`${E.controlText} mr5`},"\u500D\u901F")),h.createElement(p.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:be,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,m.vp)()?(0,m.BU)():(0,m.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:G,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"})))))})},44054:function(Ln,gt,w){"use strict";w.d(gt,{SV:function(){return Ue},ZP:function(){return De}});var h=w(59301),k=w(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"]},B={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 <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].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(`
|
|
|
`)}]},p={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 m=w(53184),E=w.n(m),d=(we,Ye,Be)=>new Promise((ge,He)=>{var Fe=Ne=>{try{We(Be.next(Ne))}catch(V){He(V)}},Pe=Ne=>{try{We(Be.throw(Ne))}catch(V){He(V)}},We=Ne=>Ne.done?ge(Ne.value):Promise.resolve(Ne.value).then(Fe,Pe);We((Be=Be.apply(we,Ye)).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=(we,Ye,Be,ge)=>{const He=Ye.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Be.lineNumber,endColumn:Be.column});return Array.from(new Set(He.match(/\b\w{2,}\b/g)||[])).map(Pe=>({label:Pe,kind:we.languages.CompletionItemKind.Text,insertText:Pe,range:ge}))},g=(we,Ye,Be,ge)=>{we.languages.registerCompletionItemProvider(Ye,{provideCompletionItems(He,Fe){const Pe=He.getWordUntilPosition(Fe),We={startLineNumber:Fe.lineNumber,endLineNumber:Fe.lineNumber,startColumn:Pe.startColumn,endColumn:Pe.endColumn},Ne=He.getLineContent(Fe.lineNumber).substring(Pe.startColumn-2,Pe.endColumn);return{suggestions:[...o(we,He,Fe,We),...Be.map(q=>({label:q,kind:we.languages.CompletionItemKind.Keyword,documentation:q,insertText:q,insertTextRules:we.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:We})),...ge.map(q=>({label:q.label,kind:we.languages.CompletionItemKind.Snippet,documentation:q.content,insertText:Ne.startsWith("#")?q.content.replace(/#/,""):q.content,insertTextRules:we.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:We}))]}}})};var r=we=>{l.languages.forEach(Ye=>{we.languages.registerDocumentFormattingEditProvider(Ye,{provideDocumentFormattingEdits(Be){return d(this,null,function*(){const ge=E()(Be.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:Be.getFullModelRange(),text:ge}]})}})}),g(we,"java",_.keywords,_.quickKey),g(we,"cpp",B.keywords,B.quickKey),g(we,"c",P.keywords,[]),g(we,"python",C.keywords,C.quickKey),g(we,"scala",p.keywords,p.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=(we,Ye,Be)=>Ye in we?a(we,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Be}):we[Ye]=Be,u=(we,Ye,Be)=>c(we,typeof Ye!="symbol"?Ye+"":Ye,Be);const s=class Es{constructor(Ye,Be,ge){this.placeholder=Ye,this.editor=Be,this.monaco=ge,Be.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=w(96236),i=w(6767),f=w(25399),y=w(89392),b=w(3705),x=w(56102),A=Object.defineProperty,M=Object.defineProperties,L=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,I=(we,Ye,Be)=>Ye in we?A(we,Ye,{enumerable:!0,configurable:!0,writable:!0,value:Be}):we[Ye]=Be,U=(we,Ye)=>{for(var Be in Ye||(Ye={}))D.call(Ye,Be)&&I(we,Be,Ye[Be]);if(O)for(var Be of O(Ye))N.call(Ye,Be)&&I(we,Be,Ye[Be]);return we},F=(we,Ye)=>M(we,L(Ye)),K=(we,Ye)=>{var Be={};for(var ge in we)D.call(we,ge)&&Ye.indexOf(ge)<0&&(Be[ge]=we[ge]);if(we!=null&&O)for(var ge of O(we))Ye.indexOf(ge)<0&&N.call(we,ge)&&(Be[ge]=we[ge]);return Be},j=(we,Ye,Be)=>new Promise((ge,He)=>{var Fe=Ne=>{try{We(Be.next(Ne))}catch(V){He(V)}},Pe=Ne=>{try{We(Be.throw(Ne))}catch(V){He(V)}},We=Ne=>Ne.done?ge(Ne.value):Promise.resolve(Ne.value).then(Fe,Pe);We((Be=Be.apply(we,Ye)).next())});function G(we){return/^\d+$/.test(we)?`${we}px`:we}function Y(){}let le=!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(we=[]){let Ye=we;if(Array.isArray(we)){for(let Be=0;Be<we.length;Be++){let ge=Q[we[Be]];if(ge)return ge}return Ye[0]}return Q[Ye]||Ye}let xe=null;const be=()=>j(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(we){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",we)}});var De=we=>{var Ye=we,{width:Be="100%",height:ge="100%",value:He,language:Fe="javascript",style:Pe={},options:We={},overrideServices:Ne={},theme:V="vs-dark",onEditBlur:q,isCopy:ae=!1,onSave:te,autoHeight:oe=!1,forbidCopy:ee=!1,forbidCopyTips:fe,onChange:Ce=Y,editorDidMount:re=Y,onFocus:ce=Y,onBreakPoint:lt=Y,breakPointValue:Qe=[],filename:ht="educoder.txt",errorLine:pt,errorContent:$e="",highlightLine:mt,openBreakPoint:Ve=!1,placeholder:Me="",showMiniMap:qe=!0}=Ye,it=K(Ye,["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 Et=(0,h.useRef)(),xt=(0,h.useRef)({}),un=(0,h.useRef)(),Jt=(0,h.useRef)(),Bt=(0,h.useRef)([]),hn=(0,h.useRef)(!1),Nn=(0,h.useRef)(),tn=(0,h.useRef)(),On=(0,h.useRef)(!1),[qt,Wt]=(0,h.useState)(!1);function Zt(){let _t;return Et.current&&(_t=new k.Z(dt=>{for(let Rt of dt)(Rt.target.offsetHeight>0||Rt.target.offsetWidth>0)&&xt.current.instance.layout()}),_t.observe(Et.current)),_t}function rn(){i.ZP.warning({content:decodeURIComponent(fe||n),key:"monaco-editor-tip"})}const xn=()=>{let _t=xt.current.instance;if(He!=null&&_t&&qt){const dt=_t.getModel();dt&&He!==dt.getValue()&&(le=!0,dt.setValue(He),_t.layout(),le=!1)}};(0,h.useEffect)(()=>{const _t=b.Z.subscribe("formatDocument",dt=>{var Rt;let Gt=xt.current.instance;(Rt=Gt==null?void 0:Gt.getAction)==null||Rt.call(Gt,"editor.action.formatDocument").run()});return window.updateMonacoValue=dt=>{Ce(dt)},_t},[]),(0,h.useEffect)(()=>{var _t;let dt=xt.current.instance;Jt.current&&clearTimeout(Jt.current),Jt.current=setTimeout(()=>{xn()},500),He&&(He!=null&&He.length)&&((_t=dt==null?void 0:dt.updateOptions)==null||_t.call(dt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,qt,xt.current]),(0,h.useEffect)(()=>{if(pt&&xt.current&&xt.current.instance){let dt=xt.current.instance;dt.changeViewZones(function(Rt){var Gt=document.createElement("div");Gt.style.padding="10px 20px",Gt.style.width="calc(100% - 20px)",Gt.className="my-error-line-wrp",Gt.innerHTML=$e,Rt.addZone({afterLineNumber:pt||11,heightInLines:3,domNode:Gt})});var _t={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}};dt.addOverlayWidget(_t),dt.revealPositionInCenter({lineNumber:20,column:1})}},[pt,xt.current,qt]);const Dn=(_t="",dt)=>{if(!_t||_t.trim()==="")return!0;const Gt=xt.current.instance.getModel().getLineTokens(dt);let ze=!1;for(let Re=0;Re<2;Re++)Gt.getStandardTokenType(Re)===1&&(ze=!0);return ze};(0,h.useEffect)(()=>{var _t;const dt=(_t=xt.current)==null?void 0:_t.instance;if(dt&&qt&&ee){const Rt=dt.onDidBlurEditorWidget(()=>{On.current=!1}),Gt=dt.onDidFocusEditorText(()=>{On.current=!0});return()=>{Rt.dispose(),Gt.dispose()}}},[xt.current,qt,ee]),(0,h.useEffect)(()=>{var _t;if((_t=xt.current)!=null&&_t.instance&&qt&&Ve){let dt=xt.current.instance,Rt=dt.getModel();if(!Rt)return;(()=>{var _e;let Ee=[],Xe=[];const Se=Rt.getAllDecorations();for(let bt of Se)bt.options.className==="highlighted-line"&&(Ee.push((_e=bt==null?void 0:bt.range)==null?void 0:_e.startLineNumber),Xe.push(bt==null?void 0:bt.id));if(mt===Ee[0])return;Rt.deltaDecorations(Xe,[]);const ut=Rt.getLineCount();mt&&mt<=ut&&(dt.deltaDecorations([],[{range:new xe.Range(mt,1,mt,Rt.getLineMaxColumn(mt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),dt.revealLineInCenter(mt))})();const ze=(_e=!1)=>{var Ee;let Xe=[],Se=[];const ut=Rt.getAllDecorations();for(let bt of ut)bt.options.linesDecorationsClassName==="breakpoints-select"&&(Xe.push((Ee=bt==null?void 0:bt.range)==null?void 0:Ee.startLineNumber),Se.push(bt==null?void 0:bt.id));if(_e)return{lines:Xe,ids:Se};lt(Xe)},Re=_e=>j(void 0,null,function*(){let Ee={range:new xe.Range(_e,1,_e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Rt.deltaDecorations([],[Ee]),ze()}),ye=_e=>j(void 0,null,function*(){let Ee=[];const Xe=dt.getLineDecorations(_e);for(let Se of Xe)Se.options.linesDecorationsClassName==="breakpoints-select"&&Ee.push(Se.id);yield Rt.deltaDecorations(Ee,[]),ze()}),Te=_e=>{let Ee=dt.getLineDecorations(_e);for(let Xe of Ee)if(Xe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,y.isEqual)(Qe,ze(!0).lines)){Rt.deltaDecorations(ze(!0).ids,[]);const _e=Qe.map(Ee=>({range:new xe.Range(Ee,1,Ee,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Rt.deltaDecorations([],_e)}const Ie=dt.onDidChangeModelContent(_e=>{let Ee=dt.getPosition();if(Ee){let Xe=Ee.lineNumber;clearTimeout(tn.current),tn.current=setTimeout(()=>{Dn(Rt.getLineContent(Xe),Xe)?ye(Xe):Te(Xe)?(ye(Xe),Re(Xe)):ze()},100)}}),Ke=dt.onMouseDown(_e=>{var Ee,Xe,Se;if(_e.target.detail&&((Se=(Xe=(Ee=_e.target)==null?void 0:Ee.element)==null?void 0:Xe.className)!=null&&Se.includes("line-numbers"))){let ut=_e.target.position.lineNumber;if(Dn(Rt.getLineContent(ut),ut))return;Te(ut)?ye(ut):Re(ut)}}),he=_e=>{let Ee={range:new xe.Range(_e,1,_e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Bt.current=dt.deltaDecorations(Bt.current,[Ee])},Ze=()=>{Bt.current=dt.deltaDecorations(Bt.current,[])},tt=dt.onMouseMove(_e=>{var Ee,Xe,Se;if(Ze(),_e.target.detail&&((Se=(Xe=(Ee=_e.target)==null?void 0:Ee.element)==null?void 0:Xe.className)!=null&&Se.includes("line-numbers"))){let ut=_e.target.position.lineNumber;if(Dn(Rt.getLineContent(ut),ut))return;he(ut)}}),me=dt.onMouseLeave(()=>{Ze()});return()=>{Ie.dispose(),Ke.dispose(),tt.dispose(),me.dispose()}}},[xt.current,qt,Qe,mt,Ve,Fe]),(0,h.useEffect)(()=>{var _t;(_t=xt.current)!=null&&_t.instance&&Ve&&xt.current.instance.setPosition({lineNumber:0,column:0})},[mt]);function Pn(){let _t=xt.current.instance;if(_t){const dt=_t.getSelection(),Rt=xt.current.pastePos||{},Gt=new xe.Range(Rt.startLineNumber||dt.endLineNumber,Rt.startColumn||dt.endColumn,Rt.endLineNumber||dt.endLineNumber,Rt.endColumn||dt.endColumn);setTimeout(()=>{_t.executeEdits("",[{range:Gt,text:""}])},300)}}function Nt(_t){(window.navigator.platform.match("Mac")?_t.metaKey:_t.ctrlKey)&&_t.keyCode==83&&(_t.preventDefault(),te())}const Ht=()=>{if(oe&&xt.current.instance){const _t=xt.current.instance.getContentHeight();Ge(_t<ge?ge:_t)}else Ge(ge)};function rt(_t){var dt=document.createEvent("MouseEvents");dt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),_t.dispatchEvent(dt)}const T=_t=>{if(!On.current)return;const{keyCode:dt,ctrlKey:Rt,metaKey:Gt,target:ze,type:Re}=_t;return(Re==="paste"||(dt===67||dt===86)&&(Gt||Rt))&&ze.nodeName==="TEXTAREA"&&(rn(),_t.preventDefault()),!1};function z(_t,dt){var Rt=window.URL||window.webkitURL||window,Gt=new Blob([dt]),ze=document.createElementNS("http://www.w3.org/1999/xhtml","a");ze.href=Rt.createObjectURL(Gt),ze.download=_t,rt(ze)}(0,h.useEffect)(()=>{Ht()},[Ht]),(0,h.useEffect)(()=>{Et.current&&!qt&&Promise.all([w.e(8909),w.e(1497)]).then(w.bind(w,71448)).then(_t=>{try{xe=_t,xt.current.instance=xe.editor.create(Et.current,{value:He,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 dt=xt.current.instance;let ze=[...t.BH._menuItems].find(Ie=>Ie[0]._debugName=="EditorContext")[1],Re=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ye=(Ie,Ke)=>{var he,Ze;let tt=Ie._first;do Ke.includes((Ze=(he=tt.element)==null?void 0:he.command)==null?void 0:Ze.id)&&Ie._remove(tt);while(tt=tt.next)};if(re(dt,xe),setTimeout(()=>{Ht(),xt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{z(ht||"educoder.txt",dt.getValue())}})},500),xt.current.subscription=dt.onDidChangeModelContent(Ie=>{hn.current?clearTimeout(Nn.current):(Ht(),Ce(dt.getValue(),Ie)),Nn.current=setTimeout(()=>{hn.current=!1},500)}),window.Monaco||r(xe,ve(Fe)),ee&&(ye(ze,Re),Et.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",T),window.removeEventListener("paste",T),window.addEventListener("keydown",T),window.addEventListener("paste",T)),window.Monaco=xe,q&&dt.onDidBlurEditorWidget(()=>{q(dt.getValue())}),ce&&dt.onDidFocusEditorText(()=>{ee&&be(),ce(dt.getValue())}),ee){be();try{dt.onDidPaste(Ie=>{const Ke=dt.getSelection(),he=xt.current.pastePos||{},Ze=new xe.Range(he.startLineNumber||Ke.endLineNumber,he.startColumn||Ke.endColumn,he.endLineNumber||Ke.endLineNumber,he.endColumn||Ke.endColumn);dt.executeEdits("",[{range:Ie.range,text:""}])})}catch(Ie){}}let Te=Zt();return Me&&typeof Me=="string"&&new e(Me,dt,xe),Wt(!0),()=>{const Ie=xt.current.instance;Ie.dispose();const Ke=Ie.getModel();Ke&&Ke.dispose(),xt.current.subscription&&xt.current.subscription.dispose(),Te.unobserve(Et.current)}}catch(dt){}})},[]),(0,h.useEffect)(()=>{if(xt.current.instance&&qt)return document.addEventListener("keydown",Nt,!1),()=>{document.removeEventListener("keydown",Nt)}},[te,qt]),(0,h.useEffect)(()=>{let _t=xt.current.instance;if(_t&&qt){let dt=ve(Fe);xe.editor.setModelLanguage(_t.getModel(),dt)}},[Fe,qt]),(0,h.useEffect)(()=>{xt.current.instance&&qt&&xe.editor.setTheme(V)},[V,qt]),(0,h.useEffect)(()=>{let _t=xt.current.instance;un.current=We,_t&&qt&&(_t.updateOptions(U({},We)),setTimeout(()=>{_t.getModel().updateOptions(U({},We))},200))},[JSON.stringify(We),qt]),(0,h.useEffect)(()=>{let _t=xt.current.instance;_t&&qt&&_t.layout()},[Be,ge,qt]);const[Z,$]=(0,h.useState)(G(Be)),[se,Ge]=(0,h.useState)(G(ge)),at=F(U({},Pe),{width:Z,height:se,position:"relative"});return h.createElement("div",{className:"my-monaco-editor",ref:Et,style:at,onFocus:()=>{ee&&be()}},ae&&h.createElement(x.CopyToClipboard,{text:He,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:we="100%",height:Ye="100%",original:Be,modified:ge,language:He,options:Fe={}}){const Pe=(0,h.useRef)(),[We,Ne]=(0,h.useState)(null);function V(oe){let ee;return Pe.current&&(ee=new k.Z(fe=>{for(let Ce of fe)(Ce.target.offsetHeight>0||Ce.target.offsetWidth>0)&&oe.layout()}),ee.observe(Pe.current)),ee}(0,h.useEffect)(()=>(Pe.current&&Promise.all([w.e(8909),w.e(9404)]).then(w.bind(w,2550)).then(oe=>{xe=oe;const ee=xe.editor.createDiffEditor(Pe.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(ee);let fe=V(ee);return()=>{ee.dispose();const Ce=ee.getModel();Ce&&Ce.dispose(),fe.unobserve(Pe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,h.useEffect)(()=>{We&&We.setModel({original:xe.editor.createModel(Be,He),modified:xe.editor.createModel(ge,He)})},[Be,ge,He,We]);const q=G(we),ae=G(Ye),te={width:q,height:ae};return h.createElement("div",{className:"my-diff-editor",ref:Pe,style:te})}},71033:function(Ln,gt,w){"use strict";w.d(gt,{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=w(29787),P=w(25399),_=w(89787),B=w(92310),C=w.n(B),p=w(72565),m=w(82549),E=w(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"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];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((M,L)=>{var O,D,N,I,U,F,K,j,G,Y,le,Q,ve;const{name:xe,id:be,identifier:De,featured:Ue,school_name:we,image_url:Ye,excellent:Be,is_plan:ge}=M;return E.createElement("div",{key:be,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:He=>{He.preventDefault(),He.stopPropagation(),s&&(0,p.L9)([s]),(0,p.xg)(`/paths/${De}`)}},E.createElement("div",{className:h.img},E.createElement("img",{className:h.cover,src:`${Ye}`}),(O=M==null?void 0:M.subject_tags)==null?void 0:O.map((He,Fe)=>{var Pe,We;if(Fe===0){const V=(Pe=A.find(q=>q.name==He))==null?void 0:Pe.swimg;return E.createElement("img",{className:h.sign,src:V,style:{left:"-4px"}})}const Ne=(We=A.find(V=>V.name==He))==null?void 0:We.ptimg;return E.createElement("img",{className:h.sign,src:Ne,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"},(M==null?void 0:M.excellent)&&E.createElement("div",{className:h.bq},"\u5F00\u653E\u8BFE\u7A0B"),((D=M==null?void 0:M.custom_tags)==null?void 0:D.length)>0&&E.createElement(P.Z,{title:(U=(I=M==null?void 0:M.custom_tags)==null?void 0:I[((N=M==null?void 0:M.custom_tags)==null?void 0:N.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=M==null?void 0:M.custom_tags)==null?void 0:K[((F=M==null?void 0:M.custom_tags)==null?void 0:F.length)-1])==null?void 0:j.tag_name))))),y=="hide"&&(M==null?void 0:M.studying)&&t&&E.createElement("div",{className:`${h.movebq} user-path-items`,onClick:He=>{He.stopPropagation(),e(M)}},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:He=>{He.stopPropagation(),b(M)}},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&&(M!=null&&M.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${M==null?void 0:M.excellent_alias_name}`)):xe},E.createElement("span",{className:h.e},f&&(M==null?void 0:M.excellent_alias_name)||xe))),t&&i&&((G=M==null?void 0:M.progress)==null?void 0:G.all_score)!=0&&E.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},E.createElement(_.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Y=M==null?void 0:M.progress)==null?void 0:Y.my_score)/((le=M==null?void 0:M.progress)==null?void 0:le.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Q=M==null?void 0:M.progress)==null?void 0:Q.my_score,"/",(ve=M==null?void 0:M.progress)==null?void 0:ve.all_score),(!t||!i)&&E.createElement(P.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${we}`},E.createElement("div",{className:h.unit},E.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),we)),(!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,M.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,M.members_count)))))))})),!g.length&&E.createElement(m.Z,null)))}},4111:function(Ln,gt,w){"use strict";w.d(gt,{jL:function(){return B},w9:function(){return Q},QD:function(){return mt},cQ:function(){return I.Z},op:function(){return ce},O5:function(){return Pn},_b:function(){return xt},t7:function(){return u},Gi:function(){return we},YG:function(){return De},qp:function(){return l},vr:function(){return qe},qE:function(){return ht},Je:function(){return e},wb:function(){return N},cq:function(){return Pe},tp:function(){return r}});var h=w(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"},P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL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WD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",B=({dataSource:Nt=[],img:Ht,imgWidth:rt=346,title:T,sunTitle:z,bannerExtraContent:Z})=>h.createElement("div",{className:k.banner},h.createElement("div",{className:k.content},h.createElement("aside",null,h.createElement("p",null,h.createElement("b",null,T),h.createElement("span",null,z)),Nt.length>0&&h.createElement("div",{className:k.btns},Nt.map(($,se)=>h.createElement("div",{key:se,onClick:$.click},$.name,$.sign?h.createElement("img",{src:P,width:39}):null))),Z),Ht&&h.createElement("img",{style:{marginTop:33,marginRight:38},src:Ht,width:rt}))),C={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"},p=w(92310),m=w.n(p),E=w(89392),l=({dataSource:Nt=[],value:Ht,onChange:rt,onTitleChange:T,className:z,title:Z,titleWidth:$=41,style:se={},fontColor:Ge="#6A7283",showCount:at})=>{const[_t,dt]=(0,h.useState)(1),[Rt,Gt]=(0,h.useState)(!1),ze=(0,h.useRef)(null),Re=(0,h.useRef)(null);return(0,h.useEffect)(()=>{var ye;Nt.length!==0&&(((ye=ze==null?void 0:ze.current)==null?void 0:ye.clientHeight)>97?dt(1):dt(0)),Nt.length===0&&dt(0),Gt(!1)},[Nt]),h.createElement("div",{className:m()(C.row,z,"fadeIn","animated"),style:se},h.createElement("div",{onClick:(0,E.throttle)(()=>T==null?void 0:T(),2e3),style:{width:$,marginTop:Rt?12:4},className:`${C.title} ${T?"current":""}`},Z),h.createElement("div",{className:Rt?`${C.tagsWrap} ${C.tagsBorderWrap}`:C.tagsWrap},h.createElement("div",{className:C.bar,ref:Re,style:_t>0?{height:_t===1?97:"auto",overflow:_t===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},h.createElement("div",{className:C.tag,ref:ze},Nt==null?void 0:Nt.map(ye=>h.createElement("span",{onClick:()=>rt(ye.id),key:ye.id,style:{color:Ge},className:Ht===ye.id?C.active:""},h.createElement("span",{title:ye.name,className:C.name},ye.name),!!at&&h.createElement("span",{className:C.num},ye.count))))),!!_t&&h.createElement(h.Fragment,null,_t===1?h.createElement("div",{onClick:()=>{var ye;dt(2),((ye=ze==null?void 0:ze.current)==null?void 0:ye.clientHeight)>245?Gt(!0):Gt(!1)},className:C.action},"\u5C55\u5F00",h.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):h.createElement("div",{onClick:()=>{Re.current.scrollTop=0,dt(1),Gt(!1)},className:C.action},"\u6536\u8D77",h.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},o={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"},r=({dataSource:Nt=[],value:Ht,onChange:rt,className:T,style:z={}})=>h.createElement("div",{style:z,className:m()(o.tabs,T)},Nt.map(Z=>h.createElement("span",{onClick:()=>rt(Z.id),className:Ht===Z.id?o.active:"",key:Z.id},Z.name))),n={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"},a=w(37568),u=({dataSource:Nt=[],value:Ht="",onChange:rt,onInputChange:T=()=>{},className:z,style:Z={},placeholder:$,allowClear:se=!1})=>{var Ge;const[at,_t]=(0,h.useState)(""),[dt,Rt]=(0,h.useState)("");(0,h.useEffect)(()=>{var Re;let ye=Ht;(Re=JSON.stringify(Ht))!=null&&Re.includes("{")&&(_t(Ht.id),ye=Ht.value||"");try{Rt(decodeURIComponent(ye||""))}catch(Te){Rt(decodeURIComponent(ye||""))}},[Ht]);const Gt=()=>{rt(encodeURIComponent(dt),at||null)},ze=Re=>{Re!==at&&(_t(Re),rt(encodeURIComponent(dt),Re))};return h.createElement("div",{className:m()(n.input,z),style:Z},!!Nt.length&&h.createElement("div",{className:n.dropdown},h.createElement("div",{className:n.text},(Ge=Nt.find(Re=>Re.id===at))==null?void 0:Ge.name,h.createElement("i",{className:"iconfont icon-zhankai4"}),h.createElement("b",{className:n.b1}),h.createElement("b",{className:n.b2})),h.createElement("div",{className:n.menu},Nt.map((Re,ye)=>h.createElement("div",{key:ye,onClick:()=>ze(Re.id)},Re.name)))),h.createElement(a.default,{onPressEnter:Gt,value:dt,onChange:Re=>{Rt(Re.target.value),T(encodeURIComponent(Re.target.value),at||null)},placeholder:$,variant:"borderless",allowClear:se,onClear:()=>rt("",at||null)}),h.createElement("i",{onClick:Gt,className:"iconfont icon-sousuo9 font14 current"}))},s={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"},e=({value:Nt,onChange:Ht,className:rt,total:T,pageSize:z,style:Z={}})=>{const $=Nt<2,se=Nt>=Math.ceil(T/z);return T<=z?h.createElement(h.Fragment,null):h.createElement("div",{className:m()(s.quickPager,rt),style:Z},h.createElement("div",{onClick:()=>{$||Ht(Nt-1,"prev")},className:$?s.disabled:""},"\u4E0A\u4E00\u9875"),h.createElement("div",{onClick:()=>{se||Ht(Nt+1,"next")},className:se?s.disabled:""},"\u4E0B\u4E00\u9875"))},t={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"},i=w(29787),f=w(25399),y=w(63139),b=w(86748),x=w(72565),A=w(96908),M=w(57177),L=w(81378),O=w(82549),N=({className:Nt,dataSource:Ht=[],col:rt=4,right:T,bottom:z=23,precision:Z=0,wrapWidth:$=1200,trackEventItems:se,loading:Ge})=>{const at=Math.floor(($-(rt-1)*T)/rt);return h.createElement(i.Z,{spinning:Ge},h.createElement("div",{className:m()(t.list,Nt)},!!Ht.length&&Ht.map((_t,dt)=>{const{name:Rt,id:Gt,identifier:ze,power:Re,cover_image_id:ye,pic:Te}=_t;return h.createElement("div",{className:t.wrap,key:Gt,style:{width:at,marginRight:(1+dt)%rt===0?0:T+Z,marginBottom:z}},h.createElement("a",{target:"_blank",href:`/shixuns/${ze}/challenges`,className:t.li,onClick:Ie=>{Ie.preventDefault(),se&&(0,x.L9)([se]),Re&&(0,x.xg)(`/shixuns/${ze}/challenges`)}},h.createElement("div",{className:t.img},h.createElement("img",{className:t.cover,src:`${Te}`}),_t.is_jupyter&&h.createElement("img",{className:t.sign,src:A}),_t.is_jupyter_lab&&h.createElement("img",{className:t.sign,src:M}),_t.is_unity_3d&&h.createElement("img",{className:t.sign,src:L})),h.createElement("div",{className:t.name},h.createElement(f.Z,{title:Rt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},h.createElement("span",{className:t.e},Rt||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),h.createElement("div",{className:t.tags},h.createElement(f.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},h.createElement("span",null,h.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),h.createElement("span",null,_t.challenges_count))),!!_t.myshixuns_count&&h.createElement(f.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,_t.myshixuns_count))),h.createElement(f.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},h.createElement("span",null,h.createElement("span",null,_t.level))),h.createElement("div",{className:t.rate},h.createElement(y.Z,{allowHalf:!0,disabled:!0,defaultValue:_t.score_info}),h.createElement("span",null,"\xA0",_t.score_info?`${_t.score_info}\u5206`:"5\u5206")))),!Re&&h.createElement("div",{className:t.lockWrap},h.createElement("img",{src:`${b.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")))}),!Ht.length&&h.createElement(O.Z,null)))},I=w(71033),U={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___i6IuZ",bottom:"bottom____k2sh"},F=w(62957),K=w(96599),j="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tEx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wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",G=w(59301),Y=(Nt,Ht,rt)=>new Promise((T,z)=>{var Z=Ge=>{try{se(rt.next(Ge))}catch(at){z(at)}},$=Ge=>{try{se(rt.throw(Ge))}catch(at){z(at)}},se=Ge=>Ge.done?T(Ge.value):Promise.resolve(Ge.value).then(Z,$);se((rt=rt.apply(Nt,Ht)).next())}),Q=({className:Nt,dataSource:Ht=[],col:rt=4,right:T,bottom:z=23,precision:Z=0,wrapWidth:$=1200,trackEventItems:se,loading:Ge,category:at,hiddenClick:_t,handleVery:dt=()=>!0,isCurrent:Rt})=>{const[Gt,ze]=F.default.useModal(),Re=Math.floor(($-(rt-1)*T)/rt),ye=Te=>Y(void 0,null,function*(){Gt.confirm({title:"\u7F6E\u9876",width:500,content:G.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",G.createElement("span",{className:"c-blue"},"\u201C",Te.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return G.createElement(i.Z,{spinning:Ge},ze,G.createElement("div",{className:m()(U.list,Nt)},!!Ht.length&&Ht.map((Te,Ie)=>{const{subject_identifier:Ke,id:he,identifier:Ze,power:tt}=Te,me=Te.is_public!=0&&Te.is_public;return G.createElement("div",{className:U.wrap,key:he,style:{width:Re,marginRight:(1+Ie)%rt===0?0:T+Z,marginBottom:z}},Te.homepage_show&&G.createElement("div",{className:U.btnsTop},G.createElement(K.default,{color:"red"},"\u7F6E\u9876")),G.createElement("a",{className:U.li,onClick:_e=>{_e.preventDefault(),dt(Te==null?void 0:Te.first_category_url)&&(se&&(0,x.L9)([se]),(0,x.xg)(Te.first_category_url))}},G.createElement("div",{className:U.top},G.createElement(f.Z,{title:Te.name},G.createElement("div",{className:U.name},Te.name)),G.createElement("img",{className:U.img,src:b.Z.IMG_SERVER+"/images/"+Te.avatar_url}),G.createElement("div",{className:U.text,title:Te.creator},Te.creator),Ke&&G.createElement("div",{className:U.btns},G.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),G.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),me&&G.createElement("div",{className:U.sign},"\u516C\u5F00"),Rt&&G.createElement("div",{className:U.hidden,onClick:_e=>{_e.stopPropagation(),_t(Te)}},G.createElement("i",{className:`iconfont ${at=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),at=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),G.createElement("div",{className:U.bottom},Te.visits>0&&G.createElement(f.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},G.createElement("span",null,G.createElement("i",{className:"iconfont icon-liulanyan"}),G.createElement("span",null,Te.visits))),Te.course_members_count>0&&G.createElement(f.Z,{title:"\u6210\u5458",placement:"bottom"},G.createElement("span",null,G.createElement("i",{className:"iconfont icon-chengyuan"}),Te.course_members_count)),Te.tasks_count>0&&G.createElement(f.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},G.createElement("span",null,G.createElement("i",{className:"iconfont icon-zuoye"}),Te.tasks_count)),Te.is_end?G.createElement("div",{style:{color:"#6B758B"}}):G.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Te.is_accessible&&G.createElement("div",{className:U.lockWrap},G.createElement("img",{src:`${b.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),G.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ht.length&&G.createElement(O.Z,null)))},ve={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"},xe=w(22740),De=({dataSource:Nt=[],value:Ht,onChange:rt,className:T,style:z={},tabBarExtraContent:Z})=>h.createElement("div",{className:m()(ve.tabs,T),style:z},h.createElement("div",{className:ve.tabsWrap},Nt.map(($,se)=>!($!=null&&$.hide)&&h.createElement("aside",{className:ve.tab,onClick:()=>{rt($.id),$.link&&xe.history.push($.link)},key:se},h.createElement("div",{className:Ht===$.id?ve.active:""},$.name),($==null?void 0:$.resetCount)==null&&($==null?void 0:$.total)!==void 0&&h.createElement("span",null,"\uFF08",$==null?void 0:$.total,"\uFF09"),($==null?void 0:$.resetCount)!==void 0&&($==null?void 0:$.total)!==void 0&&h.createElement(f.Z,{title:($==null?void 0:$.tip)!=null?$==null?void 0:$.tip:""},h.createElement("span",{style:{color:"#9096A3"}},"\uFF08",h.createElement("span",{style:{color:"#000"}},$==null?void 0:$.resetCount),"/",h.createElement("span",null,$==null?void 0:$.total),"\uFF09"))))),h.createElement("div",{className:ve.tabBar},Z)),we=({className:Nt,style:Ht={},children:rt})=>h.createElement("div",{className:m()(Nt),style:Ht},rt),Ye={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"},Be=w(75727),ge=w(93041);const He=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Pe=({sortValue:Nt,dropValue:Ht,className:rt,onSort:T,onDrop:z,dataSource:Z=He})=>{var $;return h.createElement("div",{className:m()(Ye.orderWrap,rt)},h.createElement(Be.Z,{dropdownRender:()=>h.createElement(ge.default,null,Z.map((se,Ge)=>h.createElement(ge.default.Item,{key:Ge,onClick:()=>z(se.id)},se.name)))},h.createElement("span",{className:Ye.orderTextWrap},($=Z.find(se=>Ht===se.id))==null?void 0:$.name)),h.createElement("span",{className:Ye.orderIconWrap},h.createElement("span",{className:Ye.orderAsc},h.createElement("i",{className:Nt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ye.cursorPointer} ${Ye.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ye.cursorPointer}`,onClick:()=>T(Nt==="asc"?"desc":"asc")})),h.createElement("span",{className:Ye.orderDesc},h.createElement("i",{className:Nt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ye.cursorPointer} ${Ye.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ye.cursorPointer}`,onClick:()=>T(Nt==="asc"?"desc":"asc")}))))},We={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"},Ne=w(7939),V=Object.defineProperty,q=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,oe=(Nt,Ht,rt)=>Ht in Nt?V(Nt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Nt[Ht]=rt,ee=(Nt,Ht)=>{for(var rt in Ht||(Ht={}))ae.call(Ht,rt)&&oe(Nt,rt,Ht[rt]);if(q)for(var rt of q(Ht))te.call(Ht,rt)&&oe(Nt,rt,Ht[rt]);return Nt},fe=(Nt,Ht)=>{var rt={};for(var T in Nt)ae.call(Nt,T)&&Ht.indexOf(T)<0&&(rt[T]=Nt[T]);if(Nt!=null&&q)for(var T of q(Nt))Ht.indexOf(T)<0&&te.call(Nt,T)&&(rt[T]=Nt[T]);return rt},Ce=(Nt,Ht,rt)=>new Promise((T,z)=>{var Z=Ge=>{try{se(rt.next(Ge))}catch(at){z(at)}},$=Ge=>{try{se(rt.throw(Ge))}catch(at){z(at)}},se=Ge=>Ge.done?T(Ge.value):Promise.resolve(Ge.value).then(Z,$);se((rt=rt.apply(Nt,Ht)).next())}),ce=Nt=>{var Ht=Nt,{className:rt,style:T,children:z,loading:Z=!1,openLoading:$,onClick:se=()=>{},size:Ge="middle",shape:at="round"}=Ht,_t=fe(Ht,["className","style","children","loading","openLoading","onClick","size","shape"]);const[dt,Rt]=(0,h.useState)(!1);return h.createElement(Ne.ZP,ee({onClick:(0,E.throttle)(Gt=>Ce(void 0,null,function*(){$&&Rt(!0);try{yield se(Gt)}catch(ze){console.log("error",ze)}$&&Rt(!1)}),2e3,{leading:!0,trailing:!1}),className:m()(We.btn,We[`${Ge}-${at}`],rt),style:T,size:Ge,shape:at,loading:dt||Z},_t),z)},lt={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"},ht=({className:Nt,style:Ht,children:rt=null,onClick:T,title:z})=>h.createElement("div",{className:m()(lt.head,Nt),style:Ht},h.createElement("span",{className:"primary-hover",onClick:T},h.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),h.createElement("b",{title:z},z),h.createElement("div",{className:lt.node},rt)),pt={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"},mt=({confirmShow:Nt=!0,confirmTitle:Ht,confirmClick:rt,cancelShow:T=!0,cancelTitle:z,cancelClick:Z,className:$,style:se,confirmLoading:Ge=!1})=>h.createElement("div",{className:m()(pt.btns,$),style:se},Nt&&h.createElement(Ne.ZP,{loading:Ge,onClick:rt,type:"primary",className:pt.confirm},Ht),T&&h.createElement(Ne.ZP,{onClick:Z,className:pt.cancel},z)),Ve={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:Nt,style:Ht={},LeftContent:rt,children:T,RightContent:z})=>h.createElement("div",{className:m()(Ve.fixedBottom,Nt),style:Ht},h.createElement("div",{className:Ve.wrap},h.createElement("div",{className:Ve.left},rt),h.createElement("div",{className:Ve.center},T),h.createElement("div",{className:Ve.right},z))),it={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"},xt=({className:Nt,style:Ht={},dataSource:rt=[]})=>h.createElement("div",{className:m()(it.crumbs,Nt),style:Ht},rt.map((T,z)=>z<rt.length-1?h.createElement(h.Fragment,{key:z},T.path||T.onClick?h.createElement("span",{className:it.hover,onClick:T!=null&&T.onClick?T.onClick:()=>xe.history.push(T.path)},T.name):h.createElement("span",null,T.name),h.createElement("span",null,"\xA0",">","\xA0")):h.createElement("span",{key:z,style:{color:"#5F6368"}},T.name))),un=w(11938),Jt=Object.defineProperty,Bt=Object.defineProperties,hn=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,qt=(Nt,Ht,rt)=>Ht in Nt?Jt(Nt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Nt[Ht]=rt,Wt=(Nt,Ht)=>{for(var rt in Ht||(Ht={}))tn.call(Ht,rt)&&qt(Nt,rt,Ht[rt]);if(Nn)for(var rt of Nn(Ht))On.call(Ht,rt)&&qt(Nt,rt,Ht[rt]);return Nt},Zt=(Nt,Ht)=>Bt(Nt,hn(Ht)),rn=(Nt,Ht)=>{var rt={};for(var T in Nt)tn.call(Nt,T)&&Ht.indexOf(T)<0&&(rt[T]=Nt[T]);if(Nt!=null&&Nn)for(var T of Nn(Nt))Ht.indexOf(T)<0&&On.call(Nt,T)&&(rt[T]=Nt[T]);return rt};const{Countdown:xn}=un.default;var Pn=Nt=>{var Ht=Nt,{onChange:rt}=Ht,T=rn(Ht,["onChange"]);const[z,Z]=(0,h.useState)(null);(0,h.useEffect)(()=>{typeof z=="number"&&z>=0&&rt(z)},[z]);const $=se=>{const Ge=Math.floor(se/1e3);Z(Ge)};return h.createElement(xn,Zt(Wt({},T),{onChange:$}))}},82823:function(Ln,gt,w){"use strict";w.r(gt),w.d(gt,{NoData:function(){return ge},default:function(){return Ne}});var h=w(59301),k=w(7939),P=w(62957),_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAIwCAYAAABawRXrAADVaUlEQVR42uydCXhcdbn/RRAEURGvC4LgAsJFUVQUQWRRQdkLBUoXREVRLgh6BUG40KJA7ZK0EAiZ2z+VpWy9rbGltHSBdCHJNG1o2iQ0bdIsTRqStplmn+2c5/d/v+ecX3JycmbmzMyZJZP3+zzvM13TmXOm8/vkXb7vhz7EYrFYrLjl2SqOmVMefCivXLlm7nviFL4iLBaLxWKxWEkqryz8k7nekAeRV6HewVeExWKxWCwWKymJw+aWB/8uAWtehTibrwmLxWKxWCxWEprlFScNZa82h/IAXHxVWCwWi8VisZLQnPLA1RKwKJM1la8Ii8VisVgsVhKaXiKOnbs59CcDsJ7Orwh+na8Ki8VisVgsVhKaV+7/0tzycL5WHvQGH35is/g0XxUWi8VisVisJJRXHrjGXB68cbE4nK8Ki8VisVgsVoL6w0pxVL43PFMCVn6F4PIgi8VisVgsVjKaVx6+eCh7VRacydODLBaLxWKxWEkIze1zNgdnaHC1OfTs7PLQd/iqsFgsFovFYiWhOaWD55HnVYFsbufeKxaLxWKxWKwk9FS9OIrA6r/yvKEiZK+wJoevCovFYrFYLFYSgtcVPK/0/qvwo7MrxOf5qrBYLBaLxWIlKEwOku/V/8jm9jllweuE4OZ2FovFYrFYrIQ1t1y5XCsNAq68oXn5ZeJoviosFovFYrFYCWreVnEC7Bi0xvbyUOHsMv9FfFVYLBaLxWKxEtT06eLDc73KDTQ5WKhnsMJ/9mwVx/CVYbFYLBaLxUpQeRWDX8yvCM83slcFc8pD5/JVYbFYLBaLxUpQc7Z3fGyuN/jokGu7N3QPZa8+wleGxWKxWCwWKwFNXyyORGlQwlXe5vBjs0v62ZaBxWKxWCxWdgnZn7lecWZeuXJNXkXojjxv+K9zN4cfnOtV76Hy2y9nlwYum7NZfPlDWWB/MMcb/CbZMuQbgPX0PF6Jw2KxWCwWK5v0j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m0z5tZosp+7elqU67nf6g5TtwfJr/iP5HMBeKAQCgUAgoiRhx8pmYy5PXkxcITMZ18tS0ADZnMxZjgdkqegxWbJ8VpYtX5Fj9e9IScuQEjAbYnaEKM3WCdIk+ZiNk4/hGPmYPiUf4+HyMb9XTqoOkF+T6+XX6Er5NTtbfg1xGTECgUAgEAkoY0dLITtelo64hHSqnAg7U0raOXJKjC/LvUius+gne3Zu8JG2/5VZlofk/ZHcJP20zK6NlsLxqhznHy95VzZXT5EZnGxZ8tKTZ1B2pvthqu7vf1f3cV+Xn8sYWVobJT/X38mM4FB5WfA98t82QK4d4H/z/8jH4DvyMblAPkbn/P9Bw0wIGoa8aNNyoLBmGk15o2AUjCwAAJpj3XJMmgW8AAAAAElFTkSuQmCC",B=w(72327);function C(){return(0,B.U2)("teach_groups.json")}function p(V){return(0,B.v_)("teach_groups.json",V)}function m(V,q){return(0,B.gz)(`teach_groups/${V}.json`,q)}function E(V){return(0,B.v_)("teach_group_members.json",V)}function d(V){return(0,B.IV)(`teach_group_members/${V}.json`)}function l(V,q){return(0,B.gz)(`teach_groups/${V}/change_admin.json`,{member_id:q})}function o(V,q){return(0,B.IV)(`teach_groups/${V}/del_member.json`,{member_id:q})}function g(V){return(0,B.IV)(`teach_groups/${V}.json`)}function r(V){return(0,B.U2)(`teach_groups/${V}/show_permission.json`)}function n(V){return(0,B.gz)(`teach_groups/${V==null?void 0:V.id}/update_permission.json`,V)}var a=w(28284),c=w(37568),u=w(6738),s=({callback:V,visible:q,onCancel:ae,id:te,name:oe})=>{function ee(Ce){V(Ce)}const[fe]=a.default.useForm();return(0,h.useEffect)(()=>{fe.setFieldsValue({name:oe})},[oe]),h.createElement(P.default,{centered:!0,title:te?"\u4FEE\u6539\u540D\u79F0":"\u65B0\u5EFA",open:q,onCancel:ae,onOk:()=>{fe.submit()},wrapClassName:u.Z.CustomCss},h.createElement(a.default,{form:fe,initialValues:{name:oe},onFinish:ee},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=w(62673),e=w(75727),t=w(93041),i=w(70858),f=w(6767),y=w(47889),b=Object.defineProperty,x=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,L=(V,q,ae)=>q in V?b(V,q,{enumerable:!0,configurable:!0,writable:!0,value:ae}):V[q]=ae,O=(V,q)=>{for(var ae in q||(q={}))A.call(q,ae)&&L(V,ae,q[ae]);if(x)for(var ae of x(q))M.call(q,ae)&&L(V,ae,q[ae]);return V};const D=V=>React.createElement("svg",O({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 N="data:image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ni04LjE5MiA4LjE5Mi0xMi4yODggMC04LjE5MiA4LjE5Mi04LjE5MiAxMi4yODgtOC4xOTJzNC4wOTYgMCA4LjE5MiA0LjA5NmM0LjA5NiAwIDQuMDk2IDQuMDk2IDQuMDk2IDQuMDk2bDQuMDk2IDQuMDk2czAgNC4wOTYgNC4wOTYgNC4wOTZsNTMuMjQ4IDEzMS4wNzIgMTU1LjY0OCAxNi4zODRjOC4xOTIgMCAxMi4yODggNC4wOTYgMTIuMjg4IDQuMDk2IDQuMDk2IDQuMDk2IDQuMDk2IDguMTkyIDQuMDk2IDEyLjI4OHMwIDguMTkyLTQuMDk2IDEyLjI4OGwtMTIuMjg4IDEyLjI4OC05OC4zMDQgOTAuMTEyeiIgZmlsbD0iIzJFNUJFQyIvPjwvc3ZnPg==",I=w(4111),U=(V,q,ae)=>new Promise((te,oe)=>{var ee=re=>{try{Ce(ae.next(re))}catch(ce){oe(ce)}},fe=re=>{try{Ce(ae.throw(re))}catch(ce){oe(ce)}},Ce=re=>re.done?te(re.value):Promise.resolve(re.value).then(ee,fe);Ce((ae=ae.apply(V,q)).next())});const F=50;var K=({data:V,isAdminOrTeacher:q,onDelGroup:ae,onChangeGroupName:te,onPlusMember:oe,onDelMember:ee,onExitGroup:fe,Transferteams:Ce})=>{var re,ce;const[lt,Qe]=(0,h.useState)(0),[ht,pt]=(0,h.useState)(0);let[$e,mt]=(0,h.useState)(),[Ve,Me]=(0,h.useState)(),[qe,it]=(0,h.useState)(!1),[Et,xt]=(0,h.useState)(),[un,Jt]=(0,h.useState)(),[Bt,hn]=(0,h.useState)(!1),[Nn,tn]=(0,h.useState)(!1),[On,qt]=(0,h.useState)("");function Wt(rt){let T=parseInt(rt.key,10);qt(T),tn(!0)}function Zt(rt){let T=parseInt(rt.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 rn(rt){let T=parseInt(rt,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 xn(rt,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:()=>{ee(rt,T)}})}const Dn={display:"block",height:"30px",lineHeight:"30px"};function Pn(rt){Jt(rt),xt(rt==null?void 0:rt.id),hn(!0)}const Nt=[{title:"\u6210\u5458\u540D\u79F0",dataIndex:"name",width:150},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u9898",dataIndex:"item_bank",align:"center",width:150,render:(rt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:rt,onChange:Z=>{n({id:Et,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:(rt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:rt,onChange:Z=>{n({id:Et,member_id:T.id,clazz:"edit_item_bank",enable:Z.target.checked})}})},{title:"\u4F7F\u7528\u5171\u4EAB\u8BD5\u5377",dataIndex:"exercise",align:"center",render:(rt,T,z)=>h.createElement(v.default,{disabled:T==null?void 0:T.is_creator,defaultChecked:rt,onChange:Z=>{n({id:Et,member_id:T.id,clazz:"exercise",enable:Z.target.checked})}})}];function Ht(rt){return U(this,null,function*(){const T=yield r(rt==null?void 0:rt.id);xt(rt==null?void 0:rt.id),Me(T),it(!0)})}return h.createElement("ul",{className:"teaching-lists"},V.map((rt,T)=>h.createElement("li",{key:rt.id,style:{marginTop:T===0?30:16},onClick:()=>Qe(T)},h.createElement("div",{className:"item-group"},h.createElement("span",{style:{color:"#000000",fontSize:16,fontWeight:600}},rt.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}},rt.memers.map(z=>{var Z;return h.createElement("li",{key:z.id||z.name,onClick:()=>{pt(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:N,style:{marginLeft:5,display:!(z!=null&&z.is_creater)&&"none",height:25,width:78}})),rt.is_creat?h.createElement("div",{className:"groupActionWrap",style:{display:!(z!=null&&z.id)&&"none"}},h.createElement("a",{className:"btn-del",onClick:$=>{$.preventDefault(),$.stopPropagation(),xn(rt.id,z.id)}},"x")):null)})),rt.is_creat||q?h.createElement(e.Z,{overlayClassName:"dropdowns",dropdownRender:()=>h.createElement(t.default,null,h.createElement(t.default.Item,{onClick:()=>{te(rt)}},"\u4FEE\u6539\u540D\u79F0"),h.createElement(t.default.Item,{disabled:rt.memers.length>=50,onClick:()=>{oe(rt)}},"\u6DFB\u52A0\u6210\u5458"),rt.is_creat&&h.createElement(t.default.Item,{onClick:()=>Ht(rt)},"\u6743\u9650\u914D\u7F6E"),rt.is_creat&&h.createElement(t.default.Item,{onClick:()=>Pn(rt)},"\u8F6C\u8BA9\u56E2\u961F"),h.createElement(t.default.Item,{key:rt.id+"",onClick:rt.is_creat?Wt:Zt},rt.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:rt.id+"",style:{marginTop:30,marginRight:24,color:"#165DFF",fontSize:14,height:20},className:"c-grey-c",onClick:()=>rn(rt.id)},"\u9000\u51FA")))),h.createElement(P.default,{width:700,wrapClassName:u.Z.CustomCss,title:"\u6743\u9650\u914D\u7F6E",footer:null,open:qe,onCancel:()=>it(!1)},h.createElement(I.Gi,null,h.createElement(i.default,{dataSource:Ve==null?void 0:Ve.members,columns:Nt,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:()=>{ae(On),tn(!1)},open:Nn,onCancel:()=>tn(!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(!$e){f.ZP.info("\u521B\u5EFA\u4EBA\u4E0D\u80FD\u4E3A\u7A7A");return}Ce(Et,$e),hn(!1),$e=""},open:Bt,onCancel:()=>{hn(!1),$e=""}},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:rt=>{$e=rt.target.value,mt(rt.target.value)}},(ce=(re=un==null?void 0:un.memers)==null?void 0:re.filter(rt=>rt.is_teacher))==null?void 0:ce.map((rt,T)=>h.createElement(y.ZP,{style:Dn,value:rt==null?void 0:rt.id},rt==null?void 0:rt.name))))))},j=w(72565),G=w(22740),Y=w(86261),le=Object.defineProperty,Q=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ue=(V,q,ae)=>q in V?le(V,q,{enumerable:!0,configurable:!0,writable:!0,value:ae}):V[q]=ae,we=(V,q)=>{for(var ae in q||(q={}))be.call(q,ae)&&Ue(V,ae,q[ae]);if(xe)for(var ae of xe(q))De.call(q,ae)&&Ue(V,ae,q[ae]);return V},Ye=(V,q)=>Q(V,ve(q)),Be=(V,q,ae)=>new Promise((te,oe)=>{var ee=re=>{try{Ce(ae.next(re))}catch(ce){oe(ce)}},fe=re=>{try{Ce(ae.throw(re))}catch(ce){oe(ce)}},Ce=re=>re.done?te(re.value):Promise.resolve(re.value).then(ee,fe);Ce((ae=ae.apply(V,q)).next())});function ge({children:V}){return h.createElement("div",{className:"no-data"},h.createElement("img",{src:_,alt:"no-data",width:300}),V)}const He={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 Pe(V,q){switch(q.type){case 0:return we(we({},V),q.payload);case 1:return Ye(we({},V),{loading:q.payload});case 5:return Ye(we({},V),{index:q.payload});case 2:return we(we({},V),q.payload);case 3:return we(we({},V),q.payload);case 4:return Ye(we({},V),{selectedGroup:q.payload,showFormPanel:!0});default:throw new Error}}function We({user:V}){var q;const ae=(0,G.useLocation)(),[te]=(0,G.useSearchParams)(),[oe,ee]=(0,h.useReducer)(Pe,He),{data:fe,index:Ce,loading:re,showFormPanel:ce,selectedGroup:lt,showMemberPanel:Qe}=oe,ht=(q=V.userInfo)==null?void 0:q.role,[pt,$e]=(0,h.useState)(te.get("category")||"0"),mt=(0,h.useMemo)(()=>{let Wt=[],Zt=[];if(fe){for(let rn of fe)rn.is_creat?Wt.push(rn):Zt.push(rn);return[Wt,Zt]}},[fe]);(0,h.useEffect)(()=>{ht===15&&ee({type:5,payload:1})},[ht]);function Ve(){return Be(this,null,function*(){const Wt=yield C();(Wt==null?void 0:Wt.status)!==401&&ee({type:0,payload:{loading:!1,showFormPanel:!1,data:Wt.groups,index:te.get("category")||0}})})}(0,h.useEffect)(()=>{Ve()},[]);function Me(Wt){return Be(this,null,function*(){lt.id?yield m(lt.id,Wt):yield p(Wt),Ve()})}function qe(){ee({type:2,payload:{showFormPanel:!0,selectedGroup:{}}})}function it(Wt){ee({type:4,payload:Wt})}function Et(){ee({type:2,payload:{showFormPanel:!1}})}function xt(){ee({type:3,payload:{showMemberPanel:!1,selectedGroup:{}}})}function un(Wt){ee({type:3,payload:{showMemberPanel:!0,selectedGroup:Wt}})}function Jt(Wt,Zt){return Be(this,null,function*(){yield o(Wt,Zt),Ve()})}function Bt(Wt){return Be(this,null,function*(){yield g(Wt),Ve()})}function hn(Wt){return Be(this,null,function*(){yield d(Wt),Ve()})}function Nn(Wt,Zt){return Be(this,null,function*(){yield l(Wt,Zt),Ve()})}function tn(Wt){ee({type:5,payload:parseInt(Wt.target.id,10)})}function On(Wt,Zt){return Be(this,null,function*(){xt(),yield E({user_ids:Wt,group_id:Zt}),Ve()})}const qt=[{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"},ht===15?null:h.createElement(I.YG,{value:pt,onChange:Wt=>{var Zt;(Zt=window.location.href.toString())!=null&&Zt.includes("category")?(0,j.jz)("category",Wt):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&category=${Wt}`:`?category=${Wt}`),$e(Wt),ee({type:5,payload:parseInt(Wt,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:qt}),h.createElement("div",{className:mt[Ce].length===0?"nodata-content":"main-content"},mt[Ce].length===0?h.createElement(ge,null,ht<=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:hn,Transferteams:Nn,onPlusMember:un,onDelMember:Jt,onDelGroup:Bt,isAdminOrTeacher:ht<=12,onChangeGroupName:it,data:mt[Ce]})))),h.createElement(s,{callback:Me,visible:ce,onCancel:Et,id:lt.id,name:lt.name}),h.createElement(P.default,{centered:!0,title:"\u6DFB\u52A0\u6210\u5458",open:Qe,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:On,onCancel:xt})))}var Ne=(0,G.connect)(({user:V})=>({user:V}))(We)},28455:function(Ln,gt,w){"use strict";var h=w(59301),k=w(76411),P=w.n(k),_=w(48961),B=w.n(_),C=w(59301),p=Object.defineProperty,m=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,l=(r,n,a)=>n in r?p(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(m)for(var a of m(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=M(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=M(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),N(s.current)},M=(I,U)=>{let F,K=[],j=0,G=0,Y=0,le=[],Q=[],ve=1-U;I.sort((be,De)=>De.value-be.value);for(let be=0;be<I.length;be++){j+=I[be].value;let De={name:typeof I[be].name=="undefined"?`series${be}`:I[be].name,type:"surface",parametric:!0,wireframe:{show:!1},pieData:I[be],pieStatus:{selected:!1,hovered:!1,k:ve},center:["10%","50%"]};if(typeof I[be].itemStyle!="undefined"){let Ue={};typeof I[be].itemStyle.color!="undefined"&&(Ue.color=I[be].itemStyle.color),typeof I[be].itemStyle.opacity!="undefined"&&(Ue.opacity=I[be].itemStyle.opacity),De.itemStyle=Ue}K.push(De)}le=[],Q=[];for(let be=0;be<K.length;be++){Y=G+K[be].pieData.value,K[be].pieData.startRatio=G/j,K[be].pieData.endRatio=Y/j,K[be].parametricEquation=O(K[be].pieData.startRatio,K[be].pieData.endRatio,!1,!1,ve,K[be].pieData.value),G=Y;let De=D(K[be].pieData.value/j,4);le.push({name:K[be].name,value:De}),Q.push({name:K[be].name,value:De})}let xe=L(K,26);return{legend:o({data:le,orient:"horizontal",left:10,top:10,itemGap:10,textStyle:{color:"#A1E2FF"},show:!0,icon:"circle",formatter:function(be){let De=Q.filter(we=>we.name===be)[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),O=(I,U,F,K,j,G)=>{let Y=(I+U)/2,le=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,be=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,we){return Ue<le?xe+Math.cos(le)*(1+Math.cos(we)*j)*De:Ue>Q?xe+Math.cos(Q)*(1+Math.cos(we)*j)*De:xe+Math.cos(Ue)*(1+Math.cos(we)*j)*De},y:function(Ue,we){return Ue<le?be+Math.sin(le)*(1+Math.cos(we)*j)*De:Ue>Q?be+Math.sin(Q)*(1+Math.cos(we)*j)*De:be+Math.sin(Ue)*(1+Math.cos(we)*j)*De},z:function(Ue,we){return Ue<-Math.PI*.5?Math.sin(Ue):Ue>Math.PI*2.5?Math.sin(Ue)*G*.1:Math.sin(we)>0?1*G*.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 G=K.length-(K==null?void 0:K.indexOf("."));G<=U;G++)K+="0";return K},N=()=>{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"}})};gt.Z=g},61463:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return Pr}});var h=w(59301),k=w(22740),P=w(28284),_=w(6767),B=w(94968),C=w(36207),p=w(7939),m=w(62957),E=w(37568),d=w(25399),l=w(31691),o=w(29787),g=w(47889),r=w(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=w(99267),c=w(43531),u=w(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=w(92310),e=w.n(v),t=w(72327),i=w(59301),f=Object.defineProperty,y=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,A=(et,Lt,At)=>Lt in et?f(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,M=(et,Lt)=>{for(var At in Lt||(Lt={}))b.call(Lt,At)&&A(et,At,Lt[At]);if(y)for(var At of y(Lt))x.call(Lt,At)&&A(et,At,Lt[At]);return et},L=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).next())});let O=[{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:Lt,type:At,dataSources:yn=[],pathsDetail:Qn={},showmodal:vt,containerRef:vr})=>{const Tn=(0,k.useParams)(),[Yt,Vn]=(0,h.useState)(!1),[yr,Kn]=(0,h.useState)([]),[pr,Rn]=(0,h.useState)(),[wr,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)(()=>{Yt&&sa()},[Yt]);function sa(){return L(this,null,function*(){let fn=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:At,subject_id:Tn==null?void 0:Tn.pathId}});(fn==null?void 0:fn.status)===0&&(At===3?Kn(fn==null?void 0:fn.data):(Kn([...D,...fn==null?void 0:fn.data]),ur([...O,...fn==null?void 0:fn.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"}],$r="\u6807\u7B7E";(0,h.useEffect)(()=>{Kn(yn)},[]),(0,h.useEffect)(()=>{Yt&&Rn(et)},[Yt]);const Ea=({title:fn="",style:kn={},values:Yn="",showDelete:Br=!0,modal:jt=!1,active:Xr=!1})=>{const oa=(na=>na.split("").reduce((la,Jr)=>la+Jr.charCodeAt(0),0))(fn)%fa.length,{background:Aa,borderColor:Zn}=fa[oa];return i.createElement("div",{className:e()(s.tag,Xr?s.active:""),onClick:()=>{var na;if(jt){if(Yt===1){let la=[...yr,...Dr];Rn([...la.filter(Jr=>(Jr==null?void 0:Jr.id)===Yn)])}Yt===2&&((na=pr==null?void 0:pr.map(la=>la.id))!=null&&na.includes(Yn)?Rn(pr.filter(la=>la.id!==Yn)):Rn([...pr,...yr.filter(la=>(la==null?void 0:la.id)===Yn)]))}},style:M({background:Aa,borderColor:Zn},kn)},i.createElement("span",null,fn),Br&&i.createElement("i",{onClick:na=>L(void 0,null,function*(){var la;if(na.stopPropagation(),jt){Kn(yr.filter(_a=>_a.name!==fn)),Kn(yr.filter(_a=>_a.name!==fn));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 Lt(et.filter(Jr=>Jr.id!==Yn))}),className:"iconfont icon-shanchu5"}))},Lr=()=>{Lt(pr),Vn(!1)},Qr=fn=>L(void 0,null,function*(){if(!wr.replace(/\s+/g,"")&&fn===1){Ir(`${$r}\u4E0D\u80FD\u4E3A\u7A7A`);return}if(!Gn.replace(/\s+/g,"")&&fn===2){da("\u8D44\u6E90\u4E0D\u80FD\u4E3A\u7A7A");return}if((yr.map(Yn=>Yn.name).includes(wr)||Dr.map(Yn=>Yn.name).includes(wr))&&fn===1){Ir(`\u8BE5${$r}\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))&&fn===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:fn,name:At===3||fn===1?wr:Gn,subject_id:Tn==null?void 0:Tn.pathId}});(kn==null?void 0:kn.status)===0&&sa(),fn===1&&Er(!1),fn===2&&Gr(!1)});return i.createElement("div",{className:s.tagsModal},At===5&&i.createElement(i.Fragment,null,et==null?void 0:et.map((fn,kn)=>i.createElement(Ea,{values:fn.id,key:kn,title:fn.name,showDelete:!1,style:{marginRight:"20rem",marginBottom:0}})),vt&&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((fn,kn)=>i.createElement(Ea,{values:fn.id,key:kn,title:fn.name})),vt&&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(m.default,{open:!!Yt,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${$r}`},i.createElement("div",{className:s.modal},i.createElement("div",{className:s.mHead},i.createElement("b",null),i.createElement("span",null,`${$r}`,"\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((fn,kn)=>{var Yn,Br,jt;return i.createElement(Ea,{showDelete:At===3?!((Yn=pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id))!=null&&Yn.includes(fn==null?void 0:fn.id)):!((Br=pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id))!=null&&Br.includes(fn==null?void 0:fn.id))&&!((jt=D.map(Xr=>Xr.name))!=null&&jt.includes(fn.name)),modal:!0,style:{cursor:"pointer"},active:pr==null?void 0:pr.map(Xr=>Xr==null?void 0:Xr.id).includes(fn==null?void 0:fn.id),key:fn==null?void 0:fn.id,values:fn==null?void 0:fn.id,title:fn==null?void 0:fn.name})}),Jn&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:wr,onChange:fn=>{Ir(""),mr(fn.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((fn,kn)=>{var Yn,Br;return i.createElement(Ea,{showDelete:!((Yn=pr==null?void 0:pr.map(jt=>jt==null?void 0:jt.id))!=null&&Yn.includes(fn==null?void 0:fn.id))&&!((Br=O.map(jt=>jt.name))!=null&&Br.includes(fn.name)),modal:!0,style:{cursor:"pointer"},active:pr==null?void 0:pr.map(jt=>jt==null?void 0:jt.id).includes(fn==null?void 0:fn.id),key:fn==null?void 0:fn.id,values:fn==null?void 0:fn.id,title:fn==null?void 0:fn.name})}),ra&&i.createElement("div",{className:s.add},i.createElement(E.default,{style:{width:"rem"},size:"large",value:Gn,onChange:fn=>{da(""),br(fn.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=w(86748),F=w(82326),K=w(70858),j=w(31709),G=w(85307),Y=w(59301),le=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,xe=(et,Lt)=>{var At={};for(var yn in et)Q.call(et,yn)&&Lt.indexOf(yn)<0&&(At[yn]=et[yn]);if(et!=null&&le)for(var yn of le(et))Lt.indexOf(yn)<0&&ve.call(et,yn)&&(At[yn]=et[yn]);return At},be=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).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 Lt=et,{types:At,globalSetting:yn,loading:Qn,dispatch:vt,pathsDetail:vr,onChange:Tn,ktzykey:Yt,getother:Vn}=Lt,yr=xe(Lt,["types","globalSetting","loading","dispatch","pathsDetail","onChange","ktzykey","getother"]),Kn,pr,Rn,wr;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 be(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:((Rn=De==null?void 0:De.find(Jn=>Jn.key===At))==null?void 0:Rn.label)+"\u540D\u79F0",className:n.input,style:{marginLeft:"10rem",width:"486rem",height:"40rem"}}))),Y.createElement(p.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:((wr=De==null?void 0:De.find(Jn=>Jn.key===At))==null?void 0:wr.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"?m.default.confirm({icon:null,title:"\u89C6\u9891\u64AD\u653E",centered:!0,closable:!0,footer:!1,width:600,content:Y.createElement(G.Z,{allow_skip:!0,src:Jn})}):At==="3"?Vn(Jn):window.open(Jn)}},"\u67E5\u770B")}],rowSelection:{type:"radio",onChange(Jn,Er){Tn(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 we=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(Ue),Ye=w(84105),Be=w(72565),ge=w(59301),He=Object.defineProperty,Fe=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,q=(et,Lt,At)=>Lt in et?He(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,ae=(et,Lt)=>{for(var At in Lt||(Lt={}))Ne.call(Lt,At)&&q(et,At,Lt[At]);if(We)for(var At of We(Lt))V.call(Lt,At)&&q(et,At,Lt[At]);return et},te=(et,Lt)=>Fe(et,Pe(Lt)),oe=(et,Lt)=>{var At={};for(var yn in et)Ne.call(et,yn)&&Lt.indexOf(yn)<0&&(At[yn]=et[yn]);if(et!=null&&We)for(var yn of We(et))Lt.indexOf(yn)<0&&V.call(et,yn)&&(At[yn]=et[yn]);return At},ee=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).next())});const fe=et=>{var Lt=et,{typesdata:At,globalSetting:yn,loading:Qn,dispatch:vt,pathsDetail:vr,onChange:Tn,uuid:Yt,itemsuuid:Vn}=Lt,yr=oe(Lt,["typesdata","globalSetting","loading","dispatch","pathsDetail","onChange","uuid","itemsuuid"]),Kn,pr,Rn,wr,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)([]),[$r,Ea]=(0,h.useState)(""),[Lr,Qr]=(0,h.useState)(""),[fn,kn]=(0,h.useState)([]),[Yn,Br]=(0,h.useState)(!1);let[jt,Xr]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]});(0,h.useEffect)(()=>{ya()},[Yt]),(0,h.useEffect)(()=>{if(At){let Zn=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));Xr(Zn)}return()=>{}},[At]);function ya(){return ee(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:Yt,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,Be.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 te(ae({},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)(()=>{Tn(jt)},[jt]);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"}},((wr=(Rn=sa==null?void 0:sa.metricCounters)==null?void 0:Rn[1])==null?void 0:wr.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,Be.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),Br(!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:fn,onExpand:Zn=>{kn(Zn),Br(!1)},autoExpandParent:Yn,blockNode:!0,switcherIcon:ge.createElement(Ye.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=jt==null?void 0:jt.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=jt==null?void 0:jt.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=jt==null?void 0:jt.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=jt==null?void 0:jt.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($r,`<span style= "color: #00B187" >${$r}</span>`)},style:{width:"100%",fontSize:"14rem",color:"#000",fontWeight:400}})),ge.createElement("div",{className:n.hudong},!((Xa=jt==null?void 0:jt.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=jt==null?void 0:jt.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=jt==null?void 0:jt.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=jt==null?void 0:jt.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=jt==null?void 0:jt.bh)==null?void 0:ir.filter(La=>{var pn;return(La==null?void 0:La.uuid)===((pn=Zn==null?void 0:Zn.properties)==null?void 0:pn.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,...jt==null?void 0:jt.bh],qx:jt==null?void 0:jt.qx,hx:jt==null?void 0:jt.hx,gl:jt==null?void 0:jt.gl})}},className:n.colortitle,style:{marginRight:"20rem"}},"\u8BBE\u4E3A\u5305\u542B"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=jt==null?void 0:jt.qx)==null?void 0:ir.filter(La=>{var pn;return(La==null?void 0:La.uuid)===((pn=Zn==null?void 0:Zn.properties)==null?void 0:pn.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,...jt==null?void 0:jt.qx],hx:jt==null?void 0:jt.hx,bh:jt==null?void 0:jt.bh,gl:jt==null?void 0:jt.gl})}},className:n.colortitle},"\u8BBE\u4E3A\u524D\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=jt==null?void 0:jt.hx)==null?void 0:ir.filter(La=>{var pn;return(La==null?void 0:La.uuid)===((pn=Zn==null?void 0:Zn.properties)==null?void 0:pn.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:jt==null?void 0:jt.qx,hx:[...La,...jt==null?void 0:jt.hx],bh:jt==null?void 0:jt.bh,gl:jt==null?void 0:jt.gl})}},style:{margin:"0rem 20rem"},className:n.colortitle},"\u8BBE\u4E3A\u540E\u7F6E"),ge.createElement("span",{onClick:()=>{var ir,Vr,Ha,Oa;if(!(((Vr=(ir=jt==null?void 0:jt.gl)==null?void 0:ir.filter(La=>{var pn;return(La==null?void 0:La.uuid)===((pn=Zn==null?void 0:Zn.properties)==null?void 0:pn.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:jt==null?void 0:jt.qx,hx:jt==null?void 0:jt.hx,gl:[...La,...jt==null?void 0:jt.gl],bh:jt==null?void 0:jt.bh})}},className:n.colortitle},"\u8BBE\u4E3A\u5173\u8054")),ge.createElement("span",{onClick:()=>{var ir;let Vr=(ir=jt==null?void 0:jt.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:jt==null?void 0:jt.hx,qx:jt==null?void 0:jt.qx,gl:jt==null?void 0:jt.gl})}},((jr=jt==null?void 0:jt.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=jt==null?void 0:jt.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:jt==null?void 0:jt.hx,bh:jt==null?void 0:jt.bh,gl:jt==null?void 0:jt.gl})}},((za=jt==null?void 0:jt.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=jt==null?void 0:jt.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:jt==null?void 0:jt.qx,hx:Vr,bh:jt==null?void 0:jt.bh,gl:jt==null?void 0:jt.gl})}},((vi=jt==null?void 0:jt.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=jt==null?void 0:jt.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:jt==null?void 0:jt.qx,hx:jt==null?void 0:jt.hx,bh:jt==null?void 0:jt.bh,gl:Vr})}},((mi=jt==null?void 0:jt.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=jt.bh)==null?void 0:mr.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Gn=jt==null?void 0:jt.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=jt==null?void 0:jt.bh)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({bh:la,hx:jt==null?void 0:jt.hx,qx:jt==null?void 0:jt.qx,gl:jt==null?void 0:jt.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=jt.qx)==null?void 0:br.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Ar=jt==null?void 0:jt.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=jt==null?void 0:jt.qx)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:la,hx:jt==null?void 0:jt.hx,bh:jt==null?void 0:jt.bh,gl:jt==null?void 0:jt.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=jt.hx)==null?void 0:Ir.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(Jn=jt==null?void 0:jt.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=jt==null?void 0:jt.hx)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:jt==null?void 0:jt.qx,bh:jt==null?void 0:jt.bh,hx:la,gl:jt==null?void 0:jt.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=jt.gl)==null?void 0:Er.length,"\uFF09")),ge.createElement("div",{className:n.gxbody},(ra=jt==null?void 0:jt.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=jt==null?void 0:jt.gl)==null?void 0:na.filter(Jr=>Jr.uuid!==Zn.uuid);Xr({qx:jt==null?void 0:jt.qx,bh:jt==null?void 0:jt.bh,hx:jt==null?void 0:jt.hx,gl:la})}}))))))))};var Ce=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(fe),re=w(89392),ce=w(54331),lt=w(21463),Qe=w(59301),ht=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,mt=(et,Lt)=>{var At={};for(var yn in et)pt.call(et,yn)&&Lt.indexOf(yn)<0&&(At[yn]=et[yn]);if(et!=null&&ht)for(var yn of ht(et))Lt.indexOf(yn)<0&&$e.call(et,yn)&&(At[yn]=et[yn]);return At},Ve=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).next())});const Me=[3,2,1];let qe=null;const it=et=>{var Lt=et,{pathsDetail:At,user:yn,globalSetting:Qn,loading:vt,dispatch:vr,datas:Tn,items:Yt}=Lt,Vn=mt(Lt,["pathsDetail","user","globalSetting","loading","dispatch","datas","items"]);const yr=(0,h.useRef)(),Kn=(0,h.useRef)(),pr=(0,h.useRef)(null);(0,h.useEffect)(()=>{wr()},[Tn]),(0,h.useEffect)(()=>(window.addEventListener("resize",Rn),()=>{window.removeEventListener("resize",Rn)}),[]);function Rn(){var mr,Gn;(Gn=(mr=yr.current)==null?void 0:mr.update)==null||Gn.call(mr)}function wr(){return Ve(this,null,function*(){var mr,Gn,br,Ar,Ir,Jn,Er,ra;if(((mr=Tn==null?void 0:Tn.nodes)==null?void 0:mr.length)>0){let Gr=(Gn=Tn==null?void 0:Tn.nodes)==null?void 0:Gn.filter(ur=>{var ca;return Yt==null?void 0:Yt.includes((ca=ur==null?void 0:ur.properties)==null?void 0:ca.uuid)}).map(ur=>{var ca,da,sa,fa,$r,Ea,Lr,Qr,fn,kn,Yn,Br;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:($r=ur==null?void 0:ur.properties)==null?void 0:$r.nodeType,tags:((Ea=ur==null?void 0:ur.properties)==null?void 0:Ea.tags)&&((fn=(Qr=(Lr=ur==null?void 0:ur.properties)==null?void 0:Lr.tags)==null?void 0:Qr.split("\uFF0C"))==null?void 0:fn.map(jt=>({name:jt}))),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:Me[((Br=ur==null?void 0:ur.properties)==null?void 0:Br.color)-1]||1,shape:"circle",hide:!1,isExtendedState:!0}}),Dr=(Jn=(Ir=(Ar=(br=Tn==null?void 0:Tn.relationships)==null?void 0:br.filter(ur=>{var ca,da,sa,fa,$r,Ea;return ur.endNodeUuid!==((sa=(da=(ca=Tn==null?void 0:Tn.nodes)==null?void 0:ca[0])==null?void 0:da.properties)==null?void 0:sa.rootNodeUuid)&&ur.startNodeUuid!==((Ea=($r=(fa=Tn==null?void 0:Tn.nodes)==null?void 0:fa[0])==null?void 0:$r.properties)==null?void 0:Ea.rootNodeUuid)}))==null?void 0:Ar.filter(ur=>(Yt==null?void 0:Yt.includes(ur.startNodeUuid))&&(Yt==null?void 0:Yt.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 Qe.createElement("div",{ref:pr,style:{background:"#fff",height:"455rem"}},Qe.createElement("div",{style:{width:"100%",height:"455rem"},ref:Kn,id:"graphRefs"}))};var Et=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(it),xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADICAYAAADvG90JAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQecXlWZ/7/n3vvW6SUzk0kPCZAYQpUOoggIiK4lKqIsritrdy27a1fWVRdl7a6ujb+N1dVdUEFFBUERpIQE0ieTmcn0+vb39nvP33PfiWIlZQZDcm8+72dKzj33nN+5v3me85ynCOIrRiBG4EmHgNg3Yiml+v63Pz/pZhIPOEbgyEdACiGkmmZEVCmlduTPOZ5hjMARgUBEXhFL2iNiMeNJHEUICCFCRdxY2h5Fix5P9YhAIJK4MXGPiLWMJ3EUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ3IUIRAT9yha7HiqRw4CMXGPnLWMZ/JEILAR9DG40oF1IaCBkGEoQFO5oFRCKJGQwb1/o+s3z+N4YuLOI7hx10cgAre6HOsk+ZENy30glBCovG2zHyElCcmDdVb18g319TPzBEFM3HkCNu72CEXg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QMX3DjyWe7xPyKs1GfgpVEuAAAAAElFTkSuQmCC",hn=w(37285),Nn=w(42441),tn=w(28455);const On=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 qt=w(82823),Wt=w(59301),Zt=Object.defineProperty,rn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,Pn=(et,Lt,At)=>Lt in et?Zt(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,Nt=(et,Lt)=>{for(var At in Lt||(Lt={}))xn.call(Lt,At)&&Pn(et,At,Lt[At]);if(rn)for(var At of rn(Lt))Dn.call(Lt,At)&&Pn(et,At,Lt[At]);return et},Ht=(et,Lt)=>{var At={};for(var yn in et)xn.call(et,yn)&&Lt.indexOf(yn)<0&&(At[yn]=et[yn]);if(et!=null&&rn)for(var yn of rn(et))Lt.indexOf(yn)<0&&Dn.call(et,yn)&&(At[yn]=et[yn]);return At},rt=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).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 Lt=et,{pathsDetail:At,user:yn,globalSetting:Qn,loading:vt,dispatch:vr,uuid:Tn}=Lt,Yt=Ht(Lt,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Vn,yr,Kn,pr;const Rn=(0,k.useParams)();let[wr,mr]=(0,h.useState)({subject_id:Rn==null?void 0:Rn.pathId,course_id:"",parentNodeUuid:Tn,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()},[Tn]);function Gr(){return rt(this,null,function*(){var Dr,ur,ca;let da=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:wr});br(da);let sa=Object.entries((Dr=da==null?void 0:da.data)==null?void 0:Dr.study_grasp_hash).map(([$r,Ea],Lr)=>({name:$r,value:Ea,itemStyle:T[Lr].itemStyle})),fa=Object.entries((ur=da==null?void 0:da.data)==null?void 0:ur.study_complete_hash).map(([$r,Ea],Lr)=>({name:$r,value:Ea}));Er(fa),((ca=sa==null?void 0:sa.filter($r=>($r==null?void 0:$r.value)>0))==null?void 0:ca.length)===0?Ir([]):Ir(sa)})}return Wt.createElement("div",{className:n.DetailStatistics},ra.get("type")!=="classrooms"&&Wt.createElement("div",{className:n.header},Wt.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),Wt.createElement(g.ZP.Group,{onChange:Dr=>{wr.type=Dr.target.value,mr(Nt({},wr)),Gr()},value:wr.type},Wt.createElement(g.ZP,{value:1},"\u5168\u90E8"),Wt.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),Wt.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(wr==null?void 0:wr.type)===3&&Wt.createElement(F.default,{onChange:Dr=>{wr.course_id=Dr,mr(Nt({},wr)),Gr()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Vn=Gn==null?void 0:Gn.courses)==null?void 0:Vn.map(Dr=>Wt.createElement(F.default.Option,{value:Dr==null?void 0:Dr.id},Dr==null?void 0:Dr.name)))),Wt.createElement("div",{style:{marginTop:"16rem",display:"flex"}},Wt.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%)`}},Wt.createElement("img",{src:un}),Wt.createElement("div",{style:{marginTop:"20rem"}},Wt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),Wt.createElement("div",{className:n.xxrscount},(yr=Gn==null?void 0:Gn.data)==null?void 0:yr.study_count))),Wt.createElement("div",{className:n.right},Wt.createElement("div",{className:n.righttop},Wt.createElement("img",{src:Jt}),Wt.createElement("div",null,Wt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),Wt.createElement("div",{className:n.xxrscount},(Kn=Gn==null?void 0:Gn.data)==null?void 0:Kn.study_complete_rate,"%"))),Wt.createElement("div",{className:n.rightbottom},Wt.createElement("img",{src:Bt}),Wt.createElement("div",null,Wt.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),Wt.createElement("div",{className:n.xxrscount},(pr=Gn==null?void 0:Gn.data)==null?void 0:pr.study_grasp_rate,"%"))))),Wt.createElement(hn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),Wt.createElement(Nn.Z,{option:On(Jn),style:{height:300,width:400},opts:{renderer:"svg"}}),Wt.createElement(hn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),(Ar==null?void 0:Ar.length)>0?Wt.createElement(tn.Z,{labelTextColor:"#333",dataSource:Ar}):Wt.createElement(qt.NoData,{children:Wt.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Z=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(z),$=w(82549),se=w(59301),Ge=Object.defineProperty,at=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,Rt=(et,Lt,At)=>Lt in et?Ge(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,Gt=(et,Lt)=>{for(var At in Lt||(Lt={}))_t.call(Lt,At)&&Rt(et,At,Lt[At]);if(at)for(var At of at(Lt))dt.call(Lt,At)&&Rt(et,At,Lt[At]);return et},ze=(et,Lt)=>{var At={};for(var yn in et)_t.call(et,yn)&&Lt.indexOf(yn)<0&&(At[yn]=et[yn]);if(et!=null&&at)for(var yn of at(et))Lt.indexOf(yn)<0&&dt.call(et,yn)&&(At[yn]=et[yn]);return At},Re=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).next())});const ye=[{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)"}}],Te=et=>{var Lt=et,{pathsDetail:At,user:yn,globalSetting:Qn,loading:vt,dispatch:vr,uuid:Tn}=Lt,Yt=ze(Lt,["pathsDetail","user","globalSetting","loading","dispatch","uuid"]),Vn,yr,Kn,pr;const Rn=(0,k.useParams)();let[wr,mr]=(0,h.useState)({subject_id:Rn==null?void 0:Rn.pathId,course_id:"",parentNodeUuid:Tn,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()},[Tn]);function Gr(){return Re(this,null,function*(){var Dr,ur,ca;let da=yield(0,t.ZP)("/api/knowledge/v2/knowledge_statistics.json",{method:"get",params:wr});br(da);let sa=Object.entries((Dr=da==null?void 0:da.data)==null?void 0:Dr.study_grasp_hash).map(([$r,Ea],Lr)=>({name:$r,value:Ea,itemStyle:ye[Lr].itemStyle})),fa=Object.entries((ur=da==null?void 0:da.data)==null?void 0:ur.study_complete_hash).map(([$r,Ea],Lr)=>({name:$r,value:Ea}));ra(fa),((ca=sa==null?void 0:sa.filter($r=>($r==null?void 0:$r.value)>0))==null?void 0:ca.length)===0?Ir([]):Ir(sa)})}return se.createElement("div",{className:n.DetailStatistics},Jn.get("type")!=="classrooms"&&se.createElement("div",{className:n.header},se.createElement("span",{className:n.title},"\u7EDF\u8BA1\u8303\u56F4"),se.createElement(g.ZP.Group,{onChange:Dr=>{wr.type=Dr.target.value,mr(Gt({},wr)),Gr()},value:wr.type},se.createElement(g.ZP,{value:1},"\u5168\u90E8"),se.createElement(g.ZP,{value:2},"\u81EA\u4E3B\u5B66\u4E60"),se.createElement(g.ZP,{value:3},"\u8BFE\u5802\u5B66\u4E60")),(wr==null?void 0:wr.type)===3&&se.createElement(F.default,{onChange:Dr=>{wr.course_id=Dr,mr(Gt({},wr)),Gr()},style:{marginLeft:"-15rem",width:"148rem",height:"36rem"}},(Vn=Gn==null?void 0:Gn.courses)==null?void 0:Vn.map(Dr=>se.createElement(F.default.Option,{value:Dr==null?void 0:Dr.id},Dr==null?void 0:Dr.name)))),se.createElement("div",{style:{marginTop:"16rem",display:"flex"}},se.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%)`}},se.createElement("img",{src:un}),se.createElement("div",{style:{marginTop:"20rem"}},se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u4EBA\u6570"),se.createElement("div",{className:n.xxrscount},(yr=Gn==null?void 0:Gn.data)==null?void 0:yr.study_count))),se.createElement("div",{className:n.right},se.createElement("div",{className:n.righttop},se.createElement("img",{src:Jt}),se.createElement("div",null,se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u5B8C\u6210\u7387"),se.createElement("div",{className:n.xxrscount},(Kn=Gn==null?void 0:Gn.data)==null?void 0:Kn.study_complete_rate,"%"))),se.createElement("div",{className:n.rightbottom},se.createElement("img",{src:Bt}),se.createElement("div",null,se.createElement("div",{className:n.xxrs},"\u5B66\u4E60\u638C\u63E1\u7387"),se.createElement("div",{className:n.xxrscount},(pr=Gn==null?void 0:Gn.data)==null?void 0:pr.study_grasp_rate,"%"))))),se.createElement(hn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u5B8C\u6210\u5360\u6BD4\u60C5\u51B5"),se.createElement(Nn.Z,{option:On(Er),style:{height:300,width:400},opts:{renderer:"svg"}}),se.createElement(hn.Z,{variant:"dashed",style:{borderColor:"#333333"},dashed:!0},"\u638C\u63A7\u7387"),(Ar==null?void 0:Ar.length)>0?se.createElement(tn.Z,{labelTextColor:"#333",dataSource:Ar}):se.createElement($.Z,{children:se.createElement("div",{style:{textAlign:"center",fontSize:"14rem"}},"\u6682\u65E0\u638C\u63A7\u7387\u6570\u636E")}))};var Ie=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(Te),Ke=w(47171),he=w(1392),Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAXlJREFUOE/VlD1Lw1AUhp+YmkGQSnFR8AcUoSJ+LiKCqINQqIODbk51ETpaVHTyD6h/QQddXMRNRal1qLaDOhSFQicdiiKUNrkSmzQxH6WCg2a6Iec+7z3ve24kIYTMLz7SPwSmozPI2h6InroTkqQvywjOQNlm4PDczyV3yxfDT4AFa97fAmhxN/C0u9o8w6wUtYUkFdzAk1CVyC4E+x3cr7YBY7NTtZSB7DLewKF9Xa4xwAnUfU7P+wBHjjy6dgqY77a2r2MG8GV9CaQdhAhYJI8NnuYqEBgFqQ1SswawmEiCttnQIxfMdmKlD5QIXE0ZwMJKGPUjV0uqyYzNbPR6OQTBRbgct3mYX7hDiN46zr7BHq6fYGccUlEb8GFuDaFuuKbCNwtDURgFHdOQTdqA97Ewlfec75xZ99DbE6ULno8dY5MZs9r2mV/fbPQPr3kH8GZwFVXd+lE4doXyW/H7TbmdaKf0eIBWmQRamszbLNOQWxN//wf7CYUnn95U81GtAAAAAElFTkSuQmCC",tt=w(17960),me=w(79939),_e=w(53420),Ee={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"},Xe=w(5300),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=w(51164),bt=w(24334);const Tt=["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 on=({qitem:et})=>{var Lt,At,yn,Qn,vt,vr,Tn,Yt,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:(Lt=et==null?void 0:et.program_attr)==null?void 0:Lt.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:Tt[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,(yn=et==null?void 0:et.choices)==null?void 0:yn.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:Tt[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 Rn;return h.createElement("div",{style:{display:"flex"}},h.createElement("span",{className:Se.title},"\u586B\u7A7A\u9879",pr+1),h.createElement("div",{className:Se.content},(Rn=Kn==null?void 0:Kn.answer_text)==null?void 0:Rn.map((wr,mr)=>h.createElement("div",{className:Se.items},wr))))})),(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"}},(vt=et==null?void 0:et.answer_texts)!=null&&vt[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&&((Tn=et==null?void 0:et.challenge_names)==null?void 0:Tn.map((Kn,pr)=>h.createElement("div",{className:Se.shixun},h.createElement("span",{className:Se.qtitle},h.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Be.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:((Yt=et==null?void 0:et.program_attr)==null?void 0:Yt.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 Rn,wr,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")&&((Rn=Kn==null?void 0:Kn.choices)==null?void 0:Rn.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:Tt[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"&&((wr=Kn==null?void 0:Kn.choices)==null?void 0:wr.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:Tt[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~")))))},Sn=w(80003),_n=w(28215),nn=w(61485),dn=w(53245),mn=w(83916),Pt=w(59301),wn=Object.defineProperty,jn=Object.defineProperties,Cn=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,sr=(et,Lt,At)=>Lt in et?wn(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,Bn=(et,Lt)=>{for(var At in Lt||(Lt={}))er.call(Lt,At)&&sr(et,At,Lt[At]);if(Fn)for(var At of Fn(Lt))Cr.call(Lt,At)&&sr(et,At,Lt[At]);return et},or=(et,Lt)=>jn(et,Cn(Lt)),fr=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).next())});const nr=({setScoreShow:et,ScoreShow:Lt,listitem:At,onOk:yn,isshixuns:Qn,isloadings:vt,dispatch:vr,isIntelligentAssistant:Tn=!1,ispptModal:Yt=!1,isChangeQuestion:Vn=!1,newExercisePaper:yr,shixunsDetail:Kn})=>{var pr;let[Rn,wr]=(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:Tn,is_smart_plan:Yt,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[$r,Ea]=(0,h.useState)(Qn);const[Lr,Qr]=(0,h.useState)([]),[fn,kn]=(0,h.useState)(0),[Yn,Br]=(0,h.useState)(!0),[jt,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(),$r=!1,Ea(!1),ei(!1),ur.submit()};(0,h.useEffect)(()=>{var pn,cr;(((pn=At==null?void 0:At.questionIdArr)==null?void 0:pn.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)(()=>{Lt&&(ur.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Yn&&$r&&(ur.setFieldsValue({item_type:"SHIXUN"}),Rn.item_type="SHIXUN",wr(Bn({},Rn)),Br(!1)),va(Rn),jr(),za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Lt]),(0,h.useEffect)(()=>{fn>0&&setTimeout(()=>{kn(0)},2e3)},[fn]);function va(pn){return fr(this,null,function*(){var cr,xa,Sr;if(Dr(!0),wr(Bn({},pn)),(Ir==null?void 0:Ir.length)<=0&&pn.type==="5"){ra([]),Dr(!1);return}let ta=pn.type==="5"?Ir==null?void 0:Ir.filter(ua=>!Lr.includes(ua)):null,Ur=pn.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(Bn({},pn),{discipline_id:((cr=pn==null?void 0:pn.courseid)==null?void 0:cr[0])||null,sub_discipline_id:((xa=pn==null?void 0:pn.courseid)==null?void 0:xa[1])||null,ids:ta,shixun_ids:Ur,include_shixuns:!Tn,group_id:((Sr=pn.group_id)==null?void 0:Sr.map(ua=>ua==null?void 0:ua.value))||null,keyword:pn.keyword?encodeURIComponent(pn.keyword):pn.keyword,type:pn.type==="5"?null:pn.type,clazz:pn.type==="3"?"ItemBanksGroup":null,bigmodel:Tn,is_smart_plan:Yt})});ra(Zr),Dr(!1)})}function jr(){return fr(this,null,function*(){let pn=yield(0,t.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Rn.type==="5"?null:Rn.type,clazz:"ItemBanksGroup"}});Gn((0,Xe.L)(pn==null?void 0:pn.disciplines))})}function za(pn){return fr(this,null,function*(){var cr;let xa=yield(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:pn}),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(pn){return fr(this,null,function*(){var cr,xa,Sr,ta;Dr(!0);let Ur=(cr=pn.list)==null?void 0:cr.filter(Ya=>!Lr.includes(Ya)),Zr=(xa=pn.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(Bn({},pn),{discipline_id:((Sr=pn==null?void 0:pn.courseid)==null?void 0:Sr[0])||null,sub_discipline_id:((ta=pn==null?void 0:pn.courseid)==null?void 0:ta[1])||null,ids:Ur,shixun_ids:Zr,type:pn.type==="5"?null:pn.type,clazz:pn.type==="3"?"ItemBanksGroup":null})});Dr(!1),ra(ua)})}const mi=pn=>fr(void 0,null,function*(){const cr=yield vr({type:"shixunsDetail/release",payload:{id:pn}});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(Rn),!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=pn=>(pn==null?void 0:pn.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=(pn,cr,xa)=>pn.map(Sr=>Sr.key===cr?Bn(Bn({},Sr),xa):Sr.children?or(Bn({},Sr),{children:Vr(Sr.children,cr,xa)}):Sr),Ha=pn=>fr(void 0,null,function*(){const{key:cr}=pn;let xa=Rn.type;const Sr=yield(0,mn.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(pn){console.log("----",Rn),pn==="1"&&(na.gg=Bn({},Rn)),pn==="2"&&(na.scj=Bn({},Rn)),pn==="3"&&(na.ttgx=Bn({},Rn)),pn==="0"&&(na.wcjd=Bn({},Rn)),pn==="5"&&(na.yx=Bn({},Rn)),la(Bn({},na))}function La(){Rn.type==="1"&&(Rn=na.gg),Rn.type==="2"&&(Rn=na.scj),Rn.type==="3"&&(Rn=na.ttgx),Rn.type==="0"&&(Rn=na.wcjd),Rn.type==="5"&&(Rn=na.yx),(Rn==null?void 0:Rn.item_type)==="SHIXUN"?($r=!0,Ea(!0)):($r=!1,Ea(!1)),ur.setFieldsValue(Bn({},Rn)),wr(Bn({},Rn)),va(Bn({},Rn))}return Pt.createElement("div",null,Pt.createElement(m.default,{title:!1,footer:!1,open:Lt,width:1200,centered:!0,className:Ee.scoremodal,onCancel:()=>{et(!1)}},Pt.createElement("div",{style:{display:"flex",alignItems:"center"}},Pt.createElement("div",{className:Ee.title},Tn?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Tn&&Pt.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"),Pt.createElement(l.default,{className:Ee.tabWrap,activeKey:Rn.type,onChange:pn=>{pn==="3"?(Rn.show_all_share=!0,za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Rn.show_all_share=null,pn==="0"&&za({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Oa(Rn.type),Rn.type=pn,(Rn==null?void 0:Rn.item_type)==="SHIXUN"&&Rn.type!=="5"&&($r=!0,Ea(!0)),ei(!1),Rn.type==="5"&&($r=!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:Pt.createElement("div",null,"\u5DF2\u9009",Ir.length>0&&Pt.createElement("span",{className:Ee.titlecount},Ir.length),fn>0&&Pt.createElement("span",{className:Ee.add},"+",fn)),key:"5"}]}),Pt.createElement(P.default,{layout:"inline",form:ur,onValuesChange:(pn,cr)=>{const xa=Object.values(cr).some(ta=>ta!==null&&ta!==""&&ta!==void 0),Sr=cr.keyword==="";if(ei(xa||!Sr),Rn.page=1,(cr==null?void 0:cr.item_type)==="SHIXUN"){if(Rn.type==="5"?Ea(!1):Ea(!0),pn.keyword||pn.keyword==="")return;ur.submit()}else{if(pn!=null&&pn.courseid&&ur.setFieldsValue({tag_discipline_id:""}),Ea(!1),pn.keyword||pn.keyword==="")return;ur.submit()}},onFinish:pn=>{var cr;Rn.type==="3"&&(!pn.group_id||((cr=pn==null?void 0:pn.group_id)==null?void 0:cr.length)===0)?Rn.show_all_share=!0:Rn.show_all_share=null,wr(Bn(Bn({},Rn),pn)),va(Bn(Bn({},Rn),pn))}},Pt.createElement(P.default.Item,{name:"item_type"},Pt.createElement(F.default,{className:Ee.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(Yt?Zn:Tn?Aa==null?void 0:Aa.filter(pn=>pn.question_type!==5):Aa).map(pn=>Pt.createElement(F.default.Option,{key:pn.value},pn.name)))),Pt.createElement(P.default.Item,{name:"courseid"},Pt.createElement(me.Z,{className:Ee.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:mr})),!$r&&Pt.createElement(P.default.Item,{name:"tag_discipline_id"},Pt.createElement(F.default,{className:Ee.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(pn=>Pt.createElement(F.default.Option,{key:pn.id},pn.name)))),Pt.createElement(P.default.Item,{name:$r?"diff":"difficulty"},Pt.createElement(F.default,{className:Ee.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},ha.map(pn=>Pt.createElement(F.default.Option,{key:pn.value},pn.name)))),$r&&Pt.createElement(P.default.Item,{name:"shixun_publish_status"},Pt.createElement(F.default,{className:Ee.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Xa.map(pn=>Pt.createElement(F.default.Option,{key:pn.value},pn.name)))),(Rn.type==="3"||Rn.type==="0")&&!$r&&Pt.createElement(P.default.Item,{name:"group_id"},Pt.createElement(_e.default,{treeDataSimpleMode:!0,style:{width:118},className:Ee.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(pn,cr)=>cr.title.toUpperCase().indexOf(pn.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:jt})),Wa&&Pt.createElement("span",{className:Ee.allqingchu,onClick:Fa},Pt.createElement("i",{className:"iconfont icon-guanbi4"}),Pt.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Pt.createElement(P.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Pt.createElement(E.default.Search,{className:Ee.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Pt.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Ee.searchIcon}`,onClick:()=>ur.submit()}),onSearch:pn=>{ur.submit()}}))),Pt.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Pt.createElement("div",{onClick:()=>{Rn.updated_at==="asc"?Rn.updated_at="desc":Rn.updated_at="asc",wr(or(Bn({},Rn),{page:1})),va(or(Bn({},Rn),{page:1}))}}," ",Rn.updated_at?Pt.createElement("img",{src:Rn.updated_at==="asc"?Sn.Z:_n.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Pt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Pt.createElement("div",{onClick:()=>{Rn.quotes==="asc"?Rn.quotes="desc":Rn.quotes="asc",wr(or(Bn({},Rn),{page:1})),va(or(Bn({},Rn),{page:1}))},style:{marginLeft:20}}," ",Rn.quotes?Pt.createElement("img",{src:Rn.quotes==="asc"?Sn.Z:_n.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Pt.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Pt.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:pn=>pn.id,rowSelection:{type:Tn||Vn?"radio":"checkbox",selectedRowKeys:br,getCheckboxProps:pn=>({disabled:pn.shixun_tag_num===1||(ya==null?void 0:ya.find(cr=>pn.id===cr))}),onSelect(pn,cr,xa){if(Tn||Vn){Ar([pn.id]),_a.current=new Set([pn.id]),kn(1),Jn([pn.id]);return}if(cr)($r||pn!=null&&pn.challenge_names)&&Qr([...Lr,pn.id]),Ar([...br,pn.id]),pn.identifier?Jr.current.add(pn.id):_a.current.add(pn.id),kn(1),Jn([...Ir,pn.id]);else{pn.identifier?Jr.current.delete(pn.id):_a.current.delete(pn.id);let Sr=Ir.filter(ta=>ta!==pn.id);if(Ar(Sr),Jn(Sr),$r||pn!=null&&pn.challenge_names){let ta=Lr.filter(Ur=>Ur!==pn.id);Qr([...ta])}if(Rn.type==="5"){vi(or(Bn({},Rn),{list:[...Sr]}));return}}},onSelectAll(pn,cr,xa){var Sr,ta;if(pn){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]),Rn.type==="5"&&vi(or(Bn({},Rn),{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:(pn,cr,xa)=>{var Sr,ta;return Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",null,$r||cr!=null&&cr.challenge_names?"\u5B9E\u8BAD\u9898":(ta=(Sr=Aa==null?void 0:Aa.filter(Ur=>Ur.value===pn))==null?void 0:Sr[0])==null?void 0:ta.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:$r?"30%":"60%",key:"name",render:(pn,cr,xa)=>{var Sr;return Pt.createElement("div",{style:{display:"flex",alignItems:"center"}},Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",{className:cr!=null&&cr.high_resources_consume?Ee.q_title:""},Pt.createElement(ut.Z,{key:1,showLines:1,showTextOnly:!0,value:$r||cr!=null&&cr.challenge_names?cr!=null&&cr.title||pn===null?"--":pn:(cr==null?void 0:cr.item_type)=="BPROGRAM"?(Sr=cr==null?void 0:cr.program_attr)==null?void 0:Sr.description:pn}))),(cr==null?void 0:cr.high_resources_consume)&&Pt.createElement(dn.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!$r,render:(pn,cr,xa)=>{var Sr;return Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("span",null,pn?(Sr=pn==null?void 0:pn.split("\u3001"))==null?void 0:Sr[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!$r,render:(pn,cr,xa)=>Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("span",null,pn||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(pn,cr,xa)=>{var Sr,ta,Ur,Zr;return Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",null,$r||cr!=null&&cr.challenge_names?(cr==null?void 0:cr.level)||((ta=(Sr=ha==null?void 0:ha.filter(ua=>ua.value===pn))==null?void 0:Sr[0])==null?void 0:ta.name):(Zr=(Ur=ha==null?void 0:ha.filter(ua=>ua.value===pn))==null?void 0:Ur[0])==null?void 0:Zr.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!$r,render:(pn,cr,xa)=>Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",null,pn||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(pn,cr,xa)=>Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",null,$r||cr!=null&&cr.challenge_names?(cr==null?void 0:cr.study_count)||(cr==null?void 0:cr.stu_num):pn))},{title:Pt.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Pt.createElement(d.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Pt.createElement(nn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!$r,render:(pn,cr,xa)=>Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",null,pn||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(pn,cr,xa)=>Pt.createElement(d.Z,{title:ir(cr)},Pt.createElement("div",{style:{flex:1,textAlign:"start"}},Pt.createElement("a",{onClick:()=>{var Sr,ta;da(or(Bn({},cr),{question_type:$r||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&&Pt.createElement("a",{style:{marginLeft:10},onClick:()=>{m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Pt.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Pt.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(pn=>!pn.hidden)}),Pt.createElement(j.Z,{current:Rn.page,total:(Er==null?void 0:Er.items_count)||(Er==null?void 0:Er.shixuns_count),style:{marginBottom:20},defaultPageSize:Rn.per_page,showTotal:pn=>Pt.createElement("span",null,"\u5171\xA0",Pt.createElement("span",{style:{color:"#165DFF"}},pn),"\xA0\u6761\u6570\u636E"),pageSize:Rn.per_page,onChange:(pn,cr)=>{Rn.page=pn,Rn.per_page=cr,wr(Bn({},Rn)),va(Bn({},Rn))}}),Pt.createElement("div",{className:Ee.bottom},Pt.createElement(p.ZP,{className:Ee.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Pt.createElement(p.ZP,{loading:vt,style:{width:vt&&75},className:Ee.yes,onClick:()=>fr(void 0,null,function*(){if((Ir==null?void 0:Ir.length)<=0){_.ZP.info(Tn||Vn?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}console.log("----",_a.current,Jr.current),yn([..._a.current],[...Jr.current],!0,Ir==null?void 0:Ir.length)})},Tn?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Pt.createElement(m.default,{open:sa,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Ee.previewModal,width:1e3,centered:!0,onCancel:()=>{fa(!1)},onOk:()=>{fa(!1)}},Pt.createElement(on,{qitem:ca})))};var tr=(0,k.connect)(({shixunsDetail:et,newExercisePaper:Lt})=>({shixunsDetail:et,newExercisePaper:Lt}))(nr),qn=w(30677),Mr=w(3705),St=w(59301),Hr=Object.defineProperty,Rr=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,lr=(et,Lt,At)=>Lt in et?Hr(et,Lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):et[Lt]=At,An=(et,Lt)=>{for(var At in Lt||(Lt={}))ea.call(Lt,At)&&lr(et,At,Lt[At]);if(Wr)for(var At of Wr(Lt))ar.call(Lt,At)&&lr(et,At,Lt[At]);return et},Kt=(et,Lt)=>Rr(et,kr(Lt)),Qt=(et,Lt,At)=>new Promise((yn,Qn)=>{var vt=Yt=>{try{Tn(At.next(Yt))}catch(Vn){Qn(Vn)}},vr=Yt=>{try{Tn(At.throw(Yt))}catch(Vn){Qn(Vn)}},Tn=Yt=>Yt.done?yn(Yt.value):Promise.resolve(Yt.value).then(vt,vr);Tn((At=At.apply(et,Lt)).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:Lt,globalSetting:At,loading:yn,dispatch:Qn,items:vt,showdetail:vr,setshowdetail:Tn,containerRef:Yt,getData:Vn,setshow:yr,Tabsdatas:Kn,uuid:pr,tpacti:Rn,initdata:wr,routeData:mr={}})=>{var Gn,br,Ar,Ir,Jn,Er,ra,Gr,Dr,ur,ca,da,sa,fa,$r,Ea,Lr,Qr,fn,kn,Yn,Br,jt,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,pn]=(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)(),[qa,Ai]=(0,h.useState)();let[Ma,pi]=(0,h.useState)([]);const[Bi,xo]=(0,h.useState)({}),[Co,$i]=(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),[Bo,ia]=(0,h.useState)(!1),[eo,Qi]=(0,h.useState)(!1),[bi,uo]=(0,h.useState)([]);let[wi,co]=(0,h.useState)({tags:[],tagszy:[],tagslx:[]});const[po,No]=(0,h.useState)([{label:"\u5B9E\u8BAD",children:St.createElement(we,{getother:ji,types:"1",ktzykey:cr,onChange:wt=>{ta(wt)}}),key:"1"},{label:"\u89C6\u9891",children:St.createElement(we,{getother:ji,types:"2",ktzykey:cr,onChange:wt=>{ta(wt)}}),key:"2"},{label:"\u8BFE\u4EF6",children:St.createElement(we,{getother:ji,types:"3",ktzykey:cr,onChange:wt=>{ta(wt)}}),key:"3"},{label:"\u8BD5\u5377",children:St.createElement(we,{getother:ji,types:"4",ktzykey:cr,onChange:wt=>{console.log("----",wt),ta(wt)}}),key:"4"}].filter(wt=>!!wt));let[So,Fo]=(0,h.useState)([]),[Do,wo]=(0,h.useState)([]);const[Ho,fo]=(0,h.useState)(0),[Uo,go]=(0,h.useState)(0),[Ni,Oo]=(0,h.useState)([]),[Yr,Li]=(0,h.useState)({bh:[],qx:[],hx:[],gl:[]}),Vi=wt=>{var Nr,qr;return(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:((Nr=wt==null?void 0:wt.items)==null?void 0:Nr.uuid)||((qr=wt==null?void 0:wt.items)==null?void 0:qr.id)}}),Qn({type:"userDetail/logWatchHistory",payload:An({},wt)})},Wo=wt=>((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:An({},wt)}));function zo(){return Qt(this,null,function*(){Qi(!0);let wt=yield(0,t.ZP)("/api/knowledge/v2/knowledge_resources.json",{method:"get",params:An({subject_id:jr==null?void 0:jr.pathId,uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id)},mr)});Qi(!1),(wt==null?void 0:wt.status)===0&&uo(wt==null?void 0:wt.data)})}const to={maxCount:1,fileList:Ma,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:wt=>{var Nr,qr;if(!(wt.type==="video/mp4")&&((qr=(Nr=ir==null?void 0:ir.label)==null?void 0:Nr[0])==null?void 0:qr.name)==="\u89C6\u9891")return _.ZP.error("\u53EA\u80FD\u4E0A\u4F20\u89C6\u9891"),B.default.LIST_IGNORE},action:`${U.Z.API_SERVER}/api/attachments.json`,onChange:wt=>{pi(wt==null?void 0:wt.fileList)}};function Mo(){return Qt(this,null,function*(){var wt,Nr,qr,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=(wt=Ca==null?void 0:Ca.data)==null?void 0:wt.nodes)==null?void 0:zr.splice(1,(qr=(Nr=Ca==null?void 0:Ca.data)==null?void 0:Nr.nodes)==null?void 0:qr.length))==null?void 0:Ra.map(ja=>{var ti,ci,hi;return An({label:(ti=ja==null?void 0:ja.properties)==null?void 0:ti.name,children:St.createElement(Ce,{onChange:Ri=>{sessionStorage.setItem("typesdatajsoncopy",JSON.stringify(Ri))},itemsuuid:vt==null?void 0:vt.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 wt;let Nr=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:3,subject_id:jr==null?void 0:jr.pathId}});(Nr==null?void 0:Nr.status)===0&&(wi.tags=Nr==null?void 0:Nr.data,co(An({},wi)));let qr=yield(0,t.ZP)("/api/knowledge_items.json",{method:"get",params:{item_type:5,subject_id:jr==null?void 0:jr.pathId}});(qr==null?void 0:qr.status)===0&&(wi.tagszy=[...hr,...qr==null?void 0:qr.data2],wi.tagslx=[...Tr,...qr==null?void 0:qr.data],co(An({},wi)));let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:vt==null?void 0:vt.resourceUrl,item_banks_group_ids:vt==null?void 0:vt.itemBanksGroupIds}});if(ki(""),Di([]),localStorage.setItem("container_type_tupu",zr==null?void 0:zr.container_type),(vt==null?void 0:vt.nodeType)==="\u89C6\u9891"&&(((wt=zr==null?void 0:zr.attachment)==null?void 0:wt.file_type)==="video"||(zr==null?void 0:zr.container_type)==="video")&&ki(zr==null?void 0:zr.id),(vt==null?void 0:vt.resourceOrigin)===1&&(vt==null?void 0:vt.nodeType)!=="\u9898\u96C6"){let Ra={url:vt==null?void 0:vt.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])}(vt==null?void 0:vt.resourceOrigin)===1&&(vt==null?void 0:vt.nodeType)==="\u9898\u96C6"&&Di(zr==null?void 0:zr.item_banks_groups),(vt==null?void 0:vt.resourceOrigin)===2&&pi([{uid:"123",name:zr==null?void 0:zr.name,response:{id:"123",url:vt==null?void 0:vt.resourceUrl}}])})}function ji(wt){return Qt(this,null,function*(){var Nr,qr;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt}});(zr==null?void 0:zr.status)===0&&((zr==null?void 0:zr.container_type)==="att"?xo({url:U.Z.API_SERVER+((Nr=zr==null?void 0:zr.attachment)==null?void 0:Nr.url),file_type:(qr=zr==null?void 0:zr.attachment)==null?void 0:qr.file_type}):window.open(wt))})}function yo(){return Qt(this,null,function*(){let wt=yield(0,t.ZP)("/api/knowledge/v2/item_bank_groups.json",{method:"get",params:{subject_id:jr==null?void 0:jr.pathId}});(wt==null?void 0:wt.status)===0&&Xi(wt==null?void 0:wt.data)})}function gi(){return Qt(this,null,function*(){var wt,Nr,qr,zr,Ra,Ca;Zr(1);let Da=yield(0,t.ZP)("/api/knowledge/v2/get_node_detail.json",{method:"get",params:{nodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.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((wt=Da==null?void 0:Da.data)==null?void 0:wt.nodes),ui((qr=(Nr=Da==null?void 0:Da.data)==null?void 0:Nr.nodes)==null?void 0:qr.filter(ti=>{var ci;return((ci=ti==null?void 0:ti.properties)==null?void 0:ci.uuid)===(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.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:St.createElement(Et,{datas:Da==null?void 0:Da.data,items:ti==null?void 0:ti.childNodeUuids}),key:ci}})];go(0),Do=ja,wo(ja)}})}(0,h.useEffect)(()=>{vr&&(gi(),ho())},[vr,vt]);const To=(...wt)=>Qt(void 0,[...wt],function*(Nr={}){return yield Qn({type:"pathsDetail/getKnowledgeGraphs",payload:An({graphable_type:io.get("type")==="classrooms"?"course":"subject",graphable_id:jr==null?void 0:jr.pathId},Nr)})});return St.createElement(he.Z,null,St.createElement("div",null,vr&&St.createElement(C.Z,{open:vr,width:"700rem",maskStyle:{background:"#000",opacity:"0.1"},keyboard:!0,maskClosable:!0,closable:!1,rootClassName:n.drawer,getContainer:()=>Yt.current,onClose:()=>{Tn(!1),ki("")}},St.createElement("div",{className:n.detailmodal},St.createElement("div",null,St.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"&&St.createElement("i",{className:"iconfont icon-bianji-moren",onClick:()=>Qt(void 0,null,function*(){var wt,Nr,qr,zr,Ra,Ca,Da,ja,ti,ci;let hi=(wt=qa==null?void 0:qa.filter(ne=>(ne==null?void 0:ne.type)==="\u88AB\u5305\u542B"&&(ne==null?void 0:ne.startNodeUuid)===((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id))))==null?void 0:wt.map(ne=>{var Le,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Le=Ni==null?void 0:Ni.find(ot=>{var ft;return((ft=ot==null?void 0:ot.properties)==null?void 0:ft.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Le.properties)==null?void 0:ke.name}}),Ri=(Nr=qa==null?void 0:qa.filter(ne=>(ne==null?void 0:ne.type)==="\u5305\u542B"&&(ne==null?void 0:ne.startNodeUuid)===((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id))))==null?void 0:Nr.map(ne=>{var Le,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Le=Ni==null?void 0:Ni.find(ot=>{var ft;return((ft=ot==null?void 0:ot.properties)==null?void 0:ft.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Le.properties)==null?void 0:ke.name}});Lo(Ri);let ni=(qr=qa==null?void 0:qa.filter(ne=>(ne==null?void 0:ne.type)==="\u524D\u5E8F"&&(ne==null?void 0:ne.startNodeUuid)===((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id))))==null?void 0:qr.map(ne=>{var Le,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Le=Ni==null?void 0:Ni.find(ot=>{var ft;return((ft=ot==null?void 0:ot.properties)==null?void 0:ft.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Le.properties)==null?void 0:ke.name}}),no=(zr=qa==null?void 0:qa.filter(ne=>(ne==null?void 0:ne.type)==="\u540E\u5E8F"&&(ne==null?void 0:ne.startNodeUuid)===((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id))))==null?void 0:zr.map(ne=>{var Le,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Le=Ni==null?void 0:Ni.find(ot=>{var ft;return((ft=ot==null?void 0:ot.properties)==null?void 0:ft.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Le.properties)==null?void 0:ke.name}}),ro=(Ra=qa==null?void 0:qa.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)===((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id))))==null?void 0:Ra.map(ne=>{var Le,ke;return{uuid:ne==null?void 0:ne.endNodeUuid,name:(ke=(Le=Ni==null?void 0:Ni.find(ot=>{var ft;return((ft=ot==null?void 0:ot.properties)==null?void 0:ft.uuid)===(ne==null?void 0:ne.endNodeUuid)}))==null?void 0:Le.properties)==null?void 0:ke.name}});if(Li({bh:hi,qx:ni,hx:no,gl:ro}),(vt==null?void 0:vt.colorType)=="1"){Mr.Z.publish("update_a_knowledge_map",{name:vt.name,description:vt.description,nodeType:vt==null?void 0:vt.nodeType,settingbh:Ri,typesdata:{bh:hi,qx:ni,hx:no,gl:ro},items:vt});return}vi(3),Tn(!1);let de={name:vt.name,description:vt.description,label:((Da=(Ca=ka==null?void 0:ka[0])==null?void 0:Ca.labels)==null?void 0:Da[1])==="\u8D44\u6E90"?(ja=wi==null?void 0:wi.tagszy)==null?void 0:ja.filter(ne=>(ne==null?void 0:ne.name)===(vt==null?void 0:vt.nodeType)):(ti=wi==null?void 0:wi.tagslx)==null?void 0:ti.filter(ne=>(ne==null?void 0:ne.name)===(vt==null?void 0:vt.nodeType)),tag:(ci=wi==null?void 0:wi.tags)==null?void 0:ci.filter(ne=>{var Le,ke;return(ke=(Le=vt==null?void 0:vt.tags)==null?void 0:Le.map(ot=>ot==null?void 0:ot.name))==null?void 0:ke.includes(ne==null?void 0:ne.name)}),resourceOrigin:vt.resourceOrigin,url:(vt==null?void 0:vt.resourceOrigin)===3?vt==null?void 0:vt.resourceUrl:""};mi.setFieldsValue(de),Vr(de)}),style:{color:"#1B8565",marginLeft:10,cursor:"pointer"}})),St.createElement("div",{style:{display:"flex",alignItems:"center"}},(vt==null?void 0:vt.colorType)!=="1"&&((Ir=et==null?void 0:et.detail)==null?void 0:Ir.can_managed)&&pr!=="\u5B66\u4E60\u8DEF\u5F84"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:(0,re.debounce)(()=>Qt(void 0,null,function*(){var wt,Nr;let qr=yield(0,t.ZP)("/api/knowledge/v2/get_node.json",{method:"get",params:{nodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),subject_id:jr==null?void 0:jr.pathId,depth:1,relationshipFilter:"\u88AB\u5305\u542B>"}});if((qr==null?void 0:qr.status)===0){let zr=(Nr=(wt=qr==null?void 0:qr.data)==null?void 0:wt.nodes)==null?void 0:Nr.filter(Ca=>{var Da;return((Da=Ca==null?void 0:Ca.properties)==null?void 0:Da.uuid)!==((vt==null?void 0:vt.keys)||(vt==null?void 0:vt.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),Tn(!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"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:()=>{var wt,Nr;((Nr=(wt=Yr==null?void 0:Yr.bh)==null?void 0:wt.filter(qr=>(qr==null?void 0:qr.uuid)===(vt==null?void 0:vt.id)))==null?void 0:Nr.length)>0||Yr.bh.push({name:vt==null?void 0:vt.name,uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id)}),vi(2),Tn(!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"&&St.createElement(p.ZP,{className:n.button,onClick:()=>{let wt="";m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:Yt.current,content:St.createElement("div",null,St.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",St.createElement("span",{style:{color:"red"}},"\u201C\u786E\u8BA4\u5220\u9664\u201D")),St.createElement(E.default,{onChange:Nr=>{wt=Nr.target.value}})),onOk:()=>Qt(void 0,null,function*(){if(wt!=="\u786E\u8BA4\u5220\u9664")return _.ZP.info("\u8BF7\u8F93\u5165\u786E\u8BA4\u5220\u9664"),Promise.reject();if(wt==="\u786E\u8BA4\u5220\u9664"){let Nr=yield(0,t.ZP)("/api/knowledge/v2/del_node.json",{method:"post",body:{uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),subject_id:jr==null?void 0:jr.pathId}});(Nr==null?void 0:Nr.status)===0&&(_.ZP.info("\u5220\u9664\u6210\u529F"),To({graphable_id:jr==null?void 0:jr.pathId}),(vt==null?void 0:vt.colorType)!=="1"?(yr(!1),Vn()):wr(),Tn(!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"&&St.createElement(p.ZP,{type:"primary",className:n.button,onClick:()=>{m.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,getContainer:Yt.current,okText:"\u786E\u8BA4\u540C\u6B65",content:St.createElement("div",null,"\u8BE5\u8282\u70B9\u4E0B\u5171",St.createElement("span",{className:"c-light-primary"},vt==null?void 0:vt.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 wt=yield(0,t.ZP)("/api/subject_knowledge/send_to_course",{method:"post",body:{id:vt==null?void 0:vt.resourceid,subject_id:jr==null?void 0:jr.pathId}});(wt==null?void 0:wt.status)===0&&_.ZP.success("\u64CD\u4F5C\u6210\u529F")})})}},"\u540C\u6B65\u8D44\u6E90\u5230\u8BFE\u5802"),St.createElement(a.Z,{onClick:()=>{Tn(!1)},style:{marginLeft:"10rem",fontSize:"16rem",color:"#979797"}}))),St.createElement("div",{className:n.tabstyle},zn==null?void 0:zn.map(wt=>St.createElement("div",{onClick:()=>{Zr(wt.key),wt.key===4&&zo()},className:Ur===(wt==null?void 0:wt.key)?n.itemsactivite:n.items},wt==null?void 0:wt.name))),Ur===1&&St.createElement("div",null,St.createElement("div",{className:n.nodetitle},ua===1&&St.createElement(c.Z,{onClick:()=>Ya(2)}),ua===2&&St.createElement(u.Z,{onClick:()=>Ya(1)}),St.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5C5E\u6027")),ua===2&&St.createElement("div",{className:n.nodeboyd},St.createElement("div",{className:n.listitem,style:{marginTop:"0rem"}},St.createElement("label",null,"\u8282\u70B9\u540D\u79F0"),St.createElement("span",null,vt==null?void 0:vt.name)),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u7B80\u4ECB"),St.createElement("pre",null,(vt==null?void 0:vt.description)||"\u6682\u65E0")),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u7C7B\u578B"),St.createElement("div",null,(vt==null?void 0:vt.nodeType)&&St.createElement(I,{containerRef:Yt,type:5,value:[{name:vt==null?void 0:vt.nodeType}],pathsDetail:et,showmodal:!1,dataSources:[]})," ")),St.createElement("div",{className:n.listitem},St.createElement("label",null,"\u8282\u70B9\u6807\u7B7E"),St.createElement("span",null,((Gr=vt==null?void 0:vt.tags)==null?void 0:Gr.length)>0&&St.createElement(I,{containerRef:Yt,type:5,pathsDetail:et,value:vt==null?void 0:vt.tags,showmodal:!1,dataSources:[]}))),(vt==null?void 0:vt.nodeType)==="\u89C6\u9891"&&(vt==null?void 0:vt.resourceOrigin)!==3&&ao&&St.createElement("div",{style:{height:"300rem",marginTop:"20rem"}},St.createElement(G.Z,{allow_skip:!0,videoId:ao,toLog:!0,src:vt==null?void 0:vt.resourceUrl,logWatchHistory:wt=>Vi(Kt(An({},wt),{container_type:localStorage.getItem("container_type_tupu"),items:vt}))})),(vt==null?void 0:vt.resourceOrigin)===3&&St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},vt==null?void 0:vt.resourceUrl),St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){let wt=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:vt==null?void 0:vt.uuid}});window.open(vt==null?void 0:vt.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(vt==null?void 0:vt.nodeType)==="\u9898\u96C6"&&(si==null?void 0:si.map(wt=>St.createElement("div",{style:{display:"flex",alignItems:"center",marginTop:"10rem"}},St.createElement(d.Z,{title:wt==null?void 0:wt.name},St.createElement("span",{className:n.multiple,style:{color:"#1B8565",fontSize:"16rem",maxWidth:"80%"}},wt==null?void 0:wt.name)),St.createElement("div",{style:{marginLeft:"10rem",padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",wt==null?void 0:wt.count)))),(vt==null?void 0:vt.nodeType)!="\u89C6\u9891"&&(vt==null?void 0:vt.nodeType)!="\u9898\u96C6"&&(vt!=null&&vt.resourceOrigin)&&[1,2].includes(vt==null?void 0:vt.resourceOrigin)?St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement("span",{style:{color:"#1B8565",fontSize:"16rem"}},(vt==null?void 0:vt.resourceOrigin)===1?(Dr=Sr==null?void 0:Sr[0])==null?void 0:Dr.name:(ur=Ma==null?void 0:Ma[0])==null?void 0:ur.name),(0,ce.JA)()&&((vt==null?void 0:vt.nodeType)==="\u8BD5\u5377"||(vt==null?void 0:vt.nodeType)==="\u8BD5\u9898")?"":St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){ji(vt==null?void 0:vt.resourceUrl);let wt=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:vt==null?void 0:vt.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((vt==null?void 0:vt.nodeType)==="\u8BD5\u5377"||(vt==null?void 0:vt.nodeType)==="\u8BD5\u9898")&&(vt==null?void 0:vt.resourceOrigin)===1&&St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){var wt,Nr;const qr=yield(0,tt.Mb)({categoryId:(wt=Sr==null?void 0:Sr[0])==null?void 0:wt.id});qr!=null&&qr.exercise_id&&(0,Be.xg)(`/classrooms/coursesId/exercise/${qr.exercise_id}/${(Nr=Lt.userInfo)==null?void 0:Nr.login}/initate_answer`)}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):""),St.createElement("div",{className:n.nodetitle},ma===1&&St.createElement(c.Z,{onClick:()=>Ka(2)}),ma===2&&St.createElement(u.Z,{onClick:()=>Ka(1)}),St.createElement("span",{style:{marginLeft:"10rem",fontSize:"16rem",color:"#1B8565"}},"\u8282\u70B9\u5173\u7CFB")),ma===2&&St.createElement("div",{className:n.nodeboyd,style:{padding:0,minHeight:"530rem"}},St.createElement(l.default,{className:n.Tabs,activeKey:Uo,destroyInactiveTabPane:!0,onChange:wt=>{go(parseInt(wt))},type:"card",items:Do}))),Ur===4&&St.createElement(o.Z,{spinning:eo},St.createElement("div",null,(bi==null?void 0:bi.length)===0&&St.createElement(qn.Z,{text:"\u5F53\u524D\u8282\u70B9\u4E0B\u6682\u65E0\u8D44\u6E90"}),bi==null?void 0:bi.map(wt=>{var Nr;return St.createElement("div",{className:n.gllist},St.createElement("div",{style:{display:"flex",alignItems:"center"}},St.createElement("div",{className:n.gltag,style:{background:((Nr=Xn==null?void 0:Xn.find(qr=>(qr==null?void 0:qr.name)==(wt==null?void 0:wt.nodeType)))==null?void 0:Nr.color)||"#2D947C"}},wt==null?void 0:wt.nodeType),St.createElement("div",{className:n.multiple,style:{flex:1}},wt==null?void 0:wt.name)),St.createElement("div",{style:{marginTop:20,color:"#5F6368",display:"flex",alignItems:"center",justifyContent:"space-between"}},St.createElement("div",{style:{flex:1}}),St.createElement("div",null,(wt==null?void 0:wt.nodeType)==="\u89C6\u9891"&&(wt==null?void 0:wt.resourceOrigin)!==3&&St.createElement(p.ZP,{type:"primary",onClick:()=>Qt(void 0,null,function*(){var qr;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt==null?void 0:wt.resourceUrl,item_banks_group_ids:vt==null?void 0:vt.itemBanksGroupIds}});(((qr=zr==null?void 0:zr.attachment)==null?void 0:qr.file_type)==="video"||(zr==null?void 0:zr.container_type)==="video")&&m.default.confirm({title:"\u64AD\u653E\u89C6\u9891",icon:null,closable:!0,footer:null,centered:!0,width:500,content:St.createElement(G.Z,{allow_skip:!0,videoId:zr==null?void 0:zr.id,toLog:!0,src:wt==null?void 0:wt.resourceUrl,logWatchHistory:Ra=>Wo(Kt(An({},Ra),{uuid:wt==null?void 0:wt.uuid,container_type:zr==null?void 0:zr.container_type,item:wt}))})})})},"\u64AD\u653E\u89C6\u9891"),(wt==null?void 0:wt.resourceOrigin)===3&&St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){let qr=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:wt==null?void 0:wt.uuid}});window.open(wt==null?void 0:wt.resourceUrl)}),type:"primary"},"\u524D\u5F80\u67E5\u770B")),(wt==null?void 0:wt.nodeType)!="\u89C6\u9891"&&(wt==null?void 0:wt.nodeType)!="\u9898\u96C6"&&(wt!=null&&wt.resourceOrigin)&&[1,2].includes(wt==null?void 0:wt.resourceOrigin)?St.createElement("div",{style:{display:"flex",marginTop:"20rem",alignItems:"center"}},(0,ce.JA)()&&((wt==null?void 0:wt.nodeType)==="\u8BD5\u5377"||(wt==null?void 0:wt.nodeType)==="\u8BD5\u9898")?"":St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){ji(wt==null?void 0:wt.resourceUrl);let qr=yield(0,t.ZP)("/api/subject_knowledge/create_study.json",{method:"post",body:{subject_id:jr==null?void 0:jr.pathId,uuid:wt==null?void 0:wt.uuid}})}),type:"primary"},"\u524D\u5F80\u67E5\u770B"),((wt==null?void 0:wt.nodeType)==="\u8BD5\u5377"||(wt==null?void 0:wt.nodeType)==="\u8BD5\u9898")&&(wt==null?void 0:wt.resourceOrigin)===1&&St.createElement(p.ZP,{style:{height:"40rem",padding:"0rem 10rem",fontSize:"14rem",marginLeft:"10rem"},onClick:()=>Qt(void 0,null,function*(){var qr;let zr=yield(0,t.ZP)("/api/knowledge/v2/get_container_type.json",{method:"get",params:{url:wt==null?void 0:wt.resourceUrl,item_banks_group_ids:vt==null?void 0:vt.itemBanksGroupIds}});if((wt==null?void 0:wt.resourceOrigin)===1&&(wt==null?void 0:wt.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,Be.xg)(`/classrooms/coursesId/exercise/${Ra.exercise_id}/${(qr=Lt.userInfo)==null?void 0:qr.login}/initate_answer`)}}),type:"primary"},"\u6A21\u62DF\u8003\u8BD5")):"")))}))),Ur===3&&St.createElement("div",null,(0,ce.JA)()?St.createElement(Ie,{uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id)}):St.createElement(Z,{uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id)}))),St.createElement(m.default,{title:St.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:()=>Yt.current,onCancel:()=>{vi(0),mi.resetFields(),Li({qx:[],bh:[],hx:[],gl:[]}),pi([]),Vr({}),ta([]),Di([])},okButtonProps:{loading:Co},onOk:()=>{mi.submit()}},St.createElement("div",{className:n.addmodal},St.createElement("div",{className:n.title},"\u8282\u70B9\u5C5E\u6027"),St.createElement(P.default,{className:n.form,labelCol:{flex:"92rem"},layout:"horizontal",form:mi,colon:!1,onValuesChange:(wt,Nr)=>{var qr,zr,Ra,Ca;Vr(An({},Nr)),(Nr==null?void 0:Nr.resourceOrigin)!==1&&ta([]),((zr=(qr=Nr==null?void 0:Nr.label)==null?void 0:qr[0])==null?void 0:zr.name)!=="\u9898\u96C6"&&Di([]),((Ca=(Ra=Nr==null?void 0:Nr.label)==null?void 0:Ra[0])==null?void 0:Ca.item_type)!==2&&(ta([]),pi([]),Di([]),mi.setFieldsValue({resourceOrigin:0,url:""}))},onFinish:(0,re.debounce)(wt=>Qt(void 0,null,function*(){var Nr,qr,zr,Ra,Ca,Da,ja,ti,ci,hi,Ri,ni,no,ro,de,ne,Le,ke,ot,ft,It,Ot,Ft,zt,En,an,en,$t,vn,S,R,W,H,X,J,ue,ie,Ae,pe,Oe,je,Je,yt,ct,nt,st,Mt,Ct,Ut,Vt;if(((Nr=Yr==null?void 0:Yr.bh)==null?void 0:Nr.length)===0){_.ZP.warning("\u8282\u70B9\u5305\u542B\u5173\u7CFB\u4E0D\u80FD\u4E3A\u7A7A");return}if((wt==null?void 0:wt.resourceOrigin)===0){_.ZP.warning("\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B");return}if((wt==null?void 0:wt.resourceOrigin)===1&&(Sr==null?void 0:Sr.length)<=0&&((qr=wt==null?void 0:wt.label[0])==null?void 0:qr.name)!=="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((wt==null?void 0:wt.resourceOrigin)===1&&(si==null?void 0:si.length)<=0&&((zr=wt==null?void 0:wt.label[0])==null?void 0:zr.name)==="\u9898\u96C6"){_.ZP.warning("\u8BF7\u9009\u62E9\u5BF9\u5E94\u8D44\u6E90");return}if((wt==null?void 0:wt.resourceOrigin)===2&&(Ma==null?void 0:Ma.length)===0){_.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6");return}$i(!0);let Wn=za===3?"/api/knowledge/v2/mod_node.json":"/api/knowledge/v2/add_node.json",sn=za===3?{subject_id:jr==null?void 0:jr.pathId,properties:{description:wt.description,rootNodeUuid:vt==null?void 0:vt.rootNodeUuid,name:wt.name,uuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),nodeType:(Ra=wt==null?void 0:wt.label[0])==null?void 0:Ra.name,tags:((Da=(Ca=wt.tag)==null?void 0:Ca.map(Hn=>Hn==null?void 0:Hn.name))==null?void 0:Da.join("\uFF0C"))||"",color:vt==null?void 0:vt.color,resourceOrigin:wt.resourceOrigin,resourceUrl:wt.resourceOrigin===3?wt.url:wt.resourceOrigin===2?((ci=(ti=(ja=Ma==null?void 0:Ma[0])==null?void 0:ja.response)==null?void 0:ti.url)==null?void 0:ci.indexOf("educoder.net"))>-1?(Ri=(hi=Ma==null?void 0:Ma[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=Ma==null?void 0:Ma[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=wt==null?void 0:wt.label[0])==null?void 0:ne.name)==="\u9898\u96C6"?"ItemBanksGroup":(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((Le=Sr==null?void 0:Sr[0])==null?void 0:Le.container_type)||((ot=(ke=Ma==null?void 0:Ma[0])==null?void 0:ke.response)==null?void 0:ot.container_type),container_id:(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((ft=Sr==null?void 0:Sr[0])==null?void 0:ft.container_id)||((Ot=(It=Ma==null?void 0:Ma[0])==null?void 0:It.response)==null?void 0:Ot.container_id),itemBanksGroupIds:si==null?void 0:si.map(Hn=>Hn==null?void 0:Hn.group_id).toString()},subgraphNodeUuid:Rn,relationships:[...(Ft=Yr.bh)==null?void 0:Ft.map(Hn=>({startNodeUuid:Hn.uuid,endNodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),type:"\u5305\u542B"})),...Gi==null?void 0:Gi.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),type:"\u5305\u542B"})),...(zt=Yr.qx)==null?void 0:zt.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),type:"\u524D\u5E8F"})),...(En=Yr.hx)==null?void 0:En.map(Hn=>({endNodeUuid:Hn.uuid,startNodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),type:"\u540E\u5E8F"})),...(an=Yr.gl)==null?void 0:an.map(Hn=>({startNodeUuid:Hn.uuid,endNodeUuid:(vt==null?void 0:vt.keys)||(vt==null?void 0:vt.id),type:"\u5173\u8054"}))]}:{label:((en=wt==null?void 0:wt.label[0])==null?void 0:en.item_type)===1?"\u6807\u7B7E":"\u8D44\u6E90",subject_id:jr==null?void 0:jr.pathId,properties:{description:wt.description,rootNodeUuid:vt==null?void 0:vt.rootNodeUuid,name:wt.name,nodeType:($t=wt==null?void 0:wt.label[0])==null?void 0:$t.name,tags:((S=(vn=wt.tag)==null?void 0:vn.map(Hn=>Hn==null?void 0:Hn.name))==null?void 0:S.join("\uFF0C"))||"",color:za===1?"2":parseInt(vt==null?void 0:vt.colorType)+1+"",resourceOrigin:wt.resourceOrigin,resourceUrl:wt.resourceOrigin===3?wt.url:wt.resourceOrigin===2?((H=(W=(R=Ma==null?void 0:Ma[0])==null?void 0:R.response)==null?void 0:W.url)==null?void 0:H.indexOf("educoder.net"))>-1?(J=(X=Ma==null?void 0:Ma[0])==null?void 0:X.response)==null?void 0:J.url:((ue=At==null?void 0:At.setting)==null?void 0:ue.public_bucket_host)+((Ae=(ie=Ma==null?void 0:Ma[0])==null?void 0:ie.response)==null?void 0:Ae.url):(pe=Sr==null?void 0:Sr[0])==null?void 0:pe.url,container_type:((Oe=wt==null?void 0:wt.label[0])==null?void 0:Oe.name)==="\u9898\u96C6"?"ItemBanksGroup":(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((je=Sr==null?void 0:Sr[0])==null?void 0:je.container_type)||((yt=(Je=Ma==null?void 0:Ma[0])==null?void 0:Je.response)==null?void 0:yt.container_type),container_id:(wt.resourceOrigin===1||wt.resourceOrigin===2)&&((ct=Sr==null?void 0:Sr[0])==null?void 0:ct.container_id)||((st=(nt=Ma==null?void 0:Ma[0])==null?void 0:nt.response)==null?void 0:st.container_id),itemBanksGroupIds:si==null?void 0:si.map(Hn=>Hn==null?void 0:Hn.group_id).toString()},subgraphNodeUuid:Rn,relationships:[...(Mt=Yr.bh)==null?void 0:Mt.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u5305\u542B"})),...(Ct=Yr.qx)==null?void 0:Ct.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u524D\u5E8F"})),...(Ut=Yr.hx)==null?void 0:Ut.map(Hn=>({endNodeUuid:Hn.uuid,type:"\u540E\u5E8F"})),...(Vt=Yr.gl)==null?void 0:Vt.map(Hn=>({startNodeUuid:Hn.uuid,type:"\u5173\u8054"}))]};const rr=yield(0,t.ZP)(Wn,{method:"POST",body:sn});$i(!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"},St.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"}]},St.createElement(E.default,{maxLength:200,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),St.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"}]},St.createElement(E.default.TextArea,{maxLength:5e3,showCount:!0,placeholder:"\u8BF7\u8F93\u5165"})),St.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"}]},St.createElement(I,{containerRef:Yt,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&&St.createElement(P.default.Item,{label:" ",name:"resourceOrigin",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D44\u6E90\u7C7B\u578B"}]},St.createElement(g.ZP.Group,{className:n.radioform},St.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"&&St.createElement(g.ZP,{value:2},"\u4E0A\u4F20\u6587\u4EF6"),((Ea=($r=ir==null?void 0:ir.label)==null?void 0:$r[0])==null?void 0:Ea.name)!=="\u9898\u96C6"&&St.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&&St.createElement(P.default.Item,{label:" ",name:""},St.createElement(p.ZP,{onClick:()=>{var wt,Nr,qr,zr,Ra,Ca,Da,ja;((Nr=(wt=ir==null?void 0:ir.label)==null?void 0:wt[0])==null?void 0:Nr.name)==="\u9898\u96C6"?(oo(!0),Si(si),yo()):((zr=(qr=ir==null?void 0:ir.label)==null?void 0:qr[0])==null?void 0:zr.name)==="\u8BD5\u9898"?Ao(!0):(pn(!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=(fn=ir==null?void 0:ir.label)==null?void 0:fn[0])==null?void 0:kn.name)==="\u9898\u96C6"?"\u9009\u62E9\u9898\u96C6":"\u9009\u62E9\u8D44\u6E90"),(Sr==null?void 0:Sr.length)>0&&St.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},St.createElement("div",{className:n.multiple,title:(Yn=Sr==null?void 0:Sr[0])==null?void 0:Yn.name},((Br=Sr==null?void 0:Sr[0])==null?void 0:Br.name)||mi.getFieldValue("name")+"\uFF08"+((jt=Sr==null?void 0:Sr[0])==null?void 0:jt.question_count)+"\uFF09"),St.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(wt=>St.createElement("div",{style:{color:"#1B8565",marginTop:"5rem",fontSize:"16rem",display:"flex",alignItems:"center"}},St.createElement("div",{className:n.multiple,title:wt==null?void 0:wt.name},wt==null?void 0:wt.name),St.createElement("i",{style:{fontSize:"16rem",cursor:"pointer",marginLeft:"10rem"},onClick:()=>{Di(si==null?void 0:si.filter(Nr=>(Nr==null?void 0:Nr.group_id)!==(wt==null?void 0:wt.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&&St.createElement(P.default.Item,{label:" ",name:"file",shouldUpdate:!0},St.createElement(B.default,An({},to),St.createElement(p.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&&St.createElement(P.default.Item,{label:" ",name:"url"},St.createElement(P.default.Item,{label:"\u5916\u94FE\u94FE\u63A5",name:"url",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5916\u94FE"}]},St.createElement(E.default,{style:{height:"40rem"}}))),St.createElement(P.default.Item,{label:"\u8282\u70B9\u6807\u7B7E",name:"tag"},St.createElement(I,{containerRef:Yt,type:3,pathsDetail:et,showmodal:!0,dataSources:[]})))),St.createElement("div",{className:n.addmodal,style:{marginTop:"20rem"}},St.createElement("div",{className:n.title},St.createElement("span",null,"\u8282\u70B9\u5173\u7CFB"),St.createElement("span",{style:{cursor:"pointer"},onClick:()=>{Mo()}},"\u5173\u7CFB\u8BBE\u7F6E")),St.createElement("div",{className:n.gxcoent,style:{padding:"20rem 25rem"}},St.createElement("div",{className:n.gxtitle},St.createElement("div",{className:n.Colortitle,style:{background:"#6236ff"}}),St.createElement("div",null,"\u88AB\u5305\u542B\uFF08",(Zn=Yr.bh)==null?void 0:Zn.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(na=Yr==null?void 0:Yr.bh)==null?void 0:na.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#6236ff"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let qr=(Nr=Yr==null?void 0:Yr.bh)==null?void 0:Nr.filter(zr=>zr.uuid!==wt.uuid);Li({bh:qr,hx:Yr==null?void 0:Yr.hx,qx:Yr==null?void 0:Yr.qx,gl:Yr==null?void 0:Yr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#24A881"}}),St.createElement("div",null,"\u524D\u5E8F\uFF08",(la=Yr.qx)==null?void 0:la.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(Jr=Yr==null?void 0:Yr.qx)==null?void 0:Jr.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#24A881"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let qr=(Nr=Yr==null?void 0:Yr.qx)==null?void 0:Nr.filter(zr=>zr.uuid!==wt.uuid);Li({qx:qr,bh:Yr==null?void 0:Yr.bh,hx:Yr==null?void 0:Yr.hx,gl:Yr==null?void 0:Yr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#EC8657"}}),St.createElement("div",null,"\u540E\u5E8F\uFF08",(_a=Yr.hx)==null?void 0:_a.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(ha=Yr==null?void 0:Yr.hx)==null?void 0:ha.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#EC8657"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let qr=(Nr=Yr==null?void 0:Yr.hx)==null?void 0:Nr.filter(zr=>zr.uuid!==wt.uuid);Li({qx:Yr==null?void 0:Yr.qx,bh:Yr==null?void 0:Yr.bh,hx:qr,gl:Yr==null?void 0:Yr.gl})}})))),St.createElement("div",{className:n.gxtitle,style:{marginTop:"30rem"}},St.createElement("div",{className:n.Colortitle,style:{background:"#497DFF"}}),St.createElement("div",null,"\u5173\u8054\uFF08",(Ua=Yr.gl)==null?void 0:Ua.length,"\uFF09")),St.createElement("div",{className:n.gxbody},(Xa=Yr==null?void 0:Yr.gl)==null?void 0:Xa.map(wt=>St.createElement("div",{className:n.tag,style:{background:"#497DFF"}},St.createElement("span",{style:{marginRight:"10rem"}},wt==null?void 0:wt.name)," ",St.createElement(a.Z,{onClick:()=>{var Nr;let qr=(Nr=Yr==null?void 0:Yr.gl)==null?void 0:Nr.filter(zr=>zr.uuid!==wt.uuid);Li({qx:Yr==null?void 0:Yr.qx,hx:Yr==null?void 0:Yr.hx,bh:Yr==null?void 0:Yr.bh,gl:qr})}}))))))),St.createElement(m.default,{title:"\u9009\u62E9\u9898\u96C6",open:bo,destroyOnClose:!0,centered:!0,getContainer:()=>Yt.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)}},St.createElement(r.default,{checkable:!0,style:{margin:20,maxHeight:400,overflow:"auto"},blockNode:!0,checkStrictly:!0,checkedKeys:lo==null?void 0:lo.map(wt=>wt==null?void 0:wt.group_id),onCheck:(wt,Nr)=>{Si(Nr==null?void 0:Nr.checkedNodes)},treeData:so,fieldNames:{key:"group_id",title:"name"},titleRender:wt=>St.createElement("div",{style:{display:"flex",alignItems:"center",paddingRight:"14px"}},St.createElement(d.Z,{title:wt==null?void 0:wt.name},St.createElement("div",{className:n.multiple,style:{display:"flex",alignItems:"center",maxWidth:"80%"}},St.createElement("img",{src:Ze,style:{marginRight:10}}),St.createElement("span",null,wt==null?void 0:wt.name))),St.createElement("div",{style:{padding:"0rem 10rem",fontSize:"12rem",background:"#F6F7F9",color:"#909D99",borderRadius:"20rem"}},"\u8BD5\u9898\u6570 ",wt==null?void 0:wt.count))})),St.createElement(m.default,{title:"\u9009\u62E9\u5E73\u53F0\u8D44\u6E90",open:La,destroyOnClose:!0,centered:!0,getContainer:()=>Yt.current,width:"1200rem",onOk:()=>{pn(!1)},onCancel:()=>{pn(!1),za!==3&&ta([]),xa("1")}},St.createElement("div",{className:n.settingmodal},St.createElement(l.default,{className:n.Tabs,activeKey:cr,destroyInactiveTabPane:!0,onChange:wt=>{xa(wt)},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(wt=>(wt==null?void 0:wt.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(wt=>(wt==null?void 0:wt.label)==="\u8BD5\u5377"):po.filter(wt=>(wt==null?void 0:wt.label)!=="\u89C6\u9891")}))),Yi&&St.createElement(tr,{setScoreShow:Ao,isshixuns:Ro,ScoreShow:Yi,listitem:Sr==null?void 0:Sr[0],isloadings:Bo,onOk:(wt,Nr,qr,zr)=>Qt(void 0,null,function*(){ia(!0);let Ra={item_bank_ids:wt,shixun_ids:Nr,name:mi.getFieldValue("name")+"\uFF08"+(parseInt(wt.length)+parseInt(Nr.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:wt,shixun_ids:Nr};ta([Da])}})}),St.createElement(Ke.Z,{close:!0,style:{zIndex:1300,background:"rgba(1, 10, 35, 0.5)"},data:Bi==null?void 0:Bi.url,type:Bi==null?void 0:Bi.file_type,disabledDownload:!0,onClose:()=>xo({})}),St.createElement(m.default,{title:"\u5173\u7CFB\u8BBE\u7F6E",open:Ha,destroyOnClose:!0,centered:!0,getContainer:()=>Yt.current,width:"1200rem",onCancel:()=>{Oa(!1);let wt=JSON.parse(sessionStorage.getItem("typesdatajson"));Li(wt)},onOk:()=>{let wt=JSON.parse(sessionStorage.getItem("typesdatajsoncopy"));Li(wt),Oa(!1)}},St.createElement("div",{className:n.settingmodal},St.createElement(l.default,{className:n.Tabs,activeKey:Ho,destroyInactiveTabPane:!0,onChange:wt=>{fo(wt)},type:"card",items:So})))))};var Pr=(0,k.connect)(({pathsDetail:et,user:Lt,loading:At,globalSetting:yn})=>({pathsDetail:et,user:Lt,globalSetting:yn,loading:At.models.index}))(gr)},30677:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return E}});var h={noData:"noData___Luxe1"},k=w(14006),P=w(92310),_=w.n(P),B=w(25399),C=w(61485),p=w(59301),E=({style:d={},className:l,text:o="\u6682\u65E0\u6570\u636E",textColor:g="#666",buttonText:r,buttonTexttow:n,ontwoClick:a,onClick:c})=>p.createElement("div",{className:_()(h.noData,l),style:d},p.createElement("img",{src:k}),!!o&&p.createElement("span",{style:{color:g}},o),p.createElement("span",{style:{display:"flex"}},!!r&&p.createElement("div",{onClick:c},r),!!n&&p.createElement("div",{style:{marginLeft:"20rem",display:"flex",alignItems:"center",justifyContent:"center"},onClick:a},n," ",p.createElement(B.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"},p.createElement(C.Z,{style:{color:"#fff",marginLeft:5,marginTop:0}})))))},340:function(Ln,gt,w){"use strict";w.d(gt,{BU:function(){return k},Dj:function(){return h},gH:function(){return P},vp:function(){return _}});function h(B){try{B.mozRequestFullScreen?B.mozRequestFullScreen():B.webkitRequestFullScreen&&B.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 B=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,C=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",B),window.isFullScreen?window.isFullScreen:B!=null}},15581:function(Ln,gt,w){"use strict";w.d(gt,{U:function(){return E}});var h=w(59301),k=Object.defineProperty,P=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,C=(d,l,o)=>l in d?k(d,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[l]=o,p=(d,l)=>{for(var o in l||(l={}))_.call(l,o)&&C(d,o,l[o]);if(P)for(var o of P(l))B.call(l,o)&&C(d,o,l[o]);return d},m=(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)=>m(this,null,function*(){const e=v?l:p(p({},o),s);n(!0),g(e);const t=yield d(e);return n(!1),c(t),t}),a,c]}},90823:function(Ln,gt,w){"use strict";w.d(gt,{AL:function(){return e},Iy:function(){return l},Qv:function(){return r},ez:function(){return v},jb:function(){return o}});var h=w(32834),k=w.n(h),P=w(11690),_=w.n(P);let B=1;function C(b,x){const A=b.match(/^(\s+)(?:```)/);if(A===null)return x;const M=A[1];return x.split(`
|
|
|
`).map(L=>{const O=L.match(/^\s+/);if(O===null)return L;const[D]=O;return D.length>=M.length?L.slice(M.length):L}).join(`
|
|
|
`)}let p=[],m=["<ul>"];const E=new(k()).Renderer,d=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function l(){p.length=0,m=["<ul>"]}const o={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function g(b,x,A,M){if(x>=b.length||b[x].level<=A)return x;var L=b[x];M.push("<li><a href='#"+B+L.anchor+"'>"+L.text+"</a>"),x++;var O=[];return x=g(b,x,L.level,O),O.length>0&&(M.push("<ul>"),O.forEach(function(D){M.push(D)}),M.push("</ul>")),M.push("</li>"),x=g(b,x,A,M),x}function r(){return g(p,0,0,m),m.push("</ul>"),m.join("")}const n={heading(b){const x=d.exec(b);if(B+=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 M=C(A,x[3]||"");const L=x[2]?x[2].trim():x[2];if(["latex","katex","math"].indexOf(L)>=0){const O=u(),D=M;M=O,s[O]={type:"block",expression:D}}return{type:"code",raw:A,lang:L,text:M}}}},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 M=u();return s[M]={type:"inline",expression:A},M}),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 M=(x||"").match(/\S*/)[0];return M?["latex","katex","math"].indexOf(M)>=0?`<p class='editormd-tex'>${b}</p>`:`<pre class="prettyprint linenums"><code class="language-${x}">${A?b:(0,P.escape)(b,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(A?b:(0,P.escape)(b,!0))+"</code></pre>"},E.heading=function(b,x,A){let M=this.options.headerPrefix+A.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return p.push({anchor:M,level:x,text:b}),"<h"+x+' id="'+B+M+'">'+b+"</h"+x+">"},k().setOptions({silent:!0,gfm:!0,pedantic:!1}),k().use({tokenizer:n,renderer:E}),gt.ZP=k()},66220:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return Ht}});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<arguments.length;Z++){let $=arguments[Z];if($!=null)for(let se in $)$.hasOwnProperty(se)&&(z[se]=$[se])}return z},typeof self.Promise!="function"&&w(3867).polyfill()}}h.install();var k=h,P=w(86204),_=w.n(P);class B{static e(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","error",Z),B.ENABLE_ERROR&&(console.error?console.error(Z):console.warn?console.warn(Z):console.log(Z))}static i(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","info",Z),B.ENABLE_INFO&&(console.info?console.info(Z):console.log(Z))}static w(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","warn",Z),B.ENABLE_WARN&&(console.warn?console.warn(Z):console.log(Z))}static d(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","debug",Z),B.ENABLE_DEBUG&&(console.debug?console.debug(Z):console.log(Z))}static v(T,z){(!T||B.FORCE_GLOBAL_TAG)&&(T=B.GLOBAL_TAG);let Z=`[${T}] > ${z}`;B.ENABLE_CALLBACK&&B.emitter.emit("log","verbose",Z),B.ENABLE_VERBOSE&&console.log(Z)}}B.GLOBAL_TAG="flv.js",B.FORCE_GLOBAL_TAG=!1,B.ENABLE_ERROR=!0,B.ENABLE_INFO=!0,B.ENABLE_WARN=!0,B.ENABLE_DEBUG=!0,B.ENABLE_VERBOSE=!0,B.ENABLE_CALLBACK=!1,B.emitter=new(_());var C=B;class p{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 m=p;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 rt=self.navigator.userAgent.toLowerCase(),T=/(edge)\/([\w.]+)/.exec(rt)||/(opr)[\/]([\w.]+)/.exec(rt)||/(chrome)[ \/]([\w.]+)/.exec(rt)||/(iemobile)[\/]([\w.]+)/.exec(rt)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(rt)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(rt)||/(webkit)[ \/]([\w.]+)/.exec(rt)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(rt)||/(msie) ([\w.]+)/.exec(rt)||rt.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(rt)||rt.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec(rt)||[],z=/(ipad)/.exec(rt)||/(ipod)/.exec(rt)||/(windows phone)/.exec(rt)||/(iphone)/.exec(rt)||/(kindle)/.exec(rt)||/(android)/.exec(rt)||/(windows)/.exec(rt)||/(mac)/.exec(rt)||/(linux)/.exec(rt)||/(cros)/.exec(rt)||[],Z={browser:T[5]||T[3]||T[1]||"",version:T[2]||T[4]||"0",majorVersion:T[4]||T[2]||"0",platform:z[0]||""},$={};if(Z.browser){$[Z.browser]=!0;let se=Z.majorVersion.split(".");$.version={major:parseInt(Z.majorVersion,10),string:Z.version},se.length>1&&($.version.minor=parseInt(se[1],10)),se.length>2&&($.version.build=parseInt(se[2],10))}if(Z.platform&&($[Z.platform]=!0),($.chrome||$.opr||$.safari)&&($.webkit=!0),$.rv||$.iemobile){$.rv&&delete $.rv;let se="msie";Z.browser=se,$[se]=!0}if($.edge){delete $.edge;let se="msedge";Z.browser=se,$[se]=!0}if($.opr){let se="opera";Z.browser=se,$[se]=!0}if($.safari&&$.android){let se="android";Z.browser=se,$[se]=!0}$.name=Z.browser,$.platform=Z.platform;for(let se in a)a.hasOwnProperty(se)&&delete a[se];Object.assign(a,$)}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 $=this._seekHandler.getConfig(Z,z),se=new self.Headers;if(typeof $.headers=="object"){let at=$.headers;for(let _t in at)at.hasOwnProperty(_t)&&se.append(_t,at[_t])}let Ge={method:"GET",headers:se,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(let at in this._config.headers)se.append(at,this._config.headers[at]);T.cors===!1&&(Ge.mode="same-origin"),T.withCredentials&&(Ge.credentials="include"),T.referrerPolicy&&(Ge.referrerPolicy=T.referrerPolicy),this._status=g.kConnecting,self.fetch($.url,Ge).then(at=>{if(this._requestAbort){this._requestAbort=!1,this._status=g.kIdle;return}if(at.ok&&at.status>=200&&at.status<=299){if(at.url!==$.url&&this._onURLRedirect){let dt=this._seekHandler.removeURLParameters(at.url);this._onURLRedirect(dt)}let _t=at.headers.get("Content-Length");return _t!=null&&(this._contentLength=parseInt(_t),this._contentLength!==0&&this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)),this._pump.call(this,at.body.getReader())}else if(this._status=g.kError,this._onError)this._onError(r.HTTP_STATUS_CODE_INVALID,{code:at.status,msg:at.statusText});else throw new E("FetchStreamLoader: Http code invalid, "+at.status+" "+at.statusText)}).catch(at=>{if(this._status=g.kError,this._onError)this._onError(r.EXCEPTION,{code:-1,msg:at.message});else throw at})}abort(){this._requestAbort=!0}_pump(T){return T.read().then(z=>{if(z.done)if(this._contentLength!==null&&this._receivedLength<this._contentLength){this._status=g.kError;let Z=r.EARLY_EOF,$={code:-1,msg:"Fetch stream meet Early-EOF"};if(this._onError)this._onError(Z,$);else throw new E($.msg)}else this._status=g.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1);else{if(this._requestAbort===!0)return this._requestAbort=!1,this._status=g.kComplete,T.cancel();this._status=g.kBuffering;let Z=z.value.buffer,$=this._range.from+this._receivedLength;this._receivedLength+=Z.byteLength,this._onDataArrival&&this._onDataArrival(Z,$,this._receivedLength),this._pump(T)}}).catch(z=>{if(z.code===11&&u.msedge)return;this._status=g.kError;let Z=0,$=null;if((z.code===19||z.message==="network error")&&(this._contentLength===null||this._contentLength!==null&&this._receivedLength<this._contentLength)?(Z=r.EARLY_EOF,$={code:z.code,msg:"Fetch stream meet Early-EOF"}):(Z=r.EXCEPTION,$={code:z.code,msg:z.message}),this._onError)this._onError(Z,$);else throw new E($.msg)})}}var v=s;class e extends n{static isSupported(){try{let T=new XMLHttpRequest;return T.open("GET","https://example.com",!0),T.responseType="moz-chunked-arraybuffer",T.responseType==="moz-chunked-arraybuffer"}catch(T){return C.w("MozChunkedLoader",T.message),!1}}constructor(T,z){super("xhr-moz-chunked-loader"),this.TAG="MozChunkedLoader",this._seekHandler=T,this._config=z,this._needStash=!0,this._xhr=null,this._requestAbort=!1,this._contentLength=null,this._receivedLength=0}destroy(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onloadend=null,this._xhr.onerror=null,this._xhr=null),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 $=this._seekHandler.getConfig(Z,z);this._requestURL=$.url;let se=this._xhr=new XMLHttpRequest;if(se.open("GET",$.url,!0),se.responseType="moz-chunked-arraybuffer",se.onreadystatechange=this._onReadyStateChange.bind(this),se.onprogress=this._onProgress.bind(this),se.onloadend=this._onLoadEnd.bind(this),se.onerror=this._onXhrError.bind(this),T.withCredentials&&(se.withCredentials=!0),typeof $.headers=="object"){let Ge=$.headers;for(let at in Ge)Ge.hasOwnProperty(at)&&se.setRequestHeader(at,Ge[at])}if(typeof this._config.headers=="object"){let Ge=this._config.headers;for(let at in Ge)Ge.hasOwnProperty(at)&&se.setRequestHeader(at,Ge[at])}this._status=g.kConnecting,se.send()}abort(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=g.kComplete}_onReadyStateChange(T){let z=T.target;if(z.readyState===2){if(z.responseURL!=null&&z.responseURL!==this._requestURL&&this._onURLRedirect){let Z=this._seekHandler.removeURLParameters(z.responseURL);this._onURLRedirect(Z)}if(z.status!==0&&(z.status<200||z.status>299))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<this._contentLength?(z=r.EARLY_EOF,Z={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(z=r.EXCEPTION,Z={code:-1,msg:T.constructor.name+" "+T.type}),this._onError)this._onError(z,Z);else throw new E(Z.msg)}}var t=e;class i extends null{static isSupported(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;let T=new XMLHttpRequest;return T.open("GET","https://example.com",!0),T.responseType="ms-stream",T.responseType==="ms-stream"}catch(T){return Log.w("MSStreamLoader",T.message),!1}}constructor(T,z){super("xhr-msstream-loader"),this.TAG="MSStreamLoader",this._seekHandler=T,this._config=z,this._needStash=!0,this._xhr=null,this._reader=null,this._totalRange=null,this._currentRange=null,this._currentRequestURL=null,this._currentRedirectedURL=null,this._contentLength=null,this._receivedLength=0,this._bufferLimit=16*1024*1024,this._lastTimeBufferSize=0,this._isReconnecting=!1}destroy(){this.isWorking()&&this.abort(),this._reader&&(this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr=null),super.destroy()}open(T,z){this._internalOpen(T,z,!1)}_internalOpen(T,z,Z){this._dataSource=T,Z?this._currentRange=z:this._totalRange=z;let $=T.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?$=this._currentRedirectedURL:T.redirectedURL!=null&&($=T.redirectedURL));let se=this._seekHandler.getConfig($,z);this._currentRequestURL=se.url;let Ge=this._reader=new self.MSStreamReader;Ge.onprogress=this._msrOnProgress.bind(this),Ge.onload=this._msrOnLoad.bind(this),Ge.onerror=this._msrOnError.bind(this);let at=this._xhr=new XMLHttpRequest;if(at.open("GET",se.url,!0),at.responseType="ms-stream",at.onreadystatechange=this._xhrOnReadyStateChange.bind(this),at.onerror=this._xhrOnError.bind(this),T.withCredentials&&(at.withCredentials=!0),typeof se.headers=="object"){let _t=se.headers;for(let dt in _t)_t.hasOwnProperty(dt)&&at.setRequestHeader(dt,_t[dt])}if(typeof this._config.headers=="object"){let _t=this._config.headers;for(let dt in _t)_t.hasOwnProperty(dt)&&at.setRequestHeader(dt,_t[dt])}this._isReconnecting?this._isReconnecting=!1:this._status=LoaderStatus.kConnecting,at.send()}abort(){this._internalAbort(),this._status=LoaderStatus.kComplete}_internalAbort(){this._reader&&(this._reader.readyState===1&&this._reader.abort(),this._reader.onprogress=null,this._reader.onload=null,this._reader.onerror=null,this._reader=null),this._xhr&&(this._xhr.abort(),this._xhr.onreadystatechange=null,this._xhr=null)}_xhrOnReadyStateChange(T){let z=T.target;if(z.readyState===2)if(z.status>=200&&z.status<=299){if(this._status=LoaderStatus.kBuffering,z.responseURL!=null){let $=this._seekHandler.removeURLParameters(z.responseURL);z.responseURL!==this._currentRequestURL&&$!==this._currentRedirectedURL&&(this._currentRedirectedURL=$,this._onURLRedirect&&this._onURLRedirect($))}let Z=z.getResponseHeader("Content-Length");if(Z!=null&&this._contentLength==null){let $=parseInt(Z);$>0&&(this._contentLength=$,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 $=Z.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Z.byteLength;let se=this._totalRange.from+this._receivedLength;this._receivedLength+=$.byteLength,this._onDataArrival&&this._onDataArrival($,se,this._receivedLength),Z.byteLength>=this._bufferLimit&&(Log.v(this.TAG,`MSStream buffer exceeded max size near ${se+$.byteLength}, reconnecting...`),this._doReconnectIfNeeded())}_doReconnectIfNeeded(){if(this._contentLength==null||this._receivedLength<this._contentLength){this._isReconnecting=!0,this._lastTimeBufferSize=0,this._internalAbort();let T={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,T,!0)}}_msrOnLoad(T){this._status=LoaderStatus.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}_msrOnError(T){this._status=LoaderStatus.kError;let z=0,Z=null;if(this._contentLength&&this._receivedLength<this._contentLength?(z=LoaderErrors.EARLY_EOF,Z={code:-1,msg:"MSStream meet Early-Eof"}):(z=LoaderErrors.EARLY_EOF,Z={code:-1,msg:T.constructor.name+" "+T.type}),this._onError)this._onError(z,Z);else throw new RuntimeException(Z.msg)}}var f=null;class y extends n{static isSupported(){try{let T=new XMLHttpRequest;return T.open("GET","https://example.com",!0),T.responseType="arraybuffer",T.responseType==="arraybuffer"}catch(T){return C.w("RangeLoader",T.message),!1}}constructor(T,z){super("xhr-range-loader"),this.TAG="RangeLoader",this._seekHandler=T,this._config=z,this._needStash=!1,this._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],this._currentChunkSizeKB=384,this._currentSpeedNormalized=0,this._zeroSpeedChunkCount=0,this._xhr=null,this._speedSampler=new m,this._requestAbort=!1,this._waitForTotalLength=!1,this._totalLengthReceived=!1,this._currentRequestURL=null,this._currentRedirectedURL=null,this._currentRequestRange=null,this._totalLength=null,this._contentLength=null,this._receivedLength=0,this._lastTimeLoaded=0}destroy(){this.isWorking()&&this.abort(),this._xhr&&(this._xhr.onreadystatechange=null,this._xhr.onprogress=null,this._xhr.onload=null,this._xhr.onerror=null,this._xhr=null),super.destroy()}get currentSpeed(){return this._speedSampler.lastSecondKBps}open(T,z){this._dataSource=T,this._range=z,this._status=g.kConnecting;let Z=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Z=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Z?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}_openSubRange(){let T=this._currentChunkSizeKB*1024,z=this._range.from+this._receivedLength,Z=z+T;this._contentLength!=null&&Z-this._range.from>=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 $=this._seekHandler.getConfig(Z,z);this._currentRequestURL=$.url;let se=this._xhr=new XMLHttpRequest;if(se.open("GET",$.url,!0),se.responseType="arraybuffer",se.onreadystatechange=this._onReadyStateChange.bind(this),se.onprogress=this._onProgress.bind(this),se.onload=this._onLoad.bind(this),se.onerror=this._onXhrError.bind(this),T.withCredentials&&(se.withCredentials=!0),typeof $.headers=="object"){let Ge=$.headers;for(let at in Ge)Ge.hasOwnProperty(at)&&se.setRequestHeader(at,Ge[at])}if(typeof this._config.headers=="object"){let Ge=this._config.headers;for(let at in Ge)Ge.hasOwnProperty(at)&&se.setRequestHeader(at,Ge[at])}se.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 $=T.total;this._internalAbort(),$!=null&$!==0&&(this._totalLength=$)}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,$=0,se=0,Ge=Z;if(T<z[0])return z[0];for(;se<=Ge;){if($=se+Math.floor((Ge-se)/2),$===Z||T>=z[$]&&T<z[$+1])return z[$];z[$]<T?se=$+1:Ge=$-1}}_onLoad(T){if(this._status===g.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;let z=this._speedSampler.lastSecondKBps;if(z===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(z=this._speedSampler.currentKBps)),z!==0){let Ge=this._normalizeSpeed(z);this._currentSpeedNormalized!==Ge&&(this._currentSpeedNormalized=Ge,this._currentChunkSizeKB=Ge)}let Z=T.target.response,$=this._range.from+this._receivedLength;this._receivedLength+=Z.byteLength;let se=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():se=!0,this._onDataArrival&&this._onDataArrival(Z,$,this._receivedLength),se&&(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&&this._receivedLength>0&&this._receivedLength<this._contentLength?(z=r.EARLY_EOF,Z={code:-1,msg:"RangeLoader meet Early-Eof"}):(z=r.EXCEPTION,Z={code:-1,msg:T.constructor.name+" "+T.type}),this._onError)this._onError(z,Z);else throw new E(Z.msg)}}var b=y;class x extends n{static isSupported(){try{return typeof self.WebSocket!="undefined"}catch(T){return!1}}constructor(){super("websocket-loader"),this.TAG="WebSocketLoader",this._needStash=!0,this._ws=null,this._requestAbort=!1,this._receivedLength=0}destroy(){this._ws&&this.abort(),super.destroy()}open(T){try{let z=this._ws=new self.WebSocket(T.url);z.binaryType="arraybuffer",z.onopen=this._onWebSocketOpen.bind(this),z.onclose=this._onWebSocketClose.bind(this),z.onmessage=this._onWebSocketMessage.bind(this),z.onerror=this._onWebSocketError.bind(this),this._status=g.kConnecting}catch(z){this._status=g.kError;let Z={code:z.code,msg:z.message};if(this._onError)this._onError(r.EXCEPTION,Z);else throw new E(Z.msg)}}abort(){let T=this._ws;T&&(T.readyState===0||T.readyState===1)&&(this._requestAbort=!0,T.close()),this._ws=null,this._status=g.kComplete}_onWebSocketOpen(T){this._status=g.kBuffering}_onWebSocketClose(T){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=g.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}_onWebSocketMessage(T){if(T.data instanceof ArrayBuffer)this._dispatchArrayBuffer(T.data);else if(T.data instanceof Blob){let z=new FileReader;z.onload=()=>{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 M{constructor(T){this._zeroStart=T||!1}getConfig(T,z){let Z={};if(z.from!==0||z.to!==-1){let $;z.to!==-1?$=`bytes=${z.from.toString()}-${z.to.toString()}`:$=`bytes=${z.from.toString()}-`,Z.Range=$}else this._zeroStart&&(Z.Range="bytes=0-");return{url:T,headers:Z}}removeURLParameters(T){return T}}var L=M;class O{constructor(T,z){this._startName=T,this._endName=z}getConfig(T,z){let Z=T;if(z.from!==0||z.to!==-1){let $=!0;Z.indexOf("?")===-1&&(Z+="?",$=!1),$&&(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,$=T.indexOf("?");$!==-1&&(Z=T.substring($+1));let se="";if(Z!=null&&Z.length>0){let Ge=Z.split("&");for(let at=0;at<Ge.length;at++){let _t=Ge[at].split("="),dt=at>0;_t[0]!==this._startName&&_t[0]!==this._endName&&(dt&&(se+="&"),se+=Ge[at])}}return se.length===0?z:z+"?"+se}}var D=O;class N{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 m,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*1<T;)z*=2;if(z+=1024*1024*1,z===this._bufferSize)return;let Z=new ArrayBuffer(z);if(this._stashUsed>0){let $=new Uint8Array(this._stashBuffer,0,this._stashUsed);new Uint8Array(Z,0,z).set($,0)}this._stashBuffer=Z,this._bufferSize=z}_normalizeSpeed(T){let z=this._speedNormalizeList,Z=z.length-1,$=0,se=0,Ge=Z;if(T<z[0])return z[0];for(;se<=Ge;){if($=se+Math.floor((Ge-se)/2),$===Z||T>=z[$]&&T<z[$+1])return z[$];z[$]<T?se=$+1:Ge=$-1}}_adjustStashSize(T){let z=0;this._config.isLive||T<512?z=T: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._bufferSize<Z&&this._expandBuffer(Z),this._stashSize=z*1024}_dispatchChunks(T,z){return this._currentRange.to=z+T.byteLength-1,this._onDataArrival(T,z)}_onURLRedirect(T){this._redirectedURL=T,this._onRedirect&&this._onRedirect(T)}_onContentLengthKnown(T){T&&this._fullRequestFlag&&(this._totalLength=T,this._fullRequestFlag=!1)}_onLoaderChunkArrival(T,z,Z){if(!this._onDataArrival)throw new d("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(T.byteLength);let $=this._speedSampler.lastSecondKBps;if($!==0){let se=this._normalizeSpeed($);this._speedNormalized!==se&&(this._speedNormalized=se,this._adjustStashSize(se))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=z),this._stashUsed+T.byteLength<=this._stashSize)new Uint8Array(this._stashBuffer,0,this._stashSize).set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength;else{let se=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){let Ge=this._stashBuffer.slice(0,this._stashUsed),at=this._dispatchChunks(Ge,this._stashByteStart);if(at<Ge.byteLength){if(at>0){let _t=new Uint8Array(Ge,at);se.set(_t,0),this._stashUsed=_t.byteLength,this._stashByteStart+=at}}else this._stashUsed=0,this._stashByteStart+=at;this._stashUsed+T.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+T.byteLength),se=new Uint8Array(this._stashBuffer,0,this._bufferSize)),se.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength}else{let Ge=this._dispatchChunks(T,z);if(Ge<T.byteLength){let at=T.byteLength-Ge;at>this._bufferSize&&(this._expandBuffer(at),se=new Uint8Array(this._stashBuffer,0,this._bufferSize)),se.set(new Uint8Array(T,Ge),0),this._stashUsed+=at,this._stashByteStart=z+Ge}}}else if(this._stashUsed===0){let se=this._dispatchChunks(T,z);if(se<T.byteLength){let Ge=T.byteLength-se;Ge>this._bufferSize&&this._expandBuffer(Ge),new Uint8Array(this._stashBuffer,0,this._bufferSize).set(new Uint8Array(T,se),0),this._stashUsed+=Ge,this._stashByteStart=z+se}}else{this._stashUsed+T.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+T.byteLength);let se=new Uint8Array(this._stashBuffer,0,this._bufferSize);se.set(new Uint8Array(T),this._stashUsed),this._stashUsed+=T.byteLength;let Ge=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(Ge<this._stashUsed&&Ge>0){let at=new Uint8Array(this._stashBuffer,Ge);se.set(at,0)}this._stashUsed-=Ge,this._stashByteStart+=Ge}}_flushStashBuffer(T){if(this._stashUsed>0){let z=this._stashBuffer.slice(0,this._stashUsed),Z=this._dispatchChunks(z,this._stashByteStart),$=z.byteLength-Z;if(Z<z.byteLength)if(T)C.w(this.TAG,`${$} bytes unconsumed data remain when flush buffer, dropped`);else{if(Z>0){let se=new Uint8Array(this._stashBuffer,0,this._bufferSize),Ge=new Uint8Array(z,Z);se.set(Ge,0),this._stashUsed=Ge.byteLength,this._stashByteStart+=Z}return 0}return this._stashUsed=0,this._stashByteStart=0,$}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;Z<this._totalLength&&(C.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(Z,!1));return}T=r.UNRECOVERABLE_EARLY_EOF;break}case r.UNRECOVERABLE_EARLY_EOF:case r.CONNECTING_TIMEOUT:case r.HTTP_STATUS_CODE_INVALID:case r.EXCEPTION:break}if(this._onError)this._onError(T,z);else throw new E("IOException: "+z.msg)}}var I=N;const U={enableWorker:!1,enableStashBuffer:!0,stashInitialSize:void 0,isLive:!1,lazyLoad:!0,lazyLoadMaxDuration:3*60,lazyLoadRecoverDuration:30,deferLoadAfterSourceOpen:!0,autoCleanupMaxBackwardDuration:3*60,autoCleanupMinBackwardDuration:2*60,statisticsInfoReportInterval:600,fixAudioTimestampGap:!0,accurateSeek:!1,seekType:"range",seekParamStart:"bstart",seekParamEnd:"bend",rangeLoadZeroStart:!1,customSeekHandler:void 0,reuseRedirectedURL:!1,headers:void 0,customLoader:void 0};function F(){return Object.assign({},U)}class K{static supportMSEH264Playback(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}static supportNetworkStreamIO(){let T=new I({},F()),z=T.loaderType;return T.destroy(),z=="fetch-stream-loader"||z=="xhr-moz-chunked-loader"}static getNetworkLoaderTypeName(){let T=new I({},F()),z=T.loaderType;return T.destroy(),z}static supportNativeMediaPlayback(T){K.videoElement==null&&(K.videoElement=window.document.createElement("video"));let z=K.videoElement.canPlayType(T);return z==="probably"||z=="maybe"}static getFeatureList(){let T={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return T.mseFlvPlayback=K.supportMSEH264Playback(),T.networkStreamIO=K.supportNetworkStreamIO(),T.networkLoaderName=K.getNetworkLoaderTypeName(),T.mseLiveFlvPlayback=T.mseFlvPlayback&&T.networkStreamIO,T.nativeMP4H264Playback=K.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),T.nativeWebmVP8Playback=K.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),T.nativeWebmVP9Playback=K.supportNativeMediaPlayback('video/webm; codecs="vp9"'),T}}var j=K,Y={ERROR:"error",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info"};class le{static get forceGlobalTag(){return C.FORCE_GLOBAL_TAG}static set forceGlobalTag(T){C.FORCE_GLOBAL_TAG=T,le._notifyChange()}static get globalTag(){return C.GLOBAL_TAG}static set globalTag(T){C.GLOBAL_TAG=T,le._notifyChange()}static get enableAll(){return C.ENABLE_VERBOSE&&C.ENABLE_DEBUG&&C.ENABLE_INFO&&C.ENABLE_WARN&&C.ENABLE_ERROR}static set enableAll(T){C.ENABLE_VERBOSE=T,C.ENABLE_DEBUG=T,C.ENABLE_INFO=T,C.ENABLE_WARN=T,C.ENABLE_ERROR=T,le._notifyChange()}static get enableDebug(){return C.ENABLE_DEBUG}static set enableDebug(T){C.ENABLE_DEBUG=T,le._notifyChange()}static get enableVerbose(){return C.ENABLE_VERBOSE}static set enableVerbose(T){C.ENABLE_VERBOSE=T,le._notifyChange()}static get enableInfo(){return C.ENABLE_INFO}static set enableInfo(T){C.ENABLE_INFO=T,le._notifyChange()}static get enableWarn(){return C.ENABLE_WARN}static set enableWarn(T){C.ENABLE_WARN=T,le._notifyChange()}static get enableError(){return C.ENABLE_ERROR}static set enableError(T){C.ENABLE_ERROR=T,le._notifyChange()}static getConfig(){return{globalTag:C.GLOBAL_TAG,forceGlobalTag:C.FORCE_GLOBAL_TAG,enableVerbose:C.ENABLE_VERBOSE,enableDebug:C.ENABLE_DEBUG,enableInfo:C.ENABLE_INFO,enableWarn:C.ENABLE_WARN,enableError:C.ENABLE_ERROR,enableCallback:C.ENABLE_CALLBACK}}static applyConfig(T){C.GLOBAL_TAG=T.globalTag,C.FORCE_GLOBAL_TAG=T.forceGlobalTag,C.ENABLE_VERBOSE=T.enableVerbose,C.ENABLE_DEBUG=T.enableDebug,C.ENABLE_INFO=T.enableInfo,C.ENABLE_WARN=T.enableWarn,C.ENABLE_ERROR=T.enableError,C.ENABLE_CALLBACK=T.enableCallback}static _notifyChange(){let T=le.emitter;if(T.listenerCount("change")>0){let z=le.getConfig();T.emit("change",z)}}static registerListener(T){le.emitter.addListener("change",T)}static removeListener(T){le.emitter.removeListener("change",T)}static addLogListener(T){C.emitter.addListener("log",T),C.emitter.listenerCount("log")>0&&(C.ENABLE_CALLBACK=!0,le._notifyChange())}static removeLogListener(T){C.emitter.removeListener("log",T),C.emitter.listenerCount("log")===0&&(C.ENABLE_CALLBACK=!1,le._notifyChange())}}le.emitter=new(_());var Q=le;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,$=T.length-1,se=0,Ge=0,at=$;for(z<T[0]&&(Z=0,Ge=at+1);Ge<=at;)if(se=Ge+Math.floor((at-Ge)/2),se===$||z>=T[se]&&z<T[se+1]){Z=se;break}else T[se]<z?Ge=se+1:at=se-1;return Z}}var xe=ve;function be(rt,T,z){let Z=rt;if(T+z<Z.length){for(;z--;)if((Z[++T]&192)!==128)return!1;return!0}else return!1}function De(rt){let T=[],z=rt,Z=0,$=rt.length;for(;Z<$;){if(z[Z]<128){T.push(String.fromCharCode(z[Z])),++Z;continue}else if(!(z[Z]<192)){if(z[Z]<224){if(be(z,Z,1)){let se=(z[Z]&31)<<6|z[Z+1]&63;if(se>=128){T.push(String.fromCharCode(se&65535)),Z+=2;continue}}}else if(z[Z]<240){if(be(z,Z,2)){let se=(z[Z]&15)<<12|(z[Z+1]&63)<<6|z[Z+2]&63;if(se>=2048&&(se&63488)!==55296){T.push(String.fromCharCode(se&65535)),Z+=3;continue}}}else if(z[Z]<248&&be(z,Z,3)){let se=(z[Z]&7)<<18|(z[Z+1]&63)<<12|(z[Z+2]&63)<<6|z[Z+3]&63;if(se>65536&&se<1114112){se-=65536,T.push(String.fromCharCode(se>>>10|55296)),T.push(String.fromCharCode(se&1023|56320)),Z+=4;continue}}}T.push("\uFFFD"),++Z}return T.join("")}var Ue=De;let we=function(){let rt=new ArrayBuffer(2);return new DataView(rt).setInt16(0,256,!0),new Int16Array(rt)[0]===256}();class Ye{static parseScriptData(T,z,Z){let $={};try{let se=Ye.parseValue(T,z,Z),Ge=Ye.parseValue(T,z+se.size,Z-se.size);$[se.data]=Ge.data}catch(se){C.e("AMF",se.toString())}return $}static parseObject(T,z,Z){if(Z<3)throw new d("Data not enough when parse ScriptDataObject");let $=Ye.parseString(T,z,Z),se=Ye.parseValue(T,z+$.size,Z-$.size),Ge=se.objectEnd;return{data:{name:$.data,value:se.data},size:$.size+se.size,objectEnd:Ge}}static parseVariable(T,z,Z){return Ye.parseObject(T,z,Z)}static parseString(T,z,Z){if(Z<2)throw new d("Data not enough when parse String");let se=new DataView(T,z,Z).getUint16(0,!we),Ge;return se>0?Ge=Ue(new Uint8Array(T,z+2,se)):Ge="",{data:Ge,size:2+se}}static parseLongString(T,z,Z){if(Z<4)throw new d("Data not enough when parse LongString");let se=new DataView(T,z,Z).getUint32(0,!we),Ge;return se>0?Ge=Ue(new Uint8Array(T,z+4,se)):Ge="",{data:Ge,size:4+se}}static parseDate(T,z,Z){if(Z<10)throw new d("Data size invalid when parse Date");let $=new DataView(T,z,Z),se=$.getFloat64(0,!we),Ge=$.getInt16(8,!we);return se+=Ge*60*1e3,{data:new Date(se),size:10}}static parseValue(T,z,Z){if(Z<1)throw new d("Data not enough when parse Value");let $=new DataView(T,z,Z),se=1,Ge=$.getUint8(0),at,_t=!1;try{switch(Ge){case 0:at=$.getFloat64(1,!we),se+=8;break;case 1:{at=!!$.getUint8(1),se+=1;break}case 2:{let dt=Ye.parseString(T,z+1,Z-1);at=dt.data,se+=dt.size;break}case 3:{at={};let dt=0;for(($.getUint32(Z-4,!we)&16777215)===9&&(dt=3);se<Z-4;){let Rt=Ye.parseObject(T,z+se,Z-se-dt);if(Rt.objectEnd)break;at[Rt.data.name]=Rt.data.value,se+=Rt.size}se<=Z-3&&($.getUint32(se-1,!we)&16777215)===9&&(se+=3);break}case 8:{at={},se+=4;let dt=0;for(($.getUint32(Z-4,!we)&16777215)===9&&(dt=3);se<Z-8;){let Rt=Ye.parseVariable(T,z+se,Z-se-dt);if(Rt.objectEnd)break;at[Rt.data.name]=Rt.data.value,se+=Rt.size}se<=Z-3&&($.getUint32(se-1,!we)&16777215)===9&&(se+=3);break}case 9:at=void 0,se=1,_t=!0;break;case 10:{at=[];let dt=$.getUint32(1,!we);se+=4;for(let Rt=0;Rt<dt;Rt++){let Gt=Ye.parseValue(T,z+se,Z-se);at.push(Gt.data),se+=Gt.size}break}case 11:{let dt=Ye.parseDate(T,z+1,Z-1);at=dt.data,se+=dt.size;break}case 12:{let dt=Ye.parseString(T,z+1,Z-1);at=dt.data,se+=dt.size;break}default:se=Z,C.w("AMF","Unsupported AMF value type "+Ge)}}catch(dt){C.e("AMF",dt.toString())}return{data:at,size:se,objectEnd:_t}}}var Be=Ye;class ge{constructor(T){this.TAG="ExpGolomb",this._buffer=T,this._buffer_index=0,this._total_bytes=T.byteLength,this._total_bits=T.byteLength*8,this._current_word=0,this._current_word_bits_left=0}destroy(){this._buffer=null}_fillCurrentWord(){let T=this._total_bytes-this._buffer_index;if(T<=0)throw new d("ExpGolomb: _fillCurrentWord() but no bytes available");let z=Math.min(4,T),Z=new Uint8Array(4);Z.set(this._buffer.subarray(this._buffer_index,this._buffer_index+z)),this._current_word=new DataView(Z.buffer).getUint32(0,!1),this._buffer_index+=z,this._current_word_bits_left=z*8}readBits(T){if(T>32)throw new l("ExpGolomb: readBits() bits exceeded max 32bits!");if(T<=this._current_word_bits_left){let Ge=this._current_word>>>32-T;return this._current_word<<=T,this._current_word_bits_left-=T,Ge}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 $=Math.min(Z,this._current_word_bits_left),se=this._current_word>>>32-$;return this._current_word<<=$,this._current_word_bits_left-=$,z=z<<$|se,z}readBool(){return this.readBits(1)===1}readByte(){return this.readBits(8)}_skipLeadingZero(){let T;for(T=0;T<this._current_word_bits_left;T++)if(this._current_word&2147483648>>>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 He=ge;class Fe{static _ebsp2rbsp(T){let z=T,Z=z.byteLength,$=new Uint8Array(Z),se=0;for(let Ge=0;Ge<Z;Ge++)Ge>=2&&z[Ge]===3&&z[Ge-1]===0&&z[Ge-2]===0||($[se]=z[Ge],se++);return new Uint8Array($.buffer,0,se)}static parseSPS(T){let z=Fe._ebsp2rbsp(T),Z=new He(z);Z.readByte();let $=Z.readByte();Z.readByte();let se=Z.readByte();Z.readUEG();let Ge=Fe.getProfileString($),at=Fe.getLevelString(se),_t=1,dt=420,Rt=[0,420,422,444],Gt=8;if(($===100||$===110||$===122||$===244||$===44||$===83||$===86||$===118||$===128||$===138||$===144)&&(_t=Z.readUEG(),_t===3&&Z.readBits(1),_t<=3&&(dt=Rt[_t]),Gt=Z.readUEG()+8,Z.readUEG(),Z.readBits(1),Z.readBool())){let mn=_t!==3?8:12;for(let Pt=0;Pt<mn;Pt++)Z.readBool()&&(Pt<6?Fe._skipScalingList(Z,16):Fe._skipScalingList(Z,64))}Z.readUEG();let ze=Z.readUEG();if(ze===0)Z.readUEG();else if(ze===1){Z.readBits(1),Z.readSEG(),Z.readSEG();let mn=Z.readUEG();for(let Pt=0;Pt<mn;Pt++)Z.readSEG()}let Re=Z.readUEG();Z.readBits(1);let ye=Z.readUEG(),Te=Z.readUEG(),Ie=Z.readBits(1);Ie===0&&Z.readBits(1),Z.readBits(1);let Ke=0,he=0,Ze=0,tt=0;Z.readBool()&&(Ke=Z.readUEG(),he=Z.readUEG(),Ze=Z.readUEG(),tt=Z.readUEG());let _e=1,Ee=1,Xe=0,Se=!0,ut=0,bt=0;if(Z.readBool()){if(Z.readBool()){let mn=Z.readByte(),Pt=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],wn=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];mn>0&&mn<16?(_e=Pt[mn-1],Ee=wn[mn-1]):mn===255&&(_e=Z.readByte()<<8|Z.readByte(),Ee=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 mn=Z.readBits(32),Pt=Z.readBits(32);Se=Z.readBool(),ut=Pt,bt=mn*2,Xe=ut/bt}}let kt=1;(_e!==1||Ee!==1)&&(kt=_e/Ee);let on=0,Sn=0;if(_t===0)on=1,Sn=2-Ie;else{let mn=_t===3?1:2,Pt=_t===1?2:1;on=mn,Sn=Pt*(2-Ie)}let _n=(ye+1)*16,nn=(2-Ie)*((Te+1)*16);_n-=(Ke+he)*on,nn-=(Ze+tt)*Sn;let dn=Math.ceil(_n*kt);return Z.destroy(),Z=null,{profile_string:Ge,level_string:at,bit_depth:Gt,ref_frames:Re,chroma_format:dt,chroma_format_string:Fe.getChromaFormatString(dt),frame_rate:{fixed:Se,fps:Xe,fps_den:bt,fps_num:ut},sar_ratio:{width:_e,height:Ee},codec_size:{width:_n,height:nn},present_size:{width:dn,height:nn}}}static _skipScalingList(T,z){let Z=8,$=8,se=0;for(let Ge=0;Ge<z;Ge++)$!==0&&(se=T.readSEG(),$=(Z+se+256)%256),Z=$===0?Z:$}static getProfileString(T){switch(T){case 66:return"Baseline";case 77:return"Main";case 88:return"Extended";case 100:return"High";case 110:return"High10";case 122:return"High422";case 244:return"High444";default:return"Unknown"}}static getLevelString(T){return(T/10).toFixed(1)}static getChromaFormatString(T){switch(T){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}var Pe=Fe,Ne={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"};function V(rt){return rt>>>8&255|(rt&255)<<8}function q(rt){return(rt&4278190080)>>>24|(rt&16711680)>>>8|(rt&65280)<<8|(rt&255)<<24}function ae(rt,T){return rt[T]<<24|rt[T+1]<<16|rt[T+2]<<8|rt[T+3]}class te{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 $=(z[4]&4)>>>2!==0,se=(z[4]&1)!==0,Ge=ae(z,5);return Ge<9?Z:{match:!0,consumed:Ge,dataOffset:Ge,hasAudioTrack:$,hasVideoTrack:se}}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,$=this._littleEndian;if(z===0)if(T.byteLength>13)Z=te.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,!$)!==0&&C.w(this.TAG,"PrevTagSize0 !== 0 !!!"),Z+=4);Z<T.byteLength;){this._dispatch=!0;let se=new DataView(T,Z);if(Z+11+4>T.byteLength)break;let Ge=se.getUint8(0),at=se.getUint32(0,!$)&16777215;if(Z+11+at+4>T.byteLength)break;if(Ge!==8&&Ge!==9&&Ge!==18){C.w(this.TAG,`Unsupported tag type ${Ge}, skipped`),Z+=11+at+4;continue}let _t=se.getUint8(4),dt=se.getUint8(5),Rt=se.getUint8(6),Gt=se.getUint8(7),ze=Rt|dt<<8|_t<<16|Gt<<24;(se.getUint32(7,!$)&16777215)!==0&&C.w(this.TAG,"Meet tag which has StreamID != 0!");let ye=Z+11;switch(Ge){case 8:this._parseAudioData(T,ye,at,ze);break;case 9:this._parseVideoData(T,ye,at,ze,z+Z);break;case 18:this._parseScriptData(T,ye,at);break}let Te=se.getUint32(11+at,!$);Te!==11+at&&C.w(this.TAG,`Invalid PrevTagSize ${Te}`),Z+=11+at+4}return this._isInitialMetadataDispatched()&&this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack),Z}_parseScriptData(T,z,Z){let $=Be.parseScriptData(T,z,Z);if($.hasOwnProperty("onMetaData")){if($.onMetaData==null||typeof $.onMetaData!="object"){C.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&C.w(this.TAG,"Found another onMetaData tag!"),this._metadata=$;let se=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},se)),typeof se.hasAudio=="boolean"&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=se.hasAudio,this._mediaInfo.hasAudio=this._hasAudio),typeof se.hasVideo=="boolean"&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=se.hasVideo,this._mediaInfo.hasVideo=this._hasVideo),typeof se.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=se.audiodatarate),typeof se.videodatarate=="number"&&(this._mediaInfo.videoDataRate=se.videodatarate),typeof se.width=="number"&&(this._mediaInfo.width=se.width),typeof se.height=="number"&&(this._mediaInfo.height=se.height),typeof se.duration=="number"){if(!this._durationOverrided){let Ge=Math.floor(se.duration*this._timescale);this._duration=Ge,this._mediaInfo.duration=Ge}}else this._mediaInfo.duration=0;if(typeof se.framerate=="number"){let Ge=Math.floor(se.framerate*1e3);if(Ge>0){let at=Ge/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=at,this._referenceFrameRate.fps_num=Ge,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=at}}if(typeof se.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;let Ge=se.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Ge),se.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=se,C.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys($).length>0&&this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},$))}_parseKeyframesIndex(T){let z=[],Z=[];for(let $=1;$<T.times.length;$++){let se=this._timestampBase+Math.floor(T.times[$]*1e3);z.push(se),Z.push(T.filepositions[$])}return{times:z,filepositions:Z}}_parseAudioData(T,z,Z,$){if(Z<=1){C.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;let se=this._littleEndian,at=new DataView(T,z,Z).getUint8(0),_t=at>>>4;if(_t!==2&&_t!==10){this._onError(Ne.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+_t);return}let dt=0,Rt=(at&12)>>>2;if(Rt>=0&&Rt<=4)dt=this._flvSoundRateTable[Rt];else{this._onError(Ne.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+Rt);return}let Gt=(at&2)>>>1,ze=at&1,Re=this._audioMetadata,ye=this._audioTrack;if(Re||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),Re=this._audioMetadata={},Re.type="audio",Re.id=ye.id,Re.timescale=this._timescale,Re.duration=this._duration,Re.audioSampleRate=dt,Re.channelCount=ze===0?1:2),_t===10){let Te=this._parseAACAudioData(T,z+1,Z-1);if(Te==null)return;if(Te.packetType===0){Re.config&&C.w(this.TAG,"Found another AudioSpecificConfig!");let Ie=Te.data;Re.audioSampleRate=Ie.samplingRate,Re.channelCount=Ie.channelCount,Re.codec=Ie.codec,Re.originalCodec=Ie.originalCodec,Re.config=Ie.config,Re.refSampleDuration=1024/Re.audioSampleRate*Re.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",Re);let Ke=this._mediaInfo;Ke.audioCodec=Re.originalCodec,Ke.audioSampleRate=Re.audioSampleRate,Ke.audioChannelCount=Re.channelCount,Ke.hasVideo?Ke.videoCodec!=null&&(Ke.mimeType='video/x-flv; codecs="'+Ke.videoCodec+","+Ke.audioCodec+'"'):Ke.mimeType='video/x-flv; codecs="'+Ke.audioCodec+'"',Ke.isComplete()&&this._onMediaInfo(Ke)}else if(Te.packetType===1){let Ie=this._timestampBase+$,Ke={unit:Te.data,length:Te.data.byteLength,dts:Ie,pts:Ie};ye.samples.push(Ke),ye.length+=Te.data.length}else C.e(this.TAG,`Flv: Unsupported AAC data type ${Te.packetType}`)}else if(_t===2){if(!Re.codec){let he=this._parseMP3AudioData(T,z+1,Z-1,!0);if(he==null)return;Re.audioSampleRate=he.samplingRate,Re.channelCount=he.channelCount,Re.codec=he.codec,Re.originalCodec=he.originalCodec,Re.refSampleDuration=1152/Re.audioSampleRate*Re.timescale,C.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",Re);let Ze=this._mediaInfo;Ze.audioCodec=Re.codec,Ze.audioSampleRate=Re.audioSampleRate,Ze.audioChannelCount=Re.channelCount,Ze.audioDataRate=he.bitRate,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)}let Te=this._parseMP3AudioData(T,z+1,Z-1,!1);if(Te==null)return;let Ie=this._timestampBase+$,Ke={unit:Te,length:Te.byteLength,dts:Ie,pts:Ie};ye.samples.push(Ke),ye.length+=Te.length}}_parseAACAudioData(T,z,Z){if(Z<=1){C.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}let $={},se=new Uint8Array(T,z,Z);return $.packetType=se[0],se[0]===0?$.data=this._parseAACAudioSpecificConfig(T,z+1,Z-1):$.data=se.subarray(1),$}_parseAACAudioSpecificConfig(T,z,Z){let $=new Uint8Array(T,z,Z),se=null,Ge=0,at=0,_t=null,dt=0,Rt=null;if(Ge=at=$[0]>>>3,dt=($[0]&7)<<1|$[1]>>>7,dt<0||dt>=this._mpegSamplingRates.length){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}let Gt=this._mpegSamplingRates[dt],ze=($[1]&120)>>>3;if(ze<0||ze>=8){this._onError(Ne.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Ge===5&&(Rt=($[1]&7)<<1|$[2]>>>7,_t=($[2]&124)>>>2);let Re=self.navigator.userAgent.toLowerCase();return Re.indexOf("firefox")!==-1?dt>=6?(Ge=5,se=new Array(4),Rt=dt-3):(Ge=2,se=new Array(2),Rt=dt):Re.indexOf("android")!==-1?(Ge=2,se=new Array(2),Rt=dt):(Ge=5,Rt=dt,se=new Array(4),dt>=6?Rt=dt-3:ze===1&&(Ge=2,se=new Array(2),Rt=dt)),se[0]=Ge<<3,se[0]|=(dt&15)>>>1,se[1]=(dt&15)<<7,se[1]|=(ze&15)<<3,Ge===5&&(se[1]|=(Rt&15)>>>1,se[2]=(Rt&1)<<7,se[2]|=8,se[3]=0),{config:se,samplingRate:Gt,channelCount:ze,codec:"mp4a.40."+Ge,originalCodec:"mp4a.40."+at}}_parseMP3AudioData(T,z,Z,$){if(Z<4){C.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}let se=this._littleEndian,Ge=new Uint8Array(T,z,Z),at=null;if($){if(Ge[0]!==255)return;let _t=Ge[1]>>>3&3,dt=(Ge[1]&6)>>1,Rt=(Ge[2]&240)>>>4,Gt=(Ge[2]&12)>>>2,Re=(Ge[3]>>>6&3)!==3?2:1,ye=0,Te=0,Ie=34,Ke="mp3";switch(_t){case 0:ye=this._mpegAudioV25SampleRateTable[Gt];break;case 2:ye=this._mpegAudioV20SampleRateTable[Gt];break;case 3:ye=this._mpegAudioV10SampleRateTable[Gt];break}switch(dt){case 1:Ie=34,Rt<this._mpegAudioL3BitRateTable.length&&(Te=this._mpegAudioL3BitRateTable[Rt]);break;case 2:Ie=33,Rt<this._mpegAudioL2BitRateTable.length&&(Te=this._mpegAudioL2BitRateTable[Rt]);break;case 3:Ie=32,Rt<this._mpegAudioL1BitRateTable.length&&(Te=this._mpegAudioL1BitRateTable[Rt]);break}at={bitRate:Te,samplingRate:ye,channelCount:Re,codec:Ke,originalCodec:Ke}}else at=Ge;return at}_parseVideoData(T,z,Z,$,se){if(Z<=1){C.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;let Ge=new Uint8Array(T,z,Z)[0],at=(Ge&240)>>>4,_t=Ge&15;if(_t!==7){this._onError(Ne.CODEC_UNSUPPORTED,`Flv: Unsupported codec in video frame: ${_t}`);return}this._parseAVCVideoPacket(T,z+1,Z-1,$,se,at)}_parseAVCVideoPacket(T,z,Z,$,se,Ge){if(Z<4){C.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}let at=this._littleEndian,_t=new DataView(T,z,Z),dt=_t.getUint8(0),Gt=(_t.getUint32(0,!at)&16777215)<<8>>8;if(dt===0)this._parseAVCDecoderConfigurationRecord(T,z+4,Z-4);else if(dt===1)this._parseAVCVideoData(T,z+4,Z-4,$,se,Ge,Gt);else if(dt!==2){this._onError(Ne.FORMAT_ERROR,`Flv: Invalid video packet type ${dt}`);return}}_parseAVCDecoderConfigurationRecord(T,z,Z){if(Z<7){C.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}let $=this._videoMetadata,se=this._videoTrack,Ge=this._littleEndian,at=new DataView(T,z,Z);$?typeof $.avcc!="undefined"&&C.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),$=this._videoMetadata={},$.type="video",$.id=se.id,$.timescale=this._timescale,$.duration=this._duration);let _t=at.getUint8(0),dt=at.getUint8(1),Rt=at.getUint8(2),Gt=at.getUint8(3);if(_t!==1||dt===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(at.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(Ne.FORMAT_ERROR,`Flv: Strange NaluLengthSizeMinusOne: ${this._naluLengthSize-1}`);return}let ze=at.getUint8(5)&31;if(ze===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else ze>1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ${ze}`);let Re=6;for(let Te=0;Te<ze;Te++){let Ie=at.getUint16(Re,!Ge);if(Re+=2,Ie===0)continue;let Ke=new Uint8Array(T,z+Re,Ie);Re+=Ie;let he=Pe.parseSPS(Ke);if(Te!==0)continue;$.codecWidth=he.codec_size.width,$.codecHeight=he.codec_size.height,$.presentWidth=he.present_size.width,$.presentHeight=he.present_size.height,$.profile=he.profile_string,$.level=he.level_string,$.bitDepth=he.bit_depth,$.chromaFormat=he.chroma_format,$.sarRatio=he.sar_ratio,$.frameRate=he.frame_rate,(he.frame_rate.fixed===!1||he.frame_rate.fps_num===0||he.frame_rate.fps_den===0)&&($.frameRate=this._referenceFrameRate);let Ze=$.frameRate.fps_den,tt=$.frameRate.fps_num;$.refSampleDuration=$.timescale*(Ze/tt);let me=Ke.subarray(1,4),_e="avc1.";for(let Xe=0;Xe<3;Xe++){let Se=me[Xe].toString(16);Se.length<2&&(Se="0"+Se),_e+=Se}$.codec=_e;let Ee=this._mediaInfo;Ee.width=$.codecWidth,Ee.height=$.codecHeight,Ee.fps=$.frameRate.fps,Ee.profile=$.profile,Ee.level=$.level,Ee.refFrames=he.ref_frames,Ee.chromaFormat=he.chroma_format_string,Ee.sarNum=$.sarRatio.width,Ee.sarDen=$.sarRatio.height,Ee.videoCodec=_e,Ee.hasAudio?Ee.audioCodec!=null&&(Ee.mimeType='video/x-flv; codecs="'+Ee.videoCodec+","+Ee.audioCodec+'"'):Ee.mimeType='video/x-flv; codecs="'+Ee.videoCodec+'"',Ee.isComplete()&&this._onMediaInfo(Ee)}let ye=at.getUint8(Re);if(ye===0){this._onError(Ne.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else ye>1&&C.w(this.TAG,`Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ${ye}`);Re++;for(let Te=0;Te<ye;Te++){let Ie=at.getUint16(Re,!Ge);Re+=2,Ie!==0&&(Re+=Ie)}$.avcc=new Uint8Array(Z),$.avcc.set(new Uint8Array(T,z,Z),0),C.v(this.TAG,"Parsed AVCDecoderConfigurationRecord"),this._isInitialMetadataDispatched()?this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack):this._videoInitialMetadataDispatched=!0,this._dispatch=!1,this._onTrackMetadata("video",$)}_parseAVCVideoData(T,z,Z,$,se,Ge,at){let _t=this._littleEndian,dt=new DataView(T,z,Z),Rt=[],Gt=0,ze=0;const Re=this._naluLengthSize;let ye=this._timestampBase+$,Te=Ge===1;for(;ze<Z;){if(ze+4>=Z){C.w(this.TAG,`Malformed Nalu near timestamp ${ye}, offset = ${ze}, dataSize = ${Z}`);break}let Ie=dt.getUint32(ze,!_t);if(Re===3&&(Ie>>>=8),Ie>Z-Re){C.w(this.TAG,`Malformed Nalus near timestamp ${ye}, NaluSize > DataSize!`);return}let Ke=dt.getUint8(ze+Re)&31;Ke===5&&(Te=!0);let he=new Uint8Array(T,z+ze,Re+Ie),Ze={type:Ke,data:he};Rt.push(Ze),Gt+=he.byteLength,ze+=Re+Ie}if(Rt.length){let Ie=this._videoTrack,Ke={units:Rt,length:Gt,isKeyframe:Te,dts:ye,cts:at,pts:ye+at};Te&&(Ke.fileposition=se),Ie.samples.push(Ke),Ie.length+=Gt}}}var oe=te;class ee{static init(){ee.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 ee.types)ee.types.hasOwnProperty(z)&&(ee.types[z]=[z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2),z.charCodeAt(3)]);let T=ee.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,$=Array.prototype.slice.call(arguments,1),se=$.length;for(let at=0;at<se;at++)z+=$[at].byteLength;Z=new Uint8Array(z),Z[0]=z>>>24&255,Z[1]=z>>>16&255,Z[2]=z>>>8&255,Z[3]=z&255,Z.set(T,4);let Ge=8;for(let at=0;at<se;at++)Z.set($[at],Ge),Ge+=$[at].byteLength;return Z}static generateInitSegment(T){let z=ee.box(ee.types.ftyp,ee.constants.FTYP),Z=ee.moov(T),$=new Uint8Array(z.byteLength+Z.byteLength);return $.set(z,0),$.set(Z,z.byteLength),$}static moov(T){let z=ee.mvhd(T.timescale,T.duration),Z=ee.trak(T),$=ee.mvex(T);return ee.box(ee.types.moov,z,Z,$)}static mvhd(T,z){return ee.box(ee.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,T>>>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 ee.box(ee.types.trak,ee.tkhd(T),ee.mdia(T))}static tkhd(T){let z=T.id,Z=T.duration,$=T.presentWidth,se=T.presentHeight;return ee.box(ee.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,$>>>8&255,$&255,0,0,se>>>8&255,se&255,0,0]))}static mdia(T){return ee.box(ee.types.mdia,ee.mdhd(T),ee.hdlr(T),ee.minf(T))}static mdhd(T){let z=T.timescale,Z=T.duration;return ee.box(ee.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=ee.constants.HDLR_AUDIO:z=ee.constants.HDLR_VIDEO,ee.box(ee.types.hdlr,z)}static minf(T){let z=null;return T.type==="audio"?z=ee.box(ee.types.smhd,ee.constants.SMHD):z=ee.box(ee.types.vmhd,ee.constants.VMHD),ee.box(ee.types.minf,z,ee.dinf(),ee.stbl(T))}static dinf(){return ee.box(ee.types.dinf,ee.box(ee.types.dref,ee.constants.DREF))}static stbl(T){return ee.box(ee.types.stbl,ee.stsd(T),ee.box(ee.types.stts,ee.constants.STTS),ee.box(ee.types.stsc,ee.constants.STSC),ee.box(ee.types.stsz,ee.constants.STSZ),ee.box(ee.types.stco,ee.constants.STCO))}static stsd(T){return T.type==="audio"?T.codec==="mp3"?ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp3(T)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.mp4a(T)):ee.box(ee.types.stsd,ee.constants.STSD_PREFIX,ee.avc1(T))}static mp3(T){let z=T.channelCount,Z=T.audioSampleRate,$=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 ee.box(ee.types[".mp3"],$)}static mp4a(T){let z=T.channelCount,Z=T.audioSampleRate,$=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 ee.box(ee.types.mp4a,$,ee.esds(T))}static esds(T){let z=T.config||[],Z=z.length,$=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 ee.box(ee.types.esds,$)}static avc1(T){let z=T.avcc,Z=T.codecWidth,$=T.codecHeight,se=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,$>>>8&255,$&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 ee.box(ee.types.avc1,se,ee.box(ee.types.avcC,z))}static mvex(T){return ee.box(ee.types.mvex,ee.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 ee.box(ee.types.trex,Z)}static moof(T,z){return ee.box(ee.types.moof,ee.mfhd(T.sequenceNumber),ee.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 ee.box(ee.types.mfhd,z)}static traf(T,z){let Z=T.id,$=ee.box(ee.types.tfhd,new Uint8Array([0,0,0,0,Z>>>24&255,Z>>>16&255,Z>>>8&255,Z&255])),se=ee.box(ee.types.tfdt,new Uint8Array([0,0,0,0,z>>>24&255,z>>>16&255,z>>>8&255,z&255])),Ge=ee.sdtp(T),at=ee.trun(T,Ge.byteLength+16+16+8+16+8+8);return ee.box(ee.types.traf,$,se,at,Ge)}static sdtp(T){let z=T.samples||[],Z=z.length,$=new Uint8Array(4+Z);for(let se=0;se<Z;se++){let Ge=z[se].flags;$[se+4]=Ge.isLeading<<6|Ge.dependsOn<<4|Ge.isDependedOn<<2|Ge.hasRedundancy}return ee.box(ee.types.sdtp,$)}static trun(T,z){let Z=T.samples||[],$=Z.length,se=12+16*$,Ge=new Uint8Array(se);z+=8+se,Ge.set([0,0,15,1,$>>>24&255,$>>>16&255,$>>>8&255,$&255,z>>>24&255,z>>>16&255,z>>>8&255,z&255],0);for(let at=0;at<$;at++){let _t=Z[at].duration,dt=Z[at].size,Rt=Z[at].flags,Gt=Z[at].cts;Ge.set([_t>>>24&255,_t>>>16&255,_t>>>8&255,_t&255,dt>>>24&255,dt>>>16&255,dt>>>8&255,dt&255,Rt.isLeading<<2|Rt.dependsOn,Rt.isDependedOn<<6|Rt.hasRedundancy<<4|Rt.isNonSync,0,0,Gt>>>24&255,Gt>>>16&255,Gt>>>8&255,Gt&255],12+16*at)}return ee.box(ee.types.trun,Ge)}static mdat(T){return ee.box(ee.types.mdat,T)}}ee.init();var fe=ee;class Ce{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 re=Ce;class ce{constructor(T,z,Z,$,se){this.dts=T,this.pts=z,this.duration=Z,this.originalDts=$,this.isSyncPoint=se,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 Qe{constructor(){this._list=[]}clear(){this._list=[]}appendArray(T){let z=this._list;T.length!==0&&(z.length>0&&T[0].originalDts<z[z.length-1].originalDts&&this.clear(),Array.prototype.push.apply(z,T))}getLastSyncPointBeforeDts(T){if(this._list.length==0)return null;let z=this._list,Z=0,$=z.length-1,se=0,Ge=0,at=$;for(T<z[0].dts&&(Z=0,Ge=at+1);Ge<=at;)if(se=Ge+Math.floor((at-Ge)/2),se===$||T>=z[se].dts&&T<z[se+1].dts){Z=se;break}else z[se].dts<T?Ge=se+1:at=se-1;return this._list[Z]}}class ht{constructor(T){this._type=T,this._list=[],this._lastAppendLocation=-1}get type(){return this._type}get length(){return this._list.length}isEmpty(){return this._list.length===0}clear(){this._list=[],this._lastAppendLocation=-1}_searchNearestSegmentBefore(T){let z=this._list;if(z.length===0)return-2;let Z=z.length-1,$=0,se=0,Ge=Z,at=0;if(T<z[0].originalBeginDts)return at=-1,at;for(;se<=Ge;)if($=se+Math.floor((Ge-se)/2),$===Z||T>z[$].lastSample.originalDts&&T<z[$+1].originalBeginDts){at=$;break}else z[$].originalBeginDts<T?se=$+1:Ge=$-1;return at}_searchNearestSegmentAfter(T){return this._searchNearestSegmentBefore(T)+1}append(T){let z=this._list,Z=T,$=this._lastAppendLocation,se=0;$!==-1&&$<z.length&&Z.originalBeginDts>=z[$].lastSample.originalDts&&($===z.length-1||$<z.length-1&&Z.originalBeginDts<z[$+1].originalBeginDts)?se=$+1:z.length>0&&(se=this._searchNearestSegmentBefore(Z.originalBeginDts)+1),this._lastAppendLocation=se,this._list.splice(se,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 pt{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 ht("audio"),this._videoSegmentInfoList=new ht("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,$="mp4",se=z.codec;if(T==="audio")this._audioMeta=z,z.codec==="mp3"&&this._mp3UseMpegAudio?($="mpeg",se="",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:se,container:`${T}/${$}`,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 $={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};z!=null&&($.samples.push(z),$.length=z.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(Z,!0),this._remuxAudio($,!0)}_remuxAudio(T,z){if(this._audioMeta==null)return;let Z=T,$=Z.samples,se,Ge=-1,at=-1,_t=-1,dt=this._audioMeta.refSampleDuration,Rt=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Gt=this._dtsBaseInited&&this._audioNextDts===void 0,ze=!1;if(!$||$.length===0||$.length===1&&!z)return;let Re=0,ye=null,Te=0;Rt?(Re=0,Te=Z.length):(Re=8,Te=8+Z.length);let Ie=null;if($.length>1&&(Ie=$.pop(),Te-=Ie.length),this._audioStashedLastSample!=null){let Ee=this._audioStashedLastSample;this._audioStashedLastSample=null,$.unshift(Ee),Te+=Ee.length}Ie!=null&&(this._audioStashedLastSample=Ie);let Ke=$[0].dts-this._dtsBase;if(this._audioNextDts)se=Ke-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())se=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&this._audioMeta.originalCodec!=="mp3"&&(ze=!0);else{let Ee=this._audioSegmentInfoList.getLastSampleBefore(Ke);if(Ee!=null){let Xe=Ke-(Ee.originalDts+Ee.duration);Xe<=3&&(Xe=0);let Se=Ee.dts+Ee.duration+Xe;se=Ke-Se}else se=0}if(ze){let Ee=Ke-se,Xe=this._videoSegmentInfoList.getLastSegmentBefore(Ke);if(Xe!=null&&Xe.beginDts<Ee){let Se=re.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Se){let ut=Xe.beginDts,bt=Ee-Xe.beginDts;C.v(this.TAG,`InsertPrefixSilentAudio: dts: ${ut}, duration: ${bt}`),$.unshift({unit:Se,dts:ut,pts:ut}),Te+=Se.byteLength}}else ze=!1}let he=[];for(let Ee=0;Ee<$.length;Ee++){let Xe=$[Ee],Se=Xe.unit,ut=Xe.dts-this._dtsBase,bt=ut-se;Ge===-1&&(Ge=bt);let Tt=0;Ee!==$.length-1?Tt=$[Ee+1].dts-this._dtsBase-se-bt:Ie!=null?Tt=Ie.dts-this._dtsBase-se-bt:he.length>=1?Tt=he[he.length-1].duration:Tt=Math.floor(dt);let kt=!1,on=null;if(Tt>dt*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!u.safari){kt=!0;let Sn=Math.abs(Tt-dt),_n=Math.ceil(Sn/dt),nn=bt+dt;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+Tt} ms, expected: ${bt+Math.round(dt)} ms, delta: ${Math.round(Sn)} ms, generate: ${_n} frames`);let dn=re.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);dn==null&&(C.w(this.TAG,`Unable to generate silent frame for ${this._audioMeta.originalCodec} with ${this._audioMeta.channelCount} channels, repeat last frame`),dn=Se),on=[];for(let Pt=0;Pt<_n;Pt++){let wn=Math.round(nn);if(on.length>0){let Cn=on[on.length-1];Cn.duration=wn-Cn.dts}let jn={dts:wn,pts:wn,cts:0,unit:dn,size:dn.byteLength,duration:0,originalDts:ut,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};on.push(jn),Te+=jn.size,nn+=dt}let mn=on[on.length-1];mn.duration=bt+Tt-mn.dts,Tt=Math.round(dt)}he.push({dts:bt,pts:bt,cts:0,unit:Xe.unit,size:Xe.unit.byteLength,duration:Tt,originalDts:ut,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),kt&&he.push.apply(he,on)}Rt?ye=new Uint8Array(Te):(ye=new Uint8Array(Te),ye[0]=Te>>>24&255,ye[1]=Te>>>16&255,ye[2]=Te>>>8&255,ye[3]=Te&255,ye.set(fe.types.mdat,4));for(let Ee=0;Ee<he.length;Ee++){let Xe=he[Ee].unit;ye.set(Xe,Re),Re+=Xe.byteLength}let Ze=he[he.length-1];at=Ze.dts+Ze.duration,this._audioNextDts=at;let tt=new lt;tt.beginDts=Ge,tt.endDts=at,tt.beginPts=Ge,tt.endPts=at,tt.originalBeginDts=he[0].originalDts,tt.originalEndDts=Ze.originalDts+Ze.duration,tt.firstSample=new ce(he[0].dts,he[0].pts,he[0].duration,he[0].originalDts,!1),tt.lastSample=new ce(Ze.dts,Ze.pts,Ze.duration,Ze.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(tt),Z.samples=he,Z.sequenceNumber++;let me=null;Rt?me=new Uint8Array:me=fe.moof(Z,Ge),Z.samples=[],Z.length=0;let _e={type:"audio",data:this._mergeBoxes(me,ye).buffer,sampleCount:he.length,info:tt};Rt&&Gt&&(_e.timestampOffset=Ge),this._onMediaSegment("audio",_e)}_remuxVideo(T,z){if(this._videoMeta==null)return;let Z=T,$=Z.samples,se,Ge=-1,at=-1,_t=-1,dt=-1;if(!$||$.length===0||$.length===1&&!z)return;let Rt=8,Gt=null,ze=8+T.length,Re=null;if($.length>1&&(Re=$.pop(),ze-=Re.length),this._videoStashedLastSample!=null){let Ze=this._videoStashedLastSample;this._videoStashedLastSample=null,$.unshift(Ze),ze+=Ze.length}Re!=null&&(this._videoStashedLastSample=Re);let ye=$[0].dts-this._dtsBase;if(this._videoNextDts)se=ye-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())se=0;else{let Ze=this._videoSegmentInfoList.getLastSampleBefore(ye);if(Ze!=null){let tt=ye-(Ze.originalDts+Ze.duration);tt<=3&&(tt=0);let me=Ze.dts+Ze.duration+tt;se=ye-me}else se=0}let Te=new lt,Ie=[];for(let Ze=0;Ze<$.length;Ze++){let tt=$[Ze],me=tt.dts-this._dtsBase,_e=tt.isKeyframe,Ee=me-se,Xe=tt.cts,Se=Ee+Xe;Ge===-1&&(Ge=Ee,_t=Se);let ut=0;if(Ze!==$.length-1?ut=$[Ze+1].dts-this._dtsBase-se-Ee:Re!=null?ut=Re.dts-this._dtsBase-se-Ee:Ie.length>=1?ut=Ie[Ie.length-1].duration:ut=Math.floor(this._videoMeta.refSampleDuration),_e){let bt=new ce(Ee,Se,ut,tt.dts,!0);bt.fileposition=tt.fileposition,Te.appendSyncPoint(bt)}Ie.push({dts:Ee,pts:Se,cts:Xe,units:tt.units,size:tt.length,isKeyframe:_e,duration:ut,originalDts:me,flags:{isLeading:0,dependsOn:_e?2:1,isDependedOn:_e?1:0,hasRedundancy:0,isNonSync:_e?0:1}})}Gt=new Uint8Array(ze),Gt[0]=ze>>>24&255,Gt[1]=ze>>>16&255,Gt[2]=ze>>>8&255,Gt[3]=ze&255,Gt.set(fe.types.mdat,4);for(let Ze=0;Ze<Ie.length;Ze++){let tt=Ie[Ze].units;for(;tt.length;){let _e=tt.shift().data;Gt.set(_e,Rt),Rt+=_e.byteLength}}let Ke=Ie[Ie.length-1];if(at=Ke.dts+Ke.duration,dt=Ke.pts+Ke.duration,this._videoNextDts=at,Te.beginDts=Ge,Te.endDts=at,Te.beginPts=_t,Te.endPts=dt,Te.originalBeginDts=Ie[0].originalDts,Te.originalEndDts=Ke.originalDts+Ke.duration,Te.firstSample=new ce(Ie[0].dts,Ie[0].pts,Ie[0].duration,Ie[0].originalDts,Ie[0].isKeyframe),Te.lastSample=new ce(Ke.dts,Ke.pts,Ke.duration,Ke.originalDts,Ke.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Te),Z.samples=Ie,Z.sequenceNumber++,this._forceFirstIDR){let Ze=Ie[0].flags;Ze.dependsOn=2,Ze.isNonSync=0}let he=fe.moof(Z,Ge);Z.samples=[],Z.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(he,Gt).buffer,sampleCount:Ie.length,info:Te})}_mergeBoxes(T,z){let Z=new Uint8Array(T.byteLength+z.byteLength);return Z.set(T,0),Z.set(z,T.byteLength),Z}}var $e=pt,Ve={IO_ERROR:"io_error",DEMUX_ERROR:"demux_error",INIT_SEGMENT:"init_segment",MEDIA_SEGMENT:"media_segment",LOADING_COMPLETE:"loading_complete",RECOVERED_EARLY_EOF:"recovered_early_eof",MEDIA_INFO:"media_info",METADATA_ARRIVED:"metadata_arrived",SCRIPTDATA_ARRIVED:"scriptdata_arrived",STATISTICS_INFO:"statistics_info",RECOMMEND_SEEKPOINT:"recommend_seekpoint"};class Me{constructor(T,z){this.TAG="TransmuxingController",this._emitter=new(_()),this._config=z,T.segments||(T.segments=[{duration:T.duration,filesize:T.filesize,url:T.url}]),typeof T.cors!="boolean"&&(T.cors=!0),typeof T.withCredentials!="boolean"&&(T.withCredentials=!1),this._mediaDataSource=T,this._currentSegmentIndex=0;let Z=0;this._mediaDataSource.segments.forEach($=>{$.timestampBase=Z,Z+=$.duration,$.cors=T.cors,$.withCredentials=T.withCredentials,z.referrerPolicy&&($.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],$=this._ioctl=new I(Z,this._config,T);$.onError=this._onIOException.bind(this),$.onSeeked=this._onIOSeeked.bind(this),$.onComplete=this._onIOComplete.bind(this),$.onRedirect=this._onIORedirect.bind(this),$.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),z?this._demuxer.bindDataSource(this._ioctl):$.onDataArrival=this._onInitChunkArrival.bind(this),$.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 $=Z.getNearestKeyframe(T);this._remuxer.seek($.milliseconds),this._ioctl.seek($.fileposition),this._pendingResolveSeekPoint=$.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 $=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,$.fileposition),this._pendingResolveSeekPoint=$.milliseconds,this._reportSegmentMediaInfo(z)}}this._enableStatisticsReporter()}_searchSegmentIndexContains(T){let z=this._mediaDataSource.segments,Z=z.length-1;for(let $=0;$<z.length;$++)if(T<z[$].timestampBase){Z=$-1;break}return Z}_onInitChunkArrival(T,z){let Z=null,$=0;if(z>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,$=this._demuxer.parseChunks(T,z);else if((Z=oe.probe(T)).match){this._demuxer=new oe(Z,this._config),this._remuxer||(this._remuxer=new $e(this._config));let se=this._mediaDataSource;se.duration!=null&&!isNaN(se.duration)&&(this._demuxer.overridedDuration=se.duration),typeof se.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=se.hasAudio),typeof se.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=se.hasVideo),this._demuxer.timestampBase=se.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),$=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(Ve.DEMUX_ERROR,Ne.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),$=0;return $}_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(Ve.METADATA_ARRIVED,T)}_onScriptDataArrived(T){this._emitter.emit(Ve.SCRIPTDATA_ARRIVED,T)}_onIOSeeked(){this._remuxer.insertDiscontinuity()}_onIOComplete(T){let Z=T+1;Z<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(Z)):(this._remuxer.flushStashedSamples(),this._emitter.emit(Ve.LOADING_COMPLETE),this._disableStatisticsReporter())}_onIORedirect(T){let z=this._ioctl.extraData;this._mediaDataSource.segments[z].redirectedURL=T}_onIORecoveredEarlyEof(){this._emitter.emit(Ve.RECOVERED_EARLY_EOF)}_onIOException(T,z){C.e(this.TAG,`IOException: type = ${T}, code = ${z.code}, msg = ${z.msg}`),this._emitter.emit(Ve.IO_ERROR,T,z),this._disableStatisticsReporter()}_onDemuxException(T,z){C.e(this.TAG,`DemuxException: type = ${T}, info = ${z}`),this._emitter.emit(Ve.DEMUX_ERROR,T,z)}_onRemuxerInitSegmentArrival(T,z){this._emitter.emit(Ve.INIT_SEGMENT,T,z)}_onRemuxerMediaSegmentArrival(T,z){if(this._pendingSeekTime==null&&(this._emitter.emit(Ve.MEDIA_SEGMENT,T,z),this._pendingResolveSeekPoint!=null&&T==="video")){let Z=z.info.syncPoints,$=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,u.safari&&Z.length>0&&Z[0].originalDts===$&&($=Z[0].pts),this._emitter.emit(Ve.RECOMMEND_SEEKPOINT,$)}}_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(Ve.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(Ve.STATISTICS_INFO,T)}}var qe=Me,Et=function(rt){let T="TransmuxingWorker",z=null,Z=Te.bind(this);k.install(),rt.addEventListener("message",function(Ie){switch(Ie.data.cmd){case"init":z=new qe(Ie.data.param[0],Ie.data.param[1]),z.on(Ve.IO_ERROR,ze.bind(this)),z.on(Ve.DEMUX_ERROR,Re.bind(this)),z.on(Ve.INIT_SEGMENT,$.bind(this)),z.on(Ve.MEDIA_SEGMENT,se.bind(this)),z.on(Ve.LOADING_COMPLETE,Ge.bind(this)),z.on(Ve.RECOVERED_EARLY_EOF,at.bind(this)),z.on(Ve.MEDIA_INFO,_t.bind(this)),z.on(Ve.METADATA_ARRIVED,dt.bind(this)),z.on(Ve.SCRIPTDATA_ARRIVED,Rt.bind(this)),z.on(Ve.STATISTICS_INFO,Gt.bind(this)),z.on(Ve.RECOMMEND_SEEKPOINT,ye.bind(this));break;case"destroy":z&&(z.destroy(),z=null),rt.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 Ke=Ie.data.param;Q.applyConfig(Ke),Ke.enableCallback===!0?Q.addLogListener(Z):Q.removeLogListener(Z);break}}});function $(Ie,Ke){let he={msg:Ve.INIT_SEGMENT,data:{type:Ie,data:Ke}};rt.postMessage(he,[Ke.data])}function se(Ie,Ke){let he={msg:Ve.MEDIA_SEGMENT,data:{type:Ie,data:Ke}};rt.postMessage(he,[Ke.data])}function Ge(){let Ie={msg:Ve.LOADING_COMPLETE};rt.postMessage(Ie)}function at(){let Ie={msg:Ve.RECOVERED_EARLY_EOF};rt.postMessage(Ie)}function _t(Ie){let Ke={msg:Ve.MEDIA_INFO,data:Ie};rt.postMessage(Ke)}function dt(Ie){let Ke={msg:Ve.METADATA_ARRIVED,data:Ie};rt.postMessage(Ke)}function Rt(Ie){let Ke={msg:Ve.SCRIPTDATA_ARRIVED,data:Ie};rt.postMessage(Ke)}function Gt(Ie){let Ke={msg:Ve.STATISTICS_INFO,data:Ie};rt.postMessage(Ke)}function ze(Ie,Ke){rt.postMessage({msg:Ve.IO_ERROR,data:{type:Ie,info:Ke}})}function Re(Ie,Ke){rt.postMessage({msg:Ve.DEMUX_ERROR,data:{type:Ie,info:Ke}})}function ye(Ie){rt.postMessage({msg:Ve.RECOMMEND_SEEKPOINT,data:Ie})}function Te(Ie,Ke){rt.postMessage({msg:"logcat_callback",data:{type:Ie,logcat:Ke}})}};class xt{constructor(T,z){if(this.TAG="Transmuxer",this._emitter=new(_()),z.enableWorker&&typeof Worker!="undefined")try{let Z=w(82059);this._worker=Z(Et),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(Ve.IO_ERROR,this._onIOError.bind(this)),Z.on(Ve.DEMUX_ERROR,this._onDemuxError.bind(this)),Z.on(Ve.INIT_SEGMENT,this._onInitSegment.bind(this)),Z.on(Ve.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),Z.on(Ve.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),Z.on(Ve.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),Z.on(Ve.MEDIA_INFO,this._onMediaInfo.bind(this)),Z.on(Ve.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),Z.on(Ve.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),Z.on(Ve.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),Z.on(Ve.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(Ve.INIT_SEGMENT,T,z)})}_onMediaSegment(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ve.MEDIA_SEGMENT,T,z)})}_onLoadingComplete(){Promise.resolve().then(()=>{this._emitter.emit(Ve.LOADING_COMPLETE)})}_onRecoveredEarlyEof(){Promise.resolve().then(()=>{this._emitter.emit(Ve.RECOVERED_EARLY_EOF)})}_onMediaInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ve.MEDIA_INFO,T)})}_onMetaDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ve.METADATA_ARRIVED,T)})}_onScriptDataArrived(T){Promise.resolve().then(()=>{this._emitter.emit(Ve.SCRIPTDATA_ARRIVED,T)})}_onStatisticsInfo(T){Promise.resolve().then(()=>{this._emitter.emit(Ve.STATISTICS_INFO,T)})}_onIOError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ve.IO_ERROR,T,z)})}_onDemuxError(T,z){Promise.resolve().then(()=>{this._emitter.emit(Ve.DEMUX_ERROR,T,z)})}_onRecommendSeekpoint(T){Promise.resolve().then(()=>{this._emitter.emit(Ve.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 Ve.INIT_SEGMENT:case Ve.MEDIA_SEGMENT:this._emitter.emit(z.msg,Z.type,Z.data);break;case Ve.LOADING_COMPLETE:case Ve.RECOVERED_EARLY_EOF:this._emitter.emit(z.msg);break;case Ve.MEDIA_INFO:Object.setPrototypeOf(Z,xe.prototype),this._emitter.emit(z.msg,Z);break;case Ve.METADATA_ARRIVED:case Ve.SCRIPTDATA_ARRIVED:case Ve.STATISTICS_INFO:this._emitter.emit(z.msg,Z);break;case Ve.IO_ERROR:case Ve.DEMUX_ERROR:this._emitter.emit(z.msg,Z.type,Z.info);break;case Ve.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,Bt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"};class hn{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 Qe}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 $=this._sourceBuffers[z];if($){if(T.readyState!=="closed"){try{T.removeSourceBuffer($)}catch(se){C.e(this.TAG,se.message)}$.removeEventListener("error",this.e.onSourceBufferError),$.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,$=`${Z.container}`;Z.codec&&Z.codec.length>0&&($+=`;codecs=${Z.codec}`);let se=!1;if(C.v(this.TAG,"Received Initialization Segment, mimeType: "+$),this._lastInitSegments[Z.type]=Z,$!==this._mimeTypes[Z.type]){if(this._mimeTypes[Z.type])C.v(this.TAG,`Notice: ${Z.type} mimeType changed, origin: ${this._mimeTypes[Z.type]}, target: ${$}`);else{se=!0;try{let Ge=this._sourceBuffers[Z.type]=this._mediaSource.addSourceBuffer($);Ge.addEventListener("error",this.e.onSourceBufferError),Ge.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Ge){C.e(this.TAG,Ge.message),this._emitter.emit(Bt.ERROR,{code:Ge.code,msg:Ge.message});return}}this._mimeTypes[Z.type]=$}z||this._pendingSegments[Z.type].push(Z),se||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(se){C.e(this.TAG,se.message)}this._idrList.clear();let $=this._pendingSegments[z];if($.splice(0,$.length),this._mediaSource.readyState!=="closed"){for(let se=0;se<Z.buffered.length;se++){let Ge=Z.buffered.start(se),at=Z.buffered.end(se);this._pendingRemoveRanges[z].push({start:Ge,end:at})}if(Z.updating||this._doRemoveRanges(),u.safari){let se=this._lastInitSegments[z];se&&(this._pendingSegments[z].push(se),Z.updating||this._doAppendSegments())}}}}endOfStream(){let T=this._mediaSource,z=this._sourceBuffers;if(!T||T.readyState!=="open"){T&&T.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}z.video&&z.video.updating||z.audio&&z.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,T.endOfStream())}getNearestKeyframe(T){return this._idrList.getLastSyncPointBeforeDts(T)}_needCleanupSourceBuffer(){if(!this._config.autoCleanupSourceBuffer)return!1;let T=this._mediaElement.currentTime;for(let z in this._sourceBuffers){let Z=this._sourceBuffers[z];if(Z){let $=Z.buffered;if($.length>=1&&T-$.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 $=Z.buffered,se=!1;for(let Ge=0;Ge<$.length;Ge++){let at=$.start(Ge),_t=$.end(Ge);if(at<=T&&T<_t+3){if(T-at>=this._config.autoCleanupMaxBackwardDuration){se=!0;let dt=T-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[z].push({start:at,end:dt})}}else _t<T&&(se=!0,this._pendingRemoveRanges[z].push({start:at,end:_t}))}se&&!Z.updating&&this._doRemoveRanges()}}}_updateMediaSourceDuration(){let T=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open"||T.video&&T.video.updating||T.audio&&T.audio.updating)return;let z=this._mediaSource.duration,Z=this._pendingMediaDuration;Z>0&&(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 $=Z.shift();z.remove($.start,$.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 $=this._sourceBuffers[z].timestampOffset,se=Z.timestampOffset/1e3;Math.abs($-se)>.1&&(C.v(this.TAG,`Update MPEG audio timestampOffset from ${$} to ${se}`),this._sourceBuffers[z].timestampOffset=se),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($){this._pendingSegments[z].unshift(Z),$.code===22?(this._isBufferFull||this._emitter.emit(Bt.BUFFER_FULL),this._isBufferFull=!0):(C.e(this.TAG,$.message),this._emitter.emit(Bt.ERROR,{code:$.code,msg:$.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(Bt.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(Bt.UPDATE_END)}_onSourceBufferError(T){C.e(this.TAG,`SourceBuffer Error: ${T}`)}}var Nn=hn;const tn={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},On={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 qt{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 Nn(this._config),this._msectl.on(Bt.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(Bt.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(Bt.SOURCE_OPEN,()=>{this._mseSourceOpened=!0,this._hasPendingLoad&&(this._hasPendingLoad=!1,this.load())}),this._msectl.on(Bt.ERROR,z=>{this._emitter.emit(Y.ERROR,tn.MEDIA_ERROR,On.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(Ve.INIT_SEGMENT,(T,z)=>{this._msectl.appendInitSegment(z)}),this._transmuxer.on(Ve.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(Ve.LOADING_COMPLETE,()=>{this._msectl.endOfStream(),this._emitter.emit(Y.LOADING_COMPLETE)}),this._transmuxer.on(Ve.RECOVERED_EARLY_EOF,()=>{this._emitter.emit(Y.RECOVERED_EARLY_EOF)}),this._transmuxer.on(Ve.IO_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,tn.NETWORK_ERROR,T,z)}),this._transmuxer.on(Ve.DEMUX_ERROR,(T,z)=>{this._emitter.emit(Y.ERROR,tn.MEDIA_ERROR,T,{code:-1,msg:z})}),this._transmuxer.on(Ve.MEDIA_INFO,T=>{this._mediaInfo=T,this._emitter.emit(Y.MEDIA_INFO,Object.assign({},T))}),this._transmuxer.on(Ve.METADATA_ARRIVED,T=>{this._emitter.emit(Y.METADATA_ARRIVED,T)}),this._transmuxer.on(Ve.SCRIPTDATA_ARRIVED,T=>{this._emitter.emit(Y.SCRIPTDATA_ARRIVED,T)}),this._transmuxer.on(Ve.STATISTICS_INFO,T=>{this._statisticsInfo=this._fillStatisticsInfo(T),this._emitter.emit(Y.STATISTICS_INFO,Object.assign({},this._statisticsInfo))}),this._transmuxer.on(Ve.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,$=0;if(this._mediaElement.getVideoPlaybackQuality){let se=this._mediaElement.getVideoPlaybackQuality();Z=se.totalVideoFrames,$=se.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,$=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=$),T}_onmseUpdateEnd(){if(!this._config.lazyLoad||this._config.isLive)return;let T=this._mediaElement.buffered,z=this._mediaElement.currentTime,Z=0,$=0;for(let se=0;se<T.length;se++){let Ge=T.start(se),at=T.end(se);if(Ge<=z&&z<at){Z=Ge,$=at;break}}$>=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 $=0;$<z.length;$++){let se=z.start($),Ge=z.end($);if(T>=se&&T<Ge){T>=Ge-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<z.length;Z++){let $=z.start(Z),se=z.end(Z);if(T>=$&&T<se)return!0}return!1}_internalSeek(T){let z=this._isTimepointBuffered(T),Z=!1,$=0;if(T<1&&this._mediaElement.buffered.length>0){let se=this._mediaElement.buffered.start(0);(se<1&&T<se||u.safari)&&(Z=!0,$=u.safari?.1:se)}if(Z)this._requestSetTime=!0,this._mediaElement.currentTime=$;else if(z){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=T;else{let se=this._msectl.getNearestKeyframe(Math.floor(T*1e3));this._requestSetTime=!0,se!=null?this._mediaElement.currentTime=se.dts/1e3:this._mediaElement.currentTime=T}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(T),this._transmuxer.seek(Math.floor(T*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=T)}_checkAndApplyUnbufferedSeekpoint(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){let T=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(T)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(T),this._transmuxer.seek(Math.floor(T*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=T))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}_checkAndResumeStuckPlayback(T){let z=this._mediaElement;if(T||!this._receivedCanPlay||z.readyState<2){let Z=z.buffered;Z.length>0&&z.currentTime<Z.start(0)&&(C.w(this.TAG,`Playback seems stuck at ${z.currentTime}, seek to ${Z.start(0)}`),this._requestSetTime=!0,this._mediaElement.currentTime=Z.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}_onvLoadedMetadata(T){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}_onvSeeking(T){let z=this._mediaElement.currentTime,Z=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(z<1&&Z.length>0){let $=Z.start(0);if($<1&&z<$||u.safari){this._requestSetTime=!0,this._mediaElement.currentTime=u.safari?.1:$;return}}if(this._isTimepointBuffered(z)){if(this._alwaysSeekKeyframe){let $=this._msectl.getNearestKeyframe(Math.floor(z*1e3));$!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=$.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:z,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}_onvCanPlay(T){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}_onvStalled(T){this._checkAndResumeStuckPlayback(!0)}_onvProgress(T){this._checkAndResumeStuckPlayback()}}var Wt=qt;class Zt{constructor(T,z){if(this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new(_()),this._config=F(),typeof z=="object"&&Object.assign(this._config,z),T.type.toLowerCase()==="flv")throw new l("NativePlayer does't support flv MediaDataSource input!");if(T.hasOwnProperty("segments"))throw new l(`NativePlayer(${T.type}) doesn't support multipart playback!`);this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=T,this._mediaElement=null}destroy(){this._mediaElement&&(this.unload(),this.detachMediaElement()),this.e=null,this._mediaDataSource=null,this._emitter.removeAllListeners(),this._emitter=null}on(T,z){T===Y.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(()=>{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,$=0;if(this._mediaElement.getVideoPlaybackQuality){let se=this._mediaElement.getVideoPlaybackQuality();Z=se.totalVideoFrames,$=se.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(Z=this._mediaElement.webkitDecodedFrameCount,$=this._mediaElement.webkitDroppedFrameCount):z=!1;return z&&(T.decodedFrames=Z,T.droppedFrames=$),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 rn=Zt;k.install();function xn(rt,T){let z=rt;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 Wt(z,T);default:return new rn(z,T)}}function Dn(){return j.supportMSEH264Playback()}function Pn(){return j.getFeatureList()}let Nt={};Nt.createPlayer=xn,Nt.isSupported=Dn,Nt.getFeatureList=Pn,Nt.BaseLoader=n,Nt.LoaderStatus=g,Nt.LoaderErrors=r,Nt.Events=Y,Nt.ErrorTypes=tn,Nt.ErrorDetails=On,Nt.FlvPlayer=Wt,Nt.NativePlayer=rn,Nt.LoggingControl=Q,Object.defineProperty(Nt,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ht=Nt},9981:function(Ln,gt){"use strict";const w=function(){const h=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let k=1;k<arguments.length;k++){const P=k<0||arguments.length<=k?void 0:arguments[k];P&&Object.keys(P).forEach(_=>{const B=P[_];B!==void 0&&(h[_]=B)})}return h};gt.Z=w},86013:function(Ln,gt,w){"use strict";var h=w(59301),k=w(19248);const P=_=>{let B;return typeof _=="object"&&(_!=null&&_.clearIcon)?B=_:_&&(B={clearIcon:h.createElement(k.Z,null)}),B};gt.Z=P},54500:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return h}});const h=k=>k?typeof k=="function"?k():k:null},97224:function(Ln,gt,w){"use strict";w.d(gt,{F:function(){return h}});function h(P){return P!=null&&P===P.window}const k=P=>{var _,B;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=(B=((_=P.ownerDocument)!==null&&_!==void 0?_:P).documentElement)===null||B===void 0?void 0:B.scrollTop),C};gt.Z=k},83010:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return _}});var h=w(16089);function k(B,C,p,m){const E=p-C;return B/=m/2,B<1?E/2*B*B*B+C:E/2*((B-=2)*B*B+2)+C}var P=w(97224);function _(B){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:p=()=>window,callback:m,duration:E=450}=C,d=p(),l=(0,P.Z)(d),o=Date.now(),g=()=>{const n=Date.now()-o,a=k(n>E?E:n,l,B,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<E?(0,h.Z)(g):typeof m=="function"&&m()};(0,h.Z)(g)}},1560:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return u}});var h=w(2738),k=w(45915),P=w(82326),_=w(59301),B=w(92310),C=w.n(B),p=w(11592),m=w(75030),E=w(48755);const{Option:d}=P.default;function l(s){return(s==null?void 0:s.type)&&(s.type.isSelectOption||s.type.isSelectOptGroup)}const o=(s,v)=>{var e;const{prefixCls:t,className:i,popupClassName:f,dropdownClassName:y,children:b,dataSource:x}=s,A=(0,p.Z)(b);let M;A.length===1&&_.isValidElement(A[0])&&!l(A[0])&&([M]=A);const L=M?()=>M:void 0;let O;A.length&&l(A[0])?O=b:O=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_),N=D("select",t),[I]=(0,m.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:N,popupClassName:f||y,dropdownStyle:Object.assign(Object.assign({},s.dropdownStyle),{zIndex:I}),className:C()(`${N}-auto-complete`,i),mode:P.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:L}),O)};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(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return tt}});var h=w(94480),k=w(59301),P=w(92310),_=w.n(P),B=w(54476),C=w(33885),p=w(42978),m=w(75931),E=w(37463),d=w(6551),l=w(6089),o=w(18929),g=k.createContext({}),r=g,n=w(76190),a=w(20068),c="__rc_cascader_search_mark__",u=function(_e,Ee,Xe){var Se=Xe.label,ut=Se===void 0?"":Se;return Ee.some(function(bt){return String(bt[ut]).toLowerCase().includes(_e.toLowerCase())})},s=function(_e,Ee,Xe,Se){return Ee.map(function(ut){return ut[Se.label]}).join(" / ")},v=function(_e,Ee,Xe,Se,ut,bt){var Tt=ut.filter,kt=Tt===void 0?u:Tt,on=ut.render,Sn=on===void 0?s:on,_n=ut.limit,nn=_n===void 0?50:_n,dn=ut.sort;return k.useMemo(function(){var mn=[];if(!_e)return[];function Pt(wn,jn){var Cn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;wn.forEach(function(Fn){if(!(!dn&&nn!==!1&&nn>0&&mn.length>=nn)){var er=[].concat((0,h.Z)(jn),[Fn]),Cr=Fn[Xe.children],sr=Cn||Fn.disabled;if((!Cr||Cr.length===0||bt)&&kt(_e,er,{label:Xe.label})){var Bn;mn.push((0,C.Z)((0,C.Z)({},Fn),{},(Bn={disabled:sr},(0,a.Z)(Bn,Xe.label,Sn(_e,er,Se,Xe)),(0,a.Z)(Bn,c,er),(0,a.Z)(Bn,Xe.children,void 0),Bn)))}Cr&&Pt(Fn[Xe.children],er,sr)}})}return Pt(Ee,[]),dn&&mn.sort(function(wn,jn){return dn(wn[c],jn[c],_e,Xe)}),nn!==!1&&nn>0?mn.slice(0,nn):mn},[_e,Ee,Xe,Se,Sn,bt,kt,dn,nn])},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 _e=me||{},Ee=_e.label,Xe=_e.value,Se=_e.children,ut=Xe||"value";return{label:Ee||"label",value:ut,key:ut,children:Se||"children"}}function M(me,_e){var Ee,Xe;return(Ee=me.isLeaf)!==null&&Ee!==void 0?Ee:!((Xe=me[_e.children])!==null&&Xe!==void 0&&Xe.length)}function L(me){var _e=me.parentElement;if(_e){var Ee=me.offsetTop-_e.offsetTop;Ee-_e.scrollTop<0?_e.scrollTo({top:Ee}):Ee+me.offsetHeight-_e.scrollTop>_e.offsetHeight&&_e.scrollTo({top:Ee+me.offsetHeight-_e.offsetHeight})}}function O(me,_e){return me.map(function(Ee){var Xe;return(Xe=Ee[c])===null||Xe===void 0?void 0:Xe.map(function(Se){return Se[_e.value]})})}function D(me){return Array.isArray(me)&&Array.isArray(me[0])}function N(me){return me?D(me)?me:(me.length===0?[]:[me]).map(function(_e){return Array.isArray(_e)?_e:[_e]}):[]}function I(me,_e,Ee){var Xe=new Set(me),Se=_e();return me.filter(function(ut){var bt=Se[ut],Tt=bt?bt.parent:null,kt=bt?bt.children:null;return bt&&bt.node.disabled?!0:Ee===f?!(kt&&kt.some(function(on){return on.key&&Xe.has(on.key)})):!(Tt&&!Tt.node.disabled&&Xe.has(Tt.key))})}function U(me,_e,Ee){for(var Xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Se=_e,ut=[],bt=function(){var on,Sn,_n,nn=me[Tt],dn=(on=Se)===null||on===void 0?void 0:on.findIndex(function(Pt){var wn=Pt[Ee.value];return Xe?String(wn)===String(nn):wn===nn}),mn=dn!==-1?(Sn=Se)===null||Sn===void 0?void 0:Sn[dn]:null;ut.push({value:(_n=mn==null?void 0:mn[Ee.value])!==null&&_n!==void 0?_n:nn,index:dn,option:mn}),Se=mn==null?void 0:mn[Ee.children]},Tt=0;Tt<me.length;Tt+=1)bt();return ut}var F=function(me,_e,Ee,Xe,Se){return k.useMemo(function(){var ut=Se||function(bt){var Tt=Xe?bt.slice(-1):bt,kt=" / ";return Tt.every(function(on){return["string","number"].includes((0,n.Z)(on))})?Tt.join(kt):Tt.reduce(function(on,Sn,_n){var nn=k.isValidElement(Sn)?k.cloneElement(Sn,{key:_n}):Sn;return _n===0?[nn]:[].concat((0,h.Z)(on),[kt,nn])},[])};return me.map(function(bt){var Tt,kt=U(bt,_e,Ee),on=ut(kt.map(function(_n){var nn,dn=_n.option,mn=_n.value;return(nn=dn==null?void 0:dn[Ee.label])!==null&&nn!==void 0?nn:mn}),kt.map(function(_n){var nn=_n.option;return nn})),Sn=y(bt);return{label:on,value:Sn,key:Sn,valueCells:bt,disabled:(Tt=kt[kt.length-1])===null||Tt===void 0||(Tt=Tt.option)===null||Tt===void 0?void 0:Tt.disabled}})},[me,_e,Ee,Se,Xe])};function K(me,_e){return k.useCallback(function(Ee){var Xe=[],Se=[];return Ee.forEach(function(ut){var bt=U(ut,me,_e);bt.every(function(Tt){return Tt.option})?Se.push(ut):Xe.push(ut)}),[Se,Xe]},[me,_e])}var j=w(34061),G=function(me,_e){var Ee=k.useRef({options:[],info:{keyEntities:{},pathKeyEntities:{}}}),Xe=k.useCallback(function(){return Ee.current.options!==me&&(Ee.current.options=me,Ee.current.info=(0,j.I8)(me,{fieldNames:_e,initWrapper:function(ut){return(0,C.Z)((0,C.Z)({},ut),{},{pathKeyEntities:{}})},processEntity:function(ut,bt){var Tt=ut.nodes.map(function(kt){return kt[_e.value]}).join(t);bt.pathKeyEntities[Tt]=ut,ut.key=Tt}})),Ee.current.info.pathKeyEntities},[_e,me]);return Xe};function Y(me,_e){var Ee=k.useMemo(function(){return _e||[]},[_e]),Xe=G(Ee,me),Se=k.useCallback(function(ut){var bt=Xe();return ut.map(function(Tt){var kt=bt[Tt].nodes;return kt.map(function(on){return on[me.value]})})},[Xe,me]);return[Ee,Xe,Se]}var le=w(48736);function Q(me){return k.useMemo(function(){if(!me)return[!1,{}];var _e={matchInputWidth:!0,limit:50};return me&&(0,n.Z)(me)==="object"&&(_e=(0,C.Z)((0,C.Z)({},_e),me)),_e.limit<=0&&(_e.limit=!1),[!0,_e]},[me])}var ve=w(34643);function xe(me,_e,Ee,Xe,Se,ut,bt,Tt){return function(kt){if(!me)_e(kt);else{var on=y(kt),Sn=b(Ee),_n=b(Xe),nn=Sn.includes(on),dn=Se.some(function(sr){return y(sr)===on}),mn=Ee,Pt=Se;if(dn&&!nn)Pt=Se.filter(function(sr){return y(sr)!==on});else{var wn=nn?Sn.filter(function(sr){return sr!==on}):[].concat((0,h.Z)(Sn),[on]),jn=ut(),Cn;if(nn){var Fn=(0,ve.S)(wn,{checked:!1,halfCheckedKeys:_n},jn);Cn=Fn.checkedKeys}else{var er=(0,ve.S)(wn,!0,jn);Cn=er.checkedKeys}var Cr=I(Cn,ut,Tt);mn=bt(Cr)}_e([].concat((0,h.Z)(Pt),(0,h.Z)(mn)))}}}function be(me,_e,Ee,Xe,Se){return k.useMemo(function(){var ut=Se(_e),bt=(0,p.Z)(ut,2),Tt=bt[0],kt=bt[1];if(!me||!_e.length)return[Tt,[],kt];var on=b(Tt),Sn=Ee(),_n=(0,ve.S)(on,!0,Sn),nn=_n.checkedKeys,dn=_n.halfCheckedKeys;return[Xe(nn),Xe(dn),kt]},[me,_e,Ee,Xe,Se])}var De=k.memo(function(me){var _e=me.children;return _e},function(me,_e){return!_e.open}),Ue=De;function we(me){var _e,Ee=me.prefixCls,Xe=me.checked,Se=me.halfChecked,ut=me.disabled,bt=me.onClick,Tt=me.disableCheckbox,kt=k.useContext(r),on=kt.checkable,Sn=typeof on!="boolean"?on:null;return k.createElement("span",{className:_()("".concat(Ee),(_e={},(0,a.Z)(_e,"".concat(Ee,"-checked"),Xe),(0,a.Z)(_e,"".concat(Ee,"-indeterminate"),!Xe&&Se),(0,a.Z)(_e,"".concat(Ee,"-disabled"),ut||Tt),_e)),onClick:bt},Sn)}var Ye="__cascader_fix_label__";function Be(me){var _e=me.prefixCls,Ee=me.multiple,Xe=me.options,Se=me.activeValue,ut=me.prevValuePath,bt=me.onToggleOpen,Tt=me.onSelect,kt=me.onActive,on=me.checkedSet,Sn=me.halfCheckedSet,_n=me.loadingKeys,nn=me.isSelectable,dn=me.disabled,mn="".concat(_e,"-menu"),Pt="".concat(_e,"-menu-item"),wn=k.useContext(r),jn=wn.fieldNames,Cn=wn.changeOnSelect,Fn=wn.expandTrigger,er=wn.expandIcon,Cr=wn.loadingIcon,sr=wn.dropdownMenuColumnStyle,Bn=wn.optionRender,or=Fn==="hover",fr=function(qn){return dn||qn},nr=k.useMemo(function(){return Xe.map(function(tr){var qn,Mr=tr.disabled,St=tr.disableCheckbox,Hr=tr[c],Rr=(qn=tr[Ye])!==null&&qn!==void 0?qn:tr[jn.label],kr=tr[jn.value],Wr=M(tr,jn),ea=Hr?Hr.map(function(Qt){return Qt[jn.value]}):[].concat((0,h.Z)(ut),[kr]),ar=y(ea),lr=_n.includes(ar),An=on.has(ar),Kt=Sn.has(ar);return{disabled:Mr,label:Rr,value:kr,isLeaf:Wr,isLoading:lr,checked:An,halfChecked:Kt,option:tr,disableCheckbox:St,fullPath:ea,fullPathKey:ar}})},[Xe,on,jn,Sn,_n,ut]);return k.createElement("ul",{className:mn,role:"menu"},nr.map(function(tr){var qn,Mr=tr.disabled,St=tr.label,Hr=tr.value,Rr=tr.isLeaf,kr=tr.isLoading,Wr=tr.checked,ea=tr.halfChecked,ar=tr.option,lr=tr.fullPath,An=tr.fullPathKey,Kt=tr.disableCheckbox,Qt=function(){if(!fr(Mr)){var Tr=(0,h.Z)(lr);or&&Rr&&Tr.pop(),kt(Tr)}},Xn=function(){nn(ar)&&!fr(Mr)&&Tt(lr,Rr)},zn;return typeof ar.title=="string"?zn=ar.title:typeof St=="string"&&(zn=St),k.createElement("li",{key:An,className:_()(Pt,(qn={},(0,a.Z)(qn,"".concat(Pt,"-expand"),!Rr),(0,a.Z)(qn,"".concat(Pt,"-active"),Se===Hr||Se===An),(0,a.Z)(qn,"".concat(Pt,"-disabled"),fr(Mr)),(0,a.Z)(qn,"".concat(Pt,"-loading"),kr),qn)),style:sr,role:"menuitemcheckbox",title:zn,"aria-checked":Wr,"data-path-key":An,onClick:function(){Qt(),!Kt&&(!Ee||Rr)&&Xn()},onDoubleClick:function(){Cn&&bt(!1)},onMouseEnter:function(){or&&Qt()},onMouseDown:function(Tr){Tr.preventDefault()}},Ee&&k.createElement(we,{prefixCls:"".concat(_e,"-checkbox"),checked:Wr,halfChecked:ea,disabled:fr(Mr)||Kt,disableCheckbox:Kt,onClick:function(Tr){Kt||(Tr.stopPropagation(),Xn())}}),k.createElement("div",{className:"".concat(Pt,"-content")},Bn?Bn(ar):St),!kr&&er&&!Rr&&k.createElement("div",{className:"".concat(Pt,"-expand-icon")},er),kr&&Cr&&k.createElement("div",{className:"".concat(Pt,"-loading-icon")},Cr))}))}var ge=function(_e,Ee){var Xe=k.useContext(r),Se=Xe.values,ut=Se[0],bt=k.useState([]),Tt=(0,p.Z)(bt,2),kt=Tt[0],on=Tt[1];return k.useEffect(function(){_e||on(ut||[])},[Ee,ut]),[kt,on]},He=ge,Fe=w(10228),Pe=function(me,_e,Ee,Xe,Se,ut,bt){var Tt=bt.direction,kt=bt.searchValue,on=bt.toggleOpen,Sn=bt.open,_n=Tt==="rtl",nn=k.useMemo(function(){for(var sr=-1,Bn=_e,or=[],fr=[],nr=Xe.length,tr=O(_e,Ee),qn=function(kr){var Wr=Bn.findIndex(function(ea,ar){return(tr[ar]?y(tr[ar]):ea[Ee.value])===Xe[kr]});if(Wr===-1)return 1;sr=Wr,or.push(sr),fr.push(Xe[kr]),Bn=Bn[sr][Ee.children]},Mr=0;Mr<nr&&Bn&&!qn(Mr);Mr+=1);for(var St=_e,Hr=0;Hr<or.length-1;Hr+=1)St=St[or[Hr]][Ee.children];return[fr,sr,St,tr]},[Xe,Ee,_e]),dn=(0,p.Z)(nn,4),mn=dn[0],Pt=dn[1],wn=dn[2],jn=dn[3],Cn=function(Bn){Se(Bn)},Fn=function(Bn){var or=wn.length,fr=Pt;fr===-1&&Bn<0&&(fr=or);for(var nr=0;nr<or;nr+=1){fr=(fr+Bn+or)%or;var tr=wn[fr];if(tr&&!tr.disabled){var qn=mn.slice(0,-1).concat(jn[fr]?y(jn[fr]):tr[Ee.value]);Cn(qn);return}}},er=function(){if(mn.length>1){var Bn=mn.slice(0,-1);Cn(Bn)}else on(!1)},Cr=function(){var Bn,or=((Bn=wn[Pt])===null||Bn===void 0?void 0:Bn[Ee.children])||[],fr=or.find(function(tr){return!tr.disabled});if(fr){var nr=[].concat((0,h.Z)(mn),[fr[Ee.value]]);Cn(nr)}};k.useImperativeHandle(me,function(){return{onKeyDown:function(Bn){var or=Bn.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(kt)break;_n?Cr():er();break}case Fe.Z.RIGHT:{if(kt)break;_n?er():Cr();break}case Fe.Z.BACKSPACE:{kt||er();break}case Fe.Z.ENTER:{if(mn.length){var nr=wn[Pt],tr=(nr==null?void 0:nr[c])||[];tr.length?ut(tr.map(function(qn){return qn[Ee.value]}),tr[tr.length-1]):ut(mn,wn[Pt])}break}case Fe.Z.ESC:on(!1),Sn&&Bn.stopPropagation()}},onKeyUp:function(){}}})},We=k.forwardRef(function(me,_e){var Ee,Xe,Se,ut=me.prefixCls,bt=me.multiple,Tt=me.searchValue,kt=me.toggleOpen,on=me.notFoundContent,Sn=me.direction,_n=me.open,nn=me.disabled,dn=k.useRef(null),mn=Sn==="rtl",Pt=k.useContext(r),wn=Pt.options,jn=Pt.values,Cn=Pt.halfValues,Fn=Pt.fieldNames,er=Pt.changeOnSelect,Cr=Pt.onSelect,sr=Pt.searchOptions,Bn=Pt.dropdownPrefixCls,or=Pt.loadData,fr=Pt.expandTrigger,nr=Bn||ut,tr=k.useState([]),qn=(0,p.Z)(tr,2),Mr=qn[0],St=qn[1],Hr=function(yn){if(!(!or||Tt)){var Qn=U(yn,wn,Fn),vt=Qn.map(function(Yt){var Vn=Yt.option;return Vn}),vr=vt[vt.length-1];if(vr&&!M(vr,Fn)){var Tn=y(yn);St(function(Yt){return[].concat((0,h.Z)(Yt),[Tn])}),or(vt)}}};k.useEffect(function(){Mr.length&&Mr.forEach(function(At){var yn=x(At),Qn=U(yn,wn,Fn,!0).map(function(vr){var Tn=vr.option;return Tn}),vt=Qn[Qn.length-1];(!vt||vt[Fn.children]||M(vt,Fn))&&St(function(vr){return vr.filter(function(Tn){return Tn!==At})})})},[wn,Mr,Fn]);var Rr=k.useMemo(function(){return new Set(b(jn))},[jn]),kr=k.useMemo(function(){return new Set(b(Cn))},[Cn]),Wr=He(bt,_n),ea=(0,p.Z)(Wr,2),ar=ea[0],lr=ea[1],An=function(yn){lr(yn),Hr(yn)},Kt=function(yn){if(nn)return!1;var Qn=yn.disabled,vt=M(yn,Fn);return!Qn&&(vt||er||bt)},Qt=function(yn,Qn){var vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Cr(yn),!bt&&(Qn||er&&(fr==="hover"||vt))&&kt(!1)},Xn=k.useMemo(function(){return Tt?sr:wn},[Tt,sr,wn]),zn=k.useMemo(function(){for(var At=[{options:Xn}],yn=Xn,Qn=O(yn,Fn),vt=function(){var Yt=ar[vr],Vn=yn.find(function(Kn,pr){return(Qn[pr]?y(Qn[pr]):Kn[Fn.value])===Yt}),yr=Vn==null?void 0:Vn[Fn.children];if(!(yr!=null&&yr.length))return 1;yn=yr,At.push({options:yr})},vr=0;vr<ar.length&&!vt();vr+=1);return At},[Xn,ar,Fn]),hr=function(yn,Qn){Kt(Qn)&&Qt(yn,M(Qn,Fn),!0)};Pe(_e,Xn,Fn,ar,An,hr,{direction:Sn,searchValue:Tt,toggleOpen:kt,open:_n}),k.useEffect(function(){if(!Tt)for(var At=0;At<ar.length;At+=1){var yn,Qn=ar.slice(0,At+1),vt=y(Qn),vr=(yn=dn.current)===null||yn===void 0?void 0:yn.querySelector('li[data-path-key="'.concat(vt.replace(/\\{0,2}"/g,'\\"'),'"]'));vr&&L(vr)}},[ar,Tt]);var Tr=!((Ee=zn[0])!==null&&Ee!==void 0&&(Ee=Ee.options)!==null&&Ee!==void 0&&Ee.length),gr=[(Xe={},(0,a.Z)(Xe,Fn.value,"__EMPTY__"),(0,a.Z)(Xe,Ye,on),(0,a.Z)(Xe,"disabled",!0),Xe)],Pr=(0,C.Z)((0,C.Z)({},me),{},{multiple:!Tr&&bt,onSelect:Qt,onActive:An,onToggleOpen:kt,checkedSet:Rr,halfCheckedSet:kr,loadingKeys:Mr,isSelectable:Kt}),et=Tr?[{options:gr}]:zn,Lt=et.map(function(At,yn){var Qn=ar.slice(0,yn),vt=ar[yn];return k.createElement(Be,(0,B.Z)({key:yn},Pr,{prefixCls:nr,options:At.options,prevValuePath:Qn,activeValue:vt}))});return k.createElement(Ue,{open:_n},k.createElement("div",{className:_()("".concat(nr,"-menus"),(Se={},(0,a.Z)(Se,"".concat(nr,"-menu-empty"),Tr),(0,a.Z)(Se,"".concat(nr,"-rtl"),mn),Se)),ref:dn},Lt))}),Ne=We,V=k.forwardRef(function(me,_e){var Ee=(0,E.lk)();return k.createElement(Ne,(0,B.Z)({},me,Ee,{ref:_e}))}),q=V,ae=w(70425);function te(){}function oe(me){var _e,Ee=me,Xe=Ee.prefixCls,Se=Xe===void 0?"rc-cascader":Xe,ut=Ee.style,bt=Ee.className,Tt=Ee.options,kt=Ee.checkable,on=Ee.defaultValue,Sn=Ee.value,_n=Ee.fieldNames,nn=Ee.changeOnSelect,dn=Ee.onChange,mn=Ee.showCheckedStrategy,Pt=Ee.loadData,wn=Ee.expandTrigger,jn=Ee.expandIcon,Cn=jn===void 0?">":jn,Fn=Ee.loadingIcon,er=Ee.direction,Cr=Ee.notFoundContent,sr=Cr===void 0?"Not Found":Cr,Bn=Ee.disabled,or=!!kt,fr=(0,ae.C8)(on,{value:Sn,postState:N}),nr=(0,p.Z)(fr,2),tr=nr[0],qn=nr[1],Mr=k.useMemo(function(){return A(_n)},[JSON.stringify(_n)]),St=Y(Mr,Tt),Hr=(0,p.Z)(St,3),Rr=Hr[0],kr=Hr[1],Wr=Hr[2],ea=K(Rr,Mr),ar=be(or,tr,kr,Wr,ea),lr=(0,p.Z)(ar,3),An=lr[0],Kt=lr[1],Qt=lr[2],Xn=(0,ae.zX)(function(et){if(qn(et),dn){var Lt=N(et),At=Lt.map(function(vt){return U(vt,Rr,Mr).map(function(vr){return vr.option})}),yn=or?Lt:Lt[0],Qn=or?At:At[0];dn(yn,Qn)}}),zn=xe(or,Xn,An,Kt,Qt,kr,Wr,mn),hr=(0,ae.zX)(function(et){zn(et)}),Tr=k.useMemo(function(){return{options:Rr,fieldNames:Mr,values:An,halfValues:Kt,changeOnSelect:nn,onSelect:hr,checkable:kt,searchOptions:[],dropdownPrefixCls:void 0,loadData:Pt,expandTrigger:wn,expandIcon:Cn,loadingIcon:Fn,dropdownMenuColumnStyle:void 0}},[Rr,Mr,An,Kt,nn,hr,kt,Pt,wn,Cn,Fn]),gr="".concat(Se,"-panel"),Pr=!Rr.length;return k.createElement(r.Provider,{value:Tr},k.createElement("div",{className:_()(gr,(_e={},(0,a.Z)(_e,"".concat(gr,"-rtl"),er==="rtl"),(0,a.Z)(_e,"".concat(gr,"-empty"),Pr),_e),bt),style:ut},Pr?sr:k.createElement(Ne,{prefixCls:Se,searchValue:"",multiple:or,toggleOpen:te,open:!0,direction:er,disabled:Bn})))}function ee(me){var _e=me.onPopupVisibleChange,Ee=me.popupVisible,Xe=me.popupClassName,Se=me.popupPlacement;warning(!_e,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Ee===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Xe===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Se===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function fe(me,_e){if(me){var Ee=function Xe(Se){for(var ut=0;ut<Se.length;ut++){var bt=Se[ut];if(bt[_e==null?void 0:_e.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(bt[_e==null?void 0:_e.children])&&Xe(bt[_e==null?void 0:_e.children]))return!0}};Ee(me)}}var Ce=null,re=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","dropdownStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy","optionRender"],ce=k.forwardRef(function(me,_e){var Ee=me.id,Xe=me.prefixCls,Se=Xe===void 0?"rc-cascader":Xe,ut=me.fieldNames,bt=me.defaultValue,Tt=me.value,kt=me.changeOnSelect,on=me.onChange,Sn=me.displayRender,_n=me.checkable,nn=me.autoClearSearchValue,dn=nn===void 0?!0:nn,mn=me.searchValue,Pt=me.onSearch,wn=me.showSearch,jn=me.expandTrigger,Cn=me.options,Fn=me.dropdownPrefixCls,er=me.loadData,Cr=me.popupVisible,sr=me.open,Bn=me.popupClassName,or=me.dropdownClassName,fr=me.dropdownMenuColumnStyle,nr=me.dropdownStyle,tr=me.popupPlacement,qn=me.placement,Mr=me.onDropdownVisibleChange,St=me.onPopupVisibleChange,Hr=me.expandIcon,Rr=Hr===void 0?">":Hr,kr=me.loadingIcon,Wr=me.children,ea=me.dropdownMatchSelectWidth,ar=ea===void 0?!1:ea,lr=me.showCheckedStrategy,An=lr===void 0?i:lr,Kt=me.optionRender,Qt=(0,m.Z)(me,re),Xn=(0,d.ZP)(Ee),zn=!!_n,hr=(0,o.Z)(bt,{value:Tt,postState:N}),Tr=(0,p.Z)(hr,2),gr=Tr[0],Pr=Tr[1],et=k.useMemo(function(){return A(ut)},[JSON.stringify(ut)]),Lt=Y(et,Cn),At=(0,p.Z)(Lt,3),yn=At[0],Qn=At[1],vt=At[2],vr=(0,o.Z)("",{value:mn,postState:function(Yn){return Yn||""}}),Tn=(0,p.Z)(vr,2),Yt=Tn[0],Vn=Tn[1],yr=function(Yn,Br){Vn(Yn),Br.source!=="blur"&&Pt&&Pt(Yn)},Kn=Q(wn),pr=(0,p.Z)(Kn,2),Rn=pr[0],wr=pr[1],mr=e(Yt,yn,et,Fn||Se,wr,kt||zn),Gn=K(yn,et),br=be(zn,gr,Qn,vt,Gn),Ar=(0,p.Z)(br,3),Ir=Ar[0],Jn=Ar[1],Er=Ar[2],ra=k.useMemo(function(){var kn=b(Ir),Yn=I(kn,Qn,An);return[].concat((0,h.Z)(Er),(0,h.Z)(vt(Yn)))},[Ir,Qn,vt,Er,An]),Gr=F(ra,yn,et,zn,Sn),Dr=(0,l.Z)(function(kn){if(Pr(kn),on){var Yn=N(kn),Br=Yn.map(function(ya){return U(ya,yn,et).map(function(oa){return oa.option})}),jt=zn?Yn:Yn[0],Xr=zn?Br:Br[0];on(jt,Xr)}}),ur=xe(zn,Dr,Ir,Jn,Er,Qn,vt,An),ca=(0,l.Z)(function(kn){(!zn||dn)&&Vn(""),ur(kn)}),da=function(Yn,Br){if(Br.type==="clear"){Dr([]);return}var jt=Br.values[0],Xr=jt.valueCells;ca(Xr)},sa=sr!==void 0?sr:Cr,fa=or||Bn,$r=qn||tr,Ea=function(Yn){Mr==null||Mr(Yn),St==null||St(Yn)},Lr=k.useMemo(function(){return{options:yn,fieldNames:et,values:Ir,halfValues:Jn,changeOnSelect:kt,onSelect:ca,checkable:_n,searchOptions:mr,dropdownPrefixCls:Fn,loadData:er,expandTrigger:jn,expandIcon:Rr,loadingIcon:kr,dropdownMenuColumnStyle:fr,optionRender:Kt}},[yn,et,Ir,Jn,kt,ca,_n,mr,Fn,er,jn,Rr,kr,fr,Kt]),Qr=!(Yt?mr:yn).length,fn=Yt&&wr.matchInputWidth||Qr?{}:{minWidth:"auto"};return k.createElement(r.Provider,{value:Lr},k.createElement(E.Ac,(0,B.Z)({},Qt,{ref:_e,id:Xn,prefixCls:Se,autoClearSearchValue:dn,dropdownMatchSelectWidth:ar,dropdownStyle:(0,C.Z)((0,C.Z)({},fn),nr),displayValues:Gr,onDisplayValuesChange:da,mode:zn?"multiple":void 0,searchValue:Yt,onSearch:yr,showSearch:Rn,OptionList:q,emptyOptions:Qr,open:sa,dropdownClassName:fa,placement:$r,onDropdownVisibleChange:Ea,getRawInputElement:function(){return Wr}})))});ce.SHOW_PARENT=i,ce.SHOW_CHILD=f,ce.Panel=oe;var lt=ce,Qe=lt,ht=w(2738),pt=w(75030),$e=w(86641),mt=w(45915),Ve=w(82855),Me=w(48755),qe=w(38406),it=w(2171),Et=w(83397),xt=w(31756),un=w(56553),Jt=w(24971),Bt=w(1722),hn=w(90376),Nn=w(68525),tn=w(90005),On=w(70045);function qt(me,_e){const{getPrefixCls:Ee,direction:Xe,renderEmpty:Se}=k.useContext(Me.E_),ut=_e||Xe,bt=Ee("select",me),Tt=Ee("cascader",me);return[bt,Tt,ut,Se]}var Wt=qt;function Zt(me,_e){return k.useMemo(()=>_e?k.createElement("span",{className:`${me}-checkbox-inner`}):!1,[_e])}var rn=w(33853),xn=w(58617),Dn=w(38819),Nt=(me,_e,Ee)=>{let Xe=Ee;Ee||(Xe=_e?k.createElement(rn.Z,null):k.createElement(Dn.Z,null));const Se=k.createElement("span",{className:`${me}-menu-item-loading-icon`},k.createElement(xn.Z,{spin:!0}));return k.useMemo(()=>[Xe,Se],[Xe])},Ht=w(56119),rt=w(16931),T=w(36237),z=w(36170),Z=w(63356),se=me=>{const{prefixCls:_e,componentCls:Ee}=me,Xe=`${Ee}-menu-item`,Se=`
|
|
|
&${Xe}-expand ${Xe}-expand-icon,
|
|
|
${Xe}-loading-icon
|
|
|
`;return[(0,z.C2)(`${_e}-checkbox`,me),{[Ee]:{"&-checkbox":{top:0,marginInlineEnd:me.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Ee}-menu-empty`]:{[`${Ee}-menu`]:{width:"100%",height:"auto",[Xe]:{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(${Xe}-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 Ge=me=>{const{componentCls:_e,antCls:Ee}=me;return[{[_e]:{width:me.controlWidth}},{[`${_e}-dropdown`]:[{[`&${Ee}-select-dropdown`]:{padding:0}},se(me)]},{[`${_e}-dropdown-rtl`]:{direction:"rtl"}},(0,Ht.c)(me)]},at=me=>{const _e=Math.round((me.controlHeight-me.fontSize*me.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:me.controlItemBgActive,optionSelectedFontWeight:me.fontWeightStrong,optionPadding:`${_e}px ${me.paddingSM}px`,menuPadding:me.paddingXXS,optionSelectedColor:me.colorText}};var _t=(0,rt.I$)("Cascader",me=>[Ge(me)],at);const dt=me=>{const{componentCls:_e}=me;return{[`${_e}-panel`]:[se(me),{display:"inline-flex",border:`${(0,T.unit)(me.lineWidth)} ${me.lineType} ${me.colorSplit}`,borderRadius:me.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${_e}-menus`]:{alignItems:"stretch"},[`${_e}-menu`]:{height:"auto"},"&-empty":{padding:me.paddingXXS}}]}};var Rt=(0,rt.A1)(["Cascader","Panel"],me=>dt(me),at);function Gt(me){const{prefixCls:_e,className:Ee,multiple:Xe,rootClassName:Se,notFoundContent:ut,direction:bt,expandIcon:Tt,disabled:kt}=me,on=k.useContext(it.Z),Sn=kt!=null?kt:on,[_n,nn,dn,mn]=Wt(_e,bt),Pt=(0,Et.Z)(nn),[wn,jn,Cn]=_t(nn,Pt);Rt(nn);const Fn=dn==="rtl",[er,Cr]=Nt(_n,Fn,Tt),sr=ut||(mn==null?void 0:mn("Cascader"))||k.createElement(qe.Z,{componentName:"Cascader"}),Bn=Zt(nn,Xe);return wn(k.createElement(oe,Object.assign({},me,{checkable:Bn,prefixCls:nn,className:_()(Ee,jn,Se,Cn,Pt),notFoundContent:sr,direction:dn,expandIcon:er,loadingIcon:Cr,disabled:Sn})))}var ze=Gt,Re=function(me,_e){var Ee={};for(var Xe in me)Object.prototype.hasOwnProperty.call(me,Xe)&&_e.indexOf(Xe)<0&&(Ee[Xe]=me[Xe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Xe=Object.getOwnPropertySymbols(me);Se<Xe.length;Se++)_e.indexOf(Xe[Se])<0&&Object.prototype.propertyIsEnumerable.call(me,Xe[Se])&&(Ee[Xe[Se]]=me[Xe[Se]]);return Ee};const{SHOW_CHILD:ye,SHOW_PARENT:Te}=Qe;function Ie(me,_e,Ee){const Xe=me.toLowerCase().split(_e).reduce((bt,Tt,kt)=>kt===0?[Tt]:[].concat((0,h.Z)(bt),[_e,Tt]),[]),Se=[];let ut=0;return Xe.forEach((bt,Tt)=>{const kt=ut+bt.length;let on=me.slice(ut,kt);ut=kt,Tt%2===1&&(on=k.createElement("span",{className:`${Ee}-menu-item-keyword`,key:`separator-${Tt}`},on)),Se.push(on)}),Se}const Ke=(me,_e,Ee,Xe)=>{const Se=[],ut=me.toLowerCase();return _e.forEach((bt,Tt)=>{Tt!==0&&Se.push(" / ");let kt=bt[Xe.label];const on=typeof kt;(on==="string"||on==="number")&&(kt=Ie(String(kt),ut,Ee)),Se.push(kt)}),Se},he=k.forwardRef((me,_e)=>{var Ee;const{prefixCls:Xe,size:Se,disabled:ut,className:bt,rootClassName:Tt,multiple:kt,bordered:on=!0,transitionName:Sn,choiceTransitionName:_n="",popupClassName:nn,dropdownClassName:dn,expandIcon:mn,placement:Pt,showSearch:wn,allowClear:jn=!0,notFoundContent:Cn,direction:Fn,getPopupContainer:er,status:Cr,showArrow:sr,builtinPlacements:Bn,style:or,variant:fr}=me,nr=Re(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,ht.Z)(nr,["suffixIcon"]),{getPrefixCls:qn,getPopupContainer:Mr,className:St,style:Hr}=(0,Me.dj)("cascader"),{popupOverflow:Rr}=k.useContext(Me.E_),{status:kr,hasFeedback:Wr,isFormItemInput:ea,feedbackIcon:ar}=k.useContext(un.aM),lr=(0,Ve.F)(kr,Cr),[An,Kt,Qt,Xn]=Wt(Xe,Fn),zn=Qt==="rtl",hr=qn(),Tr=(0,Et.Z)(An),[gr,Pr,et]=(0,hn.Z)(An,Tr),Lt=(0,Et.Z)(Kt),[At]=_t(Kt,Lt),{compactSize:yn,compactItemClassnames:Qn}=(0,On.ri)(An,Fn),[vt,vr]=(0,Jt.Z)("cascader",fr,on),Tn=Cn||(Xn==null?void 0:Xn("Cascader"))||k.createElement(qe.Z,{componentName:"Cascader"}),Yt=_()(nn||dn,`${Kt}-dropdown`,{[`${Kt}-dropdown-rtl`]:Qt==="rtl"},Tt,Tr,Lt,Pr,et),Vn=k.useMemo(()=>{if(!wn)return wn;let Dr={render:Ke};return typeof wn=="object"&&(Dr=Object.assign(Object.assign({},Dr),wn)),Dr},[wn]),yr=(0,xt.Z)(Dr=>{var ur;return(ur=Se!=null?Se:yn)!==null&&ur!==void 0?ur:Dr}),Kn=k.useContext(it.Z),pr=ut!=null?ut:Kn,[Rn,wr]=Nt(An,zn,mn),mr=Zt(Kt,kt),Gn=(0,tn.Z)(me.suffixIcon,sr),{suffixIcon:br,removeIcon:Ar,clearIcon:Ir}=(0,Nn.Z)(Object.assign(Object.assign({},me),{hasFeedback:Wr,feedbackIcon:ar,showSuffixIcon:Gn,multiple:kt,prefixCls:An,componentName:"Cascader"})),Jn=k.useMemo(()=>Pt!==void 0?Pt:zn?"bottomRight":"bottomLeft",[Pt,zn]),Er=jn===!0?{clearIcon:Ir}:jn,[ra]=(0,pt.Cn)("SelectLike",(Ee=tr.dropdownStyle)===null||Ee===void 0?void 0:Ee.zIndex),Gr=k.createElement(Qe,Object.assign({prefixCls:An,className:_()(!Xe&&Kt,{[`${An}-lg`]:yr==="large",[`${An}-sm`]:yr==="small",[`${An}-rtl`]:zn,[`${An}-${vt}`]:vr,[`${An}-in-form-item`]:ea},(0,Ve.Z)(An,lr,Wr),Qn,St,bt,Tt,Tr,Lt,Pr,et),disabled:pr,style:Object.assign(Object.assign({},Hr),or)},tr,{builtinPlacements:(0,Bt.Z)(Bn,Rr),direction:Qt,placement:Jn,notFoundContent:Tn,allowClear:Er,showSearch:Vn,expandIcon:Rn,suffixIcon:br,removeIcon:Ar,loadingIcon:wr,checkable:mr,dropdownClassName:Yt,dropdownPrefixCls:Xe||Kt,dropdownStyle:Object.assign(Object.assign({},tr.dropdownStyle),{zIndex:ra}),choiceTransitionName:(0,$e.m)(hr,"",_n),transitionName:(0,$e.m)(hr,"slide-up",Sn),getPopupContainer:er||Mr,ref:_e}));return At(gr(Gr))}),Ze=(0,mt.Z)(he,"dropdownAlign",me=>(0,ht.Z)(me,["visible"]));he.SHOW_PARENT=Te,he.SHOW_CHILD=ye,he.Panel=ze,he._InternalPanelDoNotUseOrYouWillBeFired=Ze;var tt=he},62673:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return b}});var h=w(59301),k=w(92310),P=w.n(k),_=w(16632),B=w(8654),C=w(12919),p=w(63872),m=w(48755),E=w(2171),d=w(83397),l=w(56553),g=h.createContext(null),r=w(36170),n=w(74632),a=function(x,A){var M={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(M[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,L=Object.getOwnPropertySymbols(x);O<L.length;O++)A.indexOf(L[O])<0&&Object.prototype.propertyIsEnumerable.call(x,L[O])&&(M[L[O]]=x[L[O]]);return M};const c=(x,A)=>{var M;const{prefixCls:L,className:O,rootClassName:D,children:N,indeterminate:I=!1,style:U,onMouseEnter:F,onMouseLeave:K,skipGroup:j=!1,disabled:G}=x,Y=a(x,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:le,direction:Q,checkbox:ve}=h.useContext(m.E_),xe=h.useContext(g),{isFormItemInput:be}=h.useContext(l.aM),De=h.useContext(E.Z),Ue=(M=(xe==null?void 0:xe.disabled)||G)!==null&&M!==void 0?M:De,we=h.useRef(Y.value),Ye=h.useRef(null),Be=(0,B.sQ)(A,Ye);h.useEffect(()=>{xe==null||xe.registerValue(Y.value)},[]),h.useEffect(()=>{if(!j)return Y.value!==we.current&&(xe==null||xe.cancelValue(we.current),xe==null||xe.registerValue(Y.value),we.current=Y.value),()=>xe==null?void 0:xe.cancelValue(Y.value)},[Y.value]),h.useEffect(()=>{var oe;!((oe=Ye.current)===null||oe===void 0)&&oe.input&&(Ye.current.input.indeterminate=I)},[I]);const ge=le("checkbox",L),He=(0,d.Z)(ge),[Fe,Pe,We]=(0,r.ZP)(ge,He),Ne=Object.assign({},Y);xe&&!j&&(Ne.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),xe.toggleOption&&xe.toggleOption({label:N,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`]:be},ve==null?void 0:ve.className,O,D,We,He,Pe),q=P()({[`${ge}-indeterminate`]:I},p.A,Pe),[ae,te]=(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:ae},h.createElement(_.Z,Object.assign({},Ne,{onClick:te,prefixCls:ge,className:q,disabled:Ue,ref:Be})),N!==void 0&&h.createElement("span",{className:`${ge}-label`},N))))};var s=h.forwardRef(c),v=w(94480),e=w(2738),t=function(x,A){var M={};for(var L in x)Object.prototype.hasOwnProperty.call(x,L)&&A.indexOf(L)<0&&(M[L]=x[L]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,L=Object.getOwnPropertySymbols(x);O<L.length;O++)A.indexOf(L[O])<0&&Object.prototype.propertyIsEnumerable.call(x,L[O])&&(M[L[O]]=x[L[O]]);return M},f=h.forwardRef((x,A)=>{const{defaultValue:M,children:L,options:O=[],prefixCls:D,className:N,rootClassName:I,style:U,onChange:F}=x,K=t(x,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:j,direction:G}=h.useContext(m.E_),[Y,le]=h.useState(K.value||M||[]),[Q,ve]=h.useState([]);h.useEffect(()=>{"value"in K&&le(K.value||[])},[K.value]);const xe=h.useMemo(()=>O.map(q=>typeof q=="string"||typeof q=="number"?{label:q,value:q}:q),[O]),be=q=>{ve(ae=>ae.filter(te=>te!==q))},De=q=>{ve(ae=>[].concat((0,v.Z)(ae),[q]))},Ue=q=>{const ae=Y.indexOf(q.value),te=(0,v.Z)(Y);ae===-1?te.push(q.value):te.splice(ae,1),"value"in K||le(te),F==null||F(te.filter(oe=>Q.includes(oe)).sort((oe,ee)=>{const fe=xe.findIndex(re=>re.value===oe),Ce=xe.findIndex(re=>re.value===ee);return fe-Ce}))},we=j("checkbox",D),Ye=`${we}-group`,Be=(0,d.Z)(we),[ge,He,Fe]=(0,r.ZP)(we,Be),Pe=(0,e.Z)(K,["value","disabled"]),We=O.length?xe.map(q=>h.createElement(s,{prefixCls:we,key:q.value.toString(),disabled:"disabled"in q?q.disabled:K.disabled,value:q.value,checked:Y.includes(q.value),onChange:q.onChange,className:`${Ye}-item`,style:q.style,title:q.title,id:q.id,required:q.required},q.label)):L,Ne={toggleOption:Ue,value:Y,disabled:K.disabled,name:K.name,registerValue:De,cancelValue:be},V=P()(Ye,{[`${Ye}-rtl`]:G==="rtl"},N,I,Fe,Be,He);return ge(h.createElement("div",Object.assign({className:V,style:U},Pe,{ref:A}),h.createElement(g.Provider,{value:Ne},We)))});const y=s;y.Group=f,y.__ANT_CHECKBOX=!0;var b=y},36170:function(Ln,gt,w){"use strict";w.d(gt,{C2:function(){return C}});var h=w(36237),k=w(63356),P=w(51636),_=w(16931);const B=p=>{const{checkboxCls:m}=p,E=`${m}-wrapper`;return[{[`${m}-group`]:Object.assign(Object.assign({},(0,k.Wf)(p)),{display:"inline-flex",flexWrap:"wrap",columnGap:p.marginXS,[`> ${p.antCls}-row`]:{flex:1}}),[E]:Object.assign(Object.assign({},(0,k.Wf)(p)),{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}}}),[m]:Object.assign(Object.assign({},(0,k.Wf)(p)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:p.borderRadiusSM,alignSelf:"center",[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${m}-inner`]:Object.assign({},(0,k.oN)(p))},[`${m}-inner`]:{boxSizing:"border-box",display:"block",width:p.checkboxSize,height:p.checkboxSize,direction:"ltr",backgroundColor:p.colorBgContainer,border:`${(0,h.unit)(p.lineWidth)} ${p.lineType} ${p.colorBorder}`,borderRadius:p.borderRadiusSM,borderCollapse:"separate",transition:`all ${p.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:p.calc(p.checkboxSize).div(14).mul(5).equal(),height:p.calc(p.checkboxSize).div(14).mul(8).equal(),border:`${(0,h.unit)(p.lineWidthBold)} solid ${p.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${p.motionDurationFast} ${p.motionEaseInBack}, opacity ${p.motionDurationFast}`}},"& + span":{paddingInlineStart:p.paddingXS,paddingInlineEnd:p.paddingXS}})},{[`
|
|
|
${E}:not(${E}-disabled),
|
|
|
${m}:not(${m}-disabled)
|
|
|
`]:{[`&:hover ${m}-inner`]:{borderColor:p.colorPrimary}},[`${E}:not(${E}-disabled)`]:{[`&:hover ${m}-checked:not(${m}-disabled) ${m}-inner`]:{backgroundColor:p.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${m}-checked:not(${m}-disabled):after`]:{borderColor:p.colorPrimaryHover}}},{[`${m}-checked`]:{[`${m}-inner`]:{backgroundColor:p.colorPrimary,borderColor:p.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${p.motionDurationMid} ${p.motionEaseOutBack} ${p.motionDurationFast}`}}},[`
|
|
|
${E}-checked:not(${E}-disabled),
|
|
|
${m}-checked:not(${m}-disabled)
|
|
|
`]:{[`&:hover ${m}-inner`]:{backgroundColor:p.colorPrimaryHover,borderColor:"transparent"}}},{[m]:{"&-indeterminate":{[`${m}-inner`]:{backgroundColor:`${p.colorBgContainer} !important`,borderColor:`${p.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:p.calc(p.fontSizeLG).div(2).equal(),height:p.calc(p.fontSizeLG).div(2).equal(),backgroundColor:p.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${m}-inner`]:{backgroundColor:`${p.colorBgContainer} !important`,borderColor:`${p.colorPrimary} !important`}}}},{[`${E}-disabled`]:{cursor:"not-allowed"},[`${m}-disabled`]:{[`&, ${m}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${m}-inner`]:{background:p.colorBgContainerDisabled,borderColor:p.colorBorder,"&:after":{borderColor:p.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:p.colorTextDisabled},[`&${m}-indeterminate ${m}-inner::after`]:{background:p.colorTextDisabled}}}]};function C(p,m){const E=(0,P.mergeToken)(m,{checkboxCls:`.${p}`,checkboxSize:m.controlInteractiveSize});return[B(E)]}gt.ZP=(0,_.I$)("Checkbox",(p,m)=>{let{prefixCls:E}=m;return[C(E,p)]})},38406:function(Ln,gt,w){"use strict";var h=w(59301),k=w(48755),P=w(584);const _=B=>{const{componentName:C}=B,{getPrefixCls:p}=(0,h.useContext)(k.E_),m=p("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:`${m}-small`});case"Table.filter":return null;default:return h.createElement(P.Z,null)}};gt.Z=_},37285:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return r}});var h=w(59301),k=w(92310),P=w.n(k),_=w(48755),B=w(36237),C=w(63356),p=w(16931),m=w(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,B.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,B.unit)(s)} solid ${u}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,B.unit)(n.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${a}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,B.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,B.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,B.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,B.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,p.I$)("Divider",n=>{const a=(0,m.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<u.length;s++)a.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(c[u[s]]=n[u[s]]);return c},r=n=>{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:M,style:L}=n,O=o(n,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),D=a("divider",v),[N,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,G=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`]:!!M,[`${D}-rtl`]:c==="rtl",[`${D}-no-default-orientation-margin-start`]:j,[`${D}-no-default-orientation-margin-end`]:G},f,y),le=h.useMemo(()=>typeof i=="number"?i:/^\d+$/.test(i)?Number(i):i,[i]),Q={marginInlineStart:j?le:void 0,marginInlineEnd:G?le:void 0};return N(h.createElement("div",Object.assign({className:Y,style:Object.assign(Object.assign({},s),L)},O,{role:"separator"}),b&&e!=="vertical"&&h.createElement("span",{className:`${D}-inner-text`,style:Q},b)))}},36207:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return ae}});var h=w(59301),k=w(92310),P=w.n(k),_=w(33885),B=w(42978),C=w(43403),p=w(34280),m=h.createContext(null),E=h.createContext({}),d=m,l=w(20068),o=w(54476),g=w(77900),r=w(10228),n=w(26112),a=w(75931),c=w(8654),u=["prefixCls","className","containerRef"],s=function(oe){var ee=oe.prefixCls,fe=oe.className,Ce=oe.containerRef,re=(0,a.Z)(oe,u),ce=h.useContext(E),lt=ce.panel,Qe=(0,c.x1)(lt,Ce);return h.createElement("div",(0,o.Z)({className:P()("".concat(ee,"-content"),fe),role:"dialog",ref:Qe},(0,n.Z)(oe,{aria:!0}),{"aria-modal":"true"},re))},v=s,e=w(48736);function t(te){return typeof te=="string"&&String(Number(te))===te?((0,e.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(te)):te}function i(te){warning(!("wrapperClassName"in te),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!te.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(te,oe){var ee,fe,Ce,re=te.prefixCls,ce=te.open,lt=te.placement,Qe=te.inline,ht=te.push,pt=te.forceRender,$e=te.autoFocus,mt=te.keyboard,Ve=te.classNames,Me=te.rootClassName,qe=te.rootStyle,it=te.zIndex,Et=te.className,xt=te.id,un=te.style,Jt=te.motion,Bt=te.width,hn=te.height,Nn=te.children,tn=te.mask,On=te.maskClosable,qt=te.maskMotion,Wt=te.maskClassName,Zt=te.maskStyle,rn=te.afterOpenChange,xn=te.onClose,Dn=te.onMouseEnter,Pn=te.onMouseOver,Nt=te.onMouseLeave,Ht=te.onClick,rt=te.onKeyDown,T=te.onKeyUp,z=te.styles,Z=te.drawerRender,$=h.useRef(),se=h.useRef(),Ge=h.useRef();h.useImperativeHandle(oe,function(){return $.current});var at=function(Ee){var Xe=Ee.keyCode,Se=Ee.shiftKey;switch(Xe){case r.Z.TAB:{if(Xe===r.Z.TAB){if(!Se&&document.activeElement===Ge.current){var ut;(ut=se.current)===null||ut===void 0||ut.focus({preventScroll:!0})}else if(Se&&document.activeElement===se.current){var bt;(bt=Ge.current)===null||bt===void 0||bt.focus({preventScroll:!0})}}break}case r.Z.ESC:{xn&&mt&&(Ee.stopPropagation(),xn(Ee));break}}};h.useEffect(function(){if(ce&&$e){var _e;(_e=$.current)===null||_e===void 0||_e.focus({preventScroll:!0})}},[ce]);var _t=h.useState(!1),dt=(0,B.Z)(_t,2),Rt=dt[0],Gt=dt[1],ze=h.useContext(d),Re;typeof ht=="boolean"?Re=ht?{}:{distance:0}:Re=ht||{};var ye=(ee=(fe=(Ce=Re)===null||Ce===void 0?void 0:Ce.distance)!==null&&fe!==void 0?fe:ze==null?void 0:ze.pushDistance)!==null&&ee!==void 0?ee:180,Te=h.useMemo(function(){return{pushDistance:ye,push:function(){Gt(!0)},pull:function(){Gt(!1)}}},[ye]);h.useEffect(function(){if(ce){var _e;ze==null||(_e=ze.push)===null||_e===void 0||_e.call(ze)}else{var Ee;ze==null||(Ee=ze.pull)===null||Ee===void 0||Ee.call(ze)}},[ce]),h.useEffect(function(){return function(){var _e;ze==null||(_e=ze.pull)===null||_e===void 0||_e.call(ze)}},[]);var Ie=tn&&h.createElement(g.default,(0,o.Z)({key:"mask"},qt,{visible:ce}),function(_e,Ee){var Xe=_e.className,Se=_e.style;return h.createElement("div",{className:P()("".concat(re,"-mask"),Xe,Ve==null?void 0:Ve.mask,Wt),style:(0,_.Z)((0,_.Z)((0,_.Z)({},Se),Zt),z==null?void 0:z.mask),onClick:On&&ce?xn:void 0,ref:Ee})}),Ke=typeof Jt=="function"?Jt(lt):Jt,he={};if(Rt&&ye)switch(lt){case"top":he.transform="translateY(".concat(ye,"px)");break;case"bottom":he.transform="translateY(".concat(-ye,"px)");break;case"left":he.transform="translateX(".concat(ye,"px)");break;default:he.transform="translateX(".concat(-ye,"px)");break}lt==="left"||lt==="right"?he.width=t(Bt):he.height=t(hn);var Ze={onMouseEnter:Dn,onMouseOver:Pn,onMouseLeave:Nt,onClick:Ht,onKeyDown:rt,onKeyUp:T},tt=h.createElement(g.default,(0,o.Z)({key:"panel"},Ke,{visible:ce,forceRender:pt,onVisibleChanged:function(Ee){rn==null||rn(Ee)},removeOnLeave:!1,leavedClassName:"".concat(re,"-content-wrapper-hidden")}),function(_e,Ee){var Xe=_e.className,Se=_e.style,ut=h.createElement(v,(0,o.Z)({id:xt,containerRef:Ee,prefixCls:re,className:P()(Et,Ve==null?void 0:Ve.content),style:(0,_.Z)((0,_.Z)({},un),z==null?void 0:z.content)},(0,n.Z)(te,{aria:!0}),Ze),Nn);return h.createElement("div",(0,o.Z)({className:P()("".concat(re,"-content-wrapper"),Ve==null?void 0:Ve.wrapper,Xe),style:(0,_.Z)((0,_.Z)((0,_.Z)({},he),Se),z==null?void 0:z.wrapper)},(0,n.Z)(te,{data:!0})),Z?Z(ut):ut)}),me=(0,_.Z)({},qe);return it&&(me.zIndex=it),h.createElement(d.Provider,{value:Te},h.createElement("div",{className:P()(re,"".concat(re,"-").concat(lt),Me,(0,l.Z)((0,l.Z)({},"".concat(re,"-open"),ce),"".concat(re,"-inline"),Qe)),style:me,tabIndex:-1,ref:$,onKeyDown:at},Ie,h.createElement("div",{tabIndex:0,ref:se,style:f,"aria-hidden":"true","data-sentinel":"start"}),tt,h.createElement("div",{tabIndex:0,ref:Ge,style:f,"aria-hidden":"true","data-sentinel":"end"})))}var b=h.forwardRef(y),x=b,A=function(oe){var ee=oe.open,fe=ee===void 0?!1:ee,Ce=oe.prefixCls,re=Ce===void 0?"rc-drawer":Ce,ce=oe.placement,lt=ce===void 0?"right":ce,Qe=oe.autoFocus,ht=Qe===void 0?!0:Qe,pt=oe.keyboard,$e=pt===void 0?!0:pt,mt=oe.width,Ve=mt===void 0?378:mt,Me=oe.mask,qe=Me===void 0?!0:Me,it=oe.maskClosable,Et=it===void 0?!0:it,xt=oe.getContainer,un=oe.forceRender,Jt=oe.afterOpenChange,Bt=oe.destroyOnClose,hn=oe.onMouseEnter,Nn=oe.onMouseOver,tn=oe.onMouseLeave,On=oe.onClick,qt=oe.onKeyDown,Wt=oe.onKeyUp,Zt=oe.panelRef,rn=h.useState(!1),xn=(0,B.Z)(rn,2),Dn=xn[0],Pn=xn[1],Nt=h.useState(!1),Ht=(0,B.Z)(Nt,2),rt=Ht[0],T=Ht[1];(0,p.Z)(function(){T(!0)},[]);var z=rt?fe:!1,Z=h.useRef(),$=h.useRef();(0,p.Z)(function(){z&&($.current=document.activeElement)},[z]);var se=function(Rt){var Gt;if(Pn(Rt),Jt==null||Jt(Rt),!Rt&&$.current&&!((Gt=Z.current)!==null&&Gt!==void 0&&Gt.contains($.current))){var ze;(ze=$.current)===null||ze===void 0||ze.focus({preventScroll:!0})}},Ge=h.useMemo(function(){return{panel:Zt}},[Zt]);if(!un&&!Dn&&!z&&Bt)return null;var at={onMouseEnter:hn,onMouseOver:Nn,onMouseLeave:tn,onClick:On,onKeyDown:qt,onKeyUp:Wt},_t=(0,_.Z)((0,_.Z)({},oe),{},{open:z,prefixCls:re,placement:lt,autoFocus:ht,keyboard:$e,width:Ve,mask:qe,maskClosable:Et,inline:xt===!1,afterOpenChange:se,ref:Z},at);return h.createElement(E.Provider,{value:Ge},h.createElement(C.Z,{open:z||un||Dn,autoDestroy:!1,getContainer:xt,autoLock:qe&&(z||Dn)},h.createElement(x,_t)))},M=A,L=M,O=w(62487),D=w(75030),N=w(86641),I=w(55743),U=w(48755),F=w(91190),K=w(78776),j=w(458),Y=te=>{var oe,ee;const{prefixCls:fe,title:Ce,footer:re,extra:ce,loading:lt,onClose:Qe,headerStyle:ht,bodyStyle:pt,footerStyle:$e,children:mt,classNames:Ve,styles:Me}=te,qe=(0,U.dj)("drawer"),it=h.useCallback(Bt=>h.createElement("button",{type:"button",onClick:Qe,"aria-label":"Close",className:`${fe}-close`},Bt),[Qe]),[Et,xt]=(0,K.Z)((0,K.w)(te),(0,K.w)(qe),{closable:!0,closeIconRender:it}),un=h.useMemo(()=>{var Bt,hn;return!Ce&&!Et?null:h.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(Bt=qe.styles)===null||Bt===void 0?void 0:Bt.header),ht),Me==null?void 0:Me.header),className:P()(`${fe}-header`,{[`${fe}-header-close-only`]:Et&&!Ce&&!ce},(hn=qe.classNames)===null||hn===void 0?void 0:hn.header,Ve==null?void 0:Ve.header)},h.createElement("div",{className:`${fe}-header-title`},xt,Ce&&h.createElement("div",{className:`${fe}-title`},Ce)),ce&&h.createElement("div",{className:`${fe}-extra`},ce))},[Et,xt,ce,ht,fe,Ce]),Jt=h.useMemo(()=>{var Bt,hn;if(!re)return null;const Nn=`${fe}-footer`;return h.createElement("div",{className:P()(Nn,(Bt=qe.classNames)===null||Bt===void 0?void 0:Bt.footer,Ve==null?void 0:Ve.footer),style:Object.assign(Object.assign(Object.assign({},(hn=qe.styles)===null||hn===void 0?void 0:hn.footer),$e),Me==null?void 0:Me.footer)},re)},[re,$e,fe]);return h.createElement(h.Fragment,null,un,h.createElement("div",{className:P()(`${fe}-body`,Ve==null?void 0:Ve.body,(oe=qe.classNames)===null||oe===void 0?void 0:oe.body),style:Object.assign(Object.assign(Object.assign({},(ee=qe.styles)===null||ee===void 0?void 0:ee.body),pt),Me==null?void 0:Me.body)},lt?h.createElement(j.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${fe}-body-skeleton`}):mt),Jt)},le=w(36237),Q=w(63356),ve=w(16931),xe=w(51636);const be=te=>{const oe="100%";return{left:`translateX(-${oe})`,right:`translateX(${oe})`,top:`translateY(-${oe})`,bottom:`translateY(${oe})`}[te]},De=(te,oe)=>({"&-enter, &-appear":Object.assign(Object.assign({},te),{"&-active":oe}),"&-leave":Object.assign(Object.assign({},oe),{"&-active":te})}),Ue=(te,oe)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${oe}`}}},De({opacity:te},{opacity:1})),we=(te,oe)=>[Ue(.7,oe),De({transform:be(te)},{transform:"none"})];var Be=te=>{const{componentCls:oe,motionDurationSlow:ee}=te;return{[oe]:{[`${oe}-mask-motion`]:Ue(0,ee),[`${oe}-panel-motion`]:["left","right","top","bottom"].reduce((fe,Ce)=>Object.assign(Object.assign({},fe),{[`&-${Ce}`]:we(Ce,ee)}),{})}}};const ge=te=>{const{borderRadiusSM:oe,componentCls:ee,zIndexPopup:fe,colorBgMask:Ce,colorBgElevated:re,motionDurationSlow:ce,motionDurationMid:lt,paddingXS:Qe,padding:ht,paddingLG:pt,fontSizeLG:$e,lineHeightLG:mt,lineWidth:Ve,lineType:Me,colorSplit:qe,marginXS:it,colorIcon:Et,colorIconHover:xt,colorBgTextHover:un,colorBgTextActive:Jt,colorText:Bt,fontWeightStrong:hn,footerPaddingBlock:Nn,footerPaddingInline:tn,calc:On}=te,qt=`${ee}-content-wrapper`;return{[ee]:{position:"fixed",inset:0,zIndex:fe,pointerEvents:"none",color:Bt,"&-pure":{position:"relative",background:re,display:"flex",flexDirection:"column",[`&${ee}-left`]:{boxShadow:te.boxShadowDrawerLeft},[`&${ee}-right`]:{boxShadow:te.boxShadowDrawerRight},[`&${ee}-top`]:{boxShadow:te.boxShadowDrawerUp},[`&${ee}-bottom`]:{boxShadow:te.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${ee}-mask`]:{position:"absolute",inset:0,zIndex:fe,background:Ce,pointerEvents:"auto"},[qt]:{position:"absolute",zIndex:fe,maxWidth:"100vw",transition:`all ${ce}`,"&-hidden":{display:"none"}},[`&-left > ${qt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:te.boxShadowDrawerLeft},[`&-right > ${qt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:te.boxShadowDrawerRight},[`&-top > ${qt}`]:{top:0,insetInline:0,boxShadow:te.boxShadowDrawerUp},[`&-bottom > ${qt}`]:{bottom:0,insetInline:0,boxShadow:te.boxShadowDrawerDown},[`${ee}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:re,pointerEvents:"auto"},[`${ee}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,le.unit)(ht)} ${(0,le.unit)(pt)}`,fontSize:$e,lineHeight:mt,borderBottom:`${(0,le.unit)(Ve)} ${Me} ${qe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${ee}-extra`]:{flex:"none"},[`${ee}-close`]:Object.assign({display:"inline-flex",width:On($e).add(Qe).equal(),height:On($e).add(Qe).equal(),borderRadius:oe,justifyContent:"center",alignItems:"center",marginInlineEnd:it,color:Et,fontWeight:hn,fontSize:$e,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:Jt}},(0,Q.Qy)(te)),[`${ee}-title`]:{flex:1,margin:0,fontWeight:te.fontWeightStrong,fontSize:$e,lineHeight:mt},[`${ee}-body`]:{flex:1,minWidth:0,minHeight:0,padding:pt,overflow:"auto",[`${ee}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${ee}-footer`]:{flexShrink:0,padding:`${(0,le.unit)(Nn)} ${(0,le.unit)(tn)}`,borderTop:`${(0,le.unit)(Ve)} ${Me} ${qe}`},"&-rtl":{direction:"rtl"}}}},He=te=>({zIndexPopup:te.zIndexPopupBase,footerPaddingBlock:te.paddingXS,footerPaddingInline:te.padding});var Fe=(0,ve.I$)("Drawer",te=>{const oe=(0,xe.mergeToken)(te,{});return[ge(oe),Be(oe)]},He),Pe=function(te,oe){var ee={};for(var fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&oe.indexOf(fe)<0&&(ee[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,fe=Object.getOwnPropertySymbols(te);Ce<fe.length;Ce++)oe.indexOf(fe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[Ce])&&(ee[fe[Ce]]=te[fe[Ce]]);return ee};const We=null,Ne={distance:180},V=te=>{var oe;const{rootClassName:ee,width:fe,height:Ce,size:re="default",mask:ce=!0,push:lt=Ne,open:Qe,afterOpenChange:ht,onClose:pt,prefixCls:$e,getContainer:mt,style:Ve,className:Me,visible:qe,afterVisibleChange:it,maskStyle:Et,drawerStyle:xt,contentWrapperStyle:un}=te,Jt=Pe(te,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:Bt,getPrefixCls:hn,direction:Nn,className:tn,style:On,classNames:qt,styles:Wt}=(0,U.dj)("drawer"),Zt=hn("drawer",$e),[rn,xn,Dn]=Fe(Zt),Pn=mt===void 0&&Bt?()=>Bt(document.body):mt,Nt=P()({"no-mask":!ce,[`${Zt}-rtl`]:Nn==="rtl"},ee,xn,Dn),Ht=h.useMemo(()=>fe!=null?fe:re==="large"?736:378,[fe,re]),rt=h.useMemo(()=>Ce!=null?Ce:re==="large"?736:378,[Ce,re]),T={motionName:(0,N.m)(Zt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},z=_t=>({motionName:(0,N.m)(Zt,`panel-motion-${_t}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Z=(0,F.H)(),[$,se]=(0,D.Cn)("Drawer",Jt.zIndex),{classNames:Ge={},styles:at={}}=Jt;return rn(h.createElement(O.Z,{form:!0,space:!0},h.createElement(I.Z.Provider,{value:se},h.createElement(L,Object.assign({prefixCls:Zt,onClose:pt,maskMotion:T,motion:z},Jt,{classNames:{mask:P()(Ge.mask,qt.mask),content:P()(Ge.content,qt.content),wrapper:P()(Ge.wrapper,qt.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},at.mask),Et),Wt.mask),content:Object.assign(Object.assign(Object.assign({},at.content),xt),Wt.content),wrapper:Object.assign(Object.assign(Object.assign({},at.wrapper),un),Wt.wrapper)},open:Qe!=null?Qe:qe,mask:ce,push:lt,width:Ht,height:rt,style:Object.assign(Object.assign({},On),Ve),className:P()(tn,Me),rootClassName:Nt,getContainer:Pn,afterOpenChange:ht!=null?ht:it,panelRef:Z,zIndex:$}),h.createElement(Y,Object.assign({prefixCls:Zt},Jt,{onClose:pt}))))))},q=te=>{const{prefixCls:oe,style:ee,className:fe,placement:Ce="right"}=te,re=Pe(te,["prefixCls","style","className","placement"]),{getPrefixCls:ce}=h.useContext(U.E_),lt=ce("drawer",oe),[Qe,ht,pt]=Fe(lt),$e=P()(lt,`${lt}-pure`,`${lt}-${Ce}`,ht,pt,fe);return Qe(h.createElement("div",{className:$e,style:ee},h.createElement(Y,Object.assign({prefixCls:lt},re))))};V._InternalPanelDoNotUseOrYouWillBeFired=q;var ae=V},19563:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return le}});var h=w(59301),k=w(33853),P=w(38819),_=w(92310),B=w.n(_),C=w(96478),p=w(6089),m=w(18929),E=w(2738),d=w(75030),o=Q=>typeof Q!="object"&&typeof Q!="function"||Q===null,g=w(52838),r=w(45915),n=w(22703),a=w(32383),c=w(55743),u=w(48755),s=w(83397),v=w(93041),e=w(78857),t=w(57700),i=w(36237),f=w(63356),y=w(46e3),b=w(93873),x=w(34925),A=w(37645),M=w(36305),L=w(16931),O=w(51636),N=Q=>{const{componentCls:ve,menuCls:xe,colorError:be,colorTextLightSolid:De}=Q,Ue=`${xe}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${xe} ${Ue}`]:{[`&${Ue}-danger:not(${Ue}-disabled)`]:{color:be,"&:hover":{color:De,backgroundColor:be}}}}}};const I=Q=>{const{componentCls:ve,menuCls:xe,zIndexPopup:be,dropdownArrowDistance:De,sizePopupArrow:Ue,antCls:we,iconCls:Ye,motionDurationMid:Be,paddingBlock:ge,fontSize:He,dropdownEdgeChildPadding:Fe,colorTextDisabled:Pe,fontSizeIcon:We,controlPaddingHorizontal:Ne,colorBgElevated:V}=Q;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:be,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${we}-btn`]:{[`& > ${Ye}-down, & > ${we}-btn-icon > ${Ye}-down`]:{fontSize:We}},[`${ve}-wrap`]:{position:"relative",[`${we}-btn > ${Ye}-down`]:{fontSize:We},[`${Ye}-down::before`]:{transition:`transform ${Be}`}},[`${ve}-wrap-open`]:{[`${Ye}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottomLeft,
|
|
|
&${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottomLeft,
|
|
|
&${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottom,
|
|
|
&${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottom,
|
|
|
&${we}-slide-down-enter${we}-slide-down-enter-active${ve}-placement-bottomRight,
|
|
|
&${we}-slide-down-appear${we}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:y.fJ},[`&${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-topLeft,
|
|
|
&${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-topLeft,
|
|
|
&${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-top,
|
|
|
&${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-top,
|
|
|
&${we}-slide-up-enter${we}-slide-up-enter-active${ve}-placement-topRight,
|
|
|
&${we}-slide-up-appear${we}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:y.Qt},[`&${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottomLeft,
|
|
|
&${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottom,
|
|
|
&${we}-slide-down-leave${we}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:y.Uw},[`&${we}-slide-up-leave${we}-slide-up-leave-active${ve}-placement-topLeft,
|
|
|
&${we}-slide-up-leave${we}-slide-up-leave-active${ve}-placement-top,
|
|
|
&${we}-slide-up-leave${we}-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:be,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 ${Be}`},[`${xe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${xe}-item-icon`]:{minWidth:He,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 ${Be}`,"&: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:He,lineHeight:Q.lineHeight,cursor:"pointer",transition:`all ${Be}`,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:Pe,cursor:"not-allowed","&:hover":{color:Pe,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:Pe,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,M.w)(Q));var F=(0,L.I$)("Dropdown",Q=>{const{marginXXS:ve,sizePopupArrow:xe,paddingXXS:be,componentCls:De}=Q,Ue=(0,O.mergeToken)(Q,{menuCls:`${De}-menu`,dropdownArrowDistance:Q.calc(xe).div(2).add(ve).equal(),dropdownEdgeChildPadding:be});return[I(Ue),N(Ue)]},U,{resetStyle:!1});const K=null,j=Q=>{var ve;const{menu:xe,arrow:be,prefixCls:De,children:Ue,trigger:we,disabled:Ye,dropdownRender:Be,getPopupContainer:ge,overlayClassName:He,rootClassName:Fe,overlayStyle:Pe,open:We,onOpenChange:Ne,visible:V,onVisibleChange:q,mouseEnterDelay:ae=.15,mouseLeaveDelay:te=.1,autoAdjustOverflow:oe=!0,placement:ee="",overlay:fe,transitionName:Ce}=Q,{getPopupContainer:re,getPrefixCls:ce,direction:lt,dropdown:Qe}=h.useContext(u.E_),ht=(0,a.ln)("Dropdown"),pt=h.useMemo(()=>{const Pn=ce();return Ce!==void 0?Ce:ee.includes("top")?`${Pn}-slide-down`:`${Pn}-slide-up`},[ce,ee,Ce]),$e=h.useMemo(()=>ee?ee.includes("Center")?ee.slice(0,ee.indexOf("Center")):ee:lt==="rtl"?"bottomRight":"bottomLeft",[ee,lt]),mt=ce("dropdown",De),Ve=(0,s.Z)(mt),[Me,qe,it]=F(mt,Ve),[,Et]=(0,t.ZP)(),xt=h.Children.only(o(Ue)?h.createElement("span",null,Ue):Ue),un=(0,n.Tm)(xt,{className:B()(`${mt}-trigger`,{[`${mt}-rtl`]:lt==="rtl"},xt.props.className),disabled:(ve=xt.props.disabled)!==null&&ve!==void 0?ve:Ye}),Jt=Ye?[]:we,Bt=!!(Jt!=null&&Jt.includes("contextMenu")),[hn,Nn]=(0,m.Z)(!1,{value:We!=null?We:V}),tn=(0,p.Z)(Pn=>{Ne==null||Ne(Pn,{source:"trigger"}),q==null||q(Pn),Nn(Pn)}),On=B()(He,Fe,qe,it,Ve,Qe==null?void 0:Qe.className,{[`${mt}-rtl`]:lt==="rtl"}),qt=(0,g.Z)({arrowPointAtCenter:typeof be=="object"&&be.pointAtCenter,autoAdjustOverflow:oe,offset:Et.marginXXS,arrowWidth:be?Et.sizePopupArrow:0,borderRadius:Et.borderRadius}),Wt=h.useCallback(()=>{xe!=null&&xe.selectable&&(xe!=null&&xe.multiple)||(Ne==null||Ne(!1,{source:"menu"}),Nn(!1))},[xe==null?void 0:xe.selectable,xe==null?void 0:xe.multiple]),Zt=()=>{let Pn;return xe!=null&&xe.items?Pn=h.createElement(v.default,Object.assign({},xe)):typeof fe=="function"?Pn=fe():Pn=fe,Be&&(Pn=Be(Pn)),Pn=h.Children.only(typeof Pn=="string"?h.createElement("span",null,Pn):Pn),h.createElement(e.J,{prefixCls:`${mt}-menu`,rootClassName:B()(it,Ve),expandIcon:h.createElement("span",{className:`${mt}-menu-submenu-arrow`},lt==="rtl"?h.createElement(k.Z,{className:`${mt}-menu-submenu-arrow-icon`}):h.createElement(P.Z,{className:`${mt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Wt,validator:Nt=>{let{mode:Ht}=Nt}},Pn)},[rn,xn]=(0,d.Cn)("Dropdown",Pe==null?void 0:Pe.zIndex);let Dn=h.createElement(C.Z,Object.assign({alignPoint:Bt},(0,E.Z)(Q,["rootClassName"]),{mouseEnterDelay:ae,mouseLeaveDelay:te,visible:hn,builtinPlacements:qt,arrow:!!be,overlayClassName:On,prefixCls:mt,getPopupContainer:ge||re,transitionName:pt,trigger:Jt,overlay:Zt,placement:$e,onVisibleChange:tn,overlayStyle:Object.assign(Object.assign(Object.assign({},Qe==null?void 0:Qe.style),Pe),{zIndex:rn})}),un);return rn&&(Dn=h.createElement(c.Z.Provider,{value:xn},Dn)),Me(Dn)},G=(0,r.Z)(j,"align",void 0,"dropdown",Q=>Q),Y=Q=>h.createElement(G,Object.assign({},Q),h.createElement("span",null));j._InternalPanelDoNotUseOrYouWillBeFired=Y;var le=j},75727:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return r}});var h=w(19563),k=w(59301),P=w(18785),_=w(92310),B=w.n(_),C=w(7939),p=w(48755),m=w(44104),E=w(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<u.length;s++)a.indexOf(u[s])<0&&Object.prototype.propertyIsEnumerable.call(n,u[s])&&(c[u[s]]=n[u[s]]);return c};const l=n=>{const{getPopupContainer:a,getPrefixCls:c,direction:u}=k.useContext(p.E_),{prefixCls:s,type:v="default",danger:e,disabled:t,loading:i,onClick:f,htmlType:y,children:b,className:x,menu:A,arrow:M,autoFocus:L,overlay:O,trigger:D,align:N,open:I,onOpenChange:U,placement:F,getPopupContainer:K,href:j,icon:G=k.createElement(P.Z,null),title:Y,buttonsRender:le=ae=>ae,mouseEnterDelay:Q,mouseLeaveDelay:ve,overlayClassName:xe,overlayStyle:be,destroyPopupOnHide:De,dropdownRender:Ue}=n,we=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"]),Ye=c("dropdown",s),Be=`${Ye}-button`,ge={menu:A,arrow:M,autoFocus:L,align:N,disabled:t,trigger:t?[]:D,onOpenChange:U,getPopupContainer:K||a,mouseEnterDelay:Q,mouseLeaveDelay:ve,overlayClassName:xe,overlayStyle:be,destroyPopupOnHide:De,dropdownRender:Ue},{compactSize:He,compactItemClassnames:Fe}=(0,E.ri)(Ye,u),Pe=B()(Be,Fe,x);"overlay"in n&&(ge.overlay=O),"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:G}),[V,q]=le([We,Ne]);return k.createElement(m.Z.Compact,Object.assign({className:Pe,size:He,block:!0},we),V,k.createElement(h.Z,Object.assign({},ge),q))};l.__ANT_BUTTON=!0;var o=l;const g=h.Z;g.Button=o;var r=g},584:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return v}});var h=w(59301),k=w(92310),P=w.n(k),_=w(9017),B=w(17835),C=w(57700),m=()=>{const[,e]=(0,C.ZP)(),[t]=(0,_.Z)("Empty"),f=new B.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:M}=(0,h.useMemo)(()=>({borderColor:new B.FastColor(i).onBackground(b).toHexString(),shadowColor:new B.FastColor(f).onBackground(b).toHexString(),contentColor:new B.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:M}))))},l=w(16931),o=w(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=w(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<f.length;y++)t.indexOf(f[y])<0&&Object.prototype.propertyIsEnumerable.call(e,f[y])&&(i[f[y]]=e[f[y]]);return i};const c=h.createElement(m,null),u=h.createElement(d,null),s=e=>{const{className:t,rootClassName:i,prefixCls:f,image:y=c,description:b,children:x,imageStyle:A,style:M,classNames:L,styles:O}=e,D=a(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:N,direction:I,className:U,style:F,classNames:K,styles:j}=(0,n.dj)("empty"),G=N("empty",f),[Y,le,Q]=r(G),[ve]=(0,_.Z)("Empty"),xe=typeof b!="undefined"?b:ve==null?void 0:ve.description,be=typeof xe=="string"?xe:"empty";let De=null;return typeof y=="string"?De=h.createElement("img",{alt:be,src:y}):De=y,Y(h.createElement("div",Object.assign({className:P()(le,Q,G,U,{[`${G}-normal`]:y===u,[`${G}-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),O==null?void 0:O.root),M)},D),h.createElement("div",{className:P()(`${G}-image`,K.image,L==null?void 0:L.image),style:Object.assign(Object.assign(Object.assign({},A),j.image),O==null?void 0:O.image)},De),xe&&h.createElement("div",{className:P()(`${G}-description`,K.description,L==null?void 0:L.description),style:Object.assign(Object.assign({},j.description),O==null?void 0:O.description)},xe),x&&h.createElement("div",{className:P()(`${G}-footer`,K.footer,L==null?void 0:L.footer),style:Object.assign(Object.assign({},j.footer),O==null?void 0:O.footer)},x)))};s.PRESENTED_IMAGE_DEFAULT=c,s.PRESENTED_IMAGE_SIMPLE=u;var v=s},28284:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return Re}});var h=w(56553),k=w(94480),P=w(59301),_=w(92310),B=w.n(_),C=w(77900),p=w(86641),m=w(83397);function E(ye){const[Te,Ie]=P.useState(ye);return P.useEffect(()=>{const Ke=setTimeout(()=>{Ie(ye)},ye.length?0:10);return()=>{clearTimeout(Ke)}},[ye]),Te}var d=w(36237),l=w(63356),o=w(34925),g=w(34961),r=w(51636),n=w(16931),c=ye=>{const{componentCls:Te}=ye,Ie=`${Te}-show-help`,Ke=`${Te}-show-help-item`;return{[Ie]:{transition:`opacity ${ye.motionDurationFast} ${ye.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ke]:{overflow:"hidden",transition:`height ${ye.motionDurationFast} ${ye.motionEaseInOut},
|
|
|
opacity ${ye.motionDurationFast} ${ye.motionEaseInOut},
|
|
|
transform ${ye.motionDurationFast} ${ye.motionEaseInOut} !important`,[`&${Ke}-appear, &${Ke}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ke}-leave-active`]:{transform:"translateY(-5px)"}}}}};const u=ye=>({legend:{display:"block",width:"100%",marginBottom:ye.marginLG,padding:0,color:ye.colorTextDescription,fontSize:ye.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,d.unit)(ye.lineWidth)} ${ye.lineType} ${ye.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)(ye.controlOutlineWidth)} ${ye.controlOutline}`},output:{display:"block",paddingTop:15,color:ye.colorText,fontSize:ye.fontSize,lineHeight:ye.lineHeight}}),s=(ye,Te)=>{const{formItemCls:Ie}=ye;return{[Ie]:{[`${Ie}-label > label`]:{height:Te},[`${Ie}-control-input`]:{minHeight:Te}}}},v=ye=>{const{componentCls:Te}=ye;return{[ye.componentCls]:Object.assign(Object.assign(Object.assign({},(0,l.Wf)(ye)),u(ye)),{[`${Te}-text`]:{display:"inline-block",paddingInlineEnd:ye.paddingSM},"&-small":Object.assign({},s(ye,ye.controlHeightSM)),"&-large":Object.assign({},s(ye,ye.controlHeightLG))})}},e=ye=>{const{formItemCls:Te,iconCls:Ie,rootPrefixCls:Ke,antCls:he,labelRequiredMarkColor:Ze,labelColor:tt,labelFontSize:me,labelHeight:_e,labelColonMarginInlineStart:Ee,labelColonMarginInlineEnd:Xe,itemMarginBottom:Se}=ye;return{[Te]:Object.assign(Object.assign({},(0,l.Wf)(ye)),{marginBottom:Se,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${he}-row`]:{display:"none"},"&-has-warning":{[`${Te}-split`]:{color:ye.colorError}},"&-has-error":{[`${Te}-split`]:{color:ye.colorWarning}},[`${Te}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:ye.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:_e,color:tt,fontSize:me,[`> ${Ie}`]:{fontSize:ye.fontSize,verticalAlign:"top"},[`&${Te}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:ye.marginXXS,color:Ze,fontSize:ye.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Te}-required-mark-hidden, &${Te}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Te}-optional`]:{display:"inline-block",marginInlineStart:ye.marginXXS,color:ye.colorTextDescription,[`&${Te}-required-mark-hidden`]:{display:"none"}},[`${Te}-tooltip`]:{color:ye.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ye.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ee,marginInlineEnd:Xe},[`&${Te}-no-colon::after`]:{content:'"\\a0"'}}},[`${Te}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ke}-col-'"]):not([class*="' ${Ke}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ye.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Te]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:ye.colorTextDescription,fontSize:ye.fontSize,lineHeight:ye.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ye.controlHeightSM,transition:`color ${ye.motionDurationMid} ${ye.motionEaseOut}`},"&-explain":{"&-error":{color:ye.colorError},"&-warning":{color:ye.colorWarning}}},[`&-with-help ${Te}-explain`]:{height:"auto",opacity:1},[`${Te}-feedback-icon`]:{fontSize:ye.fontSize,textAlign:"center",visibility:"visible",animationName:o.kr,animationDuration:ye.motionDurationMid,animationTimingFunction:ye.motionEaseOutBack,pointerEvents:"none","&-success":{color:ye.colorSuccess},"&-error":{color:ye.colorError},"&-warning":{color:ye.colorWarning},"&-validating":{color:ye.colorPrimary}}})}},t=(ye,Te)=>{const{formItemCls:Ie}=ye;return{[`${Te}-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=ye=>{const{componentCls:Te,formItemCls:Ie,inlineItemMarginBottom:Ke}=ye;return{[`${Te}-inline`]:{display:"flex",flexWrap:"wrap",[Ie]:{flex:"none",marginInlineEnd:ye.margin,marginBottom:Ke,"&-row":{flexWrap:"nowrap"},[`> ${Ie}-label,
|
|
|
> ${Ie}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ie}-label`]:{flex:"none"},[`${Te}-text`]:{display:"inline-block"},[`${Ie}-has-feedback`]:{display:"inline-block"}}}}},f=ye=>({padding:ye.verticalLabelPadding,margin:ye.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),y=ye=>{const{componentCls:Te,formItemCls:Ie,rootPrefixCls:Ke}=ye;return{[`${Ie} ${Ie}-label`]:f(ye),[`${Te}:not(${Te}-inline)`]:{[Ie]:{flexWrap:"wrap",[`${Ie}-label, ${Ie}-control`]:{[`&:not([class*=" ${Ke}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},b=ye=>{const{componentCls:Te,formItemCls:Ie,antCls:Ke}=ye;return{[`${Te}-vertical`]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ie}-row`]:{flexDirection:"column"},[`${Ie}-label > label`]:{height:"auto"},[`${Ie}-control`]:{width:"100%"},[`${Ie}-label,
|
|
|
${Ke}-col-24${Ie}-label,
|
|
|
${Ke}-col-xl-24${Ie}-label`]:f(ye)}},[`@media (max-width: ${(0,d.unit)(ye.screenXSMax)})`]:[y(ye),{[Te]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ke}-col-xs-24${Ie}-label`]:f(ye)}}}],[`@media (max-width: ${(0,d.unit)(ye.screenSMMax)})`]:{[Te]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ke}-col-sm-24${Ie}-label`]:f(ye)}}},[`@media (max-width: ${(0,d.unit)(ye.screenMDMax)})`]:{[Te]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ke}-col-md-24${Ie}-label`]:f(ye)}}},[`@media (max-width: ${(0,d.unit)(ye.screenLGMax)})`]:{[Te]:{[`${Ie}:not(${Ie}-horizontal)`]:{[`${Ke}-col-lg-24${Ie}-label`]:f(ye)}}}}},x=ye=>{const{formItemCls:Te,antCls:Ie}=ye;return{[`${Te}-vertical`]:{[`${Te}-row`]:{flexDirection:"column"},[`${Te}-label > label`]:{height:"auto"},[`${Te}-control`]:{width:"100%"}},[`${Te}-vertical ${Te}-label,
|
|
|
${Ie}-col-24${Te}-label,
|
|
|
${Ie}-col-xl-24${Te}-label`]:f(ye),[`@media (max-width: ${(0,d.unit)(ye.screenXSMax)})`]:[y(ye),{[Te]:{[`${Ie}-col-xs-24${Te}-label`]:f(ye)}}],[`@media (max-width: ${(0,d.unit)(ye.screenSMMax)})`]:{[Te]:{[`${Ie}-col-sm-24${Te}-label`]:f(ye)}},[`@media (max-width: ${(0,d.unit)(ye.screenMDMax)})`]:{[Te]:{[`${Ie}-col-md-24${Te}-label`]:f(ye)}},[`@media (max-width: ${(0,d.unit)(ye.screenLGMax)})`]:{[Te]:{[`${Ie}-col-lg-24${Te}-label`]:f(ye)}}}},A=ye=>({labelRequiredMarkColor:ye.colorError,labelColor:ye.colorTextHeading,labelFontSize:ye.fontSize,labelHeight:ye.controlHeight,labelColonMarginInlineStart:ye.marginXXS/2,labelColonMarginInlineEnd:ye.marginXS,itemMarginBottom:ye.marginLG,verticalLabelPadding:`0 0 ${ye.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),M=(ye,Te)=>(0,r.mergeToken)(ye,{formItemCls:`${ye.componentCls}-item`,rootPrefixCls:Te});var L=(0,n.I$)("Form",(ye,Te)=>{let{rootPrefixCls:Ie}=Te;const Ke=M(ye,Ie);return[v(Ke),e(Ke),c(Ke),t(Ke,Ke.componentCls),t(Ke,Ke.formItemCls),i(Ke),b(Ke),x(Ke),(0,g.Z)(Ke),o.kr]},A,{order:-1e3});const O=[];function D(ye,Te,Ie){let Ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ye=="string"?ye:`${Te}-${Ke}`,error:ye,errorStatus:Ie}}var I=ye=>{let{help:Te,helpStatus:Ie,errors:Ke=O,warnings:he=O,className:Ze,fieldId:tt,onVisibleChanged:me}=ye;const{prefixCls:_e}=P.useContext(h.Rk),Ee=`${_e}-item-explain`,Xe=(0,m.Z)(_e),[Se,ut,bt]=L(_e,Xe),Tt=P.useMemo(()=>(0,p.Z)(_e),[_e]),kt=E(Ke),on=E(he),Sn=P.useMemo(()=>Te!=null?[D(Te,"help",Ie)]:[].concat((0,k.Z)(kt.map((dn,mn)=>D(dn,"error","error",mn))),(0,k.Z)(on.map((dn,mn)=>D(dn,"warning","warning",mn)))),[Te,Ie,kt,on]),_n=P.useMemo(()=>{const dn={};return Sn.forEach(mn=>{let{key:Pt}=mn;dn[Pt]=(dn[Pt]||0)+1}),Sn.map((mn,Pt)=>Object.assign(Object.assign({},mn),{key:dn[mn.key]>1?`${mn.key}-fallback-${Pt}`:mn.key}))},[Sn]),nn={};return tt&&(nn.id=`${tt}_help`),Se(P.createElement(C.default,{motionDeadline:Tt.motionDeadline,motionName:`${_e}-show-help`,visible:!!_n.length,onVisibleChanged:me},dn=>{const{className:mn,style:Pt}=dn;return P.createElement("div",Object.assign({},nn,{className:B()(Ee,mn,bt,Xe,Ze,ut),style:Pt}),P.createElement(C.CSSMotionList,Object.assign({keys:_n},(0,p.Z)(_e),{motionName:`${_e}-show-help-item`,component:!1}),wn=>{const{key:jn,error:Cn,errorStatus:Fn,className:er,style:Cr}=wn;return P.createElement("div",{key:jn,className:B()(er,{[`${Ee}-${Fn}`]:Fn}),style:Cr},Cn)}))}))},U=w(22001),F=w(48755),K=w(2171),j=w(31756),G=w(23069),Y=w(76846),le=w(16722);const Q=["parentNode"],ve="form_item";function xe(ye){return ye===void 0||ye===!1?[]:Array.isArray(ye)?ye:[ye]}function be(ye,Te){if(!ye.length)return;const Ie=ye.join("_");return Te?`${Te}_${Ie}`:Q.includes(Ie)?`${ve}_${Ie}`:Ie}function De(ye,Te,Ie,Ke,he,Ze){let tt=Ke;return Ze!==void 0?tt=Ze:Ie.validating?tt="validating":ye.length?tt="error":Te.length?tt="warning":(Ie.touched||he&&Ie.validated)&&(tt="success"),tt}var Ue=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie};function we(ye){return xe(ye).join("_")}function Ye(ye,Te){const Ie=Te.getFieldInstance(ye),Ke=(0,Y.bn)(Ie);if(Ke)return Ke;const he=be(xe(ye),Te.__INTERNAL__.name);if(he)return document.getElementById(he)}function Be(ye){const[Te]=(0,U.useForm)(),Ie=P.useRef({}),Ke=P.useMemo(()=>ye!=null?ye:Object.assign(Object.assign({},Te),{__INTERNAL__:{itemRef:he=>Ze=>{const tt=we(he);Ze?Ie.current[tt]=Ze:delete Ie.current[tt]}},scrollToField:function(he){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:tt}=Ze,me=Ue(Ze,["focus"]),_e=Ye(he,Ke);_e&&((0,le.Z)(_e,Object.assign({scrollMode:"if-needed",block:"nearest"},me)),tt&&Ke.focusField(he))},focusField:he=>{var Ze,tt;const me=Ke.getFieldInstance(he);typeof(me==null?void 0:me.focus)=="function"?me.focus():(tt=(Ze=Ye(he,Ke))===null||Ze===void 0?void 0:Ze.focus)===null||tt===void 0||tt.call(Ze)},getFieldInstance:he=>{const Ze=we(he);return Ie.current[Ze]}}),[ye,Te]);return[Ke]}var ge=w(98350),He=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie};const Fe=(ye,Te)=>{const Ie=P.useContext(K.Z),{getPrefixCls:Ke,direction:he,requiredMark:Ze,colon:tt,scrollToFirstError:me,className:_e,style:Ee}=(0,F.dj)("form"),{prefixCls:Xe,className:Se,rootClassName:ut,size:bt,disabled:Tt=Ie,form:kt,colon:on,labelAlign:Sn,labelWrap:_n,labelCol:nn,wrapperCol:dn,hideRequiredMark:mn,layout:Pt="horizontal",scrollToFirstError:wn,requiredMark:jn,onFinishFailed:Cn,name:Fn,style:er,feedbackIcons:Cr,variant:sr}=ye,Bn=He(ye,["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:mn?!1:Ze!==void 0?Ze:!0,[mn,jn,Ze]),tr=on!=null?on:tt,qn=Ke("form",Xe),Mr=(0,m.Z)(qn),[St,Hr,Rr]=L(qn,Mr),kr=B()(qn,`${qn}-${Pt}`,{[`${qn}-hide-required-mark`]:nr===!1,[`${qn}-rtl`]:he==="rtl",[`${qn}-${or}`]:or},Rr,Mr,Hr,_e,Se,ut),[Wr]=Be(kt),{__INTERNAL__:ea}=Wr;ea.name=Fn;const ar=P.useMemo(()=>({name:Fn,labelAlign:Sn,labelCol:nn,labelWrap:_n,wrapperCol:dn,vertical:Pt==="vertical",colon:tr,requiredMark:nr,itemRef:ea.itemRef,form:Wr,feedbackIcons:Cr}),[Fn,Sn,nn,dn,Pt,tr,nr,Wr,Cr]),lr=P.useRef(null);P.useImperativeHandle(Te,()=>{var Qt;return Object.assign(Object.assign({},Wr),{nativeElement:(Qt=lr.current)===null||Qt===void 0?void 0:Qt.nativeElement})});const An=(Qt,Xn)=>{if(Qt){let zn={block:"nearest"};typeof Qt=="object"&&(zn=Object.assign(Object.assign({},zn),Qt)),Wr.scrollToField(Xn,zn)}},Kt=Qt=>{if(Cn==null||Cn(Qt),Qt.errorFields.length){const Xn=Qt.errorFields[0].name;if(wn!==void 0){An(wn,Xn);return}me!==void 0&&An(me,Xn)}};return St(P.createElement(h.pg.Provider,{value:sr},P.createElement(K.n,{disabled:Tt},P.createElement(G.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},Bn,{name:Fn,onFinishFailed:Kt,form:Wr,ref:lr,style:Object.assign(Object.assign({},Ee),er),className:kr}))))))))};var We=P.forwardRef(Fe),Ne=w(41799),V=w(8654),q=w(22703),ae=w(32383),te=w(11592);function oe(ye){if(typeof ye=="function")return ye;const Te=(0,te.Z)(ye);return Te.length<=1?Te[0]:Te}const ee=()=>{const{status:ye,errors:Te=[],warnings:Ie=[]}=P.useContext(h.aM);return{status:ye,errors:Te,warnings:Ie}};ee.Context=h.aM;var fe=ee,Ce=w(16089);function re(ye){const[Te,Ie]=P.useState(ye),Ke=P.useRef(null),he=P.useRef([]),Ze=P.useRef(!1);P.useEffect(()=>(Ze.current=!1,()=>{Ze.current=!0,Ce.Z.cancel(Ke.current),Ke.current=null}),[]);function tt(me){Ze.current||(Ke.current===null&&(he.current=[],Ke.current=(0,Ce.Z)(()=>{Ke.current=null,Ie(_e=>{let Ee=_e;return he.current.forEach(Xe=>{Ee=Xe(Ee)}),Ee})})),he.current.push(me))}return[Te,tt]}function ce(){const{itemRef:ye}=P.useContext(h.q3),Te=P.useRef({});function Ie(Ke,he){const Ze=he&&typeof he=="object"&&(0,V.C4)(he),tt=Ke.join("_");return(Te.current.name!==tt||Te.current.originRef!==Ze)&&(Te.current.name=tt,Te.current.originRef=Ze,Te.current.ref=(0,V.sQ)(ye(Ke),Ze)),Te.current.ref}return Ie}var lt=w(29194),Qe=w(34280),ht=w(2738),pt=w(65970),$e=w(70425),mt=w(5472);const Ve=ye=>{const{formItemCls:Te}=ye;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Te}-control`]:{display:"flex"}}}};var Me=(0,n.bk)(["Form","item-item"],(ye,Te)=>{let{rootPrefixCls:Ie}=Te;const Ke=M(ye,Ie);return[Ve(Ke)]}),qe=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie};const it=24;var xt=ye=>{const{prefixCls:Te,status:Ie,labelCol:Ke,wrapperCol:he,children:Ze,errors:tt,warnings:me,_internalItemRender:_e,extra:Ee,help:Xe,fieldId:Se,marginBottom:ut,onErrorVisibleChanged:bt,label:Tt}=ye,kt=`${Te}-item`,on=P.useContext(h.q3),Sn=P.useMemo(()=>{let Bn=Object.assign({},he||on.wrapperCol||{});return Tt===null&&!Ke&&!he&&on.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(fr=>{const nr=fr?[fr]:[],tr=(0,$e.U2)(on.labelCol,nr),qn=typeof tr=="object"?tr:{},Mr=(0,$e.U2)(Bn,nr),St=typeof Mr=="object"?Mr:{};"span"in qn&&!("offset"in St)&&qn.span<it&&(Bn=(0,$e.t8)(Bn,[].concat(nr,["offset"]),qn.span))}),Bn},[he,on]),_n=B()(`${kt}-control`,Sn.className),nn=P.useMemo(()=>{const{labelCol:Bn,wrapperCol:or}=on;return qe(on,["labelCol","wrapperCol"])},[on]),dn=P.useRef(null),[mn,Pt]=P.useState(0);(0,Qe.Z)(()=>{Ee&&dn.current?Pt(dn.current.clientHeight):Pt(0)},[Ee]);const wn=P.createElement("div",{className:`${kt}-control-input`},P.createElement("div",{className:`${kt}-control-input-content`},Ze)),jn=P.useMemo(()=>({prefixCls:Te,status:Ie}),[Te,Ie]),Cn=ut!==null||tt.length||me.length?P.createElement(h.Rk.Provider,{value:jn},P.createElement(I,{fieldId:Se,errors:tt,warnings:me,help:Xe,helpStatus:Ie,className:`${kt}-explain-connected`,onVisibleChanged:bt})):null,Fn={};Se&&(Fn.id=`${Se}_extra`);const er=Ee?P.createElement("div",Object.assign({},Fn,{className:`${kt}-extra`,ref:dn}),Ee):null,Cr=Cn||er?P.createElement("div",{className:`${kt}-additional`,style:ut?{minHeight:ut+mn}:{}},Cn,er):null,sr=_e&&_e.mark==="pro_table_render"&&_e.render?_e.render(ye,{input:wn,errorList:Cn,extra:er}):P.createElement(P.Fragment,null,wn,Cr);return P.createElement(h.q3.Provider,{value:nn},P.createElement(mt.Z,Object.assign({},Sn,{className:_n}),sr),P.createElement(Me,{prefixCls:Te}))},un=w(61485),Jt=w(9017),Bt=w(85981),hn=w(25399),Nn=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie};function tn(ye){return ye?typeof ye=="object"&&!P.isValidElement(ye)?ye:{title:ye}:null}var qt=ye=>{let{prefixCls:Te,label:Ie,htmlFor:Ke,labelCol:he,labelAlign:Ze,colon:tt,required:me,requiredMark:_e,tooltip:Ee,vertical:Xe}=ye;var Se;const[ut]=(0,Jt.Z)("Form"),{labelAlign:bt,labelCol:Tt,labelWrap:kt,colon:on}=P.useContext(h.q3);if(!Ie)return null;const Sn=he||Tt||{},_n=Ze||bt,nn=`${Te}-item-label`,dn=B()(nn,_n==="left"&&`${nn}-left`,Sn.className,{[`${nn}-wrap`]:!!kt});let mn=Ie;const Pt=tt===!0||on!==!1&&tt!==!1;Pt&&!Xe&&typeof Ie=="string"&&Ie.trim()&&(mn=Ie.replace(/[:|:]\s*$/,""));const jn=tn(Ee);if(jn){const{icon:Bn=P.createElement(un.Z,null)}=jn,or=Nn(jn,["icon"]),fr=P.createElement(hn.Z,Object.assign({},or),P.cloneElement(Bn,{className:`${Te}-item-tooltip`,title:"",onClick:nr=>{nr.preventDefault()},tabIndex:null}));mn=P.createElement(P.Fragment,null,mn,fr)}const Cn=_e==="optional",Fn=typeof _e=="function",er=_e===!1;Fn?mn=_e(mn,{required:!!me}):Cn&&!me&&(mn=P.createElement(P.Fragment,null,mn,P.createElement("span",{className:`${Te}-item-optional`,title:""},(ut==null?void 0:ut.optional)||((Se=Bt.Z.Form)===null||Se===void 0?void 0:Se.optional))));let Cr;er?Cr="hidden":(Cn||Fn)&&(Cr="optional");const sr=B()({[`${Te}-item-required`]:me,[`${Te}-item-required-mark-${Cr}`]:Cr,[`${Te}-item-no-colon`]:!Pt});return P.createElement(mt.Z,Object.assign({},Sn,{className:dn}),P.createElement("label",{htmlFor:Ke,className:sr,title:typeof Ie=="string"?Ie:""},mn))},Wt=w(29679),Zt=w(19248),rn=w(96512),xn=w(58617);const Dn={success:Wt.Z,warning:rn.Z,error:Zt.Z,validating:xn.Z};function Pn(ye){let{children:Te,errors:Ie,warnings:Ke,hasFeedback:he,validateStatus:Ze,prefixCls:tt,meta:me,noStyle:_e}=ye;const Ee=`${tt}-item`,{feedbackIcons:Xe}=P.useContext(h.q3),Se=De(Ie,Ke,me,null,!!he,Ze),{isFormItemInput:ut,status:bt,hasFeedback:Tt,feedbackIcon:kt}=P.useContext(h.aM),on=P.useMemo(()=>{var Sn;let _n;if(he){const dn=he!==!0&&he.icons||Xe,mn=Se&&((Sn=dn==null?void 0:dn({status:Se,errors:Ie,warnings:Ke}))===null||Sn===void 0?void 0:Sn[Se]),Pt=Se&&Dn[Se];_n=mn!==!1&&Pt?P.createElement("span",{className:B()(`${Ee}-feedback-icon`,`${Ee}-feedback-icon-${Se}`)},mn||P.createElement(Pt,null)):null}const nn={status:Se||"",errors:Ie,warnings:Ke,hasFeedback:!!he,feedbackIcon:_n,isFormItemInput:!0};return _e&&(nn.status=(Se!=null?Se:bt)||"",nn.isFormItemInput=ut,nn.hasFeedback=!!(he!=null?he:Tt),nn.feedbackIcon=he!==void 0?nn.feedbackIcon:kt),nn},[Se,he,_e,ut,bt]);return P.createElement(h.aM.Provider,{value:on},Te)}var Nt=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie};function Ht(ye){const{prefixCls:Te,className:Ie,rootClassName:Ke,style:he,help:Ze,errors:tt,warnings:me,validateStatus:_e,meta:Ee,hasFeedback:Xe,hidden:Se,children:ut,fieldId:bt,required:Tt,isRequired:kt,onSubItemMetaChange:on,layout:Sn}=ye,_n=Nt(ye,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),nn=`${Te}-item`,{requiredMark:dn,vertical:mn}=P.useContext(h.q3),Pt=mn||Sn==="vertical",wn=P.useRef(null),jn=E(tt),Cn=E(me),Fn=Ze!=null,er=!!(Fn||tt.length||me.length),Cr=!!wn.current&&(0,lt.Z)(wn.current),[sr,Bn]=P.useState(null);(0,Qe.Z)(()=>{if(er&&wn.current){const qn=getComputedStyle(wn.current);Bn(parseInt(qn.marginBottom,10))}},[er,Cr]);const or=qn=>{qn||Bn(null)},nr=function(){let qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Mr=qn?jn:Ee.errors,St=qn?Cn:Ee.warnings;return De(Mr,St,Ee,"",!!Xe,_e)}(),tr=B()(nn,Ie,Ke,{[`${nn}-with-help`]:Fn||jn.length||Cn.length,[`${nn}-has-feedback`]:nr&&Xe,[`${nn}-has-success`]:nr==="success",[`${nn}-has-warning`]:nr==="warning",[`${nn}-has-error`]:nr==="error",[`${nn}-is-validating`]:nr==="validating",[`${nn}-hidden`]:Se,[`${nn}-${Sn}`]:Sn});return P.createElement("div",{className:tr,style:he,ref:wn},P.createElement(pt.Z,Object.assign({className:`${nn}-row`},(0,ht.Z)(_n,["_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(qt,Object.assign({htmlFor:bt},ye,{requiredMark:dn,required:Tt!=null?Tt:kt,prefixCls:Te,vertical:Pt})),P.createElement(xt,Object.assign({},ye,Ee,{errors:jn,warnings:Cn,prefixCls:Te,status:nr,help:Ze,marginBottom:sr,onErrorVisibleChanged:or}),P.createElement(h.qI.Provider,{value:on},P.createElement(Pn,{prefixCls:Te,meta:Ee,errors:Ee.errors,warnings:Ee.warnings,hasFeedback:Xe,validateStatus:nr},ut)))),!!sr&&P.createElement("div",{className:`${nn}-margin-offset`,style:{marginBottom:-sr}}))}const rt="__SPLIT__",T=null;function z(ye,Te){const Ie=Object.keys(ye),Ke=Object.keys(Te);return Ie.length===Ke.length&&Ie.every(he=>{const Ze=ye[he],tt=Te[he];return Ze===tt||typeof Ze=="function"||typeof tt=="function"})}const Z=P.memo(ye=>{let{children:Te}=ye;return Te},(ye,Te)=>z(ye.control,Te.control)&&ye.update===Te.update&&ye.childProps.length===Te.childProps.length&&ye.childProps.every((Ie,Ke)=>Ie===Te.childProps[Ke]));function $(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function se(ye){const{name:Te,noStyle:Ie,className:Ke,dependencies:he,prefixCls:Ze,shouldUpdate:tt,rules:me,children:_e,required:Ee,label:Xe,messageVariables:Se,trigger:ut="onChange",validateTrigger:bt,hidden:Tt,help:kt,layout:on}=ye,{getPrefixCls:Sn}=P.useContext(F.E_),{name:_n}=P.useContext(h.q3),nn=oe(_e),dn=typeof nn=="function",mn=P.useContext(h.qI),{validateTrigger:Pt}=P.useContext(U.FieldContext),wn=bt!==void 0?bt:Pt,jn=Te!=null,Cn=Sn("form",Ze),Fn=(0,m.Z)(Cn),[er,Cr,sr]=L(Cn,Fn),Bn=(0,ae.ln)("Form.Item"),or=P.useContext(U.ListContext),fr=P.useRef(null),[nr,tr]=re({}),[qn,Mr]=(0,Ne.Z)(()=>$()),St=lr=>{const An=or==null?void 0:or.getKey(lr.name);if(Mr(lr.destroy?$():lr,!0),Ie&&kt!==!1&&mn){let Kt=lr.name;if(lr.destroy)Kt=fr.current||Kt;else if(An!==void 0){const[Qt,Xn]=An;Kt=[Qt].concat((0,k.Z)(Xn)),fr.current=Kt}mn(lr,Kt)}},Hr=(lr,An)=>{tr(Kt=>{const Qt=Object.assign({},Kt),zn=[].concat((0,k.Z)(lr.name.slice(0,-1)),(0,k.Z)(An)).join(rt);return lr.destroy?delete Qt[zn]:Qt[zn]=lr,Qt})},[Rr,kr]=P.useMemo(()=>{const lr=(0,k.Z)(qn.errors),An=(0,k.Z)(qn.warnings);return Object.values(nr).forEach(Kt=>{lr.push.apply(lr,(0,k.Z)(Kt.errors||[])),An.push.apply(An,(0,k.Z)(Kt.warnings||[]))}),[lr,An]},[nr,qn.errors,qn.warnings]),Wr=ce();function ea(lr,An,Kt){return Ie&&!Tt?P.createElement(Pn,{prefixCls:Cn,hasFeedback:ye.hasFeedback,validateStatus:ye.validateStatus,meta:qn,errors:Rr,warnings:kr,noStyle:!0},lr):P.createElement(Ht,Object.assign({key:"row"},ye,{className:B()(Ke,sr,Fn,Cr),prefixCls:Cn,fieldId:An,isRequired:Kt,errors:Rr,warnings:kr,meta:qn,onSubItemMetaChange:Hr,layout:on}),lr)}if(!jn&&!dn&&!he)return er(ea(nn));let ar={};return typeof Xe=="string"?ar.label=Xe:Te&&(ar.label=String(Te)),Se&&(ar=Object.assign(Object.assign({},ar),Se)),er(P.createElement(U.Field,Object.assign({},ye,{messageVariables:ar,trigger:ut,validateTrigger:wn,onMetaChange:St}),(lr,An,Kt)=>{const Qt=xe(Te).length&&An?An.name:[],Xn=be(Qt,_n),zn=Ee!==void 0?Ee:!!(me!=null&&me.some(gr=>{if(gr&&typeof gr=="object"&&gr.required&&!gr.warningOnly)return!0;if(typeof gr=="function"){const Pr=gr(Kt);return(Pr==null?void 0:Pr.required)&&!(Pr!=null&&Pr.warningOnly)}return!1})),hr=Object.assign({},lr);let Tr=null;if(Array.isArray(nn)&&jn)Tr=nn;else if(!(dn&&(!(tt||he)||jn))){if(!(he&&!dn&&!jn))if(P.isValidElement(nn)){const gr=Object.assign(Object.assign({},nn.props),hr);if(gr.id||(gr.id=Xn),kt||Rr.length>0||kr.length>0||ye.extra){const Lt=[];(kt||Rr.length>0)&&Lt.push(`${Xn}_help`),ye.extra&&Lt.push(`${Xn}_extra`),gr["aria-describedby"]=Lt.join(" ")}Rr.length>0&&(gr["aria-invalid"]="true"),zn&&(gr["aria-required"]="true"),(0,V.Yr)(nn)&&(gr.ref=Wr(Qt,nn)),new Set([].concat((0,k.Z)(xe(ut)),(0,k.Z)(xe(wn)))).forEach(Lt=>{gr[Lt]=function(){for(var At,yn,Qn,vt,vr,Tn=arguments.length,Yt=new Array(Tn),Vn=0;Vn<Tn;Vn++)Yt[Vn]=arguments[Vn];(Qn=hr[Lt])===null||Qn===void 0||(At=Qn).call.apply(At,[hr].concat(Yt)),(vr=(vt=nn.props)[Lt])===null||vr===void 0||(yn=vr).call.apply(yn,[vt].concat(Yt))}});const et=[gr["aria-required"],gr["aria-invalid"],gr["aria-describedby"]];Tr=P.createElement(Z,{control:hr,update:nn,childProps:et},(0,q.Tm)(nn,gr))}else dn&&(tt||he)&&!jn?Tr=nn(Kt):Tr=nn}return ea(Tr,Xn,zn)}))}const Ge=se;Ge.useStatus=fe;var at=Ge,_t=function(ye,Te){var Ie={};for(var Ke in ye)Object.prototype.hasOwnProperty.call(ye,Ke)&&Te.indexOf(Ke)<0&&(Ie[Ke]=ye[Ke]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ke=Object.getOwnPropertySymbols(ye);he<Ke.length;he++)Te.indexOf(Ke[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,Ke[he])&&(Ie[Ke[he]]=ye[Ke[he]]);return Ie},Rt=ye=>{var{prefixCls:Te,children:Ie}=ye,Ke=_t(ye,["prefixCls","children"]);const{getPrefixCls:he}=P.useContext(F.E_),Ze=he("form",Te),tt=P.useMemo(()=>({prefixCls:Ze,status:"error"}),[Ze]);return P.createElement(U.List,Object.assign({},Ke),(me,_e,Ee)=>P.createElement(h.Rk.Provider,{value:tt},Ie(me.map(Xe=>Object.assign(Object.assign({},Xe),{fieldKey:Xe.key})),_e,{errors:Ee.errors,warnings:Ee.warnings})))};function Gt(){const{form:ye}=P.useContext(h.q3);return ye}const ze=We;ze.Item=at,ze.List=Rt,ze.ErrorList=I,ze.useForm=Be,ze.useFormInstance=Gt,ze.useWatch=U.useWatch,ze.Provider=h.RV,ze.create=()=>{};var Re=ze},49397:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return e}});var h=w(59301),k=w(92310),P=w.n(k),_=w(36901),B=w(8654),C=w(62487),p=w(86013),m=w(82855),E=w(48755),d=w(2171),l=w(83397),o=w(31756),g=w(56553),r=w(24971),n=w(70045),a=w(23826),c=w(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<y.length;b++)i.indexOf(y[b])<0&&Object.prototype.propertyIsEnumerable.call(t,y[b])&&(f[y[b]]=t[y[b]]);return f},e=(0,h.forwardRef)((t,i)=>{const{prefixCls:f,bordered:y=!0,status:b,size:x,disabled:A,onBlur:M,onFocus:L,suffix:O,allowClear:D,addonAfter:N,addonBefore:I,className:U,style:F,styles:K,rootClassName:j,onChange:G,classNames:Y,variant:le}=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:be,autoComplete:De,className:Ue,style:we,classNames:Ye,styles:Be}=(0,E.dj)("input"),ge=ve("input",f),He=(0,h.useRef)(null),Fe=(0,l.Z)(ge),[Pe,We,Ne]=(0,c.TI)(ge,j),[V]=(0,c.ZP)(ge,Fe),{compactSize:q,compactItemClassnames:ae}=(0,n.ri)(ge,xe),te=(0,o.Z)(Et=>{var xt;return(xt=x!=null?x:q)!==null&&xt!==void 0?xt:Et}),oe=h.useContext(d.Z),ee=A!=null?A:oe,{status:fe,hasFeedback:Ce,feedbackIcon:re}=(0,h.useContext)(g.aM),ce=(0,m.F)(fe,b),lt=u(t)||!!Ce,Qe=(0,h.useRef)(lt),ht=(0,a.Z)(He,!0),pt=Et=>{ht(),M==null||M(Et)},$e=Et=>{ht(),L==null||L(Et)},mt=Et=>{ht(),G==null||G(Et)},Ve=(Ce||O)&&h.createElement(h.Fragment,null,O,Ce&&re),Me=(0,p.Z)(D!=null?D:be),[qe,it]=(0,r.Z)("input",le,y);return Pe(V(h.createElement(_.default,Object.assign({ref:(0,B.sQ)(i,He),prefixCls:ge,autoComplete:De},Q,{disabled:ee,onBlur:pt,onFocus:$e,style:Object.assign(Object.assign({},we),F),styles:Object.assign(Object.assign({},Be),K),suffix:Ve,allowClear:Me,className:P()(U,j,Ne,Fe,ae,Ue),onChange:mt,addonBefore:I&&h.createElement(C.Z,{form:!0,space:!0},I),addonAfter:N&&h.createElement(C.Z,{form:!0,space:!0},N),classNames:Object.assign(Object.assign(Object.assign({},Y),Ye),{input:P()({[`${ge}-sm`]:te==="small",[`${ge}-lg`]:te==="large",[`${ge}-rtl`]:xe==="rtl"},Y==null?void 0:Y.input,Ye.input,We),variant:P()({[`${ge}-${qe}`]:it},(0,m.Z)(ge,ce)),affixWrapper:P()({[`${ge}-affix-wrapper-sm`]:te==="small",[`${ge}-affix-wrapper-lg`]:te==="large",[`${ge}-affix-wrapper-rtl`]:xe==="rtl"},We),wrapper:P()({[`${ge}-group-rtl`]:xe==="rtl"},We),groupWrapper:P()({[`${ge}-group-wrapper-sm`]:te==="small",[`${ge}-group-wrapper-lg`]:te==="large",[`${ge}-group-wrapper-rtl`]:xe==="rtl",[`${ge}-group-wrapper-${qe}`]:it},(0,m.Z)(`${ge}-group-wrapper`,ce,Ce),We)})}))))})},79809:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return i}});var h=w(59301),k=w(92310),P=w.n(k),_=w(22711),B=w(86013),C=w(82855),p=w(48755),m=w(2171),E=w(83397),d=w(31756),l=w(56553),o=w(24971),g=w(70045),r=w(30292),n=w(53075),a=w(16931),c=w(51636),u=w(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<x.length;A++)y.indexOf(x[A])<0&&Object.prototype.propertyIsEnumerable.call(f,x[A])&&(b[x[A]]=f[x[A]]);return b},i=(0,h.forwardRef)((f,y)=>{var b;const{prefixCls:x,bordered:A=!0,size:M,disabled:L,status:O,allowClear:D,classNames:N,rootClassName:I,className:U,style:F,styles:K,variant:j,showCount:G,onMouseDown:Y,onResize:le}=f,Q=e(f,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ve,direction:xe,allowClear:be,autoComplete:De,className:Ue,style:we,classNames:Ye,styles:Be}=(0,p.dj)("textArea"),ge=h.useContext(m.Z),He=L!=null?L:ge,{status:Fe,hasFeedback:Pe,feedbackIcon:We}=h.useContext(l.aM),Ne=(0,C.F)(Fe,O),V=h.useRef(null);h.useImperativeHandle(y,()=>{var it;return{resizableTextArea:(it=V.current)===null||it===void 0?void 0:it.resizableTextArea,focus:Et=>{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,Et)},blur:()=>{var Et;return(Et=V.current)===null||Et===void 0?void 0:Et.blur()}}});const q=ve("input",x),ae=(0,E.Z)(q),[te,oe,ee]=(0,n.TI)(q,I),[fe]=v(q,ae),{compactSize:Ce,compactItemClassnames:re}=(0,g.ri)(q,xe),ce=(0,d.Z)(it=>{var Et;return(Et=M!=null?M:Ce)!==null&&Et!==void 0?Et:it}),[lt,Qe]=(0,o.Z)("textArea",j,A),ht=(0,B.Z)(D!=null?D:be),[pt,$e]=h.useState(!1),[mt,Ve]=h.useState(!1),Me=it=>{$e(!0),Y==null||Y(it);const Et=()=>{$e(!1),document.removeEventListener("mouseup",Et)};document.addEventListener("mouseup",Et)},qe=it=>{var Et,xt;if(le==null||le(it),pt&&typeof getComputedStyle=="function"){const un=(xt=(Et=V.current)===null||Et===void 0?void 0:Et.nativeElement)===null||xt===void 0?void 0:xt.querySelector("textarea");un&&getComputedStyle(un).resize==="both"&&Ve(!0)}};return te(fe(h.createElement(_.default,Object.assign({autoComplete:De},Q,{style:Object.assign(Object.assign({},we),F),styles:Object.assign(Object.assign({},Be),K),disabled:He,allowClear:ht,className:P()(ee,ae,U,I,re,Ue,mt&&`${q}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},N),Ye),{textarea:P()({[`${q}-sm`]:ce==="small",[`${q}-lg`]:ce==="large"},oe,N==null?void 0:N.textarea,Ye.textarea,pt&&`${q}-mouse-active`),variant:P()({[`${q}-${lt}`]:Qe},(0,C.Z)(q,Ne)),affixWrapper:P()(`${q}-textarea-affix-wrapper`,{[`${q}-affix-wrapper-rtl`]:xe==="rtl",[`${q}-affix-wrapper-sm`]:ce==="small",[`${q}-affix-wrapper-lg`]:ce==="large",[`${q}-textarea-show-count`]:G||((b=f.count)===null||b===void 0?void 0:b.show)},oe)}),prefixCls:q,suffix:Pe&&h.createElement("span",{className:`${q}-textarea-suffix`},We),showCount:G,ref:V,onResize:qe,onMouseDown:Me}))))})},23826:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return k}});var h=w(59301);function k(P,_){const B=(0,h.useRef)([]),C=()=>{B.current.push(setTimeout(()=>{var p,m,E,d;!((p=P.current)===null||p===void 0)&&p.input&&((m=P.current)===null||m===void 0?void 0:m.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(),()=>B.current.forEach(p=>{p&&clearTimeout(p)})),[]),C}},37568:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return Ye}});var h=w(59301),k=w(92310),P=w.n(k),_=w(48755),B=w(56553),C=w(53075),m=Be=>{const{getPrefixCls:ge,direction:He}=(0,h.useContext)(_.E_),{prefixCls:Fe,className:Pe}=Be,We=ge("input-group",Fe),Ne=ge("input"),[V,q,ae]=(0,C.ZP)(Ne),te=P()(We,ae,{[`${We}-lg`]:Be.size==="large",[`${We}-sm`]:Be.size==="small",[`${We}-compact`]:Be.compact,[`${We}-rtl`]:He==="rtl"},q,Pe),oe=(0,h.useContext)(B.aM),ee=(0,h.useMemo)(()=>Object.assign(Object.assign({},oe),{isFormItemInput:!1}),[oe]);return V(h.createElement("span",{className:te,style:Be.style,onMouseEnter:Be.onMouseEnter,onMouseLeave:Be.onMouseLeave,onFocus:Be.onFocus,onBlur:Be.onBlur},h.createElement(B.aM.Provider,{value:ee},Be.children)))},E=w(49397),d=w(94480),l=w(6089),o=w(26112),g=w(82855),r=w(31756),n=w(16931),a=w(51636),c=w(64910);const u=Be=>{const{componentCls:ge,paddingXS:He}=Be;return{[ge]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:He,"&-rtl":{direction:"rtl"},[`${ge}-input`]:{textAlign:"center",paddingInline:Be.paddingXXS},[`&${ge}-sm ${ge}-input`]:{paddingInline:Be.calc(Be.paddingXXS).div(2).equal()},[`&${ge}-lg ${ge}-input`]:{paddingInline:Be.paddingXS}}}};var s=(0,n.I$)(["Input","OTP"],Be=>{const ge=(0,a.mergeToken)(Be,(0,c.e)(Be));return[u(ge)]},c.T),v=w(16089),e=function(Be,ge){var He={};for(var Fe in Be)Object.prototype.hasOwnProperty.call(Be,Fe)&&ge.indexOf(Fe)<0&&(He[Fe]=Be[Fe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Be);Pe<Fe.length;Pe++)ge.indexOf(Fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Fe[Pe])&&(He[Fe[Pe]]=Be[Fe[Pe]]);return He},i=h.forwardRef((Be,ge)=>{const{value:He,onChange:Fe,onActiveChange:Pe,index:We,mask:Ne}=Be,V=e(Be,["value","onChange","onActiveChange","index","mask"]),q=He&&typeof Ne=="string"?Ne:He,ae=Ce=>{Fe(We,Ce.target.value)},te=h.useRef(null);h.useImperativeHandle(ge,()=>te.current);const oe=()=>{(0,v.Z)(()=>{var Ce;const re=(Ce=te.current)===null||Ce===void 0?void 0:Ce.input;document.activeElement===re&&re&&re.select()})},ee=Ce=>{const{key:re,ctrlKey:ce,metaKey:lt}=Ce;re==="ArrowLeft"?Pe(We-1):re==="ArrowRight"?Pe(We+1):re==="z"&&(ce||lt)&&Ce.preventDefault(),oe()},fe=Ce=>{Ce.key==="Backspace"&&!He&&Pe(We-1),oe()};return h.createElement(E.Z,Object.assign({type:Ne===!0?"password":"text"},V,{ref:te,value:q,onInput:ae,onFocus:oe,onKeyDown:ee,onKeyUp:fe,onMouseDown:oe,onMouseUp:oe}))}),f=function(Be,ge){var He={};for(var Fe in Be)Object.prototype.hasOwnProperty.call(Be,Fe)&&ge.indexOf(Fe)<0&&(He[Fe]=Be[Fe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Be);Pe<Fe.length;Pe++)ge.indexOf(Fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Fe[Pe])&&(He[Fe[Pe]]=Be[Fe[Pe]]);return He};function y(Be){return(Be||"").split("")}const b=Be=>{const{index:ge,prefixCls:He,separator:Fe}=Be,Pe=typeof Fe=="function"?Fe(ge):Fe;return Pe?h.createElement("span",{className:`${He}-separator`},Pe):null};var A=h.forwardRef((Be,ge)=>{const{prefixCls:He,length:Fe=6,size:Pe,defaultValue:We,value:Ne,onChange:V,formatter:q,separator:ae,variant:te,disabled:oe,status:ee,autoFocus:fe,mask:Ce,type:re,onInput:ce,inputMode:lt}=Be,Qe=f(Be,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:ht,direction:pt}=h.useContext(_.E_),$e=ht("otp",He),mt=(0,o.Z)(Qe,{aria:!0,data:!0,attr:!0}),[Ve,Me,qe]=s($e),it=(0,r.Z)(xn=>Pe!=null?Pe:xn),Et=h.useContext(B.aM),xt=(0,g.F)(Et.status,ee),un=h.useMemo(()=>Object.assign(Object.assign({},Et),{status:xt,hasFeedback:!1,feedbackIcon:null}),[Et,xt]),Jt=h.useRef(null),Bt=h.useRef({});h.useImperativeHandle(ge,()=>({focus:()=>{var xn;(xn=Bt.current[0])===null||xn===void 0||xn.focus()},blur:()=>{var xn;for(let Dn=0;Dn<Fe;Dn+=1)(xn=Bt.current[Dn])===null||xn===void 0||xn.blur()},nativeElement:Jt.current}));const hn=xn=>q?q(xn):xn,[Nn,tn]=h.useState(()=>y(hn(We||"")));h.useEffect(()=>{Ne!==void 0&&tn(y(Ne))},[Ne]);const On=(0,l.Z)(xn=>{tn(xn),ce&&ce(xn),V&&xn.length===Fe&&xn.every(Dn=>Dn)&&xn.some((Dn,Pn)=>Nn[Pn]!==Dn)&&V(xn.join(""))}),qt=(0,l.Z)((xn,Dn)=>{let Pn=(0,d.Z)(Nn);for(let Ht=0;Ht<xn;Ht+=1)Pn[Ht]||(Pn[Ht]="");Dn.length<=1?Pn[xn]=Dn:Pn=Pn.slice(0,xn).concat(y(Dn)),Pn=Pn.slice(0,Fe);for(let Ht=Pn.length-1;Ht>=0&&!Pn[Ht];Ht-=1)Pn.pop();const Nt=hn(Pn.map(Ht=>Ht||" ").join(""));return Pn=y(Nt).map((Ht,rt)=>Ht===" "&&!Pn[rt]?Pn[rt]:Ht),Pn}),Wt=(xn,Dn)=>{var Pn;const Nt=qt(xn,Dn),Ht=Math.min(xn+Dn.length,Fe-1);Ht!==xn&&Nt[xn]!==void 0&&((Pn=Bt.current[Ht])===null||Pn===void 0||Pn.focus()),On(Nt)},Zt=xn=>{var Dn;(Dn=Bt.current[xn])===null||Dn===void 0||Dn.focus()},rn={variant:te,disabled:oe,status:xt,mask:Ce,type:re,inputMode:lt};return Ve(h.createElement("div",Object.assign({},mt,{ref:Jt,className:P()($e,{[`${$e}-sm`]:it==="small",[`${$e}-lg`]:it==="large",[`${$e}-rtl`]:pt==="rtl"},qe,Me)}),h.createElement(B.aM.Provider,{value:un},Array.from({length:Fe}).map((xn,Dn)=>{const Pn=`otp-${Dn}`,Nt=Nn[Dn]||"";return h.createElement(h.Fragment,{key:Pn},h.createElement(i,Object.assign({ref:Ht=>{Bt.current[Dn]=Ht},index:Dn,size:it,htmlSize:1,className:`${$e}-input`,onChange:Wt,value:Nt,onActiveChange:Zt,autoFocus:Dn===0&&fe},rn)),Dn<Fe-1&&h.createElement(b,{separator:ae,index:Dn,prefixCls:$e}))}))))}),M=w(73331),L=w(15277),O=w(2738),D=w(8654),N=w(2171),I=w(23826),U=function(Be,ge){var He={};for(var Fe in Be)Object.prototype.hasOwnProperty.call(Be,Fe)&&ge.indexOf(Fe)<0&&(He[Fe]=Be[Fe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Be);Pe<Fe.length;Pe++)ge.indexOf(Fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Fe[Pe])&&(He[Fe[Pe]]=Be[Fe[Pe]]);return He};const F=Be=>Be?h.createElement(L.Z,null):h.createElement(M.Z,null),K={click:"onClick",hover:"onMouseOver"};var G=h.forwardRef((Be,ge)=>{const{disabled:He,action:Fe="click",visibilityToggle:Pe=!0,iconRender:We=F}=Be,Ne=h.useContext(N.Z),V=He!=null?He:Ne,q=typeof Pe=="object"&&Pe.visible!==void 0,[ae,te]=(0,h.useState)(()=>q?Pe.visible:!1),oe=(0,h.useRef)(null);h.useEffect(()=>{q&&te(Pe.visible)},[q,Pe]);const ee=(0,I.Z)(oe),fe=()=>{var it;if(V)return;ae&&ee();const Et=!ae;te(Et),typeof Pe=="object"&&((it=Pe.onVisibleChange)===null||it===void 0||it.call(Pe,Et))},Ce=it=>{const Et=K[Fe]||"",xt=We(ae),un={[Et]:fe,className:`${it}-icon`,key:"passwordIcon",onMouseDown:Jt=>{Jt.preventDefault()},onMouseUp:Jt=>{Jt.preventDefault()}};return h.cloneElement(h.isValidElement(xt)?xt:h.createElement("span",null,xt),un)},{className:re,prefixCls:ce,inputPrefixCls:lt,size:Qe}=Be,ht=U(Be,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:pt}=h.useContext(_.E_),$e=pt("input",lt),mt=pt("input-password",ce),Ve=Pe&&Ce(mt),Me=P()(mt,re,{[`${mt}-${Qe}`]:!!Qe}),qe=Object.assign(Object.assign({},(0,O.Z)(ht,["suffix","iconRender","visibilityToggle"])),{type:ae?"text":"password",className:Me,prefixCls:$e,suffix:Ve});return Qe&&(qe.size=Qe),h.createElement(E.Z,Object.assign({ref:(0,D.sQ)(ge,oe)},qe))}),Y=w(47472),le=w(22703),Q=w(7939),ve=w(70045),xe=function(Be,ge){var He={};for(var Fe in Be)Object.prototype.hasOwnProperty.call(Be,Fe)&&ge.indexOf(Fe)<0&&(He[Fe]=Be[Fe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Fe=Object.getOwnPropertySymbols(Be);Pe<Fe.length;Pe++)ge.indexOf(Fe[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Be,Fe[Pe])&&(He[Fe[Pe]]=Be[Fe[Pe]]);return He},De=h.forwardRef((Be,ge)=>{const{prefixCls:He,inputPrefixCls:Fe,className:Pe,size:We,suffix:Ne,enterButton:V=!1,addonAfter:q,loading:ae,disabled:te,onSearch:oe,onChange:ee,onCompositionStart:fe,onCompositionEnd:Ce}=Be,re=xe(Be,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ce,direction:lt}=h.useContext(_.E_),Qe=h.useRef(!1),ht=ce("input-search",He),pt=ce("input",Fe),{compactSize:$e}=(0,ve.ri)(ht,lt),mt=(0,r.Z)(Wt=>{var Zt;return(Zt=We!=null?We:$e)!==null&&Zt!==void 0?Zt:Wt}),Ve=h.useRef(null),Me=Wt=>{Wt!=null&&Wt.target&&Wt.type==="click"&&oe&&oe(Wt.target.value,Wt,{source:"clear"}),ee==null||ee(Wt)},qe=Wt=>{var Zt;document.activeElement===((Zt=Ve.current)===null||Zt===void 0?void 0:Zt.input)&&Wt.preventDefault()},it=Wt=>{var Zt,rn;oe&&oe((rn=(Zt=Ve.current)===null||Zt===void 0?void 0:Zt.input)===null||rn===void 0?void 0:rn.value,Wt,{source:"input"})},Et=Wt=>{Qe.current||ae||it(Wt)},xt=typeof V=="boolean"?h.createElement(Y.Z,null):null,un=`${ht}-button`;let Jt;const Bt=V||{},hn=Bt.type&&Bt.type.__ANT_BUTTON===!0;hn||Bt.type==="button"?Jt=(0,le.Tm)(Bt,Object.assign({onMouseDown:qe,onClick:Wt=>{var Zt,rn;(rn=(Zt=Bt==null?void 0:Bt.props)===null||Zt===void 0?void 0:Zt.onClick)===null||rn===void 0||rn.call(Zt,Wt),it(Wt)},key:"enterButton"},hn?{className:un,size:mt}:{})):Jt=h.createElement(Q.ZP,{className:un,type:V?"primary":void 0,size:mt,disabled:te,key:"enterButton",onMouseDown:qe,onClick:it,loading:ae,icon:xt},V),q&&(Jt=[Jt,(0,le.Tm)(q,{key:"addonAfter"})]);const Nn=P()(ht,{[`${ht}-rtl`]:lt==="rtl",[`${ht}-${mt}`]:!!mt,[`${ht}-with-button`]:!!V},Pe),tn=Object.assign(Object.assign({},re),{className:Nn,prefixCls:pt,type:"search"}),On=Wt=>{Qe.current=!0,fe==null||fe(Wt)},qt=Wt=>{Qe.current=!1,Ce==null||Ce(Wt)};return h.createElement(E.Z,Object.assign({ref:(0,D.sQ)(Ve,ge),onPressEnter:Et},tn,{size:mt,onCompositionStart:On,onCompositionEnd:qt,addonAfter:Jt,suffix:Ne,onChange:Me,disabled:te}))}),Ue=w(79809);const we=E.Z;we.Group=m,we.Search=De,we.TextArea=Ue.Z,we.Password=G,we.OTP=A;var Ye=we},24303:function(Ln,gt,w){"use strict";w.d(gt,{D:function(){return f},Z:function(){return x}});var h=w(59301),k=w(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,B=w(7657),C=function(M,L){return h.createElement(B.Z,(0,k.Z)({},M,{ref:L,icon:_}))},p=h.forwardRef(C),m=p,E=w(33853),d=w(38819),l=w(92310),o=w.n(l),g=w(2738),r=w(48755),n=w(6989),a=w(36237),c=w(48923),u=w(16931);const s=A=>{const{componentCls:M,siderBg:L,motionDurationMid:O,motionDurationSlow:D,antCls:N,triggerHeight:I,triggerColor:U,triggerBg:F,headerHeight:K,zeroTriggerWidth:j,zeroTriggerHeight:G,borderRadiusLG:Y,lightSiderBg:le,lightTriggerColor:Q,lightTriggerBg:ve,bodyBg:xe}=A;return{[M]:{position:"relative",minWidth:0,background:L,transition:`all ${O}, background 0s`,"&-has-trigger":{paddingBottom:I},"&-right":{order:1},[`${M}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${N}-menu${N}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${M}-children`]:{overflow:"hidden"},[`${M}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:I,color:U,lineHeight:(0,a.unit)(I),textAlign:"center",background:F,cursor:"pointer",transition:`all ${O}`},[`${M}-zero-width-trigger`]:{position:"absolute",top:K,insetInlineEnd:A.calc(j).mul(-1).equal(),zIndex:1,width:j,height:G,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:le,[`${M}-trigger`]:{color:Q,background:ve},[`${M}-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,M){var L={};for(var O in A)Object.prototype.hasOwnProperty.call(A,O)&&M.indexOf(O)<0&&(L[O]=A[O]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,O=Object.getOwnPropertySymbols(A);D<O.length;D++)M.indexOf(O[D])<0&&Object.prototype.propertyIsEnumerable.call(A,O[D])&&(L[O[D]]=A[O[D]]);return L};const t={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},i=A=>!Number.isNaN(Number.parseFloat(A))&&isFinite(A),f=h.createContext({}),y=(()=>{let A=0;return function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return A+=1,`${M}${A}`}})();var x=h.forwardRef((A,M)=>{const{prefixCls:L,className:O,trigger:D,children:N,defaultCollapsed:I=!1,theme:U="dark",style:F={},collapsible:K=!1,reverseArrow:j=!1,width:G=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:le,breakpoint:Q,onCollapse:ve,onBreakpoint:xe}=A,be=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,we]=(0,h.useState)("collapsed"in A?A.collapsed:I),[Ye,Be]=(0,h.useState)(!1);(0,h.useEffect)(()=>{"collapsed"in A&&we(A.collapsed)},[A.collapsed]);const ge=(mt,Ve)=>{"collapsed"in A||we(mt),ve==null||ve(mt,Ve)},{getPrefixCls:He,direction:Fe}=(0,h.useContext)(r.E_),Pe=He("layout-sider",L),[We,Ne,V]=v(Pe),q=(0,h.useRef)(null);q.current=mt=>{Be(mt.matches),xe==null||xe(mt.matches),Ue!==mt.matches&&ge(mt.matches,"responsive")},(0,h.useEffect)(()=>{function mt(Me){return q.current(Me)}let Ve;if(typeof window!="undefined"){const{matchMedia:Me}=window;if(Me&&Q&&Q in t){Ve=Me(`screen and (max-width: ${t[Q]})`);try{Ve.addEventListener("change",mt)}catch(qe){Ve.addListener(mt)}mt(Ve)}}return()=>{try{Ve==null||Ve.removeEventListener("change",mt)}catch(Me){Ve==null||Ve.removeListener(mt)}}},[Q]),(0,h.useEffect)(()=>{const mt=y("ant-sider-");return De.addSider(mt),()=>De.removeSider(mt)},[]);const ae=()=>{ge(!Ue,"clickTrigger")},te=(0,g.Z)(be,["collapsed"]),oe=Ue?Y:G,ee=i(oe)?`${oe}px`:String(oe),fe=parseFloat(String(Y||0))===0?h.createElement("span",{onClick:ae,className:o()(`${Pe}-zero-width-trigger`,`${Pe}-zero-width-trigger-${j?"right":"left"}`),style:le},D||h.createElement(m,null)):null,Ce=Fe==="rtl"==!j,lt={expanded:Ce?h.createElement(d.Z,null):h.createElement(E.Z,null),collapsed:Ce?h.createElement(E.Z,null):h.createElement(d.Z,null)}[Ue?"collapsed":"expanded"],Qe=D!==null?fe||h.createElement("div",{className:`${Pe}-trigger`,onClick:ae,style:{width:ee}},D||lt):null,ht=Object.assign(Object.assign({},F),{flex:`0 0 ${ee}`,maxWidth:ee,minWidth:ee,width:ee}),pt=o()(Pe,`${Pe}-${U}`,{[`${Pe}-collapsed`]:!!Ue,[`${Pe}-has-trigger`]:K&&D!==null&&!fe,[`${Pe}-below`]:!!Ye,[`${Pe}-zero-width`]:parseFloat(ee)===0},O,Ne,V),$e=h.useMemo(()=>({siderCollapsed:Ue}),[Ue]);return We(h.createElement(f.Provider,{value:$e},h.createElement("aside",Object.assign({className:pt},te,{style:ht,ref:M}),h.createElement("div",{className:`${Pe}-children`},N),K||Ye&&fe?Qe:null)))})},6989:function(Ln,gt,w){"use strict";w.d(gt,{V:function(){return k}});var h=w(59301);const k=h.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Ln,gt,w){"use strict";w.d(gt,{eh:function(){return _},jn:function(){return B}});var h=w(36237),k=w(16931);const P=C=>{const{antCls:p,componentCls:m,colorText:E,footerBg:d,headerHeight:l,headerPadding:o,headerColor:g,footerPadding:r,fontSize:n,bodyBg:a,headerBg:c}=C;return{[m]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:a,"&, *":{boxSizing:"border-box"},[`&${m}-has-sider`]:{flexDirection:"row",[`> ${m}, > ${m}-content`]:{width:0}},[`${m}-header, &${m}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${m}-header`]:{height:l,padding:o,color:g,lineHeight:(0,h.unit)(l),background:c,[`${p}-menu`]:{lineHeight:"inherit"}},[`${m}-footer`]:{padding:r,color:E,fontSize:n,background:d},[`${m}-content`]:{flex:"auto",color:E,minHeight:0}}},_=C=>{const{colorBgLayout:p,controlHeight:m,controlHeightLG:E,colorText:d,controlHeightSM:l,marginXXS:o,colorTextLightSolid:g,colorBgContainer:r}=C,n=E*1.25;return{colorBgHeader:"#001529",colorBgBody:p,colorBgTrigger:"#002140",bodyBg:p,headerBg:"#001529",headerHeight:m*2,headerPadding:`0 ${n}px`,headerColor:d,footerPadding:`${l}px ${n}px`,footerBg:p,siderBg:"#001529",triggerHeight:E+o*2,triggerBg:"#002140",triggerColor:g,zeroTriggerWidth:E,zeroTriggerHeight:E,lightSiderBg:r,lightTriggerBg:r,lightTriggerColor:d}},B=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];gt.ZP=(0,k.I$)("Layout",C=>[P(C)],_,{deprecatedTokens:B})},78857:function(Ln,gt,w){"use strict";w.d(gt,{J:function(){return C}});var h=w(59301),k=w(8654),P=w(62487),_=function(p,m){var E={};for(var d in p)Object.prototype.hasOwnProperty.call(p,d)&&m.indexOf(d)<0&&(E[d]=p[d]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,d=Object.getOwnPropertySymbols(p);l<d.length;l++)m.indexOf(d[l])<0&&Object.prototype.propertyIsEnumerable.call(p,d[l])&&(E[d[l]]=p[d[l]]);return E};const B=h.createContext(null),C=h.forwardRef((p,m)=>{const{children:E}=p,d=_(p,["children"]),l=h.useContext(B),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)(m,g?(0,k.C4)(E):null);return h.createElement(B.Provider,{value:o},h.createElement(P.Z,{space:!0},g?h.cloneElement(E,{ref:r}):E))});gt.Z=B},93041:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return We}});var h=w(59301),k=w(28321),P=w(24303),_=w(18785),B=w(92310),C=w.n(B),p=w(6089),m=w(2738),E=w(86641),d=w(22703),l=w(48755),o=w(83397),r=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),n=function(Ne,V){var q={};for(var ae in Ne)Object.prototype.hasOwnProperty.call(Ne,ae)&&V.indexOf(ae)<0&&(q[ae]=Ne[ae]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ae=Object.getOwnPropertySymbols(Ne);te<ae.length;te++)V.indexOf(ae[te])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ae[te])&&(q[ae[te]]=Ne[ae[te]]);return q},c=Ne=>{const{prefixCls:V,className:q,dashed:ae}=Ne,te=n(Ne,["prefixCls","className","dashed"]),{getPrefixCls:oe}=h.useContext(l.E_),ee=oe("menu",V),fe=C()({[`${ee}-item-divider-dashed`]:!!ae},q);return h.createElement(k.iz,Object.assign({className:fe},te))},u=w(11592),s=w(25399),e=Ne=>{var V;const{className:q,children:ae,icon:te,title:oe,danger:ee,extra:fe}=Ne,{prefixCls:Ce,firstLevel:re,direction:ce,disableMenuItemTitleTooltip:lt,inlineCollapsed:Qe}=h.useContext(r),ht=qe=>{const it=ae==null?void 0:ae[0],Et=h.createElement("span",{className:C()(`${Ce}-title-content`,{[`${Ce}-title-content-with-extra`]:!!fe||fe===0})},ae);return(!te||h.isValidElement(ae)&&ae.type==="span")&&ae&&qe&&re&&typeof it=="string"?h.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},it.charAt(0)):Et},{siderCollapsed:pt}=h.useContext(P.D);let $e=oe;typeof oe=="undefined"?$e=re?ae:"":oe===!1&&($e="");const mt={title:$e};!pt&&!Qe&&(mt.title=null,mt.open=!1);const Ve=(0,u.Z)(ae).length;let Me=h.createElement(k.ck,Object.assign({},(0,m.Z)(Ne,["title","icon","danger"]),{className:C()({[`${Ce}-item-danger`]:ee,[`${Ce}-item-only-child`]:(te?Ve+1:Ve)===1},q),title:typeof oe=="string"?oe:void 0}),(0,d.Tm)(te,{className:C()(h.isValidElement(te)?(V=te.props)===null||V===void 0?void 0:V.className:"",`${Ce}-item-icon`)}),ht(Qe));return lt||(Me=h.createElement(s.Z,Object.assign({},mt,{placement:ce==="rtl"?"left":"right",classNames:{root:`${Ce}-inline-collapsed-tooltip`}}),Me)),Me},t=w(78857),i=w(36237),f=w(17835),y=w(63356),b=w(34961),x=w(46e3),A=w(34925),M=w(16931),L=w(51636),D=Ne=>{const{componentCls:V,motionDurationSlow:q,horizontalLineHeight:ae,colorSplit:te,lineWidth:oe,lineType:ee,itemPaddingInline:fe}=Ne;return{[`${V}-horizontal`]:{lineHeight:ae,border:0,borderBottom:`${(0,i.unit)(oe)} ${ee} ${te}`,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 ${q}`,`background ${q}`].join(",")},[`${V}-submenu-arrow`]:{display:"none"}}}},I=Ne=>{let{componentCls:V,menuArrowOffset:q,calc:ae}=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)(ae(q).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,i.unit)(q)})`}}}}};const U=Ne=>Object.assign({},(0,y.oN)(Ne));var K=(Ne,V)=>{const{componentCls:q,itemColor:ae,itemSelectedColor:te,subMenuItemSelectedColor:oe,groupTitleColor:ee,itemBg:fe,subMenuItemBg:Ce,itemSelectedBg:re,activeBarHeight:ce,activeBarWidth:lt,activeBarBorderWidth:Qe,motionDurationSlow:ht,motionEaseInOut:pt,motionEaseOut:$e,itemPaddingInline:mt,motionDurationMid:Ve,itemHoverColor:Me,lineType:qe,colorSplit:it,itemDisabledColor:Et,dangerItemColor:xt,dangerItemHoverColor:un,dangerItemSelectedColor:Jt,dangerItemActiveBg:Bt,dangerItemSelectedBg:hn,popupBg:Nn,itemHoverBg:tn,itemActiveBg:On,menuSubMenuBg:qt,horizontalItemSelectedColor:Wt,horizontalItemSelectedBg:Zt,horizontalItemBorderRadius:rn,horizontalItemHoverBg:xn}=Ne;return{[`${q}-${V}, ${q}-${V} > ${q}`]:{color:ae,background:fe,[`&${q}-root:focus-visible`]:Object.assign({},U(Ne)),[`${q}-item`]:{"&-group-title, &-extra":{color:ee}},[`${q}-submenu-selected > ${q}-submenu-title`]:{color:oe},[`${q}-item, ${q}-submenu-title`]:{color:ae,[`&:not(${q}-item-disabled):focus-visible`]:Object.assign({},U(Ne))},[`${q}-item-disabled, ${q}-submenu-disabled`]:{color:`${Et} !important`},[`${q}-item:not(${q}-item-selected):not(${q}-submenu-selected)`]:{[`&:hover, > ${q}-submenu-title:hover`]:{color:Me}},[`&:not(${q}-horizontal)`]:{[`${q}-item:not(${q}-item-selected)`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:On}},[`${q}-submenu-title`]:{"&:hover":{backgroundColor:tn},"&:active":{backgroundColor:On}}},[`${q}-item-danger`]:{color:xt,[`&${q}-item:hover`]:{[`&:not(${q}-item-selected):not(${q}-submenu-selected)`]:{color:un}},[`&${q}-item:active`]:{background:Bt}},[`${q}-item a`]:{"&, &:hover":{color:"inherit"}},[`${q}-item-selected`]:{color:te,[`&${q}-item-danger`]:{color:Jt},"a, a:hover":{color:"inherit"}},[`& ${q}-item-selected`]:{backgroundColor:re,[`&${q}-item-danger`]:{backgroundColor:hn}},[`&${q}-submenu > ${q}`]:{backgroundColor:qt},[`&${q}-popup > ${q}`]:{backgroundColor:Nn},[`&${q}-submenu-popup > ${q}`]:{backgroundColor:Nn},[`&${q}-horizontal`]:Object.assign(Object.assign({},V==="dark"?{borderBottom:0}:{}),{[`> ${q}-item, > ${q}-submenu`]:{top:Qe,marginTop:Ne.calc(Qe).mul(-1).equal(),marginBottom:0,borderRadius:rn,"&::after":{position:"absolute",insetInline:mt,bottom:0,borderBottom:`${(0,i.unit)(ce)} solid transparent`,transition:`border-color ${ht} ${pt}`,content:'""'},"&:hover, &-active, &-open":{background:xn,"&::after":{borderBottomWidth:ce,borderBottomColor:Wt}},"&-selected":{color:Wt,backgroundColor:Zt,"&:hover":{backgroundColor:Zt},"&::after":{borderBottomWidth:ce,borderBottomColor:Wt}}}}),[`&${q}-root`]:{[`&${q}-inline, &${q}-vertical`]:{borderInlineEnd:`${(0,i.unit)(Qe)} ${qe} ${it}`}},[`&${q}-inline`]:{[`${q}-sub${q}-inline`]:{background:Ce},[`${q}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,i.unit)(lt)} solid ${te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ve} ${$e}`,`opacity ${Ve} ${$e}`].join(","),content:'""'},[`&${q}-item-danger`]:{"&::after":{borderInlineEndColor:Jt}}},[`${q}-selected, ${q}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ve} ${pt}`,`opacity ${Ve} ${pt}`].join(",")}}}}}};const j=Ne=>{const{componentCls:V,itemHeight:q,itemMarginInline:ae,padding:te,menuArrowSize:oe,marginXS:ee,itemMarginBlock:fe,itemWidth:Ce,itemPaddingInline:re}=Ne,ce=Ne.calc(oe).add(te).add(ee).equal();return{[`${V}-item`]:{position:"relative",overflow:"hidden"},[`${V}-item, ${V}-submenu-title`]:{height:q,lineHeight:(0,i.unit)(q),paddingInline:re,overflow:"hidden",textOverflow:"ellipsis",marginInline:ae,marginBlock:fe,width:Ce},[`> ${V}-item,
|
|
|
> ${V}-submenu > ${V}-submenu-title`]:{height:q,lineHeight:(0,i.unit)(q)},[`${V}-item-group-list ${V}-submenu-title,
|
|
|
${V}-submenu-title`]:{paddingInlineEnd:ce}}};var Y=Ne=>{const{componentCls:V,iconCls:q,itemHeight:ae,colorTextLightSolid:te,dropdownWidth:oe,controlHeightLG:ee,motionEaseOut:fe,paddingXL:Ce,itemMarginInline:re,fontSizeLG:ce,motionDurationFast:lt,motionDurationSlow:Qe,paddingXS:ht,boxShadowSecondary:pt,collapsedWidth:$e,collapsedIconSize:mt}=Ne,Ve={height:ae,lineHeight:(0,i.unit)(ae),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:pt})}},{[`${V}-submenu-popup ${V}-vertical${V}-sub`]:{minWidth:oe,maxHeight:`calc(100vh - ${(0,i.unit)(Ne.calc(ee).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 ${Qe}`,`background ${Qe}`,`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`]:Ve,[`& ${V}-item-group-title`]:{paddingInlineStart:Ce}},[`${V}-item`]:Ve}},{[`${V}-inline-collapsed`]:{width:$e,[`&${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(mt).div(2).equal())} - ${(0,i.unit)(re)})`,textOverflow:"clip",[`
|
|
|
${V}-submenu-arrow,
|
|
|
${V}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${V}-item-icon, ${q}`]:{margin:0,fontSize:mt,lineHeight:(0,i.unit)(ae),"+ span":{display:"inline-block",opacity:0}}},[`${V}-item-icon, ${q}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${V}-item-icon, ${q}`]:{display:"none"},"a, a:hover":{color:te}},[`${V}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:ht})}}]};const le=Ne=>{const{componentCls:V,motionDurationSlow:q,motionDurationMid:ae,motionEaseInOut:te,motionEaseOut:oe,iconCls:ee,iconSize:fe,iconMarginInlineEnd:Ce}=Ne;return{[`${V}-item, ${V}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${q}`,`background ${q}`,`padding calc(${q} + 0.1s) ${te}`].join(","),[`${V}-item-icon, ${ee}`]:{minWidth:fe,fontSize:fe,transition:[`font-size ${ae} ${oe}`,`margin ${q} ${te}`,`color ${q}`].join(","),"+ span":{marginInlineStart:Ce,opacity:1,transition:[`opacity ${q} ${te}`,`margin ${q}`,`color ${q}`].join(",")}},[`${V}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${V}-item-only-child`]:{[`> ${ee}, > ${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:q,motionEaseInOut:ae,borderRadius:te,menuArrowSize:oe,menuArrowOffset:ee}=Ne;return{[`${V}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ne.margin,width:oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${q} ${ae}, opacity ${q}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Ne.calc(oe).mul(.6).equal(),height:Ne.calc(oe).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:te,transition:[`background ${q} ${ae}`,`transform ${q} ${ae}`,`top ${q} ${ae}`,`color ${q} ${ae}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,i.unit)(Ne.calc(ee).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,i.unit)(ee)})`}}}}},ve=Ne=>{const{antCls:V,componentCls:q,fontSize:ae,motionDurationSlow:te,motionDurationMid:oe,motionEaseInOut:ee,paddingXS:fe,padding:Ce,colorSplit:re,lineWidth:ce,zIndexPopup:lt,borderRadiusLG:Qe,subMenuItemBorderRadius:ht,menuArrowSize:pt,menuArrowOffset:$e,lineType:mt,groupTitleLineHeight:Ve,groupTitleFontSize:Me}=Ne;return[{"":{[q]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${q}-submenu-hidden`]:{display:"none"}},{[q]: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:ae,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${q}-item`]:{flex:"none"}},[`${q}-item, ${q}-submenu, ${q}-submenu-title`]:{borderRadius:Ne.itemBorderRadius},[`${q}-item-group-title`]:{padding:`${(0,i.unit)(fe)} ${(0,i.unit)(Ce)}`,fontSize:Me,lineHeight:Ve,transition:`all ${te}`},[`&-horizontal ${q}-submenu`]:{transition:[`border-color ${te} ${ee}`,`background ${te} ${ee}`].join(",")},[`${q}-submenu, ${q}-submenu-inline`]:{transition:[`border-color ${te} ${ee}`,`background ${te} ${ee}`,`padding ${oe} ${ee}`].join(",")},[`${q}-submenu ${q}-sub`]:{cursor:"initial",transition:[`background ${te} ${ee}`,`padding ${te} ${ee}`].join(",")},[`${q}-title-content`]:{transition:`color ${te}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${V}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${q}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Ne.padding}},[`${q}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${q}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:re,borderStyle:mt,borderWidth:0,borderTopWidth:ce,marginBlock:ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),le(Ne)),{[`${q}-item-group`]:{[`${q}-item-group-list`]:{margin:0,padding:0,[`${q}-item, ${q}-submenu-title`]:{paddingInline:`${(0,i.unit)(Ne.calc(ae).mul(2).equal())} ${(0,i.unit)(Ce)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:lt,borderRadius:Qe,boxShadow:"none",transformOrigin:"0 0",[`&${q}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${q}`]:Object.assign(Object.assign(Object.assign({borderRadius:Qe},le(Ne)),Q(Ne)),{[`${q}-item, ${q}-submenu > ${q}-submenu-title`]:{borderRadius:ht},[`${q}-submenu-title::after`]:{transition:`transform ${te} ${ee}`}})},"\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 ${q}-submenu-arrow,
|
|
|
&-inline ${q}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,i.unit)($e)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,i.unit)(Ne.calc($e).mul(-1).equal())})`}},[`${q}-submenu-open${q}-submenu-inline > ${q}-submenu-title > ${q}-submenu-arrow`]:{transform:`translateY(${(0,i.unit)(Ne.calc(pt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,i.unit)(Ne.calc($e).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,i.unit)($e)})`}}})},{[`${V}-layout-header`]:{[q]:{lineHeight:"inherit"}}}]},xe=Ne=>{var V,q,ae;const{colorPrimary:te,colorError:oe,colorTextDisabled:ee,colorErrorBg:fe,colorText:Ce,colorTextDescription:re,colorBgContainer:ce,colorFillAlter:lt,colorFillContent:Qe,lineWidth:ht,lineWidthBold:pt,controlItemBgActive:$e,colorBgTextHover:mt,controlHeightLG:Ve,lineHeight:Me,colorBgElevated:qe,marginXXS:it,padding:Et,fontSize:xt,controlHeightSM:un,fontSizeLG:Jt,colorTextLightSolid:Bt,colorErrorHover:hn}=Ne,Nn=(V=Ne.activeBarWidth)!==null&&V!==void 0?V:0,tn=(q=Ne.activeBarBorderWidth)!==null&&q!==void 0?q:ht,On=(ae=Ne.itemMarginInline)!==null&&ae!==void 0?ae:Ne.marginXXS,qt=new f.FastColor(Bt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Ne.zIndexPopupBase+50,radiusItem:Ne.borderRadiusLG,itemBorderRadius:Ne.borderRadiusLG,radiusSubMenuItem:Ne.borderRadiusSM,subMenuItemBorderRadius:Ne.borderRadiusSM,colorItemText:Ce,itemColor:Ce,colorItemTextHover:Ce,itemHoverColor:Ce,colorItemTextHoverHorizontal:te,horizontalItemHoverColor:te,colorGroupTitle:re,groupTitleColor:re,colorItemTextSelected:te,itemSelectedColor:te,subMenuItemSelectedColor:te,colorItemTextSelectedHorizontal:te,horizontalItemSelectedColor:te,colorItemBg:ce,itemBg:ce,colorItemBgHover:mt,itemHoverBg:mt,colorItemBgActive:Qe,itemActiveBg:$e,colorSubItemBg:lt,subMenuItemBg:lt,colorItemBgSelected:$e,itemSelectedBg:$e,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:Nn,colorActiveBarHeight:pt,activeBarHeight:pt,colorActiveBarBorderSize:ht,activeBarBorderWidth:tn,colorItemTextDisabled:ee,itemDisabledColor:ee,colorDangerItemText:oe,dangerItemColor:oe,colorDangerItemTextHover:oe,dangerItemHoverColor:oe,colorDangerItemTextSelected:oe,dangerItemSelectedColor:oe,colorDangerItemBgActive:fe,dangerItemActiveBg:fe,colorDangerItemBgSelected:fe,dangerItemSelectedBg:fe,itemMarginInline:On,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ve,groupTitleLineHeight:Me,collapsedWidth:Ve*2,popupBg:qe,itemMarginBlock:it,itemPaddingInline:Et,horizontalLineHeight:`${Ve*1.15}px`,iconSize:xt,iconMarginInlineEnd:un-xt,collapsedIconSize:Jt,groupTitleFontSize:xt,darkItemDisabledColor:new f.FastColor(Bt).setA(.25).toRgbString(),darkItemColor:qt,darkDangerItemColor:oe,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Bt,darkItemSelectedBg:te,darkDangerItemSelectedBg:oe,darkItemHoverBg:"transparent",darkGroupTitleColor:qt,darkItemHoverColor:Bt,darkDangerItemHoverColor:hn,darkDangerItemSelectedColor:Bt,darkDangerItemActiveBg:oe,itemWidth:Nn?`calc(100% + ${tn}px)`:`calc(100% - ${On*2}px)`}};var be=function(Ne){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne,q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,M.I$)("Menu",te=>{const{colorBgElevated:oe,controlHeightLG:ee,fontSize:fe,darkItemColor:Ce,darkDangerItemColor:re,darkItemBg:ce,darkSubMenuItemBg:lt,darkItemSelectedColor:Qe,darkItemSelectedBg:ht,darkDangerItemSelectedBg:pt,darkItemHoverBg:$e,darkGroupTitleColor:mt,darkItemHoverColor:Ve,darkItemDisabledColor:Me,darkDangerItemHoverColor:qe,darkDangerItemSelectedColor:it,darkDangerItemActiveBg:Et,popupBg:xt,darkPopupBg:un}=te,Jt=te.calc(fe).div(7).mul(5).equal(),Bt=(0,L.mergeToken)(te,{menuArrowSize:Jt,menuHorizontalHeight:te.calc(ee).mul(1.15).equal(),menuArrowOffset:te.calc(Jt).mul(.25).equal(),menuSubMenuBg:oe,calc:te.calc,popupBg:xt}),hn=(0,L.mergeToken)(Bt,{itemColor:Ce,itemHoverColor:Ve,groupTitleColor:mt,itemSelectedColor:Qe,subMenuItemSelectedColor:Qe,itemBg:ce,popupBg:un,subMenuItemBg:lt,itemActiveBg:"transparent",itemSelectedBg:ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:$e,itemDisabledColor:Me,dangerItemColor:re,dangerItemHoverColor:qe,dangerItemSelectedColor:it,dangerItemActiveBg:Et,dangerItemSelectedBg:pt,menuSubMenuBg:lt,horizontalItemSelectedColor:Qe,horizontalItemSelectedBg:ht});return[ve(Bt),D(Bt),Y(Bt),K(Bt,"light"),K(hn,"dark"),I(Bt),(0,b.Z)(Bt),(0,x.oN)(Bt,"slide-up"),(0,x.oN)(Bt,"slide-down"),(0,A._y)(Bt,"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:q,unitless:{groupTitleLineHeight:!0}})(Ne,V)},De=w(75030),we=Ne=>{var V;const{popupClassName:q,icon:ae,title:te,theme:oe}=Ne,ee=h.useContext(r),{prefixCls:fe,inlineCollapsed:Ce,theme:re}=ee,ce=(0,k.Xl)();let lt;if(!ae)lt=Ce&&!ce.length&&te&&typeof te=="string"?h.createElement("div",{className:`${fe}-inline-collapsed-noicon`},te.charAt(0)):h.createElement("span",{className:`${fe}-title-content`},te);else{const pt=h.isValidElement(te)&&te.type==="span";lt=h.createElement(h.Fragment,null,(0,d.Tm)(ae,{className:C()(h.isValidElement(ae)?(V=ae.props)===null||V===void 0?void 0:V.className:"",`${fe}-item-icon`)}),pt?te:h.createElement("span",{className:`${fe}-title-content`},te))}const Qe=h.useMemo(()=>Object.assign(Object.assign({},ee),{firstLevel:!1}),[ee]),[ht]=(0,De.Cn)("Menu");return h.createElement(r.Provider,{value:Qe},h.createElement(k.Wd,Object.assign({},(0,m.Z)(Ne,["icon"]),{title:lt,popupClassName:C()(fe,q,`${fe}-${oe||re}`),popupStyle:Object.assign({zIndex:ht},Ne.popupStyle)})))},Ye=function(Ne,V){var q={};for(var ae in Ne)Object.prototype.hasOwnProperty.call(Ne,ae)&&V.indexOf(ae)<0&&(q[ae]=Ne[ae]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ae=Object.getOwnPropertySymbols(Ne);te<ae.length;te++)V.indexOf(ae[te])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ae[te])&&(q[ae[te]]=Ne[ae[te]]);return q};function Be(Ne){return Ne===null||Ne===!1}const ge={item:e,submenu:we,divider:c};var Fe=(0,h.forwardRef)((Ne,V)=>{var q;const ae=h.useContext(t.Z),te=ae||{},{getPrefixCls:oe,getPopupContainer:ee,direction:fe,menu:Ce}=h.useContext(l.E_),re=oe(),{prefixCls:ce,className:lt,style:Qe,theme:ht="light",expandIcon:pt,_internalDisableMenuItemTitleTooltip:$e,inlineCollapsed:mt,siderCollapsed:Ve,rootClassName:Me,mode:qe,selectable:it,onClick:Et,overflowedIndicatorPopupClassName:xt}=Ne,un=Ye(Ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Jt=(0,m.Z)(un,["collapsedWidth"]);(q=te.validator)===null||q===void 0||q.call(te,{mode:qe});const Bt=(0,p.Z)(function(){var Ht;Et==null||Et.apply(void 0,arguments),(Ht=te.onClick)===null||Ht===void 0||Ht.call(te)}),hn=te.mode||qe,Nn=it!=null?it:te.selectable,tn=mt!=null?mt:Ve,On={horizontal:{motionName:`${re}-slide-up`},inline:(0,E.Z)(re),other:{motionName:`${re}-zoom-big`}},qt=oe("menu",ce||te.prefixCls),Wt=(0,o.Z)(qt),[Zt,rn,xn]=be(qt,Wt,!ae),Dn=C()(`${qt}-${ht}`,Ce==null?void 0:Ce.className,lt),Pn=h.useMemo(()=>{var Ht,rt;if(typeof pt=="function"||Be(pt))return pt||null;if(typeof te.expandIcon=="function"||Be(te.expandIcon))return te.expandIcon||null;if(typeof(Ce==null?void 0:Ce.expandIcon)=="function"||Be(Ce==null?void 0:Ce.expandIcon))return(Ce==null?void 0:Ce.expandIcon)||null;const T=(Ht=pt!=null?pt:te==null?void 0:te.expandIcon)!==null&&Ht!==void 0?Ht:Ce==null?void 0:Ce.expandIcon;return(0,d.Tm)(T,{className:C()(`${qt}-submenu-expand-icon`,h.isValidElement(T)?(rt=T.props)===null||rt===void 0?void 0:rt.className:void 0)})},[pt,te==null?void 0:te.expandIcon,Ce==null?void 0:Ce.expandIcon,qt]),Nt=h.useMemo(()=>({prefixCls:qt,inlineCollapsed:tn||!1,direction:fe,firstLevel:!0,theme:ht,mode:hn,disableMenuItemTitleTooltip:$e}),[qt,tn,fe,$e,ht]);return Zt(h.createElement(t.Z.Provider,{value:null},h.createElement(r.Provider,{value:Nt},h.createElement(k.ZP,Object.assign({getPopupContainer:ee,overflowedIndicator:h.createElement(_.Z,null),overflowedIndicatorPopupClassName:C()(qt,`${qt}-${ht}`,xt),mode:hn,selectable:Nn,onClick:Bt},Jt,{inlineCollapsed:tn,style:Object.assign(Object.assign({},Ce==null?void 0:Ce.style),Qe),className:Dn,prefixCls:qt,direction:fe,defaultMotions:On,expandIcon:Pn,ref:V,rootClassName:C()(Me,rn,te.rootClassName,xn,Wt),_internalComponents:ge})))))});const Pe=(0,h.forwardRef)((Ne,V)=>{const q=(0,h.useRef)(null),ae=h.useContext(P.D);return(0,h.useImperativeHandle)(V,()=>({menu:q.current,focus:te=>{var oe;(oe=q.current)===null||oe===void 0||oe.focus(te)}})),h.createElement(Fe,Object.assign({ref:q},Ne,ae))});Pe.Item=e,Pe.SubMenu=we,Pe.Divider=c,Pe.ItemGroup=k.BW;var We=Pe},31709:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return Ce}});var h=w(59301),k=w(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,B=w(7657),C=function(ce,lt){return h.createElement(B.Z,(0,k.Z)({},ce,{ref:lt,icon:_}))},p=h.forwardRef(C),m=p,E=w(49198),d=w(33853),l=w(38819),o=w(92310),g=w.n(o),r=w(20068),n=w(76190),a=w(33885),c=w(42978),u=w(18929),s=w(10228),v=w(26112),e=w(48736),t=w(17119),i=[10,20,50,100],f=function(ce){var lt=ce.pageSizeOptions,Qe=lt===void 0?i:lt,ht=ce.locale,pt=ce.changeSize,$e=ce.pageSize,mt=ce.goButton,Ve=ce.quickGo,Me=ce.rootPrefixCls,qe=ce.disabled,it=ce.buildOptionText,Et=ce.showSizeChanger,xt=ce.sizeChangerRender,un=h.useState(""),Jt=(0,c.Z)(un,2),Bt=Jt[0],hn=Jt[1],Nn=function(){return!Bt||Number.isNaN(Bt)?void 0:Number(Bt)},tn=typeof it=="function"?it:function(Nt){return"".concat(Nt," ").concat(ht.items_per_page)},On=function(Ht){hn(Ht.target.value)},qt=function(Ht){mt||Bt===""||(hn(""),!(Ht.relatedTarget&&(Ht.relatedTarget.className.indexOf("".concat(Me,"-item-link"))>=0||Ht.relatedTarget.className.indexOf("".concat(Me,"-item"))>=0))&&(Ve==null||Ve(Nn())))},Wt=function(Ht){Bt!==""&&(Ht.keyCode===s.Z.ENTER||Ht.type==="click")&&(hn(""),Ve==null||Ve(Nn()))},Zt=function(){return Qe.some(function(Ht){return Ht.toString()===$e.toString()})?Qe:Qe.concat([$e]).sort(function(Ht,rt){var T=Number.isNaN(Number(Ht))?0:Number(Ht),z=Number.isNaN(Number(rt))?0:Number(rt);return T-z})},rn="".concat(Me,"-options");if(!Et&&!Ve)return null;var xn=null,Dn=null,Pn=null;return Et&&xt&&(xn=xt({disabled:qe,size:$e,onSizeChange:function(Ht){pt==null||pt(Number(Ht))},"aria-label":ht.page_size,className:"".concat(rn,"-size-changer"),options:Zt().map(function(Nt){return{label:tn(Nt),value:Nt}})})),Ve&&(mt&&(Pn=typeof mt=="boolean"?h.createElement("button",{type:"button",onClick:Wt,onKeyUp:Wt,disabled:qe,className:"".concat(rn,"-quick-jumper-button")},ht.jump_to_confirm):h.createElement("span",{onClick:Wt,onKeyUp:Wt},mt)),Dn=h.createElement("div",{className:"".concat(rn,"-quick-jumper")},ht.jump_to,h.createElement("input",{disabled:qe,type:"text",value:Bt,onChange:On,onKeyUp:Wt,onBlur:qt,"aria-label":ht.page}),ht.page,Pn)),h.createElement("li",{className:rn},xn,Dn)},y=f,b=function(ce){var lt=ce.rootPrefixCls,Qe=ce.page,ht=ce.active,pt=ce.className,$e=ce.showTitle,mt=ce.onClick,Ve=ce.onKeyPress,Me=ce.itemRender,qe="".concat(lt,"-item"),it=g()(qe,"".concat(qe,"-").concat(Qe),(0,r.Z)((0,r.Z)({},"".concat(qe,"-active"),ht),"".concat(qe,"-disabled"),!Qe),pt),Et=function(){mt(Qe)},xt=function(Bt){Ve(Bt,mt,Qe)},un=Me(Qe,"page",h.createElement("a",{rel:"nofollow"},Qe));return un?h.createElement("li",{title:$e?String(Qe):null,className:it,onClick:Et,onKeyDown:xt,tabIndex:0},un):null},x=b,A=function(ce,lt,Qe){return Qe};function M(){}function L(re){var ce=Number(re);return typeof ce=="number"&&!Number.isNaN(ce)&&isFinite(ce)&&Math.floor(ce)===ce}function O(re,ce,lt){var Qe=typeof re=="undefined"?ce:re;return Math.floor((lt-1)/Qe)+1}var D=function(ce){var lt=ce.prefixCls,Qe=lt===void 0?"rc-pagination":lt,ht=ce.selectPrefixCls,pt=ht===void 0?"rc-select":ht,$e=ce.className,mt=ce.current,Ve=ce.defaultCurrent,Me=Ve===void 0?1:Ve,qe=ce.total,it=qe===void 0?0:qe,Et=ce.pageSize,xt=ce.defaultPageSize,un=xt===void 0?10:xt,Jt=ce.onChange,Bt=Jt===void 0?M:Jt,hn=ce.hideOnSinglePage,Nn=ce.align,tn=ce.showPrevNextJumpers,On=tn===void 0?!0:tn,qt=ce.showQuickJumper,Wt=ce.showLessItems,Zt=ce.showTitle,rn=Zt===void 0?!0:Zt,xn=ce.onShowSizeChange,Dn=xn===void 0?M:xn,Pn=ce.locale,Nt=Pn===void 0?t.Z:Pn,Ht=ce.style,rt=ce.totalBoundaryShowSizeChanger,T=rt===void 0?50:rt,z=ce.disabled,Z=ce.simple,$=ce.showTotal,se=ce.showSizeChanger,Ge=se===void 0?it>T:se,at=ce.sizeChangerRender,_t=ce.pageSizeOptions,dt=ce.itemRender,Rt=dt===void 0?A:dt,Gt=ce.jumpPrevIcon,ze=ce.jumpNextIcon,Re=ce.prevIcon,ye=ce.nextIcon,Te=h.useRef(null),Ie=(0,u.Z)(10,{value:Et,defaultValue:un}),Ke=(0,c.Z)(Ie,2),he=Ke[0],Ze=Ke[1],tt=(0,u.Z)(1,{value:mt,defaultValue:Me,postState:function(br){return Math.max(1,Math.min(br,O(void 0,he,it)))}}),me=(0,c.Z)(tt,2),_e=me[0],Ee=me[1],Xe=h.useState(_e),Se=(0,c.Z)(Xe,2),ut=Se[0],bt=Se[1];(0,h.useEffect)(function(){bt(_e)},[_e]);var Tt=Bt!==M,kt="current"in ce,on=Math.max(1,_e-(Wt?3:5)),Sn=Math.min(O(void 0,he,it),_e+(Wt?3:5));function _n(Gn,br){var Ar=Gn||h.createElement("button",{type:"button","aria-label":br,className:"".concat(Qe,"-item-link")});return typeof Gn=="function"&&(Ar=h.createElement(Gn,(0,a.Z)({},ce))),Ar}function nn(Gn){var br=Gn.target.value,Ar=O(void 0,he,it),Ir;return br===""?Ir=br:Number.isNaN(Number(br))?Ir=ut:br>=Ar?Ir=Ar:Ir=Number(br),Ir}function dn(Gn){return L(Gn)&&Gn!==_e&&L(it)&&it>0}var mn=it>he?qt:!1;function Pt(Gn){(Gn.keyCode===s.Z.UP||Gn.keyCode===s.Z.DOWN)&&Gn.preventDefault()}function wn(Gn){var br=nn(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(nn(Gn))}function Cn(Gn){var br=O(Gn,he,it),Ar=_e>br&&br!==0?br:_e;Ze(Gn),bt(Ar),Dn==null||Dn(_e,Gn),Ee(Ar),Bt==null||Bt(Ar,Gn)}function Fn(Gn){if(dn(Gn)&&!z){var br=O(void 0,he,it),Ar=Gn;return Gn>br?Ar=br:Gn<1&&(Ar=1),Ar!==ut&&bt(Ar),Ee(Ar),Bt==null||Bt(Ar,he),Ar}return _e}var er=_e>1,Cr=_e<O(void 0,he,it);function sr(){er&&Fn(_e-1)}function Bn(){Cr&&Fn(_e+1)}function or(){Fn(on)}function fr(){Fn(Sn)}function nr(Gn,br){if(Gn.key==="Enter"||Gn.charCode===s.Z.ENTER||Gn.keyCode===s.Z.ENTER){for(var Ar=arguments.length,Ir=new Array(Ar>2?Ar-2:0),Jn=2;Jn<Ar;Jn++)Ir[Jn-2]=arguments[Jn];br.apply(void 0,Ir)}}function tr(Gn){nr(Gn,sr)}function qn(Gn){nr(Gn,Bn)}function Mr(Gn){nr(Gn,or)}function St(Gn){nr(Gn,fr)}function Hr(Gn){var br=Rt(Gn,"prev",_n(Re,"prev page"));return h.isValidElement(br)?h.cloneElement(br,{disabled:!er}):br}function Rr(Gn){var br=Rt(Gn,"next",_n(ye,"next page"));return h.isValidElement(br)?h.cloneElement(br,{disabled:!Cr}):br}function kr(Gn){(Gn.type==="click"||Gn.keyCode===s.Z.ENTER)&&Fn(ut)}var Wr=null,ea=(0,v.Z)(ce,{aria:!0,data:!0}),ar=$&&h.createElement("li",{className:"".concat(Qe,"-total-text")},$(it,[it===0?0:(_e-1)*he+1,_e*he>it?it:_e*he])),lr=null,An=O(void 0,he,it);if(hn&&it<=he)return null;var Kt=[],Qt={rootPrefixCls:Qe,onClick:Fn,onKeyPress:nr,showTitle:rn,itemRender:Rt,page:-1},Xn=_e-1>0?_e-1:0,zn=_e+1<An?_e+1:An,hr=qt&&qt.goButton,Tr=(0,n.Z)(Z)==="object"?Z.readOnly:!Z,gr=hr,Pr=null;Z&&(hr&&(typeof hr=="boolean"?gr=h.createElement("button",{type:"button",onClick:kr,onKeyUp:kr},Nt.jump_to_confirm):gr=h.createElement("span",{onClick:kr,onKeyUp:kr},hr),gr=h.createElement("li",{title:rn?"".concat(Nt.jump_to).concat(_e,"/").concat(An):null,className:"".concat(Qe,"-simple-pager")},gr)),Pr=h.createElement("li",{title:rn?"".concat(_e,"/").concat(An):null,className:"".concat(Qe,"-simple-pager")},Tr?ut:h.createElement("input",{type:"text","aria-label":Nt.jump_to,value:ut,disabled:z,onKeyDown:Pt,onKeyUp:wn,onChange:wn,onBlur:jn,size:3}),h.createElement("span",{className:"".concat(Qe,"-slash")},"/"),An));var et=Wt?1:2;if(An<=3+et*2){An||Kt.push(h.createElement(x,(0,k.Z)({},Qt,{key:"noPager",page:1,className:"".concat(Qe,"-item-disabled")})));for(var Lt=1;Lt<=An;Lt+=1)Kt.push(h.createElement(x,(0,k.Z)({},Qt,{key:Lt,page:Lt,active:_e===Lt})))}else{var At=Wt?Nt.prev_3:Nt.prev_5,yn=Wt?Nt.next_3:Nt.next_5,Qn=Rt(on,"jump-prev",_n(Gt,"prev page")),vt=Rt(Sn,"jump-next",_n(ze,"next page"));On&&(Wr=Qn?h.createElement("li",{title:rn?At:null,key:"prev",onClick:or,tabIndex:0,onKeyDown:Mr,className:g()("".concat(Qe,"-jump-prev"),(0,r.Z)({},"".concat(Qe,"-jump-prev-custom-icon"),!!Gt))},Qn):null,lr=vt?h.createElement("li",{title:rn?yn:null,key:"next",onClick:fr,tabIndex:0,onKeyDown:St,className:g()("".concat(Qe,"-jump-next"),(0,r.Z)({},"".concat(Qe,"-jump-next-custom-icon"),!!ze))},vt):null);var vr=Math.max(1,_e-et),Tn=Math.min(_e+et,An);_e-1<=et&&(Tn=1+et*2),An-_e<=et&&(vr=An-et*2);for(var Yt=vr;Yt<=Tn;Yt+=1)Kt.push(h.createElement(x,(0,k.Z)({},Qt,{key:Yt,page:Yt,active:_e===Yt})));if(_e-1>=et*2&&_e!==3&&(Kt[0]=h.cloneElement(Kt[0],{className:g()("".concat(Qe,"-item-after-jump-prev"),Kt[0].props.className)}),Kt.unshift(Wr)),An-_e>=et*2&&_e!==An-2){var Vn=Kt[Kt.length-1];Kt[Kt.length-1]=h.cloneElement(Vn,{className:g()("".concat(Qe,"-item-before-jump-next"),Vn.props.className)}),Kt.push(lr)}vr!==1&&Kt.unshift(h.createElement(x,(0,k.Z)({},Qt,{key:1,page:1}))),Tn!==An&&Kt.push(h.createElement(x,(0,k.Z)({},Qt,{key:An,page:An})))}var yr=Hr(Xn);if(yr){var Kn=!er||!An;yr=h.createElement("li",{title:rn?Nt.prev_page:null,onClick:sr,tabIndex:Kn?null:0,onKeyDown:tr,className:g()("".concat(Qe,"-prev"),(0,r.Z)({},"".concat(Qe,"-disabled"),Kn)),"aria-disabled":Kn},yr)}var pr=Rr(zn);if(pr){var Rn,wr;Z?(Rn=!Cr,wr=er?0:null):(Rn=!Cr||!An,wr=Rn?null:0),pr=h.createElement("li",{title:rn?Nt.next_page:null,onClick:Bn,tabIndex:wr,onKeyDown:qn,className:g()("".concat(Qe,"-next"),(0,r.Z)({},"".concat(Qe,"-disabled"),Rn)),"aria-disabled":Rn},pr)}var mr=g()(Qe,$e,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(Qe,"-start"),Nn==="start"),"".concat(Qe,"-center"),Nn==="center"),"".concat(Qe,"-end"),Nn==="end"),"".concat(Qe,"-simple"),Z),"".concat(Qe,"-disabled"),z));return h.createElement("ul",(0,k.Z)({className:mr,style:Ht,ref:Te},ea),ar,yr,Z?Pr:Kt,pr,h.createElement(y,{locale:Nt,rootPrefixCls:Qe,disabled:z,selectPrefixCls:pt,changeSize:Cn,pageSize:he,pageSizeOptions:_t,quickGo:mn?Fn:null,goButton:gr,showSizeChanger:Ge,sizeChangerRender:at}))},N=D,I=w(61852),U=w(48755),F=w(31756),K=w(13783),j=w(9017),G=w(82326),Y=w(57700),le=w(36237),Q=w(53075),ve=w(64910),xe=w(39082),be=w(63356),De=w(51636),Ue=w(16931);const we=re=>{const{componentCls:ce}=re;return{[`${ce}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ce}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ce}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed"}}},[`&${ce}-disabled`]:{cursor:"not-allowed",[`${ce}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:re.colorBorder,backgroundColor:re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:re.itemActiveBgDisabled},a:{color:re.itemActiveColorDisabled}}},[`${ce}-item-link`]:{color:re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ce}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ce}-simple-pager`]:{color:re.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"}}}}}},Ye=re=>{const{componentCls:ce}=re;return{[`&${ce}-mini ${ce}-total-text, &${ce}-mini ${ce}-simple-pager`]:{height:re.itemSizeSM,lineHeight:(0,le.unit)(re.itemSizeSM)},[`&${ce}-mini ${ce}-item`]:{minWidth:re.itemSizeSM,height:re.itemSizeSM,margin:0,lineHeight:(0,le.unit)(re.calc(re.itemSizeSM).sub(2).equal())},[`&${ce}-mini ${ce}-prev, &${ce}-mini ${ce}-next`]:{minWidth:re.itemSizeSM,height:re.itemSizeSM,margin:0,lineHeight:(0,le.unit)(re.itemSizeSM)},[`&${ce}-mini:not(${ce}-disabled)`]:{[`${ce}-prev, ${ce}-next`]:{[`&:hover ${ce}-item-link`]:{backgroundColor:re.colorBgTextHover},[`&:active ${ce}-item-link`]:{backgroundColor:re.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:re.itemSizeSM,lineHeight:(0,le.unit)(re.itemSizeSM)}},[`&${ce}-mini ${ce}-jump-prev, &${ce}-mini ${ce}-jump-next`]:{height:re.itemSizeSM,marginInlineEnd:0,lineHeight:(0,le.unit)(re.itemSizeSM)},[`&${ce}-mini ${ce}-options`]:{marginInlineStart:re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:re.itemSizeSM,lineHeight:(0,le.unit)(re.itemSizeSM),input:Object.assign(Object.assign({},(0,Q.x0)(re)),{width:re.paginationMiniQuickJumperInputWidth,height:re.controlHeightSM})}}}},Be=re=>{const{componentCls:ce}=re;return{[`
|
|
|
&${ce}-simple ${ce}-prev,
|
|
|
&${ce}-simple ${ce}-next
|
|
|
`]:{height:re.itemSizeSM,lineHeight:(0,le.unit)(re.itemSizeSM),verticalAlign:"top",[`${ce}-item-link`]:{height:re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:re.colorBgTextHover},"&:active":{backgroundColor:re.colorBgTextActive},"&::after":{height:re.itemSizeSM,lineHeight:(0,le.unit)(re.itemSizeSM)}}},[`&${ce}-simple ${ce}-simple-pager`]:{display:"inline-block",height:re.itemSizeSM,marginInlineEnd:re.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,le.unit)(re.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:re.itemInputBg,border:`${(0,le.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadius,outline:"none",transition:`border-color ${re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:re.colorPrimary},"&:focus":{borderColor:re.colorPrimaryHover,boxShadow:`${(0,le.unit)(re.inputOutlineOffset)} 0 ${(0,le.unit)(re.controlOutlineWidth)} ${re.controlOutline}`},"&[disabled]":{color:re.colorTextDisabled,backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,cursor:"not-allowed"}}}}},ge=re=>{const{componentCls:ce}=re;return{[`${ce}-jump-prev, ${ce}-jump-next`]:{outline:0,[`${ce}-item-container`]:{position:"relative",[`${ce}-item-link-icon`]:{color:re.colorPrimary,fontSize:re.fontSizeSM,opacity:0,transition:`all ${re.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:re.colorTextDisabled,letterSpacing:re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:re.paginationEllipsisTextIndent,opacity:1,transition:`all ${re.motionDurationMid}`}},"&:hover":{[`${ce}-item-link-icon`]:{opacity:1},[`${ce}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${ce}-prev,
|
|
|
${ce}-jump-prev,
|
|
|
${ce}-jump-next
|
|
|
`]:{marginInlineEnd:re.marginXS},[`
|
|
|
${ce}-prev,
|
|
|
${ce}-next,
|
|
|
${ce}-jump-prev,
|
|
|
${ce}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:re.itemSize,height:re.itemSize,color:re.colorText,fontFamily:re.fontFamily,lineHeight:(0,le.unit)(re.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:re.borderRadius,cursor:"pointer",transition:`all ${re.motionDurationMid}`},[`${ce}-prev, ${ce}-next`]:{outline:0,button:{color:re.colorText,cursor:"pointer",userSelect:"none"},[`${ce}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,le.unit)(re.lineWidth)} ${re.lineType} transparent`,borderRadius:re.borderRadius,outline:"none",transition:`all ${re.motionDurationMid}`},[`&:hover ${ce}-item-link`]:{backgroundColor:re.colorBgTextHover},[`&:active ${ce}-item-link`]:{backgroundColor:re.colorBgTextActive},[`&${ce}-disabled:hover`]:{[`${ce}-item-link`]:{backgroundColor:"transparent"}}},[`${ce}-slash`]:{marginInlineEnd:re.paginationSlashMarginInlineEnd,marginInlineStart:re.paginationSlashMarginInlineStart},[`${ce}-options`]:{display:"inline-block",marginInlineStart:re.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:re.controlHeight,marginInlineStart:re.marginXS,lineHeight:(0,le.unit)(re.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Q.ik)(re)),(0,xe.$U)(re,{borderColor:re.colorBorder,hoverBorderColor:re.colorPrimaryHover,activeBorderColor:re.colorPrimary,activeShadow:re.activeShadow})),{"&[disabled]":Object.assign({},(0,xe.Xy)(re)),width:re.calc(re.controlHeightLG).mul(1.25).equal(),height:re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:re.marginXS,marginInlineEnd:re.marginXS})}}}},He=re=>{const{componentCls:ce}=re;return{[`${ce}-item`]:{display:"inline-block",minWidth:re.itemSize,height:re.itemSize,marginInlineEnd:re.marginXS,fontFamily:re.fontFamily,lineHeight:(0,le.unit)(re.calc(re.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:re.itemBg,border:`${(0,le.unit)(re.lineWidth)} ${re.lineType} transparent`,borderRadius:re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,le.unit)(re.paginationItemPaddingInline)}`,color:re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ce}-item-active)`]:{"&:hover":{transition:`all ${re.motionDurationMid}`,backgroundColor:re.colorBgTextHover},"&:active":{backgroundColor:re.colorBgTextActive}},"&-active":{fontWeight:re.fontWeightStrong,backgroundColor:re.itemActiveBg,borderColor:re.colorPrimary,a:{color:re.colorPrimary},"&:hover":{borderColor:re.colorPrimaryHover},"&:hover a":{color:re.colorPrimaryHover}}}}},Fe=re=>{const{componentCls:ce}=re;return{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(re)),{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:re.itemSize,marginInlineEnd:re.marginXS,lineHeight:(0,le.unit)(re.calc(re.itemSize).sub(2).equal()),verticalAlign:"middle"}}),He(re)),ge(re)),Be(re)),Ye(re)),we(re)),{[`@media only screen and (max-width: ${re.screenLG}px)`]:{[`${ce}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${re.screenSM}px)`]:{[`${ce}-options`]:{display:"none"}}}),[`&${re.componentCls}-rtl`]:{direction:"rtl"}}},Pe=re=>{const{componentCls:ce}=re;return{[`${ce}:not(${ce}-disabled)`]:{[`${ce}-item`]:Object.assign({},(0,be.Qy)(re)),[`${ce}-jump-prev, ${ce}-jump-next`]:{"&:focus-visible":Object.assign({[`${ce}-item-link-icon`]:{opacity:1},[`${ce}-item-ellipsis`]:{opacity:0}},(0,be.oN)(re))},[`${ce}-prev, ${ce}-next`]:{[`&:focus-visible ${ce}-item-link`]:Object.assign({},(0,be.oN)(re))}}}},We=re=>Object.assign({itemBg:re.colorBgContainer,itemSize:re.controlHeight,itemSizeSM:re.controlHeightSM,itemActiveBg:re.colorBgContainer,itemLinkBg:re.colorBgContainer,itemActiveColorDisabled:re.colorTextDisabled,itemActiveBgDisabled:re.controlItemBgActiveDisabled,itemInputBg:re.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(re)),Ne=re=>(0,De.mergeToken)(re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:re.calc(re.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:re.calc(re.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:re.calc(re.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:re.calc(re.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:re.marginSM,paginationSlashMarginInlineEnd:re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(re));var V=(0,Ue.I$)("Pagination",re=>{const ce=Ne(re);return[Fe(ce),Pe(ce)]},We);const q=re=>{const{componentCls:ce}=re;return{[`${ce}${ce}-bordered${ce}-disabled:not(${ce}-mini)`]:{"&, &:hover":{[`${ce}-item-link`]:{borderColor:re.colorBorder}},"&:focus-visible":{[`${ce}-item-link`]:{borderColor:re.colorBorder}},[`${ce}-item, ${ce}-item-link`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,[`&:hover:not(${ce}-item-active)`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,a:{color:re.colorTextDisabled}},[`&${ce}-item-active`]:{backgroundColor:re.itemActiveBgDisabled}},[`${ce}-prev, ${ce}-next`]:{"&:hover button":{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder,color:re.colorTextDisabled},[`${ce}-item-link`]:{backgroundColor:re.colorBgContainerDisabled,borderColor:re.colorBorder}}},[`${ce}${ce}-bordered:not(${ce}-mini)`]:{[`${ce}-prev, ${ce}-next`]:{"&:hover button":{borderColor:re.colorPrimaryHover,backgroundColor:re.itemBg},[`${ce}-item-link`]:{backgroundColor:re.itemLinkBg,borderColor:re.colorBorder},[`&:hover ${ce}-item-link`]:{borderColor:re.colorPrimary,backgroundColor:re.itemBg,color:re.colorPrimary},[`&${ce}-disabled`]:{[`${ce}-item-link`]:{borderColor:re.colorBorder,color:re.colorTextDisabled}}},[`${ce}-item`]:{backgroundColor:re.itemBg,border:`${(0,le.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,[`&:hover:not(${ce}-item-active)`]:{borderColor:re.colorPrimary,backgroundColor:re.itemBg,a:{color:re.colorPrimary}},"&-active":{borderColor:re.colorPrimary}}}}};var ae=(0,Ue.bk)(["Pagination","bordered"],re=>{const ce=Ne(re);return[q(ce)]},We);function te(re){return(0,h.useMemo)(()=>typeof re=="boolean"?[re,{}]:re&&typeof re=="object"?[!0,re]:[void 0,void 0],[re])}var oe=function(re,ce){var lt={};for(var Qe in re)Object.prototype.hasOwnProperty.call(re,Qe)&&ce.indexOf(Qe)<0&&(lt[Qe]=re[Qe]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Qe=Object.getOwnPropertySymbols(re);ht<Qe.length;ht++)ce.indexOf(Qe[ht])<0&&Object.prototype.propertyIsEnumerable.call(re,Qe[ht])&&(lt[Qe[ht]]=re[Qe[ht]]);return lt},fe=re=>{const{align:ce,prefixCls:lt,selectPrefixCls:Qe,className:ht,rootClassName:pt,style:$e,size:mt,locale:Ve,responsive:Me,showSizeChanger:qe,selectComponentClass:it,pageSizeOptions:Et}=re,xt=oe(re,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:un}=(0,K.Z)(Me),[,Jt]=(0,Y.ZP)(),{getPrefixCls:Bt,direction:hn,showSizeChanger:Nn,className:tn,style:On}=(0,U.dj)("pagination"),qt=Bt("pagination",lt),[Wt,Zt,rn]=V(qt),xn=(0,F.Z)(mt),Dn=xn==="small"||!!(un&&!xn&&Me),[Pn]=(0,j.Z)("Pagination",I.Z),Nt=Object.assign(Object.assign({},Pn),Ve),[Ht,rt]=te(qe),[T,z]=te(Nn),Z=Ht!=null?Ht:T,$=rt!=null?rt:z,se=it||G.default,Ge=h.useMemo(()=>Et?Et.map(ze=>Number(ze)):void 0,[Et]),at=ze=>{var Re;const{disabled:ye,size:Te,onSizeChange:Ie,"aria-label":Ke,className:he,options:Ze}=ze,{className:tt,onChange:me}=$||{},_e=(Re=Ze.find(Ee=>String(Ee.value)===String(Te)))===null||Re===void 0?void 0:Re.value;return h.createElement(se,Object.assign({disabled:ye,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Ee=>Ee.parentNode,"aria-label":Ke,options:Ze},$,{value:_e,onChange:(Ee,Xe)=>{Ie==null||Ie(Ee),me==null||me(Ee,Xe)},size:Dn?"small":"middle",className:g()(he,tt)}))},_t=h.useMemo(()=>{const ze=h.createElement("span",{className:`${qt}-item-ellipsis`},"\u2022\u2022\u2022"),Re=h.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},hn==="rtl"?h.createElement(l.Z,null):h.createElement(d.Z,null)),ye=h.createElement("button",{className:`${qt}-item-link`,type:"button",tabIndex:-1},hn==="rtl"?h.createElement(d.Z,null):h.createElement(l.Z,null)),Te=h.createElement("a",{className:`${qt}-item-link`},h.createElement("div",{className:`${qt}-item-container`},hn==="rtl"?h.createElement(E.Z,{className:`${qt}-item-link-icon`}):h.createElement(m,{className:`${qt}-item-link-icon`}),ze)),Ie=h.createElement("a",{className:`${qt}-item-link`},h.createElement("div",{className:`${qt}-item-container`},hn==="rtl"?h.createElement(m,{className:`${qt}-item-link-icon`}):h.createElement(E.Z,{className:`${qt}-item-link-icon`}),ze));return{prevIcon:Re,nextIcon:ye,jumpPrevIcon:Te,jumpNextIcon:Ie}},[hn,qt]),dt=Bt("select",Qe),Rt=g()({[`${qt}-${ce}`]:!!ce,[`${qt}-mini`]:Dn,[`${qt}-rtl`]:hn==="rtl",[`${qt}-bordered`]:Jt.wireframe},tn,ht,pt,Zt,rn),Gt=Object.assign(Object.assign({},On),$e);return Wt(h.createElement(h.Fragment,null,Jt.wireframe&&h.createElement(ae,{prefixCls:qt}),h.createElement(N,Object.assign({},_t,xt,{style:Gt,prefixCls:qt,selectPrefixCls:dt,className:Rt,locale:Nt,pageSizeOptions:Ge,showSizeChanger:Z,sizeChangerRender:at}))))},Ce=fe},69106:function(Ln,gt,w){"use strict";w.d(gt,{aV:function(){return E},t5:function(){return d}});var h=w(59301),k=w(92310),P=w.n(k),_=w(29125),B=w(54500),C=w(48755),p=w(85074),m=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<n.length;a++)g.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(o,n[a])&&(r[n[a]]=o[n[a]]);return r};const E=o=>{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,B.Z)(u),t=(0,B.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=m(o,["prefixCls","className"]),{getPrefixCls:a}=h.useContext(C.E_),c=a("popover",g),[u,s,v]=(0,p.Z)(c);return u(h.createElement(d,Object.assign({},n,{prefixCls:c,hashId:s,className:P()(r,v)})))};gt.ZP=l},37639:function(Ln,gt,w){"use strict";var h=w(59301),k=w(92310),P=w.n(k),_=w(18929),B=w(10228),C=w(54500),p=w(86641),m=w(22703),E=w(25399),d=w(69106),l=w(48755),o=w(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<s.length;v++)c.indexOf(s[v])<0&&Object.prototype.propertyIsEnumerable.call(a,s[v])&&(u[s[v]]=a[s[v]]);return u};const n=h.forwardRef((a,c)=>{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:M,overlayStyle:L={},styles:O,classNames:D}=a,N=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"),G=I("popover",v),[Y,le,Q]=(0,o.Z)(G),ve=I(),xe=P()(i,le,Q,U,K.root,D==null?void 0:D.root),be=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}),we=(Fe,Pe)=>{Ue(Fe,!0),M==null||M(Fe,Pe)},Ye=Fe=>{Fe.keyCode===B.Z.ESC&&we(!1,Fe)},Be=Fe=>{we(Fe)},ge=(0,C.Z)(e),He=(0,C.Z)(t);return Y(h.createElement(E.Z,Object.assign({placement:f,trigger:y,mouseEnterDelay:x,mouseLeaveDelay:A},N,{prefixCls:G,classNames:{root:xe,body:be},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),F),L),O==null?void 0:O.root),body:Object.assign(Object.assign({},j.body),O==null?void 0:O.body)},ref:c,open:De,onOpenChange:Be,overlay:ge||He?h.createElement(d.aV,{prefixCls:G,title:ge,content:He}):null,transitionName:(0,p.m)(ve,"zoom-big",N.transitionName),"data-popover-inject":!0}),(0,m.Tm)(b,{onKeyDown:Fe=>{var Pe,We;h.isValidElement(b)&&((We=b==null?void 0:(Pe=b.props).onKeyDown)===null||We===void 0||We.call(Pe,Fe)),Ye(Fe)}})))});n._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,gt.Z=n},85074:function(Ln,gt,w){"use strict";var h=w(63356),k=w(34925),P=w(37645),_=w(36305),B=w(34998),C=w(16931),p=w(51636);const m=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]:B.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})};gt.Z=(0,C.I$)("Popover",l=>{const{colorBgElevated:o,colorText:g}=l,r=(0,p.mergeToken)(l,{popoverBg:o,popoverColor:g});return[m(r),E(r),(0,k._y)(r,"zoom-big")]},d,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},89787:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return Ve}});var h=w(59301),k=w(17835),P=w(29679),_=w(40001),B=w(19248),C=w(99267),p=w(92310),m=w.n(p),E=w(2738),d=w(48755),l=w(54476),o=w(33885),g=w(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)([]),it=(0,h.useRef)(null);return(0,h.useEffect)(function(){var Et=Date.now(),xt=!1;qe.current.forEach(function(un){if(un){xt=!0;var Jt=un.style;Jt.transitionDuration=".3s, .3s, .3s, .06s",it.current&&Et-it.current<100&&(Jt.transitionDuration="0s, 0s")}}),xt&&(it.current=Date.now())}),qe.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],c=function(qe){var it=(0,o.Z)((0,o.Z)({},r),qe),Et=it.className,xt=it.percent,un=it.prefixCls,Jt=it.strokeColor,Bt=it.strokeLinecap,hn=it.strokeWidth,Nn=it.style,tn=it.trailColor,On=it.trailWidth,qt=it.transition,Wt=(0,g.Z)(it,a);delete Wt.gapPosition;var Zt=Array.isArray(xt)?xt:[xt],rn=Array.isArray(Jt)?Jt:[Jt],xn=n(),Dn=hn/2,Pn=100-hn/2,Nt="M ".concat(Bt==="round"?Dn:0,",").concat(Dn,`
|
|
|
L `).concat(Bt==="round"?Pn:100,",").concat(Dn),Ht="0 0 100 ".concat(hn),rt=0;return h.createElement("svg",(0,l.Z)({className:m()("".concat(un,"-line"),Et),viewBox:Ht,preserveAspectRatio:"none",style:Nn},Wt),h.createElement("path",{className:"".concat(un,"-line-trail"),d:Nt,strokeLinecap:Bt,stroke:tn,strokeWidth:On||hn,fillOpacity:"0"}),Zt.map(function(T,z){var Z=1;switch(Bt){case"round":Z=1-hn/100;break;case"square":Z=1-hn/2/100;break;default:Z=1;break}var $={strokeDasharray:"".concat(T*Z,"px, 100px"),strokeDashoffset:"-".concat(rt,"px"),transition:qt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},se=rn[z]||rn[rn.length-1];return rt+=T,h.createElement("path",{key:z,className:"".concat(un,"-line-path"),d:Nt,strokeLinecap:Bt,stroke:se,strokeWidth:hn,fillOpacity:"0",ref:function(at){xn[z]=at},style:$})}))},u=c,s=w(76190),v=w(42978),e=w(47273),t=0,i=(0,e.Z)();function f(){var Me;return i?(Me=t,t+=1):Me="TEST_OR_SSR",Me}var y=function(Me){var qe=h.useState(),it=(0,v.Z)(qe,2),Et=it[0],xt=it[1];return h.useEffect(function(){xt("rc_progress_".concat(f()))},[]),Me||Et},b=function(qe){var it=qe.bg,Et=qe.children;return h.createElement("div",{style:{width:"100%",height:"100%",background:it}},Et)};function x(Me,qe){return Object.keys(Me).map(function(it){var Et=parseFloat(it),xt="".concat(Math.floor(Et*qe),"%");return"".concat(Me[it]," ").concat(xt)})}var A=h.forwardRef(function(Me,qe){var it=Me.prefixCls,Et=Me.color,xt=Me.gradientId,un=Me.radius,Jt=Me.style,Bt=Me.ptg,hn=Me.strokeLinecap,Nn=Me.strokeWidth,tn=Me.size,On=Me.gapDegree,qt=Et&&(0,s.Z)(Et)==="object",Wt=qt?"#FFF":void 0,Zt=tn/2,rn=h.createElement("circle",{className:"".concat(it,"-circle-path"),r:un,cx:Zt,cy:Zt,stroke:Wt,strokeLinecap:hn,strokeWidth:Nn,opacity:Bt===0?0:1,style:Jt,ref:qe});if(!qt)return rn;var xn="".concat(xt,"-conic"),Dn=On?"".concat(180+On/2,"deg"):"0deg",Pn=x(Et,(360-On)/360),Nt=x(Et,1),Ht="conic-gradient(from ".concat(Dn,", ").concat(Pn.join(", "),")"),rt="linear-gradient(to ".concat(On?"bottom":"top",", ").concat(Nt.join(", "),")");return h.createElement(h.Fragment,null,h.createElement("mask",{id:xn},rn),h.createElement("foreignObject",{x:0,y:0,width:tn,height:tn,mask:"url(#".concat(xn,")")},h.createElement(b,{bg:rt},h.createElement(b,{bg:Ht}))))}),M=A,L=100,O=function(qe,it,Et,xt,un,Jt,Bt,hn,Nn,tn){var On=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qt=Et/100*360*((360-Jt)/360),Wt=Jt===0?0:{bottom:0,top:180,left:90,right:-90}[Bt],Zt=(100-xt)/100*it;Nn==="round"&&xt!==100&&(Zt+=tn/2,Zt>=it&&(Zt=it-.01));var rn=L/2;return{stroke:typeof hn=="string"?hn:void 0,strokeDasharray:"".concat(it,"px ").concat(qe),strokeDashoffset:Zt+On,transform:"rotate(".concat(un+qt+Wt,"deg)"),transformOrigin:"".concat(rn,"px ").concat(rn,"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 N(Me){var qe=Me!=null?Me:[];return Array.isArray(qe)?qe:[qe]}var I=function(qe){var it=(0,o.Z)((0,o.Z)({},r),qe),Et=it.id,xt=it.prefixCls,un=it.steps,Jt=it.strokeWidth,Bt=it.trailWidth,hn=it.gapDegree,Nn=hn===void 0?0:hn,tn=it.gapPosition,On=it.trailColor,qt=it.strokeLinecap,Wt=it.style,Zt=it.className,rn=it.strokeColor,xn=it.percent,Dn=(0,g.Z)(it,D),Pn=L/2,Nt=y(Et),Ht="".concat(Nt,"-gradient"),rt=Pn-Jt/2,T=Math.PI*2*rt,z=Nn>0?90+Nn/2:-90,Z=T*((360-Nn)/360),$=(0,s.Z)(un)==="object"?un:{count:un,gap:2},se=$.count,Ge=$.gap,at=N(xn),_t=N(rn),dt=_t.find(function(Ie){return Ie&&(0,s.Z)(Ie)==="object"}),Rt=dt&&(0,s.Z)(dt)==="object",Gt=Rt?"butt":qt,ze=O(T,Z,0,100,z,Nn,tn,On,Gt,Jt),Re=n(),ye=function(){var Ke=0;return at.map(function(he,Ze){var tt=_t[Ze]||_t[_t.length-1],me=O(T,Z,Ke,he,z,Nn,tn,tt,Gt,Jt);return Ke+=he,h.createElement(M,{key:Ze,color:tt,ptg:he,radius:rt,prefixCls:xt,gradientId:Ht,style:me,strokeLinecap:Gt,strokeWidth:Jt,gapDegree:Nn,ref:function(Ee){Re[Ze]=Ee},size:L})}).reverse()},Te=function(){var Ke=Math.round(se*(at[0]/100)),he=100/se,Ze=0;return new Array(se).fill(null).map(function(tt,me){var _e=me<=Ke-1?_t[0]:On,Ee=_e&&(0,s.Z)(_e)==="object"?"url(#".concat(Ht,")"):void 0,Xe=O(T,Z,Ze,he,z,Nn,tn,_e,"butt",Jt,Ge);return Ze+=(Z-Xe.strokeDashoffset+Ge)*100/Z,h.createElement("circle",{key:me,className:"".concat(xt,"-circle-path"),r:rt,cx:Pn,cy:Pn,stroke:Ee,strokeWidth:Jt,opacity:1,style:Xe,ref:function(ut){Re[me]=ut}})})};return h.createElement("svg",(0,l.Z)({className:m()("".concat(xt,"-circle"),Zt),viewBox:"0 0 ".concat(L," ").concat(L),style:Wt,id:Et,role:"presentation"},Dn),!se&&h.createElement("circle",{className:"".concat(xt,"-circle-trail"),r:rt,cx:Pn,cy:Pn,stroke:On,strokeLinecap:Gt,strokeWidth:Bt||Jt,style:ze}),se?Te():ye())},U=I,F={Line:u,Circle:U},K=w(25399),j=w(68361);function G(Me){return!Me||Me<0?0:Me>100?100:Me}function Y(Me){let{success:qe,successPercent:it}=Me,Et=it;return qe&&"progress"in qe&&(Et=qe.progress),qe&&"percent"in qe&&(Et=qe.percent),Et}const le=Me=>{let{percent:qe,success:it,successPercent:Et}=Me;const xt=G(Y({success:it,successPercent:Et}));return[xt,G(G(qe)-xt)]},Q=Me=>{let{success:qe={},strokeColor:it}=Me;const{strokeColor:Et}=qe;return[Et||j.presetPrimaryColors.green,it||null]},ve=(Me,qe,it)=>{var Et,xt,un,Jt;let Bt=-1,hn=-1;if(qe==="step"){const Nn=it.steps,tn=it.strokeWidth;typeof Me=="string"||typeof Me=="undefined"?(Bt=Me==="small"?2:14,hn=tn!=null?tn:8):typeof Me=="number"?[Bt,hn]=[Me,Me]:[Bt=14,hn=8]=Array.isArray(Me)?Me:[Me.width,Me.height],Bt*=Nn}else if(qe==="line"){const Nn=it==null?void 0:it.strokeWidth;typeof Me=="string"||typeof Me=="undefined"?hn=Nn||(Me==="small"?6:8):typeof Me=="number"?[Bt,hn]=[Me,Me]:[Bt=-1,hn=8]=Array.isArray(Me)?Me:[Me.width,Me.height]}else(qe==="circle"||qe==="dashboard")&&(typeof Me=="string"||typeof Me=="undefined"?[Bt,hn]=Me==="small"?[60,60]:[120,120]:typeof Me=="number"?[Bt,hn]=[Me,Me]:Array.isArray(Me)&&(Bt=(xt=(Et=Me[0])!==null&&Et!==void 0?Et:Me[1])!==null&&xt!==void 0?xt:120,hn=(Jt=(un=Me[0])!==null&&un!==void 0?un:Me[1])!==null&&Jt!==void 0?Jt:120));return[Bt,hn]},xe=3,be=Me=>xe/Me*100;var Ue=Me=>{const{prefixCls:qe,trailColor:it=null,strokeLinecap:Et="round",gapPosition:xt,gapDegree:un,width:Jt=120,type:Bt,children:hn,success:Nn,size:tn=Jt,steps:On}=Me,[qt,Wt]=ve(tn,"circle");let{strokeWidth:Zt}=Me;Zt===void 0&&(Zt=Math.max(be(qt),6));const rn={width:qt,height:Wt,fontSize:qt*.15+6},xn=h.useMemo(()=>{if(un||un===0)return un;if(Bt==="dashboard")return 75},[un,Bt]),Dn=le(Me),Pn=xt||Bt==="dashboard"&&"bottom"||void 0,Nt=Object.prototype.toString.call(Me.strokeColor)==="[object Object]",Ht=Q({success:Nn,strokeColor:Me.strokeColor}),rt=m()(`${qe}-inner`,{[`${qe}-circle-gradient`]:Nt}),T=h.createElement(U,{steps:On,percent:On?Dn[1]:Dn,strokeWidth:Zt,trailWidth:Zt,strokeColor:On?Ht[1]:Ht,strokeLinecap:Et,trailColor:it,prefixCls:qe,gapDegree:xn,gapPosition:Pn}),z=qt<=20,Z=h.createElement("div",{className:rt,style:rn},T,!z&&hn);return z?h.createElement(K.Z,{title:hn},Z):Z},we=w(36237),Ye=w(63356),Be=w(16931),ge=w(51636);const He="--progress-line-stroke-color",Fe="--progress-percent",Pe=Me=>{const qe=Me?"100%":"-100%";return new we.Keyframes(`antProgress${Me?"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=Me=>{const{componentCls:qe,iconCls:it}=Me;return{[qe]:Object.assign(Object.assign({},(0,Ye.Wf)(Me)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Me.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:Me.remainingColor,borderRadius:Me.lineBorderRadius},[`${qe}-inner:not(${qe}-circle-gradient)`]:{[`${qe}-circle-path`]:{stroke:Me.defaultColor}},[`${qe}-success-bg, ${qe}-bg`]:{position:"relative",background:Me.defaultColor,borderRadius:Me.lineBorderRadius,transition:`all ${Me.motionDurationSlow} ${Me.motionEaseInOutCirc}`},[`${qe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${qe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Me.marginXXS}},[`${qe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${He})`]},height:"100%",width:`calc(1 / var(${Fe}) * 100%)`,display:"block"},[`&${qe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${qe}-text-inner`]:{color:Me.colorWhite,[`&${qe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${qe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Me.colorSuccess},[`${qe}-text`]:{display:"inline-block",marginInlineStart:Me.marginXS,color:Me.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[it]:{fontSize:Me.fontSize},[`&${qe}-text-outer`]:{width:"max-content"},[`&${qe}-text-outer${qe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Me.marginXS}},[`${qe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,we.unit)(Me.paddingXXS)}`,[`&${qe}-text-start`]:{justifyContent:"start"},[`&${qe}-text-end`]:{justifyContent:"end"}},[`&${qe}-status-active`]:{[`${qe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Me.colorBgContainer,borderRadius:Me.lineBorderRadius,opacity:0,animationName:Pe(),animationDuration:Me.progressActiveMotionDuration,animationTimingFunction:Me.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${qe}-rtl${qe}-status-active`]:{[`${qe}-bg::before`]:{animationName:Pe(!0)}},[`&${qe}-status-exception`]:{[`${qe}-bg`]:{backgroundColor:Me.colorError},[`${qe}-text`]:{color:Me.colorError}},[`&${qe}-status-exception ${qe}-inner:not(${qe}-circle-gradient)`]:{[`${qe}-circle-path`]:{stroke:Me.colorError}},[`&${qe}-status-success`]:{[`${qe}-bg`]:{backgroundColor:Me.colorSuccess},[`${qe}-text`]:{color:Me.colorSuccess}},[`&${qe}-status-success ${qe}-inner:not(${qe}-circle-gradient)`]:{[`${qe}-circle-path`]:{stroke:Me.colorSuccess}}})}},Ne=Me=>{const{componentCls:qe,iconCls:it}=Me;return{[qe]:{[`${qe}-circle-trail`]:{stroke:Me.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:Me.circleTextColor,fontSize:Me.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[it]:{fontSize:Me.circleIconFontSize}},[`${qe}-circle&-status-exception`]:{[`${qe}-text`]:{color:Me.colorError}},[`${qe}-circle&-status-success`]:{[`${qe}-text`]:{color:Me.colorSuccess}}},[`${qe}-inline-circle`]:{lineHeight:1,[`${qe}-inner`]:{verticalAlign:"bottom"}}}},V=Me=>{const{componentCls:qe}=Me;return{[qe]:{[`${qe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Me.progressStepMinWidth,marginInlineEnd:Me.progressStepMarginInlineEnd,backgroundColor:Me.remainingColor,transition:`all ${Me.motionDurationSlow}`,"&-active":{backgroundColor:Me.defaultColor}}}}}},q=Me=>{const{componentCls:qe,iconCls:it}=Me;return{[qe]:{[`${qe}-small&-line, ${qe}-small&-line ${qe}-text ${it}`]:{fontSize:Me.fontSizeSM}}}},ae=Me=>({circleTextColor:Me.colorText,defaultColor:Me.colorInfo,remainingColor:Me.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Me.fontSize/Me.fontSizeSM}em`});var te=(0,Be.I$)("Progress",Me=>{const qe=Me.calc(Me.marginXXS).div(2).equal(),it=(0,ge.mergeToken)(Me,{progressStepMarginInlineEnd:qe,progressStepMinWidth:qe,progressActiveMotionDuration:"2.4s"});return[We(it),Ne(it),V(it),q(it)]},ae),oe=function(Me,qe){var it={};for(var Et in Me)Object.prototype.hasOwnProperty.call(Me,Et)&&qe.indexOf(Et)<0&&(it[Et]=Me[Et]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Et=Object.getOwnPropertySymbols(Me);xt<Et.length;xt++)qe.indexOf(Et[xt])<0&&Object.prototype.propertyIsEnumerable.call(Me,Et[xt])&&(it[Et[xt]]=Me[Et[xt]]);return it};const ee=Me=>{let qe=[];return Object.keys(Me).forEach(it=>{const Et=parseFloat(it.replace(/%/g,""));Number.isNaN(Et)||qe.push({key:Et,value:Me[it]})}),qe=qe.sort((it,Et)=>it.key-Et.key),qe.map(it=>{let{key:Et,value:xt}=it;return`${xt} ${Et}%`}).join(", ")},fe=(Me,qe)=>{const{from:it=j.presetPrimaryColors.blue,to:Et=j.presetPrimaryColors.blue,direction:xt=qe==="rtl"?"to left":"to right"}=Me,un=oe(Me,["from","to","direction"]);if(Object.keys(un).length!==0){const Bt=ee(un),hn=`linear-gradient(${xt}, ${Bt})`;return{background:hn,[He]:hn}}const Jt=`linear-gradient(${xt}, ${it}, ${Et})`;return{background:Jt,[He]:Jt}};var re=Me=>{const{prefixCls:qe,direction:it,percent:Et,size:xt,strokeWidth:un,strokeColor:Jt,strokeLinecap:Bt="round",children:hn,trailColor:Nn=null,percentPosition:tn,success:On}=Me,{align:qt,type:Wt}=tn,Zt=Jt&&typeof Jt!="string"?fe(Jt,it):{[He]:Jt,background:Jt},rn=Bt==="square"||Bt==="butt"?0:void 0,xn=xt!=null?xt:[-1,un||(xt==="small"?6:8)],[Dn,Pn]=ve(xn,"line",{strokeWidth:un}),Nt={backgroundColor:Nn||void 0,borderRadius:rn},Ht=Object.assign(Object.assign({width:`${G(Et)}%`,height:Pn,borderRadius:rn},Zt),{[Fe]:G(Et)/100}),rt=Y(Me),T={width:`${G(rt)}%`,height:Pn,borderRadius:rn,backgroundColor:On==null?void 0:On.strokeColor},z={width:Dn<0?"100%":Dn},Z=h.createElement("div",{className:`${qe}-inner`,style:Nt},h.createElement("div",{className:m()(`${qe}-bg`,`${qe}-bg-${Wt}`),style:Ht},Wt==="inner"&&hn),rt!==void 0&&h.createElement("div",{className:`${qe}-success-bg`,style:T})),$=Wt==="outer"&&qt==="start",se=Wt==="outer"&&qt==="end";return Wt==="outer"&&qt==="center"?h.createElement("div",{className:`${qe}-layout-bottom`},Z,hn):h.createElement("div",{className:`${qe}-outer`,style:z},$&&hn,Z,se&&hn)},lt=Me=>{const{size:qe,steps:it,rounding:Et=Math.round,percent:xt=0,strokeWidth:un=8,strokeColor:Jt,trailColor:Bt=null,prefixCls:hn,children:Nn}=Me,tn=Et(it*(xt/100)),On=qe==="small"?2:14,qt=qe!=null?qe:[On,un],[Wt,Zt]=ve(qt,"step",{steps:it,strokeWidth:un}),rn=Wt/it,xn=Array.from({length:it});for(let Dn=0;Dn<it;Dn++){const Pn=Array.isArray(Jt)?Jt[Dn]:Jt;xn[Dn]=h.createElement("div",{key:Dn,className:m()(`${hn}-steps-item`,{[`${hn}-steps-item-active`]:Dn<=tn-1}),style:{backgroundColor:Dn<=tn-1?Pn:Bt,width:rn,height:Zt}})}return h.createElement("div",{className:`${hn}-steps-outer`},xn,Nn)},Qe=function(Me,qe){var it={};for(var Et in Me)Object.prototype.hasOwnProperty.call(Me,Et)&&qe.indexOf(Et)<0&&(it[Et]=Me[Et]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,Et=Object.getOwnPropertySymbols(Me);xt<Et.length;xt++)qe.indexOf(Et[xt])<0&&Object.prototype.propertyIsEnumerable.call(Me,Et[xt])&&(it[Et[xt]]=Me[Et[xt]]);return it};const ht=null,pt=["normal","exception","active","success"];var mt=h.forwardRef((Me,qe)=>{const{prefixCls:it,className:Et,rootClassName:xt,steps:un,strokeColor:Jt,percent:Bt=0,size:hn="default",showInfo:Nn=!0,type:tn="line",status:On,format:qt,style:Wt,percentPosition:Zt={}}=Me,rn=Qe(Me,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:xn="end",type:Dn="outer"}=Zt,Pn=Array.isArray(Jt)?Jt[0]:Jt,Nt=typeof Jt=="string"||Array.isArray(Jt)?Jt:void 0,Ht=h.useMemo(()=>{if(Pn){const ye=typeof Pn=="string"?Pn:Object.values(Pn)[0];return new k.FastColor(ye).isLight()}return!1},[Jt]),rt=h.useMemo(()=>{var ye,Te;const Ie=Y(Me);return parseInt(Ie!==void 0?(ye=Ie!=null?Ie:0)===null||ye===void 0?void 0:ye.toString():(Te=Bt!=null?Bt:0)===null||Te===void 0?void 0:Te.toString(),10)},[Bt,Me.success,Me.successPercent]),T=h.useMemo(()=>!pt.includes(On)&&rt>=100?"success":On||"normal",[On,rt]),{getPrefixCls:z,direction:Z,progress:$}=h.useContext(d.E_),se=z("progress",it),[Ge,at,_t]=te(se),dt=tn==="line",Rt=dt&&!un,Gt=h.useMemo(()=>{if(!Nn)return null;const ye=Y(Me);let Te;const Ie=qt||(he=>`${he}%`),Ke=dt&&Ht&&Dn==="inner";return Dn==="inner"||qt||T!=="exception"&&T!=="success"?Te=Ie(G(Bt),G(ye)):T==="exception"?Te=dt?h.createElement(B.Z,null):h.createElement(C.Z,null):T==="success"&&(Te=dt?h.createElement(P.Z,null):h.createElement(_.Z,null)),h.createElement("span",{className:m()(`${se}-text`,{[`${se}-text-bright`]:Ke,[`${se}-text-${xn}`]:Rt,[`${se}-text-${Dn}`]:Rt}),title:typeof Te=="string"?Te:void 0},Te)},[Nn,Bt,rt,T,tn,se,qt]);let ze;tn==="line"?ze=un?h.createElement(lt,Object.assign({},Me,{strokeColor:Nt,prefixCls:se,steps:typeof un=="object"?un.count:un}),Gt):h.createElement(re,Object.assign({},Me,{strokeColor:Pn,prefixCls:se,direction:Z,percentPosition:{align:xn,type:Dn}}),Gt):(tn==="circle"||tn==="dashboard")&&(ze=h.createElement(Ue,Object.assign({},Me,{strokeColor:Pn,prefixCls:se,progressStatus:T}),Gt));const Re=m()(se,`${se}-status-${T}`,{[`${se}-${tn==="dashboard"&&"circle"||tn}`]:tn!=="line",[`${se}-inline-circle`]:tn==="circle"&&ve(hn,"circle")[0]<=20,[`${se}-line`]:Rt,[`${se}-line-align-${xn}`]:Rt,[`${se}-line-position-${Dn}`]:Rt,[`${se}-steps`]:un,[`${se}-show-info`]:Nn,[`${se}-${hn}`]:typeof hn=="string",[`${se}-rtl`]:Z==="rtl"},$==null?void 0:$.className,Et,xt,at,_t);return Ge(h.createElement("div",Object.assign({ref:qe,style:Object.assign(Object.assign({},$==null?void 0:$.style),Wt),className:Re,role:"progressbar","aria-valuenow":rt,"aria-valuemin":0,"aria-valuemax":100},(0,E.Z)(rn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ze))}),Ve=mt},63139:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return le}});var h=w(59301),k=w(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,B=w(7657),C=function(ve,xe){return h.createElement(B.Z,(0,k.Z)({},ve,{ref:xe,icon:_}))},p=h.forwardRef(C),m=p,E=w(92310),d=w.n(E),l=w(20068),o=w(42978),g=w(75931),r=w(18929),n=w(10228),a=w(26112);function c(Q,ve){var xe=Q.disabled,be=Q.prefixCls,De=Q.character,Ue=Q.characterRender,we=Q.index,Ye=Q.count,Be=Q.value,ge=Q.allowHalf,He=Q.focused,Fe=Q.onHover,Pe=Q.onClick,We=function(fe){Fe(fe,we)},Ne=function(fe){Pe(fe,we)},V=function(fe){fe.keyCode===n.Z.ENTER&&Pe(fe,we)},q=we+1,ae=new Set([be]);Be===0&&we===0&&He?ae.add("".concat(be,"-focused")):ge&&Be+.5>=q&&Be<q?(ae.add("".concat(be,"-half")),ae.add("".concat(be,"-active")),He&&ae.add("".concat(be,"-focused"))):(q<=Be?ae.add("".concat(be,"-full")):ae.add("".concat(be,"-zero")),q===Be&&He&&ae.add("".concat(be,"-focused")));var te=typeof De=="function"?De(Q):De,oe=h.createElement("li",{className:d()(Array.from(ae)),ref:ve},h.createElement("div",{onClick:xe?null:Ne,onKeyDown:xe?null:V,onMouseMove:xe?null:We,role:"radio","aria-checked":Be>we?"true":"false","aria-posinset":we+1,"aria-setsize":Ye,tabIndex:xe?-1:0},h.createElement("div",{className:"".concat(be,"-first")},te),h.createElement("div",{className:"".concat(be,"-second")},te)));return Ue&&(oe=Ue(oe,Q)),oe}var u=h.forwardRef(c);function s(){var Q=h.useRef({});function ve(be){return Q.current[be]}function xe(be){return function(De){Q.current[be]=De}}return[ve,xe]}function v(Q){var ve=Q.pageXOffset,xe="scrollLeft";if(typeof ve!="number"){var be=Q.document;ve=be.documentElement[xe],typeof ve!="number"&&(ve=be.body[xe])}return ve}function e(Q){var ve,xe,be=Q.ownerDocument,De=be.body,Ue=be&&be.documentElement,we=Q.getBoundingClientRect();return ve=we.left,xe=we.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,be=xe.defaultView||xe.parentWindow;return ve.left+=v(be),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,be=xe===void 0?"rc-rate":xe,De=Q.className,Ue=Q.defaultValue,we=Q.value,Ye=Q.count,Be=Ye===void 0?5:Ye,ge=Q.allowHalf,He=ge===void 0?!1:ge,Fe=Q.allowClear,Pe=Fe===void 0?!0:Fe,We=Q.keyboard,Ne=We===void 0?!0:We,V=Q.character,q=V===void 0?"\u2605":V,ae=Q.characterRender,te=Q.disabled,oe=Q.direction,ee=oe===void 0?"ltr":oe,fe=Q.tabIndex,Ce=fe===void 0?0:fe,re=Q.autoFocus,ce=Q.onHoverChange,lt=Q.onChange,Qe=Q.onFocus,ht=Q.onBlur,pt=Q.onKeyDown,$e=Q.onMouseLeave,mt=(0,g.Z)(Q,i),Ve=s(),Me=(0,o.Z)(Ve,2),qe=Me[0],it=Me[1],Et=h.useRef(null),xt=function(){if(!te){var Gt;(Gt=Et.current)===null||Gt===void 0||Gt.focus()}};h.useImperativeHandle(ve,function(){return{focus:xt,blur:function(){if(!te){var Gt;(Gt=Et.current)===null||Gt===void 0||Gt.blur()}}}});var un=(0,r.Z)(Ue||0,{value:we}),Jt=(0,o.Z)(un,2),Bt=Jt[0],hn=Jt[1],Nn=(0,r.Z)(null),tn=(0,o.Z)(Nn,2),On=tn[0],qt=tn[1],Wt=function(Gt,ze){var Re=ee==="rtl",ye=Gt+1;if(He){var Te=qe(Gt),Ie=t(Te),Ke=Te.clientWidth;(Re&&ze-Ie>Ke/2||!Re&&ze-Ie<Ke/2)&&(ye-=.5)}return ye},Zt=function(Gt){hn(Gt),lt==null||lt(Gt)},rn=h.useState(!1),xn=(0,o.Z)(rn,2),Dn=xn[0],Pn=xn[1],Nt=function(){Pn(!0),Qe==null||Qe()},Ht=function(){Pn(!1),ht==null||ht()},rt=h.useState(null),T=(0,o.Z)(rt,2),z=T[0],Z=T[1],$=function(Gt,ze){var Re=Wt(ze,Gt.pageX);Re!==On&&(Z(Re),qt(null)),ce==null||ce(Re)},se=function(Gt){te||(Z(null),qt(null),ce==null||ce(void 0)),Gt&&($e==null||$e(Gt))},Ge=function(Gt,ze){var Re=Wt(ze,Gt.pageX),ye=!1;Pe&&(ye=Re===Bt),se(),Zt(ye?0:Re),qt(ye?Re:null)},at=function(Gt){var ze=Gt.keyCode,Re=ee==="rtl",ye=He?.5:1;Ne&&(ze===n.Z.RIGHT&&Bt<Be&&!Re?(Zt(Bt+ye),Gt.preventDefault()):ze===n.Z.LEFT&&Bt>0&&!Re||ze===n.Z.RIGHT&&Bt>0&&Re?(Zt(Bt-ye),Gt.preventDefault()):ze===n.Z.LEFT&&Bt<Be&&Re&&(Zt(Bt+ye),Gt.preventDefault())),pt==null||pt(Gt)};h.useEffect(function(){re&&!te&&xt()},[]);var _t=new Array(Be).fill(0).map(function(Rt,Gt){return h.createElement(u,{ref:it(Gt),index:Gt,count:Be,disabled:te,prefixCls:"".concat(be,"-star"),allowHalf:He,value:z===null?Bt:z,onClick:Ge,onHover:$,key:Rt||Gt,character:q,characterRender:ae,focused:Dn})}),dt=d()(be,De,(0,l.Z)((0,l.Z)({},"".concat(be,"-disabled"),te),"".concat(be,"-rtl"),ee==="rtl"));return h.createElement("ul",(0,k.Z)({className:dt,onMouseLeave:se,tabIndex:te?-1:Ce,onFocus:te?null:Nt,onBlur:te?null:Ht,onKeyDown:te?null:at,ref:Et},(0,a.Z)(mt,{aria:!0,data:!0,attr:!0})),_t)}var y=h.forwardRef(f),b=y,x=w(48755),A=w(25399),M=w(36237),L=w(63356),O=w(16931),D=w(51636);const N=Q=>{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,M.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)"}}}),N(Q)),I(Q))}},F=Q=>({starColor:Q.yellow6,starSize:Q.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Q.colorFillContent});var K=(0,O.I$)("Rate",Q=>{const ve=(0,D.mergeToken)(Q,{});return[U(ve)]},F),j=w(2171),G=function(Q,ve){var xe={};for(var be in Q)Object.prototype.hasOwnProperty.call(Q,be)&&ve.indexOf(be)<0&&(xe[be]=Q[be]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,be=Object.getOwnPropertySymbols(Q);De<be.length;De++)ve.indexOf(be[De])<0&&Object.prototype.propertyIsEnumerable.call(Q,be[De])&&(xe[be[De]]=Q[be[De]]);return xe},le=h.forwardRef((Q,ve)=>{const{prefixCls:xe,className:be,rootClassName:De,style:Ue,tooltips:we,character:Ye=h.createElement(m,null),disabled:Be}=Q,ge=G(Q,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),He=(fe,Ce)=>{let{index:re}=Ce;return we?h.createElement(A.Z,{title:we[re]},fe):fe},{getPrefixCls:Fe,direction:Pe,rate:We}=h.useContext(x.E_),Ne=Fe("rate",xe),[V,q,ae]=K(Ne),te=Object.assign(Object.assign({},We==null?void 0:We.style),Ue),oe=h.useContext(j.Z),ee=Be!=null?Be:oe;return V(h.createElement(b,Object.assign({ref:ve,character:Ye,characterRender:He,disabled:ee},ge,{className:d()(be,De,q,ae,We==null?void 0:We.className),style:te,prefixCls:Ne,direction:Pe})))})},82326:function(Ln,gt,w){"use strict";var h=w(59301),k=w(92310),P=w.n(k),_=w(37463),B=w(2738),C=w(75030),p=w(86641),m=w(45915),E=w(82855),d=w(48755),l=w(38406),o=w(2171),g=w(83397),r=w(31756),n=w(56553),a=w(24971),c=w(70045),u=w(57700),s=w(1722),v=w(90376),e=w(68525),t=w(90005),i=function(A,M){var L={};for(var O in A)Object.prototype.hasOwnProperty.call(A,O)&&M.indexOf(O)<0&&(L[O]=A[O]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,O=Object.getOwnPropertySymbols(A);D<O.length;D++)M.indexOf(O[D])<0&&Object.prototype.propertyIsEnumerable.call(A,O[D])&&(L[O[D]]=A[O[D]]);return L};const f="SECRET_COMBOBOX_MODE_DO_NOT_USE",y=(A,M)=>{var L;const{prefixCls:O,bordered:D,className:N,rootClassName:I,getPopupContainer:U,popupClassName:F,dropdownClassName:K,listHeight:j=256,placement:G,listItemHeight:Y,size:le,disabled:Q,notFoundContent:ve,status:xe,builtinPlacements:be,dropdownMatchSelectWidth:De,popupMatchSelectWidth:Ue,direction:we,style:Ye,allowClear:Be,variant:ge,dropdownStyle:He,transitionName:Fe,tagRender:Pe,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:q,getPrefixCls:ae,renderEmpty:te,direction:oe,virtual:ee,popupMatchSelectWidth:fe,popupOverflow:Ce}=h.useContext(d.E_),re=(0,d.dj)("select"),[,ce]=(0,u.ZP)(),lt=Y!=null?Y:ce==null?void 0:ce.controlHeight,Qe=ae("select",O),ht=ae(),pt=we!=null?we:oe,{compactSize:$e,compactItemClassnames:mt}=(0,c.ri)(Qe,pt),[Ve,Me]=(0,a.Z)("select",ge,D),qe=(0,g.Z)(Qe),[it,Et,xt]=(0,v.Z)(Qe,qe),un=h.useMemo(()=>{const{mode:at}=A;if(at!=="combobox")return at===f?"combobox":at},[A.mode]),Jt=un==="multiple"||un==="tags",Bt=(0,t.Z)(A.suffixIcon,A.showArrow),hn=(L=Ue!=null?Ue:De)!==null&&L!==void 0?L:fe,{status:Nn,hasFeedback:tn,isFormItemInput:On,feedbackIcon:qt}=h.useContext(n.aM),Wt=(0,E.F)(Nn,xe);let Zt;ve!==void 0?Zt=ve:un==="combobox"?Zt=null:Zt=(te==null?void 0:te("Select"))||h.createElement(l.Z,{componentName:"Select"});const{suffixIcon:rn,itemIcon:xn,removeIcon:Dn,clearIcon:Pn}=(0,e.Z)(Object.assign(Object.assign({},V),{multiple:Jt,hasFeedback:tn,feedbackIcon:qt,showSuffixIcon:Bt,prefixCls:Qe,componentName:"Select"})),Nt=Be===!0?{clearIcon:Pn}:Be,Ht=(0,B.Z)(V,["suffixIcon","itemIcon"]),rt=P()(F||K,{[`${Qe}-dropdown-${pt}`]:pt==="rtl"},I,xt,qe,Et),T=(0,r.Z)(at=>{var _t;return(_t=le!=null?le:$e)!==null&&_t!==void 0?_t:at}),z=h.useContext(o.Z),Z=Q!=null?Q:z,$=P()({[`${Qe}-lg`]:T==="large",[`${Qe}-sm`]:T==="small",[`${Qe}-rtl`]:pt==="rtl",[`${Qe}-${Ve}`]:Me,[`${Qe}-in-form-item`]:On},(0,E.Z)(Qe,Wt,tn),mt,re.className,N,I,xt,qe,Et),se=h.useMemo(()=>G!==void 0?G:pt==="rtl"?"bottomRight":"bottomLeft",[G,pt]),[Ge]=(0,C.Cn)("SelectLike",He==null?void 0:He.zIndex);return it(h.createElement(_.ZP,Object.assign({ref:M,virtual:ee,showSearch:re.showSearch},Ht,{style:Object.assign(Object.assign({},re.style),Ye),dropdownMatchSelectWidth:hn,transitionName:(0,p.m)(ht,"slide-up",Fe),builtinPlacements:(0,s.Z)(be,Ce),listHeight:j,listItemHeight:lt,mode:un,prefixCls:Qe,placement:se,direction:pt,prefix:Ne,suffixIcon:rn,menuItemSelectedIcon:xn,removeIcon:Dn,allowClear:Nt,notFoundContent:Zt,className:$,getPopupContainer:U||q,dropdownClassName:rt,disabled:Z,dropdownStyle:Object.assign(Object.assign({},He),{zIndex:Ge}),maxCount:Jt?We:void 0,tagRender:Jt?Pe:void 0})))},b=h.forwardRef(y),x=(0,m.Z)(b,"dropdownAlign");b.SECRET_COMBOBOX_MODE_DO_NOT_USE=f,b.Option=_.Wx,b.OptGroup=_.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=x,gt.default=b},1722:function(Ln,gt){"use strict";const w=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||w(P)}gt.Z=h},90376:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return O}});var h=w(63356),k=w(56119),P=w(16931),_=w(51636),B=w(46e3),C=w(93873);const p=D=>{const{optionHeight:N,optionFontSize:I,optionLineHeight:U,optionPadding:F}=D;return{position:"relative",display:"block",minHeight:N,padding:F,color:D.colorText,fontWeight:"normal",fontSize:I,lineHeight:U,boxSizing:"border-box"}};var E=D=>{const{antCls:N,componentCls:I}=D,U=`${I}-item`,F=`&${N}-slide-up-enter${N}-slide-up-enter-active`,K=`&${N}-slide-up-appear${N}-slide-up-appear-active`,j=`&${N}-slide-up-leave${N}-slide-up-leave-active`,G=`${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}${G}bottomLeft,
|
|
|
${K}${G}bottomLeft
|
|
|
`]:{animationName:B.fJ},[`
|
|
|
${F}${G}topLeft,
|
|
|
${K}${G}topLeft,
|
|
|
${F}${G}topRight,
|
|
|
${K}${G}topRight
|
|
|
`]:{animationName:B.Qt},[`${j}${G}bottomLeft`]:{animationName:B.Uw},[`
|
|
|
${j}${G}topLeft,
|
|
|
${j}${G}topRight
|
|
|
`]:{animationName:B.ly},"&-hidden":{display:"none"},[U]:Object.assign(Object.assign({},p(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({},p(D)),{color:D.colorTextDisabled})}),[`${Y}:has(+ ${Y})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Y}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,B.oN)(D,"slide-up"),(0,B.oN)(D,"slide-down"),(0,C.Fm)(D,"move-up"),(0,C.Fm)(D,"move-down")]},d=w(26743),l=w(36237);function o(D,N){const{componentCls:I,inputPaddingHorizontalBase:U,borderRadius:F}=D,K=D.calc(D.controlHeight).sub(D.calc(D.lineWidth).mul(2)).equal(),j=N?`${I}-${N}`:"";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:N}=D,I=D.calc(D.controlPaddingHorizontalSM).sub(D.lineWidth).equal();return[o(D),o((0,_.mergeToken)(D,{controlHeight:D.controlHeightSM,borderRadius:D.borderRadiusSM}),"sm"),{[`${N}-single${N}-sm`]:{[`&:not(${N}-customize-input)`]:{[`${N}-selector`]:{padding:`0 ${(0,l.unit)(I)}`},[`&${N}-show-arrow ${N}-selection-search`]:{insetInlineEnd:D.calc(I).add(D.calc(D.fontSize).mul(1.5)).equal()},[`
|
|
|
&${N}-show-arrow ${N}-selection-item,
|
|
|
&${N}-show-arrow ${N}-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:N,lineHeight:I,lineWidth:U,controlHeight:F,controlHeightSM:K,controlHeightLG:j,paddingXXS:G,controlPaddingHorizontal:Y,zIndexPopupBase:le,colorText:Q,fontWeightStrong:ve,controlItemBgActive:xe,controlItemBgHover:be,colorBgContainer:De,colorFillSecondary:Ue,colorBgContainerDisabled:we,colorTextDisabled:Ye,colorPrimaryHover:Be,colorPrimary:ge,controlOutline:He}=D,Fe=G*2,Pe=U*2,We=Math.min(F-Fe,F-Pe),Ne=Math.min(K-Fe,K-Pe),V=Math.min(j-Fe,j-Pe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(G/2),zIndexPopup:le+50,optionSelectedColor:Q,optionSelectedFontWeight:ve,optionSelectedBg:xe,optionActiveBg:be,optionPadding:`${(F-N*I)/2}px ${Y}px`,optionFontSize:N,optionLineHeight:I,optionHeight:F,selectorBg:De,clearBg:De,singleItemHeightLG:j,multipleItemBg:Ue,multipleItemBorderColor:"transparent",multipleItemHeight:We,multipleItemHeightSM:Ne,multipleItemHeightLG:V,multipleSelectorBgDisabled:we,multipleItemColorDisabled:Ye,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(D.fontSize*1.25),hoverBorderColor:Be,activeBorderColor:ge,activeOutlineColor:He,selectAffixPadding:G}},n=(D,N)=>{const{componentCls:I,antCls:U,controlOutlineWidth:F}=D;return{[`&:not(${I}-customize-input) ${I}-selector`]:{border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} ${N.borderColor}`,background:D.selectorBg},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:N.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:N.activeBorderColor,boxShadow:`0 0 0 ${(0,l.unit)(F)} ${N.activeOutlineColor}`,outline:0},[`${I}-prefix`]:{color:N.color}}}},a=(D,N)=>({[`&${D.componentCls}-status-${N.status}`]:Object.assign({},n(D,N))}),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,N)=>{const{componentCls:I,antCls:U}=D;return{[`&:not(${I}-customize-input) ${I}-selector`]:{background:N.bg,border:`${(0,l.unit)(D.lineWidth)} ${D.lineType} transparent`,color:N.color},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{background:N.hoverBg},[`${I}-focused& ${I}-selector`]:{background:D.selectorBg,borderColor:N.activeBorderColor,outline:0}}}},s=(D,N)=>({[`&${D.componentCls}-status-${N.status}`]:Object.assign({},u(D,N))}),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,N)=>{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:N.borderColor,background:D.selectorBg,borderRadius:0},[`&:not(${I}-disabled):not(${I}-customize-input):not(${U}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:N.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:N.activeBorderColor,outline:0},[`${I}-prefix`]:{color:N.color}}}},i=(D,N)=>({[`&${D.componentCls}-status-${N.status}`]:Object.assign({},t(D,N))}),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:N}=D;return{position:"relative",transition:`all ${D.motionDurationMid} ${D.motionEaseInOut}`,input:{cursor:"pointer"},[`${N}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${N}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},A=D=>{const{componentCls:N}=D;return{[`${N}-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"}}}},M=D=>{const{antCls:N,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),{[`> ${N}-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:N}=D;return[{[N]:{[`&${N}-in-form-item`]:{width:"100%"}}},M(D),g(D),(0,d.ZP)(D),E(D),{[`${N}-rtl`]:{direction:"rtl"}},(0,k.c)(D,{borderElCls:`${N}-selector`,focusElCls:`${N}-focused`})]};var O=(0,P.I$)("Select",(D,N)=>{let{rootPrefixCls:I}=N;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(Ln,gt,w){"use strict";w.d(gt,{_z:function(){return C},gp:function(){return _}});var h=w(36237),k=w(63356),P=w(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())}},B=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}})}}}},p=(d,l)=>{const{componentCls:o,INTERNAL_FIXED_ITEM_MARGIN:g}=d,r=`${o}-selection-overflow`,n=d.multipleSelectItemHeight,a=B(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 m(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[p(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[m(d),m(o,"sm"),{[`${l}-multiple${l}-sm`]:{[`${l}-selection-placeholder`]:{insetInline:d.calc(d.controlPaddingHorizontalSM).sub(d.lineWidth).equal()},[`${l}-selection-search`]:{marginInlineStart:2}}},m(g,"lg")]};gt.ZP=E},68525:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});var h=w(59301),k=w(40001),P=w(19248),_=w(99267),B=w(84105),C=w(58617),p=w(47472);function m(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:M,showSearch:L}=A;return i(M&&L?h.createElement(p.Z,{className:x}):h.createElement(B.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(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return h}});function h(k,P){return P!==void 0?P:k!==null}},11938:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return A}});var h=w(59301),k=w(40192),P=w(22703),_=w(92310),B=w.n(_),C=w(26112),p=w(48755),m=w(458),d=M=>{const{value:L,formatter:O,precision:D,decimalSeparator:N,groupSeparator:I="",prefixCls:U}=M;let F;if(typeof O=="function")F=O(L);else{const K=String(L),j=K.match(/^(-?)(\d*)(\.(\d+))?$/);if(!j||K==="-")F=K;else{const G=j[1];let Y=j[2]||"0",le=j[4]||"";Y=Y.replace(/\B(?=(\d{3})+(?!\d))/g,I),typeof D=="number"&&(le=le.padEnd(D,"0").slice(0,D>0?D:0)),le&&(le=`${N}${le}`),F=[h.createElement("span",{key:"int",className:`${U}-content-value-int`},G,Y),le&&h.createElement("span",{key:"decimal",className:`${U}-content-value-decimal`},le)]}}return h.createElement("span",{className:`${U}-content-value`},F)},l=w(63356),o=w(16931),g=w(51636);const r=M=>{const{componentCls:L,marginXXS:O,padding:D,colorTextDescription:N,titleFontSize:I,colorTextHeading:U,contentFontSize:F,fontFamily:K}=M;return{[L]:Object.assign(Object.assign({},(0,l.Wf)(M)),{[`${L}-title`]:{marginBottom:O,color:N,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:O},[`${L}-content-suffix`]:{marginInlineStart:O}}})}},n=M=>{const{fontSizeHeading3:L,fontSize:O}=M;return{titleFontSize:O,contentFontSize:L}};var a=(0,o.I$)("Statistic",M=>{const L=(0,g.mergeToken)(M,{});return[r(L)]},n),c=function(M,L){var O={};for(var D in M)Object.prototype.hasOwnProperty.call(M,D)&&L.indexOf(D)<0&&(O[D]=M[D]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,D=Object.getOwnPropertySymbols(M);N<D.length;N++)L.indexOf(D[N])<0&&Object.prototype.propertyIsEnumerable.call(M,D[N])&&(O[D[N]]=M[D[N]]);return O},s=M=>{const{prefixCls:L,className:O,rootClassName:D,style:N,valueStyle:I,value:U=0,title:F,valueRender:K,prefix:j,suffix:G,loading:Y=!1,formatter:le,precision:Q,decimalSeparator:ve=".",groupSeparator:xe=",",onMouseEnter:be,onMouseLeave:De}=M,Ue=c(M,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:we,direction:Ye,className:Be,style:ge}=(0,p.dj)("statistic"),He=we("statistic",L),[Fe,Pe,We]=a(He),Ne=h.createElement(d,{decimalSeparator:ve,groupSeparator:xe,prefixCls:He,formatter:le,precision:Q,value:U}),V=B()(He,{[`${He}-rtl`]:Ye==="rtl"},Be,O,D,Pe,We),q=(0,C.Z)(Ue,{aria:!0,data:!0});return Fe(h.createElement("div",Object.assign({},q,{className:V,style:Object.assign(Object.assign({},ge),N),onMouseEnter:be,onMouseLeave:De}),F&&h.createElement("div",{className:`${He}-title`},F),h.createElement(m.Z,{paragraph:!1,loading:Y,className:`${He}-skeleton`},h.createElement("div",{style:I,className:`${He}-content`},j&&h.createElement("span",{className:`${He}-content-prefix`},j),K?K(Ne):Ne,G&&h.createElement("span",{className:`${He}-content-suffix`},G)))))};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(M,L){let O=M;const D=/\[[^\]]*]/g,N=(L.match(D)||[]).map(K=>K.slice(1,-1)),I=L.replace(D,"[]"),U=v.reduce((K,j)=>{let[G,Y]=j;if(K.includes(G)){const le=Math.floor(O/Y);return O-=le*Y,K.replace(new RegExp(`${G}+`,"g"),Q=>{const ve=Q.length;return le.toString().padStart(ve,"0")})}return K},I);let F=0;return U.replace(D,()=>{const K=N[F];return F+=1,K})}function t(M,L){const{format:O=""}=L,D=new Date(M).getTime(),N=Date.now(),I=Math.max(D-N,0);return e(I,O)}var i=function(M,L){var O={};for(var D in M)Object.prototype.hasOwnProperty.call(M,D)&&L.indexOf(D)<0&&(O[D]=M[D]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,D=Object.getOwnPropertySymbols(M);N<D.length;N++)L.indexOf(D[N])<0&&Object.prototype.propertyIsEnumerable.call(M,D[N])&&(O[D[N]]=M[D[N]]);return O};const f=1e3/30;function y(M){return new Date(M).getTime()}const b=M=>{const{value:L,format:O="HH:mm:ss",onChange:D,onFinish:N}=M,I=i(M,["value","format","onChange","onFinish"]),U=(0,k.Z)(),F=h.useRef(null),K=()=>{N==null||N(),F.current&&(clearInterval(F.current),F.current=null)},j=()=>{const le=y(L);le>=Date.now()&&(F.current=setInterval(()=>{U(),D==null||D(le-Date.now()),le<Date.now()&&K()},f))};h.useEffect(()=>(j(),()=>{F.current&&(clearInterval(F.current),F.current=null)}),[L]);const G=(le,Q)=>t(le,Object.assign(Object.assign({},Q),{format:O})),Y=le=>(0,P.Tm)(le,{title:void 0});return h.createElement(s,Object.assign({},I,{value:L,valueRender:Y,formatter:G}))};var x=h.memo(b);s.Countdown=x;var A=s},70858:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return ro}});var h=w(59301),k={},P="rc-table-internal-hook",_=w(42978),B=w(6089),C=w(34280),p=w(13697),m=w(4676);function E(de){var ne=h.createContext(void 0),Le=function(ot){var ft=ot.value,It=ot.children,Ot=h.useRef(ft);Ot.current=ft;var Ft=h.useState(function(){return{getValue:function(){return Ot.current},listeners:new Set}}),zt=(0,_.Z)(Ft,1),En=zt[0];return(0,C.Z)(function(){(0,m.unstable_batchedUpdates)(function(){En.listeners.forEach(function(an){an(ft)})})},[ft]),h.createElement(ne.Provider,{value:En},It)};return{Context:ne,Provider:Le,defaultValue:de}}function d(de,ne){var Le=(0,B.Z)(typeof ne=="function"?ne:function(an){if(ne===void 0)return an;if(!Array.isArray(ne))return an[ne];var en={};return ne.forEach(function($t){en[$t]=an[$t]}),en}),ke=h.useContext(de==null?void 0:de.Context),ot=ke||{},ft=ot.listeners,It=ot.getValue,Ot=h.useRef();Ot.current=Le(ke?It():de==null?void 0:de.defaultValue);var Ft=h.useState({}),zt=(0,_.Z)(Ft,2),En=zt[1];return(0,C.Z)(function(){if(!ke)return;function an(en){var $t=Le(en);(0,p.Z)(Ot.current,$t,!0)||En({})}return ft.add(an),function(){ft.delete(an)}},[ke]),Ot.current}var l=w(54476),o=w(8654);function g(){var de=h.createContext(null);function ne(){return h.useContext(de)}function Le(ot,ft){var It=(0,o.Yr)(ot),Ot=function(zt,En){var an=It?{ref:En}:{},en=h.useRef(0),$t=h.useRef(zt),vn=ne();return vn!==null?h.createElement(ot,(0,l.Z)({},zt,an)):((!ft||ft($t.current,zt))&&(en.current+=1),$t.current=zt,h.createElement(de.Provider,{value:en.current},h.createElement(ot,(0,l.Z)({},zt,an))))};return It?h.forwardRef(Ot):Ot}function ke(ot,ft){var It=(0,o.Yr)(ot),Ot=function(zt,En){var an=It?{ref:En}:{};return ne(),h.createElement(ot,(0,l.Z)({},zt,an))};return It?h.memo(h.forwardRef(Ot),ft):h.memo(Ot,ft)}return{makeImmutable:Le,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 Le=React.useRef(0);Le.current+=1;var ke=React.useRef(de),ot=[];Object.keys(de||{}).map(function(It){var Ot;(de==null?void 0:de[It])!==((Ot=ke.current)===null||Ot===void 0?void 0:Ot[It])&&ot.push(It)}),ke.current=de;var ft=React.useRef([]);return ot.length&&(ft.current=ot),React.useDebugValue(Le.current),React.useDebugValue(ft.current.join(", ")),ne&&console.log("".concat(ne,":"),Le.current,ft.current),Le.current}var y=null,b=null,x=w(76190),A=w(33885),M=w(20068),L=w(92310),O=w.n(L),D=w(80547),N=w(97938),I=w(48736),U=h.createContext({renderWithProps:!1}),F=U,K="RC_TABLE_KEY";function j(de){return de==null?[]:Array.isArray(de)?de:[de]}function G(de){var ne=[],Le={};return de.forEach(function(ke){for(var ot=ke||{},ft=ot.key,It=ot.dataIndex,Ot=ft||j(It).join("-")||K;Le[Ot];)Ot="".concat(Ot,"_next");Le[Ot]=!0,ne.push(Ot)}),ne}function Y(de){return de!=null}function le(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,Le,ke,ot,ft){var It=h.useContext(F),Ot=e(),Ft=(0,D.Z)(function(){if(Y(ke))return[ke];var zt=ne==null||ne===""?[]:Array.isArray(ne)?ne:[ne],En=(0,N.Z)(de,zt),an=En,en=void 0;if(ot){var $t=ot(En,de,Le);Q($t)?(an=$t.children,en=$t.props,It.renderWithProps=!0):an=$t}return[an,en]},[Ot,de,ke,ne,ot,Le],function(zt,En){if(ft){var an=(0,_.Z)(zt,2),en=an[1],$t=(0,_.Z)(En,2),vn=$t[1];return ft(vn,en)}return It.renderWithProps?!0:!(0,p.Z)(zt,En,!0)});return Ft}function xe(de,ne,Le,ke){var ot=de+ne-1;return de<=ke&&ot>=Le}function be(de,ne){return d(i,function(Le){var ke=xe(de,ne||1,Le.hoverStartRow,Le.hoverEndRow);return[ke,Le.onHover]})}var De=w(70425),Ue=function(ne){var Le=ne.ellipsis,ke=ne.rowType,ot=ne.children,ft,It=Le===!0?{showTitle:!0}:Le;return It&&(It.showTitle||ke==="header")&&(typeof ot=="string"||typeof ot=="number"?ft=ot.toString():h.isValidElement(ot)&&typeof ot.props.children=="string"&&(ft=ot.props.children)),ft};function we(de){var ne,Le,ke,ot,ft,It,Ot,Ft,zt=de.component,En=de.children,an=de.ellipsis,en=de.scope,$t=de.prefixCls,vn=de.className,S=de.align,R=de.record,W=de.render,H=de.dataIndex,X=de.renderIndex,J=de.shouldCellUpdate,ue=de.index,ie=de.rowType,Ae=de.colSpan,pe=de.rowSpan,Oe=de.fixLeft,je=de.fixRight,Je=de.firstFixLeft,yt=de.lastFixLeft,ct=de.firstFixRight,nt=de.lastFixRight,st=de.appendNode,Mt=de.additionalProps,Ct=Mt===void 0?{}:Mt,Ut=de.isSticky,Vt="".concat($t,"-cell"),Wn=d(i,["supportSticky","allColumnsFixedLeft","rowHoverable"]),sn=Wn.supportSticky,rr=Wn.allColumnsFixedLeft,Hn=Wn.rowHoverable,xr=ve(R,H,X,En,W,J),bn=(0,_.Z)(xr,2),Mn=bn[0],$n=bn[1],Dt={},cn=typeof Oe=="number"&&sn,Un=typeof je=="number"&&sn;cn&&(Dt.position="sticky",Dt.left=Oe),Un&&(Dt.position="sticky",Dt.right=je);var Xt=(ne=(Le=(ke=$n==null?void 0:$n.colSpan)!==null&&ke!==void 0?ke:Ct.colSpan)!==null&&Le!==void 0?Le:Ae)!==null&&ne!==void 0?ne:1,In=(ot=(ft=(It=$n==null?void 0:$n.rowSpan)!==null&&It!==void 0?It:Ct.rowSpan)!==null&&ft!==void 0?ft:pe)!==null&&ot!==void 0?ot:1,ln=be(ue,In),gn=(0,_.Z)(ln,2),_r=gn[0],Fr=gn[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(Xt===0||In===0)return null;var pa=(Ot=Ct.title)!==null&&Ot!==void 0?Ot:Ue({rowType:ie,ellipsis:an,children:Mn}),ba=O()(Vt,vn,(Ft={},(0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)(Ft,"".concat(Vt,"-fix-left"),cn&&sn),"".concat(Vt,"-fix-left-first"),Je&&sn),"".concat(Vt,"-fix-left-last"),yt&&sn),"".concat(Vt,"-fix-left-all"),yt&&rr&&sn),"".concat(Vt,"-fix-right"),Un&&sn),"".concat(Vt,"-fix-right-first"),ct&&sn),"".concat(Vt,"-fix-right-last"),nt&&sn),"".concat(Vt,"-ellipsis"),an),"".concat(Vt,"-with-append"),st),"".concat(Vt,"-fix-sticky"),(cn||Un)&&Ut&&sn),(0,M.Z)(Ft,"".concat(Vt,"-row-hover"),!$n&&_r)),Ct.className,$n==null?void 0:$n.className),Or={};S&&(Or.textAlign=S);var Kr=(0,A.Z)((0,A.Z)((0,A.Z)((0,A.Z)({},$n==null?void 0:$n.style),Dt),Or),Ct.style),Sa=Mn;return(0,x.Z)(Sa)==="object"&&!Array.isArray(Sa)&&!h.isValidElement(Sa)&&(Sa=null),an&&(yt||ct)&&(Sa=h.createElement("span",{className:"".concat(Vt,"-content")},Sa)),h.createElement(zt,(0,l.Z)({},$n,Ct,{className:ba,style:Kr,title:pa,scope:en,onMouseEnter:Hn?dr:void 0,onMouseLeave:Hn?aa:void 0,colSpan:Xt!==1?Xt:null,rowSpan:In!==1?In:null}),st,Sa)}var Ye=h.memo(we);function Be(de,ne,Le,ke,ot){var ft=Le[de]||{},It=Le[ne]||{},Ot,Ft;ft.fixed==="left"?Ot=ke.left[ot==="rtl"?ne:de]:It.fixed==="right"&&(Ft=ke.right[ot==="rtl"?de:ne]);var zt=!1,En=!1,an=!1,en=!1,$t=Le[ne+1],vn=Le[de-1],S=$t&&!$t.fixed||vn&&!vn.fixed||Le.every(function(J){return J.fixed==="left"});if(ot==="rtl"){if(Ot!==void 0){var R=vn&&vn.fixed==="left";en=!R&&S}else if(Ft!==void 0){var W=$t&&$t.fixed==="right";an=!W&&S}}else if(Ot!==void 0){var H=$t&&$t.fixed==="left";zt=!H&&S}else if(Ft!==void 0){var X=vn&&vn.fixed==="right";En=!X&&S}return{fixLeft:Ot,fixRight:Ft,lastFixLeft:zt,firstFixRight:En,lastFixRight:an,firstFixLeft:en,isSticky:ke.isSticky}}var ge=h.createContext({}),He=ge;function Fe(de){var ne=de.className,Le=de.index,ke=de.children,ot=de.colSpan,ft=ot===void 0?1:ot,It=de.rowSpan,Ot=de.align,Ft=d(i,["prefixCls","direction"]),zt=Ft.prefixCls,En=Ft.direction,an=h.useContext(He),en=an.scrollColumnIndex,$t=an.stickyOffsets,vn=an.flattenColumns,S=Le+ft-1,R=S+1===en?ft+1:ft,W=Be(Le,Le+R-1,vn,$t,En);return h.createElement(Ye,(0,l.Z)({className:ne,index:Le,component:"td",prefixCls:zt,record:null,dataIndex:null,align:Ot,colSpan:R,rowSpan:It,render:function(){return ke}},W))}var Pe=w(75931),We=["children"];function Ne(de){var ne=de.children,Le=(0,Pe.Z)(de,We);return h.createElement("tr",Le,ne)}function V(de){var ne=de.children;return ne}V.Row=Ne,V.Cell=Fe;var q=V;function ae(de){var ne=de.children,Le=de.stickyOffsets,ke=de.flattenColumns,ot=d(i,"prefixCls"),ft=ke.length-1,It=ke[ft],Ot=h.useMemo(function(){return{stickyOffsets:Le,flattenColumns:ke,scrollColumnIndex:It!=null&&It.scrollbar?ft:null}},[It,ke,ft,Le]);return h.createElement(He.Provider,{value:Ot},h.createElement("tfoot",{className:"".concat(ot,"-summary")},ne))}var te=v(ae),oe=q,ee=w(29301),fe=w(24514),Ce=w(75152),re=w(26112);function ce(de,ne,Le,ke,ot,ft,It){de.push({record:ne,indent:Le,index:It});var Ot=ft(ne),Ft=ot==null?void 0:ot.has(Ot);if(ne&&Array.isArray(ne[ke])&&Ft)for(var zt=0;zt<ne[ke].length;zt+=1)ce(de,ne[ke][zt],Le+1,ke,ot,ft,zt)}function lt(de,ne,Le,ke){var ot=h.useMemo(function(){if(Le!=null&&Le.size){for(var ft=[],It=0;It<(de==null?void 0:de.length);It+=1){var Ot=de[It];ce(ft,Ot,0,ne,Le,ke,It)}return ft}return de==null?void 0:de.map(function(Ft,zt){return{record:Ft,indent:0,index:zt}})},[de,ne,Le,ke]);return ot}function Qe(de,ne,Le,ke){var ot=d(i,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ft=ot.flattenColumns,It=ot.expandableType,Ot=ot.expandedKeys,Ft=ot.childrenColumnName,zt=ot.onTriggerExpand,En=ot.rowExpandable,an=ot.onRow,en=ot.expandRowByClick,$t=ot.rowClassName,vn=It==="nest",S=It==="row"&&(!En||En(de)),R=S||vn,W=Ot&&Ot.has(ne),H=Ft&&de&&de[Ft],X=(0,De.zX)(zt),J=an==null?void 0:an(de,Le),ue=J==null?void 0:J.onClick,ie=function(je){en&&R&&zt(de,je);for(var Je=arguments.length,yt=new Array(Je>1?Je-1:0),ct=1;ct<Je;ct++)yt[ct-1]=arguments[ct];ue==null||ue.apply(void 0,[je].concat(yt))},Ae;typeof $t=="string"?Ae=$t:typeof $t=="function"&&(Ae=$t(de,Le,ke));var pe=G(ft);return(0,A.Z)((0,A.Z)({},ot),{},{columnsKey:pe,nestExpandable:vn,expanded:W,hasNestChildren:H,record:de,onTriggerExpand:X,rowSupportExpand:S,expandable:R,rowProps:(0,A.Z)((0,A.Z)({},J),{},{className:O()(Ae,J==null?void 0:J.className),onClick:ie})})}function ht(de){var ne=de.prefixCls,Le=de.children,ke=de.component,ot=de.cellComponent,ft=de.className,It=de.expanded,Ot=de.colSpan,Ft=de.isEmpty,zt=d(i,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),En=zt.scrollbarSize,an=zt.fixHeader,en=zt.fixColumn,$t=zt.componentWidth,vn=zt.horizonScroll,S=Le;return(Ft?vn&&$t:en)&&(S=h.createElement("div",{style:{width:$t-(an&&!Ft?En:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ne,"-expanded-row-fixed")},S)),h.createElement(ke,{className:ft,style:{display:It?null:"none"}},h.createElement(Ye,{component:ot,prefixCls:ne,colSpan:Ot},S))}var pt=ht;function $e(de){var ne=de.prefixCls,Le=de.record,ke=de.onExpand,ot=de.expanded,ft=de.expandable,It="".concat(ne,"-row-expand-icon");if(!ft)return h.createElement("span",{className:O()(It,"".concat(ne,"-row-spaced"))});var Ot=function(zt){ke(Le,zt),zt.stopPropagation()};return h.createElement("span",{className:O()(It,(0,M.Z)((0,M.Z)({},"".concat(ne,"-row-expanded"),ot),"".concat(ne,"-row-collapsed"),!ot)),onClick:Ot})}function mt(de,ne,Le){var ke=[];function ot(ft){(ft||[]).forEach(function(It,Ot){ke.push(ne(It,Ot)),ot(It[Le])})}return ot(de),ke}function Ve(de,ne,Le,ke){return typeof de=="string"?de:typeof de=="function"?de(ne,Le,ke):""}function Me(de,ne,Le,ke,ot){var ft=de.record,It=de.prefixCls,Ot=de.columnsKey,Ft=de.fixedInfoList,zt=de.expandIconColumnIndex,En=de.nestExpandable,an=de.indentSize,en=de.expandIcon,$t=de.expanded,vn=de.hasNestChildren,S=de.onTriggerExpand,R=Ot[Le],W=Ft[Le],H;Le===(zt||0)&&En&&(H=h.createElement(h.Fragment,null,h.createElement("span",{style:{paddingLeft:"".concat(an*ke,"px")},className:"".concat(It,"-row-indent indent-level-").concat(ke)}),en({prefixCls:It,expanded:$t,expandable:vn,record:ft,onExpand:S})));var X;return ne.onCell&&(X=ne.onCell(ft,ot)),{key:R,fixedInfo:W,appendCellNode:H,additionalCellProps:X||{}}}function qe(de){var ne=de.className,Le=de.style,ke=de.record,ot=de.index,ft=de.renderIndex,It=de.rowKey,Ot=de.indent,Ft=Ot===void 0?0:Ot,zt=de.rowComponent,En=de.cellComponent,an=de.scopeCellComponent,en=Qe(ke,It,ot,Ft),$t=en.prefixCls,vn=en.flattenColumns,S=en.expandedRowClassName,R=en.expandedRowRender,W=en.rowProps,H=en.expanded,X=en.rowSupportExpand,J=h.useRef(!1);J.current||(J.current=H);var ue=Ve(S,ke,ot,Ft),ie=h.createElement(zt,(0,l.Z)({},W,{"data-row-key":It,className:O()(ne,"".concat($t,"-row"),"".concat($t,"-row-level-").concat(Ft),W==null?void 0:W.className,(0,M.Z)({},ue,Ft>=1)),style:(0,A.Z)((0,A.Z)({},Le),W==null?void 0:W.style)}),vn.map(function(Oe,je){var Je=Oe.render,yt=Oe.dataIndex,ct=Oe.className,nt=Me(en,Oe,je,Ft,ot),st=nt.key,Mt=nt.fixedInfo,Ct=nt.appendCellNode,Ut=nt.additionalCellProps;return h.createElement(Ye,(0,l.Z)({className:ct,ellipsis:Oe.ellipsis,align:Oe.align,scope:Oe.rowScope,component:Oe.rowScope?an:En,prefixCls:$t,key:st,record:ke,index:ot,renderIndex:ft,dataIndex:yt,render:Je,shouldCellUpdate:Oe.shouldCellUpdate},Mt,{appendNode:Ct,additionalProps:Ut}))})),Ae;if(X&&(J.current||H)){var pe=R(ke,ot,Ft+1,H);Ae=h.createElement(pt,{expanded:H,className:O()("".concat($t,"-expanded-row"),"".concat($t,"-expanded-row-level-").concat(Ft+1),ue),prefixCls:$t,component:zt,cellComponent:En,colSpan:vn.length,isEmpty:!1},pe)}return h.createElement(h.Fragment,null,ie,Ae)}var it=v(qe);function Et(de){var ne=de.columnKey,Le=de.onColumnResize,ke=h.useRef();return(0,C.Z)(function(){ke.current&&Le(ne,ke.current.offsetWidth)},[]),h.createElement(ee.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=w(29194);function un(de){var ne=de.prefixCls,Le=de.columnsKey,ke=de.onColumnResize,ot=h.useRef(null);return h.createElement("tr",{"aria-hidden":"true",className:"".concat(ne,"-measure-row"),style:{height:0,fontSize:0},ref:ot},h.createElement(ee.Z.Collection,{onBatchResize:function(It){(0,xt.Z)(ot.current)&&It.forEach(function(Ot){var Ft=Ot.data,zt=Ot.size;ke(Ft,zt.offsetWidth)})}},Le.map(function(ft){return h.createElement(Et,{key:ft,columnKey:ft,onColumnResize:ke})})))}function Jt(de){var ne=de.data,Le=de.measureColumnWidth,ke=d(i,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=ke.prefixCls,ft=ke.getComponent,It=ke.onColumnResize,Ot=ke.flattenColumns,Ft=ke.getRowKey,zt=ke.expandedKeys,En=ke.childrenColumnName,an=ke.emptyNode,en=lt(ne,En,zt,Ft),$t=h.useRef({renderWithProps:!1}),vn=ft(["body","wrapper"],"tbody"),S=ft(["body","row"],"tr"),R=ft(["body","cell"],"td"),W=ft(["body","cell"],"th"),H;ne.length?H=en.map(function(J,ue){var ie=J.record,Ae=J.indent,pe=J.index,Oe=Ft(ie,ue);return h.createElement(it,{key:Oe,rowKey:Oe,record:ie,index:ue,renderIndex:pe,rowComponent:S,cellComponent:R,scopeCellComponent:W,indent:Ae})}):H=h.createElement(pt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:S,cellComponent:R,colSpan:Ot.length,isEmpty:!0},an);var X=G(Ot);return h.createElement(F.Provider,{value:$t.current},h.createElement(vn,{className:"".concat(ot,"-tbody")},Le&&h.createElement(un,{prefixCls:ot,columnsKey:X,onColumnResize:It}),H))}var Bt=v(Jt),hn=["expandable"],Nn="RC_TABLE_INTERNAL_COL_DEFINE";function tn(de){var ne=de.expandable,Le=(0,Pe.Z)(de,hn),ke;return"expandable"in de?ke=(0,A.Z)((0,A.Z)({},Le),ne):ke=Le,ke.showExpandColumn===!1&&(ke.expandIconColumnIndex=-1),ke}var On=["columnType"];function qt(de){for(var ne=de.colWidths,Le=de.columns,ke=de.columCount,ot=d(i,["tableLayout"]),ft=ot.tableLayout,It=[],Ot=ke||Le.length,Ft=!1,zt=Ot-1;zt>=0;zt-=1){var En=ne[zt],an=Le&&Le[zt],en=void 0,$t=void 0;if(an&&(en=an[Nn],ft==="auto"&&($t=an.minWidth)),En||$t||en||Ft){var vn=en||{},S=vn.columnType,R=(0,Pe.Z)(vn,On);It.unshift(h.createElement("col",(0,l.Z)({key:zt,style:{width:En,minWidth:$t}},R))),Ft=!0}}return h.createElement("colgroup",null,It)}var Wt=qt,Zt=w(94480),rn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function xn(de,ne){return(0,h.useMemo)(function(){for(var Le=[],ke=0;ke<ne;ke+=1){var ot=de[ke];if(ot!==void 0)Le[ke]=ot;else return null}return Le},[de.join("_"),ne])}var Dn=h.forwardRef(function(de,ne){var Le=de.className,ke=de.noData,ot=de.columns,ft=de.flattenColumns,It=de.colWidths,Ot=de.columCount,Ft=de.stickyOffsets,zt=de.direction,En=de.fixHeader,an=de.stickyTopOffset,en=de.stickyBottomOffset,$t=de.stickyClassName,vn=de.onScroll,S=de.maxContentScroll,R=de.children,W=(0,Pe.Z)(de,rn),H=d(i,["prefixCls","scrollbarSize","isSticky","getComponent"]),X=H.prefixCls,J=H.scrollbarSize,ue=H.isSticky,ie=H.getComponent,Ae=ie(["header","table"],"table"),pe=ue&&!En?0:J,Oe=h.useRef(null),je=h.useCallback(function(Ut){(0,o.mH)(ne,Ut),(0,o.mH)(Oe,Ut)},[]);h.useEffect(function(){var Ut;function Vt(Wn){var sn=Wn,rr=sn.currentTarget,Hn=sn.deltaX;Hn&&(vn({currentTarget:rr,scrollLeft:rr.scrollLeft+Hn}),Wn.preventDefault())}return(Ut=Oe.current)===null||Ut===void 0||Ut.addEventListener("wheel",Vt,{passive:!1}),function(){var Wn;(Wn=Oe.current)===null||Wn===void 0||Wn.removeEventListener("wheel",Vt)}},[]);var Je=h.useMemo(function(){return ft.every(function(Ut){return Ut.width})},[ft]),yt=ft[ft.length-1],ct={fixed:yt?yt.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(X,"-cell-scrollbar")}}},nt=(0,h.useMemo)(function(){return pe?[].concat((0,Zt.Z)(ot),[ct]):ot},[pe,ot]),st=(0,h.useMemo)(function(){return pe?[].concat((0,Zt.Z)(ft),[ct]):ft},[pe,ft]),Mt=(0,h.useMemo)(function(){var Ut=Ft.right,Vt=Ft.left;return(0,A.Z)((0,A.Z)({},Ft),{},{left:zt==="rtl"?[].concat((0,Zt.Z)(Vt.map(function(Wn){return Wn+pe})),[0]):Vt,right:zt==="rtl"?Ut:[].concat((0,Zt.Z)(Ut.map(function(Wn){return Wn+pe})),[0]),isSticky:ue})},[pe,Ft,ue]),Ct=xn(It,Ot);return h.createElement("div",{style:(0,A.Z)({overflow:"hidden"},ue?{top:an,bottom:en}:{}),ref:je,className:O()(Le,(0,M.Z)({},$t,!!$t))},h.createElement(Ae,{style:{tableLayout:"fixed",visibility:ke||Ct?null:"hidden"}},(!ke||!S||Je)&&h.createElement(Wt,{colWidths:Ct?[].concat((0,Zt.Z)(Ct),[pe]):[],columCount:Ot+1,columns:st}),R((0,A.Z)((0,A.Z)({},W),{},{stickyOffsets:Mt,columns:nt,flattenColumns:st}))))}),Pn=h.memo(Dn),Nt=function(ne){var Le=ne.cells,ke=ne.stickyOffsets,ot=ne.flattenColumns,ft=ne.rowComponent,It=ne.cellComponent,Ot=ne.onHeaderRow,Ft=ne.index,zt=d(i,["prefixCls","direction"]),En=zt.prefixCls,an=zt.direction,en;Ot&&(en=Ot(Le.map(function(vn){return vn.column}),Ft));var $t=G(Le.map(function(vn){return vn.column}));return h.createElement(ft,en,Le.map(function(vn,S){var R=vn.column,W=Be(vn.colStart,vn.colEnd,ot,ke,an),H;return R&&R.onHeaderCell&&(H=vn.column.onHeaderCell(R)),h.createElement(Ye,(0,l.Z)({},vn,{scope:R.title?vn.colSpan>1?"colgroup":"col":null,ellipsis:R.ellipsis,align:R.align,component:It,prefixCls:En,key:$t[S]},W,{additionalProps:H,rowType:"header"}))}))},Ht=Nt;function rt(de){var ne=[];function Le(It,Ot){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ne[Ft]=ne[Ft]||[];var zt=Ot,En=It.filter(Boolean).map(function(an){var en={key:an.key,className:an.className||"",children:an.title,column:an,colStart:zt},$t=1,vn=an.children;return vn&&vn.length>0&&($t=Le(vn,zt,Ft+1).reduce(function(S,R){return S+R},0),en.hasSubColumns=!0),"colSpan"in an&&($t=an.colSpan),"rowSpan"in an&&(en.rowSpan=an.rowSpan),en.colSpan=$t,en.colEnd=en.colStart+$t-1,ne[Ft].push(en),zt+=$t,$t});return En}Le(de,0);for(var ke=ne.length,ot=function(Ot){ne[Ot].forEach(function(Ft){!("rowSpan"in Ft)&&!Ft.hasSubColumns&&(Ft.rowSpan=ke-Ot)})},ft=0;ft<ke;ft+=1)ot(ft);return ne}var T=function(ne){var Le=ne.stickyOffsets,ke=ne.columns,ot=ne.flattenColumns,ft=ne.onHeaderRow,It=d(i,["prefixCls","getComponent"]),Ot=It.prefixCls,Ft=It.getComponent,zt=h.useMemo(function(){return rt(ke)},[ke]),En=Ft(["header","wrapper"],"thead"),an=Ft(["header","row"],"tr"),en=Ft(["header","cell"],"th");return h.createElement(En,{className:"".concat(Ot,"-thead")},zt.map(function($t,vn){var S=h.createElement(Ht,{key:vn,flattenColumns:ot,cells:$t,stickyOffsets:Le,rowComponent:an,cellComponent:en,onHeaderRow:ft,index:vn});return S}))},z=v(T),Z=w(11592);function $(de){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ne=="number"?ne:ne.endsWith("%")?de*parseFloat(ne)/100:null}function se(de,ne,Le){return h.useMemo(function(){if(ne&&ne>0){var ke=0,ot=0;de.forEach(function(en){var $t=$(ne,en.width);$t?ke+=$t:ot+=1});var ft=Math.max(ne,Le),It=Math.max(ft-ke,ot),Ot=ot,Ft=It/ot,zt=0,En=de.map(function(en){var $t=(0,A.Z)({},en),vn=$(ne,$t.width);if(vn)$t.width=vn;else{var S=Math.floor(Ft);$t.width=Ot===1?It:S,It-=S,Ot-=1}return zt+=$t.width,$t});if(zt<ft){var an=ft/zt;It=ft,En.forEach(function(en,$t){var vn=Math.floor(en.width*an);en.width=$t===En.length-1?It:vn,It-=vn})}return[En,Math.max(zt,ft)]}return[de,ne]},[de,ne,Le])}var Ge=["children"],at=["fixed"];function _t(de){return(0,Z.Z)(de).filter(function(ne){return h.isValidElement(ne)}).map(function(ne){var Le=ne.key,ke=ne.props,ot=ke.children,ft=(0,Pe.Z)(ke,Ge),It=(0,A.Z)({key:Le},ft);return ot&&(It.children=_t(ot)),It})}function dt(de){return de.filter(function(ne){return ne&&(0,x.Z)(ne)==="object"&&!ne.hidden}).map(function(ne){var Le=ne.children;return Le&&Le.length>0?(0,A.Z)((0,A.Z)({},ne),{},{children:dt(Le)}):ne})}function Rt(de){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(Le){return Le&&(0,x.Z)(Le)==="object"}).reduce(function(Le,ke,ot){var ft=ke.fixed,It=ft===!0?"left":ft,Ot="".concat(ne,"-").concat(ot),Ft=ke.children;return Ft&&Ft.length>0?[].concat((0,Zt.Z)(Le),(0,Zt.Z)(Rt(Ft,Ot).map(function(zt){return(0,A.Z)({fixed:It},zt)}))):[].concat((0,Zt.Z)(Le),[(0,A.Z)((0,A.Z)({key:Ot},ke),{},{fixed:It})])},[])}function Gt(de){return de.map(function(ne){var Le=ne.fixed,ke=(0,Pe.Z)(ne,at),ot=Le;return Le==="left"?ot="right":Le==="right"&&(ot="left"),(0,A.Z)({fixed:ot},ke)})}function ze(de,ne){var Le=de.prefixCls,ke=de.columns,ot=de.children,ft=de.expandable,It=de.expandedKeys,Ot=de.columnTitle,Ft=de.getRowKey,zt=de.onTriggerExpand,En=de.expandIcon,an=de.rowExpandable,en=de.expandIconColumnIndex,$t=de.direction,vn=de.expandRowByClick,S=de.columnWidth,R=de.fixed,W=de.scrollWidth,H=de.clientWidth,X=h.useMemo(function(){var yt=ke||_t(ot)||[];return dt(yt.slice())},[ke,ot]),J=h.useMemo(function(){if(ft){var yt=X.slice();if(!yt.includes(k)){var ct=en||0;ct>=0&&(ct||R==="left"||!R)&&yt.splice(ct,0,k),R==="right"&&yt.splice(X.length,0,k)}var nt=yt.indexOf(k);yt=yt.filter(function(Ut,Vt){return Ut!==k||Vt===nt});var st=X[nt],Mt;R?Mt=R:Mt=st?st.fixed:null;var Ct=(0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)({},Nn,{className:"".concat(Le,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ot),"fixed",Mt),"className","".concat(Le,"-row-expand-icon-cell")),"width",S),"render",function(Vt,Wn,sn){var rr=Ft(Wn,sn),Hn=It.has(rr),xr=an?an(Wn):!0,bn=En({prefixCls:Le,expanded:Hn,expandable:xr,record:Wn,onExpand:zt});return vn?h.createElement("span",{onClick:function($n){return $n.stopPropagation()}},bn):bn});return yt.map(function(Ut){return Ut===k?Ct:Ut})}return X.filter(function(Ut){return Ut!==k})},[ft,X,Ft,It,En,$t]),ue=h.useMemo(function(){var yt=J;return ne&&(yt=ne(yt)),yt.length||(yt=[{render:function(){return null}}]),yt},[ne,J,$t]),ie=h.useMemo(function(){return $t==="rtl"?Gt(Rt(ue)):Rt(ue)},[ue,$t,W]),Ae=h.useMemo(function(){for(var yt=-1,ct=ie.length-1;ct>=0;ct-=1){var nt=ie[ct].fixed;if(nt==="left"||nt===!0){yt=ct;break}}if(yt>=0)for(var st=0;st<=yt;st+=1){var Mt=ie[st].fixed;if(Mt!=="left"&&Mt!==!0)return!0}var Ct=ie.findIndex(function(Wn){var sn=Wn.fixed;return sn==="right"});if(Ct>=0)for(var Ut=Ct;Ut<ie.length;Ut+=1){var Vt=ie[Ut].fixed;if(Vt!=="right")return!0}return!1},[ie]),pe=se(ie,W,H),Oe=(0,_.Z)(pe,2),je=Oe[0],Je=Oe[1];return[ue,je,Je,Ae]}var Re=ze;function ye(de,ne,Le){var ke=tn(de),ot=ke.expandIcon,ft=ke.expandedRowKeys,It=ke.defaultExpandedRowKeys,Ot=ke.defaultExpandAllRows,Ft=ke.expandedRowRender,zt=ke.onExpand,En=ke.onExpandedRowsChange,an=ke.childrenColumnName,en=ot||$e,$t=an||"children",vn=h.useMemo(function(){return Ft?"row":de.expandable&&de.internalHooks===P&&de.expandable.__PARENT_RENDER_ICON__||ne.some(function(ue){return ue&&(0,x.Z)(ue)==="object"&&ue[$t]})?"nest":!1},[!!Ft,ne]),S=h.useState(function(){return It||(Ot?mt(ne,Le,$t):[])}),R=(0,_.Z)(S,2),W=R[0],H=R[1],X=h.useMemo(function(){return new Set(ft||W||[])},[ft,W]),J=h.useCallback(function(ue){var ie=Le(ue,ne.indexOf(ue)),Ae,pe=X.has(ie);pe?(X.delete(ie),Ae=(0,Zt.Z)(X)):Ae=[].concat((0,Zt.Z)(X),[ie]),H(Ae),zt&&zt(!pe,ue),En&&En(Ae)},[Le,X,ne,zt,En]);return[ke,vn,X,en,$t,J]}function Te(de,ne,Le){var ke=de.map(function(ot,ft){return Be(ft,ft,de,ne,Le)});return(0,D.Z)(function(){return ke},[ke],function(ot,ft){return!(0,p.Z)(ot,ft)})}function Ie(de){var ne=(0,h.useRef)(de),Le=(0,h.useState)({}),ke=(0,_.Z)(Le,2),ot=ke[1],ft=(0,h.useRef)(null),It=(0,h.useRef)([]);function Ot(Ft){It.current.push(Ft);var zt=Promise.resolve();ft.current=zt,zt.then(function(){if(ft.current===zt){var En=It.current,an=ne.current;It.current=[],En.forEach(function(en){ne.current=en(ne.current)}),ft.current=null,an!==ne.current&&ot({})}})}return(0,h.useEffect)(function(){return function(){ft.current=null}},[]),[ne.current,Ot]}function Ke(de){var ne=(0,h.useRef)(de||null),Le=(0,h.useRef)();function ke(){window.clearTimeout(Le.current)}function ot(It){ne.current=It,ke(),Le.current=window.setTimeout(function(){ne.current=null,Le.current=void 0},100)}function ft(){return ne.current}return(0,h.useEffect)(function(){return ke},[]),[ot,ft]}function he(){var de=h.useState(-1),ne=(0,_.Z)(de,2),Le=ne[0],ke=ne[1],ot=h.useState(-1),ft=(0,_.Z)(ot,2),It=ft[0],Ot=ft[1],Ft=h.useCallback(function(zt,En){ke(zt),Ot(En)},[]);return[Le,It,Ft]}var Ze=w(47273),tt=(0,Ze.Z)()?window:null;function me(de,ne){var Le=(0,x.Z)(de)==="object"?de:{},ke=Le.offsetHeader,ot=ke===void 0?0:ke,ft=Le.offsetSummary,It=ft===void 0?0:ft,Ot=Le.offsetScroll,Ft=Ot===void 0?0:Ot,zt=Le.getContainer,En=zt===void 0?function(){return tt}:zt,an=En()||tt,en=!!de;return h.useMemo(function(){return{isSticky:en,stickyClassName:en?"".concat(ne,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:It,offsetScroll:Ft,container:an}},[en,Ft,ot,It,ne,an])}function _e(de,ne,Le){var ke=(0,h.useMemo)(function(){var ot=ne.length,ft=function(zt,En,an){for(var en=[],$t=0,vn=zt;vn!==En;vn+=an)en.push($t),ne[vn].fixed&&($t+=de[vn]||0);return en},It=ft(0,ot,1),Ot=ft(ot-1,-1,-1).reverse();return Le==="rtl"?{left:Ot,right:It}:{left:It,right:Ot}},[de,ne,Le]);return ke}var Ee=_e;function Xe(de){var ne=de.className,Le=de.children;return h.createElement("div",{className:ne},Le)}var Se=Xe,ut=w(8224),bt=w(16089),Tt=w(76846);function kt(de){var ne=(0,Tt.bn)(de),Le=ne.getBoundingClientRect(),ke=document.documentElement;return{left:Le.left+(window.pageXOffset||ke.scrollLeft)-(ke.clientLeft||document.body.clientLeft||0),top:Le.top+(window.pageYOffset||ke.scrollTop)-(ke.clientTop||document.body.clientTop||0)}}var on=function(ne,Le){var ke,ot,ft=ne.scrollBodyRef,It=ne.onScroll,Ot=ne.offsetScroll,Ft=ne.container,zt=ne.direction,En=d(i,"prefixCls"),an=((ke=ft.current)===null||ke===void 0?void 0:ke.scrollWidth)||0,en=((ot=ft.current)===null||ot===void 0?void 0:ot.clientWidth)||0,$t=an&&en*(en/an),vn=h.useRef(),S=Ie({scrollLeft:0,isHiddenScrollBar:!0}),R=(0,_.Z)(S,2),W=R[0],H=R[1],X=h.useRef({delta:0,x:0}),J=h.useState(!1),ue=(0,_.Z)(J,2),ie=ue[0],Ae=ue[1],pe=h.useRef(null);h.useEffect(function(){return function(){bt.Z.cancel(pe.current)}},[]);var Oe=function(){Ae(!1)},je=function(st){st.persist(),X.current.delta=st.pageX-W.scrollLeft,X.current.x=0,Ae(!0),st.preventDefault()},Je=function(st){var Mt,Ct=st||((Mt=window)===null||Mt===void 0?void 0:Mt.event),Ut=Ct.buttons;if(!ie||Ut===0){ie&&Ae(!1);return}var Vt=X.current.x+st.pageX-X.current.x-X.current.delta,Wn=zt==="rtl";Vt=Math.max(Wn?$t-en:0,Math.min(Wn?0:en-$t,Vt));var sn=!Wn||Math.abs(Vt)+Math.abs($t)<en;sn&&(It({scrollLeft:Vt/en*(an+2)}),X.current.x=st.pageX)},yt=function(){bt.Z.cancel(pe.current),pe.current=(0,bt.Z)(function(){if(ft.current){var st=kt(ft.current).top,Mt=st+ft.current.offsetHeight,Ct=Ft===window?document.documentElement.scrollTop+window.innerHeight:kt(Ft).top+Ft.clientHeight;Mt-(0,Ce.Z)()<=Ct||st>=Ct-Ot?H(function(Ut){return(0,A.Z)((0,A.Z)({},Ut),{},{isHiddenScrollBar:!0})}):H(function(Ut){return(0,A.Z)((0,A.Z)({},Ut),{},{isHiddenScrollBar:!1})})}})},ct=function(st){H(function(Mt){return(0,A.Z)((0,A.Z)({},Mt),{},{scrollLeft:st/an*en||0})})};return h.useImperativeHandle(Le,function(){return{setScrollLeft:ct,checkScrollBarVisible:yt}}),h.useEffect(function(){var nt=(0,ut.Z)(document.body,"mouseup",Oe,!1),st=(0,ut.Z)(document.body,"mousemove",Je,!1);return yt(),function(){nt.remove(),st.remove()}},[$t,ie]),h.useEffect(function(){if(ft.current){for(var nt=[],st=(0,Tt.bn)(ft.current);st;)nt.push(st),st=st.parentElement;return nt.forEach(function(Mt){return Mt.addEventListener("scroll",yt,!1)}),window.addEventListener("resize",yt,!1),window.addEventListener("scroll",yt,!1),Ft.addEventListener("scroll",yt,!1),function(){nt.forEach(function(Mt){return Mt.removeEventListener("scroll",yt)}),window.removeEventListener("resize",yt),window.removeEventListener("scroll",yt),Ft.removeEventListener("scroll",yt)}}},[Ft]),h.useEffect(function(){W.isHiddenScrollBar||H(function(nt){var st=ft.current;return st?(0,A.Z)((0,A.Z)({},nt),{},{scrollLeft:st.scrollLeft/st.scrollWidth*st.clientWidth}):nt})},[W.isHiddenScrollBar]),an<=en||!$t||W.isHiddenScrollBar?null:h.createElement("div",{style:{height:(0,Ce.Z)(),width:en,bottom:Ot},className:"".concat(En,"-sticky-scroll")},h.createElement("div",{onMouseDown:je,ref:vn,className:O()("".concat(En,"-sticky-scroll-bar"),(0,M.Z)({},"".concat(En,"-sticky-scroll-bar-active"),ie)),style:{width:"".concat($t,"px"),transform:"translate3d(".concat(W.scrollLeft,"px, 0, 0)")}}))},Sn=h.forwardRef(on);function _n(de){return null}var nn=_n;function dn(de){return null}var mn=dn,Pt="rc-table",wn=[],jn={};function Cn(){return"No Data"}function Fn(de,ne){var Le=(0,A.Z)({rowKey:"key",prefixCls:Pt,emptyText:Cn},de),ke=Le.prefixCls,ot=Le.className,ft=Le.rowClassName,It=Le.style,Ot=Le.data,Ft=Le.rowKey,zt=Le.scroll,En=Le.tableLayout,an=Le.direction,en=Le.title,$t=Le.footer,vn=Le.summary,S=Le.caption,R=Le.id,W=Le.showHeader,H=Le.components,X=Le.emptyText,J=Le.onRow,ue=Le.onHeaderRow,ie=Le.onScroll,Ae=Le.internalHooks,pe=Le.transformColumns,Oe=Le.internalRefs,je=Le.tailor,Je=Le.getContainerWidth,yt=Le.sticky,ct=Le.rowHoverable,nt=ct===void 0?!0:ct,st=Ot||wn,Mt=!!st.length,Ct=Ae===P,Ut=h.useCallback(function(wa,Ta){return(0,N.Z)(H,wa)||Ta},[H]),Vt=h.useMemo(function(){return typeof Ft=="function"?Ft:function(wa){var Ta=wa&&wa[Ft];return Ta}},[Ft]),Wn=Ut(["body"]),sn=he(),rr=(0,_.Z)(sn,3),Hn=rr[0],xr=rr[1],bn=rr[2],Mn=ye(Le,st,Vt),$n=(0,_.Z)(Mn,6),Dt=$n[0],cn=$n[1],Un=$n[2],Xt=$n[3],In=$n[4],ln=$n[5],gn=zt==null?void 0:zt.x,_r=h.useState(0),Fr=(0,_.Z)(_r,2),dr=Fr[0],aa=Fr[1],pa=Re((0,A.Z)((0,A.Z)((0,A.Z)({},Le),Dt),{},{expandable:!!Dt.expandedRowRender,columnTitle:Dt.columnTitle,expandedKeys:Un,getRowKey:Vt,onTriggerExpand:ln,expandIcon:Xt,expandIconColumnIndex:Dt.expandIconColumnIndex,direction:an,scrollWidth:Ct&&je&&typeof gn=="number"?gn: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:gn,yi=h.useMemo(function(){return{columns:Or,flattenColumns:Kr}},[Or,Kr]),ai=h.useRef(),Zi=h.useRef(),Ja=h.useRef(),Ba=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(le(Ci)){var _o;(_o=Ja.current)===null||_o===void 0||_o.scrollTo({top:Ci})}else{var Eo,jo=Io!=null?Io:Vt(st[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],$a=vo[1],Vo=G(Kr),Mi=Vo.map(function(wa){return Ko.get(wa)}),Ui=h.useMemo(function(){return Mi},[Mi.join("_")]),Fi=Ee(Ui,Kr,an),Ti=zt&&Y(zt.y),Pi=zt&&Y(Pa)||!!Dt.fixed,Wi=Pi&&Kr.some(function(wa){var Ta=wa.fixed;return Ta}),mo=h.useRef(),Ji=me(yt,ke),qi=Ji.isSticky,Qo=Ji.offsetHeader,Jo=Ji.offsetSummary,qo=Ji.offsetScroll,ko=Ji.stickyClassName,$o=Ji.container,ga=h.useMemo(function(){return vn==null?void 0:vn(st)},[vn,st]),Na=(Ti||qi)&&h.isValidElement(ga)&&ga.type===q&&ga.props.fixed,oi,fi,Ii;Ti&&(fi={overflowY:Mt?"scroll":"auto",maxHeight:zt.y}),Pi&&(oi={overflowX:"auto"},Ti||(fi={overflowY:"hidden"}),Ii={width:Pa===!0?"auto":Pa,minWidth:"100%"});var zi=h.useCallback(function(wa,Ta){$a(function(xi){if(xi.get(wa)!==Ta){var Ki=new Map(xi);return Ki.set(wa,Ta),Ki}return xi})},[]),Hi=Ke(null),Ei=(0,_.Z)(Hi,2),xs=Ei[0],is=Ei[1];function Go(wa,Ta){Ta&&(typeof Ta=="function"?Ta(wa):Ta.scrollLeft!==wa&&(Ta.scrollLeft=wa,Ta.scrollLeft!==wa&&setTimeout(function(){Ta.scrollLeft=wa},0)))}var Po=(0,B.Z)(function(wa){var Ta=wa.currentTarget,xi=wa.scrollLeft,Ki=an==="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&&je&&typeof Pa=="number"?Pa:Eo.scrollWidth,as=Eo.clientWidth;if(jo===as){Ia(!1),ii(!1);return}Ki?(Ia(-Ci<jo-as),ii(-Ci>0)):(Ia(Ci>0),ii(Ci<jo-as))}}),Cs=(0,B.Z)(function(wa){Po(wa),ie==null||ie(wa)}),os=function(){if(Pi&&Ja.current){var Ta;Po({currentTarget:(0,Tt.bn)(Ja.current),scrollLeft:(Ta=Ja.current)===null||Ta===void 0?void 0:Ta.scrollLeft})}else Ia(!1),ii(!1)},bs=function(Ta){var xi,Ki=Ta.width;(xi=mo.current)===null||xi===void 0||xi.checkScrollBarVisible();var Ci=ai.current?ai.current.offsetWidth:Ki;Ct&&Je&&ai.current&&(Ci=Je(ai.current,Ci)||Ci),Ci!==dr&&(os(),aa(Ci))},ss=h.useRef(!1);h.useEffect(function(){ss.current&&os()},[Pi,Ot,Or.length]),h.useEffect(function(){ss.current=!0},[]);var As=h.useState(0),ls=(0,_.Z)(As,2),Xo=ls[0],us=ls[1],Ss=h.useState(!0),cs=(0,_.Z)(Ss,2),ds=cs[0],Ds=cs[1];(0,C.Z)(function(){(!je||!Ct)&&(Ja.current instanceof Element?us((0,Ce.o)(Ja.current).width):us((0,Ce.o)(Ba.current).width)),Ds((0,fe.G)("position","sticky"))},[]),h.useEffect(function(){Ct&&Oe&&(Oe.body.current=Ja.current)});var ws=h.useCallback(function(wa){return h.createElement(h.Fragment,null,h.createElement(z,wa),Na==="top"&&h.createElement(te,wa,ga))},[Na,ga]),Os=h.useCallback(function(wa){return h.createElement(te,wa,ga)},[ga]),fs=Ut(["table"],"table"),Yo=h.useMemo(function(){return En||(Wi?Pa==="max-content"?"auto":"fixed":Ti||qi||Kr.some(function(wa){var Ta=wa.ellipsis;return Ta})?"fixed":"auto")},[Ti,Wi,Kr,En,qi]),es,ts={colWidths:Ui,columCount:Kr.length,stickyOffsets:Fi,onHeaderRow:ue,fixHeader:Ti,scroll:zt},hs=h.useMemo(function(){return Mt?null:typeof X=="function"?X():X},[Mt,X]),vs=h.createElement(Bt,{data:st,measureColumnWidth:Ti||Pi||qi}),ms=h.createElement(Wt,{colWidths:Kr.map(function(wa){var Ta=wa.width;return Ta}),columns:Kr}),ps=S!=null?h.createElement("caption",{className:"".concat(ke,"-caption")},S):void 0,Ms=(0,re.Z)(Le,{data:!0}),gs=(0,re.Z)(Le,{aria:!0});if(Ti||qi){var ns;typeof Wn=="function"?(ns=Wn(st,{scrollbarSize:Xo,ref:Ja,onScroll:Po}),ts.colWidths=Kr.map(function(wa,Ta){var xi=wa.width,Ki=Ta===Kr.length-1?xi-Xo:xi;return typeof Ki=="number"&&!Number.isNaN(Ki)?Ki:0})):ns=h.createElement("div",{style:(0,A.Z)((0,A.Z)({},oi),fi),onScroll:Cs,ref:Ja,className:O()("".concat(ke,"-body"))},h.createElement(fs,(0,l.Z)({style:(0,A.Z)((0,A.Z)({},Ii),{},{tableLayout:Yo})},gs),ps,ms,vs,!Na&&ga&&h.createElement(te,{stickyOffsets:Fi,flattenColumns:Kr},ga)));var ys=(0,A.Z)((0,A.Z)((0,A.Z)({noData:!st.length,maxContentScroll:Pi&&Pa==="max-content"},ts),yi),{},{direction:an,stickyClassName:ko,onScroll:Po});es=h.createElement(h.Fragment,null,W!==!1&&h.createElement(Pn,(0,l.Z)({},ys,{stickyTopOffset:Qo,className:"".concat(ke,"-header"),ref:Zi}),ws),ns,Na&&Na!=="top"&&h.createElement(Pn,(0,l.Z)({},ys,{stickyBottomOffset:Jo,className:"".concat(ke,"-summary"),ref:Ga}),Os),qi&&Ja.current&&Ja.current instanceof Element&&h.createElement(Sn,{ref:mo,offsetScroll:qo,scrollBodyRef:Ja,onScroll:Po,container:$o,direction:an}))}else es=h.createElement("div",{style:(0,A.Z)((0,A.Z)({},oi),fi),className:O()("".concat(ke,"-content")),onScroll:Po,ref:Ja},h.createElement(fs,(0,l.Z)({style:(0,A.Z)((0,A.Z)({},Ii),{},{tableLayout:Yo})},gs),ps,ms,W!==!1&&h.createElement(z,(0,l.Z)({},ts,yi)),vs,ga&&h.createElement(te,{stickyOffsets:Fi,flattenColumns:Kr},ga)));var rs=h.createElement("div",(0,l.Z)({className:O()(ke,ot,(0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)((0,M.Z)({},"".concat(ke,"-rtl"),an==="rtl"),"".concat(ke,"-ping-left"),li),"".concat(ke,"-ping-right"),_i),"".concat(ke,"-layout-fixed"),En==="fixed"),"".concat(ke,"-fixed-header"),Ti),"".concat(ke,"-fixed-column"),Wi),"".concat(ke,"-fixed-column-gapped"),Wi&&Za),"".concat(ke,"-scroll-horizontal"),Pi),"".concat(ke,"-has-fix-left"),Kr[0]&&Kr[0].fixed),"".concat(ke,"-has-fix-right"),Kr[Kr.length-1]&&Kr[Kr.length-1].fixed==="right")),style:It,id:R,ref:ai},Ms),en&&h.createElement(Se,{className:"".concat(ke,"-title")},en(st)),h.createElement("div",{ref:Ba,className:"".concat(ke,"-container")},es),$t&&h.createElement(Se,{className:"".concat(ke,"-footer")},$t(st)));Pi&&(rs=h.createElement(ee.Z,{onResize:bs},rs));var _s=Te(Kr,Fi,an),Ts=h.useMemo(function(){return{scrollX:Pa,prefixCls:ke,getComponent:Ut,scrollbarSize:Xo,direction:an,fixedInfoList:_s,isSticky:qi,supportSticky:ds,componentWidth:dr,fixHeader:Ti,fixColumn:Wi,horizonScroll:Pi,tableLayout:Yo,rowClassName:ft,expandedRowClassName:Dt.expandedRowClassName,expandIcon:Xt,expandableType:cn,expandRowByClick:Dt.expandRowByClick,expandedRowRender:Dt.expandedRowRender,onTriggerExpand:ln,expandIconColumnIndex:Dt.expandIconColumnIndex,indentSize:Dt.indentSize,allColumnsFixedLeft:Kr.every(function(wa){return wa.fixed==="left"}),emptyNode:hs,columns:Or,flattenColumns:Kr,onColumnResize:zi,hoverStartRow:Hn,hoverEndRow:xr,onHover:bn,rowExpandable:Dt.rowExpandable,onRow:J,getRowKey:Vt,expandedKeys:Un,childrenColumnName:In,rowHoverable:nt}},[Pa,ke,Ut,Xo,an,_s,qi,ds,dr,Ti,Wi,Pi,Yo,ft,Dt.expandedRowClassName,Xt,cn,Dt.expandRowByClick,Dt.expandedRowRender,ln,Dt.expandIconColumnIndex,Dt.indentSize,hs,Or,Kr,zi,Hn,xr,bn,Dt.rowExpandable,J,Vt,Un,In,nt]);return h.createElement(i.Provider,{value:Ts},rs)}var er=h.forwardRef(Fn);function Cr(de){return s(er,de)}var sr=Cr();sr.EXPAND_COLUMN=k,sr.INTERNAL_HOOKS=P,sr.Column=nn,sr.ColumnGroup=mn,sr.Summary=oe;var Bn=sr,or=w(48911),fr=E(null),nr=E(null);function tr(de,ne,Le){var ke=ne||1;return Le[de+ke]-(Le[de]||0)}function qn(de){var ne=de.rowInfo,Le=de.column,ke=de.colIndex,ot=de.indent,ft=de.index,It=de.component,Ot=de.renderIndex,Ft=de.record,zt=de.style,En=de.className,an=de.inverse,en=de.getHeight,$t=Le.render,vn=Le.dataIndex,S=Le.className,R=Le.width,W=d(nr,["columnsOffset"]),H=W.columnsOffset,X=Me(ne,Le,ke,ot,ft),J=X.key,ue=X.fixedInfo,ie=X.appendCellNode,Ae=X.additionalCellProps,pe=Ae.style,Oe=Ae.colSpan,je=Oe===void 0?1:Oe,Je=Ae.rowSpan,yt=Je===void 0?1:Je,ct=ke-1,nt=tr(ct,je,H),st=je>1?R-nt:0,Mt=(0,A.Z)((0,A.Z)((0,A.Z)({},pe),zt),{},{flex:"0 0 ".concat(nt,"px"),width:"".concat(nt,"px"),marginRight:st,pointerEvents:"auto"}),Ct=h.useMemo(function(){return an?yt<=1:je===0||yt===0||yt>1},[yt,je,an]);Ct?Mt.visibility="hidden":an&&(Mt.height=en==null?void 0:en(yt));var Ut=Ct?function(){return null}:$t,Vt={};return(yt===0||je===0)&&(Vt.rowSpan=1,Vt.colSpan=1),h.createElement(Ye,(0,l.Z)({className:O()(S,En),ellipsis:Le.ellipsis,align:Le.align,scope:Le.rowScope,component:It,prefixCls:ne.prefixCls,key:J,record:Ft,index:ft,renderIndex:Ot,dataIndex:vn,render:Ut,shouldCellUpdate:Le.shouldCellUpdate},ue,{appendNode:ie,additionalProps:(0,A.Z)((0,A.Z)({},Ae),{},{style:Mt},Vt)}))}var Mr=qn,St=["data","index","className","rowKey","style","extra","getHeight"],Hr=h.forwardRef(function(de,ne){var Le=de.data,ke=de.index,ot=de.className,ft=de.rowKey,It=de.style,Ot=de.extra,Ft=de.getHeight,zt=(0,Pe.Z)(de,St),En=Le.record,an=Le.indent,en=Le.index,$t=d(i,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),vn=$t.scrollX,S=$t.flattenColumns,R=$t.prefixCls,W=$t.fixColumn,H=$t.componentWidth,X=d(fr,["getComponent"]),J=X.getComponent,ue=Qe(En,ft,ke,an),ie=J(["body","row"],"div"),Ae=J(["body","cell"],"div"),pe=ue.rowSupportExpand,Oe=ue.expanded,je=ue.rowProps,Je=ue.expandedRowRender,yt=ue.expandedRowClassName,ct;if(pe&&Oe){var nt=Je(En,ke,an+1,Oe),st=Ve(yt,En,ke,an),Mt={};W&&(Mt={style:(0,M.Z)({},"--virtual-width","".concat(H,"px"))});var Ct="".concat(R,"-expanded-row-cell");ct=h.createElement(ie,{className:O()("".concat(R,"-expanded-row"),"".concat(R,"-expanded-row-level-").concat(an+1),st)},h.createElement(Ye,{component:Ae,prefixCls:R,className:O()(Ct,(0,M.Z)({},"".concat(Ct,"-fixed"),W)),additionalProps:Mt},nt))}var Ut=(0,A.Z)((0,A.Z)({},It),{},{width:vn});Ot&&(Ut.position="absolute",Ut.pointerEvents="none");var Vt=h.createElement(ie,(0,l.Z)({},je,zt,{"data-row-key":ft,ref:pe?null:ne,className:O()(ot,"".concat(R,"-row"),je==null?void 0:je.className,(0,M.Z)({},"".concat(R,"-row-extra"),Ot)),style:(0,A.Z)((0,A.Z)({},Ut),je==null?void 0:je.style)}),S.map(function(Wn,sn){return h.createElement(Mr,{key:sn,component:Ae,rowInfo:ue,column:Wn,colIndex:sn,indent:an,index:ke,renderIndex:en,record:En,inverse:Ot,getHeight:Ft})}));return pe?h.createElement("div",{ref:ne},Vt,ct):Vt}),Rr=v(Hr),kr=Rr,Wr=h.forwardRef(function(de,ne){var Le=de.data,ke=de.onScroll,ot=d(i,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ft=ot.flattenColumns,It=ot.onColumnResize,Ot=ot.getRowKey,Ft=ot.expandedKeys,zt=ot.prefixCls,En=ot.childrenColumnName,an=ot.scrollX,en=ot.direction,$t=d(fr),vn=$t.sticky,S=$t.scrollY,R=$t.listItemHeight,W=$t.getComponent,H=$t.onScroll,X=h.useRef(),J=lt(Le,En,Ft,Ot),ue=h.useMemo(function(){var ct=0;return ft.map(function(nt){var st=nt.width,Mt=nt.key;return ct+=st,[Mt,st,ct]})},[ft]),ie=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),st=nt[0],Mt=nt[1];It(st,Mt)})},[ue]),h.useImperativeHandle(ne,function(){var ct,nt={scrollTo:function(Mt){var Ct;(Ct=X.current)===null||Ct===void 0||Ct.scrollTo(Mt)},nativeElement:(ct=X.current)===null||ct===void 0?void 0:ct.nativeElement};return Object.defineProperty(nt,"scrollLeft",{get:function(){var Mt;return((Mt=X.current)===null||Mt===void 0?void 0:Mt.getScrollInfo().x)||0},set:function(Mt){var Ct;(Ct=X.current)===null||Ct===void 0||Ct.scrollTo({left:Mt})}}),nt});var Ae=function(nt,st){var Mt,Ct=(Mt=J[st])===null||Mt===void 0?void 0:Mt.record,Ut=nt.onCell;if(Ut){var Vt,Wn=Ut(Ct,st);return(Vt=Wn==null?void 0:Wn.rowSpan)!==null&&Vt!==void 0?Vt:1}return 1},pe=function(nt){var st=nt.start,Mt=nt.end,Ct=nt.getSize,Ut=nt.offsetY;if(Mt<0)return null;for(var Vt=ft.filter(function(Xt){return Ae(Xt,st)===0}),Wn=st,sn=function(In){if(Vt=Vt.filter(function(ln){return Ae(ln,In)===0}),!Vt.length)return Wn=In,1},rr=st;rr>=0&&!sn(rr);rr-=1);for(var Hn=ft.filter(function(Xt){return Ae(Xt,Mt)!==1}),xr=Mt,bn=function(In){if(Hn=Hn.filter(function(ln){return Ae(ln,In)!==1}),!Hn.length)return xr=Math.max(In-1,Mt),1},Mn=Mt;Mn<J.length&&!bn(Mn);Mn+=1);for(var $n=[],Dt=function(In){var ln=J[In];if(!ln)return 1;ft.some(function(gn){return Ae(gn,In)>1})&&$n.push(In)},cn=Wn;cn<=xr;cn+=1)Dt(cn);var Un=$n.map(function(Xt){var In=J[Xt],ln=Ot(In.record,Xt),gn=function(dr){var aa=Xt+dr-1,pa=Ot(J[aa].record,aa),ba=Ct(ln,pa);return ba.bottom-ba.top},_r=Ct(ln);return h.createElement(kr,{key:Xt,data:In,rowKey:ln,index:Xt,style:{top:-Ut+_r.top},extra:!0,getHeight:gn})});return Un},Oe=h.useMemo(function(){return{columnsOffset:ie}},[ie]),je="".concat(zt,"-tbody"),Je=W(["body","wrapper"]),yt={};return vn&&(yt.position="sticky",yt.bottom=0,(0,x.Z)(vn)==="object"&&vn.offsetScroll&&(yt.bottom=vn.offsetScroll)),h.createElement(nr.Provider,{value:Oe},h.createElement(or.Z,{fullHeight:!1,ref:X,prefixCls:"".concat(je,"-virtual"),styles:{horizontalScrollBar:yt},className:je,height:S,itemHeight:R||24,data:J,itemKey:function(nt){return Ot(nt.record)},component:Je,scrollWidth:an,direction:en,onVirtualScroll:function(nt){var st,Mt=nt.x;ke({currentTarget:(st=X.current)===null||st===void 0?void 0:st.nativeElement,scrollLeft:Mt})},onScroll:H,extraRender:pe},function(ct,nt,st){var Mt=Ot(ct.record,nt);return h.createElement(kr,{data:ct,rowKey:Mt,index:nt,style:st.style})}))}),ea=v(Wr),ar=ea,lr=function(ne,Le){var ke=Le.ref,ot=Le.onScroll;return h.createElement(ar,{ref:ke,data:ne,onScroll:ot})};function An(de,ne){var Le=de.data,ke=de.columns,ot=de.scroll,ft=de.sticky,It=de.prefixCls,Ot=It===void 0?Pt:It,Ft=de.className,zt=de.listItemHeight,En=de.components,an=de.onScroll,en=ot||{},$t=en.x,vn=en.y;typeof $t!="number"&&($t=1),typeof vn!="number"&&(vn=500);var S=(0,De.zX)(function(H,X){return(0,N.Z)(En,H)||X}),R=(0,De.zX)(an),W=h.useMemo(function(){return{sticky:ft,scrollY:vn,listItemHeight:zt,getComponent:S,onScroll:R}},[ft,vn,zt,S,R]);return h.createElement(fr.Provider,{value:W},h.createElement(Bn,(0,l.Z)({},de,{className:O()(Ft,"".concat(Ot,"-virtual")),scroll:(0,A.Z)((0,A.Z)({},ot),{},{x:$t}),components:(0,A.Z)((0,A.Z)({},En),{},{body:Le!=null&&Le.length?lr:void 0}),columns:ke,internalHooks:P,tailor:!0,ref:ne})))}var Kt=h.forwardRef(An);function Qt(de){return s(Kt,de)}var Xn=Qt(),zn=null,Tr=de=>null,Pr=de=>null,et=w(84105),Lt=w(82661),At=w(34643),yn=w(34061),Qn=w(18929);function vt(de){const[ne,Le]=(0,h.useState)(null);return[(0,h.useCallback)((ft,It,Ot)=>{const Ft=ne!=null?ne:ft,zt=Math.min(Ft||0,ft),En=Math.max(Ft||0,ft),an=It.slice(zt,En+1).map(vn=>de(vn)),en=an.some(vn=>!Ot.has(vn)),$t=[];return an.forEach(vn=>{en?(Ot.has(vn)||$t.push(vn),Ot.add(vn)):(Ot.delete(vn),$t.push(vn))}),Le(en?En:null),$t},[ne]),ft=>{Le(ft)}]}var vr=w(32383),Tn=w(62673),Yt=w(75727),Vn=w(47889);const yr={},Kn="SELECT_ALL",pr="SELECT_INVERT",Rn="SELECT_NONE",wr=[],mr=(de,ne)=>{let Le=[];return(ne||[]).forEach(ke=>{Le.push(ke),ke&&typeof ke=="object"&&de in ke&&(Le=[].concat((0,Zt.Z)(Le),(0,Zt.Z)(mr(de,ke[de]))))}),Le};var br=(de,ne)=>{const{preserveSelectedRowKeys:Le,selectedRowKeys:ke,defaultSelectedRowKeys:ot,getCheckboxProps:ft,onChange:It,onSelect:Ot,onSelectAll:Ft,onSelectInvert:zt,onSelectNone:En,onSelectMultiple:an,columnWidth:en,type:$t,selections:vn,fixed:S,renderCell:R,hideSelectAll:W,checkStrictly:H=!0}=ne||{},{prefixCls:X,data:J,pageData:ue,getRecordByKey:ie,getRowKey:Ae,expandType:pe,childrenColumnName:Oe,locale:je,getPopupContainer:Je}=de,yt=(0,vr.ln)("Table"),[ct,nt]=vt(Xt=>Xt),[st,Mt]=(0,Qn.Z)(ke||ot||wr,{value:ke}),Ct=h.useRef(new Map),Ut=(0,h.useCallback)(Xt=>{if(Le){const In=new Map;Xt.forEach(ln=>{let gn=ie(ln);!gn&&Ct.current.has(ln)&&(gn=Ct.current.get(ln)),In.set(ln,gn)}),Ct.current=In}},[ie,Le]);h.useEffect(()=>{Ut(st)},[st]);const Vt=(0,h.useMemo)(()=>mr(Oe,ue),[Oe,ue]),{keyEntities:Wn}=(0,h.useMemo)(()=>{if(H)return{keyEntities:null};let Xt=J;if(Le){const In=new Set(Vt.map((gn,_r)=>Ae(gn,_r))),ln=Array.from(Ct.current).reduce((gn,_r)=>{let[Fr,dr]=_r;return In.has(Fr)?gn:gn.concat(dr)},[]);Xt=[].concat((0,Zt.Z)(Xt),(0,Zt.Z)(ln))}return(0,yn.I8)(Xt,{externalGetKey:Ae,childrenPropName:Oe})},[J,Ae,H,Oe,Le,Vt]),sn=(0,h.useMemo)(()=>{const Xt=new Map;return Vt.forEach((In,ln)=>{const gn=Ae(In,ln),_r=(ft?ft(In):null)||{};Xt.set(gn,_r)}),Xt},[Vt,Ae,ft]),rr=(0,h.useCallback)(Xt=>{const In=Ae(Xt);let ln;return sn.has(In)?ln=sn.get(Ae(Xt)):ln=ft?ft(Xt):void 0,!!(ln!=null&&ln.disabled)},[sn,Ae]),[Hn,xr]=(0,h.useMemo)(()=>{if(H)return[st||[],[]];const{checkedKeys:Xt,halfCheckedKeys:In}=(0,At.S)(st,!0,Wn,rr);return[Xt||[],In]},[st,H,Wn,rr]),bn=(0,h.useMemo)(()=>{const Xt=$t==="radio"?Hn.slice(0,1):Hn;return new Set(Xt)},[Hn,$t]),Mn=(0,h.useMemo)(()=>$t==="radio"?new Set:new Set(xr),[xr,$t]);h.useEffect(()=>{ne||Mt(wr)},[!!ne]);const $n=(0,h.useCallback)((Xt,In)=>{let ln,gn;Ut(Xt),Le?(ln=Xt,gn=Xt.map(_r=>Ct.current.get(_r))):(ln=[],gn=[],Xt.forEach(_r=>{const Fr=ie(_r);Fr!==void 0&&(ln.push(_r),gn.push(Fr))})),Mt(ln),It==null||It(ln,gn,{type:In})},[Mt,ie,It,Le]),Dt=(0,h.useCallback)((Xt,In,ln,gn)=>{if(Ot){const _r=ln.map(Fr=>ie(Fr));Ot(ie(Xt),In,_r,gn)}$n(ln,"single")},[Ot,ie,$n]),cn=(0,h.useMemo)(()=>!vn||W?null:(vn===!0?[Kn,pr,Rn]:vn).map(In=>In===Kn?{key:"all",text:je.selectionAll,onSelect(){$n(J.map((ln,gn)=>Ae(ln,gn)).filter(ln=>{const gn=sn.get(ln);return!(gn!=null&&gn.disabled)||bn.has(ln)}),"all")}}:In===pr?{key:"invert",text:je.selectInvert,onSelect(){const ln=new Set(bn);ue.forEach((_r,Fr)=>{const dr=Ae(_r,Fr),aa=sn.get(dr);aa!=null&&aa.disabled||(ln.has(dr)?ln.delete(dr):ln.add(dr))});const gn=Array.from(ln);zt&&(yt.deprecated(!1,"onSelectInvert","onChange"),zt(gn)),$n(gn,"invert")}}:In===Rn?{key:"none",text:je.selectNone,onSelect(){En==null||En(),$n(Array.from(bn).filter(ln=>{const gn=sn.get(ln);return gn==null?void 0:gn.disabled}),"none")}}:In).map(In=>Object.assign(Object.assign({},In),{onSelect:function(){for(var ln,gn,_r=arguments.length,Fr=new Array(_r),dr=0;dr<_r;dr++)Fr[dr]=arguments[dr];(gn=In.onSelect)===null||gn===void 0||(ln=gn).call.apply(ln,[In].concat(Fr)),nt(null)}})),[vn,bn,ue,Ae,zt,$n]);return[(0,h.useCallback)(Xt=>{var In;if(!ne)return Xt.filter(Ba=>Ba!==yr);let ln=(0,Zt.Z)(Xt);const gn=new Set(bn),_r=Vt.map(Ae).filter(Ba=>!sn.get(Ba).disabled),Fr=_r.every(Ba=>gn.has(Ba)),dr=_r.some(Ba=>gn.has(Ba)),aa=()=>{const Ba=[];Fr?_r.forEach(Qa=>{gn.delete(Qa),Ba.push(Qa)}):_r.forEach(Qa=>{gn.has(Qa)||(gn.add(Qa),Ba.push(Qa))});const Ga=Array.from(gn);Ft==null||Ft(!Fr,Ga.map(Qa=>ie(Qa)),Ba.map(Qa=>ie(Qa))),$n(Ga,"all"),nt(null)};let pa,ba;if($t!=="radio"){let Ba;if(cn){const Ia={getPopupContainer:Je,items:cn.map((ri,Va)=>{const{key:_i,text:ii,onSelect:Oi}=ri;return{key:_i!=null?_i:Va,onClick:()=>{Oi==null||Oi(_r)},label:ii}})};Ba=h.createElement("div",{className:`${X}-selection-extra`},h.createElement(Yt.Z,{menu:Ia,getPopupContainer:Je},h.createElement("span",null,h.createElement(et.Z,null))))}const Ga=Vt.map((Ia,ri)=>{const Va=Ae(Ia,ri),_i=sn.get(Va)||{};return Object.assign({checked:gn.has(Va)},_i)}).filter(Ia=>{let{disabled:ri}=Ia;return ri}),Qa=!!Ga.length&&Ga.length===Vt.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(Tn.default,{checked:Qa?di:!!Vt.length&&Fr,indeterminate:Qa?!di&&li:!Fr&&dr,onChange:aa,disabled:Vt.length===0||Qa,"aria-label":Ba?"Custom selection":"Select all",skipGroup:!0}),pa=!W&&h.createElement("div",{className:`${X}-selection`},ba,Ba)}let Or;$t==="radio"?Or=(Ba,Ga,Qa)=>{const di=Ae(Ga,Qa),li=gn.has(di),Ia=sn.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;gn.has(di)||Dt(di,!0,[di],ri.nativeEvent),(Va=Ia==null?void 0:Ia.onChange)===null||Va===void 0||Va.call(Ia,ri)}})),checked:li}}:Or=(Ba,Ga,Qa)=>{var di;const li=Ae(Ga,Qa),Ia=gn.has(li),ri=Mn.has(li),Va=sn.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(Tn.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,$a=_r.findIndex(Mi=>Mi===li),Vo=Hn.some(Mi=>_r.includes(Mi));if(Ko&&H&&Vo){const Mi=ct($a,_r,gn),Ui=Array.from(gn);an==null||an(!Ia,Ui.map(Fi=>ie(Fi)),Mi.map(Fi=>ie(Fi))),$n(Ui,"multiple")}else{const Mi=Hn;if(H){const Ui=Ia?(0,Lt._5)(Mi,li):(0,Lt.L0)(Mi,li);Dt(li,!Ia,Ui,vo)}else{const Ui=(0,At.S)([].concat((0,Zt.Z)(Mi),[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}Dt(li,!Ia,Pi,vo)}}nt(Ia?null:$a),(Oi=Va==null?void 0:Va.onChange)===null||Oi===void 0||Oi.call(Va,ii)}})),checked:Ia}};const Kr=(Ba,Ga,Qa)=>{const{node:di,checked:li}=Or(Ba,Ga,Qa);return R?R(li,Ga,Qa,di):di};if(!ln.includes(yr))if(ln.findIndex(Ba=>{var Ga;return((Ga=Ba[Nn])===null||Ga===void 0?void 0:Ga.columnType)==="EXPAND_COLUMN"})===0){const[Ba,...Ga]=ln;ln=[Ba,yr].concat((0,Zt.Z)(Ga))}else ln=[yr].concat((0,Zt.Z)(ln));const Sa=ln.indexOf(yr);ln=ln.filter((Ba,Ga)=>Ba!==yr||Ga===Sa);const Za=ln[Sa-1],Pa=ln[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[Nn])===null||In===void 0?void 0:In.columnType)==="EXPAND_COLUMN"&&Za.fixed===void 0&&(Za.fixed=yi);const ai=O()(`${X}-selection-col`,{[`${X}-selection-col-with-dropdown`]:vn&&$t==="checkbox"}),Zi=()=>ne!=null&&ne.columnTitle?typeof ne.columnTitle=="function"?ne.columnTitle(ba):ne.columnTitle:pa,Ja={fixed:yi,width:en,className:`${X}-selection-column`,title:Zi(),render:Kr,onCell:ne.onCell,[Nn]:{className:ai}};return ln.map(Ba=>Ba===yr?Ja:Ba)},[Ae,Vt,ne,Hn,bn,Mn,en,cn,pe,sn,an,Dt,rr]),bn]},Ar=w(2738);function Ir(de,ne){return de._antProxy=de._antProxy||{},Object.keys(ne).forEach(Le=>{if(!(Le in de._antProxy)){const ke=de[Le];de._antProxy[Le]=ke,de[Le]=ne[Le]}}),de}function Jn(de,ne){return(0,h.useImperativeHandle)(de,()=>{const Le=ne(),{nativeElement:ke}=Le;return typeof Proxy!="undefined"?new Proxy(ke,{get(ot,ft){return Le[ft]?Le[ft]:Reflect.get(ot,ft)}}):Ir(ke,Le)})}var Er=w(83010),ra=w(48755),Gr=w(38406),Dr=w(83397),ur=w(31756),ca=w(13783),da=w(85981),sa=w(31709),fa=w(29787),$r=w(57700);function Ea(de){return ne=>{const{prefixCls:Le,onExpand:ke,record:ot,expanded:ft,expandable:It}=ne,Ot=`${Le}-row-expand-icon`;return h.createElement("button",{type:"button",onClick:Ft=>{ke(ot,Ft),Ft.stopPropagation()},className:O()(Ot,{[`${Ot}-spaced`]:!It,[`${Ot}-expanded`]:It&&ft,[`${Ot}-collapsed`]:It&&!ft}),"aria-label":ft?de.collapse:de.expand,"aria-expanded":ft})}}var Lr=Ea;function Qr(de){return(Le,ke)=>{const ot=Le.querySelector(`.${de}-container`);let ft=ke;if(ot){const It=getComputedStyle(ot),Ot=parseInt(It.borderLeftWidth,10),Ft=parseInt(It.borderRightWidth,10);ft=ke-Ot-Ft}return ft}}const fn=(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,Br=(de,ne)=>{const Le=Yn(de,ne);return Object.prototype.toString.call(Le)==="[object Object]"?"":Le};var jt={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=jt,ya=w(7657),oa=function(ne,Le){return h.createElement(ya.Z,(0,l.Z)({},ne,{ref:Le,icon:Xr}))},Aa=h.forwardRef(oa),Zn=Aa,na=w(9981),la=w(40192);function Jr(de){const ne=h.useRef(de),Le=(0,la.Z)();return[()=>ne.current,ke=>{ne.current=ke,Le()}]}var _a=w(7939),ha=w(584),Ua=w(93041),Xa=w(78857),Wa=w(18287),ei=w(47472),Fa=w(49397),jr=de=>{const{value:ne,filterSearch:Le,tablePrefixCls:ke,locale:ot,onChange:ft}=de;return Le?h.createElement("div",{className:`${ke}-filter-dropdown-search`},h.createElement(Fa.Z,{prefix:h.createElement(ei.Z,null),placeholder:ot.filterSearchPlaceholder,onChange:ft,value:ne,htmlSize:1,className:`${ke}-filter-dropdown-search-input`})):null},za=w(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:Le=>Le.stopPropagation(),onKeyDown:vi,ref:ne},de.children));function Vr(de){let ne=[];return(de||[]).forEach(Le=>{let{value:ke,children:ot}=Le;ne.push(ke),ot&&(ne=[].concat((0,Zt.Z)(ne),(0,Zt.Z)(Vr(ot))))}),ne}function Ha(de){return de.some(ne=>{let{children:Le}=ne;return Le})}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:Le,filteredKeys:ke,filterMultiple:ot,searchValue:ft,filterSearch:It}=de;return ne.map((Ot,Ft)=>{const zt=String(Ot.value);if(Ot.children)return{key:zt||Ft,label:Ot.text,popupClassName:`${Le}-dropdown-submenu`,children:La({filters:Ot.children,prefixCls:Le,filteredKeys:ke,filterMultiple:ot,searchValue:ft,filterSearch:It})};const En=ot?Tn.default:Vn.ZP,an={key:Ot.value!==void 0?zt:Ft,label:h.createElement(h.Fragment,null,h.createElement(En,{checked:ke.includes(zt)}),h.createElement("span",null,Ot.text))};return ft.trim()?typeof It=="function"?It(ft,Ot)?an:null:Oa(ft,Ot.text)?an:null:an})}function pn(de){return de||[]}var xa=de=>{var ne,Le,ke,ot;const{tablePrefixCls:ft,prefixCls:It,column:Ot,dropdownPrefixCls:Ft,columnKey:zt,filterOnClose:En,filterMultiple:an,filterMode:en="menu",filterSearch:$t=!1,filterState:vn,triggerFilter:S,locale:R,children:W,getPopupContainer:H,rootClassName:X}=de,{filterResetToDefaultFilteredValue:J,defaultFilteredValue:ue,filterDropdownProps:ie={},filterDropdownOpen:Ae,filterDropdownVisible:pe,onFilterDropdownVisibleChange:Oe,onFilterDropdownOpenChange:je}=Ot,[Je,yt]=h.useState(!1),ct=!!(vn&&(!((ne=vn.filteredKeys)===null||ne===void 0)&&ne.length||vn.forceFiltered)),nt=Or=>{var Kr;yt(Or),(Kr=ie.onOpenChange)===null||Kr===void 0||Kr.call(ie,Or),je==null||je(Or),Oe==null||Oe(Or)},st=(ot=(ke=(Le=ie.open)!==null&&Le!==void 0?Le:Ae)!==null&&ke!==void 0?ke:pe)!==null&&ot!==void 0?ot:Je,Mt=vn==null?void 0:vn.filteredKeys,[Ct,Ut]=Jr(pn(Mt)),Vt=Or=>{let{selectedKeys:Kr}=Or;Ut(Kr)},Wn=(Or,Kr)=>{let{node:Sa,checked:Za}=Kr;Vt(an?{selectedKeys:Or}:{selectedKeys:Za&&Sa.key?[Sa.key]:[]})};h.useEffect(()=>{Je&&Vt({selectedKeys:pn(Mt)})},[Mt]);const[sn,rr]=h.useState([]),Hn=Or=>{rr(Or)},[xr,bn]=h.useState(""),Mn=Or=>{const{value:Kr}=Or.target;bn(Kr)};h.useEffect(()=>{Je||bn("")},[Je]);const $n=Or=>{const Kr=Or!=null&&Or.length?Or:null;if(Kr===null&&(!vn||!vn.filteredKeys)||(0,p.Z)(Kr,vn==null?void 0:vn.filteredKeys,!0))return null;S({column:Ot,key:zt,filteredKeys:Kr})},Dt=()=>{nt(!1),$n(Ct())},cn=function(){let{confirm:Or,closeDropdown:Kr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Or&&$n([]),Kr&&nt(!1),bn(""),Ut(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),$n(Ct())},Xt=(Or,Kr)=>{Kr.source==="trigger"&&(Or&&Mt!==void 0&&Ut(pn(Mt)),nt(Or),!Or&&!Ot.filterDropdown&&En&&Dt())},In=O()({[`${Ft}-menu-without-submenu`]:!Ha(Ot.filters||[])}),ln=Or=>{if(Or.target.checked){const Kr=Vr(Ot==null?void 0:Ot.filters).map(Sa=>String(Sa));Ut(Kr)}else Ut([])},gn=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=gn({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 Ot.filterDropdown=="function")Fr=Ot.filterDropdown({prefixCls:`${Ft}-custom`,setSelectedKeys:Or=>Vt({selectedKeys:Or}),selectedKeys:Ct(),confirm:Un,clearFilters:cn,filters:Ot.filters,visible:st,close:()=>{nt(!1)}});else if(Ot.filterDropdown)Fr=Ot.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((Ot.filters||[]).length===0)return yi;if(en==="tree")return h.createElement(h.Fragment,null,h.createElement(jr,{filterSearch:$t,value:xr,onChange:Mn,tablePrefixCls:ft,locale:R}),h.createElement("div",{className:`${ft}-filter-dropdown-tree`},an?h.createElement(Tn.default,{checked:Or.length===Vr(Ot.filters).length,indeterminate:Or.length>0&&Or.length<Vr(Ot.filters).length,className:`${ft}-filter-dropdown-checkall`,onChange:ln},(Pa=R==null?void 0:R.filterCheckall)!==null&&Pa!==void 0?Pa:R==null?void 0:R.filterCheckAll):null,h.createElement(Wa.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:an,checkStrictly:!an,className:`${Ft}-menu`,onCheck:Wn,checkedKeys:Or,selectedKeys:Or,showIcon:!1,treeData:gn({filters:Ot.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:xr.trim()?Ja=>typeof $t=="function"?$t(xr,_r(Ja)):Oa(xr,Ja.title):void 0})));const ai=La({filters:Ot.filters||[],filterSearch:$t,prefixCls:It,filteredKeys:Ct(),filterMultiple:an,searchValue:xr}),Zi=ai.every(Ja=>Ja===null);return h.createElement(h.Fragment,null,h.createElement(jr,{filterSearch:$t,value:xr,onChange:Mn,tablePrefixCls:ft,locale:R}),Zi?yi:h.createElement(Ua.default,{selectable:!0,multiple:an,prefixCls:`${Ft}-menu`,className:In,onSelect:Vt,onDeselect:Vt,selectedKeys:Or,getPopupContainer:H,openKeys:sn,onOpenChange:Hn,items:ai}))},Sa=()=>J?(0,p.Z)((ue||[]).map(Za=>String(Za)),Or,!0):Or.length===0;Fr=h.createElement(h.Fragment,null,Kr(),h.createElement("div",{className:`${It}-dropdown-btns`},h.createElement(_a.ZP,{type:"link",size:"small",disabled:Sa(),onClick:()=>cn()},R.filterReset),h.createElement(_a.ZP,{type:"primary",size:"small",onClick:Dt},R.filterConfirm)))}Ot.filterDropdown&&(Fr=h.createElement(Xa.J,{selectable:void 0},Fr)),Fr=h.createElement(ir,{className:`${It}-dropdown`},Fr);const pa=()=>{let Or;return typeof Ot.filterIcon=="function"?Or=Ot.filterIcon(ct):Ot.filterIcon?Or=Ot.filterIcon:Or=h.createElement(Zn,null),h.createElement("span",{role:"button",tabIndex:-1,className:O()(`${It}-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({},ie),{rootClassName:O()(X,ie.rootClassName),open:st,onOpenChange:Xt,dropdownRender:()=>typeof(ie==null?void 0:ie.dropdownRender)=="function"?ie.dropdownRender(Fr):Fr}));return h.createElement("div",{className:`${It}-column`},h.createElement("span",{className:`${ft}-column-title`},W),h.createElement(Yt.Z,Object.assign({},ba)))};const Sr=(de,ne,Le)=>{let ke=[];return(de||[]).forEach((ot,ft)=>{var It;const Ot=kn(ft,Le);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Ft=ot.filteredValue;"filterDropdown"in ot||(Ft=(It=Ft==null?void 0:Ft.map(String))!==null&&It!==void 0?It:Ft),ke.push({column:ot,key:fn(ot,Ot),filteredKeys:Ft,forceFiltered:ot.filtered})}else ke.push({column:ot,key:fn(ot,Ot),filteredKeys:ne&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(ke=[].concat((0,Zt.Z)(ke),(0,Zt.Z)(Sr(ot.children,ne,Ot))))}),ke};function ta(de,ne,Le,ke,ot,ft,It,Ot,Ft){return Le.map((zt,En)=>{const an=kn(En,Ot),{filterOnClose:en=!0,filterMultiple:$t=!0,filterMode:vn,filterSearch:S}=zt;let R=zt;if(R.filters||R.filterDropdown){const W=fn(R,an),H=ke.find(X=>{let{key:J}=X;return W===J});R=Object.assign(Object.assign({},R),{title:X=>h.createElement(xa,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ne,column:R,columnKey:W,filterState:H,filterOnClose:en,filterMultiple:$t,filterMode:vn,filterSearch:S,triggerFilter:ft,locale:ot,getPopupContainer:It,rootClassName:Ft},Yn(zt.title,X))})}return"children"in R&&(R=Object.assign(Object.assign({},R),{children:ta(de,ne,R.children,ke,ot,ft,It,an,Ft)})),R})}const Ur=de=>{const ne={};return de.forEach(Le=>{let{key:ke,filteredKeys:ot,column:ft}=Le;const It=ke,{filters:Ot,filterDropdown:Ft}=ft;if(Ft)ne[It]=ot||null;else if(Array.isArray(ot)){const zt=Vr(Ot);ne[It]=zt.filter(En=>ot.includes(String(En)))}else ne[It]=null}),ne},Zr=(de,ne,Le)=>ne.reduce((ot,ft)=>{const{column:{onFilter:It,filters:Ot},filteredKeys:Ft}=ft;return It&&Ft&&Ft.length?ot.map(zt=>Object.assign({},zt)).filter(zt=>Ft.some(En=>{const an=Vr(Ot),en=an.findIndex(vn=>String(vn)===String(En)),$t=en!==-1?an[en]:En;return zt[Le]&&(zt[Le]=Zr(zt[Le],ne,Le)),It($t,zt)})):ot},de),ua=de=>de.flatMap(ne=>"children"in ne?[ne].concat((0,Zt.Z)(ua(ne.children||[]))):[ne]);var ma=de=>{const{prefixCls:ne,dropdownPrefixCls:Le,mergedColumns:ke,onFilterChange:ot,getPopupContainer:ft,locale:It,rootClassName:Ot}=de,Ft=(0,vr.ln)("Table"),zt=h.useMemo(()=>ua(ke||[]),[ke]),[En,an]=h.useState(()=>Sr(zt,!0)),en=h.useMemo(()=>{const R=Sr(zt,!1);if(R.length===0)return R;let W=!0,H=!0;if(R.forEach(X=>{let{filteredKeys:J}=X;J!==void 0?W=!1:H=!1}),W){const X=(zt||[]).map((J,ue)=>fn(J,kn(ue)));return En.filter(J=>{let{key:ue}=J;return X.includes(ue)}).map(J=>{const ue=zt[X.findIndex(ie=>ie===J.key)];return Object.assign(Object.assign({},J),{column:Object.assign(Object.assign({},J.column),ue),forceFiltered:ue.filtered})})}return R},[zt,En]),$t=h.useMemo(()=>Ur(en),[en]),vn=R=>{const W=en.filter(H=>{let{key:X}=H;return X!==R.key});W.push(R),an(W),ot(Ur(W),W)};return[R=>ta(ne,Le,R,en,It,vn,ft,void 0,Ot),en,$t]},ka=(de,ne,Le)=>{const ke=h.useRef({});function ot(ft){var It;if(!ke.current||ke.current.data!==de||ke.current.childrenColumnName!==ne||ke.current.getRowKey!==Le){let Ft=function(zt){zt.forEach((En,an)=>{const en=Le(En,an);Ot.set(en,En),En&&typeof En=="object"&&ne in En&&Ft(En[ne]||[])})};const Ot=new Map;Ft(de),ke.current={data:de,childrenColumnName:ne,kvMap:Ot,getRowKey:Le}}return(It=ke.current.kvMap)===null||It===void 0?void 0:It.get(ft)}return[ot]},ui=function(de,ne){var Le={};for(var ke in de)Object.prototype.hasOwnProperty.call(de,ke)&&ne.indexOf(ke)<0&&(Le[ke]=de[ke]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ke=Object.getOwnPropertySymbols(de);ot<ke.length;ot++)ne.indexOf(ke[ot])<0&&Object.prototype.propertyIsEnumerable.call(de,ke[ot])&&(Le[ke[ot]]=de[ke[ot]]);return Le};const qa=10;function Ai(de,ne){const Le={current:de.current,pageSize:de.pageSize};return Object.keys(ne&&typeof ne=="object"?ne:{}).forEach(ot=>{const ft=de[ot];typeof ft!="function"&&(Le[ot]=ft)}),Le}function Ma(de,ne,Le){const ke=Le&&typeof Le=="object"?Le:{},{total:ot=0}=ke,ft=ui(ke,["total"]),[It,Ot]=(0,h.useState)(()=>({current:"defaultCurrent"in ft?ft.defaultCurrent:1,pageSize:"defaultPageSize"in ft?ft.defaultPageSize:qa})),Ft=(0,na.Z)(It,ft,{total:ot>0?ot:de}),zt=Math.ceil((ot||de)/Ft.pageSize);Ft.current>zt&&(Ft.current=zt||1);const En=(en,$t)=>{Ot({current:en!=null?en:1,pageSize:$t||Ft.pageSize})},an=(en,$t)=>{var vn;Le&&((vn=Le.onChange)===null||vn===void 0||vn.call(Le,en,$t)),En(en,$t),ne(en,$t||(Ft==null?void 0:Ft.pageSize))};return Le===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ft),{onChange:an}),En]}var pi=Ma,Bi=w(89489),xo=w(59477),Co=w(25399);const $i="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,Le)=>{let ke=[];const ot=(ft,It)=>{ke.push({column:ft,key:fn(ft,It),multiplePriority:ki(ft),sortOrder:ft.sortOrder})};return(de||[]).forEach((ft,It)=>{const Ot=kn(It,Le);ft.children?("sortOrder"in ft&&ot(ft,Ot),ke=[].concat((0,Zt.Z)(ke),(0,Zt.Z)(io(ft.children,ne,Ot)))):ft.sorter&&("sortOrder"in ft?ot(ft,Ot):ne&&ft.defaultSortOrder&&ke.push({column:ft,key:fn(ft,Ot),multiplePriority:ki(ft),sortOrder:ft.defaultSortOrder}))}),ke},bo=(de,ne,Le,ke,ot,ft,It,Ot)=>(ne||[]).map((zt,En)=>{const an=kn(En,Ot);let en=zt;if(en.sorter){const $t=en.sortDirections||ot,vn=en.showSorterTooltip===void 0?It:en.showSorterTooltip,S=fn(en,an),R=Le.find(Oe=>{let{key:je}=Oe;return je===S}),W=R?R.sortOrder:null,H=Lo($t,W);let X;if(zt.sortIcon)X=zt.sortIcon({sortOrder:W});else{const Oe=$t.includes($i)&&h.createElement(xo.Z,{className:O()(`${de}-column-sorter-up`,{active:W===$i})}),je=$t.includes(ao)&&h.createElement(Bi.Z,{className:O()(`${de}-column-sorter-down`,{active:W===ao})});X=h.createElement("span",{className:O()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(Oe&&je)})},h.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},Oe,je))}const{cancelSort:J,triggerAsc:ue,triggerDesc:ie}=ft||{};let Ae=J;H===ao?Ae=ie:H===$i&&(Ae=ue);const pe=typeof vn=="object"?Object.assign({title:Ae},vn):{title:Ae};en=Object.assign(Object.assign({},en),{className:O()(en.className,{[`${de}-column-sort`]:W}),title:Oe=>{const je=`${de}-column-sorters`,Je=h.createElement("span",{className:`${de}-column-title`},Yn(zt.title,Oe)),yt=h.createElement("div",{className:je},Je,X);return vn?typeof vn!="boolean"&&(vn==null?void 0:vn.target)==="sorter-icon"?h.createElement("div",{className:`${je} ${de}-column-sorters-tooltip-target-sorter`},Je,h.createElement(Co.Z,Object.assign({},pe),X)):h.createElement(Co.Z,Object.assign({},pe),yt):yt},onHeaderCell:Oe=>{var je;const Je=((je=zt.onHeaderCell)===null||je===void 0?void 0:je.call(zt,Oe))||{},yt=Je.onClick,ct=Je.onKeyDown;Je.onClick=Mt=>{ke({column:zt,key:S,sortOrder:H,multiplePriority:ki(zt)}),yt==null||yt(Mt)},Je.onKeyDown=Mt=>{Mt.keyCode===za.Z.ENTER&&(ke({column:zt,key:S,sortOrder:H,multiplePriority:ki(zt)}),ct==null||ct(Mt))};const nt=Br(zt.title,{}),st=nt==null?void 0:nt.toString();return W&&(Je["aria-sort"]=W==="ascend"?"ascending":"descending"),Je["aria-label"]=st||"",Je.className=O()(Je.className,`${de}-column-has-sorters`),Je.tabIndex=0,zt.ellipsis&&(Je.title=(nt!=null?nt:"").toString()),Je}})}return"children"in en&&(en=Object.assign(Object.assign({},en),{children:bo(de,en.children,Le,ke,ot,ft,It,an)})),en}),oo=de=>{const{column:ne,sortOrder:Le}=de;return{column:ne,order:Le,field:ne.dataIndex,columnKey:ne.key}},so=de=>{const ne=de.filter(Le=>{let{sortOrder:ke}=Le;return ke}).map(oo);if(ne.length===0&&de.length){const Le=de.length-1;return Object.assign(Object.assign({},oo(de[Le])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ne.length<=1?ne[0]||{}:ne},Xi=(de,ne,Le)=>{const ke=ne.slice().sort((It,Ot)=>Ot.multiplePriority-It.multiplePriority),ot=de.slice(),ft=ke.filter(It=>{let{column:{sorter:Ot},sortOrder:Ft}=It;return Gi(Ot)&&Ft});return ft.length?ot.sort((It,Ot)=>{for(let Ft=0;Ft<ft.length;Ft+=1){const zt=ft[Ft],{column:{sorter:En},sortOrder:an}=zt,en=Gi(En);if(en&&an){const $t=en(It,Ot,an);if($t!==0)return an===$i?$t:-$t}}return 0}).map(It=>{const Ot=It[Le];return Ot?Object.assign(Object.assign({},It),{[Le]:Xi(Ot,ne,Le)}):It}):ot};var Si=de=>{const{prefixCls:ne,mergedColumns:Le,sortDirections:ke,tableLocale:ot,showSorterTooltip:ft,onSorterChange:It}=de,[Ot,Ft]=h.useState(io(Le,!0)),zt=(S,R)=>{const W=[];return S.forEach((H,X)=>{const J=kn(X,R);if(W.push(fn(H,J)),Array.isArray(H.children)){const ue=zt(H.children,J);W.push.apply(W,(0,Zt.Z)(ue))}}),W},En=h.useMemo(()=>{let S=!0;const R=io(Le,!1);if(!R.length){const J=zt(Le);return Ot.filter(ue=>{let{key:ie}=ue;return J.includes(ie)})}const W=[];function H(J){S?W.push(J):W.push(Object.assign(Object.assign({},J),{sortOrder:null}))}let X=null;return R.forEach(J=>{X===null?(H(J),J.sortOrder&&(J.multiplePriority===!1?S=!1:X=!0)):(X&&J.multiplePriority!==!1||(S=!1),H(J))}),W},[Le,Ot]),an=h.useMemo(()=>{var S,R;const W=En.map(H=>{let{column:X,sortOrder:J}=H;return{column:X,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}},[En]),en=S=>{let R;S.multiplePriority===!1||!En.length||En[0].multiplePriority===!1?R=[S]:R=[].concat((0,Zt.Z)(En.filter(W=>{let{key:H}=W;return H!==S.key})),[S]),Ft(R),It(so(R),R)};return[S=>bo(ne,S,En,en,ke,ot,ft),En,an,()=>so(En)]};const si=(de,ne)=>de.map(ke=>{const ot=Object.assign({},ke);return ot.title=Yn(ke.title,ne),"children"in ot&&(ot.children=si(ot.children,ne)),ot});var Yi=de=>[h.useCallback(Le=>si(Le,de),[de])],Ro=Cr((de,ne)=>{const{_renderTimes:Le}=de,{_renderTimes:ke}=ne;return Le!==ke}),Bo=Qt((de,ne)=>{const{_renderTimes:Le}=de,{_renderTimes:ke}=ne;return Le!==ke}),ia=w(36237),eo=w(17835),Qi=w(63356),bi=w(16931),uo=w(51636),co=de=>{const{componentCls:ne,lineWidth:Le,lineType:ke,tableBorderColor:ot,tableHeaderBg:ft,tablePaddingVertical:It,tablePaddingHorizontal:Ot,calc:Ft}=de,zt=`${(0,ia.unit)(Le)} ${ke} ${ot}`,En=(an,en,$t)=>({[`&${ne}-${an}`]:{[`> ${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)(Ft(en).mul(-1).equal())}
|
|
|
${(0,ia.unit)(Ft(Ft($t).add(Le)).mul(-1).equal())}`}}}}}});return{[`${ne}-wrapper`]:{[`${ne}${ne}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ne}-title`]:{border:zt,borderBottom:0},[`> ${ne}-container`]:{borderInlineStart:zt,borderTop:zt,[`
|
|
|
> ${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:zt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:zt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ne}-cell-fix-right-first::after`]:{borderInlineEnd:zt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ne}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(Ft(It).mul(-1).equal())} ${(0,ia.unit)(Ft(Ft(Ot).add(Le)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Le,bottom:0,borderInlineEnd:zt,content:'""'}}}}}},[`&${ne}-scroll-horizontal`]:{[`> ${ne}-container > ${ne}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ne}-expanded-row,
|
|
|
> tr${ne}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},En("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),En("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ne}-footer`]:{border:zt,borderTop:0}}),[`${ne}-cell`]:{[`${ne}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ia.unit)(Le)} 0 ${(0,ia.unit)(Le)} ${ft}`}},[`${ne}-bordered ${ne}-cell-scrollbar`]:{borderInlineEnd:zt}}}},No=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}}}}},wo=de=>{const{componentCls:ne,antCls:Le,motionDurationSlow:ke,lineWidth:ot,paddingXS:ft,lineType:It,tableBorderColor:Ot,tableExpandIconBg:Ft,tableExpandColumnWidth:zt,borderRadius:En,tablePaddingVertical:an,tablePaddingHorizontal:en,tableExpandedRowBg:$t,paddingXXS:vn,expandIconMarginTop:S,expandIconSize:R,expandIconHalfInner:W,expandIconScale:H,calc:X}=de,J=`${(0,ia.unit)(ot)} ${It} ${Ot}`,ue=X(vn).sub(ot).equal();return{[`${ne}-wrapper`]:{[`${ne}-expand-icon-col`]:{width:zt},[`${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:Ft,border:J,borderRadius:En,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:ot},"&::after":{top:ue,bottom:ue,insetInlineStart:W,width:ot,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:ft},[`tr${ne}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:$t}},[`${Le}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ne}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ia.unit)(X(an).mul(-1).equal())} ${(0,ia.unit)(X(en).mul(-1).equal())}`,padding:`${(0,ia.unit)(an)} ${(0,ia.unit)(en)}`}}}},fo=de=>{const{componentCls:ne,antCls:Le,iconCls:ke,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:ft,paddingXXS:It,paddingXS:Ot,colorText:Ft,lineWidth:zt,lineType:En,tableBorderColor:an,headerIconColor:en,fontSizeSM:$t,tablePaddingHorizontal:vn,borderRadius:S,motionDurationSlow:R,colorTextDescription:W,colorPrimary:H,tableHeaderFilterActiveBg:X,colorTextDisabled:J,tableFilterDropdownBg:ue,tableFilterDropdownHeight:ie,controlItemBgHover:Ae,controlItemBgActive:pe,boxShadowSecondary:Oe,filterDropdownMenuBg:je,calc:Je}=de,yt=`${Le}-dropdown`,ct=`${ne}-filter-dropdown`,nt=`${Le}-tree`,st=`${(0,ia.unit)(zt)} ${En} ${an}`;return[{[`${ne}-wrapper`]:{[`${ne}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ne}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Je(It).mul(-1).equal(),marginInline:`${(0,ia.unit)(It)} ${(0,ia.unit)(Je(vn).div(2).mul(-1).equal())}`,padding:`0 ${(0,ia.unit)(It)}`,color:en,fontSize:$t,borderRadius:S,cursor:"pointer",transition:`all ${R}`,"&:hover":{color:W,background:X},"&.active":{color:H}}}},{[`${Le}-dropdown`]:{[ct]:Object.assign(Object.assign({},(0,Qi.Wf)(de)),{minWidth:ot,backgroundColor:ue,borderRadius:S,boxShadow:Oe,overflow:"hidden",[`${yt}-menu`]:{maxHeight:ie,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:je,"&:empty::after":{display:"block",padding:`${(0,ia.unit)(Ot)} 0`,color:J,fontSize:$t,textAlign:"center",content:'"Not Found"'}},[`${ct}-tree`]:{paddingBlock:`${(0,ia.unit)(Ot)} 0`,paddingInline:Ot,[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:Ot,borderBottom:st,"&-input":{input:{minWidth:ft},[ke]:{color:J}}},[`${ct}-checkall`]:{width:"100%",marginBottom:It,marginInlineStart:It},[`${ct}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ia.unit)(Je(Ot).sub(zt).equal())} ${(0,ia.unit)(Ot)}`,overflow:"hidden",borderTop:st}})}},{[`${Le}-dropdown ${ct}, ${ct}-submenu`]:{[`${Le}-checkbox-wrapper + span`]:{paddingInlineStart:Ot,color:Ft},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},go=de=>{const{componentCls:ne,lineWidth:Le,colorSplit:ke,motionDurationSlow:ot,zIndexTableFixed:ft,tableBg:It,zIndexTableSticky:Ot,calc:Ft}=de,zt=ke;return{[`${ne}-wrapper`]:{[`
|
|
|
${ne}-cell-fix-left,
|
|
|
${ne}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:ft,background:It},[`
|
|
|
${ne}-cell-fix-left-first::after,
|
|
|
${ne}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Ft(Le).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,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:Ft(Le).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${ne}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ft(Ot).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${ot}`,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 ${zt}`},[`
|
|
|
${ne}-cell-fix-left-first::after,
|
|
|
${ne}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${zt}`},[`${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 ${zt}`},[`
|
|
|
${ne}-cell-fix-right-first::after,
|
|
|
${ne}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${zt}`}},[`${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:Le,margin:ke}=de;return{[`${ne}-wrapper`]:{[`${ne}-pagination${Le}-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:Le}=de;return{[`${ne}-wrapper`]:{[ne]:{[`${ne}-title, ${ne}-header`]:{borderRadius:`${(0,ia.unit)(Le)} ${(0,ia.unit)(Le)} 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:Le,borderStartEndRadius:Le,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Le},"> *:last-child":{borderStartEndRadius:Le}}},"&-footer":{borderRadius:`0 0 ${(0,ia.unit)(Le)} ${(0,ia.unit)(Le)}`}}}}},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:Le,iconCls:ke,fontSizeIcon:ot,padding:ft,paddingXS:It,headerIconColor:Ot,headerIconHoverColor:Ft,tableSelectionColumnWidth:zt,tableSelectedRowBg:En,tableSelectedRowHoverBg:an,tableRowHoverBg:en,tablePaddingHorizontal:$t,calc:vn}=de;return{[`${ne}-wrapper`]:{[`${ne}-selection-col`]:{width:zt,[`&${ne}-selection-col-with-dropdown`]:{width:vn(zt).add(ot).add(vn(ft).div(4)).equal()}},[`${ne}-bordered ${ne}-selection-col`]:{width:vn(zt).add(vn(It).mul(2)).equal(),[`&${ne}-selection-col-with-dropdown`]:{width:vn(zt).add(ot).add(vn(ft).div(4)).add(vn(It).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",[`${Le}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ne}-selection-column${ne}-cell-fix-left`]:{zIndex:vn(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)(vn($t).div(4).equal()),[ke]:{color:Ot,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Ft}}},[`${ne}-tbody`]:{[`${ne}-row`]:{[`&${ne}-row-selected`]:{[`> ${ne}-cell`]:{background:En,"&-row-hover":{background:an}}},[`> ${ne}-cell-row-hover`]:{background:en}}}}}},ho=de=>{const{componentCls:ne,tableExpandColumnWidth:Le,calc:ke}=de,ot=(ft,It,Ot,Ft)=>({[`${ne}${ne}-${ft}`]:{fontSize:Ft,[`
|
|
|
${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)(It)} ${(0,ia.unit)(Ot)}`},[`${ne}-filter-trigger`]:{marginInlineEnd:(0,ia.unit)(ke(Ot).div(2).mul(-1).equal())},[`${ne}-expanded-row-fixed`]:{margin:`${(0,ia.unit)(ke(It).mul(-1).equal())} ${(0,ia.unit)(ke(Ot).mul(-1).equal())}`},[`${ne}-tbody`]:{[`${ne}-wrapper:only-child ${ne}`]:{marginBlock:(0,ia.unit)(ke(It).mul(-1).equal()),marginInline:`${(0,ia.unit)(ke(Le).sub(Ot).equal())} ${(0,ia.unit)(ke(Ot).mul(-1).equal())}`}},[`${ne}-selection-extra`]:{paddingInlineStart:(0,ia.unit)(ke(Ot).div(4).equal())}}});return{[`${ne}-wrapper`]:Object.assign(Object.assign({},ot("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),ot("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},yo=de=>{const{componentCls:ne,marginXXS:Le,fontSizeIcon:ke,headerIconColor:ot,headerIconHoverColor:ft}=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:Le,color:ot,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:ft}}}},To=de=>{const{componentCls:ne,opacityLoading:Le,tableScrollThumbBg:ke,tableScrollThumbBgHover:ot,tableScrollThumbSize:ft,tableScrollBg:It,zIndexTableSticky:Ot,stickyScrollBarBorderRadius:Ft,lineWidth:zt,lineType:En,tableBorderColor:an}=de,en=`${(0,ia.unit)(zt)} ${En} ${an}`;return{[`${ne}-wrapper`]:{[`${ne}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ot,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ia.unit)(ft)} !important`,zIndex:Ot,display:"flex",alignItems:"center",background:It,borderTop:en,opacity:Le,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ft,backgroundColor:ke,borderRadius:Ft,transition:`all ${de.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Nr=de=>{const{componentCls:ne,lineWidth:Le,tableBorderColor:ke,calc:ot}=de,ft=`${(0,ia.unit)(Le)} ${de.lineType} ${ke}`;return{[`${ne}-wrapper`]:{[`${ne}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:ft}}},[`div${ne}-summary`]:{boxShadow:`0 ${(0,ia.unit)(ot(Le).mul(-1).equal())} 0 ${ke}`}}}},zr=de=>{const{componentCls:ne,motionDurationMid:Le,lineWidth:ke,lineType:ot,tableBorderColor:ft,calc:It}=de,Ot=`${(0,ia.unit)(ke)} ${ot} ${ft}`,Ft=`${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:Ot,transition:`background ${Le}`},[`${ne}-expanded-row`]:{[`${Ft}${Ft}-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:Ot,position:"absolute"},[`${ne}-cell`]:{borderInlineEnd:Ot,[`&${ne}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:It(ke).mul(-1).equal(),borderInlineStart:Ot}}},[`&${ne}-virtual`]:{[`${ne}-placeholder ${ne}-cell`]:{borderInlineEnd:Ot,borderBottom:Ot}}}}}};const Ra=de=>{const{componentCls:ne,fontWeightStrong:Le,tablePaddingVertical:ke,tablePaddingHorizontal:ot,tableExpandColumnWidth:ft,lineWidth:It,lineType:Ot,tableBorderColor:Ft,tableFontSize:zt,tableBg:En,tableRadius:an,tableHeaderTextColor:en,motionDurationMid:$t,tableHeaderBg:vn,tableHeaderCellSplitColor:S,tableFooterTextColor:R,tableFooterBg:W,calc:H}=de,X=`${(0,ia.unit)(It)} ${Ot} ${Ft}`;return{[`${ne}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Qi.dF)()),{[ne]:Object.assign(Object.assign({},(0,Qi.Wf)(de)),{fontSize:zt,background:En,borderRadius:`${(0,ia.unit)(an)} ${(0,ia.unit)(an)} 0 0`,scrollbarColor:`${de.tableScrollThumbBg} ${de.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ia.unit)(an)} ${(0,ia.unit)(an)} 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)(ot)}`,overflowWrap:"break-word"},[`${ne}-title`]:{padding:`${(0,ia.unit)(ke)} ${(0,ia.unit)(ot)}`},[`${ne}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:en,fontWeight:Le,textAlign:"start",background:vn,borderBottom:X,transition:`background ${$t} 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 ${$t}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ne}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${$t}, border-color ${$t}`,borderBottom:X,[`
|
|
|
> ${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(ft).sub(ot).equal())}
|
|
|
${(0,ia.unit)(H(ot).mul(-1).equal())}`,[`${ne}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:en,fontWeight:Le,textAlign:"start",background:vn,borderBottom:X,transition:`background ${$t} ease`}}},[`${ne}-footer`]:{padding:`${(0,ia.unit)(ke)} ${(0,ia.unit)(ot)}`,color:R,background:W}})}},Ca=de=>{const{colorFillAlter:ne,colorBgContainer:Le,colorTextHeading:ke,colorFillSecondary:ot,colorFillContent:ft,controlItemBgActive:It,controlItemBgActiveHover:Ot,padding:Ft,paddingSM:zt,paddingXS:En,colorBorderSecondary:an,borderRadiusLG:en,controlHeight:$t,colorTextPlaceholder:vn,fontSize:S,fontSizeSM:R,lineHeight:W,lineWidth:H,colorIcon:X,colorIconHover:J,opacityLoading:ue,controlInteractiveSize:ie}=de,Ae=new eo.FastColor(ot).onBackground(Le).toHexString(),pe=new eo.FastColor(ft).onBackground(Le).toHexString(),Oe=new eo.FastColor(ne).onBackground(Le).toHexString(),je=new eo.FastColor(X),Je=new eo.FastColor(J),yt=ie/2-H,ct=yt*2+H*3;return{headerBg:Oe,headerColor:ke,headerSortActiveBg:Ae,headerSortHoverBg:pe,bodySortBg:Oe,rowHoverBg:Oe,rowSelectedBg:It,rowSelectedHoverBg:Ot,rowExpandedBg:ne,cellPaddingBlock:Ft,cellPaddingInline:Ft,cellPaddingBlockMD:zt,cellPaddingInlineMD:En,cellPaddingBlockSM:En,cellPaddingInlineSM:En,borderColor:an,headerBorderRadius:en,footerBg:Oe,footerColor:ke,cellFontSize:S,cellFontSizeMD:S,cellFontSizeSM:S,headerSplitColor:an,fixedHeaderSortActiveBg:Ae,headerFilterHoverBg:ft,filterDropdownMenuBg:Le,filterDropdownBg:Le,expandIconBg:Le,selectionColumnWidth:$t,stickyScrollBarBg:vn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(S*W-H*3)/2-Math.ceil((R*1.4-H*3)/2),headerIconColor:je.clone().setA(je.a*ue).toRgbString(),headerIconHoverColor:Je.clone().setA(Je.a*ue).toRgbString(),expandIconHalfInner:yt,expandIconSize:ct,expandIconScale:ie/ct}},Da=2;var ja=(0,bi.I$)("Table",de=>{const{colorTextHeading:ne,colorSplit:Le,colorBgContainer:ke,controlInteractiveSize:ot,headerBg:ft,headerColor:It,headerSortActiveBg:Ot,headerSortHoverBg:Ft,bodySortBg:zt,rowHoverBg:En,rowSelectedBg:an,rowSelectedHoverBg:en,rowExpandedBg:$t,cellPaddingBlock:vn,cellPaddingInline:S,cellPaddingBlockMD:R,cellPaddingInlineMD:W,cellPaddingBlockSM:H,cellPaddingInlineSM:X,borderColor:J,footerBg:ue,footerColor:ie,headerBorderRadius:Ae,cellFontSize:pe,cellFontSizeMD:Oe,cellFontSizeSM:je,headerSplitColor:Je,fixedHeaderSortActiveBg:yt,headerFilterHoverBg:ct,filterDropdownBg:nt,expandIconBg:st,selectionColumnWidth:Mt,stickyScrollBarBg:Ct,calc:Ut}=de,Vt=(0,uo.mergeToken)(de,{tableFontSize:pe,tableBg:ke,tableRadius:Ae,tablePaddingVertical:vn,tablePaddingHorizontal:S,tablePaddingVerticalMiddle:R,tablePaddingHorizontalMiddle:W,tablePaddingVerticalSmall:H,tablePaddingHorizontalSmall:X,tableBorderColor:J,tableHeaderTextColor:It,tableHeaderBg:ft,tableFooterTextColor:ie,tableFooterBg:ue,tableHeaderCellSplitColor:Je,tableHeaderSortBg:Ot,tableHeaderSortHoverBg:Ft,tableBodySortBg:zt,tableFixedHeaderSortActiveBg:yt,tableHeaderFilterActiveBg:ct,tableFilterDropdownBg:nt,tableRowHoverBg:En,tableSelectedRowBg:an,tableSelectedRowHoverBg:en,zIndexTableFixed:Da,zIndexTableSticky:Ut(Da).add(1).equal({unit:!1}),tableFontSizeMiddle:Oe,tableFontSizeSmall:je,tableSelectionColumnWidth:Mt,tableExpandIconBg:st,tableExpandColumnWidth:Ut(ot).add(Ut(de.padding).mul(2)).equal(),tableExpandedRowBg:$t,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ct,tableScrollThumbBgHover:ne,tableScrollBg:Le});return[Ra(Vt),Oo(Vt),Nr(Vt),yo(Vt),fo(Vt),co(Vt),Li(Vt),wo(Vt),Nr(Vt),Fo(Vt),to(Vt),go(Vt),To(Vt),No(Vt),ho(Vt),Wo(Vt),zr(Vt)]},Ca,{unitless:{expandIconScale:!0}});const ti=[],ci=(de,ne)=>{var Le,ke;const{prefixCls:ot,className:ft,rootClassName:It,style:Ot,size:Ft,bordered:zt,dropdownPrefixCls:En,dataSource:an,pagination:en,rowSelection:$t,rowKey:vn="key",rowClassName:S,columns:R,children:W,childrenColumnName:H,onChange:X,getPopupContainer:J,loading:ue,expandIcon:ie,expandable:Ae,expandedRowRender:pe,expandIconColumnIndex:Oe,indentSize:je,scroll:Je,sortDirections:yt,locale:ct,showSorterTooltip:nt={target:"full-header"},virtual:st}=de,Mt=(0,vr.ln)("Table"),Ct=h.useMemo(()=>R||_t(W),[R,W]),Ut=h.useMemo(()=>Ct.some(ga=>ga.responsive),[Ct]),Vt=(0,ca.Z)(Ut),Wn=h.useMemo(()=>{const ga=new Set(Object.keys(Vt).filter(Na=>Vt[Na]));return Ct.filter(Na=>!Na.responsive||Na.responsive.some(oi=>ga.has(oi)))},[Ct,Vt]),sn=(0,Ar.Z)(de,["className","style","columns"]),{locale:rr=da.Z,direction:Hn,table:xr,renderEmpty:bn,getPrefixCls:Mn,getPopupContainer:$n}=h.useContext(ra.E_),Dt=(0,ur.Z)(Ft),cn=Object.assign(Object.assign({},rr.Table),ct),Un=an||ti,Xt=Mn("table",ot),In=Mn("dropdown",En),[,ln]=(0,$r.ZP)(),gn=(0,Dr.Z)(Xt),[_r,Fr,dr]=ja(Xt,gn),aa=Object.assign(Object.assign({childrenColumnName:H,expandIconColumnIndex:Oe},Ae),{expandIcon:(Le=Ae==null?void 0:Ae.expandIcon)!==null&&Le!==void 0?Le:(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(Xt),Sa=h.useRef(null),Za=h.useRef(null);Jn(ne,()=>Object.assign(Object.assign({},Za.current),{nativeElement:Sa.current}));const Pa=h.useMemo(()=>typeof vn=="function"?vn:ga=>ga==null?void 0:ga[vn],[vn]),[yi]=ka(Un,pa,Pa),ai={},Zi=function(ga,Na){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),en&&((zi=en.onChange)===null||zi===void 0||zi.call(en,1,(Hi=Ei.pagination)===null||Hi===void 0?void 0:Hi.pageSize))),Je&&Je.scrollToFirstRowOnChange!==!1&&Or.body.current&&(0,Er.Z)(0,{getContainer:()=>Or.body.current}),X==null||X(Ei.pagination,Ei.filters,Ei.sorter,{currentDataSource:Zr(Xi(Un,Ei.sorterStates,pa),Ei.filterStates,pa),action:Na})},Ja=(ga,Na)=>{Zi({sorter:ga,sorterStates:Na},"sort",!1)},[Ba,Ga,Qa,di]=Si({prefixCls:Xt,mergedColumns:Wn,onSorterChange:Ja,sortDirections:yt||["ascend","descend"],tableLocale:cn,showSorterTooltip:nt}),li=h.useMemo(()=>Xi(Un,Ga,pa),[Un,Ga]);ai.sorter=di(),ai.sorterStates=Ga;const Ia=(ga,Na)=>{Zi({filters:ga,filterStates:Na},"filter",!0)},[ri,Va,_i]=ma({prefixCls:Xt,locale:cn,dropdownPrefixCls:In,mergedColumns:Wn,onFilterChange:Ia,getPopupContainer:J||$n,rootClassName:O()(It,gn)}),ii=Zr(li,Va,pa);ai.filters=_i,ai.filterStates=Va;const Oi=h.useMemo(()=>{const ga={};return Object.keys(_i).forEach(Na=>{_i[Na]!==null&&(ga[Na]=_i[Na])}),Object.assign(Object.assign({},Qa),{filters:ga})},[Qa,_i]),[vo]=Yi(Oi),Ko=(ga,Na)=>{Zi({pagination:Object.assign(Object.assign({},ai.pagination),{current:ga,pageSize:Na})},"paginate")},[$a,Vo]=pi(ii.length,Ko,en);ai.pagination=en===!1?{}:Ai($a,en),ai.resetPagination=Vo;const Mi=h.useMemo(()=>{if(en===!1||!$a.pageSize)return ii;const{current:ga=1,total:Na,pageSize:oi=qa}=$a;return ii.length<Na?ii.length>oi?ii.slice((ga-1)*oi,ga*oi):ii:ii.slice((ga-1)*oi,ga*oi)},[!!en,ii,$a==null?void 0:$a.current,$a==null?void 0:$a.pageSize,$a==null?void 0:$a.total]),[Ui,Fi]=br({prefixCls:Xt,data:ii,pageData:Mi,getRowKey:Pa,getRecordByKey:yi,expandType:ba,childrenColumnName:pa,locale:cn,getPopupContainer:J||$n},$t),Ti=(ga,Na,oi)=>{let fi;return typeof S=="function"?fi=O()(S(ga,Na,oi)):fi=O()(S),O()({[`${Xt}-row-selected`]:Fi.has(Pa(ga,Na))},fi)};aa.__PARENT_RENDER_ICON__=aa.expandIcon,aa.expandIcon=aa.expandIcon||ie||Lr(cn),ba==="nest"&&aa.expandIconColumnIndex===void 0?aa.expandIconColumnIndex=$t?1:0:aa.expandIconColumnIndex>0&&$t&&(aa.expandIconColumnIndex-=1),typeof aa.indentSize!="number"&&(aa.indentSize=typeof je=="number"?je:15);const Pi=h.useCallback(ga=>vo(Ui(ri(Ba(ga)))),[Ba,ri,Ui]);let Wi,mo;if(en!==!1&&($a!=null&&$a.total)){let ga;$a.size?ga=$a.size:ga=Dt==="small"||Dt==="middle"?"small":void 0;const Na=Ii=>h.createElement(sa.Z,Object.assign({},$a,{className:O()(`${Xt}-pagination ${Xt}-pagination-${Ii}`,$a.className),size:ga})),oi=Hn==="rtl"?"left":"right",{position:fi}=$a;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=Na(oi)),Ii&&(Wi=Na(Ii.toLowerCase().replace("top",""))),zi&&(mo=Na(zi.toLowerCase().replace("bottom","")))}else mo=Na(oi)}let Ji;typeof ue=="boolean"?Ji={spinning:ue}:typeof ue=="object"&&(Ji=Object.assign({spinning:!0},ue));const qi=O()(dr,gn,`${Xt}-wrapper`,xr==null?void 0:xr.className,{[`${Xt}-wrapper-rtl`]:Hn==="rtl"},ft,It,Fr),Qo=Object.assign(Object.assign({},xr==null?void 0:xr.style),Ot),Jo=typeof(ct==null?void 0:ct.emptyText)!="undefined"?ct.emptyText:(bn==null?void 0:bn("Table"))||h.createElement(Gr.Z,{componentName:"Table"}),qo=st?Bo:Ro,ko={},$o=h.useMemo(()=>{const{fontSize:ga,lineHeight:Na,lineWidth:oi,padding:fi,paddingXS:Ii,paddingSM:zi}=ln,Hi=Math.floor(ga*Na);switch(Dt){case"middle":return zi*2+Hi+oi;case"small":return Ii*2+Hi+oi;default:return fi*2+Hi+oi}},[ln,Dt]);return st&&(ko.listItemHeight=$o),_r(h.createElement("div",{ref:Sa,className:qi,style:Qo},h.createElement(fa.Z,Object.assign({spinning:!1},Ji),Wi,h.createElement(qo,Object.assign({},ko,sn,{ref:Za,columns:Wn,direction:Hn,expandable:aa,prefixCls:Xt,className:O()({[`${Xt}-middle`]:Dt==="middle",[`${Xt}-small`]:Dt==="small",[`${Xt}-bordered`]:zt,[`${Xt}-empty`]:Un.length===0},dr,gn,Fr),data:Mi,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 Le=h.useRef(0);return Le.current+=1,h.createElement(hi,Object.assign({},de,{ref:ne,_renderTimes:Le.current}))},ni=h.forwardRef(Ri);ni.SELECTION_COLUMN=yr,ni.EXPAND_COLUMN=k,ni.SELECTION_ALL=Kn,ni.SELECTION_INVERT=pr,ni.SELECTION_NONE=Rn,ni.Column=Tr,ni.ColumnGroup=Pr,ni.Summary=oe;var no=ni,ro=no},96599:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return O}});var h=w(59301),k=w(92310),P=w.n(k),_=w(2738),B=w(29509),C=w(78776),p=w(22703),m=w(12919),E=w(48755),d=w(36237),l=w(17835),o=w(63356),g=w(51636),r=w(16931);const n=D=>{const{paddingXXS:N,lineWidth:I,tagPaddingHorizontal:U,componentCls:F,calc:K}=D,j=K(U).sub(I).equal(),G=K(N).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:G,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:N,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(N).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 N=a(D);return n(N)},c),s=function(D,N){var I={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&N.indexOf(U)<0&&(I[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F<U.length;F++)N.indexOf(U[F])<0&&Object.prototype.propertyIsEnumerable.call(D,U[F])&&(I[U[F]]=D[U[F]]);return I},e=h.forwardRef((D,N)=>{const{prefixCls:I,style:U,className:F,checked:K,onChange:j,onClick:G}=D,Y=s(D,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:le,tag:Q}=h.useContext(E.E_),ve=Ye=>{j==null||j(!K),G==null||G(Ye)},xe=le("tag",I),[be,De,Ue]=u(xe),we=P()(xe,`${xe}-checkable`,{[`${xe}-checkable-checked`]:K},Q==null?void 0:Q.className,F,De,Ue);return be(h.createElement("span",Object.assign({},Y,{ref:N,style:Object.assign(Object.assign({},U),Q==null?void 0:Q.style),className:we,onClick:ve})))}),t=w(93427);const i=D=>(0,t.Z)(D,(N,I)=>{let{textColor:U,lightBorderColor:F,lightColor:K,darkColor:j}=I;return{[`${D.componentCls}${D.componentCls}-${N}`]:{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 N=a(D);return i(N)},c);function y(D){return typeof D!="string"?D:D.charAt(0).toUpperCase()+D.slice(1)}const b=(D,N,I)=>{const U=y(I);return{[`${D.componentCls}${D.componentCls}-${N}`]:{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 N=a(D);return[b(N,"success","Success"),b(N,"processing","Info"),b(N,"error","Error"),b(N,"warning","Warning")]},c),A=function(D,N){var I={};for(var U in D)Object.prototype.hasOwnProperty.call(D,U)&&N.indexOf(U)<0&&(I[U]=D[U]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,U=Object.getOwnPropertySymbols(D);F<U.length;F++)N.indexOf(U[F])<0&&Object.prototype.propertyIsEnumerable.call(D,U[F])&&(I[U[F]]=D[U[F]]);return I};const L=h.forwardRef((D,N)=>{const{prefixCls:I,className:U,rootClassName:F,style:K,children:j,icon:G,color:Y,onClose:le,bordered:Q=!0,visible:ve}=D,xe=A(D,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:be,direction:De,tag:Ue}=h.useContext(E.E_),[we,Ye]=h.useState(!0),Be=(0,_.Z)(xe,["closeIcon","closable"]);h.useEffect(()=>{ve!==void 0&&Ye(ve)},[ve]);const ge=(0,B.o2)(Y),He=(0,B.yT)(Y),Fe=ge||He,Pe=Object.assign(Object.assign({backgroundColor:Y&&!Fe?Y:void 0},Ue==null?void 0:Ue.style),K),We=be("tag",I),[Ne,V,q]=u(We),ae=P()(We,Ue==null?void 0:Ue.className,{[`${We}-${Y}`]:Fe,[`${We}-has-color`]:Y&&!Fe,[`${We}-hidden`]:!we,[`${We}-rtl`]:De==="rtl",[`${We}-borderless`]:!Q},U,F,V,q),te=ce=>{ce.stopPropagation(),le==null||le(ce),!ce.defaultPrevented&&Ye(!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:te},ce);return(0,p.wm)(ce,lt,Qe=>({onClick:ht=>{var pt;(pt=Qe==null?void 0:Qe.onClick)===null||pt===void 0||pt.call(Qe,ht),te(ht)},className:P()(Qe==null?void 0:Qe.className,`${We}-close-icon`)}))}}),ee=typeof xe.onClick=="function"||j&&j.type==="a",fe=G||null,Ce=fe?h.createElement(h.Fragment,null,fe,j&&h.createElement("span",null,j)):j,re=h.createElement("span",Object.assign({},Be,{ref:N,className:ae,style:Pe}),Ce,oe,ge&&h.createElement(f,{key:"preset",prefixCls:We}),He&&h.createElement(x,{key:"status",prefixCls:We}));return Ne(ee?h.createElement(m.Z,{component:"Tag"},re):re)});L.CheckableTag=e;var O=L},53420:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return rt}});var h=w(59301),k=w(92310),P=w.n(k),_=w(54476),B=w(94480),C=w(33885),p=w(42978),m=w(75931),E=w(76190),d=w(37463),l=w(6551),o=w(34643),g=w(18929),r=w(48736),n=function(T){var z=h.useRef({valueLabels:new Map});return h.useMemo(function(){var Z=z.current.valueLabels,$=new Map,se=T.map(function(Ge){var at=Ge.value,_t=Ge.label,dt=_t!=null?_t:Z.get(at);return $.set(at,dt),(0,C.Z)((0,C.Z)({},Ge),{},{label:dt})});return z.current.valueLabels=$,[se]},[T])},a=function(z,Z,$,se){return h.useMemo(function(){var Ge=function(ye){return ye.map(function(Te){var Ie=Te.value;return Ie})},at=Ge(z),_t=Ge(Z),dt=at.filter(function(Re){return!se[Re]}),Rt=at,Gt=_t;if($){var ze=(0,o.S)(at,!0,se);Rt=ze.checkedKeys,Gt=ze.halfCheckedKeys}return[Array.from(new Set([].concat((0,B.Z)(dt),(0,B.Z)(Rt)))),Gt]},[z,Z,$,se])},c=a,u=w(34061),s=function(T,z){return h.useMemo(function(){var Z=(0,u.I8)(T,{fieldNames:z,initWrapper:function(se){return(0,C.Z)((0,C.Z)({},se),{},{valueEntities:new Map})},processEntity:function(se,Ge){var at=se.node[z.value];if(0)var _t;Ge.valueEntities.set(at,se)}});return Z},[T,z])},v=w(20068),e=w(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,$=Z.key,se=Z.props,Ge=se.children,at=se.value,_t=(0,m.Z)(se,f),dt=(0,C.Z)({key:$,value:at},_t),Rt=y(Ge);return Rt.length&&(dt.children=Rt),dt}).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,$,se,Ge){var at=null,_t=null;function dt(){function Rt(Gt){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Gt.map(function(ye,Te){var Ie="".concat(ze,"-").concat(Te),Ke=ye[Ge.value],he=Z.includes(Ke),Ze=Rt(ye[Ge.children]||[],Ie,he),tt=h.createElement(i,ye,Ze.map(function(_e){return _e.node}));if(z===Ke&&(at=tt),he){var me={pos:Ie,node:tt,children:Ze};return Re||_t.push(me),me}return null}).filter(function(ye){return ye})}_t||(_t=[],Rt($),_t.sort(function(Gt,ze){var Re=Gt.node.props.value,ye=ze.node.props.value,Te=Z.indexOf(Re),Ie=Z.indexOf(ye);return Te-Ie}))}Object.defineProperty(T,"triggerNode",{get:function(){return(0,r.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),dt(),at}}),Object.defineProperty(T,"allCheckedNodes",{get:function(){return(0,r.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),dt(),se?_t:_t.map(function(Gt){var ze=Gt.node;return ze})}})}var A=function(z,Z,$){var se=$.fieldNames,Ge=$.treeNodeFilterProp,at=$.filterTreeNode,_t=se.children;return h.useMemo(function(){if(!Z||at===!1)return z;var dt=typeof at=="function"?at:function(Gt,ze){return String(ze[Ge]).toUpperCase().includes(Z.toUpperCase())},Rt=function Gt(ze){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ze.reduce(function(ye,Te){var Ie=Te[_t],Ke=Re||dt(Z,b(Te)),he=Gt(Ie||[],Ke);return(Ke||he.length)&&ye.push((0,C.Z)((0,C.Z)({},Te),{},(0,v.Z)({isLeaf:void 0},_t,he))),ye},[])};return Rt(z)},[z,Z,_t,Ge,at])},M=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 O(T,z){var Z=z.id,$=z.pId,se=z.rootPId,Ge=new Map,at=[];return T.forEach(function(_t){var dt=_t[Z],Rt=(0,C.Z)((0,C.Z)({},_t),{},{key:_t.key||dt});Ge.set(dt,Rt)}),Ge.forEach(function(_t){var dt=_t[$],Rt=Ge.get(dt);Rt?(Rt.children=Rt.children||[],Rt.children.push(_t)):(dt===se||se===null)&&at.push(_t)}),at}function D(T,z,Z){return h.useMemo(function(){if(T){if(Z){var $=(0,C.Z)({id:"id",pId:"pId",rootPId:null},(0,E.Z)(Z)==="object"?Z:{});return O(T,$)}return T}return y(z)},[z,Z,T])}var N=h.createContext(null),I=N,U=w(19251),F=w(3741),K=w(10228),j=w(80547),G=h.createContext(null),Y=G,le=function(z){return Array.isArray(z)?z:z!==void 0?[z]:[]},Q=function(z){var Z=z||{},$=Z.label,se=Z.value,Ge=Z.children;return{_title:$?[$]:["title","label"],value:se||"value",key:se||"value",children:Ge||"children"}},ve=function(z){return!z||z.disabled||z.disableCheckbox||z.checkable===!1},xe=function(z,Z){var $=[],se=function Ge(at){at.forEach(function(_t){var dt=_t[Z.children];dt&&($.push(_t[Z.value]),Ge(dt))})};return se(z),$},be=function(z){return z==null},De=w(70425),Ue={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},we=function(z,Z){var $=(0,d.lk)(),se=$.prefixCls,Ge=$.multiple,at=$.searchValue,_t=$.toggleOpen,dt=$.open,Rt=$.notFoundContent,Gt=h.useContext(Y),ze=Gt.virtual,Re=Gt.listHeight,ye=Gt.listItemHeight,Te=Gt.listItemScrollOffset,Ie=Gt.treeData,Ke=Gt.fieldNames,he=Gt.onSelect,Ze=Gt.dropdownMatchSelectWidth,tt=Gt.treeExpandAction,me=Gt.treeTitleRender,_e=Gt.onPopupScroll,Ee=Gt.leftMaxCount,Xe=Gt.leafCountOnly,Se=Gt.valueEntities,ut=h.useContext(I),bt=ut.checkable,Tt=ut.checkedKeys,kt=ut.halfCheckedKeys,on=ut.treeExpandedKeys,Sn=ut.treeDefaultExpandAll,_n=ut.treeDefaultExpandedKeys,nn=ut.onTreeExpand,dn=ut.treeIcon,mn=ut.showTreeIcon,Pt=ut.switcherIcon,wn=ut.treeLine,jn=ut.treeNodeFilterProp,Cn=ut.loadData,Fn=ut.treeLoadedKeys,er=ut.treeMotion,Cr=ut.onTreeLoad,sr=ut.keyEntities,Bn=h.useRef(),or=(0,j.Z)(function(){return Ie},[dt,Ie],function(Yt,Vn){return Vn[0]&&Yt[1]!==Vn[1]}),fr=h.useMemo(function(){return bt?{checked:Tt,halfChecked:kt}:null},[bt,Tt,kt]);h.useEffect(function(){if(dt&&!Ge&&Tt.length){var Yt;(Yt=Bn.current)===null||Yt===void 0||Yt.scrollTo({key:Tt[0]})}},[dt]);var nr=function(Vn){Vn.preventDefault()},tr=function(Vn,yr){var Kn=yr.node;bt&&ve(Kn)||(he(Kn.key,{selected:!Tt.includes(Kn.key)}),Ge||_t(!1))},qn=h.useState(_n),Mr=(0,p.Z)(qn,2),St=Mr[0],Hr=Mr[1],Rr=h.useState(null),kr=(0,p.Z)(Rr,2),Wr=kr[0],ea=kr[1],ar=h.useMemo(function(){return on?(0,B.Z)(on):at?Wr:St},[St,Wr,on,at]),lr=function(Vn){Hr(Vn),ea(Vn),nn&&nn(Vn)},An=String(at).toLowerCase(),Kt=function(Vn){return An?String(Vn[jn]).toLowerCase().includes(An):!1};h.useEffect(function(){at&&ea(xe(Ie,Ke))},[at]);var Qt=h.useState(function(){return new Map}),Xn=(0,p.Z)(Qt,2),zn=Xn[0],hr=Xn[1];h.useEffect(function(){Ee&&hr(new Map)},[Ee]);function Tr(Yt){var Vn=Yt[Ke.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(wr){return!wr.node.disabled&&!wr.node.disableCheckbox&&!Tt.includes(wr.node[Ke.value])}),Rn=pr.length;zn.set(Vn,Rn>Ee)}}return zn.get(Vn)}var gr=(0,De.zX)(function(Yt){var Vn=Yt[Ke.value];return Tt.includes(Vn)||Ee===null?!1:Ee<=0?!0:Xe&&Ee?Tr(Yt):!1}),Pr=function Yt(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(at){if(Kt(pr))return pr}else return pr;if(pr[Ke.children]){var Rn=Yt(pr[Ke.children]);if(Rn)return Rn}}}}catch(wr){yr.e(wr)}finally{yr.f()}return null},et=h.useState(null),Lt=(0,p.Z)(et,2),At=Lt[0],yn=Lt[1],Qn=sr[At];h.useEffect(function(){if(dt){var Yt=null,Vn=function(){var Kn=Pr(or);return Kn?Kn[Ke.value]:null};!Ge&&Tt.length&&!at?Yt=Tt[0]:Yt=Vn(),yn(Yt)}},[dt,at]),h.useImperativeHandle(Z,function(){var Yt;return{scrollTo:(Yt=Bn.current)===null||Yt===void 0?void 0:Yt.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=Bn.current)===null||Kn===void 0||Kn.onKeyDown(yr);break;case K.Z.ENTER:{if(Qn){var Rn=gr(Qn.node),wr=(Qn==null?void 0:Qn.node)||{},mr=wr.selectable,Gn=wr.value,br=wr.disabled;mr!==!1&&!br&&!Rn&&tr(null,{node:{key:At},selected:!Tt.includes(Gn)})}break}case K.Z.ESC:_t(!1)}},onKeyUp:function(){}}});var vt=(0,j.Z)(function(){return!at},[at,on||St],function(Yt,Vn){var yr=(0,p.Z)(Yt,1),Kn=yr[0],pr=(0,p.Z)(Vn,2),Rn=pr[0],wr=pr[1];return Kn!==Rn&&!!(Rn||wr)}),vr=vt?Cn:null;if(or.length===0)return h.createElement("div",{role:"listbox",className:"".concat(se,"-empty"),onMouseDown:nr},Rt);var Tn={fieldNames:Ke};return Fn&&(Tn.loadedKeys=Fn),ar&&(Tn.expandedKeys=ar),h.createElement("div",{onMouseDown:nr},Qn&&dt&&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:Bn,focusable:!1,prefixCls:"".concat(se,"-tree"),treeData:or,height:Re,itemHeight:ye,itemScrollOffset:Te,virtual:ze!==!1&&Ze!==!1,multiple:Ge,icon:dn,showIcon:mn,switcherIcon:Pt,showLine:wn,loadData:vr,motion:er,activeKey:At,checkable:bt,checkStrictly:!0,checkedKeys:fr,selectedKeys:bt?[]:Tt,defaultExpandAll:Sn,titleRender:me},Tn,{onActiveChange:yn,onSelect:tr,onCheck:tr,onExpand:lr,onLoad:Cr,filterTreeNode:Kt,expandAction:tt,onScroll:_e}))))},Ye=h.forwardRef(we),Be=Ye,ge="SHOW_ALL",He="SHOW_PARENT",Fe="SHOW_CHILD";function Pe(T,z,Z,$){var se=new Set(T);return z===Fe?T.filter(function(Ge){var at=Z[Ge];return!at||!at.children||!at.children.some(function(_t){var dt=_t.node;return se.has(dt[$.value])})||!at.children.every(function(_t){var dt=_t.node;return ve(dt)||se.has(dt[$.value])})}):z===He?T.filter(function(Ge){var at=Z[Ge],_t=at?at.parent:null;return!_t||ve(_t.node)||!se.has(_t.key)}):T}function We(T){var z=T.searchPlaceholder,Z=T.treeCheckStrictly,$=T.treeCheckable,se=T.labelInValue,Ge=T.value,at=T.multiple,_t=T.showCheckedStrategy,dt=T.maxCount;warning(!z,"`searchPlaceholder` has been removed."),Z&&se===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(se||Z)&&warning(toArray(Ge).every(function(Rt){return Rt&&_typeof(Rt)==="object"&&"value"in Rt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Z||at||$?warning(!Ge||Array.isArray(Ge),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ge),"`value` should not be array when `TreeSelect` is single mode."),dt&&(_t==="SHOW_ALL"&&!Z||_t==="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 q(T){return!T||(0,E.Z)(T)!=="object"}var ae=h.forwardRef(function(T,z){var Z=T.id,$=T.prefixCls,se=$===void 0?"rc-tree-select":$,Ge=T.value,at=T.defaultValue,_t=T.onChange,dt=T.onSelect,Rt=T.onDeselect,Gt=T.searchValue,ze=T.inputValue,Re=T.onSearch,ye=T.autoClearSearchValue,Te=ye===void 0?!0:ye,Ie=T.filterTreeNode,Ke=T.treeNodeFilterProp,he=Ke===void 0?"value":Ke,Ze=T.showCheckedStrategy,tt=T.treeNodeLabelProp,me=T.multiple,_e=T.treeCheckable,Ee=T.treeCheckStrictly,Xe=T.labelInValue,Se=T.maxCount,ut=T.fieldNames,bt=T.treeDataSimpleMode,Tt=T.treeData,kt=T.children,on=T.loadData,Sn=T.treeLoadedKeys,_n=T.onTreeLoad,nn=T.treeDefaultExpandAll,dn=T.treeExpandedKeys,mn=T.treeDefaultExpandedKeys,Pt=T.onTreeExpand,wn=T.treeExpandAction,jn=T.virtual,Cn=T.listHeight,Fn=Cn===void 0?200:Cn,er=T.listItemHeight,Cr=er===void 0?20:er,sr=T.listItemScrollOffset,Bn=sr===void 0?0:sr,or=T.onDropdownVisibleChange,fr=T.dropdownMatchSelectWidth,nr=fr===void 0?!0:fr,tr=T.treeLine,qn=T.treeIcon,Mr=T.showTreeIcon,St=T.switcherIcon,Hr=T.treeMotion,Rr=T.treeTitleRender,kr=T.onPopupScroll,Wr=(0,m.Z)(T,V),ea=(0,l.ZP)(Z),ar=_e&&!Ee,lr=_e||Ee,An=Ee||Xe,Kt=lr||me,Qt=(0,g.Z)(at,{value:Ge}),Xn=(0,p.Z)(Qt,2),zn=Xn[0],hr=Xn[1],Tr=h.useMemo(function(){return _e?Ze||Fe:ge},[Ze,_e]),gr=h.useMemo(function(){return Q(ut)},[JSON.stringify(ut)]),Pr=(0,g.Z)("",{value:Gt!==void 0?Gt:ze,postState:function(kn){return kn||""}}),et=(0,p.Z)(Pr,2),Lt=et[0],At=et[1],yn=function(kn){At(kn),Re==null||Re(kn)},Qn=D(Tt,kt,bt),vt=s(Qn,gr),vr=vt.keyEntities,Tn=vt.valueEntities,Yt=h.useCallback(function(fn){var kn=[],Yn=[];return fn.forEach(function(Br){Tn.has(Br)?Yn.push(Br):kn.push(Br)}),{missingRawValues:kn,existRawValues:Yn}},[Tn]),Vn=M(Qn,Lt,{fieldNames:gr,treeNodeFilterProp:he,filterTreeNode:Ie}),yr=h.useCallback(function(fn){if(fn){if(tt)return fn[tt];for(var kn=gr._title,Yn=0;Yn<kn.length;Yn+=1){var Br=fn[kn[Yn]];if(Br!==void 0)return Br}}},[gr,tt]),Kn=h.useCallback(function(fn){var kn=le(fn);return kn.map(function(Yn){return q(Yn)?{value:Yn}:Yn})},[]),pr=h.useCallback(function(fn){var kn=Kn(fn);return kn.map(function(Yn){var Br=Yn.label,jt=Yn.value,Xr=Yn.halfChecked,ya,oa=Tn.get(jt);if(oa){var Aa;Br=Rr?Rr(oa.node):(Aa=Br)!==null&&Aa!==void 0?Aa:yr(oa.node),ya=oa.node.disabled}else if(Br===void 0){var Zn=Kn(zn).find(function(na){return na.value===jt});Br=Zn.label}return{label:Br,value:jt,halfChecked:Xr,disabled:ya}})},[Tn,yr,Kn,zn]),Rn=h.useMemo(function(){return Kn(zn===null?[]:zn)},[Kn,zn]),wr=h.useMemo(function(){var fn=[],kn=[];return Rn.forEach(function(Yn){Yn.halfChecked?kn.push(Yn):fn.push(Yn)}),[fn,kn]},[Rn]),mr=(0,p.Z)(wr,2),Gn=mr[0],br=mr[1],Ar=h.useMemo(function(){return Gn.map(function(fn){return fn.value})},[Gn]),Ir=c(Gn,br,ar,vr),Jn=(0,p.Z)(Ir,2),Er=Jn[0],ra=Jn[1],Gr=h.useMemo(function(){var fn=Pe(Er,Tr,vr,gr),kn=fn.map(function(Xr){var ya,oa;return(ya=(oa=vr[Xr])===null||oa===void 0||(oa=oa.node)===null||oa===void 0?void 0:oa[gr.value])!==null&&ya!==void 0?ya:Xr}),Yn=kn.map(function(Xr){var ya=Gn.find(function(Aa){return Aa.value===Xr}),oa=Xe?ya==null?void 0:ya.label:Rr==null?void 0:Rr(ya);return{value:Xr,label:oa}}),Br=pr(Yn),jt=Br[0];return!Kt&&jt&&be(jt.value)&&be(jt.label)?[]:Br.map(function(Xr){var ya;return(0,C.Z)((0,C.Z)({},Xr),{},{label:(ya=Xr.label)!==null&&ya!==void 0?ya:Xr.value})})},[gr,Kt,Er,Gn,pr,Tr,vr]),Dr=n(Gr),ur=(0,p.Z)(Dr,1),ca=ur[0],da=h.useMemo(function(){return Kt&&(Tr==="SHOW_CHILD"||Ee||!_e)?Se:null},[Se,Kt,Ee,Tr,_e]),sa=L(function(fn,kn,Yn){var Br=Pe(fn,Tr,vr,gr);if(!(da&&Br.length>da)){var jt=pr(fn);if(hr(jt),Te&&At(""),_t){var Xr=fn;ar&&(Xr=Br.map(function(Ua){var Xa=Tn.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(Ee){var na=br.filter(function(Ua){return!Xr.includes(Ua.value)});Zn=[].concat((0,B.Z)(Zn),(0,B.Z)(na))}var la=pr(Zn),Jr={preValue:Gn,triggerValue:oa},_a=!0;(Ee||Yn==="selection"&&!Aa)&&(_a=!1),x(Jr,oa,fn,Qn,_a,gr),lr?Jr.checked=Aa:Jr.selected=Aa;var ha=An?la:la.map(function(Ua){return Ua.value});_t(Kt?ha:ha[0],An?null:la.map(function(Ua){return Ua.label}),Jr)}}}),fa=h.useCallback(function(fn,kn){var Yn,Br=kn.selected,jt=kn.source,Xr=vr[fn],ya=Xr==null?void 0:Xr.node,oa=(Yn=ya==null?void 0:ya[gr.value])!==null&&Yn!==void 0?Yn:fn;if(!Kt)sa([oa],{selected:!0,triggerValue:oa},"option");else{var Aa=Br?[].concat((0,B.Z)(Ar),[oa]):Er.filter(function(Xa){return Xa!==oa});if(ar){var Zn=Yt(Aa),na=Zn.missingRawValues,la=Zn.existRawValues,Jr=la.map(function(Xa){return Tn.get(Xa).key}),_a;if(Br){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,B.Z)(na),(0,B.Z)(_a.map(function(Xa){return vr[Xa].node[gr.value]})))}sa(Aa,{selected:Br,triggerValue:oa},jt||"option")}Br||!Kt?dt==null||dt(oa,b(ya)):Rt==null||Rt(oa,b(ya))},[Yt,Tn,vr,gr,Kt,Ar,sa,ar,dt,Rt,Er,ra,Se]),$r=h.useCallback(function(fn){if(or){var kn={};Object.defineProperty(kn,"documentClickClose",{get:function(){return(0,r.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),or(fn,kn)}},[or]),Ea=L(function(fn,kn){var Yn=fn.map(function(Br){return Br.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:Bn,treeData:Vn,fieldNames:gr,onSelect:fa,treeExpandAction:wn,treeTitleRender:Rr,onPopupScroll:kr,leftMaxCount:Se===void 0?null:Se-ca.length,leafCountOnly:Tr==="SHOW_CHILD"&&!Ee&&!!_e,valueEntities:Tn}},[jn,nr,Fn,Cr,Bn,Vn,gr,fa,wn,Rr,kr,Se,ca.length,Tr,Ee,_e,Tn]),Qr=h.useMemo(function(){return{checkable:lr,loadData:on,treeLoadedKeys:Sn,onTreeLoad:_n,checkedKeys:Er,halfCheckedKeys:ra,treeDefaultExpandAll:nn,treeExpandedKeys:dn,treeDefaultExpandedKeys:mn,onTreeExpand:Pt,treeIcon:qn,treeMotion:Hr,showTreeIcon:Mr,switcherIcon:St,treeLine:tr,treeNodeFilterProp:he,keyEntities:vr}},[lr,on,Sn,_n,Er,ra,nn,dn,mn,Pt,qn,Hr,Mr,St,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:se,mode:Kt?"multiple":void 0,displayValues:ca,onDisplayValuesChange:Ea,searchValue:Lt,onSearch:yn,OptionList:Be,emptyOptions:!Qn.length,onDropdownVisibleChange:$r,dropdownMatchSelectWidth:nr}))))}),te=ae;te.TreeNode=i,te.SHOW_ALL=ge,te.SHOW_PARENT=He,te.SHOW_CHILD=Fe;var oe=te,ee=oe,fe=w(2738),Ce=w(75030),re=w(86641),ce=w(45915),lt=w(82855),Qe=w(48755),ht=w(38406),pt=w(2171),$e=w(83397),mt=w(31756),Ve=w(56553),Me=w(24971),qe=w(1722),it=w(90376),Et=w(68525),xt=w(90005),un=w(70045),Jt=w(57700),Bt=w(85278),hn=w(36237),Nn=w(36170),tn=w(51636),On=w(16931),qt=w(12425);const Wt=T=>{const{componentCls:z,treePrefixCls:Z,colorBgElevated:$}=T,se=`.${Z}`;return[{[`${z}-dropdown`]:[{padding:`${(0,hn.unit)(T.paddingXS)} ${(0,hn.unit)(T.calc(T.paddingXS).div(2).equal())}`},(0,qt.Yk)(Z,(0,tn.mergeToken)(T,{colorBgContainer:$}),!1),{[se]:{borderRadius:0,[`${se}-list-holder-inner`]:{alignItems:"stretch",[`${se}-treenode`]:{[`${se}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nn.C2)(`${Z}-checkbox`,T),{"&-rtl":{direction:"rtl",[`${se}-switcher${se}-switcher_close`]:{[`${se}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Zt=null;function rn(T,z,Z){return(0,On.I$)("TreeSelect",$=>{const se=(0,tn.mergeToken)($,{treePrefixCls:z});return[Wt(se)]},qt.TM)(T,Z)}var xn=function(T,z){var Z={};for(var $ in T)Object.prototype.hasOwnProperty.call(T,$)&&z.indexOf($)<0&&(Z[$]=T[$]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,$=Object.getOwnPropertySymbols(T);se<$.length;se++)z.indexOf($[se])<0&&Object.prototype.propertyIsEnumerable.call(T,$[se])&&(Z[$[se]]=T[$[se]]);return Z};const Dn=(T,z)=>{var Z;const{prefixCls:$,size:se,disabled:Ge,bordered:at=!0,className:_t,rootClassName:dt,treeCheckable:Rt,multiple:Gt,listHeight:ze=256,listItemHeight:Re,placement:ye,notFoundContent:Te,switcherIcon:Ie,treeLine:Ke,getPopupContainer:he,popupClassName:Ze,dropdownClassName:tt,treeIcon:me=!1,transitionName:_e,choiceTransitionName:Ee="",status:Xe,treeExpandAction:Se,builtinPlacements:ut,dropdownMatchSelectWidth:bt,popupMatchSelectWidth:Tt,allowClear:kt,variant:on,dropdownStyle:Sn,tagRender:_n,maxCount:nn,showCheckedStrategy:dn,treeCheckStrictly:mn}=T,Pt=xn(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:wn,getPrefixCls:jn,renderEmpty:Cn,direction:Fn,virtual:er,popupMatchSelectWidth:Cr,popupOverflow:sr}=h.useContext(Qe.E_),[,Bn]=(0,Jt.ZP)(),or=Re!=null?Re:(Bn==null?void 0:Bn.controlHeightSM)+(Bn==null?void 0:Bn.paddingXXS),fr=jn(),nr=jn("select",$),tr=jn("select-tree",$),qn=jn("tree-select",$),{compactSize:Mr,compactItemClassnames:St}=(0,un.ri)(nr,Fn),Hr=(0,$e.Z)(nr),Rr=(0,$e.Z)(qn),[kr,Wr,ea]=(0,it.Z)(nr,Hr),[ar]=rn(qn,tr,Rr),[lr,An]=(0,Me.Z)("treeSelect",on,at),Kt=P()(Ze||tt,`${qn}-dropdown`,{[`${qn}-dropdown-rtl`]:Fn==="rtl"},dt,ea,Hr,Rr,Wr),Qt=!!(Rt||Gt),Xn=h.useMemo(()=>{if(!(nn&&(dn==="SHOW_ALL"&&!mn||dn==="SHOW_PARENT")))return nn},[nn,dn,mn]),zn=(0,xt.Z)(T.suffixIcon,T.showArrow),hr=(Z=Tt!=null?Tt:bt)!==null&&Z!==void 0?Z:Cr,{status:Tr,hasFeedback:gr,isFormItemInput:Pr,feedbackIcon:et}=h.useContext(Ve.aM),Lt=(0,lt.F)(Tr,Xe),{suffixIcon:At,removeIcon:yn,clearIcon:Qn}=(0,Et.Z)(Object.assign(Object.assign({},Pt),{multiple:Qt,showSuffixIcon:zn,hasFeedback:gr,feedbackIcon:et,prefixCls:nr,componentName:"TreeSelect"})),vt=kt===!0?{clearIcon:Qn}:kt;let vr;Te!==void 0?vr=Te:vr=(Cn==null?void 0:Cn("Select"))||h.createElement(ht.Z,{componentName:"Select"});const Tn=(0,fe.Z)(Pt,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Yt=h.useMemo(()=>ye!==void 0?ye:Fn==="rtl"?"bottomRight":"bottomLeft",[ye,Fn]),Vn=(0,mt.Z)(Gn=>{var br;return(br=se!=null?se:Mr)!==null&&br!==void 0?br:Gn}),yr=h.useContext(pt.Z),Kn=Ge!=null?Ge:yr,pr=P()(!$&&qn,{[`${nr}-lg`]:Vn==="large",[`${nr}-sm`]:Vn==="small",[`${nr}-rtl`]:Fn==="rtl",[`${nr}-${lr}`]:An,[`${nr}-in-form-item`]:Pr},(0,lt.Z)(nr,Lt,gr),St,_t,dt,ea,Hr,Rr,Wr),Rn=Gn=>h.createElement(Bt.Z,{prefixCls:tr,switcherIcon:Ie,treeNodeProps:Gn,showLine:Ke}),[wr]=(0,Ce.Cn)("SelectLike",Sn==null?void 0:Sn.zIndex),mr=h.createElement(ee,Object.assign({virtual:er,disabled:Kn},Tn,{dropdownMatchSelectWidth:hr,builtinPlacements:(0,qe.Z)(ut,sr),ref:z,prefixCls:nr,className:pr,listHeight:ze,listItemHeight:or,treeCheckable:Rt&&h.createElement("span",{className:`${nr}-tree-checkbox-inner`}),treeLine:!!Ke,suffixIcon:At,multiple:Qt,placement:Yt,removeIcon:yn,allowClear:vt,switcherIcon:Rn,showTreeIcon:me,notFoundContent:vr,getPopupContainer:he||wn,treeMotion:null,dropdownClassName:Kt,dropdownStyle:Object.assign(Object.assign({},Sn),{zIndex:wr}),choiceTransitionName:(0,re.m)(fr,"",Ee),transitionName:(0,re.m)(fr,"slide-up",_e),treeExpandAction:Se,tagRender:Qt?_n:void 0,maxCount:Xn,showCheckedStrategy:dn,treeCheckStrictly:mn}));return kr(ar(mr))},Nt=h.forwardRef(Dn),Ht=(0,ce.Z)(Nt,"dropdownAlign",T=>(0,fe.Z)(T,["visible"]));Nt.TreeNode=i,Nt.SHOW_ALL=ge,Nt.SHOW_PARENT=He,Nt.SHOW_CHILD=Fe,Nt._InternalPanelDoNotUseOrYouWillBeFired=Ht;var rt=Nt},18287:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return le}});var h=w(3741),k=w(94480),P=w(59301),_=w(52671),B=w(8657),C=w(54476),p={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"},m=p,E=w(7657),d=function(ve,xe){return P.createElement(E.Z,(0,C.Z)({},ve,{ref:xe,icon:m}))},l=P.forwardRef(d),o=l,g=w(92310),r=w.n(g),n=w(82661),a=w(34061),c=w(48755),u=w(56082),s=w(86641),v=w(57700),e=w(12425);const t=4;function i(Q){const{dropPosition:ve,dropLevelOffset:xe,prefixCls:be,indent:De,direction:Ue="ltr"}=Q,we=Ue==="ltr"?"left":"right",Ye=Ue==="ltr"?"right":"left",Be={[we]:-xe*De+t,[Ye]:0};switch(ve){case-1:Be.top=-3;break;case 1:Be.bottom=-3;break;default:Be.bottom=-3,Be[we]=De+t;break}return P.createElement("div",{style:Be,className:`${be}-drop-indicator`})}var f=i,y=w(85278),x=P.forwardRef((Q,ve)=>{var xe;const{getPrefixCls:be,direction:De,virtual:Ue,tree:we}=P.useContext(c.E_),{prefixCls:Ye,className:Be,showIcon:ge=!1,showLine:He,switcherIcon:Fe,switcherLoadingIcon:Pe,blockNode:We=!1,children:Ne,checkable:V=!1,selectable:q=!0,draggable:ae,motion:te,style:oe}=Q,ee=be("tree",Ye),fe=be(),Ce=te!=null?te:Object.assign(Object.assign({},(0,s.Z)(fe)),{motionAppear:!1}),re=Object.assign(Object.assign({},Q),{checkable:V,selectable:q,showIcon:ge,motion:Ce,blockNode:We,showLine:!!He,dropIndicatorRender:f}),[ce,lt,Qe]=(0,e.ZP)(ee),[,ht]=(0,v.ZP)(),pt=ht.paddingXS/2+(((xe=ht.Tree)===null||xe===void 0?void 0:xe.titleHeight)||ht.controlHeightSM),$e=P.useMemo(()=>{if(!ae)return!1;let Ve={};switch(typeof ae){case"function":Ve.nodeDraggable=ae;break;case"object":Ve=Object.assign({},ae);break;default:break}return Ve.icon!==!1&&(Ve.icon=Ve.icon||P.createElement(u.Z,null)),Ve},[ae]),mt=Ve=>P.createElement(y.Z,{prefixCls:ee,switcherIcon:Fe,switcherLoadingIcon:Pe,treeNodeProps:Ve,showLine:He});return ce(P.createElement(h.ZP,Object.assign({itemHeight:pt,ref:ve,virtual:Ue},re,{style:Object.assign(Object.assign({},we==null?void 0:we.style),oe),prefixCls:ee,className:r()({[`${ee}-icon-hide`]:!ge,[`${ee}-block-node`]:We,[`${ee}-unselectable`]:!q,[`${ee}-rtl`]:De==="rtl"},we==null?void 0:we.className,Be,lt,Qe),direction:De,checkable:V&&P.createElement("span",{className:`${ee}-checkbox-inner`}),selectable:q,switcherIcon:mt,draggable:$e}),Ne))});const A=0,M=1,L=2;function O(Q,ve,xe){const{key:be,children:De}=xe;function Ue(we){const Ye=we[be],Be=we[De];ve(Ye,we)!==!1&&O(Be||[],ve,xe)}Q.forEach(Ue)}function D(Q){let{treeData:ve,expandedKeys:xe,startKey:be,endKey:De,fieldNames:Ue}=Q;const we=[];let Ye=A;if(be&&be===De)return[be];if(!be||!De)return[];function Be(ge){return ge===be||ge===De}return O(ve,ge=>{if(Ye===L)return!1;if(Be(ge)){if(we.push(ge),Ye===A)Ye=M;else if(Ye===M)return Ye=L,!1}else Ye===M&&we.push(ge);return xe.includes(ge)},(0,a.w$)(Ue)),we}function N(Q,ve,xe){const be=(0,k.Z)(ve),De=[];return O(Q,(Ue,we)=>{const Ye=be.indexOf(Ue);return Ye!==-1&&(De.push(we),be.splice(Ye,1)),!!be.length},(0,a.w$)(xe)),De}var I=function(Q,ve){var xe={};for(var be in Q)Object.prototype.hasOwnProperty.call(Q,be)&&ve.indexOf(be)<0&&(xe[be]=Q[be]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,be=Object.getOwnPropertySymbols(Q);De<be.length;De++)ve.indexOf(be[De])<0&&Object.prototype.propertyIsEnumerable.call(Q,be[De])&&(xe[be[De]]=Q[be[De]]);return xe};function U(Q){const{isLeaf:ve,expanded:xe}=Q;return ve?P.createElement(_.Z,null):xe?P.createElement(B.Z,null):P.createElement(o,null)}function F(Q){let{treeData:ve,children:xe}=Q;return ve||(0,a.zn)(xe)}const K=(Q,ve)=>{var{defaultExpandAll:xe,defaultExpandParent:be,defaultExpandedKeys:De}=Q,Ue=I(Q,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const we=P.useRef(null),Ye=P.useRef(null),Be=()=>{const{keyEntities:ce}=(0,a.I8)(F(Ue));let lt;return xe?lt=Object.keys(ce):be?lt=(0,n.r7)(Ue.expandedKeys||De||[],ce):lt=Ue.expandedKeys||De||[],lt},[ge,He]=P.useState(Ue.selectedKeys||Ue.defaultSelectedKeys||[]),[Fe,Pe]=P.useState(()=>Be());P.useEffect(()=>{"selectedKeys"in Ue&&He(Ue.selectedKeys)},[Ue.selectedKeys]),P.useEffect(()=>{"expandedKeys"in Ue&&Pe(Ue.expandedKeys)},[Ue.expandedKeys]);const We=(ce,lt)=>{var Qe;return"expandedKeys"in Ue||Pe(ce),(Qe=Ue.onExpand)===null||Qe===void 0?void 0:Qe.call(Ue,ce,lt)},Ne=(ce,lt)=>{var Qe;const{multiple:ht,fieldNames:pt}=Ue,{node:$e,nativeEvent:mt}=lt,{key:Ve=""}=$e,Me=F(Ue),qe=Object.assign(Object.assign({},lt),{selected:!0}),it=(mt==null?void 0:mt.ctrlKey)||(mt==null?void 0:mt.metaKey),Et=mt==null?void 0:mt.shiftKey;let xt;ht&&it?(xt=ce,we.current=Ve,Ye.current=xt,qe.selectedNodes=N(Me,xt,pt)):ht&&Et?(xt=Array.from(new Set([].concat((0,k.Z)(Ye.current||[]),(0,k.Z)(D({treeData:Me,expandedKeys:Fe,startKey:Ve,endKey:we.current,fieldNames:pt}))))),qe.selectedNodes=N(Me,xt,pt)):(xt=[Ve],we.current=Ve,Ye.current=xt,qe.selectedNodes=N(Me,xt,pt)),(Qe=Ue.onSelect)===null||Qe===void 0||Qe.call(Ue,xt,qe),"selectedKeys"in Ue||He(xt)},{getPrefixCls:V,direction:q}=P.useContext(c.E_),{prefixCls:ae,className:te,showIcon:oe=!0,expandAction:ee="click"}=Ue,fe=I(Ue,["prefixCls","className","showIcon","expandAction"]),Ce=V("tree",ae),re=r()(`${Ce}-directory`,{[`${Ce}-directory-rtl`]:q==="rtl"},te);return P.createElement(x,Object.assign({icon:U,ref:ve,blockNode:!0},fe,{showIcon:oe,expandAction:ee,prefixCls:Ce,className:re,expandedKeys:Fe,selectedKeys:ge,onSelect:Ne,onExpand:We}))};var G=P.forwardRef(K);const Y=x;Y.DirectoryTree=G,Y.TreeNode=h.OF;var le=Y},12425:function(Ln,gt,w){"use strict";w.d(gt,{ZP:function(){return n},Yk:function(){return o},TM:function(){return g}});var h=w(36237),k=w(36170),P=w(63356),_=w(34961),B=w(51636),C=w(16931);const p=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}}}}}},m=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:m,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,B.mergeToken)(c,{treeCls:s,treeNodeCls:v,treeNodePadding:e});return[l(a,t),u&&p(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(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return c}});var h=w(59301),k=w(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,B=w(7657),C=function(s,v){return h.createElement(B.Z,(0,k.Z)({},s,{ref:v,icon:_}))},p=h.forwardRef(C),m=p,E=w(52671),d=w(58617),l=w(15075),o=w(43531),g=w(92310),r=w.n(g),n=w(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,O=`${s}-switcher-line-custom-icon`;return h.isValidElement(L)?(0,n.Tm)(L,{className:r()(L.props.className||"",O)}):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`,M=typeof v=="function"?v(e):v;return h.isValidElement(M)?(0,n.Tm)(M,{className:r()(M.props.className||"",A)}):M!==void 0?M:t?y?h.createElement(l.Z,{className:`${s}-switcher-line-icon`}):h.createElement(o.Z,{className:`${s}-switcher-line-icon`}):h.createElement(m,{className:A})}},94968:function(Ln,gt,w){"use strict";w.d(gt,{default:function(){return Ke}});var h=w(59301),k=w(94480),P=w(4676),_=w(92310),B=w.n(_),C=w(54476),p=w(67732),m=w(83652),E=w(31226),d=w(42403),l=w(158),o=w(20068),g=w(33885),r=w(75931),n=w(76190),a=w(75044),c=w(3202),u=w(26112),s=w(48736),v=function(he,Ze){if(he&&Ze){var tt=Array.isArray(Ze)?Ze:Ze.split(","),me=he.name||"",_e=he.type||"",Ee=_e.replace(/\/.*$/,"");return tt.some(function(Xe){var Se=Xe.trim();if(/^\*(\/\*)?$/.test(Xe))return!0;if(Se.charAt(0)==="."){var ut=me.toLowerCase(),bt=Se.toLowerCase(),Tt=[bt];return(bt===".jpg"||bt===".jpeg")&&(Tt=[".jpg",".jpeg"]),Tt.some(function(kt){return ut.endsWith(kt)})}return/\/\*$/.test(Se)?Ee===Se.replace(/\/.*$/,""):_e===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,Ze){var tt="cannot ".concat(he.method," ").concat(he.action," ").concat(Ze.status,"'"),me=new Error(tt);return me.status=Ze.status,me.method=he.method,me.url=he.action,me}function t(he){var Ze=he.responseText||he.response;if(!Ze)return Ze;try{return JSON.parse(Ze)}catch(tt){return Ze}}function i(he){var Ze=new XMLHttpRequest;he.onProgress&&Ze.upload&&(Ze.upload.onprogress=function(Ee){Ee.total>0&&(Ee.percent=Ee.loaded/Ee.total*100),he.onProgress(Ee)});var tt=new FormData;he.data&&Object.keys(he.data).forEach(function(_e){var Ee=he.data[_e];if(Array.isArray(Ee)){Ee.forEach(function(Xe){tt.append("".concat(_e,"[]"),Xe)});return}tt.append(_e,Ee)}),he.file instanceof Blob?tt.append(he.filename,he.file,he.file.name):tt.append(he.filename,he.file),Ze.onerror=function(Ee){he.onError(Ee)},Ze.onload=function(){return Ze.status<200||Ze.status>=300?he.onError(e(he,Ze),t(Ze)):he.onSuccess(t(Ze),Ze)},Ze.open(he.method,he.action,!0),he.withCredentials&&"withCredentials"in Ze&&(Ze.withCredentials=!0);var me=he.headers||{};return me["X-Requested-With"]!==null&&Ze.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(me).forEach(function(_e){me[_e]!==null&&Ze.setRequestHeader(_e,me[_e])}),Ze.send(tt),{abort:function(){Ze.abort()}}}var f=function(){var he=(0,c.Z)((0,a.Z)().mark(function Ze(tt,me){var _e,Ee,Xe,Se,ut,bt,Tt,kt;return(0,a.Z)().wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:bt=function(){return bt=(0,c.Z)((0,a.Z)().mark(function nn(dn){return(0,a.Z)().wrap(function(Pt){for(;;)switch(Pt.prev=Pt.next){case 0:return Pt.abrupt("return",new Promise(function(wn){dn.file(function(jn){me(jn)?(dn.fullPath&&!jn.webkitRelativePath&&(Object.defineProperties(jn,{webkitRelativePath:{writable:!0}}),jn.webkitRelativePath=dn.fullPath.replace(/^\//,""),Object.defineProperties(jn,{webkitRelativePath:{writable:!1}})),wn(jn)):wn(null)})}));case 1:case"end":return Pt.stop()}},nn)})),bt.apply(this,arguments)},ut=function(nn){return bt.apply(this,arguments)},Se=function(){return Se=(0,c.Z)((0,a.Z)().mark(function nn(dn){var mn,Pt,wn,jn,Cn;return(0,a.Z)().wrap(function(er){for(;;)switch(er.prev=er.next){case 0:mn=dn.createReader(),Pt=[];case 2:return er.next=5,new Promise(function(Cr){mn.readEntries(Cr,function(){return Cr([])})});case 5:if(wn=er.sent,jn=wn.length,jn){er.next=9;break}return er.abrupt("break",12);case 9:for(Cn=0;Cn<jn;Cn++)Pt.push(wn[Cn]);er.next=2;break;case 12:return er.abrupt("return",Pt);case 13:case"end":return er.stop()}},nn)})),Se.apply(this,arguments)},Xe=function(nn){return Se.apply(this,arguments)},_e=[],Ee=[],tt.forEach(function(_n){return Ee.push(_n.webkitGetAsEntry())}),Tt=function(){var _n=(0,c.Z)((0,a.Z)().mark(function nn(dn,mn){var Pt,wn;return(0,a.Z)().wrap(function(Cn){for(;;)switch(Cn.prev=Cn.next){case 0:if(dn){Cn.next=2;break}return Cn.abrupt("return");case 2:if(dn.path=mn||"",!dn.isFile){Cn.next=10;break}return Cn.next=6,ut(dn);case 6:Pt=Cn.sent,Pt&&_e.push(Pt),Cn.next=15;break;case 10:if(!dn.isDirectory){Cn.next=15;break}return Cn.next=13,Xe(dn);case 13:wn=Cn.sent,Ee.push.apply(Ee,(0,k.Z)(wn));case 15:case"end":return Cn.stop()}},nn)}));return function(dn,mn){return _n.apply(this,arguments)}}(),kt=0;case 9:if(!(kt<Ee.length)){Sn.next=15;break}return Sn.next=12,Tt(Ee[kt]);case 12:kt++,Sn.next=9;break;case 15:return Sn.abrupt("return",_e);case 16:case"end":return Sn.stop()}},Ze)}));return function(tt,me){return he.apply(this,arguments)}}(),y=f,b=+new Date,x=0;function A(){return"rc-upload-".concat(b,"-").concat(++x)}var M=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],L=function(he){(0,d.Z)(tt,he);var Ze=(0,l.Z)(tt);function tt(){var me;(0,p.Z)(this,tt);for(var _e=arguments.length,Ee=new Array(_e),Xe=0;Xe<_e;Xe++)Ee[Xe]=arguments[Xe];return me=Ze.call.apply(Ze,[this].concat(Ee)),(0,o.Z)((0,E.Z)(me),"state",{uid:A()}),(0,o.Z)((0,E.Z)(me),"reqs",{}),(0,o.Z)((0,E.Z)(me),"fileInput",void 0),(0,o.Z)((0,E.Z)(me),"_isMounted",void 0),(0,o.Z)((0,E.Z)(me),"onChange",function(Se){var ut=me.props,bt=ut.accept,Tt=ut.directory,kt=Se.target.files,on=(0,k.Z)(kt).filter(function(Sn){return!Tt||v(Sn,bt)});me.uploadFiles(on),me.reset()}),(0,o.Z)((0,E.Z)(me),"onClick",function(Se){var ut=me.fileInput;if(ut){var bt=Se.target,Tt=me.props.onClick;if(bt&&bt.tagName==="BUTTON"){var kt=ut.parentNode;kt.focus(),bt.blur()}ut.click(),Tt&&Tt(Se)}}),(0,o.Z)((0,E.Z)(me),"onKeyDown",function(Se){Se.key==="Enter"&&me.onClick(Se)}),(0,o.Z)((0,E.Z)(me),"onFileDrop",function(){var Se=(0,c.Z)((0,a.Z)().mark(function ut(bt){var Tt,kt,on;return(0,a.Z)().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:if(Tt=me.props.multiple,bt.preventDefault(),bt.type!=="dragover"){_n.next=4;break}return _n.abrupt("return");case 4:if(!me.props.directory){_n.next=11;break}return _n.next=7,y(Array.prototype.slice.call(bt.dataTransfer.items),function(nn){return v(nn,me.props.accept)});case 7:kt=_n.sent,me.uploadFiles(kt),_n.next=14;break;case 11:on=(0,k.Z)(bt.dataTransfer.files).filter(function(nn){return v(nn,me.props.accept)}),Tt===!1&&(on=on.slice(0,1)),me.uploadFiles(on);case 14:case"end":return _n.stop()}},ut)}));return function(ut){return Se.apply(this,arguments)}}()),(0,o.Z)((0,E.Z)(me),"uploadFiles",function(Se){var ut=(0,k.Z)(Se),bt=ut.map(function(Tt){return Tt.uid=A(),me.processFile(Tt,ut)});Promise.all(bt).then(function(Tt){var kt=me.props.onBatchStart;kt==null||kt(Tt.map(function(on){var Sn=on.origin,_n=on.parsedFile;return{file:Sn,parsedFile:_n}})),Tt.filter(function(on){return on.parsedFile!==null}).forEach(function(on){me.post(on)})})}),(0,o.Z)((0,E.Z)(me),"processFile",function(){var Se=(0,c.Z)((0,a.Z)().mark(function ut(bt,Tt){var kt,on,Sn,_n,nn,dn,mn,Pt,wn;return(0,a.Z)().wrap(function(Cn){for(;;)switch(Cn.prev=Cn.next){case 0:if(kt=me.props.beforeUpload,on=bt,!kt){Cn.next=14;break}return Cn.prev=3,Cn.next=6,kt(bt,Tt);case 6:on=Cn.sent,Cn.next=12;break;case 9:Cn.prev=9,Cn.t0=Cn.catch(3),on=!1;case 12:if(on!==!1){Cn.next=14;break}return Cn.abrupt("return",{origin:bt,parsedFile:null,action:null,data:null});case 14:if(Sn=me.props.action,typeof Sn!="function"){Cn.next=21;break}return Cn.next=18,Sn(bt);case 18:_n=Cn.sent,Cn.next=22;break;case 21:_n=Sn;case 22:if(nn=me.props.data,typeof nn!="function"){Cn.next=29;break}return Cn.next=26,nn(bt);case 26:dn=Cn.sent,Cn.next=30;break;case 29:dn=nn;case 30:return mn=((0,n.Z)(on)==="object"||typeof on=="string")&&on?on:bt,mn instanceof File?Pt=mn:Pt=new File([mn],bt.name,{type:bt.type}),wn=Pt,wn.uid=bt.uid,Cn.abrupt("return",{origin:bt,data:dn,parsedFile:wn,action:_n});case 35:case"end":return Cn.stop()}},ut,null,[[3,9]])}));return function(ut,bt){return Se.apply(this,arguments)}}()),(0,o.Z)((0,E.Z)(me),"saveFileInput",function(Se){me.fileInput=Se}),me}return(0,m.Z)(tt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(_e){var Ee=this,Xe=_e.data,Se=_e.origin,ut=_e.action,bt=_e.parsedFile;if(this._isMounted){var Tt=this.props,kt=Tt.onStart,on=Tt.customRequest,Sn=Tt.name,_n=Tt.headers,nn=Tt.withCredentials,dn=Tt.method,mn=Se.uid,Pt=on||i,wn={action:ut,filename:Sn,data:Xe,file:bt,headers:_n,withCredentials:nn,method:dn||"post",onProgress:function(Cn){var Fn=Ee.props.onProgress;Fn==null||Fn(Cn,bt)},onSuccess:function(Cn,Fn){var er=Ee.props.onSuccess;er==null||er(Cn,bt,Fn),delete Ee.reqs[mn]},onError:function(Cn,Fn){var er=Ee.props.onError;er==null||er(Cn,Fn,bt),delete Ee.reqs[mn]}};kt(Se),this.reqs[mn]=Pt(wn)}}},{key:"reset",value:function(){this.setState({uid:A()})}},{key:"abort",value:function(_e){var Ee=this.reqs;if(_e){var Xe=_e.uid?_e.uid:_e;Ee[Xe]&&Ee[Xe].abort&&Ee[Xe].abort(),delete Ee[Xe]}else Object.keys(Ee).forEach(function(Se){Ee[Se]&&Ee[Se].abort&&Ee[Se].abort(),delete Ee[Se]})}},{key:"render",value:function(){var _e=this.props,Ee=_e.component,Xe=_e.prefixCls,Se=_e.className,ut=_e.classNames,bt=ut===void 0?{}:ut,Tt=_e.disabled,kt=_e.id,on=_e.name,Sn=_e.style,_n=_e.styles,nn=_n===void 0?{}:_n,dn=_e.multiple,mn=_e.accept,Pt=_e.capture,wn=_e.children,jn=_e.directory,Cn=_e.openFileDialogOnClick,Fn=_e.onMouseEnter,er=_e.onMouseLeave,Cr=_e.hasControlInside,sr=(0,r.Z)(_e,M),Bn=B()((0,o.Z)((0,o.Z)((0,o.Z)({},Xe,!0),"".concat(Xe,"-disabled"),Tt),Se,Se)),or=jn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},fr=Tt?{}:{onClick:Cn?this.onClick:function(){},onKeyDown:Cn?this.onKeyDown:function(){},onMouseEnter:Fn,onMouseLeave:er,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Cr?void 0:"0"};return h.createElement(Ee,(0,C.Z)({},fr,{className:Bn,role:Cr?void 0:"button",style:Sn}),h.createElement("input",(0,C.Z)({},(0,u.Z)(sr,{aria:!0,data:!0}),{id:kt,name:on,disabled:Tt,type:"file",ref:this.saveFileInput,onClick:function(tr){return tr.stopPropagation()},key:this.state.uid,style:(0,g.Z)({display:"none"},nn.input),className:bt.input,accept:mn},or,{multiple:dn,onChange:this.onChange},Pt!=null?{capture:Pt}:{})),wn)}}]),tt}(h.Component),O=L;function D(){}var N=function(he){(0,d.Z)(tt,he);var Ze=(0,l.Z)(tt);function tt(){var me;(0,p.Z)(this,tt);for(var _e=arguments.length,Ee=new Array(_e),Xe=0;Xe<_e;Xe++)Ee[Xe]=arguments[Xe];return me=Ze.call.apply(Ze,[this].concat(Ee)),(0,o.Z)((0,E.Z)(me),"uploader",void 0),(0,o.Z)((0,E.Z)(me),"saveUploader",function(Se){me.uploader=Se}),me}return(0,m.Z)(tt,[{key:"abort",value:function(_e){this.uploader.abort(_e)}},{key:"render",value:function(){return h.createElement(O,(0,C.Z)({},this.props,{ref:this.saveUploader}))}}]),tt}(h.Component);(0,o.Z)(N,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:D,onError:D,onSuccess:D,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var I=N,U=I,F=w(18929),K=w(48755),j=w(2171),G=w(9017),Y=w(85981),le=w(63356),Q=w(34961),ve=w(16931),xe=w(51636),be=w(36237),Ue=he=>{const{componentCls:Ze,iconCls:tt}=he;return{[`${Ze}-wrapper`]:{[`${Ze}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:he.colorFillAlter,border:`${(0,be.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[Ze]:{padding:he.padding},[`${Ze}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:he.borderRadiusLG,"&:focus-visible":{outline:`${(0,be.unit)(he.lineWidthFocus)} solid ${he.colorPrimaryBorder}`}},[`${Ze}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Ze}-disabled):hover,
|
|
|
&-hover:not(${Ze}-disabled)
|
|
|
`]:{borderColor:he.colorPrimaryHover},[`p${Ze}-drag-icon`]:{marginBottom:he.margin,[tt]:{color:he.colorPrimary,fontSize:he.uploadThumbnailSize}},[`p${Ze}-text`]:{margin:`0 0 ${(0,be.unit)(he.marginXXS)}`,color:he.colorTextHeading,fontSize:he.fontSizeLG},[`p${Ze}-hint`]:{color:he.colorTextDescription,fontSize:he.fontSize},[`&${Ze}-disabled`]:{[`p${Ze}-drag-icon ${tt},
|
|
|
p${Ze}-text,
|
|
|
p${Ze}-hint
|
|
|
`]:{color:he.colorTextDisabled}}}}}},Ye=he=>{const{componentCls:Ze,iconCls:tt,fontSize:me,lineHeight:_e,calc:Ee}=he,Xe=`${Ze}-list-item`,Se=`${Xe}-actions`,ut=`${Xe}-action`;return{[`${Ze}-wrapper`]:{[`${Ze}-list`]:Object.assign(Object.assign({},(0,le.dF)()),{lineHeight:he.lineHeight,[Xe]:{position:"relative",height:Ee(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},[`${Xe}-name`]:Object.assign(Object.assign({},le.vS),{padding:`0 ${(0,be.unit)(he.paddingXS)}`,lineHeight:_e,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}},[`${Ze}-icon ${tt}`]:{color:he.colorTextDescription,fontSize:me},[`${Xe}-progress`]:{position:"absolute",bottom:he.calc(he.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Ee(me).add(he.paddingXS).equal(),fontSize:me,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Xe}:hover ${ut}`]:{opacity:1},[`${Xe}-error`]:{color:he.colorError,[`${Xe}-name, ${Ze}-icon ${tt}`]:{color:he.colorError},[Se]:{[`${tt}, ${tt}:hover`]:{color:he.colorError},[ut]:{opacity:1}}},[`${Ze}-list-item-container`]:{transition:`opacity ${he.motionDurationSlow}, height ${he.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Be=w(99495),He=he=>{const{componentCls:Ze}=he,tt=new be.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),me=new be.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:he.calc(he.marginXS).div(-2).equal()}}),_e=`${Ze}-animate-inline`;return[{[`${Ze}-wrapper`]:{[`${_e}-appear, ${_e}-enter, ${_e}-leave`]:{animationDuration:he.motionDurationSlow,animationTimingFunction:he.motionEaseInOutCirc,animationFillMode:"forwards"},[`${_e}-appear, ${_e}-enter`]:{animationName:tt},[`${_e}-leave`]:{animationName:me}}},{[`${Ze}-wrapper`]:(0,Be.J$)(he)},tt,me]},Fe=w(68361);const Pe=he=>{const{componentCls:Ze,iconCls:tt,uploadThumbnailSize:me,uploadProgressOffset:_e,calc:Ee}=he,Xe=`${Ze}-list`,Se=`${Xe}-item`;return{[`${Ze}-wrapper`]:{[`
|
|
|
${Xe}${Xe}-picture,
|
|
|
${Xe}${Xe}-picture-card,
|
|
|
${Xe}${Xe}-picture-circle
|
|
|
`]:{[Se]:{position:"relative",height:Ee(me).add(Ee(he.lineWidth).mul(2)).add(Ee(he.paddingXS).mul(2)).equal(),padding:he.paddingXS,border:`${(0,be.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusLG,"&:hover":{background:"transparent"},[`${Se}-thumbnail`]:Object.assign(Object.assign({},le.vS),{width:me,height:me,lineHeight:(0,be.unit)(Ee(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:_e,width:`calc(100% - ${(0,be.unit)(Ee(he.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Ee(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:_e}}},[`${Xe}${Xe}-picture-circle ${Se}`]:{[`&, &::before, ${Se}-thumbnail`]:{borderRadius:"50%"}}}}},We=he=>{const{componentCls:Ze,iconCls:tt,fontSizeLG:me,colorTextLightSolid:_e,calc:Ee}=he,Xe=`${Ze}-list`,Se=`${Xe}-item`,ut=he.uploadPicCardSize;return{[`
|
|
|
${Ze}-wrapper${Ze}-picture-card-wrapper,
|
|
|
${Ze}-wrapper${Ze}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,le.dF)()),{display:"block",[`${Ze}${Ze}-select`]:{width:ut,height:ut,textAlign:"center",verticalAlign:"top",backgroundColor:he.colorFillAlter,border:`${(0,be.unit)(he.lineWidth)} dashed ${he.colorBorder}`,borderRadius:he.borderRadiusLG,cursor:"pointer",transition:`border-color ${he.motionDurationSlow}`,[`> ${Ze}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Ze}-disabled):hover`]:{borderColor:he.colorPrimary}},[`${Xe}${Xe}-picture-card, ${Xe}${Xe}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:he.marginXS,marginInlineEnd:he.marginXS}},"@supports (gap: 1px)":{gap:he.marginXS},[`${Xe}-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,be.unit)(Ee(he.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,be.unit)(Ee(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,be.unit)(he.marginXXS)}`,fontSize:me,cursor:"pointer",transition:`all ${he.motionDurationSlow}`,color:_e,"&:hover":{color:_e},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,be.unit)(Ee(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,be.unit)(Ee(he.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Ze}-wrapper${Ze}-picture-circle-wrapper`]:{[`${Ze}${Ze}-select`]:{borderRadius:"50%"}}}};var V=he=>{const{componentCls:Ze}=he;return{[`${Ze}-rtl`]:{direction:"rtl"}}};const q=he=>{const{componentCls:Ze,colorTextDisabled:tt}=he;return{[`${Ze}-wrapper`]:Object.assign(Object.assign({},(0,le.Wf)(he)),{[Ze]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Ze}-select`]:{display:"inline-block"},[`${Ze}-hidden`]:{display:"none"},[`${Ze}-disabled`]:{color:tt,cursor:"not-allowed"}})}},ae=he=>({actionsColor:he.colorTextDescription});var te=(0,ve.I$)("Upload",he=>{const{fontSizeHeading3:Ze,fontHeight:tt,lineWidth:me,controlHeightLG:_e,calc:Ee}=he,Xe=(0,xe.mergeToken)(he,{uploadThumbnailSize:Ee(Ze).mul(2).equal(),uploadProgressOffset:Ee(Ee(tt).div(2)).add(me).equal(),uploadPicCardSize:Ee(_e).mul(2.55).equal()});return[q(Xe),Ue(Xe),Pe(Xe),We(Xe),Ye(Xe),He(Xe),V(Xe),(0,Q.Z)(Xe)]},ae),oe={icon:function(Ze,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:Ze}}]}},name:"file",theme:"twotone"},ee=oe,fe=w(7657),Ce=function(Ze,tt){return h.createElement(fe.Z,(0,C.Z)({},Ze,{ref:tt,icon:ee}))},re=h.forwardRef(Ce),ce=re,lt=w(58617),Qe={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"},ht=Qe,pt=function(Ze,tt){return h.createElement(fe.Z,(0,C.Z)({},Ze,{ref:tt,icon:ht}))},$e=h.forwardRef(pt),mt=$e,Ve={icon:function(Ze,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:Ze}},{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:Ze}}]}},name:"picture",theme:"twotone"},Me=Ve,qe=function(Ze,tt){return h.createElement(fe.Z,(0,C.Z)({},Ze,{ref:tt,icon:Me}))},it=h.forwardRef(qe),Et=it,xt=w(77900),un=w(2738),Jt=w(40192),Bt=w(86641),hn=w(22703),Nn=w(7939);function tn(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 On(he,Ze){const tt=(0,k.Z)(Ze),me=tt.findIndex(_e=>{let{uid:Ee}=_e;return Ee===he.uid});return me===-1?tt.push(he):tt[me]=he,tt}function qt(he,Ze){const tt=he.uid!==void 0?"uid":"name";return Ze.filter(me=>me[tt]===he[tt])[0]}function Wt(he,Ze){const tt=he.uid!==void 0?"uid":"name",me=Ze.filter(_e=>_e[tt]!==he[tt]);return me.length===Ze.length?null:me}const Zt=function(){const Ze=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),me=Ze[Ze.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(me)||[""])[0]},rn=he=>he.indexOf("image/")===0,xn=he=>{if(he.type&&!he.thumbUrl)return rn(he.type);const Ze=he.thumbUrl||he.url||"",tt=Zt(Ze);return/^data:image\//.test(Ze)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(tt)?!0:!(/^data:/.test(Ze)||tt)},Dn=200;function Pn(he){return new Promise(Ze=>{if(!he.type||!rn(he.type)){Ze("");return}const tt=document.createElement("canvas");tt.width=Dn,tt.height=Dn,tt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Dn}px; height: ${Dn}px; z-index: 9999; display: none;`,document.body.appendChild(tt);const me=tt.getContext("2d"),_e=new Image;if(_e.onload=()=>{const{width:Ee,height:Xe}=_e;let Se=Dn,ut=Dn,bt=0,Tt=0;Ee>Xe?(ut=Xe*(Dn/Ee),Tt=-(ut-Se)/2):(Se=Ee*(Dn/Xe),bt=-(Se-ut)/2),me.drawImage(_e,bt,Tt,Se,ut);const kt=tt.toDataURL();document.body.removeChild(tt),window.URL.revokeObjectURL(_e.src),Ze(kt)},_e.crossOrigin="anonymous",he.type.startsWith("image/svg+xml")){const Ee=new FileReader;Ee.onload=()=>{Ee.result&&typeof Ee.result=="string"&&(_e.src=Ee.result)},Ee.readAsDataURL(he)}else if(he.type.startsWith("image/gif")){const Ee=new FileReader;Ee.onload=()=>{Ee.result&&Ze(Ee.result)},Ee.readAsDataURL(he)}else _e.src=window.URL.createObjectURL(he)})}var Nt=w(26227),Ht=w(41464),rt=w(15277),T=w(89787),z=w(25399),$=h.forwardRef((he,Ze)=>{let{prefixCls:tt,className:me,style:_e,locale:Ee,listType:Xe,file:Se,items:ut,progress:bt,iconRender:Tt,actionIconRender:kt,itemRender:on,isImgUrl:Sn,showPreviewIcon:_n,showRemoveIcon:nn,showDownloadIcon:dn,previewIcon:mn,removeIcon:Pt,downloadIcon:wn,extra:jn,onPreview:Cn,onDownload:Fn,onClose:er}=he;var Cr,sr;const{status:Bn}=Se,[or,fr]=h.useState(Bn);h.useEffect(()=>{Bn!=="removed"&&fr(Bn)},[Bn]);const[nr,tr]=h.useState(!1);h.useEffect(()=>{const Pr=setTimeout(()=>{tr(!0)},300);return()=>{clearTimeout(Pr)}},[]);const qn=Tt(Se);let Mr=h.createElement("div",{className:`${tt}-icon`},qn);if(Xe==="picture"||Xe==="picture-card"||Xe==="picture-circle")if(or==="uploading"||!Se.thumbUrl&&!Se.url){const Pr=B()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:or!=="uploading"});Mr=h.createElement("div",{className:Pr},qn)}else{const Pr=Sn!=null&&Sn(Se)?h.createElement("img",{src:Se.thumbUrl||Se.url,alt:Se.name,className:`${tt}-list-item-image`,crossOrigin:Se.crossOrigin}):qn,et=B()(`${tt}-list-item-thumbnail`,{[`${tt}-list-item-file`]:Sn&&!Sn(Se)});Mr=h.createElement("a",{className:et,onClick:Lt=>Cn(Se,Lt),href:Se.url||Se.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pr)}const St=B()(`${tt}-list-item`,`${tt}-list-item-${or}`),Hr=typeof Se.linkProps=="string"?JSON.parse(Se.linkProps):Se.linkProps,Rr=(typeof nn=="function"?nn(Se):nn)?kt((typeof Pt=="function"?Pt(Se):Pt)||h.createElement(Nt.Z,null),()=>er(Se),tt,Ee.removeFile,!0):null,kr=(typeof dn=="function"?dn(Se):dn)&&or==="done"?kt((typeof wn=="function"?wn(Se):wn)||h.createElement(Ht.Z,null),()=>Fn(Se),tt,Ee.downloadFile):null,Wr=Xe!=="picture-card"&&Xe!=="picture-circle"&&h.createElement("span",{key:"download-delete",className:B()(`${tt}-list-item-actions`,{picture:Xe==="picture"})},kr,Rr),ea=typeof jn=="function"?jn(Se):jn,ar=ea&&h.createElement("span",{className:`${tt}-list-item-extra`},ea),lr=B()(`${tt}-list-item-name`),An=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=>Cn(Se,Pr)}),Se.name,ar):h.createElement("span",{key:"view",className:lr,onClick:Pr=>Cn(Se,Pr),title:Se.name},Se.name,ar),Kt=(typeof _n=="function"?_n(Se):_n)&&(Se.url||Se.thumbUrl)?h.createElement("a",{href:Se.url||Se.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Pr=>Cn(Se,Pr),title:Ee.previewFile},typeof mn=="function"?mn(Se):mn||h.createElement(rt.Z,null)):null,Qt=(Xe==="picture-card"||Xe==="picture-circle")&&or!=="uploading"&&h.createElement("span",{className:`${tt}-list-item-actions`},Kt,or==="done"&&kr,Rr),{getPrefixCls:Xn}=h.useContext(K.E_),zn=Xn(),hr=h.createElement("div",{className:St},Mr,An,Wr,Qt,nr&&h.createElement(xt.default,{motionName:`${zn}-fade`,visible:or==="uploading",motionDeadline:2e3},Pr=>{let{className:et}=Pr;const Lt="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:B()(`${tt}-list-item-progress`,et)},Lt)})),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)||Ee.uploadError,gr=or==="error"?h.createElement(z.Z,{title:Tr,getPopupContainer:Pr=>Pr.parentNode},hr):hr;return h.createElement("div",{className:B()(`${tt}-list-item-container`,me),style:_e,ref:Ze},on?on(gr,Se,ut,{download:Fn.bind(null,Se),preview:Cn.bind(null,Se),remove:er.bind(null,Se)}):gr)});const se=(he,Ze)=>{const{listType:tt="text",previewFile:me=Pn,onPreview:_e,onDownload:Ee,onRemove:Xe,locale:Se,iconRender:ut,isImageUrl:bt=xn,prefixCls:Tt,items:kt=[],showPreviewIcon:on=!0,showRemoveIcon:Sn=!0,showDownloadIcon:_n=!1,removeIcon:nn,previewIcon:dn,downloadIcon:mn,extra:Pt,progress:wn={size:[-1,2],showInfo:!1},appendAction:jn,appendActionVisible:Cn=!0,itemRender:Fn,disabled:er}=he,Cr=(0,Jt.Z)(),[sr,Bn]=h.useState(!1),or=["picture-card","picture-circle"].includes(tt);h.useEffect(()=>{tt.startsWith("picture")&&(kt||[]).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,kt,me]),h.useEffect(()=>{Bn(!0)},[]);const fr=(ar,lr)=>{if(_e)return lr==null||lr.preventDefault(),_e(ar)},nr=ar=>{typeof Ee=="function"?Ee(ar):ar.url&&window.open(ar.url)},tr=ar=>{Xe==null||Xe(ar)},qn=ar=>{if(ut)return ut(ar,tt);const lr=ar.status==="uploading";if(tt.startsWith("picture")){const An=tt==="picture"?h.createElement(lt.Z,null):Se.uploading,Kt=bt!=null&&bt(ar)?h.createElement(Et,null):h.createElement(ce,null);return lr?An:Kt}return lr?h.createElement(lt.Z,null):h.createElement(mt,null)},Mr=(ar,lr,An,Kt,Qt)=>{const Xn={type:"text",size:"small",title:Kt,onClick:zn=>{var hr,Tr;lr(),h.isValidElement(ar)&&((Tr=(hr=ar.props).onClick)===null||Tr===void 0||Tr.call(hr,zn))},className:`${An}-list-item-action`};return Qt&&(Xn.disabled=er),h.isValidElement(ar)?h.createElement(Nn.ZP,Object.assign({},Xn,{icon:(0,hn.Tm)(ar,Object.assign(Object.assign({},ar.props),{onClick:()=>{}}))})):h.createElement(Nn.ZP,Object.assign({},Xn),h.createElement("span",null,ar))};h.useImperativeHandle(Ze,()=>({handlePreview:fr,handleDownload:nr}));const{getPrefixCls:St}=h.useContext(K.E_),Hr=St("upload",Tt),Rr=St(),kr=B()(`${Hr}-list`,`${Hr}-list-${tt}`),Wr=h.useMemo(()=>(0,un.Z)((0,Bt.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)(kt.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:An,className:Kt,style:Qt}=ar;return h.createElement($,{key:lr,locale:Se,prefixCls:Hr,className:Kt,style:Qt,file:An,items:kt,progress:wn,listType:tt,isImgUrl:bt,showPreviewIcon:on,showRemoveIcon:Sn,showDownloadIcon:_n,removeIcon:nn,previewIcon:dn,downloadIcon:mn,extra:Pt,iconRender:qn,actionIconRender:Mr,itemRender:Fn,onPreview:fr,onDownload:nr,onClose:tr})}),jn&&h.createElement(xt.default,Object.assign({},ea,{visible:Cn,forceRender:!0}),ar=>{let{className:lr,style:An}=ar;return(0,hn.Tm)(jn,Kt=>({className:B()(Kt.className,lr),style:Object.assign(Object.assign(Object.assign({},An),{pointerEvents:lr?"none":void 0}),Kt.style)}))}))};var at=h.forwardRef(se),_t=function(he,Ze,tt,me){function _e(Ee){return Ee instanceof tt?Ee:new tt(function(Xe){Xe(Ee)})}return new(tt||(tt=Promise))(function(Ee,Xe){function Se(Tt){try{bt(me.next(Tt))}catch(kt){Xe(kt)}}function ut(Tt){try{bt(me.throw(Tt))}catch(kt){Xe(kt)}}function bt(Tt){Tt.done?Ee(Tt.value):_e(Tt.value).then(Se,ut)}bt((me=me.apply(he,Ze||[])).next())})};const dt=`__LIST_IGNORE_${Date.now()}__`,Rt=(he,Ze)=>{const{fileList:tt,defaultFileList:me,onRemove:_e,showUploadList:Ee=!0,listType:Xe="text",onPreview:Se,onDownload:ut,onChange:bt,onDrop:Tt,previewFile:kt,disabled:on,locale:Sn,iconRender:_n,isImageUrl:nn,progress:dn,prefixCls:mn,className:Pt,type:wn="select",children:jn,style:Cn,itemRender:Fn,maxCount:er,data:Cr={},multiple:sr=!1,hasControlInside:Bn=!0,action:or="",accept:fr="",supportServerRender:nr=!0,rootClassName:tr}=he,qn=h.useContext(j.Z),Mr=on!=null?on:qn,[St,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)=>_t(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[dt],ur===dt)return Object.defineProperty(Jn,dt,{value:!0,configurable:!0}),!1;typeof ur=="object"&&ur&&(Dr=ur)}return Gr&&(Dr=yield Gr(Dr)),Dr}),An=Jn=>{const Er=Jn.filter(Dr=>!Dr.file[dt]);if(!Er.length)return;const ra=Er.map(Dr=>tn(Dr.file));let Gr=(0,k.Z)(St);ra.forEach(Dr=>{Gr=On(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)})},Kt=(Jn,Er,ra)=>{try{typeof Jn=="string"&&(Jn=JSON.parse(Jn))}catch(ur){}if(!qt(Er,St))return;const Gr=tn(Er);Gr.status="done",Gr.percent=100,Gr.response=Jn,Gr.xhr=ra;const Dr=On(Gr,St);ar(Gr,Dr)},Qt=(Jn,Er)=>{if(!qt(Er,St))return;const ra=tn(Er);ra.status="uploading",ra.percent=Jn.percent;const Gr=On(ra,St);ar(ra,Gr,Jn)},Xn=(Jn,Er,ra)=>{if(!qt(ra,St))return;const Gr=tn(ra);Gr.error=Jn,Gr.response=Er,Gr.status="error";const Dr=On(Gr,St);ar(Gr,Dr)},zn=Jn=>{let Er;Promise.resolve(typeof _e=="function"?_e(Jn):_e).then(ra=>{var Gr;if(ra===!1)return;const Dr=Wt(Jn,St);Dr&&(Er=Object.assign(Object.assign({},Jn),{status:"removed"}),St==null||St.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"&&(Tt==null||Tt(Jn))};h.useImperativeHandle(Ze,()=>({onBatchStart:An,onSuccess:Kt,onProgress:Qt,onError:Xn,fileList:St,upload:Wr.current,nativeElement:ea.current}));const{getPrefixCls:Tr,direction:gr,upload:Pr}=h.useContext(K.E_),et=Tr("upload",mn),Lt=Object.assign(Object.assign({onBatchStart:An,onError:Xn,onProgress:Qt,onSuccess:Kt},he),{data:Cr,multiple:sr,action:or,accept:fr,supportServerRender:nr,prefixCls:et,disabled:Mr,beforeUpload:lr,onChange:void 0,hasControlInside:Bn});delete Lt.className,delete Lt.style,(!jn||Mr)&&delete Lt.id;const At=`${et}-wrapper`,[yn,Qn,vt]=te(et,At),[vr]=(0,G.Z)("Upload",Y.Z.Upload),{showRemoveIcon:Tn,showPreviewIcon:Yt,showDownloadIcon:Vn,removeIcon:yr,previewIcon:Kn,downloadIcon:pr,extra:Rn}=typeof Ee=="boolean"?{}:Ee,wr=typeof Tn=="undefined"?!Mr:Tn,mr=(Jn,Er)=>Ee?h.createElement(at,{prefixCls:et,listType:Xe,items:St,previewFile:kt,onPreview:Se,onDownload:ut,onRemove:zn,showRemoveIcon:wr,showPreviewIcon:Yt,showDownloadIcon:Vn,removeIcon:yr,previewIcon:Kn,downloadIcon:pr,iconRender:_n,extra:Rn,locale:Object.assign(Object.assign({},vr),Sn),isImageUrl:nn,progress:dn,appendAction:Jn,appendActionVisible:Er,itemRender:Fn,disabled:Mr}):Jn,Gn=B()(At,Pt,tr,Qn,vt,Pr==null?void 0:Pr.className,{[`${et}-rtl`]:gr==="rtl",[`${et}-picture-card-wrapper`]:Xe==="picture-card",[`${et}-picture-circle-wrapper`]:Xe==="picture-circle"}),br=Object.assign(Object.assign({},Pr==null?void 0:Pr.style),Cn);if(wn==="drag"){const Jn=B()(Qn,et,`${et}-drag`,{[`${et}-drag-uploading`]:St.some(Er=>Er.status==="uploading"),[`${et}-drag-hover`]:Rr==="dragover",[`${et}-disabled`]:Mr,[`${et}-rtl`]:gr==="rtl"});return yn(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({},Lt,{ref:Wr,className:`${et}-btn`}),h.createElement("div",{className:`${et}-drag-container`},jn))),mr()))}const Ar=B()(et,`${et}-select`,{[`${et}-disabled`]:Mr,[`${et}-hidden`]:!jn}),Ir=h.createElement("div",{className:Ar},h.createElement(U,Object.assign({},Lt,{ref:Wr})));return yn(Xe==="picture-card"||Xe==="picture-circle"?h.createElement("span",{className:Gn,ref:ea},mr(Ir,!!jn)):h.createElement("span",{className:Gn,ref:ea},Ir,mr()))};var ze=h.forwardRef(Rt),Re=function(he,Ze){var tt={};for(var me in he)Object.prototype.hasOwnProperty.call(he,me)&&Ze.indexOf(me)<0&&(tt[me]=he[me]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,me=Object.getOwnPropertySymbols(he);_e<me.length;_e++)Ze.indexOf(me[_e])<0&&Object.prototype.propertyIsEnumerable.call(he,me[_e])&&(tt[me[_e]]=he[me[_e]]);return tt},Te=h.forwardRef((he,Ze)=>{var{style:tt,height:me,hasControlInside:_e=!1}=he,Ee=Re(he,["style","height","hasControlInside"]);return h.createElement(ze,Object.assign({ref:Ze,hasControlInside:_e},Ee,{type:"drag",style:Object.assign(Object.assign({},tt),{height:me})}))});const Ie=ze;Ie.Dragger=Te,Ie.LIST_IGNORE=dt;var Ke=Ie},97774:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.default=void 0;var h=Object.assign||function(a){for(var c=1;c<arguments.length;c++){var u=arguments[c];for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&(a[s]=u[s])}return a},k=function(){function a(c,u){for(var s=0;s<u.length;s++){var v=u[s];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(c,v.key,v)}}return function(c,u,s){return u&&a(c.prototype,u),s&&a(c,s),c}}(),P=w(59301),_=l(P),B=w(12708),C=l(B),p=w(53291),m=l(p),E=w(47242),d=w(65429);function l(a){return a&&a.__esModule?a:{default:a}}function o(a,c){if(!(a instanceof c))throw new TypeError("Cannot call a class as a function")}function g(a,c){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:a}function r(a,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);a.prototype=Object.create(c&&c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c)}var n=function(a){r(c,a);function c(u){o(this,c);var s=g(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,u));return s.getEchartsInstance=function(){return s.echartsLib.getInstanceByDom(s.echartsElement)||s.echartsLib.init(s.echartsElement,s.props.theme,s.props.opts)},s.dispose=function(){if(s.echartsElement){try{(0,E.clear)(s.echartsElement)}catch(v){console.warn(v)}s.echartsLib.dispose(s.echartsElement)}},s.rerender=function(){var v=s.props,e=v.onEvents,t=v.onChartReady,i=s.renderEchartDom();s.bindEvents(i,e||{}),typeof t=="function"&&s.props.onChartReady(i),s.echartsElement&&(0,E.bind)(s.echartsElement,function(){try{i.resize()}catch(f){console.warn(f)}})},s.bindEvents=function(v,e){var t=function(y,b){typeof y=="string"&&typeof b=="function"&&v.on(y,function(x){b(x,v)})};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t(i,e[i])},s.renderEchartDom=function(){var v=s.getEchartsInstance();return v.setOption(s.props.option,s.props.notMerge||!1,s.props.lazyUpdate||!1),s.props.showLoading?v.showLoading(s.props.loadingOption||null):v.hideLoading(),v},s.echartsLib=u.echarts,s.echartsElement=null,s}return k(c,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(s){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(s,this.props))){if(!(0,m.default)(s.theme,this.props.theme)||!(0,m.default)(s.opts,this.props.opts)||!(0,m.default)(s.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var v=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,m.default)((0,d.pick)(this.props,v),(0,d.pick)(s,v))){var e=this.renderEchartDom();if(!(0,m.default)(s.style,this.props.style)||!(0,m.default)(s.className,this.props.className))try{e.resize()}catch(t){console.warn(t)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var s=this,v=this.props,e=v.style,t=v.className,i=h({height:300},e);return _.default.createElement("div",{ref:function(y){s.echartsElement=y},style:i,className:"echarts-for-react "+t})}}]),c}(P.Component);gt.default=n,n.propTypes={option:C.default.object.isRequired,echarts:C.default.object,notMerge:C.default.bool,lazyUpdate:C.default.bool,style:C.default.object,className:C.default.string,theme:C.default.oneOfType([C.default.string,C.default.object]),onChartReady:C.default.func,showLoading:C.default.bool,loadingOption:C.default.object,onEvents:C.default.object,opts:C.default.shape({devicePixelRatio:C.default.number,renderer:C.default.oneOf(["canvas","svg"]),width:C.default.oneOfType([C.default.number,C.default.oneOf([null,void 0,"auto"])]),height:C.default.oneOfType([C.default.number,C.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:C.default.func},n.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(Ln,gt,w){"use strict";var h;h={value:!0},gt.Z=void 0;var k=w(76411),P=C(k),_=w(97774),B=C(_);function C(l){return l&&l.__esModule?l:{default:l}}function p(l,o){if(!(l instanceof o))throw new TypeError("Cannot call a class as a function")}function m(l,o){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:l}function E(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);l.prototype=Object.create(o&&o.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(l,o):l.__proto__=o)}var d=function(l){E(o,l);function o(g){p(this,o);var r=m(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,g));return r.echartsLib=P.default,r}return o}(B.default);gt.Z=d},65429:function(Ln,gt){"use strict";Object.defineProperty(gt,"__esModule",{value:!0});var w=gt.pick=function(k,P){var _={};return P.forEach(function(B){_[B]=k[B]}),_}},48961:function(Ln,gt,w){(function(k,P){Ln.exports=P(w(76411))})(this,function(h){return function(k){var P={};function _(B){if(P[B])return P[B].exports;var C=P[B]={i:B,l:!1,exports:{}};return k[B].call(C.exports,C,C.exports,_),C.l=!0,C.exports}return _.m=k,_.c=P,_.d=function(B,C,p){_.o(B,C)||Object.defineProperty(B,C,{configurable:!1,enumerable:!0,get:p})},_.n=function(B){var C=B&&B.__esModule?function(){return B.default}:function(){return B};return _.d(C,"a",C),C},_.o=function(B,C){return Object.prototype.hasOwnProperty.call(B,C)},_.p="",_(_.s=87)}([function(k,P){k.exports=h},function(k,P,_){(function(B){"use strict";var C={};C.exports=P,function(p){if(!m)var m=1e-6;if(!E)var E=typeof Float32Array!="undefined"?Float32Array:Array;if(!d)var d=Math.random;var l={};l.setMatrixArrayType=function(e){E=e},typeof p!="undefined"&&(p.glMatrix=l);var o=Math.PI/180;l.toRadian=function(e){return e*o};var g={};g.create=function(){var e=new E(2);return e[0]=0,e[1]=0,e},g.clone=function(e){var t=new E(2);return t[0]=e[0],t[1]=e[1],t},g.fromValues=function(e,t){var i=new E(2);return i[0]=e,i[1]=t,i},g.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e},g.set=function(e,t,i){return e[0]=t,e[1]=i,e},g.add=function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},g.subtract=function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},g.sub=g.subtract,g.multiply=function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e},g.mul=g.multiply,g.divide=function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e},g.div=g.divide,g.min=function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e},g.max=function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e},g.scale=function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},g.scaleAndAdd=function(e,t,i,f){return e[0]=t[0]+i[0]*f,e[1]=t[1]+i[1]*f,e},g.distance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1];return Math.sqrt(i*i+f*f)},g.dist=g.distance,g.squaredDistance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1];return i*i+f*f},g.sqrDist=g.squaredDistance,g.length=function(e){var t=e[0],i=e[1];return Math.sqrt(t*t+i*i)},g.len=g.length,g.squaredLength=function(e){var t=e[0],i=e[1];return t*t+i*i},g.sqrLen=g.squaredLength,g.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},g.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e},g.normalize=function(e,t){var i=t[0],f=t[1],y=i*i+f*f;return y>0&&(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,M;for(i||(i=2),f||(f=0),y?M=Math.min(y*i+f,t.length):M=t.length,A=f;A<M;A+=i)e[0]=t[A],e[1]=t[A+1],b(e,e,x),t[A]=e[0],t[A+1]=e[1];return t}}(),g.str=function(e){return"vec2("+e[0]+", "+e[1]+")"},typeof p!="undefined"&&(p.vec2=g);var r={};r.create=function(){var e=new E(3);return e[0]=0,e[1]=0,e[2]=0,e},r.clone=function(e){var t=new E(3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},r.fromValues=function(e,t,i){var f=new E(3);return f[0]=e,f[1]=t,f[2]=i,f},r.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},r.set=function(e,t,i,f){return e[0]=t,e[1]=i,e[2]=f,e},r.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},r.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},r.sub=r.subtract,r.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},r.mul=r.multiply,r.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},r.div=r.divide,r.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},r.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},r.scale=function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e},r.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},r.distance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2];return Math.sqrt(i*i+f*f+y*y)},r.dist=r.distance,r.squaredDistance=function(e,t){var i=t[0]-e[0],f=t[1]-e[1],y=t[2]-e[2];return i*i+f*f+y*y},r.sqrDist=r.squaredDistance,r.length=function(e){var t=e[0],i=e[1],f=e[2];return Math.sqrt(t*t+i*i+f*f)},r.len=r.length,r.squaredLength=function(e){var t=e[0],i=e[1],f=e[2];return t*t+i*i+f*f},r.sqrLen=r.squaredLength,r.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e},r.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e},r.normalize=function(e,t){var i=t[0],f=t[1],y=t[2],b=i*i+f*f+y*y;return b>0&&(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],M=i[2];return e[0]=y*M-b*A,e[1]=b*x-f*M,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],M=i[2],L=i[3],O=L*f+A*b-M*y,D=L*y+M*f-x*b,N=L*b+x*y-A*f,I=-x*f-A*y-M*b;return e[0]=O*L+I*-x+D*-M-N*-A,e[1]=D*L+I*-A+N*-x-O*-M,e[2]=N*L+I*-M+O*-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,M;for(i||(i=3),f||(f=0),y?M=Math.min(y*i+f,t.length):M=t.length,A=f;A<M;A+=i)e[0]=t[A],e[1]=t[A+1],e[2]=t[A+2],b(e,e,x),t[A]=e[0],t[A+1]=e[1],t[A+2]=e[2];return t}}(),r.angle=function(e,t){var i=r.fromValues(e[0],e[1],e[2]),f=r.fromValues(t[0],t[1],t[2]);r.normalize(i,i),r.normalize(f,f);var y=r.dot(i,f);return y>1?0:Math.acos(y)},r.str=function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},typeof p!="undefined"&&(p.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],M=i[2],L=i[3],O=L*f+A*b-M*y,D=L*y+M*f-x*b,N=L*b+x*y-A*f,I=-x*f-A*y-M*b;return e[0]=O*L+I*-x+D*-M-N*-A,e[1]=D*L+I*-A+N*-x-O*-M,e[2]=N*L+I*-M+O*-A-D*-x,e},n.forEach=function(){var e=n.create();return function(t,i,f,y,b,x){var A,M;for(i||(i=4),f||(f=0),y?M=Math.min(y*i+f,t.length):M=t.length,A=f;A<M;A+=i)e[0]=t[A],e[1]=t[A+1],e[2]=t[A+2],e[3]=t[A+3],b(e,e,x),t[A]=e[0],t[A+1]=e[1],t[A+2]=e[2],t[A+3]=e[3];return t}}(),n.str=function(e){return"vec4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},typeof p!="undefined"&&(p.vec4=n);var a={};a.create=function(){var e=new E(4);return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e},a.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},a.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},a.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e},a.transpose=function(e,t){if(e===t){var i=t[1];e[1]=t[2],e[2]=i}else e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3];return e},a.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i*b-y*f;return x?(x=1/x,e[0]=b*x,e[1]=-f*x,e[2]=-y*x,e[3]=i*x,e):null},a.adjoint=function(e,t){var i=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=i,e},a.determinant=function(e){return e[0]*e[3]-e[2]*e[1]},a.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=i[0],M=i[1],L=i[2],O=i[3];return e[0]=f*A+b*M,e[1]=y*A+x*M,e[2]=f*L+b*O,e[3]=y*L+x*O,e},a.mul=a.multiply,a.rotate=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=Math.sin(i),M=Math.cos(i);return e[0]=f*M+b*A,e[1]=y*M+x*A,e[2]=f*-A+b*M,e[3]=y*-A+x*M,e},a.scale=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=i[0],M=i[1];return e[0]=f*A,e[1]=y*A,e[2]=b*M,e[3]=x*M,e},a.str=function(e){return"mat2("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")"},a.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2))},a.LDU=function(e,t,i,f){return e[2]=f[2]/f[0],i[0]=f[0],i[1]=f[1],i[3]=f[3]-e[2]*i[1],[e,t,i]},typeof p!="undefined"&&(p.mat2=a);var c={};c.create=function(){var e=new E(6);return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},c.clone=function(e){var t=new E(6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},c.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},c.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},c.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=i*b-f*y;return M?(M=1/M,e[0]=b*M,e[1]=-f*M,e[2]=-y*M,e[3]=i*M,e[4]=(y*A-b*x)*M,e[5]=(f*x-i*A)*M,e):null},c.determinant=function(e){return e[0]*e[3]-e[1]*e[2]},c.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=i[0],O=i[1],D=i[2],N=i[3],I=i[4],U=i[5];return e[0]=f*L+b*O,e[1]=y*L+x*O,e[2]=f*D+b*N,e[3]=y*D+x*N,e[4]=f*I+b*U+A,e[5]=y*I+x*U+M,e},c.mul=c.multiply,c.rotate=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=Math.sin(i),O=Math.cos(i);return e[0]=f*O+b*L,e[1]=y*O+x*L,e[2]=f*-L+b*O,e[3]=y*-L+x*O,e[4]=A,e[5]=M,e},c.scale=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=i[0],O=i[1];return e[0]=f*L,e[1]=y*L,e[2]=b*O,e[3]=x*O,e[4]=A,e[5]=M,e},c.translate=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=i[0],O=i[1];return e[0]=f,e[1]=y,e[2]=b,e[3]=x,e[4]=f*L+b*O+A,e[5]=y*L+x*O+M,e},c.str=function(e){return"mat2d("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+")"},c.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+1)},typeof p!="undefined"&&(p.mat2d=c);var u={};u.create=function(){var e=new E(9);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},u.fromMat4=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e},u.clone=function(e){var t=new E(9);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},u.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},u.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e},u.transpose=function(e,t){if(e===t){var i=t[1],f=t[2],y=t[5];e[1]=t[3],e[2]=t[6],e[3]=i,e[5]=t[7],e[6]=f,e[7]=y}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e},u.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=t[6],L=t[7],O=t[8],D=O*x-A*L,N=-O*b+A*M,I=L*b-x*M,U=i*D+f*N+y*I;return U?(U=1/U,e[0]=D*U,e[1]=(-O*f+y*L)*U,e[2]=(A*f-y*x)*U,e[3]=N*U,e[4]=(O*i-y*M)*U,e[5]=(-A*i+y*b)*U,e[6]=I*U,e[7]=(-L*i+f*M)*U,e[8]=(x*i-f*b)*U,e):null},u.adjoint=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=t[6],L=t[7],O=t[8];return e[0]=x*O-A*L,e[1]=y*L-f*O,e[2]=f*A-y*x,e[3]=A*M-b*O,e[4]=i*O-y*M,e[5]=y*b-i*A,e[6]=b*L-x*M,e[7]=f*M-i*L,e[8]=i*x-f*b,e},u.determinant=function(e){var t=e[0],i=e[1],f=e[2],y=e[3],b=e[4],x=e[5],A=e[6],M=e[7],L=e[8];return t*(L*b-x*M)+i*(-L*y+x*A)+f*(M*y-b*A)},u.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=t[6],O=t[7],D=t[8],N=i[0],I=i[1],U=i[2],F=i[3],K=i[4],j=i[5],G=i[6],Y=i[7],le=i[8];return e[0]=N*f+I*x+U*L,e[1]=N*y+I*A+U*O,e[2]=N*b+I*M+U*D,e[3]=F*f+K*x+j*L,e[4]=F*y+K*A+j*O,e[5]=F*b+K*M+j*D,e[6]=G*f+Y*x+le*L,e[7]=G*y+Y*A+le*O,e[8]=G*b+Y*M+le*D,e},u.mul=u.multiply,u.translate=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=t[6],O=t[7],D=t[8],N=i[0],I=i[1];return e[0]=f,e[1]=y,e[2]=b,e[3]=x,e[4]=A,e[5]=M,e[6]=N*f+I*x+L,e[7]=N*y+I*A+O,e[8]=N*b+I*M+D,e},u.rotate=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=t[6],O=t[7],D=t[8],N=Math.sin(i),I=Math.cos(i);return e[0]=I*f+N*x,e[1]=I*y+N*A,e[2]=I*b+N*M,e[3]=I*x-N*f,e[4]=I*A-N*y,e[5]=I*M-N*b,e[6]=L,e[7]=O,e[8]=D,e},u.scale=function(e,t,i){var f=i[0],y=i[1];return e[0]=f*t[0],e[1]=f*t[1],e[2]=f*t[2],e[3]=y*t[3],e[4]=y*t[4],e[5]=y*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},u.fromMat2d=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e},u.fromQuat=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i+i,A=f+f,M=y+y,L=i*x,O=f*x,D=f*A,N=y*x,I=y*A,U=y*M,F=b*x,K=b*A,j=b*M;return e[0]=1-D-U,e[3]=O-j,e[6]=N+K,e[1]=O+j,e[4]=1-L-U,e[7]=I-F,e[2]=N-K,e[5]=I+F,e[8]=1-L-D,e},u.normalFromMat4=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=t[6],L=t[7],O=t[8],D=t[9],N=t[10],I=t[11],U=t[12],F=t[13],K=t[14],j=t[15],G=i*A-f*x,Y=i*M-y*x,le=i*L-b*x,Q=f*M-y*A,ve=f*L-b*A,xe=y*L-b*M,be=O*F-D*U,De=O*K-N*U,Ue=O*j-I*U,we=D*K-N*F,Ye=D*j-I*F,Be=N*j-I*K,ge=G*Be-Y*Ye+le*we+Q*Ue-ve*De+xe*be;return ge?(ge=1/ge,e[0]=(A*Be-M*Ye+L*we)*ge,e[1]=(M*Ue-x*Be-L*De)*ge,e[2]=(x*Ye-A*Ue+L*be)*ge,e[3]=(y*Ye-f*Be-b*we)*ge,e[4]=(i*Be-y*Ue+b*De)*ge,e[5]=(f*Ue-i*Ye-b*be)*ge,e[6]=(F*xe-K*ve+j*Q)*ge,e[7]=(K*le-U*xe-j*Y)*ge,e[8]=(U*ve-F*le+j*G)*ge,e):null},u.str=function(e){return"mat3("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+")"},u.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+Math.pow(e[6],2)+Math.pow(e[7],2)+Math.pow(e[8],2))},typeof p!="undefined"&&(p.mat3=u);var s={};s.create=function(){var e=new E(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},s.clone=function(e){var t=new E(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},s.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},s.identity=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},s.transpose=function(e,t){if(e===t){var i=t[1],f=t[2],y=t[3],b=t[6],x=t[7],A=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=i,e[6]=t[9],e[7]=t[13],e[8]=f,e[9]=b,e[11]=t[14],e[12]=y,e[13]=x,e[14]=A}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e},s.invert=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=t[6],L=t[7],O=t[8],D=t[9],N=t[10],I=t[11],U=t[12],F=t[13],K=t[14],j=t[15],G=i*A-f*x,Y=i*M-y*x,le=i*L-b*x,Q=f*M-y*A,ve=f*L-b*A,xe=y*L-b*M,be=O*F-D*U,De=O*K-N*U,Ue=O*j-I*U,we=D*K-N*F,Ye=D*j-I*F,Be=N*j-I*K,ge=G*Be-Y*Ye+le*we+Q*Ue-ve*De+xe*be;return ge?(ge=1/ge,e[0]=(A*Be-M*Ye+L*we)*ge,e[1]=(y*Ye-f*Be-b*we)*ge,e[2]=(F*xe-K*ve+j*Q)*ge,e[3]=(N*ve-D*xe-I*Q)*ge,e[4]=(M*Ue-x*Be-L*De)*ge,e[5]=(i*Be-y*Ue+b*De)*ge,e[6]=(K*le-U*xe-j*Y)*ge,e[7]=(O*xe-N*le+I*Y)*ge,e[8]=(x*Ye-A*Ue+L*be)*ge,e[9]=(f*Ue-i*Ye-b*be)*ge,e[10]=(U*ve-F*le+j*G)*ge,e[11]=(D*le-O*ve-I*G)*ge,e[12]=(A*De-x*we-M*be)*ge,e[13]=(i*we-f*De+y*be)*ge,e[14]=(F*Y-U*Q-K*G)*ge,e[15]=(O*Q-D*Y+N*G)*ge,e):null},s.adjoint=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=t[4],A=t[5],M=t[6],L=t[7],O=t[8],D=t[9],N=t[10],I=t[11],U=t[12],F=t[13],K=t[14],j=t[15];return e[0]=A*(N*j-I*K)-D*(M*j-L*K)+F*(M*I-L*N),e[1]=-(f*(N*j-I*K)-D*(y*j-b*K)+F*(y*I-b*N)),e[2]=f*(M*j-L*K)-A*(y*j-b*K)+F*(y*L-b*M),e[3]=-(f*(M*I-L*N)-A*(y*I-b*N)+D*(y*L-b*M)),e[4]=-(x*(N*j-I*K)-O*(M*j-L*K)+U*(M*I-L*N)),e[5]=i*(N*j-I*K)-O*(y*j-b*K)+U*(y*I-b*N),e[6]=-(i*(M*j-L*K)-x*(y*j-b*K)+U*(y*L-b*M)),e[7]=i*(M*I-L*N)-x*(y*I-b*N)+O*(y*L-b*M),e[8]=x*(D*j-I*F)-O*(A*j-L*F)+U*(A*I-L*D),e[9]=-(i*(D*j-I*F)-O*(f*j-b*F)+U*(f*I-b*D)),e[10]=i*(A*j-L*F)-x*(f*j-b*F)+U*(f*L-b*A),e[11]=-(i*(A*I-L*D)-x*(f*I-b*D)+O*(f*L-b*A)),e[12]=-(x*(D*K-N*F)-O*(A*K-M*F)+U*(A*N-M*D)),e[13]=i*(D*K-N*F)-O*(f*K-y*F)+U*(f*N-y*D),e[14]=-(i*(A*K-M*F)-x*(f*K-y*F)+U*(f*M-y*A)),e[15]=i*(A*N-M*D)-x*(f*N-y*D)+O*(f*M-y*A),e},s.determinant=function(e){var t=e[0],i=e[1],f=e[2],y=e[3],b=e[4],x=e[5],A=e[6],M=e[7],L=e[8],O=e[9],D=e[10],N=e[11],I=e[12],U=e[13],F=e[14],K=e[15],j=t*x-i*b,G=t*A-f*b,Y=t*M-y*b,le=i*A-f*x,Q=i*M-y*x,ve=f*M-y*A,xe=L*U-O*I,be=L*F-D*I,De=L*K-N*I,Ue=O*F-D*U,we=O*K-N*U,Ye=D*K-N*F;return j*Ye-G*we+Y*Ue+le*De-Q*be+ve*xe},s.multiply=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=t[4],M=t[5],L=t[6],O=t[7],D=t[8],N=t[9],I=t[10],U=t[11],F=t[12],K=t[13],j=t[14],G=t[15],Y=i[0],le=i[1],Q=i[2],ve=i[3];return e[0]=Y*f+le*A+Q*D+ve*F,e[1]=Y*y+le*M+Q*N+ve*K,e[2]=Y*b+le*L+Q*I+ve*j,e[3]=Y*x+le*O+Q*U+ve*G,Y=i[4],le=i[5],Q=i[6],ve=i[7],e[4]=Y*f+le*A+Q*D+ve*F,e[5]=Y*y+le*M+Q*N+ve*K,e[6]=Y*b+le*L+Q*I+ve*j,e[7]=Y*x+le*O+Q*U+ve*G,Y=i[8],le=i[9],Q=i[10],ve=i[11],e[8]=Y*f+le*A+Q*D+ve*F,e[9]=Y*y+le*M+Q*N+ve*K,e[10]=Y*b+le*L+Q*I+ve*j,e[11]=Y*x+le*O+Q*U+ve*G,Y=i[12],le=i[13],Q=i[14],ve=i[15],e[12]=Y*f+le*A+Q*D+ve*F,e[13]=Y*y+le*M+Q*N+ve*K,e[14]=Y*b+le*L+Q*I+ve*j,e[15]=Y*x+le*O+Q*U+ve*G,e},s.multiplyAffine=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[4],A=t[5],M=t[6],L=t[8],O=t[9],D=t[10],N=t[12],I=t[13],U=t[14],F=i[0],K=i[1],j=i[2];return e[0]=F*f+K*x+j*L,e[1]=F*y+K*A+j*O,e[2]=F*b+K*M+j*D,F=i[4],K=i[5],j=i[6],e[4]=F*f+K*x+j*L,e[5]=F*y+K*A+j*O,e[6]=F*b+K*M+j*D,F=i[8],K=i[9],j=i[10],e[8]=F*f+K*x+j*L,e[9]=F*y+K*A+j*O,e[10]=F*b+K*M+j*D,F=i[12],K=i[13],j=i[14],e[12]=F*f+K*x+j*L+N,e[13]=F*y+K*A+j*O+I,e[14]=F*b+K*M+j*D+U,e},s.mul=s.multiply,s.mulAffine=s.multiplyAffine,s.translate=function(e,t,i){var f=i[0],y=i[1],b=i[2],x,A,M,L,O,D,N,I,U,F,K,j;return t===e?(e[12]=t[0]*f+t[4]*y+t[8]*b+t[12],e[13]=t[1]*f+t[5]*y+t[9]*b+t[13],e[14]=t[2]*f+t[6]*y+t[10]*b+t[14],e[15]=t[3]*f+t[7]*y+t[11]*b+t[15]):(x=t[0],A=t[1],M=t[2],L=t[3],O=t[4],D=t[5],N=t[6],I=t[7],U=t[8],F=t[9],K=t[10],j=t[11],e[0]=x,e[1]=A,e[2]=M,e[3]=L,e[4]=O,e[5]=D,e[6]=N,e[7]=I,e[8]=U,e[9]=F,e[10]=K,e[11]=j,e[12]=x*f+O*y+U*b+t[12],e[13]=A*f+D*y+F*b+t[13],e[14]=M*f+N*y+K*b+t[14],e[15]=L*f+I*y+j*b+t[15]),e},s.scale=function(e,t,i){var f=i[0],y=i[1],b=i[2];return e[0]=t[0]*f,e[1]=t[1]*f,e[2]=t[2]*f,e[3]=t[3]*f,e[4]=t[4]*y,e[5]=t[5]*y,e[6]=t[6]*y,e[7]=t[7]*y,e[8]=t[8]*b,e[9]=t[9]*b,e[10]=t[10]*b,e[11]=t[11]*b,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},s.rotate=function(e,t,i,f){var y=f[0],b=f[1],x=f[2],A=Math.sqrt(y*y+b*b+x*x),M,L,O,D,N,I,U,F,K,j,G,Y,le,Q,ve,xe,be,De,Ue,we,Ye,Be,ge,He;return Math.abs(A)<m?null:(A=1/A,y*=A,b*=A,x*=A,M=Math.sin(i),L=Math.cos(i),O=1-L,D=t[0],N=t[1],I=t[2],U=t[3],F=t[4],K=t[5],j=t[6],G=t[7],Y=t[8],le=t[9],Q=t[10],ve=t[11],xe=y*y*O+L,be=b*y*O+x*M,De=x*y*O-b*M,Ue=y*b*O-x*M,we=b*b*O+L,Ye=x*b*O+y*M,Be=y*x*O+b*M,ge=b*x*O-y*M,He=x*x*O+L,e[0]=D*xe+F*be+Y*De,e[1]=N*xe+K*be+le*De,e[2]=I*xe+j*be+Q*De,e[3]=U*xe+G*be+ve*De,e[4]=D*Ue+F*we+Y*Ye,e[5]=N*Ue+K*we+le*Ye,e[6]=I*Ue+j*we+Q*Ye,e[7]=U*Ue+G*we+ve*Ye,e[8]=D*Be+F*ge+Y*He,e[9]=N*Be+K*ge+le*He,e[10]=I*Be+j*ge+Q*He,e[11]=U*Be+G*ge+ve*He,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)},s.rotateX=function(e,t,i){var f=Math.sin(i),y=Math.cos(i),b=t[4],x=t[5],A=t[6],M=t[7],L=t[8],O=t[9],D=t[10],N=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=b*y+L*f,e[5]=x*y+O*f,e[6]=A*y+D*f,e[7]=M*y+N*f,e[8]=L*y-b*f,e[9]=O*y-x*f,e[10]=D*y-A*f,e[11]=N*y-M*f,e},s.rotateY=function(e,t,i){var f=Math.sin(i),y=Math.cos(i),b=t[0],x=t[1],A=t[2],M=t[3],L=t[8],O=t[9],D=t[10],N=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=b*y-L*f,e[1]=x*y-O*f,e[2]=A*y-D*f,e[3]=M*y-N*f,e[8]=b*f+L*y,e[9]=x*f+O*y,e[10]=A*f+D*y,e[11]=M*f+N*y,e},s.rotateZ=function(e,t,i){var f=Math.sin(i),y=Math.cos(i),b=t[0],x=t[1],A=t[2],M=t[3],L=t[4],O=t[5],D=t[6],N=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=b*y+L*f,e[1]=x*y+O*f,e[2]=A*y+D*f,e[3]=M*y+N*f,e[4]=L*y-b*f,e[5]=O*y-x*f,e[6]=D*y-A*f,e[7]=N*y-M*f,e},s.fromRotationTranslation=function(e,t,i){var f=t[0],y=t[1],b=t[2],x=t[3],A=f+f,M=y+y,L=b+b,O=f*A,D=f*M,N=f*L,I=y*M,U=y*L,F=b*L,K=x*A,j=x*M,G=x*L;return e[0]=1-(I+F),e[1]=D+G,e[2]=N-j,e[3]=0,e[4]=D-G,e[5]=1-(O+F),e[6]=U+K,e[7]=0,e[8]=N+j,e[9]=U-K,e[10]=1-(O+I),e[11]=0,e[12]=i[0],e[13]=i[1],e[14]=i[2],e[15]=1,e},s.fromQuat=function(e,t){var i=t[0],f=t[1],y=t[2],b=t[3],x=i+i,A=f+f,M=y+y,L=i*x,O=f*x,D=f*A,N=y*x,I=y*A,U=y*M,F=b*x,K=b*A,j=b*M;return e[0]=1-D-U,e[1]=O+j,e[2]=N-K,e[3]=0,e[4]=O-j,e[5]=1-L-U,e[6]=I+F,e[7]=0,e[8]=N+K,e[9]=I-F,e[10]=1-L-D,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},s.frustum=function(e,t,i,f,y,b,x){var A=1/(i-t),M=1/(y-f),L=1/(b-x);return e[0]=b*2*A,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=b*2*M,e[6]=0,e[7]=0,e[8]=(i+t)*A,e[9]=(y+f)*M,e[10]=(x+b)*L,e[11]=-1,e[12]=0,e[13]=0,e[14]=x*b*2*L,e[15]=0,e},s.perspective=function(e,t,i,f,y){var b=1/Math.tan(t/2),x=1/(f-y);return e[0]=b/i,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=b,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(y+f)*x,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*y*f*x,e[15]=0,e},s.ortho=function(e,t,i,f,y,b,x){var A=1/(t-i),M=1/(f-y),L=1/(b-x);return e[0]=-2*A,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*M,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*L,e[11]=0,e[12]=(t+i)*A,e[13]=(y+f)*M,e[14]=(x+b)*L,e[15]=1,e},s.lookAt=function(e,t,i,f){var y,b,x,A,M,L,O,D,N,I,U=t[0],F=t[1],K=t[2],j=f[0],G=f[1],Y=f[2],le=i[0],Q=i[1],ve=i[2];return Math.abs(U-le)<m&&Math.abs(F-Q)<m&&Math.abs(K-ve)<m?s.identity(e):(O=U-le,D=F-Q,N=K-ve,I=1/Math.sqrt(O*O+D*D+N*N),O*=I,D*=I,N*=I,y=G*N-Y*D,b=Y*O-j*N,x=j*D-G*O,I=Math.sqrt(y*y+b*b+x*x),I?(I=1/I,y*=I,b*=I,x*=I):(y=0,b=0,x=0),A=D*x-N*b,M=N*y-O*x,L=O*b-D*y,I=Math.sqrt(A*A+M*M+L*L),I?(I=1/I,A*=I,M*=I,L*=I):(A=0,M=0,L=0),e[0]=y,e[1]=A,e[2]=O,e[3]=0,e[4]=b,e[5]=M,e[6]=D,e[7]=0,e[8]=x,e[9]=L,e[10]=N,e[11]=0,e[12]=-(y*U+b*F+x*K),e[13]=-(A*U+M*F+L*K),e[14]=-(O*U+D*F+N*K),e[15]=1,e)},s.str=function(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"},s.frob=function(e){return Math.sqrt(Math.pow(e[0],2)+Math.pow(e[1],2)+Math.pow(e[2],2)+Math.pow(e[3],2)+Math.pow(e[4],2)+Math.pow(e[5],2)+Math.pow(e[6],2)+Math.pow(e[7],2)+Math.pow(e[8],2)+Math.pow(e[9],2)+Math.pow(e[10],2)+Math.pow(e[11],2)+Math.pow(e[12],2)+Math.pow(e[13],2)+Math.pow(e[14],2)+Math.pow(e[15],2))},typeof p!="undefined"&&(p.mat4=s);var v={};v.create=function(){var e=new E(4);return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},v.rotationTo=function(){var e=r.create(),t=r.fromValues(1,0,0),i=r.fromValues(0,1,0);return function(f,y,b){var x=r.dot(y,b);return x<-.999999?(r.cross(e,t,y),r.length(e)<1e-6&&r.cross(e,i,y),r.normalize(e,e),v.setAxisAngle(f,e,Math.PI),f):x>.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],M=i[1],L=i[2],O=i[3];return e[0]=f*O+x*A+y*L-b*M,e[1]=y*O+x*M+b*A-f*L,e[2]=b*O+x*L+f*M-y*A,e[3]=x*O-f*A-y*M-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),M=Math.cos(i);return e[0]=f*M+x*A,e[1]=y*M+b*A,e[2]=b*M-y*A,e[3]=x*M-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),M=Math.cos(i);return e[0]=f*M-b*A,e[1]=y*M+x*A,e[2]=b*M+f*A,e[3]=x*M-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),M=Math.cos(i);return e[0]=f*M+y*A,e[1]=y*M-f*A,e[2]=b*M+x*A,e[3]=x*M-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],M=i[0],L=i[1],O=i[2],D=i[3],N,I,U,F,K;return I=y*M+b*L+x*O+A*D,I<0&&(I=-I,M=-M,L=-L,O=-O,D=-D),1-I>1e-6?(N=Math.acos(I),U=Math.sin(N),F=Math.sin((1-f)*N)/U,K=Math.sin(f*N)/U):(F=1-f,K=f),e[0]=F*y+K*M,e[1]=F*b+K*L,e[2]=F*x+K*O,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 p!="undefined"&&(p.quat=v)}(C.exports)})(this)},function(k,P,_){"use strict";var B=_(24),C=_(46),p=_(5),m=_(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),M=_(71),L=_(72),O=_(36),D=_(30),N=_(23),I=_(4),U=_(117),F=_(50),K=_(118),j=_(119),G=_(120),Y=_(9),le=_(67),Q=_(49),ve=_(15),xe=_(52),be=_(121),De=_(126),Ue=_(63),we=_(127),Ye=_(128),Be=_(129),ge=_(130),He=_(131),Fe=_(132);r.a.util.extend(l.a.prototype,be.a),E.a.import(De.a),E.a.import(Ue.a),E.a.import(we.a),E.a.import(Ye.a),E.a.import(Be.a),E.a.import(ge.a),E.a.import(He.a),E.a.import(Fe.a);function Pe(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,q=n.a.prototype.removeFromScene;n.a.prototype.addToScene=function(fe){if(V.call(this,fe),this.__zr){var Ce=this.__zr;fe.traverse(function(re){re.__zr=Ce,re.addAnimatorsToZr&&re.addAnimatorsToZr(Ce)})}},n.a.prototype.removeFromScene=function(fe){q.call(this,fe),fe.traverse(function(Ce){var re=Ce.__zr;Ce.__zr=null,re&&Ce.removeAnimatorsFromZr&&Ce.removeAnimatorsFromZr(re)})},d.a.prototype.setTextureImage=function(fe,Ce,re,ce){if(this.shader){var lt=re.getZr(),Qe=this,ht;return Qe.autoUpdateTextureStatus=!1,Qe.disableTexture(fe),Pe(Ce)||(ht=ae.loadTexture(Ce,re,ce,function(pt){Qe.enableTexture(fe),lt&<.refresh()}),Qe.set(fe,ht)),ht}};var ae={};ae.Renderer=C.a,ae.Node=l.a,ae.Mesh=B.a,ae.Shader=E.a,ae.Material=d.a,ae.Texture=m.a,ae.Texture2D=p.a,ae.Geometry=o.a,ae.SphereGeometry=f.a,ae.PlaneGeometry=y.a,ae.CubeGeometry=b.a,ae.AmbientLight=x.a,ae.DirectionalLight=A.a,ae.PointLight=M.a,ae.SpotLight=L.a,ae.PerspectiveCamera=O.a,ae.OrthographicCamera=D.a,ae.Vector2=N.a,ae.Vector3=I.a,ae.Vector4=U.a,ae.Quaternion=F.a,ae.Matrix2=K.a,ae.Matrix2d=j.a,ae.Matrix3=G.a,ae.Matrix4=Y.a,ae.Plane=le.a,ae.Ray=Q.a,ae.BoundingBox=ve.a,ae.Frustum=xe.a;var te=u.a.createBlank("rgba(255,255,255,0)").image;function oe(fe){return Math.pow(2,Math.round(Math.log(fe)/Math.LN2))}function ee(fe){if((fe.wrapS===m.a.REPEAT||fe.wrapT===m.a.REPEAT)&&fe.image){var Ce=oe(fe.width),re=oe(fe.height);if(Ce!==fe.width||re!==fe.height){var ce=document.createElement("canvas");ce.width=Ce,ce.height=re;var lt=ce.getContext("2d");lt.drawImage(fe.image,0,0,Ce,re),fe.image=ce}}}ae.loadTexture=function(fe,Ce,re,ce){typeof re=="function"&&(ce=re,re={}),re=re||{};for(var lt=Object.keys(re).sort(),Qe="",ht=0;ht<lt.length;ht++)Qe+=lt[ht]+"_"+re[lt[ht]]+"_";var pt=Ce.__textureCache=Ce.__textureCache||new c.a(20);if(Ne(fe)){var $e=fe.__textureid__,mt=pt.get(Qe+$e);if(mt)mt.texture.surface.setECharts(fe),ce&&ce(mt.texture);else{var Ve=new s.a(fe);Ve.onupdate=function(){Ce.getZr().refresh()},mt={texture:Ve.getTexture()};for(var ht=0;ht<lt.length;ht++)mt.texture[lt[ht]]=re[lt[ht]];$e=fe.__textureid__||"__ecgl_ec__"+mt.texture.__uid__,fe.__textureid__=$e,pt.put(Qe+$e,mt),ce&&ce(mt.texture)}return mt.texture}else if(We(fe)){var $e=fe.__textureid__,mt=pt.get(Qe+$e);if(!mt){mt={texture:new ae.Texture2D({image:fe})};for(var ht=0;ht<lt.length;ht++)mt.texture[lt[ht]]=re[lt[ht]];$e=fe.__textureid__||"__ecgl_image__"+mt.texture.__uid__,fe.__textureid__=$e,pt.put(Qe+$e,mt),ee(mt.texture),ce&&ce(mt.texture)}return mt.texture}else{var mt=pt.get(Qe+fe);if(mt)mt.callbacks?mt.callbacks.push(ce):ce&&ce(mt.texture);else if(fe.match(/.hdr$|^data:application\/octet-stream/)){mt={callbacks:[ce]};var Me=u.a.loadTexture(fe,{exposure:re.exposure,fileType:"hdr"},function(){Me.dirty(),mt.callbacks.forEach(function(Et){Et&&Et(Me)}),mt.callbacks=null});mt.texture=Me,pt.put(Qe+fe,mt)}else{for(var Me=new ae.Texture2D({image:new Image}),ht=0;ht<lt.length;ht++)Me[lt[ht]]=re[lt[ht]];mt={texture:Me,callbacks:[ce]};var qe=Me.image;qe.onload=function(){Me.image=qe,ee(Me),Me.dirty(),mt.callbacks.forEach(function(xt){xt&&xt(Me)}),mt.callbacks=null},qe.src=fe,Me.image=te,pt.put(Qe+fe,mt)}return mt.texture}},ae.createAmbientCubemap=function(fe,Ce,re,ce){fe=fe||{};var lt=fe.texture,Qe=i.a.firstNotNull(fe.exposure,1),ht=new v.a({intensity:i.a.firstNotNull(fe.specularIntensity,1)}),pt=new e.a({intensity:i.a.firstNotNull(fe.diffuseIntensity,1),coefficients:[.844,.712,.691,-.037,.083,.167,.343,.288,.299,-.041,-.021,-.009,-.003,-.041,-.064,-.011,-.007,-.004,-.031,.034,.081,-.06,-.049,-.06,.046,.056,.05]});return ht.cubemap=ae.loadTexture(lt,re,{exposure:Qe},function(){ht.cubemap.flipY=!1,ht.prefilter(Ce,32),pt.coefficients=t.a.projectEnvironmentMap(Ce,ht.cubemap,{lod:1}),ce&&ce()}),{specular:ht,diffuse:pt}},ae.createBlankTexture=u.a.createBlank,ae.isImage=We,ae.additiveBlend=function(fe){fe.blendEquation(fe.FUNC_ADD),fe.blendFunc(fe.SRC_ALPHA,fe.ONE)},ae.parseColor=function(fe,Ce){return fe instanceof Array?(Ce||(Ce=[]),Ce[0]=fe[0],Ce[1]=fe[1],Ce[2]=fe[2],fe.length>3?Ce[3]=fe[3]:Ce[3]=1,Ce):(Ce=r.a.color.parse(fe||"#000",Ce)||[0,0,0,0],Ce[0]/=255,Ce[1]/=255,Ce[2]/=255,Ce)},ae.directionFromAlphaBeta=function(fe,Ce){var re=fe/180*Math.PI+Math.PI/2,ce=-Ce/180*Math.PI+Math.PI/2,lt=[],Qe=Math.sin(re);return lt[0]=Qe*Math.cos(ce),lt[1]=-Math.cos(re),lt[2]=Qe*Math.sin(ce),lt},ae.getShadowResolution=function(fe){var Ce=1024;switch(fe){case"low":Ce=512;break;case"medium":break;case"high":Ce=2048;break;case"ultra":Ce=4096;break}return Ce},ae.COMMON_SHADERS=["lambert","color","realistic","hatching"],ae.createShader=function(fe){var Ce=E.a.source(fe+".vertex"),re=E.a.source(fe+".fragment");Ce||console.error("Vertex shader of '%s' not exits",fe),re||console.error("Fragment shader of '%s' not exits",fe);var ce=new E.a(Ce,re);return ce.name=fe,ce},ae.createMaterial=function(fe,Ce){Ce instanceof Array||(Ce=[Ce]);var re=ae.createShader(fe),ce=new d.a({shader:re});return Ce.forEach(function(lt){typeof lt=="string"&&ce.define(lt)}),ce},ae.setMaterialFromModel=function(fe,Ce,re,ce){Ce.autoUpdateTextureStatus=!1;var lt=re.getModel(fe+"Material"),Qe=lt.get("detailTexture"),ht=i.a.firstNotNull(lt.get("textureTiling"),1),pt=i.a.firstNotNull(lt.get("textureOffset"),0);typeof ht=="number"&&(ht=[ht,ht]),typeof pt=="number"&&(pt=[pt,pt]);var $e=ht[0]>1||ht[1]>1?ae.Texture.REPEAT:ae.Texture.CLAMP_TO_EDGE,mt={anisotropic:8,wrapS:$e,wrapT:$e};if(fe==="realistic"){var Ve=lt.get("roughness"),Me=lt.get("metalness");Me!=null?isNaN(Me)&&(Ce.setTextureImage("metalnessMap",Me,ce,mt),Me=i.a.firstNotNull(lt.get("metalnessAdjust"),.5)):Me=0,Ve!=null?isNaN(Ve)&&(Ce.setTextureImage("roughnessMap",Ve,ce,mt),Ve=i.a.firstNotNull(lt.get("roughnessAdjust"),.5)):Ve=.5;var qe=lt.get("normalTexture");Ce.setTextureImage("detailMap",Qe,ce,mt),Ce.setTextureImage("normalMap",qe,ce,mt),Ce.set({roughness:Ve,metalness:Me,detailUvRepeat:ht,detailUvOffset:pt})}else if(fe==="lambert")Ce.setTextureImage("detailMap",Qe,ce,mt),Ce.set({detailUvRepeat:ht,detailUvOffset:pt});else if(fe==="color")Ce.setTextureImage("detailMap",Qe,ce,mt),Ce.set({detailUvRepeat:ht,detailUvOffset:pt});else if(fe==="hatching"){var it=lt.get("hatchingTextures")||[];it.length<6&&console.error("Invalid hatchingTextures.");for(var Et=0;Et<6;Et++)Ce.setTextureImage("hatch"+(Et+1),it[Et],ce,{anisotropic:8,wrapS:ae.Texture.REPEAT,wrapT:ae.Texture.REPEAT});Ce.set({detailUvRepeat:ht,detailUvOffset:pt})}},ae.updateVertexAnimation=function(fe,Ce,re,ce){var lt=ce.get("animation"),Qe=ce.get("animationDurationUpdate"),ht=ce.get("animationEasingUpdate"),pt=re.shadowDepthMaterial;if(lt&&Ce&&Qe>0&&Ce.geometry.vertexCount===re.geometry.vertexCount){re.material.define("vertex","VERTEX_ANIMATION"),re.ignorePreZ=!0,pt&&pt.define("vertex","VERTEX_ANIMATION");for(var $e=0;$e<fe.length;$e++)re.geometry.attributes[fe[$e][0]].value=Ce.geometry.attributes[fe[$e][1]].value;re.geometry.dirty(),re.__percent=0,re.material.set("percent",0),re.stopAnimation(),re.animate().when(Qe,{__percent:1}).during(function(){re.material.set("percent",re.__percent),pt&&pt.set("percent",re.__percent)}).done(function(){re.ignorePreZ=!1,re.material.undefine("vertex","VERTEX_ANIMATION"),pt&&pt.undefine("vertex","VERTEX_ANIMATION")}).start(ht)}else re.material.undefine("vertex","VERTEX_ANIMATION"),pt&&pt.undefine("vertex","VERTEX_ANIMATION")},P.a=ae},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p={firstNotNull:function(){for(var m=0,E=arguments.length;m<E;m++)if(arguments[m]!=null)return arguments[m]},queryDataIndex:function(m,E){if(E.dataIndexInside!=null)return E.dataIndexInside;if(E.dataIndex!=null)return C.a.util.isArray(E.dataIndex)?C.a.util.map(E.dataIndex,function(d){return m.indexOfRawIndex(d)}):m.indexOfRawIndex(E.dataIndex);if(E.name!=null)return C.a.util.isArray(E.name)?C.a.util.map(E.name,function(d){return m.indexOfName(d)}):m.indexOfName(E.name)}};P.a=p},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.vec3,m=function(n,a,c){n=n||0,a=a||0,c=c||0,this.array=p.fromValues(n,a,c),this._dirty=!0};m.prototype={constructor:m,add:function(n){return p.add(this.array,this.array,n.array),this._dirty=!0,this},set:function(n,a,c){return this.array[0]=n,this.array[1]=a,this.array[2]=c,this._dirty=!0,this},setArray:function(n){return this.array[0]=n[0],this.array[1]=n[1],this.array[2]=n[2],this._dirty=!0,this},clone:function(){return new m(this.x,this.y,this.z)},copy:function(n){return p.copy(this.array,n.array),this._dirty=!0,this},cross:function(n,a){return p.cross(this.array,n.array,a.array),this._dirty=!0,this},dist:function(n){return p.dist(this.array,n.array)},distance:function(n){return p.distance(this.array,n.array)},div:function(n){return p.div(this.array,this.array,n.array),this._dirty=!0,this},divide:function(n){return p.divide(this.array,this.array,n.array),this._dirty=!0,this},dot:function(n){return p.dot(this.array,n.array)},len:function(){return p.len(this.array)},length:function(){return p.length(this.array)},lerp:function(n,a,c){return p.lerp(this.array,n.array,a.array,c),this._dirty=!0,this},min:function(n){return p.min(this.array,this.array,n.array),this._dirty=!0,this},max:function(n){return p.max(this.array,this.array,n.array),this._dirty=!0,this},mul:function(n){return p.mul(this.array,this.array,n.array),this._dirty=!0,this},multiply:function(n){return p.multiply(this.array,this.array,n.array),this._dirty=!0,this},negate:function(){return p.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return p.normalize(this.array,this.array),this._dirty=!0,this},random:function(n){return p.random(this.array,n),this._dirty=!0,this},scale:function(n){return p.scale(this.array,this.array,n),this._dirty=!0,this},scaleAndAdd:function(n,a){return p.scaleAndAdd(this.array,this.array,n.array,a),this._dirty=!0,this},sqrDist:function(n){return p.sqrDist(this.array,n.array)},squaredDistance:function(n){return p.squaredDistance(this.array,n.array)},sqrLen:function(){return p.sqrLen(this.array)},squaredLength:function(){return p.squaredLength(this.array)},sub:function(n){return p.sub(this.array,this.array,n.array),this._dirty=!0,this},subtract:function(n){return p.subtract(this.array,this.array,n.array),this._dirty=!0,this},transformMat3:function(n){return p.transformMat3(this.array,this.array,n.array),this._dirty=!0,this},transformMat4:function(n){return p.transformMat4(this.array,this.array,n.array),this._dirty=!0,this},transformQuat:function(n){return p.transformQuat(this.array,this.array,n.array),this._dirty=!0,this},applyProjection:function(n){var a=this.array;if(n=n.array,n[15]===0){var c=-1/a[2];a[0]=n[0]*a[0]*c,a[1]=n[5]*a[1]*c,a[2]=(n[10]*a[2]+n[14])*c}else a[0]=n[0]*a[0]+n[12],a[1]=n[5]*a[1]+n[13],a[2]=n[10]*a[2]+n[14];return this._dirty=!0,this},eulerFromQuat:function(n,a){m.eulerFromQuat(this,n,a)},eulerFromMat3:function(n,a){m.eulerFromMat3(this,n,a)},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=m.prototype;E(d,"x",{get:function(){return this.array[0]},set:function(n){this.array[0]=n,this._dirty=!0}}),E(d,"y",{get:function(){return this.array[1]},set:function(n){this.array[1]=n,this._dirty=!0}}),E(d,"z",{get:function(){return this.array[2]},set:function(n){this.array[2]=n,this._dirty=!0}})}m.add=function(n,a,c){return p.add(n.array,a.array,c.array),n._dirty=!0,n},m.set=function(n,a,c,u){p.set(n.array,a,c,u),n._dirty=!0},m.copy=function(n,a){return p.copy(n.array,a.array),n._dirty=!0,n},m.cross=function(n,a,c){return p.cross(n.array,a.array,c.array),n._dirty=!0,n},m.dist=function(n,a){return p.distance(n.array,a.array)},m.distance=m.dist,m.div=function(n,a,c){return p.divide(n.array,a.array,c.array),n._dirty=!0,n},m.divide=m.div,m.dot=function(n,a){return p.dot(n.array,a.array)},m.len=function(n){return p.length(n.array)},m.lerp=function(n,a,c,u){return p.lerp(n.array,a.array,c.array,u),n._dirty=!0,n},m.min=function(n,a,c){return p.min(n.array,a.array,c.array),n._dirty=!0,n},m.max=function(n,a,c){return p.max(n.array,a.array,c.array),n._dirty=!0,n},m.mul=function(n,a,c){return p.multiply(n.array,a.array,c.array),n._dirty=!0,n},m.multiply=m.mul,m.negate=function(n,a){return p.negate(n.array,a.array),n._dirty=!0,n},m.normalize=function(n,a){return p.normalize(n.array,a.array),n._dirty=!0,n},m.random=function(n,a){return p.random(n.array,a),n._dirty=!0,n},m.scale=function(n,a,c){return p.scale(n.array,a.array,c),n._dirty=!0,n},m.scaleAndAdd=function(n,a,c,u){return p.scaleAndAdd(n.array,a.array,c.array,u),n._dirty=!0,n},m.sqrDist=function(n,a){return p.sqrDist(n.array,a.array)},m.squaredDistance=m.sqrDist,m.sqrLen=function(n){return p.sqrLen(n.array)},m.squaredLength=m.sqrLen,m.sub=function(n,a,c){return p.subtract(n.array,a.array,c.array),n._dirty=!0,n},m.subtract=m.sub,m.transformMat3=function(n,a,c){return p.transformMat3(n.array,a.array,c.array),n._dirty=!0,n},m.transformMat4=function(n,a,c){return p.transformMat4(n.array,a.array,c.array),n._dirty=!0,n},m.transformQuat=function(n,a,c){return p.transformQuat(n.array,a.array,c.array),n._dirty=!0,n};function l(n,a,c){return n<a?a:n>c?c:n}var o=Math.atan2,g=Math.asin,r=Math.abs;m.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},m.eulerFromMat3=function(n,a,M){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,M=(M||"XYZ").toUpperCase();switch(M){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: "+M)}return n._dirty=!0,n},m.POSITIVE_X=new m(1,0,0),m.NEGATIVE_X=new m(-1,0,0),m.POSITIVE_Y=new m(0,1,0),m.NEGATIVE_Y=new m(0,-1,0),m.POSITIVE_Z=new m(0,0,1),m.NEGATIVE_Z=new m(0,0,-1),m.UP=new m(0,1,0),m.ZERO=new m(0,0,0),P.a=m},function(k,P,_){"use strict";var B=_(6),C=_(11),p=_(66),m=p.a.isPowerOfTwo,E=B.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<this.mipmaps.length;u++){var s=this.mipmaps[u];this._updateTextureData(l,s,u,a,c,o,g),a/=2,c/=2}else this._updateTextureData(l,this,0,this.width,this.height,o,g),this.useMipmap&&!this.NPOT&&l.generateMipmap(l.TEXTURE_2D);l.bindTexture(l.TEXTURE_2D,null)},_updateTextureData:function(d,l,o,g,r,n,a){l.image?d.texImage2D(d.TEXTURE_2D,o,n,n,a,l.image):n<=B.a.COMPRESSED_RGBA_S3TC_DXT5_EXT&&n>=B.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),m(d)&&m(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 B=_(8),C=_(11),p=_(48),m=B.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 p.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===m.SRGB&&!l&&(this.format=m.RGB),this.format===m.SRGB_ALPHA&&!l&&(this.format=m.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(m.prototype,"width",{get:function(){return this._width},set:function(E){this._width=E}}),Object.defineProperty(m.prototype,"height",{get:function(){return this._height},set:function(E){this._height=E}}),m.BYTE=C.a.BYTE,m.UNSIGNED_BYTE=C.a.UNSIGNED_BYTE,m.SHORT=C.a.SHORT,m.UNSIGNED_SHORT=C.a.UNSIGNED_SHORT,m.INT=C.a.INT,m.UNSIGNED_INT=C.a.UNSIGNED_INT,m.FLOAT=C.a.FLOAT,m.HALF_FLOAT=36193,m.UNSIGNED_INT_24_8_WEBGL=34042,m.DEPTH_COMPONENT=C.a.DEPTH_COMPONENT,m.DEPTH_STENCIL=C.a.DEPTH_STENCIL,m.ALPHA=C.a.ALPHA,m.RGB=C.a.RGB,m.RGBA=C.a.RGBA,m.LUMINANCE=C.a.LUMINANCE,m.LUMINANCE_ALPHA=C.a.LUMINANCE_ALPHA,m.SRGB=35904,m.SRGB_ALPHA=35906,m.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,m.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,m.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,m.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,m.NEAREST=C.a.NEAREST,m.LINEAR=C.a.LINEAR,m.NEAREST_MIPMAP_NEAREST=C.a.NEAREST_MIPMAP_NEAREST,m.LINEAR_MIPMAP_NEAREST=C.a.LINEAR_MIPMAP_NEAREST,m.NEAREST_MIPMAP_LINEAR=C.a.NEAREST_MIPMAP_LINEAR,m.LINEAR_MIPMAP_LINEAR=C.a.LINEAR_MIPMAP_LINEAR,m.REPEAT=C.a.REPEAT,m.CLAMP_TO_EDGE=C.a.CLAMP_TO_EDGE,m.MIRRORED_REPEAT=C.a.MIRRORED_REPEAT,P.a=m},function(k,P,_){"use strict";var B=_(21),C=_(18),p=_(1),m=_.n(p),E=m.a.mat2,d=m.a.mat3,l=m.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 M=B.a.genGUID();return v[A]=M,e[M]={vertex:b,fragment:x},M}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,M),A="fragment",this._fragmentCode=this._fragmentCode.replace(o,M),x.matrixSemanticKeys=Object.keys(this.matrixSemantics);function M(L,O,D,N,I,U){if(O&&D){var F=n[O],K=!0,j;if(F){if(x._uniformList.push(D),(O==="sampler2D"||O==="samplerCube")&&(x.textures[D]={shaderType:A,type:O}),N&&(F+="v"),U)if(c.indexOf(U)>=0)x.attributeSemantics[U]={symbol:D,type:F},K=!1;else if(s.indexOf(U)>=0){var G=!1,Y=U;U.match(/TRANSPOSE$/)&&(G=!0,Y=U.slice(0,-9)),x.matrixSemantics[U]={symbol:D,type:F,isTranspose:G,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(O,U),j)U="";else throw new Error('Unkown semantic "'+U+'"');K&&(b[D]={type:F,value:N?a.array:j||a[O],semantic:U||null})}return["uniform",O,D,N].join(" ")+`;
|
|
|
`}}this.uniformTemplates=b},_parseDefaultValue:function(b,x){var A=/\[\s*(.*)\s*\]/;if(b==="vec2"||b==="vec3"||b==="vec4"){var M=A.exec(x)[1];if(M){var L=M.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(M,L,O,D,N){if(L&&O){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[O]={type:"float",size:I,semantic:N||null},N){if(c.indexOf(N)<0)throw new Error('Unkown semantic "'+N+'"');x.attributeSemantics[N]={symbol:O,type:L}}}return["attribute",L,O].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(M,L,O){var D=x==="vertex"?b.vertexDefines:b.fragmentDefines;return D[L]||(O=="false"?D[L]=!1:O=="true"?D[L]=!0:D[L]=O?isNaN(parseFloat(O))?O.trim():parseFloat(O):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,M){var L=i.source(M);return L?i.parseImport(L):(console.error('Shader chunk "'+M+'" 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,M,O){var O=O.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"");if(O){for(var D=M.split("."),N=i.codes,I=0,U;I<D.length-1;)U=D[I++],N[U]||(N[U]={}),N=N[U];U=D[I],N[U]=O}return O})},i.codes={},i.source=function(b){for(var x=b.split("."),A=i.codes,M=0;A&&M<x.length;){var L=x[M++];A=A[L]}return typeof A!="string"?(console.error('Shader "'+b+'" not existed in library'),""):A},P.a=i},function(k,P,_){"use strict";var B=_(91),C=_(47),p=_(21),m=function(){this.__uid__=p.a.genGUID()};m.__initializers__=[function(E){p.a.extend(this,E)}],p.a.extend(m,B.a),p.a.extend(m.prototype,C.a),P.a=m},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=_(4),m=C.a.mat4,E=C.a.vec3,d=C.a.mat3,l=C.a.quat,o=function(){this._axisX=new p.a,this._axisY=new p.a,this._axisZ=new p.a,this.array=m.create(),this._dirty=!0};o.prototype={constructor:o,setArray:function(n){for(var a=0;a<this.array.length;a++)this.array[a]=n[a];return this._dirty=!0,this},adjoint:function(){return m.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return new o().copy(this)},copy:function(n){return m.copy(this.array,n.array),this._dirty=!0,this},determinant:function(){return m.determinant(this.array)},fromQuat:function(n){return m.fromQuat(this.array,n.array),this._dirty=!0,this},fromRotationTranslation:function(n,a){return m.fromRotationTranslation(this.array,n.array,a.array),this._dirty=!0,this},fromMat2d:function(n){return o.fromMat2d(this,n),this},frustum:function(n,a,c,u,s,v){return m.frustum(this.array,n,a,c,u,s,v),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},lookAt:function(n,a,c){return m.lookAt(this.array,n.array,a.array,c.array),this._dirty=!0,this},mul:function(n){return m.mul(this.array,this.array,n.array),this._dirty=!0,this},mulLeft:function(n){return m.mul(this.array,n.array,this.array),this._dirty=!0,this},multiply:function(n){return m.multiply(this.array,this.array,n.array),this._dirty=!0,this},multiplyLeft:function(n){return m.multiply(this.array,n.array,this.array),this._dirty=!0,this},ortho:function(n,a,c,u,s,v){return m.ortho(this.array,n,a,c,u,s,v),this._dirty=!0,this},perspective:function(n,a,c,u){return m.perspective(this.array,n,a,c,u),this._dirty=!0,this},rotate:function(n,a){return m.rotate(this.array,this.array,n,a.array),this._dirty=!0,this},rotateX:function(n){return m.rotateX(this.array,this.array,n),this._dirty=!0,this},rotateY:function(n){return m.rotateY(this.array,this.array,n),this._dirty=!0,this},rotateZ:function(n){return m.rotateZ(this.array,this.array,n),this._dirty=!0,this},scale:function(n){return m.scale(this.array,this.array,n.array),this._dirty=!0,this},translate:function(n){return m.translate(this.array,this.array,n.array),this._dirty=!0,this},transpose:function(){return m.transpose(this.array,this.array),this._dirty=!0,this},decomposeMatrix:function(){var n=E.create(),a=E.create(),c=E.create(),u=d.create();return function(s,v,e){var t=this.array;E.set(n,t[0],t[1],t[2]),E.set(a,t[4],t[5],t[6]),E.set(c,t[8],t[9],t[10]);var i=E.length(n),f=E.length(a),y=E.length(c),b=this.determinant();b<0&&(i=-i),s&&s.set(i,f,y),e.set(t[12],t[13],t[14]),d.fromMat4(u,t),u[0]/=i,u[1]/=i,u[2]/=i,u[3]/=f,u[4]/=f,u[5]/=f,u[6]/=y,u[7]/=y,u[8]/=y,l.fromMat3(v.array,u),l.normalize(v.array,v.array),v._dirty=!0,e._dirty=!0}}(),toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var g=Object.defineProperty;if(g){var r=o.prototype;g(r,"z",{get:function(){var n=this.array;return this._axisZ.set(n[8],n[9],n[10]),this._axisZ},set:function(n){var a=this.array;n=n.array,a[8]=n[0],a[9]=n[1],a[10]=n[2],this._dirty=!0}}),g(r,"y",{get:function(){var n=this.array;return this._axisY.set(n[4],n[5],n[6]),this._axisY},set:function(n){var a=this.array;n=n.array,a[4]=n[0],a[5]=n[1],a[6]=n[2],this._dirty=!0}}),g(r,"x",{get:function(){var n=this.array;return this._axisX.set(n[0],n[1],n[2]),this._axisX},set:function(n){var a=this.array;n=n.array,a[0]=n[0],a[1]=n[1],a[2]=n[2],this._dirty=!0}})}o.adjoint=function(n,a){return m.adjoint(n.array,a.array),n._dirty=!0,n},o.copy=function(n,a){return m.copy(n.array,a.array),n._dirty=!0,n},o.determinant=function(n){return m.determinant(n.array)},o.identity=function(n){return m.identity(n.array),n._dirty=!0,n},o.ortho=function(n,a,c,u,s,v,e){return m.ortho(n.array,a,c,u,s,v,e),n._dirty=!0,n},o.perspective=function(n,a,c,u,s){return m.perspective(n.array,a,c,u,s),n._dirty=!0,n},o.lookAt=function(n,a,c,u){return m.lookAt(n.array,a.array,c.array,u.array),n._dirty=!0,n},o.invert=function(n,a){return m.invert(n.array,a.array),n._dirty=!0,n},o.mul=function(n,a,c){return m.mul(n.array,a.array,c.array),n._dirty=!0,n},o.multiply=o.mul,o.fromQuat=function(n,a){return m.fromQuat(n.array,a.array),n._dirty=!0,n},o.fromRotationTranslation=function(n,a,c){return m.fromRotationTranslation(n.array,a.array,c.array),n._dirty=!0,n},o.fromMat2d=function(u,c){u._dirty=!0;var c=c.array,u=u.array;return u[0]=c[0],u[4]=c[2],u[12]=c[4],u[1]=c[1],u[5]=c[3],u[13]=c[5],u},o.rotate=function(n,a,c,u){return m.rotate(n.array,a.array,c,u.array),n._dirty=!0,n},o.rotateX=function(n,a,c){return m.rotateX(n.array,a.array,c),n._dirty=!0,n},o.rotateY=function(n,a,c){return m.rotateY(n.array,a.array,c),n._dirty=!0,n},o.rotateZ=function(n,a,c){return m.rotateZ(n.array,a.array,c),n._dirty=!0,n},o.scale=function(n,a,c){return m.scale(n.array,a.array,c.array),n._dirty=!0,n},o.transpose=function(n,a){return m.transpose(n.array,a.array),n._dirty=!0,n},o.translate=function(n,a,c){return m.translate(n.array,a.array,c.array),n._dirty=!0,n},P.a=o},function(k,P,_){"use strict";var B=_(8),C=_(6),p=_(25),m=_(11),E=_(48),d="framebuffer",l="renderbuffer",o=l+"_width",g=l+"_height",r=l+"_attached",n="depthtexture_attached",a=m.a.FRAMEBUFFER,c=m.a.RENDERBUFFER,u=m.a.DEPTH_ATTACHMENT,s=m.a.COLOR_ATTACHMENT0,v=B.a.extend({depthBuffer:!0,viewport:null,_width:0,_height:0,_textures:null,_boundRenderer:null},function(){this._cache=new E.a,this._textures={}},{getTextureWidth:function(){return this._width},getTextureHeight:function(){return this._height},bind:function(e){if(e.__currentFrameBuffer){if(e.__currentFrameBuffer===this)return;console.warn("Renderer already bound with another framebuffer. Unbind it first")}e.__currentFrameBuffer=this;var t=e.gl;t.bindFramebuffer(a,this._getFrameBufferGL(e)),this._boundRenderer=e;var i=this._cache;i.put("viewport",e.viewport);var f=!1,y,b;for(var x in this._textures){f=!0;var A=this._textures[x];A&&(y=A.texture.width,b=A.texture.height,this._doAttach(e,A.texture,x,A.target))}this._width=y,this._height=b,!f&&this.depthBuffer&&console.error("Must attach texture before bind, or renderbuffer may have incorrect width and height."),this.viewport?e.setViewport(this.viewport):e.setViewport(0,0,y,b,1);var M=i.get("attached_textures");if(M){for(var x in M)if(!this._textures[x]){var L=M[x];this._doDetach(t,x,L)}}if(!i.get(n)&&this.depthBuffer){i.miss(l)&&i.put(l,t.createRenderbuffer());var O=i.get(l);(y!==i.get(o)||b!==i.get(g))&&(t.bindRenderbuffer(c,O),t.renderbufferStorage(c,t.DEPTH_COMPONENT16,y,b),i.put(o,y),i.put(g,b),t.bindRenderbuffer(c,null)),i.get(r)||(t.framebufferRenderbuffer(a,u,c,O),i.put(r,!0))}},unbind:function(e){e.__currentFrameBuffer=null;var t=e.gl;t.bindFramebuffer(a,null),this._boundRenderer=null,this._cache.use(e.__uid__);var i=this._cache.get("viewport");i&&e.setViewport(i),this.updateMipmap(e)},updateMipmap:function(e){var t=e.gl;for(var i in this._textures){var f=this._textures[i];if(f){var y=f.texture;if(!y.NPOT&&y.useMipmap&&y.minFilter===C.a.LINEAR_MIPMAP_LINEAR){var b=y instanceof p.a?m.a.TEXTURE_CUBE_MAP:m.a.TEXTURE_2D;t.bindTexture(b,y.getWebGLTexture(e)),t.generateMipmap(b),t.bindTexture(b,null)}}}},checkStatus:function(e){return e.checkFramebufferStatus(a)},_getFrameBufferGL:function(e){var t=this._cache;return t.use(e.__uid__),t.miss(d)&&t.put(d,e.gl.createFramebuffer()),t.get(d)},attach:function(e,t,i){if(!e.width)throw new Error("The texture attached to color buffer is not a valid.");t=t||s,i=i||m.a.TEXTURE_2D;var f=this._boundRenderer,y=f&&f.gl,b;if(y){var x=this._cache;x.use(f.__uid__),b=x.get("attached_textures")}var A=this._textures[t];if(!(A&&A.target===i&&A.texture===e&&b&&b[t]!=null)){var M=!0;f&&(M=this._doAttach(f,e,t,i),this.viewport||f.setViewport(0,0,e.width,e.height,1)),M&&(this._textures[t]=this._textures[t]||{},this._textures[t].texture=e,this._textures[t].target=i)}},_doAttach:function(e,t,i,f){var y=e.gl,b=t.getWebGLTexture(e),x=this._cache.get("attached_textures");if(x&&x[i]){var A=x[i];if(A.texture===t&&A.target===f)return}i=+i;var M=!0;if(i===u||i===m.a.DEPTH_STENCIL_ATTACHMENT){var L=e.getGLExtension("WEBGL_depth_texture");if(L||(console.error("Depth texture is not supported by the browser"),M=!1),t.format!==m.a.DEPTH_COMPONENT&&t.format!==m.a.DEPTH_STENCIL&&(console.error("The texture attached to depth buffer is not a valid."),M=!1),M){var O=this._cache.get(l);O&&(y.framebufferRenderbuffer(a,u,c,null),y.deleteRenderbuffer(O),this._cache.put(l,!1)),this._cache.put(r,!1),this._cache.put(n,!0)}}return y.framebufferTexture2D(a,i,f,b,0),x||(x={},this._cache.put("attached_textures",x)),x[i]=x[i]||{},x[i].texture=t,x[i].target=f,M},_doDetach:function(e,t,i){e.framebufferTexture2D(a,t,i,null,0);var f=this._cache.get("attached_textures");f&&f[t]&&(f[t]=null),(t===u||t===m.a.DEPTH_STENCIL_ATTACHMENT)&&this._cache.put(n,!1)},detach:function(e,t){if(this._textures[e]=null,this._boundRenderer){var i=this._cache;i.use(this._boundRenderer.__uid__),this._doDetach(this._boundRenderer.gl,e,t)}},dispose:function(e){var t=e.gl,i=this._cache;i.use(e.__uid__);var f=i.get(l);f&&t.deleteRenderbuffer(f);var y=i.get(d);y&&t.deleteFramebuffer(y),i.deleteContext(e.__uid__),this._textures={}}});v.DEPTH_ATTACHMENT=u,v.COLOR_ATTACHMENT0=s,v.STENCIL_ATTACHMENT=m.a.STENCIL_ATTACHMENT,v.DEPTH_STENCIL_ATTACHMENT=m.a.DEPTH_STENCIL_ATTACHMENT,P.a=v},function(k,P,_){"use strict";P.a={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,FUNC_ADD:32774,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,BLEND_COLOR:32773,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,STREAM_DRAW:35040,STATIC_DRAW:35044,DYNAMIC_DRAW:35048,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,CULL_FACE:2884,BLEND:3042,DITHER:3024,STENCIL_TEST:2960,DEPTH_TEST:2929,SCISSOR_TEST:3089,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CW:2304,CCW:2305,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_UNIFORMS:35718,ACTIVE_ATTRIBUTES:35721,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,NOTEQUAL:517,GEQUAL:518,ALWAYS:519,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,VENDOR:7936,RENDERER:7937,VERSION:7938,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,TEXTURE1:33985,TEXTURE2:33986,TEXTURE3:33987,TEXTURE4:33988,TEXTURE5:33989,TEXTURE6:33990,TEXTURE7:33991,TEXTURE8:33992,TEXTURE9:33993,TEXTURE10:33994,TEXTURE11:33995,TEXTURE12:33996,TEXTURE13:33997,TEXTURE14:33998,TEXTURE15:33999,TEXTURE16:34e3,TEXTURE17:34001,TEXTURE18:34002,TEXTURE19:34003,TEXTURE20:34004,TEXTURE21:34005,TEXTURE22:34006,TEXTURE23:34007,TEXTURE24:34008,TEXTURE25:34009,TEXTURE26:34010,TEXTURE27:34011,TEXTURE28:34012,TEXTURE29:34013,TEXTURE30:34014,TEXTURE31:34015,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,COMPILE_STATUS:35713,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,CONTEXT_LOST_WEBGL:37442,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,BROWSER_DEFAULT_WEBGL:37444}},function(k,P){var _={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},B={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},C=Object.prototype.toString,p=Array.prototype,m=p.forEach,E=p.filter,d=p.slice,l=p.map,o=p.reduce,g={};function r(V,q){g[V]=q}function n(V){if(V==null||typeof V!="object")return V;var q=V,ae=C.call(V);if(ae==="[object Array]"){if(!Be(V)){q=[];for(var te=0,oe=V.length;te<oe;te++)q[te]=n(V[te])}}else if(B[ae]){if(!Be(V)){var ee=V.constructor;if(V.constructor.from)q=ee.from(V);else{q=new ee(V.length);for(var te=0,oe=V.length;te<oe;te++)q[te]=n(V[te])}}}else if(!_[ae]&&!Be(V)&&!Y(V)){q={};for(var fe in V)V.hasOwnProperty(fe)&&(q[fe]=n(V[fe]))}return q}function a(V,q,ae){if(!K(q)||!K(V))return ae?n(q):V;for(var te in q)if(q.hasOwnProperty(te)){var oe=V[te],ee=q[te];K(ee)&&K(oe)&&!I(ee)&&!I(oe)&&!Y(ee)&&!Y(oe)&&!j(ee)&&!j(oe)&&!Be(ee)&&!Be(oe)?a(oe,ee,ae):(ae||!(te in V))&&(V[te]=n(q[te],!0))}return V}function c(V,q){for(var ae=V[0],te=1,oe=V.length;te<oe;te++)ae=a(ae,V[te],q);return ae}function u(V,q){for(var ae in q)q.hasOwnProperty(ae)&&(V[ae]=q[ae]);return V}function s(V,q,ae){for(var te in q)q.hasOwnProperty(te)&&(ae?q[te]!=null:V[te]==null)&&(V[te]=q[te]);return V}var v=function(){return g.createCanvas()};g.createCanvas=function(){return document.createElement("canvas")};var e;function t(){return e||(e=v().getContext("2d")),e}function i(V,q){if(V){if(V.indexOf)return V.indexOf(q);for(var ae=0,te=V.length;ae<te;ae++)if(V[ae]===q)return ae}return-1}function f(V,q){var ae=V.prototype;function te(){}te.prototype=q.prototype,V.prototype=new te;for(var oe in ae)V.prototype[oe]=ae[oe];V.prototype.constructor=V,V.superClass=q}function y(V,q,ae){V="prototype"in V?V.prototype:V,q="prototype"in q?q.prototype:q,s(V,q,ae)}function b(V){if(V)return typeof V=="string"?!1:typeof V.length=="number"}function x(V,q,ae){if(V&&q)if(V.forEach&&V.forEach===m)V.forEach(q,ae);else if(V.length===+V.length)for(var te=0,oe=V.length;te<oe;te++)q.call(ae,V[te],te,V);else for(var ee in V)V.hasOwnProperty(ee)&&q.call(ae,V[ee],ee,V)}function A(V,q,ae){if(V&&q){if(V.map&&V.map===l)return V.map(q,ae);for(var te=[],oe=0,ee=V.length;oe<ee;oe++)te.push(q.call(ae,V[oe],oe,V));return te}}function M(V,q,ae,te){if(V&&q){if(V.reduce&&V.reduce===o)return V.reduce(q,ae,te);for(var oe=0,ee=V.length;oe<ee;oe++)ae=q.call(te,ae,V[oe],oe,V);return ae}}function L(V,q,ae){if(V&&q){if(V.filter&&V.filter===E)return V.filter(q,ae);for(var te=[],oe=0,ee=V.length;oe<ee;oe++)q.call(ae,V[oe],oe,V)&&te.push(V[oe]);return te}}function O(V,q,ae){if(V&&q){for(var te=0,oe=V.length;te<oe;te++)if(q.call(ae,V[te],te,V))return V[te]}}function D(V,q){var ae=d.call(arguments,2);return function(){return V.apply(q,ae.concat(d.call(arguments)))}}function N(V){var q=d.call(arguments,1);return function(){return V.apply(this,q.concat(d.call(arguments)))}}function I(V){return C.call(V)==="[object Array]"}function U(V){return typeof V=="function"}function F(V){return C.call(V)==="[object String]"}function K(V){var q=typeof V;return q==="function"||!!V&&q=="object"}function j(V){return!!_[C.call(V)]}function G(V){return!!B[C.call(V)]}function Y(V){return typeof V=="object"&&typeof V.nodeType=="number"&&typeof V.ownerDocument=="object"}function le(V){return V!==V}function Q(V){for(var q=0,ae=arguments.length;q<ae;q++)if(arguments[q]!=null)return arguments[q]}function ve(V,q){return V!=null?V:q}function xe(V,q,ae){return V!=null?V:q!=null?q:ae}function be(){return Function.call.apply(d,arguments)}function De(V){if(typeof V=="number")return[V,V,V,V];var q=V.length;return q===2?[V[0],V[1],V[0],V[1]]:q===3?[V[0],V[1],V[2],V[1]]:V}function Ue(V,q){if(!V)throw new Error(q)}var we="__ec_primitive__";function Ye(V){V[we]=!0}function Be(V){return V[we]}function ge(V){var q=I(V);V&&x(V,function(ae,te){q?this.set(ae,1):this.set(te,ae)},this)}var He="_ec_",Fe=4;ge.prototype={constructor:ge,get:function(V){return this[He+V]},set:function(V,q){return this[He+V]=q,q},each:function(V,q){q!==void 0&&(V=D(V,q));for(var ae in this)this.hasOwnProperty(ae)&&V(this[ae],ae.slice(Fe))},removeKey:function(V){delete this[He+V]}};function Pe(V){return new ge(V)}function We(V,q){for(var ae=new V.constructor(V.length+q.length),te=0;te<V.length;te++)ae[te]=V[te];var oe=V.length;for(te=0;te<q.length;te++)ae[te+oe]=q[te];return ae}function Ne(){}P.$override=r,P.clone=n,P.merge=a,P.mergeAll=c,P.extend=u,P.defaults=s,P.createCanvas=v,P.getContext=t,P.indexOf=i,P.inherits=f,P.mixin=y,P.isArrayLike=b,P.each=x,P.map=A,P.reduce=M,P.filter=L,P.find=O,P.bind=D,P.curry=N,P.isArray=I,P.isFunction=U,P.isString=F,P.isObject=K,P.isBuiltInObject=j,P.isTypedArray=G,P.isDom=Y,P.eqNaN=le,P.retrieve=Q,P.retrieve2=ve,P.retrieve3=xe,P.slice=be,P.normalizeCssArray=De,P.assert=Ue,P.setAsPrimitive=Ye,P.isPrimitive=Be,P.createHashMap=Pe,P.concatArray=We,P.noop=Ne},function(k,P,_){"use strict";var B=_(8),C=_(11),p=_(48),m=_(18),E=_(1),d=_.n(E),l=_(15),o=d.a.vec3,g=d.a.mat4,r=o.create,n=o.add,a=o.set;function c(i){return{byte:m.a.Int8Array,ubyte:m.a.Uint8Array,short:m.a.Int16Array,ushort:m.a.Uint16Array}[i]||m.a.Float32Array}function u(i){return"attr_"+i}function s(i,f,y,b){switch(this.name=i,this.type=f,this.size=y,this.semantic=b||"",this.value=null,y){case 1:this.get=function(x){return this.value[x]},this.set=function(x,A){this.value[x]=A},this.copy=function(x,A){this.value[x]=this.value[x]};break;case 2:this.get=function(x,A){var M=this.value;return A[0]=M[x*2],A[1]=M[x*2+1],A},this.set=function(x,A){var M=this.value;M[x*2]=A[0],M[x*2+1]=A[1]},this.copy=function(x,A){var M=this.value;A*=2,x*=2,M[x]=M[A],M[x+1]=M[A+1]};break;case 3:this.get=function(x,A){var M=x*3,L=this.value;return A[0]=L[M],A[1]=L[M+1],A[2]=L[M+2],A},this.set=function(x,A){var M=x*3,L=this.value;L[M]=A[0],L[M+1]=A[1],L[M+2]=A[2]},this.copy=function(x,A){var M=this.value;A*=3,x*=3,M[x]=M[A],M[x+1]=M[A+1],M[x+2]=M[A+2]};break;case 4:this.get=function(x,A){var M=this.value,L=x*4;return A[0]=M[L],A[1]=M[L+1],A[2]=M[L+2],A[3]=M[L+3],A},this.set=function(x,A){var M=this.value,L=x*4;M[L]=A[0],M[L+1]=A[1],M[L+2]=A[2],M[L+3]=A[3]},this.copy=function(x,A){var M=this.value;A*=4,x*=4,M[x]=M[A],M[x+1]=M[A+1],M[x+2]=M[A+2],M[x+3]=M[A+3]}}}s.prototype.init=function(i){if(!this.value||this.value.length!=i*this.size){var f=c(this.type);this.value=new f(i*this.size)}},s.prototype.fromArray=function(i){var f=c(this.type),y;if(i[0]&&i[0].length){var b=0,x=this.size;y=new f(i.length*x);for(var A=0;A<i.length;A++)for(var M=0;M<x;M++)y[b++]=i[A][M]}else y=new f(i);this.value=y},s.prototype.clone=function(i){var f=new s(this.name,this.type,this.size,this.semantic);return i&&console.warn("todo"),f};function v(i,f,y,b,x){this.name=i,this.type=f,this.buffer=y,this.size=b,this.semantic=x,this.symbol="",this.needsRemove=!1}function e(i){this.buffer=i,this.count=0}var t=B.a.extend(function(){return{attributes:{position:new s("position","float",3,"POSITION"),texcoord0:new s("texcoord0","float",2,"TEXCOORD_0"),texcoord1:new s("texcoord1","float",2,"TEXCOORD_1"),normal:new s("normal","float",3,"NORMAL"),tangent:new s("tangent","float",4,"TANGENT"),color:new s("color","float",4,"COLOR"),weight:new s("weight","float",3,"WEIGHT"),joint:new s("joint","float",4,"JOINT"),barycentric:new s("barycentric","float",3,null)},boundingBox:null,indices:null,dynamic:!0,_enabledAttributes:null}},function(){this._cache=new p.a,this._attributeList=Object.keys(this.attributes)},{mainAttribute:"position",pick:null,pickByRay:null,updateBoundingBox:function(){var i=this.boundingBox;i||(i=this.boundingBox=new l.a);var f=this.attributes.position.value;if(f&&f.length){var y=i.min,b=i.max,x=y.array,A=b.array;o.set(x,f[0],f[1],f[2]),o.set(A,f[0],f[1],f[2]);for(var M=3;M<f.length;){var L=f[M++],O=f[M++],D=f[M++];L<x[0]&&(x[0]=L),O<x[1]&&(x[1]=O),D<x[2]&&(x[2]=D),L>A[0]&&(A[0]=L),O>A[1]&&(A[1]=O),D>A[2]&&(A[2]=D)}y._dirty=!0,b._dirty=!0}},dirty:function(){for(var i=this.getEnabledAttributes(),f=0;f<i.length;f++)this.dirtyAttribute(i[f]);this.dirtyIndices(),this._enabledAttributes=null,this._cache.dirty("any")},dirtyIndices:function(){this._cache.dirtyAll("indices")},dirtyAttribute:function(i){this._cache.dirtyAll(u(i)),this._cache.dirtyAll("attributes")},getTriangleIndices:function(i,f){if(i<this.triangleCount&&i>=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?m.a.Uint32Array:m.a.Uint16Array;if(i[0]&&i[0].length){var b=0,x=3;f=new y(i.length*x);for(var A=0;A<i.length;A++)for(var M=0;M<x;M++)f[b++]=i[A][M]}else f=new y(i);this.indices=f},createAttribute:function(i,f,y,b){var x=new s(i,f,y,b);return this.attributes[i]&&this.removeAttribute(i),this.attributes[i]=x,this._attributeList.push(i),x},removeAttribute:function(i){var f=this._attributeList,y=f.indexOf(i);return y>=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;x<f.length;x++){var A=f[x],M=this.attributes[A];M.value&&M.value.length===b*M.size&&y.push(A)}return this._enabledAttributes=y,y},getBufferChunks:function(i){var f=this._cache;f.use(i.__uid__);var y=f.isDirty("attributes"),b=f.isDirty("indices");if(y||b){this._updateBuffer(i.gl,y,b);for(var x=this.getEnabledAttributes(),A=0;A<x.length;A++)f.fresh(u(x[A]));f.fresh("attributes"),f.fresh("indices")}return f.fresh("any"),f.get("chunks")},_updateBuffer:function(i,f,y){var b=this._cache,x=b.get("chunks"),A=!1;x||(x=[],x[0]={attributeBuffers:[],indicesBuffer:null},b.put("chunks",x),A=!0);var M=x[0],L=M.attributeBuffers,O=M.indicesBuffer;if(f||A){var D=this.getEnabledAttributes(),N={};if(!A)for(var I=0;I<L.length;I++)N[L[I].name]=L[I];for(var U=0;U<D.length;U++){var F=D[U],K=this.attributes[F],j;A||(j=N[F]);var G;j?G=j.buffer:G=i.createBuffer(),b.isDirty(u(F))&&(i.bindBuffer(i.ARRAY_BUFFER,G),i.bufferData(i.ARRAY_BUFFER,K.value,this.dynamic?C.a.DYNAMIC_DRAW:C.a.STATIC_DRAW)),L[U]=new v(F,K.type,G,K.size,K.semantic)}for(var I=U;I<L.length;I++)i.deleteBuffer(L[I].buffer);L.length=U}this.isUseIndices()&&(y||A)&&(O||(O=new e(i.createBuffer()),M.indicesBuffer=O),O.count=this.indices.length,i.bindBuffer(i.ELEMENT_ARRAY_BUFFER,O.buffer),i.bufferData(i.ELEMENT_ARRAY_BUFFER,this.indices,this.dynamic?C.a.DYNAMIC_DRAW:C.a.STATIC_DRAW))},generateVertexNormals:function(){if(this.vertexCount){var i=this.indices,f=this.attributes,y=f.position.value,b=f.normal.value;if(!b||b.length!==y.length)b=f.normal.value=new m.a.Float32Array(y.length);else for(var x=0;x<b.length;x++)b[x]=0;for(var A=r(),M=r(),L=r(),O=r(),D=r(),N=r(),I=i?i.length:this.vertexCount,U,F,K,j=0;j<I;){i?(U=i[j++],F=i[j++],K=i[j++]):(U=j++,F=j++,K=j++),a(A,y[U*3],y[U*3+1],y[U*3+2]),a(M,y[F*3],y[F*3+1],y[F*3+2]),a(L,y[K*3],y[K*3+1],y[K*3+2]),o.sub(O,A,M),o.sub(D,M,L),o.cross(N,O,D);for(var x=0;x<3;x++)b[U*3+x]=b[U*3+x]+N[x],b[F*3+x]=b[F*3+x]+N[x],b[K*3+x]=b[K*3+x]+N[x]}for(var x=0;x<b.length;)a(N,b[x],b[x+1],b[x+2]),o.normalize(N,N),b[x++]=N[0],b[x++]=N[1],b[x++]=N[2];this.dirty()}},generateFaceNormals:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var i=this.indices,f=this.attributes,y=f.position.value,b=f.normal.value,x=r(),A=r(),M=r(),L=r(),O=r(),D=r();b||(b=f.normal.value=new Float32Array(y.length));for(var N=i?i.length:this.vertexCount,I,U,F,K=0;K<N;){i?(I=i[K++],U=i[K++],F=i[K++]):(I=K++,U=K++,F=K++),a(x,y[I*3],y[I*3+1],y[I*3+2]),a(A,y[U*3],y[U*3+1],y[U*3+2]),a(M,y[F*3],y[F*3+1],y[F*3+2]),o.sub(L,x,A),o.sub(O,A,M),o.cross(D,L,O),o.normalize(D,D);for(var j=0;j<3;j++)b[I*3+j]=D[j],b[U*3+j]=D[j],b[F*3+j]=D[j]}this.dirty()}},generateTangents:function(){if(this.vertexCount){var i=this.vertexCount,f=this.attributes;f.tangent.value||(f.tangent.value=new Float32Array(i*4));var y=f.texcoord0.value,b=f.position.value,x=f.tangent.value,A=f.normal.value;if(!y){console.warn("Geometry without texcoords can't generate tangents.");return}for(var M=[],L=[],O=0;O<i;O++)M[O]=[0,0,0],L[O]=[0,0,0];for(var D=[0,0,0],N=[0,0,0],I=this.indices,U=I?I.length:this.vertexCount,F,K,j,O=0;O<U;){I?(F=I[O++],K=I[O++],j=I[O++]):(F=O++,K=O++,j=O++);var G=y[F*2],Y=y[K*2],le=y[j*2],Q=y[F*2+1],ve=y[K*2+1],xe=y[j*2+1],be=b[F*3],De=b[K*3],Ue=b[j*3],we=b[F*3+1],Ye=b[K*3+1],Be=b[j*3+1],ge=b[F*3+2],He=b[K*3+2],Fe=b[j*3+2],Pe=De-be,We=Ue-be,Ne=Ye-we,V=Be-we,q=He-ge,ae=Fe-ge,te=Y-G,oe=le-G,ee=ve-Q,fe=xe-Q,Ce=1/(te*fe-ee*oe);D[0]=(fe*Pe-ee*We)*Ce,D[1]=(fe*Ne-ee*V)*Ce,D[2]=(fe*q-ee*ae)*Ce,N[0]=(te*We-oe*Pe)*Ce,N[1]=(te*V-oe*Ne)*Ce,N[2]=(te*ae-oe*q)*Ce,n(M[F],M[F],D),n(M[K],M[K],D),n(M[j],M[j],D),n(L[F],L[F],N),n(L[K],L[K],N),n(L[j],L[j],N)}for(var re=r(),ce=r(),lt=r(),O=0;O<i;O++){lt[0]=A[O*3],lt[1]=A[O*3+1],lt[2]=A[O*3+2];var Qe=M[O];o.scale(re,lt,o.dot(lt,Qe)),o.sub(re,Qe,re),o.normalize(re,re),o.cross(ce,lt,Qe),x[O*4]=re[0],x[O*4+1]=re[1],x[O*4+2]=re[2],x[O*4+3]=o.dot(ce,L[O])<0?-1:1}this.dirty()}},isUniqueVertex:function(){return this.isUseIndices()?this.vertexCount===this.indices.length:!0},generateUniqueVertex:function(){if(!(!this.vertexCount||!this.indices)){this.indices.length>65535&&(this.indices=new m.a.Uint32Array(this.indices));for(var i=this.attributes,f=this.indices,y=this.getEnabledAttributes(),b={},x=0;x<y.length;x++){var A=y[x];b[A]=i[A].value,i[A].init(this.indices.length)}for(var M=0,L=0;L<f.length;L++){for(var O=f[L],x=0;x<y.length;x++)for(var A=y[x],D=i[A].value,N=i[A].size,I=0;I<N;I++)D[M*N+I]=b[A][O*N+I];f[L]=M,M++}this.dirty()}},generateBarycentric:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var i=this.attributes,f=i.barycentric.value,y=this.indices;if(!(f&&f.length===y.length*3)){f=i.barycentric.value=new Float32Array(y.length*3);for(var b=0;b<(y?y.length:this.vertexCount/3);)for(var x=0;x<3;x++){var A=y?y[b++]:b*3+x;f[A*3+x]=1}this.dirty()}}},applyTransform:function(i){var f=this.attributes,y=f.position.value,b=f.normal.value,x=f.tangent.value;i=i.array;var A=g.create();g.invert(A,i),g.transpose(A,A);var M=o.transformMat4,L=o.forEach;L(y,3,0,null,M,i),b&&L(b,3,0,null,M,A),x&&L(x,4,0,null,M,A),this.boundingBox&&this.updateBoundingBox()},dispose:function(i){var f=this._cache;f.use(i.__uid__);var y=f.get("chunks");if(y)for(var b=0;b<y.length;b++){for(var x=y[b],A=0;A<x.attributeBuffers.length;A++){var M=x.attributeBuffers[A];i.gl.deleteBuffer(M.buffer)}x.indicesBuffer&&i.gl.deleteBuffer(x.indicesBuffer.buffer)}f.deleteContext(i.__uid__)}});Object.defineProperty&&(Object.defineProperty(t.prototype,"vertexCount",{enumerable:!1,get:function(){var i=this.attributes[this.mainAttribute];return!i||!i.value?0:i.value.length/i.size}}),Object.defineProperty(t.prototype,"triangleCount",{enumerable:!1,get:function(){var i=this.indices;return i?i.length/3:0}})),t.STATIC_DRAW=C.a.STATIC_DRAW,t.DYNAMIC_DRAW=C.a.DYNAMIC_DRAW,t.STREAM_DRAW=C.a.STREAM_DRAW,t.AttributeBuffer=v,t.IndicesBuffer=e,t.Attribute=s,P.a=t},function(k,P,_){"use strict";var B=_(8),C=_(30),p=_(37),m=_(7),E=_(17),d=_(24),l=_(11),o=_(109);m.a.import(o.a);var g=new p.a,r=new d.a({geometry:g,frustumCulling:!1}),n=new C.a,a=B.a.extend(function(){return{fragment:"",outputs:null,material:null,blendWithPrevious:!1,clearColor:!1,clearDepth:!0}},function(){var c=new m.a(m.a.source("clay.compositor.vertex"),this.fragment),u=new E.a({shader:c});u.enableTexturesAll(),this.material=u},{setUniform:function(c,u){this.material.setUniform(c,u)},getUniform:function(c){var u=this.material.uniforms[c];if(u)return u.value},attachOutput:function(c,u){this.outputs||(this.outputs={}),u=u||l.a.COLOR_ATTACHMENT0,this.outputs[u]=c},detachOutput:function(c){for(var u in this.outputs)this.outputs[u]===c&&(this.outputs[u]=null)},bind:function(c,u){if(this.outputs)for(var s in this.outputs){var v=this.outputs[s];v&&u.attach(v,s)}u&&u.bind(c)},unbind:function(c,u){u.unbind(c)},render:function(c,u){var s=c.gl;if(u){this.bind(c,u);var v=c.getGLExtension("EXT_draw_buffers");if(v&&this.outputs){var e=[];for(var t in this.outputs)t=+t,t>=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 B=_(4),C=_(1),p=_.n(C),m=p.a.vec3,E=m.copy,d=m.set,l=function(o,g){this.min=o||new B.a(1/0,1/0,1/0),this.max=g||new B.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;c<o.length;c++){var u=o[c];u[0]<n[0]&&(n[0]=u[0]),u[1]<n[1]&&(n[1]=u[1]),u[2]<n[2]&&(n[2]=u[2]),u[0]>a[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 m.min(g.array,g.array,o.min.array),m.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 m.max(g.array,g.array,o.min.array),m.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]<n[0]||r[1]<n[1]||r[2]<n[2])},containBoundingBox:function(o){var g=this.min.array,r=this.max.array,n=o.min.array,a=o.max.array;return g[0]<=n[0]&&g[1]<=n[1]&&g[2]<=n[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=m.create(),g=m.create(),r=m.create(),n=m.create(),a=m.create(),c=m.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]=m.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(B,C,p){return{seriesType:B,reset:function(m,E){var d=m.getData(),l=m.visualColorAccessPath.split(".");l[l.length-1]="opacity";var o=m.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 B=_(8),C=_(6),p=_(21),m=_(93),E=m.a.parseToFloat,d={};function l(r,n,a){var c=Object.keys(r);c.sort();for(var u=[],s=0;s<c.length;s++){var v=c[s],e=r[v];e===null?u.push(v):u.push(v+" "+e.toString())}return u.join(`
|
|
|
`)}function o(r,n,a){a.sort();for(var c=[],u=0;u<a.length;u++){var s=a[u];c.push(s)}var v=l(r)+`
|
|
|
`+l(n)+`
|
|
|
`+c.join(`
|
|
|
`);if(d[v])return d[v];var e=p.a.genGUID();return d[v]=e,e}var g=B.a.extend(function(){return{name:"",depthTest:!0,depthMask:!0,transparent:!1,blend:null,autoUpdateTextureStatus:!0,uniforms:{},vertexDefines:{},fragmentDefines:{},_textureStatus:{},_enabledUniforms:null}},function(){this.name||(this.name="MATERIAL_"+this.__uid__),this.shader&&this.attachShader(this.shader,!0)},{precision:"highp",bind:function(r,n,a,c){for(var u=r.gl,s=n.currentTextureSlot(),v=0;v<this._enabledUniforms.length;v++){var e=this._enabledUniforms[v],t=this.uniforms[e].value;if(t instanceof C.a)t.__slot=-1;else if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]instanceof C.a&&(t[i].__slot=-1)}for(var v=0;v<this._enabledUniforms.length;v++){var e=this._enabledUniforms[v],f=this.uniforms[e],t=f.value;if(t===null){if(f.type==="t"){var y=n.currentTextureSlot(),b=n.setUniform(u,"1i",e,y);b&&n.takeCurrentTextureSlot(r,null)}continue}else if(t instanceof C.a)if(t.__slot<0){var y=n.currentTextureSlot(),b=n.setUniform(u,"1i",e,y);if(!b)continue;n.takeCurrentTextureSlot(r,t),t.__slot=y}else n.setUniform(u,"1i",e,t.__slot);else if(Array.isArray(t)){if(t.length===0)continue;var x=t[0];if(x instanceof C.a){if(!n.hasUniform(e))continue;for(var A=[],i=0;i<t.length;i++){var M=t[i];if(M.__slot<0){var y=n.currentTextureSlot();A.push(y),n.takeCurrentTextureSlot(r,M),M.__slot=y}else A.push(M.__slot)}n.setUniform(u,"1iv",e,A)}else n.setUniform(u,f.type,e,t)}else n.setUniform(u,f.type,e,t)}n.resetTextureSlot(s)},setUniform:function(r,n){n===void 0&&console.warn('Uniform value "'+r+'" is undefined');var a=this.uniforms[r];a&&(typeof n=="string"&&(n=E(n)||n),a.value=n,this.autoUpdateTextureStatus&&a.type==="t"&&(n?this.enableTexture(r):this.disableTexture(r)))},setUniforms:function(r){for(var n in r){var a=r[n];this.setUniform(n,a)}},isUniformEnabled:function(r){return this._enabledUniforms.indexOf(r)>=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=p.a.clone(r.vertexDefines),this.fragmentDefines=p.a.clone(r.fragmentDefines),n){for(var v in a)c[v]&&(c[v].value=a[v].value);p.a.defaults(this.vertexDefines,u),p.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=p.a.clone(this.vertexDefines),r.fragmentDefines=p.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<r.length;n++)this.enableTexture(r[n]);return}var a=this._textureStatus[r];if(a){var c=a.enabled;c||(a.enabled=!0,this._programKey="")}},enableTexturesAll:function(){var r=this._textureStatus;for(var n in r)r[n].enabled=!0;this._programKey=""},disableTexture:function(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)this.disableTexture(r[n]);return}var a=this._textureStatus[r];if(a){var c=!a.enabled;c||(a.enabled=!1,this._programKey="")}},disableTexturesAll:function(){var r=this._textureStatus;for(var n in r)r[n].enabled=!1;this._programKey=""},isTextureEnabled:function(r){var n=this._textureStatus;return!!n[r]&&n[r].enabled},getEnabledTextures:function(){var r=[],n=this._textureStatus;for(var a in n)n[a].enabled&&r.push(a);return r},dirtyDefines:function(){this._programKey=""}});Object.defineProperty&&(Object.defineProperty(g.prototype,"shader",{get:function(){return this._shader||null},set:function(r){this._shader=r}}),Object.defineProperty(g.prototype,"programKey",{get:function(){return this._programKey||(this._programKey=o(this.vertexDefines,this.fragmentDefines,this.getEnabledTextures())),this._programKey}})),P.a=g},function(k,P,_){"use strict";var B=!0;try{var C=document.createElement("canvas"),p=C.getContext("webgl")||C.getContext("experimental-webgl");if(!p)throw new Error}catch(E){B=!1}var m={};m.supportWebGL=function(){return B},m.Int8Array=typeof Int8Array=="undefined"?Array:Int8Array,m.Uint8Array=typeof Uint8Array=="undefined"?Array:Uint8Array,m.Uint16Array=typeof Uint16Array=="undefined"?Array:Uint16Array,m.Uint32Array=typeof Uint32Array=="undefined"?Array:Uint32Array,m.Int16Array=typeof Int16Array=="undefined"?Array:Int16Array,m.Float32Array=typeof Float32Array=="undefined"?Array:Float32Array,m.Float64Array=typeof Float64Array=="undefined"?Array:Float64Array,P.a=m},function(k,P,_){"use strict";var B=_(28),C=B.a.extend(function(){return{color:[1,1,1],intensity:1,castShadow:!0,shadowResolution:512,group:0}},{type:"",clone:function(){var p=B.a.prototype.clone.call(this);return p.color=Array.prototype.slice.call(this.color),p.intensity=this.intensity,p.castShadow=this.castShadow,p.shadowResolution=this.shadowResolution,p}});P.a=C},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(29),m=_(152),E=_(36),d=_(30),l=_(9),o=_(4),g=_(23),r=_(47),n=_(155),a=_(182),c=_(43);function u(v){v=v||"perspective",this.layer=null,this.scene=new p.a,this.rootNode=this.scene,this.viewport={x:0,y:0,width:0,height:0},this.setProjection(v),this._compositor=new n.a,this._temporalSS=new a.a,this._shadowMapPass=new m.a;for(var e=[],t=0,i=0;i<30;i++){for(var f=[],y=0;y<6;y++)f.push(Object(c.a)(t,2)*4-2),f.push(Object(c.a)(t,3)*4-2),t++;e.push(f)}this._pcfKernels=e,this.scene.on("beforerender",function(b,x,A){this.needsTemporalSS()&&this._temporalSS.jitterProjection(b,A)},this)}u.prototype.setProjection=function(v){var e=this.camera;e&&e.update(),v==="perspective"?this.camera instanceof E.a||(this.camera=new E.a,e&&this.camera.setLocalTransform(e.localTransform)):this.camera instanceof d.a||(this.camera=new d.a,e&&this.camera.setLocalTransform(e.localTransform)),this.camera.near=.1,this.camera.far=2e3},u.prototype.setViewport=function(v,e,t,i,f){this.camera instanceof E.a&&(this.camera.aspect=t/i),f=f||1,this.viewport.x=v,this.viewport.y=e,this.viewport.width=t,this.viewport.height=i,this.viewport.devicePixelRatio=f,this._compositor.resize(t*f,i*f),this._temporalSS.resize(t*f,i*f)},u.prototype.containPoint=function(v,e){var t=this.viewport,i=this.layer.renderer.getHeight();return e=i-e,v>=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;v<this.scene.transparentList.length;v++){var e=this.scene.transparentList[v],t=e.geometry;t.needsSortVerticesProgressively&&t.needsSortVerticesProgressively()&&(this._needsSortProgressively=!0),t.needsSortTrianglesProgressively&&t.needsSortTrianglesProgressively()&&(this._needsSortProgressively=!0)}this._frame=0,this._temporalSS.resetFrame()},u.prototype.render=function(v,e){this._doRender(v,e,this._frame),this._frame++},u.prototype.needsAccumulate=function(){return this.needsTemporalSS()||this._needsSortProgressively},u.prototype.needsTemporalSS=function(){var v=this._enableTemporalSS;return v=="auto"&&(v=this._enablePostEffect),v},u.prototype.hasDOF=function(){return this._enableDOF},u.prototype.isAccumulateFinished=function(){return this.needsTemporalSS()?this._temporalSS.isFinished():this._frame>30},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;x<e.transparentList.length;x++){var A=e.transparentList[x],M=A.geometry;l.a.invert(y,A.worldTransform),o.a.transformMat4(f,b,y),M.needsSortTriangles&&M.needsSortTriangles()&&M.doSortTriangles(f,i),M.needsSortVertices&&M.needsSortVertices()&&M.doSortVertices(f,i)}},u.prototype._updateSSAO=function(v,e,t,i){var f=this._enableSSAO&&this._enablePostEffect;f&&this._compositor.updateSSAO(v,e,t,this._temporalSS.getFrame());for(var y=0;y<e.opaqueList.length;y++){var b=e.opaqueList[y];b.renderNormal&&b.material[f?"enableTexture":"disableTexture"]("ssaoMap"),f&&b.material.set("ssaoMap",this._compositor.getSSAOTexture())}},u.prototype._updateShadowPCFKernel=function(v){for(var e=this._pcfKernels[v%this._pcfKernels.length],t=this.scene.opaqueList,i=0;i<t.length;i++)t[i].receiveShadow&&(t[i].material.set("pcfKernel",e),t[i].material.define("fragment","PCF_KERNEL_SIZE",e.length/2))},u.prototype.dispose=function(v){this._compositor.dispose(v.gl),this._temporalSS.dispose(v.gl),this._shadowMapPass.dispose(v)},u.prototype.setPostEffect=function(v,e){var t=this._compositor;this._enablePostEffect=v.get("enable");var i=v.getModel("bloom"),f=v.getModel("edge"),y=v.getModel("DOF",v.getModel("depthOfField")),b=v.getModel("SSAO",v.getModel("screenSpaceAmbientOcclusion")),x=v.getModel("SSR",v.getModel("screenSpaceReflection")),A=v.getModel("FXAA"),M=v.getModel("colorCorrection");i.get("enable")?t.enableBloom():t.disableBloom(),y.get("enable")?t.enableDOF():t.disableDOF(),x.get("enable")?t.enableSSR():t.disableSSR(),M.get("enable")?t.enableColorCorrection():t.disableColorCorrection(),f.get("enable")?t.enableEdge():t.disableEdge(),A.get("enable")?t.enableFXAA():t.disableFXAA(),this._enableDOF=y.get("enable"),this._enableSSAO=b.get("enable"),this._enableSSAO?t.enableSSAO():t.disableSSAO(),t.setBloomIntensity(i.get("intensity")),t.setEdgeColor(f.get("color")),t.setColorLookupTexture(M.get("lookupTexture"),e),t.setExposure(M.get("exposure")),["radius","quality","intensity"].forEach(function(L){t.setSSAOParameter(L,b.get(L))}),["quality","maxRoughness"].forEach(function(L){t.setSSRParameter(L,x.get(L))}),["quality","focalDistance","focalRange","blurRadius","fstop"].forEach(function(L){t.setDOFParameter(L,y.get(L))}),["brightness","contrast","saturation"].forEach(function(L){t.setColorCorrection(L,M.get(L))})},u.prototype.setDOFFocusOnPoint=function(v){if(this._enablePostEffect)return v>this.camera.far||v<this.camera.near?void 0:(this._compositor.setDOFParameter("focalDistance",v),!0)},u.prototype.setTemporalSuperSampling=function(v){this._enableTemporalSS=v.get("enable")},u.prototype.isLinearSpace=function(){return this._enablePostEffect},u.prototype.setRootNode=function(v){if(this.rootNode!==v){for(var e=this.rootNode.children(),t=0;t<e.length;t++)v.add(e[t]);v!==this.scene&&this.scene.add(v),this.rootNode=v}},u.prototype.add=function(v){this.rootNode.add(v)},u.prototype.remove=function(v){this.rootNode.remove(v)},u.prototype.removeAll=function(v){this.rootNode.removeAll(v)},C.a.util.extend(u.prototype,r.a),P.a=u},function(k,P,_){"use strict";var B=0,C=Array.prototype,p=C.forEach,m={genGUID:function(){return++B},relative2absolute:function(E,d){if(!d||E.match(/^\//))return E;for(var l=E.split("/"),o=d.split("/"),g=l[0];g==="."||g==="..";)g===".."&&o.pop(),l.shift(),g=l[0];return o.join("/")+"/"+l.join("/")},extend:function(E,d){if(d)for(var l in d)d.hasOwnProperty(l)&&(E[l]=d[l]);return E},defaults:function(E,d){if(d)for(var l in d)E[l]===void 0&&(E[l]=d[l]);return E},extendWithPropList:function(E,d,l){if(d)for(var o=0;o<l.length;o++){var g=l[o];E[g]=d[g]}return E},defaultsWithPropList:function(E,d,l){if(d)for(var o=0;o<l.length;o++){var g=l[o];E[g]==null&&(E[g]=d[g])}return E},each:function(E,d,l){if(E&&d)if(E.forEach&&E.forEach===p)E.forEach(d,l);else if(E.length===+E.length)for(var o=0,g=E.length;o<g;o++)d.call(l,E[o],o,E);else for(var r in E)E.hasOwnProperty(r)&&d.call(l,E[r],r,E)},isObject:function(E){return E===Object(E)},isArray:function(E){return Array.isArray(E)},isArrayLike:function(E){return E?E.length===+E.length:!1},clone:function(E){if(m.isObject(E)){if(m.isArray(E))return E.slice();if(m.isArrayLike(E)){for(var d=new E.constructor(E.length),l=0;l<E.length;l++)d[l]=E[l];return d}else return m.extend({},E)}else return E}};P.a=m},function(k,P,_){"use strict";var B=_(13),C=_(0),p=_.n(C),m=_(33),E=_(1),d=_.n(E),l=d.a.vec3,o=[[0,0],[1,1]],g=B.a.extend(function(){return{segmentScale:1,dynamic:!0,useNativeLine:!0,attributes:{position:new B.a.Attribute("position","float",3,"POSITION"),positionPrev:new B.a.Attribute("positionPrev","float",3),positionNext:new B.a.Attribute("positionNext","float",3),prevPositionPrev:new B.a.Attribute("prevPositionPrev","float",3),prevPosition:new B.a.Attribute("prevPosition","float",3),prevPositionNext:new B.a.Attribute("prevPositionNext","float",3),offset:new B.a.Attribute("offset","float",1),color:new B.a.Attribute("color","float",4,"COLOR")}}},{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(r){var n=this.attributes;this.vertexCount!==r&&(n.position.init(r),n.color.init(r),this.useNativeLine||(n.positionPrev.init(r),n.positionNext.init(r),n.offset.init(r)),r>65535?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],M=c[0],L=c[1],O=c[2],D=this._getCubicCurveApproxStep(r,n,a,c),N=D*D,I=N*D,U=3*D,F=3*N,K=6*N,j=6*I,G=v-i*2+b,Y=e-f*2+x,le=t-y*2+A,Q=(i-b)*3-v+M,ve=(f-x)*3-e+L,xe=(y-A)*3-t+O,be=v,De=e,Ue=t,we=(i-v)*U+G*F+Q*I,Ye=(f-e)*U+Y*F+ve*I,Be=(y-t)*U+le*F+xe*I,ge=G*K+Q*j,He=Y*K+ve*j,Fe=le*K+xe*j,Pe=Q*j,We=ve*j,Ne=xe*j,V=0,q=0,ae=Math.ceil(1/D),te=new Float32Array((ae+1)*3),te=[],oe=0,q=0;q<ae+1;q++)te[oe++]=be,te[oe++]=De,te[oe++]=Ue,be+=we,De+=Ye,Ue+=Be,we+=ge,Ye+=He,Be+=Fe,ge+=Pe,He+=We,Fe+=Ne,V+=D,V>1&&(be=we>0?Math.min(be,M):Math.max(be,M),De=Ye>0?Math.min(De,L):Math.max(De,L),Ue=Be>0?Math.min(Ue,O):Math.max(Ue,O));return this.addPolyline(te,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,M;a=Math.max(a,.01);for(var L=c;L<u;L++){if(s)A=r[L],v?M=n[L]:M=n;else{var O=L*3;if(A=A||[],A[0]=r[O],A[1]=r[O+1],A[2]=r[O+2],v){var D=L*4;M=M||[],M[0]=n[D],M[1]=n[D+1],M[2]=n[D+2],M[3]=n[D+3]}else M=n}if(this.useNativeLine?L>1&&(e.copy(x,x-1),f.copy(x,x-1),x++):(L<u-1&&(t.set(x+2,A),t.set(x+3,A)),L>0&&(i.set(x-2,A),i.set(x-1,A)),e.set(x,A),e.set(x+1,A),f.set(x,M),f.set(x+1,M),y.set(x,a/2),y.set(x+1,-a/2),x+=2),this.useNativeLine)f.set(x,M),e.set(x,A),x++;else if(L>0){var N=this._triangleOffset*3,b=this.indices;b[N]=x-4,b[N+1]=x-3,b[N+2]=x-2,b[N+3]=x-3,b[N+4]=x-1,b[N+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=r<this._itemVertexOffsets.length-1?this._itemVertexOffsets[r+1]:this._vertexOffset,u=a;u<c;u++)this.attributes.color.set(u,n);this.dirty("color")},currentTriangleOffset:function(){return this._triangleOffset},currentVertexOffset:function(){return this._vertexOffset}});p.a.util.defaults(g.prototype,m.a),P.a=g},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.vec2,m=function(d,l){d=d||0,l=l||0,this.array=p.fromValues(d,l),this._dirty=!0};if(m.prototype={constructor:m,add:function(d){return p.add(this.array,this.array,d.array),this._dirty=!0,this},set:function(d,l){return this.array[0]=d,this.array[1]=l,this._dirty=!0,this},setArray:function(d){return this.array[0]=d[0],this.array[1]=d[1],this._dirty=!0,this},clone:function(){return new m(this.x,this.y)},copy:function(d){return p.copy(this.array,d.array),this._dirty=!0,this},cross:function(d,l){return p.cross(d.array,this.array,l.array),d._dirty=!0,this},dist:function(d){return p.dist(this.array,d.array)},distance:function(d){return p.distance(this.array,d.array)},div:function(d){return p.div(this.array,this.array,d.array),this._dirty=!0,this},divide:function(d){return p.divide(this.array,this.array,d.array),this._dirty=!0,this},dot:function(d){return p.dot(this.array,d.array)},len:function(){return p.len(this.array)},length:function(){return p.length(this.array)},lerp:function(d,l,o){return p.lerp(this.array,d.array,l.array,o),this._dirty=!0,this},min:function(d){return p.min(this.array,this.array,d.array),this._dirty=!0,this},max:function(d){return p.max(this.array,this.array,d.array),this._dirty=!0,this},mul:function(d){return p.mul(this.array,this.array,d.array),this._dirty=!0,this},multiply:function(d){return p.multiply(this.array,this.array,d.array),this._dirty=!0,this},negate:function(){return p.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return p.normalize(this.array,this.array),this._dirty=!0,this},random:function(d){return p.random(this.array,d),this._dirty=!0,this},scale:function(d){return p.scale(this.array,this.array,d),this._dirty=!0,this},scaleAndAdd:function(d,l){return p.scaleAndAdd(this.array,this.array,d.array,l),this._dirty=!0,this},sqrDist:function(d){return p.sqrDist(this.array,d.array)},squaredDistance:function(d){return p.squaredDistance(this.array,d.array)},sqrLen:function(){return p.sqrLen(this.array)},squaredLength:function(){return p.squaredLength(this.array)},sub:function(d){return p.sub(this.array,this.array,d.array),this._dirty=!0,this},subtract:function(d){return p.subtract(this.array,this.array,d.array),this._dirty=!0,this},transformMat2:function(d){return p.transformMat2(this.array,this.array,d.array),this._dirty=!0,this},transformMat2d:function(d){return p.transformMat2d(this.array,this.array,d.array),this._dirty=!0,this},transformMat3:function(d){return p.transformMat3(this.array,this.array,d.array),this._dirty=!0,this},transformMat4:function(d){return p.transformMat4(this.array,this.array,d.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},Object.defineProperty){var E=m.prototype;Object.defineProperty(E,"x",{get:function(){return this.array[0]},set:function(d){this.array[0]=d,this._dirty=!0}}),Object.defineProperty(E,"y",{get:function(){return this.array[1]},set:function(d){this.array[1]=d,this._dirty=!0}})}m.add=function(d,l,o){return p.add(d.array,l.array,o.array),d._dirty=!0,d},m.set=function(d,l,o){return p.set(d.array,l,o),d._dirty=!0,d},m.copy=function(d,l){return p.copy(d.array,l.array),d._dirty=!0,d},m.cross=function(d,l,o){return p.cross(d.array,l.array,o.array),d._dirty=!0,d},m.dist=function(d,l){return p.distance(d.array,l.array)},m.distance=m.dist,m.div=function(d,l,o){return p.divide(d.array,l.array,o.array),d._dirty=!0,d},m.divide=m.div,m.dot=function(d,l){return p.dot(d.array,l.array)},m.len=function(d){return p.length(d.array)},m.lerp=function(d,l,o,g){return p.lerp(d.array,l.array,o.array,g),d._dirty=!0,d},m.min=function(d,l,o){return p.min(d.array,l.array,o.array),d._dirty=!0,d},m.max=function(d,l,o){return p.max(d.array,l.array,o.array),d._dirty=!0,d},m.mul=function(d,l,o){return p.multiply(d.array,l.array,o.array),d._dirty=!0,d},m.multiply=m.mul,m.negate=function(d,l){return p.negate(d.array,l.array),d._dirty=!0,d},m.normalize=function(d,l){return p.normalize(d.array,l.array),d._dirty=!0,d},m.random=function(d,l){return p.random(d.array,l),d._dirty=!0,d},m.scale=function(d,l,o){return p.scale(d.array,l.array,o),d._dirty=!0,d},m.scaleAndAdd=function(d,l,o,g){return p.scaleAndAdd(d.array,l.array,o.array,g),d._dirty=!0,d},m.sqrDist=function(d,l){return p.sqrDist(d.array,l.array)},m.squaredDistance=m.sqrDist,m.sqrLen=function(d){return p.sqrLen(d.array)},m.squaredLength=m.sqrLen,m.sub=function(d,l,o){return p.subtract(d.array,l.array,o.array),d._dirty=!0,d},m.subtract=m.sub,m.transformMat2=function(d,l,o){return p.transformMat2(d.array,l.array,o.array),d._dirty=!0,d},m.transformMat2d=function(d,l,o){return p.transformMat2d(d.array,l.array,o.array),d._dirty=!0,d},m.transformMat3=function(d,l,o){return p.transformMat3(d.array,l.array,o.array),d._dirty=!0,d},m.transformMat4=function(d,l,o){return p.transformMat4(d.array,l.array,o.array),d._dirty=!0,d},P.a=m},function(k,P,_){"use strict";var B=_(64),C=_(11),p=_(5),m=B.a.extend({skeleton:null,joints:null,useSkinMatricesTexture:!1},function(){this.joints||(this.joints=[])},{isSkinnedMesh:function(){return!!(this.skeleton&&this.joints&&this.joints.length>0)},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 B.a.prototype.render.call(this,E,d,l)},getSkinMatricesTexture:function(){return this._skinMatricesTexture=this._skinMatricesTexture||new p.a({type:C.a.FLOAT,minFilter:C.a.NEAREST,magFilter:C.a.NEAREST,useMipmap:!1,flipY:!1}),this._skinMatricesTexture}});m.POINTS=C.a.POINTS,m.LINES=C.a.LINES,m.LINE_LOOP=C.a.LINE_LOOP,m.LINE_STRIP=C.a.LINE_STRIP,m.TRIANGLES=C.a.TRIANGLES,m.TRIANGLE_STRIP=C.a.TRIANGLE_STRIP,m.TRIANGLE_FAN=C.a.TRIANGLE_FAN,m.BACK=C.a.BACK,m.FRONT=C.a.FRONT,m.FRONT_AND_BACK=C.a.FRONT_AND_BACK,m.CW=C.a.CW,m.CCW=C.a.CCW,P.a=m},function(k,P,_){"use strict";var B=_(6),C=_(11),p=_(21),m=_(66),E=m.a.isPowerOfTwo,d=["px","nx","py","ny","pz","nz"],l=B.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;e<this.mipmaps.length;e++){var t=this.mipmaps[e];this._updateTextureData(r,t,e,s,v,n,a),s/=2,v/=2}else this._updateTextureData(r,this,0,this.width,this.height,n,a),!this.NPOT&&this.useMipmap&&r.generateMipmap(r.TEXTURE_CUBE_MAP);r.bindTexture(r.TEXTURE_CUBE_MAP,null)},_updateTextureData:function(g,r,n,a,c,u,s){for(var v=0;v<6;v++){var e=d[v],t=r.image&&r.image[e];t?g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_X+v,n,u,u,s,t):g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_X+v,n,u,a,c,0,u,s,r.pixels&&r.pixels[e])}},generateMipmap:function(g){var r=g.gl;this.useMipmap&&!this.NPOT&&(r.bindTexture(r.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),r.generateMipmap(r.TEXTURE_CUBE_MAP))},bind:function(g){g.gl.bindTexture(g.gl.TEXTURE_CUBE_MAP,this.getWebGLTexture(g))},unbind:function(g){g.gl.bindTexture(g.gl.TEXTURE_CUBE_MAP,null)},isPowerOfTwo:function(){return this.image.px?E(this.image.px.width)&&E(this.image.px.height):E(this.width)&&E(this.height)},isRenderable:function(){return this.image.px?o(this.image.px)&&o(this.image.nx)&&o(this.image.py)&&o(this.image.ny)&&o(this.image.pz)&&o(this.image.nz):!!(this.width&&this.height)},load:function(g,r){var n=0,a=this;return p.a.each(g,function(c,u){var s=new Image;r&&(s.crossOrigin=r),s.onload=function(){n--,n===0&&(a.dirty(),a.trigger("success",a)),s.onload=null},s.onerror=function(){n--,s.onerror=null},n++,s.src=c,a.image[u]=s}),this}});Object.defineProperty(l.prototype,"width",{get:function(){return this.image&&this.image.px?this.image.px.width:this._width},set:function(g){this.image&&this.image.px?console.warn("Texture from image can't set width"):(this._width!==g&&this.dirty(),this._width=g)}}),Object.defineProperty(l.prototype,"height",{get:function(){return this.image&&this.image.px?this.image.px.height:this._height},set:function(g){this.image&&this.image.px?console.warn("Texture from image can't set height"):(this._height!==g&&this.dirty(),this._height=g)}});function o(g){return g.nodeName==="CANVAS"||g.nodeName==="VIDEO"||g.complete}P.a=l},function(k,P,_){"use strict";P.a={defaultOption:{shading:null,realisticMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},lambertMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},colorMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},hatchingMaterial:{textureTiling:1,textureOffset:0,paperColor:"#fff"}}}},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p={};p.getFormattedLabel=function(m,E,d,l,o){d=d||"normal";var g=m.getData(l),r=g.getItemModel(E),n=m.getDataParams(E,l);o!=null&&n.value instanceof Array&&(n.value=n.value[o]);var a=r.get(d==="normal"?["label","formatter"]:["emphasis","label","formatter"]);a==null&&(a=r.get(["label","formatter"]));var c;return typeof a=="function"?(n.status=d,c=a(n)):typeof a=="string"&&(c=C.a.format.formatTpl(a,n)),c},p.normalizeToArray=function(m){return m instanceof Array?m:m==null?[]:[m]},P.a=p},function(k,P,_){"use strict";var B=_(8),C=_(4),p=_(50),m=_(9),E=_(1),d=_.n(E),l=_(15),o=d.a.mat4,g=0,r=B.a.extend({name:"",position:null,rotation:null,scale:null,worldTransform:null,localTransform:null,autoUpdateLocalTransform:!0,_parent:null,_scene:null,_needsUpdateWorldTransform:!0,_inIterating:!1,__depth:0},function(){this.name||(this.name=(this.type||"NODE")+"_"+g++),this.position||(this.position=new C.a),this.rotation||(this.rotation=new p.a),this.scale||(this.scale=new C.a(1,1,1)),this.worldTransform=new m.a,this.localTransform=new m.a,this._children=[]},{target:null,invisible:!1,isSkinnedMesh:function(){return!1},isRenderable:function(){return!1},setName:function(n){var a=this._scene;if(a){var c=a._nodeRepository;delete c[this.name],c[n]=this}this.name=n},add:function(n){this._inIterating&&console.warn("Add operation can cause unpredictable error when in iterating");var a=n._parent;if(a!==this){a&&a.remove(n),n._parent=this,this._children.push(n);var c=this._scene;c&&c!==n.scene&&n.traverse(this._addSelfToScene,this),n._needsUpdateWorldTransform=!0}},remove:function(n){this._inIterating&&console.warn("Remove operation can cause unpredictable error when in iterating");var a=this._children,c=a.indexOf(n);c<0||(a.splice(c,1),n._parent=null,this._scene&&n.traverse(this._removeSelfFromScene,this))},removeAll:function(){for(var n=this._children,a=0;a<n.length;a++)n[a]._parent=null,this._scene&&n[a].traverse(this._removeSelfFromScene,this);this._children=[]},getScene:function(){return this._scene},getParent:function(){return this._parent},_removeSelfFromScene:function(n){n._scene.removeFromScene(n),n._scene=null},_addSelfToScene:function(n){this._scene.addToScene(n),n._scene=this._scene},isAncestor:function(n){for(var a=n._parent;a;){if(a===this)return!0;a=a._parent}return!1},children:function(){return this._children.slice()},childAt:function(n){return this._children[n]},getChildByName:function(n){for(var a=this._children,c=0;c<a.length;c++)if(a[c].name===n)return a[c]},getDescendantByName:function(n){for(var a=this._children,c=0;c<a.length;c++){var u=a[c];if(u.name===n)return u;var s=u.getDescendantByName(n);if(s)return s}},queryNode:function(n){if(n){for(var a=n.split("/"),c=this,u=0;u<a.length;u++){var s=a[u];if(s){for(var v=!1,e=c._children,t=0;t<e.length;t++){var i=e[t];if(i.name===s){c=i,v=!0;break}}if(!v)return}}return c}},getPath:function(n){if(!this._parent)return"/";for(var a=this._parent,c=this.name;a._parent&&(c=a.name+"/"+c,a._parent!=n);)a=a._parent;return!a._parent&&n?null:c},traverse:function(n,a,c){this._inIterating=!0,(!c||c.call(a,this))&&n.call(a,this);for(var u=this._children,s=0,v=u.length;s<v;s++)u[s].traverse(n,a,c);this._inIterating=!1},eachChild:function(n,a,c){this._inIterating=!0;for(var u=this._children,s=c==null,v=0,e=u.length;v<e;v++){var t=u[v];(s||t.constructor===c)&&n.call(a,t,v)}this._inIterating=!1},setLocalTransform:function(n){o.copy(this.localTransform.array,n.array),this.decomposeLocalTransform()},decomposeLocalTransform:function(n){var a=n?null:this.scale;this.localTransform.decomposeMatrix(a,this.rotation,this.position)},setWorldTransform:function(n){o.copy(this.worldTransform.array,n.array),this.decomposeWorldTransform()},decomposeWorldTransform:function(){var n=o.create();return function(a){var c=this.localTransform,u=this.worldTransform;this._parent?(o.invert(n,this._parent.worldTransform.array),o.multiply(c.array,n,u.array)):o.copy(c.array,u.array);var s=a?null:this.scale;c.decomposeMatrix(s,this.rotation,this.position)}}(),transformNeedsUpdate:function(){return this.position._dirty||this.rotation._dirty||this.scale._dirty},updateLocalTransform:function(){var n=this.position,a=this.rotation,c=this.scale;if(this.transformNeedsUpdate()){var u=this.localTransform.array;o.fromRotationTranslation(u,a.array,n.array),o.scale(u,u,c.array),a._dirty=!1,c._dirty=!1,n._dirty=!1,this._needsUpdateWorldTransform=!0}},_updateWorldTransformTopDown:function(){var n=this.localTransform.array,a=this.worldTransform.array;this._parent?o.multiplyAffine(a,this._parent.worldTransform.array,n):o.copy(a,n)},updateWorldTransform:function(){for(var n=this;n&&n.getParent()&&n.getParent().transformNeedsUpdate();)n=n.getParent();n.update()},update:function(n){this.autoUpdateLocalTransform?this.updateLocalTransform():n=!0,(n||this._needsUpdateWorldTransform)&&(this._updateWorldTransformTopDown(),n=!0,this._needsUpdateWorldTransform=!1);for(var a=this._children,c=0,u=a.length;c<u;c++)a[c].update(n)},getBoundingBox:function(){function n(s){return!s.invisible&&s.geometry}var a=new l.a,c=new m.a,u=new m.a;return function(s,v){return v=v||new l.a,s=s||n,this._parent?m.a.invert(u,this._parent.worldTransform):m.a.identity(u),this.traverse(function(e){e.geometry&&e.geometry.boundingBox&&(a.copy(e.geometry.boundingBox),m.a.multiply(c,u,e.worldTransform),a.applyTransform(c),v.union(a))},this,n),v}}(),getWorldPosition:function(n){this.transformNeedsUpdate()&&this.updateWorldTransform();var a=this.worldTransform.array;if(n){var c=n.array;return c[0]=a[12],c[1]=a[13],c[2]=a[14],n}else return new C.a(a[12],a[13],a[14])},clone:function(){var n=new this.constructor,a=this._children;n.setName(this.name),n.position.copy(this.position),n.rotation.copy(this.rotation),n.scale.copy(this.scale);for(var c=0;c<a.length;c++)n.add(a[c].clone());return n},rotateAround:function(){var n=new C.a,a=new m.a;return function(c,u,s){n.copy(this.position).subtract(c);var v=this.localTransform;v.identity(),v.translate(c),v.rotate(s,u),a.fromRotationTranslation(this.rotation,n),v.multiply(a),v.scale(this.scale),this.decomposeLocalTransform(),this._needsUpdateWorldTransform=!0}}(),lookAt:function(){var n=new m.a;return function(a,c){n.lookAt(this.position,a,c||this.localTransform.y).invert(),this.setLocalTransform(n),this.target=a}}()});P.a=r},function(k,P,_){"use strict";var B=_(28),C=_(19),p=_(51),m=_(15),E=_(21),d={};function l(r){var n=[],a=Object.keys(r);a.sort();for(var c=0;c<a.length;c++){var u=r[c];n.push(u+" "+r[u])}var s=n.join(`
|
|
|
`);if(d[s])return d[s];var v=E.a.genGUID();return d[s]=v,v}var o=B.a.extend(function(){return{material:null,autoUpdate:!0,opaqueList:[],transparentList:[],lights:[],viewBoundingBoxLastFrame:new m.a,shadowUniforms:{},_cameraList:[],_lightUniforms:{},_previousLightNumber:{},_lightNumber:{},_lightProgramKeys:{},_opaqueObjectCount:0,_transparentObjectCount:0,_nodeRepository:{}}},function(){this._scene=this},{addToScene:function(r){r instanceof p.a&&(this._cameraList.length>0&&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 p.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;e<s._children.length;e++)c(s._children[e],v._children[e])};c(r,n);for(var u in a)a[u].newMat=a[u].oldMat.clone();return n.traverse(function(s){s.material&&(s.material=a[s.material.__uid__].newMat)}),n},update:function(r,n){if(this.autoUpdate||r){B.a.prototype.update.call(this,r);var a=this.lights,c=this.material&&this.material.transparent;if(this._opaqueObjectCount=0,this._transparentObjectCount=0,a.length=0,this._updateRenderList(this,c),this.opaqueList.length=this._opaqueObjectCount,this.transparentList.length=this._transparentObjectCount,!n){this._previousLightNumber=this._lightNumber;for(var u={},s=0;s<a.length;s++){var v=a[s],e=v.group;u[e]||(u[e]={}),u[e][v.type]=u[e][v.type]||0,u[e][v.type]++}this._lightNumber=u;for(var t in u)this._lightProgramKeys[t]=l(u[t]);this._updateLightUniforms()}}},getMainCamera:function(){return this._cameraList[0]},_updateRenderList:function(r,n){if(!r.invisible)for(var a=0;a<r._children.length;a++){var c=r._children[a];c instanceof C.a?this.lights.push(c):c.isRenderable()&&(c.material.transparent||n?this.transparentList[this._transparentObjectCount++]=c:this.opaqueList[this._opaqueObjectCount++]=c),c._children.length>0&&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;u<r.length;u++){var s=r[u],a=s.group;for(var c in s.uniformTemplates){var v=s.uniformTemplates[c],e=v.value(s);if(e!=null){n[a]||(n[a]={}),n[a][c]||(n[a][c]={type:"",value:[]});var t=n[a][c];switch(t.type=v.type+"v",v.type){case"1i":case"1f":case"t":t.value.push(e);break;case"2f":case"3f":case"4f":for(var i=0;i<e.length;i++)t.value.push(e[i]);break;default:console.error("Unkown light uniform type "+v.type)}}}}},getLightGroups:function(){var r=[];for(var n in this._lightNumber)r.push(n);return r},getNumberChangedLightGroups:function(){var r=[];for(var n in this._lightNumber)this.isLightNumberChanged(n)&&r.push(n);return r},isLightNumberChanged:function(r){var n=this._previousLightNumber,a=this._lightNumber;for(var c in a[r])if(!n[r]||a[r][c]!==n[r][c])return!0;for(var c in n[r])if(!a[r]||a[r][c]!==n[r][c])return!0;return!1},getLightsNumbers:function(r){return this._lightNumber[r]},getProgramKey:function(r){return this._lightProgramKeys[r]},setLightUniforms:function(){function r(n,a,c){for(var u in n){var s=n[u];if(s.type==="tv"){if(!a.hasUniform(u))continue;for(var v=[],e=0;e<s.value.length;e++){var t=s.value[e],i=a.takeCurrentTextureSlot(c,t);v.push(i)}a.setUniform(c.gl,"1iv",u,v)}else a.setUniform(c.gl,s.type,u,s.value)}}return function(n,a,c){r(this._lightUniforms[a],n,c),r(this.shadowUniforms,n,c)}}(),dispose:function(){this.material=null,this.opaqueList=[],this.transparentList=[],this.lights=[],this._lightUniforms={},this._lightNumber={},this._nodeRepository={}}});function g(r,n){if(n.castShadow&&!r.castShadow)return!0}P.a=o},function(k,P,_){"use strict";var B=_(51),C=B.a.extend({left:-1,right:1,near:-1,far:1,top:1,bottom:-1},{updateProjectionMatrix:function(){this.projectionMatrix.ortho(this.left,this.right,this.bottom,this.top,this.near,this.far)},decomposeProjectionMatrix:function(){var p=this.projectionMatrix.array;this.left=(-1-p[12])/p[0],this.right=(1-p[12])/p[0],this.top=(1-p[13])/p[5],this.bottom=(-1-p[13])/p[5],this.near=-(-1-p[14])/p[10],this.far=-(1-p[14])/p[10]},clone:function(){var p=B.a.prototype.clone.call(this);return p.left=this.left,p.right=this.right,p.near=this.near,p.far=this.far,p.top=this.top,p.bottom=this.bottom,p}});P.a=C},function(k,P,_){"use strict";P.a={defaultOption:{postEffect:{enable:!1,bloom:{enable:!0,intensity:.1},depthOfField:{enable:!1,focalRange:20,focalDistance:50,blurRadius:10,fstop:2.8,quality:"medium"},screenSpaceAmbientOcclusion:{enable:!1,radius:2,quality:"medium",intensity:1},screenSpaceReflection:{enable:!1,quality:"medium",maxRoughness:.8},colorCorrection:{enable:!0,exposure:0,brightness:0,contrast:1,saturation:1,lookupTexture:""},edge:{enable:!1},FXAA:{enable:!1}},temporalSuperSampling:{enable:"auto"}}}},function(k,P,_){"use strict";P.a={defaultOption:{light:{main:{shadow:!1,shadowQuality:"high",color:"#fff",intensity:1,alpha:0,beta:0},ambient:{color:"#fff",intensity:.2},ambientCubemap:{texture:null,exposure:1,diffuseIntensity:.5,specularIntensity:.5}}}}},function(k,P,_){"use strict";P.a={convertToDynamicArray:function(B){B&&this.resetOffset();var C=this.attributes;for(var p in C)B||!C[p].value?C[p].value=[]:C[p].value=Array.prototype.slice.call(C[p].value);B||!this.indices?this.indices=[]:this.indices=Array.prototype.slice.call(this.indices)},convertToTypedArray:function(){var B=this.attributes;for(var C in B)B[C].value&&B[C].value.length>0?B[C].value=new Float32Array(B[C].value):B[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 B=_(2),C=_(57),p=_(56),m=_(0),E=_.n(m);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 B.a.DirectionalLight({shadowBias:.005}),this.ambientLight=new B.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=B.a.parseColor(n.get("color")).slice(0,3),g.color=B.a.parseColor(a.get("color")).slice(0,3);var c=n.get("alpha")||0,u=n.get("beta")||0;o.position.setArray(B.a.directionFromAlphaBeta(c,u)),o.lookAt(B.a.Vector3.ZERO),o.castShadow=n.get("shadow"),o.shadowResolution=B.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]=B.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 p.a||(n._skybox&&n._skybox.dispose(l),n._skybox=new p.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 B.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=B.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 B=_(0),C=_.n(B);function p(m,E){var d=[];return C.a.util.each(m.dimensions,function(l){var o=m.getDimensionInfo(l),g=o.otherDims,r=g[E];r!=null&&r!==!1&&(d[r]=o.name)}),d}P.a=function(m,E,d){function l(s){var v=!0,e=[],t=p(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?"<br/>":"")+e.join(v?"<br/>":", ")}var o=m.getData(),g=m.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=m.name;return u==="\0-"&&(u=""),u=u?C.a.format.encodeHTML(u)+(d?": ":"<br/>"):"",d?c+u+r:u+c+(n?C.a.format.encodeHTML(n)+": "+r:r)}},function(k,P,_){"use strict";var B=_(51),C=B.a.extend({fov:50,aspect:1,near:.1,far:2e3},{updateProjectionMatrix:function(){var p=this.fov/180*Math.PI;this.projectionMatrix.perspective(p,this.aspect,this.near,this.far)},decomposeProjectionMatrix:function(){var p=this.projectionMatrix.array,m=Math.atan(1/p[5])*2;this.fov=m/Math.PI*180,this.aspect=p[5]/p[0],this.near=p[14]/(p[10]-1),this.far=p[14]/(p[10]+1)},clone:function(){var p=B.a.prototype.clone.call(this);return p.fov=this.fov,p.aspect=this.aspect,p.near=this.near,p.far=this.far,p}});P.a=C},function(k,P,_){"use strict";var B=_(13),C=_(15),p=B.a.extend({dynamic:!1,widthSegments:1,heightSegments:1},function(){this.build()},{build:function(){for(var m=this.heightSegments,E=this.widthSegments,d=this.attributes,l=[],o=[],g=[],r=[],n=0;n<=m;n++)for(var a=n/m,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]),c<E&&n<m){var s=c+n*(E+1);r.push([s,s+1,s+E+1]),r.push([s+E+1,s+1,s+E+2])}}d.position.fromArray(l),d.texcoord0.fromArray(o),d.normal.fromArray(g),this.initIndicesFromArray(r),this.boundingBox=new C.a,this.boundingBox.min.set(-1,-1,0),this.boundingBox.max.set(1,1,0)}});P.a=p},function(k,P,_){"use strict";P.a={defaultOption:{viewControl:{projection:"perspective",autoRotate:!1,autoRotateDirection:"cw",autoRotateSpeed:10,autoRotateAfterStill:3,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",distance:150,minDistance:40,maxDistance:400,orthographicSize:150,maxOrthographicSize:400,minOrthographicSize:20,center:[0,0,0],alpha:0,beta:0,minAlpha:-90,maxAlpha:90}},setView:function(B){B=B||{},this.option.viewControl=this.option.viewControl||{},B.alpha!=null&&(this.option.viewControl.alpha=B.alpha),B.beta!=null&&(this.option.viewControl.beta=B.beta),B.distance!=null&&(this.option.viewControl.distance=B.distance),B.center!=null&&(this.option.viewControl.center=B.center)}}},function(k,P,_){"use strict";var B=_(8),C=_(23),p=_(4),m=_(50),E=_(3),d=E.a.firstNotNull,l={left:0,middle:1,right:2};function o(r){return r instanceof Array||(r=[r,r]),r}var g=B.a.extend(function(){return{zr:null,viewGL:null,_center:new p.a,minDistance:.5,maxDistance:1.5,maxOrthographicSize:300,minOrthographicSize:30,minAlpha:-90,maxAlpha:90,minBeta:-1/0,maxBeta:1/0,autoRotateAfterStill:0,autoRotateDirection:"cw",autoRotateSpeed:60,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",_mode:"rotate",_camera:null,_needsUpdate:!1,_rotating:!1,_phi:0,_theta:0,_mouseX:0,_mouseY:0,_rotateVelocity:new C.a,_panVelocity:new C.a,_distance:500,_zoomSpeed:0,_stillTimeout:0,_animators:[]}},function(){["_mouseDownHandler","_mouseWheelHandler","_mouseMoveHandler","_mouseUpHandler","_pinchHandler","_contextMenuHandler","_update"].forEach(function(r){this[r]=this[r].bind(this)},this)},{init:function(){var r=this.zr;r&&(r.on("mousedown",this._mouseDownHandler),r.on("globalout",this._mouseUpHandler),r.on("mousewheel",this._mouseWheelHandler),r.on("pinch",this._pinchHandler),r.animation.on("frame",this._update),r.dom.addEventListener("contextmenu",this._contextMenuHandler))},dispose:function(){var r=this.zr;r&&(r.off("mousedown",this._mouseDownHandler),r.off("mousemove",this._mouseMoveHandler),r.off("mouseup",this._mouseUpHandler),r.off("mousewheel",this._mouseWheelHandler),r.off("pinch",this._pinchHandler),r.off("globalout",this._mouseUpHandler),r.dom.removeEventListener("contextmenu",this._contextMenuHandler),r.animation.off("frame",this._update)),this.stopAllAnimation()},getDistance:function(){return this._distance},setDistance:function(r){this._distance=r,this._needsUpdate=!0},getOrthographicSize:function(){return this._orthoSize},setOrthographicSize:function(r){this._orthoSize=r,this._needsUpdate=!0},getAlpha:function(){return this._theta/Math.PI*180},getBeta:function(){return-this._phi/Math.PI*180},getCenter:function(){return this._center.toArray()},setAlpha:function(r){r=Math.max(Math.min(this.maxAlpha,r),this.minAlpha),this._theta=r/180*Math.PI,this._needsUpdate=!0},setBeta:function(r){r=Math.max(Math.min(this.maxBeta,r),this.minBeta),this._phi=-r/180*Math.PI,this._needsUpdate=!0},setCenter:function(r){this._center.setArray(r)},setViewGL:function(r){this.viewGL=r},getCamera:function(){return this.viewGL.camera},setFromViewControlModel:function(r,n){n=n||{};var a=n.baseDistance||0,c=n.baseOrthoSize||1,u=r.get("projection");u!=="perspective"&&u!=="orthographic"&&u!=="isometric"&&(console.error("Unkown projection type %s, use perspective projection instead.",u),u="perspective"),this._projection=u,this.viewGL.setProjection(u);var s=r.get("distance")+a,v=r.get("orthographicSize")+c;[["damping",.8],["autoRotate",!1],["autoRotateAfterStill",3],["autoRotateDirection","cw"],["autoRotateSpeed",10],["minDistance",30],["maxDistance",400],["minOrthographicSize",30],["maxOrthographicSize",300],["minAlpha",-90],["maxAlpha",90],["minBeta",-1/0],["maxBeta",1/0],["rotateSensitivity",1],["zoomSensitivity",1],["panSensitivity",1],["panMouseButton","left"],["rotateMouseButton","middle"]].forEach(function(b){this[b[0]]=d(r.get(b[0]),b[1])},this),this.minDistance+=a,this.maxDistance+=a,this.minOrthographicSize+=c,this.maxOrthographicSize+=c;var e=r.ecModel,t={};["animation","animationDurationUpdate","animationEasingUpdate"].forEach(function(b){t[b]=d(r.get(b),e&&e.get(b))});var i=d(n.alpha,r.get("alpha"))||0,f=d(n.beta,r.get("beta"))||0,y=d(n.center,r.get("center"))||[0,0,0];t.animation&&t.animationDurationUpdate>0&&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;r<this._animators.length;r++)this._animators[r].stop();this._animators.length=0},_isAnimating:function(){return this._animators.length>0},_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 p.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 B=_(12),C=_(75),p=_(78),m=p.parsePercent,E=_(149),d=B.each,l=["left","right","top","bottom","width","height"],o=[["width","left","right"],["height","top","bottom"]];function g(f,y,b,x,A){var M=0,L=0;x==null&&(x=1/0),A==null&&(A=1/0);var O=0;y.eachChild(function(D,N){var I=D.position,U=D.getBoundingRect(),F=y.childAt(N+1),K=F&&F.getBoundingRect(),j,G;if(f==="horizontal"){var Y=U.width+(K?-K.x+U.x:0);j=M+Y,j>x||D.newline?(M=0,j=Y,L+=O+b,O=U.height):O=Math.max(O,U.height)}else{var le=U.height+(K?-K.y+U.y:0);G=L+le,G>A||D.newline?(M+=O+b,L=0,G=le,O=U.width):O=Math.max(O,U.width)}D.newline||(I[0]=M,I[1]=L,f==="horizontal"?M=j+b:L=G+b)})}var r=g,n=B.curry(g,"vertical"),a=B.curry(g,"horizontal");function c(f,y,b){var x=y.width,A=y.height,M=m(f.x,x),L=m(f.y,A),O=m(f.x2,x),D=m(f.y2,A);return(isNaN(M)||isNaN(parseFloat(f.x)))&&(M=0),(isNaN(O)||isNaN(parseFloat(f.x2)))&&(O=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(O-M-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,M=m(f.left,x),L=m(f.top,A),O=m(f.right,x),D=m(f.bottom,A),N=m(f.width,x),I=m(f.height,A),U=b[2]+b[0],F=b[1]+b[3],K=f.aspect;switch(isNaN(N)&&(N=x-O-F-M),isNaN(I)&&(I=A-D-U-L),K!=null&&(isNaN(N)&&isNaN(I)&&(K>x/A?N=x*.8:I=A*.8),isNaN(N)&&(N=K*I),isNaN(I)&&(I=N/K)),isNaN(M)&&(M=x-O-N-F),isNaN(L)&&(L=A-D-I-U),f.left||f.right){case"center":M=x/2-N/2-b[3];break;case"right":M=x-N-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}M=M||0,L=L||0,isNaN(N)&&(N=x-F-M-(O||0)),isNaN(I)&&(I=A-U-L-(D||0));var j=new C(M+b[3],L+b[0],N,I);return j.margin=b,j}function s(f,y,b,x,A){var M=!A||!A.hv||A.hv[0],L=!A||!A.hv||A.hv[1],O=A&&A.boundingMode||"all";if(!(!M&&!L)){var D;if(O==="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 N=f.getLocalTransform();D=D.clone(),D.applyTransform(N)}y=u(B.defaults({width:D.width,height:D.height},y),b,x);var I=f.position,U=M?y.x-D.x:0,F=L?y.y-D.y:0;f.attr("position",O==="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){!B.isObject(b)&&(b={});var x=b.ignoreSize;!B.isArray(x)&&(x=[x,x]);var A=L(o[0],0),M=L(o[1],1);N(o[0],f,A),N(o[1],f,M);function L(I,U){var F={},K=0,j={},G=0,Y=2;if(d(I,function(ve){j[ve]=f[ve]}),d(I,function(ve){O(y,ve)&&(F[ve]=j[ve]=y[ve]),D(F,ve)&&K++,D(j,ve)&&G++}),x[U])return D(y,I[1])?j[I[2]]=null:D(y,I[2])&&(j[I[1]]=null),j;if(G===Y||!K)return j;if(K>=Y)return F;for(var le=0;le<I.length;le++){var Q=I[le];if(!O(F,Q)&&O(f,Q)){F[Q]=f[Q];break}}return F}function O(I,U){return I.hasOwnProperty(U)}function D(I,U){return I[U]!=null&&I[U]!=="auto"}function N(I,U,F){d(I,function(K){U[K]=F[K]})}}function t(f){return i({},f)}function i(f,y){return y&&f&&d(l,function(b){y.hasOwnProperty(b)&&(f[b]=y[b])}),f}P.LOCATION_PARAMS=l,P.HV_NAMES=o,P.box=r,P.vbox=n,P.hbox=a,P.getAvailableSize=c,P.getLayoutRect=u,P.positionElement=s,P.sizeCalculable=v,P.mergeLayoutParam=e,P.getLayoutParams=t,P.copyLayoutParams=i},function(k,P,_){"use strict";var B=_(8),C=B.a.extend(function(){return{name:"",inputLinks:{},outputLinks:{},_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}},{updateParameter:function(p,m){var E=this.outputs[p],d=E.parameters,l=E._parametersCopy;if(l||(l=E._parametersCopy={}),d)for(var o in d)o!=="width"&&o!=="height"&&(l[o]=d[o]);var g,r;return d.width instanceof Function?g=d.width.call(this,m):g=d.width,d.height instanceof Function?r=d.height.call(this,m):r=d.height,(l.width!==g||l.height!==r)&&this._outputTextures[p]&&this._outputTextures[p].dispose(m.gl),l.width=g,l.height=r,l},setParameter:function(p,m){},getParameter:function(p){},setParameters:function(p){for(var m in p)this.setParameter(m,p[m])},render:function(){},getOutput:function(p,m){if(m==null)return m=p,this._outputTextures[m];var E=this.outputs[m];if(E)return this._rendered?E.outputLastFrame?this._prevOutputTextures[m]:this._outputTextures[m]:this._rendering?(this._prevOutputTextures[m]||(this._prevOutputTextures[m]=this._compositor.allocateTexture(E.parameters||{})),this._prevOutputTextures[m]):(this.render(p),this._outputTextures[m])},removeReference:function(p){if(this._outputReferences[p]--,this._outputReferences[p]===0){var m=this.outputs[p];m.keepLastFrame?(this._prevOutputTextures[p]&&this._compositor.releaseTexture(this._prevOutputTextures[p]),this._prevOutputTextures[p]=this._outputTextures[p]):this._compositor.releaseTexture(this._outputTextures[p])}},link:function(p,m,E){this.inputLinks[p]={node:m,pin:E},m.outputLinks[E]||(m.outputLinks[E]=[]),m.outputLinks[E].push({node:this,pin:p}),this.pass.material.enableTexture(p)},clear:function(){this.inputLinks={},this.outputLinks={}},updateReference:function(p){if(!this._rendering){this._rendering=!0;for(var m in this.inputLinks){var E=this.inputLinks[m];E.node.updateReference(E.pin)}this._rendering=!1}p&&this._outputReferences[p]++},beforeFrame:function(){this._rendered=!1;for(var p in this.outputLinks)this._outputReferences[p]=0},afterFrame:function(){for(var p in this.outputLinks)if(this._outputReferences[p]>0){var m=this.outputs[p];m.keepLastFrame?(this._prevOutputTextures[p]&&this._compositor.releaseTexture(this._prevOutputTextures[p]),this._prevOutputTextures[p]=this._outputTextures[p]):this._compositor.releaseTexture(this._outputTextures[p])}}});P.a=C},function(k,P,_){"use strict";function B(C,p){for(var m=0,E=1/p,d=C;d>0;)m=m+E*(d%p),d=Math.floor(d/p),E=E/p;return m}P.a=B},function(k,P,_){"use strict";var B=_(0),C=_.n(B);P.a=function(p,m,E){E=E||p.getSource();var d=m||C.a.getCoordinateSystemDimensions(p.get("coordinateSystem"))||["x","y","z"],l=C.a.helper.createDimensions(E,{dimensionsDefine:E.dimensionsDefine||p.get("dimensions"),encodeDefine:E.encodeDefine||p.get("encode"),coordDimensions:d.map(function(g){var r=p.getReferringComponents(g+"Axis3D")[0];return{type:r&&r.get("type")==="category"?"ordinal":"float",name:g,stackable:g==="z"}})});p.get("coordinateSystem")==="cartesian3D"&&l.forEach(function(g){if(d.indexOf(g.coordDim)>=0){var r=p.getReferringComponents(g.coordDim+"Axis3D")[0];r&&r.get("type")==="category"&&(g.ordinalMeta=r.getOrdinalMeta())}});var o=new C.a.List(l,p);return o.initData(E),o}},function(k,P){function _(B,C,p){return{seriesType:B,performRawSeries:!0,reset:function(m,E,d){var l=m.getData(),o=m.get("symbol")||C,g=m.get("symbolSize");if(l.setVisual({legendSymbol:p||o,symbol:o,symbolSize:g}),E.isSeriesFiltered(m))return;var r=typeof g=="function";function n(a,c){if(typeof g=="function"){var u=m.getRawValue(c),s=m.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 B=_(8),C=_(92),p=_(11),m=_(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=B.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(M){throw"Error creating WebGL Context "+M}this._programMgr=new g.a(this)},{resize:function(x,A){var M=this.canvas,L=this.devicePixelRatio;x!=null?(M.style.width=x+"px",M.style.height=A+"px",M.width=x*L,M.height=A*L,this._width=x,this._height=A):(this._width=M.width/L,this._height=M.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,M,L,O){if(typeof x=="object"){var D=x;x=D.x,A=D.y,M=D.width,L=D.height,O=D.devicePixelRatio}O=O||this.devicePixelRatio,this.gl.viewport(x*O,A*O,M*O,L*O),this.viewport={x,y:A,width:M,height:L,devicePixelRatio:O}},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,M,L){var O=this.gl,D=this.clearColor;if(this.clearBit){O.colorMask(!0,!0,!0,!0),O.depthMask(!0);var N=this.viewport,I=!1,U=N.devicePixelRatio;(N.width!==this._width||N.height!==this._height||U&&U!==this.devicePixelRatio||N.x||N.y)&&(I=!0,O.enable(O.SCISSOR_TEST),O.scissor(N.x*U,N.y*U,N.width*U,N.height*U)),O.clearColor(D[0],D[1],D[2],D[3]),O.clear(this.clearBit),I&&O.disable(O.SCISSOR_TEST)}if(M||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),O.depthFunc(O.LEQUAL)):O.depthFunc(O.LESS);for(var G=e(),Y=v.create(),le=0;le<K.length;le++){var Q=K[le];s.multiplyAffine(G,A.viewMatrix.array,Q.worldTransform.array),v.transformMat4(Y,Q.position.array,G),Q.__depth=Y[2]}var ve=this.renderPass(F,A,{getMaterial:function(Ue){return j||Ue.material},sortCompare:this.opaqueSortCompare}),xe=this.renderPass(K,A,{getMaterial:function(Ue){return j||Ue.material},sortCompare:this.transparentSortCompare}),be={};for(var De in ve)be[De]=ve[De]+xe[De];return x.trigger("afterrender",this,x,A,be),this._sceneRendering=null,be},getProgram:function(x,A,M){return A=A||x.material,this._programMgr.getProgram(x,A,M)},validateProgram:function(x){if(x.__error){var A=x.__error;if(t[x.__uid__])return;if(t[x.__uid__]=!0,this.throwError)throw new Error(A);this.trigger("error",A)}},updatePrograms:function(x,A,M){var L=M&&M.getMaterial||i;A=A||null;for(var O=0;O<x.length;O++){var D=x[O],N=L.call(this,D);if(O>0){var I=x[O-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,N,A);this.validateProgram(K),D.__program=K}},cullRenderList:function(x,A,M){for(var L=[],O=0;O<x.length;O++){var D=x[O],N=D.isSkinnedMesh()?b.IDENTITY:D.worldTransform.array,I=D.geometry;s.multiplyAffine(b.WORLDVIEW,M.viewMatrix.array,N),!(I.boundingBox&&this.isFrustumCulled(D,A,M,b.WORLDVIEW,M.projectionMatrix.array))&&L.push(D)}return L},renderPass:function(x,A,M){this.trigger("beforerenderpass",this,x,A,M);var L={triangleCount:0,vertexCount:0,drawCallCount:0,meshCount:x.length,renderedMeshCount:0};M=M||{},M.getMaterial=M.getMaterial||i,M.beforeRender=M.beforeRender||f,M.afterRender=M.afterRender||f,this.updatePrograms(x,this._sceneRendering,M),M.sortCompare&&x.sort(M.sortCompare);var O=this.viewport,D=O.devicePixelRatio,N=[O.x*D,O.y*D,O.width*D,O.height*D],I=this.devicePixelRatio,U=this.__currentFrameBuffer?[this.__currentFrameBuffer.getTextureWidth(),this.__currentFrameBuffer.getTextureHeight()]:[this._width*I,this._height*I],F=[N[2],N[3]],K=Date.now();s.copy(b.VIEW,A.viewMatrix.array),s.copy(b.PROJECTION,A.projectionMatrix.array),s.multiply(b.VIEWPROJECTION,A.projectionMatrix.array,b.VIEW),s.copy(b.VIEWINVERSE,A.worldTransform.array),s.invert(b.PROJECTIONINVERSE,b.PROJECTION),s.invert(b.VIEWPROJECTIONINVERSE,b.VIEWPROJECTION);for(var j=this.gl,G=this._sceneRendering,Y,le,Q,ve,xe,be,De,Ue,we=0;we<x.length;we++){var Ye=x[we];if(!(M.ifRender&&!M.ifRender(Ye))){var Be=Ye.isSkinnedMesh()?b.IDENTITY:Ye.worldTransform.array,ge=M.getMaterial.call(this,Ye),He=Ye.__program,Fe=ge.shader;s.copy(b.WORLD,Be),s.multiply(b.WORLDVIEWPROJECTION,b.VIEWPROJECTION,Be),(Fe.matrixSemantics.WORLDINVERSE||Fe.matrixSemantics.WORLDINVERSETRANSPOSE)&&s.invert(b.WORLDINVERSE,Be),(Fe.matrixSemantics.WORLDVIEWINVERSE||Fe.matrixSemantics.WORLDVIEWINVERSETRANSPOSE)&&s.invert(b.WORLDVIEWINVERSE,b.WORLDVIEW),(Fe.matrixSemantics.WORLDVIEWPROJECTIONINVERSE||Fe.matrixSemantics.WORLDVIEWPROJECTIONINVERSETRANSPOSE)&&s.invert(b.WORLDVIEWPROJECTIONINVERSE,b.WORLDVIEWPROJECTION),Ye.beforeRender(this),M.beforeRender.call(this,Ye,ge,Y);var Pe=He!==le;Pe?(He.bind(this),He.setUniformOfSemantic(j,"VIEWPORT",N),He.setUniformOfSemantic(j,"WINDOW_SIZE",U),He.setUniformOfSemantic(j,"NEAR",A.near),He.setUniformOfSemantic(j,"FAR",A.far),He.setUniformOfSemantic(j,"DEVICEPIXELRATIO",D),He.setUniformOfSemantic(j,"TIME",K),He.setUniformOfSemantic(j,"VIEWPORT_SIZE",F),G&&G.setLightUniforms(He,Ye.lightGroup,this)):He=le,(Y!==ge||Pe)&&(ge.depthTest!==Q&&(ge.depthTest?j.enable(j.DEPTH_TEST):j.disable(j.DEPTH_TEST),Q=ge.depthTest),ge.depthMask!==ve&&(j.depthMask(ge.depthMask),ve=ge.depthMask),ge.transparent!==Ue&&(ge.transparent?j.enable(j.BLEND):j.disable(j.BLEND),Ue=ge.transparent),ge.transparent&&(ge.blend?ge.blend(j):(j.blendEquationSeparate(j.FUNC_ADD,j.FUNC_ADD),j.blendFuncSeparate(j.SRC_ALPHA,j.ONE_MINUS_SRC_ALPHA,j.ONE,j.ONE_MINUS_SRC_ALPHA))),ge.bind(this,He,Y,le),Y=ge);for(var We=Fe.matrixSemanticKeys,Ne=0;Ne<We.length;Ne++){var V=We[Ne],q=Fe.matrixSemantics[V],ae=b[V];if(q.isTranspose){var te=b[q.semanticNoTranspose];s.transpose(ae,te)}He.setUniform(j,q.type,q.symbol,ae)}Ye.cullFace!==be&&(be=Ye.cullFace,j.cullFace(be)),Ye.frontFace!==De&&(De=Ye.frontFace,j.frontFace(De)),Ye.culling!==xe&&(xe=Ye.culling,xe?j.enable(j.CULL_FACE):j.disable(j.CULL_FACE));var oe=Ye.render(this,ge,He);oe&&(L.triangleCount+=oe.triangleCount,L.vertexCount+=oe.vertexCount,L.drawCallCount+=oe.drawCallCount,L.renderedMeshCount++),M.afterRender.call(this,Ye,oe),Ye.afterRender(this,oe),le=He}}for(var we=0;we<x.length;we++)x[we].__program=null;return this.trigger("afterrenderpass",this,x,A,M),L},renderPreZ:function(x,A,M){var L=this.gl,O=this._prezMaterial||new l.a({shader:new r.a(r.a.source("clay.prez.vertex"),r.a.source("clay.prez.fragment"))});this._prezMaterial=O,L.colorMask(!1,!1,!1,!1),L.depthMask(!0),this.renderPass(x,M,{ifRender:function(D){return!D.ignorePreZ},getMaterial:function(){return O},sort:this.opaqueSortCompare}),L.colorMask(!0,!0,!0,!0),L.depthMask(!0)},isFrustumCulled:function(){var x=new E.a,A=new d.a;return function(M,L,O,D,N){var I=M.boundingBox||M.geometry.boundingBox;if(A.array=D,x.copy(I),x.applyTransform(A),L&&M.isRenderable()&&M.castShadow&&L.viewBoundingBoxLastFrame.union(x),M.frustumCulling&&!M.isSkinnedMesh()){if(!x.intersectBoundingBox(O.frustum.boundingBox))return!0;A.array=N,x.max.array[2]>0&&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,M){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,M){M||(M=new o.a),A=this._height-A;var L=this.viewport,O=M.array;return O[0]=(x-L.x)/L.width,O[0]=O[0]*2-1,O[1]=(A-L.y)/L.height,O[1]=O[1]*2-1,M}});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=p.a.COLOR_BUFFER_BIT,y.DEPTH_BUFFER_BIT=p.a.DEPTH_BUFFER_BIT,y.STENCIL_BUFFER_BIT=p.a.STENCIL_BUFFER_BIT,P.a=y},function(k,P,_){"use strict";function B(p,m){this.action=p,this.context=m}var C={trigger:function(p){if(this.hasOwnProperty("__handlers__")&&this.__handlers__.hasOwnProperty(p)){var m=this.__handlers__[p],E=m.length,d=-1,l=arguments;switch(l.length){case 1:for(;++d<E;)m[d].action.call(m[d].context);return;case 2:for(;++d<E;)m[d].action.call(m[d].context,l[1]);return;case 3:for(;++d<E;)m[d].action.call(m[d].context,l[1],l[2]);return;case 4:for(;++d<E;)m[d].action.call(m[d].context,l[1],l[2],l[3]);return;case 5:for(;++d<E;)m[d].action.call(m[d].context,l[1],l[2],l[3],l[4]);return;default:for(;++d<E;)m[d].action.apply(m[d].context,Array.prototype.slice.call(l,1));return}}},on:function(p,m,E){if(!(!p||!m)){var d=this.__handlers__||(this.__handlers__={});if(!d[p])d[p]=[];else if(this.has(p,m))return;var l=new B(m,E||this);return d[p].push(l),this}},once:function(p,m,E){if(!p||!m)return;var d=this;function l(){d.off(p,l),m.apply(this,arguments)}return this.on(p,l,E)},before:function(p,m,E){if(!(!p||!m))return p="before"+p,this.on(p,m,E)},after:function(p,m,E){if(!(!p||!m))return p="after"+p,this.on(p,m,E)},success:function(p,m){return this.once("success",p,m)},error:function(p,m){return this.once("error",p,m)},off:function(p,m){var E=this.__handlers__||(this.__handlers__={});if(!m){E[p]=[];return}if(E[p]){for(var d=E[p],l=[],o=0;o<d.length;o++)m&&d[o].action!==m&&l.push(d[o]);E[p]=l}return this},has:function(p,m){var E=this.__handlers__;if(!E||!E[p])return!1;for(var d=E[p],l=0;l<d.length;l++)if(d[l].action===m)return!0}};P.a=C},function(k,P,_){"use strict";var B="__dt__",C=function(){this._contextId=0,this._caches=[],this._context={}};C.prototype={use:function(p,m){var E=this._caches;E[p]||(E[p]={},m&&(E[p]=m())),this._contextId=p,this._context=E[p]},put:function(p,m){this._context[p]=m},get:function(p){return this._context[p]},dirty:function(p){p=p||"";var m=B+p;this.put(m,!0)},dirtyAll:function(p){p=p||"";for(var m=B+p,E=this._caches,d=0;d<E.length;d++)E[d]&&(E[d][m]=!0)},fresh:function(p){p=p||"";var m=B+p;this.put(m,!1)},freshAll:function(p){p=p||"";for(var m=B+p,E=this._caches,d=0;d<E.length;d++)E[d]&&(E[d][m]=!1)},isDirty:function(p){p=p||"";var m=B+p,E=this._context;return!E.hasOwnProperty(m)||E[m]===!0},deleteContext:function(p){delete this._caches[p],this._context={}},delete:function(p){delete this._context[p]},clearAll:function(){this._caches={}},getContext:function(){return this._context},eachContext:function(p,m){var E=Object.keys(this._caches);E.forEach(function(d){p&&p.call(m,d)})},miss:function(p){return!this._context.hasOwnProperty(p)}},C.prototype.constructor=C,P.a=C},function(k,P,_){"use strict";var B=_(4),C=_(1),p=_.n(C),m=p.a.vec3,E=1e-5,d=function(l,o){this.origin=l||new B.a,this.direction=o||new B.a};d.prototype={constructor:d,intersectPlane:function(l,o){var g=l.normal.array,r=l.distance,n=this.origin.array,a=this.direction.array,c=m.dot(g,a);if(c===0)return null;o||(o=new B.a);var u=(m.dot(g,n)-r)/c;return m.scaleAndAdd(o.array,n,a,-u),o._dirty=!0,o},mirrorAgainstPlane:function(l){var o=m.dot(l.normal.array,this.direction.array);m.scaleAndAdd(this.direction.array,this.direction.array,l.normal.array,-o*2),this.direction._dirty=!0},distanceToPoint:function(){var l=m.create();return function(o){m.sub(l,o,this.origin.array);var g=m.dot(l,this.direction.array);if(g<0)return m.distance(this.origin.array,o);var r=m.lenSquared(l);return Math.sqrt(r-g*g)}}(),intersectSphere:function(){var l=m.create();return function(o,g,r){var n=this.origin.array,a=this.direction.array;o=o.array,m.sub(l,o,n);var c=m.dot(l,a),u=m.squaredLength(l),s=u-c*c,v=g*g;if(!(s>v)){var e=Math.sqrt(v-s),t=c-e,i=c+e;return r||(r=new B.a),t<0?i<0?null:(m.scaleAndAdd(r.array,n,a,i),r):(m.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<e||e!==e)&&(e=i),s>=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<e||e!==e)&&(e=y),e<0))return null;var b=v>=0?v:e;return o||(o=new B.a),m.scaleAndAdd(o.array,r,g,b),o},intersectTriangle:function(){var l=m.create(),o=m.create(),g=m.create(),r=m.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,m.sub(l,a,n),m.sub(o,c,n),m.cross(r,o,e);var i=m.dot(l,r);if(u){if(i>-E)return null}else if(i>-E&&i<E)return null;m.sub(g,t,n);var f=m.dot(r,g)/i;if(f<0||f>1)return null;m.cross(r,l,g);var y=m.dot(e,r)/i;if(y<0||y>1||f+y>1)return null;m.cross(r,l,o);var b=-m.dot(g,r)/i;return b<0?null:(s||(s=new B.a),v&&B.a.set(v,1-f-y,f,y),m.scaleAndAdd(s.array,t,e,b),s)}}(),applyTransform:function(l){B.a.add(this.direction,this.direction,this.origin),B.a.transformMat4(this.origin,this.origin,l),B.a.transformMat4(this.direction,this.direction,l),B.a.sub(this.direction,this.direction,this.origin),B.a.normalize(this.direction,this.direction)},copy:function(l){B.a.copy(this.origin,l.origin),B.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 B=_(1),C=_.n(B),p=C.a.quat,m=function(l,o,g,r){l=l||0,o=o||0,g=g||0,r=r===void 0?1:r,this.array=p.fromValues(l,o,g,r),this._dirty=!0};m.prototype={constructor:m,add:function(l){return p.add(this.array,this.array,l.array),this._dirty=!0,this},calculateW:function(){return p.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 m(this.x,this.y,this.z,this.w)},conjugate:function(){return p.conjugate(this.array,this.array),this._dirty=!0,this},copy:function(l){return p.copy(this.array,l.array),this._dirty=!0,this},dot:function(l){return p.dot(this.array,l.array)},fromMat3:function(l){return p.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),p.fromMat3(this.array,o),this._dirty=!0,this}}(),identity:function(){return p.identity(this.array),this._dirty=!0,this},invert:function(){return p.invert(this.array,this.array),this._dirty=!0,this},len:function(){return p.len(this.array)},length:function(){return p.length(this.array)},lerp:function(l,o,g){return p.lerp(this.array,l.array,o.array,g),this._dirty=!0,this},mul:function(l){return p.mul(this.array,this.array,l.array),this._dirty=!0,this},mulLeft:function(l){return p.multiply(this.array,l.array,this.array),this._dirty=!0,this},multiply:function(l){return p.multiply(this.array,this.array,l.array),this._dirty=!0,this},multiplyLeft:function(l){return p.multiply(this.array,l.array,this.array),this._dirty=!0,this},normalize:function(){return p.normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(l){return p.rotateX(this.array,this.array,l),this._dirty=!0,this},rotateY:function(l){return p.rotateY(this.array,this.array,l),this._dirty=!0,this},rotateZ:function(l){return p.rotateZ(this.array,this.array,l),this._dirty=!0,this},rotationTo:function(l,o){return p.rotationTo(this.array,l.array,o.array),this._dirty=!0,this},setAxes:function(l,o,g){return p.setAxes(this.array,l.array,o.array,g.array),this._dirty=!0,this},setAxisAngle:function(l,o){return p.setAxisAngle(this.array,l.array,o),this._dirty=!0,this},slerp:function(l,o,g){return p.slerp(this.array,l.array,o.array,g),this._dirty=!0,this},sqrLen:function(){return p.sqrLen(this.array)},squaredLength:function(){return p.squaredLength(this.array)},fromEuler:function(l,o){return m.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=m.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}})}m.add=function(l,o,g){return p.add(l.array,o.array,g.array),l._dirty=!0,l},m.set=function(l,o,g,r,n){p.set(l.array,o,g,r,n),l._dirty=!0},m.copy=function(l,o){return p.copy(l.array,o.array),l._dirty=!0,l},m.calculateW=function(l,o){return p.calculateW(l.array,o.array),l._dirty=!0,l},m.conjugate=function(l,o){return p.conjugate(l.array,o.array),l._dirty=!0,l},m.identity=function(l){return p.identity(l.array),l._dirty=!0,l},m.invert=function(l,o){return p.invert(l.array,o.array),l._dirty=!0,l},m.dot=function(l,o){return p.dot(l.array,o.array)},m.len=function(l){return p.length(l.array)},m.lerp=function(l,o,g,r){return p.lerp(l.array,o.array,g.array,r),l._dirty=!0,l},m.slerp=function(l,o,g,r){return p.slerp(l.array,o.array,g.array,r),l._dirty=!0,l},m.mul=function(l,o,g){return p.multiply(l.array,o.array,g.array),l._dirty=!0,l},m.multiply=m.mul,m.rotateX=function(l,o,g){return p.rotateX(l.array,o.array,g),l._dirty=!0,l},m.rotateY=function(l,o,g){return p.rotateY(l.array,o.array,g),l._dirty=!0,l},m.rotateZ=function(l,o,g){return p.rotateZ(l.array,o.array,g),l._dirty=!0,l},m.setAxisAngle=function(l,o,g){return p.setAxisAngle(l.array,o.array,g),l._dirty=!0,l},m.normalize=function(l,o){return p.normalize(l.array,o.array),l._dirty=!0,l},m.sqrLen=function(l){return p.sqrLen(l.array)},m.squaredLength=m.sqrLen,m.fromMat3=function(l,o){return p.fromMat3(l.array,o.array),l._dirty=!0,l},m.setAxes=function(l,o,g,r){return p.setAxes(l.array,o.array,g.array,r.array),l._dirty=!0,l},m.rotationTo=function(l,o,g){return p.rotationTo(l.array,o.array,g.array),l._dirty=!0,l},m.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=m},function(k,P,_){"use strict";var B=_(28),C=_(9),p=_(52),m=_(49),E=_(1),d=_.n(E),l=d.a.vec3,o=d.a.vec4,g=B.a.extend(function(){return{projectionMatrix:new C.a,invProjectionMatrix:new C.a,viewMatrix:new C.a,frustum:new p.a}},function(){this.update(!0)},{update:function(r){B.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 m.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 B=_(4),C=_(15),p=_(67),m=_(1),E=_.n(m),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 p.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],M=s[9],L=s[10],O=s[11],D=s[12],N=s[13],I=s[14],U=s[15];l(u[0].normal.array,i-v,x-f,O-A),u[0].distance=-(U-D),u[0].normalize(),l(u[1].normal.array,i+v,x+f,O+A),u[1].distance=-(U+D),u[1].normalize(),l(u[2].normal.array,i+e,x+y,O+M),u[2].distance=-(U+N),u[2].normalize(),l(u[3].normal.array,i-e,x-y,O-M),u[3].distance=-(U-N),u[3].normalize(),l(u[4].normal.array,i-t,x-b,O-L),u[4].distance=-(U-I),u[4].normalize(),l(u[5].normal.array,i+t,x+b,O+L),u[5].distance=-(U+I),u[5].normalize();var F=this.boundingBox;if(U===0){var K=y/v,j=-I/(L-1),G=-I/(L+1),Y=-G/y,le=-j/y;F.min.set(-Y*K,-Y,G),F.max.set(Y*K,Y,j);var Q=this.vertices;l(Q[0],-Y*K,-Y,G),l(Q[1],-Y*K,Y,G),l(Q[2],Y*K,-Y,G),l(Q[3],Y*K,Y,G),l(Q[4],-le*K,-le,j),l(Q[5],-le*K,le,j),l(Q[6],le*K,-le,j),l(Q[7],le*K,le,j)}else{var ve=(-1-D)/v,xe=(1-D)/v,be=(1-N)/y,De=(-1-N)/y,Ue=(-1-I)/L,we=(1-I)/L;F.min.set(Math.min(ve,xe),Math.min(De,be),Math.min(we,Ue)),F.max.set(Math.max(xe,ve),Math.max(be,De),Math.max(Ue,we));var Ye=F.min.array,Be=F.max.array,Q=this.vertices;l(Q[0],Ye[0],Ye[1],Ye[2]),l(Q[1],Ye[0],Be[1],Ye[2]),l(Q[2],Be[0],Ye[1],Ye[2]),l(Q[3],Be[0],Be[1],Ye[2]),l(Q[4],Ye[0],Ye[1],Be[2]),l(Q[5],Ye[0],Be[1],Be[2]),l(Q[6],Be[0],Ye[1],Be[2]),l(Q[7],Be[0],Be[1],Be[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},B=_.prototype;B.insert=function(d){var l=new C(d);return this.insertEntry(l),l},B.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++},B.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--},B.len=function(){return this._len},B.clear=function(){this.head=this.tail=null,this._len=0};var C=function(d){this.value=d,this.next,this.prev},p=function(d){this._list=new _,this._map={},this._maxSize=d||10,this._lastRemovedEntry=null},m=p.prototype;m.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},m.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},m.clear=function(){this._list.clear(),this._map={}};var E=p;k.exports=E},function(k,P,_){"use strict";var B=_(5),C=_(25),p=_(102),m=_(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 B.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 B.a({width:0,height:0}),g._fetchTexture(r,function(s){l.a.parse(s,u),u.dirty(),a&&a(u)},c)):(u=new B.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 m.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;t<v.data.length;t+=4){if(n){var i=v.data[t],f=v.data[t+1],y=v.data[t+2],b=Math.abs(i-f)+Math.abs(f-y);if(b>20)return console.warn("Given image is not a height map"),r}var x,A,M,L;t%(c*4)===0?(x=v.data[t],M=v.data[t+4]):t%(c*4)===(c-1)*4?(x=v.data[t-4],M=v.data[t]):(x=v.data[t-4],M=v.data[t+4]),t<c*4?(A=v.data[t],L=v.data[t+c*4]):t>c*(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-M+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;e<v.data.length;e+=4){var t=v.data[e],i=v.data[e+1],f=v.data[e+2],y=Math.abs(t-i)+Math.abs(i-f);if(y>a)return!1}return!0},_fetchTexture:function(r,n,a){p.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;e<u;e++)for(var t=0;t<u;t++){var i=t%2?e%2:e%2-1;i&&v.fillRect(e*n,t*n,n,n)}var f=new B.a({image:s,anisotropic:8});return f},createBlank:function(r){var n=document.createElement("canvas");n.width=1,n.height=1;var a=n.getContext("2d");a.fillStyle=r,a.fillRect(0,0,1,1);var c=new B.a({image:n});return c}};P.a=g},function(k,P,_){"use strict";var B=_(8),C=_(4),p=_(36),m=_(10),E=["px","nx","py","ny","pz","nz"],d=B.a.extend(function(){var l={position:new C.a,far:1e3,near:.1,texture:null,shadowMapPass:null},o=l._cameras={px:new p.a({fov:90}),nx:new p.a({fov:90}),py:new p.a({fov:90}),ny:new p.a({fov:90}),pz:new p.a({fov:90}),nz:new p.a({fov:90})};return o.px.lookAt(C.a.POSITIVE_X,C.a.NEGATIVE_Y),o.nx.lookAt(C.a.NEGATIVE_X,C.a.NEGATIVE_Y),o.py.lookAt(C.a.POSITIVE_Y,C.a.POSITIVE_Z),o.ny.lookAt(C.a.NEGATIVE_Y,C.a.NEGATIVE_Z),o.pz.lookAt(C.a.POSITIVE_Z,C.a.NEGATIVE_Y),o.nz.lookAt(C.a.NEGATIVE_Z,C.a.NEGATIVE_Y),l._frameBuffer=new m.a,l},{getCamera:function(l){return this._cameras[l]},render:function(l,o,g){var r=l.gl;g||o.update();for(var n=this.texture.width,a=2*Math.atan(n/(n-.5))/Math.PI*180,c=0;c<6;c++){var u=E[c],s=this._cameras[u];if(C.a.copy(s.position,this.position),s.far=this.far,s.near=this.near,s.fov=a,this.shadowMapPass){s.update();var v=o.getBoundingBox();v.applyTransform(s.viewMatrix),o.viewBoundingBoxLastFrame.copy(v),this.shadowMapPass.render(l,o,s,!0)}this._frameBuffer.attach(this.texture,r.COLOR_ATTACHMENT0,r.TEXTURE_CUBE_MAP_POSITIVE_X+c),this._frameBuffer.bind(l),l.render(o,s,!0),this._frameBuffer.unbind(l)}},dispose:function(l){this._frameBuffer.dispose(l)}});P.a=d},function(k,P,_){"use strict";var B=_(24),C=_(68),p=_(7),m=_(17),E=_(103);p.a.import(E.a);var d=B.a.extend(function(){var l=new p.a(p.a.source("clay.basic.vertex"),p.a.source("clay.basic.fragment")),o=new m.a({shader:l,depthMask:!1});return o.enableTexture("diffuseMap"),{scene:null,geometry:new C.a({widthSegments:30,heightSegments:30}),material:o,environmentMap:null,culling:!1}},function(){var l=this.scene;l&&this.attachScene(l),this.environmentMap&&this.setEnvironmentMap(this.environmentMap)},{attachScene:function(l){this.scene&&this.detachScene(),l.skydome=this,this.scene=l,l.on("beforerender",this._beforeRenderScene,this)},detachScene:function(){this.scene&&(this.scene.off("beforerender",this._beforeRenderScene),this.scene.skydome=null),this.scene=null},_beforeRenderScene:function(l,o,g){this.position.copy(g.getWorldPosition()),this.update(),l.renderPass([this],g)},setEnvironmentMap:function(l){this.material.set("diffuseMap",l)},getEnvironmentMap:function(){return this.material.get("diffuseMap")},dispose:function(l){this.detachScene(),this.geometry.dispose(l)}});P.a=d},function(k,P,_){"use strict";var B=_(24),C=_(69),p=_(7),m=_(17),E=_(110);p.a.import(E.a);var d=B.a.extend(function(){var l=new p.a({vertex:p.a.source("clay.skybox.vertex"),fragment:p.a.source("clay.skybox.fragment")}),o=new m.a({shader:l,depthMask:!1});return{scene:null,geometry:new C.a,material:o,environmentMap:null,culling:!1}},function(){var l=this.scene;l&&this.attachScene(l),this.environmentMap&&this.setEnvironmentMap(this.environmentMap)},{attachScene:function(l){this.scene&&this.detachScene(),l.skybox=this,this.scene=l,l.on("beforerender",this._beforeRenderScene,this)},detachScene:function(){this.scene&&(this.scene.off("beforerender",this._beforeRenderScene),this.scene.skybox=null),this.scene=null},dispose:function(l){this.detachScene(),this.geometry.dispose(l)},setEnvironmentMap:function(l){this.material.set("environmentMap",l)},getEnvironmentMap:function(){return this.material.get("environmentMap")},_beforeRenderScene:function(l,o,g){this.renderSkybox(l,g)},renderSkybox:function(l,o){this.position.copy(o.getWorldPosition()),this.update(),l.gl.disable(l.gl.BLEND),this.material.get("lod")>0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),l.renderPass([this],o)}});P.a=d},function(k,P,_){"use strict";var B=_(2),C=_(143),p=_(144);B.a.Shader.import(p.a),P.a=B.a.Mesh.extend(function(){var m=new C.a({dynamic:!0}),E=new B.a.Material({shader:B.a.createShader("ecgl.labels"),transparent:!0,depthMask:!1});return{geometry:m,material:E,culling:!1,castShadow:!1,ignorePicking:!0}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(186),E=_(22),d=_(3),l=_(1),o=_.n(l),g=_(60),r=_(61),n=_(40),a=o.a.vec3;p.a.Shader.import(n.a);function c(u){this.rootNode=new p.a.Node,this._triangulationResults={},this._shadersMap=p.a.COMMON_SHADERS.reduce(function(v,e){return v[e]=p.a.createShader("ecgl."+e),v},{}),this._linesShader=p.a.createShader("ecgl.meshLines3D");var s={};p.a.COMMON_SHADERS.forEach(function(v){s[v]=new p.a.Material({shader:p.a.createShader("ecgl."+v)})}),this._groundMaterials=s,this._groundMesh=new p.a.Mesh({geometry:new p.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,M){var L=i.getName(x),O,D=M;if(y.type==="geo3D"){var N=y.getRegion(L);return O=N.center,y.dataToPoint([O[0],O[1],D])}else var I=b._triangulationResults[x-b._startIndex],O=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 p.a.Mesh({name:"Polygon",material:new p.a.Material({shader:u._shadersMap.lambert}),culling:!1,geometry:new p.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 p.a.Mesh({material:new p.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;x<t;x++){var A=this._getRegionPolygonInfo(x),M=this._getRegionLinesInfo(x,u,this._linesMesh.geometry);i+=A.vertexCount,f+=A.triangleCount,y+=M.vertexCount,b+=M.triangleCount}var L=this._polygonMesh,O=L.geometry;["position","normal","texcoord0","color"].forEach(function(D){O.attributes[D].init(i)}),O.indices=i>65535?new Uint32Array(f*3):new Uint16Array(f*3),L.material.shader!==s&&L.material.attachShader(s,!0),p.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;x<e;x++){var A=u.getRegionModel(x),M=A.getModel("itemStyle"),L=M.get("color"),O=d.a.firstNotNull(M.get("opacity"),1),D=t.getItemVisual(x,"color",!0);D!=null&&t.hasValue(x)&&(L=D),t.setItemVisual(x,"color",L),t.setItemVisual(x,"opacity",O),L=p.a.parseColor(L);var N=p.a.parseColor(M.get("borderColor"));L[3]*=O,N[3]*=O;var I=L[3]<.99;Y.material.set("color",[1,1,1,1]),y=y||I;for(var U=d.a.firstNotNull(A.get("height",!0),u.get("regionHeight")),F=this._updatePolygonGeometry(u,Y.geometry,x,U,i,f,L),K=i;K<F.vertexOffset;K++)this._dataIndexOfVertex[K]=x;this._vertexRangeOfDataIndex[(x-v)*2]=i,this._vertexRangeOfDataIndex[(x-v)*2+1]=F.vertexOffset,i=F.vertexOffset,f=F.triangleOffset;var j=M.get("borderWidth"),G=j>0;G&&(j*=s.getDevicePixelRatio(),this._updateLinesGeometry(b.geometry,u,x,U,j,u.coordinateSystem.transform)),b.invisible=!G,b.material.set({color:N})}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=p.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),p.a.setMaterialFromModel(t,i,e,v),i.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=i,this._groundMesh.material.set("color",p.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;f<v;f++){for(var y=[],b=u.getRegionPolygonCoords(f),x=0;x<b.length;x++){var A=b[x].exterior,M=b[x].interiors,L=[],O=[];if(!(A.length<3)){for(var D=0,N=0;N<A.length;N++){var I=A[N];L[D++]=I[0],L[D++]=I[1]}for(var N=0;N<M.length;N++)if(!(M[N].length<3)){for(var U=L.length/2,F=0;F<M[N].length;F++){var I=M[N][F];L.push(I[0]),L.push(I[1])}O.push(U)}for(var K=Object(m.a)(L,O),j=new Float64Array(L.length/2*3),G=[],Y=[1/0,1/0,1/0],le=[-1/0,-1/0,-1/0],Q=0,N=0;N<L.length;)a.set(G,L[N++],0,L[N++]),i&&i.transform&&a.transformMat4(G,G,i.transform),a.min(Y,Y,G),a.max(le,le,G),j[Q++]=G[0],j[Q++]=G[1],j[Q++]=G[2];a.min(e,e,Y),a.max(t,t,le),y.push({points:j,indices:K,min:Y,max:le})}}this._triangulationResults.push(y)}this._geoBoundingBox=[e,t]},_getRegionPolygonInfo:function(u){for(var s=this._triangulationResults[u-this._startIndex],v=0,e=0,t=0;t<s.length;t++)v+=s[t].points.length/3,e+=s[t].indices.length/3;var i=v*2+v*4,f=e*2+v*2;return{vertexCount:i,triangleCount:f}},_updatePolygonGeometry:function(u,s,v,e,t,i,f){var y=u.get("projectUVOnGround"),b=s.attributes.position,x=s.attributes.normal,A=s.attributes.texcoord0,M=s.attributes.color,L=this._triangulationResults[v-this._startIndex],O=M.value&&f,D=s.indices,N=this.extrudeY?1:2,I=this.extrudeY?2:1,U=[this.rootNode.worldTransform.x.len(),this.rootNode.worldTransform.y.len(),this.rootNode.worldTransform.z.len()],F=a.mul([],this._geoBoundingBox[0],U),K=a.mul([],this._geoBoundingBox[1],U),j=Math.max(K[0]-F[0],K[2]-F[2]);function G(ee,fe,Ce){for(var re=ee.points,ce=re.length,lt=[],Qe=[],ht=0;ht<ce;ht+=3)lt[0]=re[ht],lt[N]=fe,lt[I]=re[ht+2],Qe[0]=(re[ht]*U[0]-F[0])/j,Qe[1]=(re[ht+2]*U[I]-F[2])/j,b.set(t,lt),O&&M.set(t,f),A.set(t++,Qe)}function Y(ee,fe,Ce){var re=t;G(ee,fe,Ce);for(var ce=0;ce<ee.indices.length;ce++)D[i*3+ce]=ee.indices[ce]+re;i+=ee.indices.length/3}for(var le=this.extrudeY?[0,1,0]:[0,0,1],Q=a.negate([],le),ve=0;ve<L.length;ve++){var xe=t,be=L[ve];Y(be,0,0),Y(be,e,0);for(var De=be.points.length/3,Ue=0;Ue<De;Ue++)x.set(xe+Ue,Q),x.set(xe+Ue+De,le);for(var we=[0,3,1,1,3,2],Ye=[[],[],[],[]],Be=[],ge=[],He=[],Fe=[],Pe=0,Ue=0;Ue<De;Ue++){for(var We=(Ue+1)%De,Ne=(be.points[We*3]-be.points[Ue*3])*U[0],V=(be.points[We*3+2]-be.points[Ue*3+2])*U[I],q=Math.sqrt(Ne*Ne+V*V),ae=0;ae<4;ae++){var te=ae===0||ae===3,oe=(te?Ue:We)*3;Ye[ae][0]=be.points[oe],Ye[ae][N]=ae>1?e:0,Ye[ae][I]=be.points[oe+2],b.set(t+ae,Ye[ae]),y?(Fe[0]=(be.points[oe]*U[0]-F[0])/j,Fe[1]=(be.points[oe+2]*U[I]-F[I])/j):(Fe[0]=(te?Pe:Pe+q)/j,Fe[1]=(Ye[ae][N]*U[N]-F[N])/j),A.set(t+ae,Fe)}a.sub(Be,Ye[1],Ye[0]),a.sub(ge,Ye[3],Ye[0]),a.cross(He,Be,ge),a.normalize(He,He);for(var ae=0;ae<4;ae++)x.set(t+ae,He),O&&M.set(t+ae,f);for(var ae=0;ae<6;ae++)D[i*3+ae]=we[ae]+t;t+=4,i+=2,Pe+=q}}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,M=x.interiors;e+=v.getPolylineVertexCount(A),t+=v.getPolylineTriangleCount(A);for(var L=0;L<M.length;L++)e+=v.getPolylineVertexCount(M[L]),t+=v.getPolylineTriangleCount(M[L])},this)}return{vertexCount:e,triangleCount:t}},_updateLinesGeometry:function(u,s,v,e,t,i){function f(x){for(var A=new Float64Array(x.length*3),M=0,L=[],O=0;O<x.length;O++)L[0]=x[O][0],L[1]=e+.1,L[2]=x[O][1],i&&a.transformMat4(L,L,i),A[M++]=L[0],A[M++]=L[1],A[M++]=L[2];return A}var y=[1,1,1,1],b=s.getRegionPolygonCoords(v);b.forEach(function(x){var A=x.exterior,M=x.interiors;u.addPolyline(f(A),y,t);for(var L=0;L<M.length;L++)u.addPolyline(f(M[L]),y,t)})},highlight:function(u){var s=this._data;if(s){var v=s.getItemModel(u),e=v.getModel("emphasis.itemStyle"),t=e.get("color"),i=d.a.firstNotNull(e.get("opacity"),s.getItemVisual(u,"opacity"),1);if(t==null){var f=s.getItemVisual(u,"color");t=C.a.color.lift(f,-.4)}i==null&&(i=s.getItemVisual(u,"opacity"));var y=p.a.parseColor(t);y[3]*=i,this._setColorOfDataIndex(s,u,y)}},downplay:function(u){var s=this._data;if(s){var v=s.getItemVisual(u,"color"),e=d.a.firstNotNull(s.getItemVisual(u,"opacity"),1),t=p.a.parseColor(v);t[3]*=e,this._setColorOfDataIndex(s,u,t)}},_setColorOfDataIndex:function(u,s,v){if(!(s<this._startIndex&&s>this._endIndex)){s-=this._startIndex;for(var e=this._vertexRangeOfDataIndex[s*2];e<this._vertexRangeOfDataIndex[s*2+1];e++)this._polygonMesh.geometry.attributes.color.set(e,v);this._polygonMesh.geometry.dirty(),this._api.getZr().refresh()}}},P.a=c},function(k,P,_){"use strict";var B=_(81),C=_(1),p=_.n(C),m=p.a.vec3,E=m.create(),d=m.create(),l=m.create();P.a={needsSortTriangles:function(){return this.indices&&this.sortTriangles},needsSortTrianglesProgressively:function(){return this.needsSortTriangles()&&this.triangleCount>=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;u<r.length;){n.get(r[u++],E),n.get(r[u++],d),n.get(r[u++],l);var s=m.sqrDist(E,o),v=m.sqrDist(d,o),e=m.sqrDist(l,o),t=Math.min(s,v);t=Math.min(t,e),u===3?(c=t,t=0):t=t-c,this._triangleZList[a++]=t}}for(var i=this._sortedTriangleIndices,u=0;u<i.length;u++)i[u]=u;if(this.triangleCount<2e4)g===0&&this._simpleSort(!0);else for(var u=0;u<3;u++)this._progressiveQuickSort(g*3+u);for(var f=this._indicesTmp,y=this._triangleZListTmp,b=this._triangleZList,u=0;u<this.triangleCount;u++){var x=i[u]*3,A=u*3;f[A++]=r[x++],f[A++]=r[x++],f[A]=r[x],y[u]=b[i[u]]}var M=this._indicesTmp;this._indicesTmp=this.indices,this.indices=M;var M=this._triangleZListTmp;this._triangleZListTmp=this._triangleZList,this._triangleZList=M,this.dirtyIndices()},_simpleSort:function(o){var g=this._triangleZList,r=this._sortedTriangleIndices;function n(a,c){return g[c]-g[a]}o?Array.prototype.sort.call(r,n):B.a.sort(r,n,0,r.length-1)},_progressiveQuickSort:function(o){var g=this._triangleZList,r=this._sortedTriangleIndices;this._quickSort=this._quickSort||new B.a,this._quickSort.step(r,function(n,a){return g[a]-g[n]},o)}}},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(73),m=_(58),E=_(3),d=1,l=2;function o(g,r,n){this._labelsMesh=new m.a,this._labelTextureSurface=new p.a({width:512,height:512,devicePixelRatio:n.getDevicePixelRatio(),onupdate:function(){n.getZr().refresh()}}),this._api=n,this._labelsMesh.material.set("textureAtlas",this._labelTextureSurface.getTexture())}o.prototype.getLabelPosition=function(g,r,n){return[0,0,0]},o.prototype.getLabelDistance=function(g,r,n){return 0},o.prototype.getMesh=function(){return this._labelsMesh},o.prototype.updateData=function(g,r,n){r==null&&(r=0),n==null&&(n=g.count()),(!this._labelsVisibilitiesBits||this._labelsVisibilitiesBits.length!==n-r)&&(this._labelsVisibilitiesBits=new Uint8Array(n-r));for(var a=["label","show"],c=["emphasis","label","show"],u=r;u<n;u++){var s=g.getItemModel(u),v=s.get(a),e=s.get(c);e==null&&(e=v);var t=(v?d:0)|(e?l:0);this._labelsVisibilitiesBits[u-r]=t}this._start=r,this._end=n,this._data=g},o.prototype.updateLabels=function(g){if(this._data){g=g||[];for(var r=g.length>0,n={},a=0;a<g.length;a++)n[g[a]]=!0;this._labelsMesh.geometry.convertToDynamicArray(!0),this._labelTextureSurface.clear();for(var c=["label"],u=["emphasis","label"],s=this._data.hostModel,v=this._data,e=s.getModel(c),t=s.getModel(u,e),i={left:"right",right:"left",top:"center",bottom:"center"},f={left:"middle",right:"middle",top:"bottom",bottom:"top"},y=this._start;y<this._end;y++){var b=!1;r&&n[y]&&(b=!0);var x=this._labelsVisibilitiesBits[y-this._start]&(b?l:d);if(x){var A=v.getItemModel(y),M=A.getModel(b?u:c,b?t:e),L=M.get("distance")||0,O=M.get("position"),D=M.getModel("textStyle"),N=this._api.getDevicePixelRatio(),I=s.getFormattedLabel(y,b?"emphasis":"normal");if(I==null||I==="")return;var U=new C.a.graphic.Text;C.a.graphic.setTextStyle(U.style,D,{text:I,textFill:D.get("color")||v.getItemVisual(y,"color")||"#000",textAlign:"left",textVerticalAlign:"top",opacity:E.a.firstNotNull(D.get("opacity"),v.getItemVisual(y,"opacity"),1)});var F=U.getBoundingRect(),K=1.2;F.height*=K;var j=this._labelTextureSurface.add(U),G=i[O]||"center",Y=f[O]||"bottom";this._labelsMesh.geometry.addSprite(this.getLabelPosition(y,O,L),[F.width*N,F.height*N],j,G,Y,this.getLabelDistance(y,O,L)*N)}}this._labelsMesh.material.set("uvScale",this._labelTextureSurface.getCoordsScale()),this._labelTextureSurface.getZr().refreshImmediately(),this._labelsMesh.geometry.convertToTypedArray(),this._labelsMesh.geometry.dirty()}},P.a=o},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(216),E=_(217),d=_(61),l=_(9),o=_(3),g=20,r=-10;function n(c,u){return c&&u&&c[0]===u[0]&&c[1]===u[1]}function a(c,u){this.rootNode=new p.a.Node,this.is2D=c,this._labelsBuilder=new d.a(256,256,u),this._labelsBuilder.getMesh().renderOrder=100,this.rootNode.add(this._labelsBuilder.getMesh()),this._api=u,this._spriteImageCanvas=document.createElement("canvas"),this._startDataIndex=0,this._endDataIndex=0,this._sizeScale=1}a.prototype={constructor:a,highlightOnMouseover:!0,update:function(c,u,s,v,e){var t=this._prevMesh;this._prevMesh=this._mesh,this._mesh=t;var i=c.getData();if(v==null&&(v=0),e==null&&(e=i.count()),this._startDataIndex=v,this._endDataIndex=e-1,!this._mesh){var f=this._prevMesh&&this._prevMesh.material;this._mesh=new E.a({renderOrder:10,frustumCulling:!1}),f&&(this._mesh.material=f)}var f=this._mesh.material,y=this._mesh.geometry,b=y.attributes;this.rootNode.remove(this._prevMesh),this.rootNode.add(this._mesh),this._setPositionTextureToMesh(this._mesh,this._positionTexture);var x=this._getSymbolInfo(c,v,e),A=s.getDevicePixelRatio(),M=c.getModel("itemStyle").getItemStyle(),L=c.get("large"),O=1;x.maxSize>2?(O=this._updateSymbolSprite(c,M,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 N=i.getVisual("color"),I=i.getVisual("opacity");p.a.parseColor(N,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;j<e-v;j++){var G=j*3,Y=j*2;if(this.is2D?(F[G]=U[Y],F[G+1]=U[Y+1],F[G+2]=r):(F[G]=U[G],F[G+1]=U[G+1],F[G+2]=U[G+2]),!L){var N=i.getItemVisual(j,"color"),I=i.getItemVisual(j,"opacity");p.a.parseColor(N,D),D[3]*=I,b.color.set(j,D),D[3]<.99&&(K=!0);var le=i.getItemVisual(j,"symbolSize");le=le instanceof Array?Math.max(le[0],le[1]):le,isNaN(le)&&(le=0),b.size.value[j]=le*O*this._sizeScale,this._originalOpacity[j]=D[3]}}this._mesh.sizeScale=O,y.updateBoundingBox(),y.dirty(),this._updateMaterial(c,M);var Q=c.coordinateSystem;if(Q&&Q.viewGL){var ve=Q.viewGL.isLinearSpace()?"define":"undefine";f[ve]("fragment","SRGB_DECODE")}L||this._updateLabelBuilder(c,v,e),this._updateHandler(c,u,s),this._updateAnimation(c),this._api=s},getPointsMesh:function(){return this._mesh},updateLabels:function(c){this._labelsBuilder.updateLabels(c)},hideLabels:function(){this.rootNode.remove(this._labelsBuilder.getMesh())},showLabels:function(){this.rootNode.add(this._labelsBuilder.getMesh())},_updateSymbolSprite:function(c,u,s,v){s.maxSize=Math.min(s.maxSize*2,200);var e=[];return s.aspect>1?(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)&&(m.a.createSymbolSprite(s.type,e,{fill:"#fff",lineWidth:u.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(e[0]/2,10)},this._spriteImageCanvas),m.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"?p.a.additiveBlend:null,v=this._mesh.material;v.blend=s,v.set("lineWidth",u.lineWidth/g);var e=p.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){p.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;i<t.length/2;i++){var f=i*3,y=i*2;e[f]=t[y],e[f+1]=t[y+1],e[f+2]=r}else for(var i=0;i<t.length;i++)e[i]=t[i];this._mesh.geometry.dirty(),s.getZr().refresh()}},updateView:function(c){if(this._mesh){var u=new l.a;l.a.mul(u,c.viewMatrix,this._mesh.worldTransform),l.a.mul(u,c.projectionMatrix,u),this._mesh.updateNDCPosition(u,this.is2D,this._api)}},highlight:function(c,u){if(!(u>this._endDataIndex||u<this._startDataIndex)){var s=c.getItemModel(u),v=s.getModel("emphasis.itemStyle"),e=v.get("color"),t=v.get("opacity");if(e==null){var i=c.getItemVisual(u,"color");e=C.a.color.lift(i,-.4)}t==null&&(t=c.getItemVisual(u,"opacity"));var f=p.a.parseColor(e);f[3]*=t,this._mesh.geometry.attributes.color.set(u-this._startDataIndex,f),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},downplay:function(c,u){if(!(u>this._endDataIndex||u<this._startDataIndex)){var s=c.getItemVisual(u,"color"),v=c.getItemVisual(u,"opacity"),e=p.a.parseColor(s);e[3]*=v,this._mesh.geometry.attributes.color.set(u-this._startDataIndex,e),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeOutAll:function(c){if(this._originalOpacity){for(var u=this._mesh.geometry,s=0;s<u.vertexCount;s++){var v=this._originalOpacity[s]*c;u.attributes.color.value[s*4+3]=v}u.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeInAll:function(){this.fadeOutAll(1)},setPositionTexture:function(c){this._mesh&&this._setPositionTextureToMesh(this._mesh,c),this._positionTexture=c},removePositionTexture:function(){this._positionTexture=null,this._mesh&&this._setPositionTextureToMesh(this._mesh,null)},setSizeScale:function(c){if(c!==this._sizeScale){if(this._mesh){var u=this._mesh.material.get("u_Size");this._mesh.material.set("u_Size",u/this._sizeScale*c);var s=this._mesh.geometry.attributes;if(s.size.value)for(var v=0;v<s.size.value.length;v++)s.size.value[v]=s.size.value[v]/this._sizeScale*c}this._sizeScale=c}},_setPositionTextureToMesh:function(c,u){u&&c.material.set("positionTexture",u),c.material[u?"enableTexture":"disableTexture"]("positionTexture")},_getSymbolInfo:function(c,u,s){if(c.get("large")){var v=o.a.firstNotNull(c.get("symbolSize"),1),b,t;return v instanceof Array?(b=Math.max(v[0],v[1]),t=v[0]/v[1]):(b=v,t=1),{maxSize:v,type:c.get("symbol"),aspect:t}}for(var e=c.getData(),t,i=!1,f=e.getItemVisual(0,"symbol")||"circle",y=!1,b=0,x=u;x<s;x++){var v=e.getItemVisual(x,"symbolSize"),A=e.getItemVisual(x,"symbol"),M;if(v instanceof Array)M=v[0]/v[1],b=Math.max(Math.max(v[0],v[1]),b);else{if(isNaN(v))return;M=1,b=Math.max(v,b)}t!=null&&Math.abs(M-t)>.05&&(i=!0),A!==f&&(y=!0),f=A,t=M}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 B=_(28),C=_(11),p=0,m=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=B.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=B.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 M=!1;if(d=r.__uid__+"-"+s.__uid__+"-"+a.__uid__,(d!==p||b&&x||s._cache.isDirty("any"))&&(M=!0),p=d,!M)E?(c.drawElements(v,m.count,y,0),A.triangleCount=m.count/3):c.drawArrays(v,0,e),A.drawCallCount=1;else{var L=this._drawCache[d];if(!L){var O=s.getBufferChunks(r);if(!O)return;L=[];for(var D=0;D<O.length;D++){for(var N=O[D],I=N.attributeBuffers,U=N.indicesBuffer,F=[],K=[],j=0;j<I.length;j++){var G=I[j],Y=G.name,le=G.semantic,Q;if(le){var ve=u.attributeSemantics[le];Q=ve&&ve.symbol}else Q=Y;Q&&a.attributes[Q]&&(F.push(G),K.push(Q))}var xe=new o(F,K,U);L.push(xe)}x&&(this._drawCache[d]=L)}for(var be=0;be<L.length;be++){var xe=L[be],De=!0;b&&x&&(xe.vao==null?xe.vao=b.createVertexArrayOES():De=!1,b.bindVertexArrayOES(xe.vao));var F=xe.availableAttributes,U=xe.indicesBuffer;if(De)for(var Ue=a.enableAttributes(r,xe.availableAttributeSymbols,b&&x&&xe.vao),j=0;j<F.length;j++){var we=Ue[j];if(we!==-1){var G=F[j],Ye=G.buffer,Be=G.size,ge;switch(G.type){case"float":ge=c.FLOAT;break;case"byte":ge=c.BYTE;break;case"ubyte":ge=c.UNSIGNED_BYTE;break;case"short":ge=c.SHORT;break;case"ushort":ge=c.UNSIGNED_SHORT;break;default:ge=c.FLOAT;break}c.bindBuffer(c.ARRAY_BUFFER,Ye),c.vertexAttribPointer(we,Be,ge,!1,0,0)}}(v==C.a.LINES||v==C.a.LINE_STRIP||v==C.a.LINE_LOOP)&&c.lineWidth(this.lineWidth),m=U,E=s.isUseIndices(),E?(De&&c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,U.buffer),c.drawElements(v,U.count,y,0),A.triangleCount+=U.count/3):c.drawArrays(v,0,e),b&&x&&b.bindVertexArrayOES(null),A.drawCallCount++}}return A},clone:function(){var r=["castShadow","receiveShadow","mode","culling","cullFace","frontFace","frustumCulling","renderOrder","lineWidth","ignorePicking","ignorePreZ","ignoreGBuffer"];return function(){var n=B.a.prototype.clone.call(this);n.geometry=this.geometry,n.material=this.material;for(var a=0;a<r.length;a++){var c=r[a];n[c]!==this[c]&&(n[c]=this[c])}return n}}()});g.POINTS=C.a.POINTS,g.LINES=C.a.LINES,g.LINE_LOOP=C.a.LINE_LOOP,g.LINE_STRIP=C.a.LINE_STRIP,g.TRIANGLES=C.a.TRIANGLES,g.TRIANGLE_STRIP=C.a.TRIANGLE_STRIP,g.TRIANGLE_FAN=C.a.TRIANGLE_FAN,g.BACK=C.a.BACK,g.FRONT=C.a.FRONT,g.FRONT_AND_BACK=C.a.FRONT_AND_BACK,g.CW=C.a.CW,g.CCW=C.a.CCW,g.RenderInfo=l,P.a=g},function(k,P){var _=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(B){setTimeout(B,16)};k.exports=_},function(k,P,_){"use strict";var B={};B.isPowerOfTwo=function(C){return(C&C-1)===0},B.nextPowerOfTwo=function(C){return C--,C|=C>>1,C|=C>>2,C|=C>>4,C|=C>>8,C|=C>>16,C++,C},B.nearestPowerOfTwo=function(C){return Math.pow(2,Math.round(Math.log(C)/Math.LN2))},P.a=B},function(k,P,_){"use strict";var B=_(4),C=_(1),p=_.n(C),m=p.a.vec3,E=p.a.mat4,d=p.a.vec4,l=function(o,g){this.normal=o||new B.a(0,1,0),this.distance=g||0};l.prototype={constructor:l,distanceToPoint:function(o){return m.dot(o.array,this.normal.array)-this.distance},projectPoint:function(o,g){g||(g=new B.a);var r=this.distanceToPoint(o);return m.scaleAndAdd(g.array,o.array,this.normal.array,-r),g._dirty=!0,g},normalize:function(){var o=1/m.len(this.normal.array);m.scale(this.normal.array,o),this.distance*=o},intersectFrustum:function(o){for(var g=o.vertices,r=this.normal.array,n=m.dot(g[0].array,r)>this.distance,a=1;a<8;a++)if(m.dot(g[a].array,r)>this.distance!=n)return!0},intersectLine:function(){var o=m.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;m.sub(o,r.array,g.array),m.normalize(o,o);var e=m.dot(u,o);if(e===0)return null;n||(n=new B.a);var t=(m.dot(u,v)-s)/e;return m.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,m.scale(r,this.normal.array,this.distance),d.transformMat4(r,r,n),this.distance=m.dot(r,this.normal.array),E.invert(o,n),E.transpose(o,o),g[3]=0,m.copy(g,this.normal.array),d.transformMat4(g,g,o),m.copy(this.normal.array,g)}}(),copy:function(o){m.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 B=_(13),C=_(15),p=B.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 m=this.heightSegments,E=this.widthSegments,d=this.attributes.position,l=this.attributes.texcoord0,o=this.attributes.normal,g=(E+1)*(m+1);d.init(g),l.init(g),o.init(g);var r=g>65535?Uint32Array:Uint16Array,n=this.indices=new r(E*m*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=[],M=[],L=0,O=1/x;for(t=0;t<=m;t++)for(e=0;e<=E;e++)s=e/E,v=t/m,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,M[0]=s,M[1]=v,d.set(L,A),l.set(L,M),A[0]*=O,A[1]*=O,A[2]*=O,o.set(L,A),L++;var D,N,I,U,F=E+1,K=0;for(t=0;t<m;t++)for(e=0;e<E;e++)N=t*F+e,D=t*F+e+1,U=(t+1)*F+e+1,I=(t+1)*F+e,n[K++]=D,n[K++]=N,n[K++]=U,n[K++]=N,n[K++]=I,n[K++]=U;this.boundingBox=new C.a,this.boundingBox.max.set(x,x,x),this.boundingBox.min.set(-x,-x,-x)}});P.a=p},function(k,P,_){"use strict";var B=_(13),C=_(37),p=_(9),m=_(4),E=_(15),d=_(18),l=new p.a,o=B.a.extend({dynamic:!1,widthSegments:1,heightSegments:1,depthSegments:1,inside:!1},function(){this.build()},{build:function(){var r={px:g("px",this.depthSegments,this.heightSegments),nx:g("nx",this.depthSegments,this.heightSegments),py:g("py",this.widthSegments,this.depthSegments),ny:g("ny",this.widthSegments,this.depthSegments),pz:g("pz",this.widthSegments,this.heightSegments),nz:g("nz",this.widthSegments,this.heightSegments)},n=["position","texcoord0","normal"],a=0,c=0;for(var u in r)a+=r[u].vertexCount,c+=r[u].indices.length;for(var s=0;s<n.length;s++)this.attributes[n[s]].init(a);this.indices=new d.a.Uint16Array(c);var v=0,e=0;for(var u in r){for(var t=r[u],s=0;s<n.length;s++)for(var i=n[s],f=t.attributes[i].value,y=t.attributes[i].size,b=i==="normal",x=0;x<f.length;x++){var A=f[x];this.inside&&b&&(A=-A),this.attributes[i].value[x+y*e]=A}for(var M=t.indices.length,x=0;x<t.indices.length;x++)this.indices[x+v]=e+t.indices[this.inside?M-x-1:x];v+=t.indices.length,e+=t.vertexCount}this.boundingBox=new E.a,this.boundingBox.max.set(1,1,1),this.boundingBox.min.set(-1,-1,-1)}});function g(r,n,a){l.identity();var c=new C.a({widthSegments:n,heightSegments:a});switch(r){case"px":p.a.translate(l,l,m.a.POSITIVE_X),p.a.rotateY(l,l,Math.PI/2);break;case"nx":p.a.translate(l,l,m.a.NEGATIVE_X),p.a.rotateY(l,l,-Math.PI/2);break;case"py":p.a.translate(l,l,m.a.POSITIVE_Y),p.a.rotateX(l,l,-Math.PI/2);break;case"ny":p.a.translate(l,l,m.a.NEGATIVE_Y),p.a.rotateX(l,l,Math.PI/2);break;case"pz":p.a.translate(l,l,m.a.POSITIVE_Z);break;case"nz":p.a.translate(l,l,m.a.NEGATIVE_Z),p.a.rotateY(l,l,Math.PI);break}return c.applyTransform(l),c}P.a=o},function(k,P,_){"use strict";var B=_(19),C=_(4),p=B.a.extend({shadowBias:.001,shadowSlopeScale:2,shadowCascade:1,cascadeSplitLogFactor:.2},{type:"DIRECTIONAL_LIGHT",uniformTemplates:{directionalLightDirection:{type:"3f",value:function(m){return m.__dir=m.__dir||new C.a,m.__dir.copy(m.worldTransform.z).normalize().negate().array}},directionalLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}}},clone:function(){var m=B.a.prototype.clone.call(this);return m.shadowBias=this.shadowBias,m.shadowSlopeScale=this.shadowSlopeScale,m}});P.a=p},function(k,P,_){"use strict";var B=_(19),C=B.a.extend({range:100,castShadow:!1},{type:"POINT_LIGHT",uniformTemplates:{pointLightPosition:{type:"3f",value:function(p){return p.getWorldPosition().array}},pointLightRange:{type:"1f",value:function(p){return p.range}},pointLightColor:{type:"3f",value:function(p){var m=p.color,E=p.intensity;return[m[0]*E,m[1]*E,m[2]*E]}}},clone:function(){var p=B.a.prototype.clone.call(this);return p.range=this.range,p}});P.a=C},function(k,P,_){"use strict";var B=_(19),C=_(4),p=B.a.extend({range:20,umbraAngle:30,penumbraAngle:45,falloffFactor:2,shadowBias:2e-4,shadowSlopeScale:2},{type:"SPOT_LIGHT",uniformTemplates:{spotLightPosition:{type:"3f",value:function(m){return m.getWorldPosition().array}},spotLightRange:{type:"1f",value:function(m){return m.range}},spotLightUmbraAngleCosine:{type:"1f",value:function(m){return Math.cos(m.umbraAngle*Math.PI/180)}},spotLightPenumbraAngleCosine:{type:"1f",value:function(m){return Math.cos(m.penumbraAngle*Math.PI/180)}},spotLightFalloffFactor:{type:"1f",value:function(m){return m.falloffFactor}},spotLightDirection:{type:"3f",value:function(m){return m.__dir=m.__dir||new C.a,m.__dir.copy(m.worldTransform.z).negate().array}},spotLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}}},clone:function(){var m=B.a.prototype.clone.call(this);return m.range=this.range,m.umbraAngle=this.umbraAngle,m.penumbraAngle=this.penumbraAngle,m.falloffFactor=this.falloffFactor,m.shadowBias=this.shadowBias,m.shadowSlopeScale=this.shadowSlopeScale,m}});P.a=p},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(5);function m(d,l,o,g,r,n,a){this._zr=d,this._x=0,this._y=0,this._rowHeight=0,this.width=g,this.height=r,this.offsetX=l,this.offsetY=o,this.dpr=a,this.gap=n}m.prototype={constructor:m,clear:function(){this._x=0,this._y=0,this._rowHeight=0},add:function(d,l,o){var g=d.getBoundingRect();l==null&&(l=g.width),o==null&&(o=g.height),l*=this.dpr,o*=this.dpr,this._fitElement(d,l,o);var r=this._x,n=this._y,a=this.width*this.dpr,c=this.height*this.dpr,u=this.gap;if(r+l+u>a&&(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 p.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 m(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<this._textureAtlasNodes.length;d++)this._textureAtlasNodes[d].clear();this._currentNodeIdx=0,this._zr.clear(),this._coords={}},getWidth:function(){return this._width},getHeight:function(){return this._height},getTexture:function(){return this._texture},getDevicePixelRatio:function(){return this._dpr},getZr:function(){return this._zr},_getCurrentNode:function(){return this._textureAtlasNodes[this._currentNodeIdx]},_expand:function(){if(this._currentNodeIdx++,this._textureAtlasNodes[this._currentNodeIdx])return this._textureAtlasNodes[this._currentNodeIdx];var d=4096/this._dpr,l=this._textureAtlasNodes,o=l.length,g=o*this._nodeWidth%d,r=Math.floor(o*this._nodeWidth/d)*this._nodeHeight;if(r>=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 m(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=B;function B(C,p,m){var E,d=C.scale;return d.type==="ordinal"&&(typeof m=="function"?(E=d.getTicks()[p],!m(E,d.getLabel(E))):p%(m+1))}},function(k,P,_){var B=_(76),C=_(77),p=B.applyTransform,m=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=m(o.x,this.x),r=m(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,p(o,o,a),p(g,g,a),p(r,r,a),p(n,n,a),this.x=m(o[0],g[0],r[0],n[0]),this.y=m(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<u||s<r||c<v||e<a)},contain:function(o,g){var r=this;return o>=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 B(L,O){var D=new _(2);return L==null&&(L=0),O==null&&(O=0),D[0]=L,D[1]=O,D}function C(L,O){return L[0]=O[0],L[1]=O[1],L}function p(L){var O=new _(2);return O[0]=L[0],O[1]=L[1],O}function m(L,O,D){return L[0]=O,L[1]=D,L}function E(L,O,D){return L[0]=O[0]+D[0],L[1]=O[1]+D[1],L}function d(L,O,D,N){return L[0]=O[0]+D[0]*N,L[1]=O[1]+D[1]*N,L}function l(L,O,D){return L[0]=O[0]-D[0],L[1]=O[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,O,D){return L[0]=O[0]*D[0],L[1]=O[1]*D[1],L}function c(L,O,D){return L[0]=O[0]/D[0],L[1]=O[1]/D[1],L}function u(L,O){return L[0]*O[0]+L[1]*O[1]}function s(L,O,D){return L[0]=O[0]*D,L[1]=O[1]*D,L}function v(L,O){var D=o(O);return D===0?(L[0]=0,L[1]=0):(L[0]=O[0]/D,L[1]=O[1]/D),L}function e(L,O){return Math.sqrt((L[0]-O[0])*(L[0]-O[0])+(L[1]-O[1])*(L[1]-O[1]))}var t=e;function i(L,O){return(L[0]-O[0])*(L[0]-O[0])+(L[1]-O[1])*(L[1]-O[1])}var f=i;function y(L,O){return L[0]=-O[0],L[1]=-O[1],L}function b(L,O,D,N){return L[0]=O[0]+N*(D[0]-O[0]),L[1]=O[1]+N*(D[1]-O[1]),L}function x(L,O,D){var N=O[0],I=O[1];return L[0]=D[0]*N+D[2]*I+D[4],L[1]=D[1]*N+D[3]*I+D[5],L}function A(L,O,D){return L[0]=Math.min(O[0],D[0]),L[1]=Math.min(O[1],D[1]),L}function M(L,O,D){return L[0]=Math.max(O[0],D[0]),L[1]=Math.max(O[1],D[1]),L}P.create=B,P.copy=C,P.clone=p,P.set=m,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=M},function(k,P){var _=typeof Float32Array=="undefined"?Array:Float32Array;function B(){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 p(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 m(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=B();return p(n,r),n}P.create=B,P.identity=C,P.copy=p,P.mul=m,P.translate=E,P.rotate=d,P.scale=l,P.invert=o,P.clone=g},function(k,P,_){var B=_(12),C=1e-4;function p(b){return b.replace(/^\s+/,"").replace(/\s+$/,"")}function m(b,x,A,M){var L=x[1]-x[0],O=A[1]-A[0];if(L===0)return O===0?A[0]:(A[0]+A[1])/2;if(M)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*O+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"?p(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 M=+x.slice(A+1);return M<0?-M:0}else{var L=x.indexOf(".");return L<0?0:x.length-1-L}}function r(b,x){var A=Math.log,M=Math.LN10,L=Math.floor(A(b[1]-b[0])/M),O=Math.round(A(Math.abs(x[1]-x[0]))/M),D=Math.min(Math.max(-L+O,0),20);return isFinite(D)?D:20}function n(b,x,A){if(!b[x])return 0;var M=B.reduce(b,function(Y,le){return Y+(isNaN(le)?0:le)},0);if(M===0)return 0;for(var L=Math.pow(10,A),O=B.map(b,function(Y){return(isNaN(Y)?0:Y)/M*L*100}),D=L*100,N=B.map(O,function(Y){return Math.floor(Y)}),I=B.reduce(N,function(Y,le){return Y+le},0),U=B.map(O,function(Y,le){return Y-N[le]});I<D;){for(var F=Number.NEGATIVE_INFINITY,K=null,j=0,G=U.length;j<G;++j)U[j]>F&&(F=U[j],K=j);++N[K],U[K]=0,++I}return N[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<C}var s=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function v(b){if(b instanceof Date)return b;if(typeof b=="string"){var x=s.exec(b);if(!x)return new Date(NaN);if(x[8]){var A=+x[4]||0;return x[8].toUpperCase()!=="Z"&&(A-=x[8].slice(0,3)),new Date(Date.UTC(+x[1],+(x[2]||1)-1,+x[3]||1,A,+(x[5]||0),+x[6]||0,+x[7]||0))}else return new Date(+x[1],+(x[2]||1)-1,+x[3]||1,+x[4]||0,+(x[5]||0),+x[6]||0,+x[7]||0)}else if(b==null)return new Date(NaN);return new Date(Math.round(b))}function e(b){return Math.pow(10,t(b))}function t(b){return Math.floor(Math.log(b)/Math.LN10)}function i(b,x){var A=t(b),M=Math.pow(10,A),L=b/M,O;return x?L<1.5?O=1:L<2.5?O=2:L<4?O=3:L<7?O=5:O=10:L<1?O=1:L<2?O=2:L<3?O=3:L<5?O=5:O=10,b=O*M,A>=-20?+b.toFixed(A<0?-A:0):b}function f(b){b.sort(function(I,U){return N(I,U,0)?-1:1});for(var x=-1/0,A=1,M=0;M<b.length;){for(var L=b[M].interval,O=b[M].close,D=0;D<2;D++)L[D]<=x&&(L[D]=x,O[D]=D?1:1-A),x=L[D],A=O[D];L[0]===L[1]&&O[0]*O[1]!==1?b.splice(M,1):M++}return b;function N(I,U,F){return I.interval[F]<U.interval[F]||I.interval[F]===U.interval[F]&&(I.close[F]-U.close[F]===(F?-1:1)||!F&&N(I,U,1))}}function y(b){return b-parseFloat(b)>=0}P.linearMap=m,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 B=_(5),C=_(11),p=_(21),m=function(){this._pool={},this._allocatedTextures=[]};m.prototype={constructor:m,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 B.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;n<this._allocatedTextures.length;n++)this._allocatedTextures[n].dispose(r);this._pool={},this._allocatedTextures=[]}};var E={width:512,height:512,type:C.a.UNSIGNED_BYTE,format:C.a.RGBA,wrapS:C.a.CLAMP_TO_EDGE,wrapT:C.a.CLAMP_TO_EDGE,minFilter:C.a.LINEAR_MIPMAP_LINEAR,magFilter:C.a.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,unpackAlignment:4,premultiplyAlpha:!1},d=Object.keys(E);function l(r){p.a.defaultsWithPropList(r,E,d),o(r);for(var n="",a=0;a<d.length;a++){var c=d[a],u=r[c].toString();n+=u}return n}function o(r){var n=g(r.width,r.height);r.format===C.a.DEPTH_COMPONENT&&(r.useMipmap=!1),(!n||!r.useMipmap)&&(r.minFilter==C.a.NEAREST_MIPMAP_NEAREST||r.minFilter==C.a.NEAREST_MIPMAP_LINEAR?r.minFilter=C.a.NEAREST:(r.minFilter==C.a.LINEAR_MIPMAP_LINEAR||r.minFilter==C.a.LINEAR_MIPMAP_NEAREST)&&(r.minFilter=C.a.LINEAR)),n||(r.wrapS=C.a.CLAMP_TO_EDGE,r.wrapT=C.a.CLAMP_TO_EDGE)}function g(r,n){return(r&r-1)===0&&(n&n-1)===0}P.a=m},function(k,P,_){"use strict";var B=_(0),C=_.n(B);P.a={getFilledRegions:function(p,m){var E=(p||[]).slice(),d;if(typeof m=="string"?(m=C.a.getMap(m),d=m&&m.geoJson):m&&m.features&&(d=m),!d)return console.error("Map "+m+" not exists. You can download map file on http://echarts.baidu.com/download-map.html"),d.features||console.error("Invalid GeoJSON for map3D"),[];for(var l={},o=d.features,g=0;g<E.length;g++)l[E[g].name]=E[g];for(var g=0;g<o.length;g++){var r=o[g].properties.name;l[r]||E.push({name:r})}return E},defaultOption:{show:!0,zlevel:-10,map:"",left:0,top:0,width:"100%",height:"100%",boxWidth:100,boxHeight:10,boxDepth:"auto",regionHeight:3,environment:"auto",groundPlane:{show:!1,color:"#aaa"},shading:"lambert",light:{main:{alpha:40,beta:30}},viewControl:{alpha:40,beta:0,distance:100,orthographicSize:60,minAlpha:5,minBeta:-80,maxBeta:80},label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}}},function(k,P,_){"use strict";function B(E,d,l){var o=E[d];E[d]=E[l],E[l]=o}function C(E,d,l,o,g){var r=l,n=E[d];B(E,d,o);for(var a=l;a<o;a++)g(E[a],n)<0&&(B(E,a,r),r++);return B(E,o,r),r}function p(E,d,l,o){if(l<o){var g=Math.floor((l+o)/2),r=C(E,g,l,o,d);p(E,d,l,r-1),p(E,d,r+1,o)}}function m(){this._parts=[]}m.prototype.step=function(E,d,l){var o=E.length;if(l===0){this._parts=[],this._sorted=!1;var g=Math.floor(o/2);this._parts.push({pivot:g,left:0,right:o-1}),this._currentSortPartIdx=0}if(!this._sorted){var r=this._parts;if(r.length===0)return this._sorted=!0,!0;if(r.length<512){for(var n=0;n<r.length;n++)r[n].pivot=C(E,r[n].pivot,r[n].left,r[n].right,d);for(var a=[],n=0;n<r.length;n++){var c=r[n].left,u=r[n].pivot-1;u>c&&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;n<Math.floor(r.length/10);n++){var s=r.length-1-this._currentSortPartIdx;if(p(E,d,r[s].left,r[s].right),this._currentSortPartIdx++,this._currentSortPartIdx===r.length)return this._sorted=!0,!0}return!1}},m.sort=p,P.a=m},function(k,P,_){"use strict";var B=_(83),C=_(0),p=_.n(C),m=_(41),E=_.n(m),d=_(20),l=_(3);function o(c,u){var s=c.getBoxLayoutParams(),v=E.a.getLayoutRect(s,{width:u.getWidth(),height:u.getHeight()});v.y=u.getHeight()-v.y-v.height,this.viewGL.setViewport(v.x,v.y,v.width,v.height,u.getDevicePixelRatio());var e=this.getGeoBoundingRect(),t=e.width/e.height*(c.get("aspectScale")||.75),i=c.get("boxWidth"),f=c.get("boxDepth"),y=c.get("boxHeight");y==null&&(y=5),isNaN(i)&&isNaN(f)&&(i=100),isNaN(f)?f=i/t:isNaN(i)&&(i=f/t),this.setSize(i,y,f),this.regionHeight=c.get("regionHeight"),this.altitudeAxis&&this.altitudeAxis.setExtent(0,Math.max(y-this.regionHeight,0))}function g(c,u){var s=[1/0,-1/0];if(c.eachSeries(function(e){if(e.coordinateSystem===this&&e.type!=="series.map3D"){var t=e.getData(),i=e.coordDimToDataDim("alt")[0];if(i){var f=t.getDataExtent(i,!0);s[0]=Math.min(s[0],f[0]),s[1]=Math.max(s[1],f[1])}}},this),s&&isFinite(s[1]-s[0])){var v=p.a.helper.createScale(s,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new p.a.Axis("altitude",v),this.resize(this.model,u)}}var r=function(c){console.error("Map "+c+" not exists. You can download map file on http://echarts.baidu.com/download-map.html")},n=0,a={dimensions:B.a.prototype.dimensions,create:function(c,u){var s=[];if(!p.a.getMap)throw new Error("geo3D component depends on geo component");function v(e,t){var i=a.createGeo3D(e);e.__viewGL=e.__viewGL||new d.a,i.viewGL=e.__viewGL,e.coordinateSystem=i,i.model=e,s.push(i),i.resize=o,i.resize(e,u),i.update=g}return c.eachComponent("geo3D",function(e,t){v(e,t)}),c.eachSeriesByType("map3D",function(e,t){var i=e.get("coordinateSystem");i==null&&(i="geo3D"),i==="geo3D"&&v(e,t)}),c.eachSeries(function(e){if(e.get("coordinateSystem")==="geo3D"){if(e.type==="series.map3D")return;var t=e.getReferringComponents("geo3D")[0];if(t||(t=c.getComponent("geo3D")),!t)throw new Error('geo "'+l.a.firstNotNull(e.get("geo3DIndex"),e.get("geo3DId"),0)+'" not found');e.coordinateSystem=t.coordinateSystem}}),s},createGeo3D:function(c){var u=c.get("map"),s;if(typeof u=="string"?(s=u,u=p.a.getMap(u)):u&&u.features&&(u={geoJson:u}),u||r(u),!u.geoJson.features)throw new Error("Invalid GeoJSON for map3D");return s==null&&(s="GEO_ANONYMOUS_"+n++),new B.a(s+n++,s,u&&u.geoJson,u&&u.specialAreas,c.get("nameMap"))}};p.a.registerCoordinateSystem("geo3D",a),P.a=a},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(1),m=_.n(p),E=_(187),d=_.n(E),l=_(188),o=_.n(l),g=m.a.vec3,r=m.a.mat4,n=[d.a,o.a];function a(c,u,s,v,e){this.name=c,this.map=u,this.regionHeight=0,this.regions=[],this._nameCoordMap={},this.loadGeoJson(s,v,e),this.transform=r.identity(new Float64Array(16)),this.invTransform=r.identity(new Float64Array(16)),this.extrudeY=!0,this.altitudeAxis}a.prototype={constructor:a,type:"geo3D",dimensions:["lng","lat","alt"],containPoint:function(){},loadGeoJson:function(c,u,s){var v=C.a.parseGeoJSON||C.a.parseGeoJson;try{this.regions=c?v(c):[]}catch(b){throw`Invalid geoJson format
|
|
|
`+b}u=u||{},s=s||{};for(var e=this.regions,t={},i=0;i<e.length;i++){var f=e[i].name;f=s[f]||f,e[i].name=f,t[f]=e[i],this.addGeoCoord(f,e[i].center);var y=u[f];y&&e[i].transformTo(y.left,y.top,y.width,y.height)}this._regionsMap=t,this._geoRect=null,n.forEach(function(b){b(this)},this)},getGeoBoundingRect:function(){if(this._geoRect)return this._geoRect;for(var c,u=this.regions,s=0;s<u.length;s++){var v=u[s].getBoundingRect();c=c||v.clone(),c.union(v)}return this._geoRect=c||new C.a.graphic.BoundingRect(0,0,0,0)},addGeoCoord:function(c,u){this._nameCoordMap[c]=u},getRegion:function(c){return this._regionsMap[c]},getRegionByCoord:function(c){for(var u=this.regions,s=0;s<u.length;s++)if(u[s].contain(c))return u[s]},setSize:function(c,u,s){this.size=[c,u,s];var v=this.getGeoBoundingRect(),e=c/v.width,t=-s/v.height,i=-c/2-v.x*e,f=s/2-v.y*t,y=this.extrudeY?[i,0,f]:[i,f,0],b=this.extrudeY?[e,1,t]:[e,t,1],x=this.transform;r.identity(x),r.translate(x,x,y),r.scale(x,x,b),r.invert(this.invTransform,x)},dataToPoint:function(c,u){u=u||[];var s=this.extrudeY?1:2,v=this.extrudeY?2:1,e=c[2];return isNaN(e)&&(e=0),u[0]=c[0],u[v]=c[1],this.altitudeAxis?u[s]=this.altitudeAxis.dataToCoord(e):u[s]=0,u[s]+=this.regionHeight,g.transformMat4(u,u,this.transform),u},pointToData:function(c,u){}},P.a=a},function(k,P,_){"use strict";var B=_(77),C=_.n(B),p=_(76),m=_.n(p);function E(d){this.viewGL=d}E.prototype.reset=function(d,l){this._updateCamera(l.getWidth(),l.getHeight(),l.getDevicePixelRatio()),this._viewTransform=C.a.create(),this.updateTransform(d,l)},E.prototype.updateTransform=function(d,l){var o=d.coordinateSystem;o.getRoamTransform&&(C.a.invert(this._viewTransform,o.getRoamTransform()),this._setCameraTransform(this._viewTransform),l.getZr().refresh())},E.prototype.dataToPoint=function(d,l,o){o=d.dataToPoint(l,null,o);var g=this._viewTransform;g&&m.a.applyTransform(o,o,g)},E.prototype.removeTransformInPoint=function(d){return this._viewTransform&&m.a.applyTransform(d,d,this._viewTransform),d},E.prototype.getZoom=function(){if(this._viewTransform){var d=this._viewTransform;return 1/Math.max(Math.sqrt(d[0]*d[0]+d[1]*d[1]),Math.sqrt(d[2]*d[2]+d[3]*d[3]))}return 1},E.prototype._setCameraTransform=function(d){var l=this.viewGL.camera;l.position.set(d[4],d[5],0),l.scale.set(Math.sqrt(d[0]*d[0]+d[1]*d[1]),Math.sqrt(d[2]*d[2]+d[3]*d[3]),1)},E.prototype._updateCamera=function(d,l,o){this.viewGL.setViewport(0,0,d,l,o);var g=this.viewGL.camera;g.left=g.top=0,g.bottom=l,g.right=d,g.near=0,g.far=100},P.a=E},function(k,P,_){(function(B){var C;typeof window!="undefined"?C=window.__DEV__:typeof B!="undefined"&&(C=B.__DEV__),typeof C=="undefined"&&(C=!0);var p=C;P.__DEV__=p}).call(P,_(243))},function(k,P,_){"use strict";var B=_(13),C=_(0),p=_.n(C),m=_(33),E=_(1),d=_.n(E),l=d.a.vec2,o=[[0,0],[1,1]],g=B.a.extend(function(){return{segmentScale:4,dynamic:!0,useNativeLine:!0,attributes:{position:new B.a.Attribute("position","float",2,"POSITION"),normal:new B.a.Attribute("normal","float",2),offset:new B.a.Attribute("offset","float",1),color:new B.a.Attribute("color","float",4,"COLOR")}}},{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(r){var n=this.attributes;this.vertexCount!==r&&(n.position.init(r),n.color.init(r),this.useNativeLine||(n.offset.init(r),n.normal.init(r)),r>65535?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),M=A*A,L=M*A,O=3*A,D=3*M,N=6*M,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,G=v,Y=e,le=(t-v)*O+U*D+K*L,Q=(i-e)*O+F*D+j*L,ve=U*N+K*I,xe=F*N+j*I,be=K*I,De=j*I,Ue=0,we=0,Ye=Math.ceil(1/A),Be=new Float32Array((Ye+1)*3),Be=[],ge=0,we=0;we<Ye+1;we++)Be[ge++]=G,Be[ge++]=Y,G+=le,Y+=Q,le+=ve,Q+=xe,ve+=be,xe+=De,Ue+=A,Ue>1&&(G=le>0?Math.min(G,b):Math.max(G,b),Y=Q>0?Math.min(Y,x):Math.max(Y,x));this.addPolyline(Be,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,M=this.attributes.color,L=this.attributes.offset,O=this.attributes.normal,D=this.indices,N=this._vertexOffset,I,U=0;U<y;U++){if(b)u=e[U+f],x?I=t[U+f]:I=t;else{var F=U*2+f;if(u=u||[],u[0]=e[F],u[1]=e[F+1],x){var K=U*4+f;I=I||[],I[0]=t[K],I[1]=t[K+1],I[2]=t[K+2],I[3]=t[K+3]}else I=t}if(this.useNativeLine)U>1&&(A.copy(N,N-1),M.copy(N,N-1),N++);else{var j;if(U<y-1){if(b)l.copy(s,e[U+1]);else{var F=(U+1)*2+f;s=s||[],s[0]=e[F],s[1]=e[F+1]}if(U>0){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 G=i/2*Math.min(1/l.dot(r,c),2);a[0]=-c[1],a[1]=c[0],j=G}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;O.set(N,a),O.set(N+1,a),L.set(N,j),L.set(N+1,-j),l.copy(v,u),A.set(N,u),A.set(N+1,u),M.set(N,I),M.set(N+1,I),N+=2}if(this.useNativeLine)M.set(N,I),A.set(N,u),N++;else if(U>0){var Y=this._faceOffset*3,D=this.indices;D[Y]=N-4,D[Y+1]=N-3,D[Y+2]=N-2,D[Y+3]=N-3,D[Y+4]=N-1,D[Y+5]=N-2,this._faceOffset+=2}}this._vertexOffset=N}}}}(),setItemColor:function(r,n){for(var a=this._itemVertexOffsets[r],c=r<this._itemVertexOffsets.length-1?this._itemVertexOffsets[r+1]:this._vertexOffset,u=a;u<c;u++)this.attributes.color.set(u,n);this.dirty("color")}});p.a.util.defaults(g.prototype,m.a),P.a=g},function(k,P,_){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var B=_(88),C=_(133),p=_(183),m=_(189),E=_(195),d=_(202),l=_(209),o=_(213),g=_(220),r=_(226),n=_(229),a=_(233),c=_(236),u=_(239),s=_(253),v=_(259)},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(89),m=_(90),E=_(101),d=_(2),l={version:"1.0.0",dependencies:{echarts:"4.0.0",claygl:"1.0.0"}},o=l.dependencies;function g(u){throw new Error(u+" version is too old, needs "+o[u]+" or higher")}function r(u,s){u.replace(".","")-0<o[s].replace(".","")-0&&g(s),console.log("Loaded "+s+", version "+u)}r(p.a,"claygl"),r(C.a.version,"echarts");function n(u){this._layers={},this._zr=u}n.prototype.update=function(u,s){var v=this,e=s.getZr();if(!e.getWidth()||!e.getHeight()){console.warn("Dom has no width or height");return}function t(y){var b;y.coordinateSystem&&y.coordinateSystem.model,b=y.get("zlevel");var x=v._layers,A=x[b];if(!A){if(A=x[b]=new m.a("gl-"+b,e),e.painter.isSingleCanvas()){A.virtual=!0;var M=new C.a.graphic.Image({z:1e4,style:{image:A.renderer.canvas},silent:!0});A.__hostImage=M,e.add(M)}e.painter.insertLayer(b,A)}return A.__hostImage&&A.__hostImage.setStyle({width:A.renderer.getWidth(),height:A.renderer.getHeight()}),A}function i(y,b){y&&y.traverse(function(x){x.isRenderable&&x.isRenderable()&&(x.ignorePicking=x.$ignorePicking!=null?x.$ignorePicking:b)})}for(var f in this._layers)this._layers[f].removeViewsAll();u.eachComponent(function(y,b){if(y!=="series"){var x=s.getViewOfComponentModel(b),A=b.coordinateSystem;if(x.__ecgl__){var M;if(A){if(!A.viewGL){console.error("Can't find viewGL in coordinateSystem of component "+b.id);return}M=A.viewGL}else{if(!b.viewGL){console.error("Can't find viewGL of component "+b.id);return}M=A.viewGL}var M=A.viewGL,L=t(b);L.addView(M),x.afterRender&&x.afterRender(b,u,s,L),i(x.groupGL,b.get("silent"))}}}),u.eachSeries(function(y){var b=s.getViewOfSeriesModel(y),x=y.coordinateSystem;if(b.__ecgl__){if(x&&!x.viewGL&&!b.viewGL){console.error("Can't find viewGL of series "+b.id);return}var A=x&&x.viewGL||b.viewGL,M=t(y);M.addView(A),b.afterRender&&b.afterRender(y,u,s,M),i(b.groupGL,y.get("silent"))}})};var a=C.a.init;C.a.init=function(){var u=a.apply(this,arguments);return u.getZr().painter.getRenderedCanvas=function(s){if(s=s||{},this._singleCanvas)return this._layers[0].dom;var v=document.createElement("canvas"),e=s.pixelRatio||this.dpr;v.width=this.getWidth()*e,v.height=this.getHeight()*e;var t=v.getContext("2d");t.dpr=e,t.clearRect(0,0,v.width,v.height),s.backgroundColor&&(t.fillStyle=s.backgroundColor,t.fillRect(0,0,v.width,v.height));var i=this.storage.getDisplayList(!0),f={},y,b=this;function x(O,D){var N=b._zlevelList;O==null&&(O=-1/0);for(var I,U=0;U<N.length;U++){var F=N[U],K=b._layers[F];if(!K.__builtin__&&F>O&&F<D){I=K;break}}I&&I.renderToCanvas&&(t.save(),I.renderToCanvas(t),t.restore())}for(var A={ctx:t},M=0;M<i.length;M++){var L=i[M];L.zlevel!==y&&(x(y,L.zlevel),y=L.zlevel),this._doPaintEl(L,A,!0,f)}return x(y,1/0),v},u},C.a.registerPostUpdate(function(u,s){var v=s.getZr(),e=v.__egl=v.__egl||new n(v);e.update(u,s)}),C.a.registerPreprocessor(E.a),C.a.graphicGL=d.a;var c=n},function(k,P,_){"use strict";P.a="1.0.0"},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(46),m=_(100),E=_(6),d=_(47),l=_(65),o=_.n(l),g=function(v,e){this.id=v,this.zr=e;try{this.renderer=new p.a({clearBit:0,devicePixelRatio:e.painter.dpr,preserveDrawingBuffer:!0,premultipliedAlpha:!0}),this.renderer.resize(e.painter.getWidth(),e.painter.getHeight())}catch(i){this.renderer=null,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute; left: 0; top: 0; right: 0; bottom: 0;",this.dom.className="ecgl-nowebgl",this.dom.innerHTML="Sorry, your browser does support WebGL",console.error(i);return}this.onglobalout=this.onglobalout.bind(this),e.on("globalout",this.onglobalout),this.dom=this.renderer.canvas;var t=this.dom.style;t.position="absolute",t.left="0",t.top="0",this.views=[],this._picking=new m.a({renderer:this.renderer}),this._viewsToDispose=[],this._accumulatingId=0,this._zrEventProxy=new C.a.graphic.Rect({shape:{x:-1,y:-1,width:2,height:2},__isGLToZRProxy:!0})};g.prototype.addView=function(v){if(v.layer!==this){var e=this._viewsToDispose.indexOf(v);e>=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;v<this.views.length;v++)this.views[v].prepareRender();this._doRender(!1),this._trackAndClean();for(var v=0;v<this._viewsToDispose.length;v++)this._viewsToDispose[v].dispose(this.renderer);this._viewsToDispose.length=0,this._startAccumulating()},g.prototype.renderToCanvas=function(v){this._startAccumulating(!0),v.drawImage(this.dom,0,0,v.canvas.width,v.canvas.height)},g.prototype._doRender=function(v){this.clear(),this.renderer.saveViewport();for(var e=0;e<this.views.length;e++)this.views[e].render(this.renderer,v);this.renderer.restoreViewport()},g.prototype._stopAccumulating=function(){this._accumulatingId=0,clearTimeout(this._accumulatingTimeout)};var n=1;g.prototype._startAccumulating=function(v){var e=this;this._stopAccumulating();for(var t=!1,i=0;i<this.views.length;i++)t=this.views[i].needsAccumulate()||t;if(!t)return;function f(y){if(!(!e._accumulatingId||y!==e._accumulatingId)){for(var b=!0,x=0;x<e.views.length;x++)b=e.views[x].isAccumulateFinished()&&t;b||(e._doRender(!0),v?f(y):o()(function(){f(y)}))}}this._accumulatingId=n++,v?f(e._accumulatingId):this._accumulatingTimeout=setTimeout(function(){f(e._accumulatingId)},50)},g.prototype._trackAndClean=function(){var v=[],e=[];this._textureList&&(a(this._textureList),a(this._geometriesList));for(var t=0;t<this.views.length;t++)s(this.views[t].scene,v,e);this._textureList&&(c(this.renderer,this._textureList),c(this.renderer,this._geometriesList)),this._textureList=v,this._geometriesList=e};function a(v){for(var e=0;e<v.length;e++)v[e].__used__=0}function c(v,e){for(var t=0;t<e.length;t++)e[t].__used__||e[t].dispose(v)}function u(v,e){v.__used__=v.__used__||0,v.__used__++,v.__used__===1&&e.push(v)}function s(v,e,t){function i(y){for(var b,x,A=0;A<y.length;A++){var M=y[A],L=M.geometry,O=M.material;if(O!==b)for(var D=O.getTextureUniforms(),N=0;N<D.length;N++){var I=D[N],U=O.uniforms[I].value;if(U){if(U instanceof E.a)u(U,e);else if(U instanceof Array)for(var F=0;F<U.length;F++)U[F]instanceof E.a&&u(U[F],e)}}L!==x&&u(L,t),b=O,x=L}}i(v.opaqueList),i(v.transparentList);for(var f=0;f<v.lights.length;f++)v.lights[f].cubemap&&u(v.lights[f].cubemap,e)}g.prototype.dispose=function(){this._stopAccumulating(),this.renderer.disposeScene(this.scene),this.zr.off("globalout",this.onglobalout)},g.prototype.onmousedown=function(v){if(!(v.target&&v.target.__isGLToZRProxy)){v=v.event;var e=this.pickObject(v.offsetX,v.offsetY);e&&(this._dispatchEvent("mousedown",v,e),this._dispatchDataEvent("mousedown",v,e)),this._downX=v.offsetX,this._downY=v.offsetY}},g.prototype.onmousemove=function(v){if(!(v.target&&v.target.__isGLToZRProxy)){v=v.event;var e=this.pickObject(v.offsetX,v.offsetY),t=e&&e.target,i=this._hovered;this._hovered=e,i&&t!==i.target&&(i.relatedTarget=t,this._dispatchEvent("mouseout",v,i),this.zr.setCursorStyle("default")),this._dispatchEvent("mousemove",v,e),e&&(this.zr.setCursorStyle("pointer"),(!i||t!==i.target)&&this._dispatchEvent("mouseover",v,e)),this._dispatchDataEvent("mousemove",v,e)}},g.prototype.onmouseup=function(v){if(!(v.target&&v.target.__isGLToZRProxy)){v=v.event;var e=this.pickObject(v.offsetX,v.offsetY);e&&(this._dispatchEvent("mouseup",v,e),this._dispatchDataEvent("mouseup",v,e)),this._upX=v.offsetX,this._upY=v.offsetY}},g.prototype.onclick=g.prototype.dblclick=function(v){if(!(v.target&&v.target.__isGLToZRProxy)){var e=this._upX-this._downX,t=this._upY-this._downY;if(!(Math.sqrt(e*e+t*t)>20)){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<this.views.length;y++){var b=this.views[y];b.containPoint(v,e)&&(this._picking.scene=b.scene,this._picking.camera=b.camera,i.viewport=b.viewport,this._picking.pickAll(v,e,t))}return i.viewport=f,t.sort(function(x,A){return x.distance-A.distance}),t[0]},g.prototype._dispatchEvent=function(v,e,t){t||(t={});var i=t.target;for(t.cancelBubble=!1,t.event=e,t.type=v,t.offsetX=e.offsetX,t.offsetY=e.offsetY;i&&(i.trigger(v,t),i=i.getParent(),!t.cancelBubble););this._dispatchToView(v,t)},g.prototype._dispatchDataEvent=function(v,e,t){var i=t&&t.target,f=i&&i.dataIndex,y=i&&i.seriesIndex,b=i&&i.eventData,x=!1,A=this._zrEventProxy;A.position=[e.offsetX,e.offsetY],A.update();var M={target:A};v==="mousemove"&&(f!=null?f!==this._lastDataIndex&&(parseInt(this._lastDataIndex,10)>=0&&(A.dataIndex=this._lastDataIndex,A.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(M,"mouseout",e)),x=!0):b!=null&&b!==this._lastEventData&&(this._lastEventData!=null&&(A.eventData=this._lastEventData,this.zr.handler.dispatchToElement(M,"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(M,v,e),x&&this.zr.handler.dispatchToElement(M,"mouseover",e))},g.prototype._dispatchToView=function(v,e){for(var t=0;t<this.views.length;t++)this.views[t].containPoint(e.offsetX,e.offsetY)&&this.views[t].trigger(v,e)},C.a.util.extend(g.prototype,d.a),P.a=g},function(k,P,_){"use strict";function B(m,E,d){typeof E=="object"&&(d=E,E=null);var l=this,o;if(!(m instanceof Function)){o=[];for(var g in m)m.hasOwnProperty(g)&&o.push(g)}var r=function(a){if(l.apply(this,arguments),m instanceof Function?C(this,m.call(this,a)):p(this,m,o),this.constructor===r)for(var c=r.__initializers__,u=0;u<c.length;u++)c[u].apply(this,arguments)};r.__super__=l,l.__initializers__?r.__initializers__=l.__initializers__.slice():r.__initializers__=[],E&&r.__initializers__.push(E);var n=function(){};return n.prototype=l.prototype,r.prototype=new n,r.prototype.constructor=r,C(r.prototype,d),r.extend=l.extend,r.derive=l.extend,r}function C(m,E){if(E)for(var d in E)E.hasOwnProperty(d)&&(m[d]=E[d])}function p(m,E,d){for(var l=0;l<d.length;l++){var o=d[l];m[o]=E[o]}}P.a={extend:B,derive:B}},function(k,P,_){"use strict";var B=["OES_texture_float","OES_texture_half_float","OES_texture_float_linear","OES_texture_half_float_linear","OES_standard_derivatives","OES_vertex_array_object","OES_element_index_uint","WEBGL_compressed_texture_s3tc","WEBGL_depth_texture","EXT_texture_filter_anisotropic","EXT_shader_texture_lod","WEBGL_draw_buffers","EXT_frag_depth","EXT_sRGB"],C=["MAX_TEXTURE_SIZE","MAX_CUBE_MAP_TEXTURE_SIZE"];function p(m){for(var E={},d={},l=0;l<B.length;l++){var o=B[l];r(o)}for(var l=0;l<C.length;l++){var g=C[l];d[g]=m.getParameter(m[g])}this.getExtension=function(n){return n in E||r(n),E[n]},this.getParameter=function(n){return d[n]};function r(n){var a=m.getExtension(n);a||(a=m.getExtension("MOZ_"+n)),a||(a=m.getExtension("WEBKIT_"+n)),E[n]=a}}P.a=p},function(k,P,_){"use strict";var B=_(94),C={},p={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function m(t){return t=Math.round(t),t<0?0:t>255?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)==="%"?m(parseFloat(t)/100*255):m(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 B.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 p)return a(i,p[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 M=y.substr(0,x),L=y.substr(x+1,A-(x+1)).split(","),O=1;switch(M){case"rgba":if(L.length!==4){n(i,0,0,0,1);return}O=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]),O),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,m(g(A,x,f+1/3)*255),m(g(A,x,f)*255),m(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,M=(x+b)/2,L,O;if(A===0)L=0,O=0;else{M<.5?O=A/(x+b):O=A/(2-x-b);var D=((x-i)/6+A/2)/A,N=((x-f)/6+A/2)/A,I=((x-y)/6+A/2)/A;i===x?L=I-N:f===x?L=1/3+D-I:y===x&&(L=2/3+N-D),L<0&&(L+=1),L>1&&(L-=1)}var U=[L*360,O,M];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],M=i[x],L=y-b;return f[0]=m(r(A[0],M[0],L)),f[1]=m(r(A[1],M[1],L)),f[2]=m(r(A[2],M[2],L)),f[3]=d(r(A[3],M[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]),M=C.parse(i[x]),L=y-b,O=C.stringify([m(r(A[0],M[0],L)),m(r(A[1],M[1],L)),m(r(A[2],M[2],L)),d(r(A[3],M[3],L))],"rgba");return f?{color:O,leftIndex:b,rightIndex:x,value:y}:O}},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 B=_(95),C=function(p){this._list=new B.a,this._map={},this._maxSize=p||10};C.prototype.setMaxSize=function(p){this._maxSize=p},C.prototype.put=function(p,m){if(typeof this._map[p]=="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(m);l.key=p,this._map[p]=l}},C.prototype.get=function(p){var m=this._map[p];if(typeof m!="undefined")return m!==this._list.tail&&(this._list.remove(m),this._list.insertEntry(m)),m.value},C.prototype.remove=function(p){var m=this._map[p];typeof m!="undefined"&&(delete this._map[p],this._list.remove(m))},C.prototype.clear=function(){this._list.clear(),this._map={}},P.a=C},function(k,P,_){"use strict";var B=function(){this.head=null,this.tail=null,this._length=0};B.prototype.insert=function(C){var p=new B.Entry(C);return this.insertEntry(p),p},B.prototype.insertAt=function(C,p){if(!(C<0)){for(var m=this.head,E=0;m&&E!=C;)m=m.next,E++;if(m){var d=new B.Entry(p),l=m.prev;l?(l.next=d,d.prev=l):this.head=d,d.next=m,m.prev=d}else this.insert(p)}},B.prototype.insertBeforeEntry=function(C,p){var m=new B.Entry(C),E=p.prev;E?(E.next=m,m.prev=E):this.head=m,m.next=p,p.prev=m,this._length++},B.prototype.insertEntry=function(C){this.head?(this.tail.next=C,C.prev=this.tail,this.tail=C):this.head=this.tail=C,this._length++},B.prototype.remove=function(C){var p=C.prev,m=C.next;p?p.next=m:this.head=m,m?m.prev=p:this.tail=p,C.next=C.prev=null,this._length--},B.prototype.removeAt=function(C){if(!(C<0)){for(var p=this.head,m=0;p&&m!=C;)p=p.next,m++;if(p)return this.remove(p),p.value}},B.prototype.getHead=function(){if(this.head)return this.head.value},B.prototype.getTail=function(){if(this.tail)return this.tail.value},B.prototype.getAt=function(C){if(!(C<0)){for(var p=this.head,m=0;p&&m!=C;)p=p.next,m++;return p.value}},B.prototype.indexOf=function(C){for(var p=this.head,m=0;p;){if(p.value===C)return m;p=p.next,m++}},B.prototype.length=function(){return this._length},B.prototype.isEmpty=function(){return this._length===0},B.prototype.forEach=function(C,p){for(var m=this.head,E=0,d=typeof p!="undefined";m;)d?C.call(p,m.value,E):C(m.value,E),m=m.next,E++},B.prototype.clear=function(){this.tail=this.head=null,this._length=0},B.Entry=function(C){this.value=C,this.next=null,this.prev=null},P.a=B},function(k,P,_){"use strict";var B=_(97),C=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function p(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);i<parseInt(v);i++)t+="{"+e.replace(/float\s*\(\s*_idx_\s*\)/g,i.toFixed(1)).replace(/_idx_/g,i)+"}";return t}var a={};for(var c in r)a[c+"_COUNT"]=r[c];return o.replace(C,n)}function m(o,g,r){var n=[];if(g)for(var a in g){var c=g[a];c>0&&n.push("#define "+a.toUpperCase()+"_COUNT "+c)}if(r)for(var u=0;u<r.length;u++){var s=r[u];n.push("#define "+s.toUpperCase()+"_ENABLED")}for(var s in o){var v=o[s];v===null?n.push("#define "+s):n.push("#define "+s+" "+v.toString())}return n.join(`
|
|
|
`)}function E(o){for(var g=[],r=0;r<o.length;r++)g.push("#extension GL_"+o[r]+" : enable");return g.join(`
|
|
|
`)}function d(o){return["precision",o,"float"].join(" ")+`;
|
|
|
`+["precision",o,"int"].join(" ")+`;
|
|
|
`+["precision",o,"sampler2D"].join(" ")+`;
|
|
|
`}function l(o){this._renderer=o,this._cache={}}l.prototype.getProgram=function(o,g,r){var n=this._cache,a="s"+g.shader.shaderID+"m"+g.programKey;r&&(a+="se"+r.getProgramKey(o.lightGroup)),o.isSkinnedMesh()&&(a+=","+o.joints.length);var A=n[a];if(A)return A;var c=r?r.getLightsNumbers(o.lightGroup):{},u=this._renderer,s=u.gl,v=g.getEnabledTextures(),e="";o.isSkinnedMesh()&&(e=`
|
|
|
`+m({SKINNING:null,JOINT_COUNT:o.joints.length})+`
|
|
|
`);var t=e+m(g.vertexDefines,c,v),i=e+m(g.fragmentDefines,c,v),f=t+`
|
|
|
`+g.shader.vertex,y=E(["OES_standard_derivatives","EXT_shader_texture_lod"])+`
|
|
|
`+d(g.precision)+`
|
|
|
`+i+`
|
|
|
`+g.shader.fragment,b=p(f,g.vertexDefines,c),x=p(y,g.fragmentDefines,c),A=new B.a;A.uniformSemantics=g.shader.uniformSemantics,A.attributes=g.shader.attributes;var M=A.buildProgram(s,g.shader,b,x);return A.__error=M,n[a]=A,A},P.a=l},function(k,P,_){"use strict";var B=_(18),C=_(8),p=1,m=2,E=3,d={};function l(r){for(var n=r.split(`
|
|
|
`),a=0,c=n.length;a<c;a++)n[a]=a+1+": "+n[a];return n.join(`
|
|
|
`)}function o(r,n,a){if(!r.getShaderParameter(n,r.COMPILE_STATUS))return[r.getShaderInfoLog(n),l(a)].join(`
|
|
|
`)}var g=C.a.extend({uniformSemantics:{},attributes:{}},function(){this._locations={},this._textureSlot=0,this._program=null},{bind:function(r){this._textureSlot=0,r.gl.useProgram(this._program)},hasUniform:function(r){var n=this._locations[r];return n!=null},useTextureSlot:function(r,n,a){n&&(r.gl.activeTexture(r.gl.TEXTURE0+a),n.isRenderable()?n.bind(r):n.unbind(r))},currentTextureSlot:function(){return this._textureSlot},resetTextureSlot:function(r){this._textureSlot=r||0},takeCurrentTextureSlot:function(r,n){var a=this._textureSlot;return this.useTextureSlot(r,n,a),this._textureSlot++,a},setUniform:function(r,n,a,c){var u=this._locations,s=u[a];if(s==null)return!1;switch(n){case"m4":r.uniformMatrix4fv(s,!1,c);break;case"2i":r.uniform2i(s,c[0],c[1]);break;case"2f":r.uniform2f(s,c[0],c[1]);break;case"3i":r.uniform3i(s,c[0],c[1],c[2]);break;case"3f":r.uniform3f(s,c[0],c[1],c[2]);break;case"4i":r.uniform4i(s,c[0],c[1],c[2],c[3]);break;case"4f":r.uniform4f(s,c[0],c[1],c[2],c[3]);break;case"1i":r.uniform1i(s,c);break;case"1f":r.uniform1f(s,c);break;case"1fv":r.uniform1fv(s,c);break;case"1iv":r.uniform1iv(s,c);break;case"2iv":r.uniform2iv(s,c);break;case"2fv":r.uniform2fv(s,c);break;case"3iv":r.uniform3iv(s,c);break;case"3fv":r.uniform3fv(s,c);break;case"4iv":r.uniform4iv(s,c);break;case"4fv":r.uniform4fv(s,c);break;case"m2":case"m2v":r.uniformMatrix2fv(s,!1,c);break;case"m3":case"m3v":r.uniformMatrix3fv(s,!1,c);break;case"m4v":if(Array.isArray(c)){for(var v=new B.a.Float32Array(c.length*16),e=0,t=0;t<c.length;t++)for(var i=c[t],f=0;f<16;f++)v[e++]=i[f];r.uniformMatrix4fv(s,!1,v)}else c instanceof B.a.Float32Array&&r.uniformMatrix4fv(s,!1,c);break}return!0},setUniformOfSemantic:function(r,n,a){var c=this.uniformSemantics[n];return c?this.setUniform(r,c.type,c.symbol,a):!1},enableAttributes:function(r,n,a){var c=r.gl,u=this._program,s=this._locations,v;a?v=a.__enabledAttributeList:v=d[r.__uid__],v||(a?v=a.__enabledAttributeList=[]:v=d[r.__uid__]=[]);for(var e=[],t=0;t<n.length;t++){var i=n[t];if(!this.attributes[i]){e[t]=-1;continue}var f=s[i];if(f==null){if(f=c.getAttribLocation(u,i),f===-1){e[t]=-1;continue}s[i]=f}e[t]=f,v[f]?v[f]=m:v[f]=p}for(var t=0;t<v.length;t++)switch(v[t]){case p:c.enableVertexAttribArray(t),v[t]=E;break;case m:v[t]=E;break;case E:c.disableVertexAttribArray(t),v[t]=0;break}return e},buildProgram:function(r,n,a,c){var u=r.createShader(r.VERTEX_SHADER),s=r.createProgram();r.shaderSource(u,a),r.compileShader(u);var v=r.createShader(r.FRAGMENT_SHADER);r.shaderSource(v,c),r.compileShader(v);var e=o(r,u,a);if(e||(e=o(r,v,c),e))return e;if(r.attachShader(s,u),r.attachShader(s,v),n.attributeSemantics.POSITION)r.bindAttribLocation(s,0,n.attributeSemantics.POSITION.symbol);else{var t=Object.keys(this.attributes);r.bindAttribLocation(s,0,t[0])}if(r.linkProgram(s),!r.getProgramParameter(s,r.LINK_STATUS))return`Could not link program
|
|
|
VALIDATE_STATUS: `+r.getProgramParameter(s,r.VALIDATE_STATUS)+", gl error ["+r.getError()+"]";for(var i=0;i<n.uniforms.length;i++){var f=n.uniforms[i];this._locations[f]=r.getUniformLocation(s,f)}r.deleteShader(u),r.deleteShader(v),this._program=s,this.vertexCode=a,this.fragmentCode=c}});P.a=g},function(k,P,_){"use strict";var B=_(99),C="uniform vec3 ",p="uniform float ",m="@export clay.header.",E="@end",d=":unconfigurable;";P.a=[m+"directional_light",C+"directionalLightDirection[DIRECTIONAL_LIGHT_COUNT]"+d,C+"directionalLightColor[DIRECTIONAL_LIGHT_COUNT]"+d,E,m+"ambient_light",C+"ambientLightColor[AMBIENT_LIGHT_COUNT]"+d,E,m+"ambient_sh_light",C+"ambientSHLightColor[AMBIENT_SH_LIGHT_COUNT]"+d,C+"ambientSHLightCoefficients[AMBIENT_SH_LIGHT_COUNT * 9]"+d,B.a,E,m+"ambient_cubemap_light",C+"ambientCubemapLightColor[AMBIENT_CUBEMAP_LIGHT_COUNT]"+d,"uniform samplerCube ambientCubemapLightCubemap[AMBIENT_CUBEMAP_LIGHT_COUNT]"+d,"uniform sampler2D ambientCubemapLightBRDFLookup[AMBIENT_CUBEMAP_LIGHT_COUNT]"+d,E,m+"point_light",C+"pointLightPosition[POINT_LIGHT_COUNT]"+d,p+"pointLightRange[POINT_LIGHT_COUNT]"+d,C+"pointLightColor[POINT_LIGHT_COUNT]"+d,E,m+"spot_light",C+"spotLightPosition[SPOT_LIGHT_COUNT]"+d,C+"spotLightDirection[SPOT_LIGHT_COUNT]"+d,p+"spotLightRange[SPOT_LIGHT_COUNT]"+d,p+"spotLightUmbraAngleCosine[SPOT_LIGHT_COUNT]"+d,p+"spotLightPenumbraAngleCosine[SPOT_LIGHT_COUNT]"+d,p+"spotLightFalloffFactor[SPOT_LIGHT_COUNT]"+d,C+"spotLightColor[SPOT_LIGHT_COUNT]"+d,E].join(`
|
|
|
`)},function(k,P,_){"use strict";P.a=`vec3 calcAmbientSHLight(int idx, vec3 N) {
|
|
|
int offset = 9 * idx;
|
|
|
return ambientSHLightCoefficients[0]
|
|
|
+ ambientSHLightCoefficients[1] * N.x
|
|
|
+ ambientSHLightCoefficients[2] * N.y
|
|
|
+ ambientSHLightCoefficients[3] * N.z
|
|
|
+ ambientSHLightCoefficients[4] * N.x * N.z
|
|
|
+ ambientSHLightCoefficients[5] * N.z * N.y
|
|
|
+ ambientSHLightCoefficients[6] * N.y * N.x
|
|
|
+ ambientSHLightCoefficients[7] * (3.0 * N.z * N.z - 1.0)
|
|
|
+ ambientSHLightCoefficients[8] * (N.x * N.x - N.y * N.y);
|
|
|
}`},function(k,P,_){"use strict";var B=_(8),C=_(49),p=_(23),m=_(4),E=_(9),d=_(64),l=_(11),o=_(1),g=_.n(o),r=g.a.vec3,n=B.a.extend({scene:null,camera:null,renderer:null},function(){this._ray=new C.a,this._ndc=new p.a},{pick:function(a,c,u){var s=this.pickAll(a,c,[],u);return s[0]||null},pickAll:function(a,c,u,s){return this.renderer.screenToNDC(a,c,this._ndc),this.camera.castRay(this._ndc,this._ray),u=u||[],this._intersectNode(this.scene,u,s||!1),u.sort(this._intersectionCompareFunc),u},_intersectNode:function(a,c,u){a instanceof d.a&&a.isRenderable()&&(!a.ignorePicking||u)&&(a.mode===l.a.TRIANGLES&&a.geometry.isUseIndices()||a.geometry.pickByRay||a.geometry.pick)&&this._intersectRenderable(a,c);for(var s=0;s<a._children.length;s++)this._intersectNode(a._children[s],c,u)},_intersectRenderable:function(){var a=new m.a,c=new m.a,u=new m.a,s=new C.a,v=new E.a;return function(e,t){var i=e.isSkinnedMesh();s.copy(this._ray),E.a.invert(v,e.worldTransform),i||s.applyTransform(v);var f=e.geometry;if(!(!i&&f.boundingBox&&!s.intersectBoundingBox(f.boundingBox))){if(f.pick){f.pick(this._ndc.x,this._ndc.y,this.renderer,this.camera,e,t);return}else if(f.pickByRay){f.pickByRay(s,e,t);return}var y=e.cullFace===l.a.BACK&&e.frontFace===l.a.CCW||e.cullFace===l.a.FRONT&&e.frontFace===l.a.CW,b,x=f.indices,A=f.attributes.position,M=f.attributes.weight,L=f.attributes.joint,O,D=[];if(!(!A||!A.value||!x)){if(i){O=e.skeleton.getSubSkinMatrices(e.__uid__,e.joints);for(var N=0;N<e.joints.length;N++){D[N]=D[N]||[];for(var I=0;I<16;I++)D[N][I]=O[N*16+I]}var U=[],F=[],K=[],j=[],G=[],Y=f.attributes.skinnedPosition;(!Y||!Y.value)&&(f.createAttribute("skinnedPosition","f",3),Y=f.attributes.skinnedPosition,Y.init(f.vertexCount));for(var N=0;N<f.vertexCount;N++){A.get(N,U),M.get(N,F),L.get(N,K),F[3]=1-F[0]-F[1]-F[2],r.set(j,0,0,0);for(var I=0;I<4;I++)K[I]>=0&&F[I]>1e-4&&(r.transformMat4(G,U,D[K[I]]),r.scaleAndAdd(j,j,G,F[I]));Y.set(N,j)}}for(var N=0;N<x.length;N+=3){var le=x[N],Q=x[N+1],ve=x[N+2],xe=i?f.attributes.skinnedPosition:A;if(xe.get(le,a.array),xe.get(Q,c.array),xe.get(ve,u.array),y?b=s.intersectTriangle(a,c,u,e.culling):b=s.intersectTriangle(a,u,c,e.culling),b){var be=new m.a;i?m.a.copy(be,b):m.a.transformMat4(be,b,e.worldTransform),t.push(new n.Intersection(b,be,e,[le,Q,ve],N/3,m.a.dist(be,this._ray.origin)))}}}}}}(),_intersectionCompareFunc:function(a,c){return a.distance-c.distance}});n.Intersection=function(a,c,u,s,v,e){this.point=a,this.pointWorld=c,this.target=u,this.triangle=s,this.triangleIndex=v,this.distance=e},P.a=n},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=["bar3D","line3D","map3D","scatter3D","surface","lines3D","scatterGL","scatter3D"];function m(l,o){if(l&&l[o]&&(l[o].normal||l[o].emphasis)){var g=l[o].normal,r=l[o].emphasis;g&&(l[o]=g),r&&(l.emphasis=l.emphasis||{},l.emphasis[o]=r)}}function E(l){m(l,"itemStyle"),m(l,"lineStyle"),m(l,"areaStyle"),m(l,"label")}function d(l){l&&(l instanceof Array||(l=[l]),C.a.util.each(l,function(o){if(o.axisLabel){var g=o.axisLabel;C.a.util.extend(g,g.textStyle),g.textStyle=null}}))}P.a=function(l){C.a.util.each(l.series,function(o){C.a.util.indexOf(p,o.type)>=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),m(l.geo3D)}},function(k,P,_){"use strict";function B(C){var p=new XMLHttpRequest;p.open("get",C.url),p.responseType=C.responseType||"text",C.onprogress&&(p.onprogress=function(m){if(m.lengthComputable){var E=m.loaded/m.total;C.onprogress(E,m.loaded,m.total)}else C.onprogress(null)}),p.onload=function(m){p.status>=400?C.onerror&&C.onerror():C.onload&&C.onload(p.response)},C.onerror&&(p.onerror=C.onerror),p.send(null)}P.a={get:B}},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 B=_(6),C=_(5),p=_(25),m=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,M=2,L=4,O=64,D=512,N=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"),G=I("DXT5"),Y=0,le=1,Q=2,ve=3,xe=4,be=7,De=20,Ue=21,we=27,Ye=28,Be=29,ge=30,He={parse:function(Fe,Pe){var We=new Int32Array(Fe,0,F);if(We[Y]!==m||!We(De)&L)return null;var Ne=We(Ue),V=We[xe],q=We[ve],ae=We[Ye]&v,te=We[Q]&r,oe,ee;switch(Ne){case K:oe=8,ee=B.a.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case j:oe=16,ee=B.a.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case G:oe=16,ee=B.a.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}var fe=We[le]+4,Ce=ae?6:1,re=1;te&&(re=Math.max(1,We[be]));for(var ce=[],lt=0;lt<Ce;lt++){var Qe=V,ht=q;ce[lt]=new C.a({width:Qe,height:ht,format:ee});for(var pt=[],$e=0;$e<re;$e++){var mt=Math.max(4,Qe)/4*Math.max(4,ht)/4*oe,Ve=new Uint8Array(Fe,fe,mt);fe+=mt,Qe*=.5,ht*=.5,pt[$e]=Ve}ce[lt].pixels=pt[0],te&&(ce[lt].mipmaps=pt)}if(Pe)Pe.width=ce[0].width,Pe.height=ce[0].height,Pe.format=ce[0].format,Pe.pixels=ce[0].pixels,Pe.mipmaps=ce[0].mipmaps;else return ce[0]}};P.a=He},function(k,P,_){"use strict";var B=_(6),C=_(5),p=String.fromCharCode,m=8,E=32767;function d(a,c,u,s){if(a[3]>0){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;v<u;v++)s+=p(a[v]);return s}function o(a,c){c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3]}function g(a,c,u,s){for(var v=0,e=0,t=s;t>0;)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]<<v>>>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(s<m|s>E)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;e<s;){var t=c[u++];if(t>128){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&&!(p(s[e])===`
|
|
|
`&&p(s[e+1])===`
|
|
|
`);e++);if(!(e>=v)){e+=2;for(var t="";e<v;e++){var i=p(s[e]);if(i===`
|
|
|
`)break;t+=i}var f=t.split(" "),y=parseInt(f[1]),b=parseInt(f[3]);if(!(!b||!y)){for(var x=e+1,A=[],M=0;M<b;M++){A[M]=[];for(var L=0;L<4;L++)A[M][L]=0}for(var O=new Float32Array(b*y*4),D=0,N=0;N<y;N++){var x=r(A,s,x,b);if(!x)return null;for(var M=0;M<b;M++)d(A[M],O,D,u),D+=4}return c||(c=new C.a),c.width=b,c.height=y,c.pixels=O,c.type=B.a.FLOAT,c}}}},parseRGBEFromPNG:function(a){}};P.a=n},function(k,P,_){"use strict";var B=_(5),C=_(4),p=_(23),m=["mousedown","mouseup","mousemove","mouseover","mouseout","click","dblclick","contextmenu"];function E(l){return"_on"+l}var d=function(l){var o=this;this._texture=new B.a({anisotropic:32,flipY:!1,surface:this,dispose:function(g){o.dispose(),B.a.prototype.dispose.call(this,g)}}),m.forEach(function(g){this[E(g)]=function(r){r.triangle&&this._meshes.forEach(function(n){this.dispatchEvent(g,n,r.triangle,r.point)},this)}},this),this._meshes=[],l&&this.setECharts(l),this.onupdate=null};d.prototype={constructor:d,getTexture:function(){return this._texture},setECharts:function(l){this._chart=l;var o=l.getDom();if(!(o instanceof HTMLCanvasElement))console.error("ECharts must init on canvas if it is used as texture."),o=document.createElement("canvas");else{var g=this,r=l.getZr(),n=r.__oldRefreshImmediately||r.refreshImmediately;r.refreshImmediately=function(){n.call(this),g._texture.dirty(),g.onupdate&&g.onupdate()},r.__oldRefreshImmediately=n}this._texture.image=o,this._texture.dirty(),this.onupdate&&this.onupdate()},dispatchEvent:function(){var l=new C.a,o=new C.a,g=new C.a,r=new p.a,n=new p.a,a=new p.a,c=new p.a,u=new C.a;return function(s,v,e,t){var i=v.geometry,f=i.attributes.position,y=i.attributes.texcoord0,b=C.a.dot,x=C.a.cross;f.get(e[0],l.array),f.get(e[1],o.array),f.get(e[2],g.array),y.get(e[0],r.array),y.get(e[1],n.array),y.get(e[2],a.array),x(u,o,g);var A=b(l,u),M=b(t,u)/A;x(u,g,l);var L=b(t,u)/A;x(u,l,o);var O=b(t,u)/A;p.a.scale(c,r,M),p.a.scaleAndAdd(c,c,n,L),p.a.scaleAndAdd(c,c,a,O);var D=c.x*this._chart.getWidth(),N=c.y*this._chart.getHeight();this._chart.getZr().handler.dispatch(s,{zrX:D,zrY:N})}}(),attachToMesh:function(l){this._meshes.indexOf(l)>=0||(m.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),m.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 B=_(19),C=_(108),p=B.a.extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(m,E){this._brdfLookup||(this._normalDistribution=C.a.generateNormalDistribution(),this._brdfLookup=C.a.integrateBRDF(m,this._normalDistribution));var d=this.cubemap;if(!d.__prefiltered){var l=C.a.prefilterEnvironmentMap(m,d,{encodeRGBM:!0,width:E,height:E},this._normalDistribution,this._brdfLookup);this.cubemap=l.environmentMap,this.cubemap.__prefiltered=!0,d.dispose(m)}},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientCubemapLightCubemap:{type:"t",value:function(m){return m.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(m){return m._brdfLookup}}}});P.a=p},function(k,P,_){"use strict";var B=_(5),C=_(25),p=_(6),m=_(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,M=new C.a({width:b,height:x,type:A,flipY:!1,mipmaps:[]});M.isPowerOfTwo()||console.warn("Width and height must be power of two to enable mipmap.");var L=Math.min(b,x),O=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 N=new g.a,I;if(t instanceof B.a){var U=new C.a({width:b,height:x,type:A===p.a.FLOAT?p.a.HALF_FLOAT:A});a.a.panoramaToCubeMap(e,t,U,{encodeRGBM:i.decodeRGBM}),t=U}I=new o.a({scene:N,material:D}),I.material.set("environmentMap",t);var F=new r.a({texture:M});i.encodeRGBM&&(A=M.type=p.a.UNSIGNED_BYTE);for(var K=new B.a({width:b,height:x,type:A}),j=new m.a({depthBuffer:!1}),G=n.a[A===p.a.UNSIGNED_BYTE?"Uint8Array":"Float32Array"],Y=0;Y<O;Y++){M.mipmaps[Y]={pixels:{}},I.material.set("roughness",Y/(v.length-1));for(var le=K.width,Q=2*Math.atan(le/(le-.5))/Math.PI*180,ve=0;ve<v.length;ve++){var xe=new G(K.width*K.height*4);j.attach(K),j.bind(e);var be=F.getCamera(v[ve]);be.fov=Q,e.render(N,be),e.gl.readPixels(0,0,K.width,K.height,p.a.RGBA,A,xe),j.unbind(e),M.mipmaps[Y].pixels[v[ve]]=xe}K.width/=2,K.height/=2,K.dirty()}return j.dispose(e),K.dispose(e),I.dispose(e),f.dispose(e),{environmentMap:M,brdfLookup:y,normalDistribution:f,maxMipmapLevel:O}},s.integrateBRDF=function(e,t){t=t||s.generateNormalDistribution();var i=new m.a({depthBuffer:!1}),f=new E.a({fragment:c.a}),y=new B.a({width:512,height:256,type:p.a.HALF_FLOAT,minFilter:p.a.NEAREST,magFilter:p.a.NEAREST,useMipmap:!1});return f.setUniform("normalDistribution",t),f.setUniform("viewportSize",[512,256]),f.attachOutput(y),f.render(e,i),i.dispose(e),y},s.generateNormalDistribution=function(i,f){for(var i=i||256,f=f||1024,y=new B.a({width:i,height:f,type:p.a.FLOAT,minFilter:p.a.NEAREST,magFilter:p.a.NEAREST,useMipmap:!1}),b=new Float32Array(f*i*4),x=0;x<f;x++){var A=x/f,M=(x<<16|x>>>16)>>>0;M=((M&1431655765)<<1|(M&2863311530)>>>1)>>>0,M=((M&858993459)<<2|(M&3435973836)>>>2)>>>0,M=((M&252645135)<<4|(M&4042322160)>>>4)>>>0,M=(((M&16711935)<<8|(M&4278255360)>>>8)>>>0)/4294967296;for(var L=0;L<i;L++){var O=L/i,D=O*O,N=2*Math.PI*A,I=Math.sqrt((1-M)/(1+(D*D-1)*M)),U=Math.sqrt(1-I*I),F=(x*i+L)*4;b[F]=U*Math.cos(N),b[F+1]=U*Math.sin(N),b[F+2]=I,b[F+3]=1}}return y.pixels=b,y},P.a=s},function(k,P,_){"use strict";P.a=`
|
|
|
@export clay.compositor.vertex
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
attribute vec3 position : POSITION;
|
|
|
attribute vec2 texcoord : TEXCOORD_0;
|
|
|
varying vec2 v_Texcoord;
|
|
|
void main()
|
|
|
{
|
|
|
v_Texcoord = texcoord;
|
|
|
gl_Position = worldViewProjection * vec4(position, 1.0);
|
|
|
}
|
|
|
@end`},function(k,P,_){"use strict";P.a=`@export clay.skybox.vertex
|
|
|
uniform mat4 world : WORLD;
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
attribute vec3 position : POSITION;
|
|
|
varying vec3 v_WorldPosition;
|
|
|
void main()
|
|
|
{
|
|
|
v_WorldPosition = (world * vec4(position, 1.0)).xyz;
|
|
|
gl_Position = worldViewProjection * vec4(position, 1.0);
|
|
|
}
|
|
|
@end
|
|
|
@export clay.skybox.fragment
|
|
|
uniform mat4 viewInverse : VIEWINVERSE;
|
|
|
uniform samplerCube environmentMap;
|
|
|
uniform float lod: 0.0;
|
|
|
varying vec3 v_WorldPosition;
|
|
|
@import clay.util.rgbm
|
|
|
@import clay.util.srgb
|
|
|
@import clay.util.ACES
|
|
|
void main()
|
|
|
{
|
|
|
vec3 eyePos = viewInverse[3].xyz;
|
|
|
vec3 viewDirection = normalize(v_WorldPosition - eyePos);
|
|
|
#ifdef LOD
|
|
|
vec4 texel = decodeHDR(textureCubeLodEXT(environmentMap, viewDirection, lod));
|
|
|
#else
|
|
|
vec4 texel = decodeHDR(textureCube(environmentMap, viewDirection));
|
|
|
#endif
|
|
|
#ifdef SRGB_DECODE
|
|
|
texel = sRGBToLinear(texel);
|
|
|
#endif
|
|
|
#ifdef TONEMAPPING
|
|
|
texel.rgb = ACESToneMapping(texel.rgb);
|
|
|
#endif
|
|
|
#ifdef SRGB_ENCODE
|
|
|
texel = linearTosRGB(texel);
|
|
|
#endif
|
|
|
gl_FragColor = encodeHDR(vec4(texel.rgb, 1.0));
|
|
|
}
|
|
|
@end`},function(k,P,_){"use strict";P.a=`#define SAMPLE_NUMBER 1024
|
|
|
#define PI 3.14159265358979
|
|
|
uniform sampler2D normalDistribution;
|
|
|
uniform vec2 viewportSize : [512, 256];
|
|
|
const vec3 N = vec3(0.0, 0.0, 1.0);
|
|
|
const float fSampleNumber = float(SAMPLE_NUMBER);
|
|
|
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;
|
|
|
}
|
|
|
float G_Smith(float roughness, float NoV, float NoL) {
|
|
|
float k = roughness * roughness / 2.0;
|
|
|
float G1V = NoV / (NoV * (1.0 - k) + k);
|
|
|
float G1L = NoL / (NoL * (1.0 - k) + k);
|
|
|
return G1L * G1V;
|
|
|
}
|
|
|
void main() {
|
|
|
vec2 uv = gl_FragCoord.xy / viewportSize;
|
|
|
float NoV = uv.x;
|
|
|
float roughness = uv.y;
|
|
|
vec3 V;
|
|
|
V.x = sqrt(1.0 - NoV * NoV);
|
|
|
V.y = 0.0;
|
|
|
V.z = NoV;
|
|
|
float A = 0.0;
|
|
|
float B = 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(L.z, 0.0, 1.0);
|
|
|
float NoH = clamp(H.z, 0.0, 1.0);
|
|
|
float VoH = clamp(dot(V, H), 0.0, 1.0);
|
|
|
if (NoL > 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 B=_(19),C=_(18),p=B.a.extend({castShadow:!1,coefficients:[]},function(){this._coefficientsTmpArr=new C.a.Float32Array(9*3)},{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(m){var E=m.color,d=m.intensity;return[E[0]*d,E[1]*d,E[2]*d]}},ambientSHLightCoefficients:{type:"3f",value:function(m){for(var E=m._coefficientsTmpArr,d=0;d<m.coefficients.length;d++)E[d]=m.coefficients[d];return E}}}});P.a=p},function(k,P,_){"use strict";var B=_(6),C=_(10),p=_(5),m=_(14),E=_(18),d=_(57),l=_(56),o=_(55),g=_(29),r=_(1),n=_.n(r),a=_(115),c=n.a.vec3,u={},s=["px","nx","py","ny","pz","nz"];function v(f,y){var b=new p.a({width:9,height:1,type:B.a.FLOAT}),x=new m.a({fragment:a.a});x.material.define("fragment","TEXTURE_SIZE",y.width),x.setUniform("environmentMap",y);var A=new C.a;A.attach(b),x.render(f,A),A.bind(f);var M=new E.a.Float32Array(9*4);f.gl.readPixels(0,0,9,1,B.a.RGBA,B.a.FLOAT,M);for(var L=new E.a.Float32Array(9*3),O=0;O<9;O++)L[O*3]=M[O*4],L[O*3+1]=M[O*4+1],L[O*3+2]=M[O*4+2];return A.unbind(f),A.dispose(f),x.dispose(f),L}function e(f,y){var b=f[0],x=f[1],A=f[2];return y===0?1:y===1?b:y===2?x:y===3?A:y===4?b*A:y===5?x*A:y===6?b*x:y===7?3*A*A-1:b*b-x*x}var t={px:[2,1,0,-1,-1,1],nx:[2,1,0,1,-1,-1],py:[0,2,1,1,-1,-1],ny:[0,2,1,1,1,1],pz:[0,1,2,-1,-1,-1],nz:[0,1,2,1,-1,1]};function i(f,y,b,x){for(var A=new E.a.Float32Array(27),M=c.create(),L=c.create(),O=c.create(),D=0;D<9;D++){for(var N=c.create(),I=0;I<s.length;I++){for(var U=y[s[I]],F=c.create(),K=0,j=0,G=t[s[I]],Y=0;Y<x;Y++)for(var le=0;le<b;le++){M[0]=le/(b-1)*2-1,M[1]=Y/(x-1)*2-1,M[2]=-1,c.normalize(M,M),O[0]=M[G[0]]*G[3],O[1]=M[G[1]]*G[4],O[2]=M[G[2]]*G[5],L[0]=U[j++]/255,L[1]=U[j++]/255,L[2]=U[j++]/255;var Q=U[j++]/255*51.5;L[0]*=Q,L[1]*=Q,L[2]*=Q,c.scaleAndAdd(F,F,L,e(O,D)*-M[2]),K+=-M[2]}c.scaleAndAdd(N,N,F,1/K)}A[D*3]=N[0]/6,A[D*3+1]=N[1]/6,A[D*3+2]=N[2]/6}return A}u.projectEnvironmentMap=function(f,y,b){b=b||{},b.lod=b.lod||0;var x,A=new g.a,M=64;y instanceof p.a?x=new l.a({scene:A,environmentMap:y}):(M=y.image&&y.image.px?y.image.px.width:y.width,x=new d.a({scene:A,environmentMap:y}));var L=Math.ceil(M/Math.pow(2,b.lod)),O=Math.ceil(M/Math.pow(2,b.lod)),D=new p.a({width:L,height:O}),N=new C.a;x.material.define("fragment","RGBM_ENCODE"),b.decodeRGBM&&x.material.define("fragment","RGBM_DECODE"),x.material.set("lod",b.lod);for(var I=new o.a({texture:D}),U={},F=0;F<s.length;F++){U[s[F]]=new Uint8Array(L*O*4);var K=I.getCamera(s[F]);K.fov=90,N.attach(D),N.bind(f),f.render(A,K),f.gl.readPixels(0,0,L,O,B.a.RGBA,B.a.UNSIGNED_BYTE,U[s[F]]),N.unbind(f)}return x.dispose(f),N.dispose(f),D.dispose(f),i(f,U,L,O)},P.a=u},function(k,P,_){"use strict";P.a=`uniform samplerCube environmentMap;
|
|
|
varying vec2 v_Texcoord;
|
|
|
#define TEXTURE_SIZE 16
|
|
|
mat3 front = mat3(
|
|
|
1.0, 0.0, 0.0,
|
|
|
0.0, 1.0, 0.0,
|
|
|
0.0, 0.0, 1.0
|
|
|
);
|
|
|
mat3 back = mat3(
|
|
|
-1.0, 0.0, 0.0,
|
|
|
0.0, 1.0, 0.0,
|
|
|
0.0, 0.0, -1.0
|
|
|
);
|
|
|
mat3 left = mat3(
|
|
|
0.0, 0.0, -1.0,
|
|
|
0.0, 1.0, 0.0,
|
|
|
1.0, 0.0, 0.0
|
|
|
);
|
|
|
mat3 right = mat3(
|
|
|
0.0, 0.0, 1.0,
|
|
|
0.0, 1.0, 0.0,
|
|
|
-1.0, 0.0, 0.0
|
|
|
);
|
|
|
mat3 up = mat3(
|
|
|
1.0, 0.0, 0.0,
|
|
|
0.0, 0.0, 1.0,
|
|
|
0.0, -1.0, 0.0
|
|
|
);
|
|
|
mat3 down = mat3(
|
|
|
1.0, 0.0, 0.0,
|
|
|
0.0, 0.0, -1.0,
|
|
|
0.0, 1.0, 0.0
|
|
|
);
|
|
|
float harmonics(vec3 normal){
|
|
|
int index = int(gl_FragCoord.x);
|
|
|
float x = normal.x;
|
|
|
float y = normal.y;
|
|
|
float z = normal.z;
|
|
|
if(index==0){
|
|
|
return 1.0;
|
|
|
}
|
|
|
else if(index==1){
|
|
|
return x;
|
|
|
}
|
|
|
else if(index==2){
|
|
|
return y;
|
|
|
}
|
|
|
else if(index==3){
|
|
|
return z;
|
|
|
}
|
|
|
else if(index==4){
|
|
|
return x*z;
|
|
|
}
|
|
|
else if(index==5){
|
|
|
return y*z;
|
|
|
}
|
|
|
else if(index==6){
|
|
|
return x*y;
|
|
|
}
|
|
|
else if(index==7){
|
|
|
return 3.0*z*z - 1.0;
|
|
|
}
|
|
|
else{
|
|
|
return x*x - y*y;
|
|
|
}
|
|
|
}
|
|
|
vec3 sampleSide(mat3 rot)
|
|
|
{
|
|
|
vec3 result = vec3(0.0);
|
|
|
float divider = 0.0;
|
|
|
for (int i = 0; i < TEXTURE_SIZE * TEXTURE_SIZE; i++) {
|
|
|
float x = mod(float(i), float(TEXTURE_SIZE));
|
|
|
float y = float(i / TEXTURE_SIZE);
|
|
|
vec2 sidecoord = ((vec2(x, y) + vec2(0.5, 0.5)) / vec2(TEXTURE_SIZE)) * 2.0 - 1.0;
|
|
|
vec3 normal = normalize(vec3(sidecoord, -1.0));
|
|
|
vec3 fetchNormal = rot * normal;
|
|
|
vec3 texel = textureCube(environmentMap, fetchNormal).rgb;
|
|
|
result += harmonics(fetchNormal) * texel * -normal.z;
|
|
|
divider += -normal.z;
|
|
|
}
|
|
|
return result / divider;
|
|
|
}
|
|
|
void main()
|
|
|
{
|
|
|
vec3 result = (
|
|
|
sampleSide(front) +
|
|
|
sampleSide(back) +
|
|
|
sampleSide(left) +
|
|
|
sampleSide(right) +
|
|
|
sampleSide(up) +
|
|
|
sampleSide(down)
|
|
|
) / 6.0;
|
|
|
gl_FragColor = vec4(result, 1.0);
|
|
|
}`},function(k,P,_){"use strict";var B=_(19),C=B.a.extend({castShadow:!1},{type:"AMBIENT_LIGHT",uniformTemplates:{ambientLightColor:{type:"3f",value:function(p){var m=p.color,E=p.intensity;return[m[0]*E,m[1]*E,m[2]*E]}}}});P.a=C},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.vec4,m=function(l,o,g,r){l=l||0,o=o||0,g=g||0,r=r||0,this.array=p.fromValues(l,o,g,r),this._dirty=!0};m.prototype={constructor:m,add:function(l){return p.add(this.array,this.array,l.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 m(this.x,this.y,this.z,this.w)},copy:function(l){return p.copy(this.array,l.array),this._dirty=!0,this},dist:function(l){return p.dist(this.array,l.array)},distance:function(l){return p.distance(this.array,l.array)},div:function(l){return p.div(this.array,this.array,l.array),this._dirty=!0,this},divide:function(l){return p.divide(this.array,this.array,l.array),this._dirty=!0,this},dot:function(l){return p.dot(this.array,l.array)},len:function(){return p.len(this.array)},length:function(){return p.length(this.array)},lerp:function(l,o,g){return p.lerp(this.array,l.array,o.array,g),this._dirty=!0,this},min:function(l){return p.min(this.array,this.array,l.array),this._dirty=!0,this},max:function(l){return p.max(this.array,this.array,l.array),this._dirty=!0,this},mul:function(l){return p.mul(this.array,this.array,l.array),this._dirty=!0,this},multiply:function(l){return p.multiply(this.array,this.array,l.array),this._dirty=!0,this},negate:function(){return p.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return p.normalize(this.array,this.array),this._dirty=!0,this},random:function(l){return p.random(this.array,l),this._dirty=!0,this},scale:function(l){return p.scale(this.array,this.array,l),this._dirty=!0,this},scaleAndAdd:function(l,o){return p.scaleAndAdd(this.array,this.array,l.array,o),this._dirty=!0,this},sqrDist:function(l){return p.sqrDist(this.array,l.array)},squaredDistance:function(l){return p.squaredDistance(this.array,l.array)},sqrLen:function(){return p.sqrLen(this.array)},squaredLength:function(){return p.squaredLength(this.array)},sub:function(l){return p.sub(this.array,this.array,l.array),this._dirty=!0,this},subtract:function(l){return p.subtract(this.array,this.array,l.array),this._dirty=!0,this},transformMat4:function(l){return p.transformMat4(this.array,this.array,l.array),this._dirty=!0,this},transformQuat:function(l){return p.transformQuat(this.array,this.array,l.array),this._dirty=!0,this},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=m.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}})}m.add=function(l,o,g){return p.add(l.array,o.array,g.array),l._dirty=!0,l},m.set=function(l,o,g,r,n){p.set(l.array,o,g,r,n),l._dirty=!0},m.copy=function(l,o){return p.copy(l.array,o.array),l._dirty=!0,l},m.dist=function(l,o){return p.distance(l.array,o.array)},m.distance=m.dist,m.div=function(l,o,g){return p.divide(l.array,o.array,g.array),l._dirty=!0,l},m.divide=m.div,m.dot=function(l,o){return p.dot(l.array,o.array)},m.len=function(l){return p.length(l.array)},m.lerp=function(l,o,g,r){return p.lerp(l.array,o.array,g.array,r),l._dirty=!0,l},m.min=function(l,o,g){return p.min(l.array,o.array,g.array),l._dirty=!0,l},m.max=function(l,o,g){return p.max(l.array,o.array,g.array),l._dirty=!0,l},m.mul=function(l,o,g){return p.multiply(l.array,o.array,g.array),l._dirty=!0,l},m.multiply=m.mul,m.negate=function(l,o){return p.negate(l.array,o.array),l._dirty=!0,l},m.normalize=function(l,o){return p.normalize(l.array,o.array),l._dirty=!0,l},m.random=function(l,o){return p.random(l.array,o),l._dirty=!0,l},m.scale=function(l,o,g){return p.scale(l.array,o.array,g),l._dirty=!0,l},m.scaleAndAdd=function(l,o,g,r){return p.scaleAndAdd(l.array,o.array,g.array,r),l._dirty=!0,l},m.sqrDist=function(l,o){return p.sqrDist(l.array,o.array)},m.squaredDistance=m.sqrDist,m.sqrLen=function(l){return p.sqrLen(l.array)},m.squaredLength=m.sqrLen,m.sub=function(l,o,g){return p.subtract(l.array,o.array,g.array),l._dirty=!0,l},m.subtract=m.sub,m.transformMat4=function(l,o,g){return p.transformMat4(l.array,o.array,g.array),l._dirty=!0,l},m.transformQuat=function(l,o,g){return p.transformQuat(l.array,o.array,g.array),l._dirty=!0,l},P.a=m},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.mat2,m=function(){this.array=p.create(),this._dirty=!0};m.prototype={constructor:m,setArray:function(E){for(var d=0;d<this.array.length;d++)this.array[d]=E[d];return this._dirty=!0,this},clone:function(){return new m().copy(this)},copy:function(E){return p.copy(this.array,E.array),this._dirty=!0,this},adjoint:function(){return p.adjoint(this.array,this.array),this._dirty=!0,this},determinant:function(){return p.determinant(this.array)},identity:function(){return p.identity(this.array),this._dirty=!0,this},invert:function(){return p.invert(this.array,this.array),this._dirty=!0,this},mul:function(E){return p.mul(this.array,this.array,E.array),this._dirty=!0,this},mulLeft:function(E){return p.mul(this.array,E.array,this.array),this._dirty=!0,this},multiply:function(E){return p.multiply(this.array,this.array,E.array),this._dirty=!0,this},multiplyLeft:function(E){return p.multiply(this.array,E.array,this.array),this._dirty=!0,this},rotate:function(E){return p.rotate(this.array,this.array,E),this._dirty=!0,this},scale:function(E){return p.scale(this.array,this.array,E.array),this._dirty=!0,this},transpose:function(){return p.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},m.adjoint=function(E,d){return p.adjoint(E.array,d.array),E._dirty=!0,E},m.copy=function(E,d){return p.copy(E.array,d.array),E._dirty=!0,E},m.determinant=function(E){return p.determinant(E.array)},m.identity=function(E){return p.identity(E.array),E._dirty=!0,E},m.invert=function(E,d){return p.invert(E.array,d.array),E._dirty=!0,E},m.mul=function(E,d,l){return p.mul(E.array,d.array,l.array),E._dirty=!0,E},m.multiply=m.mul,m.rotate=function(E,d,l){return p.rotate(E.array,d.array,l),E._dirty=!0,E},m.scale=function(E,d,l){return p.scale(E.array,d.array,l.array),E._dirty=!0,E},m.transpose=function(E,d){return p.transpose(E.array,d.array),E._dirty=!0,E},P.a=m},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.mat2d,m=function(){this.array=p.create(),this._dirty=!0};m.prototype={constructor:m,setArray:function(E){for(var d=0;d<this.array.length;d++)this.array[d]=E[d];return this._dirty=!0,this},clone:function(){return new m().copy(this)},copy:function(E){return p.copy(this.array,E.array),this._dirty=!0,this},determinant:function(){return p.determinant(this.array)},identity:function(){return p.identity(this.array),this._dirty=!0,this},invert:function(){return p.invert(this.array,this.array),this._dirty=!0,this},mul:function(E){return p.mul(this.array,this.array,E.array),this._dirty=!0,this},mulLeft:function(E){return p.mul(this.array,E.array,this.array),this._dirty=!0,this},multiply:function(E){return p.multiply(this.array,this.array,E.array),this._dirty=!0,this},multiplyLeft:function(E){return p.multiply(this.array,E.array,this.array),this._dirty=!0,this},rotate:function(E){return p.rotate(this.array,this.array,E),this._dirty=!0,this},scale:function(E){return p.scale(this.array,this.array,E.array),this._dirty=!0,this},translate:function(E){return p.translate(this.array,this.array,E.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},m.copy=function(E,d){return p.copy(E.array,d.array),E._dirty=!0,E},m.determinant=function(E){return p.determinant(E.array)},m.identity=function(E){return p.identity(E.array),E._dirty=!0,E},m.invert=function(E,d){return p.invert(E.array,d.array),E._dirty=!0,E},m.mul=function(E,d,l){return p.mul(E.array,d.array,l.array),E._dirty=!0,E},m.multiply=m.mul,m.rotate=function(E,d,l){return p.rotate(E.array,d.array,l),E._dirty=!0,E},m.scale=function(E,d,l){return p.scale(E.array,d.array,l.array),E._dirty=!0,E},m.translate=function(E,d,l){return p.translate(E.array,d.array,l.array),E._dirty=!0,E},P.a=m},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.mat3,m=function(){this.array=p.create(),this._dirty=!0};m.prototype={constructor:m,setArray:function(E){for(var d=0;d<this.array.length;d++)this.array[d]=E[d];return this._dirty=!0,this},adjoint:function(){return p.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return new m().copy(this)},copy:function(E){return p.copy(this.array,E.array),this._dirty=!0,this},determinant:function(){return p.determinant(this.array)},fromMat2d:function(E){return p.fromMat2d(this.array,E.array),this._dirty=!0,this},fromMat4:function(E){return p.fromMat4(this.array,E.array),this._dirty=!0,this},fromQuat:function(E){return p.fromQuat(this.array,E.array),this._dirty=!0,this},identity:function(){return p.identity(this.array),this._dirty=!0,this},invert:function(){return p.invert(this.array,this.array),this._dirty=!0,this},mul:function(E){return p.mul(this.array,this.array,E.array),this._dirty=!0,this},mulLeft:function(E){return p.mul(this.array,E.array,this.array),this._dirty=!0,this},multiply:function(E){return p.multiply(this.array,this.array,E.array),this._dirty=!0,this},multiplyLeft:function(E){return p.multiply(this.array,E.array,this.array),this._dirty=!0,this},rotate:function(E){return p.rotate(this.array,this.array,E),this._dirty=!0,this},scale:function(E){return p.scale(this.array,this.array,E.array),this._dirty=!0,this},translate:function(E){return p.translate(this.array,this.array,E.array),this._dirty=!0,this},normalFromMat4:function(E){return p.normalFromMat4(this.array,E.array),this._dirty=!0,this},transpose:function(){return p.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},m.adjoint=function(E,d){return p.adjoint(E.array,d.array),E._dirty=!0,E},m.copy=function(E,d){return p.copy(E.array,d.array),E._dirty=!0,E},m.determinant=function(E){return p.determinant(E.array)},m.identity=function(E){return p.identity(E.array),E._dirty=!0,E},m.invert=function(E,d){return p.invert(E.array,d.array),E},m.mul=function(E,d,l){return p.mul(E.array,d.array,l.array),E._dirty=!0,E},m.multiply=m.mul,m.fromMat2d=function(E,d){return p.fromMat2d(E.array,d.array),E._dirty=!0,E},m.fromMat4=function(E,d){return p.fromMat4(E.array,d.array),E._dirty=!0,E},m.fromQuat=function(E,d){return p.fromQuat(E.array,d.array),E._dirty=!0,E},m.normalFromMat4=function(E,d){return p.normalFromMat4(E.array,d.array),E._dirty=!0,E},m.rotate=function(E,d,l){return p.rotate(E.array,d.array,l),E._dirty=!0,E},m.scale=function(E,d,l){return p.scale(E.array,d.array,l.array),E._dirty=!0,E},m.transpose=function(E,d){return p.transpose(E.array,d.array),E._dirty=!0,E},m.translate=function(E,d,l){return p.translate(E.array,d.array,l.array),E._dirty=!0,E},P.a=m},function(k,P,_){"use strict";var B=_(122),C=_.n(B),p={_animators:null,getAnimators:function(){return this._animators=this._animators||[],this._animators},animate:function(m,E){this._animators=this._animators||[];var d=this,l;if(m){for(var o=m.split("."),g=d,r=0,n=o.length;r<n;r++)g&&(g=g[o[r]]);g&&(l=g)}else l=d;if(l==null)throw new Error("Target "+m+" not exists");var a=this._animators,c=new C.a(l,E),u=this;return c.during(function(){u.__zr&&u.__zr.refresh()}).done(function(){var s=a.indexOf(c);s>=0&&a.splice(s,1)}),a.push(c),this.__zr&&this.__zr.animation.addAnimator(c),c},stopAnimation:function(m){this._animators=this._animators||[];for(var E=this._animators,d=E.length,l=0;l<d;l++)E[l].stop(m);return E.length=0,this},addAnimatorsToZr:function(m){if(this._animators)for(var E=0;E<this._animators.length;E++)m.animation.addAnimator(this._animators[E])},removeAnimatorsFromZr:function(m){if(this._animators)for(var E=0;E<this._animators.length;E++)m.animation.removeAnimator(this._animators[E])}};P.a=p},function(k,P,_){var B=_(123),C=_(125),p=_(12),m=p.isArrayLike,E=Array.prototype.slice;function d(y,b){return y[b]}function l(y,b,x){y[b]=x}function o(y,b,x){return(b-y)*x+y}function g(y,b,x){return x>.5?b:y}function r(y,b,x,A,M){var L=y.length;if(M==1)for(var O=0;O<L;O++)A[O]=o(y[O],b[O],x);else for(var D=L&&y[0].length,O=0;O<L;O++)for(var N=0;N<D;N++)A[O][N]=o(y[O][N],b[O][N],x)}function n(y,b,x){var A=y.length,M=b.length;if(A!==M){var L=A>M;if(L)y.length=M;else for(var O=A;O<M;O++)y.push(x===1?b[O]:E.call(b[O]))}for(var D=y[0]&&y[0].length,O=0;O<y.length;O++)if(x===1)isNaN(y[O])&&(y[O]=b[O]);else for(var N=0;N<D;N++)isNaN(y[O][N])&&(y[O][N]=b[O][N])}function a(y,b,x){if(y===b)return!0;var A=y.length;if(A!==b.length)return!1;if(x===1){for(var M=0;M<A;M++)if(y[M]!==b[M])return!1}else for(var L=y[0].length,M=0;M<A;M++)for(var O=0;O<L;O++)if(y[M][O]!==b[M][O])return!1;return!0}function c(y,b,x,A,M,L,O,D,N){var I=y.length;if(N==1)for(var U=0;U<I;U++)D[U]=u(y[U],b[U],x[U],A[U],M,L,O);else for(var F=y[0].length,U=0;U<I;U++)for(var K=0;K<F;K++)D[U][K]=u(y[U][K],b[U][K],x[U][K],A[U][K],M,L,O)}function u(y,b,x,A,M,L,O){var D=(x-y)*.5,N=(A-b)*.5;return(2*(b-x)+D+N)*O+(-3*(b-x)-2*D-N)*L+D*M+b}function s(y){if(m(y)){var b=y.length;if(m(y[0])){for(var x=[],A=0;A<b;A++)x.push(E.call(y[A]));return x}return E.call(y)}return y}function v(y){return y[0]=Math.floor(y[0]),y[1]=Math.floor(y[1]),y[2]=Math.floor(y[2]),"rgba("+y.join(",")+")"}function e(y){var b=y[y.length-1].value;return m(b&&b[0])?2:1}function t(y,b,x,A,M,L){var O=y._getter,D=y._setter,N=b==="spline",I=A.length;if(I){var U=A[0].value,F=m(U),K=!1,j=!1,G=F?e(A):0,Y;A.sort(function(te,oe){return te.time-oe.time}),Y=A[I-1].time;for(var le=[],Q=[],ve=A[0].value,xe=!0,be=0;be<I;be++){le.push(A[be].time/Y);var De=A[be].value;if(F&&a(De,ve,G)||!F&&De===ve||(xe=!1),ve=De,typeof De=="string"){var Ue=C.parse(De);Ue?(De=Ue,K=!0):j=!0}Q.push(De)}if(!(!L&&xe)){for(var we=Q[I-1],be=0;be<I-1;be++)F?n(Q[be],we,G):isNaN(Q[be])&&!isNaN(we)&&!j&&!K&&(Q[be]=we);F&&n(O(y._target,M),we,G);var Ye=0,Be=0,ge,He,Fe,Pe,We,Ne;if(K)var V=[0,0,0,0];var q=function(te,oe){var ee;if(oe<0)ee=0;else if(oe<Be){for(ge=Math.min(Ye+1,I-1),ee=ge;ee>=0&&!(le[ee]<=oe);ee--);ee=Math.min(ee,I-2)}else{for(ee=Ye;ee<I&&!(le[ee]>oe);ee++);ee=Math.min(ee-1,I-2)}Ye=ee,Be=oe;var fe=le[ee+1]-le[ee];if(fe!==0)if(He=(oe-le[ee])/fe,N)if(Pe=Q[ee],Fe=Q[ee===0?ee:ee-1],We=Q[ee>I-2?I-1:ee+1],Ne=Q[ee>I-3?I-1:ee+2],F)c(Fe,Pe,We,Ne,He,He*He,He*He*He,O(te,M),G);else{var Ce;if(K)Ce=c(Fe,Pe,We,Ne,He,He*He,He*He*He,V,1),Ce=v(V);else{if(j)return g(Pe,We,He);Ce=u(Fe,Pe,We,Ne,He,He*He,He*He*He)}D(te,M,Ce)}else if(F)r(Q[ee],Q[ee+1],He,O(te,M),G);else{var Ce;if(K)r(Q[ee],Q[ee+1],He,V,1),Ce=v(V);else{if(j)return g(Q[ee],Q[ee+1],He);Ce=o(Q[ee],Q[ee+1],He)}D(te,M,Ce)}},ae=new B({target:y._target,life:Y,loop:y._loop,delay:y._delay,onframe:q,ondestroy:x});return b&&b!=="spline"&&(ae.easing=b),ae}}}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 M=this._getter(this._target,A);if(M==null)continue;y!==0&&x[A].push({time:0,value:s(M)})}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;y<this._clipList.length;y++)this._clipList[y].pause();this._paused=!0},resume:function(){for(var y=0;y<this._clipList.length;y++)this._clipList[y].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var y=this._doneList,b=y.length,x=0;x<b;x++)y[x].call(this)},start:function(y,b){var x=this,A=0,M=function(){A--,A||x._doneCallback()},L;for(var O in this._tracks)if(this._tracks.hasOwnProperty(O)){var D=t(this,y,M,this._tracks[O],O,b);D&&(this._clipList.push(D),A++,this.animation&&this.animation.addClip(D),L=D)}if(L){var N=L.onframe;L.onframe=function(I,U){N(I,U);for(var F=0;F<x._onframeList.length;F++)x._onframeList[F](I,U)}}return A||this._doneCallback(),this},stop:function(y){for(var b=this._clipList,x=this.animation,A=0;A<b.length;A++){var M=b[A];y&&M.onframe(this._target,1),x&&x.removeClip(M)}b.length=0},delay:function(y){return this._delay=y,this},done:function(y){return y&&this._doneList.push(y),this},getClips:function(){return this._clipList}};var f=i;k.exports=f},function(k,P,_){var B=_(124);function C(m){this._target=m.target,this._life=m.life||1e3,this._delay=m.delay||0,this._initialized=!1,this.loop=m.loop==null?!1:m.loop,this.gap=m.gap||0,this.easing=m.easing||"Linear",this.onframe=m.onframe,this.ondestroy=m.ondestroy,this.onrestart=m.onrestart,this._pausedTime=0,this._paused=!1}C.prototype={constructor:C,step:function(m,E){if(this._initialized||(this._startTime=m+this._delay,this._initialized=!0),this._paused){this._pausedTime+=E;return}var d=(m-this._startTime-this._pausedTime)/this._life;if(!(d<0)){d=Math.min(d,1);var l=this.easing,o=typeof l=="string"?B[l]:l,g=typeof o=="function"?o(d):d;return this.fire("frame",g),d==1?this.loop?(this.restart(m),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(m){var E=(m-this._startTime-this._pausedTime)%this._life;this._startTime=m-E+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(m,E){m="on"+m,this[m]&&this[m](this._target,E)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var p=C;k.exports=p},function(k,P){var _={linear:function(C){return C},quadraticIn:function(C){return C*C},quadraticOut:function(C){return C*(2-C)},quadraticInOut:function(C){return(C*=2)<1?.5*C*C:-.5*(--C*(C-2)-1)},cubicIn:function(C){return C*C*C},cubicOut:function(C){return--C*C*C+1},cubicInOut:function(C){return(C*=2)<1?.5*C*C*C:.5*((C-=2)*C*C+2)},quarticIn:function(C){return C*C*C*C},quarticOut:function(C){return 1- --C*C*C*C},quarticInOut:function(C){return(C*=2)<1?.5*C*C*C*C:-.5*((C-=2)*C*C*C-2)},quinticIn:function(C){return C*C*C*C*C},quinticOut:function(C){return--C*C*C*C*C+1},quinticInOut:function(C){return(C*=2)<1?.5*C*C*C*C*C:.5*((C-=2)*C*C*C*C+2)},sinusoidalIn:function(C){return 1-Math.cos(C*Math.PI/2)},sinusoidalOut:function(C){return Math.sin(C*Math.PI/2)},sinusoidalInOut:function(C){return .5*(1-Math.cos(Math.PI*C))},exponentialIn:function(C){return C===0?0:Math.pow(1024,C-1)},exponentialOut:function(C){return C===1?1:1-Math.pow(2,-10*C)},exponentialInOut:function(C){return C===0?0:C===1?1:(C*=2)<1?.5*Math.pow(1024,C-1):.5*(-Math.pow(2,-10*(C-1))+2)},circularIn:function(C){return 1-Math.sqrt(1-C*C)},circularOut:function(C){return Math.sqrt(1- --C*C)},circularInOut:function(C){return(C*=2)<1?-.5*(Math.sqrt(1-C*C)-1):.5*(Math.sqrt(1-(C-=2)*C)+1)},elasticIn:function(C){var p,m=.1,E=.4;return C===0?0:C===1?1:(!m||m<1?(m=1,p=E/4):p=E*Math.asin(1/m)/(2*Math.PI),-(m*Math.pow(2,10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/E)))},elasticOut:function(C){var p,m=.1,E=.4;return C===0?0:C===1?1:(!m||m<1?(m=1,p=E/4):p=E*Math.asin(1/m)/(2*Math.PI),m*Math.pow(2,-10*C)*Math.sin((C-p)*(2*Math.PI)/E)+1)},elasticInOut:function(C){var p,m=.1,E=.4;return C===0?0:C===1?1:(!m||m<1?(m=1,p=E/4):p=E*Math.asin(1/m)/(2*Math.PI),(C*=2)<1?-.5*(m*Math.pow(2,10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/E)):m*Math.pow(2,-10*(C-=1))*Math.sin((C-p)*(2*Math.PI)/E)*.5+1)},backIn:function(C){var p=1.70158;return C*C*((p+1)*C-p)},backOut:function(C){var p=1.70158;return--C*C*((p+1)*C+p)+1},backInOut:function(C){var p=2.5949095;return(C*=2)<1?.5*(C*C*((p+1)*C-p)):.5*((C-=2)*C*((p+1)*C+p)+2)},bounceIn:function(C){return 1-_.bounceOut(1-C)},bounceOut:function(C){return C<.36363636363636365?7.5625*C*C:C<.7272727272727273?7.5625*(C-=.5454545454545454)*C+.75:C<.9090909090909091?7.5625*(C-=.8181818181818182)*C+.9375:7.5625*(C-=.9545454545454546)*C+.984375},bounceInOut:function(C){return C<.5?_.bounceIn(C*2)*.5:_.bounceOut(C*2-1)*.5+.5}},B=_;k.exports=B},function(k,P,_){var B=_(53),C={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function p(O){return O=Math.round(O),O<0?0:O>255?255:O}function m(O){return O=Math.round(O),O<0?0:O>360?360:O}function E(O){return O<0?0:O>1?1:O}function d(O){return O.length&&O.charAt(O.length-1)==="%"?p(parseFloat(O)/100*255):p(parseInt(O,10))}function l(O){return O.length&&O.charAt(O.length-1)==="%"?E(parseFloat(O)/100):E(parseFloat(O))}function o(O,D,N){return N<0?N+=1:N>1&&(N-=1),N*6<1?O+(D-O)*N*6:N*2<1?D:N*3<2?O+(D-O)*(2/3-N)*6:O}function g(O,D,N){return O+(D-O)*N}function r(O,D,N,I,U){return O[0]=D,O[1]=N,O[2]=I,O[3]=U,O}function n(O,D){return O[0]=D[0],O[1]=D[1],O[2]=D[2],O[3]=D[3],O}var a=new B(20),c=null;function u(O,D){c&&n(c,D),c=a.put(O,c||D.slice())}function s(O,D){if(O){D=D||[];var N=a.get(O);if(N)return n(D,N);O=O+"";var I=O.replace(/ /g,"").toLowerCase();if(I in C)return n(D,C[I]),u(O,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(O,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(O,D),D}return}var F=I.indexOf("("),K=I.indexOf(")");if(F!==-1&&K+1===I.length){var j=I.substr(0,F),G=I.substr(F+1,K-(F+1)).split(","),Y=1;switch(j){case"rgba":if(G.length!==4){r(D,0,0,0,1);return}Y=l(G.pop());case"rgb":if(G.length!==3){r(D,0,0,0,1);return}return r(D,d(G[0]),d(G[1]),d(G[2]),Y),u(O,D),D;case"hsla":if(G.length!==4){r(D,0,0,0,1);return}return G[3]=l(G[3]),v(G,D),u(O,D),D;case"hsl":if(G.length!==3){r(D,0,0,0,1);return}return v(G,D),u(O,D),D;default:return}}r(D,0,0,0,1)}}function v(O,D){var N=(parseFloat(O[0])%360+360)%360/360,I=l(O[1]),U=l(O[2]),F=U<=.5?U*(I+1):U+I-U*I,K=U*2-F;return D=D||[],r(D,p(o(K,F,N+1/3)*255),p(o(K,F,N)*255),p(o(K,F,N-1/3)*255),1),O.length===4&&(D[3]=O[3]),D}function e(O){if(O){var D=O[0]/255,N=O[1]/255,I=O[2]/255,U=Math.min(D,N,I),F=Math.max(D,N,I),K=F-U,j=(F+U)/2,G,Y;if(K===0)G=0,Y=0;else{j<.5?Y=K/(F+U):Y=K/(2-F-U);var le=((F-D)/6+K/2)/K,Q=((F-N)/6+K/2)/K,ve=((F-I)/6+K/2)/K;D===F?G=ve-Q:N===F?G=1/3+le-ve:I===F&&(G=2/3+Q-le),G<0&&(G+=1),G>1&&(G-=1)}var xe=[G*360,Y,j];return O[3]!=null&&xe.push(O[3]),xe}}function t(O,D){var N=s(O);if(N){for(var I=0;I<3;I++)D<0?N[I]=N[I]*(1-D)|0:N[I]=(255-N[I])*D+N[I]|0;return L(N,N.length===4?"rgba":"rgb")}}function i(O){var D=s(O);if(D)return((1<<24)+(D[0]<<16)+(D[1]<<8)+ +D[2]).toString(16).slice(1)}function f(O,D,N){if(!(!(D&&D.length)||!(O>=0&&O<=1))){N=N||[];var I=O*(D.length-1),U=Math.floor(I),F=Math.ceil(I),K=D[U],j=D[F],G=I-U;return N[0]=p(g(K[0],j[0],G)),N[1]=p(g(K[1],j[1],G)),N[2]=p(g(K[2],j[2],G)),N[3]=E(g(K[3],j[3],G)),N}}var y=f;function b(O,D,N){if(!(!(D&&D.length)||!(O>=0&&O<=1))){var I=O*(D.length-1),U=Math.floor(I),F=Math.ceil(I),K=s(D[U]),j=s(D[F]),G=I-U,Y=L([p(g(K[0],j[0],G)),p(g(K[1],j[1],G)),p(g(K[2],j[2],G)),E(g(K[3],j[3],G))],"rgba");return N?{color:Y,leftIndex:U,rightIndex:F,value:I}:Y}}var x=b;function A(O,D,N,I){if(O=s(O),O)return O=e(O),D!=null&&(O[0]=m(D)),N!=null&&(O[1]=l(N)),I!=null&&(O[2]=l(I)),L(v(O),"rgba")}function M(O,D){if(O=s(O),O&&D!=null)return O[3]=E(D),L(O,"rgba")}function L(O,D){if(!(!O||!O.length)){var N=O[0]+","+O[1]+","+O[2];return(D==="rgba"||D==="hsva"||D==="hsla")&&(N+=","+O[3]),D+"("+N+")"}}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=M,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 B=_(134),C=_(138),p=_(139),m=_(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 B=_(0),C=_.n(B),p=_(135),m=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(m);function E(d,l){return l.type||(l.data?"category":"value")}Object(p.a)("x",m,E,{name:"X"}),Object(p.a)("y",m,E,{name:"Y"}),Object(p.a)("z",m,E,{name:"Z"})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(136),m=_(137),E=_.n(m),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(p.a[n+"Axis3D"]),r||{},!0)})}),o.superClass.registerSubTypeDefaulter(l+"Axis3D",C.a.util.curry(g,l))}},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},m=C.a.util.merge({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},p),E=C.a.util.merge({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},p),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:m,valueAxis3D:E,timeAxis3D:d,logAxis3D:l}},function(k,P,_){var B=_(12),C=B.createHashMap,p=B.isObject,m=B.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&&m(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 p(r)&&r.value!=null?r.value:r+""}var g=E;k.exports=g},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(38),m=_(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,p.a),C.a.util.merge(d.prototype,m.a),C.a.util.merge(d.prototype,E.a);var l=d},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(39),E=_(22),d=_(3),l=_(73),o=_(34),g=_(140),r=_(142),n=_(58),a=_(40),c=d.a.firstNotNull;p.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 p.a.Material({shader:p.a.createShader("ecgl.color"),depthMask:!1,transparent:!0}),y=new p.a.Material({shader:p.a.createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});f.define("fragment","DOUBLE_SIDED"),f.define("both","VERTEX_COLOR"),this.groupGL=new p.a.Node,this._control=new m.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 p.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 p.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 M=i.getAxis(A),L=M.model;return x[A]=c(L.get("axisLabel.interval"),v.get("axisLabel.interval")),M.scale.type==="ordinal"&&(x[A]==null||x[A]=="auto")&&(x[A]=Math.floor(M.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 p.a.Ray),y,b=0;b<this._faces.length;b++){var x=this._faces[b];if(!x.rootNode.invisible){x.plane.normal.dot(i.camera.worldTransform.z)<0&&x.plane.normal.negate();var A=f.intersectPlane(x.plane);if(A){var M=t.getAxis(x.faceInfo[0]),L=t.getAxis(x.faceInfo[1]),O=u[x.faceInfo[0]],D=u[x.faceInfo[1]];M.contain(A.array[O])&&L.contain(A.array[D])&&(y=A)}}}if(y){var N=t.pointToData(y.array,[],!0);this._updateAxisPointer(N),this._doShowAxisPointer()}else this._doHideAxisPointer()}},_onCameraChange:function(v,e){v.get("show")&&(this._updateFaceVisibility(),this._updateAxisLinePosition());var t=this._control;e.dispatchAction({type:"grid3DChangeCamera",alpha:t.getAlpha(),beta:t.getBeta(),distance:t.getDistance(),center:t.getCenter(),from:this.uid,grid3DId:v.id})},_updateFaceVisibility:function(){var v=this._control.getCamera(),e=new p.a.Vector3;v.update();for(var t=0;t<this._faces.length/2;t++){for(var i=[],f=0;f<2;f++){var y=this._faces[t*2+f];y.rootNode.getWorldPosition(e),e.transformMat4(v.viewMatrix),i[f]=e.z}var b=i[0]>i[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(),M=t.getExtentMin(),L=this._axes[0].rootNode,O=this._axes[1].rootNode,D=this._axes[2].rootNode,N=this._faces,I=N[4].rootNode.invisible?M:A,U=N[2].rootNode.invisible?f:y,F=N[0].rootNode.invisible?b:x,K=N[2].rootNode.invisible?f:y,j=N[0].rootNode.invisible?x:b,G=N[4].rootNode.invisible?M:A;L.rotation.identity(),O.rotation.identity(),D.rotation.identity(),N[4].rootNode.invisible&&(this._axes[0].flipped=!0,L.rotation.rotateX(Math.PI)),N[0].rootNode.invisible&&(this._axes[1].flipped=!0,O.rotation.rotateZ(Math.PI)),N[4].rootNode.invisible&&(this._axes[2].flipped=!0,D.rotation.rotateY(Math.PI)),L.position.set(0,U,I),O.position.set(F,K,0),D.position.set(j,0,G),L.update(),O.update(),D.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var v=this._control.getCamera(),e=[new p.a.Vector4,new p.a.Vector4],t=new p.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;b<e.length;b++)e[b].setArray(f[b]),e[b].w=1,e[b].transformMat4(i.rootNode.worldTransform).transformMat4(v.viewMatrix).transformMat4(v.projectionMatrix),e[b].x/=e[b].w,e[b].y/=e[b].w;var x=e[1].x-e[0].x,A=e[1].y-e[0].y,M=(e[1].x+e[0].x)/2,L=(e[1].y+e[0].y)/2,O,D;Math.abs(A/x)<.5?(O="center",D=L>t.y?"bottom":"top"):(D="middle",O=M>t.x?"left":"right"),i.setSpriteAlign(O,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 be=xe.model.getModel("axisPointer",y),De=be.getModel("lineStyle"),Ue=p.a.parseColor(De.get("color")),we=c(De.get("width"),1),Ye=c(De.get("opacity"),1);return Ue[3]*=Ye,{color:Ue,lineWidth:we}}for(var M=0;M<this._faces.length;M++){var L=this._faces[M];if(!L.rootNode.invisible){for(var O=L.faceInfo,D=O[3]<0?e.getAxis(O[2]).getExtentMin():e.getAxis(O[2]).getExtentMax(),N=u[O[2]],I=0;I<2;I++){var U=O[I],F=O[1-I],K=e.getAxis(U),j=e.getAxis(F);if(x(K)){var G=[0,0,0],Y=[0,0,0],le=u[U],Q=u[F];G[le]=Y[le]=t[le],G[N]=Y[N]=D,G[Q]=j.getExtentMin(),Y[Q]=j.getExtentMax();var ve=A(K);f.addLine(G,Y,ve.color,ve.lineWidth*b)}}if(x(e.getAxis(O[2]))){var G=t.slice(),Y=t.slice();Y[N]=D;var ve=A(e.getAxis(O[2]));f.addLine(G,Y,ve.color,ve.lineWidth*b)}}}f.convertToTypedArray(),this._updateAxisPointerLabelsMesh(v),this._api.getZr().refresh()},_updateAxisPointerLabelsMesh:function(v){var e=this._model,t=this._axisPointerLabelsMesh,i=this._axisPointerLabelsSurface,f=e.coordinateSystem,y=e.getModel("axisPointer");t.geometry.convertToDynamicArray(!0),i.clear();var b={x:"y",y:"x",z:"y"};this._axes.forEach(function(x,A){var M=f.getAxis(x.dim),L=M.model,O=L.getModel("axisPointer",y),D=O.getModel("label"),N=O.get("lineStyle.color");if(!(!D.get("show")||!O.get("show"))){var I=v[A],U=D.get("formatter"),F=M.scale.getLabel(I);if(U!=null)F=U(F,v);else if(M.scale.type==="interval"||M.scale.type==="log"){var K=C.a.number.getPrecisionSafe(M.scale.getTicks()[0]);F=I.toFixed(K+2)}var j=D.getModel("textStyle"),G=j.get("color"),Y=new C.a.graphic.Text;C.a.graphic.setTextStyle(Y.style,j,{text:F,textFill:G||N,textAlign:"left",textVerticalAlign:"top"});var le=i.add(Y),Q=Y.getBoundingRect(),ve=this._api.getDevicePixelRatio(),xe=x.rootNode.position.toArray(),be=u[b[x.dim]];xe[be]+=(x.flipped?-1:1)*D.get("margin"),xe[u[x.dim]]=M.dataToCoord(v[A]),t.geometry.addSprite(xe,[Q.width*ve,Q.height*ve],le,x.textAlign,x.textVerticalAlign)}},this),i.getZr().refreshImmediately(),t.material.set("uvScale",i.getCoordsScale()),t.geometry.convertToTypedArray()},dispose:function(){this.groupGL.removeAll(),this._control.dispose()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(22),d=_(141),l=_(74),o=m.a.firstNotNull,g={x:0,y:2,z:1};function r(a,c,u,s){var v=[0,0,0],e=s<0?u.getExtentMin():u.getExtentMax();v[g[u.dim]]=e,a.position.setArray(v),a.rotation.identity(),c.distance=-Math.abs(e),c.normal.set(0,0,0),u.dim==="x"?(a.rotation.rotateY(s*Math.PI/2),c.normal.x=-s):u.dim==="z"?(a.rotation.rotateX(-s*Math.PI/2),c.normal.y=-s):(s>0&&a.rotation.rotateY(Math.PI),c.normal.z=-s)}function n(a,c,u){this.rootNode=new p.a.Node;var s=new p.a.Mesh({geometry:new E.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:1}),v=new p.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 p.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"),M=o(x.get("opacity"),1),L=o(x.get("width"),1),O=b.get("interval");(O==null||O==="auto")&&(O=s[t.dim]),A=C.a.util.isArray(A)?A:[A];for(var D=t.getTicksCoords(),N=0,I=0;I<D.length;I++)if(!Object(l.a)(t,I,O)){var U=D[I],F=p.a.parseColor(A[N%A.length]);F[3]*=M;var K=[0,0,0],j=[0,0,0];K[i]=j[i]=U,K[1-i]=y[0],j[1-i]=y[1],a.addLine(K,j,F,L*e),N++}}}})},n.prototype._udpateSplitAreas=function(a,c,u,s,v){c.forEach(function(e,t){var i=e.model,f=c[1-t].getExtent();if(!e.scale.isBlank()){var y=i.getModel("splitArea",u.getModel("splitArea"));if(y.get("show")){var b=y.getModel("areaStyle"),x=b.get("color"),A=o(b.get("opacity"),1),M=y.get("interval");(M==null||M==="auto")&&(M=s[e.dim]),x=C.a.util.isArray(x)?x:[x];for(var L=e.getTicksCoords(),O=0,D=[0,0,0],N=[0,0,0],I=0;I<L.length;I++){var U=L[I],F=[0,0,0],K=[0,0,0];if(F[t]=K[t]=U,F[1-t]=f[0],K[1-t]=f[1],I===0){D=F,N=K;continue}if(!Object(l.a)(e,I,M)){var j=p.a.parseColor(x[O%x.length]);j[3]*=A,a.addQuad([D,F,K,N],j),D=F,N=K,O++}}}}})},P.a=n},function(k,P,_){"use strict";var B=_(13),C=_(0),p=_.n(C),m=_(33),E=_(1),d=_.n(E),l=d.a.vec3,o=B.a.extend(function(){return{segmentScale:1,useNativeLine:!0,attributes:{position:new B.a.Attribute("position","float",3,"POSITION"),normal:new B.a.Attribute("normal","float",3,"NORMAL"),color:new B.a.Attribute("color","float",4,"COLOR")}}},{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setQuadCount:function(g){var r=this.attributes,n=this.getQuadVertexCount()*g,a=this.getQuadTriangleCount()*g;this.vertexCount!==n&&(r.position.init(n),r.normal.init(n),r.color.init(n)),this.triangleCount!==a&&(this.indices=n>65535?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}}()});p.a.util.defaults(o.prototype,m.a),P.a=o},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(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 p.a.Mesh({geometry:new m.a({useNativeLine:!1}),material:c,castShadow:!1,ignorePicking:!0,renderOrder:2}),s=new d.a;s.material.depthMask=!1;var v=new p.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")),M=y.getModel("axisLabel",a.getModel("axisLabel")),L=x.get("lineStyle.color");if(x.get("show")){var O=x.getModel("lineStyle"),D=[0,0,0],N=[0,0,0],I=g[e.dim];D[I]=b[0],N[I]=b[1],this.axisLineCoords=[D,N];var U=p.a.parseColor(L),F=o(O.get("width"),1),K=o(O.get("opacity"),1);U[3]*=K,i.addLine(D,N,U,F*De)}if(A.get("show")){var j=A.getModel("lineStyle"),G=p.a.parseColor(o(j.get("color"),L)),F=o(j.get("width"),1);G[3]*=o(j.get("opacity"),1);var Y=e.getTicksCoords(),le=A.get("interval");(le==null||le==="auto")&&(le=t);for(var Q=A.get("length"),ve=0;ve<Y.length;ve++)if(!Object(l.a)(e,ve,le)){var xe=Y[ve],D=[0,0,0],N=[0,0,0],I=g[e.dim],be=g[n[e.dim]];D[I]=N[I]=xe,N[be]=Q,i.addLine(D,N,G,F*De)}}this.labelElements=[];var De=s.getDevicePixelRatio();if(M.get("show")){for(var Ue=e.getLabelsCoords(),we=y.get("data"),le=t,Ye=M.get("margin"),Be=y.getFormattedLabels(),ge=e.scale.getTicks(),ve=0;ve<Ue.length;ve++)if(!Object(l.a)(e,ve,le)){var xe=Ue[ve],He=[0,0,0],I=g[e.dim],be=g[n[e.dim]];He[I]=He[I]=xe,He[be]=Ye;var Fe=M;we&&we[ge[ve]]&&we[ge[ve]].textStyle&&(Fe=new C.a.Model(we[ge[ve]].textStyle,M,y.ecModel));var Pe=o(Fe.get("color"),L),We=new C.a.graphic.Text;C.a.graphic.setTextStyle(We.style,Fe,{text:Be[ve],textFill:typeof Pe=="function"?Pe(e.type==="category"?Be[ve]:e.type==="value"?ge[ve]+"":ge[ve],ve):Pe,textVerticalAlign:"top",textAlign:"left"});var Ne=u.add(We),V=We.getBoundingRect();f.addSprite(He,[V.width*De,V.height*De],Ne),this.labelElements.push(We)}}if(y.get("name")){var q=y.getModel("nameTextStyle"),He=[0,0,0],I=g[e.dim],be=g[n[e.dim]],ae=o(q.get("color"),L),te=q.get("borderColor"),F=q.get("borderWidth");He[I]=He[I]=(b[0]+b[1])/2,He[be]=y.get("nameGap");var We=new C.a.graphic.Text;C.a.graphic.setTextStyle(We.style,q,{text:y.get("name"),textFill:ae,textStroke:te,lineWidth:F});var Ne=u.add(We),V=We.getBoundingRect();f.addSprite(He,[V.width*De,V.height*De],Ne),We.__idx=this.labelElements.length,this.nameLabelElement=We}this.labelsMesh.material.set("textureAtlas",u.getTexture()),this.labelsMesh.material.set("uvScale",u.getCoordsScale()),i.convertToTypedArray(),f.convertToTypedArray()},r.prototype.setSpriteAlign=function(a,c,u){for(var s=u.getDevicePixelRatio(),v=this.labelsMesh.geometry,e=0;e<this.labelElements.length;e++){var t=this.labelElements[e],i=t.getBoundingRect();v.setSpriteAlign(e,[i.width*s,i.height*s],a,c)}var f=this.nameLabelElement;if(f){var i=f.getBoundingRect();v.setSpriteAlign(f.__idx,[i.width*s,i.height*s],a,c),v.dirty()}this.textAlign=a,this.textVerticalAlign=c},P.a=r},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(13),m=_(33),E=[0,1,2,0,2,3],d=p.a.extend(function(){return{attributes:{position:new p.a.Attribute("position","float",3,"POSITION"),texcoord:new p.a.Attribute("texcoord","float",2,"TEXCOORD_0"),offset:new p.a.Attribute("offset","float",2),color:new p.a.Attribute("color","float",4,"COLOR")}}},{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setSpriteCount:function(l){this._spriteCount=l;var o=l*4,g=l*2;this.vertexCount!==o&&(this.attributes.position.init(o),this.attributes.offset.init(o),this.attributes.color.init(o)),this.triangleCount!==g&&(this.indices=o>65535?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;u<E.length;u++)this.indices[this._faceOffset*3+u]=E[u]+c;return this._faceOffset+=2,this._vertexOffset+=4,c/4},setSprite:function(l,o,g,r,n,a,c){for(var u=l*4,s=this.attributes,v=0;v<4;v++)s.position.set(u+v,o);var e=s.texcoord;e.set(u,[r[0][0],r[0][1]]),e.set(u+1,[r[1][0],r[0][1]]),e.set(u+2,[r[1][0],r[1][1]]),e.set(u+3,[r[0][0],r[1][1]]),this.setSpriteAlign(l,g,n,a,c)}});C.a.util.defaults(d.prototype,m.a),P.a=d},function(k,P,_){"use strict";P.a=`@export ecgl.labels.vertex
|
|
|
|
|
|
attribute vec3 position: POSITION;
|
|
|
attribute vec2 texcoord: TEXCOORD_0;
|
|
|
attribute vec2 offset;
|
|
|
#ifdef VERTEX_COLOR
|
|
|
attribute vec4 a_Color : COLOR;
|
|
|
varying vec4 v_Color;
|
|
|
#endif
|
|
|
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
uniform vec4 viewport : VIEWPORT;
|
|
|
|
|
|
varying vec2 v_Texcoord;
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
vec4 proj = worldViewProjection * vec4(position, 1.0);
|
|
|
|
|
|
vec2 screen = (proj.xy / abs(proj.w) + 1.0) * 0.5 * viewport.zw;
|
|
|
|
|
|
screen += offset;
|
|
|
|
|
|
proj.xy = (screen / viewport.zw - 0.5) * 2.0 * abs(proj.w);
|
|
|
gl_Position = proj;
|
|
|
#ifdef VERTEX_COLOR
|
|
|
v_Color = a_Color;
|
|
|
#endif
|
|
|
v_Texcoord = texcoord;
|
|
|
}
|
|
|
@end
|
|
|
|
|
|
|
|
|
@export ecgl.labels.fragment
|
|
|
|
|
|
uniform vec3 color : [1.0, 1.0, 1.0];
|
|
|
uniform float alpha : 1.0;
|
|
|
uniform sampler2D textureAtlas;
|
|
|
uniform vec2 uvScale: [1.0, 1.0];
|
|
|
|
|
|
#ifdef VERTEX_COLOR
|
|
|
varying vec4 v_Color;
|
|
|
#endif
|
|
|
varying float v_Miter;
|
|
|
|
|
|
varying vec2 v_Texcoord;
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
gl_FragColor = vec4(color, alpha) * texture2D(textureAtlas, v_Texcoord * uvScale);
|
|
|
#ifdef VERTEX_COLOR
|
|
|
gl_FragColor *= v_Color;
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
@end`},function(k,P,_){"use strict";var B=_(146),C=_(148),p=_(0),m=_.n(p),E=_(41),d=_.n(E),l=_(20),o=_(3);function g(c,u){var s=c.getBoxLayoutParams(),v=d.a.getLayoutRect(s,{width:u.getWidth(),height:u.getHeight()});v.y=u.getHeight()-v.y-v.height,this.viewGL.setViewport(v.x,v.y,v.width,v.height,u.getDevicePixelRatio());var e=c.get("boxWidth"),t=c.get("boxHeight"),i=c.get("boxDepth");["x","y","z"].forEach(function(f){if(!this.getAxis(f))throw new Error("Grid"+c.id+" don't have "+f+"Axis")},this),this.getAxis("x").setExtent(-e/2,e/2),this.getAxis("y").setExtent(i/2,-i/2),this.getAxis("z").setExtent(-t/2,t/2),this.size=[e,t,i]}function r(c,u){var s={};function v(e,t){s[e]=s[e]||[1/0,-1/0],s[e][0]=Math.min(t[0],s[e][0]),s[e][1]=Math.max(t[1],s[e][1])}c.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData();["x","y","z"].forEach(function(i){v(i,t.getDataExtent(e.coordDimToDataDim(i)[0],!0))})}},this),["xAxis3D","yAxis3D","zAxis3D"].forEach(function(e){c.eachComponent(e,function(t){var i=e.charAt(0),f=t.getReferringComponents("grid3D")[0],y=f.coordinateSystem;if(y===this){var b=y.getAxis(i);if(b){console.warn("Can't have two %s in one grid3D",e);return}var x=m.a.helper.createScale(s[i]||[1/0,-1/0],t);b=new C.a(i,x),b.type=t.get("type");var A=b.type==="category";b.onBand=A&&t.get("boundaryGap"),b.inverse=t.get("inverse"),t.axis=b,b.model=t,y.addAxis(b)}},this)},this),this.resize(this.model,u)}var n={dimensions:B.a.prototype.dimensions,create:function(c,u){var s=[];c.eachComponent("grid3D",function(t){t.__viewGL=t.__viewGL||new l.a;var i=new B.a;i.model=t,i.viewGL=t.__viewGL,t.coordinateSystem=i,s.push(i),i.resize=g,i.update=r});var v=["xAxis3D","yAxis3D","zAxis3D"];function e(t,i){return v.map(function(f){var y=t.getReferringComponents(f)[0];if(y==null&&(y=i.getComponent(f)),!y)throw new Error(f+' "'+o.a.firstNotNull(t.get(f+"Index"),t.get(f+"Id"),0)+'" not found');return y})}return c.eachSeries(function(t){if(t.get("coordinateSystem")==="cartesian3D"){var i=t.getReferringComponents("grid3D")[0];if(i==null){var f=e(t,c),i=f[0].getCoordSysModel();f.forEach(function(x){var A=x.getCoordSysModel();if(!A)throw new Error('grid3D "'+o.a.firstNotNull(x.get("gridIndex"),x.get("gridId"),0)+'" not found');if(A!==i)throw new Error("xAxis3D, yAxis3D, zAxis3D must use the same grid")})}var y=i.coordinateSystem;t.coordinateSystem=y}}),s}};m.a.registerCoordinateSystem("grid3D",n);var a=n},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(147),m=_.n(p);function E(d){m.a.call(this,d),this.size=[0,0,0]}E.prototype={constructor:E,type:"cartesian3D",dimensions:["x","y","z"],model:null,containPoint:function(d){return this.getAxis("x").contain(d[0])&&this.getAxis("y").contain(d[2])&&this.getAxis("z").contain(d[1])},containData:function(d){return this.getAxis("x").containData(d[0])&&this.getAxis("y").containData(d[1])&&this.getAxis("z").containData(d[2])},dataToPoint:function(d,l,o){return l=l||[],l[0]=this.getAxis("x").dataToCoord(d[0],o),l[2]=this.getAxis("y").dataToCoord(d[1],o),l[1]=this.getAxis("z").dataToCoord(d[2],o),l},pointToData:function(d,l,o){return l=l||[],l[0]=this.getAxis("x").coordToData(d[0],o),l[1]=this.getAxis("y").coordToData(d[2],o),l[2]=this.getAxis("z").coordToData(d[1],o),l}},C.a.util.inherits(E,m.a),P.a=E},function(k,P,_){var B=_(12);function C(E){return this._axes[E]}var p=function(E){this._axes={},this._dimList=[],this.name=E||""};p.prototype={constructor:p,type:"cartesian",getAxis:function(E){return this._axes[E]},getAxes:function(){return B.map(this._dimList,C,this)},getAxesByScale:function(E){return E=E.toLowerCase(),B.filter(this.getAxes(),function(d){return d.scale.type===E})},addAxis:function(E){var d=E.dim;this._axes[d]=E,this._dimList.push(d)},dataToCoord:function(E){return this._dataCoordConvert(E,"dataToCoord")},coordToData:function(E){return this._dataCoordConvert(E,"coordToData")},_dataCoordConvert:function(E,d){for(var l=this._dimList,o=E instanceof Array?[]:{},g=0;g<l.length;g++){var r=l[g],n=this._axes[r];o[r]=n[d](E[r])}return o}};var m=p;k.exports=m},function(k,P,_){"use strict";var B=_(0),C=_.n(B);function p(m,E,d){C.a.Axis.call(this,m,E,d)}p.prototype={constructor:p,getExtentMin:function(){var m=this._extent;return Math.min(m[0],m[1])},getExtentMax:function(){var m=this._extent;return Math.max(m[0],m[1])}},C.a.util.inherits(p,C.a.Axis),P.a=p},function(k,P,_){var B=_(12),C=_(150),p=_(78);function m(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+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=B.normalizeCssArray;function l(t){return String(t).replace(/&/g,"&").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){B.isArray(i)||(i=[i]);var y=i.length;if(!y)return"";for(var b=i[0].$vars||[],x=0;x<b.length;x++){var A=o[x];t=t.replace(g(A),g(A,0))}for(var M=0;M<y;M++)for(var L=0;L<b.length;L++){var O=i[M][b[L]];t=t.replace(g(o[L],M),f?l(O):O)}return t}function n(t,i,f){return B.each(i,function(y,b){t=t.replace("{"+b+"}",f?l(y):y)}),t}function a(t,b){t=B.isString(t)?{color:t,extraCssText:b}:t||{};var f=t.color,y=t.type,b=t.extraCssText;return f?y==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+l(f)+";"+(b||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+l(f)+";"+(b||"")+'"></span>':""}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=p.parseDate(i),b=f?"UTC":"",x=y["get"+b+"FullYear"](),A=y["get"+b+"Month"]()+1,M=y["get"+b+"Date"](),L=y["get"+b+"Hours"](),O=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(M)).replace("d",M).replace("hh",c(L)).replace("h",L).replace("mm",c(O)).replace("m",O).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=m,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 B=_(75),C=_(151),p=_(12),m=p.getContext,E=p.extend,d=p.retrieve2,l=p.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 G=(F+"").split(`
|
|
|
`),Y=0,le=0,Q=G.length;le<Q;le++)Y=Math.max(O(G[le],K).width,Y);return g>r&&(g=0,o={}),g++,o[j]=Y,Y}function v(F,K,j,G,Y,le,Q){return le?t(F,K,j,G,Y,le,Q):e(F,K,j,G,Y,Q)}function e(F,K,j,G,Y,le){var Q=D(F,K,Y,le),ve=s(F,K);Y&&(ve+=Y[1]+Y[3]);var xe=Q.outerHeight,be=i(0,ve,j),De=f(0,xe,G),Ue=new B(be,De,ve,xe);return Ue.lineHeight=Q.lineHeight,Ue}function t(F,K,j,G,Y,le,Q){var ve=N(F,{rich:le,truncate:Q,font:K,textAlign:j,textPadding:Y}),xe=ve.outerWidth,be=ve.outerHeight,De=i(0,xe,j),Ue=f(0,be,G);return new B(De,Ue,xe,be)}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 G=K.x,Y=K.y,le=K.height,Q=K.width,ve=le/2,xe="left",be="top";switch(F){case"left":G-=j,Y+=ve,xe="right",be="middle";break;case"right":G+=j+Q,Y+=ve,be="middle";break;case"top":G+=Q/2,Y-=j,xe="center",be="bottom";break;case"bottom":G+=Q/2,Y+=le+j,xe="center";break;case"inside":G+=Q/2,Y+=ve,xe="center",be="middle";break;case"insideLeft":G+=j,Y+=ve,be="middle";break;case"insideRight":G+=Q-j,Y+=ve,xe="right",be="middle";break;case"insideTop":G+=Q/2,Y+=j,xe="center";break;case"insideBottom":G+=Q/2,Y+=le-j,xe="center",be="bottom";break;case"insideTopLeft":G+=j,Y+=j;break;case"insideTopRight":G+=Q-j,Y+=j,xe="right";break;case"insideBottomLeft":G+=j,Y+=le-j,be="bottom";break;case"insideBottomRight":G+=Q-j,Y+=le-j,xe="right",be="bottom";break}return{x:G,y:Y,textAlign:xe,textVerticalAlign:be}}function b(F,K,j,G,Y){if(!K)return"";var le=(F+"").split(`
|
|
|
`);Y=x(K,j,G,Y);for(var Q=0,ve=le.length;Q<ve;Q++)le[Q]=A(le[Q],Y);return le.join(`
|
|
|
`)}function x(F,K,Y,G){G=E({},G),G.font=K;var Y=d(Y,"...");G.maxIterations=d(G.maxIterations,2);var le=G.minChar=d(G.minChar,0);G.cnCharWidth=s("\u56FD",K);var Q=G.ascCharWidth=s("a",K);G.placeholder=d(G.placeholder,"");for(var ve=F=Math.max(0,F-1),xe=0;xe<le&&ve>=Q;xe++)ve-=Q;var be=s(Y);return be>ve&&(Y="",be=0),ve=F-be,G.ellipsis=Y,G.ellipsisWidth=be,G.contentWidth=ve,G.containerWidth=F,G}function A(F,K){var j=K.containerWidth,G=K.font,Y=K.contentWidth;if(!j)return"";var le=s(F,G);if(le<=j)return F;for(var Q=0;;Q++){if(le<=Y||Q>=K.maxIterations){F+=K.ellipsis;break}var ve=Q===0?M(F,Y,K.ascCharWidth,K.cnCharWidth):le>0?Math.floor(F.length*Y/le):0;F=F.substr(0,ve),le=s(F,G)}return F===""&&(F=K.placeholder),F}function M(F,K,j,G){for(var Y=0,le=0,Q=F.length;le<Q&&Y<K;le++){var ve=F.charCodeAt(le);Y+=0<=ve&&ve<=127?j:G}return le}function L(F){return s("\u56FD",F)}function O(F,K){return c.measureText(F,K)}c.measureText=function(F,K){var j=m();return j.font=K||a,j.measureText(F)};function D(F,K,j,G){F!=null&&(F+="");var Y=L(K),le=F?F.split(`
|
|
|
`):[],Q=le.length*Y,ve=Q;if(j&&(ve+=j[0]+j[2]),F&&G){var xe=G.outerHeight,be=G.outerWidth;if(xe!=null&&ve>xe)F="",le=[];else if(be!=null)for(var De=x(be-(j?j[1]+j[3]:0),K,G.ellipsis,{minChar:G.minChar,placeholder:G.placeholder}),Ue=0,we=le.length;Ue<we;Ue++)le[Ue]=A(le[Ue],De)}return{lines:le,height:Q,outerHeight:ve,lineHeight:Y}}function N(F,K){var j={lines:[],width:0,height:0};if(F!=null&&(F+=""),!F)return j;for(var G=n.lastIndex=0,Y;(Y=n.exec(F))!=null;){var le=Y.index;le>G&&I(j,F.substring(G,le)),I(j,Y[2],Y[1]),G=n.lastIndex}G<F.length&&I(j,F.substring(G,F.length));var Q=j.lines,ve=0,xe=0,be=[],De=K.textPadding,Ue=K.truncate,we=Ue&&Ue.outerWidth,Ye=Ue&&Ue.outerHeight;De&&(we!=null&&(we-=De[1]+De[3]),Ye!=null&&(Ye-=De[0]+De[2]));for(var Be=0;Be<Q.length;Be++){for(var ge=Q[Be],He=0,Fe=0,Pe=0;Pe<ge.tokens.length;Pe++){var We=ge.tokens[Pe],Ne=We.styleName&&K.rich[We.styleName]||{},V=We.textPadding=Ne.textPadding,q=We.font=Ne.font||K.font,ae=We.textHeight=d(Ne.textHeight,L(q));if(V&&(ae+=V[0]+V[2]),We.height=ae,We.lineHeight=l(Ne.textLineHeight,K.textLineHeight,ae),We.textAlign=Ne&&Ne.textAlign||K.textAlign,We.textVerticalAlign=Ne&&Ne.textVerticalAlign||"middle",Ye!=null&&ve+We.lineHeight>Ye)return{lines:[],width:0,height:0};We.textWidth=s(We.text,q);var te=Ne.textWidth,oe=te==null||te==="auto";if(typeof te=="string"&&te.charAt(te.length-1)==="%")We.percentWidth=te,be.push(We),te=0;else{if(oe){te=We.textWidth;var ee=Ne.textBackgroundColor,fe=ee&&ee.image;fe&&(fe=C.findExistImage(fe),C.isImageReady(fe)&&(te=Math.max(te,fe.width*ae/fe.height)))}var Ce=V?V[1]+V[3]:0;te+=Ce;var re=we!=null?we-Fe:null;re!=null&&re<te&&(!oe||re<Ce?(We.text="",We.textWidth=te=0):(We.text=b(We.text,re-Ce,q,Ue.ellipsis,{minChar:Ue.minChar}),We.textWidth=s(We.text,q),te=We.textWidth+Ce))}Fe+=We.width=te,Ne&&(He=Math.max(He,We.lineHeight))}ge.width=Fe,ge.lineHeight=He,ve+=He,xe=Math.max(xe,Fe)}j.outerWidth=j.width=d(K.textWidth,xe),j.outerHeight=j.height=d(K.textHeight,ve),De&&(j.outerWidth+=De[1]+De[3],j.outerHeight+=De[0]+De[2]);for(var Be=0;Be<be.length;Be++){var We=be[Be],ce=We.percentWidth;We.width=parseInt(ce,10)/100*xe}return j}function I(F,K,j){for(var G=K==="",Y=K.split(`
|
|
|
`),le=F.lines,Q=0;Q<Y.length;Q++){var ve=Y[Q],xe={styleName:j,text:ve,isLineHolder:!ve&&!G};if(Q)le.push({tokens:[xe]});else{var be=(le[le.length-1]||(le[0]={tokens:[]})).tokens,De=be.length;De===1&&be[0].isLineHolder?be[0]=xe:(ve||!De||G)&&be.push(xe)}}}function U(F){return(F.fontSize||F.fontFamily)&&[F.fontStyle,F.fontWeight,(F.fontSize||12)+"px",F.fontFamily||"sans-serif"].join(" ")||F.textFont||F.font}P.DEFAULT_FONT=a,P.$override=u,P.getWidth=s,P.getBoundingRect=v,P.adjustTextX=i,P.adjustTextY=f,P.adjustTextPositionOnRect=y,P.truncateText=b,P.getLineHeight=L,P.measureText=O,P.parsePlainText=D,P.parseRichText=N,P.makeFont=U},function(k,P,_){var B=_(53),C=new B(50);function p(l){if(typeof l=="string"){var o=C.get(l);return o&&o.image}else return l}function m(l,o,g,r,n){if(l)if(typeof l=="string"){if(o&&o.__zrImageSrc===l||!g)return o;var a=C.get(l),c={hostEl:g,cb:r,cbPayload:n};return a?(o=a.image,!d(o)&&a.pending.push(c)):(!o&&(o=new Image),o.onload=E,C.put(l,o.__cachedImgObj={image:o,pending:[c]}),o.src=o.__zrImageSrc=l),o}else return l;else return o}function E(){var l=this.__cachedImgObj;this.onload=this.__cachedImgObj=null;for(var o=0;o<l.pending.length;o++){var g=l.pending[o],r=g.cb;r&&r(this,g.cbPayload),g.hostEl.dirty()}l.pending.length=0}function d(l){return l&&l.width&&l.height}P.findExistImage=p,P.createOrUpdateImage=m,P.isImageReady=d},function(k,P,_){"use strict";var B=_(8),C=_(11),p=_(4),m=_(15),E=_(52),d=_(9),l=_(46),o=_(7),g=_(19),r=_(24),n=_(72),a=_(70),c=_(71),u=_(153),s=_(17),v=_(10),e=_(6),t=_(5),i=_(25),f=_(36),y=_(30),b=_(14),x=_(79),A=_(1),M=_.n(A),L=_(154),O=M.a.mat4,D=M.a.vec3,N=["px","nx","py","ny","pz","nz"];o.a.import(L.a);var I=B.a.extend(function(){return{softShadow:I.PCF,shadowBlur:1,lightFrustumBias:"auto",kernelPCF:new Float32Array([1,0,1,1,-1,1,0,1,-1,0,-1,-1,1,-1,0,-1]),precision:"mediump",_lastRenderNotCastShadow:!1,_frameBuffer:new v.a,_textures:{},_shadowMapNumber:{POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},_depthMaterials:{},_distanceMaterials:{},_opaqueCasters:[],_receivers:[],_lightsCastShadow:[],_lightCameras:{},_lightMaterials:{},_texturePool:new x.a}},function(){this._gaussianPassH=new b.a({fragment:o.a.source("clay.compositor.gaussian_blur")}),this._gaussianPassV=new b.a({fragment:o.a.source("clay.compositor.gaussian_blur")}),this._gaussianPassH.setUniform("blurSize",this.shadowBlur),this._gaussianPassH.setUniform("blurDir",0),this._gaussianPassV.setUniform("blurSize",this.shadowBlur),this._gaussianPassV.setUniform("blurDir",1),this._outputDepthPass=new b.a({fragment:o.a.source("clay.sm.debug_depth")})},{render:function(U,F,K,j){K||(K=F.getMainCamera()),this.trigger("beforerender",this,U,F,K),this._renderShadowPass(U,F,K,j),this.trigger("afterrender",this,U,F,K)},renderDebug:function(U,F){U.saveClear();var K=U.viewport,j=0,G=0,Y=F||K.width/4,le=Y;this.softShadow===I.VSM?this._outputDepthPass.material.define("fragment","USE_VSM"):this._outputDepthPass.material.undefine("fragment","USE_VSM");for(var Q in this._textures){var ve=this._textures[Q];U.setViewport(j,G,Y*ve.width/ve.height,le),this._outputDepthPass.setUniform("depthMap",ve),this._outputDepthPass.render(U),j+=Y*ve.width/ve.height}U.setViewport(K),U.restoreClear()},_updateCasterAndReceiver:function(U,F){if(F.castShadow&&this._opaqueCasters.push(F),F.receiveShadow?(this._receivers.push(F),F.material.set("shadowEnabled",1),F.material.set("pcfKernel",this.kernelPCF)):F.material.set("shadowEnabled",0),!F.material.shader&&F.material.updateShader&&F.material.updateShader(U),this.softShadow===I.VSM)F.material.define("fragment","USE_VSM"),F.material.undefine("fragment","PCF_KERNEL_SIZE");else{F.material.undefine("fragment","USE_VSM");var K=this.kernelPCF;K&&K.length?F.material.define("fragment","PCF_KERNEL_SIZE",K.length/2):F.material.undefine("fragment","PCF_KERNEL_SIZE")}},_update:function(U,F){for(var K=0;K<F.opaqueList.length;K++)this._updateCasterAndReceiver(U,F.opaqueList[K]);for(var K=0;K<F.transparentList.length;K++)this._updateCasterAndReceiver(U,F.transparentList[K]);for(var K=0;K<F.lights.length;K++){var j=F.lights[K];j.castShadow&&this._lightsCastShadow.push(j)}},_renderShadowPass:function(U,F,K,j){for(var G in this._shadowMapNumber)this._shadowMapNumber[G]=0;this._lightsCastShadow.length=0,this._opaqueCasters.length=0,this._receivers.length=0;var Y=U.gl;if(j||F.update(),K&&K.update(),this._update(U,F),!this._lightsCastShadow.length&&this._lastRenderNotCastShadow)return;this._lastRenderNotCastShadow=this._lightsCastShadow===0,Y.enable(Y.DEPTH_TEST),Y.depthMask(!0),Y.disable(Y.BLEND),Y.clearColor(1,1,1,1);for(var le=[],Q=[],ve=[],xe=[],be=[],De=[],Ue,we=0;we<this._lightsCastShadow.length;we++){var Ye=this._lightsCastShadow[we];if(Ye instanceof a.a){if(Ue){console.warn("Only one direectional light supported with shadow cascade");continue}if(Ye.shadowCascade>4){console.warn("Support at most 4 cascade");continue}Ye.shadowCascade>1&&(Ue=Ye.shadowCascade),this.renderDirectionalLightShadow(U,F,K,Ye,this._opaqueCasters,be,xe,ve)}else Ye instanceof n.a?this.renderSpotLightShadow(U,F,Ye,this._opaqueCasters,Q,le):Ye instanceof c.a&&this.renderPointLightShadow(U,F,Ye,this._opaqueCasters,De);this._shadowMapNumber[Ye.type]++}for(var Be in this._shadowMapNumber)for(var ge=this._shadowMapNumber[Be],He=Be+"_SHADOWMAP_COUNT",we=0;we<this._receivers.length;we++){var Fe=this._receivers[we],Pe=Fe.material;Pe.fragmentDefines[He]!==ge&&(ge>0?Pe.define("fragment",He,ge):Pe.isDefined("fragment",He)&&Pe.undefine("fragment",He))}for(var we=0;we<this._receivers.length;we++){var Fe=this._receivers[we],Pe=Fe.material;Ue?Pe.define("fragment","SHADOW_CASCADE",Ue.shadowCascade):Pe.undefine("fragment","SHADOW_CASCADE")}var We=F.shadowUniforms;function Ne(oe){return oe.height}if(ve.length>0){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 q=be.slice(),ae=be.slice();q.pop(),ae.shift(),q.reverse(),ae.reverse(),xe.reverse(),We.shadowCascadeClipsNear={value:q,type:"1fv"},We.shadowCascadeClipsFar={value:ae,type:"1fv"}}}if(le.length>0){var te=le.map(Ne),We=F.shadowUniforms;We.spotLightShadowMaps={value:le,type:"tv"},We.spotLightMatrices={value:Q,type:"m4v"},We.spotLightShadowMapSizes={value:te,type:"1fv"}}De.length>0&&(We.pointLightShadowMaps={value:De,type:"tv"})},renderDirectionalLightShadow:function(){var U=new E.a,F=new d.a,K=new m.a,j=new d.a,G=new d.a,Y=new d.a,le=new d.a;return function(Q,ve,xe,be,De,Ue,we,Ye){var Be=this._getDepthMaterial(be),ge={getMaterial:function(Me){return Me.shadowDepthMaterial||Be},sortCompare:l.a.opaqueSortCompare};if(!ve.viewBoundingBoxLastFrame.isFinite()){var He=ve.getBoundingBox();ve.viewBoundingBoxLastFrame.copy(He).applyTransform(xe.viewMatrix)}var Fe=Math.min(-ve.viewBoundingBoxLastFrame.min.z,xe.far),Pe=Math.max(-ve.viewBoundingBoxLastFrame.max.z,xe.near),We=this._getDirectionalLightCamera(be,ve,xe),Ne=Y.array;le.copy(We.projectionMatrix),O.invert(G.array,We.worldTransform.array),O.multiply(G.array,G.array,xe.worldTransform.array),O.multiply(Ne,le.array,G.array);for(var V=[],q=xe instanceof f.a,ae=(xe.near+xe.far)/(xe.near-xe.far),te=2*xe.near*xe.far/(xe.near-xe.far),oe=0;oe<=be.shadowCascade;oe++){var ee=Pe*Math.pow(Fe/Pe,oe/be.shadowCascade),fe=Pe+(Fe-Pe)*oe/be.shadowCascade,Ce=ee*be.cascadeSplitLogFactor+fe*(1-be.cascadeSplitLogFactor);V.push(Ce),Ue.push(-(-Ce*ae+te)/-Ce)}var re=this._getTexture(be,be.shadowCascade);Ye.push(re);var ce=Q.viewport,lt=Q.gl;this._frameBuffer.attach(re),this._frameBuffer.bind(Q),lt.clear(lt.COLOR_BUFFER_BIT|lt.DEPTH_BUFFER_BIT);for(var oe=0;oe<be.shadowCascade;oe++){var Qe=V[oe],ht=V[oe+1];q?O.perspective(F.array,xe.fov/180*Math.PI,xe.aspect,Qe,ht):O.ortho(F.array,xe.left,xe.right,xe.bottom,xe.top,Qe,ht),U.setFromProjection(F),U.getTransformedBoundingBox(K,G),K.applyProjection(le);var pt=K.min.array,$e=K.max.array;pt[0]=Math.max(pt[0],-1),pt[1]=Math.max(pt[1],-1),$e[0]=Math.min($e[0],1),$e[1]=Math.min($e[1],1),j.ortho(pt[0],$e[0],pt[1],$e[1],1,-1),We.projectionMatrix.multiplyLeft(j);var mt=be.shadowResolution||512;Q.setViewport((be.shadowCascade-oe-1)*mt,0,mt,mt,1),Q.renderPass(De,We,ge),this.softShadow===I.VSM&&this._gaussianFilter(Q,re,re.width);var Ve=new d.a;Ve.copy(We.viewMatrix).multiplyLeft(We.projectionMatrix),we.push(Ve.array),We.projectionMatrix.copy(le)}this._frameBuffer.unbind(Q),Q.setViewport(ce)}}(),renderSpotLightShadow:function(U,F,K,j,G,Y){var le=this._getTexture(K),Q=this._getSpotLightCamera(K),ve=U.gl;this._frameBuffer.attach(le),this._frameBuffer.bind(U),ve.clear(ve.COLOR_BUFFER_BIT|ve.DEPTH_BUFFER_BIT);var xe=this._getDepthMaterial(K),be={getMaterial:function(Ue){return Ue.shadowDepthMaterial||xe},sortCompare:l.a.opaqueSortCompare};U.renderPass(U.cullRenderList(j,null,Q),Q,be),this._frameBuffer.unbind(U),this.softShadow===I.VSM&&this._gaussianFilter(U,le,le.width);var De=new d.a;De.copy(Q.worldTransform).invert().multiplyLeft(Q.projectionMatrix),Y.push(le),G.push(De.array)},renderPointLightShadow:function(U,F,K,j,G){var Y=this._getTexture(K),le=U.gl;G.push(Y);for(var Q=this._getDepthMaterial(K),ve={getMaterial:function(Ue){return Ue.shadowDepthMaterial||Q},sortCompare:l.a.opaqueSortCompare},xe=0;xe<6;xe++){var be=N[xe],De=this._getPointLightCamera(K,be);this._frameBuffer.attach(Y,le.COLOR_ATTACHMENT0,le.TEXTURE_CUBE_MAP_POSITIVE_X+xe),this._frameBuffer.bind(U),le.clear(le.COLOR_BUFFER_BIT|le.DEPTH_BUFFER_BIT),U.renderPass(U.cullRenderList(j,null,De),De,ve)}this._frameBuffer.unbind(U)},_getDepthMaterial:function(U){var F=this._lightMaterials[U.__uid__],K=U instanceof c.a;if(!F){var j=K?"clay.sm.distance.":"clay.sm.depth.";F=new s.a({precision:this.precision,shader:new o.a(o.a.source(j+"vertex"),o.a.source(j+"fragment"))}),this._lightMaterials[U.__uid__]=F}return U.shadowSlopeScale!=null&&F.setUniform("slopeScale",U.shadowSlopeScale),U.shadowBias!=null&&F.setUniform("shadowBias",U.shadowBias),this.softShadow===I.VSM?F.define("fragment","USE_VSM"):F.undefine("fragment","USE_VSM"),K&&(F.set("lightPosition",U.getWorldPosition().array),F.set("range",U.range)),F},_gaussianFilter:function(U,F,K){var j={width:K,height:K,type:e.a.FLOAT},G=this._texturePool.get(j);this._frameBuffer.attach(G),this._frameBuffer.bind(U),this._gaussianPassH.setUniform("texture",F),this._gaussianPassH.setUniform("textureWidth",K),this._gaussianPassH.render(U),this._frameBuffer.attach(F),this._gaussianPassV.setUniform("texture",G),this._gaussianPassV.setUniform("textureHeight",K),this._gaussianPassV.render(U),this._frameBuffer.unbind(U),this._texturePool.put(G)},_getTexture:function(U,F){var K=U.__uid__,j=this._textures[K],G=U.shadowResolution||512;return F=F||1,j||(U instanceof c.a?j=new i.a:j=new t.a,j.width=G*F,j.height=G,this.softShadow===I.VSM?(j.type=e.a.FLOAT,j.anisotropic=4):(j.minFilter=C.a.NEAREST,j.magFilter=C.a.NEAREST,j.useMipmap=!1),this._textures[K]=j),j},_getPointLightCamera:function(U,F){this._lightCameras.point||(this._lightCameras.point={px:new f.a,nx:new f.a,py:new f.a,ny:new f.a,pz:new f.a,nz:new f.a});var K=this._lightCameras.point[F];switch(K.far=U.range,K.fov=90,K.position.set(0,0,0),F){case"px":K.lookAt(p.a.POSITIVE_X,p.a.NEGATIVE_Y);break;case"nx":K.lookAt(p.a.NEGATIVE_X,p.a.NEGATIVE_Y);break;case"py":K.lookAt(p.a.POSITIVE_Y,p.a.POSITIVE_Z);break;case"ny":K.lookAt(p.a.NEGATIVE_Y,p.a.NEGATIVE_Z);break;case"pz":K.lookAt(p.a.POSITIVE_Z,p.a.NEGATIVE_Y);break;case"nz":K.lookAt(p.a.NEGATIVE_Z,p.a.NEGATIVE_Y);break}return U.getWorldPosition(K.position),K.update(),K},_getDirectionalLightCamera:function(){var U=new d.a,F=new m.a,K=new m.a;return function(j,G,Y){this._lightCameras.directional||(this._lightCameras.directional=new y.a);var le=this._lightCameras.directional;F.copy(G.viewBoundingBoxLastFrame),F.intersection(Y.frustum.boundingBox),le.position.copy(F.min).add(F.max).scale(.5).transformMat4(Y.worldTransform),le.rotation.copy(j.rotation),le.scale.copy(j.scale),le.updateWorldTransform(),d.a.invert(U,le.worldTransform),d.a.multiply(U,U,Y.worldTransform),K.copy(F).applyTransform(U);var Q=K.min.array,ve=K.max.array;return le.position.set((Q[0]+ve[0])/2,(Q[1]+ve[1])/2,ve[2]).transformMat4(le.worldTransform),le.near=0,le.far=-Q[2]+ve[2],isNaN(this.lightFrustumBias)?le.far*=4:le.far+=this.lightFrustumBias,le.left=Q[0],le.right=ve[0],le.top=ve[1],le.bottom=Q[1],le.update(!0),le}}(),_getSpotLightCamera:function(U){this._lightCameras.spot||(this._lightCameras.spot=new f.a);var F=this._lightCameras.spot;return F.fov=U.penumbraAngle*2,F.far=U.range,F.worldTransform.copy(U.worldTransform),F.updateProjectionMatrix(),O.invert(F.viewMatrix.array,F.worldTransform.array),F},dispose:function(U){var F=U.gl||U;this._frameBuffer&&this._frameBuffer.dispose(F);for(var K in this._textures)this._textures[K].dispose(F);this._texturePool.clear(U.gl),this._depthMaterials={},this._distanceMaterials={},this._textures={},this._lightCameras={},this._shadowMapNumber={POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},this._meshMaterials={};for(var j=0;j<this._receivers.length;j++){var G=this._receivers[j];if(G.material&&G.material.shader){var Y=G.material,le=Y.shader;le.undefine("fragment","POINT_LIGHT_SHADOW_COUNT"),le.undefine("fragment","DIRECTIONAL_LIGHT_SHADOW_COUNT"),le.undefine("fragment","AMBIENT_LIGHT_SHADOW_COUNT"),Y.set("shadowEnabled",0)}}this._opaqueCasters=[],this._receivers=[],this._lightsCastShadow=[]}});I.VSM=1,I.PCF=2,P.a=I},function(k,P,_){"use strict";var B=_(7),C={};function p(){this._pool={}}p.prototype.get=function(l){var o=l;if(this._pool[o])return this._pool[o];var g=C[l];if(!g){console.error('Shader "'+l+'" is not in the library');return}var r=new B.a(g.vertex,g.fragment);return this._pool[o]=r,r},p.prototype.clear=function(){this._pool={}};function m(l,o,g){C[l]={vertex:o,fragment:g}}var E=new p,d={createLibrary:function(){return new p},get:function(){return E.get.apply(E,arguments)},template:m,clear:function(){return E.clear()}}},function(k,P,_){"use strict";P.a=`@export clay.sm.depth.vertex
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
attribute vec3 position : POSITION;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
attribute vec2 texcoord : TEXCOORD_0;
|
|
|
#endif
|
|
|
@import clay.chunk.skinning_header
|
|
|
varying vec4 v_ViewPosition;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
varying vec2 v_Texcoord;
|
|
|
#endif
|
|
|
void main(){
|
|
|
vec3 skinnedPosition = position;
|
|
|
#ifdef SKINNING
|
|
|
@import clay.chunk.skin_matrix
|
|
|
skinnedPosition = (skinMatrixWS * vec4(position, 1.0)).xyz;
|
|
|
#endif
|
|
|
v_ViewPosition = worldViewProjection * vec4(skinnedPosition, 1.0);
|
|
|
gl_Position = v_ViewPosition;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
v_Texcoord = texcoord;
|
|
|
#endif
|
|
|
}
|
|
|
@end
|
|
|
@export clay.sm.depth.fragment
|
|
|
varying vec4 v_ViewPosition;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
varying vec2 v_Texcoord;
|
|
|
#endif
|
|
|
uniform float bias : 0.001;
|
|
|
uniform float slopeScale : 1.0;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
uniform sampler2D transparentMap;
|
|
|
#endif
|
|
|
@import clay.util.encode_float
|
|
|
void main(){
|
|
|
float depth = v_ViewPosition.z / v_ViewPosition.w;
|
|
|
#ifdef USE_VSM
|
|
|
depth = depth * 0.5 + 0.5;
|
|
|
float moment1 = depth;
|
|
|
float moment2 = depth * depth;
|
|
|
float dx = dFdx(depth);
|
|
|
float dy = dFdy(depth);
|
|
|
moment2 += 0.25*(dx*dx+dy*dy);
|
|
|
gl_FragColor = vec4(moment1, moment2, 0.0, 1.0);
|
|
|
#else
|
|
|
float dx = dFdx(depth);
|
|
|
float dy = dFdy(depth);
|
|
|
depth += sqrt(dx*dx + dy*dy) * slopeScale + bias;
|
|
|
#ifdef SHADOW_TRANSPARENT
|
|
|
if (texture2D(transparentMap, v_Texcoord).a <= 0.1) {
|
|
|
gl_FragColor = encodeFloat(0.9999);
|
|
|
return;
|
|
|
}
|
|
|
#endif
|
|
|
gl_FragColor = encodeFloat(depth * 0.5 + 0.5);
|
|
|
#endif
|
|
|
}
|
|
|
@end
|
|
|
@export clay.sm.debug_depth
|
|
|
uniform sampler2D depthMap;
|
|
|
varying vec2 v_Texcoord;
|
|
|
@import clay.util.decode_float
|
|
|
void main() {
|
|
|
vec4 tex = texture2D(depthMap, v_Texcoord);
|
|
|
#ifdef USE_VSM
|
|
|
gl_FragColor = vec4(tex.rgb, 1.0);
|
|
|
#else
|
|
|
float depth = decodeFloat(tex);
|
|
|
gl_FragColor = vec4(depth, depth, depth, 1.0);
|
|
|
#endif
|
|
|
}
|
|
|
@end
|
|
|
@export clay.sm.distance.vertex
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
uniform mat4 world : WORLD;
|
|
|
attribute vec3 position : POSITION;
|
|
|
@import clay.chunk.skinning_header
|
|
|
varying vec3 v_WorldPosition;
|
|
|
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);
|
|
|
v_WorldPosition = (world * vec4(skinnedPosition, 1.0)).xyz;
|
|
|
}
|
|
|
@end
|
|
|
@export clay.sm.distance.fragment
|
|
|
uniform vec3 lightPosition;
|
|
|
uniform float range : 100;
|
|
|
varying vec3 v_WorldPosition;
|
|
|
@import clay.util.encode_float
|
|
|
void main(){
|
|
|
float dist = distance(lightPosition, v_WorldPosition);
|
|
|
#ifdef USE_VSM
|
|
|
gl_FragColor = vec4(dist, dist * dist, 0.0, 0.0);
|
|
|
#else
|
|
|
dist = dist / range;
|
|
|
gl_FragColor = encodeFloat(dist);
|
|
|
#endif
|
|
|
}
|
|
|
@end
|
|
|
@export clay.plugin.shadow_map_common
|
|
|
@import clay.util.decode_float
|
|
|
float tapShadowMap(sampler2D map, vec2 uv, float z){
|
|
|
vec4 tex = texture2D(map, uv);
|
|
|
return step(z, decodeFloat(tex) * 2.0 - 1.0);
|
|
|
}
|
|
|
float pcf(sampler2D map, vec2 uv, float z, float textureSize, vec2 scale) {
|
|
|
float shadowContrib = tapShadowMap(map, uv, z);
|
|
|
vec2 offset = vec2(1.0 / textureSize) * scale;
|
|
|
#ifdef PCF_KERNEL_SIZE
|
|
|
for (int _idx_ = 0; _idx_ < PCF_KERNEL_SIZE; _idx_++) {{
|
|
|
shadowContrib += tapShadowMap(map, uv + offset * pcfKernel[_idx_], z);
|
|
|
}}
|
|
|
return shadowContrib / float(PCF_KERNEL_SIZE + 1);
|
|
|
#else
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(offset.x, 0.0), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(offset.x, offset.y), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, offset.y), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(0.0, offset.y), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, 0.0), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, -offset.y), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(offset.x, -offset.y), z);
|
|
|
shadowContrib += tapShadowMap(map, uv+vec2(0.0, -offset.y), z);
|
|
|
return shadowContrib / 9.0;
|
|
|
#endif
|
|
|
}
|
|
|
float pcf(sampler2D map, vec2 uv, float z, float textureSize) {
|
|
|
return pcf(map, uv, z, textureSize, vec2(1.0));
|
|
|
}
|
|
|
float chebyshevUpperBound(vec2 moments, float z){
|
|
|
float p = 0.0;
|
|
|
z = z * 0.5 + 0.5;
|
|
|
if (z <= moments.x) {
|
|
|
p = 1.0;
|
|
|
}
|
|
|
float variance = moments.y - moments.x * moments.x;
|
|
|
variance = max(variance, 0.0000001);
|
|
|
float mD = moments.x - z;
|
|
|
float pMax = variance / (variance + mD * mD);
|
|
|
pMax = clamp((pMax-0.4)/(1.0-0.4), 0.0, 1.0);
|
|
|
return max(p, pMax);
|
|
|
}
|
|
|
float computeShadowContrib(
|
|
|
sampler2D map, mat4 lightVPM, vec3 position, float textureSize, vec2 scale, vec2 offset
|
|
|
) {
|
|
|
vec4 posInLightSpace = lightVPM * vec4(position, 1.0);
|
|
|
posInLightSpace.xyz /= posInLightSpace.w;
|
|
|
float z = posInLightSpace.z;
|
|
|
if(all(greaterThan(posInLightSpace.xyz, vec3(-0.99, -0.99, -1.0))) &&
|
|
|
all(lessThan(posInLightSpace.xyz, vec3(0.99, 0.99, 1.0)))){
|
|
|
vec2 uv = (posInLightSpace.xy+1.0) / 2.0;
|
|
|
#ifdef USE_VSM
|
|
|
vec2 moments = texture2D(map, uv * scale + offset).xy;
|
|
|
return chebyshevUpperBound(moments, z);
|
|
|
#else
|
|
|
return pcf(map, uv * scale + offset, z, textureSize, scale);
|
|
|
#endif
|
|
|
}
|
|
|
return 1.0;
|
|
|
}
|
|
|
float computeShadowContrib(sampler2D map, mat4 lightVPM, vec3 position, float textureSize) {
|
|
|
return computeShadowContrib(map, lightVPM, position, textureSize, vec2(1.0), vec2(0.0));
|
|
|
}
|
|
|
float computeShadowContribOmni(samplerCube map, vec3 direction, float range)
|
|
|
{
|
|
|
float dist = length(direction);
|
|
|
vec4 shadowTex = textureCube(map, direction);
|
|
|
#ifdef USE_VSM
|
|
|
vec2 moments = shadowTex.xy;
|
|
|
float variance = moments.y - moments.x * moments.x;
|
|
|
float mD = moments.x - dist;
|
|
|
float p = variance / (variance + mD * mD);
|
|
|
if(moments.x + 0.001 < dist){
|
|
|
return clamp(p, 0.0, 1.0);
|
|
|
}else{
|
|
|
return 1.0;
|
|
|
}
|
|
|
#else
|
|
|
return step(dist, (decodeFloat(shadowTex) + 0.0002) * range);
|
|
|
#endif
|
|
|
}
|
|
|
@end
|
|
|
@export clay.plugin.compute_shadow_map
|
|
|
#if defined(SPOT_LIGHT_SHADOWMAP_COUNT) || defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) || defined(POINT_LIGHT_SHADOWMAP_COUNT)
|
|
|
#ifdef SPOT_LIGHT_SHADOWMAP_COUNT
|
|
|
uniform sampler2D spotLightShadowMaps[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
uniform mat4 spotLightMatrices[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
uniform float spotLightShadowMapSizes[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
#endif
|
|
|
#ifdef DIRECTIONAL_LIGHT_SHADOWMAP_COUNT
|
|
|
#if defined(SHADOW_CASCADE)
|
|
|
uniform sampler2D directionalLightShadowMaps[1]:unconfigurable;
|
|
|
uniform mat4 directionalLightMatrices[SHADOW_CASCADE]:unconfigurable;
|
|
|
uniform float directionalLightShadowMapSizes[1]:unconfigurable;
|
|
|
uniform float shadowCascadeClipsNear[SHADOW_CASCADE]:unconfigurable;
|
|
|
uniform float shadowCascadeClipsFar[SHADOW_CASCADE]:unconfigurable;
|
|
|
#else
|
|
|
uniform sampler2D directionalLightShadowMaps[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
uniform mat4 directionalLightMatrices[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
uniform float directionalLightShadowMapSizes[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
#endif
|
|
|
#endif
|
|
|
#ifdef POINT_LIGHT_SHADOWMAP_COUNT
|
|
|
uniform samplerCube pointLightShadowMaps[POINT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;
|
|
|
#endif
|
|
|
uniform bool shadowEnabled : true;
|
|
|
#ifdef PCF_KERNEL_SIZE
|
|
|
uniform vec2 pcfKernel[PCF_KERNEL_SIZE];
|
|
|
#endif
|
|
|
@import clay.plugin.shadow_map_common
|
|
|
#if defined(SPOT_LIGHT_SHADOWMAP_COUNT)
|
|
|
void computeShadowOfSpotLights(vec3 position, inout float shadowContribs[SPOT_LIGHT_COUNT] ) {
|
|
|
float shadowContrib;
|
|
|
for(int _idx_ = 0; _idx_ < SPOT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{
|
|
|
shadowContrib = computeShadowContrib(
|
|
|
spotLightShadowMaps[_idx_], spotLightMatrices[_idx_], position,
|
|
|
spotLightShadowMapSizes[_idx_]
|
|
|
);
|
|
|
shadowContribs[_idx_] = shadowContrib;
|
|
|
}}
|
|
|
for(int _idx_ = SPOT_LIGHT_SHADOWMAP_COUNT; _idx_ < SPOT_LIGHT_COUNT; _idx_++){{
|
|
|
shadowContribs[_idx_] = 1.0;
|
|
|
}}
|
|
|
}
|
|
|
#endif
|
|
|
#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)
|
|
|
#ifdef SHADOW_CASCADE
|
|
|
void computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){
|
|
|
float depth = (2.0 * gl_FragCoord.z - gl_DepthRange.near - gl_DepthRange.far)
|
|
|
/ (gl_DepthRange.far - gl_DepthRange.near);
|
|
|
float shadowContrib;
|
|
|
shadowContribs[0] = 1.0;
|
|
|
for (int _idx_ = 0; _idx_ < SHADOW_CASCADE; _idx_++) {{
|
|
|
if (
|
|
|
depth >= 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 B=_(7),C=_(5),p=_(6),m=_(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);B.a.import(u.a),B.a.import(s.a),B.a.import(v.a),B.a.import(e.a),B.a.import(t.a),B.a.import(i.a),B.a.import(f.a),B.a.import(y.a),B.a.import(b.a),B.a.import(x.a),B.a.import(A.a);var M={color:{parameters:{width:function(D){return D.getWidth()},height:function(D){return D.getHeight()}}}},L=["composite","FXAA"];function O(){this._sourceTexture=new C.a({type:p.a.HALF_FLOAT}),this._depthTexture=new C.a({format:p.a.DEPTH_COMPONENT,type:p.a.UNSIGNED_INT}),this._framebuffer=new m.a,this._framebuffer.attach(this._sourceTexture),this._framebuffer.attach(this._depthTexture,m.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 N=this._compositor.getNodeByName("coc");this._sourceNode=D,this._cocNode=N,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)}O.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},O.prototype._ifRenderNormalPass=function(){return this._enableSSAO||this._enableEdge||this._enableSSR},O.prototype._getPrevNode=function(D){for(var N=L.indexOf(D.name)-1,I=this._finalNodesChain[N];I&&!this._compositor.getNodeByName(I.name);)N-=1,I=this._finalNodesChain[N];return I},O.prototype._getNextNode=function(D){for(var N=L.indexOf(D.name)+1,I=this._finalNodesChain[N];I&&!this._compositor.getNodeByName(I.name);)N+=1,I=this._finalNodesChain[N];return I},O.prototype._addChainNode=function(D){var N=this._getPrevNode(D),I=this._getNextNode(D);N&&(N.outputs=M,D.inputs.texture=N.name,I?(D.outputs=M,I.inputs.texture=D.name):D.outputs=null,this._compositor.addNode(D))},O.prototype._removeChainNode=function(D){var N=this._getPrevNode(D),I=this._getNextNode(D);N&&(I?(N.outputs=M,I.inputs.texture=N.name):N.outputs=null,this._compositor.removeNode(D))},O.prototype.updateNormal=function(D,N,I,U){this._ifRenderNormalPass()&&this._normalPass.update(D,N,I)},O.prototype.updateSSAO=function(D,N,I,U){this._ssaoPass.update(D,I,U)},O.prototype.enableSSAO=function(){this._enableSSAO=!0},O.prototype.disableSSAO=function(){this._enableSSAO=!1},O.prototype.enableSSR=function(){this._enableSSR=!0},O.prototype.disableSSR=function(){this._enableSSR=!1},O.prototype.getSSAOTexture=function(D,N,I,U){return this._ssaoPass.getTargetTexture()},O.prototype.getSourceFrameBuffer=function(){return this._framebuffer},O.prototype.getSourceTexture=function(){return this._sourceTexture},O.prototype.disableFXAA=function(){this._removeChainNode(this._fxaaNode)},O.prototype.enableFXAA=function(){this._addChainNode(this._fxaaNode)},O.prototype.enableBloom=function(){this._compositeNode.inputs.bloom="bloom_composite",this._compositor.dirty()},O.prototype.disableBloom=function(){this._compositeNode.inputs.bloom=null,this._compositor.dirty()},O.prototype.enableDOF=function(){this._compositeNode.inputs.texture="dof_composite",this._compositor.dirty()},O.prototype.disableDOF=function(){this._compositeNode.inputs.texture="source",this._compositor.dirty()},O.prototype.enableColorCorrection=function(){this._compositeNode.define("COLOR_CORRECTION"),this._enableColorCorrection=!0},O.prototype.disableColorCorrection=function(){this._compositeNode.undefine("COLOR_CORRECTION"),this._enableColorCorrection=!1},O.prototype.enableEdge=function(){this._enableEdge=!0},O.prototype.disableEdge=function(){this._enableEdge=!1},O.prototype.setBloomIntensity=function(D){this._compositeNode.setParameter("bloomIntensity",D)},O.prototype.setSSAOParameter=function(D,N){switch(D){case"quality":var I={low:6,medium:12,high:32,ultra:62}[N]||12;this._ssaoPass.setParameter("kernelSize",I);break;case"radius":this._ssaoPass.setParameter(D,N),this._ssaoPass.setParameter("bias",N/200);break;case"intensity":this._ssaoPass.setParameter(D,N);break;default:console.warn("Unkown SSAO parameter "+D)}},O.prototype.setDOFParameter=function(D,N){switch(D){case"focalDistance":case"focalRange":case"fstop":this._cocNode.setParameter(D,N);break;case"blurRadius":for(var I=0;I<this._dofBlurNodes.length;I++)this._dofBlurNodes[I].setParameter("blurRadius",N);break;case"quality":var U={low:4,medium:8,high:16,ultra:32}[N]||8;this._dofBlurKernelSize=U;for(var I=0;I<this._dofBlurNodes.length;I++)this._dofBlurNodes[I].pass.material.define("POISSON_KERNEL_SIZE",U);this._dofBlurKernel=new Float32Array(U*2);break;default:console.warn("Unkown DOF parameter "+D)}},O.prototype.setSSRParameter=function(D,N){switch(D){case"quality":var I={low:10,medium:20,high:40,ultra:80}[N]||20,U={low:32,medium:16,high:8,ultra:4}[N]||16;this._ssrPass.setParameter("maxIteration",I),this._ssrPass.setParameter("pixelStride",U);break;case"maxRoughness":this._ssrPass.setParameter("minGlossiness",Math.max(Math.min(1-N,1),0));break;default:console.warn("Unkown SSR parameter "+D)}},O.prototype.setEdgeColor=function(D){var N=g.a.parseColor(D);this._edgePass.setParameter("edgeColor",N)},O.prototype.setExposure=function(D){this._compositeNode.setParameter("exposure",Math.pow(2,D))},O.prototype.setColorLookupTexture=function(D,N){this._compositeNode.pass.material.setTextureImage("lut",this._enableColorCorrection?D:"none",N,{minFilter:g.a.Texture.NEAREST,magFilter:g.a.Texture.NEAREST,flipY:!1})},O.prototype.setColorCorrection=function(D,N){this._compositeNode.setParameter(D,N)},O.prototype.composite=function(D,N,I,U){var F=this._sourceTexture,K=F;this._enableEdge&&(this._edgePass.update(D,N,F,U),F=K=this._edgePass.getTargetTexture()),this._enableSSR&&(this._ssrPass.update(D,N,F,U),K=this._ssrPass.getTargetTexture(),this._ssrPass.setSSAOTexture(this._enableSSAO?this._ssaoPass.getTargetTexture():null)),this._sourceNode.texture=K,this._cocNode.setParameter("depth",this._depthTexture);for(var j=this._dofBlurKernel,G=this._dofBlurKernelSize,Y=Math.floor(o.a.length/2/G),le=U%Y,Q=0;Q<G*2;Q++)j[Q]=o.a[Q+le*G*2];for(var Q=0;Q<this._dofBlurNodes.length;Q++)this._dofBlurNodes[Q].setParameter("percent",U/30),this._dofBlurNodes[Q].setParameter("poissonKernel",j);this._cocNode.setParameter("zNear",N.near),this._cocNode.setParameter("zFar",N.far),this._compositor.render(D,I)},O.prototype.dispose=function(D){this._sourceTexture.dispose(D),this._depthTexture.dispose(D),this._framebuffer.dispose(D),this._compositor.dispose(D),this._normalPass.dispose(D),this._ssaoPass.dispose(D)},P.a=O},function(k,P,_){"use strict";var B=_(21),C=_(157),p=_(159),m=_(160),E=_(161),d=_(7),l=_(6),o=_(5),g=_(25),r=/^#source\((.*?)\)/;function n(t,i){var f=new C.a;i=i||{};var y={textures:{},parameters:{}},b=function(M,L){for(var O=0;O<t.nodes.length;O++){var D=t.nodes[O],N=a(D,y,i);N&&f.addNode(N)}};for(var x in t.parameters){var A=t.parameters[x];y.parameters[x]=c(A)}return u(t,y,i,function(M){y.textures=M,b()}),f}function a(t,i,f){var y=t.type||"filter",b,x,A;if(y==="filter"){var M=t.shader.trim(),L=r.exec(M);if(L?b=d.a.source(L[1].trim()):M.charAt(0)==="#"&&(b=i.shaders[M.substr(1)]),b||(b=M),!b)return}if(t.inputs){x={};for(var O in t.inputs)typeof t.inputs[O]=="string"?x[O]=t.inputs[O]:x[O]={node:t.inputs[O].node,pin:t.inputs[O].pin}}if(t.outputs){A={};for(var O in t.outputs){var D=t.outputs[O];A[O]={},D.attachment!=null&&(A[O].attachment=D.attachment),D.keepLastFrame!=null&&(A[O].keepLastFrame=D.keepLastFrame),D.outputLastFrame!=null&&(A[O].outputLastFrame=D.outputLastFrame),D.parameters&&(A[O].parameters=c(D.parameters))}}var N;if(y==="scene"?N=new p.a({name:t.name,scene:f.scene,camera:f.camera,outputs:A}):y==="texture"?N=new m.a({name:t.name,outputs:A}):N=new E.a({name:t.name,shader:b,inputs:x,outputs:A}),N){if(t.parameters)for(var O in t.parameters){var I=t.parameters[O];typeof I=="string"&&(I=I.trim(),I.charAt(0)==="#"?I=i.textures[I.substr(1)]:N.on("beforerender",s(O,e(I)))),N.setParameter(O,I)}if(t.defines&&N.pass)for(var O in t.defines){var I=t.defines[O];N.pass.material.define("fragment",O,I)}}return N}function c(t){var i={};return t&&(["type","minFilter","magFilter","wrapS","wrapT","flipY","useMipmap"].forEach(function(f){var y=t[f];y!=null&&(typeof y=="string"&&(y=l.a[y]),i[f]=y)}),["width","height"].forEach(function(f){if(t[f]!=null){var y=t[f];typeof y=="string"?(y=y.trim(),i[f]=v(f,e(y))):i[f]=y}}),t.useMipmap!=null&&(i.useMipmap=t.useMipmap)),i}function u(t,i,f,y){if(!t.textures){y({});return}var b={},x=0,A=!1,M=f.textureRootPath;B.a.each(t.textures,function(L,O){var D,N=L.path,I=c(L.parameters);if(Array.isArray(N)&&N.length===6)M&&(N=N.map(function(U){return B.a.relative2absolute(U,M)})),D=new g.a(I);else if(typeof N=="string")M&&(N=B.a.relative2absolute(N,M)),D=new o.a(I);else return;D.load(N),x++,D.once("success",function(){b[O]=D,x--,x===0&&(y(b),A=!0)})}),x===0&&!A&&y(b)}function s(t,i){return function(f){var y=f.getDevicePixelRatio(),b=f.getWidth(),x=f.getHeight(),A=i(b,x,y);this.setParameter(t,A)}}function v(t,i){return function(f){var y=f.getDevicePixelRatio(),b=f.getWidth(),x=f.getHeight();return i(b,x,y)}}function e(t){var i=/^expr\((.*)\)$/.exec(t);if(i)try{var f=new Function("width","height","dpr","return "+i[1]);return f(1,1),f}catch(y){throw new Error("Invalid expression.")}}P.a=n},function(k,P,_){"use strict";var B=_(158),C=_(79),p=_(10),m=B.a.extend(function(){return{_outputs:[],_texturePool:new C.a,_frameBuffer:new p.a({depthBuffer:!1})}},{addNode:function(E){B.a.prototype.addNode.call(this,E),E._compositor=this},render:function(E,d){if(this._dirty){this.update(),this._dirty=!1,this._outputs.length=0;for(var l=0;l<this.nodes.length;l++)this.nodes[l].outputs||this._outputs.push(this.nodes[l])}for(var l=0;l<this.nodes.length;l++)this.nodes[l].beforeFrame();for(var l=0;l<this._outputs.length;l++)this._outputs[l].updateReference();for(var l=0;l<this._outputs.length;l++)this._outputs[l].render(E,d);for(var l=0;l<this.nodes.length;l++)this.nodes[l].afterFrame()},allocateTexture:function(E){return this._texturePool.get(E)},releaseTexture:function(E){this._texturePool.put(E)},getFrameBuffer:function(){return this._frameBuffer},dispose:function(E){this._texturePool.clear(E)}});P.a=m},function(k,P,_){"use strict";var B=_(8),C=_(42),p=B.a.extend(function(){return{nodes:[]}},{dirty:function(){this._dirty=!0},addNode:function(m){this.nodes.indexOf(m)>=0||(this.nodes.push(m),this._dirty=!0)},removeNode:function(m){typeof m=="string"&&(m=this.getNodeByName(m));var E=this.nodes.indexOf(m);E>=0&&(this.nodes.splice(E,1),this._dirty=!0)},getNodeByName:function(m){for(var E=0;E<this.nodes.length;E++)if(this.nodes[E].name===m)return this.nodes[E]},update:function(){for(var m=0;m<this.nodes.length;m++)this.nodes[m].clear();for(var m=0;m<this.nodes.length;m++){var E=this.nodes[m];if(E.inputs){for(var d in E.inputs)if(E.inputs[d]){if(E.pass&&!E.pass.material.isUniformEnabled(d)){console.warn("Pin "+E.name+"."+d+" not used.");continue}var l=E.inputs[d],o=this.findPin(l);o?E.link(d,o.node,o.pin):console.warn(typeof l=="string"?"Node "+l+" not exist":"Pin of "+l.node+"."+l.pin+" not exist")}}}},findPin:function(m){var E;if((typeof m=="string"||m instanceof C.a)&&(m={node:m}),typeof m.node=="string")for(var d=0;d<this.nodes.length;d++){var l=this.nodes[d];l.name===m.node&&(E=l)}else E=m.node;if(E){var o=m.pin;if(o||E.outputs&&(o=Object.keys(E.outputs)[0]),E.outputs[o])return{node:E,pin:o}}}});P.a=p},function(k,P,_){"use strict";var B=_(42),C=_(11),p=_(10),m=B.a.extend({name:"scene",scene:null,camera:null,autoUpdateScene:!0,preZ:!1},function(){this.frameBuffer=new p.a},{render:function(E){this._rendering=!0;var d=E.gl;this.trigger("beforerender");var l;if(!this.outputs)l=E.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ);else{var o=this.frameBuffer;for(var g in this.outputs){var r=this.updateParameter(g,E),n=this.outputs[g],a=this._compositor.allocateTexture(r);this._outputTextures[g]=a;var c=n.attachment||d.COLOR_ATTACHMENT0;typeof c=="string"&&(c=d[c]),o.attach(a,c)}o.bind(E);var u=E.getGLExtension("EXT_draw_buffers");if(u){var s=[];for(var c in this.outputs)c=parseInt(c),c>=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=m},function(k,P,_){"use strict";var B=_(42),C=B.a.extend(function(){return{texture:null,outputs:{color:{}}}},function(){},{getOutput:function(p,m){return this.texture},beforeFrame:function(){},afterFrame:function(){}});P.a=C},function(k,P,_){"use strict";var B=_(14),C=_(42),p=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 m=new B.a({fragment:this.shader});this.pass=m},{render:function(m,E){this.trigger("beforerender",m),this._rendering=!0;var d=m.gl;for(var l in this.inputLinks){var o=this.inputLinks[l],g=o.node.getOutput(m,o.pin);this.pass.setUniform(l,g)}if(!this.outputs)this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(m),this.pass.render(m,E);else{this.pass.outputs={};var r={};for(var n in this.outputs){var a=this.updateParameter(n,m);isNaN(a.width)&&this.updateParameter(n,m);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(m);for(var s in r)this._compositor.getFrameBuffer().attach(r[s],s);this.pass.render(m),this._compositor.getFrameBuffer().updateMipmap(m.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",m)},updateParameter:function(m,E){var d=this.outputs[m],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[m]&&this._outputTextures[m].dispose(E),o.width=r,o.height=n,o},setParameter:function(m,E){this.pass.setUniform(m,E)},getParameter:function(m){return this.pass.getUniform(m)},setParameters:function(m){for(var E in m)this.setParameter(E,m[E])},define:function(m,E){this.pass.material.define("fragment",m,E)},undefine:function(m){this.pass.material.undefine("fragment",m)},removeReference:function(m){if(this._outputReferences[m]--,this._outputReferences[m]===0){var E=this.outputs[m];E.keepLastFrame?(this._prevOutputTextures[m]&&this._compositor.releaseTexture(this._prevOutputTextures[m]),this._prevOutputTextures[m]=this._outputTextures[m]):this._compositor.releaseTexture(this._outputTextures[m])}},clear:function(){C.a.prototype.clear.call(this),this.pass.material.disableTexturesAll()}});P.a=p},function(k,P,_){"use strict";var B=_(9),C=_(4),p=_(5),m=_(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<u;t++)for(var i=0;i<u;i++)e.set(Math.random()*2-1,Math.random()*2-1,0).normalize(),s[v++]=(e.x*.5+.5)*255,s[v++]=(e.y*.5+.5)*255,s[v++]=0,s[v++]=255;return s}function n(u){return new p.a({pixels:r(u),wrapS:m.a.REPEAT,wrapT:m.a.REPEAT,width:u,height:u})}function a(u,s,v){var e=new Float32Array(u*3);s=s||0;for(var t=0;t<u;t++){var i=Object(o.a)(t+s,2)*(v?1:2)*Math.PI,f=Object(o.a)(t+s,3)*Math.PI,y=Math.random(),b=Math.cos(i)*Math.sin(f)*y,x=Math.cos(f)*y,A=Math.sin(i)*Math.sin(f)*y;e[t*3]=b,e[t*3+1]=x,e[t*3+2]=A}return e}function c(u){u=u||{},this._ssaoPass=new E.a({fragment:d.a.source("ecgl.ssao.estimate")}),this._blurPass=new E.a({fragment:d.a.source("ecgl.ssao.blur")}),this._framebuffer=new l.a({depthBuffer:!1}),this._ssaoTexture=new p.a,this._blurTexture=new p.a,this._blurTexture2=new p.a,this._depthTex=u.depthTexture,this._normalTex=u.normalTexture,this.setNoiseSize(4),this.setKernelSize(u.kernelSize||12),u.radius!=null&&this.setParameter("radius",u.radius),u.power!=null&&this.setParameter("power",u.power),this._normalTex||(this._ssaoPass.material.disableTexture("normalTex"),this._blurPass.material.disableTexture("normalTex")),this._depthTex||this._blurPass.material.disableTexture("depthTex"),this._blurPass.material.setUniform("normalTex",this._normalTex),this._blurPass.material.setUniform("depthTex",this._depthTex)}c.prototype.setDepthTexture=function(u){this._depthTex=u},c.prototype.setNormalTexture=function(u){this._normalTex=u,this._ssaoPass.material[u?"enableTexture":"disableTexture"]("normalTex"),this.setKernelSize(this._kernelSize)},c.prototype.update=function(u,s,v){var e=u.getWidth(),t=u.getHeight(),i=this._ssaoPass,f=this._blurPass;i.setUniform("kernel",this._kernels[v%this._kernels.length]),i.setUniform("depthTex",this._depthTex),this._normalTex!=null&&i.setUniform("normalTex",this._normalTex),i.setUniform("depthTexSize",[this._depthTex.width,this._depthTex.height]);var y=new B.a;B.a.transpose(y,s.worldTransform),i.setUniform("projection",s.projectionMatrix.array),i.setUniform("projectionInv",s.invProjectionMatrix.array),i.setUniform("viewInverseTranspose",y.array);var b=this._ssaoTexture,x=this._blurTexture,A=this._blurTexture2;b.width=e/2,b.height=t/2,x.width=e,x.height=t,A.width=e,A.height=t,this._framebuffer.attach(b),this._framebuffer.bind(u),u.gl.clearColor(1,1,1,1),u.gl.clear(u.gl.COLOR_BUFFER_BIT),i.render(u),f.setUniform("textureSize",[e/2,t/2]),f.setUniform("projection",s.projectionMatrix.array),this._framebuffer.attach(x),f.setUniform("direction",0),f.setUniform("ssaoTexture",b),f.render(u),this._framebuffer.attach(A),f.setUniform("textureSize",[e,t]),f.setUniform("direction",1),f.setUniform("ssaoTexture",x),f.render(u),this._framebuffer.unbind(u);var M=u.clearColor;u.gl.clearColor(M[0],M[1],M[2],M[3])},c.prototype.getTargetTexture=function(){return this._blurTexture2},c.prototype.setParameter=function(u,s){u==="noiseTexSize"?this.setNoiseSize(s):u==="kernelSize"?this.setKernelSize(s):u==="intensity"?this._ssaoPass.material.set("intensity",s):this._ssaoPass.setUniform(u,s)},c.prototype.setKernelSize=function(u){this._kernelSize=u,this._ssaoPass.material.define("fragment","KERNEL_SIZE",u),this._kernels=this._kernels||[];for(var s=0;s<30;s++)this._kernels[s]=a(u,s*u,!!this._normalTex)},c.prototype.setNoiseSize=function(u){var s=this._ssaoPass.getUniform("noiseTex");s?(s.data=r(u),s.width=s.height=u,s.dirty()):(s=n(u),this._ssaoPass.setUniform("noiseTex",n(u))),this._ssaoPass.setUniform("noiseTexSize",[u,u])},c.prototype.dispose=function(u){this._blurTexture.dispose(u),this._ssaoTexture.dispose(u),this._blurTexture2.dispose(u)},P.a=c},function(k,P,_){"use strict";P.a=`@export ecgl.ssao.estimate
|
|
|
|
|
|
uniform sampler2D depthTex;
|
|
|
|
|
|
uniform sampler2D normalTex;
|
|
|
|
|
|
uniform sampler2D noiseTex;
|
|
|
|
|
|
uniform vec2 depthTexSize;
|
|
|
|
|
|
uniform vec2 noiseTexSize;
|
|
|
|
|
|
uniform mat4 projection;
|
|
|
|
|
|
uniform mat4 projectionInv;
|
|
|
|
|
|
uniform mat4 viewInverseTranspose;
|
|
|
|
|
|
uniform vec3 kernel[KERNEL_SIZE];
|
|
|
|
|
|
uniform float radius : 1;
|
|
|
|
|
|
uniform float power : 1;
|
|
|
|
|
|
uniform float bias: 1e-2;
|
|
|
|
|
|
uniform float intensity: 1.0;
|
|
|
|
|
|
varying vec2 v_Texcoord;
|
|
|
|
|
|
float ssaoEstimator(in vec3 originPos, in mat3 kernelBasis) {
|
|
|
float occlusion = 0.0;
|
|
|
|
|
|
for (int i = 0; i < KERNEL_SIZE; i++) {
|
|
|
vec3 samplePos = kernel[i];
|
|
|
#ifdef NORMALTEX_ENABLED
|
|
|
samplePos = kernelBasis * samplePos;
|
|
|
#endif
|
|
|
samplePos = samplePos * radius + originPos;
|
|
|
|
|
|
vec4 texCoord = projection * vec4(samplePos, 1.0);
|
|
|
texCoord.xy /= texCoord.w;
|
|
|
|
|
|
vec4 depthTexel = texture2D(depthTex, texCoord.xy * 0.5 + 0.5);
|
|
|
|
|
|
float sampleDepth = depthTexel.r * 2.0 - 1.0;
|
|
|
if (projection[3][3] == 0.0) {
|
|
|
sampleDepth = projection[3][2] / (sampleDepth * projection[2][3] - projection[2][2]);
|
|
|
}
|
|
|
else {
|
|
|
sampleDepth = (sampleDepth - projection[3][2]) / projection[2][2];
|
|
|
}
|
|
|
|
|
|
float rangeCheck = smoothstep(0.0, 1.0, radius / abs(originPos.z - sampleDepth));
|
|
|
occlusion += rangeCheck * step(samplePos.z, sampleDepth - bias);
|
|
|
}
|
|
|
#ifdef NORMALTEX_ENABLED
|
|
|
occlusion = 1.0 - occlusion / float(KERNEL_SIZE);
|
|
|
#else
|
|
|
occlusion = 1.0 - clamp((occlusion / float(KERNEL_SIZE) - 0.6) * 2.5, 0.0, 1.0);
|
|
|
#endif
|
|
|
return pow(occlusion, power);
|
|
|
}
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
|
|
|
vec4 depthTexel = texture2D(depthTex, v_Texcoord);
|
|
|
|
|
|
#ifdef NORMALTEX_ENABLED
|
|
|
vec4 tex = texture2D(normalTex, v_Texcoord);
|
|
|
if (dot(tex.rgb, tex.rgb) == 0.0) {
|
|
|
gl_FragColor = vec4(1.0);
|
|
|
return;
|
|
|
}
|
|
|
vec3 N = tex.rgb * 2.0 - 1.0;
|
|
|
N = (viewInverseTranspose * vec4(N, 0.0)).xyz;
|
|
|
|
|
|
vec2 noiseTexCoord = depthTexSize / vec2(noiseTexSize) * v_Texcoord;
|
|
|
vec3 rvec = texture2D(noiseTex, noiseTexCoord).rgb * 2.0 - 1.0;
|
|
|
vec3 T = normalize(rvec - N * dot(rvec, N));
|
|
|
vec3 BT = normalize(cross(N, T));
|
|
|
mat3 kernelBasis = mat3(T, BT, N);
|
|
|
#else
|
|
|
if (depthTexel.r > 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 B=_(9),C=_(4),p=_(5),m=_(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 p.a({type:m.a.HALF_FLOAT}),this._texture2=new p.a({type:m.a.HALF_FLOAT}),this._texture3=new p.a({type:m.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,M=new B.a;B.a.transpose(M,a.worldTransform),b.setUniform("sourceTexture",c),b.setUniform("projection",a.projectionMatrix.array),b.setUniform("projectionInv",a.invProjectionMatrix.array),b.setUniform("viewInverseTranspose",M.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 B=_(5),C=_(6),p=_(7),m=_(10),E=_(17),d=_(14),l=_(54),o=_(168);p.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 M=b.material,L=b.__program,O=M.get("roughness");O==null&&(O=1);var D=M.get("normalMap")||c,N=M.get("roughnessMap"),I=M.get("bumpMap"),U=M.get("uvRepeat"),F=M.get("uvOffset"),K=M.get("detailUvRepeat"),j=M.get("detailUvOffset"),G=!!I&&M.isTextureEnabled("bumpMap"),Y=!!N&&M.isTextureEnabled("roughnessMap"),le=M.isDefined("fragment","DOUBLE_SIDED");I=I||u,N=N||s,A!==x?(x.set("normalMap",D),x.set("bumpMap",I),x.set("roughnessMap",N),x.set("useBumpMap",G),x.set("useRoughnessMap",Y),x.set("doubleSide",le),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",O)):(L.setUniform(y,"1f","roughness",O),e!==D&&g(a,L,"normalMap",D,0),t!==I&&I&&g(a,L,"bumpMap",I,1),i!==N&&N&&g(a,L,"roughnessMap",N,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",+G),L.setUniform(y,"1i","useRoughnessMap",+Y),L.setUniform(y,"1i","doubleSide",+le)),e=D,t=I,i=N,f=b}}}function n(a){a=a||{},this._depthTex=new B.a({format:C.a.DEPTH_COMPONENT,type:C.a.UNSIGNED_INT}),this._normalTex=new B.a({type:C.a.HALF_FLOAT}),this._framebuffer=new m.a,this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,m.a.DEPTH_ATTACHMENT),this._normalMaterial=new E.a({shader:new p.a(p.a.source("ecgl.normal.vertex"),p.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:p.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 B=_(9),C=_(4),p=_(5),m=_(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 p.a({type:m.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 B=_(43),C=_(14),p=_(10),m=_(5),E=_(7),d=_(9);function l(o){for(var g=[],r=0;r<30;r++)g.push([Object(B.a)(r,2),Object(B.a)(r,3)]);this._haltonSequence=g,this._frame=0,this._sourceTex=new m.a,this._sourceFb=new p.a,this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new m.a,this._outputTex=new m.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 p.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 B=_(0),C=_.n(B),p=_(184),m=_(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 B=_(0),C=_.n(B),p=_(38),m=_(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,p.a),C.a.util.merge(o.prototype,m.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 B=_(59),C=_(0),p=_.n(C),m=_(2),E=_(39),d=_(34),l=p.a.extendComponentView({type:"geo3D",__ecgl__:!0,init:function(o,g){this._geo3DBuilder=new B.a(g),this.groupGL=new m.a.Node,this._lightRoot=new m.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=B;function B(I,U,F){F=F||2;var K=U&&U.length,j=K?U[0]*F:I.length,G=C(I,0,j,F,!0),Y=[];if(!G)return Y;var le,Q,ve,xe,be,De,Ue;if(K&&(G=g(I,U,G,F)),I.length>80*F){le=ve=I[0],Q=xe=I[1];for(var we=F;we<j;we+=F)be=I[we],De=I[we+1],be<le&&(le=be),De<Q&&(Q=De),be>ve&&(ve=be),De>xe&&(xe=De);Ue=Math.max(ve-le,xe-Q)}return m(G,Y,F,le,Q,Ue),Y}function C(I,U,F,K,j){var G,Y;if(j===N(I,U,F,K)>0)for(G=U;G<F;G+=K)Y=L(G,I[G],I[G+1],Y);else for(G=F-K;G>=U;G-=K)Y=L(G,I[G],I[G+1],Y);return Y&&f(Y,Y.next)&&(O(Y),Y=Y.next),Y}function p(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(O(F),F=U=F.prev,F===F.next)return null;K=!0}else F=F.next;while(K||F!==U);return U}function m(I,U,F,K,j,G,Y){if(I){!Y&&G&&c(I,K,j,G);for(var le=I,Q,ve;I.prev!==I.next;){if(Q=I.prev,ve=I.next,G?d(I,K,j,G):E(I)){U.push(Q.i/F),U.push(I.i/F),U.push(ve.i/F),O(I),I=ve.next,le=ve.next;continue}if(I=ve,I===le){Y?Y===1?(I=l(I,U,F),m(I,U,F,K,j,G,2)):Y===2&&o(I,U,F,K,j,G):m(p(I),U,F,K,j,G,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,G=I,Y=I.next;if(i(j,G,Y)>=0)return!1;for(var le=j.x<G.x?j.x<Y.x?j.x:Y.x:G.x<Y.x?G.x:Y.x,Q=j.y<G.y?j.y<Y.y?j.y:Y.y:G.y<Y.y?G.y:Y.y,ve=j.x>G.x?j.x>Y.x?j.x:Y.x:G.x>Y.x?G.x:Y.x,xe=j.y>G.y?j.y>Y.y?j.y:Y.y:G.y>Y.y?G.y:Y.y,be=s(le,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,G.x,G.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>=be;){if(Ue!==I.prev&&Ue!==I.next&&e(j.x,j.y,G.x,G.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,G=K.next.next;!f(j,G)&&y(j,K,K.next,G)&&x(j,G)&&x(G,j)&&(U.push(j.i/F),U.push(K.i/F),U.push(G.i/F),O(K),O(K.next),K=I=G),K=K.next}while(K!==I);return K}function o(I,U,F,K,j,G){var Y=I;do{for(var le=Y.next.next;le!==Y.prev;){if(Y.i!==le.i&&t(Y,le)){var Q=M(Y,le);Y=p(Y,Y.next),Q=p(Q,Q.next),m(Y,U,F,K,j,G),m(Q,U,F,K,j,G);return}le=le.next}Y=Y.next}while(Y!==I)}function g(I,U,F,K){var j=[],G,Y,le,Q,ve;for(G=0,Y=U.length;G<Y;G++)le=U[G]*K,Q=G<Y-1?U[G+1]*K:I.length,ve=C(I,le,Q,K,!1),ve===ve.next&&(ve.steiner=!0),j.push(v(ve));for(j.sort(r),G=0;G<j.length;G++)n(j[G],F),F=p(F,F.next);return F}function r(I,U){return I.x-U.x}function n(I,U){if(U=a(I,U),U){var F=M(U,I);p(F,F.next)}}function a(I,U){var F=U,K=I.x,j=I.y,G=-1/0,Y;do{if(j<=F.y&&j>=F.next.y&&F.next.y!==F.y){var le=F.x+(j-F.y)*(F.next.x-F.x)/(F.next.y-F.y);if(le<=K&&le>G){if(G=le,le===K){if(j===F.y)return F;if(j===F.next.y)return F.next}Y=F.x<F.next.x?F:F.next}}F=F.next}while(F!==U);if(!Y)return null;if(K===G)return Y.prev;var Q=Y,ve=Y.x,xe=Y.y,be=1/0,De;for(F=Y.next;F!==Q;)K>=F.x&&F.x>=ve&&K!==F.x&&e(j<xe?K:G,j,ve,xe,j<xe?G:K,j,F.x,F.y)&&(De=Math.abs(j-F.y)/(K-F.x),(De<be||De===be&&F.x>Y.x)&&x(F,I)&&(Y=F,be=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,G,Y,le,Q,ve=1;do{for(F=I,I=null,G=null,Y=0;F;){for(Y++,K=F,le=0,U=0;U<ve&&(le++,K=K.nextZ,!!K);U++);for(Q=ve;le>0||Q>0&&K;)le!==0&&(Q===0||!K||F.z<=K.z)?(j=F,F=F.nextZ,le--):(j=K,K=K.nextZ,Q--),G?G.nextZ=j:I=j,j.prevZ=G,G=j;F=K}G.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<F.x&&(F=U),U=U.next;while(U!==I);return F}function e(I,U,F,K,j,G,Y,le){return(j-Y)*(U-le)-(I-Y)*(G-le)>=0&&(I-Y)*(K-le)-(F-Y)*(U-le)>=0&&(F-Y)*(G-le)-(j-Y)*(K-le)>=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,G=(I.y+U.y)/2;do F.y>G!=F.next.y>G&&F.next.y!==F.y&&j<(F.next.x-F.x)*(G-F.y)/(F.next.y-F.y)+F.x&&(K=!K),F=F.next;while(F!==I);return K}function M(I,U){var F=new D(I.i,I.x,I.y),K=new D(U.i,U.x,U.y),j=I.next,G=U.prev;return I.next=U,U.prev=I,F.next=j,j.prev=F,K.next=F,F.prev=K,G.next=K,K.prev=G,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 O(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}B.deviation=function(I,U,F,K){var j=U&&U.length,G=j?U[0]*F:I.length,Y=Math.abs(N(I,0,G,F));if(j)for(var le=0,Q=U.length;le<Q;le++){var ve=U[le]*F,xe=le<Q-1?U[le+1]*F:I.length;Y-=Math.abs(N(I,ve,xe,F))}var be=0;for(le=0;le<K.length;le+=3){var De=K[le]*F,Ue=K[le+1]*F,we=K[le+2]*F;be+=Math.abs((I[De]-I[we])*(I[Ue+1]-I[De+1])-(I[De]-I[Ue])*(I[we+1]-I[De+1]))}return Y===0&&be===0?0:Math.abs((be-Y)/Y)};function N(I,U,F,K){for(var j=0,G=U,Y=F-K;G<F;G+=K)j+=(I[Y]-I[G])*(I[G+1]+I[Y+1]),Y=G;return j}},function(k,P,_){var B=_(12),C={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function p(m){B.each(m.regions,function(E){var d=C[E.name];if(d){var l=E.center;l[0]+=d[0]/10.5,l[1]+=-d[1]/(10.5/.75)}})}k.exports=p},function(k,P,_){var B=_(12),C={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function p(m){B.each(m.regions,function(E){var d=C[E.name];if(d){var l=E.center;l[0]=d[0],l[1]=d[1]}})}k.exports=p},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(190),m=_(191),E=_(193);C.a.registerAction({type:"globeChangeCamera",event:"globecamerachanged",update:"series:updateCamera"},function(d,l){l.eachComponent({mainType:"globe",query:d},function(o){o.setView(d)})}),C.a.registerAction({type:"globeUpdateDisplacment",event:"globedisplacementupdated",update:"update"},function(d,l){})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(38),m=_(31),E=_(32),d=_(26);function l(r,n){r.id=r.id||r.name||n+""}var o=C.a.extendComponentModel({type:"globe",layoutMode:"box",coordinateSystem:null,init:function(){o.superApply(this,"init",arguments),C.a.util.each(this.option.layers,function(r,n){C.a.util.merge(r,this.defaultLayerOption),l(r,n)},this)},mergeOption:function(r){var n=this.option.layers;this.option.layers=null,o.superApply(this,"mergeOption",arguments);function a(v){return C.a.util.reduce(v,function(e,t,i){return l(t,i),e[t.id]=t,e},{})}if(n&&n.length){var c=a(r.layers),u=a(n);for(var s in c)u[s]?C.a.util.merge(u[s],c[s],!0):n.push(r.layers[s]);this.option.layers=n}C.a.util.each(this.option.layers,function(v){C.a.util.merge(v,this.defaultLayerOption)},this)},optionUpdated:function(){this.updateDisplacementHash()},defaultLayerOption:{show:!0,type:"overlay"},defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",baseColor:"#fff",baseTexture:"",heightTexture:"",displacementTexture:"",displacementScale:0,displacementQuality:"medium",globeRadius:100,globeOuterRadius:150,shading:"lambert",light:{main:{time:""}},viewControl:{autoRotate:!0,panSensitivity:0,targetCoord:null},layers:[]},setDisplacementData:function(r,n,a){this.displacementData=r,this.displacementWidth=n,this.displacementHeight=a},getDisplacementTexture:function(){return this.get("displacementTexture")||this.get("heightTexture")},getDisplacemenScale:function(){var r=this.getDisplacementTexture(),n=this.get("displacementScale");return(!r||r==="none")&&(n=0),n},hasDisplacement:function(){return this.getDisplacemenScale()>0},_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,p.a),C.a.util.merge(o.prototype,m.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 B=_(0),C=_.n(B),p=_(2),m=_(39),E=_(34),d=_(192),l=_(3),o=C.a.extendComponentView({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(g,r){this.groupGL=new p.a.Node,this._sphereGeometry=new p.a.SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new p.a.SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new p.a.PlaneGeometry,this._earthMesh=new p.a.Mesh({renderNormal:!0}),this._lightRoot=new p.a.Node,this._sceneHelper=new E.a,this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._earthMesh),this._control=new m.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=p.a.createMaterial(s)),p.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",p.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"),M=p.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8});if(M.surface&&M.surface.attachToMesh(this._earthMesh),A==="blend"){var L=x.get("blendTo"),O=l.a.firstNotNull(x.get("intensity"),1);L==="emission"?(v.push(M),e.push(O)):(u.push(M),s.push(O))}else{var D=x.get("id"),N=this._layerMeshes[D];N||(N=this._layerMeshes[D]=new p.a.Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0}));var I=x.get("shading");I==="lambert"?(N.material=N.__lambertMaterial||new p.a.Material({autoUpdateTextureStatus:!1,shader:p.a.createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),N.__lambertMaterial=N.material):(N.material=N.__colorMaterial||new p.a.Material({autoUpdateTextureStatus:!1,shader:p.a.createShader("ecgl.color"),transparent:!0,depthMask:!1}),N.__colorMaterial=N.material),N.material.enableTexture("diffuseMap");var U=x.get("distance"),F=c+(U==null?n.radius/100:U);N.scale.set(F,F,F),c=F;var K=this._blankTexture||(this._blankTexture=p.a.createBlankTexture("rgba(255, 255, 255, 0)"));N.material.set("diffuseMap",K),p.a.loadTexture(x.get("texture"),r,{flipY:!1,anisotropic:8},function(j){j.surface&&j.surface.attachToMesh(N),N.material.set("diffuseMap",j),r.getZr().refresh()}),x.get("show")?this.groupGL.add(N):this.groupGL.remove(N)}},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=p.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;e<g.vertexCount;e++){var t=e*3,i=e*2,f=c[t+1],y=c[t+2],b=c[t+3],x=a[i++],A=a[i++],M=Math.round(x*(u-1)),L=Math.round(A*(s-1)),O=L*u+M,D=v?v[O]:0;n[t+1]=f+f*D,n[t+2]=y+y*D,n[t+3]=b+b*D}g.generateVertexNormals(),g.dirty(),g.updateBoundingBox()},_updateLight:function(g,r){var n=this._earthMesh;this._sceneHelper.updateLight(g);var a=this._sceneHelper.mainLight,c=g.get("light.main.time")||new Date,u=d.a.getPosition(C.a.number.parseDate(c),0,0),s=Math.cos(u.altitude);a.position.y=-s*Math.cos(u.azimuth),a.position.x=Math.sin(u.altitude),a.position.z=s*Math.sin(u.azimuth),a.lookAt(n.getWorldPosition())},dispose:function(g,r){this.groupGL.removeAll(),this._control.dispose()}})},function(k,P,_){"use strict";var B=Math.PI,C=Math.sin,p=Math.cos,m=Math.tan,E=Math.asin,d=Math.atan2,l=B/180,o=1e3*60*60*24,g=2440588,r=2451545;function n(x){return x.valueOf()/o-.5+g}function a(x){return n(x)-r}var c=l*23.4397;function u(x,A){return d(C(x)*p(c)-m(A)*C(c),p(x))}function s(x,A){return E(C(A)*p(c)+p(A)*C(c)*C(x))}function v(x,A,M){return d(C(x),p(x)*C(A)-m(M)*p(A))}function e(x,A,M){return E(C(A)*C(M)+p(A)*p(M)*p(x))}function t(x,A){return l*(280.16+360.9856235*x)-A}function i(x){return l*(357.5291+.98560028*x)}function f(x){var A=l*(1.9148*C(x)+.02*C(2*x)+3e-4*C(3*x)),M=l*102.9372;return x+A+M+B}function y(x){var A=i(x),M=f(A);return{dec:s(M,0),ra:u(M,0)}}var b={};b.getPosition=function(x,A,M){var L=l*-M,O=l*A,D=a(x),N=y(D),I=t(D,L)-N.ra;return{azimuth:v(I,O,N.dec),altitude:e(I,O,N.dec)}},P.a=b},function(k,P,_){"use strict";var B=_(194),C=_(0),p=_.n(C),m=_(41),E=_.n(m),d=_(20),l=_(3),o=_(2);function g(u,s){var v=document.createElement("canvas"),e=v.getContext("2d"),t=u.width,i=u.height;v.width=t,v.height=i,e.drawImage(u,0,0,t,i);for(var f=e.getImageData(0,0,t,i).data,y=new Float32Array(f.length/4),b=0;b<f.length/4;b++){var x=f[b*4];y[b]=x/255*s}return{data:y,width:t,height:i}}function r(u,s){var v=u.getBoxLayoutParams(),e=E.a.getLayoutRect(v,{width:s.getWidth(),height:s.getHeight()});e.y=s.getHeight()-e.y-e.height,this.viewGL.setViewport(e.x,e.y,e.width,e.height,s.getDevicePixelRatio()),this.radius=u.get("globeRadius");var t=u.get("globeOuterRadius");this.altitudeAxis&&this.altitudeAxis.setExtent(0,t-this.radius)}function n(u,s){var v=[1/0,-1/0];if(u.eachSeries(function(t){if(t.coordinateSystem===this){var i=t.getData(),f=t.coordDimToDataDim("alt")[0];if(f){var y=i.getDataExtent(f,!0);v[0]=Math.min(v[0],y[0]),v[1]=Math.max(v[1],y[1])}}},this),v&&isFinite(v[1]-v[0])){var e=p.a.helper.createScale(v,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new p.a.Axis("altitude",e),this.resize(this.model,s)}}var a={dimensions:B.a.prototype.dimensions,create:function(u,s){var v=[];return u.eachComponent("globe",function(e){e.__viewGL=e.__viewGL||new d.a;var t=new B.a;t.viewGL=e.__viewGL,e.coordinateSystem=t,t.model=e,v.push(t),t.resize=r,t.resize(e,s),t.update=n}),u.eachSeries(function(e){if(e.get("coordinateSystem")==="globe"){var t=e.getReferringComponents("globe")[0];if(t||(t=u.getComponent("globe")),!t)throw new Error('globe "'+l.a.firstNotNull(e.get("globe3DIndex"),e.get("globe3DId"),0)+'" not found');var i=t.coordinateSystem;e.coordinateSystem=i}}),u.eachComponent("globe",function(e,t){var i=e.coordinateSystem,f=e.getDisplacementTexture(),y=e.getDisplacemenScale();if(e.isDisplacementChanged()){if(e.hasDisplacement()){var b=!0;o.a.loadTexture(f,s,function(x){var A=x.image,M=g(A,y);e.setDisplacementData(M.data,M.width,M.height),b||s.dispatchAction({type:"globeUpdateDisplacment"})}),b=!1}else i.setDisplacementData(null,0,0);i.setDisplacementData(e.displacementData,e.displacementWidth,e.displacementHeight)}}),v}};p.a.registerCoordinateSystem("globe",a);var c=a},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.vec3;function m(E){this.radius=E,this.viewGL=null,this.altitudeAxis,this.displacementData=null,this.displacementWidth,this.displacementHeight}m.prototype={constructor:m,dimensions:["lng","lat","alt"],type:"globe",containPoint:function(){},setDisplacementData:function(E,d,l){this.displacementData=E,this.displacementWidth=d,this.displacementHeight=l},_getDisplacementScale:function(E,d){var l=(E+180)/360*(this.displacementWidth-1),o=(90-d)/180*(this.displacementHeight-1),g=Math.round(l)+Math.round(o)*this.displacementWidth;return this.displacementData[g]},dataToPoint:function(E,d){var l=E[0],o=E[1],g=E[2]||0,r=this.radius;this.displacementData&&(r*=1+this._getDisplacementScale(l,o)),this.altitudeAxis&&(r+=this.altitudeAxis.dataToCoord(g)),l=l*Math.PI/180,o=o*Math.PI/180;var n=Math.cos(o)*r;return d=d||[],d[0]=-n*Math.cos(l+Math.PI),d[1]=Math.sin(o)*r,d[2]=n*Math.sin(l+Math.PI),d},pointToData:function(E,d){var l=E[0],o=E[1],g=E[2],r=p.len(E);l/=r,o/=r,g/=r;var n=Math.asin(o),a=Math.atan2(g,-l);a<0&&(a=Math.PI*2+a);var c=n*180/Math.PI,u=a*180/Math.PI-180;return d=d||[],d[0]=u,d[1]=c,d[2]=r-this.radius,this.altitudeAxis&&(d[2]=this.altitudeAxis.coordToData(d[2])),d}},P.a=m},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(196),m=_(198),E=_(199);C.a.registerAction({type:"mapbox3DChangeCamera",event:"mapbox3dcamerachanged",update:"mapbox3D:updateCamera"},function(d,l){l.eachComponent({mainType:"mapbox3D",query:d},function(o){o.setMapboxCameraOption(d)})})},function(k,P,_){"use strict";var B=_(197),C=_(0),p=_.n(C),m=_(3),E=_(2),d=_(20);function l(n,a){var c=a.getWidth(),u=a.getHeight(),s=a.getDevicePixelRatio();this.viewGL.setViewport(0,0,c,u,s),this.width=c,this.height=u,this.altitudeScale=n.get("altitudeScale"),this.boxHeight=n.get("boxHeight")}function o(n,a){if(this.model.get("boxHeight")!=="auto"){var c=[1/0,-1/0];n.eachSeries(function(u){if(u.coordinateSystem===this){var s=u.getData(),v=u.coordDimToDataDim("alt")[0];if(v){var e=s.getDataExtent(v,!0);c[0]=Math.min(c[0],e[0]),c[1]=Math.max(c[1],e[1])}}},this),c&&isFinite(c[1]-c[0])&&(this.altitudeExtent=c)}}var g={dimensions:B.a.prototype.dimensions,create:function(n,a){var c=[];return n.eachComponent("mapbox3D",function(u){var s=u.__viewGL;s||(s=u.__viewGL=new d.a,s.setRootNode(new E.a.Node));var v=new B.a;v.viewGL=u.__viewGL,v.resize=l,v.resize(u,a),c.push(v),u.coordinateSystem=v,v.model=u,v.setCameraOption(u.getMapboxCameraOption()),v.update=o}),n.eachSeries(function(u){if(u.get("coordinateSystem")==="mapbox3D"){var s=u.getReferringComponents("mapbox3D")[0];if(s||(s=n.getComponent("mapbox3D")),!s)throw new Error('mapbox3D "'+m.a.firstNotNull(u.get("mapbox3DIndex"),u.get("mapbox3DId"),0)+'" not found');u.coordinateSystem=s.coordinateSystem}}),c}};p.a.registerCoordinateSystem("mapbox3D",g);var r=g},function(k,P,_){"use strict";var B=_(1),C=_.n(B),p=C.a.mat4,m=512,E=.6435011087932844,d=Math.PI,l=1/10;function o(){this.width=0,this.height=0,this.altitudeScale=1,this.boxHeight="auto",this.altitudeExtent,this.bearing=0,this.pitch=0,this.center=[0,0],this._origin,this.zoom=0,this._initialZoom}o.prototype={constructor:o,type:"mapbox3D",dimensions:["lng","lat","alt"],containPoint:function(){},setCameraOption:function(g){this.bearing=g.bearing,this.pitch=g.pitch,this.center=g.center,this.zoom=g.zoom,this._origin||(this._origin=this.projectOnTileWithScale(this.center,m)),this._initialZoom==null&&(this._initialZoom=this.zoom),this.updateTransform()},updateTransform:function(){if(this.height){var g=.5/Math.tan(E/2)*this.height*l,r=Math.max(Math.min(this.pitch,60),0)/180*Math.PI,n=E/2,a=Math.PI/2+r,c=Math.sin(n)*g/Math.sin(Math.PI-a-n),u=Math.cos(Math.PI/2-r)*c+g,s=u*1.1,v=new Float64Array(16);p.perspective(v,E,this.width/this.height,1,s),this.viewGL.camera.projectionMatrix.setArray(v),this.viewGL.camera.decomposeProjectionMatrix();var v=p.identity(new Float64Array(16)),e=this.dataToPoint(this.center);p.scale(v,v,[1,-1,1]),p.translate(v,v,[0,0,-g]),p.rotateX(v,v,r),p.rotateZ(v,v,-this.bearing/180*Math.PI),p.translate(v,v,[-e[0]*this.getScale()*l,-e[1]*this.getScale()*l,0]),this.viewGL.camera.viewMatrix.array=v;var t=new Float64Array(16);p.invert(t,v),this.viewGL.camera.worldTransform.array=t,this.viewGL.camera.decomposeWorldTransform();var i=m*this.getScale(),f;if(this.altitudeExtent&&!isNaN(this.boxHeight)){var y=this.altitudeExtent[1]-this.altitudeExtent[0];f=this.boxHeight/y*this.getScale()/Math.pow(2,this._initialZoom)}else f=i/(2*Math.PI*6378e3*Math.abs(Math.cos(this.center[1]*(Math.PI/180))))*this.altitudeScale*l;this.viewGL.rootNode.scale.set(this.getScale()*l,this.getScale()*l,f)}},getScale:function(){return Math.pow(2,this.zoom)},projectOnTile:function(g,r){return this.projectOnTileWithScale(g,this.getScale()*m,r)},projectOnTileWithScale:function(g,r,n){var a=g[0],c=g[1],u=a*d/180,s=c*d/180,v=r*(u+d)/(2*d),e=r*(d-Math.log(Math.tan(d/4+s*.5)))/(2*d);return n=n||[],n[0]=v,n[1]=e,n},unprojectFromTile:function(g,r){return this.unprojectOnTileWithScale(g,this.getScale()*m,r)},unprojectOnTileWithScale:function(g,r,n){var a=g[0],c=g[1],u=a/r*(2*d)-d,s=2*(Math.atan(Math.exp(d-c/r*(2*d)))-d/4);return n=n||[],n[0]=u*180/d,n[1]=s*180/d,n},dataToPoint:function(g,r){return r=this.projectOnTileWithScale(g,m,r),r[0]-=this._origin[0],r[1]-=this._origin[1],r[2]=isNaN(g[2])?0:g[2],isNaN(g[2])||(r[2]=g[2],this.altitudeExtent&&(r[2]-=this.altitudeExtent[0])),r}},P.a=o},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(31),m=_(32),E=["zoom","center","pitch","bearing"],d=C.a.extendComponentModel({type:"mapbox3D",layoutMode:"box",coordinateSystem:null,defaultOption:{zlevel:-10,style:"mapbox://styles/mapbox/light-v9",center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMapboxCameraOption:function(){var o=this;return E.reduce(function(g,r){return g[r]=o.get(r),g},{})},setMapboxCameraOption:function(o){o!=null&&E.forEach(function(g){o[g]!=null&&(this.option[g]=o[g])},this)},getMapbox:function(){return this._mapbox},setMapbox:function(o){this._mapbox=o}});C.a.util.merge(d.prototype,p.a),C.a.util.merge(d.prototype,m.a);var l=d},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(200),m=_(34),E=_(2),d=_(201);E.a.Shader.import(d.a);var l=512,o=C.a.extendComponentView({type:"mapbox3D",__ecgl__:!0,init:function(g,r){var n=r.getZr();this._zrLayer=new p.a("mapbox3D",n),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new E.a.Node,this._sceneHelper=new m.a(this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var a=this._zrLayer.getMapbox(),c=this._dispatchInteractAction.bind(this,r,a);["zoom","rotate","drag","pitch","rotate","move"].forEach(function(u){a.on(u,c)}),this._groundMesh=new E.a.Mesh({geometry:new E.a.PlaneGeometry,material:new E.a.Material({shader:new E.a.Shader({vertex:E.a.Shader.source("ecgl.displayShadow.vertex"),fragment:E.a.Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},render:function(g,r,n){var a=this._zrLayer.getMapbox(),c=g.get("style"),u=JSON.stringify(c);u!==this._oldStyleStr&&c&&a.setStyle(c),this._oldStyleStr=u,a.setCenter(g.get("center")),a.setZoom(g.get("zoom")),a.setPitch(g.get("pitch")),a.setBearing(g.get("bearing")),g.setMapbox(a);var s=g.coordinateSystem;s.viewGL.scene.add(this._lightRoot),s.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(s.viewGL.scene),this._sceneHelper.updateLight(g),s.viewGL.setPostEffect(g.getModel("postEffect"),n),s.viewGL.setTemporalSuperSampling(g.getModel("temporalSuperSampling")),this._mapbox3DModel=g},afterRender:function(g,r,n,a){var c=a.renderer;this._sceneHelper.updateAmbientCubemap(c,g,n),this._sceneHelper.updateSkybox(c,g,n),g.coordinateSystem.viewGL.scene.traverse(function(u){u.material&&(u.material.define("fragment","NORMAL_UP_AXIS",2),u.material.define("fragment","NORMAL_FRONT_AXIS",1))})},updateCamera:function(g,r,n,a){g.coordinateSystem.setCameraOption(a),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(g,r,n){g.dispatchAction({type:"mapbox3DChangeCamera",pitch:r.getPitch(),zoom:r.getZoom(),center:r.getCenter().toArray(),bearing:r.getBearing(),mapbox3DId:this._mapbox3DModel&&this._mapbox3DModel.id})},_updateGroundMesh:function(){if(this._mapbox3DModel){var g=this._mapbox3DModel.coordinateSystem,r=g.dataToPoint(g.center);this._groundMesh.position.set(r[0],r[1],-.001);var n=new E.a.Plane(new E.a.Vector3(0,0,1),0),a=g.viewGL.camera.castRay(new E.a.Vector2(-1,-1)),c=g.viewGL.camera.castRay(new E.a.Vector2(1,1)),u=a.intersectPlane(n),s=c.intersectPlane(n),v=u.dist(s)/g.viewGL.rootNode.scale.x;this._groundMesh.scale.set(v,v,1)}},dispose:function(g,r){r.getZr().delLayer(-1e3)}})},function(k,P,_){"use strict";function B(p,m){if(this.id=p,this.zr=m,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!mapboxgl)throw new Error("Mapbox GL library must be included. See https://www.mapbox.com/mapbox-gl-js/api/");this._mapbox=new mapboxgl.Map({container:this.dom}),this._initEvents()}B.prototype.resize=function(){this._mapbox.resize()},B.prototype.getMapbox=function(){return this._mapbox},B.prototype.clear=function(){},B.prototype.refresh=function(){this._mapbox.resize()};var C=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","wheel","touchstart","touchend","touchmove","touchcancel"];B.prototype._initEvents=function(){var p=this._mapbox.getCanvasContainer();this._handlers=this._handlers||{contextmenu:function(m){return m.preventDefault(),!1}},C.forEach(function(m){this._handlers[m]=function(E){var d={};for(var l in E)d[l]=E[l];d.bubbles=!1;var o=new E.constructor(E.type,d);p.dispatchEvent(o)},this.zr.dom.addEventListener(m,this._handlers[m])},this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},B.prototype.dispose=function(){C.forEach(function(p){this.zr.dom.removeEventListener(p,this._handlers[p])},this)},P.a=B},function(k,P,_){"use strict";P.a=`
|
|
|
@export ecgl.displayShadow.vertex
|
|
|
|
|
|
@import ecgl.common.transformUniforms
|
|
|
|
|
|
@import ecgl.common.uv.header
|
|
|
|
|
|
@import ecgl.common.attributes
|
|
|
|
|
|
varying vec3 v_WorldPosition;
|
|
|
|
|
|
varying vec3 v_Normal;
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
@import ecgl.common.uv.main
|
|
|
v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);
|
|
|
|
|
|
v_WorldPosition = (world * vec4(position, 1.0)).xyz;
|
|
|
gl_Position = worldViewProjection * vec4(position, 1.0);
|
|
|
}
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
@export ecgl.displayShadow.fragment
|
|
|
|
|
|
@import ecgl.common.uv.fragmentHeader
|
|
|
|
|
|
varying vec3 v_Normal;
|
|
|
varying vec3 v_WorldPosition;
|
|
|
|
|
|
uniform float roughness: 0.2;
|
|
|
|
|
|
#ifdef DIRECTIONAL_LIGHT_COUNT
|
|
|
@import clay.header.directional_light
|
|
|
#endif
|
|
|
|
|
|
@import ecgl.common.ssaoMap.header
|
|
|
|
|
|
@import clay.plugin.compute_shadow_map
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
float shadow = 1.0;
|
|
|
|
|
|
@import ecgl.common.ssaoMap.main
|
|
|
|
|
|
#if defined(DIRECTIONAL_LIGHT_COUNT) && defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)
|
|
|
float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];
|
|
|
if(shadowEnabled)
|
|
|
{
|
|
|
computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);
|
|
|
}
|
|
|
for (int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) {
|
|
|
shadow = min(shadow, shadowContribsDir[i] * 0.5 + 0.5);
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
shadow *= 0.5 + ao * 0.5;
|
|
|
shadow = clamp(shadow, 0.0, 1.0);
|
|
|
|
|
|
gl_FragColor = vec4(vec3(0.0), 1.0 - shadow);
|
|
|
}
|
|
|
|
|
|
@end`},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(203),m=_(206),E=_(208),d=_(16);C.a.registerVisual(Object(d.a)("bar3D")),C.a.registerProcessor(function(l,o){l.eachSeriesByType("bar3d",function(g){var r=g.getData();r.filterSelf(function(n){return r.hasValue(n)})})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(4),m=_(1),E=_.n(m),d=_(204),l=_(205),o=E.a.vec3;function g(a,c){var u=a.getData(),s=a.get("minHeight")||0,v=a.get("barSize"),e=["lng","lat","alt"].map(function(f){return a.coordDimToDataDim(f)[0]});if(v==null){var t=c.radius*Math.PI,i=Object(l.a)(u,e[0],e[1]);v=[t/Math.sqrt(u.count()/i),t/Math.sqrt(u.count()/i)]}else C.a.util.isArray(v)||(v=[v,v]);u.each(e,function(f,y,b,x){var A=u.get(e[2],x,!0),M=u.stackedOn?A-b:c.altitudeAxis.scale.getExtent()[0],L=Math.max(c.altitudeAxis.dataToCoord(b),s),O=c.dataToPoint([f,y,M]),D=c.dataToPoint([f,y,A]),N=o.sub([],D,O);o.normalize(N,N);var I=[v[0],L,v[1]];u.setItemLayout(x,[O,N,I])}),u.setLayout("orient",p.a.UP.array)}function r(a,c){var u=a.getData(),s=a.get("barSize"),v=a.get("minHeight")||0,e=["lng","lat","alt"].map(function(y){return a.coordDimToDataDim(y)[0]});if(s==null){var t=Math.min(c.size[0],c.size[2]),i=Object(l.a)(u,e[0],e[1]);s=[t/Math.sqrt(u.count()/i),t/Math.sqrt(u.count()/i)]}else C.a.util.isArray(s)||(s=[s,s]);var f=[0,1,0];u.each(e,function(y,b,x,A){var M=u.get(e[2],A,!0),L=u.stackedOn?M-x:c.altitudeAxis.scale.getExtent()[0],O=Math.max(c.altitudeAxis.dataToCoord(x),v),D=c.dataToPoint([y,b,L]),N=[s[0],O,s[1]];u.setItemLayout(A,[D,f,N])}),u.setLayout("orient",[1,0,0])}function n(a,c){var u=a.getData(),s=a.coordDimToDataDim("lng")[0],v=a.coordDimToDataDim("lat")[0],e=a.coordDimToDataDim("alt")[0],t=a.get("barSize"),i=a.get("minHeight")||0;if(t==null){var f=u.getDataExtent(s),y=u.getDataExtent(v),b=c.dataToPoint([f[0],y[0]]),x=c.dataToPoint([f[1],y[1]]),A=Math.min(Math.abs(b[0]-x[0]),Math.abs(b[1]-x[1]))||1,M=Object(l.a)(u,s,v);t=[A/Math.sqrt(u.count()/M),A/Math.sqrt(u.count()/M)]}else C.a.util.isArray(t)||(t=[t,t]),t[0]/=c.getScale()/16,t[1]/=c.getScale()/16;var L=[0,0,1];u.each([s,v,e],function(O,D,N,I){var U=u.get(e,I,!0),F=u.stackedOn?U-N:0,K=c.dataToPoint([O,D,F]),j=c.dataToPoint([O,D,U]),G=Math.max(j[2]-K[2],i),Y=[t[0],G,t[1]];u.setItemLayout(I,[K,L,Y])}),u.setLayout("orient",[1,0,0])}C.a.registerLayout(function(a,c){a.eachSeriesByType("bar3D",function(u){var s=u.coordinateSystem,v=s&&s.type;if(v==="globe")g(u,s);else if(v==="cartesian3D")Object(d.a)(u,s);else if(v==="geo3D")r(u,s);else if(v==="mapbox3D")n(u,s);else throw s?new Error("bar3D doesn't support coordinate system "+s.type):new Error("bar3D doesn't have coordinate system.")})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(1),m=_.n(p),E=m.a.vec3;function d(o){var g=o[0],r=o[1];return!(g>0&&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),M=r.stackedOn?A-b:t?0:e[0],L=g.dataToPoint([f,y,M]),O=g.dataToPoint([f,y,A]),D=E.dist(L,O),N=[0,O[1]<L[1]?-1:1,0];Math.abs(D)===0&&(D=.1);var I=[n[0],D,n[1]];r.setItemLayout(x,[L,N,I])}),r.setLayout("orient",[1,0,0])}P.a=l},function(k,P,_){"use strict";P.a=function(B,C,p){for(var m=B.getDataExtent(C),E=B.getDataExtent(p),d=m[1]-m[0]||m[0],l=E[1]-E[0]||E[0],o=50,g=new Uint8Array(o*o),r=0;r<B.count();r++){var n=B.get(C,r),a=B.get(p,r),c=Math.floor((n-m[0])/d*(o-1)),u=Math.floor((a-E[0])/l*(o-1)),s=u*o+c;g[s]=g[s]||1}for(var v=0,r=0;r<g.length;r++)g[r]&&v++;return v/g.length}},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(27),d=_(207),l=_(61),o=_(1),g=_.n(o),r=g.a.vec3,n=C.a.extendChartView({type:"bar3D",__ecgl__:!0,init:function(a,c){this.groupGL=new p.a.Node,this._api=c,this._labelsBuilder=new l.a(256,256,c);var u=this;this._labelsBuilder.getLabelPosition=function(s,v,e){if(u._data){var t=u._data.getItemLayout(s),i=t[0],f=t[1],y=t[2][1];return r.scaleAndAdd([],i,f,e+y)}else return[0,0]},this._labelsBuilder.getMesh().renderOrder=100},render:function(a,c,u){var s=this._prevBarMesh;this._prevBarMesh=this._barMesh,this._barMesh=s,this._barMesh||(this._barMesh=new p.a.Mesh({geometry:new d.a,shadowDepthMaterial:new p.a.Material({shader:new p.a.Shader(p.a.Shader.source("ecgl.sm.depth.vertex"),p.a.Shader.source("ecgl.sm.depth.fragment"))}),culling:a.coordinateSystem.type==="cartesian3D",renderOrder:10,renderNormal:!0})),this.groupGL.remove(this._prevBarMesh),this.groupGL.add(this._barMesh),this.groupGL.add(this._labelsBuilder.getMesh());var v=a.coordinateSystem;if(this._doRender(a,u),v&&v.viewGL){v.viewGL.add(this.groupGL);var e=v.viewGL.isLinearSpace()?"define":"undefine";this._barMesh.material[e]("fragment","SRGB_DECODE")}this._data=a.getData(),this._labelsBuilder.updateData(this._data),this._labelsBuilder.updateLabels(),this._updateAnimation(a)},_updateAnimation:function(a){p.a.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevBarMesh,this._barMesh,a)},_doRender:function(a,c){var u=a.getData(),s=a.get("shading"),v=s!=="color",e=this,t=this._barMesh,i="ecgl."+s;(!t.material||t.material.shader.name!==i)&&(t.material=p.a.createMaterial(i,["VERTEX_COLOR"])),p.a.setMaterialFromModel(s,t.material,a,c),t.geometry.enableNormal=v,t.geometry.resetOffset();var f=a.get("bevelSize"),y=a.get("bevelSmoothness");t.geometry.bevelSegments=y,t.geometry.bevelSize=f;var b=[],x=new Float32Array(u.count()*4),A=0,D=0,M=!1;u.each(function(I){if(u.hasValue(I)){var U=u.getItemVisual(I,"color"),F=u.getItemVisual(I,"opacity");F==null&&(F=1),p.a.parseColor(U,b),b[3]*=F,x[A++]=b[0],x[A++]=b[1],x[A++]=b[2],x[A++]=b[3],b[3]>0&&(D++,b[3]<.99&&(M=!0))}}),t.geometry.setBarCount(D);var L=u.getLayout("orient"),O=this._barIndexOfData=new Int32Array(u.count()),D=0;u.each(function(I){if(!u.hasValue(I)){O[I]=-1;return}var U=u.getItemLayout(I),F=U[0],K=U[1],j=U[2],G=I*4;b[0]=x[G++],b[1]=x[G++],b[2]=x[G++],b[3]=x[G++],b[3]>0&&(e._barMesh.geometry.addBar(F,K,L,j,b,I),O[I]=D++)}),t.geometry.dirty(),t.geometry.updateBoundingBox();var N=t.material;N.transparent=M,N.depthMask=!M,t.geometry.sortTriangles=M,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=p.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=p.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=m.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 B=_(0),C=_.n(B),p=_(33),m=_(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;v<s;v++)this.attributes.color.set(v,a);this.dirtyAttribute("color")},getDataIndexOfVertex:function(n){return this._dataIndices?this._dataIndices[n]:null},addBar:function(){for(var n=o.create,a=o.scaleAndAdd,c=n(),u=n(),s=n(),v=n(),e=n(),t=n(),i=n(),f=[],y=[],b=0;b<8;b++)f[b]=n();for(var x=[[0,1,5,4],[2,3,7,6],[4,5,6,7],[3,2,1,0],[0,4,7,3],[1,2,6,5]],A=[0,1,2,0,2,3],M=[],b=0;b<x.length;b++)for(var L=x[b],O=0;O<2;O++){for(var D=[],N=0;N<3;N++)D.push(L[A[O*3+N]]);M.push(D)}return function(I,U,F,K,j,G){var Y=this._vertexOffset;if(this.bevelSize>0&&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 le=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<x.length;ve++){for(var xe=this._triangleOffset*3,be=0;be<6;be++)this.indices[xe++]=Q+A[be];Q+=4,this._triangleOffset+=2}for(var ve=0;ve<x.length;ve++)for(var De=y[ve],be=0;be<4;be++){var Ue=x[ve][be];le.position.set(this._vertexOffset,f[Ue]),le.normal.set(this._vertexOffset,De),le.color.set(this._vertexOffset++,j)}}else{for(var ve=0;ve<M.length;ve++){for(var xe=this._triangleOffset*3,be=0;be<3;be++)this.indices[xe+be]=M[ve][be]+this._vertexOffset;this._triangleOffset++}for(var ve=0;ve<f.length;ve++)le.position.set(this._vertexOffset,f[ve]),le.color.set(this._vertexOffset++,j)}}for(var we=this._vertexOffset,ve=Y;ve<we;ve++)this._dataIndices[ve]=G}}(),_addBevelBar:function(){var n=o.create(),a=o.create(),c=o.create(),u=g.create(),s=[],v=[1,-1,-1,1],e=[1,1,-1,-1],t=[2,0];return function(i,f,y,b,x,A,M){o.copy(a,f),o.normalize(a,a),o.cross(c,y,a),o.normalize(c,c),o.cross(n,a,c),o.normalize(c,c),u[0]=n[0],u[1]=n[1],u[2]=n[2],u[3]=a[0],u[4]=a[1],u[5]=a[2],u[6]=c[0],u[7]=c[1],u[8]=c[2],x=Math.min(b[0],b[2])/2*x;for(var L=0;L<3;L++)s[L]=Math.max(b[L]-x*2,0);for(var O=(b[0]-s[0])/2,D=(b[1]-s[1])/2,N=(b[2]-s[2])/2,I=[],U=[],F=this._vertexOffset,K=[],L=0;L<2;L++){K[L]=K[L]=[];for(var j=0;j<=A;j++)for(var G=0;G<4;G++){(j===0&&L===0||L===1&&j===A)&&K[L].push(F);for(var Y=0;Y<=A;Y++){var le=Y/A*Math.PI/2+Math.PI/2*G,Q=j/A*Math.PI/2+Math.PI/2*L;U[0]=O*Math.cos(le)*Math.sin(Q),U[1]=D*Math.cos(Q),U[2]=N*Math.sin(le)*Math.sin(Q),I[0]=U[0]+v[G]*s[0]/2,I[1]=U[1]+D+t[L]*s[1]/2,I[2]=U[2]+e[G]*s[2]/2,Math.abs(O-D)<1e-6&&Math.abs(D-N)<1e-6||(U[0]/=O*O,U[1]/=D*D,U[2]/=N*N),o.normalize(U,U),o.transformMat3(I,I,u),o.transformMat3(U,U,u),o.add(I,I,i),this.attributes.position.set(F,I),this.enableNormal&&this.attributes.normal.set(F,U),this.attributes.color.set(F,M),F++}}}for(var ve=A*4+3,xe=A*2+1,be=ve+1,G=0;G<xe;G++)for(var L=0;L<=ve;L++){var De=G*be+L+this._vertexOffset,Ue=G*be+(L+1)%be+this._vertexOffset,we=(G+1)*be+(L+1)%be+this._vertexOffset,Ye=(G+1)*be+L+this._vertexOffset;this.setTriangleIndices(this._triangleOffset++,[we,De,Ue]),this.setTriangleIndices(this._triangleOffset++,[we,Ye,De])}this.setTriangleIndices(this._triangleOffset++,[K[0][0],K[0][2],K[0][1]]),this.setTriangleIndices(this._triangleOffset++,[K[0][0],K[0][3],K[0][2]]),this.setTriangleIndices(this._triangleOffset++,[K[1][0],K[1][1],K[1][2]]),this.setTriangleIndices(this._triangleOffset++,[K[1][0],K[1][2],K[1][3]]),this._vertexOffset=F}}()});C.a.util.defaults(r.prototype,p.a),C.a.util.defaults(r.prototype,m.a),P.a=r},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(26),m=_(27),E=_(35),d=_(44),l=C.a.extendSeriesModel({type:"series.bar3D",dependencies:["globe"],visualColorAccessPath:"itemStyle.color",getInitialData:function(g,r){return Object(d.a)(this)},getFormattedLabel:function(g,r,n,a){var c=m.a.getFormattedLabel(this,g,r,n,a);return c==null&&(c=this.getData().get("z",g)),c},formatTooltip:function(g){return Object(E.a)(this,g)},defaultOption:{coordinateSystem:"cartesian3D",globeIndex:0,grid3DIndex:0,zlevel:-10,bevelSize:0,bevelSmoothness:2,onGridPlane:"xy",shading:"color",minHeight:0,itemStyle:{opacity:1},label:{show:!1,distance:2,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},emphasis:{label:{show:!0}},animationDurationUpdate:500}});C.a.util.merge(l.prototype,p.a);var o=l},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(210),m=_(211),E=_(45),d=_.n(E),l=_(16);C.a.registerVisual(d()("line3D","circle",null)),C.a.registerVisual(Object(l.a)("line3D")),C.a.registerLayout(function(o,g){o.eachSeriesByType("line3D",function(r){var n=r.getData(),a=r.coordinateSystem;if(a){if(a.type!=="cartesian3D"){console.error("line3D needs cartesian3D coordinateSystem");return}var c=new Float32Array(n.count()*3),u=[],s=[],v=a.dimensions,e=v.map(function(t){return r.coordDimToDataDim(t)[0]});a&&n.each(e,function(t,i,f,y){u[0]=t,u[1]=i,u[2]=f,a.dataToPoint(u,s),c[y*3]=s[0],c[y*3+1]=s[1],c[y*3+2]=s[2]}),n.setLayout("points",c)}})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(35),m=_(44),E=C.a.extendSeriesModel({type:"series.line3D",dependencies:["grid3D"],visualColorAccessPath:"lineStyle.color",getInitialData:function(l,o){return Object(m.a)(this)},formatTooltip:function(l){return Object(p.a)(this,l)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,lineStyle:{width:2},animationDurationUpdate:500}}),d=E},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(22),d=_(9),l=_(4),o=_(212),g=_.n(o),r=_(1),n=_.n(r),a=_(40),c=n.a.vec3;p.a.Shader.import(a.a);var u=C.a.extendChartView({type:"line3D",__ecgl__:!0,init:function(s,v){this.groupGL=new p.a.Node,this._api=v},render:function(s,v,e){var t=this._prevLine3DMesh;this._prevLine3DMesh=this._line3DMesh,this._line3DMesh=t,this._line3DMesh||(this._line3DMesh=new p.a.Mesh({geometry:new E.a({useNativeLine:!1,sortTriangles:!0}),material:new p.a.Material({shader:p.a.createShader("ecgl.meshLines3D")}),renderOrder:10}),this._line3DMesh.geometry.pick=this._pick.bind(this)),this.groupGL.remove(this._prevLine3DMesh),this.groupGL.add(this._line3DMesh);var i=s.coordinateSystem;if(i&&i.viewGL){i.viewGL.add(this.groupGL);var f=i.viewGL.isLinearSpace()?"define":"undefine";this._line3DMesh.material[f]("fragment","SRGB_DECODE")}this._doRender(s,e),this._data=s.getData(),this._camera=i.viewGL.camera,this.updateCamera(),this._updateAnimation(s)},updateCamera:function(){this._updateNDCPosition()},_doRender:function(s,v){var e=s.getData(),t=this._line3DMesh;t.geometry.resetOffset();var i=e.getLayout("points"),f=[],y=new Float32Array(i.length/3*4),b=0,x=!1;e.each(function(L){var O=e.getItemVisual(L,"color"),D=e.getItemVisual(L,"opacity");D==null&&(D=1),p.a.parseColor(O,f),f[3]*=D,y[b++]=f[0],y[b++]=f[1],y[b++]=f[2],y[b++]=f[3],f[3]<.99&&(x=!0)}),t.geometry.setVertexCount(t.geometry.getPolylineVertexCount(i)),t.geometry.setTriangleCount(t.geometry.getPolylineTriangleCount(i)),t.geometry.addPolyline(i,y,m.a.firstNotNull(s.get("lineStyle.width"),1)),t.geometry.dirty(),t.geometry.updateBoundingBox();var A=t.material;A.transparent=x,A.depthMask=!x;var M=s.getModel("debug.wireframe");M.get("show")?(t.geometry.createAttribute("barycentric","float",3),t.geometry.generateBarycentric(),t.material.set("both","WIREFRAME_TRIANGLE"),t.material.set("wireframeLineColor",p.a.parseColor(M.get("lineStyle.color")||"rgba(0,0,0,0.5)")),t.material.set("wireframeLineWidth",m.a.firstNotNull(M.get("lineStyle.width"),1))):t.material.set("both","WIREFRAME_TRIANGLE"),this._points=i,this._initHandler(s,v)},_updateAnimation:function(s){p.a.updateVertexAnimation([["prevPosition","position"],["prevPositionPrev","positionPrev"],["prevPositionNext","positionNext"]],this._prevLine3DMesh,this._line3DMesh,s)},_initHandler:function(s,v){var e=s.getData(),t=s.coordinateSystem,i=this._line3DMesh,f=-1;i.seriesIndex=s.seriesIndex,i.off("mousemove"),i.off("mouseout"),i.on("mousemove",function(y){var b=t.pointToData(y.point.array),x=e.indicesOfNearest("x",b[0])[0];x!==f&&(v.dispatchAction({type:"grid3DShowAxisPointer",value:[e.get("x",x),e.get("y",x),e.get("z",x)]}),i.dataIndex=x),f=x},this),i.on("mouseout",function(y){f=-1,i.dataIndex=-1,v.dispatchAction({type:"grid3DHideAxisPointer"})},this)},_updateNDCPosition:function(){var s=new d.a,v=this._camera;d.a.multiply(s,v.projectionMatrix,v.viewMatrix);var e=this._positionNDC,t=this._points,i=t.length/3;(!e||e.length/2!==i)&&(e=this._positionNDC=new Float32Array(i*2));for(var f=[],y=0;y<i;y++){var b=y*3,x=y*2;f[0]=t[b],f[1]=t[b+1],f[2]=t[b+2],f[3]=1,c.transformMat4(f,f,s.array),e[x]=f[0]/f[3],e[x+1]=f[1]/f[3]}},_pick:function(s,v,e,t,i,f){var y=this._positionNDC,b=this._data.hostModel,x=b.get("lineStyle.width"),A=-1,M=e.viewport.width,L=e.viewport.height,O=M*.5,D=L*.5;s=(s+1)*O,v=(v+1)*D;for(var N=1;N<y.length/2;N++){var I=(y[(N-1)*2]+1)*O,U=(y[(N-1)*2+1]+1)*D,F=(y[N*2]+1)*O,K=(y[N*2+1]+1)*D;if(g.a.containStroke(I,U,F,K,x,s,v)){var j=(I-s)*(I-s)+(U-v)*(U-v),G=(F-s)*(F-s)+(K-v)*(K-v);A=j<G?N-1:N}}if(A>=0){var Y=A*3,le=new l.a(this._points[Y],this._points[Y+1],this._points[Y+2]);f.push({dataIndex:A,point:le,pointWorld:le.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(le)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P){function _(B,C,p,m,E,d,l){if(E===0)return!1;var o=E,g=0,r=B;if(l>C+o&&l>m+o||l<C-o&&l<m-o||d>B+o&&d>p+o||d<B-o&&d<p-o)return!1;if(B!==p)g=(C-m)/(B-p),r=(B*m-p*C)/(B-p);else return Math.abs(d-B)<=o/2;var n=g*d-l+r,a=n*n/(g*g+1);return a<=o/2*o/2}P.containStroke=_},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(214),m=_(215),E=_(45),d=_.n(E),l=_(16);C.a.registerVisual(d()("scatter3D","circle",null)),C.a.registerVisual(Object(l.a)("scatter3D")),C.a.registerLayout({seriesType:"scatter3D",reset:function(o){var g=o.coordinateSystem;if(g){var r=g.dimensions;if(r.length<3){console.error("scatter3D needs 3D coordinateSystem");return}var n=r.map(function(u){return o.coordDimToDataDim(u)[0]}),a=[],c=[];return{progress:function(u,s){for(var v=new Float32Array((u.end-u.start)*3),e=u.start;e<u.end;e++){var t=(e-u.start)*3;a[0]=s.get(n[0],e),a[1]=s.get(n[1],e),a[2]=s.get(n[2],e),g.dataToPoint(a,c),v[t]=c[0],v[t+1]=c[1],v[t+2]=c[2]}s.setLayout("points",v)}}}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(27),m=_(35),E=_(44);C.a.extendSeriesModel({type:"series.scatter3D",dependencies:["globe","grid3D","geo3D"],visualColorAccessPath:"itemStyle.color",getInitialData:function(d,l){return Object(E.a)(this)},getFormattedLabel:function(d,l,o,g){var r=p.a.getFormattedLabel(this,d,l,o,g);if(r==null){var n=this.getData(),a=n.dimensions[n.dimensions.length-1];r=n.get(a,d)}return r},formatTooltip:function(d){return Object(m.a)(this,d)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,progressive:1e5,progressiveThreshold:1e5,grid3DIndex:0,globeIndex:0,symbol:"circle",symbolSize:10,blendMode:"source-over",label:{show:!1,position:"right",distance:5,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},itemStyle:{opacity:.8},emphasis:{label:{show:!0}},animationDurationUpdate:500}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(27),d=_(62);C.a.extendChartView({type:"scatter3D",__ecgl__:!0,init:function(l,o){this.groupGL=new p.a.Node,this._pointsBuilderList=[],this._currentStep=0},render:function(l,o,g){if(this.groupGL.removeAll(),!!l.getData().count()){var r=l.coordinateSystem;if(r&&r.viewGL){r.viewGL.add(this.groupGL),this._camera=r.viewGL.camera;var n=this._pointsBuilderList[0];n||(n=this._pointsBuilderList[0]=new d.a(!1,g)),this._pointsBuilderList.length=1,this.groupGL.add(n.rootNode),n.update(l,o,g),n.updateView(r.viewGL.camera)}else throw new Error("Invalid coordinate system")}},incrementalPrepareRender:function(l,o,g){var r=l.coordinateSystem;if(r&&r.viewGL)r.viewGL.add(this.groupGL),this._camera=r.viewGL.camera;else throw new Error("Invalid coordinate system");this.groupGL.removeAll(),this._currentStep=0},incrementalRender:function(l,o,g,r){if(!(l.end<=l.start)){var n=this._pointsBuilderList[this._currentStep];n||(n=new d.a(!1,r),this._pointsBuilderList[this._currentStep]=n),this.groupGL.add(n.rootNode),n.update(o,g,r,l.start,l.end),n.updateView(o.coordinateSystem.viewGL.camera),this._currentStep++}},updateCamera:function(){this._pointsBuilderList.forEach(function(l){l.updateView(this._camera)},this)},highlight:function(l,o,g,r){this._toggleStatus("highlight",l,o,g,r)},downplay:function(l,o,g,r){this._toggleStatus("downplay",l,o,g,r)},_toggleStatus:function(l,o,g,r,n){var a=o.getData(),c=m.a.queryDataIndex(a,n),u=l==="highlight";c!=null?C.a.util.each(E.a.normalizeToArray(c),function(s){for(var v=0;v<this._pointsBuilderList.length;v++){var e=this._pointsBuilderList[v];u?e.highlight(a,s):e.downplay(a,s)}},this):a.each(function(s){for(var v=0;v<this._pointsBuilderList.length;v++){var e=this._pointsBuilderList[v];u?e.highlight(a,s):e.downplay(a,s)}})},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B);function p(l,r,g){var r=r||document.createElement("canvas");r.width=l,r.height=l;var n=r.getContext("2d");return g&&g(n),r}function m(l,o,g,r){C.a.util.isArray(o)||(o=[o,o]);var n=d.getMarginByStyle(g,r),a=o[0]+n.left+n.right,c=o[1]+n.top+n.bottom,u=C.a.helper.createSymbol(l,0,0,o[0],o[1]),s=Math.max(a,c);u.position=[n.left,n.top],a>c?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,M){var L=1/0;A=Math.floor(A*u),M=Math.floor(M*s);for(var O=M*r+A,D=o.data[O*4],N=v(D),I=Math.max(M-g,0);I<Math.min(M+g,n);I++)for(var U=Math.max(A-g,0);U<Math.min(A+g,r);U++){var O=I*r+U,F=o.data[O*4],K=v(F),j=U-A,G=I-M;if(N!==K){var Y=j*j+G*G;Y<L&&(L=Y)}}return N*Math.sqrt(L)}for(var t=l.createImageData(a,c),i=0;i<c;i++)for(var f=0;f<a;f++){var y=e(f,i),b=y/g*.5+.5,x=(i*a+f)*4;t.data[x++]=(1-b)*255,t.data[x++]=(1-b)*255,t.data[x++]=(1-b)*255,t.data[x++]=255}return t}var d={getMarginByStyle:function(l){var o=l.minMargin||0,g=0;l.stroke&&l.stroke!=="none"&&(g=l.lineWidth==null?1:l.lineWidth);var r=l.shadowBlur||0,n=l.shadowOffsetX||0,a=l.shadowOffsetY||0,c={};return c.left=Math.max(g/2,-n+r,o),c.right=Math.max(g/2,n+r,o),c.top=Math.max(g/2,-a+r,o),c.bottom=Math.max(g/2,a+r,o),c},createSymbolSprite:function(l,o,g,r){var n=m(l,o,g),a=d.getMarginByStyle(g);return{image:p(n.__size,r,function(c){n.brush(c)}),margin:a}},createSDFFromCanvas:function(l,o,g,r){return p(o,r,function(n){var a=l.getContext("2d"),c=a.getImageData(0,0,l.width,l.height);n.putImageData(E(n,c,g),0,0)})},createSimpleSprite:function(l,o){return p(l,o,function(g){var r=l/2;g.beginPath(),g.arc(r,r,60,0,Math.PI*2,!1),g.closePath();var n=g.createRadialGradient(r,r,0,r,r,r);n.addColorStop(0,"rgba(255, 255, 255, 1)"),n.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),n.addColorStop(1,"rgba(255, 255, 255, 0)"),g.fillStyle=n,g.fill()})}};P.a=d},function(k,P,_){"use strict";var B=_(2),C=_(218),p=_(0),m=_.n(p),E=_(1),d=_.n(E),l=_(219),o=d.a.vec4;B.a.Shader.import(l.a);var g=B.a.Mesh.extend(function(){var r=new B.a.Geometry({dynamic:!0,attributes:{color:new B.a.Geometry.Attribute("color","float",4,"COLOR"),position:new B.a.Geometry.Attribute("position","float",3,"POSITION"),size:new B.a.Geometry.Attribute("size","float",1),prevPosition:new B.a.Geometry.Attribute("prevPosition","float",3),prevSize:new B.a.Geometry.Attribute("prevSize","float",1)}});m.a.util.extend(r,C.a);var n=new B.a.Material({shader:B.a.createShader("ecgl.sdfSprite"),transparent:!0,depthMask:!1});n.enableTexture("sprite"),n.define("both","VERTEX_COLOR"),n.define("both","VERTEX_SIZE");var a=new B.a.Texture2D({image:document.createElement("canvas"),flipY:!1});return n.set("sprite",a),r.pick=this._pick.bind(this),{geometry:r,material:n,mode:B.a.Mesh.POINTS,sizeScale:1}},{_pick:function(r,n,a,c,u,s){var v=this._positionNDC;if(v)for(var e=a.viewport,t=2/e.width,i=2/e.height,f=this.geometry.vertexCount-1;f>=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,M=A/2;if(r>b-M*t&&r<b+M*t&&n>x-M*i&&n<x+M*i){var L=new B.a.Vector3,O=new B.a.Vector3;this.geometry.attributes.position.get(y,L.array),B.a.Vector3.transformMat4(O,L,this.worldTransform),s.push({vertexIndex:y,point:L,pointWorld:O,target:this,distance:O.distance(c.getWorldPosition())})}}},updateNDCPosition:function(r,n,a){var c=this._positionNDC,u=this.geometry;(!c||c.length/2!==u.vertexCount)&&(c=this._positionNDC=new Float32Array(u.vertexCount*2));for(var s=o.create(),v=0;v<u.vertexCount;v++)u.attributes.position.get(v,s),s[3]=1,o.transformMat4(s,s,r.array),o.scale(s,s,1/s[3]),c[v*2]=s[0],c[v*2+1]=s[1]}});P.a=g},function(k,P,_){"use strict";var B=_(81),C=_(1),p=_.n(C),m=p.a.vec3;P.a={needsSortVertices:function(){return this.sortVertices},needsSortVerticesProgressively:function(){return this.needsSortVertices()&&this.vertexCount>=2e4},doSortVertices:function(E,d){var l=this.indices,o=m.create();if(!l){l=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var g=0;g<l.length;g++)l[g]=g}if(d===0){var r=this.attributes.position,E=E.array,n=0;(!this._zList||this._zList.length!==this.vertexCount)&&(this._zList=new Float32Array(this.vertexCount));for(var a,g=0;g<this.vertexCount;g++){r.get(g,o);var c=m.sqrDist(o,E);isNaN(c)&&(c=1e7,n++),g===0?(a=c,c=0):c=c-a,this._zList[g]=c}this._noneCount=n}if(this.vertexCount<2e4)d===0&&this._simpleSort(this._noneCount/this.vertexCount>.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):B.a.sort(l,o,0,l.length-1)},_progressiveQuickSort:function(E){var d=this._zList,l=this.indices;this._quickSort=this._quickSort||new B.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 B=_(0),C=_.n(B),p=_(221),m=_(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 B=_(0),C=_.n(B),p=_(1),m=_.n(p),E=m.a.vec3,d=m.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,M){d.copy(v,A[0]),d.copy(e,A[1]);var L=[],O=L[0]=n(),D=L[1]=n(),N=L[2]=n(),I=L[3]=n();M.dataToPoint(v,O),M.dataToPoint(e,I),l(a,O),g(c,I,O),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,O,I),l(c,c),o(u,c,a),l(u,u),o(c,a,u),r(N,a,c),l(N,N),r(s,O,I),l(s,s);var U=E.dot(O,s),F=E.dot(s,D),K=(Math.max(E.len(O),E.len(I))-U)/F*2;return E.scaleAndAdd(D,O,D,K),E.scaleAndAdd(N,I,N,K),L}function i(A,M,L){var O=[],D=O[0]=E.create(),N=O[1]=E.create(),I=O[2]=E.create(),U=O[3]=E.create();M.dataToPoint(A[0],D),M.dataToPoint(A[1],U);var F=E.dist(D,U);return E.lerp(N,D,U,.3),E.lerp(I,D,U,.3),E.scaleAndAdd(N,N,L,Math.min(F*.1,10)),E.scaleAndAdd(I,I,L,Math.min(F*.1,10)),O}function f(A,M){for(var L=new Float32Array(A.length*3),O=0,D=[],N=0;N<A.length;N++)M.dataToPoint(A[N],D),L[O++]=D[0],L[O++]=D[1],L[O++]=D[2];return L}function y(A){var M=[];return A.each(function(L){var O=A.getItemModel(L),D=O.option instanceof Array?O.option:O.getShallow("coords",!0);if(!(D instanceof Array&&D.length>0&&D[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(D)+". Lines must have 2d coords array in data item.");M.push(D)}),{coordsList:M}}function b(A,M){var L=A.getData(),O=A.get("polyline");L.setLayout("lineType",O?"polyline":"cubicBezier");var D=y(L);L.each(function(N){var I=D.coordsList[N],U=O?f:t;L.setItemLayout(N,U(I,M))})}function x(A,M,L){var O=A.getData(),D=A.get("polyline"),N=y(O);O.setLayout("lineType",D?"polyline":"cubicBezier"),O.each(function(I){var U=N.coordsList[I],F=D?f(U,M):i(U,M,L);O.setItemLayout(I,F)})}C.a.registerLayout(function(A,M){A.eachSeriesByType("lines3D",function(L){var O=L.coordinateSystem;O.type==="globe"?b(L,O):O.type==="geo3D"?x(L,O,[0,1,0]):O.type==="mapbox3D"&&x(L,O,[0,0,1])})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(22),E=_(223),d=_(40);p.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 p.a.Node,this._meshLinesMaterial=new p.a.Material({shader:p.a.createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new p.a.Mesh({geometry:new m.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"?p.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),M=A.get(e);M==null&&(M=1),a.setItemVisual(x,"lineWidth",M),i=Math.max(M,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),M=a.getItemVisual(x,"color"),L=a.getItemVisual(x,"opacity"),O=a.getItemVisual(x,"lineWidth")*t;L==null&&(L=1),b=p.a.parseColor(M,b),b[3]*=L,s?u.addPolyline(A,b,O):u.addCubicCurve(A[0],A[1],A[2],A[3],b,O)}),u.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(1),E=_.n(m),d=_(22),l=_(224),o=E.a.vec3;function g(r){return r>0?1:-1}p.a.Shader.import(l.a),P.a=p.a.Mesh.extend(function(){var r=new p.a.Material({shader:new p.a.Shader(p.a.Shader.source("ecgl.trail2.vertex"),p.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"),M=s.get("trailOpacity"),L=A!=null,O=M!=null;this.updateWorldTransform();var D=this.worldTransform.x.len(),N=this.worldTransform.y.len(),I=this.worldTransform.z.len(),U=0,F=0;r.each(function(K){var j=r.getItemLayout(K),G=O?M:r.getItemVisual(K,"opacity"),Y=r.getItemVisual(K,"color");G==null&&(G=1),x=p.a.parseColor(L?A:Y,x),x[3]*=G;for(var le=y?a.getPolylineVertexCount(j):a.getCubicCurveVertexCount(j[0],j[1],j[2],j[3]),Q=0,ve=[],xe=[],be=U;be<U+le;be++)u.attributes.position.get(be,ve),ve[0]*=D,ve[1]*=N,ve[2]*=I,be>U&&(Q+=o.dist(ve,xe)),u.attributes.dist.set(be,Q),o.copy(xe,ve);F=Math.max(F,Q);for(var De=Math.random()*(f?Q:i),be=U;be<U+le;be++)u.attributes.distAll.set(be,Q),u.attributes.start.set(be,De),u.attributes.offset.set(be,g(a.attributes.offset.get(be))*v/2),u.attributes.color.set(be,x);U+=le}),this.material.set("spotSize",F*.1*e),this.material.set("spotIntensity",s.get("spotIntensity")),u.dirty()},setAnimationTime:function(r){this.material.set("time",r)}})},function(k,P,_){"use strict";P.a=`@export ecgl.trail2.vertex
|
|
|
attribute vec3 position: POSITION;
|
|
|
attribute vec3 positionPrev;
|
|
|
attribute vec3 positionNext;
|
|
|
attribute float offset;
|
|
|
attribute float dist;
|
|
|
attribute float distAll;
|
|
|
attribute float start;
|
|
|
|
|
|
attribute vec4 a_Color : COLOR;
|
|
|
|
|
|
uniform mat4 worldViewProjection : WORLDVIEWPROJECTION;
|
|
|
uniform vec4 viewport : VIEWPORT;
|
|
|
uniform float near : NEAR;
|
|
|
|
|
|
uniform float speed : 0;
|
|
|
uniform float trailLength: 0.3;
|
|
|
uniform float time;
|
|
|
uniform float period: 1000;
|
|
|
|
|
|
uniform float spotSize: 1;
|
|
|
|
|
|
varying vec4 v_Color;
|
|
|
varying float v_Percent;
|
|
|
varying float v_SpotPercent;
|
|
|
|
|
|
@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
|
|
|
|
|
|
#ifdef CONSTANT_SPEED
|
|
|
float t = mod((speed * time + start) / distAll, 1. + trailLength) - trailLength;
|
|
|
#else
|
|
|
float t = mod((time + start) / period, 1. + trailLength) - trailLength;
|
|
|
#endif
|
|
|
|
|
|
float trailLen = distAll * trailLength;
|
|
|
|
|
|
v_Percent = (dist - t * distAll) / trailLen;
|
|
|
|
|
|
v_SpotPercent = spotSize / distAll;
|
|
|
|
|
|
}
|
|
|
@end
|
|
|
|
|
|
|
|
|
@export ecgl.trail2.fragment
|
|
|
|
|
|
uniform vec4 color : [1.0, 1.0, 1.0, 1.0];
|
|
|
uniform float spotIntensity: 5;
|
|
|
|
|
|
varying vec4 v_Color;
|
|
|
varying float v_Percent;
|
|
|
varying float v_SpotPercent;
|
|
|
|
|
|
@import ecgl.common.wireframe.fragmentHeader
|
|
|
|
|
|
@import clay.util.srgb
|
|
|
|
|
|
void main()
|
|
|
{
|
|
|
if (v_Percent > 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 B=_(0),C=_.n(B);C.a.extendSeriesModel({type:"series.lines3D",dependencies:["globe"],visualColorAccessPath:"lineStyle.color",getInitialData:function(p,m){var E=new C.a.List(["value"],this);return E.hasItemOption=!1,E.initData(p.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 B=_(0),C=_.n(B),p=_(227),m=_(228),E=_(16);C.a.registerVisual(Object(E.a)("polygons3D"))},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(26);function m(l,o){for(var g=[],r=0;r<o.length;r++)g.push(l.dataToPoint(o[r]));return g}var E=C.a.extendSeriesModel({type:"series.polygons3D",getRegionModel:function(l){return this.getData().getItemModel(l)},getRegionPolygonCoords:function(l){var o=this.coordinateSystem,g=this.getData().getItemModel(l),r=g.option instanceof Array?g.option:g.getShallow("coords");g.get("multiPolygon")||(r=[r]);for(var n=[],a=0;a<r.length;a++){for(var c=[],u=1;u<r[a].length;u++)c.push(m(o,r[a][u]));n.push({exterior:m(o,r[a][0]),interiors:c})}return n},getInitialData:function(l){var o=new C.a.List(["value"],this);return o.hasItemOption=!1,o.initData(l.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:{show:!0,data:null,multiPolygon:!1,progressiveThreshold:1e3,progressive:1e3,zlevel:-10,label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}});C.a.util.merge(E.prototype,p.a);var d=E},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(59),m=_(2);C.a.extendChartView({type:"polygons3D",__ecgl__:!0,init:function(E,d){this.groupGL=new m.a.Node,this._geo3DBuilderList=[],this._currentStep=0},render:function(E,d,l){this.groupGL.removeAll();var o=E.coordinateSystem;o&&o.viewGL&&o.viewGL.add(this.groupGL);var g=this._geo3DBuilderList[0];g||(g=new p.a(l),g.extrudeY=o.type!=="mapbox3D",this._geo3DBuilderList[0]=g),this._updateShaderDefines(o,g),g.update(E,d,l),this._geo3DBuilderList.length=1,this.groupGL.add(g.rootNode)},incrementalPrepareRender:function(E,d,l){this.groupGL.removeAll();var o=E.coordinateSystem;o&&o.viewGL&&o.viewGL.add(this.groupGL),this._currentStep=0},incrementalRender:function(E,d,l,o){var g=this._geo3DBuilderList[this._currentStep],r=d.coordinateSystem;g||(g=new p.a(o),g.extrudeY=r.type!=="mapbox3D",this._geo3DBuilderList[this._currentStep]=g),g.update(d,l,o,E.start,E.end),this.groupGL.add(g.rootNode),this._updateShaderDefines(r,g),this._currentStep++},_updateShaderDefines:function(E,d){var l=E.viewGL.isLinearSpace()?"define":"undefine";d.rootNode.traverse(function(o){o.material&&(o.material[l]("fragment","SRGB_DECODE"),E.type==="mapbox3D"&&(o.material.define("fragment","NORMAL_UP_AXIS",2),o.material.define("fragment","NORMAL_FRONT_AXIS",1)))})},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(230),m=_(231),E=_(232),d=_(16);C.a.registerVisual(Object(d.a)("surface"))},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(26),m=_(35),E=_(44),d=C.a.extendSeriesModel({type:"series.surface",dependencies:["globe","grid3D","geo3D"],visualColorAccessPath:"itemStyle.color",formatTooltip:function(o){return Object(m.a)(this,o)},getInitialData:function(o,g){var r=o.data;function n(j){return!(isNaN(j.min)||isNaN(j.max)||isNaN(j.step))}function a(j){var G=C.a.number.getPrecisionSafe;return Math.max(G(j.min),G(j.max),G(j.step))+1}if(!r)if(r=[],o.parametric){var x=o.parametricEquation||{},A=x.u||{},M=x.v||{};["u","v"].forEach(function(j){if(!n(x[j])){console.error("Invalid parametricEquation.%s",j);return}}),["x","y","z"].forEach(function(j){if(typeof x[j]!="function"){console.error("parametricEquation.%s needs to be function",j);return}});for(var L=a(A),O=a(M),D=M.min;D<M.max+M.step*.999;D+=M.step)for(var N=A.min;N<A.max+A.step*.999;N+=A.step){var I=C.a.number.round(Math.min(N,A.max),L),U=C.a.number.round(Math.min(D,M.max),O),i=x.x(I,U),t=x.y(I,U),b=x.z(I,U);r.push([i,t,b,I,U])}}else{var c=o.equation||{},u=c.x||{},s=c.y||{};if(["x","y"].forEach(function(j){if(!n(c[j])){console.error("Invalid equation.%s",j);return}}),typeof c.z!="function"){console.error("equation.z needs to be function");return}for(var v=a(u),e=a(s),t=s.min;t<s.max+s.step*.999;t+=s.step)for(var i=u.min;i<u.max+u.step*.999;i+=u.step){var f=C.a.number.round(Math.min(i,u.max),v),y=C.a.number.round(Math.min(t,s.max),e),b=c.z(f,y);r.push([f,y,b])}}var F=["x","y","z"];o.parametric&&F.push("u","v");var K=Object(E.a)(this,F,o.data||r);return K},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,shading:"lambert",parametric:!1,wireframe:{show:!0,lineStyle:{color:"rgba(0,0,0,0.5)",width:1}},equation:{x:{min:-1,max:1,step:.1},y:{min:-1,max:1,step:.1},z:null},parametricEquation:{u:{min:-1,max:1,step:.1},v:{min:-1,max:1,step:.1},x:null,y:null,z:null},itemStyle:{},animationDurationUpdate:500}});C.a.util.merge(d.prototype,p.a);var l=d},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(3),E=_(1),d=_.n(E),l=_(60),o=d.a.vec3;function g(r){return isNaN(r[0])||isNaN(r[1])||isNaN(r[2])}C.a.extendChartView({type:"surface",__ecgl__:!0,init:function(r,n){this.groupGL=new p.a.Node},render:function(r,n,a){var c=this._prevSurfaceMesh;this._prevSurfaceMesh=this._surfaceMesh,this._surfaceMesh=c,this._surfaceMesh||(this._surfaceMesh=this._createSurfaceMesh()),this.groupGL.remove(this._prevSurfaceMesh),this.groupGL.add(this._surfaceMesh);var u=r.coordinateSystem,s=r.get("shading"),v=r.getData(),e="ecgl."+s;if((!this._surfaceMesh.material||this._surfaceMesh.material.shader.name!==e)&&(this._surfaceMesh.material=p.a.createMaterial(e,["VERTEX_COLOR","DOUBLE_SIDED"])),p.a.setMaterialFromModel(s,this._surfaceMesh.material,r,a),u&&u.viewGL){u.viewGL.add(this.groupGL);var t=u.viewGL.isLinearSpace()?"define":"undefine";this._surfaceMesh.material[t]("fragment","SRGB_DECODE")}var i=r.get("parametric"),f=this._getDataShape(v,i),y=r.getModel("wireframe"),b=y.get("lineStyle.width"),x=y.get("show")&&b>0;this._updateSurfaceMesh(this._surfaceMesh,r,f,x);var A=this._surfaceMesh.material;x?(A.define("WIREFRAME_QUAD"),A.set("wireframeLineWidth",b),A.set("wireframeLineColor",p.a.parseColor(y.get("lineStyle.color")))):A.undefine("WIREFRAME_QUAD"),this._initHandler(r,a),this._updateAnimation(r)},_updateAnimation:function(r){p.a.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,r)},_createSurfaceMesh:function(){var r=new p.a.Mesh({geometry:new p.a.Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new p.a.Material({shader:new p.a.Shader(p.a.Shader.source("ecgl.sm.depth.vertex"),p.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<e.length;b++){c.geometry.attributes.position.get(e[b],y);var x=o.dist(t.array,y);x<i&&(i=x,f=e[b])}return f}c.seriesIndex=r.seriesIndex;var v=-1;c.off("mousemove"),c.off("mouseout"),c.on("mousemove",function(e){var t=s(e.triangle,e.point);if(t>=0){var i=[];c.geometry.attributes.position.get(t,i);for(var f=u.pointToData(i),y=1/0,b=-1,x=[],A=0;A<a.count();A++){x[0]=a.get("x",A),x[1]=a.get("y",A),x[2]=a.get("z",A);var M=o.squaredDistance(x,f);M<y&&(b=A,y=M)}b!==v&&n.dispatchAction({type:"grid3DShowAxisPointer",value:f}),v=b,c.dataIndex=b}else c.dataIndex=-1},this),c.on("mouseout",function(e){v=-1,c.dataIndex=-1,n.dispatchAction({type:"grid3DHideAxisPointer"})},this)},_updateSurfaceMesh:function(r,n,a,c){var u=r.geometry,s=n.getData(),v=s.getLayout("points"),e=0;s.each(function(fe){s.hasValue(fe)||e++});var t=e||c,i=u.attributes.position,f=u.attributes.normal,y=u.attributes.texcoord0,b=u.attributes.barycentric,x=u.attributes.color,A=a.row,M=a.column,L=n.get("shading"),O=L!=="color";if(t){var D=(A-1)*(M-1)*4;i.init(D),c&&b.init(D)}else i.value=new Float32Array(v);x.init(u.vertexCount),y.init(u.vertexCount);var N=[0,3,1,1,3,2],I=[[1,1,0,0],[0,1,0,1],[1,0,0,1],[1,0,1,0]],U=u.indices=new(u.vertexCount>65535?Uint32Array:Uint16Array)((A-1)*(M-1)*6),F=function(fe,Ce,re){re[1]=fe*M+Ce,re[0]=fe*M+Ce+1,re[3]=(fe+1)*M+Ce+1,re[2]=(fe+1)*M+Ce},K=!1;if(t){var j=[],G=[],Y=0;O?f.init(u.vertexCount):f.value=null;for(var le=[[],[],[]],Q=[],ve=[],xe=o.create(),be=function(fe,Ce,re){var ce=Ce*3;return re[0]=fe[ce],re[1]=fe[ce+1],re[2]=fe[ce+2],re},De=new Float32Array(v.length),Ue=new Float32Array(v.length/3*4),we=0;we<s.count();we++)if(s.hasValue(we)){var te=p.a.parseColor(s.getItemVisual(we,"color")),Ye=s.getItemVisual(we,"opacity");te[3]*=Ye,te[3]<.99&&(K=!0);for(var Be=0;Be<4;Be++)Ue[we*4+Be]=te[Be]}for(var ge=[1e7,1e7,1e7],we=0;we<A-1;we++)for(var He=0;He<M-1;He++){var Fe=we*(M-1)+He,Pe=Fe*4;F(we,He,j);for(var We=!1,Be=0;Be<4;Be++)be(v,j[Be],G),g(G)&&(We=!0);for(var Be=0;Be<4;Be++)We?i.set(Pe+Be,ge):(be(v,j[Be],G),i.set(Pe+Be,G)),c&&b.set(Pe+Be,I[Be]);for(var Be=0;Be<6;Be++)U[Y++]=N[Be]+Pe;if(O&&!We)for(var Be=0;Be<2;Be++){for(var Ne=Be*3,V=0;V<3;V++){var q=j[N[Ne]+V];be(v,q,le[V])}o.sub(Q,le[0],le[1]),o.sub(ve,le[1],le[2]),o.cross(xe,Q,ve);for(var V=0;V<3;V++){var ae=j[N[Ne]+V]*3;De[ae]=De[ae]+xe[0],De[ae+1]=De[ae+1]+xe[1],De[ae+2]=De[ae+2]+xe[2]}}}if(O)for(var we=0;we<De.length/3;we++)be(De,we,xe),o.normalize(xe,xe),De[we*3]=xe[0],De[we*3+1]=xe[1],De[we*3+2]=xe[2];for(var te=[],oe=[],we=0;we<A-1;we++)for(var He=0;He<M-1;He++){var Fe=we*(M-1)+He,Pe=Fe*4;F(we,He,j);for(var Be=0;Be<4;Be++){for(var V=0;V<4;V++)te[V]=Ue[j[Be]*4+V];x.set(Pe+Be,te),O&&(be(De,j[Be],xe),f.set(Pe+Be,xe));var q=j[Be];oe[0]=q%M/(M-1),oe[1]=Math.floor(q/M)/(A-1),y.set(Pe+Be,oe)}Fe++}}else{for(var oe=[],we=0;we<s.count();we++){oe[0]=we%M/(M-1),oe[1]=Math.floor(we/M)/(A-1);var te=p.a.parseColor(s.getItemVisual(we,"color")),Ye=s.getItemVisual(we,"opacity");te[3]*=Ye,te[3]<.99&&(K=!0),x.set(we,te),y.set(we,oe)}for(var j=[],ee=0,we=0;we<A-1;we++)for(var He=0;He<M-1;He++){F(we,He,j);for(var Be=0;Be<6;Be++)U[ee++]=j[N[Be]]}O?u.generateVertexNormals():f.value=null}r.material.get("normalMap")&&u.generateTangents(),u.updateBoundingBox(),u.dirty(),r.material.transparent=K,r.material.depthMask=!K},_getDataShape:function(r,n){for(var a=-1/0,c=0,u=0,s=0,v=n?"u":"x",e=0;e<r.count();e++){var t=r.get(v,e);if(t<a){if(s&&s!==u)throw new Error("Invalid data. data should be a row major 2d array.");s=u,u=0,c++}a=t,u++}return{row:c+1,column:u}},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B);C.a.registerLayout(function(p,m){p.eachSeriesByType("surface",function(E){var d=E.coordinateSystem;(!d||d.type!=="cartesian3D")&&console.error("Surface chart only support cartesian3D coordinateSystem");var l=E.getData(),o=new Float32Array(3*l.count()),g=[NaN,NaN,NaN];if(d&&d.type==="cartesian3D"){var r=d.dimensions,n=r.map(function(a){return E.coordDimToDataDim(a)[0]});l.each(n,function(a,c,u,s){var v;l.hasValue(s)?v=d.dataToPoint([a,c,u]):v=g,o[s*3]=v[0],o[s*3+1]=v[1],o[s*3+2]=v[2]})}l.setLayout("points",o)})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(83),m=_(234),E=_(235),d=_(16);C.a.registerVisual(Object(d.a)("map3D")),C.a.registerAction({type:"map3DChangeCamera",event:"map3dcamerachanged",update:"series:updateCamera"},function(l,o){o.eachComponent({mainType:"series",subType:"map3D",query:l},function(g){g.setView(l)})})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(38),m=_(31),E=_(32),d=_(26),l=_(80),o=_(27),g=_(35),r=_(82);function n(u,s){for(var v=[],e=0;e<s.length;e++)v.push(u.dataToPoint(s[e]));return v}var a=C.a.extendSeriesModel({type:"series.map3D",layoutMode:"box",coordinateSystem:null,visualColorAccessPath:"itemStyle.color",optionUpdated:function(u){u=u||{};var s=this.get("coordinateSystem");if(!(s==null||s==="geo3D")){var v=["left","top","width","height","boxWidth","boxDepth","boxHeight","light","viewControl","postEffect","temporalSuperSampling","environment","groundPlane"],e=[];v.forEach(function(t){u[t]!=null&&e.push(t)}),e.length&&console.warn("Property %s in map3D series will be ignored if coordinate system is %s",e.join(", "),s),this.get("groundPlane.show")&&(this.option.groundPlane.show=!1),this._geo=null}},getInitialData:function(u){u.data=this.getFilledRegions(u.data,u.map);var s=C.a.helper.completeDimensions(["value"],u.data),v=new C.a.List(s,this);v.initData(u.data);var e={};return v.each(function(t){var i=v.getName(t),f=v.getItemModel(t);e[i]=f}),this._regionModelMap=e,v},formatTooltip:function(u){return Object(g.a)(this,u)},getRegionModel:function(u){var s=this.getData().getName(u);return this._regionModelMap[s]||new C.a.Model(null,this)},getRegionPolygonCoords:function(u){var s=this.coordinateSystem,v=this.getData().getName(u);if(s.transform){var e=s.getRegion(v);return e?e.geometries:[]}else{this._geo||(this._geo=r.a.createGeo3D(this));for(var e=this._geo.getRegion(v),t=[],i=0;i<e.geometries.length;i++){var f=e.geometries[i],y=[],b=n(s,f.exterior);if(y&&y.length)for(var x=0;x<f.interiors.length;x++)y.push(n(s,y[x]));t.push({interiors:y,exterior:b})}return t}},getFormattedLabel:function(u,s){var v=o.a.getFormattedLabel(this,u,s);return v==null&&(v=this.getData().getName(u)),v},defaultOption:{coordinateSystem:"geo3D",data:null}});C.a.util.merge(a.prototype,l.a),C.a.util.merge(a.prototype,p.a),C.a.util.merge(a.prototype,m.a),C.a.util.merge(a.prototype,E.a),C.a.util.merge(a.prototype,d.a);var c=a},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(39),E=_(34),d=_(59),l=C.a.extendChartView({type:"map3D",__ecgl__:!0,init:function(o,g){this._geo3DBuilder=new d.a(g),this.groupGL=new p.a.Node},render:function(o,g,r){var n=o.coordinateSystem;if(!(!n||!n.viewGL)){this.groupGL.add(this._geo3DBuilder.rootNode),n.viewGL.add(this.groupGL);var a;if(n.type==="geo3D"){a=n,this._sceneHelper||(this._sceneHelper=new E.a,this._sceneHelper.initLight(this.groupGL)),this._sceneHelper.setScene(n.viewGL.scene),this._sceneHelper.updateLight(o),n.viewGL.setPostEffect(o.getModel("postEffect"),r),n.viewGL.setTemporalSuperSampling(o.getModel("temporalSuperSampling"));var c=this._control;c||(c=this._control=new m.a({zr:r.getZr()}),this._control.init());var u=o.getModel("viewControl");c.setViewGL(n.viewGL),c.setFromViewControlModel(u,0),c.off("update"),c.on("update",function(){r.dispatchAction({type:"map3DChangeCamera",alpha:c.getAlpha(),beta:c.getBeta(),distance:c.getDistance(),from:this.uid,map3DId:o.id})}),this._geo3DBuilder.extrudeY=!0}else this._control&&(this._control.dispose(),this._control=null),this._sceneHelper&&(this._sceneHelper.dispose(),this._sceneHelper=null),a=o.getData().getLayout("geo3D"),this._geo3DBuilder.extrudeY=!1;this._geo3DBuilder.update(o,g,r,0,o.getData().count());var s=n.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse(function(v){v.material&&v.material[s]("fragment","SRGB_DECODE")})}},afterRender:function(o,g,r,n){var a=n.renderer,c=o.coordinateSystem;c&&c.type==="geo3D"&&(this._sceneHelper.updateAmbientCubemap(a,o,r),this._sceneHelper.updateSkybox(a,o,r))},dispose:function(){this.groupGL.removeAll(),this._control.dispose()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(237),m=_(238),E=_(45),d=_.n(E),l=_(16);C.a.registerVisual(d()("scatterGL","circle",null)),C.a.registerVisual(Object(l.a)("scatterGL")),C.a.registerLayout({seriesType:"scatterGL",reset:function(o){var g=o.coordinateSystem,r;if(g){var n=g.dimensions,a=[];n.length===1?r=function(c,u){for(var s=new Float32Array((c.end-c.start)*2),v=c.start;v<c.end;v++){var e=(v-c.start)*2,t=u.get(n[0],v),i=g.dataToPoint(t);s[e]=i[0],s[e+1]=i[1]}u.setLayout("points",s)}:n.length===2&&(r=function(c,u){for(var s=new Float32Array((c.end-c.start)*2),v=c.start;v<c.end;v++){var e=(v-c.start)*2,t=u.get(n[0],v),i=u.get(n[1],v);a[0]=t,a[1]=i,a=g.dataToPoint(a),s[e]=a[0],s[e+1]=a[1]}u.setLayout("points",s)})}return{progress:r}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B);C.a.extendSeriesModel({type:"series.scatterGL",dependencies:["grid","polar","geo","singleAxis"],visualColorAccessPath:"itemStyle.color",getInitialData:function(){return C.a.helper.createList(this)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,progressive:1e5,progressiveThreshold:1e5,large:!1,symbol:"circle",symbolSize:10,zoomScale:0,blendMode:"source-over",itemStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(20),E=_(62),d=_(84),l=_(3);C.a.extendChartView({type:"scatterGL",__ecgl__:!0,init:function(o,g){this.groupGL=new p.a.Node,this.viewGL=new m.a("orthographic"),this.viewGL.add(this.groupGL),this._pointsBuilderList=[],this._currentStep=0,this._sizeScale=1,this._glViewHelper=new d.a(this.viewGL)},render:function(o,g,r){if(this.groupGL.removeAll(),this._glViewHelper.reset(o,r),!!o.getData().count()){var n=this._pointsBuilderList[0];n||(n=this._pointsBuilderList[0]=new E.a(!0,r)),this._pointsBuilderList.length=1,this.groupGL.add(n.rootNode),this._removeTransformInPoints(o.getData().getLayout("points")),n.update(o,g,r),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){if(!(o.end<=o.start)){var a=this._pointsBuilderList[this._currentStep];a||(a=new E.a(!0,n),this._pointsBuilderList[this._currentStep]=a),this.groupGL.add(a.rootNode),this._removeTransformInPoints(g.getData().getLayout("points")),a.setSizeScale(this._sizeScale),a.update(g,r,n,o.start,o.end),n.getZr().refresh(),this._currentStep++}},updateTransform:function(o,g,r){if(o.coordinateSystem.getRoamTransform){this._glViewHelper.updateTransform(o,r);var n=this._glViewHelper.getZoom(),a=Math.max((o.get("zoomScale")||0)*(n-1)+1,0);this._sizeScale=a,this._pointsBuilderList.forEach(function(c){c.setSizeScale(a)})}},_removeTransformInPoints:function(o){if(o)for(var g=[],r=0;r<o.length;r+=2)g[0]=o[r],g[1]=o[r+1],this._glViewHelper.removeTransformInPoint(g),o[r]=g[0],o[r+1]=g[1]},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(240),m=_(246),E=_(45),d=_.n(E),l=_(16);C.a.registerVisual(d()("graphGL","circle",null)),C.a.registerVisual(Object(l.a)("graphGL")),C.a.registerVisual(function(g){var r={};g.eachSeriesByType("graphGL",function(n){var a=n.getCategoriesData(),c=n.getData(),u={};a.each(function(s){var v=a.getName(s);u[v]=s;var e=a.getItemModel(s),t=e.get("itemStyle.color")||n.getColorFromPalette(v,r);a.setItemVisual(s,"color",t)}),a.count()&&c.each(function(s){var v=c.getItemModel(s),e=v.getShallow("category");e!=null&&(typeof e=="string"&&(e=u[e]),c.getItemVisual(s,"color",!0)||c.setItemVisual(s,"color",a.getItemVisual(e,"color")))})})}),C.a.registerVisual(function(g){g.eachSeriesByType("graphGL",function(r){var n=r.getGraph(),a=r.getEdgeData(),c="lineStyle.color".split("."),u="lineStyle.opacity".split(".");a.setVisual("color",r.get(c)),a.setVisual("opacity",r.get(u)),a.each(function(s){var v=a.getItemModel(s),e=n.getEdgeByIndex(s),t=v.get(c),i=v.get(u);switch(t){case"source":t=e.node1.getVisual("color");break;case"target":t=e.node2.getVisual("color");break}e.setVisual("color",t),e.setVisual("opacity",i)})})}),C.a.registerAction({type:"graphGLRoam",event:"graphglroam",update:"series.graphGL:roam"},function(g,r){r.eachComponent({mainType:"series",query:g},function(n){n.setView(g)})});function o(){}C.a.registerAction({type:"graphGLStartLayout",event:"graphgllayoutstarted",update:"series.graphGL:startLayout"},o),C.a.registerAction({type:"graphGLStopLayout",event:"graphgllayoutstopped",update:"series.graphGL:stopLayout"},o),C.a.registerAction({type:"graphGLFocusNodeAdjacency",event:"graphGLFocusNodeAdjacency",update:"series.graphGL:focusNodeAdjacency"},o),C.a.registerAction({type:"graphGLUnfocusNodeAdjacency",event:"graphGLUnfocusNodeAdjacency",update:"series.graphGL:unfocusNodeAdjacency"},o)},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(241),m=_(27),E=C.a.extendSeriesModel({type:"series.graphGL",visualColorAccessPath:"itemStyle.color",init:function(l){E.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this._updateCategoriesData()},mergeOption:function(l){E.superApply(this,"mergeOption",arguments),this._updateCategoriesData()},getFormattedLabel:function(l,o,g,r){var n=m.a.getFormattedLabel(this,l,o,g,r);if(n==null){var a=this.getData(),c=a.dimensions[a.dimensions.length-1];n=a.get(c,l)}return n},getInitialData:function(l,o){var g=l.edges||l.links||[],r=l.data||l.nodes||[],n=this;if(r&&g)return Object(p.a)(r,g,this,!0,a).data;function a(c,u){c.wrapMethod("getItemModel",function(t){var i=n._categoriesModels,f=t.getShallow("category"),y=i[f];return y&&(y.parentModel=t.parentModel,t.parentModel=y),t});var s=n.getModel("edgeLabel"),v=new C.a.Model({label:s.option},s.parentModel,o);u.wrapMethod("getItemModel",function(t){return t.customizeGetParent(e),t});function e(t){return t=this.parsePath(t),t&&t[0]==="label"?v:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(l,o,g){if(g==="edge"){var r=this.getData(),n=this.getDataParams(l,g),a=r.graph.getEdgeByIndex(l),c=r.getName(a.node1.dataIndex),u=r.getName(a.node2.dataIndex),s=[];return c!=null&&s.push(c),u!=null&&s.push(u),s=C.a.format.encodeHTML(s.join(" > ")),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<l.length/2;o++){var g=l[o*2],r=l[o*2+1],n=this.getData().getRawDataItem(o);n.x=g,n.y=r}},isAnimationEnabled:function(){return E.superCall(this,"isAnimationEnabled")&&!(this.get("layout")==="force"&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:10,z:2,legendHoverLink:!0,layout:"forceAtlas2",forceAtlas2:{initLayout:null,GPU:!0,steps:1,maxSteps:1e3,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,edgeWeightInfluence:1,edgeWeight:[1,4],nodeWeight:[1,4],preventOverlap:!1,gravityCenter:null},focusNodeAdjacency:!0,focusNodeAdjacencyOn:"mouseover",left:"center",top:"center",symbol:"circle",symbolSize:5,roam:!1,center:null,zoom:1,label:{show:!1,formatter:"{b}",position:"right",distance:5,textStyle:{fontSize:14}},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}},animation:!1}}),d=E},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(242),m=_.n(p),E=_(245),d=_.n(E),l=_(3);P.a=function(o,g,r,n,a){for(var c=new m.a(n),u=0;u<o.length;u++)c.addNode(l.a.firstNotNull(o[u].id,o[u].name,u),u);for(var s=[],v=[],e=0,u=0;u<g.length;u++){var t=g[u],i=t.source,f=t.target;c.addEdge(i,f,e)&&(v.push(t),s.push(l.a.firstNotNull(t.id,i+" > "+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 B=_(85),C=B.__DEV__,p=_(12),m=_(244),E=m.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<v;e++)s[e].dataIndex>=0&&c.call(u,s[e],e)},o.eachEdge=function(c,u){for(var s=this.edges,v=s.length,e=0;e<v;e++)s[e].dataIndex>=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<this.nodes.length;t++)this.nodes[t].__visited=!1;if(!c.call(v,u,null))for(var i=[u];i.length;)for(var f=i.shift(),y=f[e],t=0;t<y.length;t++){var b=y[t],x=b.node1===f?b.node2:b.node1;if(!x.__visited){if(c.call(v,x,f))return;i.push(x),x.__visited=!0}}}},o.update=function(){for(var c=this.data,u=this.edgeData,s=this.nodes,v=this.edges,e=0,t=s.length;e<t;e++)s[e].dataIndex=-1;for(var e=0,t=c.count();e<t;e++)s[c.getRawIndex(e)].dataIndex=e;u.filterSelf(function(i){var f=v[u.getRawIndex(i)];return f.node1.dataIndex>=0&&f.node2.dataIndex>=0});for(var e=0,t=v.length;e<t;e++)v[e].dataIndex=-1;for(var e=0,t=u.count();e<t;e++)v[u.getRawIndex(e)].dataIndex=e},o.clone=function(){for(var c=new l(this._directed),u=this.nodes,s=this.edges,v=0;v<u.length;v++)c.addNode(u[v].id,u[v].dataIndex);for(var v=0;v<s.length;v++){var e=s[v];c.addEdge(e.node1.id,e.node2.id,e.dataIndex)}return c};function g(c,u){this.id=c==null?"":c,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=u==null?-1:u}g.prototype={constructor:g,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(c){if(!(this.dataIndex<0)){var u=this.hostGraph,s=u.data.getItemModel(this.dataIndex);return s.getModel(c)}}};function r(c,u,s){this.node1=c,this.node2=u,this.dataIndex=s==null?-1:s}r.prototype.getModel=function(c){if(!(this.dataIndex<0)){var u=this.hostGraph,s=u.edgeData.getItemModel(this.dataIndex);return s.getModel(c)}};var n=function(c,u){return{getValue:function(s){var v=this[c][u];return v.get(v.getDimension(s||"value"),this.dataIndex)},setVisual:function(s,v){this.dataIndex>=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)}}};p.mixin(g,n("hostGraph","data")),p.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(B){typeof window=="object"&&(_=window)}k.exports=_},function(k,P,_){var B=_(85),C=B.__DEV__,p=_(12),m=".",E="___EC__COMPONENT__CONTAINER___";function d(s){var v={main:"",sub:""};return s&&(s=s.split(m),v.main=s[0]||"",v.sub=s[1]||""),v}function l(s){p.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 p.extend(i.prototype,e),i.extend=this.extend,i.superCall=n,i.superApply=a,p.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=p.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]?p.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 p.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 B=_(12),C=B.each,p="\0__link_datas",m="\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,B.curry(d,u))})}),s.wrapMethod("cloneShallow",B.curry(o,u)),C(s.CHANGABLE_METHODS,function(e){s.wrapMethod(e,B.curry(l,u))}),B.assert(v[s.dataType]===s)}function d(u,s){if(r(this)){var v=B.extend({},this[p]);v[this.dataType]=s,n(s,v,u)}else a(s,this.dataType,this[m],u);return s}function l(u,s){return u.struct&&u.struct.update(this),s}function o(u,s){return C(s[p],function(v,e){v!==s&&a(v.cloneShallow(),e,s,u)}),s}function g(u){var s=this[m];return u==null||s==null?s:s[p][u]}function r(u){return u[m]===u}function n(u,s,v){u[p]={},C(s,function(e,t){a(e,t,u,v)})}function a(u,s,v,e){v[p][s]=u,u[m]=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 B=_(0),C=_.n(B),p=_(41),m=_.n(p),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,M=this._forceLayoutInstance,L=x.count()*2;b.attributes.node.init(L),b.attributes.color.init(L),x.each(function(O){var D=f[O];b.attributes.node.set(A,M.getNodeUV(D.node1)),b.attributes.node.set(A+1,M.getNodeUV(D.node2));var N=x.getItemVisual(D.dataIndex,"color"),I=E.a.parseColor(N);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=[],M=["lineStyle","width"];this._originalEdgeColors=new Float32Array(y.count()*4),this._edgeIndicesMap=new Float32Array(y.count()),y.each(function(L){var O=y.graph.getEdgeByIndex(L),D=O.node1.dataIndex*2,N=O.node2.dataIndex*2;x[0]=b[D],x[1]=b[D+1],A[0]=b[N],A[1]=b[N+1];var I=y.getItemVisual(O.dataIndex,"color"),U=E.a.parseColor(I);U[3]*=o.a.firstNotNull(y.getItemVisual(O.dataIndex,"opacity"),1);var F=y.getItemModel(O.dataIndex),K=o.a.firstNotNull(F.get(M),1)*this._api.getDevicePixelRatio();f.addLine(x,A,U,K);for(var j=0;j<4;j++)this._originalEdgeColors[O.dataIndex*4+j]=U[j];this._edgeIndicesMap[O.dataIndex]=L},!1,this),f.dirty()},_updateForceNodesGeometry:function(f){for(var y=this._pointsBuilder.getPointsMesh(),b=[],x=0;x<f.count();x++)this._forceLayoutInstance.getNodeUV(x,b),y.geometry.attributes.position.set(x,b);y.geometry.dirty("position")},_initLayout:function(f,y,b){var x=f.get("layout"),A=f.getGraph(),M=f.getBoxLayoutParams(),L=m.a.getLayoutRect(M,{width:b.getWidth(),height:b.getHeight()});x==="force"&&(console.warn("Currently only forceAtlas2 layout supported."),x="forceAtlas2"),this.stopLayout(f,y,b,{beforeLayout:!0});var O=f.getData(),D=f.getData();if(x==="forceAtlas2"){var N=f.getModel("forceAtlas2"),I=this._forceLayoutInstance,U=[],F=[],K=O.getDataExtent("value"),j=D.getDataExtent("value"),G=o.a.firstNotNull(N.get("edgeWeight"),1),Y=o.a.firstNotNull(N.get("nodeWeight"),1);typeof G=="number"&&(G=[G,G]),typeof Y=="number"&&(Y=[Y,Y]);var le=0,Q={},ve=new Float32Array(O.count()*2);if(A.eachNode(function(be){var De=be.dataIndex,Ue=O.get("value",De),we,Ye;if(O.hasItemOption){var Be=O.getItemModel(De);we=Be.get("x"),Ye=Be.get("y")}we==null&&(we=L.x+Math.random()*L.width,Ye=L.y+Math.random()*L.height),ve[le*2]=we,ve[le*2+1]=Ye,Q[be.id]=le++;var ge=C.a.number.linearMap(Ue,K,Y);isNaN(ge)&&(isNaN(Y[0])?ge=1:ge=Y[0]),U.push({x:we,y:Ye,mass:ge,size:O.getItemVisual(De,"symbolSize")})}),O.setLayout("points",ve),A.eachEdge(function(be){var De=be.dataIndex,Ue=O.get("value",De),we=C.a.number.linearMap(Ue,j,G);isNaN(we)&&(isNaN(G[0])?we=1:we=G[0]),F.push({node1:Q[be.node1.id],node2:Q[be.node2.id],weight:we,dataIndex:De})}),!I){var xe=N.get("GPU");this._forceLayoutInstance&&(xe&&!(this._forceLayoutInstance instanceof g.a)||!xe&&!(this._forceLayoutInstance instanceof r.a))&&(this._forceLayoutInstanceToDispose=this._forceLayoutInstance),I=this._forceLayoutInstance=xe?new g.a:new r.a}I.initData(U,F),I.updateOption(N.option),this._updateForceEdgesGeometry(I.getEdges(),f),this._updatePositionTexture(),b.dispatchAction({type:"graphGLStartLayout",from:this.uid})}else{var ve=new Float32Array(O.count()*2),le=0;A.eachNode(function(Ue){var we=Ue.dataIndex,Ye,Be;if(O.hasItemOption){var ge=O.getItemModel(we);Ye=ge.get("x"),Be=ge.get("y")}ve[le++]=Ye,ve[le++]=Be}),O.setLayout("points",ve),this._updateAfterLayout(f,y,b)}},_updatePositionTexture:function(){var f=this._forceLayoutInstance.getNodePositionTexture();this._pointsBuilder.setPositionTexture(f),this._forceEdgesMesh.material.set("positionTex",f)},startLayout:function(f,y,M,x){if(!(x&&x.from!=null&&x.from!==this.uid)){var A=this.viewGL,M=this._api,L=this._forceLayoutInstance,O=this._model.getData(),D=this._model.getModel("forceAtlas2");if(!L){console.error("None layout don't have startLayout action");return}if(this.groupGL.remove(this._edgesMesh),this.groupGL.add(this._forceEdgesMesh),!!this._forceLayoutInstance){this._updateForceNodesGeometry(f.getData()),this._pointsBuilder.hideLabels();var N=this,I=this._layoutId=i++,U=D.getShallow("maxSteps"),F=D.getShallow("steps"),K=0,j=Math.max(F*2,20),G=function(Y){if(Y===N._layoutId){if(L.isFinished(U)){M.dispatchAction({type:"graphGLStopLayout",from:N.uid}),M.dispatchAction({type:"graphGLFinishLayout",points:O.getLayout("points"),from:N.uid});return}L.update(A.layer.renderer,F,function(){N._updatePositionTexture(),K+=F,K>=j&&(N._syncNodePosition(f),K=0),M.getZr().refresh(),a()(function(){G(Y)})})}};a()(function(){N._forceLayoutInstanceToDispose&&(N._forceLayoutInstanceToDispose.dispose(A.layer.renderer),N._forceLayoutInstanceToDispose=null),G(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 M=x.dataIndex,L=A.graph,O=[],D=L.getNodeByIndex(M);O.push(D),D.edges.forEach(function(I){I.dataIndex<0||(I.node1!==D&&O.push(I.node1),I.node2!==D&&O.push(I.node2))},this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),O.forEach(function(I){this._pointsBuilder.highlight(A,I.dataIndex)},this),this._pointsBuilder.updateLabels(O.map(function(I){return I.dataIndex}));var N=[];D.edges.forEach(function(I){I.dataIndex>=0&&(this._highlightEdge(I.dataIndex),N.push(I))},this),this._focusNodes=O,this._focusEdges=N},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"),M=t.create(1/0,1/0),L=t.create(-1/0,-1/0),O=[],D=0;D<A.length;)O[0]=A[D++],O[1]=A[D++],t.min(M,M,O),t.max(L,L,O);var N=(L[1]+M[1])/2,I=(L[0]+M[0])/2;if(!(I>b.left&&I<b.right&&N<b.bottom&&N>b.top)){var U=Math.max(L[0]-M[0],10),F=U/y.getWidth()*y.getHeight();U*=1.4,F*=1.4,M[0]-=U*.2,b.left=M[0],b.top=N-F/2,b.bottom=N+F/2,b.right=U+M[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 B=_(0),C=_.n(B),p=_(2),m=_(14),E=_(10),d=_(248);p.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:p.a.Texture.FLOAT,minFilter:p.a.Texture.NEAREST,magFilter:p.a.Texture.NEAREST};this._positionSourceTex=new p.a.Texture2D(r),this._positionSourceTex.flipY=!1,this._positionTex=new p.a.Texture2D(r),this._positionPrevTex=new p.a.Texture2D(r),this._forceTex=new p.a.Texture2D(r),this._forcePrevTex=new p.a.Texture2D(r),this._weightedSumTex=new p.a.Texture2D(r),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new p.a.Texture2D(r),this._globalSpeedPrevTex=new p.a.Texture2D(r),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new m.a({fragment:p.a.Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new m.a({fragment:p.a.Shader.source("clay.compositor.output")});var n=function(a){a.blendEquation(a.FUNC_ADD),a.blendFunc(a.ONE,a.ONE)};this._edgeForceMesh=new p.a.Mesh({geometry:new p.a.Geometry({attributes:{node1:new p.a.Geometry.Attribute("node1","float",2),node2:new p.a.Geometry.Attribute("node2","float",2),weight:new p.a.Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new p.a.Material({transparent:!0,shader:p.a.createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:p.a.Mesh.POINTS}),this._weightedSumMesh=new p.a.Mesh({geometry:new p.a.Geometry({attributes:{node:new p.a.Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new p.a.Material({transparent:!0,shader:p.a.createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:p.a.Mesh.POINTS}),this._framebuffer=new E.a({depthBuffer:!1}),this._dummyCamera=new p.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;c<this._nodes.length;c++)a[c*4+2]=(this._nodes[c].degree||0)+1},o.prototype._updateGravityCenter=function(g){var r=this._nodes,n=this._edges;if(this.gravityCenter)this._gravityCenter=this.gravityCenter;else{for(var a=[1/0,1/0],c=[-1/0,-1/0],u=0;u<r.length;u++)a[0]=Math.min(r[u].x,a[0]),a[1]=Math.min(r[u].y,a[1]),c[0]=Math.max(r[u].x,c[0]),c[1]=Math.max(r[u].y,c[1]);this._gravityCenter=[(a[0]+c[0])*.5,(a[1]+c[1])*.5]}for(var u=0;u<n.length;u++){var s=n[u].node1,v=n[u].node2;r[s].degree=(r[s].degree||0)+1,r[v].degree=(r[v].degree||0)+1}},o.prototype.initData=function(g,r){this._nodes=g,this._edges=r,this._updateGravityCenter();var n=Math.ceil(Math.sqrt(g.length)),a=n,c=new Float32Array(n*a*4);this._resize(n,a);for(var u=0,s=0;s<g.length;s++){var v=g[s];c[u++]=v.x||0,c[u++]=v.y||0,c[u++]=v.mass||1,c[u++]=v.size||1}this._positionSourceTex.pixels=c;var e=this._edgeForceMesh.geometry,t=r.length;e.attributes.node1.init(t*2),e.attributes.node2.init(t*2),e.attributes.weight.init(t*2);for(var i=[],s=0;s<r.length;s++){var f=e.attributes,y=r[s].weight;y==null&&(y=1),f.node1.set(s,this.getNodeUV(r[s].node1,i)),f.node2.set(s,this.getNodeUV(r[s].node2,i)),f.weight.set(s,y),f.node1.set(s+t,this.getNodeUV(r[s].node2,i)),f.node2.set(s+t,this.getNodeUV(r[s].node1,i)),f.weight.set(s+t,y)}var b=this._weightedSumMesh.geometry;b.attributes.node.init(g.length);for(var s=0;s<g.length;s++)b.attributes.node.set(s,this.getNodeUV(s,i));e.dirty(),b.dirty(),this._nodeRepulsionPass.material.define("fragment","NODE_COUNT",g.length),this._nodeRepulsionPass.material.setUniform("textureSize",[n,a]),this._inited=!1,this._frame=0},o.prototype.getNodes=function(){return this._nodes},o.prototype.getEdges=function(){return this._edges},o.prototype.step=function(g){this._inited||(this._initFromSource(g),this._inited=!0),this._frame++,this._framebuffer.attach(this._forceTex),this._framebuffer.bind(g);var r=this._nodeRepulsionPass;r.setUniform("strongGravityMode",this.strongGravityMode),r.setUniform("gravity",this.gravity),r.setUniform("gravityCenter",this._gravityCenter),r.setUniform("scaling",this.scaling),r.setUniform("preventOverlap",this.preventOverlap),r.setUniform("positionTex",this._positionPrevTex),r.render(g);var n=this._edgeForceMesh;n.material.set("linLogMode",this.linLogMode),n.material.set("edgeWeightInfluence",this.edgeWeightInfluence),n.material.set("preventOverlap",this.preventOverlap),n.material.set("positionTex",this._positionPrevTex),g.gl.enable(g.gl.BLEND),g.renderPass([n],this._dummyCamera),this._framebuffer.attach(this._weightedSumTex),g.gl.clearColor(0,0,0,0),g.gl.clear(g.gl.COLOR_BUFFER_BIT),g.gl.enable(g.gl.BLEND);var a=this._weightedSumMesh;a.material.set("positionTex",this._positionPrevTex),a.material.set("forceTex",this._forceTex),a.material.set("forcePrevTex",this._forcePrevTex),g.renderPass([a],this._dummyCamera),this._framebuffer.attach(this._globalSpeedTex);var c=this._globalSpeedPass;c.setUniform("globalSpeedPrevTex",this._globalSpeedPrevTex),c.setUniform("weightedSumTex",this._weightedSumTex),c.setUniform("jitterTolerence",this.jitterTolerence),g.gl.disable(g.gl.BLEND),c.render(g);var u=this._positionPass;this._framebuffer.attach(this._positionTex),u.setUniform("globalSpeedTex",this._globalSpeedTex),u.setUniform("positionTex",this._positionPrevTex),u.setUniform("forceTex",this._forceTex),u.setUniform("forcePrevTex",this._forcePrevTex),u.render(g),this._framebuffer.unbind(g),this._swapTexture()},o.prototype.update=function(g,r,n){r==null&&(r=1),r=Math.max(r,1);for(var a=0;a<r;a++)this.step(g);n&&n()},o.prototype.getNodePositionTexture=function(){return this._inited?this._positionPrevTex:this._positionSourceTex},o.prototype.getNodeUV=function(g,r){r=r||[];var n=this._positionTex.width,a=this._positionTex.height;return r[0]=g%n/(n-1),r[1]=Math.floor(g/n)/(a-1)||0,r},o.prototype.getNodePosition=function(g,r){var n=this._positionArr,a=this._positionTex.width,c=this._positionTex.height,u=a*c;(!n||n.length!==u*4)&&(n=this._positionArr=new Float32Array(u*4)),this._framebuffer.bind(g),this._framebuffer.attach(this._positionPrevTex),g.gl.readPixels(0,0,a,c,g.gl.RGBA,g.gl.FLOAT,n),this._framebuffer.unbind(g),r||(r=new Float32Array(this._nodes.length*2));for(var s=0;s<this._nodes.length;s++)r[s*2]=n[s*4],r[s*2+1]=n[s*4+1];return r},o.prototype.getTextureData=function(g,r){var n=this["_"+r+"Tex"],a=n.width,c=n.height;this._framebuffer.bind(g),this._framebuffer.attach(n);var u=new Float32Array(a*c*4);return g.gl.readPixels(0,0,a,c,g.gl.RGBA,g.gl.FLOAT,u),this._framebuffer.unbind(g),u},o.prototype.getTextureSize=function(){return{width:this._positionTex.width,height:this._positionTex.height}},o.prototype.isFinished=function(g){return this._frame>g},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 B=_(5),C=_(6),p=_(250),m=p.a.toString();m=m.slice(m.indexOf("{")+1,m.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 B.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([m]),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;t<l.length;t++){var i=l[t];c[t*2]=i.x,c[t*2+1]=i.y,u[t]=i.mass==null?1:i.mass,s[t]=i.size==null?1:i.size}for(var t=0;t<o.length;t++){var f=o[t],y=f.node1,b=f.node2;v[t*2]=y,v[t*2+1]=b,e[t]=f.weight==null?1:f.weight}var x=Math.ceil(Math.sqrt(l.length)),A=x,M=new Float32Array(x*A*4),L=this._positionTex;L.width=x,L.height=A,L.pixels=M,this._worker.postMessage({cmd:"init",nodesPosition:c,nodesMass:u,nodesSize:s,edges:v,edgesWeight:e}),this._globalSpeed=1/0},d.prototype.updateOption=function(l){var o={};for(var g in E)o[g]=E[g];var r=this._nodes,n=this._edges,a=r.length;if(a>5e4?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;s<r.length;s++)c[0]=Math.min(r[s].x,c[0]),c[1]=Math.min(r[s].y,c[1]),u[0]=Math.max(r[s].x,u[0]),u[1]=Math.max(r[s].y,u[1]);o.gravityCenter=[(c[0]+u[0])*.5,(c[1]+u[1])*.5]}for(var s=0;s<n.length;s++){var v=n[s].node1,e=n[s].node2;r[v].degree=(r[v].degree||0)+1,r[e].degree=(r[e].degree||0)+1}this._worker&&this._worker.postMessage({cmd:"updateConfig",config:o})},d.prototype.update=function(l,o,g){o==null&&(o=1),o=Math.max(o,1),this._frame+=o,this._onupdate=g,this._worker&&this._worker.postMessage({cmd:"update",steps:Math.round(o)})},d.prototype._$onupdate=function(l){if(!this._disposed){var o=new Float32Array(l.data.buffer);this._globalSpeed=l.data.globalSpeed,this._positionArr=o,this._updateTexture(o),this._onupdate&&this._onupdate()}},d.prototype.getNodePositionTexture=function(){return this._positionTex},d.prototype.getNodeUV=function(l,o){o=o||[];var g=this._positionTex.width,r=this._positionTex.height;return o[0]=l%g/(g-1),o[1]=Math.floor(l/g)/(r-1),o},d.prototype.getNodes=function(){return this._nodes},d.prototype.getEdges=function(){return this._edges},d.prototype.isFinished=function(l){return this._frame>l},d.prototype.getNodePosition=function(l,o){if(o||(o=new Float32Array(this._nodes.length*2)),this._positionArr)for(var g=0;g<this._positionArr.length;g++)o[g]=this._positionArr[g];return o},d.prototype._updateTexture=function(l){for(var o=this._positionTex.pixels,g=0,r=0;r<l.length;)o[g++]=l[r++],o[g++]=l[r++],o[g++]=1,o[g++]=1;this._positionTex.dirty()},d.prototype.dispose=function(l){this._disposed=!0,this._worker=null},P.a=d},function(k,P,_){"use strict";function B(){var C={create:function(){return new Float32Array(2)},dist:function(r,n){var a=n[0]-r[0],c=n[1]-r[1];return Math.sqrt(a*a+c*c)},len:function(r){var n=r[0],a=r[1];return Math.sqrt(n*n+a*a)},scaleAndAdd:function(r,n,a,c){return r[0]=n[0]+a[0]*c,r[1]=n[1]+a[1]*c,r},scale:function(r,n,a){return r[0]=n[0]*a,r[1]=n[1]*a,r},add:function(r,n,a){return r[0]=n[0]+a[0],r[1]=n[1]+a[1],r},sub:function(r,n,a){return r[0]=n[0]-a[0],r[1]=n[1]-a[1],r},normalize:function(r,n){var a=n[0],c=n[1],u=a*a+c*c;return u>0&&(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 p(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var m=p.prototype;m.beforeUpdate=function(){for(var r=0;r<this.nSubRegions;r++)this.subRegions[r].beforeUpdate();this.mass=0,this.centerOfMass&&(this.centerOfMass[0]=0,this.centerOfMass[1]=0),this.nSubRegions=0,this.node=null},m.afterUpdate=function(){this.subRegions.length=this.nSubRegions;for(var r=0;r<this.nSubRegions;r++)this.subRegions[r].afterUpdate()},m.addNode=function(r){if(this.nSubRegions===0)if(this.node==null){this.node=r;return}else this._addNodeToSubRegion(this.node),this.node=null;this._addNodeToSubRegion(r),this._updateCenterOfMass(r)},m.findSubRegion=function(r,n){for(var a=0;a<this.nSubRegions;a++){var c=this.subRegions[a];if(c.contain(r,n))return c}},m.contain=function(r,n){return this.bbox[0]<=r&&this.bbox[2]>=r&&this.bbox[1]<=n&&this.bbox[3]>=n},m.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},m._newSubRegion=function(){var r=this.subRegions[this.nSubRegions];return r||(r=new p,this.subRegions[this.nSubRegions]=r),this.nSubRegions++,r},m._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)},m._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 p,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;s<c;s++){var v=new E;v.position[0]=r[s*2],v.position[1]=r[s*2+1],v.mass=n[s],u&&(v.size=a[s]),this.nodes.push(v)}this._massArr=n,this._swingingArr=new Float32Array(c),u&&(this._sizeArr=a)},o.initEdges=function(r,n){var a=r.length/2;this.edges.length=0;for(var c=0;c<a;c++){var u=r[c*2],s=r[c*2+1],v=this.nodes[u],e=this.nodes[s];if(!v||!e){console.error("Node not exists, try initNodes before initEdges");return}v.outDegree++,e.inDegree++;var t=new d(v,e);n&&(t.weight=n[c]),this.edges.push(t)}},o.updateSettings=function(){if(this.repulsionByDegree)for(var r=0;r<this.nodes.length;r++){var n=this.nodes[r];n.mass=n.inDegree+n.outDegree+1}else for(var r=0;r<this.nodes.length;r++){var n=this.nodes[r];n.mass=this._massArr[r]}},o.update=function(){var r=this.nodes.length;if(this.updateSettings(),this.updateBBox(),this.barnesHutOptimize){this.rootRegion.setBBox(this.bbox[0],this.bbox[1],this.bbox[2],this.bbox[3]),this.rootRegion.beforeUpdate();for(var n=0;n<r;n++)this.rootRegion.addNode(this.nodes[n]);this.rootRegion.afterUpdate()}for(var n=0;n<r;n++){var a=this.nodes[n];C.copy(a.forcePrev,a.force),C.set(a.force,0,0)}for(var n=0;n<r;n++){var c=this.nodes[n];if(this.barnesHutOptimize)this.applyRegionToNodeRepulsion(this.rootRegion,c);else for(var u=n+1;u<r;u++){var s=this.nodes[u];this.applyNodeToNodeRepulsion(c,s,!1)}this.gravity>0&&(this.strongGravityMode?this.applyNodeStrongGravity(c):this.applyNodeGravity(c))}for(var n=0;n<this.edges.length;n++)this.applyEdgeAttraction(this.edges[n]);for(var v=0,e=0,t=C.create(),n=0;n<r;n++){var a=this.nodes[n],i=C.dist(a.force,a.forcePrev);v+=i*a.mass,C.add(t,a.force,a.forcePrev);var f=C.len(t)*.5;e+=f*a.mass,this._swingingArr[n]=i}var y=this.jitterTolerence*this.jitterTolerence*e/v;this._globalSpeed>0&&(y=Math.min(y/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=y;for(var n=0;n<r;n++){var a=this.nodes[n],i=this._swingingArr[n],b=.1*y/(1+y*Math.sqrt(i)),x=C.len(a.force);x>0&&(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;v<a.nSubRegions;v++)this.applyRegionToNodeRepulsion(a.subRegions[v],c)}}}(),o.applyNodeToNodeRepulsion=function(){var r=C.create();return function(a,c,u){if(a!=c){C.sub(r,a.position,c.position);var s=r[0]*r[0]+r[1]*r[1];if(s!==0){var v;if(this.preventOverlap){var e=Math.sqrt(s);if(e=e-a.size-c.size,e>0)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;u<this.nodes.length;u++){var s=this.nodes[u].position;r=Math.min(r,s[0]),n=Math.min(n,s[1]),a=Math.max(a,s[0]),c=Math.max(c,s[1])}this.bbox[0]=r,this.bbox[1]=n,this.bbox[2]=a,this.bbox[3]=c},o.getGlobalSpeed=function(){return this._globalSpeed};var g=null;self.onmessage=function(r){switch(r.data.cmd){case"init":g=new l,g.initNodes(r.data.nodesPosition,r.data.nodesMass,r.data.nodesSize),g.initEdges(r.data.edges,r.data.edgesWeight);break;case"updateConfig":if(g)for(var n in r.data.config)g[n]=r.data.config[n];break;case"update":var a=r.data.steps;if(g){for(var c=0;c<a;c++)g.update();for(var u=g.nodes.length,s=new Float32Array(u*2),c=0;c<u;c++){var v=g.nodes[c];s[c*2]=v.position[0],s[c*2+1]=v.position[1]}self.postMessage({buffer:s.buffer,globalSpeed:g.getGlobalSpeed()},[s.buffer])}else{var e=new Float32Array;self.postMessage({buffer:e.buffer,globalSpeed:g.getGlobalSpeed()},[e.buffer])}break}}}P.a=B},function(k,P,_){"use strict";var B=_(8),C=_(3),p=B.a.extend(function(){return{zr:null,viewGL:null,minZoom:.2,maxZoom:5,_needsUpdate:!1,_dx:0,_dy:0,_zoom:1}},function(){this._mouseDownHandler=this._mouseDownHandler.bind(this),this._mouseWheelHandler=this._mouseWheelHandler.bind(this),this._mouseMoveHandler=this._mouseMoveHandler.bind(this),this._mouseUpHandler=this._mouseUpHandler.bind(this),this._update=this._update.bind(this)},{init:function(){var m=this.zr;m.on("mousedown",this._mouseDownHandler),m.on("mousewheel",this._mouseWheelHandler),m.on("globalout",this._mouseUpHandler),m.animation.on("frame",this._update)},setTarget:function(m){this._target=m},setZoom:function(m){this._zoom=Math.max(Math.min(m,this.maxZoom),this.minZoom),this._needsUpdate=!0},setOffset:function(m){this._dx=m[0],this._dy=m[1],this._needsUpdate=!0},getZoom:function(){return this._zoom},getOffset:function(){return[this._dx,this._dy]},_update:function(){if(this._target&&this._needsUpdate){var m=this._target,E=this._zoom;m.position.x=this._dx,m.position.y=this._dy,m.scale.set(E,E,E),this.zr.refresh(),this._needsUpdate=!1,this.trigger("update")}},_mouseDownHandler:function(m){if(!m.target){var E=m.offsetX,d=m.offsetY;if(!(this.viewGL&&!this.viewGL.containPoint(E,d))){this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler);var l=this._convertPos(E,d);this._x=l.x,this._y=l.y}}},_convertPos:function(m,E){var d=this.viewGL.camera,l=this.viewGL.viewport;return{x:(m-l.x)/l.width*(d.right-d.left)+d.left,y:(E-l.y)/l.height*(d.bottom-d.top)+d.top}},_mouseMoveHandler:function(m){var E=this._convertPos(m.offsetX,m.offsetY);this._dx+=E.x-this._x,this._dy+=E.y-this._y,this._x=E.x,this._y=E.y,this._needsUpdate=!0},_mouseUpHandler:function(m){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_mouseWheelHandler:function(m){m=m.event;var E=m.wheelDelta||-m.detail;if(E!==0){var d=m.offsetX,l=m.offsetY;if(!(this.viewGL&&!this.viewGL.containPoint(d,l))){var o=E>0?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 m=this.zr;m.off("mousedown",this._mouseDownHandler),m.off("mousemove",this._mouseMoveHandler),m.off("mouseup",this._mouseUpHandler),m.off("mousewheel",this._mouseWheelHandler),m.off("globalout",this._mouseUpHandler),m.animation.off("frame",this._update)}});P.a=p},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 B=_(0),C=_.n(B),p=_(254),m=_(258)},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(2),m=_(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 p.a.Node,this.viewGL.add(this.groupGL),this._particleSurface=new d.a;var g=new p.a.Mesh({geometry:new p.a.PlaneGeometry,material:new p.a.Material({shader:new p.a.Shader({vertex:p.a.Shader.source("ecgl.color.vertex"),fragment:p.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=m.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=p.a.parseColor(v.get("color"));e[3]*=m.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(M){return l.coordDimToDataDim(M)[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<t.length;i++)t[i]=0;var f=0,y=1/0,b=new Float32Array(n.count()*2),x=0,A=[[1/0,1/0],[-1/0,-1/0]];n.each([r[0],r[1],"vx","vy"],function(M,L,O,D){var N=g.dataToPoint([M,L]);b[x++]=N[0],b[x++]=N[1],A[0][0]=Math.min(N[0],A[0][0]),A[0][1]=Math.min(N[1],A[0][1]),A[1][0]=Math.max(N[0],A[1][0]),A[1][1]=Math.max(N[1],A[1][1]);var I=Math.sqrt(O*O+D*D);f=Math.max(f,I),y=Math.min(y,I)}),n.each(["vx","vy"],function(M,L,O){var D=Math.round((b[O*2]-A[0][0])/(A[1][0]-A[0][0])*(u-1)),N=s-1-Math.round((b[O*2+1]-A[0][1])/(A[1][1]-A[0][1])*(s-1)),I=(N*u+D)*4;t[I]=M/f*.5+.5,t[I+1]=L/f*.5+.5,t[I+3]=1}),e.width=u,e.height=s,l.get("coordinateSystem")==="bmap"&&this._fillEmptyPixels(e),e.dirty(),this._updatePlanePosition(A[0],A[1],l,o),this._updateGradientTexture(n.getVisual("visualMeta"),[y,f])},_fillEmptyPixels:function(l){var o=l.pixels,g=l.width,r=l.height;function n(b,x,A){b=Math.max(Math.min(b,g-1),0),x=Math.max(Math.min(x,r-1),0);var M=(x*(g-1)+b)*4;return o[M+3]===0?!1:(A[0]=o[M],A[1]=o[M+1],!0)}function a(b,x,A){A[0]=b[0]+x[0],A[1]=b[1]+x[1]}for(var c=[],u=[],s=[],v=[],e=[],t=0,i=0;i<r;i++)for(var f=0;f<g;f++){var y=(i*(g-1)+f)*4;o[y+3]===0&&(t=c[0]=c[1]=0,n(f-1,i,u)&&(t++,a(u,c,c)),n(f+1,i,s)&&(t++,a(s,c,c)),n(f,i-1,v)&&(t++,a(v,c,c)),n(f,i+1,e)&&(t++,a(e,c,c)),c[0]/=t,c[1]/=t,o[y]=c[0],o[y+1]=c[1]),o[y+3]=1}},_updateGradientTexture:function(l,o){if(!l||!l.length){this._particleSurface.setGradientTexture(null);return}this._gradientTexture=this._gradientTexture||new p.a.Texture2D({image:document.createElement("canvas")});var g=this._gradientTexture,r=g.image;r.width=200,r.height=1;var n=r.getContext("2d"),a=n.createLinearGradient(0,.5,r.width,.5);l[0].stops.forEach(function(c){var u;o[1]===o[0]?u=0:(u=c.value/o[1],u=Math.min(Math.max(u,0),1)),a.addColorStop(u,c.color)}),n.fillStyle=a,n.fillRect(0,0,r.width,r.height),g.dirty(),this._particleSurface.setGradientTexture(this._gradientTexture)},_updatePlanePosition:function(l,o,g,r){var n=this._limitInViewportAndFullFill(l,o,g,r);l=n.leftTop,o=n.rightBottom,this._particleSurface.setRegion(n.region),this._planeMesh.position.set((l[0]+o[0])/2,r.getHeight()-(l[1]+o[1])/2,0);var a=o[0]-l[0],c=o[1]-l[1];this._planeMesh.scale.set(a/2,c/2,1),this._particleSurface.resize(Math.max(Math.min(a,2048),1),Math.max(Math.min(c,2048),1)),this._renderer&&this._particleSurface.clearFrame(this._renderer)},_limitInViewportAndFullFill:function(l,o,g,r){var n=[Math.max(l[0],0),Math.max(l[1],0)],a=[Math.min(o[0],r.getWidth()),Math.min(o[1],r.getHeight())];if(g.get("coordinateSystem")==="bmap"){var c=g.getData().getDataExtent(g.coordDimToDataDim("lng")[0]),u=Math.floor(c[1]-c[0])>=359;u&&(n[0]>0&&(n[0]=0),a[0]<r.getWidth()&&(a[0]=r.getWidth()))}var s=o[0]-l[0],v=o[1]-l[1],e=a[0]-n[0],t=a[1]-n[1],i=[(n[0]-l[0])/s,1-t/v-(n[1]-l[1])/v,e/s,t/v];return{leftTop:n,rightBottom:a,region:i}},_updateCamera:function(l,o,g){this.viewGL.setViewport(0,0,l,o,g);var r=this.viewGL.camera;r.left=r.bottom=0,r.top=o,r.right=l,r.near=0,r.far=100,r.position.z=10},remove:function(){this._planeMesh.stopAnimation(),this.groupGL.removeAll()},dispose:function(){this._renderer&&this._particleSurface.dispose(this._renderer),this.groupGL.removeAll()}})},function(k,P,_){"use strict";var B=_(14),C=_(13),p=_(24),m=_(17),E=_(7),d=_(5),l=_(6),o=_(30),g=_(37),r=_(10),n=_(256),a=_(257);E.a.import(a.a);function c(s){var v=document.createElement("canvas");v.width=v.height=s;var e=v.getContext("2d");return e.fillStyle="#fff",e.arc(s/2,s/2,s/2,0,Math.PI*2),e.fill(),v}var u=function(){this.motionBlurFactor=.99,this.vectorFieldTexture=new d.a({type:l.a.FLOAT,flipY:!1}),this.particleLife=[5,20],this._particleType="point",this._particleSize=1,this.particleColor=[1,1,1,1],this.particleSpeedScaling=1,this._thisFrameTexture=null,this._particlePass=null,this._spawnTexture=null,this._particleTexture0=null,this._particleTexture1=null,this._particlePointsMesh=null,this._surfaceFrameBuffer=null,this._elapsedTime=0,this._scene=null,this._camera=null,this._lastFrameTexture=null,this._supersampling=1,this._downsampleTextures=[],this._width=512,this._height=512,this.init()};u.prototype={constructor:u,init:function(){var s={type:l.a.FLOAT,minFilter:l.a.NEAREST,magFilter:l.a.NEAREST,useMipmap:!1};this._spawnTexture=new d.a(s),this._particleTexture0=new d.a(s),this._particleTexture1=new d.a(s),this._frameBuffer=new r.a({depthBuffer:!1}),this._particlePass=new B.a({fragment:E.a.source("ecgl.vfParticle.particle.fragment")}),this._particlePass.setUniform("velocityTexture",this.vectorFieldTexture),this._particlePass.setUniform("spawnTexture",this._spawnTexture),this._downsamplePass=new B.a({fragment:E.a.source("clay.compositor.downsample")});var v=new p.a({renderOrder:10,material:new m.a({shader:new E.a(E.a.source("ecgl.vfParticle.renderPoints.vertex"),E.a.source("ecgl.vfParticle.renderPoints.fragment"))}),mode:p.a.POINTS,geometry:new C.a({dynamic:!0,mainAttribute:"texcoord0"})}),e=new p.a({renderOrder:10,material:new m.a({shader:new E.a(E.a.source("ecgl.vfParticle.renderLines.vertex"),E.a.source("ecgl.vfParticle.renderLines.fragment"))}),geometry:new n.a,culling:!1}),t=new p.a({material:new m.a({shader:new E.a(E.a.source("ecgl.color.vertex"),E.a.source("ecgl.color.fragment"))}),geometry:new g.a});t.material.enableTexture("diffuseMap"),this._particlePointsMesh=v,this._particleLinesMesh=e,this._lastFrameFullQuadMesh=t,this._camera=new o.a,this._thisFrameTexture=new d.a,this._lastFrameTexture=new d.a},setParticleDensity:function(s,v){for(var e=s*v,t=new Float32Array(e*4),i=0,f=this.particleLife,y=0;y<s;y++)for(var b=0;b<v;b++,i++){t[i*4]=Math.random(),t[i*4+1]=Math.random(),t[i*4+2]=Math.random();var x=(f[1]-f[0])*Math.random()+f[0];t[i*4+3]=x}this._particleType==="line"?this._setLineGeometry(s,v):this._setPointsGeometry(s,v),this._spawnTexture.width=s,this._spawnTexture.height=v,this._spawnTexture.pixels=t,this._particleTexture0.width=this._particleTexture1.width=s,this._particleTexture0.height=this._particleTexture1.height=v,this._particlePass.setUniform("textureSize",[s,v])},_setPointsGeometry:function(s,v){var e=s*v,t=this._particlePointsMesh.geometry,i=t.attributes;i.texcoord0.init(e);for(var f=0,y=0;y<s;y++)for(var b=0;b<v;b++,f++)i.texcoord0.value[f*2]=y/s,i.texcoord0.value[f*2+1]=b/v;t.dirty()},_setLineGeometry:function(s,v){var e=s*v,t=this._getParticleMesh().geometry;t.setLineCount(e),t.resetOffset();for(var i=0;i<s;i++)for(var f=0;f<v;f++)t.addLine([i/s,f/v]);t.dirty()},_getParticleMesh:function(){return this._particleType==="line"?this._particleLinesMesh:this._particlePointsMesh},update:function(s,v,e,t){var i=this._getParticleMesh(),f=this._frameBuffer,y=this._particlePass;t&&this._updateDownsampleTextures(s,v),i.material.set("size",this._particleSize*this._supersampling),i.material.set("color",this.particleColor),y.setUniform("speedScaling",this.particleSpeedScaling),f.attach(this._particleTexture1),y.setUniform("firstFrameTime",t?(this.particleLife[1]+this.particleLife[0])/2:0),y.setUniform("particleTexture",this._particleTexture0),y.setUniform("deltaTime",e),y.setUniform("elapsedTime",this._elapsedTime),y.render(s,f),i.material.set("particleTexture",this._particleTexture1),i.material.set("prevParticleTexture",this._particleTexture0),f.attach(this._thisFrameTexture),f.bind(s),s.gl.clear(s.gl.DEPTH_BUFFER_BIT|s.gl.COLOR_BUFFER_BIT);var b=this._lastFrameFullQuadMesh;b.material.set("diffuseMap",this._lastFrameTexture),b.material.set("color",[1,1,1,this.motionBlurFactor]),this._camera.update(!0),s.renderPass([b,i],this._camera),f.unbind(s),this._downsample(s),this._swapTexture(),this._elapsedTime+=e},_downsample:function(s){var v=this._downsampleTextures;if(v.length!==0)for(var e=0,t=this._thisFrameTexture,i=v[e];i;)this._frameBuffer.attach(i),this._downsamplePass.setUniform("texture",t),this._downsamplePass.setUniform("textureSize",[t.width,t.height]),this._downsamplePass.render(s,this._frameBuffer),t=i,i=v[++e]},getSurfaceTexture:function(){var s=this._downsampleTextures;return s.length>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;b<t;b++)e[b]=e[b]||new d.a,e[b].width=f/i,e[b].height=y/i,i*=2;for(;b<e.length;b++)e[b].dispose(s);e.length=t},_swapTexture:function(){var s=this._particleTexture0;this._particleTexture0=this._particleTexture1,this._particleTexture1=s;var s=this._thisFrameTexture;this._thisFrameTexture=this._lastFrameTexture,this._lastFrameTexture=s},dispose:function(s){s.disposeFrameBuffer(this._frameBuffer),s.disposeTexture(this.vectorFieldTexture),s.disposeTexture(this._spawnTexture),s.disposeTexture(this._particleTexture0),s.disposeTexture(this._particleTexture1),s.disposeTexture(this._thisFrameTexture),s.disposeTexture(this._lastFrameTexture),s.disposeGeometry(this._particleLinesMesh.geometry),s.disposeGeometry(this._particlePointsMesh.geometry),s.disposeGeometry(this._lastFrameFullQuadMesh.geometry),this._spriteTexture&&s.disposeTexture(this._spriteTexture),this._particlePass.dispose(s),this._downsamplePass.dispose(s),this._downsampleTextures.forEach(function(v){v.dispose(s)})}},P.a=u},function(k,P,_){"use strict";var B=_(13),C=_(0),p=_.n(C),m=B.a.extend(function(){return{dynamic:!0,attributes:{position:new B.a.Attribute("position","float",3,"POSITION")}}},{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setLineCount:function(E){var d=this.attributes,l=4*E,o=2*E;this.vertexCount!==l&&d.position.init(l),this.triangleCount!==o&&(o===0?this.indices=null:this.indices=this.vertexCount>65535?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=m},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 B=_(0),C=_.n(B);C.a.extendSeriesModel({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualColorAccessPath:"itemStyle.color",getInitialData:function(p,m){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 B=_(0),C=_.n(B),p=_(260),m=_(261),E=_(16);C.a.registerVisual(Object(E.a)("linesGL"))},function(k,P,_){"use strict";var B=_(0),C=_.n(B),p=_(12),m=_.n(p),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(p.concatArray)(this._flatCoords,l.flatCoords),this._flatCoordsOffset=Object(p.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;r<g;r++)l[r]=l[r]||[],l[r][0]=this._flatCoords[o+r*2],l[r][1]=this._flatCoords[o+r*2+1];return g}else{for(var n=this._getCoordsFromItemModel(d),r=0;r<n.length;r++)l[r]=l[r]||[],l[r][0]=n[r][0],l[r][1]=n[r][1];return n.length}},_processFlatCoordsArray:function(d){var l=0;if(this._flatCoords&&(l=this._flatCoords.length),typeof d[0]=="number"){for(var o=d.length,g=new Uint32Array(o),r=new Float64Array(o),n=0,a=0,c=0,u=0;u<o;){c++;var s=d[u++];g[a++]=n+l,g[a++]=s;for(var v=0;v<s;v++){var e=d[u++],t=d[u++];if(r[n++]=e,r[n++]=t,u>o)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 B=_(0),C=_.n(B),p=_(2),m=_(20),E=_(86),d=_(84),l=_(3);C.a.extendChartView({type:"linesGL",__ecgl__:!0,init:function(o,g){this.groupGL=new p.a.Node,this.viewGL=new m.a("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new d.a(this.viewGL),this._nativeLinesShader=p.a.createShader("ecgl.lines3D"),this._meshLinesShader=p.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 p.a.Mesh({$ignorePicking:!0,material:new p.a.Material({shader:p.a.createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new E.a({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:p.a.Mesh.LINES,culling:!1});return g},_updateLinesMesh:function(o,g,r,n){var a=o.getData();g.material.blend=o.get("blendMode")==="lighter"?p.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=p.a.Mesh.TRIANGLES):(g.material.shader!==this._nativeLinesShader&&g.material.attachShader(this._nativeLinesShader),g.mode=p.a.Mesh.LINES),r=r||0,n=n||a.count(),s.resetOffset();var t=0,i=0,f=[],y=[],b=[],x=[],A=[],M=.3,L=.7;function O(){y[0]=f[0]*L+x[0]*M-(f[1]-x[1])*c,y[1]=f[1]*L+x[1]*M-(x[0]-f[0])*c,b[0]=f[0]*M+x[0]*L-(f[1]-x[1])*c,b[1]=f[1]*M+x[1]*L-(x[0]-f[0])*c}if(u||c!==0)for(var D=r;D<n;D++)if(u){var N=o.getLineCoordsCount(D);t+=s.getPolylineVertexCount(N),i+=s.getPolylineTriangleCount(N)}else o.getLineCoords(D,A),this._glViewHelper.dataToPoint(v,A[0],f),this._glViewHelper.dataToPoint(v,A[1],x),O(),t+=s.getCubicCurveVertexCount(f,y,b,x),i+=s.getCubicCurveTriangleCount(f,y,b,x);else{var I=n-r;t+=I*s.getLineVertexCount(),i+=I*s.getLineVertexCount()}s.setVertexCount(t),s.setTriangleCount(i);for(var U=r,F=[],D=r;D<n;D++){p.a.parseColor(a.getItemVisual(U,"color"),F);var K=l.a.firstNotNull(a.getItemVisual(U,"opacity"),1);F[3]*=K;for(var N=o.getLineCoords(D,A),j=0;j<N;j++)this._glViewHelper.dataToPoint(v,A[j],A[j]);u?s.addPolyline(A,F,e,0,N):c!==0?(f=A[0],x=A[1],O(),s.addCubicCurve(f,y,b,x,F,e)):s.addPolyline(A,F,e,0,2),U++}},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}})}])})},3867:function(Ln,gt,w){var h=w(97671);(function(k,P){Ln.exports=P()})(this,function(){"use strict";function k(ae){var te=typeof ae;return ae!==null&&(te==="object"||te==="function")}function P(ae){return typeof ae=="function"}var _=void 0;Array.isArray?_=Array.isArray:_=function(ae){return Object.prototype.toString.call(ae)==="[object Array]"};var B=_,C=0,p=void 0,m=void 0,E=function(te,oe){t[C]=te,t[C+1]=oe,C+=2,C===2&&(m?m(i):y())};function d(ae){m=ae}function l(ae){E=ae}var o=typeof window!="undefined"?window:void 0,g=o||{},r=g.MutationObserver||g.WebKitMutationObserver,n=typeof self=="undefined"&&typeof h!="undefined"&&{}.toString.call(h)==="[object process]",a=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function c(){return function(){return h.nextTick(i)}}function u(){return typeof p!="undefined"?function(){p(i)}:e()}function s(){var ae=0,te=new r(i),oe=document.createTextNode("");return te.observe(oe,{characterData:!0}),function(){oe.data=ae=++ae%2}}function v(){var ae=new MessageChannel;return ae.port1.onmessage=i,function(){return ae.port2.postMessage(0)}}function e(){var ae=setTimeout;return function(){return ae(i,1)}}var t=new Array(1e3);function i(){for(var ae=0;ae<C;ae+=2){var te=t[ae],oe=t[ae+1];te(oe),t[ae]=void 0,t[ae+1]=void 0}C=0}function f(){try{var ae=Function("return this")().require("vertx");return p=ae.runOnLoop||ae.runOnContext,u()}catch(te){return e()}}var y=void 0;n?y=c():r?y=s():a?y=v():o===void 0?y=f():y=e();function b(ae,te){var oe=this,ee=new this.constructor(M);ee[A]===void 0&&Ye(ee);var fe=oe._state;if(fe){var Ce=arguments[fe-1];E(function(){return be(fe,ee,Ce,oe._result)})}else ve(oe,ee,ae,te);return ee}function x(ae){var te=this;if(ae&&typeof ae=="object"&&ae.constructor===te)return ae;var oe=new te(M);return G(oe,ae),oe}var A=Math.random().toString(36).substring(2);function M(){}var L=void 0,O=1,D=2;function N(){return new TypeError("You cannot resolve a promise with itself")}function I(){return new TypeError("A promises callback cannot return that same promise.")}function U(ae,te,oe,ee){try{ae.call(te,oe,ee)}catch(fe){return fe}}function F(ae,te,oe){E(function(ee){var fe=!1,Ce=U(oe,te,function(re){fe||(fe=!0,te!==re?G(ee,re):le(ee,re))},function(re){fe||(fe=!0,Q(ee,re))},"Settle: "+(ee._label||" unknown promise"));!fe&&Ce&&(fe=!0,Q(ee,Ce))},ae)}function K(ae,te){te._state===O?le(ae,te._result):te._state===D?Q(ae,te._result):ve(te,void 0,function(oe){return G(ae,oe)},function(oe){return Q(ae,oe)})}function j(ae,te,oe){te.constructor===ae.constructor&&oe===b&&te.constructor.resolve===x?K(ae,te):oe===void 0?le(ae,te):P(oe)?F(ae,te,oe):le(ae,te)}function G(ae,te){if(ae===te)Q(ae,N());else if(k(te)){var oe=void 0;try{oe=te.then}catch(ee){Q(ae,ee);return}j(ae,te,oe)}else le(ae,te)}function Y(ae){ae._onerror&&ae._onerror(ae._result),xe(ae)}function le(ae,te){ae._state===L&&(ae._result=te,ae._state=O,ae._subscribers.length!==0&&E(xe,ae))}function Q(ae,te){ae._state===L&&(ae._state=D,ae._result=te,E(Y,ae))}function ve(ae,te,oe,ee){var fe=ae._subscribers,Ce=fe.length;ae._onerror=null,fe[Ce]=te,fe[Ce+O]=oe,fe[Ce+D]=ee,Ce===0&&ae._state&&E(xe,ae)}function xe(ae){var te=ae._subscribers,oe=ae._state;if(te.length!==0){for(var ee=void 0,fe=void 0,Ce=ae._result,re=0;re<te.length;re+=3)ee=te[re],fe=te[re+oe],ee?be(oe,ee,fe,Ce):fe(Ce);ae._subscribers.length=0}}function be(ae,te,oe,ee){var fe=P(oe),Ce=void 0,re=void 0,ce=!0;if(fe){try{Ce=oe(ee)}catch(lt){ce=!1,re=lt}if(te===Ce){Q(te,I());return}}else Ce=ee;te._state!==L||(fe&&ce?G(te,Ce):ce===!1?Q(te,re):ae===O?le(te,Ce):ae===D&&Q(te,Ce))}function De(ae,te){try{te(function(ee){G(ae,ee)},function(ee){Q(ae,ee)})}catch(oe){Q(ae,oe)}}var Ue=0;function we(){return Ue++}function Ye(ae){ae[A]=Ue++,ae._state=void 0,ae._result=void 0,ae._subscribers=[]}function Be(){return new Error("Array Methods must be provided an Array")}var ge=function(){function ae(te,oe){this._instanceConstructor=te,this.promise=new te(M),this.promise[A]||Ye(this.promise),B(oe)?(this.length=oe.length,this._remaining=oe.length,this._result=new Array(this.length),this.length===0?le(this.promise,this._result):(this.length=this.length||0,this._enumerate(oe),this._remaining===0&&le(this.promise,this._result))):Q(this.promise,Be())}return ae.prototype._enumerate=function(oe){for(var ee=0;this._state===L&&ee<oe.length;ee++)this._eachEntry(oe[ee],ee)},ae.prototype._eachEntry=function(oe,ee){var fe=this._instanceConstructor,Ce=fe.resolve;if(Ce===x){var re=void 0,ce=void 0,lt=!1;try{re=oe.then}catch(ht){lt=!0,ce=ht}if(re===b&&oe._state!==L)this._settledAt(oe._state,ee,oe._result);else if(typeof re!="function")this._remaining--,this._result[ee]=oe;else if(fe===V){var Qe=new fe(M);lt?Q(Qe,ce):j(Qe,oe,re),this._willSettleAt(Qe,ee)}else this._willSettleAt(new fe(function(ht){return ht(oe)}),ee)}else this._willSettleAt(Ce(oe),ee)},ae.prototype._settledAt=function(oe,ee,fe){var Ce=this.promise;Ce._state===L&&(this._remaining--,oe===D?Q(Ce,fe):this._result[ee]=fe),this._remaining===0&&le(Ce,this._result)},ae.prototype._willSettleAt=function(oe,ee){var fe=this;ve(oe,void 0,function(Ce){return fe._settledAt(O,ee,Ce)},function(Ce){return fe._settledAt(D,ee,Ce)})},ae}();function He(ae){return new ge(this,ae).promise}function Fe(ae){var te=this;return B(ae)?new te(function(oe,ee){for(var fe=ae.length,Ce=0;Ce<fe;Ce++)te.resolve(ae[Ce]).then(oe,ee)}):new te(function(oe,ee){return ee(new TypeError("You must pass an array to race."))})}function Pe(ae){var te=this,oe=new te(M);return Q(oe,ae),oe}function We(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ne(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var V=function(){function ae(te){this[A]=we(),this._result=this._state=void 0,this._subscribers=[],M!==te&&(typeof te!="function"&&We(),this instanceof ae?De(this,te):Ne())}return ae.prototype.catch=function(oe){return this.then(null,oe)},ae.prototype.finally=function(oe){var ee=this,fe=ee.constructor;return P(oe)?ee.then(function(Ce){return fe.resolve(oe()).then(function(){return Ce})},function(Ce){return fe.resolve(oe()).then(function(){throw Ce})}):ee.then(oe,oe)},ae}();V.prototype.then=b,V.all=He,V.race=Fe,V.resolve=x,V.reject=Pe,V._setScheduler=d,V._setAsap=l,V._asap=E;function q(){var ae=void 0;if(typeof w.g!="undefined")ae=w.g;else if(typeof self!="undefined")ae=self;else try{ae=Function("return this")()}catch(ee){throw new Error("polyfill failed because global object is unavailable in this environment")}var te=ae.Promise;if(te){var oe=null;try{oe=Object.prototype.toString.call(te.resolve())}catch(ee){}if(oe==="[object Promise]"&&!te.cast)return}ae.Promise=V}return V.polyfill=q,V.Promise=V,V})},86204:function(Ln){"use strict";var gt=typeof Reflect=="object"?Reflect:null,w=gt&&typeof gt.apply=="function"?gt.apply:function(v,e,t){return Function.prototype.apply.call(v,e,t)},h;gt&&typeof gt.ownKeys=="function"?h=gt.ownKeys:Object.getOwnPropertySymbols?h=function(v){return Object.getOwnPropertyNames(v).concat(Object.getOwnPropertySymbols(v))}:h=function(v){return Object.getOwnPropertyNames(v)};function k(s){console&&console.warn&&console.warn(s)}var P=Number.isNaN||function(v){return v!==v};function _(){_.init.call(this)}Ln.exports=_,Ln.exports.once=a,_.EventEmitter=_,_.prototype._events=void 0,_.prototype._eventsCount=0,_.prototype._maxListeners=void 0;var B=10;function C(s){if(typeof s!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof s)}Object.defineProperty(_,"defaultMaxListeners",{enumerable:!0,get:function(){return B},set:function(s){if(typeof s!="number"||s<0||P(s))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+s+".");B=s}}),_.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_.prototype.setMaxListeners=function(v){if(typeof v!="number"||v<0||P(v))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+v+".");return this._maxListeners=v,this};function p(s){return s._maxListeners===void 0?_.defaultMaxListeners:s._maxListeners}_.prototype.getMaxListeners=function(){return p(this)},_.prototype.emit=function(v){for(var e=[],t=1;t<arguments.length;t++)e.push(arguments[t]);var i=v==="error",f=this._events;if(f!==void 0)i=i&&f.error===void 0;else if(!i)return!1;if(i){var y;if(e.length>0&&(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")w(x,this,e);else for(var A=x.length,M=g(x,A),t=0;t<A;++t)w(M[t],this,e);return!0};function m(s,v,e,t){var i,f,y;if(C(e),f=s._events,f===void 0?(f=s._events=Object.create(null),s._eventsCount=0):(f.newListener!==void 0&&(s.emit("newListener",v,e.listener?e.listener:e),f=s._events),y=f[v]),y===void 0)y=f[v]=e,++s._eventsCount;else if(typeof y=="function"?y=f[v]=t?[e,y]:[y,e]:t?y.unshift(e):y.push(e),i=p(s),i>0&&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 m(this,v,e,!1)},_.prototype.on=_.prototype.addListener,_.prototype.prependListener=function(v,e){return m(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<f.length;++i)y=f[i],y!=="removeListener"&&this.removeAllListeners(y);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=t[v],typeof e=="function")this.removeListener(v,e);else if(e!==void 0)for(i=e.length-1;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<v;++t)e[t]=s[t];return e}function r(s,v){for(;v+1<s.length;v++)s[v]=s[v+1];s.pop()}function n(s){for(var v=new Array(s.length),e=0;e<v.length;++e)v[e]=s[e].listener||s[e];return v}function a(s,v){return new Promise(function(e,t){function i(y){s.removeListener(v,f),t(y)}function f(){typeof s.removeListener=="function"&&s.removeListener("error",i),e([].slice.call(arguments))}u(s,v,f,{once:!0}),v!=="error"&&c(s,i,{once:!0})})}function c(s,v,e){typeof s.on=="function"&&u(s,"error",v,e)}function u(s,v,e,t){if(typeof s.on=="function")t.once?s.once(v,e):s.on(v,e);else if(typeof s.addEventListener=="function")s.addEventListener(v,function i(f){t.once&&s.removeEventListener(v,i),e(f)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof s)}},53291:function(Ln){"use strict";var gt=Array.isArray,w=Object.keys,h=Object.prototype.hasOwnProperty;Ln.exports=function k(P,_){if(P===_)return!0;if(P&&_&&typeof P=="object"&&typeof _=="object"){var B=gt(P),C=gt(_),p,m,E;if(B&&C){if(m=P.length,m!=_.length)return!1;for(p=m;p--!==0;)if(!k(P[p],_[p]))return!1;return!0}if(B!=C)return!1;var d=P instanceof Date,l=_ instanceof Date;if(d!=l)return!1;if(d&&l)return P.getTime()==_.getTime();var o=P instanceof RegExp,g=_ instanceof RegExp;if(o!=g)return!1;if(o&&g)return P.toString()==_.toString();var r=w(P);if(m=r.length,m!==w(_).length)return!1;for(p=m;p--!==0;)if(!h.call(_,r[p]))return!1;for(p=m;p--!==0;)if(E=r[p],!k(P[E],_[E]))return!1;return!0}return P!==P&&_!==_}},24334:function(Ln,gt,w){var h,k;(function(P,_){Ln.exports=_(P)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof w.g!="undefined"?w.g:this,function(P){"use strict";P=P||{};var _=P.Base64,B="2.6.4",C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=function(O){for(var D={},N=0,I=O.length;N<I;N++)D[O.charAt(N)]=N;return D}(C),m=String.fromCharCode,E=function(O){if(O.length<2){var D=O.charCodeAt(0);return D<128?O:D<2048?m(192|D>>>6)+m(128|D&63):m(224|D>>>12&15)+m(128|D>>>6&63)+m(128|D&63)}else{var D=65536+(O.charCodeAt(0)-55296)*1024+(O.charCodeAt(1)-56320);return m(240|D>>>18&7)+m(128|D>>>12&63)+m(128|D>>>6&63)+m(128|D&63)}},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(O){return O.replace(d,E)},o=function(O){var D=[0,2,1][O.length%3],N=O.charCodeAt(0)<<16|(O.length>1?O.charCodeAt(1):0)<<8|(O.length>2?O.charCodeAt(2):0),I=[C.charAt(N>>>18),C.charAt(N>>>12&63),D>=2?"=":C.charAt(N>>>6&63),D>=1?"=":C.charAt(N&63)];return I.join("")},g=P.btoa&&typeof P.btoa=="function"?function(O){return P.btoa(O)}:function(O){if(O.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return O.replace(/[\s\S]{1,3}/g,o)},r=function(O){return g(l(String(O)))},n=function(O){return O.replace(/[+\/]/g,function(D){return D=="+"?"-":"_"}).replace(/=/g,"")},a=function(O,D){return D?n(r(O)):r(O)},c=function(O){return a(O,!0)},u;P.Uint8Array&&(u=function(O,D){for(var N="",I=0,U=O.length;I<U;I+=3){var F=O[I],K=O[I+1],j=O[I+2],G=F<<16|K<<8|j;N+=C.charAt(G>>>18)+C.charAt(G>>>12&63)+(typeof K!="undefined"?C.charAt(G>>>6&63):"=")+(typeof j!="undefined"?C.charAt(G&63):"=")}return D?n(N):N});var s=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,v=function(O){switch(O.length){case 4:var D=(7&O.charCodeAt(0))<<18|(63&O.charCodeAt(1))<<12|(63&O.charCodeAt(2))<<6|63&O.charCodeAt(3),N=D-65536;return m((N>>>10)+55296)+m((N&1023)+56320);case 3:return m((15&O.charCodeAt(0))<<12|(63&O.charCodeAt(1))<<6|63&O.charCodeAt(2));default:return m((31&O.charCodeAt(0))<<6|63&O.charCodeAt(1))}},e=function(O){return O.replace(s,v)},t=function(O){var D=O.length,N=D%4,I=(D>0?p[O.charAt(0)]<<18:0)|(D>1?p[O.charAt(1)]<<12:0)|(D>2?p[O.charAt(2)]<<6:0)|(D>3?p[O.charAt(3)]:0),U=[m(I>>>16),m(I>>>8&255),m(I&255)];return U.length-=[0,0,2,1][N],U.join("")},i=P.atob&&typeof P.atob=="function"?function(O){return P.atob(O)}:function(O){return O.replace(/\S{1,4}/g,t)},f=function(O){return i(String(O).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(O){return e(i(O))},b=function(O){return String(O).replace(/[-_]/g,function(D){return D=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},x=function(O){return y(b(O))},A;P.Uint8Array&&(A=function(O){return Uint8Array.from(f(b(O)),function(D){return D.charCodeAt(0)})});var M=function(){var O=P.Base64;return P.Base64=_,O};if(P.Base64={VERSION:B,atob:f,btoa:g,fromBase64:x,toBase64:a,utob:l,encode:a,encodeURI:c,btou:e,decode:x,noConflict:M,fromUint8Array:u,toUint8Array:A},typeof Object.defineProperty=="function"){var L=function(O){return{value:O,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(O){return a(this,O)})),Object.defineProperty(String.prototype,"toBase64URI",L(function(){return a(this,!0)}))}}return P.Meteor&&(Base64=P.Base64),Ln.exports?Ln.exports.Base64=P.Base64:(h=[],k=function(){return P.Base64}.apply(gt,h),k!==void 0&&(Ln.exports=k)),{Base64:P.Base64}})},6551:function(Ln,gt,w){"use strict";w.d(gt,{ZP:function(){return p}});var h=w(42978),k=w(59301),P=w(47273),_=0,B=(0,P.Z)();function C(){var m;return B?(m=_,_+=1):m="TEST_OR_SSR",m}function p(m){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()))},[]),m||l}},37463:function(Ln,gt,w){"use strict";w.d(gt,{Ac:function(){return $e},Xo:function(){return Ve},Wx:function(){return qe},ZP:function(){return Gt},lk:function(){return v}});var h=w(54476),k=w(94480),P=w(20068),_=w(33885),B=w(42978),C=w(75931),p=w(76190),m=w(18929),E=w(48736),d=w(59301),l=w(92310),o=w.n(l),g=w(34280),r=w(49658),n=w(8654),a=function(Re){var ye=Re.className,Te=Re.customizeIcon,Ie=Re.customizeIconProps,Ke=Re.children,he=Re.onMouseDown,Ze=Re.onClick,tt=typeof Te=="function"?Te(Ie):Te;return d.createElement("span",{className:ye,onMouseDown:function(_e){_e.preventDefault(),he==null||he(_e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ze,"aria-hidden":!0},tt!==void 0?tt:d.createElement("span",{className:o()(ye.split(/\s+/).map(function(me){return"".concat(me,"-icon")}))},Ke))},c=a,u=function(Re,ye,Te,Ie,Ke){var he=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ze=arguments.length>6?arguments[6]:void 0,tt=arguments.length>7?arguments[7]:void 0,me=d.useMemo(function(){if((0,p.Z)(Ie)==="object")return Ie.clearIcon;if(Ke)return Ke},[Ie,Ke]),_e=d.useMemo(function(){return!!(!he&&Ie&&(Te.length||Ze)&&!(tt==="combobox"&&Ze===""))},[Ie,he,Te.length,Ze,tt]);return{allowClear:_e,clearIcon:d.createElement(c,{className:"".concat(Re,"-clear"),onMouseDown:ye,customizeIcon:me},"\xD7")}},s=d.createContext(null);function v(){return d.useContext(s)}function e(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Re=d.useState(!1),ye=(0,B.Z)(Re,2),Te=ye[0],Ie=ye[1],Ke=d.useRef(null),he=function(){window.clearTimeout(Ke.current)};d.useEffect(function(){return he},[]);var Ze=function(me,_e){he(),Ke.current=window.setTimeout(function(){Ie(me),_e&&_e()},ze)};return[Te,Ze,he]}function t(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Re=d.useRef(null),ye=d.useRef(null);d.useEffect(function(){return function(){window.clearTimeout(ye.current)}},[]);function Te(Ie){(Ie||Re.current===null)&&(Re.current=Ie),window.clearTimeout(ye.current),ye.current=window.setTimeout(function(){Re.current=null},ze)}return[function(){return Re.current},Te]}function i(ze,Re,ye,Te){var Ie=d.useRef(null);Ie.current={open:Re,triggerOpen:ye,customizedTrigger:Te},d.useEffect(function(){function Ke(he){var Ze;if(!((Ze=Ie.current)!==null&&Ze!==void 0&&Ze.customizedTrigger)){var tt=he.target;tt.shadowRoot&&he.composed&&(tt=he.composedPath()[0]||tt),Ie.current.open&&ze().filter(function(me){return me}).every(function(me){return!me.contains(tt)&&me!==tt})&&Ie.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ke),function(){return window.removeEventListener("mousedown",Ke)}},[])}var f=w(10228);function y(ze){return ze&&![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(ze)}var b=w(26112),x=w(83836);function A(ze,Re,ye){var Te=(0,_.Z)((0,_.Z)({},ze),ye?Re:{});return Object.keys(Re).forEach(function(Ie){var Ke=Re[Ie];typeof Ke=="function"&&(Te[Ie]=function(){for(var he,Ze=arguments.length,tt=new Array(Ze),me=0;me<Ze;me++)tt[me]=arguments[me];return Ke.apply(void 0,tt),(he=ze[Ie])===null||he===void 0?void 0:he.call.apply(he,[ze].concat(tt))})}),Te}var M=A,L=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],O=function(Re,ye){var Te=Re.prefixCls,Ie=Re.id,Ke=Re.inputElement,he=Re.autoFocus,Ze=Re.autoComplete,tt=Re.editable,me=Re.activeDescendantId,_e=Re.value,Ee=Re.open,Xe=Re.attrs,Se=(0,C.Z)(Re,L),ut=Ke||d.createElement("input",null),bt=ut,Tt=bt.ref,kt=bt.props;return(0,E.Kp)(!("maxLength"in ut.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),ut=d.cloneElement(ut,(0,_.Z)((0,_.Z)((0,_.Z)({type:"search"},M(Se,kt,!0)),{},{id:Ie,ref:(0,n.sQ)(ye,Tt),autoComplete:Ze||"off",autoFocus:he,className:o()("".concat(Te,"-selection-search-input"),kt==null?void 0:kt.className),role:"combobox","aria-expanded":Ee||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ie,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ie,"_list"),"aria-activedescendant":Ee?me:void 0},Xe),{},{value:tt?_e:"",readOnly:!tt,unselectable:tt?null:"on",style:(0,_.Z)((0,_.Z)({},kt.style),{},{opacity:tt?null:0})})),ut},D=d.forwardRef(O),N=D;function I(ze){return Array.isArray(ze)?ze:ze!==void 0?[ze]:[]}var U=typeof window!="undefined"&&window.document&&window.document.documentElement,F=U;function K(ze){return ze!=null}function j(ze){return!ze&&ze!==0}function G(ze){return["string","number"].includes((0,p.Z)(ze))}function Y(ze){var Re=void 0;return ze&&(G(ze.title)?Re=ze.title.toString():G(ze.label)&&(Re=ze.label.toString())),Re}function le(ze,Re){F?d.useLayoutEffect(ze,Re):d.useEffect(ze,Re)}function Q(ze){var Re;return(Re=ze.key)!==null&&Re!==void 0?Re:ze.value}var ve=function(Re){Re.preventDefault(),Re.stopPropagation()},xe=function(Re){var ye=Re.id,Te=Re.prefixCls,Ie=Re.values,Ke=Re.open,he=Re.searchValue,Ze=Re.autoClearSearchValue,tt=Re.inputRef,me=Re.placeholder,_e=Re.disabled,Ee=Re.mode,Xe=Re.showSearch,Se=Re.autoFocus,ut=Re.autoComplete,bt=Re.activeDescendantId,Tt=Re.tabIndex,kt=Re.removeIcon,on=Re.maxTagCount,Sn=Re.maxTagTextLength,_n=Re.maxTagPlaceholder,nn=_n===void 0?function(Xn){return"+ ".concat(Xn.length," ...")}:_n,dn=Re.tagRender,mn=Re.onToggleOpen,Pt=Re.onRemove,wn=Re.onInputChange,jn=Re.onInputPaste,Cn=Re.onInputKeyDown,Fn=Re.onInputMouseDown,er=Re.onInputCompositionStart,Cr=Re.onInputCompositionEnd,sr=Re.onInputBlur,Bn=d.useRef(null),or=(0,d.useState)(0),fr=(0,B.Z)(or,2),nr=fr[0],tr=fr[1],qn=(0,d.useState)(!1),Mr=(0,B.Z)(qn,2),St=Mr[0],Hr=Mr[1],Rr="".concat(Te,"-selection"),kr=Ke||Ee==="multiple"&&Ze===!1||Ee==="tags"?he:"",Wr=Ee==="tags"||Ee==="multiple"&&Ze===!1||Xe&&(Ke||St);le(function(){tr(Bn.current.scrollWidth)},[kr]);var ea=function(zn,hr,Tr,gr,Pr){return d.createElement("span",{title:Y(zn),className:o()("".concat(Rr,"-item"),(0,P.Z)({},"".concat(Rr,"-item-disabled"),Tr))},d.createElement("span",{className:"".concat(Rr,"-item-content")},hr),gr&&d.createElement(c,{className:"".concat(Rr,"-item-remove"),onMouseDown:ve,onClick:Pr,customizeIcon:kt},"\xD7"))},ar=function(zn,hr,Tr,gr,Pr,et){var Lt=function(yn){ve(yn),mn(!Ke)};return d.createElement("span",{onMouseDown:Lt},dn({label:hr,value:zn,disabled:Tr,closable:gr,onClose:Pr,isMaxTag:!!et}))},lr=function(zn){var hr=zn.disabled,Tr=zn.label,gr=zn.value,Pr=!_e&&!hr,et=Tr;if(typeof Sn=="number"&&(typeof Tr=="string"||typeof Tr=="number")){var Lt=String(et);Lt.length>Sn&&(et="".concat(Lt.slice(0,Sn),"..."))}var At=function(Qn){Qn&&Qn.stopPropagation(),Pt(zn)};return typeof dn=="function"?ar(gr,et,hr,Pr,At):ea(zn,et,hr,Pr,At)},An=function(zn){if(!Ie.length)return null;var hr=typeof nn=="function"?nn(zn):nn;return typeof dn=="function"?ar(void 0,hr,!1,!1,void 0,!0):ea({title:hr},hr,!1)},Kt=d.createElement("div",{className:"".concat(Rr,"-search"),style:{width:nr},onFocus:function(){Hr(!0)},onBlur:function(){Hr(!1)}},d.createElement(N,{ref:tt,open:Ke,prefixCls:Te,id:ye,inputElement:null,disabled:_e,autoFocus:Se,autoComplete:ut,editable:Wr,activeDescendantId:bt,value:kr,onKeyDown:Cn,onMouseDown:Fn,onChange:wn,onPaste:jn,onCompositionStart:er,onCompositionEnd:Cr,onBlur:sr,tabIndex:Tt,attrs:(0,b.Z)(Re,!0)}),d.createElement("span",{ref:Bn,className:"".concat(Rr,"-search-mirror"),"aria-hidden":!0},kr,"\xA0")),Qt=d.createElement(x.Z,{prefixCls:"".concat(Rr,"-overflow"),data:Ie,renderItem:lr,renderRest:An,suffix:Kt,itemKey:Q,maxCount:on});return d.createElement("span",{className:"".concat(Rr,"-wrap")},Qt,!Ie.length&&!kr&&d.createElement("span",{className:"".concat(Rr,"-placeholder")},me))},be=xe,De=function(Re){var ye=Re.inputElement,Te=Re.prefixCls,Ie=Re.id,Ke=Re.inputRef,he=Re.disabled,Ze=Re.autoFocus,tt=Re.autoComplete,me=Re.activeDescendantId,_e=Re.mode,Ee=Re.open,Xe=Re.values,Se=Re.placeholder,ut=Re.tabIndex,bt=Re.showSearch,Tt=Re.searchValue,kt=Re.activeValue,on=Re.maxLength,Sn=Re.onInputKeyDown,_n=Re.onInputMouseDown,nn=Re.onInputChange,dn=Re.onInputPaste,mn=Re.onInputCompositionStart,Pt=Re.onInputCompositionEnd,wn=Re.onInputBlur,jn=Re.title,Cn=d.useState(!1),Fn=(0,B.Z)(Cn,2),er=Fn[0],Cr=Fn[1],sr=_e==="combobox",Bn=sr||bt,or=Xe[0],fr=Tt||"";sr&&kt&&!er&&(fr=kt),d.useEffect(function(){sr&&Cr(!1)},[sr,kt]);var nr=_e!=="combobox"&&!Ee&&!bt?!1:!!fr,tr=jn===void 0?Y(or):jn,qn=d.useMemo(function(){return or?null:d.createElement("span",{className:"".concat(Te,"-selection-placeholder"),style:nr?{visibility:"hidden"}:void 0},Se)},[or,nr,Se,Te]);return d.createElement("span",{className:"".concat(Te,"-selection-wrap")},d.createElement("span",{className:"".concat(Te,"-selection-search")},d.createElement(N,{ref:Ke,prefixCls:Te,id:Ie,open:Ee,inputElement:ye,disabled:he,autoFocus:Ze,autoComplete:tt,editable:Bn,activeDescendantId:me,value:fr,onKeyDown:Sn,onMouseDown:_n,onChange:function(St){Cr(!0),nn(St)},onPaste:dn,onCompositionStart:mn,onCompositionEnd:Pt,onBlur:wn,tabIndex:ut,attrs:(0,b.Z)(Re,!0),maxLength:sr?on:void 0})),!sr&&or?d.createElement("span",{className:"".concat(Te,"-selection-item"),title:tr,style:nr?{visibility:"hidden"}:void 0},or.label):null,qn)},Ue=De,we=function(Re,ye){var Te=(0,d.useRef)(null),Ie=(0,d.useRef)(!1),Ke=Re.prefixCls,he=Re.open,Ze=Re.mode,tt=Re.showSearch,me=Re.tokenWithEnter,_e=Re.disabled,Ee=Re.prefix,Xe=Re.autoClearSearchValue,Se=Re.onSearch,ut=Re.onSearchSubmit,bt=Re.onToggleOpen,Tt=Re.onInputKeyDown,kt=Re.onInputBlur,on=Re.domRef;d.useImperativeHandle(ye,function(){return{focus:function(tr){Te.current.focus(tr)},blur:function(){Te.current.blur()}}});var Sn=t(0),_n=(0,B.Z)(Sn,2),nn=_n[0],dn=_n[1],mn=function(tr){var qn=tr.which,Mr=Te.current instanceof HTMLTextAreaElement;!Mr&&he&&(qn===f.Z.UP||qn===f.Z.DOWN)&&tr.preventDefault(),Tt&&Tt(tr),qn===f.Z.ENTER&&Ze==="tags"&&!Ie.current&&!he&&(ut==null||ut(tr.target.value)),!(Mr&&!he&&~[f.Z.UP,f.Z.DOWN,f.Z.LEFT,f.Z.RIGHT].indexOf(qn))&&y(qn)&&bt(!0)},Pt=function(){dn(!0)},wn=(0,d.useRef)(null),jn=function(tr){Se(tr,!0,Ie.current)!==!1&&bt(!0)},Cn=function(){Ie.current=!0},Fn=function(tr){Ie.current=!1,Ze!=="combobox"&&jn(tr.target.value)},er=function(tr){var qn=tr.target.value;if(me&&wn.current&&/[\r\n]/.test(wn.current)){var Mr=wn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");qn=qn.replace(Mr,wn.current)}wn.current=null,jn(qn)},Cr=function(tr){var qn=tr.clipboardData,Mr=qn==null?void 0:qn.getData("text");wn.current=Mr||""},sr=function(tr){var qn=tr.target;if(qn!==Te.current){var Mr=document.body.style.msTouchAction!==void 0;Mr?setTimeout(function(){Te.current.focus()}):Te.current.focus()}},Bn=function(tr){var qn=nn();tr.target!==Te.current&&!qn&&!(Ze==="combobox"&&_e)&&tr.preventDefault(),(Ze!=="combobox"&&(!tt||!qn)||!he)&&(he&&Xe!==!1&&Se("",!0,!1),bt())},or={inputRef:Te,onInputKeyDown:mn,onInputMouseDown:Pt,onInputChange:er,onInputPaste:Cr,onInputCompositionStart:Cn,onInputCompositionEnd:Fn,onInputBlur:kt},fr=Ze==="multiple"||Ze==="tags"?d.createElement(be,(0,h.Z)({},Re,or)):d.createElement(Ue,(0,h.Z)({},Re,or));return d.createElement("div",{ref:on,className:"".concat(Ke,"-selector"),onClick:sr,onMouseDown:Bn},Ee&&d.createElement("div",{className:"".concat(Ke,"-prefix")},Ee),fr)},Ye=d.forwardRef(we),Be=Ye,ge=w(65030),He=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Fe=function(Re){var ye=Re===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ye,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ye,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ye,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ye,adjustY:1},htmlRegion:"scroll"}}},Pe=function(Re,ye){var Te=Re.prefixCls,Ie=Re.disabled,Ke=Re.visible,he=Re.children,Ze=Re.popupElement,tt=Re.animation,me=Re.transitionName,_e=Re.dropdownStyle,Ee=Re.dropdownClassName,Xe=Re.direction,Se=Xe===void 0?"ltr":Xe,ut=Re.placement,bt=Re.builtinPlacements,Tt=Re.dropdownMatchSelectWidth,kt=Re.dropdownRender,on=Re.dropdownAlign,Sn=Re.getPopupContainer,_n=Re.empty,nn=Re.getTriggerDOMNode,dn=Re.onPopupVisibleChange,mn=Re.onPopupMouseEnter,Pt=(0,C.Z)(Re,He),wn="".concat(Te,"-dropdown"),jn=Ze;kt&&(jn=kt(Ze));var Cn=d.useMemo(function(){return bt||Fe(Tt)},[bt,Tt]),Fn=tt?"".concat(wn,"-").concat(tt):me,er=typeof Tt=="number",Cr=d.useMemo(function(){return er?null:Tt===!1?"minWidth":"width"},[Tt,er]),sr=_e;er&&(sr=(0,_.Z)((0,_.Z)({},sr),{},{width:Tt}));var Bn=d.useRef(null);return d.useImperativeHandle(ye,function(){return{getPopupElement:function(){var fr;return(fr=Bn.current)===null||fr===void 0?void 0:fr.popupElement}}}),d.createElement(ge.Z,(0,h.Z)({},Pt,{showAction:dn?["click"]:[],hideAction:dn?["click"]:[],popupPlacement:ut||(Se==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Cn,prefixCls:wn,popupTransitionName:Fn,popup:d.createElement("div",{onMouseEnter:mn},jn),ref:Bn,stretch:Cr,popupAlign:on,popupVisible:Ke,getPopupContainer:Sn,popupClassName:o()(Ee,(0,P.Z)({},"".concat(wn,"-empty"),_n)),popupStyle:sr,getTriggerDOMNode:nn,onPopupVisibleChange:dn}),he)},We=d.forwardRef(Pe),Ne=We,V=w(66712);function q(ze,Re){var ye=ze.key,Te;return"value"in ze&&(Te=ze.value),ye!=null?ye:Te!==void 0?Te:"rc-index-key-".concat(Re)}function ae(ze){return typeof ze!="undefined"&&!Number.isNaN(ze)}function te(ze,Re){var ye=ze||{},Te=ye.label,Ie=ye.value,Ke=ye.options,he=ye.groupLabel,Ze=Te||(Re?"children":"label");return{label:Ze,value:Ie||"value",options:Ke||"options",groupLabel:he||Ze}}function oe(ze){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ye=Re.fieldNames,Te=Re.childrenAsData,Ie=[],Ke=te(ye,!1),he=Ke.label,Ze=Ke.value,tt=Ke.options,me=Ke.groupLabel;function _e(Ee,Xe){Array.isArray(Ee)&&Ee.forEach(function(Se){if(Xe||!(tt in Se)){var ut=Se[Ze];Ie.push({key:q(Se,Ie.length),groupOption:Xe,data:Se,label:Se[he],value:ut})}else{var bt=Se[me];bt===void 0&&Te&&(bt=Se.label),Ie.push({key:q(Se,Ie.length),group:!0,data:Se,label:bt}),_e(Se[tt],!0)}})}return _e(ze,!1),Ie}function ee(ze){var Re=(0,_.Z)({},ze);return"props"in Re||Object.defineProperty(Re,"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`."),Re}}),Re}var fe=function(Re,ye,Te){if(!ye||!ye.length)return null;var Ie=!1,Ke=function Ze(tt,me){var _e=(0,V.Z)(me),Ee=_e[0],Xe=_e.slice(1);if(!Ee)return[tt];var Se=tt.split(Ee);return Ie=Ie||Se.length>1,Se.reduce(function(ut,bt){return[].concat((0,k.Z)(ut),(0,k.Z)(Ze(bt,Xe)))},[]).filter(Boolean)},he=Ke(Re,ye);return Ie?typeof Te!="undefined"?he.slice(0,Te):he:null},Ce=d.createContext(null),re=Ce;function ce(ze){var Re=ze.visible,ye=ze.values;if(!Re)return null;var Te=50;return d.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ye.slice(0,Te).map(function(Ie){var Ke=Ie.label,he=Ie.value;return["number","string"].includes((0,p.Z)(Ke))?Ke:he}).join(", ")),ye.length>Te?", ...":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"],Qe=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ht=function(Re){return Re==="tags"||Re==="multiple"},pt=d.forwardRef(function(ze,Re){var ye,Te=ze.id,Ie=ze.prefixCls,Ke=ze.className,he=ze.showSearch,Ze=ze.tagRender,tt=ze.direction,me=ze.omitDomProps,_e=ze.displayValues,Ee=ze.onDisplayValuesChange,Xe=ze.emptyOptions,Se=ze.notFoundContent,ut=Se===void 0?"Not Found":Se,bt=ze.onClear,Tt=ze.mode,kt=ze.disabled,on=ze.loading,Sn=ze.getInputElement,_n=ze.getRawInputElement,nn=ze.open,dn=ze.defaultOpen,mn=ze.onDropdownVisibleChange,Pt=ze.activeValue,wn=ze.onActiveValueChange,jn=ze.activeDescendantId,Cn=ze.searchValue,Fn=ze.autoClearSearchValue,er=ze.onSearch,Cr=ze.onSearchSplit,sr=ze.tokenSeparators,Bn=ze.allowClear,or=ze.prefix,fr=ze.suffixIcon,nr=ze.clearIcon,tr=ze.OptionList,qn=ze.animation,Mr=ze.transitionName,St=ze.dropdownStyle,Hr=ze.dropdownClassName,Rr=ze.dropdownMatchSelectWidth,kr=ze.dropdownRender,Wr=ze.dropdownAlign,ea=ze.placement,ar=ze.builtinPlacements,lr=ze.getPopupContainer,An=ze.showAction,Kt=An===void 0?[]:An,Qt=ze.onFocus,Xn=ze.onBlur,zn=ze.onKeyUp,hr=ze.onKeyDown,Tr=ze.onMouseDown,gr=(0,C.Z)(ze,lt),Pr=ht(Tt),et=(he!==void 0?he:Pr)||Tt==="combobox",Lt=(0,_.Z)({},gr);Qe.forEach(function(Ur){delete Lt[Ur]}),me==null||me.forEach(function(Ur){delete Lt[Ur]});var At=d.useState(!1),yn=(0,B.Z)(At,2),Qn=yn[0],vt=yn[1];d.useEffect(function(){vt((0,r.Z)())},[]);var vr=d.useRef(null),Tn=d.useRef(null),Yt=d.useRef(null),Vn=d.useRef(null),yr=d.useRef(null),Kn=d.useRef(!1),pr=e(),Rn=(0,B.Z)(pr,3),wr=Rn[0],mr=Rn[1],Gn=Rn[2];d.useImperativeHandle(Re,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||Tn.current}});var br=d.useMemo(function(){var Ur;if(Tt!=="combobox")return Cn;var Zr=(Ur=_e[0])===null||Ur===void 0?void 0:Ur.value;return typeof Zr=="string"||typeof Zr=="number"?String(Zr):""},[Cn,Tt,_e]),Ar=Tt==="combobox"&&typeof Sn=="function"&&Sn()||null,Ir=typeof _n=="function"&&_n(),Jn=(0,n.x1)(Tn,Ir==null||(ye=Ir.props)===null||ye===void 0?void 0:ye.ref),Er=d.useState(!1),ra=(0,B.Z)(Er,2),Gr=ra[0],Dr=ra[1];(0,g.Z)(function(){Dr(!0)},[]);var ur=(0,m.Z)(!1,{defaultValue:dn,value:nn}),ca=(0,B.Z)(ur,2),da=ca[0],sa=ca[1],fa=Gr?da:!1,$r=!ut&&Xe;(kt||$r&&fa&&Tt==="combobox")&&(fa=!1);var Ea=$r?!1:fa,Lr=d.useCallback(function(Ur){var Zr=Ur!==void 0?Ur:!fa;kt||(sa(Zr),fa!==Zr&&(mn==null||mn(Zr)))},[kt,fa,sa,mn]),Qr=d.useMemo(function(){return(sr||[]).some(function(Ur){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ur)})},[sr]),fn=d.useContext(re)||{},kn=fn.maxCount,Yn=fn.rawValues,Br=function(Zr,ua,Ya){if(!(Pr&&ae(kn)&&(Yn==null?void 0:Yn.size)>=kn)){var ma=!0,Ka=Zr;wn==null||wn(null);var ka=fe(Zr,sr,ae(kn)?kn-Yn.size:void 0),ui=Ya?null:ka;return Tt!=="combobox"&&ui&&(Ka="",Cr==null||Cr(ui),Lr(!1),ma=!1),er&&br!==Ka&&er(Ka,{source:ua?"typing":"effect"}),ma}},jt=function(Zr){!Zr||!Zr.trim()||er(Zr,{source:"submit"})};d.useEffect(function(){!fa&&!Pr&&Tt!=="combobox"&&Br("",!1,!1)},[fa]),d.useEffect(function(){da&&kt&&sa(!1),kt&&!Kn.current&&mr(!1)},[kt]);var Xr=t(),ya=(0,B.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&&(Tt!=="combobox"&&Zr.preventDefault(),fa||Lr(!0)),Aa(!!br),Ya==="Backspace"&&!ua&&Pr&&!br&&_e.length){for(var Ka=(0,k.Z)(_e),ka=null,ui=Ka.length-1;ui>=0;ui-=1){var qa=Ka[ui];if(!qa.disabled){Ka.splice(ui,1),ka=qa;break}}ka&&Ee(Ka,{type:"remove",values:[ka]})}for(var Ai=arguments.length,Ma=new Array(Ai>1?Ai-1:0),pi=1;pi<Ai;pi++)Ma[pi-1]=arguments[pi];if(fa&&(!ma||!Zn.current)){var Bi;ma&&(Zn.current=!0),(Bi=yr.current)===null||Bi===void 0||Bi.onKeyDown.apply(Bi,[Zr].concat(Ma))}hr==null||hr.apply(void 0,[Zr].concat(Ma))},la=function(Zr){for(var ua=arguments.length,Ya=new Array(ua>1?ua-1:0),ma=1;ma<ua;ma++)Ya[ma-1]=arguments[ma];if(fa){var Ka;(Ka=yr.current)===null||Ka===void 0||Ka.onKeyUp.apply(Ka,[Zr].concat(Ya))}Zr.key==="Enter"&&(Zn.current=!1),zn==null||zn.apply(void 0,[Zr].concat(Ya))},Jr=function(Zr){var ua=_e.filter(function(Ya){return Ya!==Zr});Ee(ua,{type:"remove",values:[Zr]})},_a=function(){Zn.current=!1},ha=d.useRef(!1),Ua=function(){mr(!0),kt||(Qt&&!ha.current&&Qt.apply(void 0,arguments),Kt.includes("focus")&&Lr(!0)),ha.current=!0},Xa=function(){Kn.current=!0,mr(!1,function(){ha.current=!1,Kn.current=!1,Lr(!1)}),!kt&&(br&&(Tt==="tags"?er(br,{source:"submit"}):Tt==="multiple"&&er("",{source:"blur"})),Xn&&Xn.apply(void 0,arguments))},Wa=[];d.useEffect(function(){return function(){Wa.forEach(function(Ur){return clearTimeout(Ur)}),Wa.splice(0,Wa.length)}},[]);var ei=function(Zr){var ua,Ya=Zr.target,ma=(ua=Yt.current)===null||ua===void 0?void 0:ua.getPopupElement();if(ma&&ma.contains(Ya)){var Ka=setTimeout(function(){var Ai=Wa.indexOf(Ka);if(Ai!==-1&&Wa.splice(Ai,1),Gn(),!Qn&&!ma.contains(document.activeElement)){var Ma;(Ma=Vn.current)===null||Ma===void 0||Ma.focus()}});Wa.push(Ka)}for(var ka=arguments.length,ui=new Array(ka>1?ka-1:0),qa=1;qa<ka;qa++)ui[qa-1]=arguments[qa];Tr==null||Tr.apply(void 0,[Zr].concat(ui))},Fa=d.useState({}),va=(0,B.Z)(Fa,2),jr=va[1];function za(){jr({})}var vi;Ir&&(vi=function(Zr){Lr(Zr)}),i(function(){var Ur;return[vr.current,(Ur=Yt.current)===null||Ur===void 0?void 0:Ur.getPopupElement()]},Ea,Lr,!!Ir);var mi=d.useMemo(function(){return(0,_.Z)((0,_.Z)({},ze),{},{notFoundContent:ut,open:fa,triggerOpen:Ea,id:Te,showSearch:et,multiple:Pr,toggleOpen:Lr})},[ze,ut,Ea,fa,Te,et,Pr,Lr]),ir=!!fr||on,Vr;ir&&(Vr=d.createElement(c,{className:o()("".concat(Ie,"-arrow"),(0,P.Z)({},"".concat(Ie,"-arrow-loading"),on)),customizeIcon:fr,customizeIconProps:{loading:on,searchValue:br,open:fa,focused:wr,showSearch:et}}));var Ha=function(){var Zr;bt==null||bt(),(Zr=Vn.current)===null||Zr===void 0||Zr.focus(),Ee([],{type:"clear",values:_e}),Br("",!1,!1)},Oa=u(Ie,Ha,_e,Bn,nr,kt,br,Tt),La=Oa.allowClear,pn=Oa.clearIcon,cr=d.createElement(tr,{ref:yr}),xa=o()(Ie,Ke,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(Ie,"-focused"),wr),"".concat(Ie,"-multiple"),Pr),"".concat(Ie,"-single"),!Pr),"".concat(Ie,"-allow-clear"),Bn),"".concat(Ie,"-show-arrow"),ir),"".concat(Ie,"-disabled"),kt),"".concat(Ie,"-loading"),on),"".concat(Ie,"-open"),fa),"".concat(Ie,"-customize-input"),Ar),"".concat(Ie,"-show-search"),et)),Sr=d.createElement(Ne,{ref:Yt,disabled:kt,prefixCls:Ie,visible:Ea,popupElement:cr,animation:qn,transitionName:Mr,dropdownStyle:St,dropdownClassName:Hr,direction:tt,dropdownMatchSelectWidth:Rr,dropdownRender:kr,dropdownAlign:Wr,placement:ea,builtinPlacements:ar,getPopupContainer:lr,empty:Xe,getTriggerDOMNode:function(Zr){return Tn.current||Zr},onPopupVisibleChange:vi,onPopupMouseEnter:za},Ir?d.cloneElement(Ir,{ref:Jn}):d.createElement(Be,(0,h.Z)({},ze,{domRef:Tn,prefixCls:Ie,inputElement:Ar,ref:Vn,id:Te,prefix:or,showSearch:et,autoClearSearchValue:Fn,mode:Tt,activeDescendantId:jn,tagRender:Ze,values:_e,open:fa,onToggleOpen:Lr,activeValue:Pt,searchValue:br,onSearch:Br,onSearchSubmit:jt,onRemove:Jr,tokenWithEnter:Qr,onInputBlur:_a}))),ta;return Ir?ta=Sr:ta=d.createElement("div",(0,h.Z)({className:xa},Lt,{ref:vr,onMouseDown:ei,onKeyDown:na,onKeyUp:la,onFocus:Ua,onBlur:Xa}),d.createElement(ce,{visible:wr&&!fa,values:_e}),Sr,Vr,La&&pn),d.createElement(s.Provider,{value:mi},ta)}),$e=pt,mt=function(){return null};mt.isSelectOptGroup=!0;var Ve=mt,Me=function(){return null};Me.isSelectOption=!0;var qe=Me,it=w(80547),Et=w(2738),xt=w(48911);function un(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Jt=["disabled","title","children","style","className"];function Bt(ze){return typeof ze=="string"||typeof ze=="number"}var hn=function(Re,ye){var Te=v(),Ie=Te.prefixCls,Ke=Te.id,he=Te.open,Ze=Te.multiple,tt=Te.mode,me=Te.searchValue,_e=Te.toggleOpen,Ee=Te.notFoundContent,Xe=Te.onPopupScroll,Se=d.useContext(re),ut=Se.maxCount,bt=Se.flattenOptions,Tt=Se.onActiveValue,kt=Se.defaultActiveFirstOption,on=Se.onSelect,Sn=Se.menuItemSelectedIcon,_n=Se.rawValues,nn=Se.fieldNames,dn=Se.virtual,mn=Se.direction,Pt=Se.listHeight,wn=Se.listItemHeight,jn=Se.optionRender,Cn="".concat(Ie,"-item"),Fn=(0,it.Z)(function(){return bt},[he,bt],function(An,Kt){return Kt[0]&&An[1]!==Kt[1]}),er=d.useRef(null),Cr=d.useMemo(function(){return Ze&&ae(ut)&&(_n==null?void 0:_n.size)>=ut},[Ze,ut,_n==null?void 0:_n.size]),sr=function(Kt){Kt.preventDefault()},Bn=function(Kt){var Qt;(Qt=er.current)===null||Qt===void 0||Qt.scrollTo(typeof Kt=="number"?{index:Kt}:Kt)},or=d.useCallback(function(An){return tt==="combobox"?!1:_n.has(An)},[tt,(0,k.Z)(_n).toString(),_n.size]),fr=function(Kt){for(var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Xn=Fn.length,zn=0;zn<Xn;zn+=1){var hr=(Kt+zn*Qt+Xn)%Xn,Tr=Fn[hr]||{},gr=Tr.group,Pr=Tr.data;if(!gr&&!(Pr!=null&&Pr.disabled)&&(or(Pr.value)||!Cr))return hr}return-1},nr=d.useState(function(){return fr(0)}),tr=(0,B.Z)(nr,2),qn=tr[0],Mr=tr[1],St=function(Kt){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Mr(Kt);var Xn={source:Qt?"keyboard":"mouse"},zn=Fn[Kt];if(!zn){Tt(null,-1,Xn);return}Tt(zn.value,Kt,Xn)};(0,d.useEffect)(function(){St(kt!==!1?fr(0):-1)},[Fn.length,me]);var Hr=d.useCallback(function(An){return tt==="combobox"?String(An).toLowerCase()===me.toLowerCase():_n.has(An)},[tt,me,(0,k.Z)(_n).toString(),_n.size]);(0,d.useEffect)(function(){var An=setTimeout(function(){if(!Ze&&he&&_n.size===1){var Qt=Array.from(_n)[0],Xn=Fn.findIndex(function(zn){var hr=zn.data;return me?String(hr.value).startsWith(me):hr.value===Qt});Xn!==-1&&(St(Xn),Bn(Xn))}});if(he){var Kt;(Kt=er.current)===null||Kt===void 0||Kt.scrollTo(void 0)}return function(){return clearTimeout(An)}},[he,me]);var Rr=function(Kt){Kt!==void 0&&on(Kt,{selected:!_n.has(Kt)}),Ze||_e(!1)};if(d.useImperativeHandle(ye,function(){return{onKeyDown:function(Kt){var Qt=Kt.which,Xn=Kt.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(qn+zn,zn);Bn(hr),St(hr,!0)}break}case f.Z.TAB:case f.Z.ENTER:{var Tr,gr=Fn[qn];gr&&!(gr!=null&&(Tr=gr.data)!==null&&Tr!==void 0&&Tr.disabled)&&!Cr?Rr(gr.value):Rr(void 0),he&&Kt.preventDefault();break}case f.Z.ESC:_e(!1),he&&Kt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Kt){Bn(Kt)}}}),Fn.length===0)return d.createElement("div",{role:"listbox",id:"".concat(Ke,"_list"),className:"".concat(Cn,"-empty"),onMouseDown:sr},Ee);var kr=Object.keys(nn).map(function(An){return nn[An]}),Wr=function(Kt){return Kt.label};function ea(An,Kt){var Qt=An.group;return{role:Qt?"presentation":"option",id:"".concat(Ke,"_list_").concat(Kt)}}var ar=function(Kt){var Qt=Fn[Kt];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:Kt},ea(Qt,Kt),{"aria-selected":Hr(zn)}),zn):null},lr={role:"listbox",id:"".concat(Ke,"_list")};return d.createElement(d.Fragment,null,dn&&d.createElement("div",(0,h.Z)({},lr,{style:{height:0,width:0,overflow:"hidden"}}),ar(qn-1),ar(qn),ar(qn+1)),d.createElement(xt.Z,{itemKey:"key",ref:er,data:Fn,height:Pt,itemHeight:wn,fullHeight:!1,onMouseDown:sr,onScroll:Xe,virtual:dn,direction:mn,innerProps:dn?null:lr},function(An,Kt){var Qt=An.group,Xn=An.groupOption,zn=An.data,hr=An.label,Tr=An.value,gr=zn.key;if(Qt){var Pr,et=(Pr=zn.title)!==null&&Pr!==void 0?Pr:Bt(hr)?hr.toString():void 0;return d.createElement("div",{className:o()(Cn,"".concat(Cn,"-group"),zn.className),title:et},hr!==void 0?hr:gr)}var Lt=zn.disabled,At=zn.title,yn=zn.children,Qn=zn.style,vt=zn.className,vr=(0,C.Z)(zn,Jt),Tn=(0,Et.Z)(vr,kr),Yt=or(Tr),Vn=Lt||!Yt&&Cr,yr="".concat(Cn,"-option"),Kn=o()(Cn,yr,vt,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(yr,"-grouped"),Xn),"".concat(yr,"-active"),qn===Kt&&!Vn),"".concat(yr,"-disabled"),Vn),"".concat(yr,"-selected"),Yt)),pr=Wr(An),Rn=!Sn||typeof Sn=="function"||Yt,wr=typeof pr=="number"?pr:pr||Tr,mr=Bt(wr)?wr.toString():void 0;return At!==void 0&&(mr=At),d.createElement("div",(0,h.Z)({},(0,b.Z)(Tn),dn?{}:ea(An,Kt),{"aria-selected":Hr(Tr),className:Kn,title:mr,onMouseMove:function(){qn===Kt||Vn||St(Kt)},onClick:function(){Vn||Rr(Tr)},style:Qn}),d.createElement("div",{className:"".concat(yr,"-content")},typeof jn=="function"?jn(An,{index:Kt}):wr),d.isValidElement(Sn)||Yt,Rn&&d.createElement(c,{className:"".concat(Cn,"-option-state"),customizeIcon:Sn,customizeIconProps:{value:Tr,disabled:Vn,isSelected:Yt}},Yt?"\u2713":null))}))},Nn=d.forwardRef(hn),tn=Nn,On=function(ze,Re){var ye=d.useRef({values:new Map,options:new Map}),Te=d.useMemo(function(){var Ke=ye.current,he=Ke.values,Ze=Ke.options,tt=ze.map(function(Ee){if(Ee.label===void 0){var Xe;return(0,_.Z)((0,_.Z)({},Ee),{},{label:(Xe=he.get(Ee.value))===null||Xe===void 0?void 0:Xe.label})}return Ee}),me=new Map,_e=new Map;return tt.forEach(function(Ee){me.set(Ee.value,Ee),_e.set(Ee.value,Re.get(Ee.value)||Ze.get(Ee.value))}),ye.current.values=me,ye.current.options=_e,tt},[ze,Re]),Ie=d.useCallback(function(Ke){return Re.get(Ke)||ye.current.options.get(Ke)},[Re]);return[Te,Ie]};function qt(ze,Re){return I(ze).join("").toUpperCase().includes(Re)}var Wt=function(ze,Re,ye,Te,Ie){return d.useMemo(function(){if(!ye||Te===!1)return ze;var Ke=Re.options,he=Re.label,Ze=Re.value,tt=[],me=typeof Te=="function",_e=ye.toUpperCase(),Ee=me?Te:function(Se,ut){return Ie?qt(ut[Ie],_e):ut[Ke]?qt(ut[he!=="children"?he:"label"],_e):qt(ut[Ze],_e)},Xe=me?function(Se){return ee(Se)}:function(Se){return Se};return ze.forEach(function(Se){if(Se[Ke]){var ut=Ee(ye,Xe(Se));if(ut)tt.push(Se);else{var bt=Se[Ke].filter(function(Tt){return Ee(ye,Xe(Tt))});bt.length&&tt.push((0,_.Z)((0,_.Z)({},Se),{},(0,P.Z)({},Ke,bt)))}return}Ee(ye,Xe(Se))&&tt.push(Se)}),tt},[ze,Te,Ie,ye,Re])},Zt=w(6551),rn=w(11592),xn=["children","value"],Dn=["children"];function Pn(ze){var Re=ze,ye=Re.key,Te=Re.props,Ie=Te.children,Ke=Te.value,he=(0,C.Z)(Te,xn);return(0,_.Z)({key:ye,value:Ke!==void 0?Ke:ye,children:Ie},he)}function Nt(ze){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,rn.Z)(ze).map(function(ye,Te){if(!d.isValidElement(ye)||!ye.type)return null;var Ie=ye,Ke=Ie.type.isSelectOptGroup,he=Ie.key,Ze=Ie.props,tt=Ze.children,me=(0,C.Z)(Ze,Dn);return Re||!Ke?Pn(ye):(0,_.Z)((0,_.Z)({key:"__RC_SELECT_GRP__".concat(he===null?Te:he,"__"),label:he},me),{},{options:Nt(tt)})}).filter(function(ye){return ye})}var Ht=function(Re,ye,Te,Ie,Ke){return d.useMemo(function(){var he=Re,Ze=!Re;Ze&&(he=Nt(ye));var tt=new Map,me=new Map,_e=function(Se,ut,bt){bt&&typeof bt=="string"&&Se.set(ut[bt],ut)},Ee=function Xe(Se){for(var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=0;bt<Se.length;bt+=1){var Tt=Se[bt];!Tt[Te.options]||ut?(tt.set(Tt[Te.value],Tt),_e(me,Tt,Te.label),_e(me,Tt,Ie),_e(me,Tt,Ke)):Xe(Tt[Te.options],!0)}};return Ee(he),{options:he,valueOptions:tt,labelOptions:me}},[Re,ye,Te,Ie,Ke])},rt=Ht;function T(ze){var Re=d.useRef();Re.current=ze;var ye=d.useCallback(function(){return Re.current.apply(Re,arguments)},[]);return ye}function z(ze){var Re=ze.mode,ye=ze.options,Te=ze.children,Ie=ze.backfill,Ke=ze.allowClear,he=ze.placeholder,Ze=ze.getInputElement,tt=ze.showSearch,me=ze.onSearch,_e=ze.defaultOpen,Ee=ze.autoFocus,Xe=ze.labelInValue,Se=ze.value,ut=ze.inputValue,bt=ze.optionLabelProp,Tt=isMultiple(Re),kt=tt!==void 0?tt:Tt||Re==="combobox",on=ye||convertChildrenToData(Te);if(warning(Re!=="tags"||on.every(function(dn){return!dn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Re==="tags"||Re==="combobox"){var Sn=on.some(function(dn){return dn.options?dn.options.some(function(mn){return typeof("value"in mn?mn.value:mn.key)=="number"}):typeof("value"in dn?dn.value:dn.key)=="number"});warning(!Sn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Re!=="combobox"||!bt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Re==="combobox"||!Ie,"`backfill` only works with `combobox` mode."),warning(Re==="combobox"||!Ze,"`getInputElement` only work with `combobox` mode."),noteOnce(Re!=="combobox"||!Ze||!Ke||!he,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),me&&!kt&&Re!=="combobox"&&Re!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!_e||Ee,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Se!=null){var _n=toArray(Se);warning(!Xe||_n.every(function(dn){return _typeof(dn)==="object"&&("key"in dn||"value"in dn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Tt||Array.isArray(Se),"`value` should be array when `mode` is `multiple` or `tags`")}if(Te){var nn=null;toNodeArray(Te).some(function(dn){if(!React.isValidElement(dn)||!dn.type)return!1;var mn=dn,Pt=mn.type;if(Pt.isSelectOption)return!1;if(Pt.isSelectOptGroup){var wn=toNodeArray(dn.props.children).every(function(jn){return!React.isValidElement(jn)||!dn.type||jn.type.isSelectOption?!0:(nn=jn.type,!1)});return!wn}return nn=Pt,!0}),nn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(nn.displayName||nn.name||nn,"`.")),warning(ut===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Z(ze,Re){if(ze){var ye=function Te(Ie){for(var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=0;he<Ie.length;he++){var Ze=Ie[he];if(Ze[Re==null?void 0:Re.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ke&&Array.isArray(Ze[Re==null?void 0:Re.options])&&Te(Ze[Re==null?void 0:Re.options],!0))break}};ye(ze)}}var $=null,se=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Ge=["inputValue"];function at(ze){return!ze||(0,p.Z)(ze)!=="object"}var _t=d.forwardRef(function(ze,Re){var ye=ze.id,Te=ze.mode,Ie=ze.prefixCls,Ke=Ie===void 0?"rc-select":Ie,he=ze.backfill,Ze=ze.fieldNames,tt=ze.inputValue,me=ze.searchValue,_e=ze.onSearch,Ee=ze.autoClearSearchValue,Xe=Ee===void 0?!0:Ee,Se=ze.onSelect,ut=ze.onDeselect,bt=ze.dropdownMatchSelectWidth,Tt=bt===void 0?!0:bt,kt=ze.filterOption,on=ze.filterSort,Sn=ze.optionFilterProp,_n=ze.optionLabelProp,nn=ze.options,dn=ze.optionRender,mn=ze.children,Pt=ze.defaultActiveFirstOption,wn=ze.menuItemSelectedIcon,jn=ze.virtual,Cn=ze.direction,Fn=ze.listHeight,er=Fn===void 0?200:Fn,Cr=ze.listItemHeight,sr=Cr===void 0?20:Cr,Bn=ze.labelRender,or=ze.value,fr=ze.defaultValue,nr=ze.labelInValue,tr=ze.onChange,qn=ze.maxCount,Mr=(0,C.Z)(ze,se),St=(0,Zt.ZP)(ye),Hr=ht(Te),Rr=!!(!nn&&mn),kr=d.useMemo(function(){return kt===void 0&&Te==="combobox"?!1:kt},[kt,Te]),Wr=d.useMemo(function(){return te(Ze,Rr)},[JSON.stringify(Ze),Rr]),ea=(0,m.Z)("",{value:me!==void 0?me:tt,postState:function(Qr){return Qr||""}}),ar=(0,B.Z)(ea,2),lr=ar[0],An=ar[1],Kt=rt(nn,mn,Wr,Sn,_n),Qt=Kt.valueOptions,Xn=Kt.labelOptions,zn=Kt.options,hr=d.useCallback(function(Lr){var Qr=I(Lr);return Qr.map(function(fn){var kn,Yn,Br,jt,Xr;if(at(fn))kn=fn;else{var ya;Br=fn.key,Yn=fn.label,kn=(ya=fn.value)!==null&&ya!==void 0?ya:Br}var oa=Qt.get(kn);if(oa){var Aa;if(Yn===void 0&&(Yn=oa==null?void 0:oa[_n||Wr.label]),Br===void 0&&(Br=(Aa=oa==null?void 0:oa.key)!==null&&Aa!==void 0?Aa:kn),jt=oa==null?void 0:oa.disabled,Xr=oa==null?void 0:oa.title,0)var Zn}return{label:Yn,value:kn,key:Br,disabled:jt,title:Xr}})},[Wr,_n,Qt]),Tr=(0,m.Z)(fr,{value:or}),gr=(0,B.Z)(Tr,2),Pr=gr[0],et=gr[1],Lt=d.useMemo(function(){var Lr,Qr=Hr&&Pr===null?[]:Pr,fn=hr(Qr);return Te==="combobox"&&j((Lr=fn[0])===null||Lr===void 0?void 0:Lr.value)?[]:fn},[Pr,hr,Te,Hr]),At=On(Lt,Qt),yn=(0,B.Z)(At,2),Qn=yn[0],vt=yn[1],vr=d.useMemo(function(){if(!Te&&Qn.length===1){var Lr=Qn[0];if(Lr.value===null&&(Lr.label===null||Lr.label===void 0))return[]}return Qn.map(function(Qr){var fn;return(0,_.Z)((0,_.Z)({},Qr),{},{label:(fn=typeof Bn=="function"?Bn(Qr):Qr.label)!==null&&fn!==void 0?fn:Qr.value})})},[Te,Qn,Bn]),Tn=d.useMemo(function(){return new Set(Qn.map(function(Lr){return Lr.value}))},[Qn]);d.useEffect(function(){if(Te==="combobox"){var Lr,Qr=(Lr=Qn[0])===null||Lr===void 0?void 0:Lr.value;An(K(Qr)?String(Qr):"")}},[Qn]);var Yt=T(function(Lr,Qr){var fn=Qr!=null?Qr:Lr;return(0,P.Z)((0,P.Z)({},Wr.value,Lr),Wr.label,fn)}),Vn=d.useMemo(function(){if(Te!=="tags")return zn;var Lr=(0,k.Z)(zn),Qr=function(kn){return Qt.has(kn)};return(0,k.Z)(Qn).sort(function(fn,kn){return fn.value<kn.value?-1:1}).forEach(function(fn){var kn=fn.value;Qr(kn)||Lr.push(Yt(kn,fn.label))}),Lr},[Yt,zn,Qt,Qn,Te]),yr=Wt(Vn,Wr,lr,kr,Sn),Kn=d.useMemo(function(){return Te!=="tags"||!lr||yr.some(function(Lr){return Lr[Sn||"value"]===lr})||yr.some(function(Lr){return Lr[Wr.value]===lr})?yr:[Yt(lr)].concat((0,k.Z)(yr))},[Yt,Sn,Te,yr,lr,Wr]),pr=function Lr(Qr){var fn=(0,k.Z)(Qr).sort(function(kn,Yn){return on(kn,Yn,{searchValue:lr})});return fn.map(function(kn){return Array.isArray(kn.options)?(0,_.Z)((0,_.Z)({},kn),{},{options:kn.options.length>0?Lr(kn.options):kn.options}):kn})},Rn=d.useMemo(function(){return on?pr(Kn):Kn},[Kn,on,lr]),wr=d.useMemo(function(){return oe(Rn,{fieldNames:Wr,childrenAsData:Rr})},[Rn,Wr,Rr]),mr=function(Qr){var fn=hr(Qr);if(et(fn),tr&&(fn.length!==Qn.length||fn.some(function(Br,jt){var Xr;return((Xr=Qn[jt])===null||Xr===void 0?void 0:Xr.value)!==(Br==null?void 0:Br.value)}))){var kn=nr?fn:fn.map(function(Br){return Br.value}),Yn=fn.map(function(Br){return ee(vt(Br.value))});tr(Hr?kn:kn[0],Hr?Yn:Yn[0])}},Gn=d.useState(null),br=(0,B.Z)(Gn,2),Ar=br[0],Ir=br[1],Jn=d.useState(0),Er=(0,B.Z)(Jn,2),ra=Er[0],Gr=Er[1],Dr=Pt!==void 0?Pt:Te!=="combobox",ur=d.useCallback(function(Lr,Qr){var fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kn=fn.source,Yn=kn===void 0?"keyboard":kn;Gr(Qr),he&&Te==="combobox"&&Lr!==null&&Yn==="keyboard"&&Ir(String(Lr))},[he,Te]),ca=function(Qr,fn,kn){var Yn=function(){var Jr,_a=vt(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,ee(_a)]};if(fn&&Se){var Br=Yn(),jt=(0,B.Z)(Br,2),Xr=jt[0],ya=jt[1];Se(Xr,ya)}else if(!fn&&ut&&kn!=="clear"){var oa=Yn(),Aa=(0,B.Z)(oa,2),Zn=Aa[0],na=Aa[1];ut(Zn,na)}},da=T(function(Lr,Qr){var fn,kn=Hr?Qr.selected:!0;kn?fn=Hr?[].concat((0,k.Z)(Qn),[Lr]):[Lr]:fn=Qn.filter(function(Yn){return Yn.value!==Lr}),mr(fn),ca(Lr,kn),Te==="combobox"?Ir(""):(!ht||Xe)&&(An(""),Ir(""))}),sa=function(Qr,fn){mr(Qr);var kn=fn.type,Yn=fn.values;(kn==="remove"||kn==="clear")&&Yn.forEach(function(Br){ca(Br.value,!1,kn)})},fa=function(Qr,fn){if(An(Qr),Ir(null),fn.source==="submit"){var kn=(Qr||"").trim();if(kn){var Yn=Array.from(new Set([].concat((0,k.Z)(Tn),[kn])));mr(Yn),ca(kn,!0),An("")}return}fn.source!=="blur"&&(Te==="combobox"&&mr(Qr),_e==null||_e(Qr))},$r=function(Qr){var fn=Qr;Te!=="tags"&&(fn=Qr.map(function(Yn){var Br=Xn.get(Yn);return Br==null?void 0:Br.value}).filter(function(Yn){return Yn!==void 0}));var kn=Array.from(new Set([].concat((0,k.Z)(Tn),(0,k.Z)(fn))));mr(kn),kn.forEach(function(Yn){ca(Yn,!0)})},Ea=d.useMemo(function(){var Lr=jn!==!1&&Tt!==!1;return(0,_.Z)((0,_.Z)({},Kt),{},{flattenOptions:wr,onActiveValue:ur,defaultActiveFirstOption:Dr,onSelect:da,menuItemSelectedIcon:wn,rawValues:Tn,fieldNames:Wr,virtual:Lr,direction:Cn,listHeight:er,listItemHeight:sr,childrenAsData:Rr,maxCount:qn,optionRender:dn})},[qn,Kt,wr,ur,Dr,da,wn,Tn,Wr,jn,Tt,Cn,er,sr,Rr,dn]);return d.createElement(re.Provider,{value:Ea},d.createElement($e,(0,h.Z)({},Mr,{id:St,prefixCls:Ke,ref:Re,omitDomProps:Ge,mode:Te,displayValues:vr,onDisplayValuesChange:sa,direction:Cn,searchValue:lr,onSearch:fa,autoClearSearchValue:Xe,onSearchSplit:$r,dropdownMatchSelectWidth:Tt,OptionList:tn,emptyOptions:!wr.length,activeValue:Ar,activeDescendantId:"".concat(St,"_list_").concat(ra)})))}),dt=_t;dt.Option=qe,dt.OptGroup=Ve;var Rt=dt,Gt=Rt},22711:function(Ln,gt,w){"use strict";w.r(gt),w.d(gt,{ResizableTextArea:function(){return M},default:function(){return N}});var h=w(54476),k=w(20068),P=w(33885),_=w(94480),B=w(42978),C=w(75931),p=w(92310),m=w.n(p),E=w(36901),d=w(66003),l=w(30292),o=w(18929),g=w(59301),r=w(76190),n=w(29301),a=w(34280),c=w(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"),G=parseFloat(K.getPropertyValue("padding-bottom"))+parseFloat(K.getPropertyValue("padding-top")),Y=parseFloat(K.getPropertyValue("border-bottom-width"))+parseFloat(K.getPropertyValue("border-top-width")),le=s.map(function(ve){return"".concat(ve,":").concat(K.getPropertyValue(ve))}).join(";"),Q={sizingStyle:le,paddingSize:G,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),G=j.paddingSize,Y=j.borderSize,le=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,be,De=e.scrollHeight;if(le==="border-box"?De+=Y:le==="content-box"&&(De-=G),F!==null||K!==null){e.value=" ";var Ue=e.scrollHeight-G;F!==null&&(ve=Ue*F,le==="border-box"&&(ve=ve+G+Y),De=Math.max(ve,De)),K!==null&&(xe=Ue*K,le==="border-box"&&(xe=xe+G+Y),be=De>xe?"":"hidden",De=Math.min(xe,De))}var we={height:De,overflowY:be,resize:"none"};return ve&&(we.minHeight=ve),xe&&(we.maxHeight=xe),we}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,G=F.value,Y=F.autoSize,le=F.onResize,Q=F.className,ve=F.style,xe=F.disabled,be=F.onChange,De=F.onInternalAutoSize,Ue=(0,C.Z)(F,f),we=(0,o.Z)(j,{value:G,postState:function(qe){return qe!=null?qe:""}}),Ye=(0,B.Z)(we,2),Be=Ye[0],ge=Ye[1],He=function(qe){ge(qe.target.value),be==null||be(qe)},Fe=g.useRef();g.useImperativeHandle(U,function(){return{textArea:Fe.current}});var Pe=g.useMemo(function(){return Y&&(0,r.Z)(Y)==="object"?[Y.minRows,Y.maxRows]:[]},[Y]),We=(0,B.Z)(Pe,2),Ne=We[0],V=We[1],q=!!Y,ae=function(){try{if(document.activeElement===Fe.current){var qe=Fe.current,it=qe.selectionStart,Et=qe.selectionEnd,xt=qe.scrollTop;Fe.current.setSelectionRange(it,Et),Fe.current.scrollTop=xt}}catch(un){}},te=g.useState(x),oe=(0,B.Z)(te,2),ee=oe[0],fe=oe[1],Ce=g.useState(),re=(0,B.Z)(Ce,2),ce=re[0],lt=re[1],Qe=function(){fe(y)};(0,a.Z)(function(){q&&Qe()},[G,Ne,V,q]),(0,a.Z)(function(){if(ee===y)fe(b);else if(ee===b){var Me=i(Fe.current,!1,Ne,V);fe(x),lt(Me)}else ae()},[ee]);var ht=g.useRef(),pt=function(){c.Z.cancel(ht.current)},$e=function(qe){ee===x&&(le==null||le(qe),Y&&(pt(),ht.current=(0,c.Z)(function(){Qe()})))};g.useEffect(function(){return pt},[]);var mt=q?ce:null,Ve=(0,P.Z)((0,P.Z)({},ve),mt);return(ee===y||ee===b)&&(Ve.overflowY="hidden",Ve.overflowX="hidden"),g.createElement(n.Z,{onResize:$e,disabled:!(Y||le)},g.createElement("textarea",(0,h.Z)({},Ue,{ref:Fe,style:Ve,className:m()(K,Q,(0,k.Z)({},"".concat(K,"-disabled"),xe)),disabled:xe,value:Be,onChange:He})))}),M=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"],O=g.forwardRef(function(I,U){var F,K=I.defaultValue,j=I.value,G=I.onFocus,Y=I.onBlur,le=I.onChange,Q=I.allowClear,ve=I.maxLength,xe=I.onCompositionStart,be=I.onCompositionEnd,De=I.suffix,Ue=I.prefixCls,we=Ue===void 0?"rc-textarea":Ue,Ye=I.showCount,Be=I.count,ge=I.className,He=I.style,Fe=I.disabled,Pe=I.hidden,We=I.classNames,Ne=I.styles,V=I.onResize,q=I.onClear,ae=I.onPressEnter,te=I.readOnly,oe=I.autoSize,ee=I.onKeyDown,fe=(0,C.Z)(I,L),Ce=(0,o.Z)(K,{value:j,defaultValue:K}),re=(0,B.Z)(Ce,2),ce=re[0],lt=re[1],Qe=ce==null?"":String(ce),ht=g.useState(!1),pt=(0,B.Z)(ht,2),$e=pt[0],mt=pt[1],Ve=g.useRef(!1),Me=g.useState(null),qe=(0,B.Z)(Me,2),it=qe[0],Et=qe[1],xt=(0,g.useRef)(null),un=(0,g.useRef)(null),Jt=function(){var dt;return(dt=un.current)===null||dt===void 0?void 0:dt.textArea},Bt=function(){Jt().focus()};(0,g.useImperativeHandle)(U,function(){var _t;return{resizableTextArea:un.current,focus:Bt,blur:function(){Jt().blur()},nativeElement:((_t=xt.current)===null||_t===void 0?void 0:_t.nativeElement)||Jt()}}),(0,g.useEffect)(function(){mt(function(_t){return!Fe&&_t})},[Fe]);var hn=g.useState(null),Nn=(0,B.Z)(hn,2),tn=Nn[0],On=Nn[1];g.useEffect(function(){if(tn){var _t;(_t=Jt()).setSelectionRange.apply(_t,(0,_.Z)(tn))}},[tn]);var qt=(0,d.Z)(Be,Ye),Wt=(F=qt.max)!==null&&F!==void 0?F:ve,Zt=Number(Wt)>0,rn=qt.strategy(Qe),xn=!!Wt&&rn>Wt,Dn=function(dt,Rt){var Gt=Rt;!Ve.current&&qt.exceedFormatter&&qt.max&&qt.strategy(Rt)>qt.max&&(Gt=qt.exceedFormatter(Rt,{max:qt.max}),Rt!==Gt&&On([Jt().selectionStart||0,Jt().selectionEnd||0])),lt(Gt),(0,l.rJ)(dt.currentTarget,dt,le,Gt)},Pn=function(dt){Ve.current=!0,xe==null||xe(dt)},Nt=function(dt){Ve.current=!1,Dn(dt,dt.currentTarget.value),be==null||be(dt)},Ht=function(dt){Dn(dt,dt.target.value)},rt=function(dt){dt.key==="Enter"&&ae&&ae(dt),ee==null||ee(dt)},T=function(dt){mt(!0),G==null||G(dt)},z=function(dt){mt(!1),Y==null||Y(dt)},Z=function(dt){lt(""),Bt(),(0,l.rJ)(Jt(),dt,le)},$=De,se;qt.show&&(qt.showFormatter?se=qt.showFormatter({value:Qe,count:rn,maxLength:Wt}):se="".concat(rn).concat(Zt?" / ".concat(Wt):""),$=g.createElement(g.Fragment,null,$,g.createElement("span",{className:m()("".concat(we,"-data-count"),We==null?void 0:We.count),style:Ne==null?void 0:Ne.count},se)));var Ge=function(dt){var Rt;V==null||V(dt),(Rt=Jt())!==null&&Rt!==void 0&&Rt.style.height&&Et(!0)},at=!oe&&!Ye&&!Q;return g.createElement(E.BaseInput,{ref:xt,value:Qe,allowClear:Q,handleReset:Z,suffix:$,prefixCls:we,classNames:(0,P.Z)((0,P.Z)({},We),{},{affixWrapper:m()(We==null?void 0:We.affixWrapper,(0,k.Z)((0,k.Z)({},"".concat(we,"-show-count"),Ye),"".concat(we,"-textarea-allow-clear"),Q))}),disabled:Fe,focused:$e,className:m()(ge,xn&&"".concat(we,"-out-of-range")),style:(0,P.Z)((0,P.Z)({},He),it&&!at?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof se=="string"?se:void 0}},hidden:Pe,readOnly:te,onClear:q},g.createElement(M,(0,h.Z)({},fe,{autoSize:oe,maxLength:ve,onKeyDown:rt,onChange:Ht,onFocus:T,onBlur:z,onCompositionStart:Pn,onCompositionEnd:Nt,className:m()(We==null?void 0:We.textarea),style:(0,P.Z)((0,P.Z)({},Ne==null?void 0:Ne.textarea),{},{resize:He==null?void 0:He.resize}),disabled:Fe,prefixCls:we,onResize:Ge,ref:un,readOnly:te})))}),D=O,N=D},639:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return v}});var h=w(54476),k=w(20068),P=w(33885),_=w(42978),B=w(75931),C=w(59301),p=w(92310),m=w.n(p),E=w(26112),d=w(30699),l=function(t){for(var i=t.prefixCls,f=t.level,y=t.isStart,b=t.isEnd,x="".concat(i,"-indent-unit"),A=[],M=0;M<f;M+=1)A.push(C.createElement("span",{key:M,className:m()(x,(0,k.Z)((0,k.Z)({},"".concat(x,"-start"),y[M]),"".concat(x,"-end"),b[M]))}));return C.createElement("span",{"aria-hidden":"true",className:"".concat(i,"-indent")},A)},o=C.memo(l),g=w(65065),r=w(34061),n=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],a="open",c="close",u="---",s=function(t){var i,f,y,b=t.eventKey,x=t.className,A=t.style,M=t.dragOver,L=t.dragOverGapTop,O=t.dragOverGapBottom,D=t.isLeaf,N=t.isStart,I=t.isEnd,U=t.expanded,F=t.selected,K=t.checked,j=t.halfChecked,G=t.loading,Y=t.domRef,le=t.active,Q=t.data,ve=t.onMouseMove,xe=t.selectable,be=(0,B.Z)(t,n),De=C.useContext(d.k),Ue=C.useContext(d.y),we=C.useRef(null),Ye=C.useState(!1),Be=(0,_.Z)(Ye,2),ge=Be[0],He=Be[1],Fe=!!(De.disabled||t.disabled||(i=Ue.nodeDisabled)!==null&&i!==void 0&&i.call(Ue,Q)),Pe=C.useMemo(function(){return!De.checkable||t.checkable===!1?!1:De.checkable},[De.checkable,t.checkable]),We=function(rn){Fe||De.onNodeSelect(rn,(0,r.F)(t))},Ne=function(rn){Fe||!Pe||t.disableCheckbox||De.onNodeCheck(rn,(0,r.F)(t),!K)},V=C.useMemo(function(){return typeof xe=="boolean"?xe:De.selectable},[xe,De.selectable]),q=function(rn){De.onNodeClick(rn,(0,r.F)(t)),V?We(rn):Ne(rn)},ae=function(rn){De.onNodeDoubleClick(rn,(0,r.F)(t))},te=function(rn){De.onNodeMouseEnter(rn,(0,r.F)(t))},oe=function(rn){De.onNodeMouseLeave(rn,(0,r.F)(t))},ee=function(rn){De.onNodeContextMenu(rn,(0,r.F)(t))},fe=C.useMemo(function(){return!!(De.draggable&&(!De.draggable.nodeDraggable||De.draggable.nodeDraggable(Q)))},[De.draggable,Q]),Ce=function(rn){rn.stopPropagation(),He(!0),De.onNodeDragStart(rn,t);try{rn.dataTransfer.setData("text/plain","")}catch(xn){}},re=function(rn){rn.preventDefault(),rn.stopPropagation(),De.onNodeDragEnter(rn,t)},ce=function(rn){rn.preventDefault(),rn.stopPropagation(),De.onNodeDragOver(rn,t)},lt=function(rn){rn.stopPropagation(),De.onNodeDragLeave(rn,t)},Qe=function(rn){rn.stopPropagation(),He(!1),De.onNodeDragEnd(rn,t)},ht=function(rn){rn.preventDefault(),rn.stopPropagation(),He(!1),De.onNodeDrop(rn,t)},pt=function(rn){G||De.onNodeExpand(rn,(0,r.F)(t))},$e=C.useMemo(function(){var Zt=(0,g.Z)(De.keyEntities,b)||{},rn=Zt.children;return!!(rn||[]).length},[De.keyEntities,b]),mt=C.useMemo(function(){return D===!1?!1:D||!De.loadData&&!$e||De.loadData&&t.loaded&&!$e},[D,De.loadData,$e,t.loaded]);C.useEffect(function(){G||typeof De.loadData=="function"&&U&&!mt&&!t.loaded&&De.onNodeLoad((0,r.F)(t))},[G,De.loadData,De.onNodeLoad,U,mt,t]);var Ve=C.useMemo(function(){var Zt;return(Zt=De.draggable)!==null&&Zt!==void 0&&Zt.icon?C.createElement("span",{className:"".concat(De.prefixCls,"-draggable-icon")},De.draggable.icon):null},[De.draggable]),Me=function(rn){var xn=t.switcherIcon||De.switcherIcon;return typeof xn=="function"?xn((0,P.Z)((0,P.Z)({},t),{},{isLeaf:rn})):xn},qe=function(){if(mt){var rn=Me(!0);return rn!==!1?C.createElement("span",{className:m()("".concat(De.prefixCls,"-switcher"),"".concat(De.prefixCls,"-switcher-noop"))},rn):null}var xn=Me(!1);return xn!==!1?C.createElement("span",{onClick:pt,className:m()("".concat(De.prefixCls,"-switcher"),"".concat(De.prefixCls,"-switcher_").concat(U?a:c))},xn):null},it=C.useMemo(function(){if(!Pe)return null;var Zt=typeof Pe!="boolean"?Pe:null;return C.createElement("span",{className:m()("".concat(De.prefixCls,"-checkbox"),(0,k.Z)((0,k.Z)((0,k.Z)({},"".concat(De.prefixCls,"-checkbox-checked"),K),"".concat(De.prefixCls,"-checkbox-indeterminate"),!K&&j),"".concat(De.prefixCls,"-checkbox-disabled"),Fe||t.disableCheckbox)),onClick:Ne,role:"checkbox","aria-checked":j?"mixed":K,"aria-disabled":Fe||t.disableCheckbox,"aria-label":"Select ".concat(typeof t.title=="string"?t.title:"tree node")},Zt)},[Pe,K,j,Fe,t.disableCheckbox,t.title]),Et=C.useMemo(function(){return mt?null:U?a:c},[mt,U]),xt=C.useMemo(function(){return C.createElement("span",{className:m()("".concat(De.prefixCls,"-iconEle"),"".concat(De.prefixCls,"-icon__").concat(Et||"docu"),(0,k.Z)({},"".concat(De.prefixCls,"-icon_loading"),G))})},[De.prefixCls,Et,G]),un=C.useMemo(function(){var Zt=!!De.draggable,rn=!t.disabled&&Zt&&De.dragOverNodeKey===b;return rn?De.dropIndicatorRender({dropPosition:De.dropPosition,dropLevelOffset:De.dropLevelOffset,indent:De.indent,prefixCls:De.prefixCls,direction:De.direction}):null},[De.dropPosition,De.dropLevelOffset,De.indent,De.prefixCls,De.direction,De.draggable,De.dragOverNodeKey,De.dropIndicatorRender]),Jt=C.useMemo(function(){var Zt=t.title,rn=Zt===void 0?u:Zt,xn="".concat(De.prefixCls,"-node-content-wrapper"),Dn;if(De.showIcon){var Pn=t.icon||De.icon;Dn=Pn?C.createElement("span",{className:m()("".concat(De.prefixCls,"-iconEle"),"".concat(De.prefixCls,"-icon__customize"))},typeof Pn=="function"?Pn(t):Pn):xt}else De.loadData&&G&&(Dn=xt);var Nt;return typeof rn=="function"?Nt=rn(Q):De.titleRender?Nt=De.titleRender(Q):Nt=rn,C.createElement("span",{ref:we,title:typeof rn=="string"?rn:"",className:m()(xn,"".concat(xn,"-").concat(Et||"normal"),(0,k.Z)({},"".concat(De.prefixCls,"-node-selected"),!Fe&&(F||ge))),onMouseEnter:te,onMouseLeave:oe,onContextMenu:ee,onClick:q,onDoubleClick:ae},Dn,C.createElement("span",{className:"".concat(De.prefixCls,"-title")},Nt),un)},[De.prefixCls,De.showIcon,t,De.icon,xt,De.titleRender,Q,Et,te,oe,ee,q,ae]),Bt=(0,E.Z)(be,{aria:!0,data:!0}),hn=(0,g.Z)(De.keyEntities,b)||{},Nn=hn.level,tn=I[I.length-1],On=!Fe&&fe,qt=De.draggingNodeKey===b,Wt=xe!==void 0?{"aria-selected":!!xe}:void 0;return C.createElement("div",(0,h.Z)({ref:Y,role:"treeitem","aria-expanded":D?void 0:U,className:m()(x,"".concat(De.prefixCls,"-treenode"),(y={},(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)(y,"".concat(De.prefixCls,"-treenode-disabled"),Fe),"".concat(De.prefixCls,"-treenode-switcher-").concat(U?"open":"close"),!D),"".concat(De.prefixCls,"-treenode-checkbox-checked"),K),"".concat(De.prefixCls,"-treenode-checkbox-indeterminate"),j),"".concat(De.prefixCls,"-treenode-selected"),F),"".concat(De.prefixCls,"-treenode-loading"),G),"".concat(De.prefixCls,"-treenode-active"),le),"".concat(De.prefixCls,"-treenode-leaf-last"),tn),"".concat(De.prefixCls,"-treenode-draggable"),fe),"dragging",qt),(0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)((0,k.Z)(y,"drop-target",De.dropTargetKey===b),"drop-container",De.dropContainerKey===b),"drag-over",!Fe&&M),"drag-over-gap-top",!Fe&&L),"drag-over-gap-bottom",!Fe&&O),"filter-node",(f=De.filterTreeNode)===null||f===void 0?void 0:f.call(De,(0,r.F)(t))),"".concat(De.prefixCls,"-treenode-leaf"),mt))),style:A,draggable:On,onDragStart:On?Ce:void 0,onDragEnter:fe?re:void 0,onDragOver:fe?ce:void 0,onDragLeave:fe?lt:void 0,onDrop:fe?ht:void 0,onDragEnd:fe?Qe:void 0,onMouseMove:ve},Wt,Bt),C.createElement(o,{prefixCls:De.prefixCls,level:Nn,isStart:N,isEnd:I}),Ve,qe(),it,Jt)};s.isTreeNode=1;var v=s},30699:function(Ln,gt,w){"use strict";w.d(gt,{k:function(){return k},y:function(){return P}});var h=w(59301),k=h.createContext(null),P=h.createContext({})},3741:function(Ln,gt,w){"use strict";w.d(gt,{OF:function(){return b.Z},y6:function(){return c.y},ZP:function(){return Fe}});var h=w(54476),k=w(76190),P=w(33885),_=w(94480),B=w(67732),C=w(83652),p=w(31226),m=w(42403),E=w(158),d=w(20068),l=w(92310),o=w.n(l),g=w(10228),r=w(26112),n=w(48736),a=w(59301),c=w(30699),u=function(We){var Ne=We.dropPosition,V=We.dropLevelOffset,q=We.indent,ae={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ne){case-1:ae.top=0,ae.left=-V*q;break;case 1:ae.bottom=0,ae.left=-V*q;break;case 0:ae.bottom=0,ae.left=q;break}return a.createElement("div",{style:ae})},s=u;function v(Pe){if(Pe==null)throw new TypeError("Cannot destructure "+Pe)}var e=w(42978),t=w(75931),i=w(34280),f=w(48911),y=w(77900),b=w(639);function x(Pe,We){var Ne=a.useState(!1),V=(0,e.Z)(Ne,2),q=V[0],ae=V[1];(0,i.Z)(function(){if(q)return Pe(),function(){We()}},[q]),(0,i.Z)(function(){return ae(!0),function(){ae(!1)}},[])}var A=x,M=w(34061),L=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],O=a.forwardRef(function(Pe,We){var Ne=Pe.className,V=Pe.style,q=Pe.motion,ae=Pe.motionNodes,te=Pe.motionType,oe=Pe.onMotionStart,ee=Pe.onMotionEnd,fe=Pe.active,Ce=Pe.treeNodeRequiredProps,re=(0,t.Z)(Pe,L),ce=a.useState(!0),lt=(0,e.Z)(ce,2),Qe=lt[0],ht=lt[1],pt=a.useContext(c.k),$e=pt.prefixCls,mt=ae&&te!=="hide";(0,i.Z)(function(){ae&&mt!==Qe&&ht(mt)},[ae]);var Ve=function(){ae&&oe()},Me=a.useRef(!1),qe=function(){ae&&!Me.current&&(Me.current=!0,ee())};A(Ve,qe);var it=function(xt){mt===xt&&qe()};return ae?a.createElement(y.default,(0,h.Z)({ref:We,visible:Qe},q,{motionAppear:te==="show",onVisibleChanged:it}),function(Et,xt){var un=Et.className,Jt=Et.style;return a.createElement("div",{ref:xt,className:o()("".concat($e,"-treenode-motion"),un),style:Jt},ae.map(function(Bt){var hn=Object.assign({},(v(Bt.data),Bt.data)),Nn=Bt.title,tn=Bt.key,On=Bt.isStart,qt=Bt.isEnd;delete hn.children;var Wt=(0,M.H8)(tn,Ce);return a.createElement(b.Z,(0,h.Z)({},hn,Wt,{title:Nn,active:fe,data:Bt.data,key:tn,isStart:On,isEnd:qt}))}))}):a.createElement(b.Z,(0,h.Z)({domRef:We,className:Ne,style:V},re,{active:fe}))}),D=O;function N(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ne=Pe.length,V=We.length;if(Math.abs(Ne-V)!==1)return{add:!1,key:null};function q(ae,te){var oe=new Map;ae.forEach(function(fe){oe.set(fe,!0)});var ee=te.filter(function(fe){return!oe.has(fe)});return ee.length===1?ee[0]:null}return Ne<V?{add:!0,key:q(Pe,We)}:{add:!1,key:q(We,Pe)}}function I(Pe,We,Ne){var V=Pe.findIndex(function(oe){return oe.key===Ne}),q=Pe[V+1],ae=We.findIndex(function(oe){return oe.key===Ne});if(q){var te=We.findIndex(function(oe){return oe.key===q.key});return We.slice(ae+1,te)}return We.slice(ae+1)}var U=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],F={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},K=function(){},j="RC_TREE_MOTION_".concat(Math.random()),G={key:j},Y={key:j,level:0,index:0,pos:"0",node:G,nodes:[G]},le={parent:null,children:[],pos:Y.pos,data:G,title:null,key:j,isStart:[],isEnd:[]};function Q(Pe,We,Ne,V){return We===!1||!Ne?Pe:Pe.slice(0,Math.ceil(Ne/V)+1)}function ve(Pe){var We=Pe.key,Ne=Pe.pos;return(0,M.km)(We,Ne)}function xe(Pe){for(var We=String(Pe.data.key),Ne=Pe;Ne.parent;)Ne=Ne.parent,We="".concat(Ne.data.key," > ").concat(We);return We}var be=a.forwardRef(function(Pe,We){var Ne=Pe.prefixCls,V=Pe.data,q=Pe.selectable,ae=Pe.checkable,te=Pe.expandedKeys,oe=Pe.selectedKeys,ee=Pe.checkedKeys,fe=Pe.loadedKeys,Ce=Pe.loadingKeys,re=Pe.halfCheckedKeys,ce=Pe.keyEntities,lt=Pe.disabled,Qe=Pe.dragging,ht=Pe.dragOverNodeKey,pt=Pe.dropPosition,$e=Pe.motion,mt=Pe.height,Ve=Pe.itemHeight,Me=Pe.virtual,qe=Pe.scrollWidth,it=Pe.focusable,Et=Pe.activeItem,xt=Pe.focused,un=Pe.tabIndex,Jt=Pe.onKeyDown,Bt=Pe.onFocus,hn=Pe.onBlur,Nn=Pe.onActiveChange,tn=Pe.onListChangeStart,On=Pe.onListChangeEnd,qt=(0,t.Z)(Pe,U),Wt=a.useRef(null),Zt=a.useRef(null);a.useImperativeHandle(We,function(){return{scrollTo:function(Ze){Wt.current.scrollTo(Ze)},getIndentWidth:function(){return Zt.current.offsetWidth}}});var rn=a.useState(te),xn=(0,e.Z)(rn,2),Dn=xn[0],Pn=xn[1],Nt=a.useState(V),Ht=(0,e.Z)(Nt,2),rt=Ht[0],T=Ht[1],z=a.useState(V),Z=(0,e.Z)(z,2),$=Z[0],se=Z[1],Ge=a.useState([]),at=(0,e.Z)(Ge,2),_t=at[0],dt=at[1],Rt=a.useState(null),Gt=(0,e.Z)(Rt,2),ze=Gt[0],Re=Gt[1],ye=a.useRef(V);ye.current=V;function Te(){var he=ye.current;T(he),se(he),dt([]),Re(null),On()}(0,i.Z)(function(){Pn(te);var he=N(Dn,te);if(he.key!==null)if(he.add){var Ze=rt.findIndex(function(Se){var ut=Se.key;return ut===he.key}),tt=Q(I(rt,V,he.key),Me,mt,Ve),me=rt.slice();me.splice(Ze+1,0,le),se(me),dt(tt),Re("show")}else{var _e=V.findIndex(function(Se){var ut=Se.key;return ut===he.key}),Ee=Q(I(V,rt,he.key),Me,mt,Ve),Xe=V.slice();Xe.splice(_e+1,0,le),se(Xe),dt(Ee),Re("hide")}else rt!==V&&(T(V),se(V))},[te,V]),a.useEffect(function(){Qe||Te()},[Qe]);var Ie=$e?$:V,Ke={expandedKeys:te,selectedKeys:oe,loadedKeys:fe,loadingKeys:Ce,checkedKeys:ee,halfCheckedKeys:re,dragOverNodeKey:ht,dropPosition:pt,keyEntities:ce};return a.createElement(a.Fragment,null,xt&&Et&&a.createElement("span",{style:F,"aria-live":"assertive"},xe(Et)),a.createElement("div",null,a.createElement("input",{style:F,disabled:it===!1||lt,tabIndex:it!==!1?un:null,onKeyDown:Jt,onFocus:Bt,onBlur:hn,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:Zt,className:"".concat(Ne,"-indent-unit")}))),a.createElement(f.Z,(0,h.Z)({},qt,{data:Ie,itemKey:ve,height:mt,fullHeight:!1,virtual:Me,itemHeight:Ve,scrollWidth:qe,prefixCls:"".concat(Ne,"-list"),ref:Wt,role:"tree",onVisibleChange:function(Ze){Ze.every(function(tt){return ve(tt)!==j})&&Te()}}),function(he){var Ze=he.pos,tt=Object.assign({},(v(he.data),he.data)),me=he.title,_e=he.key,Ee=he.isStart,Xe=he.isEnd,Se=(0,M.km)(_e,Ze);delete tt.key,delete tt.children;var ut=(0,M.H8)(Se,Ke);return a.createElement(D,(0,h.Z)({},tt,ut,{title:me,active:!!Et&&_e===Et.key,pos:Ze,data:he.data,isStart:Ee,isEnd:Xe,motion:$e,motionNodes:_e===j?_t:null,motionType:ze,onMotionStart:tn,onMotionEnd:Te,treeNodeRequiredProps:Ke,onMouseMove:function(){Nn(null)}}))}))}),De=be,Ue=w(82661),we=w(34643),Ye=w(65065),Be=10,ge=function(Pe){(0,m.Z)(Ne,Pe);var We=(0,E.Z)(Ne);function Ne(){var V;(0,B.Z)(this,Ne);for(var q=arguments.length,ae=new Array(q),te=0;te<q;te++)ae[te]=arguments[te];return V=We.call.apply(We,[this].concat(ae)),(0,d.Z)((0,p.Z)(V),"destroyed",!1),(0,d.Z)((0,p.Z)(V),"delayedDragEnterLogic",void 0),(0,d.Z)((0,p.Z)(V),"loadingRetryTimes",{}),(0,d.Z)((0,p.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,M.w$)()}),(0,d.Z)((0,p.Z)(V),"dragStartMousePosition",null),(0,d.Z)((0,p.Z)(V),"dragNodeProps",null),(0,d.Z)((0,p.Z)(V),"currentMouseOverDroppableNodeKey",null),(0,d.Z)((0,p.Z)(V),"listRef",a.createRef()),(0,d.Z)((0,p.Z)(V),"onNodeDragStart",function(oe,ee){var fe=V.state,Ce=fe.expandedKeys,re=fe.keyEntities,ce=V.props.onDragStart,lt=ee.eventKey;V.dragNodeProps=ee,V.dragStartMousePosition={x:oe.clientX,y:oe.clientY};var Qe=(0,Ue._5)(Ce,lt);V.setState({draggingNodeKey:lt,dragChildrenKeys:(0,Ue.wA)(lt,re),indent:V.listRef.current.getIndentWidth()}),V.setExpandedKeys(Qe),window.addEventListener("dragend",V.onWindowDragEnd),ce==null||ce({event:oe,node:(0,M.F)(ee)})}),(0,d.Z)((0,p.Z)(V),"onNodeDragEnter",function(oe,ee){var fe=V.state,Ce=fe.expandedKeys,re=fe.keyEntities,ce=fe.dragChildrenKeys,lt=fe.flattenNodes,Qe=fe.indent,ht=V.props,pt=ht.onDragEnter,$e=ht.onExpand,mt=ht.allowDrop,Ve=ht.direction,Me=ee.pos,qe=ee.eventKey;if(V.currentMouseOverDroppableNodeKey!==qe&&(V.currentMouseOverDroppableNodeKey=qe),!V.dragNodeProps){V.resetDragState();return}var it=(0,Ue.OM)(oe,V.dragNodeProps,ee,Qe,V.dragStartMousePosition,mt,lt,re,Ce,Ve),Et=it.dropPosition,xt=it.dropLevelOffset,un=it.dropTargetKey,Jt=it.dropContainerKey,Bt=it.dropTargetPos,hn=it.dropAllowed,Nn=it.dragOverNodeKey;if(ce.includes(un)||!hn){V.resetDragState();return}if(V.delayedDragEnterLogic||(V.delayedDragEnterLogic={}),Object.keys(V.delayedDragEnterLogic).forEach(function(tn){clearTimeout(V.delayedDragEnterLogic[tn])}),V.dragNodeProps.eventKey!==ee.eventKey&&(oe.persist(),V.delayedDragEnterLogic[Me]=window.setTimeout(function(){if(V.state.draggingNodeKey!==null){var tn=(0,_.Z)(Ce),On=(0,Ye.Z)(re,ee.eventKey);On&&(On.children||[]).length&&(tn=(0,Ue.L0)(Ce,ee.eventKey)),V.props.hasOwnProperty("expandedKeys")||V.setExpandedKeys(tn),$e==null||$e(tn,{node:(0,M.F)(ee),expanded:!0,nativeEvent:oe.nativeEvent})}},800)),V.dragNodeProps.eventKey===un&&xt===0){V.resetDragState();return}V.setState({dragOverNodeKey:Nn,dropPosition:Et,dropLevelOffset:xt,dropTargetKey:un,dropContainerKey:Jt,dropTargetPos:Bt,dropAllowed:hn}),pt==null||pt({event:oe,node:(0,M.F)(ee),expandedKeys:Ce})}),(0,d.Z)((0,p.Z)(V),"onNodeDragOver",function(oe,ee){var fe=V.state,Ce=fe.dragChildrenKeys,re=fe.flattenNodes,ce=fe.keyEntities,lt=fe.expandedKeys,Qe=fe.indent,ht=V.props,pt=ht.onDragOver,$e=ht.allowDrop,mt=ht.direction;if(V.dragNodeProps){var Ve=(0,Ue.OM)(oe,V.dragNodeProps,ee,Qe,V.dragStartMousePosition,$e,re,ce,lt,mt),Me=Ve.dropPosition,qe=Ve.dropLevelOffset,it=Ve.dropTargetKey,Et=Ve.dropContainerKey,xt=Ve.dropTargetPos,un=Ve.dropAllowed,Jt=Ve.dragOverNodeKey;Ce.includes(it)||!un||(V.dragNodeProps.eventKey===it&&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():Me===V.state.dropPosition&&qe===V.state.dropLevelOffset&&it===V.state.dropTargetKey&&Et===V.state.dropContainerKey&&xt===V.state.dropTargetPos&&un===V.state.dropAllowed&&Jt===V.state.dragOverNodeKey||V.setState({dropPosition:Me,dropLevelOffset:qe,dropTargetKey:it,dropContainerKey:Et,dropTargetPos:xt,dropAllowed:un,dragOverNodeKey:Jt}),pt==null||pt({event:oe,node:(0,M.F)(ee)}))}}),(0,d.Z)((0,p.Z)(V),"onNodeDragLeave",function(oe,ee){V.currentMouseOverDroppableNodeKey===ee.eventKey&&!oe.currentTarget.contains(oe.relatedTarget)&&(V.resetDragState(),V.currentMouseOverDroppableNodeKey=null);var fe=V.props.onDragLeave;fe==null||fe({event:oe,node:(0,M.F)(ee)})}),(0,d.Z)((0,p.Z)(V),"onWindowDragEnd",function(oe){V.onNodeDragEnd(oe,null,!0),window.removeEventListener("dragend",V.onWindowDragEnd)}),(0,d.Z)((0,p.Z)(V),"onNodeDragEnd",function(oe,ee){var fe=V.props.onDragEnd;V.setState({dragOverNodeKey:null}),V.cleanDragState(),fe==null||fe({event:oe,node:(0,M.F)(ee)}),V.dragNodeProps=null,window.removeEventListener("dragend",V.onWindowDragEnd)}),(0,d.Z)((0,p.Z)(V),"onNodeDrop",function(oe,ee){var fe,Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,re=V.state,ce=re.dragChildrenKeys,lt=re.dropPosition,Qe=re.dropTargetKey,ht=re.dropTargetPos,pt=re.dropAllowed;if(pt){var $e=V.props.onDrop;if(V.setState({dragOverNodeKey:null}),V.cleanDragState(),Qe!==null){var mt=(0,P.Z)((0,P.Z)({},(0,M.H8)(Qe,V.getTreeNodeRequiredProps())),{},{active:((fe=V.getActiveItem())===null||fe===void 0?void 0:fe.key)===Qe,data:(0,Ye.Z)(V.state.keyEntities,Qe).node}),Ve=ce.includes(Qe);(0,n.ZP)(!Ve,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Me=(0,Ue.yx)(ht),qe={event:oe,node:(0,M.F)(mt),dragNode:V.dragNodeProps?(0,M.F)(V.dragNodeProps):null,dragNodesKeys:[V.dragNodeProps.eventKey].concat(ce),dropToGap:lt!==0,dropPosition:lt+Number(Me[Me.length-1])};Ce||$e==null||$e(qe),V.dragNodeProps=null}}}),(0,d.Z)((0,p.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,p.Z)(V),"triggerExpandActionExpand",function(oe,ee){var fe=V.state,Ce=fe.expandedKeys,re=fe.flattenNodes,ce=ee.expanded,lt=ee.key,Qe=ee.isLeaf;if(!(Qe||oe.shiftKey||oe.metaKey||oe.ctrlKey)){var ht=re.filter(function($e){return $e.key===lt})[0],pt=(0,M.F)((0,P.Z)((0,P.Z)({},(0,M.H8)(lt,V.getTreeNodeRequiredProps())),{},{data:ht.data}));V.setExpandedKeys(ce?(0,Ue._5)(Ce,lt):(0,Ue.L0)(Ce,lt)),V.onNodeExpand(oe,pt)}}),(0,d.Z)((0,p.Z)(V),"onNodeClick",function(oe,ee){var fe=V.props,Ce=fe.onClick,re=fe.expandAction;re==="click"&&V.triggerExpandActionExpand(oe,ee),Ce==null||Ce(oe,ee)}),(0,d.Z)((0,p.Z)(V),"onNodeDoubleClick",function(oe,ee){var fe=V.props,Ce=fe.onDoubleClick,re=fe.expandAction;re==="doubleClick"&&V.triggerExpandActionExpand(oe,ee),Ce==null||Ce(oe,ee)}),(0,d.Z)((0,p.Z)(V),"onNodeSelect",function(oe,ee){var fe=V.state.selectedKeys,Ce=V.state,re=Ce.keyEntities,ce=Ce.fieldNames,lt=V.props,Qe=lt.onSelect,ht=lt.multiple,pt=ee.selected,$e=ee[ce.key],mt=!pt;mt?ht?fe=(0,Ue.L0)(fe,$e):fe=[$e]:fe=(0,Ue._5)(fe,$e);var Ve=fe.map(function(Me){var qe=(0,Ye.Z)(re,Me);return qe?qe.node:null}).filter(Boolean);V.setUncontrolledState({selectedKeys:fe}),Qe==null||Qe(fe,{event:"select",selected:mt,node:ee,selectedNodes:Ve,nativeEvent:oe.nativeEvent})}),(0,d.Z)((0,p.Z)(V),"onNodeCheck",function(oe,ee,fe){var Ce=V.state,re=Ce.keyEntities,ce=Ce.checkedKeys,lt=Ce.halfCheckedKeys,Qe=V.props,ht=Qe.checkStrictly,pt=Qe.onCheck,$e=ee.key,mt,Ve={event:"check",node:ee,checked:fe,nativeEvent:oe.nativeEvent};if(ht){var Me=fe?(0,Ue.L0)(ce,$e):(0,Ue._5)(ce,$e),qe=(0,Ue._5)(lt,$e);mt={checked:Me,halfChecked:qe},Ve.checkedNodes=Me.map(function(Bt){return(0,Ye.Z)(re,Bt)}).filter(Boolean).map(function(Bt){return Bt.node}),V.setUncontrolledState({checkedKeys:Me})}else{var it=(0,we.S)([].concat((0,_.Z)(ce),[$e]),!0,re),Et=it.checkedKeys,xt=it.halfCheckedKeys;if(!fe){var un=new Set(Et);un.delete($e);var Jt=(0,we.S)(Array.from(un),{checked:!1,halfCheckedKeys:xt},re);Et=Jt.checkedKeys,xt=Jt.halfCheckedKeys}mt=Et,Ve.checkedNodes=[],Ve.checkedNodesPositions=[],Ve.halfCheckedKeys=xt,Et.forEach(function(Bt){var hn=(0,Ye.Z)(re,Bt);if(hn){var Nn=hn.node,tn=hn.pos;Ve.checkedNodes.push(Nn),Ve.checkedNodesPositions.push({node:Nn,pos:tn})}}),V.setUncontrolledState({checkedKeys:Et},!1,{halfCheckedKeys:xt})}pt==null||pt(mt,Ve)}),(0,d.Z)((0,p.Z)(V),"onNodeLoad",function(oe){var ee,fe=oe.key,Ce=V.state.keyEntities,re=(0,Ye.Z)(Ce,fe);if(!(re!=null&&(ee=re.children)!==null&&ee!==void 0&&ee.length)){var ce=new Promise(function(lt,Qe){V.setState(function(ht){var pt=ht.loadedKeys,$e=pt===void 0?[]:pt,mt=ht.loadingKeys,Ve=mt===void 0?[]:mt,Me=V.props,qe=Me.loadData,it=Me.onLoad;if(!qe||$e.includes(fe)||Ve.includes(fe))return null;var Et=qe(oe);return Et.then(function(){var xt=V.state.loadedKeys,un=(0,Ue.L0)(xt,fe);it==null||it(un,{event:"load",node:oe}),V.setUncontrolledState({loadedKeys:un}),V.setState(function(Jt){return{loadingKeys:(0,Ue._5)(Jt.loadingKeys,fe)}}),lt()}).catch(function(xt){if(V.setState(function(Jt){return{loadingKeys:(0,Ue._5)(Jt.loadingKeys,fe)}}),V.loadingRetryTimes[fe]=(V.loadingRetryTimes[fe]||0)+1,V.loadingRetryTimes[fe]>=Be){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()}Qe(xt)}),{loadingKeys:(0,Ue.L0)(Ve,fe)}})});return ce.catch(function(){}),ce}}),(0,d.Z)((0,p.Z)(V),"onNodeMouseEnter",function(oe,ee){var fe=V.props.onMouseEnter;fe==null||fe({event:oe,node:ee})}),(0,d.Z)((0,p.Z)(V),"onNodeMouseLeave",function(oe,ee){var fe=V.props.onMouseLeave;fe==null||fe({event:oe,node:ee})}),(0,d.Z)((0,p.Z)(V),"onNodeContextMenu",function(oe,ee){var fe=V.props.onRightClick;fe&&(oe.preventDefault(),fe({event:oe,node:ee}))}),(0,d.Z)((0,p.Z)(V),"onFocus",function(){var oe=V.props.onFocus;V.setState({focused:!0});for(var ee=arguments.length,fe=new Array(ee),Ce=0;Ce<ee;Ce++)fe[Ce]=arguments[Ce];oe==null||oe.apply(void 0,fe)}),(0,d.Z)((0,p.Z)(V),"onBlur",function(){var oe=V.props.onBlur;V.setState({focused:!1}),V.onActiveChange(null);for(var ee=arguments.length,fe=new Array(ee),Ce=0;Ce<ee;Ce++)fe[Ce]=arguments[Ce];oe==null||oe.apply(void 0,fe)}),(0,d.Z)((0,p.Z)(V),"getTreeNodeRequiredProps",function(){var oe=V.state,ee=oe.expandedKeys,fe=oe.selectedKeys,Ce=oe.loadedKeys,re=oe.loadingKeys,ce=oe.checkedKeys,lt=oe.halfCheckedKeys,Qe=oe.dragOverNodeKey,ht=oe.dropPosition,pt=oe.keyEntities;return{expandedKeys:ee||[],selectedKeys:fe||[],loadedKeys:Ce||[],loadingKeys:re||[],checkedKeys:ce||[],halfCheckedKeys:lt||[],dragOverNodeKey:Qe,dropPosition:ht,keyEntities:pt}}),(0,d.Z)((0,p.Z)(V),"setExpandedKeys",function(oe){var ee=V.state,fe=ee.treeData,Ce=ee.fieldNames,re=(0,M.oH)(fe,oe,Ce);V.setUncontrolledState({expandedKeys:oe,flattenNodes:re},!0)}),(0,d.Z)((0,p.Z)(V),"onNodeExpand",function(oe,ee){var fe=V.state.expandedKeys,Ce=V.state,re=Ce.listChanging,ce=Ce.fieldNames,lt=V.props,Qe=lt.onExpand,ht=lt.loadData,pt=ee.expanded,$e=ee[ce.key];if(!re){var mt=fe.includes($e),Ve=!pt;if((0,n.ZP)(pt&&mt||!pt&&!mt,"Expand state not sync with index check"),fe=Ve?(0,Ue.L0)(fe,$e):(0,Ue._5)(fe,$e),V.setExpandedKeys(fe),Qe==null||Qe(fe,{node:ee,expanded:Ve,nativeEvent:oe.nativeEvent}),Ve&&ht){var Me=V.onNodeLoad(ee);Me&&Me.then(function(){var qe=(0,M.oH)(V.state.treeData,fe,ce);V.setUncontrolledState({flattenNodes:qe})}).catch(function(){var qe=V.state.expandedKeys,it=(0,Ue._5)(qe,$e);V.setExpandedKeys(it)})}}}),(0,d.Z)((0,p.Z)(V),"onListChangeStart",function(){V.setUncontrolledState({listChanging:!0})}),(0,d.Z)((0,p.Z)(V),"onListChangeEnd",function(){setTimeout(function(){V.setUncontrolledState({listChanging:!1})})}),(0,d.Z)((0,p.Z)(V),"onActiveChange",function(oe){var ee=V.state.activeKey,fe=V.props,Ce=fe.onActiveChange,re=fe.itemScrollOffset,ce=re===void 0?0:re;ee!==oe&&(V.setState({activeKey:oe}),oe!==null&&V.scrollTo({key:oe,offset:ce}),Ce==null||Ce(oe))}),(0,d.Z)((0,p.Z)(V),"getActiveItem",function(){var oe=V.state,ee=oe.activeKey,fe=oe.flattenNodes;return ee===null?null:fe.find(function(Ce){var re=Ce.key;return re===ee})||null}),(0,d.Z)((0,p.Z)(V),"offsetActiveKey",function(oe){var ee=V.state,fe=ee.flattenNodes,Ce=ee.activeKey,re=fe.findIndex(function(Qe){var ht=Qe.key;return ht===Ce});re===-1&&oe<0&&(re=fe.length),re=(re+oe+fe.length)%fe.length;var ce=fe[re];if(ce){var lt=ce.key;V.onActiveChange(lt)}else V.onActiveChange(null)}),(0,d.Z)((0,p.Z)(V),"onKeyDown",function(oe){var ee=V.state,fe=ee.activeKey,Ce=ee.expandedKeys,re=ee.checkedKeys,ce=ee.fieldNames,lt=V.props,Qe=lt.onKeyDown,ht=lt.checkable,pt=lt.selectable;switch(oe.which){case g.Z.UP:{V.offsetActiveKey(-1),oe.preventDefault();break}case g.Z.DOWN:{V.offsetActiveKey(1),oe.preventDefault();break}}var $e=V.getActiveItem();if($e&&$e.data){var mt=V.getTreeNodeRequiredProps(),Ve=$e.data.isLeaf===!1||!!($e.data[ce.children]||[]).length,Me=(0,M.F)((0,P.Z)((0,P.Z)({},(0,M.H8)(fe,mt)),{},{data:$e.data,active:!0}));switch(oe.which){case g.Z.LEFT:{Ve&&Ce.includes(fe)?V.onNodeExpand({},Me):$e.parent&&V.onActiveChange($e.parent.key),oe.preventDefault();break}case g.Z.RIGHT:{Ve&&!Ce.includes(fe)?V.onNodeExpand({},Me):$e.children&&$e.children.length&&V.onActiveChange($e.children[0].key),oe.preventDefault();break}case g.Z.ENTER:case g.Z.SPACE:{ht&&!Me.disabled&&Me.checkable!==!1&&!Me.disableCheckbox?V.onNodeCheck({},Me,!re.includes(fe)):!ht&&pt&&!Me.disabled&&Me.selectable!==!1&&V.onNodeSelect({},Me);break}}}Qe==null||Qe(oe)}),(0,d.Z)((0,p.Z)(V),"setUncontrolledState",function(oe){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!V.destroyed){var Ce=!1,re=!0,ce={};Object.keys(oe).forEach(function(lt){if(V.props.hasOwnProperty(lt)){re=!1;return}Ce=!0,ce[lt]=oe[lt]}),Ce&&(!ee||re)&&V.setState((0,P.Z)((0,P.Z)({},ce),fe))}}),(0,d.Z)((0,p.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 q=this.props,ae=q.activeKey,te=q.itemScrollOffset,oe=te===void 0?0:te;ae!==void 0&&ae!==this.state.activeKey&&(this.setState({activeKey:ae}),ae!==null&&this.scrollTo({key:ae,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 q=this.state,ae=q.focused,te=q.flattenNodes,oe=q.keyEntities,ee=q.draggingNodeKey,fe=q.activeKey,Ce=q.dropLevelOffset,re=q.dropContainerKey,ce=q.dropTargetKey,lt=q.dropPosition,Qe=q.dragOverNodeKey,ht=q.indent,pt=this.props,$e=pt.prefixCls,mt=pt.className,Ve=pt.style,Me=pt.showLine,qe=pt.focusable,it=pt.tabIndex,Et=it===void 0?0:it,xt=pt.selectable,un=pt.showIcon,Jt=pt.icon,Bt=pt.switcherIcon,hn=pt.draggable,Nn=pt.checkable,tn=pt.checkStrictly,On=pt.disabled,qt=pt.motion,Wt=pt.loadData,Zt=pt.filterTreeNode,rn=pt.height,xn=pt.itemHeight,Dn=pt.scrollWidth,Pn=pt.virtual,Nt=pt.titleRender,Ht=pt.dropIndicatorRender,rt=pt.onContextMenu,T=pt.onScroll,z=pt.direction,Z=pt.rootClassName,$=pt.rootStyle,se=(0,r.Z)(this.props,{aria:!0,data:!0}),Ge;hn&&((0,k.Z)(hn)==="object"?Ge=hn:typeof hn=="function"?Ge={nodeDraggable:hn}:Ge={});var at={prefixCls:$e,selectable:xt,showIcon:un,icon:Jt,switcherIcon:Bt,draggable:Ge,draggingNodeKey:ee,checkable:Nn,checkStrictly:tn,disabled:On,keyEntities:oe,dropLevelOffset:Ce,dropContainerKey:re,dropTargetKey:ce,dropPosition:lt,dragOverNodeKey:Qe,indent:ht,direction:z,dropIndicatorRender:Ht,loadData:Wt,filterTreeNode:Zt,titleRender:Nt,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:at},a.createElement("div",{className:o()($e,mt,Z,(0,d.Z)((0,d.Z)((0,d.Z)({},"".concat($e,"-show-line"),Me),"".concat($e,"-focused"),ae),"".concat($e,"-active-focused"),fe!==null)),style:$},a.createElement(De,(0,h.Z)({ref:this.listRef,prefixCls:$e,style:Ve,data:te,disabled:On,selectable:xt,checkable:!!Nn,motion:qt,dragging:ee!==null,height:rn,itemHeight:xn,virtual:Pn,focusable:qe,focused:ae,tabIndex:Et,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:rt,onScroll:T,scrollWidth:Dn},this.getTreeNodeRequiredProps(),se))))}}],[{key:"getDerivedStateFromProps",value:function(q,ae){var te=ae.prevProps,oe={prevProps:q};function ee(Et){return!te&&q.hasOwnProperty(Et)||te&&te[Et]!==q[Et]}var fe,Ce=ae.fieldNames;if(ee("fieldNames")&&(Ce=(0,M.w$)(q.fieldNames),oe.fieldNames=Ce),ee("treeData")?fe=q.treeData:ee("children")&&((0,n.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),fe=(0,M.zn)(q.children)),fe){oe.treeData=fe;var re=(0,M.I8)(fe,{fieldNames:Ce});oe.keyEntities=(0,P.Z)((0,d.Z)({},j,Y),re.keyEntities)}var ce=oe.keyEntities||ae.keyEntities;if(ee("expandedKeys")||te&&ee("autoExpandParent"))oe.expandedKeys=q.autoExpandParent||!te&&q.defaultExpandParent?(0,Ue.r7)(q.expandedKeys,ce):q.expandedKeys;else if(!te&&q.defaultExpandAll){var lt=(0,P.Z)({},ce);delete lt[j];var Qe=[];Object.keys(lt).forEach(function(Et){var xt=lt[Et];xt.children&&xt.children.length&&Qe.push(xt.key)}),oe.expandedKeys=Qe}else!te&&q.defaultExpandedKeys&&(oe.expandedKeys=q.autoExpandParent||q.defaultExpandParent?(0,Ue.r7)(q.defaultExpandedKeys,ce):q.defaultExpandedKeys);if(oe.expandedKeys||delete oe.expandedKeys,fe||oe.expandedKeys){var ht=(0,M.oH)(fe||ae.treeData,oe.expandedKeys||ae.expandedKeys,Ce);oe.flattenNodes=ht}if(q.selectable&&(ee("selectedKeys")?oe.selectedKeys=(0,Ue.BT)(q.selectedKeys,q):!te&&q.defaultSelectedKeys&&(oe.selectedKeys=(0,Ue.BT)(q.defaultSelectedKeys,q))),q.checkable){var pt;if(ee("checkedKeys")?pt=(0,Ue.E6)(q.checkedKeys)||{}:!te&&q.defaultCheckedKeys?pt=(0,Ue.E6)(q.defaultCheckedKeys)||{}:fe&&(pt=(0,Ue.E6)(q.checkedKeys)||{checkedKeys:ae.checkedKeys,halfCheckedKeys:ae.halfCheckedKeys}),pt){var $e=pt,mt=$e.checkedKeys,Ve=mt===void 0?[]:mt,Me=$e.halfCheckedKeys,qe=Me===void 0?[]:Me;if(!q.checkStrictly){var it=(0,we.S)(Ve,!0,ce);Ve=it.checkedKeys,qe=it.halfCheckedKeys}oe.checkedKeys=Ve,oe.halfCheckedKeys=qe}}return ee("loadedKeys")&&(oe.loadedKeys=q.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 He=ge,Fe=He},82661:function(Ln,gt,w){"use strict";w.d(gt,{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=w(94480),k=w(76190),P=w(48736),_=w(59301),B=w(639),C=w(65065),p=w(34061),m=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,M=x.children;i.push(A),y(M)})}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,M,L){var O,D=e.clientX,N=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,G=M.filter(function(Fe){var Pe;return(Pe=A[Fe])===null||Pe===void 0||(Pe=Pe.children)===null||Pe===void 0?void 0:Pe.length}),Y=(0,C.Z)(A,i.eventKey);if(N<U+F/2){var le=x.findIndex(function(Fe){return Fe.key===Y.key}),Q=le<=0?0:le-1,ve=x[Q].key;Y=(0,C.Z)(A,ve)}var xe=Y.key,be=Y,De=Y.key,Ue=0,we=0;if(!G.includes(xe))for(var Ye=0;Ye<j&&g(Y);Ye+=1)Y=Y.parent,we+=1;var Be=t.data,ge=Y.node,He=!0;return r(Y)&&Y.level===0&&N<U+F/2&&b({dragNode:Be,dropNode:ge,dropPosition:-1})&&Y.key===i.eventKey?Ue=-1:(be.children||[]).length&&G.includes(De)?b({dragNode:Be,dropNode:ge,dropPosition:0})?Ue=0:He=!1:we===0?j>-1.5?b({dragNode:Be,dropNode:ge,dropPosition:1})?Ue=1:He=!1:b({dragNode:Be,dropNode:ge,dropPosition:0})?Ue=0:b({dragNode:Be,dropNode:ge,dropPosition:1})?Ue=1:He=!1:b({dragNode:Be,dropNode:ge,dropPosition:1})?Ue=1:He=!1,{dropPosition:Ue,dropLevelOffset:we,dropTargetKey:Y.key,dropTargetPos:Y.pos,dragOverNodeKey:De,dropContainerKey:Ue===0?null:((O=Y.parent)===null||O===void 0?void 0:O.key)||null,dropAllowed:He}}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,M=_objectWithoutProperties(x,m),L=u(A,t);return React.createElement(TreeNode,_extends({key:M.key},y(M)),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(Ln,gt,w){"use strict";w.d(gt,{S:function(){return p}});var h=w(48736),k=w(65065);function P(m,E){var d=new Set;return m.forEach(function(l){E.has(l)||d.add(l)}),d}function _(m){var E=m||{},d=E.disabled,l=E.disableCheckbox,o=E.checkable;return!!(d||l)||o===!1}function B(m,E,d,l){for(var o=new Set(m),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(m,E,d,l,o){for(var g=new Set(m),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 p(m,E,d,l){var o=[],g;l?g=l:g=_;var r=new Set(m.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=B(r,n,a,g):c=C(r,E.halfCheckedKeys,n,a,g),c}},65065:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return h}});function h(k,P){return k[P]}},34061:function(Ln,gt,w){"use strict";w.d(gt,{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=w(76190),k=w(94480),P=w(33885),_=w(75931),B=w(11592),C=w(2738),p=w(48736),m=w(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],M=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(M,"".concat(b).concat(L," > "))})}f(e)}function n(e){function t(i){var f=(0,B.Z)(i);return f.map(function(y){if(!l(y))return(0,p.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var b=y.key,x=y.props,A=x.children,M=(0,_.Z)(x,E),L=(0,P.Z)({key:b},M),O=t(A);return O.length&&(L.children=O),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),M=[];function L(O){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return O.map(function(N,I){for(var U=d(D?D.pos:"0",I),F=o(N[b],U),K,j=0;j<y.length;j+=1){var G=y[j];if(N[G]!==void 0){K=N[G];break}}var Y=Object.assign((0,C.Z)(N,[].concat((0,k.Z)(y),[b,x])),{title:K,key:F,parent:D,pos:U,children:null,data:N,isStart:[].concat((0,k.Z)(D?D.isStart:[]),[I===0]),isEnd:[].concat((0,k.Z)(D?D.isEnd:[]),[I===O.length-1])});return M.push(Y),t===!0||A.has(F)?Y.children=L(N[x]||[],Y):Y.children=[],Y})}return L(e),M}function c(e,t,i){var f={};(0,h.Z)(i)==="object"?f=i:f={externalGetKey:i},f=f||{};var y=f,b=y.childrenPropName,x=y.externalGetKey,A=y.fieldNames,M=g(A),L=M.key,O=M.children,D=b||O,N;x?typeof x=="string"?N=function(F){return F[x]}:typeof x=="function"&&(N=function(F){return x(F)}):N=function(F,K){return o(F[L],K)};function I(U,F,K,j){var G=U?U[D]:e,Y=U?d(K.pos,F):"0",le=U?[].concat((0,k.Z)(j),[U]):[];if(U){var Q=N(U,Y),ve={node:U,index:F,pos:Y,key:Q,parentPos:K.node?K.pos:null,level:K.level+1,nodes:le};t(ve)}G&&G.forEach(function(xe,be){I(xe,be,{node:U,pos:Y,level:K?K.level+1:-1},le)})}I(null)}function u(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=t.initWrapper,f=t.processEntity,y=t.onProcessFinished,b=t.externalGetKey,x=t.childrenPropName,A=t.fieldNames,M=arguments.length>2?arguments[2]:void 0,L=b||M,O={},D={},N={posEntities:O,keyEntities:D};return i&&(N=i(N)||N),c(e,function(I){var U=I.node,F=I.index,K=I.pos,j=I.key,G=I.parentPos,Y=I.level,le=I.nodes,Q={node:U,nodes:le,index:F,key:j,pos:K,level:Y},ve=o(j,K);O[K]=Q,D[ve]=Q,Q.parent=O[G],Q.parent&&(Q.parent.children=Q.parent.children||[],Q.parent.children.push(Q)),f&&f(Q,N)},{externalGetKey:L,childrenPropName:x,fieldNames:A}),y&&y(N),N}function s(e,t){var i=t.expandedKeys,f=t.selectedKeys,y=t.loadedKeys,b=t.loadingKeys,x=t.checkedKeys,A=t.halfCheckedKeys,M=t.dragOverNodeKey,L=t.dropPosition,O=t.keyEntities,D=(0,m.Z)(O,e),N={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:M===e&&L===0,dragOverGapTop:M===e&&L===-1,dragOverGapBottom:M===e&&L===1};return N}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,M=e.dragOver,L=e.dragOverGapTop,O=e.dragOverGapBottom,D=e.pos,N=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:M,dragOverGapTop:L,dragOverGapBottom:O,pos:D,active:N,key:I});return"props"in U||Object.defineProperty(U,"props",{get:function(){return(0,p.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(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return k}});var h=w(4676);function k(P,_,B,C){var p=h.unstable_batchedUpdates?function(E){h.unstable_batchedUpdates(B,E)}:B;return P!=null&&P.addEventListener&&P.addEventListener(_,p,C),{remove:function(){P!=null&&P.removeEventListener&&P.removeEventListener(_,p,C)}}}},24514:function(Ln,gt,w){"use strict";w.d(gt,{G:function(){return _}});var h=w(47273),k=function(C){if((0,h.Z)()&&window.document.documentElement){var p=Array.isArray(C)?C:[C],m=window.document.documentElement;return p.some(function(E){return E in m.style})}return!1},P=function(C,p){if(!k(C))return!1;var m=document.createElement("div"),E=m.style[C];return m.style[C]=p,m.style[C]!==E};function _(B,C){return!Array.isArray(B)&&C!==void 0?P(B,C):k(B)}},48911:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return Be}});var h=w(54476),k=w(76190),P=w(33885),_=w(20068),B=w(42978),C=w(75931),p=w(92310),m=w.n(p),E=w(29301),d=w(70425),l=w(34280),o=w(59301),g=w(4676),r=o.forwardRef(function(ge,He){var Fe=ge.height,Pe=ge.offsetY,We=ge.offsetX,Ne=ge.children,V=ge.prefixCls,q=ge.onInnerResize,ae=ge.innerProps,te=ge.rtl,oe=ge.extra,ee={},fe={display:"flex",flexDirection:"column"};return Pe!==void 0&&(ee={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(Pe,"px)")},te?"marginRight":"marginLeft",-We),"position","absolute"),"left",0),"right",0),"top",0))),o.createElement("div",{style:ee},o.createElement(E.Z,{onResize:function(re){var ce=re.offsetHeight;ce&&q&&q()}},o.createElement("div",(0,h.Z)({style:fe,className:m()((0,_.Z)({},"".concat(V,"-holder-inner"),V)),ref:He},ae),Ne,oe)))});r.displayName="Filler";var n=r;function a(ge){var He=ge.children,Fe=ge.setRef,Pe=o.useCallback(function(We){Fe(We)},[]);return o.cloneElement(He,{ref:Pe})}function c(ge,He,Fe,Pe,We,Ne,V,q){var ae=q.getKey;return ge.slice(He,Fe+1).map(function(te,oe){var ee=He+oe,fe=V(te,ee,{style:{width:Pe},offsetX:We}),Ce=ae(te);return o.createElement(a,{key:Ce,setRef:function(ce){return Ne(te,ce)}},fe)})}function u(ge,He,Fe,Pe){var We=Fe-ge,Ne=He-Fe,V=Math.min(We,Ne)*2;if(Pe<=V){var q=Math.floor(Pe/2);return Pe%2?Fe+q+1:Fe-q}return We>Ne?Fe-(Pe-Ne):Fe+(Pe-We)}function s(ge,He,Fe){var Pe=ge.length,We=He.length,Ne,V;if(Pe===0&&We===0)return null;Pe<We?(Ne=ge,V=He):(Ne=He,V=ge);var q={__EMPTY_ITEM__:!0};function ae(re){return re!==void 0?Fe(re):q}for(var te=null,oe=Math.abs(Pe-We)!==1,ee=0;ee<V.length;ee+=1){var fe=ae(Ne[ee]),Ce=ae(V[ee]);if(fe!==Ce){te=ee,oe=oe||fe!==ae(V[ee+1]);break}}return te===null?null:{index:te,multiple:oe}}function v(ge,He,Fe){var Pe=o.useState(ge),We=(0,B.Z)(Pe,2),Ne=We[0],V=We[1],q=o.useState(null),ae=(0,B.Z)(q,2),te=ae[0],oe=ae[1];return o.useEffect(function(){var ee=s(Ne||[],ge||[],He);(ee==null?void 0:ee.index)!==void 0&&(Fe==null||Fe(ee.index),oe(ge[ee.index])),V(ge)},[ge]),[te]}var e=w(16089),t=(typeof navigator=="undefined"?"undefined":(0,k.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),i=t,f=function(ge,He,Fe,Pe){var We=(0,o.useRef)(!1),Ne=(0,o.useRef)(null);function V(){clearTimeout(Ne.current),We.current=!0,Ne.current=setTimeout(function(){We.current=!1},50)}var q=(0,o.useRef)({top:ge,bottom:He,left:Fe,right:Pe});return q.current.top=ge,q.current.bottom=He,q.current.left=Fe,q.current.right=Pe,function(ae,te){var oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ee=ae?te<0&&q.current.left||te>0&&q.current.right:te<0&&q.current.top||te>0&&q.current.bottom;return oe&&ee?(clearTimeout(Ne.current),We.current=!1):(!ee||We.current)&&V(),!We.current&&ee}};function y(ge,He,Fe,Pe,We,Ne,V){var q=(0,o.useRef)(0),ae=(0,o.useRef)(null),te=(0,o.useRef)(null),oe=(0,o.useRef)(!1),ee=f(He,Fe,Pe,We);function fe(ht,pt){if(e.Z.cancel(ae.current),!ee(!1,pt)){var $e=ht;if(!$e._virtualHandled)$e._virtualHandled=!0;else return;q.current+=pt,te.current=pt,i||$e.preventDefault(),ae.current=(0,e.Z)(function(){var mt=oe.current?10:1;V(q.current*mt,!1),q.current=0})}}function Ce(ht,pt){V(pt,!0),i||ht.preventDefault()}var re=(0,o.useRef)(null),ce=(0,o.useRef)(null);function lt(ht){if(ge){e.Z.cancel(ce.current),ce.current=(0,e.Z)(function(){re.current=null},2);var pt=ht.deltaX,$e=ht.deltaY,mt=ht.shiftKey,Ve=pt,Me=$e;(re.current==="sx"||!re.current&&mt&&$e&&!pt)&&(Ve=$e,Me=0,re.current="sx");var qe=Math.abs(Ve),it=Math.abs(Me);re.current===null&&(re.current=Ne&&qe>it?"x":"y"),re.current==="y"?fe(ht,Me):Ce(ht,Ve)}}function Qe(ht){ge&&(oe.current=ht.detail===te.current)}return[lt,Qe]}function b(ge,He,Fe,Pe){var We=o.useMemo(function(){return[new Map,[]]},[ge,Fe.id,Pe]),Ne=(0,B.Z)(We,2),V=Ne[0],q=Ne[1],ae=function(oe){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,fe=V.get(oe),Ce=V.get(ee);if(fe===void 0||Ce===void 0)for(var re=ge.length,ce=q.length;ce<re;ce+=1){var lt,Qe=ge[ce],ht=He(Qe);V.set(ht,ce);var pt=(lt=Fe.get(ht))!==null&<!==void 0?lt:Pe;if(q[ce]=(q[ce-1]||0)+pt,ht===oe&&(fe=ce),ht===ee&&(Ce=ce),fe!==void 0&&Ce!==void 0)break}return{top:q[fe-1]||0,bottom:q[Ce]}};return ae}var x=w(67732),A=w(83652),M=function(){function ge(){(0,x.Z)(this,ge),(0,_.Z)(this,"maps",void 0),(0,_.Z)(this,"id",0),(0,_.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,A.Z)(ge,[{key:"set",value:function(Fe,Pe){this.diffRecords.set(Fe,this.maps[Fe]),this.maps[Fe]=Pe,this.id+=1}},{key:"get",value:function(Fe){return this.maps[Fe]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ge}(),L=M;function O(ge){var He=parseFloat(ge);return isNaN(He)?0:He}function D(ge,He,Fe){var Pe=o.useState(0),We=(0,B.Z)(Pe,2),Ne=We[0],V=We[1],q=(0,o.useRef)(new Map),ae=(0,o.useRef)(new L),te=(0,o.useRef)(0);function oe(){te.current+=1}function ee(){var Ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;oe();var re=function(){var Qe=!1;q.current.forEach(function(ht,pt){if(ht&&ht.offsetParent){var $e=ht.offsetHeight,mt=getComputedStyle(ht),Ve=mt.marginTop,Me=mt.marginBottom,qe=O(Ve),it=O(Me),Et=$e+qe+it;ae.current.get(pt)!==Et&&(ae.current.set(pt,Et),Qe=!0)}}),Qe&&V(function(ht){return ht+1})};if(Ce)re();else{te.current+=1;var ce=te.current;Promise.resolve().then(function(){ce===te.current&&re()})}}function fe(Ce,re){var ce=ge(Ce),lt=q.current.get(ce);re?(q.current.set(ce,re),ee()):q.current.delete(ce),!lt!=!re&&(re?He==null||He(Ce):Fe==null||Fe(Ce))}return(0,o.useEffect)(function(){return oe},[]),[fe,ee,ae.current,Ne]}var N=14/15;function I(ge,He,Fe){var Pe=(0,o.useRef)(!1),We=(0,o.useRef)(0),Ne=(0,o.useRef)(0),V=(0,o.useRef)(null),q=(0,o.useRef)(null),ae,te=function(Ce){if(Pe.current){var re=Math.ceil(Ce.touches[0].pageX),ce=Math.ceil(Ce.touches[0].pageY),lt=We.current-re,Qe=Ne.current-ce,ht=Math.abs(lt)>Math.abs(Qe);ht?We.current=re:Ne.current=ce;var pt=Fe(ht,ht?lt:Qe,!1,Ce);pt&&Ce.preventDefault(),clearInterval(q.current),pt&&(q.current=setInterval(function(){ht?lt*=N:Qe*=N;var $e=Math.floor(ht?lt:Qe);(!Fe(ht,$e,!0)||Math.abs($e)<=.1)&&clearInterval(q.current)},16))}},oe=function(){Pe.current=!1,ae()},ee=function(Ce){ae(),Ce.touches.length===1&&!Pe.current&&(Pe.current=!0,We.current=Math.ceil(Ce.touches[0].pageX),Ne.current=Math.ceil(Ce.touches[0].pageY),V.current=Ce.target,V.current.addEventListener("touchmove",te,{passive:!1}),V.current.addEventListener("touchend",oe,{passive:!0}))};ae=function(){V.current&&(V.current.removeEventListener("touchmove",te),V.current.removeEventListener("touchend",oe))},(0,l.Z)(function(){return ge&&He.current.addEventListener("touchstart",ee,{passive:!0}),function(){var fe;(fe=He.current)===null||fe===void 0||fe.removeEventListener("touchstart",ee),ae(),clearInterval(q.current)}},[ge])}function U(ge){return Math.floor(Math.pow(ge,.5))}function F(ge,He){var Fe="touches"in ge?ge.touches[0]:ge;return Fe[He?"pageX":"pageY"]-window[He?"scrollX":"scrollY"]}function K(ge,He,Fe){o.useEffect(function(){var Pe=He.current;if(ge&&Pe){var We=!1,Ne,V,q=function(){e.Z.cancel(Ne)},ae=function fe(){q(),Ne=(0,e.Z)(function(){Fe(V),fe()})},te=function(){We=!1,q()},oe=function(Ce){if(!(Ce.target.draggable||Ce.button!==0)){var re=Ce;re._virtualHandled||(re._virtualHandled=!0,We=!0)}},ee=function(Ce){if(We){var re=F(Ce,!1),ce=Pe.getBoundingClientRect(),lt=ce.top,Qe=ce.bottom;if(re<=lt){var ht=lt-re;V=-U(ht),ae()}else if(re>=Qe){var pt=re-Qe;V=U(pt),ae()}else q()}};return Pe.addEventListener("mousedown",oe),Pe.ownerDocument.addEventListener("mouseup",te),Pe.ownerDocument.addEventListener("mousemove",ee),Pe.ownerDocument.addEventListener("dragend",te),function(){Pe.removeEventListener("mousedown",oe),Pe.ownerDocument.removeEventListener("mouseup",te),Pe.ownerDocument.removeEventListener("mousemove",ee),Pe.ownerDocument.removeEventListener("dragend",te),q()}}},[ge])}var j=10;function G(ge,He,Fe,Pe,We,Ne,V,q){var ae=o.useRef(),te=o.useState(null),oe=(0,B.Z)(te,2),ee=oe[0],fe=oe[1];return(0,l.Z)(function(){if(ee&&ee.times<j){if(!ge.current){fe(function(qt){return(0,P.Z)({},qt)});return}Ne();var Ce=ee.targetAlign,re=ee.originAlign,ce=ee.index,lt=ee.offset,Qe=ge.current.clientHeight,ht=!1,pt=Ce,$e=null;if(Qe){for(var mt=Ce||re,Ve=0,Me=0,qe=0,it=Math.min(He.length-1,ce),Et=0;Et<=it;Et+=1){var xt=We(He[Et]);Me=Ve;var un=Fe.get(xt);qe=Me+(un===void 0?Pe:un),Ve=qe}for(var Jt=mt==="top"?lt:Qe-lt,Bt=it;Bt>=0;Bt-=1){var hn=We(He[Bt]),Nn=Fe.get(hn);if(Nn===void 0){ht=!0;break}if(Jt-=Nn,Jt<=0)break}switch(mt){case"top":$e=Me-lt;break;case"bottom":$e=qe-Qe+lt;break;default:{var tn=ge.current.scrollTop,On=tn+Qe;Me<tn?pt="top":qe>On&&(pt="bottom")}}$e!==null&&V($e),$e!==ee.lastTop&&(ht=!0)}ht&&fe((0,P.Z)((0,P.Z)({},ee),{},{times:ee.times+1,targetAlign:pt,lastTop:$e}))}},[ee,ge.current]),function(Ce){if(Ce==null){q();return}if(e.Z.cancel(ae.current),typeof Ce=="number")V(Ce);else if(Ce&&(0,k.Z)(Ce)==="object"){var re,ce=Ce.align;"index"in Ce?re=Ce.index:re=He.findIndex(function(ht){return We(ht)===Ce.key});var lt=Ce.offset,Qe=lt===void 0?0:lt;fe({times:0,index:re,offset:Qe,originAlign:ce})}}}var Y=o.forwardRef(function(ge,He){var Fe=ge.prefixCls,Pe=ge.rtl,We=ge.scrollOffset,Ne=ge.scrollRange,V=ge.onStartMove,q=ge.onStopMove,ae=ge.onScroll,te=ge.horizontal,oe=ge.spinSize,ee=ge.containerSize,fe=ge.style,Ce=ge.thumbStyle,re=ge.showScrollBar,ce=o.useState(!1),lt=(0,B.Z)(ce,2),Qe=lt[0],ht=lt[1],pt=o.useState(null),$e=(0,B.Z)(pt,2),mt=$e[0],Ve=$e[1],Me=o.useState(null),qe=(0,B.Z)(Me,2),it=qe[0],Et=qe[1],xt=!Pe,un=o.useRef(),Jt=o.useRef(),Bt=o.useState(re),hn=(0,B.Z)(Bt,2),Nn=hn[0],tn=hn[1],On=o.useRef(),qt=function(){re===!0||re===!1||(clearTimeout(On.current),tn(!0),On.current=setTimeout(function(){tn(!1)},3e3))},Wt=Ne-ee||0,Zt=ee-oe||0,rn=o.useMemo(function(){if(We===0||Wt===0)return 0;var Z=We/Wt;return Z*Zt},[We,Wt,Zt]),xn=function($){$.stopPropagation(),$.preventDefault()},Dn=o.useRef({top:rn,dragging:Qe,pageY:mt,startTop:it});Dn.current={top:rn,dragging:Qe,pageY:mt,startTop:it};var Pn=function($){ht(!0),Ve(F($,te)),Et(Dn.current.top),V(),$.stopPropagation(),$.preventDefault()};o.useEffect(function(){var Z=function(at){at.preventDefault()},$=un.current,se=Jt.current;return $.addEventListener("touchstart",Z,{passive:!1}),se.addEventListener("touchstart",Pn,{passive:!1}),function(){$.removeEventListener("touchstart",Z),se.removeEventListener("touchstart",Pn)}},[]);var Nt=o.useRef();Nt.current=Wt;var Ht=o.useRef();Ht.current=Zt,o.useEffect(function(){if(Qe){var Z,$=function(at){var _t=Dn.current,dt=_t.dragging,Rt=_t.pageY,Gt=_t.startTop;e.Z.cancel(Z);var ze=un.current.getBoundingClientRect(),Re=ee/(te?ze.width:ze.height);if(dt){var ye=(F(at,te)-Rt)*Re,Te=Gt;!xt&&te?Te-=ye:Te+=ye;var Ie=Nt.current,Ke=Ht.current,he=Ke?Te/Ke:0,Ze=Math.ceil(he*Ie);Ze=Math.max(Ze,0),Ze=Math.min(Ze,Ie),Z=(0,e.Z)(function(){ae(Ze,te)})}},se=function(){ht(!1),q()};return window.addEventListener("mousemove",$,{passive:!0}),window.addEventListener("touchmove",$,{passive:!0}),window.addEventListener("mouseup",se,{passive:!0}),window.addEventListener("touchend",se,{passive:!0}),function(){window.removeEventListener("mousemove",$),window.removeEventListener("touchmove",$),window.removeEventListener("mouseup",se),window.removeEventListener("touchend",se),e.Z.cancel(Z)}}},[Qe]),o.useEffect(function(){return qt(),function(){clearTimeout(On.current)}},[We]),o.useImperativeHandle(He,function(){return{delayHidden:qt}});var rt="".concat(Fe,"-scrollbar"),T={position:"absolute",visibility:Nn?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 te?(Object.assign(T,{height:8,left:0,right:0,bottom:0}),Object.assign(z,(0,_.Z)({height:"100%",width:oe},xt?"left":"right",rn))):(Object.assign(T,(0,_.Z)({width:8,top:0,bottom:0},xt?"right":"left",0)),Object.assign(z,{width:"100%",height:oe,top:rn})),o.createElement("div",{ref:un,className:m()(rt,(0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(rt,"-horizontal"),te),"".concat(rt,"-vertical"),!te),"".concat(rt,"-visible"),Nn)),style:(0,P.Z)((0,P.Z)({},T),fe),onMouseDown:xn,onMouseMove:qt},o.createElement("div",{ref:Jt,className:m()("".concat(rt,"-thumb"),(0,_.Z)({},"".concat(rt,"-thumb-moving"),Qe)),style:(0,P.Z)((0,P.Z)({},z),Ce),onMouseDown:Pn}))}),le=Y,Q=20;function ve(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=ge/He*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"],be=[],De={overflowY:"auto",overflowAnchor:"none"};function Ue(ge,He){var Fe=ge.prefixCls,Pe=Fe===void 0?"rc-virtual-list":Fe,We=ge.className,Ne=ge.height,V=ge.itemHeight,q=ge.fullHeight,ae=q===void 0?!0:q,te=ge.style,oe=ge.data,ee=ge.children,fe=ge.itemKey,Ce=ge.virtual,re=ge.direction,ce=ge.scrollWidth,lt=ge.component,Qe=lt===void 0?"div":lt,ht=ge.onScroll,pt=ge.onVirtualScroll,$e=ge.onVisibleChange,mt=ge.innerProps,Ve=ge.extraRender,Me=ge.styles,qe=ge.showScrollBar,it=qe===void 0?"optional":qe,Et=(0,C.Z)(ge,xe),xt=o.useCallback(function(Kt){return typeof fe=="function"?fe(Kt):Kt==null?void 0:Kt[fe]},[fe]),un=D(xt,null,null),Jt=(0,B.Z)(un,4),Bt=Jt[0],hn=Jt[1],Nn=Jt[2],tn=Jt[3],On=!!(Ce!==!1&&Ne&&V),qt=o.useMemo(function(){return Object.values(Nn.maps).reduce(function(Kt,Qt){return Kt+Qt},0)},[Nn.id,Nn.maps]),Wt=On&&oe&&(Math.max(V*oe.length,qt)>Ne||!!ce),Zt=re==="rtl",rn=m()(Pe,(0,_.Z)({},"".concat(Pe,"-rtl"),Zt),We),xn=oe||be,Dn=(0,o.useRef)(),Pn=(0,o.useRef)(),Nt=(0,o.useRef)(),Ht=(0,o.useState)(0),rt=(0,B.Z)(Ht,2),T=rt[0],z=rt[1],Z=(0,o.useState)(0),$=(0,B.Z)(Z,2),se=$[0],Ge=$[1],at=(0,o.useState)(!1),_t=(0,B.Z)(at,2),dt=_t[0],Rt=_t[1],Gt=function(){Rt(!0)},ze=function(){Rt(!1)},Re={getKey:xt};function ye(Kt){z(function(Qt){var Xn;typeof Kt=="function"?Xn=Kt(Qt):Xn=Kt;var zn=Pt(Xn);return Dn.current.scrollTop=zn,zn})}var Te=(0,o.useRef)({start:0,end:xn.length}),Ie=(0,o.useRef)(),Ke=v(xn,xt),he=(0,B.Z)(Ke,1),Ze=he[0];Ie.current=Ze;var tt=o.useMemo(function(){if(!On)return{scrollHeight:void 0,start:0,end:xn.length-1,offset:void 0};if(!Wt){var Kt;return{scrollHeight:((Kt=Pn.current)===null||Kt===void 0?void 0:Kt.offsetHeight)||0,start:0,end:xn.length-1,offset:void 0}}for(var Qt=0,Xn,zn,hr,Tr=xn.length,gr=0;gr<Tr;gr+=1){var Pr=xn[gr],et=xt(Pr),Lt=Nn.get(et),At=Qt+(Lt===void 0?V:Lt);At>=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=xn.length-1),hr=Math.min(hr+1,xn.length-1),{scrollHeight:Qt,start:Xn,end:hr,offset:zn}},[Wt,On,T,xn,tn,Ne]),me=tt.scrollHeight,_e=tt.start,Ee=tt.end,Xe=tt.offset;Te.current.start=_e,Te.current.end=Ee,o.useLayoutEffect(function(){var Kt=Nn.getRecord();if(Kt.size===1){var Qt=Array.from(Kt.keys())[0],Xn=Kt.get(Qt),zn=xn[_e];if(zn&&Xn===void 0){var hr=xt(zn);if(hr===Qt){var Tr=Nn.get(Qt),gr=Tr-V;ye(function(Pr){return Pr+gr})}}}Nn.resetRecord()},[me]);var Se=o.useState({width:0,height:Ne}),ut=(0,B.Z)(Se,2),bt=ut[0],Tt=ut[1],kt=function(Qt){Tt({width:Qt.offsetWidth,height:Qt.offsetHeight})},on=(0,o.useRef)(),Sn=(0,o.useRef)(),_n=o.useMemo(function(){return ve(bt.width,ce)},[bt.width,ce]),nn=o.useMemo(function(){return ve(bt.height,me)},[bt.height,me]),dn=me-Ne,mn=(0,o.useRef)(dn);mn.current=dn;function Pt(Kt){var Qt=Kt;return Number.isNaN(mn.current)||(Qt=Math.min(Qt,mn.current)),Qt=Math.max(Qt,0),Qt}var wn=T<=0,jn=T>=dn,Cn=se<=0,Fn=se>=ce,er=f(wn,jn,Cn,Fn),Cr=function(){return{x:Zt?-se:se,y:T}},sr=(0,o.useRef)(Cr()),Bn=(0,d.zX)(function(Kt){if(pt){var Qt=(0,P.Z)((0,P.Z)({},Cr()),Kt);(sr.current.x!==Qt.x||sr.current.y!==Qt.y)&&(pt(Qt),sr.current=Qt)}});function or(Kt,Qt){var Xn=Kt;Qt?((0,g.flushSync)(function(){Ge(Xn)}),Bn()):ye(Xn)}function fr(Kt){var Qt=Kt.currentTarget.scrollTop;Qt!==T&&ye(Qt),ht==null||ht(Kt),Bn()}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(Kt,Qt){Qt?((0,g.flushSync)(function(){Ge(function(Xn){var zn=Xn+(Zt?-Kt:Kt);return nr(zn)})}),Bn()):ye(function(Xn){var zn=Xn+Kt;return zn})}),qn=y(On,wn,jn,Cn,Fn,!!ce,tr),Mr=(0,B.Z)(qn,2),St=Mr[0],Hr=Mr[1];I(On,Dn,function(Kt,Qt,Xn,zn){var hr=zn;return er(Kt,Qt,Xn)?!1:!hr||!hr._virtualHandled?(hr&&(hr._virtualHandled=!0),St({preventDefault:function(){},deltaX:Kt?Qt:0,deltaY:Kt?0:Qt}),!0):!1}),K(Wt,Dn,function(Kt){ye(function(Qt){return Qt+Kt})}),(0,l.Z)(function(){function Kt(Xn){var zn=wn&&Xn.detail<0,hr=jn&&Xn.detail>0;On&&!zn&&!hr&&Xn.preventDefault()}var Qt=Dn.current;return Qt.addEventListener("wheel",St,{passive:!1}),Qt.addEventListener("DOMMouseScroll",Hr,{passive:!0}),Qt.addEventListener("MozMousePixelScroll",Kt,{passive:!1}),function(){Qt.removeEventListener("wheel",St),Qt.removeEventListener("DOMMouseScroll",Hr),Qt.removeEventListener("MozMousePixelScroll",Kt)}},[On,wn,jn]),(0,l.Z)(function(){if(ce){var Kt=nr(se);Ge(Kt),Bn({x:Kt})}},[bt.width,ce]);var Rr=function(){var Qt,Xn;(Qt=on.current)===null||Qt===void 0||Qt.delayHidden(),(Xn=Sn.current)===null||Xn===void 0||Xn.delayHidden()},kr=G(Dn,xn,Nn,V,xt,function(){return hn(!0)},ye,Rr);o.useImperativeHandle(He,function(){return{nativeElement:Nt.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&&Ge(nr(Qt.left)),kr(Qt.top)):kr(Qt)}}}),(0,l.Z)(function(){if($e){var Kt=xn.slice(_e,Ee+1);$e(Kt,xn)}},[_e,Ee,xn]);var Wr=b(xn,xt,Nn,V),ea=Ve==null?void 0:Ve({start:_e,end:Ee,virtual:Wt,offsetX:se,offsetY:Xe,rtl:Zt,getSize:Wr}),ar=c(xn,_e,Ee,ce,se,Bt,ee,Re),lr=null;Ne&&(lr=(0,P.Z)((0,_.Z)({},ae?"height":"maxHeight",Ne),De),On&&(lr.overflowY="hidden",ce&&(lr.overflowX="hidden"),dt&&(lr.pointerEvents="none")));var An={};return Zt&&(An.dir="rtl"),o.createElement("div",(0,h.Z)({ref:Nt,style:(0,P.Z)((0,P.Z)({},te),{},{position:"relative"}),className:rn},An,Et),o.createElement(E.Z,{onResize:kt},o.createElement(Qe,{className:"".concat(Pe,"-holder"),style:lr,ref:Dn,onScroll:fr,onMouseEnter:Rr},o.createElement(n,{prefixCls:Pe,height:me,offsetX:se,offsetY:Xe,scrollWidth:ce,onInnerResize:hn,ref:Pn,innerProps:mt,rtl:Zt,extra:ea},ar))),Wt&&me>Ne&&o.createElement(le,{ref:on,prefixCls:Pe,scrollOffset:T,scrollRange:me,rtl:Zt,onScroll:or,onStartMove:Gt,onStopMove:ze,spinSize:nn,containerSize:bt.height,style:Me==null?void 0:Me.verticalScrollBar,thumbStyle:Me==null?void 0:Me.verticalScrollBarThumb,showScrollBar:it}),Wt&&ce>bt.width&&o.createElement(le,{ref:Sn,prefixCls:Pe,scrollOffset:se,scrollRange:ce,rtl:Zt,onScroll:or,onStartMove:Gt,onStopMove:ze,spinSize:_n,containerSize:bt.width,horizontal:!0,style:Me==null?void 0:Me.horizontalScrollBar,thumbStyle:Me==null?void 0:Me.horizontalScrollBarThumb,showScrollBar:it}))}var we=o.forwardRef(Ue);we.displayName="List";var Ye=we,Be=Ye},51581:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0});var h=function(){function o(g,r){for(var n=0;n<r.length;n++){var a=r[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(g,a.key,a)}}return function(g,r,n){return r&&o(g.prototype,r),n&&o(g,n),g}}(),k=w(59301),P=C(k),_=w(12708),B=C(_);function C(o){return o&&o.__esModule?o:{default:o}}function p(o,g){var r={};for(var n in o)g.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n]);return r}function m(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){m(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;u<Number(this.props.threshold)&&n&&n.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=c.scrollHeight,this.beforeScrollTop=c.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(n,a){return n?this.calculateTopPosition(n)+(n.offsetHeight-a-window.innerHeight):0}},{key:"calculateTopPosition",value:function(n){return n?n.offsetTop+this.calculateTopPosition(n.offsetParent):0}},{key:"render",value:function(){var n=this,a=this.filterProps(this.props),c=a.children,u=a.element,s=a.hasMore,v=a.initialLoad,e=a.isReverse,t=a.loader,i=a.loadMore,f=a.pageStart,y=a.ref,b=a.threshold,x=a.useCapture,A=a.useWindow,M=a.getScrollParent,L=p(a,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);L.ref=function(D){n.scrollComponent=D,y&&y(D)};var O=[c];return s&&(t?e?O.unshift(t):O.push(t):this.defaultLoader&&(e?O.unshift(this.defaultLoader):O.push(this.defaultLoader))),P.default.createElement(u,L,O)}}]),g}(k.Component);l.propTypes={children:B.default.node.isRequired,element:B.default.node,hasMore:B.default.bool,initialLoad:B.default.bool,isReverse:B.default.bool,loader:B.default.node,loadMore:B.default.func.isRequired,pageStart:B.default.number,ref:B.default.func,getScrollParent:B.default.func,threshold:B.default.number,useCapture:B.default.bool,useWindow:B.default.bool},l.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},gt.default=l,Ln.exports=gt.default},26724:function(Ln,gt,w){Ln.exports=w(51581)},27774:function(Ln,gt){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.SizeSensorId=gt.SensorTabIndex=gt.SensorClassName=void 0;var w="size-sensor-id";gt.SizeSensorId=w;var h="size-sensor-object";gt.SensorClassName=h;var k="-1";gt.SensorTabIndex=k},79301:function(Ln,gt){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.default=void 0;var w=function(k){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,_=null;return function(){for(var B=this,C=arguments.length,p=new Array(C),m=0;m<C;m++)p[m]=arguments[m];clearTimeout(_),_=setTimeout(function(){k.apply(B,p)},P)}};gt.default=w},79789:function(Ln,gt){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.default=void 0;var w=1,h=function(){return"".concat(w++)};gt.default=h},47242:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.ver=gt.clear=gt.bind=void 0;var h=w(95270),k=function(C,p){var m=(0,h.getSensor)(C);return m.bind(p),function(){m.unbind(p)}};gt.bind=k;var P=function(C){var p=(0,h.getSensor)(C);(0,h.removeSensor)(p)};gt.clear=P;var _="1.0.2";gt.ver=_},95270:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.removeSensor=gt.getSensor=gt.Sensors=void 0;var h=_(w(79789)),k=w(57829),P=w(27774);function _(E){return E&&E.__esModule?E:{default:E}}var B={};gt.Sensors=B;function C(E){E&&B[E]&&delete B[E]}var p=function(d){var l=d.getAttribute(P.SizeSensorId);if(l&&B[l])return B[l];var o=(0,h.default)();d.setAttribute(P.SizeSensorId,o);var g=(0,k.createSensor)(d,function(){return C(o)});return B[o]=g,g};gt.getSensor=p;var m=function(d){var l=d.element.getAttribute(P.SizeSensorId);d.destroy(),C(l)};gt.removeSensor=m},57829:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.createSensor=void 0;var h=w(20953),k=w(55202),P=typeof ResizeObserver!="undefined"?k.createSensor:h.createSensor;gt.createSensor=P},20953:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.createSensor=void 0;var h=P(w(79301)),k=w(27774);function P(B){return B&&B.__esModule?B:{default:B}}var _=function(C,p){var m=void 0,E=[],d=function(){getComputedStyle(C).position==="static"&&(C.style.position="relative");var a=document.createElement("object");return a.onload=function(){a.contentDocument.defaultView.addEventListener("resize",l),l()},a.style.display="block",a.style.position="absolute",a.style.top="0",a.style.left="0",a.style.height="100%",a.style.width="100%",a.style.overflow="hidden",a.style.pointerEvents="none",a.style.zIndex="-1",a.style.opacity="0",a.setAttribute("class",k.SensorClassName),a.setAttribute("tabindex",k.SensorTabIndex),a.type="text/html",C.appendChild(a),a.data="about:blank",a},l=(0,h.default)(function(){E.forEach(function(n){n(C)})}),o=function(a){m||(m=d()),E.indexOf(a)===-1&&E.push(a)},g=function(){m&&m.parentNode&&(m.contentDocument&&m.contentDocument.defaultView.removeEventListener("resize",l),m.parentNode.removeChild(m),C.removeAttribute(k.SizeSensorId),m=void 0,E=[],p&&p())},r=function(a){var c=E.indexOf(a);c!==-1&&E.splice(c,1),E.length===0&&m&&g()};return{element:C,bind:o,destroy:g,unbind:r}};gt.createSensor=_},55202:function(Ln,gt,w){"use strict";Object.defineProperty(gt,"__esModule",{value:!0}),gt.createSensor=void 0;var h=w(27774),k=P(w(79301));function P(B){return B&&B.__esModule?B:{default:B}}var _=function(C,p){var m=void 0,E=[],d=(0,k.default)(function(){E.forEach(function(n){n(C)})}),l=function(){var a=new ResizeObserver(d);return a.observe(C),d(),a},o=function(a){m||(m=l()),E.indexOf(a)===-1&&E.push(a)},g=function(){m.disconnect(),E=[],m=void 0,C.removeAttribute(h.SizeSensorId),p&&p()},r=function(a){var c=E.indexOf(a);c!==-1&&E.splice(c,1),E.length===0&&m&&g()};return{element:C,bind:o,destroy:g,unbind:r}};gt.createSensor=_},82059:function(Ln){var gt=arguments[3],w=arguments[4],h=arguments[5],k=JSON.stringify;Ln.exports=function(P,_){for(var B,C=Object.keys(h),p=0,m=C.length;p<m;p++){var E=C[p],d=h[E].exports;if(d===P||d&&d.default===P){B=E;break}}if(!B){B=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var l={},p=0,m=C.length;p<m;p++){var E=C[p];l[E]=E}w[B]=["function(require,module,exports){"+P+"(self); }",l]}var o=Math.floor(Math.pow(16,8)*Math.random()).toString(16),g={};g[B]=B,w[o]=["function(require,module,exports){var f = require("+k(B)+");(f.default ? f.default : f)(self);}",g];var r={};n(o);function n(e){r[e]=!0;for(var t in w[e][1]){var i=w[e][1][t];r[i]||n(i)}}var a="("+gt+")({"+Object.keys(r).map(function(e){return k(e)+":["+w[e][0]+","+k(w[e][1])+"]"}).join(",")+"},{},["+k(o)+"])",c=window.URL||window.webkitURL||window.mozURL||window.msURL,u=new Blob([a],{type:"text/javascript"});if(_&&_.bare)return u;var s=c.createObjectURL(u),v=new Worker(s);return v.objectURL=s,v}},93314:function(Ln){"use strict";Ln.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP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9Z/tPaxrWTK+g+8Fd3mBnVgL5mSOHhzYE8B+pjrqCQQtnkZWPdytlJbSe3UrY0cyU4fgHQTAtygOgE56pTT0V0AdHfktC/+HvsYrr0eh8+fC5zQ+FaDsK6T0o7ebe8LpMHGH629JJAGGf9ee52xjX7Po62fLEBt//a6BLTcscDPKBpvT+9Fv0/nPqSNAv4e64TCnWY6gnmnagsh4UEBPOZJxOvh2MO0H1ZAVKaVYTvYyXYmH8xODrmjYxlzVnW0XmhwWi/0PjZxqY0UDFbnTRMCPx9M5J1pevt4LIPeUEQ4ASedgqzN+O3rPVi4kB/0YRlXsFVMK0mZ0ye9fco9hurUuY6OoiFQYRKKH5DMRFQApNwbuqQqG3lKg3t17q3AvRXYnhW42zcp0qrhhoK4PaP5tvpLNAKIOnfKqQUB6tHrfLOC1/F84u35FrevV4lk5mUA5P8Pzc3nUv3QCekAAAAASUVORK5CYII="},48289:function(Ln,gt,w){"use strict";Ln.exports=w.p+"static/bg.fff4723d.png"},19251:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return k}});var h=w(3208);function k(P,_){var B=typeof Symbol!="undefined"&&P[Symbol.iterator]||P["@@iterator"];if(!B){if(Array.isArray(P)||(B=(0,h.Z)(P))||_&&P&&typeof P.length=="number"){B&&(P=B);var C=0,p=function(){};return{s:p,n:function(){return C>=P.length?{done:!0}:{done:!1,value:P[C++]}},e:function(o){throw o},f:p}}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 m,E=!0,d=!1;return{s:function(){B=B.call(P)},n:function(){var o=B.next();return E=o.done,o},e:function(o){d=!0,m=o},f:function(){try{E||B.return==null||B.return()}finally{if(d)throw m}}}}},16722:function(Ln,gt,w){"use strict";w.d(gt,{Z:function(){return m}});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<E.scrollHeight||E.clientWidth<E.scrollWidth){const l=getComputedStyle(E,null);return k(l.overflowY,d)||k(l.overflowX,d)||(o=>{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.clientHeight<o.scrollHeight||g.clientWidth<o.scrollWidth)})(E)}return!1},_=(E,d,l,o,g,r,n,a)=>r<E&&n>d||r>E&&n<d?0:r<=E&&a<=l||n>=d&&a>=l?r-E-o:n>d&&a<l||r<E&&a>l?n-d+g:0,B=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:le=>le!==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=B(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:M,top:L,right:O,bottom:D,left:N}=E.getBoundingClientRect(),{top:I,right:U,bottom:F,left:K}=(le=>{const Q=window.getComputedStyle(le);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,G=c==="center"?N+M/2-K+U:c==="end"?O+U:N-K;const Y=[];for(let le=0;le<t.length;le++){const Q=t[le],{height:ve,width:xe,top:be,right:De,bottom:Ue,left:we}=Q.getBoundingClientRect();if(n==="if-needed"&&L>=0&&N>=0&&D<=y&&O<=f&&(Q===e&&!P(Q)||L>=be&&D<=Ue&&N>=we&&O<=De))return Y;const Ye=getComputedStyle(Q),Be=parseInt(Ye.borderLeftWidth,10),ge=parseInt(Ye.borderTopWidth,10),He=parseInt(Ye.borderRightWidth,10),Fe=parseInt(Ye.borderBottomWidth,10);let Pe=0,We=0;const Ne="offsetWidth"in Q?Q.offsetWidth-Q.clientWidth-Be-He:0,V="offsetHeight"in Q?Q.offsetHeight-Q.clientHeight-ge-Fe:0,q="offsetWidth"in Q?Q.offsetWidth===0?0:xe/Q.offsetWidth:0,ae="offsetHeight"in Q?Q.offsetHeight===0?0:ve/Q.offsetHeight:0;if(e===Q)Pe=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"?G:c==="center"?G-f/2:c==="end"?G-f:_(b,b+f,f,Be,He,b+G,b+G+M,M),Pe=Math.max(0,Pe+x),We=Math.max(0,We+b);else{Pe=a==="start"?j-be-ge:a==="end"?j-Ue+Fe+V:a==="nearest"?_(be,Ue,ve,ge,Fe+V,j,j+A,A):j-(be+ve/2)+V/2,We=c==="start"?G-we-Be:c==="center"?G-(we+xe/2)+Ne/2:c==="end"?G-De+He+Ne:_(we,De,xe,Be,He+Ne,G,G+M,M);const{scrollLeft:te,scrollTop:oe}=Q;Pe=ae===0?0:Math.max(0,Math.min(oe+Pe/ae,Q.scrollHeight-ve/ae+V)),We=q===0?0:Math.max(0,Math.min(te+We/q,Q.scrollWidth-xe/q+Ne)),j+=oe-Pe,G+=te-We}Y.push({el:Q,top:Pe,left:We})}return Y},p=E=>E===!1?{block:"end",inline:"nearest"}:(d=>d===Object(d)&&Object.keys(d).length!==0)(E)?E:{block:"start",inline:"nearest"};function m(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,p(d))){const a=r-l.top+l.bottom,c=n-l.left+l.right;g.scroll({top:a,left:c,behavior:o})}}}}]);
|