You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
586 KiB
128 lines
586 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5775],{98280:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return Kn}});function x(_){"@babel/helpers - typeof";return x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},x(_)}function R(_,k){if(x(_)!="object"||!_)return _;var M=_[Symbol.toPrimitive];if(M!==void 0){var ee=M.call(_,k||"default");if(x(ee)!="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(_)}function $(_){var k=R(_,"string");return x(k)=="symbol"?k:k+""}function X(_,k,M){return(k=$(k))in _?Object.defineProperty(_,k,{value:M,enumerable:!0,configurable:!0,writable:!0}):_[k]=M,_}function z(_,k){var M=Object.keys(_);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(_);k&&(ee=ee.filter(function(Ee){return Object.getOwnPropertyDescriptor(_,Ee).enumerable})),M.push.apply(M,ee)}return M}function u(_){for(var k=1;k<arguments.length;k++){var M=arguments[k]!=null?arguments[k]:{};k%2?z(Object(M),!0).forEach(function(ee){X(_,ee,M[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(M)):z(Object(M)).forEach(function(ee){Object.defineProperty(_,ee,Object.getOwnPropertyDescriptor(M,ee))})}return _}function A(_){if(Array.isArray(_))return _}function K(_,k){var M=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(M!=null){var ee,Ee,Ke,Qe,Ct=[],gt=!0,Vt=!1;try{if(Ke=(M=M.call(_)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(ee=Ke.call(M)).done)&&(Ct.push(ee.value),Ct.length!==k);gt=!0);}catch(ot){Vt=!0,Ee=ot}finally{try{if(!gt&&M.return!=null&&(Qe=M.return(),Object(Qe)!==Qe))return}finally{if(Vt)throw Ee}}return Ct}}function e(_,k){(k==null||k>_.length)&&(k=_.length);for(var M=0,ee=Array(k);M<k;M++)ee[M]=_[M];return ee}function p(_,k){if(_){if(typeof _=="string")return e(_,k);var M={}.toString.call(_).slice(8,-1);return M==="Object"&&_.constructor&&(M=_.constructor.name),M==="Map"||M==="Set"?Array.from(_):M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M)?e(_,k):void 0}}function h(){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 t(_,k){return A(_)||K(_,k)||p(_,k)||h()}function o(_,k){if(_==null)return{};var M={};for(var ee in _)if({}.hasOwnProperty.call(_,ee)){if(k.indexOf(ee)!==-1)continue;M[ee]=_[ee]}return M}function s(_,k){if(_==null)return{};var M,ee,Ee=o(_,k);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(_);for(ee=0;ee<Ke.length;ee++)M=Ke[ee],k.indexOf(M)===-1&&{}.propertyIsEnumerable.call(_,M)&&(Ee[M]=_[M])}return Ee}function f(_){if(Array.isArray(_))return _}function v(_,k){var M=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(M!=null){var ee,Ee,Ke,Qe,Ct=[],gt=!0,Vt=!1;try{if(Ke=(M=M.call(_)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(ee=Ke.call(M)).done)&&(Ct.push(ee.value),Ct.length!==k);gt=!0);}catch(ot){Vt=!0,Ee=ot}finally{try{if(!gt&&M.return!=null&&(Qe=M.return(),Object(Qe)!==Qe))return}finally{if(Vt)throw Ee}}return Ct}}function c(_,k){(k==null||k>_.length)&&(k=_.length);for(var M=0,ee=new Array(k);M<k;M++)ee[M]=_[M];return ee}function y(_,k){if(_){if(typeof _=="string")return c(_,k);var M=Object.prototype.toString.call(_).slice(8,-1);if(M==="Object"&&_.constructor&&(M=_.constructor.name),M==="Map"||M==="Set")return Array.from(_);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return c(_,k)}}function g(){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 E(_,k){return f(_)||v(_,k)||y(_,k)||g()}var l=i(67294),d=i.t(l,2),T=i(73935);function Z(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var W={};function H(_,k){}function G(_,k){}function Q(){W={}}function ye(_,k,M){!k&&!W[M]&&(_(!1,M),W[M]=!0)}function C(_,k){ye(H,_,k)}function w(_,k){ye(G,_,k)}var P=null;function I(_){"@babel/helpers - typeof";return I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},I(_)}var L=i(81640);function D(_,k,M){var ee=l.useRef({});return(!("value"in ee.current)||M(ee.current.condition,k))&&(ee.current.value=_(),ee.current.condition=k),ee.current.value}function a(_,k){typeof _=="function"?_(k):I(_)==="object"&&_&&"current"in _&&(_.current=k)}function n(){for(var _=arguments.length,k=new Array(_),M=0;M<_;M++)k[M]=arguments[M];var ee=k.filter(function(Ee){return Ee});return ee.length<=1?ee[0]:function(Ee){k.forEach(function(Ke){a(Ke,Ee)})}}function m(){for(var _=arguments.length,k=new Array(_),M=0;M<_;M++)k[M]=arguments[M];return D(function(){return n.apply(void 0,k)},k,function(ee,Ee){return ee.length===Ee.length&&ee.every(function(Ke,Qe){return Ke===Ee[Qe]})})}function B(_){var k,M,ee=(0,L.isMemo)(_)?_.type.type:_.type;return!(typeof ee=="function"&&!((k=ee.prototype)!==null&&k!==void 0&&k.render)||typeof _=="function"&&!((M=_.prototype)!==null&&M!==void 0&&M.render))}var pe=l.createContext(null),De=pe;function Re(_){if(Array.isArray(_))return c(_)}function qe(_){if(typeof Symbol!="undefined"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function Xe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rt(_){return Re(_)||qe(_)||y(_)||Xe()}var _e=Z()?l.useLayoutEffect:l.useEffect,it=_e,$e=function(k,M){var ee=React.useRef(!0);_e(function(){if(!ee.current)return k()},M),_e(function(){return ee.current=!1,function(){ee.current=!0}},[])},Ze=[];function re(_,k){var M=l.useState(function(){if(!Z())return null;var Jt=document.createElement("div");return Jt}),ee=E(M,1),Ee=ee[0],Ke=l.useRef(!1),Qe=l.useContext(De),Ct=l.useState(Ze),gt=E(Ct,2),Vt=gt[0],ot=gt[1],ft=Qe||(Ke.current?void 0:function(Jt){ot(function(Fn){var En=[Jt].concat(Rt(Fn));return En})});function xt(){Ee.parentElement||document.body.appendChild(Ee),Ke.current=!0}function Ot(){var Jt;(Jt=Ee.parentElement)===null||Jt===void 0||Jt.removeChild(Ee),Ke.current=!1}return it(function(){return _?Qe?Qe(xt):xt():Ot(),Ot},[_]),it(function(){Vt.length&&(Vt.forEach(function(Jt){return Jt()}),ot(Ze))},[Vt]),[Ee,ft]}function Me(_,k){if(!_)return!1;if(_.contains)return _.contains(k);for(var M=k;M;){if(M===_)return!0;M=M.parentNode}return!1}var j="data-rc-order",de="rc-util-key",ae=new Map;function He(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=_.mark;return k?k.startsWith("data-")?k:"data-".concat(k):de}function Le(_){if(_.attachTo)return _.attachTo;var k=document.querySelector("head");return k||document.body}function F(_){return _==="queue"?"prependQueue":_?"prepend":"append"}function O(_){return Array.from((ae.get(_)||_).children).filter(function(k){return k.tagName==="STYLE"})}function te(_){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Z())return null;var M=k.csp,ee=k.prepend,Ee=document.createElement("style");Ee.setAttribute(j,F(ee)),M!=null&&M.nonce&&(Ee.nonce=M==null?void 0:M.nonce),Ee.innerHTML=_;var Ke=Le(k),Qe=Ke.firstChild;if(ee){if(ee==="queue"){var Ct=O(Ke).filter(function(gt){return["prepend","prependQueue"].includes(gt.getAttribute(j))});if(Ct.length)return Ke.insertBefore(Ee,Ct[Ct.length-1].nextSibling),Ee}Ke.insertBefore(Ee,Qe)}else Ke.appendChild(Ee);return Ee}function he(_){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=Le(k);return O(M).find(function(ee){return ee.getAttribute(He(k))===_})}function J(_){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=he(_,k);if(M){var ee=Le(k);ee.removeChild(M)}}function le(_,k){var M=ae.get(_);if(!M||!Me(document,M)){var ee=te("",k),Ee=ee.parentNode;ae.set(_,Ee),_.removeChild(ee)}}function ie(){ae.clear()}function ze(_,k){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=Le(M);le(ee,M);var Ee=he(k,M);if(Ee){var Ke,Qe;if((Ke=M.csp)!==null&&Ke!==void 0&&Ke.nonce&&Ee.nonce!==((Qe=M.csp)===null||Qe===void 0?void 0:Qe.nonce)){var Ct;Ee.nonce=(Ct=M.csp)===null||Ct===void 0?void 0:Ct.nonce}return Ee.innerHTML!==_&&(Ee.innerHTML=_),Ee}var gt=te(_,M);return gt.setAttribute(He(M),k),gt}var Fe;function lt(_){if(typeof document=="undefined")return 0;if(_||Fe===void 0){var k=document.createElement("div");k.style.width="100%",k.style.height="200px";var M=document.createElement("div"),ee=M.style;ee.position="absolute",ee.top="0",ee.left="0",ee.pointerEvents="none",ee.visibility="hidden",ee.width="200px",ee.height="150px",ee.overflow="hidden",M.appendChild(k),document.body.appendChild(M);var Ee=k.offsetWidth;M.style.overflow="scroll";var Ke=k.offsetWidth;Ee===Ke&&(Ke=M.clientWidth),document.body.removeChild(M),Fe=Ee-Ke}return Fe}function dt(_){var k=_.match(/^(.*)px$/),M=Number(k==null?void 0:k[1]);return Number.isNaN(M)?lt():M}function At(_){if(typeof document=="undefined"||!_||!(_ instanceof Element))return{width:0,height:0};var k=getComputedStyle(_,"::-webkit-scrollbar"),M=k.width,ee=k.height;return{width:dt(M),height:dt(ee)}}function Ge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ae="rc-util-locker-".concat(Date.now()),ue=0;function Pe(_){var k=!!_,M=l.useState(function(){return ue+=1,"".concat(Ae,"_").concat(ue)}),ee=E(M,1),Ee=ee[0];it(function(){if(k){var Ke=At(document.body).width,Qe=Ge();ze(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(Qe?"width: calc(100% - ".concat(Ke,"px);"):"",`
|
|
}`),Ee)}else J(Ee);return function(){J(Ee)}},[k,Ee])}var ke=!1;function Ye(_){return typeof _=="boolean"&&(ke=_),ke}var st=function(k){return k===!1?!1:!Z()||!k?null:typeof k=="string"?document.querySelector(k):typeof k=="function"?k():k},wt=l.forwardRef(function(_,k){var M=_.open,ee=_.autoLock,Ee=_.getContainer,Ke=_.debug,Qe=_.autoDestroy,Ct=Qe===void 0?!0:Qe,gt=_.children,Vt=l.useState(M),ot=E(Vt,2),ft=ot[0],xt=ot[1],Ot=ft||M;l.useEffect(function(){(Ct||M)&&xt(M)},[M,Ct]);var Jt=l.useState(function(){return st(Ee)}),Fn=E(Jt,2),En=Fn[0],Bn=Fn[1];l.useEffect(function(){var Nr=st(Ee);Bn(Nr!=null?Nr:null)});var Wn=re(Ot&&!En,Ke),An=E(Wn,2),rr=An[0],sr=An[1],cn=En!=null?En:rr;Pe(ee&&M&&Z()&&(cn===rr||cn===document.body));var Ir=null;if(gt&&B(gt)&&k){var gr=gt;Ir=gr.ref}var xr=m(Ir,k);if(!Ot||!Z()||En===void 0)return null;var ra=cn===!1||Ye(),Rr=gt;return k&&(Rr=l.cloneElement(gt,{ref:xr})),l.createElement(De.Provider,{value:sr},ra?Rr:(0,T.createPortal)(Rr,cn))}),Be=wt,ut=Be,kt=i(94184),vt=i.n(kt),nt=i(48555);function bt(_){return _ instanceof HTMLElement||_ instanceof SVGElement}function tn(_){return _&&_typeof(_)==="object"&&bt(_.nativeElement)?_.nativeElement:bt(_)?_:null}function rn(_){var k=tn(_);if(k)return k;if(_ instanceof React.Component){var M;return(M=ReactDOM.findDOMNode)===null||M===void 0?void 0:M.call(ReactDOM,_)}return null}function Yt(_){var k;return _==null||(k=_.getRootNode)===null||k===void 0?void 0:k.call(_)}function se(_){return Yt(_)instanceof ShadowRoot}function Oe(_){return se(_)?Yt(_):null}function ge(_){var k=l.useRef();k.current=_;var M=l.useCallback(function(){for(var ee,Ee=arguments.length,Ke=new Array(Ee),Qe=0;Qe<Ee;Qe++)Ke[Qe]=arguments[Qe];return(ee=k.current)===null||ee===void 0?void 0:ee.call.apply(ee,[k].concat(Ke))},[]);return M}function ve(_){if(Array.isArray(_))return _}function rt(_,k){var M=_==null?null:typeof Symbol!="undefined"&&_[Symbol.iterator]||_["@@iterator"];if(M!=null){var ee,Ee,Ke,Qe,Ct=[],gt=!0,Vt=!1;try{if(Ke=(M=M.call(_)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(ee=Ke.call(M)).done)&&(Ct.push(ee.value),Ct.length!==k);gt=!0);}catch(ot){Vt=!0,Ee=ot}finally{try{if(!gt&&M.return!=null&&(Qe=M.return(),Object(Qe)!==Qe))return}finally{if(Vt)throw Ee}}return Ct}}function tt(_,k){(k==null||k>_.length)&&(k=_.length);for(var M=0,ee=new Array(k);M<k;M++)ee[M]=_[M];return ee}function ht(_,k){if(_){if(typeof _=="string")return tt(_,k);var M=Object.prototype.toString.call(_).slice(8,-1);if(M==="Object"&&_.constructor&&(M=_.constructor.name),M==="Map"||M==="Set")return Array.from(_);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return tt(_,k)}}function Nt(){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 Ht(_,k){return ve(_)||rt(_,k)||ht(_,k)||Nt()}function Kt(_){"@babel/helpers - typeof";return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},Kt(_)}function Pt(_,k){if(Kt(_)!=="object"||_===null)return _;var M=_[Symbol.toPrimitive];if(M!==void 0){var ee=M.call(_,k||"default");if(Kt(ee)!=="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(_)}function mt(_){var k=Pt(_,"string");return Kt(k)==="symbol"?k:String(k)}function jt(_,k,M){return k=mt(k),k in _?Object.defineProperty(_,k,{value:M,enumerable:!0,configurable:!0,writable:!0}):_[k]=M,_}function Lt(_,k){var M=Object.keys(_);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(_);k&&(ee=ee.filter(function(Ee){return Object.getOwnPropertyDescriptor(_,Ee).enumerable})),M.push.apply(M,ee)}return M}function Bt(_){for(var k=1;k<arguments.length;k++){var M=arguments[k]!=null?arguments[k]:{};k%2?Lt(Object(M),!0).forEach(function(ee){jt(_,ee,M[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(M)):Lt(Object(M)).forEach(function(ee){Object.defineProperty(_,ee,Object.getOwnPropertyDescriptor(M,ee))})}return _}function pt(){var _=Bt({},d);return _.useId}var Ue=0;function et(){}var Tt=pt(),nn=Tt?function(k){var M=Tt();return k||M}:function(k){var M=l.useState("ssr-id"),ee=Ht(M,2),Ee=ee[0],Ke=ee[1];return l.useEffect(function(){var Qe=Ue;Ue+=1,Ke("rc_unique_".concat(Qe))},[]),k||Ee};function fn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Zn=fn()?l.useLayoutEffect:l.useEffect,ir=function(k,M){var ee=l.useRef(!0);Zn(function(){return k(ee.current)},M),Zn(function(){return ee.current=!1,function(){ee.current=!0}},[])},kn=function(k,M){ir(function(ee){if(!ee)return k()},M)},mn=ir,On=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var _=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(_)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(_==null?void 0:_.substr(0,4))};function Gn(){return Gn=Object.assign?Object.assign.bind():function(_){for(var k=1;k<arguments.length;k++){var M=arguments[k];for(var ee in M)({}).hasOwnProperty.call(M,ee)&&(_[ee]=M[ee])}return _},Gn.apply(null,arguments)}var an=i(62874),zn=i(52481);function Dn(_,k,M){var ee=l.useRef({});return(!("value"in ee.current)||M(ee.current.condition,k))&&(ee.current.value=_(),ee.current.condition=k),ee.current.value}var ln=Symbol.for("react.element"),gn=Symbol.for("react.transitional.element"),yn=Symbol.for("react.fragment");function Sn(_){return _&&Kt(_)==="object"&&(_.$$typeof===ln||_.$$typeof===gn)&&_.type===yn}var hn=Number(l.version.split(".")[0]),Mn=function(k,M){typeof k=="function"?k(M):Kt(k)==="object"&&k&&"current"in k&&(k.current=M)},Un=function(){for(var k=arguments.length,M=new Array(k),ee=0;ee<k;ee++)M[ee]=arguments[ee];var Ee=M.filter(Boolean);return Ee.length<=1?Ee[0]:function(Ke){M.forEach(function(Qe){Mn(Qe,Ke)})}},er=function(){for(var k=arguments.length,M=new Array(k),ee=0;ee<k;ee++)M[ee]=arguments[ee];return Dn(function(){return Un.apply(void 0,M)},M,function(Ee,Ke){return Ee.length!==Ke.length||Ee.every(function(Qe,Ct){return Qe!==Ke[Ct]})})},ur=function(k){var M,ee;if(!k)return!1;if(Sr(k)&&hn>=19)return!0;var Ee=(0,zn.isMemo)(k)?k.type.type:k.type;return!(typeof Ee=="function"&&!((M=Ee.prototype)!==null&&M!==void 0&&M.render)&&Ee.$$typeof!==zn.ForwardRef||typeof k=="function"&&!((ee=k.prototype)!==null&&ee!==void 0&&ee.render)&&k.$$typeof!==zn.ForwardRef)};function Sr(_){return(0,l.isValidElement)(_)&&!Sn(_)}var Ea=function(k){return Sr(k)&&ur(k)},Wa=function(k){if(k&&Sr(k)){var M=k;return M.props.propertyIsEnumerable("ref")?M.props.ref:M.ref}return null};function Er(_){var k=_.prefixCls,M=_.align,ee=_.arrow,Ee=_.arrowPos,Ke=ee||{},Qe=Ke.className,Ct=Ke.content,gt=Ee.x,Vt=gt===void 0?0:gt,ot=Ee.y,ft=ot===void 0?0:ot,xt=l.useRef();if(!M||!M.points)return null;var Ot={position:"absolute"};if(M.autoArrow!==!1){var Jt=M.points[0],Fn=M.points[1],En=Jt[0],Bn=Jt[1],Wn=Fn[0],An=Fn[1];En===Wn||!["t","b"].includes(En)?Ot.top=ft:En==="t"?Ot.top=0:Ot.bottom=0,Bn===An||!["l","r"].includes(Bn)?Ot.left=Vt:Bn==="l"?Ot.left=0:Ot.right=0}return l.createElement("div",{ref:xt,className:vt()("".concat(k,"-arrow"),Qe),style:Ot},Ct)}function Ja(_){var k=_.prefixCls,M=_.open,ee=_.zIndex,Ee=_.mask,Ke=_.motion;return Ee?l.createElement(an.Z,Gn({},Ke,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(Qe){var Ct=Qe.className;return l.createElement("div",{style:{zIndex:ee},className:vt()("".concat(k,"-mask"),Ct)})}):null}var qa=l.memo(function(_){var k=_.children;return k},function(_,k){return k.cache}),Ta=qa,Or=l.forwardRef(function(_,k){var M=_.popup,ee=_.className,Ee=_.prefixCls,Ke=_.style,Qe=_.target,Ct=_.onVisibleChanged,gt=_.open,Vt=_.keepDom,ot=_.fresh,ft=_.onClick,xt=_.mask,Ot=_.arrow,Jt=_.arrowPos,Fn=_.align,En=_.motion,Bn=_.maskMotion,Wn=_.forceRender,An=_.getPopupContainer,rr=_.autoDestroy,sr=_.portal,cn=_.zIndex,Ir=_.onMouseEnter,gr=_.onMouseLeave,xr=_.onPointerEnter,ra=_.onPointerDownCapture,Rr=_.ready,Nr=_.offsetX,pr=_.offsetY,Pr=_.offsetR,zr=_.offsetB,Jr=_.onAlign,qr=_.onPrepare,yr=_.stretch,Lr=_.targetWidth,Jn=_.targetHeight,ua=typeof M=="function"?M():M,aa=gt||Vt,Ar=(An==null?void 0:An.length)>0,Yn=l.useState(!An||!Ar),ia=t(Yn,2),Oa=ia[0],Sa=ia[1];if(mn(function(){!Oa&&Ar&&Qe&&Sa(!0)},[Oa,Ar,Qe]),!Oa)return null;var Zr="auto",br={left:"-1000vw",top:"-1000vh",right:Zr,bottom:Zr};if(Rr||!gt){var Ca,Za=Fn.points,Mr=Fn.dynamicInset||((Ca=Fn._experimental)===null||Ca===void 0?void 0:Ca.dynamicInset),ea=Mr&&Za[0][1]==="r",Kr=Mr&&Za[0][0]==="b";ea?(br.right=Pr,br.left=Zr):(br.left=Nr,br.right=Zr),Kr?(br.bottom=zr,br.top=Zr):(br.top=pr,br.bottom=Zr)}var Tr={};return yr&&(yr.includes("height")&&Jn?Tr.height=Jn:yr.includes("minHeight")&&Jn&&(Tr.minHeight=Jn),yr.includes("width")&&Lr?Tr.width=Lr:yr.includes("minWidth")&&Lr&&(Tr.minWidth=Lr)),gt||(Tr.pointerEvents="none"),l.createElement(sr,{open:Wn||aa,getContainer:An&&function(){return An(Qe)},autoDestroy:rr},l.createElement(Ja,{prefixCls:Ee,open:gt,zIndex:cn,mask:xt,motion:Bn}),l.createElement(nt.Z,{onResize:Jr,disabled:!gt},function(sa){return l.createElement(an.Z,Gn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Wn,leavedClassName:"".concat(Ee,"-hidden")},En,{onAppearPrepare:qr,onEnterPrepare:qr,visible:gt,onVisibleChanged:function(Ur){var lr;En==null||(lr=En.onVisibleChanged)===null||lr===void 0||lr.call(En,Ur),Ct(Ur)}}),function(la,Ur){var lr=la.className,cr=la.style,Wr=vt()(Ee,lr,ee);return l.createElement("div",{ref:Un(sa,k,Ur),className:Wr,style:u(u(u(u({"--arrow-x":"".concat(Jt.x||0,"px"),"--arrow-y":"".concat(Jt.y||0,"px")},br),Tr),cr),{},{boxSizing:"border-box",zIndex:cn},Ke),onMouseEnter:Ir,onMouseLeave:gr,onPointerEnter:xr,onClick:ft,onPointerDownCapture:ra},Ot&&l.createElement(Er,{prefixCls:Ee,arrow:Ot,arrowPos:Jt,align:Fn}),l.createElement(Ta,{cache:!gt&&!ot},ua))})}))}),Yr=Or,Br=l.forwardRef(function(_,k){var M=_.children,ee=_.getTriggerDOMNode,Ee=ur(M),Ke=l.useCallback(function(Ct){Mn(k,ee?ee(Ct):Ct)},[ee]),Qe=er(Ke,Wa(M));return Ee?l.cloneElement(M,{ref:Qe}):M}),jr=Br,_a=l.createContext(null),oa=_a;function dr(_){return _?Array.isArray(_)?_:[_]:[]}function Cr(_,k,M,ee){return l.useMemo(function(){var Ee=dr(M!=null?M:k),Ke=dr(ee!=null?ee:k),Qe=new Set(Ee),Ct=new Set(Ke);return _&&(Qe.has("hover")&&(Qe.delete("hover"),Qe.add("click")),Ct.has("hover")&&(Ct.delete("hover"),Ct.add("click"))),[Qe,Ct]},[_,k,M,ee])}var La=function(_){if(!_)return!1;if(_ instanceof Element){if(_.offsetParent)return!0;if(_.getBBox){var k=_.getBBox(),M=k.width,ee=k.height;if(M||ee)return!0}if(_.getBoundingClientRect){var Ee=_.getBoundingClientRect(),Ke=Ee.width,Qe=Ee.height;if(Ke||Qe)return!0}}return!1};function ma(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?_[0]===k[0]:_[0]===k[0]&&_[1]===k[1]}function fi(_,k,M,ee){for(var Ee=M.points,Ke=Object.keys(_),Qe=0;Qe<Ke.length;Qe+=1){var Ct,gt=Ke[Qe];if(ma((Ct=_[gt])===null||Ct===void 0?void 0:Ct.points,Ee,ee))return"".concat(k,"-placement-").concat(gt)}return""}function da(_,k,M,ee){return k||(M?{motionName:"".concat(_,"-").concat(M)}:ee?{motionName:ee}:null)}function ha(_){return _.ownerDocument.defaultView}function ga(_){for(var k=[],M=_==null?void 0:_.parentElement,ee=["hidden","scroll","clip","auto"];M;){var Ee=ha(M).getComputedStyle(M),Ke=Ee.overflowX,Qe=Ee.overflowY,Ct=Ee.overflow;[Ke,Qe,Ct].some(function(gt){return ee.includes(gt)})&&k.push(M),M=M.parentElement}return k}function na(_){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(_)?k:_}function hr(_){return na(parseFloat(_),0)}function $r(_,k){var M=u({},_);return(k||[]).forEach(function(ee){if(!(ee instanceof HTMLBodyElement||ee instanceof HTMLHtmlElement)){var Ee=ha(ee).getComputedStyle(ee),Ke=Ee.overflow,Qe=Ee.overflowClipMargin,Ct=Ee.borderTopWidth,gt=Ee.borderBottomWidth,Vt=Ee.borderLeftWidth,ot=Ee.borderRightWidth,ft=ee.getBoundingClientRect(),xt=ee.offsetHeight,Ot=ee.clientHeight,Jt=ee.offsetWidth,Fn=ee.clientWidth,En=hr(Ct),Bn=hr(gt),Wn=hr(Vt),An=hr(ot),rr=na(Math.round(ft.width/Jt*1e3)/1e3),sr=na(Math.round(ft.height/xt*1e3)/1e3),cn=(Jt-Fn-Wn-An)*rr,Ir=(xt-Ot-En-Bn)*sr,gr=En*sr,xr=Bn*sr,ra=Wn*rr,Rr=An*rr,Nr=0,pr=0;if(Ke==="clip"){var Pr=hr(Qe);Nr=Pr*rr,pr=Pr*sr}var zr=ft.x+ra-Nr,Jr=ft.y+gr-pr,qr=zr+ft.width+2*Nr-ra-Rr-cn,yr=Jr+ft.height+2*pr-gr-xr-Ir;M.left=Math.max(M.left,zr),M.top=Math.max(M.top,Jr),M.right=Math.min(M.right,qr),M.bottom=Math.min(M.bottom,yr)}}),M}function ka(_){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(k),ee=M.match(/^(.*)\%$/);return ee?_*(parseFloat(ee[1])/100):parseFloat(M)}function ei(_,k){var M=k||[],ee=t(M,2),Ee=ee[0],Ke=ee[1];return[ka(_.width,Ee),ka(_.height,Ke)]}function di(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[_[0],_[1]]}function Qr(_,k){var M=k[0],ee=k[1],Ee,Ke;return M==="t"?Ke=_.y:M==="b"?Ke=_.y+_.height:Ke=_.y+_.height/2,ee==="l"?Ee=_.x:ee==="r"?Ee=_.x+_.width:Ee=_.x+_.width/2,{x:Ee,y:Ke}}function Dr(_,k){var M={t:"b",b:"t",l:"r",r:"l"};return _.map(function(ee,Ee){return Ee===k?M[ee]||"c":ee}).join("")}function hi(_,k,M,ee,Ee,Ke,Qe){var Ct=l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ee[ee]||{}}),gt=t(Ct,2),Vt=gt[0],ot=gt[1],ft=l.useRef(0),xt=l.useMemo(function(){return k?ga(k):[]},[k]),Ot=l.useRef({}),Jt=function(){Ot.current={}};_||Jt();var Fn=ge(function(){if(k&&M&&_){let Gt=function(Ln,wr){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ha,Gr=Yn.x+Ln,va=Yn.y+wr,ba=Gr+ea,fr=va+Mr,Vn=Math.max(Gr,jn.left),_t=Math.max(va,jn.top),Ut=Math.min(ba,jn.right),qt=Math.min(fr,jn.bottom);return Math.max(0,(Ut-Vn)*(qt-_t))},Pn=function(){oi=Yn.y+mr,Ya=oi+Mr,ai=Yn.x+_r,gi=ai+ea};var Wn,An,rr,sr,cn=k,Ir=cn.ownerDocument,gr=ha(cn),xr=gr.getComputedStyle(cn),ra=xr.width,Rr=xr.height,Nr=xr.position,pr=cn.style.left,Pr=cn.style.top,zr=cn.style.right,Jr=cn.style.bottom,qr=cn.style.overflow,yr=u(u({},Ee[ee]),Ke),Lr=Ir.createElement("div");(Wn=cn.parentElement)===null||Wn===void 0||Wn.appendChild(Lr),Lr.style.left="".concat(cn.offsetLeft,"px"),Lr.style.top="".concat(cn.offsetTop,"px"),Lr.style.position=Nr,Lr.style.height="".concat(cn.offsetHeight,"px"),Lr.style.width="".concat(cn.offsetWidth,"px"),cn.style.left="0",cn.style.top="0",cn.style.right="auto",cn.style.bottom="auto",cn.style.overflow="hidden";var Jn;if(Array.isArray(M))Jn={x:M[0],y:M[1],width:0,height:0};else{var ua,aa,Ar=M.getBoundingClientRect();Ar.x=(ua=Ar.x)!==null&&ua!==void 0?ua:Ar.left,Ar.y=(aa=Ar.y)!==null&&aa!==void 0?aa:Ar.top,Jn={x:Ar.x,y:Ar.y,width:Ar.width,height:Ar.height}}var Yn=cn.getBoundingClientRect();Yn.x=(An=Yn.x)!==null&&An!==void 0?An:Yn.left,Yn.y=(rr=Yn.y)!==null&&rr!==void 0?rr:Yn.top;var ia=Ir.documentElement,Oa=ia.clientWidth,Sa=ia.clientHeight,Zr=ia.scrollWidth,br=ia.scrollHeight,Ca=ia.scrollTop,Za=ia.scrollLeft,Mr=Yn.height,ea=Yn.width,Kr=Jn.height,Tr=Jn.width,sa={left:0,top:0,right:Oa,bottom:Sa},la={left:-Za,top:-Ca,right:Zr-Za,bottom:br-Ca},Ur=yr.htmlRegion,lr="visible",cr="visibleFirst";Ur!=="scroll"&&Ur!==cr&&(Ur=lr);var Wr=Ur===cr,vi=$r(la,xt),or=$r(sa,xt),Ha=Ur===lr?or:vi,ti=Wr?or:Ha;cn.style.left="auto",cn.style.top="auto",cn.style.right="0",cn.style.bottom="0";var Hr=cn.getBoundingClientRect();cn.style.left=pr,cn.style.top=Pr,cn.style.right=zr,cn.style.bottom=Jr,cn.style.overflow=qr,(sr=cn.parentElement)===null||sr===void 0||sr.removeChild(Lr);var Ka=na(Math.round(ea/parseFloat(ra)*1e3)/1e3),ya=na(Math.round(Mr/parseFloat(Rr)*1e3)/1e3);if(Ka===0||ya===0||bt(M)&&!La(M))return;var Va=yr.offset,xn=yr.targetOffset,Xn=ei(Yn,Va),ar=t(Xn,2),kr=ar[0],vr=ar[1],Ai=ei(Jn,xn),_i=t(Ai,2),Ra=_i[0],ii=_i[1];Jn.x-=Ra,Jn.y-=ii;var Ui=yr.points||[],Mi=t(Ui,2),Li=Mi[0],mi=Mi[1],$a=di(mi),pa=di(Li),Fa=Qr(Jn,$a),ca=Qr(Yn,pa),Ga=u({},yr),_r=Fa.x-ca.x+kr,mr=Fa.y-ca.y+vr,Na=Gt(_r,mr),ni=Gt(_r,mr,or),Ti=Qr(Jn,["t","l"]),Da=Qr(Yn,["t","l"]),Zi=Qr(Jn,["b","r"]),ki=Qr(Yn,["b","r"]),ri=yr.overflow||{},si=ri.adjustX,Ei=ri.adjustY,Oi=ri.shiftX,xi=ri.shiftY,Di=function(wr){return typeof wr=="boolean"?wr:wr>=0},oi,Ya,ai,gi;Pn();var Si=Di(Ei),Ki=pa[0]===$a[0];if(Si&&pa[0]==="t"&&(Ya>ti.bottom||Ot.current.bt)){var r=mr;Ki?r-=Mr-Kr:r=Ti.y-ki.y-vr;var b=Gt(_r,r),S=Gt(_r,r,or);b>Na||b===Na&&(!Wr||S>=ni)?(Ot.current.bt=!0,mr=r,vr=-vr,Ga.points=[Dr(pa,0),Dr($a,0)]):Ot.current.bt=!1}if(Si&&pa[0]==="b"&&(oi<ti.top||Ot.current.tb)){var N=mr;Ki?N+=Mr-Kr:N=Zi.y-Da.y-vr;var U=Gt(_r,N),V=Gt(_r,N,or);U>Na||U===Na&&(!Wr||V>=ni)?(Ot.current.tb=!0,mr=N,vr=-vr,Ga.points=[Dr(pa,0),Dr($a,0)]):Ot.current.tb=!1}var Y=Di(si),ne=pa[1]===$a[1];if(Y&&pa[1]==="l"&&(gi>ti.right||Ot.current.rl)){var ce=_r;ne?ce-=ea-Tr:ce=Ti.x-ki.x-kr;var oe=Gt(ce,mr),Ne=Gt(ce,mr,or);oe>Na||oe===Na&&(!Wr||Ne>=ni)?(Ot.current.rl=!0,_r=ce,kr=-kr,Ga.points=[Dr(pa,1),Dr($a,1)]):Ot.current.rl=!1}if(Y&&pa[1]==="r"&&(ai<ti.left||Ot.current.lr)){var fe=_r;ne?fe+=ea-Tr:fe=Zi.x-Da.x-kr;var Se=Gt(fe,mr),be=Gt(fe,mr,or);Se>Na||Se===Na&&(!Wr||be>=ni)?(Ot.current.lr=!0,_r=fe,kr=-kr,Ga.points=[Dr(pa,1),Dr($a,1)]):Ot.current.lr=!1}Pn();var Te=Oi===!0?0:Oi;typeof Te=="number"&&(ai<or.left&&(_r-=ai-or.left-kr,Jn.x+Tr<or.left+Te&&(_r+=Jn.x-or.left+Tr-Te)),gi>or.right&&(_r-=gi-or.right-kr,Jn.x>or.right-Te&&(_r+=Jn.x-or.right+Te)));var Ve=xi===!0?0:xi;typeof Ve=="number"&&(oi<or.top&&(mr-=oi-or.top-vr,Jn.y+Kr<or.top+Ve&&(mr+=Jn.y-or.top+Kr-Ve)),Ya>or.bottom&&(mr-=Ya-or.bottom-vr,Jn.y>or.bottom-Ve&&(mr+=Jn.y-or.bottom+Ve)));var ct=Yn.x+_r,Et=ct+ea,at=Yn.y+mr,yt=at+Mr,Dt=Jn.x,Xt=Dt+Tr,vn=Jn.y,Wt=vn+Kr,_n=Math.max(ct,Dt),wn=Math.min(Et,Xt),Nn=(_n+wn)/2,Hn=Nn-ct,bn=Math.max(at,vn),on=Math.min(yt,Wt),$t=(bn+on)/2,Mt=$t-at;Qe==null||Qe(k,Ga);var It=Hr.right-Yn.x-(_r+Yn.width),zt=Hr.bottom-Yn.y-(mr+Yn.height);Ka===1&&(_r=Math.round(_r),It=Math.round(It)),ya===1&&(mr=Math.round(mr),zt=Math.round(zt));var sn={ready:!0,offsetX:_r/Ka,offsetY:mr/ya,offsetR:It/Ka,offsetB:zt/ya,arrowX:Hn/Ka,arrowY:Mt/ya,scaleX:Ka,scaleY:ya,align:Ga};ot(sn)}}),En=function(){ft.current+=1;var An=ft.current;Promise.resolve().then(function(){ft.current===An&&Fn()})},Bn=function(){ot(function(An){return u(u({},An),{},{ready:!1})})};return mn(Bn,[ee]),mn(function(){_||Bn()},[_]),[Vt.ready,Vt.offsetX,Vt.offsetY,Vt.offsetR,Vt.offsetB,Vt.arrowX,Vt.arrowY,Vt.scaleX,Vt.scaleY,Vt.align,En]}function xa(_){if(Array.isArray(_))return e(_)}function pi(_){if(typeof Symbol!="undefined"&&_[Symbol.iterator]!=null||_["@@iterator"]!=null)return Array.from(_)}function q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(_){return xa(_)||pi(_)||p(_)||q()}function Ie(_,k,M,ee,Ee){mn(function(){if(_&&k&&M){let ft=function(){ee(),Ee()};var Ke=k,Qe=M,Ct=ga(Ke),gt=ga(Qe),Vt=ha(Qe),ot=new Set([Vt].concat(we(Ct),we(gt)));return ot.forEach(function(xt){xt.addEventListener("scroll",ft,{passive:!0})}),Vt.addEventListener("resize",ft,{passive:!0}),ee(),function(){ot.forEach(function(xt){xt.removeEventListener("scroll",ft),Vt.removeEventListener("resize",ft)})}}},[_,k,M])}var me={},je=[],We=function(k){je.push(k)};function xe(_,k){if(0)var M}function Je(_,k){if(0)var M}function Ft(){me={}}function Zt(_,k,M){!k&&!me[M]&&(_(!1,M),me[M]=!0)}function Cn(_,k){Zt(xe,_,k)}function pn(_,k){Zt(Je,_,k)}Cn.preMessage=We,Cn.resetWarned=Ft,Cn.noteOnce=pn;var In=null;function Qn(_,k,M,ee,Ee,Ke,Qe,Ct){var gt=l.useRef(_);gt.current=_;var Vt=l.useRef(!1);l.useEffect(function(){if(k&&ee&&(!Ee||Ke)){var ft=function(){Vt.current=!1},xt=function(rr){var sr;gt.current&&!Qe(((sr=rr.composedPath)===null||sr===void 0||(sr=sr.call(rr))===null||sr===void 0?void 0:sr[0])||rr.target)&&!Vt.current&&Ct(!1)},Ot=ha(ee);Ot.addEventListener("pointerdown",ft,!0),Ot.addEventListener("mousedown",xt,!0),Ot.addEventListener("contextmenu",xt,!0);var Jt=Oe(M);if(Jt&&(Jt.addEventListener("mousedown",xt,!0),Jt.addEventListener("contextmenu",xt,!0)),0)var Fn,En,Bn,Wn;return function(){Ot.removeEventListener("pointerdown",ft,!0),Ot.removeEventListener("mousedown",xt,!0),Ot.removeEventListener("contextmenu",xt,!0),Jt&&(Jt.removeEventListener("mousedown",xt,!0),Jt.removeEventListener("contextmenu",xt,!0))}}},[k,M,ee,Ee,Ke]);function ot(){Vt.current=!0}return ot}var Rn=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function nr(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ut,k=l.forwardRef(function(M,ee){var Ee=M.prefixCls,Ke=Ee===void 0?"rc-trigger-popup":Ee,Qe=M.children,Ct=M.action,gt=Ct===void 0?"hover":Ct,Vt=M.showAction,ot=M.hideAction,ft=M.popupVisible,xt=M.defaultPopupVisible,Ot=M.onPopupVisibleChange,Jt=M.afterPopupVisibleChange,Fn=M.mouseEnterDelay,En=M.mouseLeaveDelay,Bn=En===void 0?.1:En,Wn=M.focusDelay,An=M.blurDelay,rr=M.mask,sr=M.maskClosable,cn=sr===void 0?!0:sr,Ir=M.getPopupContainer,gr=M.forceRender,xr=M.autoDestroy,ra=M.destroyPopupOnHide,Rr=M.popup,Nr=M.popupClassName,pr=M.popupStyle,Pr=M.popupPlacement,zr=M.builtinPlacements,Jr=zr===void 0?{}:zr,qr=M.popupAlign,yr=M.zIndex,Lr=M.stretch,Jn=M.getPopupClassNameFromAlign,ua=M.fresh,aa=M.alignPoint,Ar=M.onPopupClick,Yn=M.onPopupAlign,ia=M.arrow,Oa=M.popupMotion,Sa=M.maskMotion,Zr=M.popupTransitionName,br=M.popupAnimation,Ca=M.maskTransitionName,Za=M.maskAnimation,Mr=M.className,ea=M.getTriggerDOMNode,Kr=s(M,Rn),Tr=xr||ra||!1,sa=l.useState(!1),la=t(sa,2),Ur=la[0],lr=la[1];mn(function(){lr(On())},[]);var cr=l.useRef({}),Wr=l.useContext(oa),vi=l.useMemo(function(){return{registerSubPopup:function(Ut,qt){cr.current[Ut]=qt,Wr==null||Wr.registerSubPopup(Ut,qt)}}},[Wr]),or=nn(),Ha=l.useState(null),ti=t(Ha,2),Hr=ti[0],Ka=ti[1],ya=l.useRef(null),Va=ge(function(_t){ya.current=_t,bt(_t)&&Hr!==_t&&Ka(_t),Wr==null||Wr.registerSubPopup(or,_t)}),xn=l.useState(null),Xn=t(xn,2),ar=Xn[0],kr=Xn[1],vr=l.useRef(null),Ai=ge(function(_t){bt(_t)&&ar!==_t&&(kr(_t),vr.current=_t)}),_i=l.Children.only(Qe),Ra=(_i==null?void 0:_i.props)||{},ii={},Ui=ge(function(_t){var Ut,qt,en=ar;return(en==null?void 0:en.contains(_t))||((Ut=Oe(en))===null||Ut===void 0?void 0:Ut.host)===_t||_t===en||(Hr==null?void 0:Hr.contains(_t))||((qt=Oe(Hr))===null||qt===void 0?void 0:qt.host)===_t||_t===Hr||Object.values(cr.current).some(function(un){return(un==null?void 0:un.contains(_t))||_t===un})}),Mi=da(Ke,Oa,br,Zr),Li=da(Ke,Sa,Za,Ca),mi=l.useState(xt||!1),$a=t(mi,2),pa=$a[0],Fa=$a[1],ca=ft!=null?ft:pa,Ga=ge(function(_t){ft===void 0&&Fa(_t)});mn(function(){Fa(ft||!1)},[ft]);var _r=l.useRef(ca);_r.current=ca;var mr=l.useRef([]);mr.current=[];var Na=ge(function(_t){var Ut;Ga(_t),((Ut=mr.current[mr.current.length-1])!==null&&Ut!==void 0?Ut:ca)!==_t&&(mr.current.push(_t),Ot==null||Ot(_t))}),ni=l.useRef(),Ti=function(){clearTimeout(ni.current)},Da=function(Ut){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ti(),qt===0?Na(Ut):ni.current=setTimeout(function(){Na(Ut)},qt*1e3)};l.useEffect(function(){return Ti},[]);var Zi=l.useState(!1),ki=t(Zi,2),ri=ki[0],si=ki[1];mn(function(_t){(!_t||ca)&&si(!0)},[ca]);var Ei=l.useState(null),Oi=t(Ei,2),xi=Oi[0],Di=Oi[1],oi=l.useState(null),Ya=t(oi,2),ai=Ya[0],gi=Ya[1],Si=function(Ut){gi([Ut.clientX,Ut.clientY])},Ki=hi(ca,Hr,aa&&ai!==null?ai:ar,Pr,Jr,qr,Yn),r=t(Ki,11),b=r[0],S=r[1],N=r[2],U=r[3],V=r[4],Y=r[5],ne=r[6],ce=r[7],oe=r[8],Ne=r[9],fe=r[10],Se=Cr(Ur,gt,Vt,ot),be=t(Se,2),Te=be[0],Ve=be[1],ct=Te.has("click"),Et=Ve.has("click")||Ve.has("contextMenu"),at=ge(function(){ri||fe()}),yt=function(){_r.current&&aa&&Et&&Da(!1)};Ie(ca,ar,Hr,at,yt),mn(function(){at()},[ai,Pr]),mn(function(){ca&&!(Jr!=null&&Jr[Pr])&&at()},[JSON.stringify(qr)]);var Dt=l.useMemo(function(){var _t=fi(Jr,Ke,Ne,aa);return vt()(_t,Jn==null?void 0:Jn(Ne))},[Ne,Jn,Jr,Ke,aa]);l.useImperativeHandle(ee,function(){return{nativeElement:vr.current,popupElement:ya.current,forceAlign:at}});var Xt=l.useState(0),vn=t(Xt,2),Wt=vn[0],_n=vn[1],wn=l.useState(0),Nn=t(wn,2),Hn=Nn[0],bn=Nn[1],on=function(){if(Lr&&ar){var Ut=ar.getBoundingClientRect();_n(Ut.width),bn(Ut.height)}},$t=function(){on(),at()},Mt=function(Ut){si(!1),fe(),Jt==null||Jt(Ut)},It=function(){return new Promise(function(Ut){on(),Di(function(){return Ut})})};mn(function(){xi&&(fe(),xi(),Di(null))},[xi]);function zt(_t,Ut,qt,en){ii[_t]=function(un){var Xr;en==null||en(un),Da(Ut,qt);for(var Ba=arguments.length,Ia=new Array(Ba>1?Ba-1:0),Pa=1;Pa<Ba;Pa++)Ia[Pa-1]=arguments[Pa];(Xr=Ra[_t])===null||Xr===void 0||Xr.call.apply(Xr,[Ra,un].concat(Ia))}}(ct||Et)&&(ii.onClick=function(_t){var Ut;_r.current&&Et?Da(!1):!_r.current&&ct&&(Si(_t),Da(!0));for(var qt=arguments.length,en=new Array(qt>1?qt-1:0),un=1;un<qt;un++)en[un-1]=arguments[un];(Ut=Ra.onClick)===null||Ut===void 0||Ut.call.apply(Ut,[Ra,_t].concat(en))});var sn=Qn(ca,Et,ar,Hr,rr,cn,Ui,Da),Gt=Te.has("hover"),Pn=Ve.has("hover"),Ln,wr;Gt&&(zt("onMouseEnter",!0,Fn,function(_t){Si(_t)}),zt("onPointerEnter",!0,Fn,function(_t){Si(_t)}),Ln=function(Ut){(ca||ri)&&Hr!==null&&Hr!==void 0&&Hr.contains(Ut.target)&&Da(!0,Fn)},aa&&(ii.onMouseMove=function(_t){var Ut;(Ut=Ra.onMouseMove)===null||Ut===void 0||Ut.call(Ra,_t)})),Pn&&(zt("onMouseLeave",!1,Bn),zt("onPointerLeave",!1,Bn),wr=function(){Da(!1,Bn)}),Te.has("focus")&&zt("onFocus",!0,Wn),Ve.has("focus")&&zt("onBlur",!1,An),Te.has("contextMenu")&&(ii.onContextMenu=function(_t){var Ut;_r.current&&Ve.has("contextMenu")?Da(!1):(Si(_t),Da(!0)),_t.preventDefault();for(var qt=arguments.length,en=new Array(qt>1?qt-1:0),un=1;un<qt;un++)en[un-1]=arguments[un];(Ut=Ra.onContextMenu)===null||Ut===void 0||Ut.call.apply(Ut,[Ra,_t].concat(en))}),Mr&&(ii.className=vt()(Ra.className,Mr));var jn=u(u({},Ra),ii),Gr={},va=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];va.forEach(function(_t){Kr[_t]&&(Gr[_t]=function(){for(var Ut,qt=arguments.length,en=new Array(qt),un=0;un<qt;un++)en[un]=arguments[un];(Ut=jn[_t])===null||Ut===void 0||Ut.call.apply(Ut,[jn].concat(en)),Kr[_t].apply(Kr,en)})});var ba=l.cloneElement(_i,u(u({},jn),Gr)),fr={x:Y,y:ne},Vn=ia?u({},ia!==!0?ia:{}):null;return l.createElement(l.Fragment,null,l.createElement(nt.Z,{disabled:!ca,ref:Ai,onResize:$t},l.createElement(jr,{getTriggerDOMNode:ea},ba)),l.createElement(oa.Provider,{value:vi},l.createElement(Yr,{portal:_,ref:Va,prefixCls:Ke,popup:Rr,className:vt()(Nr,Dt),style:pr,target:ar,onMouseEnter:Ln,onMouseLeave:wr,onPointerEnter:Ln,zIndex:yr,open:ca,keepDom:ri,fresh:ua,onClick:Ar,onPointerDownCapture:sn,mask:rr,motion:Mi,maskMotion:Li,onVisibleChanged:Mt,onPrepare:It,forceRender:gr,autoDestroy:Tr,getPopupContainer:Ir,align:Ne,arrow:Vn,arrowPos:fr,ready:b,offsetX:S,offsetY:N,offsetR:U,offsetB:V,onAlign:at,stretch:Lr,targetWidth:Wt/ce,targetHeight:Hn/oe})))});return k}var Kn=nr(ut)},31632:function(St,Ce){"use strict";var i;var x=typeof Symbol=="function"&&Symbol.for,R=x?Symbol.for("react.element"):60103,$=x?Symbol.for("react.portal"):60106,X=x?Symbol.for("react.fragment"):60107,z=x?Symbol.for("react.strict_mode"):60108,u=x?Symbol.for("react.profiler"):60114,A=x?Symbol.for("react.provider"):60109,K=x?Symbol.for("react.context"):60110,e=x?Symbol.for("react.async_mode"):60111,p=x?Symbol.for("react.concurrent_mode"):60111,h=x?Symbol.for("react.forward_ref"):60112,t=x?Symbol.for("react.suspense"):60113,o=x?Symbol.for("react.suspense_list"):60120,s=x?Symbol.for("react.memo"):60115,f=x?Symbol.for("react.lazy"):60116,v=x?Symbol.for("react.block"):60121,c=x?Symbol.for("react.fundamental"):60117,y=x?Symbol.for("react.responder"):60118,g=x?Symbol.for("react.scope"):60119;function E(d){if(typeof d=="object"&&d!==null){var T=d.$$typeof;switch(T){case R:switch(d=d.type,d){case e:case p:case X:case u:case z:case t:return d;default:switch(d=d&&d.$$typeof,d){case K:case h:case f:case s:case A:return d;default:return T}}case $:return T}}}function l(d){return E(d)===p}i=e,i=p,i=K,i=A,i=R,i=h,i=X,i=f,i=s,i=$,i=u,i=z,i=t,i=function(d){return l(d)||E(d)===e},i=l,i=function(d){return E(d)===K},i=function(d){return E(d)===A},i=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===R},i=function(d){return E(d)===h},i=function(d){return E(d)===X},i=function(d){return E(d)===f},Ce.isMemo=function(d){return E(d)===s},i=function(d){return E(d)===$},i=function(d){return E(d)===u},i=function(d){return E(d)===z},i=function(d){return E(d)===t},i=function(d){return typeof d=="string"||typeof d=="function"||d===X||d===p||d===u||d===z||d===t||d===o||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===s||d.$$typeof===A||d.$$typeof===K||d.$$typeof===h||d.$$typeof===c||d.$$typeof===y||d.$$typeof===g||d.$$typeof===v)},i=E},81640:function(St,Ce,i){"use strict";St.exports=i(31632)},48482:function(St,Ce){"use strict";var i;var x=Symbol.for("react.element"),R=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),A=Symbol.for("react.context"),K=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),s=Symbol.for("react.offscreen"),f;f=Symbol.for("react.module.reference");function v(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case x:switch(c=c.type,c){case $:case z:case X:case p:case h:return c;default:switch(c=c&&c.$$typeof,c){case K:case A:case e:case o:case t:case u:return c;default:return y}}case R:return y}}}i=A,i=u,i=x,Ce.ForwardRef=e,i=$,i=o,i=t,i=R,i=z,i=X,i=p,i=h,i=function(){return!1},i=function(){return!1},i=function(c){return v(c)===A},i=function(c){return v(c)===u},i=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===x},i=function(c){return v(c)===e},i=function(c){return v(c)===$},i=function(c){return v(c)===o},Ce.isMemo=function(c){return v(c)===t},i=function(c){return v(c)===R},i=function(c){return v(c)===z},i=function(c){return v(c)===X},i=function(c){return v(c)===p},i=function(c){return v(c)===h},i=function(c){return typeof c=="string"||typeof c=="function"||c===$||c===z||c===X||c===p||c===h||c===s||typeof c=="object"&&c!==null&&(c.$$typeof===o||c.$$typeof===t||c.$$typeof===u||c.$$typeof===A||c.$$typeof===e||c.$$typeof===f||c.getModuleId!==void 0)},i=v},52481:function(St,Ce,i){"use strict";St.exports=i(48482)},26194:function(St,Ce,i){"use strict";var x=i(67294),R=i(4977),$=i(85804),X=Object.defineProperty,z=Object.defineProperties,u=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,p=(s,f,v)=>f in s?X(s,f,{enumerable:!0,configurable:!0,writable:!0,value:v}):s[f]=v,h=(s,f)=>{for(var v in f||(f={}))K.call(f,v)&&p(s,v,f[v]);if(A)for(var v of A(f))e.call(f,v)&&p(s,v,f[v]);return s},t=(s,f)=>z(s,u(f));const o=({img:s,buttonProps:f={},styles:v={},customText:c,ButtonText:y,ButtonClick:g,Buttonclass:E,ButtonTwo:l,imgStyles:d,loading:T=!1,className:Z=""})=>x.createElement("section",{className:`tc animated fadeIn ${Z}`,style:h({color:"#999",margin:"100px auto",visibility:T?"hidden":"visible"},v)},x.createElement("img",{src:s||R,style:t(h({},d),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},c||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),y&&x.createElement($.ZP,h({className:E,onClick:g},f),y),l&&l);Ce.Z=o},20819:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return E}});var x=i(67294),R={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},$=i(85804),X=i(30153),z=i(36295),u=i(83062),A=i(28706),K=i(15835),e=i(26194),p=i(11320),h=i(66540),t=i(67294),o=Object.defineProperty,s=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,c=(l,d,T)=>d in l?o(l,d,{enumerable:!0,configurable:!0,writable:!0,value:T}):l[d]=T,y=(l,d)=>{for(var T in d||(d={}))f.call(d,T)&&c(l,T,d[T]);if(s)for(var T of s(d))v.call(d,T)&&c(l,T,d[T]);return l},g=(l,d,T)=>new Promise((Z,W)=>{var H=ye=>{try{Q(T.next(ye))}catch(C){W(C)}},G=ye=>{try{Q(T.throw(ye))}catch(C){W(C)}},Q=ye=>ye.done?Z(ye.value):Promise.resolve(ye.value).then(H,G);Q((T=T.apply(l,d)).next())}),E=({editOffice:l="view",data:d,issaver:T,onSaver:Z,theme:W,type:H,filename:G,monacoEditor:Q,className:ye,style:C,close:w,onClose:P,hasMask:I,disabledDownload:L,onImgDimensions:D,showNodata:a,recordInfo:n})=>{const[m,B]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[pe,De]=(0,x.useState)(""),[Re,qe]=(0,x.useState)(),Xe=window.ENV==="build"?"/react/build":"",Rt=location.host.startsWith("localhost")?p.Z.PROXY_SERVER:p.Z.API_SERVER,it=10*(1024*1024),$e=(0,x.useRef)();d!=null&&d.startsWith("/api")&&H!=="txt"&&(d=p.Z.API_SERVER+d);const Ze=ae=>ae.substring(ae.lastIndexOf("/")+1).split(".").pop();G&&Q&&(Q.filename=G),(0,x.useEffect)(()=>{var ae,He;const Le=(He=(ae=document.cookie)==null?void 0:ae.replace(/\s/g,""))==null?void 0:He.split(";");Le==null||Le.map(F=>{let O=F.split("=");O[0]==="_educoder_session"&&De(O[1])})},[]),(0,x.useEffect)(()=>{H==="office"&&(d.indexOf("bigfilescdn.")>-1||d.indexOf("bigfiles1")>-1?qe({url:d,fileType:Ze(d),model:d.indexOf("model=edit")?"edit":"view"}):Me())},[H,d]);function re(ae){return g(this,null,function*(){ae.data.type==="pdfdata"&&(Z(ae.data.data),window.removeEventListener("message",re,!1)),console.log("mess---:",ae.data)})}const Me=()=>g(void 0,null,function*(){console.log("data:",d);let ae=d;d.startsWith("http")||(ae=location.origin+ae);let He=new URL(ae).pathname.split("/").pop();const Le=yield(0,K.gJ)({attachment_id:He});Le.url=Rt+Le.url,qe(Le)}),j=()=>{if(d.startsWith("http")||d.startsWith("blob:")){de();return}(0,A.Sv)(G||"educoder",d,G)},de=()=>{n&&(0,h.fc)({id:n==null?void 0:n.id,watch_type:1,course_id:n==null?void 0:n.course_id}),(0,A.Nd)(G||"educoder",decodeURIComponent(d))};return t.createElement("div",{style:y({},C||{}),className:`${I&&R.bgBlack} ${H?R.wrp:"hide"}`},w&&t.createElement("div",{className:R.close,ref:$e},!!D&&t.createElement(u.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>$e.current},t.createElement("span",{onClick:()=>{P(),D()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!L&&t.createElement(u.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>$e.current},t.createElement("span",{onClick:de},t.createElement("i",{className:"icon-quxiaozhiding"}))),T&&t.createElement(u.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>$e.current},t.createElement("span",{className:"",onClick:()=>{const ae=document.getElementById("pdfiframe");window.addEventListener("message",re,!1),setTimeout(()=>{ae.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(u.Z,{title:"\u5173\u95ED",getPopupContainer:()=>$e.current},t.createElement("span",{className:"",onClick:()=>{P()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${R[ye]} ${ye} ${R.monaco} ${H==="txt"?"show":"hide"}`},H==="txt"&&t.createElement(t.Fragment,null,t.createElement(z.ZP,y({},Q)))),H==="audio"&&t.createElement("audio",{src:`${(d==null?void 0:d.indexOf("http://"))>-1||(d==null?void 0:d.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${d}`,autoPlay:!0}),H==="video"&&t.createElement(t.Fragment,null,(d==null?void 0:d.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${d}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${d}`,autoPlay:!0})),H==="office"&&Re&&t.createElement("iframe",{src:`${Xe}/office.html?key=${Re.key}&url=${btoa(Re.url)}&callbackUrl=${Rt+(Re.callbackUrl||"")}&fileType=${Re.fileType}&title=${Re.title||""}&model=${l}&officeServer=${p.Z.ONLYOFFICE}&disabledDownload=${!!L}`}),H==="html"&&t.createElement("iframe",{src:d+"&disposition=inline"}),H==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Xe}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(d)}&disabledDownload=${!!L}&model=${l}`}),H==="image"&&t.createElement("img",{src:`${(d==null?void 0:d.indexOf("http://"))>-1||(d==null?void 0:d.indexOf("https://"))>-1?"":"data:image/png;base64,"}${d}`}),(H==="other"||H==="download")&&t.createElement(t.Fragment,null,a?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement($.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:j,disabled:L},"\u4E0B\u8F7D")}):t.createElement($.ZP,{type:"primary",size:"middle",onClick:j,disabled:L},t.createElement(X.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},36295:function(St,Ce,i){"use strict";i.d(Ce,{SV:function(){return it},ZP:function(){return _e}});var x=i(67294),R=i(91033);const $={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"]},X={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"]},z={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(`
|
|
`)}]},u={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(`
|
|
`)}]},A={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 K=i(84204),e=i.n(K),p=($e,Ze,re)=>new Promise((Me,j)=>{var de=Le=>{try{He(re.next(Le))}catch(F){j(F)}},ae=Le=>{try{He(re.throw(Le))}catch(F){j(F)}},He=Le=>Le.done?Me(Le.value):Promise.resolve(Le.value).then(de,ae);He((re=re.apply($e,Ze)).next())});const h={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"]}},t=($e,Ze,re,Me)=>{const j=Ze.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:re.lineNumber,endColumn:re.column});return Array.from(new Set(j.match(/\b\w{2,}\b/g)||[])).map(ae=>({label:ae,kind:$e.languages.CompletionItemKind.Text,insertText:ae,range:Me}))},o=($e,Ze,re,Me)=>{$e.languages.registerCompletionItemProvider(Ze,{provideCompletionItems(j,de){const ae=j.getWordUntilPosition(de),He={startLineNumber:de.lineNumber,endLineNumber:de.lineNumber,startColumn:ae.startColumn,endColumn:ae.endColumn},Le=j.getLineContent(de.lineNumber).substring(ae.startColumn-2,ae.endColumn);return{suggestions:[...t($e,j,de,He),...re.map(O=>({label:O,kind:$e.languages.CompletionItemKind.Keyword,documentation:O,insertText:O,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...Me.map(O=>({label:O.label,kind:$e.languages.CompletionItemKind.Snippet,documentation:O.content,insertText:Le.startsWith("#")?O.content.replace(/#/,""):O.content,insertTextRules:$e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}})};var s=$e=>{h.languages.forEach(Ze=>{$e.languages.registerDocumentFormattingEditProvider(Ze,{provideDocumentFormattingEdits(re){return p(this,null,function*(){const Me=e()(re.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:re.getFullModelRange(),text:Me}]})}})}),o($e,"java",X.keywords,X.quickKey),o($e,"cpp",z.keywords,z.quickKey),o($e,"c",$.keywords,[]),o($e,"python",u.keywords,u.quickKey),o($e,"scala",A.keywords,A.quickKey)};const f="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var v=Object.defineProperty,c=($e,Ze,re)=>Ze in $e?v($e,Ze,{enumerable:!0,configurable:!0,writable:!0,value:re}):$e[Ze]=re,y=($e,Ze,re)=>c($e,typeof Ze!="symbol"?Ze+"":Ze,re);const g=class Us{constructor(Ze,re,Me){this.placeholder=Ze,this.editor=re,this.monaco=Me,re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Us.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)}};y(g,"ID","editor.widget.placeholderHint");var l=g,d=i(84144),T=i(2453),Z=i(83062),W=i(96486),H=i(33054),G=i(74855),Q=Object.defineProperty,ye=Object.defineProperties,C=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,L=($e,Ze,re)=>Ze in $e?Q($e,Ze,{enumerable:!0,configurable:!0,writable:!0,value:re}):$e[Ze]=re,D=($e,Ze)=>{for(var re in Ze||(Ze={}))P.call(Ze,re)&&L($e,re,Ze[re]);if(w)for(var re of w(Ze))I.call(Ze,re)&&L($e,re,Ze[re]);return $e},a=($e,Ze)=>ye($e,C(Ze)),n=($e,Ze)=>{var re={};for(var Me in $e)P.call($e,Me)&&Ze.indexOf(Me)<0&&(re[Me]=$e[Me]);if($e!=null&&w)for(var Me of w($e))Ze.indexOf(Me)<0&&I.call($e,Me)&&(re[Me]=$e[Me]);return re},m=($e,Ze,re)=>new Promise((Me,j)=>{var de=Le=>{try{He(re.next(Le))}catch(F){j(F)}},ae=Le=>{try{He(re.throw(Le))}catch(F){j(F)}},He=Le=>Le.done?Me(Le.value):Promise.resolve(Le.value).then(de,ae);He((re=re.apply($e,Ze)).next())});function B($e){return/^\d+$/.test($e)?`${$e}px`:$e}function pe(){}let De=!1;const Re={"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 qe($e=[]){let Ze=$e;if(Array.isArray($e)){for(let re=0;re<$e.length;re++){let Me=Re[$e[re]];if(Me)return Me}return Ze[0]}return Re[Ze]||Ze}let Xe=null;const Rt=()=>m(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch($e){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",$e)}});var _e=$e=>{var Ze=$e,{width:re="100%",height:Me="100%",value:j,language:de="javascript",style:ae={},options:He={},overrideServices:Le={},theme:F="vs-dark",onEditBlur:O,isCopy:te=!1,onSave:he,autoHeight:J=!1,forbidCopy:le=!1,onChange:ie=pe,editorDidMount:ze=pe,onFocus:Fe=pe,onBreakPoint:lt=pe,breakPointValue:dt=[],filename:At="educoder.txt",errorLine:Ge,errorContent:Ae="",highlightLine:ue,openBreakPoint:Pe=!1,placeholder:ke="",showMiniMap:Ye=!0}=Ze,st=n(Ze,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const wt=(0,x.useRef)(),Be=(0,x.useRef)({}),ut=(0,x.useRef)(),kt=(0,x.useRef)(),vt=(0,x.useRef)([]),nt=(0,x.useRef)(!1),bt=(0,x.useRef)(),tn=(0,x.useRef)(),rn=(0,x.useRef)(!1),[Yt,se]=(0,x.useState)(!1);function Oe(){let Ue;return wt.current&&(Ue=new R.Z(et=>{for(let Tt of et)(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&Be.current.instance.layout()}),Ue.observe(wt.current)),Ue}function ge(){T.ZP.warning({content:decodeURIComponent(f),key:"monaco-editor-tip"})}const ve=()=>{let Ue=Be.current.instance;if(j!=null&&Ue&&Yt){const et=Ue.getModel();et&&j!==et.getValue()&&(De=!0,et.setValue(j),Ue.layout(),De=!1)}};(0,x.useEffect)(()=>{const Ue=H.Z.subscribe("formatDocument",et=>{var Tt;let nn=Be.current.instance;(Tt=nn==null?void 0:nn.getAction)==null||Tt.call(nn,"editor.action.formatDocument").run()});return window.updateMonacoValue=et=>{ie(et)},Ue},[]),(0,x.useEffect)(()=>{var Ue;let et=Be.current.instance;kt.current&&clearTimeout(kt.current),kt.current=setTimeout(()=>{ve()},500),j&&(j!=null&&j.length)&&((Ue=et==null?void 0:et.updateOptions)==null||Ue.call(et,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(j.split(/\r\n|\r|\n/g).length))+3,5)}))},[j,Yt,Be.current]),(0,x.useEffect)(()=>{if(Ge&&Be.current&&Be.current.instance){let et=Be.current.instance;et.changeViewZones(function(Tt){var nn=document.createElement("div");nn.style.padding="10px 20px",nn.style.width="calc(100% - 20px)",nn.className="my-error-line-wrp",nn.innerHTML=Ae,Tt.addZone({afterLineNumber:Ge||11,heightInLines:3,domNode:nn})});var Ue={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}};et.addOverlayWidget(Ue),et.revealPositionInCenter({lineNumber:20,column:1})}},[Ge,Be.current,Yt]);const rt=(Ue="",et)=>{if(!Ue||Ue.trim()==="")return!0;const nn=Be.current.instance.getModel().getLineTokens(et);let fn=!1;for(let Zn=0;Zn<2;Zn++)nn.getStandardTokenType(Zn)===1&&(fn=!0);return fn};(0,x.useEffect)(()=>{var Ue;const et=(Ue=Be.current)==null?void 0:Ue.instance;if(et&&Yt&&le){const Tt=et.onDidBlurEditorWidget(()=>{rn.current=!1}),nn=et.onDidFocusEditorText(()=>{rn.current=!0});return()=>{Tt.dispose(),nn.dispose()}}},[Be.current,Yt,le]),(0,x.useEffect)(()=>{var Ue;if((Ue=Be.current)!=null&&Ue.instance&&Yt&&Pe){let et=Be.current.instance,Tt=et.getModel();if(!Tt)return;(()=>{var ln;let gn=[],yn=[];const Sn=Tt.getAllDecorations();for(let Mn of Sn)Mn.options.className==="highlighted-line"&&(gn.push((ln=Mn==null?void 0:Mn.range)==null?void 0:ln.startLineNumber),yn.push(Mn==null?void 0:Mn.id));if(ue===gn[0])return;Tt.deltaDecorations(yn,[]);const hn=Tt.getLineCount();ue&&ue<=hn&&(et.deltaDecorations([],[{range:new Xe.Range(ue,1,ue,Tt.getLineMaxColumn(ue)),options:{isWholeLine:!0,className:"highlighted-line"}}]),et.revealLineInCenter(ue))})();const fn=(ln=!1)=>{var gn;let yn=[],Sn=[];const hn=Tt.getAllDecorations();for(let Mn of hn)Mn.options.linesDecorationsClassName==="breakpoints-select"&&(yn.push((gn=Mn==null?void 0:Mn.range)==null?void 0:gn.startLineNumber),Sn.push(Mn==null?void 0:Mn.id));if(ln)return{lines:yn,ids:Sn};lt(yn)},Zn=ln=>m(void 0,null,function*(){let gn={range:new Xe.Range(ln,1,ln,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Tt.deltaDecorations([],[gn]),fn()}),ir=ln=>m(void 0,null,function*(){let gn=[];const yn=et.getLineDecorations(ln);for(let Sn of yn)Sn.options.linesDecorationsClassName==="breakpoints-select"&&gn.push(Sn.id);yield Tt.deltaDecorations(gn,[]),fn()}),kn=ln=>{let gn=et.getLineDecorations(ln);for(let yn of gn)if(yn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,W.isEqual)(dt,fn(!0).lines)){Tt.deltaDecorations(fn(!0).ids,[]);const ln=dt.map(gn=>({range:new Xe.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Tt.deltaDecorations([],ln)}const mn=et.onDidChangeModelContent(ln=>{let gn=et.getPosition();if(gn){let yn=gn.lineNumber;clearTimeout(tn.current),tn.current=setTimeout(()=>{rt(Tt.getLineContent(yn),yn)?ir(yn):kn(yn)?(ir(yn),Zn(yn)):fn()},100)}}),On=et.onMouseDown(ln=>{var gn,yn,Sn;if(ln.target.detail&&((Sn=(yn=(gn=ln.target)==null?void 0:gn.element)==null?void 0:yn.className)!=null&&Sn.includes("line-numbers"))){let hn=ln.target.position.lineNumber;if(rt(Tt.getLineContent(hn),hn))return;kn(hn)?ir(hn):Zn(hn)}}),Gn=ln=>{let gn={range:new Xe.Range(ln,1,ln,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};vt.current=et.deltaDecorations(vt.current,[gn])},an=()=>{vt.current=et.deltaDecorations(vt.current,[])},zn=et.onMouseMove(ln=>{var gn,yn,Sn;if(an(),ln.target.detail&&((Sn=(yn=(gn=ln.target)==null?void 0:gn.element)==null?void 0:yn.className)!=null&&Sn.includes("line-numbers"))){let hn=ln.target.position.lineNumber;if(rt(Tt.getLineContent(hn),hn))return;Gn(hn)}}),Dn=et.onMouseLeave(()=>{an()});return()=>{mn.dispose(),On.dispose(),zn.dispose(),Dn.dispose()}}},[Be.current,Yt,dt,ue,Pe,de]),(0,x.useEffect)(()=>{var Ue;(Ue=Be.current)!=null&&Ue.instance&&Pe&&Be.current.instance.setPosition({lineNumber:0,column:0})},[ue]);function tt(){let Ue=Be.current.instance;if(Ue){const et=Ue.getSelection(),Tt=Be.current.pastePos||{},nn=new Xe.Range(Tt.startLineNumber||et.endLineNumber,Tt.startColumn||et.endColumn,Tt.endLineNumber||et.endLineNumber,Tt.endColumn||et.endColumn);setTimeout(()=>{Ue.executeEdits("",[{range:nn,text:""}])},300)}}function ht(Ue){(window.navigator.platform.match("Mac")?Ue.metaKey:Ue.ctrlKey)&&Ue.keyCode==83&&(Ue.preventDefault(),he())}const Nt=()=>{if(J&&Be.current.instance){const Ue=Be.current.instance.getContentHeight();Bt(Ue<Me?Me:Ue)}else Bt(Me)};function Ht(Ue){var et=document.createEvent("MouseEvents");et.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ue.dispatchEvent(et)}const Kt=Ue=>{if(!rn.current)return;const{keyCode:et,ctrlKey:Tt,metaKey:nn,target:fn,type:Zn}=Ue;return(Zn==="paste"||(et===67||et===86)&&(nn||Tt))&&fn.nodeName==="TEXTAREA"&&(ge(),Ue.preventDefault()),!1};function Pt(Ue,et){var Tt=window.URL||window.webkitURL||window,nn=new Blob([et]),fn=document.createElementNS("http://www.w3.org/1999/xhtml","a");fn.href=Tt.createObjectURL(nn),fn.download=Ue,Ht(fn)}(0,x.useEffect)(()=>{Nt()},[Nt]),(0,x.useEffect)(()=>{wt.current&&!Yt&&Promise.all([i.e(5552),i.e(9651)]).then(i.bind(i,55826)).then(Ue=>{try{Xe=Ue,Be.current.instance=Xe.editor.create(wt.current,{value:j,language:qe(de),theme:F,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ye||!1}},Le);const et=Be.current.instance;let fn=[...d.BH._menuItems].find(mn=>mn[0]._debugName=="EditorContext")[1],Zn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ir=(mn,On)=>{var Gn,an;let zn=mn._first;do On.includes((an=(Gn=zn.element)==null?void 0:Gn.command)==null?void 0:an.id)&&mn._remove(zn);while(zn=zn.next)};if(ze(et,Xe),setTimeout(()=>{Nt(),Be.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Pt(At||"educoder.txt",et.getValue())}})},500),Be.current.subscription=et.onDidChangeModelContent(mn=>{nt.current?clearTimeout(bt.current):(Nt(),ie(et.getValue(),mn)),bt.current=setTimeout(()=>{nt.current=!1},500)}),window.Monaco||s(Xe,qe(de)),le&&(ir(fn,Zn),wt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Kt),window.removeEventListener("paste",Kt),window.addEventListener("keydown",Kt),window.addEventListener("paste",Kt)),window.Monaco=Xe,O&&et.onDidBlurEditorWidget(()=>{O(et.getValue())}),Fe&&et.onDidFocusEditorText(()=>{le&&Rt(),Fe(et.getValue())}),le){Rt();try{et.onDidPaste(mn=>{const On=et.getSelection(),Gn=Be.current.pastePos||{},an=new Xe.Range(Gn.startLineNumber||On.endLineNumber,Gn.startColumn||On.endColumn,Gn.endLineNumber||On.endLineNumber,Gn.endColumn||On.endColumn);et.executeEdits("",[{range:mn.range,text:""}])})}catch(mn){}}let kn=Oe();return ke&&typeof ke=="string"&&new l(ke,et,Xe),se(!0),()=>{const mn=Be.current.instance;mn.dispose();const On=mn.getModel();On&&On.dispose(),Be.current.subscription&&Be.current.subscription.dispose(),kn.unobserve(wt.current)}}catch(et){}})},[]),(0,x.useEffect)(()=>{if(Be.current.instance&&Yt)return document.addEventListener("keydown",ht,!1),()=>{document.removeEventListener("keydown",ht)}},[he,Yt]),(0,x.useEffect)(()=>{let Ue=Be.current.instance;if(Ue&&Yt){let et=qe(de);Xe.editor.setModelLanguage(Ue.getModel(),et)}},[de,Yt]),(0,x.useEffect)(()=>{Be.current.instance&&Yt&&Xe.editor.setTheme(F)},[F,Yt]),(0,x.useEffect)(()=>{let Ue=Be.current.instance;ut.current=He,Ue&&Yt&&(Ue.updateOptions(D({},He)),setTimeout(()=>{Ue.getModel().updateOptions(D({},He))},200))},[JSON.stringify(He),Yt]),(0,x.useEffect)(()=>{let Ue=Be.current.instance;Ue&&Yt&&Ue.layout()},[re,Me,Yt]);const[mt,jt]=(0,x.useState)(B(re)),[Lt,Bt]=(0,x.useState)(B(Me)),pt=a(D({},ae),{width:mt,height:Lt,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:wt,style:pt},te&&x.createElement(G.CopyToClipboard,{text:j,onCopy:()=>T.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(Z.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function it({width:$e="100%",height:Ze="100%",original:re,modified:Me,language:j,options:de={}}){const ae=(0,x.useRef)(),[He,Le]=(0,x.useState)(null);function F(J){let le;return ae.current&&(le=new R.Z(ie=>{for(let ze of ie)(ze.target.offsetHeight>0||ze.target.offsetWidth>0)&&J.layout()}),le.observe(ae.current)),le}(0,x.useEffect)(()=>(ae.current&&Promise.all([i.e(5552),i.e(9404)]).then(i.bind(i,50048)).then(J=>{Xe=J;const le=Xe.editor.createDiffEditor(ae.current,a(D({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},de),{wordWrap:!0}));Le(le);let ie=F(le);return()=>{le.dispose();const ze=le.getModel();ze&&ze.dispose(),ie.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{He&&He.setModel({original:Xe.editor.createModel(re,j),modified:Xe.editor.createModel(Me,j)})},[re,Me,j,He]);const O=B($e),te=B(Ze),he={width:O,height:te};return x.createElement("div",{className:"my-diff-editor",ref:ae,style:he})}},4384:function(St,Ce,i){"use strict";i.r(Ce),i.d(Ce,{default:function(){return I}});var x=i(67294),R={flex_box_center:"flex_box_center___n3nXI",flex_space_between:"flex_space_between___SVr_u",flex_box_vertical_center:"flex_box_vertical_center___nGcce",flex_box_center_end:"flex_box_center_end___kaizF",flex_box_column:"flex_box_column___sMn1m",wrap:"wrap___LP3mu",title:"title___BPtTv",control:"control___zxfZc",label:"label___lVocU",tagWrap:"tagWrap___Wvbu8",tag:"tag___QaDfC",button:"button___z4kBY",customTable:"customTable___ehECY",form:"form___zV9o6",customModal:"customModal___TybkU"},$=i(35973),X=i(33170),z=i(96486),u=i(91773),A=i(62844),K=i(83062),e=i(2453),p=i(28802),h=i(88044),t=i(78957),o=i(85804),s=i(57399),f=i(11320),v=i(15835),c=i(60760),y=i(70583),g=i(98769),E=i(20819),l=Object.defineProperty,d=Object.defineProperties,T=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,G=(L,D,a)=>D in L?l(L,D,{enumerable:!0,configurable:!0,writable:!0,value:a}):L[D]=a,Q=(L,D)=>{for(var a in D||(D={}))W.call(D,a)&&G(L,a,D[a]);if(Z)for(var a of Z(D))H.call(D,a)&&G(L,a,D[a]);return L},ye=(L,D)=>d(L,T(D)),C=(L,D,a)=>new Promise((n,m)=>{var B=Re=>{try{De(a.next(Re))}catch(qe){m(qe)}},pe=Re=>{try{De(a.throw(Re))}catch(qe){m(qe)}},De=Re=>Re.done?n(Re.value):Promise.resolve(Re.value).then(B,pe);De((a=a.apply(L,D)).next())});let w=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}];const P=({user:L})=>{var D,a;const n={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}};let[m,B]=(0,x.useState)(n);const[pe,De]=(0,x.useState)(!0),[Re,qe]=(0,x.useState)(!1),[Xe,Rt]=(0,x.useState)([]),[_e,it]=(0,x.useState)([]),[$e,Ze]=(0,x.useState)([]),[re]=u.default.useForm(),Me=(0,$.useLocation)(),j=location.host.startsWith("localhost")?f.Z.PROXY_SERVER:f.Z.API_SERVER,[de,ae]=(0,x.useState)(!1),[He,Le]=(0,x.useState)(!1),[F,O]=(0,x.useState)([]),[te,he]=(0,x.useState)(""),[J,le]=(0,x.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,x.useEffect)(()=>{var ue;(ue=L==null?void 0:L.userInfo)!=null&&ue.school_id&&ze()},[(D=L==null?void 0:L.userInfo)==null?void 0:D.school_id]);const ie=ue=>C(void 0,null,function*(){var Pe;const ke=(0,z.cloneDeep)(ue);y.U.setItem((Pe=L==null?void 0:L.userInfo)==null?void 0:Pe.login,[ke==null?void 0:ke.ec_major_school_id,ke==null?void 0:ke.ec_year_id]),De(!0);const Ye=yield(0,X.ZP)(`/api/ec_years/${m.ec_year_id}/ec_docs.json`,{method:"get",params:ke});Ye!=null&&Ye.data&&(Ze((Ye==null?void 0:Ye.data)||[]),m.total=Ye==null?void 0:Ye.count,B(Q({},m))),De(!1)}),ze=()=>C(void 0,null,function*(){var ue,Pe,ke,Ye,st,wt,Be,ut,kt,vt;const nt=yield(0,X.ZP)(`/api/schools/${(ue=L==null?void 0:L.userInfo)==null?void 0:ue.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((ke=(Pe=nt==null?void 0:nt.data)==null?void 0:Pe[0])!=null&&ke.ec_major_school_id)){De(!1),qe(!0);return}const bt=y.U.getItem((Ye=L==null?void 0:L.userInfo)==null?void 0:Ye.login),tn=Number((st=Me==null?void 0:Me.query)==null?void 0:st.ec_major_school_id)||bt[0]||((Be=(wt=nt==null?void 0:nt.data)==null?void 0:wt[0])==null?void 0:Be.ec_major_school_id),rn=yield(0,X.ZP)(`/api/ec_major_schools/${tn}/ec_years/get_year_list.json`,{method:"get"});m.ec_major_school_id=tn,m.ec_year_id=Number((ut=Me==null?void 0:Me.query)==null?void 0:ut.ec_year_id)||bt[1]||((vt=(kt=rn==null?void 0:rn.data)==null?void 0:kt[0])==null?void 0:vt.ec_year_id),lt(m.ec_year_id),Rt((nt==null?void 0:nt.data)||[]),it((rn==null?void 0:rn.data)||[]),B(m),ie(m)}),Fe=ue=>C(void 0,null,function*(){var Pe,ke;const Ye=yield(0,X.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"});m.ec_major_school_id=ue,m.ec_year_id=(ke=(Pe=Ye==null?void 0:Ye.data)==null?void 0:Pe[0])==null?void 0:ke.ec_year_id,it((Ye==null?void 0:Ye.data)||[]),B(m),ie(m)}),lt=ue=>C(void 0,null,function*(){const Pe=yield(0,X.ZP)(`/api/ec_years/${ue}/ec_courses/get_courses.json`,{method:"get"});O((Pe==null?void 0:Pe.data)||[])}),dt=(ue,Pe)=>{if(m.page=1,m[Pe]=ue,Pe==="ec_major_school_id"){Fe(ue);return}Pe==="ec_year_id"&&(B(Q({},m)),ie(m),lt(ue))},At=ue=>{A.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:()=>C(void 0,null,function*(){const Pe=yield(0,X.ZP)(`/api/ec_years/${m.ec_year_id}/ec_docs/${ue}.json`,{method:"delete"});(Pe==null?void 0:Pe.status)===0&&(m.page=1,B(Q({},m)),ie(m))})})},Ge=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(ue,Pe,ke)=>x.createElement("span",{className:"pl20"},m.per_page*(m.page-1)+ke+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:ue=>ue||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(ue,Pe)=>x.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},x.createElement(K.Z,{title:"\u4FEE\u6539\u6807\u9898"},x.createElement("i",{style:{cursor:"pointer"},onClick:()=>{var ke;let Ye=Pe.name.substr(0,(ke=Pe.name)==null?void 0:ke.lastIndexOf("."));if(!Ye.replaceAll(" ","")){e.ZP.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}A.default.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:x.createElement(p.default,{defaultValue:Ye,maxLength:100,onChange:st=>{Ye=st.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>C(void 0,null,function*(){let st=yield(0,X.ZP)(`/api/ec_years/${m==null?void 0:m.ec_year_id}/ec_docs/${ue}.json`,{method:"put",body:{ec_year_id:m==null?void 0:m.ec_year_id,id:ue,name:Ye}});(st==null?void 0:st.status)===0&&(e.ZP.info("\u4FEE\u6539\u6210\u529F"),m.page=1,B(Q({},m)),ie(m))})})},className:"iconfont icon-xiugaibiaoti"})),x.createElement(K.Z,{title:"\u5728\u7EBF\u7F16\u8F91"},x.createElement("i",{onClick:()=>C(void 0,null,function*(){if(["xlsx","docx","pptx"].includes(Pe==null?void 0:Pe.type)){const ke=yield(0,v.gJ)({attachment_id:Pe.attachment_id});window.open(`/office.html?key=${Pe.attachment_id}&url=${j+(ke==null?void 0:ke.url)}&callbackUrl=${j+(ke==null?void 0:ke.callbackUrl)}&fileType=docx&title=${ke==null?void 0:ke.title}&model=edit&officeServer=${f.Z.ONLYOFFICE}&disabledDownload=false`)}else{e.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}),style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),x.createElement(K.Z,{title:"\u4E0B\u8F7D"},x.createElement("i",{style:{cursor:"pointer"},onClick:()=>{(0,g.IM)({name:Pe==null?void 0:Pe.name,attachment_id:Pe==null?void 0:Pe.attachment_id})},className:"iconfont icon-xiazai4"})),x.createElement(K.Z,{title:"\u5220\u9664"},x.createElement("i",{style:{cursor:"pointer"},onClick:()=>{At(ue)},className:"iconfont icon-shanchu11"})))}],Ae=pe||Re;return x.createElement("div",{className:R.wrap},x.createElement(c.p,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),x.createElement("div",{className:R.control},x.createElement("div",{className:R.label},"\u8BA4\u8BC1\u4E13\u4E1A"),x.createElement(h.default,{disabled:Ae,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:m==null?void 0:m.ec_major_school_id,onChange:ue=>dt(ue,"ec_major_school_id")},Xe==null?void 0:Xe.map(ue=>x.createElement(h.default.Option,{value:ue.ec_major_school_id},ue.name))),x.createElement("div",{className:R.label},"\u8BA4\u8BC1\u5C4A\u522B"),x.createElement(h.default,{disabled:Ae,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:m==null?void 0:m.ec_year_id,onChange:ue=>dt(ue,"ec_year_id")},_e==null?void 0:_e.map(ue=>x.createElement(h.default.Option,{value:ue.ec_year_id},ue.year))),x.createElement(t.Z,{className:R.button,size:10},x.createElement(o.ZP,{disabled:Ae,style:{transition:"0s"},onClick:()=>{ae(!0)},type:"primary"},x.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),x.createElement(s.default,{className:R.customTable,dataSource:$e,bordered:!1,rowKey:"id",columns:Ge,rowClassName:R.row,loading:pe,pagination:{pageSize:m.per_page,total:m.total,current:m.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,size:"default",position:["bottomCenter"],showTotal:ue=>x.createElement("span",{className:"mr10"},"\u5171",x.createElement("span",{className:"c-orange"},ue),"\u6761\u6570\u636E")}}),x.createElement(A.default,{title:"\u751F\u6210\u6587\u6863",open:de,onOk:()=>{re.submit()},okButtonProps:{loading:He},onCancel:()=>{ae(!1),re.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",m),x.createElement(u.default,{labelCol:{span:7},wrapperCol:{span:17},form:re,onValuesChange:ue=>{ue.export_type&&(m.formvalues=ue),B(Q({},m))},onFinish:ue=>C(void 0,null,function*(){Le(!0);let Pe=`/api/ec_years/${m==null?void 0:m.ec_year_id}/ec_docs.json`,ke=yield(0,X.ZP)(Pe,{method:"post",body:Q({ec_year_id:m.ec_year_id},ue)});Le(!1),ke.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),ie(m),re.setFieldsValue({export_type:"",ec_course_id:""}),ae(!1))})},x.createElement(u.default.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},x.createElement(h.default,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},w==null?void 0:w.map((ue,Pe)=>x.createElement(h.default.Option,{key:Pe,value:ue==null?void 0:ue.id},ue==null?void 0:ue.content)))),((a=m.formvalues)==null?void 0:a.export_type)===4&&x.createElement(u.default.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},x.createElement(h.default,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},F==null?void 0:F.map((ue,Pe)=>x.createElement(h.default.Option,{key:Pe,value:ue==null?void 0:ue.id},ue==null?void 0:ue.name)))))),x.createElement(E.Z,ye(Q({},J),{onClose:()=>{le(ye(Q({},J),{type:""}))}})))};var I=(0,$.connect)(({user:L})=>({user:L}))(P)},60760:function(St,Ce,i){"use strict";i.d(Ce,{p:function(){return X},v:function(){return A}});var x=i(67294),R={panelTitleContainer:"panelTitleContainer___Ypuh_"},X=({title:K,style:e={}})=>x.createElement("div",{className:R.panelTitleContainer,style:e},x.createElement("div",null,K)),z={selectWrapContainer:"selectWrapContainer___qocIH"},A=({title:K,children:e})=>x.createElement("div",{className:z.selectWrapContainer},x.createElement("span",null,K),e)},98769:function(St,Ce,i){"use strict";i.d(Ce,{AD:function(){return P},D9:function(){return B},Hp:function(){return T},IM:function(){return De},Iy:function(){return W},KM:function(){return Me},MJ:function(){return Z},Ne:function(){return pe},ON:function(){return _e},Uj:function(){return Ze},VY:function(){return Xe},YO:function(){return $e},YX:function(){return it},Zn:function(){return f},_g:function(){return E},_k:function(){return n},c6:function(){return C},cr:function(){return v},eV:function(){return w},fi:function(){return c},gh:function(){return Q},hS:function(){return Re},iA:function(){return y},j6:function(){return l},je:function(){return D},jj:function(){return d},kS:function(){return Rt},lS:function(){return a},o6:function(){return ye},pO:function(){return re},rQ:function(){return I},sA:function(){return G},xm:function(){return m},xo:function(){return qe},y8:function(){return L},yd:function(){return g}});var x=i(89779),R=i(35973),$=i(28706),X=i(2453),z=i(11320),u=Object.defineProperty,A=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,p=(j,de,ae)=>de in j?u(j,de,{enumerable:!0,configurable:!0,writable:!0,value:ae}):j[de]=ae,h=(j,de)=>{for(var ae in de||(de={}))K.call(de,ae)&&p(j,ae,de[ae]);if(A)for(var ae of A(de))e.call(de,ae)&&p(j,ae,de[ae]);return j},t=(j,de,ae)=>new Promise((He,Le)=>{var F=he=>{try{te(ae.next(he))}catch(J){Le(J)}},O=he=>{try{te(ae.throw(he))}catch(J){Le(J)}},te=he=>he.done?He(he.value):Promise.resolve(he.value).then(F,O);te((ae=ae.apply(j,de)).next())});const o=()=>{(0,R.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},s=()=>{(0,R.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},f=j=>t(void 0,null,function*(){o(),(yield(0,x.YR)(h({},j))).status===0&&(yield(0,$.QH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j.coursesId}/export_couser_info.json`,query:j}))),s()}),v=j=>t(void 0,null,function*(){const de=yield(0,x.yS)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_member_act_score`);else{if(de.status===-2)return de;de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_member_act_score`))}}),c=j=>t(void 0,null,function*(){const de=yield(0,x.W0)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_score`);else{if(de.status===-4)return de;de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_score`))}}),y=j=>t(void 0,null,function*(){const de=yield(0,x.Nl)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_exercise_and_other`);else{if(de.status===-4)return de;de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_exercise_and_other`))}}),g=j=>t(void 0,null,function*(){const de=yield(0,x.IU)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/export_star_user`);else{if(de.status===-4)return de;de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/export_star_user`))}}),E=j=>t(void 0,null,function*(){const de=yield(0,x.td)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_exercise_and_other`);else{if(de.status===-2)return de;if(de.status===-3)(0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_exercise_and_other`);else if(de.status===-4)return de}}),l=j=>t(void 0,null,function*(){const de=yield(0,x.QX)(h({},j));if(de.status===0)X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_homework`);else{if(de.status===-4)return de;de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/course_total_homework`))}}),d=(j,de)=>t(void 0,null,function*(){const ae=yield(0,x.o_)(h({},j));ae.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`)):ae.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`))}),T=(j,de)=>t(void 0,null,function*(){const ae=yield(0,x.ZL)(h({},j));ae.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`)):ae.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`))}),Z=(j,de)=>t(void 0,null,function*(){const ae=yield(0,x.vV)(h({},j));ae.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`)):ae.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`))}),W=(j,de)=>t(void 0,null,function*(){const ae=yield(0,x.aP)(h({},j));ae.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`)):ae.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/${de}`))}),H=j=>t(void 0,null,function*(){o(),(yield exportCourseWorkListAppendix(h({},j))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${j.categoryId}/works_list.zip`,query:j}))),s()}),G=j=>t(void 0,null,function*(){o(),yield(0,$.QH)("",z.Z.API_SERVER+`/api/polls/${j.categoryId}/commit_result.xlsx`),s()}),Q=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j.coursesId}/attendances/export_xlsx_data.xlsx`,query:j}))}),ye=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j.coursesId}/video_study_statics.xlsx`,query:j}))}),C=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j.coursesId}/export_video_study.xlsx`,query:j}))}),w=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j.coursesId}/export_course_students_info.xlsx`,query:j}))}),P=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/school_manages/students.xlsx",query:j}))}),I=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/item_banks/export.xlsx",query:j}))}),L=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:j}))}),D=j=>t(void 0,null,function*(){const de=yield(0,x.Uy)(h({},j));de.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/exercise_score,export_exercise_users`)):de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/exercise_score,export_exercise_users`))}),a=j=>t(void 0,null,function*(){const de=yield(0,x.tg)(h({},j));de.status===0?(X.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),R.history.push(`/classrooms/${j.coursesId}/exportlist/exercise_score,export_exercise_report`)):de.status===-3&&((0,R.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),R.history.push(`/classrooms/${j.coursesId}/exportlist/exercise_score,export_exercise_report`))}),n=j=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/export_records/${j.id}.xlsx`,query:j}))}),m=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:j}))}),B=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/courses/${j==null?void 0:j.coursesId}/${j.menuKey}_statistic.xlsx?${j.checkedList.map(de=>`course_group_id[]=${de}`).join("&")}`,query:j}))}),pe=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/ec_years/${j==null?void 0:j.ec_year_id}/ec_training_objectives.xlsx`,query:j}))}),De=j=>t(void 0,null,function*(){yield(0,$.FH)(j==null?void 0:j.name,(0,$.NY)({url:z.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:j}))}),Re=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/ec_years/${j==null?void 0:j.ec_year_id}/ec_courses.xlsx`,query:j}))}),qe=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/ec_years/${j==null?void 0:j.ec_year_id}/ec_graduation_requirements.xlsx`,query:j}))}),Xe=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:j}))}),Rt=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:j}))}),_e=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/examination_banks/${j.id}.json`,query:j}))}),it=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/exercises/${j.categoryId}.json`,query:j}))}),$e=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/polls/${j==null?void 0:j.id}/commit_result.json`,query:j}))}),Ze=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+"/api/paths/get_task_pass.json",query:j}))}),re=(j,de)=>t(void 0,null,function*(){yield(0,$.FH)(de||"",(0,$.NY)({url:z.Z.API_SERVER+`/api/exercises/${j==null?void 0:j.exercise_id}/consult_exercise.json`,query:j}))}),Me=j=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:z.Z.API_SERVER+`/api/competitions/${j==null?void 0:j.identifier}/competition_commit_records/member_works.xlsx`,query:j}))})},20640:function(St,Ce,i){"use strict";var x=i(11742),R={"text/plain":"Text","text/html":"Url",default:"Text"},$="Copy to clipboard: #{key}, Enter";function X(u){var A=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return u.replace(/#{\s*key\s*}/g,A)}function z(u,A){var K,e,p,h,t,o,s=!1;A||(A={}),K=A.debug||!1;try{p=x(),h=document.createRange(),t=document.getSelection(),o=document.createElement("span"),o.textContent=u,o.ariaHidden="true",o.style.all="unset",o.style.position="fixed",o.style.top=0,o.style.clip="rect(0, 0, 0, 0)",o.style.whiteSpace="pre",o.style.webkitUserSelect="text",o.style.MozUserSelect="text",o.style.msUserSelect="text",o.style.userSelect="text",o.addEventListener("copy",function(v){if(v.stopPropagation(),A.format)if(v.preventDefault(),typeof v.clipboardData=="undefined"){K&&console.warn("unable to use e.clipboardData"),K&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=R[A.format]||R.default;window.clipboardData.setData(c,u)}else v.clipboardData.clearData(),v.clipboardData.setData(A.format,u);A.onCopy&&(v.preventDefault(),A.onCopy(v.clipboardData))}),document.body.appendChild(o),h.selectNodeContents(o),t.addRange(h);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");s=!0}catch(v){K&&console.error("unable to copy using execCommand: ",v),K&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(A.format||"text",u),A.onCopy&&A.onCopy(window.clipboardData),s=!0}catch(c){K&&console.error("unable to copy using clipboardData: ",c),K&&console.error("falling back to prompt"),e=X("message"in A?A.message:$),window.prompt(e,u)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(h):t.removeAllRanges()),o&&document.body.removeChild(o),p()}return s}St.exports=z},84204:function(St,Ce,i){"use strict";var x,R;function $(X,z,u){var A=function(K,e){return X.js_beautify(K,e)};return A.js=X.js_beautify,A.css=z.css_beautify,A.html=u.html_beautify,A.js_beautify=X.js_beautify,A.css_beautify=z.css_beautify,A.html_beautify=u.html_beautify,A}x=[i(77937),i(85040),i(3566)],R=function(X,z,u){return $(X,z,u)}.apply(Ce,x),R!==void 0&&(St.exports=R)},85040:function(St,Ce){var i,x;(function(){var R;(function(){"use strict";var X=[,,function(K){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var o=this.__items.length-1;o>=0;o--)if(this.__items[o].match(t))return!0;return!1},e.prototype.set_indent=function(t,o){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=o||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var o=t.lastIndexOf(`
|
|
`);o!==-1?this.__character_count=t.length-o:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function p(t,o){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),o=o||"",t.indent_level>0&&(o=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=o,this.__base_string_length=o.length}p.prototype.get_indent_size=function(t,o){var s=this.__base_string_length;return o=o||0,t<0&&(s=0),s+=t*this.__indent_size,s+=o,s},p.prototype.get_indent_string=function(t,o){var s=this.__base_string;return o=o||0,t<0&&(t=0,s=""),o+=t*this.__indent_size,this.__ensure_cache(o),s+=this.__cache[o],s},p.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},p.prototype.__add_column=function(){var t=this.__cache.length,o=0,s="";this.__indent_size&&t>=this.__indent_size&&(o=Math.floor(t/this.__indent_size),t-=o*this.__indent_size,s=new Array(o+1).join(this.__indent_string)),t&&(s+=new Array(t+1).join(" ")),this.__cache.push(s)};function h(t,o){this.__indent_cache=new p(t,o),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}h.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},h.prototype.get_line_number=function(){return this.__lines.length},h.prototype.get_indent_string=function(t,o){return this.__indent_cache.get_indent_string(t,o)},h.prototype.get_indent_size=function(t,o){return this.__indent_cache.get_indent_size(t,o)},h.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},h.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},h.prototype.get_code=function(t){this.trim(!0);var o=this.current_line.pop();o&&(o[o.length-1]===`
|
|
`&&(o=o.replace(/\n+$/g,"")),this.current_line.push(o)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(s=s.replace(/[\n]/g,t)),s},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(t,o){return t=t||0,o=o||0,this.next_line.set_indent(t,o),this.__lines.length>1?(this.current_line.set_indent(t,o),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(t){for(var o=0;o<t.newlines;o++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},h.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},h.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},h.prototype.remove_indent=function(t){for(var o=this.__lines.length;t<o;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},h.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},h.prototype.just_added_newline=function(){return this.current_line.is_empty()},h.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},h.prototype.ensure_empty_line_above=function(t,o){for(var s=this.__lines.length-2;s>=0;){var f=this.__lines[s];if(f.is_empty())break;if(f.item(0).indexOf(t)!==0&&f.item(-1)!==o){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},K.exports.Output=h},,,,function(K){function e(t,o){this.raw_options=p(t,o),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,o){var s=this.raw_options[t],f=o||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(f=s.concat()):typeof s=="string"&&(f=s.split(/[^a-zA-Z0-9_\/\-]+/)),f},e.prototype._get_boolean=function(t,o){var s=this.raw_options[t],f=s===void 0?!!o:!!s;return f},e.prototype._get_characters=function(t,o){var s=this.raw_options[t],f=o||"";return typeof s=="string"&&(f=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),f},e.prototype._get_number=function(t,o){var s=this.raw_options[t];o=parseInt(o,10),isNaN(o)&&(o=0);var f=parseInt(s,10);return isNaN(f)&&(f=o),f},e.prototype._get_selection=function(t,o,s){var f=this._get_selection_list(t,o,s);if(f.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return f[0]},e.prototype._get_selection_list=function(t,o,s){if(!o||o.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[o[0]],!this._is_valid_selection(s,o))throw new Error("Invalid Default Value!");var f=this._get_array(t,s);if(!this._is_valid_selection(f,o))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return f},e.prototype._is_valid_selection=function(t,o){return t.length&&o.length&&!t.some(function(s){return o.indexOf(s)===-1})};function p(t,o){var s={};t=h(t);var f;for(f in t)f!==o&&(s[f]=t[f]);if(o&&t[o])for(f in t[o])s[f]=t[o][f];return s}function h(t){var o={},s;for(s in t){var f=s.replace(/-/g,"_");o[f]=t[s]}return o}K.exports.Options=e,K.exports.normalizeOpts=h,K.exports.mergeOpts=p},,function(K){var e=RegExp.prototype.hasOwnProperty("sticky");function p(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}p.prototype.restart=function(){this.__position=0},p.prototype.back=function(){this.__position>0&&(this.__position-=1)},p.prototype.hasNext=function(){return this.__position<this.__input_length},p.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},p.prototype.peek=function(h){var t=null;return h=h||0,h+=this.__position,h>=0&&h<this.__input_length&&(t=this.__input.charAt(h)),t},p.prototype.__match=function(h,t){h.lastIndex=t;var o=h.exec(this.__input);return o&&!(e&&h.sticky)&&o.index!==t&&(o=null),o},p.prototype.test=function(h,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(h,t):!1},p.prototype.testChar=function(h,t){var o=this.peek(t);return h.lastIndex=0,o!==null&&h.test(o)},p.prototype.match=function(h){var t=this.__match(h,this.__position);return t?this.__position+=t[0].length:t=null,t},p.prototype.read=function(h,t,o){var s="",f;return h&&(f=this.match(h),f&&(s+=f[0])),t&&(f||!h)&&(s+=this.readUntil(t,o)),s},p.prototype.readUntil=function(h,t){var o="",s=this.__position;h.lastIndex=this.__position;var f=h.exec(this.__input);return f?(s=f.index,t&&(s+=f[0].length)):s=this.__input_length,o=this.__input.substring(this.__position,s),this.__position=s,o},p.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},p.prototype.get_regexp=function(h,t){var o=null,s="g";return t&&e&&(s="y"),typeof h=="string"&&h!==""?o=new RegExp(h,s):h&&(o=new RegExp(h.source,s)),o},p.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},p.prototype.peekUntilAfter=function(h){var t=this.__position,o=this.readUntilAfter(h);return this.__position=t,o},p.prototype.lookBack=function(h){var t=this.__position-1;return t>=h.length&&this.__input.substring(t-h.length,t).toLowerCase()===h},K.exports.InputScanner=p},,,,,function(K){function e(p,h){p=typeof p=="string"?p:p.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(p+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(p+/\sbeautify\signore:end\s/.source+h,"g")}e.prototype.get_directives=function(p){if(!p.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(p);t;)h[t[1]]=t[2],t=this.__directive_pattern.exec(p);return h},e.prototype.readIgnored=function(p){return p.readUntilAfter(this.__directives_end_ignore_pattern)},K.exports.Directives=e},,function(K,e,p){var h=p(16).Beautifier,t=p(17).Options;function o(s,f){var v=new h(s,f);return v.beautify()}K.exports=o,K.exports.defaultOptions=function(){return new t}},function(K,e,p){var h=p(17).Options,t=p(2).Output,o=p(8).InputScanner,s=p(13).Directives,f=new s(/\/\*/,/\*\//),v=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,y=/\s/,g=/(?:\s|\n)+/g,E=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,l=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function d(T,Z){this._source_text=T||"",this._options=new h(Z),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}d.prototype.eatString=function(T){var Z="";for(this._ch=this._input.next();this._ch;){if(Z+=this._ch,this._ch==="\\")Z+=this._input.next();else if(T.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return Z},d.prototype.eatWhitespace=function(T){for(var Z=y.test(this._input.peek()),W=0;y.test(this._input.peek());)this._ch=this._input.next(),T&&this._ch===`
|
|
`&&(W===0||W<this._options.max_preserve_newlines)&&(W++,this._output.add_new_line(!0));return Z},d.prototype.foundNestedPseudoClass=function(){for(var T=0,Z=1,W=this._input.peek(Z);W;){if(W==="{")return!0;if(W==="(")T+=1;else if(W===")"){if(T===0)return!1;T-=1}else if(W===";"||W==="}")return!1;Z++,W=this._input.peek(Z)}return!1},d.prototype.print_string=function(T){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(T)},d.prototype.preserveSingleSpace=function(T){T&&(this._output.space_before_token=!0)},d.prototype.indent=function(){this._indentLevel++},d.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},d.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var T=this._source_text,Z=this._options.eol;Z==="auto"&&(Z=`
|
|
`,T&&v.test(T||"")&&(Z=T.match(v)[0])),T=T.replace(c,`
|
|
`);var W=T.match(/^[\t ]*/)[0];this._output=new t(this._options,W),this._input=new o(T),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var H=0,G=!1,Q=!1,ye=!1,C=!1,w=!1,P=!1,I=this._ch,L=!1,D,a,n;D=this._input.read(g),a=D!=="",n=I,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),I=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var m=this._input.read(E),B=f.get_directives(m);B&&B.ignore==="start"&&(m+=f.readIgnored(this._input)),this.print_string(m),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(l)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(a),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);pe.match(/[ :]$/)&&(pe=this.eatString(": ").replace(/\s$/,""),this.print_string(pe),this._output.space_before_token=!0),pe=pe.replace(/\s$/,""),pe==="extend"?C=!0:pe==="import"&&(w=!0),pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,pe in this.CONDITIONAL_GROUP_RULE&&(ye=!0)):!G&&H===0&&pe.indexOf(":")!==-1&&(Q=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(a),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")Q&&(Q=!1,this.outdent()),ye?(ye=!1,G=this._indentLevel>=this._nestedLevel):G=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&G&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),w=!1,C=!1,Q&&(this.outdent(),Q=!1),this.print_string(this._ch),G=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var De=0;De<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;De++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[De])){L=!0;break}(G||ye)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!C&&H===0?(this.print_string(":"),Q||(Q=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Re=n==='"'||n==="'";this.preserveSingleSpace(Re||a),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")L=!1,H===0?(Q&&(this.outdent(),Q=!1),C=!1,w=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),H++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),H&&(H--,this.outdent()));else{var qe=!1;this._input.lookBack("with")&&(qe=!0),this.preserveSingleSpace(a||qe),this.print_string(this._ch),Q&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),P=!0):(this.eatWhitespace(),H++,this.indent())}else if(this._ch===")")H&&(H--,this.outdent()),P&&this._input.peek()===";"&&this._options.selector_separator_newline&&(P=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!Q||P)&&H===0&&!w&&!C?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!Q&&H===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&y.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(a),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),y.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Xe=n==='"'||n==="'";this.preserveSingleSpace(Xe||a),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&L&&this._output.add_new_line()}var Rt=this._output.get_code(Z);return Rt},K.exports.Beautifier=d},function(K,e,p){var h=p(6).Options;function t(o){h.call(this,o,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var s=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||s;var f=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var v=0;v<f.length;v++)f[v]!=="expand"?this.brace_style="collapse":this.brace_style=f[v]}t.prototype=new h,K.exports.Options=t}],z={};function u(K){var e=z[K];if(e!==void 0)return e.exports;var p=z[K]={exports:{}};return X[K](p,p.exports,u),p.exports}var A=u(15);R=A})();var $=R;i=[],x=function(){return{css_beautify:$}}.apply(Ce,i),x!==void 0&&(St.exports=x)})()},3566:function(St,Ce,i){var x,R;(function(){var $;(function(){"use strict";var A=[,,function(h){function t(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var f=new t(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f},t.prototype.item=function(f){return f<0?this.__items[this.__items.length+f]:this.__items[f]},t.prototype.has_match=function(f){for(var v=this.__items.length-1;v>=0;v--)if(this.__items[v].match(f))return!0;return!1},t.prototype.set_indent=function(f,v){this.is_empty()&&(this.__indent_count=f||0,this.__alignment_count=v||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;return f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" "&&(f.__items.splice(0,1),f.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(f){this.__items.push(f);var v=f.lastIndexOf(`
|
|
`);v!==-1?this.__character_count=f.length-v:this.__character_count+=f.length},t.prototype.pop=function(){var f=null;return this.is_empty()||(f=this.__items.pop(),this.__character_count-=f.length),f},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var f="";return this.is_empty()?this.__parent.indent_empty_lines&&(f=this.__parent.get_indent_string(this.__indent_count)):(f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("")),f};function o(f,v){this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,f.indent_with_tabs||(this.__indent_string=new Array(f.indent_size+1).join(f.indent_char)),v=v||"",f.indent_level>0&&(v=new Array(f.indent_level+1).join(this.__indent_string)),this.__base_string=v,this.__base_string_length=v.length}o.prototype.get_indent_size=function(f,v){var c=this.__base_string_length;return v=v||0,f<0&&(c=0),c+=f*this.__indent_size,c+=v,c},o.prototype.get_indent_string=function(f,v){var c=this.__base_string;return v=v||0,f<0&&(f=0,c=""),v+=f*this.__indent_size,this.__ensure_cache(v),c+=this.__cache[v],c},o.prototype.__ensure_cache=function(f){for(;f>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var f=this.__cache.length,v=0,c="";this.__indent_size&&f>=this.__indent_size&&(v=Math.floor(f/this.__indent_size),f-=v*this.__indent_size,c=new Array(v+1).join(this.__indent_string)),f&&(c+=new Array(f+1).join(" ")),this.__cache.push(c)};function s(f,v){this.__indent_cache=new o(f,v),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(f,v){return this.__indent_cache.get_indent_string(f,v)},s.prototype.get_indent_size=function(f,v){return this.__indent_cache.get_indent_size(f,v)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(f){return this.is_empty()||!f&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(f){this.trim(!0);var v=this.current_line.pop();v&&(v[v.length-1]===`
|
|
`&&(v=v.replace(/\n+$/g,"")),this.current_line.push(v)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
`);return f!==`
|
|
`&&(c=c.replace(/[\n]/g,f)),c},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(f,v){return f=f||0,v=v||0,this.next_line.set_indent(f,v),this.__lines.length>1?(this.current_line.set_indent(f,v),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(f){for(var v=0;v<f.newlines;v++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},s.prototype.remove_indent=function(f){for(var v=this.__lines.length;f<v;)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(f){for(f=f===void 0?!1:f,this.current_line.trim();f&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(f,v){for(var c=this.__lines.length-2;c>=0;){var y=this.__lines[c];if(y.is_empty())break;if(y.item(0).indexOf(f)!==0&&y.item(-1)!==v){this.__lines.splice(c+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}c--}},h.exports.Output=s},function(h){function t(o,s,f,v){this.type=o,this.text=s,this.comments_before=null,this.newlines=f||0,this.whitespace_before=v||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}h.exports.Token=t},,,function(h){function t(f,v){this.raw_options=o(f,v),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(f,v){var c=this.raw_options[f],y=v||[];return typeof c=="object"?c!==null&&typeof c.concat=="function"&&(y=c.concat()):typeof c=="string"&&(y=c.split(/[^a-zA-Z0-9_\/\-]+/)),y},t.prototype._get_boolean=function(f,v){var c=this.raw_options[f],y=c===void 0?!!v:!!c;return y},t.prototype._get_characters=function(f,v){var c=this.raw_options[f],y=v||"";return typeof c=="string"&&(y=c.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),y},t.prototype._get_number=function(f,v){var c=this.raw_options[f];v=parseInt(v,10),isNaN(v)&&(v=0);var y=parseInt(c,10);return isNaN(y)&&(y=v),y},t.prototype._get_selection=function(f,v,c){var y=this._get_selection_list(f,v,c);if(y.length!==1)throw new Error("Invalid Option Value: The option '"+f+`' can only be one of the following values:
|
|
`+v+`
|
|
You passed in: '`+this.raw_options[f]+"'");return y[0]},t.prototype._get_selection_list=function(f,v,c){if(!v||v.length===0)throw new Error("Selection list cannot be empty.");if(c=c||[v[0]],!this._is_valid_selection(c,v))throw new Error("Invalid Default Value!");var y=this._get_array(f,c);if(!this._is_valid_selection(y,v))throw new Error("Invalid Option Value: The option '"+f+`' can contain only the following values:
|
|
`+v+`
|
|
You passed in: '`+this.raw_options[f]+"'");return y},t.prototype._is_valid_selection=function(f,v){return f.length&&v.length&&!f.some(function(c){return v.indexOf(c)===-1})};function o(f,v){var c={};f=s(f);var y;for(y in f)y!==v&&(c[y]=f[y]);if(v&&f[v])for(y in f[v])c[y]=f[v][y];return c}function s(f){var v={},c;for(c in f){var y=c.replace(/-/g,"_");v[y]=f[c]}return v}h.exports.Options=t,h.exports.normalizeOpts=s,h.exports.mergeOpts=o},,function(h){var t=RegExp.prototype.hasOwnProperty("sticky");function o(s){this.__input=s||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position<this.__input_length},o.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__input.charAt(this.__position),this.__position+=1),s},o.prototype.peek=function(s){var f=null;return s=s||0,s+=this.__position,s>=0&&s<this.__input_length&&(f=this.__input.charAt(s)),f},o.prototype.__match=function(s,f){s.lastIndex=f;var v=s.exec(this.__input);return v&&!(t&&s.sticky)&&v.index!==f&&(v=null),v},o.prototype.test=function(s,f){return f=f||0,f+=this.__position,f>=0&&f<this.__input_length?!!this.__match(s,f):!1},o.prototype.testChar=function(s,f){var v=this.peek(f);return s.lastIndex=0,v!==null&&s.test(v)},o.prototype.match=function(s){var f=this.__match(s,this.__position);return f?this.__position+=f[0].length:f=null,f},o.prototype.read=function(s,f,v){var c="",y;return s&&(y=this.match(s),y&&(c+=y[0])),f&&(y||!s)&&(c+=this.readUntil(f,v)),c},o.prototype.readUntil=function(s,f){var v="",c=this.__position;s.lastIndex=this.__position;var y=s.exec(this.__input);return y?(c=y.index,f&&(c+=y[0].length)):c=this.__input_length,v=this.__input.substring(this.__position,c),this.__position=c,v},o.prototype.readUntilAfter=function(s){return this.readUntil(s,!0)},o.prototype.get_regexp=function(s,f){var v=null,c="g";return f&&t&&(c="y"),typeof s=="string"&&s!==""?v=new RegExp(s,c):s&&(v=new RegExp(s.source,c)),v},o.prototype.get_literal_regexp=function(s){return RegExp(s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},o.prototype.peekUntilAfter=function(s){var f=this.__position,v=this.readUntilAfter(s);return this.__position=f,v},o.prototype.lookBack=function(s){var f=this.__position-1;return f>=s.length&&this.__input.substring(f-s.length,f).toLowerCase()===s},h.exports.InputScanner=o},function(h,t,o){var s=o(8).InputScanner,f=o(3).Token,v=o(10).TokenStream,c=o(11).WhitespacePattern,y={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},g=function(E,l){this._input=new s(E),this._options=l||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new c(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new v,this._reset();for(var E,l=new f(y.START,""),d=null,T=[],Z=new v;l.type!==y.EOF;){for(E=this._get_next_token(l,d);this._is_comment(E);)Z.add(E),E=this._get_next_token(l,d);Z.isEmpty()||(E.comments_before=Z,Z=new v),E.parent=d,this._is_opening(E)?(T.push(d),d=E):d&&this._is_closing(E,d)&&(E.opened=d,d.closed=E,d=T.pop(),E.parent=d),E.previous=l,l.next=E,this.__tokens.add(E),l=E}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(E,l){this._readWhitespace();var d=this._input.read(/.+/g);return d?this._create_token(y.RAW,d):this._create_token(y.EOF,"")},g.prototype._is_comment=function(E){return!1},g.prototype._is_opening=function(E){return!1},g.prototype._is_closing=function(E,l){return!1},g.prototype._create_token=function(E,l){var d=new f(E,l,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return d},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},h.exports.Tokenizer=g,h.exports.TOKEN=y},function(h){function t(o){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=o}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__tokens[this.__position],this.__position+=1),o},t.prototype.peek=function(o){var s=null;return o=o||0,o+=this.__position,o>=0&&o<this.__tokens_length&&(s=this.__tokens[o]),s},t.prototype.add=function(o){this.__parent_token&&(o.parent=this.__parent_token),this.__tokens.push(o),this.__tokens_length+=1},h.exports.TokenStream=t},function(h,t,o){var s=o(12).Pattern;function f(v,c){s.call(this,v,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}f.prototype=new s,f.prototype.__set_whitespace_patterns=function(v,c){v+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+v+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},f.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var v=this._input.read(this._match_pattern);if(v===" ")this.whitespace_before_token=" ";else if(v){var c=this.__split(this._newline_regexp,v);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return v},f.prototype.matching=function(v,c){var y=this._create();return y.__set_whitespace_patterns(v,c),y._update(),y},f.prototype._create=function(){return new f(this._input,this)},f.prototype.__split=function(v,c){v.lastIndex=0;for(var y=0,g=[],E=v.exec(c);E;)g.push(c.substring(y,E.index)),y=E.index+E[0].length,E=v.exec(c);return y<c.length?g.push(c.substring(y,c.length)):g.push(""),g},h.exports.WhitespacePattern=f},function(h){function t(o,s){this._input=o,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,s&&(this._starting_pattern=this._input.get_regexp(s._starting_pattern,!0),this._match_pattern=this._input.get_regexp(s._match_pattern,!0),this._until_pattern=this._input.get_regexp(s._until_pattern),this._until_after=s._until_after)}t.prototype.read=function(){var o=this._input.read(this._starting_pattern);return(!this._starting_pattern||o)&&(o+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),o},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(o){var s=this._create();return s._until_after=!0,s._until_pattern=this._input.get_regexp(o),s._update(),s},t.prototype.until=function(o){var s=this._create();return s._until_after=!1,s._until_pattern=this._input.get_regexp(o),s._update(),s},t.prototype.starting_with=function(o){var s=this._create();return s._starting_pattern=this._input.get_regexp(o,!0),s._update(),s},t.prototype.matching=function(o){var s=this._create();return s._match_pattern=this._input.get_regexp(o,!0),s._update(),s},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},h.exports.Pattern=t},function(h){function t(o,s){o=typeof o=="string"?o:o.source,s=typeof s=="string"?s:s.source,this.__directives_block_pattern=new RegExp(o+/ beautify( \w+[:]\w+)+ /.source+s,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(o+/\sbeautify\signore:end\s/.source+s,"g")}t.prototype.get_directives=function(o){if(!o.match(this.__directives_block_pattern))return null;var s={};this.__directive_pattern.lastIndex=0;for(var f=this.__directive_pattern.exec(o);f;)s[f[1]]=f[2],f=this.__directive_pattern.exec(o);return s},t.prototype.readIgnored=function(o){return o.readUntilAfter(this.__directives_end_ignore_pattern)},h.exports.Directives=t},function(h,t,o){var s=o(12).Pattern,f={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function v(c,y){s.call(this,c,y),this.__template_pattern=null,this._disabled=Object.assign({},f),this._excluded=Object.assign({},f),y&&(this.__template_pattern=this._input.get_regexp(y.__template_pattern),this._excluded=Object.assign(this._excluded,y._excluded),this._disabled=Object.assign(this._disabled,y._disabled));var g=new s(c);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}v.prototype=new s,v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){this.__set_templated_pattern()},v.prototype.disable=function(c){var y=this._create();return y._disabled[c]=!0,y._update(),y},v.prototype.read_options=function(c){var y=this._create();for(var g in f)y._disabled[g]=c.templating.indexOf(g)===-1;return y._update(),y},v.prototype.exclude=function(c){var y=this._create();return y._excluded[c]=!0,y._update(),y},v.prototype.read=function(){var c="";this._match_pattern?c=this._input.read(this._starting_pattern):c=this._input.read(this._starting_pattern,this.__template_pattern);for(var y=this._read_template();y;)this._match_pattern?y+=this._input.read(this._match_pattern):y+=this._input.readUntil(this.__template_pattern),c+=y,y=this._read_template();return this._until_after&&(c+=this._input.readUntilAfter(this._until_pattern)),c},v.prototype.__set_templated_pattern=function(){var c=[];this._disabled.php||c.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||c.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||c.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(c.push(this.__patterns.django._starting_pattern.source),c.push(this.__patterns.django_value._starting_pattern.source),c.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||c.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&c.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+c.join("|")+")")},v.prototype._read_template=function(){var c="",y=this._input.peek();if(y==="<"){var g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(c=c||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(c=c||this.__patterns.erb.read())}else y==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(c=c||this.__patterns.handlebars_comment.read(),c=c||this.__patterns.handlebars_unescaped.read(),c=c||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(c=c||this.__patterns.django_value.read()),this._excluded.django||(c=c||this.__patterns.django_comment.read(),c=c||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(c=c||this.__patterns.smarty_comment.read(),c=c||this.__patterns.smarty_literal.read(),c=c||this.__patterns.smarty.read()));return c},h.exports.TemplatablePattern=v},,,,function(h,t,o){var s=o(19).Beautifier,f=o(20).Options;function v(c,y,g,E){var l=new s(c,y,g,E);return l.beautify()}h.exports=v,h.exports.defaultOptions=function(){return new f}},function(h,t,o){var s=o(20).Options,f=o(2).Output,v=o(21).Tokenizer,c=o(21).TOKEN,y=/\r\n|[\r\n]/,g=/\r\n|[\r\n]/g,E=function(C,w){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=C.max_preserve_newlines,this.preserve_newlines=C.preserve_newlines,this._output=new f(C,w)};E.prototype.current_line_has_match=function(C){return this._output.current_line.has_match(C)},E.prototype.set_space_before_token=function(C,w){this._output.space_before_token=C,this._output.non_breaking_space=w},E.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},E.prototype.add_raw_token=function(C){this._output.add_raw_token(C)},E.prototype.print_preserved_newlines=function(C){var w=0;C.type!==c.TEXT&&C.previous.type!==c.TEXT&&(w=C.newlines?1:0),this.preserve_newlines&&(w=C.newlines<this.max_preserve_newlines+1?C.newlines:this.max_preserve_newlines+1);for(var P=0;P<w;P++)this.print_newline(P>0);return w!==0},E.prototype.traverse_whitespace=function(C){return C.whitespace_before||C.newlines?(this.print_preserved_newlines(C)||(this._output.space_before_token=!0),!0):!1},E.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},E.prototype.print_newline=function(C){this._output.add_new_line(C)},E.prototype.print_token=function(C){C.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(C.text))},E.prototype.indent=function(){this.indent_level++},E.prototype.get_full_indent=function(C){return C=this.indent_level+(C||0),C<1?"":this._output.get_indent_string(C)};var l=function(C){for(var w=null,P=C.next;P.type!==c.EOF&&C.closed!==P;){if(P.type===c.ATTRIBUTE&&P.text==="type"){P.next&&P.next.type===c.EQUALS&&P.next.next&&P.next.next.type===c.VALUE&&(w=P.next.next.text);break}P=P.next}return w},d=function(C,w){var P=null,I=null;return w.closed?(C==="script"?P="text/javascript":C==="style"&&(P="text/css"),P=l(w)||P,P.search("text/css")>-1?I="css":P.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?I="javascript":P.search(/(text|application|dojo)\/(x-)?(html)/)>-1?I="html":P.search(/test\/null/)>-1&&(I="null"),I):null};function T(C,w){return w.indexOf(C)!==-1}function Z(C,w,P){this.parent=C||null,this.tag=w?w.tag_name:"",this.indent_level=P||0,this.parser_token=w||null}function W(C){this._printer=C,this._current_frame=null}W.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},W.prototype.record_tag=function(C){var w=new Z(this._current_frame,C,this._printer.indent_level);this._current_frame=w},W.prototype._try_pop_frame=function(C){var w=null;return C&&(w=C.parser_token,this._printer.indent_level=C.indent_level,this._current_frame=C.parent),w},W.prototype._get_frame=function(C,w){for(var P=this._current_frame;P&&C.indexOf(P.tag)===-1;){if(w&&w.indexOf(P.tag)!==-1){P=null;break}P=P.parent}return P},W.prototype.try_pop=function(C,w){var P=this._get_frame([C],w);return this._try_pop_frame(P)},W.prototype.indent_to_tag=function(C){var w=this._get_frame(C);w&&(this._printer.indent_level=w.indent_level)};function H(C,w,P,I){this._source_text=C||"",w=w||{},this._js_beautify=P,this._css_beautify=I,this._tag_stack=null;var L=new s(w,"html");this._options=L,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}H.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var C=this._source_text,w=this._options.eol;this._options.eol==="auto"&&(w=`
|
|
`,C&&y.test(C)&&(w=C.match(y)[0])),C=C.replace(g,`
|
|
`);var P=C.match(/^[\t ]*/)[0],I={text:"",type:""},L=new G,D=new E(this._options,P),a=new v(C,this._options).tokenize();this._tag_stack=new W(D);for(var n=null,m=a.next();m.type!==c.EOF;)m.type===c.TAG_OPEN||m.type===c.COMMENT?(n=this._handle_tag_open(D,m,L,I),L=n):m.type===c.ATTRIBUTE||m.type===c.EQUALS||m.type===c.VALUE||m.type===c.TEXT&&!L.tag_complete?n=this._handle_inside_tag(D,m,L,a):m.type===c.TAG_CLOSE?n=this._handle_tag_close(D,m,L):m.type===c.TEXT?n=this._handle_text(D,m,L):D.add_raw_token(m),I=n,m=a.next();var B=D._output.get_code(w);return B},H.prototype._handle_tag_close=function(C,w,P){var I={text:w.text,type:w.type};return C.alignment_size=0,P.tag_complete=!0,C.set_space_before_token(w.newlines||w.whitespace_before!=="",!0),P.is_unformatted?C.add_raw_token(w):(P.tag_start_char==="<"&&(C.set_space_before_token(w.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&P.has_wrapped_attrs&&C.print_newline(!1)),C.print_token(w)),P.indent_content&&!(P.is_unformatted||P.is_content_unformatted)&&(C.indent(),P.indent_content=!1),!P.is_inline_element&&!(P.is_unformatted||P.is_content_unformatted)&&C.set_wrap_point(),I},H.prototype._handle_inside_tag=function(C,w,P,I){var L=P.has_wrapped_attrs,D={text:w.text,type:w.type};if(C.set_space_before_token(w.newlines||w.whitespace_before!=="",!0),P.is_unformatted)C.add_raw_token(w);else if(P.tag_start_char==="{"&&w.type===c.TEXT)C.print_preserved_newlines(w)?(w.newlines=0,C.add_raw_token(w)):C.print_token(w);else{if(w.type===c.ATTRIBUTE?(C.set_space_before_token(!0),P.attr_count+=1):(w.type===c.EQUALS||w.type===c.VALUE&&w.previous.type===c.EQUALS)&&C.set_space_before_token(!1),w.type===c.ATTRIBUTE&&P.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(C.traverse_whitespace(w),L=L||w.newlines!==0),this._is_wrap_attributes_force)){var a=P.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&P.attr_count===1){var n=!0,m=0,B;do{if(B=I.peek(m),B.type===c.ATTRIBUTE){n=!1;break}m+=1}while(m<4&&B.type!==c.EOF&&B.type!==c.TAG_CLOSE);a=!n}a&&(C.print_newline(!1),L=!0)}C.print_token(w),L=L||C.previous_token_wrapped(),P.has_wrapped_attrs=L}return D},H.prototype._handle_text=function(C,w,P){var I={text:w.text,type:"TK_CONTENT"};return P.custom_beautifier_name?this._print_custom_beatifier_text(C,w,P):P.is_unformatted||P.is_content_unformatted?C.add_raw_token(w):(C.traverse_whitespace(w),C.print_token(w)),I},H.prototype._print_custom_beatifier_text=function(C,w,P){var I=this;if(w.text!==""){var L=w.text,D,a=1,n="",m="";P.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?D=this._js_beautify:P.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?D=this._css_beautify:P.custom_beautifier_name==="html"&&(D=function(Xe,Rt){var _e=new H(Xe,Rt,I._js_beautify,I._css_beautify);return _e.beautify()}),this._options.indent_scripts==="keep"?a=0:this._options.indent_scripts==="separate"&&(a=-C.indent_level);var B=C.get_full_indent(a);if(L=L.replace(/\n[ \t]*$/,""),P.custom_beautifier_name!=="html"&&L[0]==="<"&&L.match(/^(<!--|<!\[CDATA\[)/)){var pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(L);if(!pe){C.add_raw_token(w);return}n=B+pe[1]+`
|
|
`,L=pe[4],pe[5]&&(m=B+pe[5]),L=L.replace(/\n[ \t]*$/,""),(pe[2]||pe[3].indexOf(`
|
|
`)!==-1)&&(pe=pe[3].match(/[ \t]+$/),pe&&(w.whitespace_before=pe[0]))}if(L)if(D){var De=function(){this.eol=`
|
|
`};De.prototype=this._options.raw_options;var Re=new De;L=D(B+L,Re)}else{var qe=w.whitespace_before;qe&&(L=L.replace(new RegExp(`
|
|
(`+qe+")?","g"),`
|
|
`)),L=B+L.replace(/\n/g,`
|
|
`+B)}n&&(L?L=n+L+`
|
|
`+m:L=n+m),C.print_newline(!1),L&&(w.text=L,w.whitespace_before="",w.newlines=0,C.add_raw_token(w),C.print_newline(!0))}},H.prototype._handle_tag_open=function(C,w,P,I){var L=this._get_tag_open_token(w);return(P.is_unformatted||P.is_content_unformatted)&&!P.is_empty_element&&w.type===c.TAG_OPEN&&w.text.indexOf("</")===0?(C.add_raw_token(w),L.start_tag_token=this._tag_stack.try_pop(L.tag_name)):(C.traverse_whitespace(w),this._set_tag_position(C,w,L,P,I),L.is_inline_element||C.set_wrap_point(),C.print_token(w)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(L.alignment_size=w.text.length+1),!L.tag_complete&&!L.is_unformatted&&(C.alignment_size=L.alignment_size),L};var G=function(C,w){if(this.parent=C||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!w)this.tag_complete=!0;else{var P;this.tag_start_char=w.text[0],this.text=w.text,this.tag_start_char==="<"?(P=w.text.match(/^<([^\s>]*)/),this.tag_check=P?P[1]:""):(P=w.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=P?P[1]:"",(w.text.startsWith("{{#>")||w.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&w.next!==null?this.tag_check=w.next.text.split(" ")[0]:this.tag_check=w.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),w.type===c.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||w.closed&&w.closed.text==="/>";var I=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(I=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(I)))}};H.prototype._get_tag_open_token=function(C){var w=new G(this._tag_stack.get_parser_token(),C);return w.alignment_size=this._options.wrap_attributes_indent_size,w.is_end_tag=w.is_end_tag||T(w.tag_check,this._options.void_elements),w.is_empty_element=w.tag_complete||w.is_start_tag&&w.is_end_tag,w.is_unformatted=!w.tag_complete&&T(w.tag_check,this._options.unformatted),w.is_content_unformatted=!w.is_empty_element&&T(w.tag_check,this._options.content_unformatted),w.is_inline_element=T(w.tag_name,this._options.inline)||w.tag_name.includes("-")||w.tag_start_char==="{",w},H.prototype._set_tag_position=function(C,w,P,I,L){if(P.is_empty_element||(P.is_end_tag?P.start_tag_token=this._tag_stack.try_pop(P.tag_name):(this._do_optional_end_element(P)&&(P.is_inline_element||C.print_newline(!1)),this._tag_stack.record_tag(P),(P.tag_name==="script"||P.tag_name==="style")&&!(P.is_unformatted||P.is_content_unformatted)&&(P.custom_beautifier_name=d(P.tag_check,w)))),T(P.tag_check,this._options.extra_liners)&&(C.print_newline(!1),C._output.just_added_blankline()||C.print_newline(!0)),P.is_empty_element){if(P.tag_start_char==="{"&&P.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),P.indent_content=!0;var D=C.current_line_has_match(/{{#if/);D||C.print_newline(!1)}P.tag_name==="!--"&&L.type===c.TAG_CLOSE&&I.is_end_tag&&P.text.indexOf(`
|
|
`)===-1||(P.is_inline_element||P.is_unformatted||C.print_newline(!1),this._calcluate_parent_multiline(C,P))}else if(P.is_end_tag){var a=!1;a=P.start_tag_token&&P.start_tag_token.multiline_content,a=a||!P.is_inline_element&&!(I.is_inline_element||I.is_unformatted)&&!(L.type===c.TAG_CLOSE&&P.start_tag_token===I)&&L.type!=="TK_CONTENT",(P.is_content_unformatted||P.is_unformatted)&&(a=!1),a&&C.print_newline(!1)}else P.indent_content=!P.custom_beautifier_name,P.tag_start_char==="<"&&(P.tag_name==="html"?P.indent_content=this._options.indent_inner_html:P.tag_name==="head"?P.indent_content=this._options.indent_head_inner_html:P.tag_name==="body"&&(P.indent_content=this._options.indent_body_inner_html)),!(P.is_inline_element||P.is_unformatted)&&(L.type!=="TK_CONTENT"||P.is_content_unformatted)&&C.print_newline(!1),this._calcluate_parent_multiline(C,P)},H.prototype._calcluate_parent_multiline=function(C,w){w.parent&&C._output.just_added_newline()&&!((w.is_inline_element||w.is_unformatted)&&w.parent.is_inline_element)&&(w.parent.multiline_content=!0)};var Q=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],ye=["a","audio","del","ins","map","noscript","video"];H.prototype._do_optional_end_element=function(C){var w=null;if(!(C.is_empty_element||!C.is_start_tag||!C.parent)){if(C.tag_name==="body")w=w||this._tag_stack.try_pop("head");else if(C.tag_name==="li")w=w||this._tag_stack.try_pop("li",["ol","ul"]);else if(C.tag_name==="dd"||C.tag_name==="dt")w=w||this._tag_stack.try_pop("dt",["dl"]),w=w||this._tag_stack.try_pop("dd",["dl"]);else if(C.parent.tag_name==="p"&&Q.indexOf(C.tag_name)!==-1){var P=C.parent.parent;(!P||ye.indexOf(P.tag_name)===-1)&&(w=w||this._tag_stack.try_pop("p"))}else C.tag_name==="rp"||C.tag_name==="rt"?(w=w||this._tag_stack.try_pop("rt",["ruby","rtc"]),w=w||this._tag_stack.try_pop("rp",["ruby","rtc"])):C.tag_name==="optgroup"?w=w||this._tag_stack.try_pop("optgroup",["select"]):C.tag_name==="option"?w=w||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):C.tag_name==="colgroup"?w=w||this._tag_stack.try_pop("caption",["table"]):C.tag_name==="thead"?(w=w||this._tag_stack.try_pop("caption",["table"]),w=w||this._tag_stack.try_pop("colgroup",["table"])):C.tag_name==="tbody"||C.tag_name==="tfoot"?(w=w||this._tag_stack.try_pop("caption",["table"]),w=w||this._tag_stack.try_pop("colgroup",["table"]),w=w||this._tag_stack.try_pop("thead",["table"]),w=w||this._tag_stack.try_pop("tbody",["table"])):C.tag_name==="tr"?(w=w||this._tag_stack.try_pop("caption",["table"]),w=w||this._tag_stack.try_pop("colgroup",["table"]),w=w||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(C.tag_name==="th"||C.tag_name==="td")&&(w=w||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),w=w||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return C.parent=this._tag_stack.get_parser_token(),w}},h.exports.Beautifier=H},function(h,t,o){var s=o(6).Options;function f(v){s.call(this,v,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}f.prototype=new s,h.exports.Options=f},function(h,t,o){var s=o(9).Tokenizer,f=o(9).TOKEN,v=o(13).Directives,c=o(14).TemplatablePattern,y=o(12).Pattern,g={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:f.START,RAW:f.RAW,EOF:f.EOF},E=new v(/<\!--/,/-->/),l=function(d,T){s.call(this,d,T),this._current_tag_name="";var Z=new c(this._input).read_options(this._options),W=new y(this._input);if(this.__patterns={word:Z.until(/[\n\r\t <]/),single_quote:Z.until_after(/'/),double_quote:Z.until_after(/"/),attribute:Z.until(/[\n\r\t =>]|\/>/),element_name:Z.until(/[\n\r\t >\/]/),handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),handlebars_open:W.until(/[\n\r\t }]/),handlebars_raw_close:W.until(/}}/),comment:W.starting_with(/<!--/).until_after(/-->/),cdata:W.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:W.starting_with(/<!\[/).until_after(/]>/),processing:W.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var H=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=W.matching(H).until_after(H)}};l.prototype=new s,l.prototype._is_comment=function(d){return!1},l.prototype._is_opening=function(d){return d.type===g.TAG_OPEN},l.prototype._is_closing=function(d,T){return d.type===g.TAG_CLOSE&&T&&((d.text===">"||d.text==="/>")&&T.text[0]==="<"||d.text==="}}"&&T.text[0]==="{"&&T.text[1]==="{")},l.prototype._reset=function(){this._current_tag_name=""},l.prototype._get_next_token=function(d,T){var Z=null;this._readWhitespace();var W=this._input.peek();return W===null?this._create_token(g.EOF,""):(Z=Z||this._read_open_handlebars(W,T),Z=Z||this._read_attribute(W,d,T),Z=Z||this._read_close(W,T),Z=Z||this._read_raw_content(W,d,T),Z=Z||this._read_content_word(W),Z=Z||this._read_comment_or_cdata(W),Z=Z||this._read_processing(W),Z=Z||this._read_open(W,T),Z=Z||this._create_token(g.UNKNOWN,this._input.next()),Z)},l.prototype._read_comment_or_cdata=function(d){var T=null,Z=null,W=null;if(d==="<"){var H=this._input.peek(1);H==="!"&&(Z=this.__patterns.comment.read(),Z?(W=E.get_directives(Z),W&&W.ignore==="start"&&(Z+=E.readIgnored(this._input))):Z=this.__patterns.cdata.read()),Z&&(T=this._create_token(g.COMMENT,Z),T.directives=W)}return T},l.prototype._read_processing=function(d){var T=null,Z=null,W=null;if(d==="<"){var H=this._input.peek(1);(H==="!"||H==="?")&&(Z=this.__patterns.conditional_comment.read(),Z=Z||this.__patterns.processing.read()),Z&&(T=this._create_token(g.COMMENT,Z),T.directives=W)}return T},l.prototype._read_open=function(d,T){var Z=null,W=null;return T||d==="<"&&(Z=this._input.next(),this._input.peek()==="/"&&(Z+=this._input.next()),Z+=this.__patterns.element_name.read(),W=this._create_token(g.TAG_OPEN,Z)),W},l.prototype._read_open_handlebars=function(d,T){var Z=null,W=null;return T||this._options.indent_handlebars&&d==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(Z=this.__patterns.handlebars_comment.read(),Z=Z||this.__patterns.handlebars.read(),W=this._create_token(g.COMMENT,Z)):(Z=this.__patterns.handlebars_open.read(),W=this._create_token(g.TAG_OPEN,Z))),W},l.prototype._read_close=function(d,T){var Z=null,W=null;return T&&(T.text[0]==="<"&&(d===">"||d==="/"&&this._input.peek(1)===">")?(Z=this._input.next(),d==="/"&&(Z+=this._input.next()),W=this._create_token(g.TAG_CLOSE,Z)):T.text[0]==="{"&&d==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),W=this._create_token(g.TAG_CLOSE,"}}"))),W},l.prototype._read_attribute=function(d,T,Z){var W=null,H="";if(Z&&Z.text[0]==="<")if(d==="=")W=this._create_token(g.EQUALS,this._input.next());else if(d==='"'||d==="'"){var G=this._input.next();d==='"'?G+=this.__patterns.double_quote.read():G+=this.__patterns.single_quote.read(),W=this._create_token(g.VALUE,G)}else H=this.__patterns.attribute.read(),H&&(T.type===g.EQUALS?W=this._create_token(g.VALUE,H):W=this._create_token(g.ATTRIBUTE,H));return W},l.prototype._is_content_unformatted=function(d){return this._options.void_elements.indexOf(d)===-1&&(this._options.content_unformatted.indexOf(d)!==-1||this._options.unformatted.indexOf(d)!==-1)},l.prototype._read_raw_content=function(d,T,Z){var W="";if(Z&&Z.text[0]==="{")W=this.__patterns.handlebars_raw_close.read();else if(T.type===g.TAG_CLOSE&&T.opened.text[0]==="<"&&T.text[0]!=="/"){var H=T.opened.text.substr(1).toLowerCase();if(H==="script"||H==="style"){var G=this._read_comment_or_cdata(d);if(G)return G.type=g.TEXT,G;W=this._input.readUntil(new RegExp("</"+H+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(H)&&(W=this._input.readUntil(new RegExp("</"+H+"[\\n\\r\\t ]*?>","ig")))}return W?this._create_token(g.TEXT,W):null},l.prototype._read_content_word=function(d){var T="";if(this._options.unformatted_content_delimiter&&d===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=this.__patterns.word.read()),T)return this._create_token(g.TEXT,T)},h.exports.Tokenizer=l,h.exports.TOKEN=g}],K={};function e(h){var t=K[h];if(t!==void 0)return t.exports;var o=K[h]={exports:{}};return A[h](o,o.exports,e),o.exports}var p=e(18);$=p})();var X=$;if(1)x=[i,i(77937),i(85040)],R=function(A){var K=i(77937),e=i(85040);return{html_beautify:function(p,h){return X(p,h,K.js_beautify,e.css_beautify)}}}.apply(Ce,x),R!==void 0&&(St.exports=R);else var z,u})()},77937:function(St,Ce){var i,x;(function(){var R;(function(){"use strict";var X=[function(K,e,p){var h=p(1).Beautifier,t=p(5).Options;function o(s,f){var v=new h(s,f);return v.beautify()}K.exports=o,K.exports.defaultOptions=function(){return new t}},function(K,e,p){var h=p(2).Output,t=p(3).Token,o=p(4),s=p(5).Options,f=p(7).Tokenizer,v=p(7).line_starters,c=p(7).positionable_operators,y=p(7).TOKEN;function g(n,m){return m.indexOf(n)!==-1}function E(n){return n.replace(/^\s+/g,"")}function l(n){for(var m={},B=0;B<n.length;B++)m[n[B].replace(/-/g,"_")]=n[B];return m}function d(n,m){return n&&n.type===y.RESERVED&&n.text===m}function T(n,m){return n&&n.type===y.RESERVED&&g(n.text,m)}var Z=["case","return","do","if","throw","else","await","break","continue","async"],W=["before-newline","after-newline","preserve-newline"],H=l(W),G=[H.before_newline,H.preserve_newline],Q={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ye(n,m){m.multiline_frame||m.mode===Q.ForInitializer||m.mode===Q.Conditional||n.remove_indent(m.start_line_index)}function C(n){n=n.replace(o.allLineBreaks,`
|
|
`);for(var m=[],B=n.indexOf(`
|
|
`);B!==-1;)m.push(n.substring(0,B)),n=n.substring(B+1),B=n.indexOf(`
|
|
`);return n.length&&m.push(n),m}function w(n){return n===Q.ArrayLiteral}function P(n){return g(n,[Q.Expression,Q.ForInitializer,Q.Conditional])}function I(n,m){for(var B=0;B<n.length;B++){var pe=n[B].trim();if(pe.charAt(0)!==m)return!1}return!0}function L(n,m){for(var B=0,pe=n.length,De;B<pe;B++)if(De=n[B],De&&De.indexOf(m)!==0)return!1;return!0}function D(n,m){m=m||{},this._source_text=n||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new s(m)}D.prototype.create_flags=function(n,m){var B=0;n&&(B=n.indentation_level,!this._output.just_added_newline()&&n.line_indent_level>B&&(B=n.line_indent_level));var pe={mode:m,parent:n,last_token:n?n.last_token:new t(y.START_BLOCK,""),last_word:n?n.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:B,alignment:0,line_indent_level:n?n.line_indent_level:B,start_line_index:this._output.get_line_number(),ternary_depth:0};return pe},D.prototype._reset=function(n){var m=n.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new h(this._options,m),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Q.BlockStatement);var B=new f(n,this._options);return this._tokens=B.tokenize(),n},D.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var n,m=this._reset(this._source_text),B=this._options.eol;this._options.eol==="auto"&&(B=`
|
|
`,m&&o.lineBreak.test(m||"")&&(B=m.match(o.lineBreak)[0]));for(var pe=this._tokens.next();pe;)this.handle_token(pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=pe,pe=this._tokens.next();return n=this._output.get_code(B),n},D.prototype.handle_token=function(n,m){n.type===y.START_EXPR?this.handle_start_expr(n):n.type===y.END_EXPR?this.handle_end_expr(n):n.type===y.START_BLOCK?this.handle_start_block(n):n.type===y.END_BLOCK?this.handle_end_block(n):n.type===y.WORD?this.handle_word(n):n.type===y.RESERVED?this.handle_word(n):n.type===y.SEMICOLON?this.handle_semicolon(n):n.type===y.STRING?this.handle_string(n):n.type===y.EQUALS?this.handle_equals(n):n.type===y.OPERATOR?this.handle_operator(n):n.type===y.COMMA?this.handle_comma(n):n.type===y.BLOCK_COMMENT?this.handle_block_comment(n,m):n.type===y.COMMENT?this.handle_comment(n,m):n.type===y.DOT?this.handle_dot(n):n.type===y.EOF?this.handle_eof(n):n.type===y.UNKNOWN?this.handle_unknown(n,m):this.handle_unknown(n,m)},D.prototype.handle_whitespace_and_comments=function(n,m){var B=n.newlines,pe=this._options.keep_array_indentation&&w(this._flags.mode);if(n.comments_before)for(var De=n.comments_before.next();De;)this.handle_whitespace_and_comments(De,m),this.handle_token(De,m),De=n.comments_before.next();if(pe)for(var Re=0;Re<B;Re+=1)this.print_newline(Re>0,m);else if(this._options.max_preserve_newlines&&B>this._options.max_preserve_newlines&&(B=this._options.max_preserve_newlines),this._options.preserve_newlines&&B>1){this.print_newline(!1,m);for(var qe=1;qe<B;qe+=1)this.print_newline(!0,m)}};var a=["async","break","continue","return","throw","yield"];D.prototype.allow_wrap_or_preserved_newline=function(n,m){if(m=m===void 0?!1:m,!this._output.just_added_newline()){var B=this._options.preserve_newlines&&n.newlines||m,pe=g(this._flags.last_token.text,c)||g(n.text,c);if(pe){var De=g(this._flags.last_token.text,c)&&g(this._options.operator_position,G)||g(n.text,c);B=B&&De}if(B)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(T(this._flags.last_token,a))return;this._output.set_wrap_point()}}},D.prototype.print_newline=function(n,m){if(!m&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==y.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var B=this._tokens.peek();this._flags.mode===Q.Statement&&!(this._flags.if_block&&d(B,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(n)&&(this._flags.multiline_frame=!0)},D.prototype.print_token_line_indentation=function(n){this._output.just_added_newline()&&(this._options.keep_array_indentation&&n.newlines&&(n.text==="["||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(n.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},D.prototype.print_token=function(n){if(this._output.raw){this._output.add_raw_token(n);return}if(this._options.comma_first&&n.previous&&n.previous.type===y.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var m=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(m),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(n),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(n),this._output.non_breaking_space=!0,this._output.add_token(n.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},D.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},D.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},D.prototype.set_mode=function(n){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,n),this._flags=this.create_flags(this._previous_flags,n),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},D.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Q.Statement&&ye(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},D.prototype.start_of_object_property=function(){return this._flags.parent.mode===Q.ObjectLiteral&&this._flags.mode===Q.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"]))},D.prototype.start_of_statement=function(n){var m=!1;return m=m||T(this._flags.last_token,["var","let","const"])&&n.type===y.WORD,m=m||d(this._flags.last_token,"do"),m=m||!(this._flags.parent.mode===Q.ObjectLiteral&&this._flags.mode===Q.Statement)&&T(this._flags.last_token,a)&&!n.newlines,m=m||d(this._flags.last_token,"else")&&!(d(n,"if")&&!n.comments_before),m=m||this._flags.last_token.type===y.END_EXPR&&(this._previous_flags.mode===Q.ForInitializer||this._previous_flags.mode===Q.Conditional),m=m||this._flags.last_token.type===y.WORD&&this._flags.mode===Q.BlockStatement&&!this._flags.in_case&&!(n.text==="--"||n.text==="++")&&this._last_last_text!=="function"&&n.type!==y.WORD&&n.type!==y.RESERVED,m=m||this._flags.mode===Q.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"])),m?(this.set_mode(Q.Statement),this.indent(),this.handle_whitespace_and_comments(n,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n,T(n,["do","for","if","while"])),!0):!1},D.prototype.handle_start_expr=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n);var m=Q.Expression;if(n.text==="["){if(this._flags.last_token.type===y.WORD||this._flags.last_token.text===")"){T(this._flags.last_token,v)&&(this._output.space_before_token=!0),this.print_token(n),this.set_mode(m),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}m=Q.ArrayLiteral,w(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),g(this._flags.last_token.type,[y.START_EXPR,y.END_EXPR,y.WORD,y.OPERATOR,y.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===y.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,m=Q.ForInitializer):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,m=Q.Conditional):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&n.whitespace_before===""?this._output.space_before_token=!1:(g(this._flags.last_token.text,v)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===y.EQUALS||this._flags.last_token.type===y.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n);else if(this._flags.last_token.type===y.WORD){this._output.space_before_token=!1;var B=this._tokens.peek(-3);if(this._options.space_after_named_function&&B){var pe=this._tokens.peek(-4);T(B,["async","function"])||B.text==="*"&&T(pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Q.ObjectLiteral?(B.text==="{"||B.text===","||B.text==="*"&&(pe.text==="{"||pe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(n);(this._flags.last_token.type===y.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===Q.ObjectLiteral&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===y.START_BLOCK?this.print_newline():(this._flags.last_token.type===y.END_EXPR||this._flags.last_token.type===y.START_EXPR||this._flags.last_token.type===y.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===y.COMMA)&&this.allow_wrap_or_preserved_newline(n,n.newlines),this.print_token(n),this.set_mode(m),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},D.prototype.handle_end_expr=function(n){for(;this._flags.mode===Q.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(n,n.text==="]"&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===y.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(n),this.restore_mode(),ye(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Q.Conditional&&(this._previous_flags.mode=Q.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},D.prototype.handle_start_block=function(n){this.handle_whitespace_and_comments(n);var m=this._tokens.peek(),B=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===y.END_EXPR?(this.set_mode(Q.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Q.BlockStatement):B&&(g(B.text,[":",","])&&g(m.type,[y.STRING,y.WORD,y.RESERVED])||g(m.text,["get","set","..."])&&g(B.type,[y.WORD,y.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(B.text,[":",","])?this.set_mode(Q.BlockStatement):this.set_mode(Q.ObjectLiteral):this._flags.last_token.type===y.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(Q.BlockStatement):g(this._flags.last_token.type,[y.EQUALS,y.START_EXPR,y.COMMA,y.OPERATOR])||T(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Q.ObjectLiteral):this.set_mode(Q.BlockStatement),this._flags.last_token&&T(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var pe=!m.comments_before&&m.text==="}",De=pe&&this._flags.last_word==="function"&&this._flags.last_token.type===y.END_EXPR;if(this._options.brace_preserve_inline){var Re=0,qe=null;this._flags.inline_frame=!0;do if(Re+=1,qe=this._tokens.peek(Re-1),qe.newlines){this._flags.inline_frame=!1;break}while(qe.type!==y.EOF&&!(qe.type===y.END_BLOCK&&qe.opened===n))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&n.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==y.OPERATOR&&(De||this._flags.last_token.type===y.EQUALS||T(this._flags.last_token,Z)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(w(this._previous_flags.mode)&&(this._flags.last_token.type===y.START_EXPR||this._flags.last_token.type===y.COMMA)&&((this._flags.last_token.type===y.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===y.COMMA||this._flags.last_token.type===y.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(n),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==y.OPERATOR&&this._flags.last_token.type!==y.START_EXPR&&(this._flags.last_token.type===y.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(n),this.indent(),!pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},D.prototype.handle_end_block=function(n){for(this.handle_whitespace_and_comments(n);this._flags.mode===Q.Statement;)this.restore_mode();var m=this._flags.last_token.type===y.START_BLOCK;this._flags.inline_frame&&!m?this._output.space_before_token=!0:this._options.brace_style==="expand"?m||this.print_newline():m||(w(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(n)},D.prototype.handle_word=function(n){if(n.type===y.RESERVED){if(g(n.text,["set","get"])&&this._flags.mode!==Q.ObjectLiteral)n.type=y.WORD;else if(n.text==="import"&&g(this._tokens.peek().text,["(","."]))n.type=y.WORD;else if(g(n.text,["as","from"])&&!this._flags.import_block)n.type=y.WORD;else if(this._flags.mode===Q.ObjectLiteral){var m=this._tokens.peek();m.text===":"&&(n.type=y.WORD)}}if(this.start_of_statement(n)?T(this._flags.last_token,["var","let","const"])&&n.type===y.WORD&&(this._flags.declaration_statement=!0):n.newlines&&!P(this._flags.mode)&&(this._flags.last_token.type!==y.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==y.EQUALS&&(this._options.preserve_newlines||!T(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(n),this.print_newline()):this.handle_whitespace_and_comments(n),this._flags.do_block&&!this._flags.do_while)if(d(n,"while")){this._output.space_before_token=!0,this.print_token(n),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&d(n,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Q.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&T(n,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(n),this._flags.in_case=!0;return}if((this._flags.last_token.type===y.COMMA||this._flags.last_token.type===y.START_EXPR||this._flags.last_token.type===y.EQUALS||this._flags.last_token.type===y.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n)),d(n,"function")){(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(g(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===y.OPERATOR))&&!this._output.just_added_blankline()&&!n.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===y.RESERVED||this._flags.last_token.type===y.WORD?T(this._flags.last_token,["get","set","new","export"])||T(this._flags.last_token,a)?this._output.space_before_token=!0:d(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===y.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(P(this._flags.mode)||w(this._flags.mode))||this.print_newline(),this.print_token(n),this._flags.last_word=n.text;return}var B="NONE";if(this._flags.last_token.type===y.END_BLOCK?this._previous_flags.inline_frame?B="SPACE":T(n,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&n.newlines?B="NEWLINE":(B="SPACE",this._output.space_before_token=!0):B="NEWLINE":this._flags.last_token.type===y.SEMICOLON&&this._flags.mode===Q.BlockStatement?B="NEWLINE":this._flags.last_token.type===y.SEMICOLON&&P(this._flags.mode)?B="SPACE":this._flags.last_token.type===y.STRING?B="NEWLINE":this._flags.last_token.type===y.RESERVED||this._flags.last_token.type===y.WORD||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===Q.ObjectLiteral&&g(this._last_last_text,["{",","]))?B="SPACE":this._flags.last_token.type===y.START_BLOCK?this._flags.inline_frame?B="SPACE":B="NEWLINE":this._flags.last_token.type===y.END_EXPR&&(this._output.space_before_token=!0,B="NEWLINE"),T(n,v)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?B="SPACE":B="NEWLINE"),T(n,["else","catch","finally"]))if((!(this._flags.last_token.type===y.END_BLOCK&&this._previous_flags.mode===Q.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&n.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var pe=this._output.current_line;pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else B==="NEWLINE"?T(this._flags.last_token,Z)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&T(n,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==y.END_EXPR?(this._flags.last_token.type!==y.START_EXPR||!T(n,["var","let","const"]))&&this._flags.last_token.text!==":"&&(d(n,"if")&&d(n.previous,"else")?this._output.space_before_token=!0:this.print_newline()):T(n,v)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():B==="SPACE"&&(this._output.space_before_token=!0);n.previous&&(n.previous.type===y.WORD||n.previous.type===y.RESERVED)&&(this._output.space_before_token=!0),this.print_token(n),this._flags.last_word=n.text,n.type===y.RESERVED&&(n.text==="do"?this._flags.do_block=!0:n.text==="if"?this._flags.if_block=!0:n.text==="import"?this._flags.import_block=!0:this._flags.import_block&&d(n,"from")&&(this._flags.import_block=!1))},D.prototype.handle_semicolon=function(n){this.start_of_statement(n)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(n);for(var m=this._tokens.peek();this._flags.mode===Q.Statement&&!(this._flags.if_block&&d(m,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(n)},D.prototype.handle_string=function(n){n.text.startsWith("`")&&n.newlines===0&&n.whitespace_before===""&&(n.previous.text===")"||this._flags.last_token.type===y.WORD)||(this.start_of_statement(n)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(n),this._flags.last_token.type===y.RESERVED||this._flags.last_token.type===y.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===y.COMMA||this._flags.last_token.type===y.START_EXPR||this._flags.last_token.type===y.EQUALS||this._flags.last_token.type===y.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(n):n.text.startsWith("`")&&this._flags.last_token.type===y.END_EXPR&&(n.previous.text==="]"||n.previous.text===")")&&n.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(n)},D.prototype.handle_equals=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(n),this._output.space_before_token=!0},D.prototype.handle_comma=function(n){this.handle_whitespace_and_comments(n,!0),this.print_token(n),this._output.space_before_token=!0,this._flags.declaration_statement?(P(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(n)):this._flags.mode===Q.ObjectLiteral||this._flags.mode===Q.Statement&&this._flags.parent.mode===Q.ObjectLiteral?(this._flags.mode===Q.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(n)},D.prototype.handle_operator=function(n){var m=n.text==="*"&&(T(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[y.START_BLOCK,y.COMMA,y.END_BLOCK,y.SEMICOLON])),B=g(n.text,["-","+"])&&(g(this._flags.last_token.type,[y.START_BLOCK,y.START_EXPR,y.EQUALS,y.OPERATOR])||g(this._flags.last_token.text,v)||this._flags.last_token.text===",");if(!this.start_of_statement(n)){var pe=!m;this.handle_whitespace_and_comments(n,pe)}if(n.text==="*"&&this._flags.last_token.type===y.DOT){this.print_token(n);return}if(n.text==="::"){this.print_token(n);return}if(this._flags.last_token.type===y.OPERATOR&&g(this._options.operator_position,G)&&this.allow_wrap_or_preserved_newline(n),n.text===":"&&this._flags.in_case){this.print_token(n),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==y.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var De=!0,Re=!0,qe=!1;if(n.text===":"?this._flags.ternary_depth===0?De=!1:(this._flags.ternary_depth-=1,qe=!0):n.text==="?"&&(this._flags.ternary_depth+=1),!B&&!m&&this._options.preserve_newlines&&g(n.text,c)){var Xe=n.text===":",Rt=Xe&&qe,_e=Xe&&!qe;switch(this._options.operator_position){case H.before_newline:this._output.space_before_token=!_e,this.print_token(n),(!Xe||Rt)&&this.allow_wrap_or_preserved_newline(n),this._output.space_before_token=!0;return;case H.after_newline:this._output.space_before_token=!0,!Xe||Rt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(n):this._output.space_before_token=!1,this.print_token(n),this._output.space_before_token=!0;return;case H.preserve_newline:_e||this.allow_wrap_or_preserved_newline(n),De=!(this._output.just_added_newline()||_e),this._output.space_before_token=De,this.print_token(n),this._output.space_before_token=!0;return}}if(m){this.allow_wrap_or_preserved_newline(n),De=!1;var it=this._tokens.peek();Re=it&&g(it.type,[y.WORD,y.RESERVED])}else if(n.text==="...")this.allow_wrap_or_preserved_newline(n),De=this._flags.last_token.type===y.START_BLOCK,Re=!1;else if(g(n.text,["--","++","!","~"])||B){if((this._flags.last_token.type===y.COMMA||this._flags.last_token.type===y.START_EXPR)&&this.allow_wrap_or_preserved_newline(n),De=!1,Re=!1,n.newlines&&(n.text==="--"||n.text==="++"||n.text==="~")){var $e=T(this._flags.last_token,Z)&&n.newlines;$e&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline($e,!0)}this._flags.last_token.text===";"&&P(this._flags.mode)&&(De=!0),this._flags.last_token.type===y.RESERVED?De=!0:this._flags.last_token.type===y.END_EXPR?De=!(this._flags.last_token.text==="]"&&(n.text==="--"||n.text==="++")):this._flags.last_token.type===y.OPERATOR&&(De=g(n.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(n.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(Re=!0)),(this._flags.mode===Q.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Q.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||De,this.print_token(n),this._output.space_before_token=Re},D.prototype.handle_block_comment=function(n,m){if(this._output.raw){this._output.add_raw_token(n),n.directives&&n.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(n.directives){this.print_newline(!1,m),this.print_token(n),n.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!o.newline.test(n.text)&&!n.newlines){this._output.space_before_token=!0,this.print_token(n),this._output.space_before_token=!0;return}else this.print_block_commment(n,m)},D.prototype.print_block_commment=function(n,m){var B=C(n.text),pe,De=!1,Re=!1,qe=n.whitespace_before,Xe=qe.length;if(this.print_newline(!1,m),this.print_token_line_indentation(n),this._output.add_token(B[0]),this.print_newline(!1,m),B.length>1){for(B=B.slice(1),De=I(B,"*"),Re=L(B,qe),De&&(this._flags.alignment=1),pe=0;pe<B.length;pe++)De?(this.print_token_line_indentation(n),this._output.add_token(E(B[pe]))):Re&&B[pe]?(this.print_token_line_indentation(n),this._output.add_token(B[pe].substring(Xe))):(this._output.current_line.set_indent(-1),this._output.add_token(B[pe])),this.print_newline(!1,m);this._flags.alignment=0}},D.prototype.handle_comment=function(n,m){n.newlines?this.print_newline(!1,m):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(n),this.print_newline(!1,m)},D.prototype.handle_dot=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),T(this._flags.last_token,Z)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(n,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(n)},D.prototype.handle_unknown=function(n,m){this.print_token(n),n.text[n.text.length-1]===`
|
|
`&&this.print_newline(!1,m)},D.prototype.handle_eof=function(n){for(;this._flags.mode===Q.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n)},K.exports.Beautifier=D},function(K){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var o=this.__items.length-1;o>=0;o--)if(this.__items[o].match(t))return!0;return!1},e.prototype.set_indent=function(t,o){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=o||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var o=t.lastIndexOf(`
|
|
`);o!==-1?this.__character_count=t.length-o:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function p(t,o){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),o=o||"",t.indent_level>0&&(o=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=o,this.__base_string_length=o.length}p.prototype.get_indent_size=function(t,o){var s=this.__base_string_length;return o=o||0,t<0&&(s=0),s+=t*this.__indent_size,s+=o,s},p.prototype.get_indent_string=function(t,o){var s=this.__base_string;return o=o||0,t<0&&(t=0,s=""),o+=t*this.__indent_size,this.__ensure_cache(o),s+=this.__cache[o],s},p.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},p.prototype.__add_column=function(){var t=this.__cache.length,o=0,s="";this.__indent_size&&t>=this.__indent_size&&(o=Math.floor(t/this.__indent_size),t-=o*this.__indent_size,s=new Array(o+1).join(this.__indent_string)),t&&(s+=new Array(t+1).join(" ")),this.__cache.push(s)};function h(t,o){this.__indent_cache=new p(t,o),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}h.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},h.prototype.get_line_number=function(){return this.__lines.length},h.prototype.get_indent_string=function(t,o){return this.__indent_cache.get_indent_string(t,o)},h.prototype.get_indent_size=function(t,o){return this.__indent_cache.get_indent_size(t,o)},h.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},h.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},h.prototype.get_code=function(t){this.trim(!0);var o=this.current_line.pop();o&&(o[o.length-1]===`
|
|
`&&(o=o.replace(/\n+$/g,"")),this.current_line.push(o)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(s=s.replace(/[\n]/g,t)),s},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(t,o){return t=t||0,o=o||0,this.next_line.set_indent(t,o),this.__lines.length>1?(this.current_line.set_indent(t,o),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(t){for(var o=0;o<t.newlines;o++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},h.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},h.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},h.prototype.remove_indent=function(t){for(var o=this.__lines.length;t<o;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},h.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},h.prototype.just_added_newline=function(){return this.current_line.is_empty()},h.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},h.prototype.ensure_empty_line_above=function(t,o){for(var s=this.__lines.length-2;s>=0;){var f=this.__lines[s];if(f.is_empty())break;if(f.item(0).indexOf(t)!==0&&f.item(-1)!==o){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},K.exports.Output=h},function(K){function e(p,h,t,o){this.type=p,this.text=h,this.comments_before=null,this.newlines=t||0,this.whitespace_before=o||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}K.exports.Token=e},function(K,e){var p="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",h="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="(?:\\\\u[0-9a-fA-F]{4}|["+p+t+"])",f="(?:\\\\u[0-9a-fA-F]{4}|["+h+t+o+"])*";e.identifier=new RegExp(s+f,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+h+t+o+"])+");var v=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(K,e,p){var h=p(6).Options,t=["before-newline","after-newline","preserve-newline"];function o(s){h.call(this,s,"js");var f=this.raw_options.brace_style||null;f==="expand-strict"?this.raw_options.brace_style="expand":f==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var v=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var c=0;c<v.length;c++)v[c]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=v[c];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}o.prototype=new h,K.exports.Options=o},function(K){function e(t,o){this.raw_options=p(t,o),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,o){var s=this.raw_options[t],f=o||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(f=s.concat()):typeof s=="string"&&(f=s.split(/[^a-zA-Z0-9_\/\-]+/)),f},e.prototype._get_boolean=function(t,o){var s=this.raw_options[t],f=s===void 0?!!o:!!s;return f},e.prototype._get_characters=function(t,o){var s=this.raw_options[t],f=o||"";return typeof s=="string"&&(f=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),f},e.prototype._get_number=function(t,o){var s=this.raw_options[t];o=parseInt(o,10),isNaN(o)&&(o=0);var f=parseInt(s,10);return isNaN(f)&&(f=o),f},e.prototype._get_selection=function(t,o,s){var f=this._get_selection_list(t,o,s);if(f.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return f[0]},e.prototype._get_selection_list=function(t,o,s){if(!o||o.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[o[0]],!this._is_valid_selection(s,o))throw new Error("Invalid Default Value!");var f=this._get_array(t,s);if(!this._is_valid_selection(f,o))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+o+`
|
|
You passed in: '`+this.raw_options[t]+"'");return f},e.prototype._is_valid_selection=function(t,o){return t.length&&o.length&&!t.some(function(s){return o.indexOf(s)===-1})};function p(t,o){var s={};t=h(t);var f;for(f in t)f!==o&&(s[f]=t[f]);if(o&&t[o])for(f in t[o])s[f]=t[o][f];return s}function h(t){var o={},s;for(s in t){var f=s.replace(/-/g,"_");o[f]=t[s]}return o}K.exports.Options=e,K.exports.normalizeOpts=h,K.exports.mergeOpts=p},function(K,e,p){var h=p(8).InputScanner,t=p(9).Tokenizer,o=p(9).TOKEN,s=p(13).Directives,f=p(4),v=p(12).Pattern,c=p(14).TemplatablePattern;function y(I,L){return L.indexOf(I)!==-1}var g={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},E=new s(/\/\*/,/\*\//),l=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,d=/[0-9]/,T=/[^\d\.]/,Z=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),W=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";W=W.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),W="\\?\\.(?!\\d) "+W,W=W.replace(/ /g,"|");var H=new RegExp(W),G="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),Q=G.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ye=new RegExp("^(?:"+Q.join("|")+")$"),C,w=function(I,L){t.call(this,I,L),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var D=new v(this._input),a=new c(this._input).read_options(this._options);this.__patterns={template:a,identifier:a.starting_with(f.identifier).matching(f.identifierMatch),number:D.matching(l),punct:D.matching(H),comment:D.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:D.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:D.matching(/<!--/),html_comment_end:D.matching(/-->/),include:D.starting_with(/#include/).until_after(f.lineBreak),shebang:D.starting_with(/#!/).until_after(f.lineBreak),xml:D.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:a.until(/['\\\n\r\u2028\u2029]/),double_quote:a.until(/["\\\n\r\u2028\u2029]/),template_text:a.until(/[`\\$]/),template_expression:a.until(/[`}\\]/)}};w.prototype=new t,w.prototype._is_comment=function(I){return I.type===g.COMMENT||I.type===g.BLOCK_COMMENT||I.type===g.UNKNOWN},w.prototype._is_opening=function(I){return I.type===g.START_BLOCK||I.type===g.START_EXPR},w.prototype._is_closing=function(I,L){return(I.type===g.END_BLOCK||I.type===g.END_EXPR)&&L&&(I.text==="]"&&L.text==="["||I.text===")"&&L.text==="("||I.text==="}"&&L.text==="{")},w.prototype._reset=function(){C=!1},w.prototype._get_next_token=function(I,L){var D=null;this._readWhitespace();var a=this._input.peek();return a===null?this._create_token(g.EOF,""):(D=D||this._read_non_javascript(a),D=D||this._read_string(a),D=D||this._read_word(I),D=D||this._read_singles(a),D=D||this._read_comment(a),D=D||this._read_regexp(a,I),D=D||this._read_xml(a,I),D=D||this._read_punctuation(),D=D||this._create_token(g.UNKNOWN,this._input.next()),D)},w.prototype._read_word=function(I){var L;if(L=this.__patterns.identifier.read(),L!=="")return L=L.replace(f.allLineBreaks,`
|
|
`),!(I.type===g.DOT||I.type===g.RESERVED&&(I.text==="set"||I.text==="get"))&&ye.test(L)?(L==="in"||L==="of")&&(I.type===g.WORD||I.type===g.STRING)?this._create_token(g.OPERATOR,L):this._create_token(g.RESERVED,L):this._create_token(g.WORD,L);if(L=this.__patterns.number.read(),L!=="")return this._create_token(g.WORD,L)},w.prototype._read_singles=function(I){var L=null;return I==="("||I==="["?L=this._create_token(g.START_EXPR,I):I===")"||I==="]"?L=this._create_token(g.END_EXPR,I):I==="{"?L=this._create_token(g.START_BLOCK,I):I==="}"?L=this._create_token(g.END_BLOCK,I):I===";"?L=this._create_token(g.SEMICOLON,I):I==="."&&T.test(this._input.peek(1))?L=this._create_token(g.DOT,I):I===","&&(L=this._create_token(g.COMMA,I)),L&&this._input.next(),L},w.prototype._read_punctuation=function(){var I=this.__patterns.punct.read();if(I!=="")return I==="="?this._create_token(g.EQUALS,I):I==="?."?this._create_token(g.DOT,I):this._create_token(g.OPERATOR,I)},w.prototype._read_non_javascript=function(I){var L="";if(I==="#"){if(this._is_first_token()&&(L=this.__patterns.shebang.read(),L))return this._create_token(g.UNKNOWN,L.trim()+`
|
|
`);if(L=this.__patterns.include.read(),L)return this._create_token(g.UNKNOWN,L.trim()+`
|
|
`);I=this._input.next();var D="#";if(this._input.hasNext()&&this._input.testChar(d)){do I=this._input.next(),D+=I;while(this._input.hasNext()&&I!=="#"&&I!=="=");return I==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(D+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(D+="{}",this._input.next(),this._input.next())),this._create_token(g.WORD,D)}this._input.back()}else if(I==="<"&&this._is_first_token()){if(L=this.__patterns.html_comment_start.read(),L){for(;this._input.hasNext()&&!this._input.testChar(f.newline);)L+=this._input.next();return C=!0,this._create_token(g.COMMENT,L)}}else if(C&&I==="-"&&(L=this.__patterns.html_comment_end.read(),L))return C=!1,this._create_token(g.COMMENT,L);return null},w.prototype._read_comment=function(I){var L=null;if(I==="/"){var D="";if(this._input.peek(1)==="*"){D=this.__patterns.block_comment.read();var a=E.get_directives(D);a&&a.ignore==="start"&&(D+=E.readIgnored(this._input)),D=D.replace(f.allLineBreaks,`
|
|
`),L=this._create_token(g.BLOCK_COMMENT,D),L.directives=a}else this._input.peek(1)==="/"&&(D=this.__patterns.comment.read(),L=this._create_token(g.COMMENT,D))}return L},w.prototype._read_string=function(I){if(I==="`"||I==="'"||I==='"'){var L=this._input.next();return this.has_char_escapes=!1,I==="`"?L+=this._read_string_recursive("`",!0,"${"):L+=this._read_string_recursive(I),this.has_char_escapes&&this._options.unescape_strings&&(L=P(L)),this._input.peek()===I&&(L+=this._input.next()),L=L.replace(f.allLineBreaks,`
|
|
`),this._create_token(g.STRING,L)}return null},w.prototype._allow_regexp_or_xml=function(I){return I.type===g.RESERVED&&y(I.text,["return","case","throw","else","do","typeof","yield"])||I.type===g.END_EXPR&&I.text===")"&&I.opened.previous.type===g.RESERVED&&y(I.opened.previous.text,["if","while","for"])||y(I.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])},w.prototype._read_regexp=function(I,L){if(I==="/"&&this._allow_regexp_or_xml(L)){for(var D=this._input.next(),a=!1,n=!1;this._input.hasNext()&&(a||n||this._input.peek()!==I)&&!this._input.testChar(f.newline);)D+=this._input.peek(),a?a=!1:(a=this._input.peek()==="\\",this._input.peek()==="["?n=!0:this._input.peek()==="]"&&(n=!1)),this._input.next();return this._input.peek()===I&&(D+=this._input.next(),D+=this._input.read(f.identifier)),this._create_token(g.STRING,D)}return null},w.prototype._read_xml=function(I,L){if(this._options.e4x&&I==="<"&&this._allow_regexp_or_xml(L)){var D="",a=this.__patterns.xml.read_match();if(a){for(var n=a[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),m=n.indexOf("{")===0,B=0;a;){var pe=!!a[1],De=a[2],Re=!!a[a.length-1]||De.slice(0,8)==="![CDATA[";if(!Re&&(De===n||m&&De.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(pe?--B:++B),D+=a[0],B<=0)break;a=this.__patterns.xml.read_match()}return a||(D+=this._input.match(/[\s\S]*/g)[0]),D=D.replace(f.allLineBreaks,`
|
|
`),this._create_token(g.STRING,D)}}return null};function P(I){for(var L="",D=0,a=new h(I),n=null;a.hasNext();)if(n=a.match(/([\s]|[^\\]|\\\\)+/g),n&&(L+=n[0]),a.peek()==="\\"){if(a.next(),a.peek()==="x")n=a.match(/x([0-9A-Fa-f]{2})/g);else if(a.peek()==="u")n=a.match(/u([0-9A-Fa-f]{4})/g);else{L+="\\",a.hasNext()&&(L+=a.next());continue}if(!n||(D=parseInt(n[1],16),D>126&&D<=255&&n[0].indexOf("x")===0))return I;if(D>=0&&D<32){L+="\\"+n[0];continue}else D===34||D===39||D===92?L+="\\"+String.fromCharCode(D):L+=String.fromCharCode(D)}return L}w.prototype._read_string_recursive=function(I,L,D){var a,n;I==="'"?n=this.__patterns.single_quote:I==='"'?n=this.__patterns.double_quote:I==="`"?n=this.__patterns.template_text:I==="}"&&(n=this.__patterns.template_expression);for(var m=n.read(),B="";this._input.hasNext();){if(B=this._input.next(),B===I||!L&&f.newline.test(B)){this._input.back();break}else B==="\\"&&this._input.hasNext()?(a=this._input.peek(),a==="x"||a==="u"?this.has_char_escapes=!0:a==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),B+=this._input.next()):D&&(D==="${"&&B==="$"&&this._input.peek()==="{"&&(B+=this._input.next()),D===B&&(I==="`"?B+=this._read_string_recursive("}",L,"`"):B+=this._read_string_recursive("`",L,"${"),this._input.hasNext()&&(B+=this._input.next())));B+=n.read(),m+=B}return m},K.exports.Tokenizer=w,K.exports.TOKEN=g,K.exports.positionable_operators=Z.slice(),K.exports.line_starters=G.slice()},function(K){var e=RegExp.prototype.hasOwnProperty("sticky");function p(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}p.prototype.restart=function(){this.__position=0},p.prototype.back=function(){this.__position>0&&(this.__position-=1)},p.prototype.hasNext=function(){return this.__position<this.__input_length},p.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},p.prototype.peek=function(h){var t=null;return h=h||0,h+=this.__position,h>=0&&h<this.__input_length&&(t=this.__input.charAt(h)),t},p.prototype.__match=function(h,t){h.lastIndex=t;var o=h.exec(this.__input);return o&&!(e&&h.sticky)&&o.index!==t&&(o=null),o},p.prototype.test=function(h,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(h,t):!1},p.prototype.testChar=function(h,t){var o=this.peek(t);return h.lastIndex=0,o!==null&&h.test(o)},p.prototype.match=function(h){var t=this.__match(h,this.__position);return t?this.__position+=t[0].length:t=null,t},p.prototype.read=function(h,t,o){var s="",f;return h&&(f=this.match(h),f&&(s+=f[0])),t&&(f||!h)&&(s+=this.readUntil(t,o)),s},p.prototype.readUntil=function(h,t){var o="",s=this.__position;h.lastIndex=this.__position;var f=h.exec(this.__input);return f?(s=f.index,t&&(s+=f[0].length)):s=this.__input_length,o=this.__input.substring(this.__position,s),this.__position=s,o},p.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},p.prototype.get_regexp=function(h,t){var o=null,s="g";return t&&e&&(s="y"),typeof h=="string"&&h!==""?o=new RegExp(h,s):h&&(o=new RegExp(h.source,s)),o},p.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},p.prototype.peekUntilAfter=function(h){var t=this.__position,o=this.readUntilAfter(h);return this.__position=t,o},p.prototype.lookBack=function(h){var t=this.__position-1;return t>=h.length&&this.__input.substring(t-h.length,t).toLowerCase()===h},K.exports.InputScanner=p},function(K,e,p){var h=p(8).InputScanner,t=p(3).Token,o=p(10).TokenStream,s=p(11).WhitespacePattern,f={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},v=function(c,y){this._input=new h(c),this._options=y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new o,this._reset();for(var c,y=new t(f.START,""),g=null,E=[],l=new o;y.type!==f.EOF;){for(c=this._get_next_token(y,g);this._is_comment(c);)l.add(c),c=this._get_next_token(y,g);l.isEmpty()||(c.comments_before=l,l=new o),c.parent=g,this._is_opening(c)?(E.push(g),g=c):g&&this._is_closing(c,g)&&(c.opened=g,g.closed=c,g=E.pop(),c.parent=g),c.previous=y,y.next=c,this.__tokens.add(c),y=c}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(c,y){this._readWhitespace();var g=this._input.read(/.+/g);return g?this._create_token(f.RAW,g):this._create_token(f.EOF,"")},v.prototype._is_comment=function(c){return!1},v.prototype._is_opening=function(c){return!1},v.prototype._is_closing=function(c,y){return!1},v.prototype._create_token=function(c,y){var g=new t(c,y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return g},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},K.exports.Tokenizer=v,K.exports.TOKEN=f},function(K){function e(p){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=p}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__tokens[this.__position],this.__position+=1),p},e.prototype.peek=function(p){var h=null;return p=p||0,p+=this.__position,p>=0&&p<this.__tokens_length&&(h=this.__tokens[p]),h},e.prototype.add=function(p){this.__parent_token&&(p.parent=this.__parent_token),this.__tokens.push(p),this.__tokens_length+=1},K.exports.TokenStream=e},function(K,e,p){var h=p(12).Pattern;function t(o,s){h.call(this,o,s),s?this._line_regexp=this._input.get_regexp(s._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new h,t.prototype.__set_whitespace_patterns=function(o,s){o+="\\t ",s+="\\n\\r",this._match_pattern=this._input.get_regexp("["+o+s+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+s+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var o=this._input.read(this._match_pattern);if(o===" ")this.whitespace_before_token=" ";else if(o){var s=this.__split(this._newline_regexp,o);this.newline_count=s.length-1,this.whitespace_before_token=s[this.newline_count]}return o},t.prototype.matching=function(o,s){var f=this._create();return f.__set_whitespace_patterns(o,s),f._update(),f},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(o,s){o.lastIndex=0;for(var f=0,v=[],c=o.exec(s);c;)v.push(s.substring(f,c.index)),f=c.index+c[0].length,c=o.exec(s);return f<s.length?v.push(s.substring(f,s.length)):v.push(""),v},K.exports.WhitespacePattern=t},function(K){function e(p,h){this._input=p,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h&&(this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after)}e.prototype.read=function(){var p=this._input.read(this._starting_pattern);return(!this._starting_pattern||p)&&(p+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),p},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(p){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(p),h._update(),h},e.prototype.until=function(p){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(p),h._update(),h},e.prototype.starting_with=function(p){var h=this._create();return h._starting_pattern=this._input.get_regexp(p,!0),h._update(),h},e.prototype.matching=function(p){var h=this._create();return h._match_pattern=this._input.get_regexp(p,!0),h._update(),h},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},K.exports.Pattern=e},function(K){function e(p,h){p=typeof p=="string"?p:p.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(p+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(p+/\sbeautify\signore:end\s/.source+h,"g")}e.prototype.get_directives=function(p){if(!p.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(p);t;)h[t[1]]=t[2],t=this.__directive_pattern.exec(p);return h},e.prototype.readIgnored=function(p){return p.readUntilAfter(this.__directives_end_ignore_pattern)},K.exports.Directives=e},function(K,e,p){var h=p(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function o(s,f){h.call(this,s,f),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),f&&(this.__template_pattern=this._input.get_regexp(f.__template_pattern),this._excluded=Object.assign(this._excluded,f._excluded),this._disabled=Object.assign(this._disabled,f._disabled));var v=new h(s);this.__patterns={handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:v.starting_with(/{{{/).until_after(/}}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),php:v.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:v.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:v.starting_with(/{%/).until_after(/%}/),django_value:v.starting_with(/{{/).until_after(/}}/),django_comment:v.starting_with(/{#/).until_after(/#}/),smarty:v.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:v.starting_with(/{\*/).until_after(/\*}/),smarty_literal:v.starting_with(/{literal}/).until_after(/{\/literal}/)}}o.prototype=new h,o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){this.__set_templated_pattern()},o.prototype.disable=function(s){var f=this._create();return f._disabled[s]=!0,f._update(),f},o.prototype.read_options=function(s){var f=this._create();for(var v in t)f._disabled[v]=s.templating.indexOf(v)===-1;return f._update(),f},o.prototype.exclude=function(s){var f=this._create();return f._excluded[s]=!0,f._update(),f},o.prototype.read=function(){var s="";this._match_pattern?s=this._input.read(this._starting_pattern):s=this._input.read(this._starting_pattern,this.__template_pattern);for(var f=this._read_template();f;)this._match_pattern?f+=this._input.read(this._match_pattern):f+=this._input.readUntil(this.__template_pattern),s+=f,f=this._read_template();return this._until_after&&(s+=this._input.readUntilAfter(this._until_pattern)),s},o.prototype.__set_templated_pattern=function(){var s=[];this._disabled.php||s.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||s.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||s.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(s.push(this.__patterns.django._starting_pattern.source),s.push(this.__patterns.django_value._starting_pattern.source),s.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||s.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&s.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+s.join("|")+")")},o.prototype._read_template=function(){var s="",f=this._input.peek();if(f==="<"){var v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(s=s||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(s=s||this.__patterns.erb.read())}else f==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(s=s||this.__patterns.handlebars_comment.read(),s=s||this.__patterns.handlebars_unescaped.read(),s=s||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(s=s||this.__patterns.django_value.read()),this._excluded.django||(s=s||this.__patterns.django_comment.read(),s=s||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(s=s||this.__patterns.smarty_comment.read(),s=s||this.__patterns.smarty_literal.read(),s=s||this.__patterns.smarty.read()));return s},K.exports.TemplatablePattern=o}],z={};function u(K){var e=z[K];if(e!==void 0)return e.exports;var p=z[K]={exports:{}};return X[K](p,p.exports,u),p.exports}var A=u(0);R=A})();var $=R;i=[],x=function(){return{js_beautify:$}}.apply(Ce,i),x!==void 0&&(St.exports=x)})()},74741:function(St,Ce,i){"use strict";i.d(Ce,{Wi:function(){return u},Z0:function(){return A},aU:function(){return z},eZ:function(){return e},wY:function(){return K}});var x=i(4669),R=i(9917),$=i(63580),X=function(p,h,t,o){function s(f){return f instanceof t?f:new t(function(v){v(f)})}return new(t||(t=Promise))(function(f,v){function c(E){try{g(o.next(E))}catch(l){v(l)}}function y(E){try{g(o.throw(E))}catch(l){v(l)}}function g(E){E.done?f(E.value):s(E.value).then(c,y)}g((o=o.apply(p,h||[])).next())})};class z extends R.JT{constructor(h,t="",o="",s=!0,f){super(),this._onDidChange=this._register(new x.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=h,this._label=t,this._cssClass=o,this._enabled=s,this._actionCallback=f}get id(){return this._id}get label(){return this._label}set label(h){this._setLabel(h)}_setLabel(h){this._label!==h&&(this._label=h,this._onDidChange.fire({label:h}))}get tooltip(){return this._tooltip||""}set tooltip(h){this._setTooltip(h)}_setTooltip(h){this._tooltip!==h&&(this._tooltip=h,this._onDidChange.fire({tooltip:h}))}get class(){return this._cssClass}set class(h){this._setClass(h)}_setClass(h){this._cssClass!==h&&(this._cssClass=h,this._onDidChange.fire({class:h}))}get enabled(){return this._enabled}set enabled(h){this._setEnabled(h)}_setEnabled(h){this._enabled!==h&&(this._enabled=h,this._onDidChange.fire({enabled:h}))}get checked(){return this._checked}set checked(h){this._setChecked(h)}_setChecked(h){this._checked!==h&&(this._checked=h,this._onDidChange.fire({checked:h}))}run(h,t){return X(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(h))})}}class u extends R.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new x.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new x.Q5),this.onDidRun=this._onDidRun.event}run(h,t){return X(this,void 0,void 0,function*(){if(!h.enabled)return;this._onBeforeRun.fire({action:h});let o;try{yield this.runAction(h,t)}catch(s){o=s}this._onDidRun.fire({action:h,error:o})})}runAction(h,t){return X(this,void 0,void 0,function*(){yield h.run(t)})}}class A extends z{constructor(h){super(A.ID,h,h?"separator text":"separator"),this.checked=!1,this.enabled=!1}}A.ID="vs.actions.separator";class K{constructor(h,t,o,s){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=h,this.label=t,this.class=s,this._actions=o}get actions(){return this._actions}dispose(){}run(){return X(this,void 0,void 0,function*(){})}}class e extends z{constructor(){super(e.ID,$.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},35146:function(St,Ce,i){"use strict";i.d(Ce,{ok:function(){return x}});function x(R,$){if(!R)throw new Error($?`Assertion failed (${$})`:"Assertion Failed")}},73046:function(St,Ce,i){"use strict";i.d(Ce,{CM:function(){return z},JL:function(){return u},dT:function(){return K},fK:function(){return X},lA:function(){return A}});var x=i(4669);class R{constructor(){this._icons=new Map,this._onDidRegister=new x.Q5}add(p){const h=this._icons.get(p.id);h?p.description?h.description=p.description:console.error(`Duplicate registration of codicon ${p.id}`):(this._icons.set(p.id,p),this._onDidRegister.fire(p))}get(p){return this._icons.get(p)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const $=new R,X=$;function z(e,p){return new A(e,p)}function u(e){return e?e.replace(/\$\((.*?)\)/g,(p,h)=>` ${h} `).trim():""}class A{constructor(p,h,t){this.id=p,this.definition=h,this.description=t,$.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var K;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const p=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function h(s){if(s instanceof A)return["codicon","codicon-"+s.id];const f=p.exec(s.id);if(!f)return h(A.error);let[,v,c]=f;const y=["codicon","codicon-"+v];return c&&y.push("codicon-modifier-"+c.substr(1)),y}e.asClassNameArray=h;function t(s){return h(s).join(" ")}e.asClassName=t;function o(s){return"."+h(s).join(".")}e.asCSSSelector=o})(K||(K={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(A||(A={}))},17301:function(St,Ce,i){"use strict";i.d(Ce,{B8:function(){return h},Cp:function(){return X},F0:function(){return K},L6:function(){return p},VV:function(){return A},b1:function(){return e},dL:function(){return $},ri:function(){return z}});class x{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(o){setTimeout(()=>{throw o.stack?new Error(o.message+`
|
|
|
|
`+o.stack):o},0)}}emit(o){this.listeners.forEach(s=>{s(o)})}onUnexpectedError(o){this.unexpectedErrorHandler(o),this.emit(o)}onUnexpectedExternalError(o){this.unexpectedErrorHandler(o)}}const R=new x;function $(t){A(t)||R.onUnexpectedError(t)}function X(t){A(t)||R.onUnexpectedExternalError(t)}function z(t){if(t instanceof Error){let{name:o,message:s}=t;const f=t.stacktrace||t.stack;return{$isError:!0,name:o,message:s,stack:f}}return t}const u="Canceled";function A(t){return t instanceof Error&&t.name===u&&t.message===u}function K(){const t=new Error(u);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function p(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class h extends Error{constructor(o){super("NotSupported"),o&&(this.message=o)}}},4669:function(St,Ce,i){"use strict";i.d(Ce,{D0:function(){return h},E7:function(){return t},K3:function(){return p},Q5:function(){return e},ZD:function(){return o},ju:function(){return z}});var x=i(17301),R=i(9917),$=i(91741),X=i(84013),z;(function(s){s.None=()=>R.JT.None;function f(P){return(I,L=null,D)=>{let a=!1,n;return n=P(m=>{if(!a)return n?n.dispose():a=!0,I.call(L,m)},null,D),a&&n.dispose(),n}}s.once=f;function v(P,I){return d((L,D=null,a)=>P(n=>L.call(D,I(n)),null,a))}s.map=v;function c(P,I){return d((L,D=null,a)=>P(n=>{I(n),L.call(D,n)},null,a))}s.forEach=c;function y(P,I){return d((L,D=null,a)=>P(n=>I(n)&&L.call(D,n),null,a))}s.filter=y;function g(P){return P}s.signal=g;function E(...P){return(I,L=null,D)=>(0,R.F8)(...P.map(a=>a(n=>I.call(L,n),null,D)))}s.any=E;function l(P,I,L){let D=L;return v(P,a=>(D=I(D,a),D))}s.reduce=l;function d(P){let I;const L=new e({onFirstListenerAdd(){I=P(L.fire,L)},onLastListenerRemove(){I.dispose()}});return L.event}function T(P,I,L=100,D=!1,a){let n,m,B,pe=0;const De=new e({leakWarningThreshold:a,onFirstListenerAdd(){n=P(Re=>{pe++,m=I(m,Re),D&&!B&&(De.fire(m),m=void 0),clearTimeout(B),B=setTimeout(()=>{const qe=m;m=void 0,B=void 0,(!D||pe>1)&&De.fire(qe),pe=0},L)})},onLastListenerRemove(){n.dispose()}});return De.event}s.debounce=T;function Z(P,I=(L,D)=>L===D){let L=!0,D;return y(P,a=>{const n=L||!I(a,D);return L=!1,D=a,n})}s.latch=Z;function W(P,I){return[s.filter(P,I),s.filter(P,L=>!I(L))]}s.split=W;function H(P,I=!1,L=[]){let D=L.slice(),a=P(B=>{D?D.push(B):m.fire(B)});const n=()=>{D&&D.forEach(B=>m.fire(B)),D=null},m=new e({onFirstListenerAdd(){a||(a=P(B=>m.fire(B)))},onFirstListenerDidAdd(){D&&(I?setTimeout(n):n())},onLastListenerRemove(){a&&a.dispose(),a=null}});return m.event}s.buffer=H;class G{constructor(I){this.event=I}map(I){return new G(v(this.event,I))}forEach(I){return new G(c(this.event,I))}filter(I){return new G(y(this.event,I))}reduce(I,L){return new G(l(this.event,I,L))}latch(){return new G(Z(this.event))}debounce(I,L=100,D=!1,a){return new G(T(this.event,I,L,D,a))}on(I,L,D){return this.event(I,L,D)}once(I,L,D){return f(this.event)(I,L,D)}}function Q(P){return new G(P)}s.chain=Q;function ye(P,I,L=D=>D){const D=(...B)=>m.fire(L(...B)),a=()=>P.on(I,D),n=()=>P.removeListener(I,D),m=new e({onFirstListenerAdd:a,onLastListenerRemove:n});return m.event}s.fromNodeEventEmitter=ye;function C(P,I,L=D=>D){const D=(...B)=>m.fire(L(...B)),a=()=>P.addEventListener(I,D),n=()=>P.removeEventListener(I,D),m=new e({onFirstListenerAdd:a,onLastListenerRemove:n});return m.event}s.fromDOMEventEmitter=C;function w(P){return new Promise(I=>f(P)(I))}s.toPromise=w})(z||(z={}));class u{constructor(f){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${f}_${u._idPool++}`}start(f){this._stopWatch=new X.G(!0),this._listenerCount=f}stop(){if(this._stopWatch){const f=this._stopWatch.elapsed();this._elapsedOverall+=f,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${f.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}u._idPool=0;let A=-1;class K{constructor(f,v=Math.random().toString(18).slice(2,5)){this.customThreshold=f,this.name=v,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(f){let v=A;if(typeof this.customThreshold=="number"&&(v=this.customThreshold),v<=0||f<v)return;this._stacks||(this._stacks=new Map);const c=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),y=this._stacks.get(c)||0;if(this._stacks.set(c,y+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=v*.5;let g,E=0;for(const[l,d]of this._stacks)(!g||E<d)&&(g=l,E=d);console.warn(`[${this.name}] potential listener LEAK detected, having ${f} listeners already. MOST frequent listener (${E}):`),console.warn(g)}return()=>{const g=this._stacks.get(c)||0;this._stacks.set(c,g-1)}}}class e{constructor(f){var v;this._disposed=!1,this._options=f,this._leakageMon=A>0?new K(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((v=this._options)===null||v===void 0)&&v._profName?new u(this._options._profName):void 0}get event(){return this._event||(this._event=(f,v,c)=>{var y;this._listeners||(this._listeners=new $.S);const g=this._listeners.isEmpty();g&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const E=this._listeners.push(v?[f,v]:f);g&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,f,v);const l=(y=this._leakageMon)===null||y===void 0?void 0:y.check(this._listeners.size),d=(0,R.OF)(()=>{l&&l(),this._disposed||(E(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return c instanceof R.SL?c.add(d):Array.isArray(c)&&c.push(d),d}),this._event}fire(f){var v,c;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new $.S);for(let y of this._listeners)this._deliveryQueue.push([y,f]);for((v=this._perfMon)===null||v===void 0||v.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[y,g]=this._deliveryQueue.shift();try{typeof y=="function"?y.call(void 0,g):y[0].call(y[1],g)}catch(E){(0,x.dL)(E)}}(c=this._perfMon)===null||c===void 0||c.stop()}}dispose(){var f,v,c,y,g;this._disposed||(this._disposed=!0,(f=this._listeners)===null||f===void 0||f.clear(),(v=this._deliveryQueue)===null||v===void 0||v.clear(),(y=(c=this._options)===null||c===void 0?void 0:c.onLastListenerRemove)===null||y===void 0||y.call(c),(g=this._leakageMon)===null||g===void 0||g.dispose())}}class p extends e{constructor(f){super(f),this._isPaused=0,this._eventQueue=new $.S,this._mergeFn=f==null?void 0:f.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const f=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(f))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(f){this._listeners&&(this._isPaused!==0?this._eventQueue.push(f):super.fire(f))}}class h extends p{constructor(f){var v;super(f),this._delay=(v=f.delay)!==null&&v!==void 0?v:100}fire(f){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(f)}}class t{constructor(){this.buffers=[]}wrapEvent(f){return(v,c,y)=>f(g=>{const E=this.buffers[this.buffers.length-1];E?E.push(()=>v.call(c,g)):v.call(c,g)},void 0,y)}bufferEvents(f){const v=[];this.buffers.push(v);const c=f();return this.buffers.pop(),v.forEach(y=>y()),c}}class o{constructor(){this.listening=!1,this.inputEvent=z.None,this.inputEventListener=R.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(f){this.inputEvent=f,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=f(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},88289:function(St,Ce,i){"use strict";i.d(Ce,{I:function(){return x}});function x(R){const $=this;let X=!1,z;return function(){return X||(X=!0,z=R.apply($,arguments)),z}}},53725:function(St,Ce,i){"use strict";i.d(Ce,{$:function(){return x}});var x;(function(R){function $(E){return E&&typeof E=="object"&&typeof E[Symbol.iterator]=="function"}R.is=$;const X=Object.freeze([]);function z(){return X}R.empty=z;function*u(E){yield E}R.single=u;function A(E){return E||X}R.from=A;function K(E){return!E||E[Symbol.iterator]().next().done===!0}R.isEmpty=K;function e(E){return E[Symbol.iterator]().next().value}R.first=e;function p(E,l){for(const d of E)if(l(d))return!0;return!1}R.some=p;function h(E,l){for(const d of E)if(l(d))return d}R.find=h;function*t(E,l){for(const d of E)l(d)&&(yield d)}R.filter=t;function*o(E,l){let d=0;for(const T of E)yield l(T,d++)}R.map=o;function*s(...E){for(const l of E)for(const d of l)yield d}R.concat=s;function*f(E){for(const l of E)for(const d of l)yield d}R.concatNested=f;function v(E,l,d){let T=d;for(const Z of E)T=l(T,Z);return T}R.reduce=v;function*c(E,l,d=E.length){for(l<0&&(l+=E.length),d<0?d+=E.length:d>E.length&&(d=E.length);l<d;l++)yield E[l]}R.slice=c;function y(E,l=Number.POSITIVE_INFINITY){const d=[];if(l===0)return[d,E];const T=E[Symbol.iterator]();for(let Z=0;Z<l;Z++){const W=T.next();if(W.done)return[d,R.empty()];d.push(W.value)}return[d,{[Symbol.iterator](){return T}}]}R.consume=y;function g(E,l,d=(T,Z)=>T===Z){const T=E[Symbol.iterator](),Z=l[Symbol.iterator]();for(;;){const W=T.next(),H=Z.next();if(W.done!==H.done)return!1;if(W.done)return!0;if(!d(W.value,H.value))return!1}}R.equals=g})(x||(x={}))},9917:function(St,Ce,i){"use strict";i.d(Ce,{B9:function(){return o},F8:function(){return s},JT:function(){return c},Jz:function(){return g},OF:function(){return f},SL:function(){return v},Wf:function(){return t},XK:function(){return y},dk:function(){return p}});var x=i(88289),R=i(53725);const $=!1;let X=null;function z(E){X=E}if($){const E="__is_disposable_tracked__";z(new class{trackDisposable(l){const d=new Error("Potentially leaked disposable").stack;setTimeout(()=>{l[E]||console.log(d)},3e3)}setParent(l,d){if(l&&l!==c.None)try{l[E]=!0}catch(T){}}markAsDisposed(l){if(l&&l!==c.None)try{l[E]=!0}catch(d){}}markAsSingleton(l){}})}function u(E){return X==null||X.trackDisposable(E),E}function A(E){X==null||X.markAsDisposed(E)}function K(E,l){X==null||X.setParent(E,l)}function e(E,l){if(X)for(const d of E)X.setParent(d,l)}function p(E){return X==null||X.markAsSingleton(E),E}class h extends Error{constructor(l){super(`Encountered errors while disposing of store. Errors: [${l.join(", ")}]`),this.errors=l}}function t(E){return typeof E.dispose=="function"&&E.dispose.length===0}function o(E){if(R.$.is(E)){let l=[];for(const d of E)if(d)try{d.dispose()}catch(T){l.push(T)}if(l.length===1)throw l[0];if(l.length>1)throw new h(l);return Array.isArray(E)?[]:E}else if(E)return E.dispose(),E}function s(...E){const l=f(()=>o(E));return e(E,l),l}function f(E){const l=u({dispose:(0,x.I)(()=>{A(l),E()})});return l}class v{constructor(){this._toDispose=new Set,this._isDisposed=!1,u(this)}dispose(){this._isDisposed||(A(this),this._isDisposed=!0,this.clear())}clear(){try{o(this._toDispose.values())}finally{this._toDispose.clear()}}add(l){if(!l)return l;if(l===this)throw new Error("Cannot register a disposable on itself!");return K(l,this),this._isDisposed?v.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(l),l}}v.DISABLE_DISPOSED_WARNING=!1;class c{constructor(){this._store=new v,u(this),K(this._store,this)}dispose(){A(this),this._store.dispose()}_register(l){if(l===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(l)}}c.None=Object.freeze({dispose(){}});class y{constructor(){this._isDisposed=!1,u(this)}get value(){return this._isDisposed?void 0:this._value}set value(l){var d;this._isDisposed||l===this._value||((d=this._value)===null||d===void 0||d.dispose(),l&&K(l,this),this._value=l)}clear(){this.value=void 0}dispose(){var l;this._isDisposed=!0,A(this),(l=this._value)===null||l===void 0||l.dispose(),this._value=void 0}clearAndLeak(){const l=this._value;return this._value=void 0,l&&K(l,null),l}}class g{constructor(l){this.object=l}dispose(){}}},91741:function(St,Ce,i){"use strict";i.d(Ce,{S:function(){return R}});class x{constructor(X){this.element=X,this.next=x.Undefined,this.prev=x.Undefined}}x.Undefined=new x(void 0);class R{constructor(){this._first=x.Undefined,this._last=x.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===x.Undefined}clear(){let X=this._first;for(;X!==x.Undefined;){const z=X.next;X.prev=x.Undefined,X.next=x.Undefined,X=z}this._first=x.Undefined,this._last=x.Undefined,this._size=0}unshift(X){return this._insert(X,!1)}push(X){return this._insert(X,!0)}_insert(X,z){const u=new x(X);if(this._first===x.Undefined)this._first=u,this._last=u;else if(z){const K=this._last;this._last=u,u.prev=K,K.next=u}else{const K=this._first;this._first=u,u.next=K,K.prev=u}this._size+=1;let A=!1;return()=>{A||(A=!0,this._remove(u))}}shift(){if(this._first!==x.Undefined){const X=this._first.element;return this._remove(this._first),X}}pop(){if(this._last!==x.Undefined){const X=this._last.element;return this._remove(this._last),X}}_remove(X){if(X.prev!==x.Undefined&&X.next!==x.Undefined){const z=X.prev;z.next=X.next,X.next.prev=z}else X.prev===x.Undefined&&X.next===x.Undefined?(this._first=x.Undefined,this._last=x.Undefined):X.next===x.Undefined?(this._last=this._last.prev,this._last.next=x.Undefined):X.prev===x.Undefined&&(this._first=this._first.next,this._first.prev=x.Undefined);this._size-=1}*[Symbol.iterator](){let X=this._first;for(;X!==x.Undefined;)yield X.element,X=X.next}}},1432:function(St,Ce,i){"use strict";i.d(Ce,{$L:function(){return T},ED:function(){return g},IJ:function(){return l},OS:function(){return G},WE:function(){return W},dz:function(){return E},gn:function(){return Z},li:function(){return f},r:function(){return C},tY:function(){return d},xS:function(){return H}});var x=i(34155),R;const $="en";let X=!1,z=!1,u=!1,A=!1,K=!1,e=!1,p=!1,h,t=null,o=null,s;const f=typeof self=="object"?self:typeof i.g=="object"?i.g:{};let v;typeof f.vscode!="undefined"&&typeof f.vscode.process!="undefined"?v=f.vscode.process:typeof x!="undefined"&&(v=x);const c=typeof((R=v==null?void 0:v.versions)===null||R===void 0?void 0:R.electron)=="string"&&v.type==="renderer";if(typeof navigator=="object"&&!c)s=navigator.userAgent,X=s.indexOf("Windows")>=0,z=s.indexOf("Macintosh")>=0,p=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,u=s.indexOf("Linux")>=0,e=!0,h=navigator.language,t=h;else if(typeof v=="object"){X=v.platform==="win32",z=v.platform==="darwin",u=v.platform==="linux",A=u&&!!v.env.SNAP&&!!v.env.SNAP_REVISION,h=$,t=$;const w=v.env.VSCODE_NLS_CONFIG;if(w)try{const P=JSON.parse(w),I=P.availableLanguages["*"];h=P.locale,t=I||$,o=P._translationsConfigFile}catch(P){}K=!0}else console.error("Unable to resolve platform.");let y=0;z?y=1:X?y=3:u&&(y=2);const g=X,E=z,l=u,d=K,T=e,Z=p,W=s,H=function(){if(f.setImmediate)return f.setImmediate.bind(f);if(typeof f.postMessage=="function"&&!f.importScripts){let I=[];f.addEventListener("message",D=>{if(D.data&&D.data.vscodeSetImmediateId)for(let a=0,n=I.length;a<n;a++){const m=I[a];if(m.id===D.data.vscodeSetImmediateId){I.splice(a,1),m.callback();return}}});let L=0;return D=>{const a=++L;I.push({id:a,callback:D}),f.postMessage({vscodeSetImmediateId:a},"*")}}if(typeof(v==null?void 0:v.nextTick)=="function")return v.nextTick.bind(v);const P=Promise.resolve();return I=>P.then(I)}(),G=z||p?2:X?1:3;let Q=!0,ye=!1;function C(){if(!ye){ye=!0;const w=new Uint8Array(2);w[0]=1,w[1]=2,Q=new Uint16Array(w.buffer)[0]===513}return Q}},84013:function(St,Ce,i){"use strict";i.d(Ce,{G:function(){return $}});var x=i(1432);const R=x.li.performance&&typeof x.li.performance.now=="function";class ${constructor(z){this._highResolution=R&&z,this._startTime=this._now(),this._stopTime=-1}static create(z=!0){return new $(z)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?x.li.performance.now():Date.now()}}},97295:function(St,Ce,i){"use strict";i.d(Ce,{$i:function(){return pe},C8:function(){return Rt},GF:function(){return h},HO:function(){return L},IO:function(){return t},K7:function(){return Xe},Kw:function(){return $e},LC:function(){return f},Mh:function(){return H},P1:function(){return G},PJ:function(){return Ze},Qe:function(){return De},R1:function(){return p},RP:function(){return m},S6:function(){return re},TT:function(){return g},Ut:function(){return a},V8:function(){return v},WU:function(){return $},YK:function(){return ye},YU:function(){return X},ZG:function(){return Q},ZH:function(){return w},ab:function(){return Re},c1:function(){return _e},df:function(){return T},ec:function(){return z},fi:function(){return Me},fy:function(){return u},j3:function(){return A},j_:function(){return l},m5:function(){return x},mK:function(){return d},mr:function(){return o},oH:function(){return ae},oL:function(){return K},ok:function(){return W},ow:function(){return c},qq:function(){return Z},qu:function(){return y},rL:function(){return C},uS:function(){return it},un:function(){return e},uq:function(){return s},vH:function(){return I},xe:function(){return qe},zY:function(){return E}});function x(O){return!O||typeof O!="string"?!0:O.trim().length===0}const R=/{(\d+)}/g;function $(O,...te){return te.length===0?O:O.replace(R,function(he,J){const le=parseInt(J,10);return isNaN(le)||le<0||le>=te.length?he:te[le]})}function X(O){return O.replace(/[<>&]/g,function(te){switch(te){case"<":return"<";case">":return">";case"&":return"&";default:return te}})}function z(O){return O.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function u(O,te=" "){const he=A(O,te);return K(he,te)}function A(O,te){if(!O||!te)return O;const he=te.length;if(he===0||O.length===0)return O;let J=0;for(;O.indexOf(te,J)===J;)J=J+he;return O.substring(J)}function K(O,te){if(!O||!te)return O;const he=te.length,J=O.length;if(he===0||J===0)return O;let le=J,ie=-1;for(;ie=O.lastIndexOf(te,le-1),!(ie===-1||ie+he!==le);){if(ie===0)return"";le=ie}return O.substring(0,le)}function e(O){return O.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function p(O){return O.replace(/\*/g,"")}function h(O,te,he={}){if(!O)throw new Error("Cannot create regex from empty string");te||(O=z(O)),he.wholeWord&&(/\B/.test(O.charAt(0))||(O="\\b"+O),/\B/.test(O.charAt(O.length-1))||(O=O+"\\b"));let J="";return he.global&&(J+="g"),he.matchCase||(J+="i"),he.multiline&&(J+="m"),he.unicode&&(J+="u"),new RegExp(O,J)}function t(O){return O.source==="^"||O.source==="^$"||O.source==="$"||O.source==="^\\s*$"?!1:!!(O.exec("")&&O.lastIndex===0)}function o(O){return(O.global?"g":"")+(O.ignoreCase?"i":"")+(O.multiline?"m":"")+(O.unicode?"u":"")}function s(O){return O.split(/\r\n|\r|\n/)}function f(O){for(let te=0,he=O.length;te<he;te++){const J=O.charCodeAt(te);if(J!==32&&J!==9)return te}return-1}function v(O,te=0,he=O.length){for(let J=te;J<he;J++){const le=O.charCodeAt(J);if(le!==32&&le!==9)return O.substring(te,J)}return O.substring(te,he)}function c(O,te=O.length-1){for(let he=te;he>=0;he--){const J=O.charCodeAt(he);if(J!==32&&J!==9)return he}return-1}function y(O,te){return O<te?-1:O>te?1:0}function g(O,te,he=0,J=O.length,le=0,ie=te.length){for(;he<J&&le<ie;he++,le++){let lt=O.charCodeAt(he),dt=te.charCodeAt(le);if(lt<dt)return-1;if(lt>dt)return 1}const ze=J-he,Fe=ie-le;return ze<Fe?-1:ze>Fe?1:0}function E(O,te){return l(O,te,0,O.length,0,te.length)}function l(O,te,he=0,J=O.length,le=0,ie=te.length){for(;he<J&&le<ie;he++,le++){let lt=O.charCodeAt(he),dt=te.charCodeAt(le);if(lt===dt)continue;if(lt>=128||dt>=128)return g(O.toLowerCase(),te.toLowerCase(),he,J,le,ie);d(lt)&&(lt-=32),d(dt)&&(dt-=32);const At=lt-dt;if(At!==0)return At}const ze=J-he,Fe=ie-le;return ze<Fe?-1:ze>Fe?1:0}function d(O){return O>=97&&O<=122}function T(O){return O>=65&&O<=90}function Z(O,te){return O.length===te.length&&l(O,te)===0}function W(O,te){const he=te.length;return te.length>O.length?!1:l(O,te,0,he)===0}function H(O,te){let he,J=Math.min(O.length,te.length);for(he=0;he<J;he++)if(O.charCodeAt(he)!==te.charCodeAt(he))return he;return J}function G(O,te){let he,J=Math.min(O.length,te.length);const le=O.length-1,ie=te.length-1;for(he=0;he<J;he++)if(O.charCodeAt(le-he)!==te.charCodeAt(ie-he))return he;return J}function Q(O){return 55296<=O&&O<=56319}function ye(O){return 56320<=O&&O<=57343}function C(O,te){return(O-55296<<10)+(te-56320)+65536}function w(O,te,he){const J=O.charCodeAt(he);if(Q(J)&&he+1<te){const le=O.charCodeAt(he+1);if(ye(le))return C(J,le)}return J}function P(O,te){const he=O.charCodeAt(te-1);if(ye(he)&&te>1){const J=O.charCodeAt(te-2);if(Q(J))return C(J,he)}return he}function I(O,te){const he=j.getInstance(),J=te,le=O.length,ie=w(O,le,te);te+=ie>=65536?2:1;let ze=he.getGraphemeBreakType(ie);for(;te<le;){const Fe=w(O,le,te),lt=he.getGraphemeBreakType(Fe);if(Me(ze,lt))break;te+=Fe>=65536?2:1,ze=lt}return te-J}function L(O,te){const he=j.getInstance(),J=te,le=P(O,te);te-=le>=65536?2:1;let ie=he.getGraphemeBreakType(le);for(;te>0;){const ze=P(O,te),Fe=he.getGraphemeBreakType(ze);if(Me(Fe,ie))break;te-=ze>=65536?2:1,ie=Fe}return J-te}const D=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function a(O){return D.test(O)}const n=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function m(O){return n.test(O)}const B=/^[\t\n\r\x20-\x7E]*$/;function pe(O){return B.test(O)}const De=/[\u2028\u2029]/;function Re(O){return De.test(O)}function qe(O){for(let te=0,he=O.length;te<he;te++)if(Xe(O.charCodeAt(te)))return!0;return!1}function Xe(O){return O=+O,O>=11904&&O<=55215||O>=63744&&O<=64255||O>=65281&&O<=65374}function Rt(O){return O>=127462&&O<=127487||O===8986||O===8987||O===9200||O===9203||O>=9728&&O<=10175||O===11088||O===11093||O>=127744&&O<=128591||O>=128640&&O<=128764||O>=128992&&O<=129003||O>=129280&&O<=129535||O>=129648&&O<=129750}const _e="\uFEFF";function it(O){return!!(O&&O.length>0&&O.charCodeAt(0)===65279)}function $e(O,te=!1){return O?(te&&(O=O.replace(/\\./g,"")),O.toLowerCase()!==O):!1}function Ze(O){return O=O%(2*26),O<26?String.fromCharCode(97+O):String.fromCharCode(65+O-26)}function re(O){return j.getInstance().getGraphemeBreakType(O)}function Me(O,te){return O===0?te!==5&&te!==7:O===2&&te===3?!1:O===4||O===2||O===3||te===4||te===2||te===3?!0:!(O===8&&(te===8||te===9||te===11||te===12)||(O===11||O===9)&&(te===9||te===10)||(O===12||O===10)&&te===10||te===5||te===13||te===7||O===1||O===13&&te===14||O===6&&te===6)}class j{constructor(){this._data=de()}static getInstance(){return j._INSTANCE||(j._INSTANCE=new j),j._INSTANCE}getGraphemeBreakType(te){if(te<32)return te===10?3:te===13?2:4;if(te<127)return 0;const he=this._data,J=he.length/3;let le=1;for(;le<=J;)if(te<he[3*le])le=2*le;else if(te>he[3*le+1])le=2*le+1;else return he[3*le+2];return 0}}j._INSTANCE=null;function de(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function ae(O,te){if(O===0)return 0;const he=He(O,te);if(he!==void 0)return he;const J=P(te,O);return O-=Le(J),O}function He(O,te){let he=P(te,O);for(O-=Le(he);F(he)||he===65039||he===8419;){if(O===0)return;he=P(te,O),O-=Le(he)}if(Rt(he)){if(O>=0){const J=P(te,O);J===8205&&(O-=Le(J))}return O}}function Le(O){return O>=65536?2:1}function F(O){return 127995<=O&&O<=127999}},98401:function(St,Ce,i){"use strict";i.d(Ce,{$E:function(){return f},$K:function(){return A},D8:function(){return t},HD:function(){return R},IU:function(){return v},Jp:function(){return K},Kn:function(){return $},cW:function(){return p},f6:function(){return c},hj:function(){return X},jn:function(){return z},kJ:function(){return x},mf:function(){return h},o8:function(){return u},p_:function(){return e},vE:function(){return y}});function x(g){return Array.isArray(g)}function R(g){return typeof g=="string"}function $(g){return typeof g=="object"&&g!==null&&!Array.isArray(g)&&!(g instanceof RegExp)&&!(g instanceof Date)}function X(g){return typeof g=="number"&&!isNaN(g)}function z(g){return g===!0||g===!1}function u(g){return typeof g=="undefined"}function A(g){return!K(g)}function K(g){return u(g)||g===null}function e(g,E){if(!g)throw new Error(E?`Unexpected type, expected '${E}'`:"Unexpected type")}function p(g){if(K(g))throw new Error("Assertion Failed: argument is undefined or null");return g}function h(g){return typeof g=="function"}function t(g,E){const l=Math.min(g.length,E.length);for(let d=0;d<l;d++)o(g[d],E[d])}function o(g,E){if(R(E)){if(typeof g!==E)throw new Error(`argument does not match constraint: typeof ${E}`)}else if(h(E)){try{if(g instanceof E)return}catch(l){}if(!K(g)&&g.constructor===E||E.length===1&&E.call(void 0,g)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function s(g){let E=[],l=Object.getPrototypeOf(g);for(;Object.prototype!==l;)E=E.concat(Object.getOwnPropertyNames(l)),l=Object.getPrototypeOf(l);return E}function f(g){const E=[];for(const l of s(g))typeof g[l]=="function"&&E.push(l);return E}function v(g,E){const l=T=>function(){const Z=Array.prototype.slice.call(arguments,0);return E(T,Z)};let d={};for(const T of g)d[T]=l(T);return d}function c(g){return g===null?void 0:g}function y(g,E="Unreachable"){throw new Error(E)}},63580:function(St,Ce,i){"use strict";i.d(Ce,{N:function(){return R}});function x($,X){let z;return X.length===0?z=$:z=$.replace(/\{(\d+)\}/g,function(u,A){const K=A[0];return typeof X[K]!="undefined"?X[K]:u}),z}function R($,X,...z){return x(X,z)}},84144:function(St,Ce,i){"use strict";i.d(Ce,{BH:function(){return v},NZ:function(){return c},U8:function(){return y},co:function(){return f},eH:function(){return s},vr:function(){return o}});var x=i(74741),R=i(73046),$=i(4669),X=i(53725),z=i(9917),u=i(91741),A=i(94565),K=i(38819),e=i(72065),p=i(97781),h=function(g,E,l,d){var T=arguments.length,Z=T<3?E:d===null?d=Object.getOwnPropertyDescriptor(E,l):d,W;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(g,E,l,d);else for(var H=g.length-1;H>=0;H--)(W=g[H])&&(Z=(T<3?W(Z):T>3?W(E,l,Z):W(E,l))||Z);return T>3&&Z&&Object.defineProperty(E,l,Z),Z},t=function(g,E){return function(l,d){E(l,d,g)}};function o(g){return g.command!==void 0}class s{constructor(E){this.id=s._idPool++,this._debugName=E}}s._idPool=0,s.CommandPalette=new s("CommandPalette"),s.EditorContext=new s("EditorContext"),s.SimpleEditorContext=new s("SimpleEditorContext"),s.EditorContextCopy=new s("EditorContextCopy"),s.EditorContextPeek=new s("EditorContextPeek"),s.MenubarEditMenu=new s("MenubarEditMenu"),s.MenubarCopy=new s("MenubarCopy"),s.MenubarGoMenu=new s("MenubarGoMenu"),s.MenubarSelectionMenu=new s("MenubarSelectionMenu"),s.InlineCompletionsActions=new s("InlineCompletionsActions");const f=(0,e.yh)("menuService"),v=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new $.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:g=>g===s.CommandPalette}}addCommand(g){return this.addCommands(X.$.single(g))}addCommands(g){for(const E of g)this._commands.set(E.id,E);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,z.OF)(()=>{let E=!1;for(const l of g)E=this._commands.delete(l.id)||E;E&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(g){return this._commands.get(g)}getCommands(){const g=new Map;return this._commands.forEach((E,l)=>g.set(l,E)),g}appendMenuItem(g,E){return this.appendMenuItems(X.$.single({id:g,item:E}))}appendMenuItems(g){const E=new Set,l=new u.S;for(const{id:d,item:T}of g){let Z=this._menuItems.get(d);Z||(Z=new u.S,this._menuItems.set(d,Z)),l.push(Z.push(T)),E.add(d)}return this._onDidChangeMenu.fire(E),(0,z.OF)(()=>{if(l.size>0){for(let d of l)d();this._onDidChangeMenu.fire(E),l.clear()}})}getMenuItems(g){let E;return this._menuItems.has(g)?E=[...this._menuItems.get(g)]:E=[],g===s.CommandPalette&&this._appendImplicitItems(E),E}_appendImplicitItems(g){const E=new Set;for(const l of g)o(l)&&(E.add(l.command.id),l.alt&&E.add(l.alt.id));this._commands.forEach((l,d)=>{E.has(d)||g.push({command:l})})}};class c extends x.wY{constructor(E,l,d,T){super(`submenuitem.${E.submenu.id}`,typeof E.title=="string"?E.title:E.title.value,[],"submenu"),this.item=E,this._menuService=l,this._contextKeyService=d,this._options=T}get actions(){const E=[],l=this._menuService.createMenu(this.item.submenu,this._contextKeyService),d=l.getActions(this._options);l.dispose();for(const[,T]of d)T.length>0&&(E.push(...T),E.push(new x.Z0));return E.length&&E.pop(),E}}let y=class Ws{constructor(E,l,d,T,Z){var W,H;if(this._commandService=Z,this.id=E.id,this.label=d!=null&&d.renderShortTitle&&E.shortTitle?typeof E.shortTitle=="string"?E.shortTitle:E.shortTitle.value:typeof E.title=="string"?E.title:E.title.value,this.tooltip=(H=typeof E.tooltip=="string"?E.tooltip:(W=E.tooltip)===null||W===void 0?void 0:W.value)!==null&&H!==void 0?H:"",this.enabled=!E.precondition||T.contextMatchesRules(E.precondition),this.checked=void 0,E.toggled){const G=E.toggled.condition?E.toggled:{condition:E.toggled};this.checked=T.contextMatchesRules(G.condition),this.checked&&G.tooltip&&(this.tooltip=typeof G.tooltip=="string"?G.tooltip:G.tooltip.value),G.title&&(this.label=typeof G.title=="string"?G.title:G.title.value)}this.item=E,this.alt=l?new Ws(l,void 0,d,T,Z):void 0,this._options=d,p.kS.isThemeIcon(E.icon)&&(this.class=R.dT.asClassName(E.icon))}dispose(){}run(...E){var l,d;let T=[];return!((l=this._options)===null||l===void 0)&&l.arg&&(T=[...T,this._options.arg]),!((d=this._options)===null||d===void 0)&&d.shouldForwardArgs&&(T=[...T,...E]),this._commandService.executeCommand(this.id,...T)}};y=h([t(3,K.i6),t(4,A.H)],y)},94565:function(St,Ce,i){"use strict";i.d(Ce,{H:function(){return A},P:function(){return K}});var x=i(4669),R=i(53725),$=i(9917),X=i(91741),z=i(98401),u=i(72065);const A=(0,u.yh)("commandService"),K=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new x.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,p){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!p)throw new Error("invalid command");return this.registerCommand({id:e,handler:p})}if(e.description){const f=[];for(let c of e.description.args)f.push(c.constraint);const v=e.handler;e.handler=function(c,...y){return(0,z.D8)(y,f),v(c,...y)}}const{id:h}=e;let t=this._commands.get(h);t||(t=new X.S,this._commands.set(h,t));let o=t.unshift(e),s=(0,$.OF)(()=>{o();const f=this._commands.get(h);f!=null&&f.isEmpty()&&this._commands.delete(h)});return this._onDidRegisterCommand.fire(h),s}registerCommandAlias(e,p){return K.registerCommand(e,(h,...t)=>h.get(A).executeCommand(p,...t))}getCommand(e){const p=this._commands.get(e);if(!(!p||p.isEmpty()))return R.$.first(p)}getCommands(){const e=new Map;for(const p of this._commands.keys()){const h=this.getCommand(p);h&&e.set(p,h)}return e}};K.registerCommand("noop",()=>{})},38819:function(St,Ce,i){"use strict";i.d(Ce,{Ao:function(){return A},Eq:function(){return C},Fb:function(){return K},K8:function(){return I},i6:function(){return ye},uy:function(){return Q}});var x=i(1432),R=i(97295),$=i(72065);let X=x.WE||"";const z=new Map;z.set("false",!1),z.set("true",!0),z.set("isMac",x.dz),z.set("isLinux",x.IJ),z.set("isWindows",x.ED),z.set("isWeb",x.$L),z.set("isMacNative",x.dz&&!x.$L),z.set("isEdge",X.indexOf("Edg/")>=0),z.set("isFirefox",X.indexOf("Firefox")>=0),z.set("isChrome",X.indexOf("Chrome")>=0),z.set("isSafari",X.indexOf("Safari")>=0);const u=Object.prototype.hasOwnProperty;class A{static has(a){return t.create(a)}static equals(a,n){return o.create(a,n)}static regex(a,n){return T.create(a,n)}static not(a){return c.create(a)}static and(...a){return H.create(a,null)}static or(...a){return G.create(a,null,!0)}static deserialize(a,n=!1){if(a)return this._deserializeOrExpression(a,n)}static _deserializeOrExpression(a,n){let m=a.split("||");return G.create(m.map(B=>this._deserializeAndExpression(B,n)),null,!0)}static _deserializeAndExpression(a,n){let m=a.split("&&");return H.create(m.map(B=>this._deserializeOne(B,n)),null)}static _deserializeOne(a,n){if(a=a.trim(),a.indexOf("!=")>=0){let m=a.split("!=");return v.create(m[0].trim(),this._deserializeValue(m[1],n))}if(a.indexOf("==")>=0){let m=a.split("==");return o.create(m[0].trim(),this._deserializeValue(m[1],n))}if(a.indexOf("=~")>=0){let m=a.split("=~");return T.create(m[0].trim(),this._deserializeRegexValue(m[1],n))}if(a.indexOf(" in ")>=0){let m=a.split(" in ");return s.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(a)){const m=a.split(">=");return E.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(a)){const m=a.split(">");return g.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(a)){const m=a.split("<=");return d.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(a)){const m=a.split("<");return l.create(m[0].trim(),m[1].trim())}return/^\!\s*/.test(a)?c.create(a.substr(1).trim()):t.create(a)}static _deserializeValue(a,n){if(a=a.trim(),a==="true")return!0;if(a==="false")return!1;let m=/^'([^']*)'$/.exec(a);return m?m[1].trim():a}static _deserializeRegexValue(a,n){if((0,R.m5)(a)){if(n)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let m=a.indexOf("/"),B=a.lastIndexOf("/");if(m===B||m<0){if(n)throw new Error(`bad regexp-value '${a}', missing /-enclosure`);return console.warn(`bad regexp-value '${a}', missing /-enclosure`),null}let pe=a.slice(m+1,B),De=a[B+1]==="i"?"i":"";try{return new RegExp(pe,De)}catch(Re){if(n)throw new Error(`bad regexp-value '${a}', parse error: ${Re}`);return console.warn(`bad regexp-value '${a}', parse error: ${Re}`),null}}}function K(D,a){const n=D?D.substituteConstants():void 0,m=a?a.substituteConstants():void 0;return!n&&!m?!0:!n||!m?!1:n.equals(m)}function e(D,a){return D.cmp(a)}class p{constructor(){this.type=0}cmp(a){return this.type-a.type}equals(a){return a.type===this.type}substituteConstants(){return this}evaluate(a){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}p.INSTANCE=new p;class h{constructor(){this.type=1}cmp(a){return this.type-a.type}equals(a){return a.type===this.type}substituteConstants(){return this}evaluate(a){return!0}serialize(){return"true"}keys(){return[]}negate(){return p.INSTANCE}}h.INSTANCE=new h;class t{constructor(a,n){this.key=a,this.negated=n,this.type=2}static create(a,n=null){const m=z.get(a);return typeof m=="boolean"?m?h.INSTANCE:p.INSTANCE:new t(a,n)}cmp(a){return a.type!==this.type?this.type-a.type:w(this.key,a.key)}equals(a){return a.type===this.type?this.key===a.key:!1}substituteConstants(){const a=z.get(this.key);return typeof a=="boolean"?a?h.INSTANCE:p.INSTANCE:this}evaluate(a){return!!a.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this)),this.negated}}class o{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=4}static create(a,n,m=null){if(typeof n=="boolean")return n?t.create(a,m):c.create(a,m);const B=z.get(a);return typeof B=="boolean"?n===(B?"true":"false")?h.INSTANCE:p.INSTANCE:new o(a,n,m)}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){const a=z.get(this.key);if(typeof a=="boolean"){const n=a?"true":"false";return this.value===n?h.INSTANCE:p.INSTANCE}return this}evaluate(a){return a.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class s{constructor(a,n){this.key=a,this.valueKey=n,this.type=10,this.negated=null}static create(a,n){return new s(a,n)}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.valueKey,a.key,a.valueKey)}equals(a){return a.type===this.type?this.key===a.key&&this.valueKey===a.valueKey:!1}substituteConstants(){return this}evaluate(a){const n=a.getValue(this.valueKey),m=a.getValue(this.key);return Array.isArray(n)?n.indexOf(m)>=0:typeof m=="string"&&typeof n=="object"&&n!==null?u.call(n,m):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=f.create(this)),this.negated}}class f{constructor(a){this._actual=a,this.type=11}static create(a){return new f(a)}cmp(a){return a.type!==this.type?this.type-a.type:this._actual.cmp(a._actual)}equals(a){return a.type===this.type?this._actual.equals(a._actual):!1}substituteConstants(){return this}evaluate(a){return!this._actual.evaluate(a)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=5}static create(a,n,m=null){if(typeof n=="boolean")return n?c.create(a,m):t.create(a,m);const B=z.get(a);return typeof B=="boolean"?n===(B?"true":"false")?p.INSTANCE:h.INSTANCE:new v(a,n,m)}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){const a=z.get(this.key);if(typeof a=="boolean"){const n=a?"true":"false";return this.value===n?p.INSTANCE:h.INSTANCE}return this}evaluate(a){return a.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=o.create(this.key,this.value,this)),this.negated}}class c{constructor(a,n){this.key=a,this.negated=n,this.type=3}static create(a,n=null){const m=z.get(a);return typeof m=="boolean"?m?p.INSTANCE:h.INSTANCE:new c(a,n)}cmp(a){return a.type!==this.type?this.type-a.type:w(this.key,a.key)}equals(a){return a.type===this.type?this.key===a.key:!1}substituteConstants(){const a=z.get(this.key);return typeof a=="boolean"?a?p.INSTANCE:h.INSTANCE:this}evaluate(a){return!a.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this)),this.negated}}function y(D,a){if(typeof D=="string"){const n=parseFloat(D);isNaN(n)||(D=n)}return typeof D=="string"||typeof D=="number"?a(D):p.INSTANCE}class g{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=12}static create(a,n,m=null){return y(n,B=>new g(a,B,m))}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=d.create(this.key,this.value,this)),this.negated}}class E{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=13}static create(a,n,m=null){return y(n,B=>new E(a,B,m))}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this.value,this)),this.negated}}class l{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=14}static create(a,n,m=null){return y(n,B=>new l(a,B,m))}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this.value,this)),this.negated}}class d{constructor(a,n,m){this.key=a,this.value=n,this.negated=m,this.type=15}static create(a,n,m=null){return y(n,B=>new d(a,B,m))}cmp(a){return a.type!==this.type?this.type-a.type:P(this.key,this.value,a.key,a.value)}equals(a){return a.type===this.type?this.key===a.key&&this.value===a.value:!1}substituteConstants(){return this}evaluate(a){return typeof this.value=="string"?!1:parseFloat(a.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class T{constructor(a,n){this.key=a,this.regexp=n,this.type=7,this.negated=null}static create(a,n){return new T(a,n)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.key<a.key)return-1;if(this.key>a.key)return 1;const n=this.regexp?this.regexp.source:"",m=a.regexp?a.regexp.source:"";return n<m?-1:n>m?1:0}equals(a){if(a.type===this.type){const n=this.regexp?this.regexp.source:"",m=a.regexp?a.regexp.source:"";return this.key===a.key&&n===m}return!1}substituteConstants(){return this}evaluate(a){let n=a.getValue(this.key);return this.regexp?this.regexp.test(n):!1}serialize(){const a=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${a}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Z.create(this)),this.negated}}class Z{constructor(a){this._actual=a,this.type=8}static create(a){return new Z(a)}cmp(a){return a.type!==this.type?this.type-a.type:this._actual.cmp(a._actual)}equals(a){return a.type===this.type?this._actual.equals(a._actual):!1}substituteConstants(){return this}evaluate(a){return!this._actual.evaluate(a)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function W(D){let a=null;for(let n=0,m=D.length;n<m;n++){const B=D[n].substituteConstants();if(D[n]!==B&&a===null){a=[];for(let pe=0;pe<n;pe++)a[pe]=D[pe]}a!==null&&(a[n]=B)}return a===null?D:a}class H{constructor(a,n){this.expr=a,this.negated=n,this.type=6}static create(a,n){return H._normalizeArr(a,n)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.expr.length<a.expr.length)return-1;if(this.expr.length>a.expr.length)return 1;for(let n=0,m=this.expr.length;n<m;n++){const B=e(this.expr[n],a.expr[n]);if(B!==0)return B}return 0}equals(a){if(a.type===this.type){if(this.expr.length!==a.expr.length)return!1;for(let n=0,m=this.expr.length;n<m;n++)if(!this.expr[n].equals(a.expr[n]))return!1;return!0}return!1}substituteConstants(){const a=W(this.expr);return a===this.expr?this:H.create(a,this.negated)}evaluate(a){for(let n=0,m=this.expr.length;n<m;n++)if(!this.expr[n].evaluate(a))return!1;return!0}static _normalizeArr(a,n){const m=[];let B=!1;for(const pe of a)if(pe){if(pe.type===1){B=!0;continue}if(pe.type===0)return p.INSTANCE;if(pe.type===6){m.push(...pe.expr);continue}m.push(pe)}if(m.length===0&&B)return h.INSTANCE;if(m.length!==0){if(m.length===1)return m[0];m.sort(e);for(let pe=1;pe<m.length;pe++)m[pe-1].equals(m[pe])&&(m.splice(pe,1),pe--);if(m.length===1)return m[0];for(;m.length>1;){const pe=m[m.length-1];if(pe.type!==9)break;m.pop();const De=m.pop(),Re=m.length===0,qe=G.create(pe.expr.map(Xe=>H.create([Xe,De],null)),null,Re);qe&&(m.push(qe),m.sort(e))}return m.length===1?m[0]:new H(m,n)}}serialize(){return this.expr.map(a=>a.serialize()).join(" && ")}keys(){const a=[];for(let n of this.expr)a.push(...n.keys());return a}negate(){if(!this.negated){const a=[];for(let n of this.expr)a.push(n.negate());this.negated=G.create(a,this,!0)}return this.negated}}class G{constructor(a,n){this.expr=a,this.negated=n,this.type=9}static create(a,n,m){return G._normalizeArr(a,n,m)}cmp(a){if(a.type!==this.type)return this.type-a.type;if(this.expr.length<a.expr.length)return-1;if(this.expr.length>a.expr.length)return 1;for(let n=0,m=this.expr.length;n<m;n++){const B=e(this.expr[n],a.expr[n]);if(B!==0)return B}return 0}equals(a){if(a.type===this.type){if(this.expr.length!==a.expr.length)return!1;for(let n=0,m=this.expr.length;n<m;n++)if(!this.expr[n].equals(a.expr[n]))return!1;return!0}return!1}substituteConstants(){const a=W(this.expr);return a===this.expr?this:G.create(a,this.negated,!1)}evaluate(a){for(let n=0,m=this.expr.length;n<m;n++)if(this.expr[n].evaluate(a))return!0;return!1}static _normalizeArr(a,n,m){let B=[],pe=!1;if(a){for(let De=0,Re=a.length;De<Re;De++){const qe=a[De];if(qe){if(qe.type===0){pe=!0;continue}if(qe.type===1)return h.INSTANCE;if(qe.type===9){B=B.concat(qe.expr);continue}B.push(qe)}}if(B.length===0&&pe)return p.INSTANCE;B.sort(e)}if(B.length!==0){if(B.length===1)return B[0];for(let De=1;De<B.length;De++)B[De-1].equals(B[De])&&(B.splice(De,1),De--);if(B.length===1)return B[0];if(m){for(let De=0;De<B.length;De++)for(let Re=De+1;Re<B.length;Re++)I(B[De],B[Re])&&(B.splice(Re,1),Re--);if(B.length===1)return B[0]}return new G(B,n)}}serialize(){return this.expr.map(a=>a.serialize()).join(" || ")}keys(){const a=[];for(let n of this.expr)a.push(...n.keys());return a}negate(){if(!this.negated){let a=[];for(let n of this.expr)a.push(n.negate());for(;a.length>1;){const n=a.shift(),m=a.shift(),B=[];for(const De of L(n))for(const Re of L(m))B.push(H.create([De,Re],null));const pe=a.length===0;a.unshift(G.create(B,null,pe))}this.negated=a[0]}return this.negated}}class Q extends t{constructor(a,n,m){super(a,null),this._defaultValue=n,typeof m=="object"?Q._info.push(Object.assign(Object.assign({},m),{key:a})):m!==!0&&Q._info.push({key:a,description:m,type:n!=null?typeof n:void 0})}static all(){return Q._info.values()}bindTo(a){return a.createKey(this.key,this._defaultValue)}getValue(a){return a.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(a){return o.create(this.key,a)}}Q._info=[];const ye=(0,$.yh)("contextKeyService"),C="setContext";function w(D,a){return D<a?-1:D>a?1:0}function P(D,a,n,m){return D<n?-1:D>n?1:a<m?-1:a>m?1:0}function I(D,a){if(a.type===6&&D.type!==9&&D.type!==6){for(const B of a.expr)if(D.equals(B))return!0}const n=D.negate(),m=L(n).concat(L(a));m.sort(e);for(let B=0;B<m.length;B++){const De=m[B].negate();for(let Re=B+1;Re<m.length;Re++){const qe=m[Re];if(De.equals(qe))return!0}}return!1}function L(D){return D.type===9?D.expr:[D]}},72065:function(St,Ce,i){"use strict";i.d(Ce,{I8:function(){return x},TG:function(){return R},jt:function(){return z},yh:function(){return X}});var x;(function(u){u.serviceIds=new Map,u.DI_TARGET="$di$target",u.DI_DEPENDENCIES="$di$dependencies";function A(K){return K[u.DI_DEPENDENCIES]||[]}u.getServiceDependencies=A})(x||(x={}));const R=X("instantiationService");function $(u,A,K,e){A[x.DI_TARGET]===A?A[x.DI_DEPENDENCIES].push({id:u,index:K,optional:e}):(A[x.DI_DEPENDENCIES]=[{id:u,index:K,optional:e}],A[x.DI_TARGET]=A)}function X(u){if(x.serviceIds.has(u))return x.serviceIds.get(u);const A=function(K,e,p){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");$(A,K,p,!1)};return A.toString=()=>u,x.serviceIds.set(u,A),A}function z(u){return function(A,K,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");$(u,A,e,!0)}}},89872:function(St,Ce,i){"use strict";i.d(Ce,{B:function(){return X}});var x=i(35146),R=i(98401);class ${constructor(){this.data=new Map}add(u,A){x.ok(R.HD(u)),x.ok(R.Kn(A)),x.ok(!this.data.has(u),"There is already an extension with this id"),this.data.set(u,A)}as(u){return this.data.get(u)||null}}const X=new $},92321:function(St,Ce,i){"use strict";i.d(Ce,{e:function(){return x}});var x;(function(R){R.DARK="dark",R.LIGHT="light",R.HIGH_CONTRAST="hc"})(x||(x={}))},97781:function(St,Ce,i){"use strict";i.d(Ce,{EN:function(){return e},IP:function(){return t},Ic:function(){return f},XE:function(){return A},bB:function(){return v},kS:function(){return p},m6:function(){return h}});var x=i(73046),R=i(4669),$=i(9917),X=i(72065),z=i(89872),u=i(92321);const A=(0,X.yh)("themeService");var K;(function(c){function y(g){return g&&typeof g=="object"&&typeof g.id=="string"}c.isThemeColor=y})(K||(K={}));function e(c){return{id:c}}var p;(function(c){function y(Z){return Z&&typeof Z=="object"&&typeof Z.id=="string"&&(typeof Z.color=="undefined"||K.isThemeColor(Z.color))}c.isThemeIcon=y;const g=new RegExp(`^\\$\\((${x.dT.iconNameExpression}(?:${x.dT.iconModifierExpression})?)\\)$`);function E(Z){const W=g.exec(Z);if(!W)return;let[,H]=W;return{id:H}}c.fromString=E;function l(Z,W){let H=Z.id;const G=H.lastIndexOf("~");return G!==-1&&(H=H.substring(0,G)),W&&(H=`${H}~${W}`),{id:H}}c.modify=l;function d(Z,W){var H,G;return Z.id===W.id&&((H=Z.color)===null||H===void 0?void 0:H.id)===((G=W.color)===null||G===void 0?void 0:G.id)}c.isEqual=d;function T(Z,W){return{id:Z.id,color:W?e(W):void 0}}c.asThemeIcon=T,c.asClassNameArray=x.dT.asClassNameArray,c.asClassName=x.dT.asClassName,c.asCSSSelector=x.dT.asCSSSelector})(p||(p={}));function h(c){switch(c){case u.e.DARK:return"vs-dark";case u.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class o{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new R.Q5}onColorThemeChange(y){return this.themingParticipants.push(y),this.onThemingParticipantAddedEmitter.fire(y),(0,$.OF)(()=>{const g=this.themingParticipants.indexOf(y);this.themingParticipants.splice(g,1)})}getThemingParticipants(){return this.themingParticipants}}let s=new o;z.B.add(t.ThemingContribution,s);function f(c){return s.onColorThemeChange(c)}class v extends $.JT{constructor(y){super(),this.themeService=y,this.theme=y.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(g=>this.onThemeChange(g)))}onThemeChange(y){this.theme=y,this.updateStyles()}updateStyles(){}}},95860:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return E}});var x=i(87462),R=i(1413),$=i(4942),X=i(97685),z=i(45987),u=i(94184),A=i.n(u),K=i(67294);function e(l){var d=K.useRef();d.current=l;var T=K.useCallback(function(){for(var Z,W=arguments.length,H=new Array(W),G=0;G<W;G++)H[G]=arguments[G];return(Z=d.current)===null||Z===void 0?void 0:Z.call.apply(Z,[d].concat(H))},[]);return T}function p(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var h=p()?K.useLayoutEffect:K.useEffect,t=function(d,T){var Z=K.useRef(!0);h(function(){return d(Z.current)},T),h(function(){return Z.current=!1,function(){Z.current=!0}},[])},o=function(d,T){t(function(Z){if(!Z)return d()},T)},s=null;function f(l){var d=K.useRef(!1),T=K.useState(l),Z=(0,X.Z)(T,2),W=Z[0],H=Z[1];K.useEffect(function(){return d.current=!1,function(){d.current=!0}},[]);function G(Q,ye){ye&&d.current||H(Q)}return[W,G]}function v(l){return l!==void 0}function c(l,d){var T=d||{},Z=T.defaultValue,W=T.value,H=T.onChange,G=T.postState,Q=f(function(){return v(W)?W:v(Z)?typeof Z=="function"?Z():Z:typeof l=="function"?l():l}),ye=(0,X.Z)(Q,2),C=ye[0],w=ye[1],P=W!==void 0?W:C,I=G?G(P):P,L=e(H),D=f([P]),a=(0,X.Z)(D,2),n=a[0],m=a[1];o(function(){var pe=n[0];C!==pe&&L(C,pe)},[n]),o(function(){v(W)||w(W)},[W]);var B=e(function(pe,De){w(pe,De),m([P],De)});return[I,B]}var y=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],g=(0,K.forwardRef)(function(l,d){var T=l.prefixCls,Z=T===void 0?"rc-checkbox":T,W=l.className,H=l.style,G=l.checked,Q=l.disabled,ye=l.defaultChecked,C=ye===void 0?!1:ye,w=l.type,P=w===void 0?"checkbox":w,I=l.title,L=l.onChange,D=(0,z.Z)(l,y),a=(0,K.useRef)(null),n=(0,K.useRef)(null),m=c(C,{value:G}),B=(0,X.Z)(m,2),pe=B[0],De=B[1];(0,K.useImperativeHandle)(d,function(){return{focus:function(Rt){var _e;(_e=a.current)===null||_e===void 0||_e.focus(Rt)},blur:function(){var Rt;(Rt=a.current)===null||Rt===void 0||Rt.blur()},input:a.current,nativeElement:n.current}});var Re=A()(Z,W,(0,$.Z)((0,$.Z)({},"".concat(Z,"-checked"),pe),"".concat(Z,"-disabled"),Q)),qe=function(Rt){Q||("checked"in l||De(Rt.target.checked),L==null||L({target:(0,R.Z)((0,R.Z)({},l),{},{type:P,checked:Rt.target.checked}),stopPropagation:function(){Rt.stopPropagation()},preventDefault:function(){Rt.preventDefault()},nativeEvent:Rt.nativeEvent}))};return K.createElement("span",{className:Re,title:I,style:H,ref:n},K.createElement("input",(0,x.Z)({},D,{className:"".concat(Z,"-input"),ref:a,onChange:qe,disabled:Q,checked:!!pe,type:P})),K.createElement("span",{className:"".concat(Z,"-inner")}))}),E=g},82234:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return A}});var x=i(45987),R=i(1413),$=i(71002),X=i(67294),z=["show"];function u(K,e){if(!e.max)return!0;var p=e.strategy(K);return p<=e.max}function A(K,e){return X.useMemo(function(){var p={};e&&(p.show=(0,$.Z)(e)==="object"&&e.formatter?e.formatter:!!e),p=(0,R.Z)((0,R.Z)({},p),K);var h=p,t=h.show,o=(0,x.Z)(h,z);return(0,R.Z)((0,R.Z)({},o),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:o.strategy||function(s){return s.length}})},[K,e])}},67656:function(St,Ce,i){"use strict";i.r(Ce),i.d(Ce,{BaseInput:function(){return p},default:function(){return E}});var x=i(1413),R=i(87462),$=i(4942),X=i(71002),z=i(94184),u=i.n(z),A=i(67294),K=i(87887),e=A.forwardRef(function(l,d){var T,Z,W,H=l.inputElement,G=l.children,Q=l.prefixCls,ye=l.prefix,C=l.suffix,w=l.addonBefore,P=l.addonAfter,I=l.className,L=l.style,D=l.disabled,a=l.readOnly,n=l.focused,m=l.triggerFocus,B=l.allowClear,pe=l.value,De=l.handleReset,Re=l.hidden,qe=l.classes,Xe=l.classNames,Rt=l.dataAttrs,_e=l.styles,it=l.components,$e=l.onClear,Ze=G!=null?G:H,re=(it==null?void 0:it.affixWrapper)||"span",Me=(it==null?void 0:it.groupWrapper)||"span",j=(it==null?void 0:it.wrapper)||"span",de=(it==null?void 0:it.groupAddon)||"span",ae=(0,A.useRef)(null),He=function(Pe){var ke;(ke=ae.current)!==null&&ke!==void 0&&ke.contains(Pe.target)&&(m==null||m())},Le=(0,K.X3)(l),F=(0,A.cloneElement)(Ze,{value:pe,className:u()((T=Ze.props)===null||T===void 0?void 0:T.className,!Le&&(Xe==null?void 0:Xe.variant))||null}),O=(0,A.useRef)(null);if(A.useImperativeHandle(d,function(){return{nativeElement:O.current||ae.current}}),Le){var te=null;if(B){var he=!D&&!a&&pe,J="".concat(Q,"-clear-icon"),le=(0,X.Z)(B)==="object"&&B!==null&&B!==void 0&&B.clearIcon?B.clearIcon:"\u2716";te=A.createElement("button",{type:"button",tabIndex:-1,onClick:function(Pe){De==null||De(Pe),$e==null||$e()},onMouseDown:function(Pe){return Pe.preventDefault()},className:u()(J,(0,$.Z)((0,$.Z)({},"".concat(J,"-hidden"),!he),"".concat(J,"-has-suffix"),!!C))},le)}var ie="".concat(Q,"-affix-wrapper"),ze=u()(ie,(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},"".concat(Q,"-disabled"),D),"".concat(ie,"-disabled"),D),"".concat(ie,"-focused"),n),"".concat(ie,"-readonly"),a),"".concat(ie,"-input-with-clear-btn"),C&&B&&pe),qe==null?void 0:qe.affixWrapper,Xe==null?void 0:Xe.affixWrapper,Xe==null?void 0:Xe.variant),Fe=(C||B)&&A.createElement("span",{className:u()("".concat(Q,"-suffix"),Xe==null?void 0:Xe.suffix),style:_e==null?void 0:_e.suffix},te,C);F=A.createElement(re,(0,R.Z)({className:ze,style:_e==null?void 0:_e.affixWrapper,onClick:He},Rt==null?void 0:Rt.affixWrapper,{ref:ae}),ye&&A.createElement("span",{className:u()("".concat(Q,"-prefix"),Xe==null?void 0:Xe.prefix),style:_e==null?void 0:_e.prefix},ye),F,Fe)}if((0,K.He)(l)){var lt="".concat(Q,"-group"),dt="".concat(lt,"-addon"),At="".concat(lt,"-wrapper"),Ge=u()("".concat(Q,"-wrapper"),lt,qe==null?void 0:qe.wrapper,Xe==null?void 0:Xe.wrapper),Ae=u()(At,(0,$.Z)({},"".concat(At,"-disabled"),D),qe==null?void 0:qe.group,Xe==null?void 0:Xe.groupWrapper);F=A.createElement(Me,{className:Ae,ref:O},A.createElement(j,{className:Ge},w&&A.createElement(de,{className:dt},w),F,P&&A.createElement(de,{className:dt},P)))}return A.cloneElement(F,{className:u()((Z=F.props)===null||Z===void 0?void 0:Z.className,I)||null,style:(0,x.Z)((0,x.Z)({},(W=F.props)===null||W===void 0?void 0:W.style),L),hidden:Re})}),p=e,h=i(74902),t=i(97685),o=i(45987),s=i(21770),f=i(98423),v=i(82234),c=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],y=(0,A.forwardRef)(function(l,d){var T=l.autoComplete,Z=l.onChange,W=l.onFocus,H=l.onBlur,G=l.onPressEnter,Q=l.onKeyDown,ye=l.onKeyUp,C=l.prefixCls,w=C===void 0?"rc-input":C,P=l.disabled,I=l.htmlSize,L=l.className,D=l.maxLength,a=l.suffix,n=l.showCount,m=l.count,B=l.type,pe=B===void 0?"text":B,De=l.classes,Re=l.classNames,qe=l.styles,Xe=l.onCompositionStart,Rt=l.onCompositionEnd,_e=(0,o.Z)(l,c),it=(0,A.useState)(!1),$e=(0,t.Z)(it,2),Ze=$e[0],re=$e[1],Me=(0,A.useRef)(!1),j=(0,A.useRef)(!1),de=(0,A.useRef)(null),ae=(0,A.useRef)(null),He=function(nt){de.current&&(0,K.nH)(de.current,nt)},Le=(0,s.Z)(l.defaultValue,{value:l.value}),F=(0,t.Z)(Le,2),O=F[0],te=F[1],he=O==null?"":String(O),J=(0,A.useState)(null),le=(0,t.Z)(J,2),ie=le[0],ze=le[1],Fe=(0,v.Z)(m,n),lt=Fe.max||D,dt=Fe.strategy(he),At=!!lt&&dt>lt;(0,A.useImperativeHandle)(d,function(){var vt;return{focus:He,blur:function(){var bt;(bt=de.current)===null||bt===void 0||bt.blur()},setSelectionRange:function(bt,tn,rn){var Yt;(Yt=de.current)===null||Yt===void 0||Yt.setSelectionRange(bt,tn,rn)},select:function(){var bt;(bt=de.current)===null||bt===void 0||bt.select()},input:de.current,nativeElement:((vt=ae.current)===null||vt===void 0?void 0:vt.nativeElement)||de.current}}),(0,A.useEffect)(function(){j.current&&(j.current=!1),re(function(vt){return vt&&P?!1:vt})},[P]);var Ge=function(nt,bt,tn){var rn=bt;if(!Me.current&&Fe.exceedFormatter&&Fe.max&&Fe.strategy(bt)>Fe.max){if(rn=Fe.exceedFormatter(bt,{max:Fe.max}),bt!==rn){var Yt,se;ze([((Yt=de.current)===null||Yt===void 0?void 0:Yt.selectionStart)||0,((se=de.current)===null||se===void 0?void 0:se.selectionEnd)||0])}}else if(tn.source==="compositionEnd")return;te(rn),de.current&&(0,K.rJ)(de.current,nt,Z,rn)};(0,A.useEffect)(function(){if(ie){var vt;(vt=de.current)===null||vt===void 0||vt.setSelectionRange.apply(vt,(0,h.Z)(ie))}},[ie]);var Ae=function(nt){Ge(nt,nt.target.value,{source:"change"})},ue=function(nt){Me.current=!1,Ge(nt,nt.currentTarget.value,{source:"compositionEnd"}),Rt==null||Rt(nt)},Pe=function(nt){G&&nt.key==="Enter"&&!j.current&&(j.current=!0,G(nt)),Q==null||Q(nt)},ke=function(nt){nt.key==="Enter"&&(j.current=!1),ye==null||ye(nt)},Ye=function(nt){re(!0),W==null||W(nt)},st=function(nt){j.current&&(j.current=!1),re(!1),H==null||H(nt)},wt=function(nt){te(""),He(),de.current&&(0,K.rJ)(de.current,nt,Z)},Be=At&&"".concat(w,"-out-of-range"),ut=function(){var nt=(0,f.Z)(l,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return A.createElement("input",(0,R.Z)({autoComplete:T},nt,{onChange:Ae,onFocus:Ye,onBlur:st,onKeyDown:Pe,onKeyUp:ke,className:u()(w,(0,$.Z)({},"".concat(w,"-disabled"),P),Re==null?void 0:Re.input),style:qe==null?void 0:qe.input,ref:de,size:I,type:pe,onCompositionStart:function(tn){Me.current=!0,Xe==null||Xe(tn)},onCompositionEnd:ue}))},kt=function(){var nt=Number(lt)>0;if(a||Fe.show){var bt=Fe.showFormatter?Fe.showFormatter({value:he,count:dt,maxLength:lt}):"".concat(dt).concat(nt?" / ".concat(lt):"");return A.createElement(A.Fragment,null,Fe.show&&A.createElement("span",{className:u()("".concat(w,"-show-count-suffix"),(0,$.Z)({},"".concat(w,"-show-count-has-suffix"),!!a),Re==null?void 0:Re.count),style:(0,x.Z)({},qe==null?void 0:qe.count)},bt),a)}return null};return A.createElement(p,(0,R.Z)({},_e,{prefixCls:w,className:u()(L,Be),handleReset:wt,value:he,focused:Ze,triggerFocus:He,suffix:kt(),disabled:P,classes:De,classNames:Re,styles:qe}),ut())}),g=y,E=g},87887:function(St,Ce,i){"use strict";i.d(Ce,{He:function(){return x},X3:function(){return R},nH:function(){return z},rJ:function(){return X}});function x(u){return!!(u.addonBefore||u.addonAfter)}function R(u){return!!(u.prefix||u.suffix||u.allowClear)}function $(u,A,K){var e=A.cloneNode(!0),p=Object.create(u,{target:{value:e},currentTarget:{value:e}});return e.value=K,typeof A.selectionStart=="number"&&typeof A.selectionEnd=="number"&&(e.selectionStart=A.selectionStart,e.selectionEnd=A.selectionEnd),e.setSelectionRange=function(){A.setSelectionRange.apply(A,arguments)},p}function X(u,A,K,e){if(K){var p=A;if(A.type==="click"){p=$(A,u,""),K(p);return}if(u.type!=="file"&&e!==void 0){p=$(A,u,e),K(p);return}K(p)}}function z(u,A){if(u){u.focus(A);var K=A||{},e=K.cursor;if(e){var p=u.value.length;switch(e){case"start":u.setSelectionRange(0,0);break;case"end":u.setSelectionRange(p,p);break;default:u.setSelectionRange(0,p)}}}}},78595:function(St,Ce,i){"use strict";i.d(Ce,{iz:function(){return da},ck:function(){return hn},BW:function(){return hr},sN:function(){return hn},Wd:function(){return ma},ZP:function(){return pi},Xl:function(){return ie}});var x=i(87462),R=i(4942),$=i(1413),X=i(74902),z=i(97685),u=i(45987),A=i(94184),K=i.n(A),e=i(67294),p=i(48555);function h(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var t=h()?e.useLayoutEffect:e.useEffect,o=function(we,Ie){var me=e.useRef(!0);t(function(){return we(me.current)},Ie),t(function(){return me.current=!1,function(){me.current=!0}},[])},s=function(we,Ie){o(function(me){if(!me)return we()},Ie)},f=o,v=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function y(q,we){var Ie=q.prefixCls,me=q.invalidate,je=q.item,We=q.renderItem,xe=q.responsive,Je=q.responsiveDisabled,Ft=q.registerSize,Zt=q.itemKey,Cn=q.className,pn=q.style,In=q.children,Qn=q.display,Rn=q.order,nr=q.component,Kn=nr===void 0?"div":nr,_=(0,u.Z)(q,v),k=xe&&!Qn;function M(Ct){Ft(Zt,Ct)}e.useEffect(function(){return function(){M(null)}},[]);var ee=We&&je!==c?We(je):In,Ee;me||(Ee={opacity:k?0:1,height:k?0:c,overflowY:k?"hidden":c,order:xe?Rn:c,pointerEvents:k?"none":c,position:k?"absolute":c});var Ke={};k&&(Ke["aria-hidden"]=!0);var Qe=e.createElement(Kn,(0,x.Z)({className:K()(!me&&Ie,Cn),style:(0,$.Z)((0,$.Z)({},Ee),pn)},Ke,_,{ref:we}),ee);return xe&&(Qe=e.createElement(p.Z,{onResize:function(gt){var Vt=gt.offsetWidth;M(Vt)},disabled:Je},Qe)),Qe}var g=e.forwardRef(y);g.displayName="Item";var E=g;function l(q){var we=e.useRef();we.current=q;var Ie=e.useCallback(function(){for(var me,je=arguments.length,We=new Array(je),xe=0;xe<je;xe++)We[xe]=arguments[xe];return(me=we.current)===null||me===void 0?void 0:me.call.apply(me,[we].concat(We))},[]);return Ie}var d=i(73935),T=function(we){return+setTimeout(we,16)},Z=function(we){return clearTimeout(we)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(T=function(we){return window.requestAnimationFrame(we)},Z=function(we){return window.cancelAnimationFrame(we)});var W=0,H=new Map;function G(q){H.delete(q)}var Q=function(we){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;W+=1;var me=W;function je(We){if(We===0)G(me),we();else{var xe=T(function(){je(We-1)});H.set(me,xe)}}return je(Ie),me};Q.cancel=function(q){var we=H.get(q);return G(we),Z(we)};var ye=Q;function C(q){if(typeof MessageChannel=="undefined")ye(q);else{var we=new MessageChannel;we.port1.onmessage=function(){return q()},we.port2.postMessage(void 0)}}function w(){var q=e.useRef(null),we=function(me){q.current||(q.current=[],C(function(){(0,d.unstable_batchedUpdates)(function(){q.current.forEach(function(je){je()}),q.current=null})})),q.current.push(me)};return we}function P(q,we){var Ie=e.useState(we),me=(0,z.Z)(Ie,2),je=me[0],We=me[1],xe=l(function(Je){q(function(){We(Je)})});return[je,xe]}var I=e.createContext(null),L=["component"],D=["className"],a=["className"],n=function(we,Ie){var me=e.useContext(I);if(!me){var je=we.component,We=je===void 0?"div":je,xe=(0,u.Z)(we,L);return e.createElement(We,(0,x.Z)({},xe,{ref:Ie}))}var Je=me.className,Ft=(0,u.Z)(me,D),Zt=we.className,Cn=(0,u.Z)(we,a);return e.createElement(I.Provider,{value:null},e.createElement(E,(0,x.Z)({ref:Ie,className:K()(Je,Zt)},Ft,Cn)))},m=e.forwardRef(n);m.displayName="RawItem";var B=m,pe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],De="responsive",Re="invalidate";function qe(q){return"+ ".concat(q.length," ...")}function Xe(q,we){var Ie=q.prefixCls,me=Ie===void 0?"rc-overflow":Ie,je=q.data,We=je===void 0?[]:je,xe=q.renderItem,Je=q.renderRawItem,Ft=q.itemKey,Zt=q.itemWidth,Cn=Zt===void 0?10:Zt,pn=q.ssr,In=q.style,Qn=q.className,Rn=q.maxCount,nr=q.renderRest,Kn=q.renderRawRest,_=q.suffix,k=q.component,M=k===void 0?"div":k,ee=q.itemComponent,Ee=q.onVisibleChange,Ke=(0,u.Z)(q,pe),Qe=pn==="full",Ct=w(),gt=P(Ct,null),Vt=(0,z.Z)(gt,2),ot=Vt[0],ft=Vt[1],xt=ot||0,Ot=P(Ct,new Map),Jt=(0,z.Z)(Ot,2),Fn=Jt[0],En=Jt[1],Bn=P(Ct,0),Wn=(0,z.Z)(Bn,2),An=Wn[0],rr=Wn[1],sr=P(Ct,0),cn=(0,z.Z)(sr,2),Ir=cn[0],gr=cn[1],xr=P(Ct,0),ra=(0,z.Z)(xr,2),Rr=ra[0],Nr=ra[1],pr=(0,e.useState)(null),Pr=(0,z.Z)(pr,2),zr=Pr[0],Jr=Pr[1],qr=(0,e.useState)(null),yr=(0,z.Z)(qr,2),Lr=yr[0],Jn=yr[1],ua=e.useMemo(function(){return Lr===null&&Qe?Number.MAX_SAFE_INTEGER:Lr||0},[Lr,ot]),aa=(0,e.useState)(!1),Ar=(0,z.Z)(aa,2),Yn=Ar[0],ia=Ar[1],Oa="".concat(me,"-item"),Sa=Math.max(An,Ir),Zr=Rn===De,br=We.length&&Zr,Ca=Rn===Re,Za=br||typeof Rn=="number"&&We.length>Rn,Mr=(0,e.useMemo)(function(){var xn=We;return br?ot===null&&Qe?xn=We:xn=We.slice(0,Math.min(We.length,xt/Cn)):typeof Rn=="number"&&(xn=We.slice(0,Rn)),xn},[We,Cn,ot,Rn,br]),ea=(0,e.useMemo)(function(){return br?We.slice(ua+1):We.slice(Mr.length)},[We,Mr,br,ua]),Kr=(0,e.useCallback)(function(xn,Xn){var ar;return typeof Ft=="function"?Ft(xn):(ar=Ft&&(xn==null?void 0:xn[Ft]))!==null&&ar!==void 0?ar:Xn},[Ft]),Tr=(0,e.useCallback)(xe||function(xn){return xn},[xe]);function sa(xn,Xn,ar){Lr===xn&&(Xn===void 0||Xn===zr)||(Jn(xn),ar||(ia(xn<We.length-1),Ee==null||Ee(xn)),Xn!==void 0&&Jr(Xn))}function la(xn,Xn){ft(Xn.clientWidth)}function Ur(xn,Xn){En(function(ar){var kr=new Map(ar);return Xn===null?kr.delete(xn):kr.set(xn,Xn),kr})}function lr(xn,Xn){gr(Xn),rr(Ir)}function cr(xn,Xn){Nr(Xn)}function Wr(xn){return Fn.get(Kr(Mr[xn],xn))}f(function(){if(xt&&typeof Sa=="number"&&Mr){var xn=Rr,Xn=Mr.length,ar=Xn-1;if(!Xn){sa(0,null);return}for(var kr=0;kr<Xn;kr+=1){var vr=Wr(kr);if(Qe&&(vr=vr||0),vr===void 0){sa(kr-1,void 0,!0);break}if(xn+=vr,ar===0&&xn<=xt||kr===ar-1&&xn+Wr(ar)<=xt){sa(ar,null);break}else if(xn+Sa>xt){sa(kr-1,xn-vr-Rr+Ir);break}}_&&Wr(0)+Rr>xt&&Jr(null)}},[xt,Fn,Ir,Rr,Kr,Mr]);var vi=Yn&&!!ea.length,or={};zr!==null&&br&&(or={position:"absolute",left:zr,top:0});var Ha={prefixCls:Oa,responsive:br,component:ee,invalidate:Ca},ti=Je?function(xn,Xn){var ar=Kr(xn,Xn);return e.createElement(I.Provider,{key:ar,value:(0,$.Z)((0,$.Z)({},Ha),{},{order:Xn,item:xn,itemKey:ar,registerSize:Ur,display:Xn<=ua})},Je(xn,Xn))}:function(xn,Xn){var ar=Kr(xn,Xn);return e.createElement(E,(0,x.Z)({},Ha,{order:Xn,key:ar,item:xn,renderItem:Tr,itemKey:ar,registerSize:Ur,display:Xn<=ua}))},Hr,Ka={order:vi?ua:Number.MAX_SAFE_INTEGER,className:"".concat(Oa,"-rest"),registerSize:lr,display:vi};if(Kn)Kn&&(Hr=e.createElement(I.Provider,{value:(0,$.Z)((0,$.Z)({},Ha),Ka)},Kn(ea)));else{var ya=nr||qe;Hr=e.createElement(E,(0,x.Z)({},Ha,Ka),typeof ya=="function"?ya(ea):ya)}var Va=e.createElement(M,(0,x.Z)({className:K()(!Ca&&me,Qn),style:In,ref:we},Ke),Mr.map(ti),Za?Hr:null,_&&e.createElement(E,(0,x.Z)({},Ha,{responsive:Zr,responsiveDisabled:!br,order:ua,className:"".concat(Oa,"-suffix"),registerSize:cr,display:!0,style:or}),_));return Zr&&(Va=e.createElement(p.Z,{onResize:la,disabled:!br},Va)),Va}var Rt=e.forwardRef(Xe);Rt.displayName="Overflow",Rt.Item=B,Rt.RESPONSIVE=De,Rt.INVALIDATE=Re;var _e=Rt,it=_e,$e=i(21770),Ze=i(91881),re=i(80334),Me=e.createContext(null);function j(q,we){return q===void 0?null:"".concat(q,"-").concat(we)}function de(q){var we=e.useContext(Me);return j(we,q)}var ae=i(56982),He=["children","locked"],Le=e.createContext(null);function F(q,we){var Ie=(0,$.Z)({},q);return Object.keys(we).forEach(function(me){var je=we[me];je!==void 0&&(Ie[me]=je)}),Ie}function O(q){var we=q.children,Ie=q.locked,me=(0,u.Z)(q,He),je=e.useContext(Le),We=(0,ae.Z)(function(){return F(je,me)},[je,me],function(xe,Je){return!Ie&&(xe[0]!==Je[0]||!(0,Ze.Z)(xe[1],Je[1],!0))});return e.createElement(Le.Provider,{value:We},we)}var te=[],he=e.createContext(null);function J(){return e.useContext(he)}var le=e.createContext(te);function ie(q){var we=e.useContext(le);return e.useMemo(function(){return q!==void 0?[].concat((0,X.Z)(we),[q]):we},[we,q])}var ze=e.createContext(null),Fe=e.createContext({}),lt=Fe,dt=function(q){if(!q)return!1;if(q instanceof Element){if(q.offsetParent)return!0;if(q.getBBox){var we=q.getBBox(),Ie=we.width,me=we.height;if(Ie||me)return!0}if(q.getBoundingClientRect){var je=q.getBoundingClientRect(),We=je.width,xe=je.height;if(We||xe)return!0}}return!1};function At(q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(dt(q)){var Ie=q.nodeName.toLowerCase(),me=["input","select","textarea","button"].includes(Ie)||q.isContentEditable||Ie==="a"&&!!q.getAttribute("href"),je=q.getAttribute("tabindex"),We=Number(je),xe=null;return je&&!Number.isNaN(We)?xe=We:me&&xe===null&&(xe=0),me&&q.disabled&&(xe=null),xe!==null&&(xe>=0||we&&xe<0)}return!1}function Ge(q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ie=(0,X.Z)(q.querySelectorAll("*")).filter(function(me){return At(me,we)});return At(q,we)&&Ie.unshift(q),Ie}var Ae=null;function ue(){Ae=document.activeElement}function Pe(){Ae=null}function ke(){if(Ae)try{Ae.focus()}catch(q){}}function Ye(q,we){if(we.keyCode===9){var Ie=Ge(q),me=Ie[we.shiftKey?0:Ie.length-1],je=me===document.activeElement||q===document.activeElement;if(je){var We=Ie[we.shiftKey?Ie.length-1:0];We.focus(),we.preventDefault()}}}var st=i(15105),wt=i(75164),Be=st.Z.LEFT,ut=st.Z.RIGHT,kt=st.Z.UP,vt=st.Z.DOWN,nt=st.Z.ENTER,bt=st.Z.ESC,tn=st.Z.HOME,rn=st.Z.END,Yt=[kt,vt,Be,ut];function se(q,we,Ie,me){var je,We="prev",xe="next",Je="children",Ft="parent";if(q==="inline"&&me===nt)return{inlineTrigger:!0};var Zt=(0,R.Z)((0,R.Z)({},kt,We),vt,xe),Cn=(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)({},Be,Ie?xe:We),ut,Ie?We:xe),vt,Je),nt,Je),pn=(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)({},kt,We),vt,xe),nt,Je),bt,Ft),Be,Ie?Je:Ft),ut,Ie?Ft:Je),In={inline:Zt,horizontal:Cn,vertical:pn,inlineSub:Zt,horizontalSub:pn,verticalSub:pn},Qn=(je=In["".concat(q).concat(we?"":"Sub")])===null||je===void 0?void 0:je[me];switch(Qn){case We:return{offset:-1,sibling:!0};case xe:return{offset:1,sibling:!0};case Ft:return{offset:-1,sibling:!1};case Je:return{offset:1,sibling:!1};default:return null}}function Oe(q){for(var we=q;we;){if(we.getAttribute("data-menu-list"))return we;we=we.parentElement}return null}function ge(q,we){for(var Ie=q||document.activeElement;Ie;){if(we.has(Ie))return Ie;Ie=Ie.parentElement}return null}function ve(q,we){var Ie=Ge(q,!0);return Ie.filter(function(me){return we.has(me)})}function rt(q,we,Ie){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!q)return null;var je=ve(q,we),We=je.length,xe=je.findIndex(function(Je){return Ie===Je});return me<0?xe===-1?xe=We-1:xe-=1:me>0&&(xe+=1),xe=(xe+We)%We,je[xe]}var tt=function(we,Ie){var me=new Set,je=new Map,We=new Map;return we.forEach(function(xe){var Je=document.querySelector("[data-menu-id='".concat(j(Ie,xe),"']"));Je&&(me.add(Je),We.set(Je,xe),je.set(xe,Je))}),{elements:me,key2element:je,element2key:We}};function ht(q,we,Ie,me,je,We,xe,Je,Ft,Zt){var Cn=e.useRef(),pn=e.useRef();pn.current=we;var In=function(){wt.Z.cancel(Cn.current)};return e.useEffect(function(){return function(){In()}},[]),function(Qn){var Rn=Qn.which;if([].concat(Yt,[nt,bt,tn,rn]).includes(Rn)){var nr=We(),Kn=tt(nr,me),_=Kn,k=_.elements,M=_.key2element,ee=_.element2key,Ee=M.get(we),Ke=ge(Ee,k),Qe=ee.get(Ke),Ct=se(q,xe(Qe,!0).length===1,Ie,Rn);if(!Ct&&Rn!==tn&&Rn!==rn)return;(Yt.includes(Rn)||[tn,rn].includes(Rn))&&Qn.preventDefault();var gt=function(En){if(En){var Bn=En,Wn=En.querySelector("a");Wn!=null&&Wn.getAttribute("href")&&(Bn=Wn);var An=ee.get(En);Je(An),In(),Cn.current=(0,wt.Z)(function(){pn.current===An&&Bn.focus()})}};if([tn,rn].includes(Rn)||Ct.sibling||!Ke){var Vt;!Ke||q==="inline"?Vt=je.current:Vt=Oe(Ke);var ot,ft=ve(Vt,k);Rn===tn?ot=ft[0]:Rn===rn?ot=ft[ft.length-1]:ot=rt(Vt,k,Ke,Ct.offset),gt(ot)}else if(Ct.inlineTrigger)Ft(Qe);else if(Ct.offset>0)Ft(Qe,!0),In(),Cn.current=(0,wt.Z)(function(){Kn=tt(nr,me);var Fn=Ke.getAttribute("aria-controls"),En=document.getElementById(Fn),Bn=rt(En,Kn.elements);gt(Bn)},5);else if(Ct.offset<0){var xt=xe(Qe,!0),Ot=xt[xt.length-2],Jt=M.get(Ot);Ft(Ot,!1),gt(Jt)}}Zt==null||Zt(Qn)}}function Nt(q){Promise.resolve().then(q)}var Ht="__RC_UTIL_PATH_SPLIT__",Kt=function(we){return we.join(Ht)},Pt=function(we){return we.split(Ht)},mt="rc-menu-more";function jt(){var q=e.useState({}),we=(0,z.Z)(q,2),Ie=we[1],me=(0,e.useRef)(new Map),je=(0,e.useRef)(new Map),We=e.useState([]),xe=(0,z.Z)(We,2),Je=xe[0],Ft=xe[1],Zt=(0,e.useRef)(0),Cn=(0,e.useRef)(!1),pn=function(){Cn.current||Ie({})},In=(0,e.useCallback)(function(M,ee){var Ee=Kt(ee);je.current.set(Ee,M),me.current.set(M,Ee),Zt.current+=1;var Ke=Zt.current;Nt(function(){Ke===Zt.current&&pn()})},[]),Qn=(0,e.useCallback)(function(M,ee){var Ee=Kt(ee);je.current.delete(Ee),me.current.delete(M)},[]),Rn=(0,e.useCallback)(function(M){Ft(M)},[]),nr=(0,e.useCallback)(function(M,ee){var Ee=me.current.get(M)||"",Ke=Pt(Ee);return ee&&Je.includes(Ke[0])&&Ke.unshift(mt),Ke},[Je]),Kn=(0,e.useCallback)(function(M,ee){return M.filter(function(Ee){return Ee!==void 0}).some(function(Ee){var Ke=nr(Ee,!0);return Ke.includes(ee)})},[nr]),_=function(){var ee=(0,X.Z)(me.current.keys());return Je.length&&ee.push(mt),ee},k=(0,e.useCallback)(function(M){var ee="".concat(me.current.get(M)).concat(Ht),Ee=new Set;return(0,X.Z)(je.current.keys()).forEach(function(Ke){Ke.startsWith(ee)&&Ee.add(je.current.get(Ke))}),Ee},[]);return e.useEffect(function(){return function(){Cn.current=!0}},[]),{registerPath:In,unregisterPath:Qn,refreshOverflowKeys:Rn,isSubPathKey:Kn,getKeyPath:nr,getKeys:_,getSubPathKeys:k}}function Lt(q){var we=e.useRef(q);we.current=q;var Ie=e.useCallback(function(){for(var me,je=arguments.length,We=new Array(je),xe=0;xe<je;xe++)We[xe]=arguments[xe];return(me=we.current)===null||me===void 0?void 0:me.call.apply(me,[we].concat(We))},[]);return q?Ie:void 0}var Bt=Math.random().toFixed(5).toString().slice(2),pt=0;function Ue(q){var we=(0,$e.Z)(q,{value:q}),Ie=(0,z.Z)(we,2),me=Ie[0],je=Ie[1];return e.useEffect(function(){pt+=1;var We="".concat(Bt,"-").concat(pt);je("rc-menu-uuid-".concat(We))},[]),me}var et=i(15671),Tt=i(43144),nn=i(60136),fn=i(29388),Zn=i(98423),ir=i(42550);function kn(q,we,Ie,me){var je=e.useContext(Le),We=je.activeKey,xe=je.onActive,Je=je.onInactive,Ft={active:We===q};return we||(Ft.onMouseEnter=function(Zt){Ie==null||Ie({key:q,domEvent:Zt}),xe(q)},Ft.onMouseLeave=function(Zt){me==null||me({key:q,domEvent:Zt}),Je(q)}),Ft}function mn(q){var we=e.useContext(Le),Ie=we.mode,me=we.rtl,je=we.inlineIndent;if(Ie!=="inline")return null;var We=q;return me?{paddingRight:We*je}:{paddingLeft:We*je}}function On(q){var we=q.icon,Ie=q.props,me=q.children,je;return we===null||we===!1?null:(typeof we=="function"?je=e.createElement(we,(0,$.Z)({},Ie)):typeof we!="boolean"&&(je=we),je||me||null)}var Gn=["item"];function an(q){var we=q.item,Ie=(0,u.Z)(q,Gn);return Object.defineProperty(Ie,"item",{get:function(){return(0,re.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),we}}),Ie}var zn=["title","attribute","elementRef"],Dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ln=["active"],gn=function(q){(0,nn.Z)(Ie,q);var we=(0,fn.Z)(Ie);function Ie(){return(0,et.Z)(this,Ie),we.apply(this,arguments)}return(0,Tt.Z)(Ie,[{key:"render",value:function(){var je=this.props,We=je.title,xe=je.attribute,Je=je.elementRef,Ft=(0,u.Z)(je,zn),Zt=(0,Zn.Z)(Ft,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,re.ZP)(!xe,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),e.createElement(it.Item,(0,x.Z)({},xe,{title:typeof We=="string"?We:void 0},Zt,{ref:Je}))}}]),Ie}(e.Component),yn=e.forwardRef(function(q,we){var Ie=q.style,me=q.className,je=q.eventKey,We=q.warnKey,xe=q.disabled,Je=q.itemIcon,Ft=q.children,Zt=q.role,Cn=q.onMouseEnter,pn=q.onMouseLeave,In=q.onClick,Qn=q.onKeyDown,Rn=q.onFocus,nr=(0,u.Z)(q,Dn),Kn=de(je),_=e.useContext(Le),k=_.prefixCls,M=_.onItemClick,ee=_.disabled,Ee=_.overflowDisabled,Ke=_.itemIcon,Qe=_.selectedKeys,Ct=_.onActive,gt=e.useContext(lt),Vt=gt._internalRenderMenuItem,ot="".concat(k,"-item"),ft=e.useRef(),xt=e.useRef(),Ot=ee||xe,Jt=(0,ir.x1)(we,xt),Fn=ie(je),En=function(pr){return{key:je,keyPath:(0,X.Z)(Fn).reverse(),item:ft.current,domEvent:pr}},Bn=Je||Ke,Wn=kn(je,Ot,Cn,pn),An=Wn.active,rr=(0,u.Z)(Wn,ln),sr=Qe.includes(je),cn=mn(Fn.length),Ir=function(pr){if(!Ot){var Pr=En(pr);In==null||In(an(Pr)),M(Pr)}},gr=function(pr){if(Qn==null||Qn(pr),pr.which===st.Z.ENTER){var Pr=En(pr);In==null||In(an(Pr)),M(Pr)}},xr=function(pr){Ct(je),Rn==null||Rn(pr)},ra={};q.role==="option"&&(ra["aria-selected"]=sr);var Rr=e.createElement(gn,(0,x.Z)({ref:ft,elementRef:Jt,role:Zt===null?"none":Zt||"menuitem",tabIndex:xe?null:-1,"data-menu-id":Ee&&Kn?null:Kn},(0,Zn.Z)(nr,["extra"]),rr,ra,{component:"li","aria-disabled":xe,style:(0,$.Z)((0,$.Z)({},cn),Ie),className:K()(ot,(0,R.Z)((0,R.Z)((0,R.Z)({},"".concat(ot,"-active"),An),"".concat(ot,"-selected"),sr),"".concat(ot,"-disabled"),Ot),me),onClick:Ir,onKeyDown:gr,onFocus:xr}),Ft,e.createElement(On,{props:(0,$.Z)((0,$.Z)({},q),{},{isSelected:sr}),icon:Bn}));return Vt&&(Rr=Vt(Rr,q,{selected:sr})),Rr});function Sn(q,we){var Ie=q.eventKey,me=J(),je=ie(Ie);return e.useEffect(function(){if(me)return me.registerPath(Ie,je),function(){me.unregisterPath(Ie,je)}},[je]),me?null:e.createElement(yn,(0,x.Z)({},q,{ref:we}))}var hn=e.forwardRef(Sn),Mn=["className","children"],Un=function(we,Ie){var me=we.className,je=we.children,We=(0,u.Z)(we,Mn),xe=e.useContext(Le),Je=xe.prefixCls,Ft=xe.mode,Zt=xe.rtl;return e.createElement("ul",(0,x.Z)({className:K()(Je,Zt&&"".concat(Je,"-rtl"),"".concat(Je,"-sub"),"".concat(Je,"-").concat(Ft==="inline"?"inline":"vertical"),me),role:"menu"},We,{"data-menu-list":!0,ref:Ie}),je)},er=e.forwardRef(Un);er.displayName="SubMenuList";var ur=er,Sr=i(50344);function Ea(q,we){return(0,Sr.Z)(q).map(function(Ie,me){if(e.isValidElement(Ie)){var je,We,xe=Ie.key,Je=(je=(We=Ie.props)===null||We===void 0?void 0:We.eventKey)!==null&&je!==void 0?je:xe,Ft=Je==null;Ft&&(Je="tmp_key-".concat([].concat((0,X.Z)(we),[me]).join("-")));var Zt={key:Je,eventKey:Je};return e.cloneElement(Ie,Zt)}return Ie})}var Wa=i(98280),Er={adjustX:1,adjustY:1},Ja={topLeft:{points:["bl","tl"],overflow:Er},topRight:{points:["br","tr"],overflow:Er},bottomLeft:{points:["tl","bl"],overflow:Er},bottomRight:{points:["tr","br"],overflow:Er},leftTop:{points:["tr","tl"],overflow:Er},leftBottom:{points:["br","bl"],overflow:Er},rightTop:{points:["tl","tr"],overflow:Er},rightBottom:{points:["bl","br"],overflow:Er}},qa={topLeft:{points:["bl","tl"],overflow:Er},topRight:{points:["br","tr"],overflow:Er},bottomLeft:{points:["tl","bl"],overflow:Er},bottomRight:{points:["tr","br"],overflow:Er},rightTop:{points:["tr","tl"],overflow:Er},rightBottom:{points:["br","bl"],overflow:Er},leftTop:{points:["tl","tr"],overflow:Er},leftBottom:{points:["bl","br"],overflow:Er}},Ta=null;function Or(q,we,Ie){if(we)return we;if(Ie)return Ie[q]||Ie.other}var Yr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Br(q){var we=q.prefixCls,Ie=q.visible,me=q.children,je=q.popup,We=q.popupStyle,xe=q.popupClassName,Je=q.popupOffset,Ft=q.disabled,Zt=q.mode,Cn=q.onVisibleChange,pn=e.useContext(Le),In=pn.getPopupContainer,Qn=pn.rtl,Rn=pn.subMenuOpenDelay,nr=pn.subMenuCloseDelay,Kn=pn.builtinPlacements,_=pn.triggerSubMenuAction,k=pn.forceSubMenuRender,M=pn.rootClassName,ee=pn.motion,Ee=pn.defaultMotions,Ke=e.useState(!1),Qe=(0,z.Z)(Ke,2),Ct=Qe[0],gt=Qe[1],Vt=Qn?(0,$.Z)((0,$.Z)({},qa),Kn):(0,$.Z)((0,$.Z)({},Ja),Kn),ot=Yr[Zt],ft=Or(Zt,ee,Ee),xt=e.useRef(ft);Zt!=="inline"&&(xt.current=ft);var Ot=(0,$.Z)((0,$.Z)({},xt.current),{},{leavedClassName:"".concat(we,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Jt=e.useRef();return e.useEffect(function(){return Jt.current=(0,wt.Z)(function(){gt(Ie)}),function(){wt.Z.cancel(Jt.current)}},[Ie]),e.createElement(Wa.Z,{prefixCls:we,popupClassName:K()("".concat(we,"-popup"),(0,R.Z)({},"".concat(we,"-rtl"),Qn),xe,M),stretch:Zt==="horizontal"?"minWidth":null,getPopupContainer:In,builtinPlacements:Vt,popupPlacement:ot,popupVisible:Ct,popup:je,popupStyle:We,popupAlign:Je&&{offset:Je},action:Ft?[]:[_],mouseEnterDelay:Rn,mouseLeaveDelay:nr,onPopupVisibleChange:Cn,forceRender:k,popupMotion:Ot,fresh:!0},me)}var jr=i(62874);function _a(q){var we=q.id,Ie=q.open,me=q.keyPath,je=q.children,We="inline",xe=e.useContext(Le),Je=xe.prefixCls,Ft=xe.forceSubMenuRender,Zt=xe.motion,Cn=xe.defaultMotions,pn=xe.mode,In=e.useRef(!1);In.current=pn===We;var Qn=e.useState(!In.current),Rn=(0,z.Z)(Qn,2),nr=Rn[0],Kn=Rn[1],_=In.current?Ie:!1;e.useEffect(function(){In.current&&Kn(!1)},[pn]);var k=(0,$.Z)({},Or(We,Zt,Cn));me.length>1&&(k.motionAppear=!1);var M=k.onVisibleChanged;return k.onVisibleChanged=function(ee){return!In.current&&!ee&&Kn(!0),M==null?void 0:M(ee)},nr?null:e.createElement(O,{mode:We,locked:!In.current},e.createElement(jr.Z,(0,x.Z)({visible:_},k,{forceRender:Ft,removeOnLeave:!1,leavedClassName:"".concat(Je,"-hidden")}),function(ee){var Ee=ee.className,Ke=ee.style;return e.createElement(ur,{id:we,className:Ee,style:Ke},je)}))}var oa=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],dr=["active"],Cr=e.forwardRef(function(q,we){var Ie=q.style,me=q.className,je=q.title,We=q.eventKey,xe=q.warnKey,Je=q.disabled,Ft=q.internalPopupClose,Zt=q.children,Cn=q.itemIcon,pn=q.expandIcon,In=q.popupClassName,Qn=q.popupOffset,Rn=q.popupStyle,nr=q.onClick,Kn=q.onMouseEnter,_=q.onMouseLeave,k=q.onTitleClick,M=q.onTitleMouseEnter,ee=q.onTitleMouseLeave,Ee=(0,u.Z)(q,oa),Ke=de(We),Qe=e.useContext(Le),Ct=Qe.prefixCls,gt=Qe.mode,Vt=Qe.openKeys,ot=Qe.disabled,ft=Qe.overflowDisabled,xt=Qe.activeKey,Ot=Qe.selectedKeys,Jt=Qe.itemIcon,Fn=Qe.expandIcon,En=Qe.onItemClick,Bn=Qe.onOpenChange,Wn=Qe.onActive,An=e.useContext(lt),rr=An._internalRenderSubMenuItem,sr=e.useContext(ze),cn=sr.isSubPathKey,Ir=ie(),gr="".concat(Ct,"-submenu"),xr=ot||Je,ra=e.useRef(),Rr=e.useRef(),Nr=Cn!=null?Cn:Jt,pr=pn!=null?pn:Fn,Pr=Vt.includes(We),zr=!ft&&Pr,Jr=cn(Ot,We),qr=kn(We,xr,M,ee),yr=qr.active,Lr=(0,u.Z)(qr,dr),Jn=e.useState(!1),ua=(0,z.Z)(Jn,2),aa=ua[0],Ar=ua[1],Yn=function(cr){xr||Ar(cr)},ia=function(cr){Yn(!0),Kn==null||Kn({key:We,domEvent:cr})},Oa=function(cr){Yn(!1),_==null||_({key:We,domEvent:cr})},Sa=e.useMemo(function(){return yr||(gt!=="inline"?aa||cn([xt],We):!1)},[gt,yr,xt,aa,We,cn]),Zr=mn(Ir.length),br=function(cr){xr||(k==null||k({key:We,domEvent:cr}),gt==="inline"&&Bn(We,!Pr))},Ca=Lt(function(lr){nr==null||nr(an(lr)),En(lr)}),Za=function(cr){gt!=="inline"&&Bn(We,cr)},Mr=function(){Wn(We)},ea=Ke&&"".concat(Ke,"-popup"),Kr=e.useMemo(function(){return e.createElement(On,{icon:gt!=="horizontal"?pr:void 0,props:(0,$.Z)((0,$.Z)({},q),{},{isOpen:zr,isSubMenu:!0})},e.createElement("i",{className:"".concat(gr,"-arrow")}))},[gt,pr,q,zr,gr]),Tr=e.createElement("div",(0,x.Z)({role:"menuitem",style:Zr,className:"".concat(gr,"-title"),tabIndex:xr?null:-1,ref:ra,title:typeof je=="string"?je:null,"data-menu-id":ft&&Ke?null:Ke,"aria-expanded":zr,"aria-haspopup":!0,"aria-controls":ea,"aria-disabled":xr,onClick:br,onFocus:Mr},Lr),je,Kr),sa=e.useRef(gt);if(gt!=="inline"&&Ir.length>1?sa.current="vertical":sa.current=gt,!ft){var la=sa.current;Tr=e.createElement(Br,{mode:la,prefixCls:gr,visible:!Ft&&zr&>!=="inline",popupClassName:In,popupOffset:Qn,popupStyle:Rn,popup:e.createElement(O,{mode:la==="horizontal"?"vertical":la},e.createElement(ur,{id:ea,ref:Rr},Zt)),disabled:xr,onVisibleChange:Za},Tr)}var Ur=e.createElement(it.Item,(0,x.Z)({ref:we,role:"none"},Ee,{component:"li",style:Ie,className:K()(gr,"".concat(gr,"-").concat(gt),me,(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)({},"".concat(gr,"-open"),zr),"".concat(gr,"-active"),Sa),"".concat(gr,"-selected"),Jr),"".concat(gr,"-disabled"),xr)),onMouseEnter:ia,onMouseLeave:Oa}),Tr,!ft&&e.createElement(_a,{id:ea,open:zr,keyPath:Ir},Zt));return rr&&(Ur=rr(Ur,q,{selected:Jr,active:Sa,open:zr,disabled:xr})),e.createElement(O,{onItemClick:Ca,mode:gt==="horizontal"?"vertical":gt,itemIcon:Nr,expandIcon:pr},Ur)}),La=e.forwardRef(function(q,we){var Ie=q.eventKey,me=q.children,je=ie(Ie),We=Ea(me,je),xe=J();e.useEffect(function(){if(xe)return xe.registerPath(Ie,je),function(){xe.unregisterPath(Ie,je)}},[je]);var Je;return xe?Je=We:Je=e.createElement(Cr,(0,x.Z)({ref:we},q),We),e.createElement(le.Provider,{value:je},Je)}),ma=La,fi=i(71002);function da(q){var we=q.className,Ie=q.style,me=e.useContext(Le),je=me.prefixCls,We=J();return We?null:e.createElement("li",{role:"separator",className:K()("".concat(je,"-item-divider"),we),style:Ie})}var ha=["className","title","eventKey","children"],ga=e.forwardRef(function(q,we){var Ie=q.className,me=q.title,je=q.eventKey,We=q.children,xe=(0,u.Z)(q,ha),Je=e.useContext(Le),Ft=Je.prefixCls,Zt="".concat(Ft,"-item-group");return e.createElement("li",(0,x.Z)({ref:we,role:"presentation"},xe,{onClick:function(pn){return pn.stopPropagation()},className:K()(Zt,Ie)}),e.createElement("div",{role:"presentation",className:"".concat(Zt,"-title"),title:typeof me=="string"?me:void 0},me),e.createElement("ul",{role:"group",className:"".concat(Zt,"-list")},We))}),na=e.forwardRef(function(q,we){var Ie=q.eventKey,me=q.children,je=ie(Ie),We=Ea(me,je),xe=J();return xe?We:e.createElement(ga,(0,x.Z)({ref:we},(0,Zn.Z)(q,["warnKey"])),We)}),hr=na,$r=["label","children","key","type","extra"];function ka(q,we,Ie){var me=we.item,je=we.group,We=we.submenu,xe=we.divider;return(q||[]).map(function(Je,Ft){if(Je&&(0,fi.Z)(Je)==="object"){var Zt=Je,Cn=Zt.label,pn=Zt.children,In=Zt.key,Qn=Zt.type,Rn=Zt.extra,nr=(0,u.Z)(Zt,$r),Kn=In!=null?In:"tmp-".concat(Ft);return pn||Qn==="group"?Qn==="group"?e.createElement(je,(0,x.Z)({key:Kn},nr,{title:Cn}),ka(pn,we,Ie)):e.createElement(We,(0,x.Z)({key:Kn},nr,{title:Cn}),ka(pn,we,Ie)):Qn==="divider"?e.createElement(xe,(0,x.Z)({key:Kn},nr)):e.createElement(me,(0,x.Z)({key:Kn},nr,{extra:Rn}),Cn,(!!Rn||Rn===0)&&e.createElement("span",{className:"".concat(Ie,"-item-extra")},Rn))}return null}).filter(function(Je){return Je})}function ei(q,we,Ie,me,je){var We=q,xe=(0,$.Z)({divider:da,item:hn,group:hr,submenu:ma},me);return we&&(We=ka(we,xe,je)),Ea(We,Ie)}var di=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Qr=[],Dr=e.forwardRef(function(q,we){var Ie,me=q,je=me.prefixCls,We=je===void 0?"rc-menu":je,xe=me.rootClassName,Je=me.style,Ft=me.className,Zt=me.tabIndex,Cn=Zt===void 0?0:Zt,pn=me.items,In=me.children,Qn=me.direction,Rn=me.id,nr=me.mode,Kn=nr===void 0?"vertical":nr,_=me.inlineCollapsed,k=me.disabled,M=me.disabledOverflow,ee=me.subMenuOpenDelay,Ee=ee===void 0?.1:ee,Ke=me.subMenuCloseDelay,Qe=Ke===void 0?.1:Ke,Ct=me.forceSubMenuRender,gt=me.defaultOpenKeys,Vt=me.openKeys,ot=me.activeKey,ft=me.defaultActiveFirst,xt=me.selectable,Ot=xt===void 0?!0:xt,Jt=me.multiple,Fn=Jt===void 0?!1:Jt,En=me.defaultSelectedKeys,Bn=me.selectedKeys,Wn=me.onSelect,An=me.onDeselect,rr=me.inlineIndent,sr=rr===void 0?24:rr,cn=me.motion,Ir=me.defaultMotions,gr=me.triggerSubMenuAction,xr=gr===void 0?"hover":gr,ra=me.builtinPlacements,Rr=me.itemIcon,Nr=me.expandIcon,pr=me.overflowedIndicator,Pr=pr===void 0?"...":pr,zr=me.overflowedIndicatorPopupClassName,Jr=me.getPopupContainer,qr=me.onClick,yr=me.onOpenChange,Lr=me.onKeyDown,Jn=me.openAnimation,ua=me.openTransitionName,aa=me._internalRenderMenuItem,Ar=me._internalRenderSubMenuItem,Yn=me._internalComponents,ia=(0,u.Z)(me,di),Oa=e.useMemo(function(){return[ei(In,pn,Qr,Yn,We),ei(In,pn,Qr,{},We)]},[In,pn,Yn]),Sa=(0,z.Z)(Oa,2),Zr=Sa[0],br=Sa[1],Ca=e.useState(!1),Za=(0,z.Z)(Ca,2),Mr=Za[0],ea=Za[1],Kr=e.useRef(),Tr=Ue(Rn),sa=Qn==="rtl",la=(0,$e.Z)(gt,{value:Vt,postState:function(Y){return Y||Qr}}),Ur=(0,z.Z)(la,2),lr=Ur[0],cr=Ur[1],Wr=function(Y){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ce(){cr(Y),yr==null||yr(Y)}ne?(0,d.flushSync)(ce):ce()},vi=e.useState(lr),or=(0,z.Z)(vi,2),Ha=or[0],ti=or[1],Hr=e.useRef(!1),Ka=e.useMemo(function(){return(Kn==="inline"||Kn==="vertical")&&_?["vertical",_]:[Kn,!1]},[Kn,_]),ya=(0,z.Z)(Ka,2),Va=ya[0],xn=ya[1],Xn=Va==="inline",ar=e.useState(Va),kr=(0,z.Z)(ar,2),vr=kr[0],Ai=kr[1],_i=e.useState(xn),Ra=(0,z.Z)(_i,2),ii=Ra[0],Ui=Ra[1];e.useEffect(function(){Ai(Va),Ui(xn),Hr.current&&(Xn?cr(Ha):Wr(Qr))},[Va,xn]);var Mi=e.useState(0),Li=(0,z.Z)(Mi,2),mi=Li[0],$a=Li[1],pa=mi>=Zr.length-1||vr!=="horizontal"||M;e.useEffect(function(){Xn&&ti(lr)},[lr]),e.useEffect(function(){return Hr.current=!0,function(){Hr.current=!1}},[]);var Fa=jt(),ca=Fa.registerPath,Ga=Fa.unregisterPath,_r=Fa.refreshOverflowKeys,mr=Fa.isSubPathKey,Na=Fa.getKeyPath,ni=Fa.getKeys,Ti=Fa.getSubPathKeys,Da=e.useMemo(function(){return{registerPath:ca,unregisterPath:Ga}},[ca,Ga]),Zi=e.useMemo(function(){return{isSubPathKey:mr}},[mr]);e.useEffect(function(){_r(pa?Qr:Zr.slice(mi+1).map(function(V){return V.key}))},[mi,pa]);var ki=(0,$e.Z)(ot||ft&&((Ie=Zr[0])===null||Ie===void 0?void 0:Ie.key),{value:ot}),ri=(0,z.Z)(ki,2),si=ri[0],Ei=ri[1],Oi=Lt(function(V){Ei(V)}),xi=Lt(function(){Ei(void 0)});(0,e.useImperativeHandle)(we,function(){return{list:Kr.current,focus:function(Y){var ne,ce=ni(),oe=tt(ce,Tr),Ne=oe.elements,fe=oe.key2element,Se=oe.element2key,be=ve(Kr.current,Ne),Te=si!=null?si:be[0]?Se.get(be[0]):(ne=Zr.find(function(Et){return!Et.props.disabled}))===null||ne===void 0?void 0:ne.key,Ve=fe.get(Te);if(Te&&Ve){var ct;Ve==null||(ct=Ve.focus)===null||ct===void 0||ct.call(Ve,Y)}}}});var Di=(0,$e.Z)(En||[],{value:Bn,postState:function(Y){return Array.isArray(Y)?Y:Y==null?Qr:[Y]}}),oi=(0,z.Z)(Di,2),Ya=oi[0],ai=oi[1],gi=function(Y){if(Ot){var ne=Y.key,ce=Ya.includes(ne),oe;Fn?ce?oe=Ya.filter(function(fe){return fe!==ne}):oe=[].concat((0,X.Z)(Ya),[ne]):oe=[ne],ai(oe);var Ne=(0,$.Z)((0,$.Z)({},Y),{},{selectedKeys:oe});ce?An==null||An(Ne):Wn==null||Wn(Ne)}!Fn&&lr.length&&vr!=="inline"&&Wr(Qr)},Si=Lt(function(V){qr==null||qr(an(V)),gi(V)}),Ki=Lt(function(V,Y){var ne=lr.filter(function(oe){return oe!==V});if(Y)ne.push(V);else if(vr!=="inline"){var ce=Ti(V);ne=ne.filter(function(oe){return!ce.has(oe)})}(0,Ze.Z)(lr,ne,!0)||Wr(ne,!0)}),r=function(Y,ne){var ce=ne!=null?ne:!lr.includes(Y);Ki(Y,ce)},b=ht(vr,si,sa,Tr,Kr,ni,Na,Ei,r,Lr);e.useEffect(function(){ea(!0)},[]);var S=e.useMemo(function(){return{_internalRenderMenuItem:aa,_internalRenderSubMenuItem:Ar}},[aa,Ar]),N=vr!=="horizontal"||M?Zr:Zr.map(function(V,Y){return e.createElement(O,{key:V.key,overflowDisabled:Y>mi},V)}),U=e.createElement(it,(0,x.Z)({id:Rn,ref:Kr,prefixCls:"".concat(We,"-overflow"),component:"ul",itemComponent:hn,className:K()(We,"".concat(We,"-root"),"".concat(We,"-").concat(vr),Ft,(0,R.Z)((0,R.Z)({},"".concat(We,"-inline-collapsed"),ii),"".concat(We,"-rtl"),sa),xe),dir:Qn,style:Je,role:"menu",tabIndex:Cn,data:N,renderRawItem:function(Y){return Y},renderRawRest:function(Y){var ne=Y.length,ce=ne?Zr.slice(-ne):null;return e.createElement(ma,{eventKey:mt,title:Pr,disabled:pa,internalPopupClose:ne===0,popupClassName:zr},ce)},maxCount:vr!=="horizontal"||M?it.INVALIDATE:it.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Y){$a(Y)},onKeyDown:b},ia));return e.createElement(lt.Provider,{value:S},e.createElement(Me.Provider,{value:Tr},e.createElement(O,{prefixCls:We,rootClassName:xe,mode:vr,openKeys:lr,rtl:sa,disabled:k,motion:Mr?cn:null,defaultMotions:Mr?Ir:null,activeKey:si,onActive:Oi,onInactive:xi,selectedKeys:Ya,inlineIndent:sr,subMenuOpenDelay:Ee,subMenuCloseDelay:Qe,forceSubMenuRender:Ct,builtinPlacements:ra,triggerSubMenuAction:xr,getPopupContainer:Jr,itemIcon:Rr,expandIcon:Nr,onItemClick:Si,onOpenChange:Ki},e.createElement(ze.Provider,{value:Zi},U),e.createElement("div",{style:{display:"none"},"aria-hidden":!0},e.createElement(he.Provider,{value:Da},br)))))}),hi=Dr,xa=hi;xa.Item=hn,xa.SubMenu=ma,xa.ItemGroup=hr,xa.Divider=da;var pi=xa},62874:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return At}});var x=i(4942),R=i(1413),$=i(97685),X=i(71002),z=i(67294),u=i(34203),A=i(42550),K=i(94184),e=i.n(K),p=i(98924);function h(Ge,Ae){var ue={};return ue[Ge.toLowerCase()]=Ae.toLowerCase(),ue["Webkit".concat(Ge)]="webkit".concat(Ae),ue["Moz".concat(Ge)]="moz".concat(Ae),ue["ms".concat(Ge)]="MS".concat(Ae),ue["O".concat(Ge)]="o".concat(Ae.toLowerCase()),ue}function t(Ge,Ae){var ue={animationend:h("Animation","AnimationEnd"),transitionend:h("Transition","TransitionEnd")};return Ge&&("AnimationEvent"in Ae||delete ue.animationend.animation,"TransitionEvent"in Ae||delete ue.transitionend.transition),ue}var o=t((0,p.Z)(),typeof window!="undefined"?window:{}),s={};if((0,p.Z)()){var f=document.createElement("div");s=f.style}var v={};function c(Ge){if(v[Ge])return v[Ge];var Ae=o[Ge];if(Ae)for(var ue=Object.keys(Ae),Pe=ue.length,ke=0;ke<Pe;ke+=1){var Ye=ue[ke];if(Object.prototype.hasOwnProperty.call(Ae,Ye)&&Ye in s)return v[Ge]=Ae[Ye],v[Ge]}return""}var y=c("animationend"),g=c("transitionend"),E=!!(y&&g),l=y||"animationend",d=g||"transitionend";function T(Ge,Ae){if(!Ge)return null;if((0,X.Z)(Ge)==="object"){var ue=Ae.replace(/-\w/g,function(Pe){return Pe[1].toUpperCase()});return Ge[ue]}return"".concat(Ge,"-").concat(Ae)}var Z="none",W="appear",H="enter",G="leave",Q="none",ye="prepare",C="start",w="active",P="end",I=i(63896),L=i(75164),D=function(){var Ge=z.useRef(null);function Ae(){L.Z.cancel(Ge.current)}function ue(Pe){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ae();var Ye=(0,L.Z)(function(){ke<=1?Pe({isCanceled:function(){return Ye!==Ge.current}}):ue(Pe,ke-1)});Ge.current=Ye}return z.useEffect(function(){return function(){Ae()}},[]),[ue,Ae]},a=(0,p.Z)()?z.useLayoutEffect:z.useEffect,n=a,m=[ye,C,w,P],B=!1,pe=!0;function De(Ge){return Ge===w||Ge===P}var Re=function(Ge,Ae){var ue=(0,I.Z)(Q),Pe=(0,$.Z)(ue,2),ke=Pe[0],Ye=Pe[1],st=D(),wt=(0,$.Z)(st,2),Be=wt[0],ut=wt[1];function kt(){Ye(ye,!0)}return n(function(){if(ke!==Q&&ke!==P){var vt=m.indexOf(ke),nt=m[vt+1],bt=Ae(ke);bt===B?Ye(nt,!0):Be(function(tn){function rn(){tn.isCanceled()||Ye(nt,!0)}bt===!0?rn():Promise.resolve(bt).then(rn)})}},[Ge,ke]),z.useEffect(function(){return function(){ut()}},[]),[kt,ke]},qe=function(Ge){var Ae=(0,z.useRef)(),ue=(0,z.useRef)(Ge);ue.current=Ge;var Pe=z.useCallback(function(st){ue.current(st)},[]);function ke(st){st&&(st.removeEventListener(d,Pe),st.removeEventListener(l,Pe))}function Ye(st){Ae.current&&Ae.current!==st&&ke(Ae.current),st&&st!==Ae.current&&(st.addEventListener(d,Pe),st.addEventListener(l,Pe),Ae.current=st)}return z.useEffect(function(){return function(){ke(Ae.current)}},[]),[Ye,ke]};function Xe(Ge,Ae,ue,Pe){var ke=Pe.motionEnter,Ye=ke===void 0?!0:ke,st=Pe.motionAppear,wt=st===void 0?!0:st,Be=Pe.motionLeave,ut=Be===void 0?!0:Be,kt=Pe.motionDeadline,vt=Pe.motionLeaveImmediately,nt=Pe.onAppearPrepare,bt=Pe.onEnterPrepare,tn=Pe.onLeavePrepare,rn=Pe.onAppearStart,Yt=Pe.onEnterStart,se=Pe.onLeaveStart,Oe=Pe.onAppearActive,ge=Pe.onEnterActive,ve=Pe.onLeaveActive,rt=Pe.onAppearEnd,tt=Pe.onEnterEnd,ht=Pe.onLeaveEnd,Nt=Pe.onVisibleChanged,Ht=(0,I.Z)(),Kt=(0,$.Z)(Ht,2),Pt=Kt[0],mt=Kt[1],jt=(0,I.Z)(Z),Lt=(0,$.Z)(jt,2),Bt=Lt[0],pt=Lt[1],Ue=(0,I.Z)(null),et=(0,$.Z)(Ue,2),Tt=et[0],nn=et[1],fn=(0,z.useRef)(!1),Zn=(0,z.useRef)(null);function ir(){return ue()}var kn=(0,z.useRef)(!1);function mn(Un){var er=ir();if(!(Un&&!Un.deadline&&Un.target!==er)){var ur=kn.current,Sr;Bt===W&&ur?Sr=rt==null?void 0:rt(er,Un):Bt===H&&ur?Sr=tt==null?void 0:tt(er,Un):Bt===G&&ur&&(Sr=ht==null?void 0:ht(er,Un)),Bt!==Z&&ur&&Sr!==!1&&(pt(Z,!0),nn(null,!0))}}var On=qe(mn),Gn=(0,$.Z)(On,1),an=Gn[0],zn=z.useMemo(function(){var Un,er,ur;switch(Bt){case W:return Un={},(0,x.Z)(Un,ye,nt),(0,x.Z)(Un,C,rn),(0,x.Z)(Un,w,Oe),Un;case H:return er={},(0,x.Z)(er,ye,bt),(0,x.Z)(er,C,Yt),(0,x.Z)(er,w,ge),er;case G:return ur={},(0,x.Z)(ur,ye,tn),(0,x.Z)(ur,C,se),(0,x.Z)(ur,w,ve),ur;default:return{}}},[Bt]),Dn=Re(Bt,function(Un){if(Un===ye){var er=zn[ye];return er?er(ir()):B}if(yn in zn){var ur;nn(((ur=zn[yn])===null||ur===void 0?void 0:ur.call(zn,ir(),null))||null)}return yn===w&&(an(ir()),kt>0&&(clearTimeout(Zn.current),Zn.current=setTimeout(function(){mn({deadline:!0})},kt))),pe}),ln=(0,$.Z)(Dn,2),gn=ln[0],yn=ln[1],Sn=De(yn);kn.current=Sn,n(function(){mt(Ae);var Un=fn.current;if(fn.current=!0,!!Ge){var er;!Un&&Ae&&wt&&(er=W),Un&&Ae&&Ye&&(er=H),(Un&&!Ae&&ut||!Un&&vt&&!Ae&&ut)&&(er=G),er&&(pt(er),gn())}},[Ae]),(0,z.useEffect)(function(){(Bt===W&&!wt||Bt===H&&!Ye||Bt===G&&!ut)&&pt(Z)},[wt,Ye,ut]),(0,z.useEffect)(function(){return function(){fn.current=!1,clearTimeout(Zn.current)}},[]);var hn=z.useRef(!1);(0,z.useEffect)(function(){Pt&&(hn.current=!0),Pt!==void 0&&Bt===Z&&((hn.current||Pt)&&(Nt==null||Nt(Pt)),hn.current=!0)},[Pt,Bt]);var Mn=Tt;return zn[ye]&&yn===C&&(Mn=(0,R.Z)({transition:"none"},Mn)),[Bt,yn,Mn,Pt!=null?Pt:Ae]}var Rt=i(15671),_e=i(43144),it=i(60136),$e=i(29388),Ze=function(Ge){(0,it.Z)(ue,Ge);var Ae=(0,$e.Z)(ue);function ue(){return(0,Rt.Z)(this,ue),Ae.apply(this,arguments)}return(0,_e.Z)(ue,[{key:"render",value:function(){return this.props.children}}]),ue}(z.Component),re=Ze;function Me(Ge){var Ae=Ge;(0,X.Z)(Ge)==="object"&&(Ae=Ge.transitionSupport);function ue(ke){return!!(ke.motionName&&Ae)}var Pe=z.forwardRef(function(ke,Ye){var st=ke.visible,wt=st===void 0?!0:st,Be=ke.removeOnLeave,ut=Be===void 0?!0:Be,kt=ke.forceRender,vt=ke.children,nt=ke.motionName,bt=ke.leavedClassName,tn=ke.eventProps,rn=ue(ke),Yt=(0,z.useRef)(),se=(0,z.useRef)();function Oe(){try{return Yt.current instanceof HTMLElement?Yt.current:(0,u.Z)(se.current)}catch(Ue){return null}}var ge=Xe(rn,wt,Oe,ke),ve=(0,$.Z)(ge,4),rt=ve[0],tt=ve[1],ht=ve[2],Nt=ve[3],Ht=z.useRef(Nt);Nt&&(Ht.current=!0);var Kt=z.useCallback(function(Ue){Yt.current=Ue,(0,A.mH)(Ye,Ue)},[Ye]),Pt,mt=(0,R.Z)((0,R.Z)({},tn),{},{visible:wt});if(!vt)Pt=null;else if(rt===Z||!ue(ke))Nt?Pt=vt((0,R.Z)({},mt),Kt):!ut&&Ht.current&&bt?Pt=vt((0,R.Z)((0,R.Z)({},mt),{},{className:bt}),Kt):kt||!ut&&!bt?Pt=vt((0,R.Z)((0,R.Z)({},mt),{},{style:{display:"none"}}),Kt):Pt=null;else{var jt,Lt;tt===ye?Lt="prepare":De(tt)?Lt="active":tt===C&&(Lt="start"),Pt=vt((0,R.Z)((0,R.Z)({},mt),{},{className:e()(T(nt,rt),(jt={},(0,x.Z)(jt,T(nt,"".concat(rt,"-").concat(Lt)),Lt),(0,x.Z)(jt,nt,typeof nt=="string"),jt)),style:ht}),Kt)}if(z.isValidElement(Pt)&&(0,A.Yr)(Pt)){var Bt=Pt,pt=Bt.ref;pt||(Pt=z.cloneElement(Pt,{ref:Kt}))}return z.createElement(re,{ref:se},Pt)});return Pe.displayName="CSSMotion",Pe}var j=Me(E),de=i(87462),ae=i(45987),He=i(97326),Le="add",F="keep",O="remove",te="removed";function he(Ge){var Ae;return Ge&&(0,X.Z)(Ge)==="object"&&"key"in Ge?Ae=Ge:Ae={key:Ge},(0,R.Z)((0,R.Z)({},Ae),{},{key:String(Ae.key)})}function J(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Ge.map(he)}function le(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ue=[],Pe=0,ke=Ae.length,Ye=J(Ge),st=J(Ae);Ye.forEach(function(ut){for(var kt=!1,vt=Pe;vt<ke;vt+=1){var nt=st[vt];if(nt.key===ut.key){Pe<vt&&(ue=ue.concat(st.slice(Pe,vt).map(function(bt){return(0,R.Z)((0,R.Z)({},bt),{},{status:Le})})),Pe=vt),ue.push((0,R.Z)((0,R.Z)({},nt),{},{status:F})),Pe+=1,kt=!0;break}}kt||ue.push((0,R.Z)((0,R.Z)({},ut),{},{status:O}))}),Pe<ke&&(ue=ue.concat(st.slice(Pe).map(function(ut){return(0,R.Z)((0,R.Z)({},ut),{},{status:Le})})));var wt={};ue.forEach(function(ut){var kt=ut.key;wt[kt]=(wt[kt]||0)+1});var Be=Object.keys(wt).filter(function(ut){return wt[ut]>1});return Be.forEach(function(ut){ue=ue.filter(function(kt){var vt=kt.key,nt=kt.status;return vt!==ut||nt!==O}),ue.forEach(function(kt){kt.key===ut&&(kt.status=F)})}),ue}var ie=["component","children","onVisibleChanged","onAllRemoved"],ze=["status"],Fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function lt(Ge){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:j,ue=function(Pe){(0,it.Z)(Ye,Pe);var ke=(0,$e.Z)(Ye);function Ye(){var st;(0,Rt.Z)(this,Ye);for(var wt=arguments.length,Be=new Array(wt),ut=0;ut<wt;ut++)Be[ut]=arguments[ut];return st=ke.call.apply(ke,[this].concat(Be)),(0,x.Z)((0,He.Z)(st),"state",{keyEntities:[]}),(0,x.Z)((0,He.Z)(st),"removeKey",function(kt){var vt=st.state.keyEntities,nt=vt.map(function(bt){return bt.key!==kt?bt:(0,R.Z)((0,R.Z)({},bt),{},{status:te})});return st.setState({keyEntities:nt}),nt.filter(function(bt){var tn=bt.status;return tn!==te}).length}),st}return(0,_e.Z)(Ye,[{key:"render",value:function(){var wt=this,Be=this.state.keyEntities,ut=this.props,kt=ut.component,vt=ut.children,nt=ut.onVisibleChanged,bt=ut.onAllRemoved,tn=(0,ae.Z)(ut,ie),rn=kt||z.Fragment,Yt={};return Fe.forEach(function(se){Yt[se]=tn[se],delete tn[se]}),delete tn.keys,z.createElement(rn,tn,Be.map(function(se){var Oe=se.status,ge=(0,ae.Z)(se,ze),ve=Oe===Le||Oe===F;return z.createElement(Ae,(0,de.Z)({},Yt,{key:ge.key,visible:ve,eventProps:ge,onVisibleChanged:function(tt){if(nt==null||nt(tt,{key:ge.key}),!tt){var ht=wt.removeKey(ge.key);ht===0&&bt&&bt()}}}),vt)}))}}],[{key:"getDerivedStateFromProps",value:function(wt,Be){var ut=wt.keys,kt=Be.keyEntities,vt=J(ut),nt=le(kt,vt);return{keyEntities:nt.filter(function(bt){var tn=kt.find(function(rn){var Yt=rn.key;return bt.key===Yt});return!(tn&&tn.status===te&&bt.status===O)})}}}]),Ye}(z.Component);return(0,x.Z)(ue,"defaultProps",{component:"div"}),ue}var dt=lt(E),At=j},31457:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return $e}});var x=i(4942),R=i(87462),$=i(71002),X=i(1413),z=i(97685),u=i(94184),A=i.n(u),K=i(67294);function e(Ze){var re=K.useRef();re.current=Ze;var Me=K.useCallback(function(){for(var j,de=arguments.length,ae=new Array(de),He=0;He<de;He++)ae[He]=arguments[He];return(j=re.current)===null||j===void 0?void 0:j.call.apply(j,[re].concat(ae))},[]);return Me}function p(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var h=p()?K.useLayoutEffect:K.useEffect,t=function(re,Me){var j=K.useRef(!0);h(function(){return re(j.current)},Me),h(function(){return j.current=!1,function(){j.current=!0}},[])},o=function(re,Me){t(function(j){if(!j)return re()},Me)},s=null;function f(Ze){var re=K.useRef(!1),Me=K.useState(Ze),j=(0,z.Z)(Me,2),de=j[0],ae=j[1];K.useEffect(function(){return re.current=!1,function(){re.current=!0}},[]);function He(Le,F){F&&re.current||ae(Le)}return[de,He]}function v(Ze){return Ze!==void 0}function c(Ze,re){var Me=re||{},j=Me.defaultValue,de=Me.value,ae=Me.onChange,He=Me.postState,Le=f(function(){return v(de)?de:v(j)?typeof j=="function"?j():j:typeof Ze=="function"?Ze():Ze}),F=(0,z.Z)(Le,2),O=F[0],te=F[1],he=de!==void 0?de:O,J=He?He(he):he,le=e(ae),ie=f([he]),ze=(0,z.Z)(ie,2),Fe=ze[0],lt=ze[1];o(function(){var At=Fe[0];O!==At&&le(O,At)},[Fe]),o(function(){v(de)||te(de)},[de]);var dt=e(function(At,Ge){te(At,Ge),lt([he],Ge)});return[J,dt]}var y={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(re){var Me=re.keyCode;if(re.altKey&&!re.ctrlKey||re.metaKey||Me>=y.F1&&Me<=y.F12)return!1;switch(Me){case y.ALT:case y.CAPS_LOCK:case y.CONTEXT_MENU:case y.CTRL:case y.DOWN:case y.END:case y.ESC:case y.HOME:case y.INSERT:case y.LEFT:case y.MAC_FF_META:case y.META:case y.NUMLOCK:case y.NUM_CENTER:case y.PAGE_DOWN:case y.PAGE_UP:case y.PAUSE:case y.PRINT_SCREEN:case y.RIGHT:case y.SHIFT:case y.UP:case y.WIN_KEY:case y.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(re){if(re>=y.ZERO&&re<=y.NINE||re>=y.NUM_ZERO&&re<=y.NUM_MULTIPLY||re>=y.A&&re<=y.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&re===0)return!0;switch(re){case y.SPACE:case y.QUESTION_MARK:case y.NUM_PLUS:case y.NUM_MINUS:case y.NUM_PERIOD:case y.NUM_DIVISION:case y.SEMICOLON:case y.DASH:case y.EQUALS:case y.COMMA:case y.PERIOD:case y.SLASH:case y.APOSTROPHE:case y.SINGLE_QUOTE:case y.OPEN_SQUARE_BRACKET:case y.BACKSLASH:case y.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},g=y,E=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,d="".concat(E," ").concat(l).split(/[\s\n]+/),T="aria-",Z="data-";function W(Ze,re){return Ze.indexOf(re)===0}function H(Ze){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Me;re===!1?Me={aria:!0,data:!0,attr:!0}:re===!0?Me={aria:!0}:Me=(0,X.Z)({},re);var j={};return Object.keys(Ze).forEach(function(de){(Me.aria&&(de==="role"||W(de,T))||Me.data&&W(de,Z)||Me.attr&&d.includes(de))&&(j[de]=Ze[de])}),j}var G={},Q=[],ye=function(re){Q.push(re)};function C(Ze,re){if(0)var Me}function w(Ze,re){if(0)var Me}function P(){G={}}function I(Ze,re,Me){!re&&!G[Me]&&(Ze(!1,Me),G[Me]=!0)}function L(Ze,re){I(C,Ze,re)}function D(Ze,re){I(w,Ze,re)}L.preMessage=ye,L.resetWarned=P,L.noteOnce=D;var a=null,n=i(81626),m=[10,20,50,100],B=function(re){var Me=re.pageSizeOptions,j=Me===void 0?m:Me,de=re.locale,ae=re.changeSize,He=re.pageSize,Le=re.goButton,F=re.quickGo,O=re.rootPrefixCls,te=re.disabled,he=re.buildOptionText,J=re.showSizeChanger,le=re.sizeChangerRender,ie=K.useState(""),ze=(0,z.Z)(ie,2),Fe=ze[0],lt=ze[1],dt=function(){return!Fe||Number.isNaN(Fe)?void 0:Number(Fe)},At=typeof he=="function"?he:function(Be){return"".concat(Be," ").concat(de.items_per_page)},Ge=function(ut){lt(ut.target.value)},Ae=function(ut){Le||Fe===""||(lt(""),!(ut.relatedTarget&&(ut.relatedTarget.className.indexOf("".concat(O,"-item-link"))>=0||ut.relatedTarget.className.indexOf("".concat(O,"-item"))>=0))&&(F==null||F(dt())))},ue=function(ut){Fe!==""&&(ut.keyCode===g.ENTER||ut.type==="click")&&(lt(""),F==null||F(dt()))},Pe=function(){return j.some(function(ut){return ut.toString()===He.toString()})?j:j.concat([He]).sort(function(ut,kt){var vt=Number.isNaN(Number(ut))?0:Number(ut),nt=Number.isNaN(Number(kt))?0:Number(kt);return vt-nt})},ke="".concat(O,"-options");if(!J&&!F)return null;var Ye=null,st=null,wt=null;return J&&le&&(Ye=le({disabled:te,size:He,onSizeChange:function(ut){ae==null||ae(Number(ut))},"aria-label":de.page_size,className:"".concat(ke,"-size-changer"),options:Pe().map(function(Be){return{label:At(Be),value:Be}})})),F&&(Le&&(wt=typeof Le=="boolean"?K.createElement("button",{type:"button",onClick:ue,onKeyUp:ue,disabled:te,className:"".concat(ke,"-quick-jumper-button")},de.jump_to_confirm):K.createElement("span",{onClick:ue,onKeyUp:ue},Le)),st=K.createElement("div",{className:"".concat(ke,"-quick-jumper")},de.jump_to,K.createElement("input",{disabled:te,type:"text",value:Fe,onChange:Ge,onKeyUp:ue,onBlur:Ae,"aria-label":de.page}),de.page,wt)),K.createElement("li",{className:ke},Ye,st)},pe=B,De=function(re){var Me=re.rootPrefixCls,j=re.page,de=re.active,ae=re.className,He=re.showTitle,Le=re.onClick,F=re.onKeyPress,O=re.itemRender,te="".concat(Me,"-item"),he=A()(te,"".concat(te,"-").concat(j),(0,x.Z)((0,x.Z)({},"".concat(te,"-active"),de),"".concat(te,"-disabled"),!j),ae),J=function(){Le(j)},le=function(Fe){F(Fe,Le,j)},ie=O(j,"page",K.createElement("a",{rel:"nofollow"},j));return ie?K.createElement("li",{title:He?String(j):null,className:he,onClick:J,onKeyDown:le,tabIndex:0},ie):null},Re=De,qe=function(re,Me,j){return j};function Xe(){}function Rt(Ze){var re=Number(Ze);return typeof re=="number"&&!Number.isNaN(re)&&isFinite(re)&&Math.floor(re)===re}function _e(Ze,re,Me){var j=typeof Ze=="undefined"?re:Ze;return Math.floor((Me-1)/j)+1}var it=function(re){var Me=re.prefixCls,j=Me===void 0?"rc-pagination":Me,de=re.selectPrefixCls,ae=de===void 0?"rc-select":de,He=re.className,Le=re.current,F=re.defaultCurrent,O=F===void 0?1:F,te=re.total,he=te===void 0?0:te,J=re.pageSize,le=re.defaultPageSize,ie=le===void 0?10:le,ze=re.onChange,Fe=ze===void 0?Xe:ze,lt=re.hideOnSinglePage,dt=re.align,At=re.showPrevNextJumpers,Ge=At===void 0?!0:At,Ae=re.showQuickJumper,ue=re.showLessItems,Pe=re.showTitle,ke=Pe===void 0?!0:Pe,Ye=re.onShowSizeChange,st=Ye===void 0?Xe:Ye,wt=re.locale,Be=wt===void 0?n.Z:wt,ut=re.style,kt=re.totalBoundaryShowSizeChanger,vt=kt===void 0?50:kt,nt=re.disabled,bt=re.simple,tn=re.showTotal,rn=re.showSizeChanger,Yt=rn===void 0?he>vt:rn,se=re.sizeChangerRender,Oe=re.pageSizeOptions,ge=re.itemRender,ve=ge===void 0?qe:ge,rt=re.jumpPrevIcon,tt=re.jumpNextIcon,ht=re.prevIcon,Nt=re.nextIcon,Ht=K.useRef(null),Kt=c(10,{value:J,defaultValue:ie}),Pt=(0,z.Z)(Kt,2),mt=Pt[0],jt=Pt[1],Lt=c(1,{value:Le,defaultValue:O,postState:function(Je){return Math.max(1,Math.min(Je,_e(void 0,mt,he)))}}),Bt=(0,z.Z)(Lt,2),pt=Bt[0],Ue=Bt[1],et=K.useState(pt),Tt=(0,z.Z)(et,2),nn=Tt[0],fn=Tt[1];(0,K.useEffect)(function(){fn(pt)},[pt]);var Zn=Fe!==Xe,ir="current"in re,kn=Math.max(1,pt-(ue?3:5)),mn=Math.min(_e(void 0,mt,he),pt+(ue?3:5));function On(xe,Je){var Ft=xe||K.createElement("button",{type:"button","aria-label":Je,className:"".concat(j,"-item-link")});return typeof xe=="function"&&(Ft=K.createElement(xe,(0,X.Z)({},re))),Ft}function Gn(xe){var Je=xe.target.value,Ft=_e(void 0,mt,he),Zt;return Je===""?Zt=Je:Number.isNaN(Number(Je))?Zt=nn:Je>=Ft?Zt=Ft:Zt=Number(Je),Zt}function an(xe){return Rt(xe)&&xe!==pt&&Rt(he)&&he>0}var zn=he>mt?Ae:!1;function Dn(xe){(xe.keyCode===g.UP||xe.keyCode===g.DOWN)&&xe.preventDefault()}function ln(xe){var Je=Gn(xe);switch(Je!==nn&&fn(Je),xe.keyCode){case g.ENTER:Sn(Je);break;case g.UP:Sn(Je-1);break;case g.DOWN:Sn(Je+1);break;default:break}}function gn(xe){Sn(Gn(xe))}function yn(xe){var Je=_e(xe,mt,he),Ft=pt>Je&&Je!==0?Je:pt;jt(xe),fn(Ft),st==null||st(pt,xe),Ue(Ft),Fe==null||Fe(Ft,xe)}function Sn(xe){if(an(xe)&&!nt){var Je=_e(void 0,mt,he),Ft=xe;return xe>Je?Ft=Je:xe<1&&(Ft=1),Ft!==nn&&fn(Ft),Ue(Ft),Fe==null||Fe(Ft,mt),Ft}return pt}var hn=pt>1,Mn=pt<_e(void 0,mt,he);function Un(){hn&&Sn(pt-1)}function er(){Mn&&Sn(pt+1)}function ur(){Sn(kn)}function Sr(){Sn(mn)}function Ea(xe,Je){if(xe.key==="Enter"||xe.charCode===g.ENTER||xe.keyCode===g.ENTER){for(var Ft=arguments.length,Zt=new Array(Ft>2?Ft-2:0),Cn=2;Cn<Ft;Cn++)Zt[Cn-2]=arguments[Cn];Je.apply(void 0,Zt)}}function Wa(xe){Ea(xe,Un)}function Er(xe){Ea(xe,er)}function Ja(xe){Ea(xe,ur)}function qa(xe){Ea(xe,Sr)}function Ta(xe){var Je=ve(xe,"prev",On(ht,"prev page"));return K.isValidElement(Je)?K.cloneElement(Je,{disabled:!hn}):Je}function Or(xe){var Je=ve(xe,"next",On(Nt,"next page"));return K.isValidElement(Je)?K.cloneElement(Je,{disabled:!Mn}):Je}function Yr(xe){(xe.type==="click"||xe.keyCode===g.ENTER)&&Sn(nn)}var Br=null,jr=H(re,{aria:!0,data:!0}),_a=tn&&K.createElement("li",{className:"".concat(j,"-total-text")},tn(he,[he===0?0:(pt-1)*mt+1,pt*mt>he?he:pt*mt])),oa=null,dr=_e(void 0,mt,he);if(lt&&he<=mt)return null;var Cr=[],La={rootPrefixCls:j,onClick:Sn,onKeyPress:Ea,showTitle:ke,itemRender:ve,page:-1},ma=pt-1>0?pt-1:0,fi=pt+1<dr?pt+1:dr,da=Ae&&Ae.goButton,ha=(0,$.Z)(bt)==="object"?bt.readOnly:!bt,ga=da,na=null;bt&&(da&&(typeof da=="boolean"?ga=K.createElement("button",{type:"button",onClick:Yr,onKeyUp:Yr},Be.jump_to_confirm):ga=K.createElement("span",{onClick:Yr,onKeyUp:Yr},da),ga=K.createElement("li",{title:ke?"".concat(Be.jump_to).concat(pt,"/").concat(dr):null,className:"".concat(j,"-simple-pager")},ga)),na=K.createElement("li",{title:ke?"".concat(pt,"/").concat(dr):null,className:"".concat(j,"-simple-pager")},ha?nn:K.createElement("input",{type:"text","aria-label":Be.jump_to,value:nn,disabled:nt,onKeyDown:Dn,onKeyUp:ln,onChange:ln,onBlur:gn,size:3}),K.createElement("span",{className:"".concat(j,"-slash")},"/"),dr));var hr=ue?1:2;if(dr<=3+hr*2){dr||Cr.push(K.createElement(Re,(0,R.Z)({},La,{key:"noPager",page:1,className:"".concat(j,"-item-disabled")})));for(var $r=1;$r<=dr;$r+=1)Cr.push(K.createElement(Re,(0,R.Z)({},La,{key:$r,page:$r,active:pt===$r})))}else{var ka=ue?Be.prev_3:Be.prev_5,ei=ue?Be.next_3:Be.next_5,di=ve(kn,"jump-prev",On(rt,"prev page")),Qr=ve(mn,"jump-next",On(tt,"next page"));Ge&&(Br=di?K.createElement("li",{title:ke?ka:null,key:"prev",onClick:ur,tabIndex:0,onKeyDown:Ja,className:A()("".concat(j,"-jump-prev"),(0,x.Z)({},"".concat(j,"-jump-prev-custom-icon"),!!rt))},di):null,oa=Qr?K.createElement("li",{title:ke?ei:null,key:"next",onClick:Sr,tabIndex:0,onKeyDown:qa,className:A()("".concat(j,"-jump-next"),(0,x.Z)({},"".concat(j,"-jump-next-custom-icon"),!!tt))},Qr):null);var Dr=Math.max(1,pt-hr),hi=Math.min(pt+hr,dr);pt-1<=hr&&(hi=1+hr*2),dr-pt<=hr&&(Dr=dr-hr*2);for(var xa=Dr;xa<=hi;xa+=1)Cr.push(K.createElement(Re,(0,R.Z)({},La,{key:xa,page:xa,active:pt===xa})));if(pt-1>=hr*2&&pt!==3&&(Cr[0]=K.cloneElement(Cr[0],{className:A()("".concat(j,"-item-after-jump-prev"),Cr[0].props.className)}),Cr.unshift(Br)),dr-pt>=hr*2&&pt!==dr-2){var pi=Cr[Cr.length-1];Cr[Cr.length-1]=K.cloneElement(pi,{className:A()("".concat(j,"-item-before-jump-next"),pi.props.className)}),Cr.push(oa)}Dr!==1&&Cr.unshift(K.createElement(Re,(0,R.Z)({},La,{key:1,page:1}))),hi!==dr&&Cr.push(K.createElement(Re,(0,R.Z)({},La,{key:dr,page:dr})))}var q=Ta(ma);if(q){var we=!hn||!dr;q=K.createElement("li",{title:ke?Be.prev_page:null,onClick:Un,tabIndex:we?null:0,onKeyDown:Wa,className:A()("".concat(j,"-prev"),(0,x.Z)({},"".concat(j,"-disabled"),we)),"aria-disabled":we},q)}var Ie=Or(fi);if(Ie){var me,je;bt?(me=!Mn,je=hn?0:null):(me=!Mn||!dr,je=me?null:0),Ie=K.createElement("li",{title:ke?Be.next_page:null,onClick:er,tabIndex:je,onKeyDown:Er,className:A()("".concat(j,"-next"),(0,x.Z)({},"".concat(j,"-disabled"),me)),"aria-disabled":me},Ie)}var We=A()(j,He,(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({},"".concat(j,"-start"),dt==="start"),"".concat(j,"-center"),dt==="center"),"".concat(j,"-end"),dt==="end"),"".concat(j,"-simple"),bt),"".concat(j,"-disabled"),nt));return K.createElement("ul",(0,R.Z)({className:We,style:ut,ref:Ht},jr),_a,q,bt?na:Cr,Ie,K.createElement(pe,{locale:Be,rootPrefixCls:j,disabled:nt,selectPrefixCls:ae,changeSize:yn,pageSize:mt,pageSizeOptions:Oe,quickGo:zn?Sn:null,goButton:ga,showSizeChanger:Yt,sizeChangerRender:se}))},$e=it},48555:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return ye}});var x=i(87462),R=i(67294),$=i(50344),X=i(80334),z=i(1413),u=i(42550),A=i(34203),K=i(91033),e=new Map;function p(C){C.forEach(function(w){var P,I=w.target;(P=e.get(I))===null||P===void 0||P.forEach(function(L){return L(I)})})}var h=new K.Z(p),t=null,o=null;function s(C,w){e.has(C)||(e.set(C,new Set),h.observe(C)),e.get(C).add(w)}function f(C,w){e.has(C)&&(e.get(C).delete(w),e.get(C).size||(h.unobserve(C),e.delete(C)))}var v=i(15671),c=i(43144),y=i(60136),g=i(29388),E=function(C){(0,y.Z)(P,C);var w=(0,g.Z)(P);function P(){return(0,v.Z)(this,P),w.apply(this,arguments)}return(0,c.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(R.Component),l=R.createContext(null);function d(C){var w=C.children,P=C.onBatchResize,I=R.useRef(0),L=R.useRef([]),D=R.useContext(l),a=R.useCallback(function(n,m,B){I.current+=1;var pe=I.current;L.current.push({size:n,element:m,data:B}),Promise.resolve().then(function(){pe===I.current&&(P==null||P(L.current),L.current=[])}),D==null||D(n,m,B)},[P,D]);return R.createElement(l.Provider,{value:a},w)}function T(C,w){var P=C.children,I=C.disabled,L=R.useRef(null),D=R.useRef(null),a=R.useContext(l),n=typeof P=="function",m=n?P(L):P,B=R.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),pe=!n&&R.isValidElement(m)&&(0,u.Yr)(m),De=pe?m.ref:null,Re=R.useMemo(function(){return(0,u.sQ)(De,L)},[De,L]),qe=function(){return(0,A.Z)(L.current)||(0,A.Z)(D.current)};R.useImperativeHandle(w,function(){return qe()});var Xe=R.useRef(C);Xe.current=C;var Rt=R.useCallback(function(_e){var it=Xe.current,$e=it.onResize,Ze=it.data,re=_e.getBoundingClientRect(),Me=re.width,j=re.height,de=_e.offsetWidth,ae=_e.offsetHeight,He=Math.floor(Me),Le=Math.floor(j);if(B.current.width!==He||B.current.height!==Le||B.current.offsetWidth!==de||B.current.offsetHeight!==ae){var F={width:He,height:Le,offsetWidth:de,offsetHeight:ae};B.current=F;var O=de===Math.round(Me)?Me:de,te=ae===Math.round(j)?j:ae,he=(0,z.Z)((0,z.Z)({},F),{},{offsetWidth:O,offsetHeight:te});a==null||a(he,_e,Ze),$e&&Promise.resolve().then(function(){$e(he,_e)})}},[]);return R.useEffect(function(){var _e=qe();return _e&&!I&&s(_e,Rt),function(){return f(_e,Rt)}},[L.current,I]),R.createElement(E,{ref:D},pe?R.cloneElement(m,{ref:Re}):m)}var Z=R.forwardRef(T),W=Z,H="rc-observer-key";function G(C,w){var P=C.children,I=typeof P=="function"?[P]:(0,$.Z)(P);return I.map(function(L,D){var a=(L==null?void 0:L.key)||"".concat(H,"-").concat(D);return R.createElement(W,(0,x.Z)({},C,{key:a,ref:D===0?w:void 0}),L)})}var Q=R.forwardRef(G);Q.Collection=d;var ye=Q},45233:function(St,Ce,i){"use strict";i.d(Ce,{R:function(){return R},w:function(){return x}});var x={},R="rc-table-internal-hook"},54768:function(St,Ce,i){"use strict";i.d(Ce,{L:function(){return c},Z:function(){return d}});var x=i(97685),R=i(4942),$=i(74902),X=i(71002),z=i(1413),u=i(45987),A=i(63295),K=i(67294);function e(T){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=[];return K.Children.forEach(T,function(H){H==null&&!Z.keepEmpty||(Array.isArray(H)?W=W.concat(e(H)):(0,A.Z)(H)&&H.props?W=W.concat(e(H.props.children,Z)):W.push(H))}),W}var p=i(40830),h=i(45233),t=i(62978);function o(T){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Z=="number"?Z:Z.endsWith("%")?T*parseFloat(Z)/100:null}function s(T,Z,W){return K.useMemo(function(){if(Z&&Z>0){var H=0,G=0;T.forEach(function(D){var a=o(Z,D.width);a?H+=a:G+=1});var Q=Math.max(Z,W),ye=Math.max(Q-H,G),C=G,w=ye/G,P=0,I=T.map(function(D){var a=(0,z.Z)({},D),n=o(Z,a.width);if(n)a.width=n;else{var m=Math.floor(w);a.width=C===1?ye:m,ye-=m,C-=1}return P+=a.width,a});if(P<Q){var L=Q/P;ye=Q,I.forEach(function(D,a){var n=Math.floor(D.width*L);D.width=a===I.length-1?ye:n,ye-=n})}return[I,Math.max(P,Q)]}return[T,Z]},[T,Z,W])}var f=["children"],v=["fixed"];function c(T){return e(T).filter(function(Z){return K.isValidElement(Z)}).map(function(Z){var W=Z.key,H=Z.props,G=H.children,Q=(0,u.Z)(H,f),ye=(0,z.Z)({key:W},Q);return G&&(ye.children=c(G)),ye})}function y(T){return T.filter(function(Z){return Z&&(0,X.Z)(Z)==="object"&&!Z.hidden}).map(function(Z){var W=Z.children;return W&&W.length>0?(0,z.Z)((0,z.Z)({},Z),{},{children:y(W)}):Z})}function g(T){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return T.filter(function(W){return W&&(0,X.Z)(W)==="object"}).reduce(function(W,H,G){var Q=H.fixed,ye=Q===!0?"left":Q,C="".concat(Z,"-").concat(G),w=H.children;return w&&w.length>0?[].concat((0,$.Z)(W),(0,$.Z)(g(w,C).map(function(P){return(0,z.Z)({fixed:ye},P)}))):[].concat((0,$.Z)(W),[(0,z.Z)((0,z.Z)({key:C},H),{},{fixed:ye})])},[])}function E(T){return T.map(function(Z){var W=Z.fixed,H=(0,u.Z)(Z,v),G=W;return W==="left"?G="right":W==="right"&&(G="left"),(0,z.Z)({fixed:G},H)})}function l(T,Z){var W=T.prefixCls,H=T.columns,G=T.children,Q=T.expandable,ye=T.expandedKeys,C=T.columnTitle,w=T.getRowKey,P=T.onTriggerExpand,I=T.expandIcon,L=T.rowExpandable,D=T.expandIconColumnIndex,a=T.direction,n=T.expandRowByClick,m=T.columnWidth,B=T.fixed,pe=T.scrollWidth,De=T.clientWidth,Re=K.useMemo(function(){var Me=H||c(G)||[];return y(Me.slice())},[H,G]),qe=K.useMemo(function(){if(Q){var Me=Re.slice();if(!Me.includes(h.w)){var j=D||0;j>=0&&(j||B==="left"||!B)&&Me.splice(j,0,h.w),B==="right"&&Me.splice(Re.length,0,h.w)}var de=Me.indexOf(h.w);Me=Me.filter(function(F,O){return F!==h.w||O===de});var ae=Re[de],He;B?He=B:He=ae?ae.fixed:null;var Le=(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)({},t.v,{className:"".concat(W,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",C),"fixed",He),"className","".concat(W,"-row-expand-icon-cell")),"width",m),"render",function(O,te,he){var J=w(te,he),le=ye.has(J),ie=L?L(te):!0,ze=I({prefixCls:W,expanded:le,expandable:ie,record:te,onExpand:P});return n?K.createElement("span",{onClick:function(lt){return lt.stopPropagation()}},ze):ze});return Me.map(function(F){return F===h.w?Le:F})}return Re.filter(function(F){return F!==h.w})},[Q,Re,w,ye,I,a]),Xe=K.useMemo(function(){var Me=qe;return Z&&(Me=Z(Me)),Me.length||(Me=[{render:function(){return null}}]),Me},[Z,qe,a]),Rt=K.useMemo(function(){return a==="rtl"?E(g(Xe)):g(Xe)},[Xe,a,pe]),_e=K.useMemo(function(){for(var Me=-1,j=Rt.length-1;j>=0;j-=1){var de=Rt[j].fixed;if(de==="left"||de===!0){Me=j;break}}if(Me>=0)for(var ae=0;ae<=Me;ae+=1){var He=Rt[ae].fixed;if(He!=="left"&&He!==!0)return!0}var Le=Rt.findIndex(function(te){var he=te.fixed;return he==="right"});if(Le>=0)for(var F=Le;F<Rt.length;F+=1){var O=Rt[F].fixed;if(O!=="right")return!0}return!1},[Rt]),it=s(Rt,pe,De),$e=(0,x.Z)(it,2),Ze=$e[0],re=$e[1];return[Xe,Ze,re,_e]}var d=l},29104:function(St,Ce,i){"use strict";i.d(Ce,{w2:function(){return x.w},vP:function(){return Yr.v},RQ:function(){return x.R},ER:function(){return se},Q$:function(){return Vt},TN:function(){return gi}});var x=i(45233),R=i(97685),$=i(66680),X=i(8410),z=i(91881),u=i(67294),A=i(73935);function K(r){var b=u.createContext(void 0),S=function(U){var V=U.value,Y=U.children,ne=u.useRef(V);ne.current=V;var ce=u.useState(function(){return{getValue:function(){return ne.current},listeners:new Set}}),oe=(0,R.Z)(ce,1),Ne=oe[0];return(0,X.Z)(function(){(0,A.unstable_batchedUpdates)(function(){Ne.listeners.forEach(function(fe){fe(V)})})},[V]),u.createElement(b.Provider,{value:Ne},Y)};return{Context:b,Provider:S,defaultValue:r}}function e(r,b){var S=(0,$.Z)(typeof b=="function"?b:function(fe){if(b===void 0)return fe;if(!Array.isArray(b))return fe[b];var Se={};return b.forEach(function(be){Se[be]=fe[be]}),Se}),N=u.useContext(r==null?void 0:r.Context),U=N||{},V=U.listeners,Y=U.getValue,ne=u.useRef();ne.current=S(N?Y():r==null?void 0:r.defaultValue);var ce=u.useState({}),oe=(0,R.Z)(ce,2),Ne=oe[1];return(0,X.Z)(function(){if(!N)return;function fe(Se){var be=S(Se);(0,z.Z)(ne.current,be,!0)||Ne({})}return V.add(fe),function(){V.delete(fe)}},[N]),ne.current}var p=i(87462),h=i(42550);function t(){var r=u.createContext(null);function b(){return u.useContext(r)}function S(U,V){var Y=(0,h.Yr)(U),ne=function(oe,Ne){var fe=Y?{ref:Ne}:{},Se=u.useRef(0),be=u.useRef(oe),Te=b();return Te!==null?u.createElement(U,(0,p.Z)({},oe,fe)):((!V||V(be.current,oe))&&(Se.current+=1),be.current=oe,u.createElement(r.Provider,{value:Se.current},u.createElement(U,(0,p.Z)({},oe,fe))))};return Y?u.forwardRef(ne):ne}function N(U,V){var Y=(0,h.Yr)(U),ne=function(oe,Ne){var fe=Y?{ref:Ne}:{};return b(),u.createElement(U,(0,p.Z)({},oe,fe))};return Y?u.memo(u.forwardRef(ne),V):u.memo(ne,V)}return{makeImmutable:S,responseImmutable:N,useImmutableMark:b}}var o=t(),s=o.makeImmutable,f=o.responseImmutable,v=o.useImmutableMark,c=t(),y=c.makeImmutable,g=c.responseImmutable,E=c.useImmutableMark,l=K(),d=l;function T(r,b){var S=React.useRef(0);S.current+=1;var N=React.useRef(r),U=[];Object.keys(r||{}).map(function(Y){var ne;(r==null?void 0:r[Y])!==((ne=N.current)===null||ne===void 0?void 0:ne[Y])&&U.push(Y)}),N.current=r;var V=React.useRef([]);return U.length&&(V.current=U),React.useDebugValue(S.current),React.useDebugValue(V.current.join(", ")),b&&console.log("".concat(b,":"),S.current,V.current),S.current}var Z=null,W=null,H=i(71002),G=i(1413),Q=i(4942),ye=i(94184),C=i.n(ye);function w(r,b,S){var N=u.useRef({});return(!("value"in N.current)||S(N.current.condition,b))&&(N.current.value=r(),N.current.condition=b),N.current.value}var P=i(40830);function I(r,b){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,N=new Set;function U(V,Y){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ce=N.has(V);if((0,P.ZP)(!ce,"Warning: There may be circular references"),ce)return!1;if(V===Y)return!0;if(S&&ne>1)return!1;N.add(V);var oe=ne+1;if(Array.isArray(V)){if(!Array.isArray(Y)||V.length!==Y.length)return!1;for(var Ne=0;Ne<V.length;Ne++)if(!U(V[Ne],Y[Ne],oe))return!1;return!0}if(V&&Y&&(0,H.Z)(V)==="object"&&(0,H.Z)(Y)==="object"){var fe=Object.keys(V);return fe.length!==Object.keys(Y).length?!1:fe.every(function(Se){return U(V[Se],Y[Se],oe)})}return!1}return U(r,b)}var L=I;function D(r,b){for(var S=r,N=0;N<b.length;N+=1){if(S==null)return;S=S[b[N]]}return S}var a=u.createContext({renderWithProps:!1}),n=a,m="RC_TABLE_KEY";function B(r){return r==null?[]:Array.isArray(r)?r:[r]}function pe(r){var b=[],S={};return r.forEach(function(N){for(var U=N||{},V=U.key,Y=U.dataIndex,ne=V||B(Y).join("-")||m;S[ne];)ne="".concat(ne,"_next");S[ne]=!0,b.push(ne)}),b}function De(r){return r!=null}function Re(r){return typeof r=="number"&&!Number.isNaN(r)}function qe(r){return r&&(0,H.Z)(r)==="object"&&!Array.isArray(r)&&!u.isValidElement(r)}function Xe(r,b,S,N,U,V){var Y=u.useContext(n),ne=E(),ce=w(function(){if(De(N))return[N];var oe=b==null||b===""?[]:Array.isArray(b)?b:[b],Ne=D(r,oe),fe=Ne,Se=void 0;if(U){var be=U(Ne,r,S);qe(be)?(fe=be.children,Se=be.props,Y.renderWithProps=!0):fe=be}return[fe,Se]},[ne,r,N,b,U,S],function(oe,Ne){if(V){var fe=(0,R.Z)(oe,2),Se=fe[1],be=(0,R.Z)(Ne,2),Te=be[1];return V(Te,Se)}return Y.renderWithProps?!0:!L(oe,Ne,!0)});return ce}function Rt(r,b,S,N){var U=r+b-1;return r<=N&&U>=S}function _e(r,b){return e(d,function(S){var N=Rt(r,b||1,S.hoverStartRow,S.hoverEndRow);return[N,S.onHover]})}function it(r){var b=u.useRef();b.current=r;var S=u.useCallback(function(){for(var N,U=arguments.length,V=new Array(U),Y=0;Y<U;Y++)V[Y]=arguments[Y];return(N=b.current)===null||N===void 0?void 0:N.call.apply(N,[b].concat(V))},[]);return S}function $e(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ze=$e()?u.useLayoutEffect:u.useEffect,re=function(b,S){var N=React.useRef(!0);Ze(function(){return b(N.current)},S),Ze(function(){return N.current=!1,function(){N.current=!0}},[])},Me=function(b,S){re(function(N){if(!N)return b()},S)},j=null;function de(r){var b=React.useRef(!1),S=React.useState(r),N=_slicedToArray(S,2),U=N[0],V=N[1];React.useEffect(function(){return b.current=!1,function(){b.current=!0}},[]);function Y(ne,ce){ce&&b.current||V(ne)}return[U,Y]}function ae(r){return r!==void 0}function He(r,b){var S=b||{},N=S.defaultValue,U=S.value,V=S.onChange,Y=S.postState,ne=useState(function(){return ae(U)?U:ae(N)?typeof N=="function"?N():N:typeof r=="function"?r():r}),ce=_slicedToArray(ne,2),oe=ce[0],Ne=ce[1],fe=U!==void 0?U:oe,Se=Y?Y(fe):fe,be=useEvent(V),Te=useState([fe]),Ve=_slicedToArray(Te,2),ct=Ve[0],Et=Ve[1];useLayoutUpdateEffect(function(){var yt=ct[0];oe!==yt&&be(oe,yt)},[ct]),useLayoutUpdateEffect(function(){ae(U)||Ne(U)},[U]);var at=useEvent(function(yt,Dt){Ne(yt,Dt),Et([fe],Dt)});return[Se,at]}var Le=i(35110),F=i(63295),O=Number(u.version.split(".")[0]),te=function(b,S){typeof b=="function"?b(S):(0,H.Z)(b)==="object"&&b&&"current"in b&&(b.current=S)},he=function(){for(var b=arguments.length,S=new Array(b),N=0;N<b;N++)S[N]=arguments[N];var U=S.filter(Boolean);return U.length<=1?U[0]:function(V){S.forEach(function(Y){te(Y,V)})}},J=function(){for(var b=arguments.length,S=new Array(b),N=0;N<b;N++)S[N]=arguments[N];return useMemo(function(){return he.apply(void 0,S)},S,function(U,V){return U.length!==V.length||U.every(function(Y,ne){return Y!==V[ne]})})},le=function(b){var S,N;if(!b)return!1;if(ie(b)&&O>=19)return!0;var U=isMemo(b)?b.type.type:b.type;return!(typeof U=="function"&&!((S=U.prototype)!==null&&S!==void 0&&S.render)&&U.$$typeof!==ForwardRef||typeof b=="function"&&!((N=b.prototype)!==null&&N!==void 0&&N.render)&&b.$$typeof!==ForwardRef)};function ie(r){return isValidElement(r)&&!isFragment(r)}var ze=function(b){return ie(b)&&le(b)},Fe=function(b){if(b&&ie(b)){var S=b;return S.props.propertyIsEnumerable("ref")?S.props.ref:S.ref}return null};function lt(r,b,S,N){if(!b.length)return S;var U=_toArray(b),V=U[0],Y=U.slice(1),ne;return!r&&typeof V=="number"?ne=[]:Array.isArray(r)?ne=_toConsumableArray(r):ne=_objectSpread({},r),N&&S===void 0&&Y.length===1?delete ne[V][Y[0]]:ne[V]=lt(ne[V],Y,S,N),ne}function dt(r,b,S){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return b.length&&N&&S===void 0&&!get(r,b.slice(0,-1))?r:lt(r,b,S,N)}function At(r){return _typeof(r)==="object"&&r!==null&&Object.getPrototypeOf(r)===Object.prototype}function Ge(r){return Array.isArray(r)?[]:{}}var Ae=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ue(){for(var r=arguments.length,b=new Array(r),S=0;S<r;S++)b[S]=arguments[S];var N=Ge(b[0]);return b.forEach(function(U){function V(Y,ne){var ce=new Set(ne),oe=get(U,Y),Ne=Array.isArray(oe);if(Ne||At(oe)){if(!ce.has(oe)){ce.add(oe);var fe=get(N,Y);Ne?N=dt(N,Y,[]):(!fe||_typeof(fe)!=="object")&&(N=dt(N,Y,Ge(oe))),Ae(oe).forEach(function(Se){V([].concat(_toConsumableArray(Y),[Se]),ce)})}}else N=dt(N,Y,oe)}V([])}),N}var Pe=function(b){var S=b.ellipsis,N=b.rowType,U=b.children,V,Y=S===!0?{showTitle:!0}:S;return Y&&(Y.showTitle||N==="header")&&(typeof U=="string"||typeof U=="number"?V=U.toString():u.isValidElement(U)&&typeof U.props.children=="string"&&(V=U.props.children)),V};function ke(r){var b,S,N,U,V,Y,ne,ce,oe=r.component,Ne=r.children,fe=r.ellipsis,Se=r.scope,be=r.prefixCls,Te=r.className,Ve=r.align,ct=r.record,Et=r.render,at=r.dataIndex,yt=r.renderIndex,Dt=r.shouldCellUpdate,Xt=r.index,vn=r.rowType,Wt=r.colSpan,_n=r.rowSpan,wn=r.fixLeft,Nn=r.fixRight,Hn=r.firstFixLeft,bn=r.lastFixLeft,on=r.firstFixRight,$t=r.lastFixRight,Mt=r.appendNode,It=r.additionalProps,zt=It===void 0?{}:It,sn=r.isSticky,Gt="".concat(be,"-cell"),Pn=e(d,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Ln=Pn.supportSticky,wr=Pn.allColumnsFixedLeft,jn=Pn.rowHoverable,Gr=Xe(ct,at,yt,Ne,Et,Dt),va=(0,R.Z)(Gr,2),ba=va[0],fr=va[1],Vn={},_t=typeof wn=="number"&&Ln,Ut=typeof Nn=="number"&&Ln;_t&&(Vn.position="sticky",Vn.left=wn),Ut&&(Vn.position="sticky",Vn.right=Nn);var qt=(b=(S=(N=fr==null?void 0:fr.colSpan)!==null&&N!==void 0?N:zt.colSpan)!==null&&S!==void 0?S:Wt)!==null&&b!==void 0?b:1,en=(U=(V=(Y=fr==null?void 0:fr.rowSpan)!==null&&Y!==void 0?Y:zt.rowSpan)!==null&&V!==void 0?V:_n)!==null&&U!==void 0?U:1,un=_e(Xt,en),Xr=(0,R.Z)(un,2),Ba=Xr[0],Ia=Xr[1],Pa=it(function(Ri){var ta;ct&&Ia(Xt,Xt+en-1),zt==null||(ta=zt.onMouseEnter)===null||ta===void 0||ta.call(zt,Ri)}),yi=it(function(Ri){var ta;ct&&Ia(-1,-1),zt==null||(ta=zt.onMouseLeave)===null||ta===void 0||ta.call(zt,Ri)});if(qt===0||en===0)return null;var Ci=(ne=zt.title)!==null&&ne!==void 0?ne:Pe({rowType:vn,ellipsis:fe,children:ba}),ja=C()(Gt,Te,(ce={},(0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)(ce,"".concat(Gt,"-fix-left"),_t&&Ln),"".concat(Gt,"-fix-left-first"),Hn&&Ln),"".concat(Gt,"-fix-left-last"),bn&&Ln),"".concat(Gt,"-fix-left-all"),bn&&wr&&Ln),"".concat(Gt,"-fix-right"),Ut&&Ln),"".concat(Gt,"-fix-right-first"),on&&Ln),"".concat(Gt,"-fix-right-last"),$t&&Ln),"".concat(Gt,"-ellipsis"),fe),"".concat(Gt,"-with-append"),Mt),"".concat(Gt,"-fix-sticky"),(_t||Ut)&&sn&&Ln),(0,Q.Z)(ce,"".concat(Gt,"-row-hover"),!fr&&Ba)),zt.className,fr==null?void 0:fr.className),ui={};Ve&&(ui.textAlign=Ve);var tr=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},fr==null?void 0:fr.style),Vn),ui),zt.style),wa=ba;return(0,H.Z)(wa)==="object"&&!Array.isArray(wa)&&!u.isValidElement(wa)&&(wa=null),fe&&(bn||on)&&(wa=u.createElement("span",{className:"".concat(Gt,"-content")},wa)),u.createElement(oe,(0,p.Z)({},fr,zt,{className:ja,style:tr,title:Ci,scope:Se,onMouseEnter:jn?Pa:void 0,onMouseLeave:jn?yi:void 0,colSpan:qt!==1?qt:null,rowSpan:en!==1?en:null}),Mt,wa)}var Ye=u.memo(ke);function st(r,b,S,N,U){var V=S[r]||{},Y=S[b]||{},ne,ce;V.fixed==="left"?ne=N.left[U==="rtl"?b:r]:Y.fixed==="right"&&(ce=N.right[U==="rtl"?r:b]);var oe=!1,Ne=!1,fe=!1,Se=!1,be=S[b+1],Te=S[r-1],Ve=be&&!be.fixed||Te&&!Te.fixed||S.every(function(Dt){return Dt.fixed==="left"});if(U==="rtl"){if(ne!==void 0){var ct=Te&&Te.fixed==="left";Se=!ct&&Ve}else if(ce!==void 0){var Et=be&&be.fixed==="right";fe=!Et&&Ve}}else if(ne!==void 0){var at=be&&be.fixed==="left";oe=!at&&Ve}else if(ce!==void 0){var yt=Te&&Te.fixed==="right";Ne=!yt&&Ve}return{fixLeft:ne,fixRight:ce,lastFixLeft:oe,firstFixRight:Ne,lastFixRight:fe,firstFixLeft:Se,isSticky:N.isSticky}}var wt=u.createContext({}),Be=wt;function ut(r){var b=r.className,S=r.index,N=r.children,U=r.colSpan,V=U===void 0?1:U,Y=r.rowSpan,ne=r.align,ce=e(d,["prefixCls","direction"]),oe=ce.prefixCls,Ne=ce.direction,fe=u.useContext(Be),Se=fe.scrollColumnIndex,be=fe.stickyOffsets,Te=fe.flattenColumns,Ve=S+V-1,ct=Ve+1===Se?V+1:V,Et=st(S,S+ct-1,Te,be,Ne);return u.createElement(Ye,(0,p.Z)({className:b,index:S,component:"td",prefixCls:oe,record:null,dataIndex:null,align:ne,colSpan:ct,rowSpan:Y,render:function(){return N}},Et))}var kt=i(45987),vt=["children"];function nt(r){var b=r.children,S=(0,kt.Z)(r,vt);return u.createElement("tr",S,b)}function bt(r){var b=r.children;return b}bt.Row=nt,bt.Cell=ut;var tn=bt;function rn(r){var b=r.children,S=r.stickyOffsets,N=r.flattenColumns,U=e(d,"prefixCls"),V=N.length-1,Y=N[V],ne=u.useMemo(function(){return{stickyOffsets:S,flattenColumns:N,scrollColumnIndex:Y!=null&&Y.scrollbar?V:null}},[Y,N,V,S]);return u.createElement(Be.Provider,{value:ne},u.createElement("tfoot",{className:"".concat(U,"-summary")},b))}var Yt=g(rn),se=tn,Oe=i(48555),ge=function(r){if(!r)return!1;if(r instanceof Element){if(r.offsetParent)return!0;if(r.getBBox){var b=r.getBBox(),S=b.width,N=b.height;if(S||N)return!0}if(r.getBoundingClientRect){var U=r.getBoundingClientRect(),V=U.width,Y=U.height;if(V||Y)return!0}}return!1},ve=function(b){if($e()&&window.document.documentElement){var S=Array.isArray(b)?b:[b],N=window.document.documentElement;return S.some(function(U){return U in N.style})}return!1},rt=function(b,S){if(!ve(b))return!1;var N=document.createElement("div"),U=N.style[b];return N.style[b]=S,N.style[b]!==U};function tt(r,b){return!Array.isArray(r)&&b!==void 0?rt(r,b):ve(r)}function ht(r,b){if(!r)return!1;if(r.contains)return r.contains(b);for(var S=b;S;){if(S===r)return!0;S=S.parentNode}return!1}var Nt="data-rc-order",Ht="data-rc-priority",Kt="rc-util-key",Pt=new Map;function mt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=r.mark;return b?b.startsWith("data-")?b:"data-".concat(b):Kt}function jt(r){if(r.attachTo)return r.attachTo;var b=document.querySelector("head");return b||document.body}function Lt(r){return r==="queue"?"prependQueue":r?"prepend":"append"}function Bt(r){return Array.from((Pt.get(r)||r).children).filter(function(b){return b.tagName==="STYLE"})}function pt(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$e())return null;var S=b.csp,N=b.prepend,U=b.priority,V=U===void 0?0:U,Y=Lt(N),ne=Y==="prependQueue",ce=document.createElement("style");ce.setAttribute(Nt,Y),ne&&V&&ce.setAttribute(Ht,"".concat(V)),S!=null&&S.nonce&&(ce.nonce=S==null?void 0:S.nonce),ce.innerHTML=r;var oe=jt(b),Ne=oe.firstChild;if(N){if(ne){var fe=(b.styles||Bt(oe)).filter(function(Se){if(!["prepend","prependQueue"].includes(Se.getAttribute(Nt)))return!1;var be=Number(Se.getAttribute(Ht)||0);return V>=be});if(fe.length)return oe.insertBefore(ce,fe[fe.length-1].nextSibling),ce}oe.insertBefore(ce,Ne)}else oe.appendChild(ce);return ce}function Ue(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=jt(b);return(b.styles||Bt(S)).find(function(N){return N.getAttribute(mt(b))===r})}function et(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=Ue(r,b);if(S){var N=jt(b);N.removeChild(S)}}function Tt(r,b){var S=Pt.get(r);if(!S||!ht(document,S)){var N=pt("",b),U=N.parentNode;Pt.set(r,U),r.removeChild(N)}}function nn(){Pt.clear()}function fn(r,b){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=jt(S),U=Bt(N),V=(0,G.Z)((0,G.Z)({},S),{},{styles:U});Tt(N,V);var Y=Ue(b,V);if(Y){var ne,ce;if((ne=V.csp)!==null&&ne!==void 0&&ne.nonce&&Y.nonce!==((ce=V.csp)===null||ce===void 0?void 0:ce.nonce)){var oe;Y.nonce=(oe=V.csp)===null||oe===void 0?void 0:oe.nonce}return Y.innerHTML!==r&&(Y.innerHTML=r),Y}var Ne=pt(r,V);return Ne.setAttribute(mt(V),b),Ne}var Zn;function ir(r){var b="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),S=document.createElement("div");S.id=b;var N=S.style;N.position="absolute",N.left="0",N.top="0",N.width="100px",N.height="100px",N.overflow="scroll";var U,V;if(r){var Y=getComputedStyle(r);N.scrollbarColor=Y.scrollbarColor,N.scrollbarWidth=Y.scrollbarWidth;var ne=getComputedStyle(r,"::-webkit-scrollbar"),ce=parseInt(ne.width,10),oe=parseInt(ne.height,10);try{var Ne=ce?"width: ".concat(ne.width,";"):"",fe=oe?"height: ".concat(ne.height,";"):"";fn(`
|
|
#`.concat(b,`::-webkit-scrollbar {
|
|
`).concat(Ne,`
|
|
`).concat(fe,`
|
|
}`),b)}catch(Te){console.error(Te),U=ce,V=oe}}document.body.appendChild(S);var Se=r&&U&&!isNaN(U)?U:S.offsetWidth-S.clientWidth,be=r&&V&&!isNaN(V)?V:S.offsetHeight-S.clientHeight;return document.body.removeChild(S),et(b),{width:Se,height:be}}function kn(r){return typeof document=="undefined"?0:((r||Zn===void 0)&&(Zn=ir()),Zn.width)}function mn(r){return typeof document=="undefined"||!r||!(r instanceof Element)?{width:0,height:0}:ir(r)}var On=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
summary tabIndex target title type useMap value width wmode wrap`,Gn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,an="".concat(On," ").concat(Gn).split(/[\s\n]+/),zn="aria-",Dn="data-";function ln(r,b){return r.indexOf(b)===0}function gn(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S;b===!1?S={aria:!0,data:!0,attr:!0}:b===!0?S={aria:!0}:S=(0,G.Z)({},b);var N={};return Object.keys(r).forEach(function(U){(S.aria&&(U==="role"||ln(U,zn))||S.data&&ln(U,Dn)||S.attr&&an.includes(U))&&(N[U]=r[U])}),N}function yn(r,b,S,N,U,V,Y){r.push({record:b,indent:S,index:Y});var ne=V(b),ce=U==null?void 0:U.has(ne);if(b&&Array.isArray(b[N])&&ce)for(var oe=0;oe<b[N].length;oe+=1)yn(r,b[N][oe],S+1,N,U,V,oe)}function Sn(r,b,S,N){var U=u.useMemo(function(){if(S!=null&&S.size){for(var V=[],Y=0;Y<(r==null?void 0:r.length);Y+=1){var ne=r[Y];yn(V,ne,0,b,S,N,Y)}return V}return r==null?void 0:r.map(function(ce,oe){return{record:ce,indent:0,index:oe}})},[r,b,S,N]);return U}function hn(r,b,S,N){var U=e(d,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),V=U.flattenColumns,Y=U.expandableType,ne=U.expandedKeys,ce=U.childrenColumnName,oe=U.onTriggerExpand,Ne=U.rowExpandable,fe=U.onRow,Se=U.expandRowByClick,be=U.rowClassName,Te=Y==="nest",Ve=Y==="row"&&(!Ne||Ne(r)),ct=Ve||Te,Et=ne&&ne.has(b),at=ce&&r&&r[ce],yt=it(oe),Dt=fe==null?void 0:fe(r,S),Xt=Dt==null?void 0:Dt.onClick,vn=function(Nn){Se&&ct&&oe(r,Nn);for(var Hn=arguments.length,bn=new Array(Hn>1?Hn-1:0),on=1;on<Hn;on++)bn[on-1]=arguments[on];Xt==null||Xt.apply(void 0,[Nn].concat(bn))},Wt;typeof be=="string"?Wt=be:typeof be=="function"&&(Wt=be(r,S,N));var _n=pe(V);return(0,G.Z)((0,G.Z)({},U),{},{columnsKey:_n,nestExpandable:Te,expanded:Et,hasNestChildren:at,record:r,onTriggerExpand:yt,rowSupportExpand:Ve,expandable:ct,rowProps:(0,G.Z)((0,G.Z)({},Dt),{},{className:C()(Wt,Dt==null?void 0:Dt.className),onClick:vn})})}function Mn(r){var b=r.prefixCls,S=r.children,N=r.component,U=r.cellComponent,V=r.className,Y=r.expanded,ne=r.colSpan,ce=r.isEmpty,oe=e(d,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ne=oe.scrollbarSize,fe=oe.fixHeader,Se=oe.fixColumn,be=oe.componentWidth,Te=oe.horizonScroll,Ve=S;return(ce?Te&&be:Se)&&(Ve=u.createElement("div",{style:{width:be-(fe&&!ce?Ne:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(b,"-expanded-row-fixed")},Ve)),u.createElement(N,{className:V,style:{display:Y?null:"none"}},u.createElement(Ye,{component:U,prefixCls:b,colSpan:ne},Ve))}var Un=Mn;function er(r){var b=r.prefixCls,S=r.record,N=r.onExpand,U=r.expanded,V=r.expandable,Y="".concat(b,"-row-expand-icon");if(!V)return u.createElement("span",{className:C()(Y,"".concat(b,"-row-spaced"))});var ne=function(oe){N(S,oe),oe.stopPropagation()};return u.createElement("span",{className:C()(Y,(0,Q.Z)((0,Q.Z)({},"".concat(b,"-row-expanded"),U),"".concat(b,"-row-collapsed"),!U)),onClick:ne})}function ur(r,b,S){var N=[];function U(V){(V||[]).forEach(function(Y,ne){N.push(b(Y,ne)),U(Y[S])})}return U(r),N}function Sr(r,b,S,N){return typeof r=="string"?r:typeof r=="function"?r(b,S,N):""}function Ea(r,b,S,N,U){var V=r.record,Y=r.prefixCls,ne=r.columnsKey,ce=r.fixedInfoList,oe=r.expandIconColumnIndex,Ne=r.nestExpandable,fe=r.indentSize,Se=r.expandIcon,be=r.expanded,Te=r.hasNestChildren,Ve=r.onTriggerExpand,ct=ne[S],Et=ce[S],at;S===(oe||0)&&Ne&&(at=u.createElement(u.Fragment,null,u.createElement("span",{style:{paddingLeft:"".concat(fe*N,"px")},className:"".concat(Y,"-row-indent indent-level-").concat(N)}),Se({prefixCls:Y,expanded:be,expandable:Te,record:V,onExpand:Ve})));var yt;return b.onCell&&(yt=b.onCell(V,U)),{key:ct,fixedInfo:Et,appendCellNode:at,additionalCellProps:yt||{}}}function Wa(r){var b=r.className,S=r.style,N=r.record,U=r.index,V=r.renderIndex,Y=r.rowKey,ne=r.indent,ce=ne===void 0?0:ne,oe=r.rowComponent,Ne=r.cellComponent,fe=r.scopeCellComponent,Se=hn(N,Y,U,ce),be=Se.prefixCls,Te=Se.flattenColumns,Ve=Se.expandedRowClassName,ct=Se.expandedRowRender,Et=Se.rowProps,at=Se.expanded,yt=Se.rowSupportExpand,Dt=u.useRef(!1);Dt.current||(Dt.current=at);var Xt=Sr(Ve,N,U,ce),vn=u.createElement(oe,(0,p.Z)({},Et,{"data-row-key":Y,className:C()(b,"".concat(be,"-row"),"".concat(be,"-row-level-").concat(ce),Et==null?void 0:Et.className,(0,Q.Z)({},Xt,ce>=1)),style:(0,G.Z)((0,G.Z)({},S),Et==null?void 0:Et.style)}),Te.map(function(wn,Nn){var Hn=wn.render,bn=wn.dataIndex,on=wn.className,$t=Ea(Se,wn,Nn,ce,U),Mt=$t.key,It=$t.fixedInfo,zt=$t.appendCellNode,sn=$t.additionalCellProps;return u.createElement(Ye,(0,p.Z)({className:on,ellipsis:wn.ellipsis,align:wn.align,scope:wn.rowScope,component:wn.rowScope?fe:Ne,prefixCls:be,key:Mt,record:N,index:U,renderIndex:V,dataIndex:bn,render:Hn,shouldCellUpdate:wn.shouldCellUpdate},It,{appendNode:zt,additionalProps:sn}))})),Wt;if(yt&&(Dt.current||at)){var _n=ct(N,U,ce+1,at);Wt=u.createElement(Un,{expanded:at,className:C()("".concat(be,"-expanded-row"),"".concat(be,"-expanded-row-level-").concat(ce+1),Xt),prefixCls:be,component:oe,cellComponent:Ne,colSpan:Te.length,isEmpty:!1},_n)}return u.createElement(u.Fragment,null,vn,Wt)}var Er=g(Wa);function Ja(r){var b=r.columnKey,S=r.onColumnResize,N=u.useRef();return u.useEffect(function(){N.current&&S(b,N.current.offsetWidth)},[]),u.createElement(Oe.Z,{data:b},u.createElement("td",{ref:N,style:{padding:0,border:0,height:0}},u.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function qa(r){var b=r.prefixCls,S=r.columnsKey,N=r.onColumnResize;return u.createElement("tr",{"aria-hidden":"true",className:"".concat(b,"-measure-row"),style:{height:0,fontSize:0}},u.createElement(Oe.Z.Collection,{onBatchResize:function(V){V.forEach(function(Y){var ne=Y.data,ce=Y.size;N(ne,ce.offsetWidth)})}},S.map(function(U){return u.createElement(Ja,{key:U,columnKey:U,onColumnResize:N})})))}function Ta(r){var b=r.data,S=r.measureColumnWidth,N=e(d,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),U=N.prefixCls,V=N.getComponent,Y=N.onColumnResize,ne=N.flattenColumns,ce=N.getRowKey,oe=N.expandedKeys,Ne=N.childrenColumnName,fe=N.emptyNode,Se=Sn(b,Ne,oe,ce),be=u.useRef({renderWithProps:!1}),Te=V(["body","wrapper"],"tbody"),Ve=V(["body","row"],"tr"),ct=V(["body","cell"],"td"),Et=V(["body","cell"],"th"),at;b.length?at=Se.map(function(Dt,Xt){var vn=Dt.record,Wt=Dt.indent,_n=Dt.index,wn=ce(vn,Xt);return u.createElement(Er,{key:wn,rowKey:wn,record:vn,index:Xt,renderIndex:_n,rowComponent:Ve,cellComponent:ct,scopeCellComponent:Et,indent:Wt})}):at=u.createElement(Un,{expanded:!0,className:"".concat(U,"-placeholder"),prefixCls:U,component:Ve,cellComponent:ct,colSpan:ne.length,isEmpty:!0},fe);var yt=pe(ne);return u.createElement(n.Provider,{value:be.current},u.createElement(Te,{className:"".concat(U,"-tbody")},S&&u.createElement(qa,{prefixCls:U,columnsKey:yt,onColumnResize:Y}),at))}var Or=g(Ta),Yr=i(62978),Br=["columnType"];function jr(r){for(var b=r.colWidths,S=r.columns,N=r.columCount,U=e(d,["tableLayout"]),V=U.tableLayout,Y=[],ne=N||S.length,ce=!1,oe=ne-1;oe>=0;oe-=1){var Ne=b[oe],fe=S&&S[oe],Se=void 0,be=void 0;if(fe&&(Se=fe[Yr.v],V==="auto"&&(be=fe.minWidth)),Ne||be||Se||ce){var Te=Se||{},Ve=Te.columnType,ct=(0,kt.Z)(Te,Br);Y.unshift(u.createElement("col",(0,p.Z)({key:oe,style:{width:Ne,minWidth:be}},ct))),ce=!0}}return u.createElement("colgroup",null,Y)}var _a=jr,oa=i(74902),dr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Cr(r,b){return(0,u.useMemo)(function(){for(var S=[],N=0;N<b;N+=1){var U=r[N];if(U!==void 0)S[N]=U;else return null}return S},[r.join("_"),b])}var La=u.forwardRef(function(r,b){var S=r.className,N=r.noData,U=r.columns,V=r.flattenColumns,Y=r.colWidths,ne=r.columCount,ce=r.stickyOffsets,oe=r.direction,Ne=r.fixHeader,fe=r.stickyTopOffset,Se=r.stickyBottomOffset,be=r.stickyClassName,Te=r.onScroll,Ve=r.maxContentScroll,ct=r.children,Et=(0,kt.Z)(r,dr),at=e(d,["prefixCls","scrollbarSize","isSticky","getComponent"]),yt=at.prefixCls,Dt=at.scrollbarSize,Xt=at.isSticky,vn=at.getComponent,Wt=vn(["header","table"],"table"),_n=Xt&&!Ne?0:Dt,wn=u.useRef(null),Nn=u.useCallback(function(sn){te(b,sn),te(wn,sn)},[]);u.useEffect(function(){var sn;function Gt(Pn){var Ln=Pn,wr=Ln.currentTarget,jn=Ln.deltaX;jn&&(Te({currentTarget:wr,scrollLeft:wr.scrollLeft+jn}),Pn.preventDefault())}return(sn=wn.current)===null||sn===void 0||sn.addEventListener("wheel",Gt,{passive:!1}),function(){var Pn;(Pn=wn.current)===null||Pn===void 0||Pn.removeEventListener("wheel",Gt)}},[]);var Hn=u.useMemo(function(){return V.every(function(sn){return sn.width})},[V]),bn=V[V.length-1],on={fixed:bn?bn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(yt,"-cell-scrollbar")}}},$t=(0,u.useMemo)(function(){return _n?[].concat((0,oa.Z)(U),[on]):U},[_n,U]),Mt=(0,u.useMemo)(function(){return _n?[].concat((0,oa.Z)(V),[on]):V},[_n,V]),It=(0,u.useMemo)(function(){var sn=ce.right,Gt=ce.left;return(0,G.Z)((0,G.Z)({},ce),{},{left:oe==="rtl"?[].concat((0,oa.Z)(Gt.map(function(Pn){return Pn+_n})),[0]):Gt,right:oe==="rtl"?sn:[].concat((0,oa.Z)(sn.map(function(Pn){return Pn+_n})),[0]),isSticky:Xt})},[_n,ce,Xt]),zt=Cr(Y,ne);return u.createElement("div",{style:(0,G.Z)({overflow:"hidden"},Xt?{top:fe,bottom:Se}:{}),ref:Nn,className:C()(S,(0,Q.Z)({},be,!!be))},u.createElement(Wt,{style:{tableLayout:"fixed",visibility:N||zt?null:"hidden"}},(!N||!Ve||Hn)&&u.createElement(_a,{colWidths:zt?[].concat((0,oa.Z)(zt),[_n]):[],columCount:ne+1,columns:Mt}),ct((0,G.Z)((0,G.Z)({},Et),{},{stickyOffsets:It,columns:$t,flattenColumns:Mt}))))}),ma=u.memo(La),fi=function(b){var S=b.cells,N=b.stickyOffsets,U=b.flattenColumns,V=b.rowComponent,Y=b.cellComponent,ne=b.onHeaderRow,ce=b.index,oe=e(d,["prefixCls","direction"]),Ne=oe.prefixCls,fe=oe.direction,Se;ne&&(Se=ne(S.map(function(Te){return Te.column}),ce));var be=pe(S.map(function(Te){return Te.column}));return u.createElement(V,Se,S.map(function(Te,Ve){var ct=Te.column,Et=st(Te.colStart,Te.colEnd,U,N,fe),at;return ct&&ct.onHeaderCell&&(at=Te.column.onHeaderCell(ct)),u.createElement(Ye,(0,p.Z)({},Te,{scope:ct.title?Te.colSpan>1?"colgroup":"col":null,ellipsis:ct.ellipsis,align:ct.align,component:Y,prefixCls:Ne,key:be[Ve]},Et,{additionalProps:at,rowType:"header"}))}))},da=fi;function ha(r){var b=[];function S(Y,ne){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;b[ce]=b[ce]||[];var oe=ne,Ne=Y.filter(Boolean).map(function(fe){var Se={key:fe.key,className:fe.className||"",children:fe.title,column:fe,colStart:oe},be=1,Te=fe.children;return Te&&Te.length>0&&(be=S(Te,oe,ce+1).reduce(function(Ve,ct){return Ve+ct},0),Se.hasSubColumns=!0),"colSpan"in fe&&(be=fe.colSpan),"rowSpan"in fe&&(Se.rowSpan=fe.rowSpan),Se.colSpan=be,Se.colEnd=Se.colStart+be-1,b[ce].push(Se),oe+=be,be});return Ne}S(r,0);for(var N=b.length,U=function(ne){b[ne].forEach(function(ce){!("rowSpan"in ce)&&!ce.hasSubColumns&&(ce.rowSpan=N-ne)})},V=0;V<N;V+=1)U(V);return b}var ga=function(b){var S=b.stickyOffsets,N=b.columns,U=b.flattenColumns,V=b.onHeaderRow,Y=e(d,["prefixCls","getComponent"]),ne=Y.prefixCls,ce=Y.getComponent,oe=u.useMemo(function(){return ha(N)},[N]),Ne=ce(["header","wrapper"],"thead"),fe=ce(["header","row"],"tr"),Se=ce(["header","cell"],"th");return u.createElement(Ne,{className:"".concat(ne,"-thead")},oe.map(function(be,Te){var Ve=u.createElement(da,{key:Te,flattenColumns:U,cells:be,stickyOffsets:S,rowComponent:fe,cellComponent:Se,onHeaderRow:V,index:Te});return Ve}))},na=g(ga),hr=i(54768);function $r(r,b,S){var N=(0,Yr.g)(r),U=N.expandIcon,V=N.expandedRowKeys,Y=N.defaultExpandedRowKeys,ne=N.defaultExpandAllRows,ce=N.expandedRowRender,oe=N.onExpand,Ne=N.onExpandedRowsChange,fe=N.childrenColumnName,Se=U||er,be=fe||"children",Te=u.useMemo(function(){return ce?"row":r.expandable&&r.internalHooks===x.R&&r.expandable.__PARENT_RENDER_ICON__||b.some(function(Xt){return Xt&&(0,H.Z)(Xt)==="object"&&Xt[be]})?"nest":!1},[!!ce,b]),Ve=u.useState(function(){return Y||(ne?ur(b,S,be):[])}),ct=(0,R.Z)(Ve,2),Et=ct[0],at=ct[1],yt=u.useMemo(function(){return new Set(V||Et||[])},[V,Et]),Dt=u.useCallback(function(Xt){var vn=S(Xt,b.indexOf(Xt)),Wt,_n=yt.has(vn);_n?(yt.delete(vn),Wt=(0,oa.Z)(yt)):Wt=[].concat((0,oa.Z)(yt),[vn]),at(Wt),oe&&oe(!_n,Xt),Ne&&Ne(Wt)},[S,yt,b,oe,Ne]);return[N,Te,yt,Se,be,Dt]}function ka(r,b,S){var N=r.map(function(U,V){return st(V,V,r,b,S)});return w(function(){return N},[N],function(U,V){return!L(U,V)})}function ei(r){var b=(0,u.useRef)(r),S=(0,u.useState)({}),N=(0,R.Z)(S,2),U=N[1],V=(0,u.useRef)(null),Y=(0,u.useRef)([]);function ne(ce){Y.current.push(ce);var oe=Promise.resolve();V.current=oe,oe.then(function(){if(V.current===oe){var Ne=Y.current,fe=b.current;Y.current=[],Ne.forEach(function(Se){b.current=Se(b.current)}),V.current=null,fe!==b.current&&U({})}})}return(0,u.useEffect)(function(){return function(){V.current=null}},[]),[b.current,ne]}function di(r){var b=(0,u.useRef)(r||null),S=(0,u.useRef)();function N(){window.clearTimeout(S.current)}function U(Y){b.current=Y,N(),S.current=window.setTimeout(function(){b.current=null,S.current=void 0},100)}function V(){return b.current}return(0,u.useEffect)(function(){return N},[]),[U,V]}function Qr(){var r=u.useState(-1),b=(0,R.Z)(r,2),S=b[0],N=b[1],U=u.useState(-1),V=(0,R.Z)(U,2),Y=V[0],ne=V[1],ce=u.useCallback(function(oe,Ne){N(oe),ne(Ne)},[]);return[S,Y,ce]}var Dr=$e()?window:null;function hi(r,b){var S=(0,H.Z)(r)==="object"?r:{},N=S.offsetHeader,U=N===void 0?0:N,V=S.offsetSummary,Y=V===void 0?0:V,ne=S.offsetScroll,ce=ne===void 0?0:ne,oe=S.getContainer,Ne=oe===void 0?function(){return Dr}:oe,fe=Ne()||Dr,Se=!!r;return u.useMemo(function(){return{isSticky:Se,stickyClassName:Se?"".concat(b,"-sticky-holder"):"",offsetHeader:U,offsetSummary:Y,offsetScroll:ce,container:fe}},[Se,ce,U,Y,b,fe])}function xa(r,b,S){var N=(0,u.useMemo)(function(){var U=b.length,V=function(oe,Ne,fe){for(var Se=[],be=0,Te=oe;Te!==Ne;Te+=fe)Se.push(be),b[Te].fixed&&(be+=r[Te]||0);return Se},Y=V(0,U,1),ne=V(U-1,-1,-1).reverse();return S==="rtl"?{left:ne,right:Y}:{left:Y,right:ne}},[r,b,S]);return N}var pi=xa;function q(r){var b=r.className,S=r.children;return u.createElement("div",{className:b},S)}var we=q;function Ie(r,b,S,N){var U=A.unstable_batchedUpdates?function(Y){A.unstable_batchedUpdates(S,Y)}:S;return r!=null&&r.addEventListener&&r.addEventListener(b,U,N),{remove:function(){r!=null&&r.removeEventListener&&r.removeEventListener(b,U,N)}}}var me=function(b){return+setTimeout(b,16)},je=function(b){return clearTimeout(b)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(me=function(b){return window.requestAnimationFrame(b)},je=function(b){return window.cancelAnimationFrame(b)});var We=0,xe=new Map;function Je(r){xe.delete(r)}var Ft=function(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;We+=1;var N=We;function U(V){if(V===0)Je(N),b();else{var Y=me(function(){U(V-1)});xe.set(N,Y)}}return U(S),N};Ft.cancel=function(r){var b=xe.get(r);return Je(r),je(b)};var Zt=Ft;function Cn(r){return r instanceof HTMLElement||r instanceof SVGElement}function pn(r){return r&&(0,H.Z)(r)==="object"&&Cn(r.nativeElement)?r.nativeElement:Cn(r)?r:null}function In(r){var b=pn(r);if(b)return b;if(r instanceof React.Component){var S;return(S=ReactDOM.findDOMNode)===null||S===void 0?void 0:S.call(ReactDOM,r)}return null}function Qn(r){var b=pn(r),S=b.getBoundingClientRect(),N=document.documentElement;return{left:S.left+(window.pageXOffset||N.scrollLeft)-(N.clientLeft||document.body.clientLeft||0),top:S.top+(window.pageYOffset||N.scrollTop)-(N.clientTop||document.body.clientTop||0)}}var Rn=function(b,S){var N,U,V=b.scrollBodyRef,Y=b.onScroll,ne=b.offsetScroll,ce=b.container,oe=b.direction,Ne=e(d,"prefixCls"),fe=((N=V.current)===null||N===void 0?void 0:N.scrollWidth)||0,Se=((U=V.current)===null||U===void 0?void 0:U.clientWidth)||0,be=fe&&Se*(Se/fe),Te=u.useRef(),Ve=ei({scrollLeft:0,isHiddenScrollBar:!0}),ct=(0,R.Z)(Ve,2),Et=ct[0],at=ct[1],yt=u.useRef({delta:0,x:0}),Dt=u.useState(!1),Xt=(0,R.Z)(Dt,2),vn=Xt[0],Wt=Xt[1],_n=u.useRef(null);u.useEffect(function(){return function(){Zt.cancel(_n.current)}},[]);var wn=function(){Wt(!1)},Nn=function(Mt){Mt.persist(),yt.current.delta=Mt.pageX-Et.scrollLeft,yt.current.x=0,Wt(!0),Mt.preventDefault()},Hn=function(Mt){var It,zt=Mt||((It=window)===null||It===void 0?void 0:It.event),sn=zt.buttons;if(!vn||sn===0){vn&&Wt(!1);return}var Gt=yt.current.x+Mt.pageX-yt.current.x-yt.current.delta,Pn=oe==="rtl";Gt=Math.max(Pn?be-Se:0,Math.min(Pn?0:Se-be,Gt));var Ln=!Pn||Math.abs(Gt)+Math.abs(be)<Se;Ln&&(Y({scrollLeft:Gt/Se*(fe+2)}),yt.current.x=Mt.pageX)},bn=function(){Zt.cancel(_n.current),_n.current=Zt(function(){if(V.current){var Mt=Qn(V.current).top,It=Mt+V.current.offsetHeight,zt=ce===window?document.documentElement.scrollTop+window.innerHeight:Qn(ce).top+ce.clientHeight;It-kn()<=zt||Mt>=zt-ne?at(function(sn){return(0,G.Z)((0,G.Z)({},sn),{},{isHiddenScrollBar:!0})}):at(function(sn){return(0,G.Z)((0,G.Z)({},sn),{},{isHiddenScrollBar:!1})})}})},on=function(Mt){at(function(It){return(0,G.Z)((0,G.Z)({},It),{},{scrollLeft:Mt/fe*Se||0})})};return u.useImperativeHandle(S,function(){return{setScrollLeft:on,checkScrollBarVisible:bn}}),u.useEffect(function(){var $t=Ie(document.body,"mouseup",wn,!1),Mt=Ie(document.body,"mousemove",Hn,!1);return bn(),function(){$t.remove(),Mt.remove()}},[be,vn]),u.useEffect(function(){if(V.current){for(var $t=[],Mt=pn(V.current);Mt;)$t.push(Mt),Mt=Mt.parentElement;return $t.forEach(function(It){return It.addEventListener("scroll",bn,!1)}),window.addEventListener("resize",bn,!1),window.addEventListener("scroll",bn,!1),ce.addEventListener("scroll",bn,!1),function(){$t.forEach(function(It){return It.removeEventListener("scroll",bn)}),window.removeEventListener("resize",bn),window.removeEventListener("scroll",bn),ce.removeEventListener("scroll",bn)}}},[ce]),u.useEffect(function(){Et.isHiddenScrollBar||at(function($t){var Mt=V.current;return Mt?(0,G.Z)((0,G.Z)({},$t),{},{scrollLeft:Mt.scrollLeft/Mt.scrollWidth*Mt.clientWidth}):$t})},[Et.isHiddenScrollBar]),fe<=Se||!be||Et.isHiddenScrollBar?null:u.createElement("div",{style:{height:kn(),width:Se,bottom:ne},className:"".concat(Ne,"-sticky-scroll")},u.createElement("div",{onMouseDown:Nn,ref:Te,className:C()("".concat(Ne,"-sticky-scroll-bar"),(0,Q.Z)({},"".concat(Ne,"-sticky-scroll-bar-active"),vn)),style:{width:"".concat(be,"px"),transform:"translate3d(".concat(Et.scrollLeft,"px, 0, 0)")}}))},nr=u.forwardRef(Rn);function Kn(r){return null}var _=Kn;function k(r){return null}var M=k,ee="rc-table",Ee=[],Ke={};function Qe(){return"No Data"}function Ct(r,b){var S=(0,G.Z)({rowKey:"key",prefixCls:ee,emptyText:Qe},r),N=S.prefixCls,U=S.className,V=S.rowClassName,Y=S.style,ne=S.data,ce=S.rowKey,oe=S.scroll,Ne=S.tableLayout,fe=S.direction,Se=S.title,be=S.footer,Te=S.summary,Ve=S.caption,ct=S.id,Et=S.showHeader,at=S.components,yt=S.emptyText,Dt=S.onRow,Xt=S.onHeaderRow,vn=S.onScroll,Wt=S.internalHooks,_n=S.transformColumns,wn=S.internalRefs,Nn=S.tailor,Hn=S.getContainerWidth,bn=S.sticky,on=S.rowHoverable,$t=on===void 0?!0:on,Mt=ne||Ee,It=!!Mt.length,zt=Wt===x.R,sn=u.useCallback(function($n,qn){return D(at,$n)||qn},[at]),Gt=u.useMemo(function(){return typeof ce=="function"?ce:function($n){var qn=$n&&$n[ce];return qn}},[ce]),Pn=sn(["body"]),Ln=Qr(),wr=(0,R.Z)(Ln,3),jn=wr[0],Gr=wr[1],va=wr[2],ba=$r(S,Mt,Gt),fr=(0,R.Z)(ba,6),Vn=fr[0],_t=fr[1],Ut=fr[2],qt=fr[3],en=fr[4],un=fr[5],Xr=oe==null?void 0:oe.x,Ba=u.useState(0),Ia=(0,R.Z)(Ba,2),Pa=Ia[0],yi=Ia[1],Ci=(0,hr.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},S),Vn),{},{expandable:!!Vn.expandedRowRender,columnTitle:Vn.columnTitle,expandedKeys:Ut,getRowKey:Gt,onTriggerExpand:un,expandIcon:qt,expandIconColumnIndex:Vn.expandIconColumnIndex,direction:fe,scrollWidth:zt&&Nn&&typeof Xr=="number"?Xr:null,clientWidth:Pa}),zt?_n:null),ja=(0,R.Z)(Ci,4),ui=ja[0],tr=ja[1],wa=ja[2],Ri=ja[3],ta=wa!=null?wa:Xr,qi=u.useMemo(function(){return{columns:ui,flattenColumns:tr}},[ui,tr]),za=u.useRef(),Fi=u.useRef(),Fr=u.useRef(),Ii=u.useRef();u.useImperativeHandle(b,function(){return{nativeElement:za.current,scrollTo:function(qn){var Aa;if(Fr.current instanceof HTMLElement){var ci=qn.index,Ma=qn.top,rs=qn.key;if(Re(Ma)){var Qi;(Qi=Fr.current)===null||Qi===void 0||Qi.scrollTo({top:Ma})}else{var Ji,us=rs!=null?rs:Gt(Mt[ci]);(Ji=Fr.current.querySelector('[data-row-key="'.concat(us,'"]')))===null||Ji===void 0||Ji.scrollIntoView()}}else(Aa=Fr.current)!==null&&Aa!==void 0&&Aa.scrollTo&&Fr.current.scrollTo(qn)}}});var Bi=u.useRef(),ls=u.useState(!1),cs=(0,R.Z)(ls,2),fs=cs[0],Xa=cs[1],bs=u.useState(!1),ds=(0,R.Z)(bs,2),hs=ds[0],Wi=ds[1],ws=ei(new Map),ps=(0,R.Z)(ws,2),as=ps[0],is=ps[1],Es=pe(tr),Hi=Es.map(function($n){return as.get($n)}),Vi=u.useMemo(function(){return Hi},[Hi.join("_")]),$i=pi(Vi,tr,fe),Qa=oe&&De(oe.y),li=oe&&De(ta)||!!Vn.fixed,Ni=li&&tr.some(function($n){var qn=$n.fixed;return qn}),Gi=u.useRef(),bi=hi(bn,N),wi=bi.isSticky,xs=bi.offsetHeader,ss=bi.offsetSummary,Ss=bi.offsetScroll,Cs=bi.stickyClassName,vs=bi.container,Ua=u.useMemo(function(){return Te==null?void 0:Te(Mt)},[Te,Mt]),ji=(Qa||wi)&&u.isValidElement(Ua)&&Ua.type===tn&&Ua.props.fixed,es,Yi,os;Qa&&(Yi={overflowY:It?"scroll":"auto",maxHeight:oe.y}),li&&(es={overflowX:"auto"},Qa||(Yi={overflowY:"hidden"}),os={width:ta===!0?"auto":ta,minWidth:"100%"});var _s=u.useCallback(function($n,qn){ge(za.current)&&is(function(Aa){if(Aa.get($n)!==qn){var ci=new Map(Aa);return ci.set($n,qn),ci}return Aa})},[]),Rs=di(null),zi=(0,R.Z)(Rs,2),ms=zi[0],dn=zi[1];function Qt($n,qn){qn&&(typeof qn=="function"?qn($n):qn.scrollLeft!==$n&&(qn.scrollLeft=$n,qn.scrollLeft!==$n&&setTimeout(function(){qn.scrollLeft=$n},0)))}var Tn=it(function($n){var qn=$n.currentTarget,Aa=$n.scrollLeft,ci=fe==="rtl",Ma=typeof Aa=="number"?Aa:qn.scrollLeft,rs=qn||Ke;if(!dn()||dn()===rs){var Qi;ms(rs),Qt(Ma,Fi.current),Qt(Ma,Fr.current),Qt(Ma,Bi.current),Qt(Ma,(Qi=Gi.current)===null||Qi===void 0?void 0:Qi.setScrollLeft)}var Ji=qn||Fi.current;if(Ji){var us=zt&&Nn&&typeof ta=="number"?ta:Ji.scrollWidth,ks=Ji.clientWidth;if(us===ks){Xa(!1),Wi(!1);return}ci?(Xa(-Ma<us-ks),Wi(-Ma>0)):(Xa(Ma>0),Wi(Ma<us-ks))}}),Vr=it(function($n){Tn($n),vn==null||vn($n)}),fa=function(){if(li&&Fr.current){var qn;Tn({currentTarget:pn(Fr.current),scrollLeft:(qn=Fr.current)===null||qn===void 0?void 0:qn.scrollLeft})}else Xa(!1),Wi(!1)},ts=function(qn){var Aa,ci=qn.width;(Aa=Gi.current)===null||Aa===void 0||Aa.checkScrollBarVisible();var Ma=za.current?za.current.offsetWidth:ci;zt&&Hn&&za.current&&(Ma=Hn(za.current,Ma)||Ma),Ma!==Pa&&(fa(),yi(Ma))},Pi=u.useRef(!1);u.useEffect(function(){Pi.current&&fa()},[li,ne,ui.length]),u.useEffect(function(){Pi.current=!0},[]);var Ns=u.useState(0),gs=(0,R.Z)(Ns,2),Xi=gs[0],ns=gs[1],Hs=u.useState(!0),Os=(0,R.Z)(Hs,2),Ds=Os[0],Vs=Os[1];u.useEffect(function(){(!Nn||!zt)&&(Fr.current instanceof Element?ns(mn(Fr.current).width):ns(mn(Ii.current).width)),Vs(tt("position","sticky"))},[]),u.useEffect(function(){zt&&wn&&(wn.body.current=Fr.current)});var $s=u.useCallback(function($n){return u.createElement(u.Fragment,null,u.createElement(na,$n),ji==="top"&&u.createElement(Yt,$n,Ua))},[ji,Ua]),Gs=u.useCallback(function($n){return u.createElement(Yt,$n,Ua)},[Ua]),Is=sn(["table"],"table"),ys=u.useMemo(function(){return Ne||(Ni?ta==="max-content"?"auto":"fixed":Qa||wi||tr.some(function($n){var qn=$n.ellipsis;return qn})?"fixed":"auto")},[Qa,Ni,tr,Ne,wi]),Ps,As={colWidths:Vi,columCount:tr.length,stickyOffsets:$i,onHeaderRow:Xt,fixHeader:Qa,scroll:oe},Ls=u.useMemo(function(){return It?null:typeof yt=="function"?yt():yt},[It,yt]),Zs=u.createElement(Or,{data:Mt,measureColumnWidth:Qa||li||wi}),Ks=u.createElement(_a,{colWidths:tr.map(function($n){var qn=$n.width;return qn}),columns:tr}),Fs=Ve!=null?u.createElement("caption",{className:"".concat(N,"-caption")},Ve):void 0,Ys=gn(S,{data:!0}),Bs=gn(S,{aria:!0});if(Qa||wi){var Ms;typeof Pn=="function"?(Ms=Pn(Mt,{scrollbarSize:Xi,ref:Fr,onScroll:Tn}),As.colWidths=tr.map(function($n,qn){var Aa=$n.width,ci=qn===tr.length-1?Aa-Xi:Aa;return typeof ci=="number"&&!Number.isNaN(ci)?ci:0})):Ms=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},es),Yi),onScroll:Vr,ref:Fr,className:C()("".concat(N,"-body"))},u.createElement(Is,(0,p.Z)({style:(0,G.Z)((0,G.Z)({},os),{},{tableLayout:ys})},Bs),Fs,Ks,Zs,!ji&&Ua&&u.createElement(Yt,{stickyOffsets:$i,flattenColumns:tr},Ua)));var js=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!Mt.length,maxContentScroll:li&&ta==="max-content"},As),qi),{},{direction:fe,stickyClassName:Cs,onScroll:Tn});Ps=u.createElement(u.Fragment,null,Et!==!1&&u.createElement(ma,(0,p.Z)({},js,{stickyTopOffset:xs,className:"".concat(N,"-header"),ref:Fi}),$s),Ms,ji&&ji!=="top"&&u.createElement(ma,(0,p.Z)({},js,{stickyBottomOffset:ss,className:"".concat(N,"-summary"),ref:Bi}),Gs),wi&&Fr.current&&Fr.current instanceof Element&&u.createElement(nr,{ref:Gi,offsetScroll:Ss,scrollBodyRef:Fr,onScroll:Tn,container:vs,direction:fe}))}else Ps=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},es),Yi),className:C()("".concat(N,"-content")),onScroll:Tn,ref:Fr},u.createElement(Is,(0,p.Z)({style:(0,G.Z)((0,G.Z)({},os),{},{tableLayout:ys})},Bs),Fs,Ks,Et!==!1&&u.createElement(na,(0,p.Z)({},As,qi)),Zs,Ua&&u.createElement(Yt,{stickyOffsets:$i,flattenColumns:tr},Ua)));var Ts=u.createElement("div",(0,p.Z)({className:C()(N,U,(0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)({},"".concat(N,"-rtl"),fe==="rtl"),"".concat(N,"-ping-left"),fs),"".concat(N,"-ping-right"),hs),"".concat(N,"-layout-fixed"),Ne==="fixed"),"".concat(N,"-fixed-header"),Qa),"".concat(N,"-fixed-column"),Ni),"".concat(N,"-fixed-column-gapped"),Ni&&Ri),"".concat(N,"-scroll-horizontal"),li),"".concat(N,"-has-fix-left"),tr[0]&&tr[0].fixed),"".concat(N,"-has-fix-right"),tr[tr.length-1]&&tr[tr.length-1].fixed==="right")),style:Y,id:ct,ref:za},Ys),Se&&u.createElement(we,{className:"".concat(N,"-title")},Se(Mt)),u.createElement("div",{ref:Ii,className:"".concat(N,"-container")},Ps),be&&u.createElement(we,{className:"".concat(N,"-footer")},be(Mt)));li&&(Ts=u.createElement(Oe.Z,{onResize:ts},Ts));var zs=ka(tr,$i,fe),Xs=u.useMemo(function(){return{scrollX:ta,prefixCls:N,getComponent:sn,scrollbarSize:Xi,direction:fe,fixedInfoList:zs,isSticky:wi,supportSticky:Ds,componentWidth:Pa,fixHeader:Qa,fixColumn:Ni,horizonScroll:li,tableLayout:ys,rowClassName:V,expandedRowClassName:Vn.expandedRowClassName,expandIcon:qt,expandableType:_t,expandRowByClick:Vn.expandRowByClick,expandedRowRender:Vn.expandedRowRender,onTriggerExpand:un,expandIconColumnIndex:Vn.expandIconColumnIndex,indentSize:Vn.indentSize,allColumnsFixedLeft:tr.every(function($n){return $n.fixed==="left"}),emptyNode:Ls,columns:ui,flattenColumns:tr,onColumnResize:_s,hoverStartRow:jn,hoverEndRow:Gr,onHover:va,rowExpandable:Vn.rowExpandable,onRow:Dt,getRowKey:Gt,expandedKeys:Ut,childrenColumnName:en,rowHoverable:$t}},[ta,N,sn,Xi,fe,zs,wi,Ds,Pa,Qa,Ni,li,ys,V,Vn.expandedRowClassName,qt,_t,Vn.expandRowByClick,Vn.expandedRowRender,un,Vn.expandIconColumnIndex,Vn.indentSize,Ls,ui,tr,_s,jn,Gr,va,Vn.rowExpandable,Dt,Gt,Ut,en,$t]);return u.createElement(d.Provider,{value:Xs},Ts)}var gt=u.forwardRef(Ct);function Vt(r){return y(gt,r)}var ot=Vt();ot.EXPAND_COLUMN=x.w,ot.INTERNAL_HOOKS=x.R,ot.Column=_,ot.ColumnGroup=M,ot.Summary=se;var ft=ot;function xt(r){var b=u.useRef();b.current=r;var S=u.useCallback(function(){for(var N,U=arguments.length,V=new Array(U),Y=0;Y<U;Y++)V[Y]=arguments[Y];return(N=b.current)===null||N===void 0?void 0:N.call.apply(N,[b].concat(V))},[]);return S}function Ot(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Jt=Ot()?u.useLayoutEffect:u.useEffect,Fn=function(b,S){var N=u.useRef(!0);Jt(function(){return b(N.current)},S),Jt(function(){return N.current=!1,function(){N.current=!0}},[])},En=function(b,S){Fn(function(N){if(!N)return b()},S)},Bn=Fn;function Wn(r){var b=React.useRef(!1),S=React.useState(r),N=_slicedToArray(S,2),U=N[0],V=N[1];React.useEffect(function(){return b.current=!1,function(){b.current=!0}},[]);function Y(ne,ce){ce&&b.current||V(ne)}return[U,Y]}function An(r){return r!==void 0}function rr(r,b){var S=b||{},N=S.defaultValue,U=S.value,V=S.onChange,Y=S.postState,ne=useState(function(){return An(U)?U:An(N)?typeof N=="function"?N():N:typeof r=="function"?r():r}),ce=_slicedToArray(ne,2),oe=ce[0],Ne=ce[1],fe=U!==void 0?U:oe,Se=Y?Y(fe):fe,be=useEvent(V),Te=useState([fe]),Ve=_slicedToArray(Te,2),ct=Ve[0],Et=Ve[1];useLayoutUpdateEffect(function(){var yt=ct[0];oe!==yt&&be(oe,yt)},[ct]),useLayoutUpdateEffect(function(){An(U)||Ne(U)},[U]);var at=useEvent(function(yt,Dt){Ne(yt,Dt),Et([fe],Dt)});return[Se,at]}function sr(r,b,S){var N=React.useRef({});return(!("value"in N.current)||S(N.current.condition,b))&&(N.current.value=r(),N.current.condition=b),N.current.value}function cn(r,b){typeof r=="function"?r(b):_typeof(r)==="object"&&r&&"current"in r&&(r.current=b)}function Ir(){for(var r=arguments.length,b=new Array(r),S=0;S<r;S++)b[S]=arguments[S];var N=b.filter(function(U){return U});return N.length<=1?N[0]:function(U){b.forEach(function(V){cn(V,U)})}}function gr(){for(var r=arguments.length,b=new Array(r),S=0;S<r;S++)b[S]=arguments[S];return useMemo(function(){return Ir.apply(void 0,b)},b,function(N,U){return N.length!==U.length||N.every(function(V,Y){return V!==U[Y]})})}function xr(r){var b,S,N=isMemo(r)?r.type.type:r.type;return!(typeof N=="function"&&!((b=N.prototype)!==null&&b!==void 0&&b.render)||typeof r=="function"&&!((S=r.prototype)!==null&&S!==void 0&&S.render))}function ra(r){return!isValidElement(r)||isFragment(r)?!1:xr(r)}function Rr(r,b,S,N){if(!b.length)return S;var U=_toArray(b),V=U[0],Y=U.slice(1),ne;return!r&&typeof V=="number"?ne=[]:Array.isArray(r)?ne=_toConsumableArray(r):ne=_objectSpread({},r),N&&S===void 0&&Y.length===1?delete ne[V][Y[0]]:ne[V]=Rr(ne[V],Y,S,N),ne}function Nr(r,b,S){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return b.length&&N&&S===void 0&&!get(r,b.slice(0,-1))?r:Rr(r,b,S,N)}function pr(r){return _typeof(r)==="object"&&r!==null&&Object.getPrototypeOf(r)===Object.prototype}function Pr(r){return Array.isArray(r)?[]:{}}var zr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Jr(){for(var r=arguments.length,b=new Array(r),S=0;S<r;S++)b[S]=arguments[S];var N=Pr(b[0]);return b.forEach(function(U){function V(Y,ne){var ce=new Set(ne),oe=get(U,Y),Ne=Array.isArray(oe);if(Ne||pr(oe)){if(!ce.has(oe)){ce.add(oe);var fe=get(N,Y);Ne?N=Nr(N,Y,[]):(!fe||_typeof(fe)!=="object")&&(N=Nr(N,Y,Pr(oe))),zr(oe).forEach(function(Se){V([].concat(_toConsumableArray(Y),[Se]),ce)})}}else N=Nr(N,Y,oe)}V([])}),N}var qr={},yr=[],Lr=function(b){yr.push(b)};function Jn(r,b){if(0)var S}function ua(r,b){if(0)var S}function aa(){qr={}}function Ar(r,b,S){!b&&!qr[S]&&(r(!1,S),qr[S]=!0)}function Yn(r,b){Ar(Jn,r,b)}function ia(r,b){Ar(ua,r,b)}Yn.preMessage=Lr,Yn.resetWarned=aa,Yn.noteOnce=ia;var Oa=null,Sa=u.forwardRef(function(r,b){var S=r.height,N=r.offsetY,U=r.offsetX,V=r.children,Y=r.prefixCls,ne=r.onInnerResize,ce=r.innerProps,oe=r.rtl,Ne=r.extra,fe={},Se={display:"flex",flexDirection:"column"};return N!==void 0&&(fe={height:S,position:"relative",overflow:"hidden"},Se=(0,G.Z)((0,G.Z)({},Se),{},(0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)({transform:"translateY(".concat(N,"px)")},oe?"marginRight":"marginLeft",-U),"position","absolute"),"left",0),"right",0),"top",0))),u.createElement("div",{style:fe},u.createElement(Oe.Z,{onResize:function(Te){var Ve=Te.offsetHeight;Ve&&ne&&ne()}},u.createElement("div",(0,p.Z)({style:Se,className:C()((0,Q.Z)({},"".concat(Y,"-holder-inner"),Y)),ref:b},ce),V,Ne)))});Sa.displayName="Filler";var Zr=Sa;function br(r){var b=r.children,S=r.setRef,N=u.useCallback(function(U){S(U)},[]);return u.cloneElement(b,{ref:N})}function Ca(r,b,S,N,U,V,Y,ne){var ce=ne.getKey;return r.slice(b,S+1).map(function(oe,Ne){var fe=b+Ne,Se=Y(oe,fe,{style:{width:N},offsetX:U}),be=ce(oe);return u.createElement(br,{key:be,setRef:function(Ve){return V(oe,Ve)}},Se)})}function Za(r,b,S,N){var U=S-r,V=b-S,Y=Math.min(U,V)*2;if(N<=Y){var ne=Math.floor(N/2);return N%2?S+ne+1:S-ne}return U>V?S-(N-V):S+(N-U)}function Mr(r,b,S){var N=r.length,U=b.length,V,Y;if(N===0&&U===0)return null;N<U?(V=r,Y=b):(V=b,Y=r);var ne={__EMPTY_ITEM__:!0};function ce(Te){return Te!==void 0?S(Te):ne}for(var oe=null,Ne=Math.abs(N-U)!==1,fe=0;fe<Y.length;fe+=1){var Se=ce(V[fe]),be=ce(Y[fe]);if(Se!==be){oe=fe,Ne=Ne||Se!==ce(Y[fe+1]);break}}return oe===null?null:{index:oe,multiple:Ne}}function ea(r,b,S){var N=u.useState(r),U=(0,R.Z)(N,2),V=U[0],Y=U[1],ne=u.useState(null),ce=(0,R.Z)(ne,2),oe=ce[0],Ne=ce[1];return u.useEffect(function(){var fe=Mr(V||[],r||[],b);(fe==null?void 0:fe.index)!==void 0&&(S==null||S(fe.index),Ne(r[fe.index])),Y(r)},[r]),[oe]}var Kr=function(b){return+setTimeout(b,16)},Tr=function(b){return clearTimeout(b)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Kr=function(b){return window.requestAnimationFrame(b)},Tr=function(b){return window.cancelAnimationFrame(b)});var sa=0,la=new Map;function Ur(r){la.delete(r)}var lr=function(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;sa+=1;var N=sa;function U(V){if(V===0)Ur(N),b();else{var Y=Kr(function(){U(V-1)});la.set(N,Y)}}return U(S),N};lr.cancel=function(r){var b=la.get(r);return Ur(b),Tr(b)};var cr=lr,Wr=(typeof navigator=="undefined"?"undefined":(0,H.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),vi=Wr,or=function(r,b,S,N){var U=(0,u.useRef)(!1),V=(0,u.useRef)(null);function Y(){clearTimeout(V.current),U.current=!0,V.current=setTimeout(function(){U.current=!1},50)}var ne=(0,u.useRef)({top:r,bottom:b,left:S,right:N});return ne.current.top=r,ne.current.bottom=b,ne.current.left=S,ne.current.right=N,function(ce,oe){var Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fe=ce?oe<0&&ne.current.left||oe>0&&ne.current.right:oe<0&&ne.current.top||oe>0&&ne.current.bottom;return Ne&&fe?(clearTimeout(V.current),U.current=!1):(!fe||U.current)&&Y(),!U.current&&fe}};function Ha(r,b,S,N,U,V,Y){var ne=(0,u.useRef)(0),ce=(0,u.useRef)(null),oe=(0,u.useRef)(null),Ne=(0,u.useRef)(!1),fe=or(b,S,N,U);function Se(at,yt){if(cr.cancel(ce.current),!fe(!1,yt)){var Dt=at;if(!Dt._virtualHandled)Dt._virtualHandled=!0;else return;ne.current+=yt,oe.current=yt,vi||Dt.preventDefault(),ce.current=cr(function(){var Xt=Ne.current?10:1;Y(ne.current*Xt,!1),ne.current=0})}}function be(at,yt){Y(yt,!0),vi||at.preventDefault()}var Te=(0,u.useRef)(null),Ve=(0,u.useRef)(null);function ct(at){if(r){cr.cancel(Ve.current),Ve.current=cr(function(){Te.current=null},2);var yt=at.deltaX,Dt=at.deltaY,Xt=at.shiftKey,vn=yt,Wt=Dt;(Te.current==="sx"||!Te.current&&Xt&&Dt&&!yt)&&(vn=Dt,Wt=0,Te.current="sx");var _n=Math.abs(vn),wn=Math.abs(Wt);Te.current===null&&(Te.current=V&&_n>wn?"x":"y"),Te.current==="y"?Se(at,Wt):be(at,vn)}}function Et(at){r&&(Ne.current=at.detail===oe.current)}return[ct,Et]}function ti(r,b,S,N){var U=u.useMemo(function(){return[new Map,[]]},[r,S.id,N]),V=(0,R.Z)(U,2),Y=V[0],ne=V[1],ce=function(Ne){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne,Se=Y.get(Ne),be=Y.get(fe);if(Se===void 0||be===void 0)for(var Te=r.length,Ve=ne.length;Ve<Te;Ve+=1){var ct,Et=r[Ve],at=b(Et);Y.set(at,Ve);var yt=(ct=S.get(at))!==null&&ct!==void 0?ct:N;if(ne[Ve]=(ne[Ve-1]||0)+yt,at===Ne&&(Se=Ve),at===fe&&(be=Ve),Se!==void 0&&be!==void 0)break}return{top:ne[Se-1]||0,bottom:ne[be]}};return ce}var Hr=i(15671),Ka=i(43144),ya=function(){function r(){(0,Hr.Z)(this,r),(0,Q.Z)(this,"maps",void 0),(0,Q.Z)(this,"id",0),(0,Q.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,Ka.Z)(r,[{key:"set",value:function(S,N){this.maps[S]=N,this.id+=1,this.diffKeys.add(S)}},{key:"get",value:function(S){return this.maps[S]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),r}(),Va=ya;function xn(r){var b=parseFloat(r);return isNaN(b)?0:b}function Xn(r,b,S){var N=u.useState(0),U=(0,R.Z)(N,2),V=U[0],Y=U[1],ne=(0,u.useRef)(new Map),ce=(0,u.useRef)(new Va),oe=(0,u.useRef)(0);function Ne(){oe.current+=1}function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ne();var Te=function(){var Et=!1;ne.current.forEach(function(at,yt){if(at&&at.offsetParent){var Dt=at.offsetHeight,Xt=getComputedStyle(at),vn=Xt.marginTop,Wt=Xt.marginBottom,_n=xn(vn),wn=xn(Wt),Nn=Dt+_n+wn;ce.current.get(yt)!==Nn&&(ce.current.set(yt,Nn),Et=!0)}}),Et&&Y(function(at){return at+1})};if(be)Te();else{oe.current+=1;var Ve=oe.current;Promise.resolve().then(function(){Ve===oe.current&&Te()})}}function Se(be,Te){var Ve=r(be),ct=ne.current.get(Ve);Te?(ne.current.set(Ve,Te),fe()):ne.current.delete(Ve),!ct!=!Te&&(Te?b==null||b(be):S==null||S(be))}return(0,u.useEffect)(function(){return Ne},[]),[Se,fe,ce.current,V]}var ar=14/15;function kr(r,b,S){var N=(0,u.useRef)(!1),U=(0,u.useRef)(0),V=(0,u.useRef)(0),Y=(0,u.useRef)(null),ne=(0,u.useRef)(null),ce,oe=function(be){if(N.current){var Te=Math.ceil(be.touches[0].pageX),Ve=Math.ceil(be.touches[0].pageY),ct=U.current-Te,Et=V.current-Ve,at=Math.abs(ct)>Math.abs(Et);at?U.current=Te:V.current=Ve;var yt=S(at,at?ct:Et,!1,be);yt&&be.preventDefault(),clearInterval(ne.current),yt&&(ne.current=setInterval(function(){at?ct*=ar:Et*=ar;var Dt=Math.floor(at?ct:Et);(!S(at,Dt,!0)||Math.abs(Dt)<=.1)&&clearInterval(ne.current)},16))}},Ne=function(){N.current=!1,ce()},fe=function(be){ce(),be.touches.length===1&&!N.current&&(N.current=!0,U.current=Math.ceil(be.touches[0].pageX),V.current=Math.ceil(be.touches[0].pageY),Y.current=be.target,Y.current.addEventListener("touchmove",oe,{passive:!1}),Y.current.addEventListener("touchend",Ne,{passive:!0}))};ce=function(){Y.current&&(Y.current.removeEventListener("touchmove",oe),Y.current.removeEventListener("touchend",Ne))},Bn(function(){return r&&b.current.addEventListener("touchstart",fe,{passive:!0}),function(){var Se;(Se=b.current)===null||Se===void 0||Se.removeEventListener("touchstart",fe),ce(),clearInterval(ne.current)}},[r])}function vr(r){return Math.floor(Math.pow(r,.5))}function Ai(r,b){var S="touches"in r?r.touches[0]:r;return S[b?"pageX":"pageY"]-window[b?"scrollX":"scrollY"]}function _i(r,b,S){u.useEffect(function(){var N=b.current;if(r&&N){var U=!1,V,Y,ne=function(){cr.cancel(V)},ce=function Se(){ne(),V=cr(function(){S(Y),Se()})},oe=function(be){if(!(be.target.draggable||be.button!==0)){var Te=be;Te._virtualHandled||(Te._virtualHandled=!0,U=!0)}},Ne=function(){U=!1,ne()},fe=function(be){if(U){var Te=Ai(be,!1),Ve=N.getBoundingClientRect(),ct=Ve.top,Et=Ve.bottom;if(Te<=ct){var at=ct-Te;Y=-vr(at),ce()}else if(Te>=Et){var yt=Te-Et;Y=vr(yt),ce()}else ne()}};return N.addEventListener("mousedown",oe),N.ownerDocument.addEventListener("mouseup",Ne),N.ownerDocument.addEventListener("mousemove",fe),function(){N.removeEventListener("mousedown",oe),N.ownerDocument.removeEventListener("mouseup",Ne),N.ownerDocument.removeEventListener("mousemove",fe),ne()}}},[r])}var Ra=10;function ii(r,b,S,N,U,V,Y,ne){var ce=u.useRef(),oe=u.useState(null),Ne=(0,R.Z)(oe,2),fe=Ne[0],Se=Ne[1];return Bn(function(){if(fe&&fe.times<Ra){if(!r.current){Se(function(Gt){return(0,G.Z)({},Gt)});return}V();var be=fe.targetAlign,Te=fe.originAlign,Ve=fe.index,ct=fe.offset,Et=r.current.clientHeight,at=!1,yt=be,Dt=null;if(Et){for(var Xt=be||Te,vn=0,Wt=0,_n=0,wn=Math.min(b.length-1,Ve),Nn=0;Nn<=wn;Nn+=1){var Hn=U(b[Nn]);Wt=vn;var bn=S.get(Hn);_n=Wt+(bn===void 0?N:bn),vn=_n}for(var on=Xt==="top"?ct:Et-ct,$t=wn;$t>=0;$t-=1){var Mt=U(b[$t]),It=S.get(Mt);if(It===void 0){at=!0;break}if(on-=It,on<=0)break}switch(Xt){case"top":Dt=Wt-ct;break;case"bottom":Dt=_n-Et+ct;break;default:{var zt=r.current.scrollTop,sn=zt+Et;Wt<zt?yt="top":_n>sn&&(yt="bottom")}}Dt!==null&&Y(Dt),Dt!==fe.lastTop&&(at=!0)}at&&Se((0,G.Z)((0,G.Z)({},fe),{},{times:fe.times+1,targetAlign:yt,lastTop:Dt}))}},[fe,r.current]),function(be){if(be==null){ne();return}if(cr.cancel(ce.current),typeof be=="number")Y(be);else if(be&&(0,H.Z)(be)==="object"){var Te,Ve=be.align;"index"in be?Te=be.index:Te=b.findIndex(function(at){return U(at)===be.key});var ct=be.offset,Et=ct===void 0?0:ct;Se({times:0,index:Te,offset:Et,originAlign:Ve})}}}var Ui=u.forwardRef(function(r,b){var S=r.prefixCls,N=r.rtl,U=r.scrollOffset,V=r.scrollRange,Y=r.onStartMove,ne=r.onStopMove,ce=r.onScroll,oe=r.horizontal,Ne=r.spinSize,fe=r.containerSize,Se=r.style,be=r.thumbStyle,Te=r.showScrollBar,Ve=u.useState(!1),ct=(0,R.Z)(Ve,2),Et=ct[0],at=ct[1],yt=u.useState(null),Dt=(0,R.Z)(yt,2),Xt=Dt[0],vn=Dt[1],Wt=u.useState(null),_n=(0,R.Z)(Wt,2),wn=_n[0],Nn=_n[1],Hn=!N,bn=u.useRef(),on=u.useRef(),$t=u.useState(Te),Mt=(0,R.Z)($t,2),It=Mt[0],zt=Mt[1],sn=u.useRef(),Gt=function(){Te===!0||Te===!1||(clearTimeout(sn.current),zt(!0),sn.current=setTimeout(function(){zt(!1)},3e3))},Pn=V-fe||0,Ln=fe-Ne||0,wr=u.useMemo(function(){if(U===0||Pn===0)return 0;var qt=U/Pn;return qt*Ln},[U,Pn,Ln]),jn=function(en){en.stopPropagation(),en.preventDefault()},Gr=u.useRef({top:wr,dragging:Et,pageY:Xt,startTop:wn});Gr.current={top:wr,dragging:Et,pageY:Xt,startTop:wn};var va=function(en){at(!0),vn(Ai(en,oe)),Nn(Gr.current.top),Y(),en.stopPropagation(),en.preventDefault()};u.useEffect(function(){var qt=function(Ba){Ba.preventDefault()},en=bn.current,un=on.current;return en.addEventListener("touchstart",qt,{passive:!1}),un.addEventListener("touchstart",va,{passive:!1}),function(){en.removeEventListener("touchstart",qt),un.removeEventListener("touchstart",va)}},[]);var ba=u.useRef();ba.current=Pn;var fr=u.useRef();fr.current=Ln,u.useEffect(function(){if(Et){var qt,en=function(Ba){var Ia=Gr.current,Pa=Ia.dragging,yi=Ia.pageY,Ci=Ia.startTop;cr.cancel(qt);var ja=bn.current.getBoundingClientRect(),ui=fe/(oe?ja.width:ja.height);if(Pa){var tr=(Ai(Ba,oe)-yi)*ui,wa=Ci;!Hn&&oe?wa-=tr:wa+=tr;var Ri=ba.current,ta=fr.current,qi=ta?wa/ta:0,za=Math.ceil(qi*Ri);za=Math.max(za,0),za=Math.min(za,Ri),qt=cr(function(){ce(za,oe)})}},un=function(){at(!1),ne()};return window.addEventListener("mousemove",en,{passive:!0}),window.addEventListener("touchmove",en,{passive:!0}),window.addEventListener("mouseup",un,{passive:!0}),window.addEventListener("touchend",un,{passive:!0}),function(){window.removeEventListener("mousemove",en),window.removeEventListener("touchmove",en),window.removeEventListener("mouseup",un),window.removeEventListener("touchend",un),cr.cancel(qt)}}},[Et]),u.useEffect(function(){return Gt(),function(){clearTimeout(sn.current)}},[U]),u.useImperativeHandle(b,function(){return{delayHidden:Gt}});var Vn="".concat(S,"-scrollbar"),_t={position:"absolute",visibility:It?null:"hidden"},Ut={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return oe?(_t.height=8,_t.left=0,_t.right=0,_t.bottom=0,Ut.height="100%",Ut.width=Ne,Hn?Ut.left=wr:Ut.right=wr):(_t.width=8,_t.top=0,_t.bottom=0,Hn?_t.right=0:_t.left=0,Ut.width="100%",Ut.height=Ne,Ut.top=wr),u.createElement("div",{ref:bn,className:C()(Vn,(0,Q.Z)((0,Q.Z)((0,Q.Z)({},"".concat(Vn,"-horizontal"),oe),"".concat(Vn,"-vertical"),!oe),"".concat(Vn,"-visible"),It)),style:(0,G.Z)((0,G.Z)({},_t),Se),onMouseDown:jn,onMouseMove:Gt},u.createElement("div",{ref:on,className:C()("".concat(Vn,"-thumb"),(0,Q.Z)({},"".concat(Vn,"-thumb-moving"),Et)),style:(0,G.Z)((0,G.Z)({},Ut),be),onMouseDown:va}))}),Mi=Ui,Li=20;function mi(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=r/b*r;return isNaN(S)&&(S=0),S=Math.max(S,Li),Math.floor(S)}var $a=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],pa=[],Fa={overflowY:"auto",overflowAnchor:"none"};function ca(r,b){var S=r.prefixCls,N=S===void 0?"rc-virtual-list":S,U=r.className,V=r.height,Y=r.itemHeight,ne=r.fullHeight,ce=ne===void 0?!0:ne,oe=r.style,Ne=r.data,fe=r.children,Se=r.itemKey,be=r.virtual,Te=r.direction,Ve=r.scrollWidth,ct=r.component,Et=ct===void 0?"div":ct,at=r.onScroll,yt=r.onVirtualScroll,Dt=r.onVisibleChange,Xt=r.innerProps,vn=r.extraRender,Wt=r.styles,_n=r.showScrollBar,wn=_n===void 0?"optional":_n,Nn=(0,kt.Z)(r,$a),Hn=u.useCallback(function(dn){return typeof Se=="function"?Se(dn):dn==null?void 0:dn[Se]},[Se]),bn=Xn(Hn,null,null),on=(0,R.Z)(bn,4),$t=on[0],Mt=on[1],It=on[2],zt=on[3],sn=!!(be!==!1&&V&&Y),Gt=u.useMemo(function(){return Object.values(It.maps).reduce(function(dn,Qt){return dn+Qt},0)},[It.id,It.maps]),Pn=sn&&Ne&&(Math.max(Y*Ne.length,Gt)>V||!!Ve),Ln=Te==="rtl",wr=C()(N,(0,Q.Z)({},"".concat(N,"-rtl"),Ln),U),jn=Ne||pa,Gr=(0,u.useRef)(),va=(0,u.useRef)(),ba=(0,u.useRef)(),fr=(0,u.useState)(0),Vn=(0,R.Z)(fr,2),_t=Vn[0],Ut=Vn[1],qt=(0,u.useState)(0),en=(0,R.Z)(qt,2),un=en[0],Xr=en[1],Ba=(0,u.useState)(!1),Ia=(0,R.Z)(Ba,2),Pa=Ia[0],yi=Ia[1],Ci=function(){yi(!0)},ja=function(){yi(!1)},ui={getKey:Hn};function tr(dn){Ut(function(Qt){var Tn;typeof dn=="function"?Tn=dn(Qt):Tn=dn;var Vr=Es(Tn);return Gr.current.scrollTop=Vr,Vr})}var wa=(0,u.useRef)({start:0,end:jn.length}),Ri=(0,u.useRef)(),ta=ea(jn,Hn),qi=(0,R.Z)(ta,1),za=qi[0];Ri.current=za;var Fi=u.useMemo(function(){if(!sn)return{scrollHeight:void 0,start:0,end:jn.length-1,offset:void 0};if(!Pn){var dn;return{scrollHeight:((dn=va.current)===null||dn===void 0?void 0:dn.offsetHeight)||0,start:0,end:jn.length-1,offset:void 0}}for(var Qt=0,Tn,Vr,fa,ts=jn.length,Pi=0;Pi<ts;Pi+=1){var Ns=jn[Pi],gs=Hn(Ns),Xi=It.get(gs),ns=Qt+(Xi===void 0?Y:Xi);ns>=_t&&Tn===void 0&&(Tn=Pi,Vr=Qt),ns>_t+V&&fa===void 0&&(fa=Pi),Qt=ns}return Tn===void 0&&(Tn=0,Vr=0,fa=Math.ceil(V/Y)),fa===void 0&&(fa=jn.length-1),fa=Math.min(fa+1,jn.length-1),{scrollHeight:Qt,start:Tn,end:fa,offset:Vr}},[Pn,sn,_t,jn,zt,V]),Fr=Fi.scrollHeight,Ii=Fi.start,Bi=Fi.end,ls=Fi.offset;wa.current.start=Ii,wa.current.end=Bi,u.useLayoutEffect(function(){var dn=It.getRecord();if(dn.size===1){var Qt=Array.from(dn)[0],Tn=jn[Ii];if(Tn){var Vr=Hn(Tn);if(Vr===Qt){var fa=It.get(Qt),ts=fa-Y;tr(function(Pi){return Pi+ts})}}}It.resetRecord()},[Fr]);var cs=u.useState({width:0,height:V}),fs=(0,R.Z)(cs,2),Xa=fs[0],bs=fs[1],ds=function(Qt){bs({width:Qt.offsetWidth,height:Qt.offsetHeight})},hs=(0,u.useRef)(),Wi=(0,u.useRef)(),ws=u.useMemo(function(){return mi(Xa.width,Ve)},[Xa.width,Ve]),ps=u.useMemo(function(){return mi(Xa.height,Fr)},[Xa.height,Fr]),as=Fr-V,is=(0,u.useRef)(as);is.current=as;function Es(dn){var Qt=dn;return Number.isNaN(is.current)||(Qt=Math.min(Qt,is.current)),Qt=Math.max(Qt,0),Qt}var Hi=_t<=0,Vi=_t>=as,$i=un<=0,Qa=un>=Ve,li=or(Hi,Vi,$i,Qa),Ni=function(){return{x:Ln?-un:un,y:_t}},Gi=(0,u.useRef)(Ni()),bi=xt(function(dn){if(yt){var Qt=(0,G.Z)((0,G.Z)({},Ni()),dn);(Gi.current.x!==Qt.x||Gi.current.y!==Qt.y)&&(yt(Qt),Gi.current=Qt)}});function wi(dn,Qt){var Tn=dn;Qt?((0,A.flushSync)(function(){Xr(Tn)}),bi()):tr(Tn)}function xs(dn){var Qt=dn.currentTarget.scrollTop;Qt!==_t&&tr(Qt),at==null||at(dn),bi()}var ss=function(Qt){var Tn=Qt,Vr=Ve?Ve-Xa.width:0;return Tn=Math.max(Tn,0),Tn=Math.min(Tn,Vr),Tn},Ss=xt(function(dn,Qt){Qt?((0,A.flushSync)(function(){Xr(function(Tn){var Vr=Tn+(Ln?-dn:dn);return ss(Vr)})}),bi()):tr(function(Tn){var Vr=Tn+dn;return Vr})}),Cs=Ha(sn,Hi,Vi,$i,Qa,!!Ve,Ss),vs=(0,R.Z)(Cs,2),Ua=vs[0],ji=vs[1];kr(sn,Gr,function(dn,Qt,Tn,Vr){var fa=Vr;return li(dn,Qt,Tn)?!1:!fa||!fa._virtualHandled?(fa&&(fa._virtualHandled=!0),Ua({preventDefault:function(){},deltaX:dn?Qt:0,deltaY:dn?0:Qt}),!0):!1}),_i(Pn,Gr,function(dn){tr(function(Qt){return Qt+dn})}),Bn(function(){function dn(Tn){var Vr=Hi&&Tn.detail<0,fa=Vi&&Tn.detail>0;sn&&!Vr&&!fa&&Tn.preventDefault()}var Qt=Gr.current;return Qt.addEventListener("wheel",Ua,{passive:!1}),Qt.addEventListener("DOMMouseScroll",ji,{passive:!0}),Qt.addEventListener("MozMousePixelScroll",dn,{passive:!1}),function(){Qt.removeEventListener("wheel",Ua),Qt.removeEventListener("DOMMouseScroll",ji),Qt.removeEventListener("MozMousePixelScroll",dn)}},[sn,Hi,Vi]),Bn(function(){if(Ve){var dn=ss(un);Xr(dn),bi({x:dn})}},[Xa.width,Ve]);var es=function(){var Qt,Tn;(Qt=hs.current)===null||Qt===void 0||Qt.delayHidden(),(Tn=Wi.current)===null||Tn===void 0||Tn.delayHidden()},Yi=ii(Gr,jn,It,Y,Hn,function(){return Mt(!0)},tr,es);u.useImperativeHandle(b,function(){return{nativeElement:ba.current,getScrollInfo:Ni,scrollTo:function(Qt){function Tn(Vr){return Vr&&(0,H.Z)(Vr)==="object"&&("left"in Vr||"top"in Vr)}Tn(Qt)?(Qt.left!==void 0&&Xr(ss(Qt.left)),Yi(Qt.top)):Yi(Qt)}}}),Bn(function(){if(Dt){var dn=jn.slice(Ii,Bi+1);Dt(dn,jn)}},[Ii,Bi,jn]);var os=ti(jn,Hn,It,Y),_s=vn==null?void 0:vn({start:Ii,end:Bi,virtual:Pn,offsetX:un,offsetY:ls,rtl:Ln,getSize:os}),Rs=Ca(jn,Ii,Bi,Ve,un,$t,fe,ui),zi=null;V&&(zi=(0,G.Z)((0,Q.Z)({},ce?"height":"maxHeight",V),Fa),sn&&(zi.overflowY="hidden",Ve&&(zi.overflowX="hidden"),Pa&&(zi.pointerEvents="none")));var ms={};return Ln&&(ms.dir="rtl"),u.createElement("div",(0,p.Z)({ref:ba,style:(0,G.Z)((0,G.Z)({},oe),{},{position:"relative"}),className:wr},ms,Nn),u.createElement(Oe.Z,{onResize:ds},u.createElement(Et,{className:"".concat(N,"-holder"),style:zi,ref:Gr,onScroll:xs,onMouseEnter:es},u.createElement(Zr,{prefixCls:N,height:Fr,offsetX:un,offsetY:ls,scrollWidth:Ve,onInnerResize:Mt,ref:va,innerProps:Xt,rtl:Ln,extra:_s},Rs))),Pn&&Fr>V&&u.createElement(Mi,{ref:hs,prefixCls:N,scrollOffset:_t,scrollRange:Fr,rtl:Ln,onScroll:wi,onStartMove:Ci,onStopMove:ja,spinSize:ps,containerSize:Xa.height,style:Wt==null?void 0:Wt.verticalScrollBar,thumbStyle:Wt==null?void 0:Wt.verticalScrollBarThumb,showScrollBar:wn}),Pn&&Ve>Xa.width&&u.createElement(Mi,{ref:Wi,prefixCls:N,scrollOffset:un,scrollRange:Ve,rtl:Ln,onScroll:wi,onStartMove:Ci,onStopMove:ja,spinSize:ws,containerSize:Xa.width,horizontal:!0,style:Wt==null?void 0:Wt.horizontalScrollBar,thumbStyle:Wt==null?void 0:Wt.horizontalScrollBarThumb,showScrollBar:wn}))}var Ga=u.forwardRef(ca);Ga.displayName="List";var _r=Ga,mr=_r,Na=K(null),ni=K(null);function Ti(r,b,S){var N=b||1;return S[r+N]-(S[r]||0)}function Da(r){var b=r.rowInfo,S=r.column,N=r.colIndex,U=r.indent,V=r.index,Y=r.component,ne=r.renderIndex,ce=r.record,oe=r.style,Ne=r.className,fe=r.inverse,Se=r.getHeight,be=S.render,Te=S.dataIndex,Ve=S.className,ct=S.width,Et=e(ni,["columnsOffset"]),at=Et.columnsOffset,yt=Ea(b,S,N,U,V),Dt=yt.key,Xt=yt.fixedInfo,vn=yt.appendCellNode,Wt=yt.additionalCellProps,_n=Wt.style,wn=Wt.colSpan,Nn=wn===void 0?1:wn,Hn=Wt.rowSpan,bn=Hn===void 0?1:Hn,on=N-1,$t=Ti(on,Nn,at),Mt=Nn>1?ct-$t:0,It=(0,G.Z)((0,G.Z)((0,G.Z)({},_n),oe),{},{flex:"0 0 ".concat($t,"px"),width:"".concat($t,"px"),marginRight:Mt,pointerEvents:"auto"}),zt=u.useMemo(function(){return fe?bn<=1:Nn===0||bn===0||bn>1},[bn,Nn,fe]);zt?It.visibility="hidden":fe&&(It.height=Se==null?void 0:Se(bn));var sn=zt?function(){return null}:be,Gt={};return(bn===0||Nn===0)&&(Gt.rowSpan=1,Gt.colSpan=1),u.createElement(Ye,(0,p.Z)({className:C()(Ve,Ne),ellipsis:S.ellipsis,align:S.align,scope:S.rowScope,component:Y,prefixCls:b.prefixCls,key:Dt,record:ce,index:V,renderIndex:ne,dataIndex:Te,render:sn,shouldCellUpdate:S.shouldCellUpdate},Xt,{appendNode:vn,additionalProps:(0,G.Z)((0,G.Z)({},Wt),{},{style:It},Gt)}))}var Zi=Da,ki=["data","index","className","rowKey","style","extra","getHeight"],ri=u.forwardRef(function(r,b){var S=r.data,N=r.index,U=r.className,V=r.rowKey,Y=r.style,ne=r.extra,ce=r.getHeight,oe=(0,kt.Z)(r,ki),Ne=S.record,fe=S.indent,Se=S.index,be=e(d,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Te=be.scrollX,Ve=be.flattenColumns,ct=be.prefixCls,Et=be.fixColumn,at=be.componentWidth,yt=e(Na,["getComponent"]),Dt=yt.getComponent,Xt=hn(Ne,V,N,fe),vn=Dt(["body","row"],"div"),Wt=Dt(["body","cell"],"div"),_n=Xt.rowSupportExpand,wn=Xt.expanded,Nn=Xt.rowProps,Hn=Xt.expandedRowRender,bn=Xt.expandedRowClassName,on;if(_n&&wn){var $t=Hn(Ne,N,fe+1,wn),Mt=Sr(bn,Ne,N,fe),It={};Et&&(It={style:(0,Q.Z)({},"--virtual-width","".concat(at,"px"))});var zt="".concat(ct,"-expanded-row-cell");on=u.createElement(vn,{className:C()("".concat(ct,"-expanded-row"),"".concat(ct,"-expanded-row-level-").concat(fe+1),Mt)},u.createElement(Ye,{component:Wt,prefixCls:ct,className:C()(zt,(0,Q.Z)({},"".concat(zt,"-fixed"),Et)),additionalProps:It},$t))}var sn=(0,G.Z)((0,G.Z)({},Y),{},{width:Te});ne&&(sn.position="absolute",sn.pointerEvents="none");var Gt=u.createElement(vn,(0,p.Z)({},Nn,oe,{"data-row-key":V,ref:_n?null:b,className:C()(U,"".concat(ct,"-row"),Nn==null?void 0:Nn.className,(0,Q.Z)({},"".concat(ct,"-row-extra"),ne)),style:(0,G.Z)((0,G.Z)({},sn),Nn==null?void 0:Nn.style)}),Ve.map(function(Pn,Ln){return u.createElement(Zi,{key:Ln,component:Wt,rowInfo:Xt,column:Pn,colIndex:Ln,indent:fe,index:N,renderIndex:Se,record:Ne,inverse:ne,getHeight:ce})}));return _n?u.createElement("div",{ref:b},Gt,on):Gt}),si=g(ri),Ei=si,Oi=u.forwardRef(function(r,b){var S=r.data,N=r.onScroll,U=e(d,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),V=U.flattenColumns,Y=U.onColumnResize,ne=U.getRowKey,ce=U.expandedKeys,oe=U.prefixCls,Ne=U.childrenColumnName,fe=U.scrollX,Se=U.direction,be=e(Na),Te=be.sticky,Ve=be.scrollY,ct=be.listItemHeight,Et=be.getComponent,at=be.onScroll,yt=u.useRef(),Dt=Sn(S,Ne,ce,ne),Xt=u.useMemo(function(){var on=0;return V.map(function($t){var Mt=$t.width,It=$t.key;return on+=Mt,[It,Mt,on]})},[V]),vn=u.useMemo(function(){return Xt.map(function(on){return on[2]})},[Xt]);u.useEffect(function(){Xt.forEach(function(on){var $t=(0,R.Z)(on,2),Mt=$t[0],It=$t[1];Y(Mt,It)})},[Xt]),u.useImperativeHandle(b,function(){var on,$t={scrollTo:function(It){var zt;(zt=yt.current)===null||zt===void 0||zt.scrollTo(It)},nativeElement:(on=yt.current)===null||on===void 0?void 0:on.nativeElement};return Object.defineProperty($t,"scrollLeft",{get:function(){var It;return((It=yt.current)===null||It===void 0?void 0:It.getScrollInfo().x)||0},set:function(It){var zt;(zt=yt.current)===null||zt===void 0||zt.scrollTo({left:It})}}),$t});var Wt=function($t,Mt){var It,zt=(It=Dt[Mt])===null||It===void 0?void 0:It.record,sn=$t.onCell;if(sn){var Gt,Pn=sn(zt,Mt);return(Gt=Pn==null?void 0:Pn.rowSpan)!==null&&Gt!==void 0?Gt:1}return 1},_n=function($t){var Mt=$t.start,It=$t.end,zt=$t.getSize,sn=$t.offsetY;if(It<0)return null;for(var Gt=V.filter(function(qt){return Wt(qt,Mt)===0}),Pn=Mt,Ln=function(en){if(Gt=Gt.filter(function(un){return Wt(un,en)===0}),!Gt.length)return Pn=en,1},wr=Mt;wr>=0&&!Ln(wr);wr-=1);for(var jn=V.filter(function(qt){return Wt(qt,It)!==1}),Gr=It,va=function(en){if(jn=jn.filter(function(un){return Wt(un,en)!==1}),!jn.length)return Gr=Math.max(en-1,It),1},ba=It;ba<Dt.length&&!va(ba);ba+=1);for(var fr=[],Vn=function(en){var un=Dt[en];if(!un)return 1;V.some(function(Xr){return Wt(Xr,en)>1})&&fr.push(en)},_t=Pn;_t<=Gr;_t+=1)Vn(_t);var Ut=fr.map(function(qt){var en=Dt[qt],un=ne(en.record,qt),Xr=function(Pa){var yi=qt+Pa-1,Ci=ne(Dt[yi].record,yi),ja=zt(un,Ci);return ja.bottom-ja.top},Ba=zt(un);return u.createElement(Ei,{key:qt,data:en,rowKey:un,index:qt,style:{top:-sn+Ba.top},extra:!0,getHeight:Xr})});return Ut},wn=u.useMemo(function(){return{columnsOffset:vn}},[vn]),Nn="".concat(oe,"-tbody"),Hn=Et(["body","wrapper"]),bn={};return Te&&(bn.position="sticky",bn.bottom=0,(0,H.Z)(Te)==="object"&&Te.offsetScroll&&(bn.bottom=Te.offsetScroll)),u.createElement(ni.Provider,{value:wn},u.createElement(mr,{fullHeight:!1,ref:yt,prefixCls:"".concat(Nn,"-virtual"),styles:{horizontalScrollBar:bn},className:Nn,height:Ve,itemHeight:ct||24,data:Dt,itemKey:function($t){return ne($t.record)},component:Hn,scrollWidth:fe,direction:Se,onVirtualScroll:function($t){var Mt,It=$t.x;N({currentTarget:(Mt=yt.current)===null||Mt===void 0?void 0:Mt.nativeElement,scrollLeft:It})},onScroll:at,extraRender:_n},function(on,$t,Mt){var It=ne(on.record,$t);return u.createElement(Ei,{data:on,rowKey:It,index:$t,style:Mt.style})}))}),xi=g(Oi),Di=xi,oi=function(b,S){var N=S.ref,U=S.onScroll;return u.createElement(Di,{ref:N,data:b,onScroll:U})};function Ya(r,b){var S=r.data,N=r.columns,U=r.scroll,V=r.sticky,Y=r.prefixCls,ne=Y===void 0?ee:Y,ce=r.className,oe=r.listItemHeight,Ne=r.components,fe=r.onScroll,Se=U||{},be=Se.x,Te=Se.y;typeof be!="number"&&(be=1),typeof Te!="number"&&(Te=500);var Ve=it(function(at,yt){return D(Ne,at)||yt}),ct=it(fe),Et=u.useMemo(function(){return{sticky:V,scrollY:Te,listItemHeight:oe,getComponent:Ve,onScroll:ct}},[V,Te,oe,Ve,ct]);return u.createElement(Na.Provider,{value:Et},u.createElement(ft,(0,p.Z)({},r,{className:C()(ce,"".concat(ne,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},U),{},{x:be}),components:(0,G.Z)((0,G.Z)({},Ne),{},{body:S!=null&&S.length?oi:void 0}),columns:N,internalHooks:x.R,tailor:!0,ref:b})))}var ai=u.forwardRef(Ya);function gi(r){return y(ai,r)}var Si=gi(),Ki=null},62978:function(St,Ce,i){"use strict";i.d(Ce,{g:function(){return u},v:function(){return z}});var x=i(1413),R=i(45987),$=i(40830),X=["expandable"],z="RC_TABLE_INTERNAL_COL_DEFINE";function u(A){var K=A.expandable,e=(0,R.Z)(A,X),p;return"expandable"in A?p=(0,x.Z)((0,x.Z)({},e),K):p=e,p.showExpandColumn===!1&&(p.expandIconColumnIndex=-1),p}},63295:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return z}});var x=i(71002),R=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),X=Symbol.for("react.fragment");function z(u){return u&&(0,x.Z)(u)==="object"&&(u.$$typeof===R||u.$$typeof===$)&&u.type===X}},40830:function(St,Ce,i){"use strict";var x={},R=[],$=function(h){R.push(h)};function X(p,h){if(0)var t}function z(p,h){if(0)var t}function u(){x={}}function A(p,h,t){!h&&!x[t]&&(p(!1,t),x[t]=!0)}function K(p,h){A(X,p,h)}function e(p,h){A(z,p,h)}K.preMessage=$,K.resetWarned=u,K.noteOnce=e,Ce.ZP=K},46762:function(St,Ce){"use strict";var i;var x=Symbol.for("react.element"),R=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),A=Symbol.for("react.context"),K=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),s=Symbol.for("react.offscreen"),f;f=Symbol.for("react.module.reference");function v(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case x:switch(c=c.type,c){case $:case z:case X:case p:case h:return c;default:switch(c=c&&c.$$typeof,c){case K:case A:case e:case o:case t:case u:return c;default:return y}}case R:return y}}}i=A,i=u,i=x,i=e,i=$,i=o,i=t,i=R,i=z,i=X,i=p,i=h,i=function(){return!1},i=function(){return!1},i=function(c){return v(c)===A},i=function(c){return v(c)===u},i=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===x},i=function(c){return v(c)===e},i=function(c){return v(c)===$},i=function(c){return v(c)===o},i=function(c){return v(c)===t},i=function(c){return v(c)===R},i=function(c){return v(c)===z},i=function(c){return v(c)===X},i=function(c){return v(c)===p},i=function(c){return v(c)===h},i=function(c){return typeof c=="string"||typeof c=="function"||c===$||c===z||c===X||c===p||c===h||c===s||typeof c=="object"&&c!==null&&(c.$$typeof===o||c.$$typeof===t||c.$$typeof===u||c.$$typeof===A||c.$$typeof===e||c.$$typeof===f||c.getModuleId!==void 0)},i=v},35110:function(St,Ce,i){"use strict";i(46762)},36697:function(St,Ce,i){"use strict";i.d(Ce,{G:function(){return z},Z:function(){return Z}});var x=i(94184),R=i.n(x),$=i(67294),X=i.t($,2);function z(W){var H=W.children,G=W.prefixCls,Q=W.id,ye=W.overlayInnerStyle,C=W.bodyClassName,w=W.className,P=W.style;return $.createElement("div",{className:R()("".concat(G,"-content"),w),style:P},$.createElement("div",{className:R()("".concat(G,"-inner"),C),id:Q,role:"tooltip",style:ye},typeof H=="function"?H():H))}var u=i(87462),A=i(1413),K=i(45987),e=i(98280),p={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},t=[0,0],o={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:t},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:t},top:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:t},bottom:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:t},topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:t},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:t},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:t},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:t},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:t},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:t},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:t},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:t}},s=null,f=i(97685);function v(){var W=(0,A.Z)({},X);return W.useId}var c=0;function y(){}var g=v(),E=g?function(H){var G=g();return H||G}:function(H){var G=$.useState("ssr-id"),Q=(0,f.Z)(G,2),ye=Q[0],C=Q[1];return $.useEffect(function(){var w=c;c+=1,C("rc_unique_".concat(w))},[]),H||ye},l=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],d=function(H,G){var Q=H.overlayClassName,ye=H.trigger,C=ye===void 0?["hover"]:ye,w=H.mouseEnterDelay,P=w===void 0?0:w,I=H.mouseLeaveDelay,L=I===void 0?.1:I,D=H.overlayStyle,a=H.prefixCls,n=a===void 0?"rc-tooltip":a,m=H.children,B=H.onVisibleChange,pe=H.afterVisibleChange,De=H.transitionName,Re=H.animation,qe=H.motion,Xe=H.placement,Rt=Xe===void 0?"right":Xe,_e=H.align,it=_e===void 0?{}:_e,$e=H.destroyTooltipOnHide,Ze=$e===void 0?!1:$e,re=H.defaultVisible,Me=H.getTooltipContainer,j=H.overlayInnerStyle,de=H.arrowContent,ae=H.overlay,He=H.id,Le=H.showArrow,F=Le===void 0?!0:Le,O=H.classNames,te=H.styles,he=(0,K.Z)(H,l),J=E(He),le=(0,$.useRef)(null);(0,$.useImperativeHandle)(G,function(){return le.current});var ie=(0,A.Z)({},he);"visible"in H&&(ie.popupVisible=H.visible);var ze=function(){return $.createElement(z,{key:"content",prefixCls:n,id:J,bodyClassName:O==null?void 0:O.body,overlayInnerStyle:(0,A.Z)((0,A.Z)({},j),te==null?void 0:te.body)},ae)},Fe=function(){var dt=$.Children.only(m),At=(dt==null?void 0:dt.props)||{},Ge=(0,A.Z)((0,A.Z)({},At),{},{"aria-describedby":ae?J:null});return $.cloneElement(m,Ge)};return $.createElement(e.Z,(0,u.Z)({popupClassName:R()(Q,O==null?void 0:O.root),prefixCls:n,popup:ze,action:C,builtinPlacements:o,popupPlacement:Rt,ref:le,popupAlign:it,getPopupContainer:Me,onPopupVisibleChange:B,afterPopupVisibleChange:pe,popupTransitionName:De,popupAnimation:Re,popupMotion:qe,defaultPopupVisible:re,autoDestroy:Ze,mouseLeaveDelay:L,popupStyle:(0,A.Z)((0,A.Z)({},D),te==null?void 0:te.root),mouseEnterDelay:P,arrow:F},ie),Fe())},T=(0,$.forwardRef)(d),Z=T},86128:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return E}});var x=i(87462),R=i(4942),$=i(1413),X=i(97685),z=i(45987),u=i(67294),A=i(94184),K=i.n(A),e=i(64217),p=i(27822),h=function(d){for(var T=d.prefixCls,Z=d.level,W=d.isStart,H=d.isEnd,G="".concat(T,"-indent-unit"),Q=[],ye=0;ye<Z;ye+=1)Q.push(u.createElement("span",{key:ye,className:K()(G,(0,R.Z)((0,R.Z)({},"".concat(G,"-start"),W[ye]),"".concat(G,"-end"),H[ye]))}));return u.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},Q)},t=u.memo(h),o=i(35381),s=i(1089),f=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],v="open",c="close",y="---",g=function(d){var T,Z,W,H=d.eventKey,G=d.className,Q=d.style,ye=d.dragOver,C=d.dragOverGapTop,w=d.dragOverGapBottom,P=d.isLeaf,I=d.isStart,L=d.isEnd,D=d.expanded,a=d.selected,n=d.checked,m=d.halfChecked,B=d.loading,pe=d.domRef,De=d.active,Re=d.data,qe=d.onMouseMove,Xe=d.selectable,Rt=(0,z.Z)(d,f),_e=u.useContext(p.k),it=u.useContext(p.y),$e=u.useRef(null),Ze=u.useState(!1),re=(0,X.Z)(Ze,2),Me=re[0],j=re[1],de=!!(_e.disabled||d.disabled||(T=it.nodeDisabled)!==null&&T!==void 0&&T.call(it,Re)),ae=u.useMemo(function(){return!_e.checkable||d.checkable===!1?!1:_e.checkable},[_e.checkable,d.checkable]),He=function(ve){de||_e.onNodeSelect(ve,(0,s.F)(d))},Le=function(ve){de||!ae||d.disableCheckbox||_e.onNodeCheck(ve,(0,s.F)(d),!n)},F=u.useMemo(function(){return typeof Xe=="boolean"?Xe:_e.selectable},[Xe,_e.selectable]),O=function(ve){_e.onNodeClick(ve,(0,s.F)(d)),F?He(ve):Le(ve)},te=function(ve){_e.onNodeDoubleClick(ve,(0,s.F)(d))},he=function(ve){_e.onNodeMouseEnter(ve,(0,s.F)(d))},J=function(ve){_e.onNodeMouseLeave(ve,(0,s.F)(d))},le=function(ve){_e.onNodeContextMenu(ve,(0,s.F)(d))},ie=u.useMemo(function(){return!!(_e.draggable&&(!_e.draggable.nodeDraggable||_e.draggable.nodeDraggable(Re)))},[_e.draggable,Re]),ze=function(ve){ve.stopPropagation(),j(!0),_e.onNodeDragStart(ve,d);try{ve.dataTransfer.setData("text/plain","")}catch(rt){}},Fe=function(ve){ve.preventDefault(),ve.stopPropagation(),_e.onNodeDragEnter(ve,d)},lt=function(ve){ve.preventDefault(),ve.stopPropagation(),_e.onNodeDragOver(ve,d)},dt=function(ve){ve.stopPropagation(),_e.onNodeDragLeave(ve,d)},At=function(ve){ve.stopPropagation(),j(!1),_e.onNodeDragEnd(ve,d)},Ge=function(ve){ve.preventDefault(),ve.stopPropagation(),j(!1),_e.onNodeDrop(ve,d)},Ae=function(ve){B||_e.onNodeExpand(ve,(0,s.F)(d))},ue=u.useMemo(function(){var ge=(0,o.Z)(_e.keyEntities,H)||{},ve=ge.children;return!!(ve||[]).length},[_e.keyEntities,H]),Pe=u.useMemo(function(){return P===!1?!1:P||!_e.loadData&&!ue||_e.loadData&&d.loaded&&!ue},[P,_e.loadData,ue,d.loaded]);u.useEffect(function(){B||typeof _e.loadData=="function"&&D&&!Pe&&!d.loaded&&_e.onNodeLoad((0,s.F)(d))},[B,_e.loadData,_e.onNodeLoad,D,Pe,d]);var ke=u.useMemo(function(){var ge;return(ge=_e.draggable)!==null&&ge!==void 0&&ge.icon?u.createElement("span",{className:"".concat(_e.prefixCls,"-draggable-icon")},_e.draggable.icon):null},[_e.draggable]),Ye=function(ve){var rt=d.switcherIcon||_e.switcherIcon;return typeof rt=="function"?rt((0,$.Z)((0,$.Z)({},d),{},{isLeaf:ve})):rt},st=function(){if(Pe){var ve=Ye(!0);return ve!==!1?u.createElement("span",{className:K()("".concat(_e.prefixCls,"-switcher"),"".concat(_e.prefixCls,"-switcher-noop"))},ve):null}var rt=Ye(!1);return rt!==!1?u.createElement("span",{onClick:Ae,className:K()("".concat(_e.prefixCls,"-switcher"),"".concat(_e.prefixCls,"-switcher_").concat(D?v:c))},rt):null},wt=u.useMemo(function(){if(!ae)return null;var ge=typeof ae!="boolean"?ae:null;return u.createElement("span",{className:K()("".concat(_e.prefixCls,"-checkbox"),(0,R.Z)((0,R.Z)((0,R.Z)({},"".concat(_e.prefixCls,"-checkbox-checked"),n),"".concat(_e.prefixCls,"-checkbox-indeterminate"),!n&&m),"".concat(_e.prefixCls,"-checkbox-disabled"),de||d.disableCheckbox)),onClick:Le,role:"checkbox","aria-checked":m?"mixed":n,"aria-disabled":de||d.disableCheckbox,"aria-label":"Select ".concat(typeof d.title=="string"?d.title:"tree node")},ge)},[ae,n,m,de,d.disableCheckbox,d.title]),Be=u.useMemo(function(){return Pe?null:D?v:c},[Pe,D]),ut=u.useMemo(function(){return u.createElement("span",{className:K()("".concat(_e.prefixCls,"-iconEle"),"".concat(_e.prefixCls,"-icon__").concat(Be||"docu"),(0,R.Z)({},"".concat(_e.prefixCls,"-icon_loading"),B))})},[_e.prefixCls,Be,B]),kt=u.useMemo(function(){var ge=!!_e.draggable,ve=!d.disabled&&ge&&_e.dragOverNodeKey===H;return ve?_e.dropIndicatorRender({dropPosition:_e.dropPosition,dropLevelOffset:_e.dropLevelOffset,indent:_e.indent,prefixCls:_e.prefixCls,direction:_e.direction}):null},[_e.dropPosition,_e.dropLevelOffset,_e.indent,_e.prefixCls,_e.direction,_e.draggable,_e.dragOverNodeKey,_e.dropIndicatorRender]),vt=u.useMemo(function(){var ge=d.title,ve=ge===void 0?y:ge,rt="".concat(_e.prefixCls,"-node-content-wrapper"),tt;if(_e.showIcon){var ht=d.icon||_e.icon;tt=ht?u.createElement("span",{className:K()("".concat(_e.prefixCls,"-iconEle"),"".concat(_e.prefixCls,"-icon__customize"))},typeof ht=="function"?ht(d):ht):ut}else _e.loadData&&B&&(tt=ut);var Nt;return typeof ve=="function"?Nt=ve(Re):_e.titleRender?Nt=_e.titleRender(Re):Nt=ve,u.createElement("span",{ref:$e,title:typeof ve=="string"?ve:"",className:K()(rt,"".concat(rt,"-").concat(Be||"normal"),(0,R.Z)({},"".concat(_e.prefixCls,"-node-selected"),!de&&(a||Me))),onMouseEnter:he,onMouseLeave:J,onContextMenu:le,onClick:O,onDoubleClick:te},tt,u.createElement("span",{className:"".concat(_e.prefixCls,"-title")},Nt),kt)},[_e.prefixCls,_e.showIcon,d,_e.icon,ut,_e.titleRender,Re,Be,he,J,le,O,te]),nt=(0,e.Z)(Rt,{aria:!0,data:!0}),bt=(0,o.Z)(_e.keyEntities,H)||{},tn=bt.level,rn=L[L.length-1],Yt=!de&&ie,se=_e.draggingNodeKey===H,Oe=Xe!==void 0?{"aria-selected":!!Xe}:void 0;return u.createElement("div",(0,x.Z)({ref:pe,role:"treeitem","aria-expanded":P?void 0:D,className:K()(G,"".concat(_e.prefixCls,"-treenode"),(W={},(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)(W,"".concat(_e.prefixCls,"-treenode-disabled"),de),"".concat(_e.prefixCls,"-treenode-switcher-").concat(D?"open":"close"),!P),"".concat(_e.prefixCls,"-treenode-checkbox-checked"),n),"".concat(_e.prefixCls,"-treenode-checkbox-indeterminate"),m),"".concat(_e.prefixCls,"-treenode-selected"),a),"".concat(_e.prefixCls,"-treenode-loading"),B),"".concat(_e.prefixCls,"-treenode-active"),De),"".concat(_e.prefixCls,"-treenode-leaf-last"),rn),"".concat(_e.prefixCls,"-treenode-draggable"),ie),"dragging",se),(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)(W,"drop-target",_e.dropTargetKey===H),"drop-container",_e.dropContainerKey===H),"drag-over",!de&&ye),"drag-over-gap-top",!de&&C),"drag-over-gap-bottom",!de&&w),"filter-node",(Z=_e.filterTreeNode)===null||Z===void 0?void 0:Z.call(_e,(0,s.F)(d))),"".concat(_e.prefixCls,"-treenode-leaf"),Pe))),style:Q,draggable:Yt,onDragStart:Yt?ze:void 0,onDragEnter:ie?Fe:void 0,onDragOver:ie?lt:void 0,onDragLeave:ie?dt:void 0,onDrop:ie?Ge:void 0,onDragEnd:ie?At:void 0,onMouseMove:qe},Oe,nt),u.createElement(t,{prefixCls:_e.prefixCls,level:tn,isStart:I,isEnd:L}),ke,st(),wt,vt)};g.isTreeNode=1;var E=g},27822:function(St,Ce,i){"use strict";i.d(Ce,{k:function(){return R},y:function(){return $}});var x=i(67294),R=x.createContext(null),$=x.createContext({})},70593:function(St,Ce,i){"use strict";i.d(Ce,{OF:function(){return H.Z},y6:function(){return c.y},ZP:function(){return de}});var x=i(87462),R=i(71002),$=i(1413),X=i(74902),z=i(15671),u=i(43144),A=i(97326),K=i(60136),e=i(29388),p=i(4942),h=i(94184),t=i.n(h),o=i(15105),s=i(64217),f=i(80334),v=i(67294),c=i(27822),y=function(He){var Le=He.dropPosition,F=He.dropLevelOffset,O=He.indent,te={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Le){case-1:te.top=0,te.left=-F*O;break;case 1:te.bottom=0,te.left=-F*O;break;case 0:te.bottom=0,te.left=O;break}return v.createElement("div",{style:te})},g=y;function E(ae){if(ae==null)throw new TypeError("Cannot destructure "+ae)}var l=i(97685),d=i(45987),T=i(8410),Z=i(73299),W=i(62874),H=i(86128);function G(ae,He){var Le=v.useState(!1),F=(0,l.Z)(Le,2),O=F[0],te=F[1];(0,T.Z)(function(){if(O)return ae(),function(){He()}},[O]),(0,T.Z)(function(){return te(!0),function(){te(!1)}},[])}var Q=G,ye=i(1089),C=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],w=v.forwardRef(function(ae,He){var Le=ae.className,F=ae.style,O=ae.motion,te=ae.motionNodes,he=ae.motionType,J=ae.onMotionStart,le=ae.onMotionEnd,ie=ae.active,ze=ae.treeNodeRequiredProps,Fe=(0,d.Z)(ae,C),lt=v.useState(!0),dt=(0,l.Z)(lt,2),At=dt[0],Ge=dt[1],Ae=v.useContext(c.k),ue=Ae.prefixCls,Pe=te&&he!=="hide";(0,T.Z)(function(){te&&Pe!==At&&Ge(Pe)},[te]);var ke=function(){te&&J()},Ye=v.useRef(!1),st=function(){te&&!Ye.current&&(Ye.current=!0,le())};Q(ke,st);var wt=function(ut){Pe===ut&&st()};return te?v.createElement(W.Z,(0,x.Z)({ref:He,visible:At},O,{motionAppear:he==="show",onVisibleChanged:wt}),function(Be,ut){var kt=Be.className,vt=Be.style;return v.createElement("div",{ref:ut,className:t()("".concat(ue,"-treenode-motion"),kt),style:vt},te.map(function(nt){var bt=Object.assign({},(E(nt.data),nt.data)),tn=nt.title,rn=nt.key,Yt=nt.isStart,se=nt.isEnd;delete bt.children;var Oe=(0,ye.H8)(rn,ze);return v.createElement(H.Z,(0,x.Z)({},bt,Oe,{title:tn,active:ie,data:nt.data,key:rn,isStart:Yt,isEnd:se}))}))}):v.createElement(H.Z,(0,x.Z)({domRef:He,className:Le,style:F},Fe,{active:ie}))}),P=w;function I(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Le=ae.length,F=He.length;if(Math.abs(Le-F)!==1)return{add:!1,key:null};function O(te,he){var J=new Map;te.forEach(function(ie){J.set(ie,!0)});var le=he.filter(function(ie){return!J.has(ie)});return le.length===1?le[0]:null}return Le<F?{add:!0,key:O(ae,He)}:{add:!1,key:O(He,ae)}}function L(ae,He,Le){var F=ae.findIndex(function(J){return J.key===Le}),O=ae[F+1],te=He.findIndex(function(J){return J.key===Le});if(O){var he=He.findIndex(function(J){return J.key===O.key});return He.slice(te+1,he)}return He.slice(te+1)}var D=["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"],a={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},n=function(){},m="RC_TREE_MOTION_".concat(Math.random()),B={key:m},pe={key:m,level:0,index:0,pos:"0",node:B,nodes:[B]},De={parent:null,children:[],pos:pe.pos,data:B,title:null,key:m,isStart:[],isEnd:[]};function Re(ae,He,Le,F){return He===!1||!Le?ae:ae.slice(0,Math.ceil(Le/F)+1)}function qe(ae){var He=ae.key,Le=ae.pos;return(0,ye.km)(He,Le)}function Xe(ae){for(var He=String(ae.data.key),Le=ae;Le.parent;)Le=Le.parent,He="".concat(Le.data.key," > ").concat(He);return He}var Rt=v.forwardRef(function(ae,He){var Le=ae.prefixCls,F=ae.data,O=ae.selectable,te=ae.checkable,he=ae.expandedKeys,J=ae.selectedKeys,le=ae.checkedKeys,ie=ae.loadedKeys,ze=ae.loadingKeys,Fe=ae.halfCheckedKeys,lt=ae.keyEntities,dt=ae.disabled,At=ae.dragging,Ge=ae.dragOverNodeKey,Ae=ae.dropPosition,ue=ae.motion,Pe=ae.height,ke=ae.itemHeight,Ye=ae.virtual,st=ae.scrollWidth,wt=ae.focusable,Be=ae.activeItem,ut=ae.focused,kt=ae.tabIndex,vt=ae.onKeyDown,nt=ae.onFocus,bt=ae.onBlur,tn=ae.onActiveChange,rn=ae.onListChangeStart,Yt=ae.onListChangeEnd,se=(0,d.Z)(ae,D),Oe=v.useRef(null),ge=v.useRef(null);v.useImperativeHandle(He,function(){return{scrollTo:function(zn){Oe.current.scrollTo(zn)},getIndentWidth:function(){return ge.current.offsetWidth}}});var ve=v.useState(he),rt=(0,l.Z)(ve,2),tt=rt[0],ht=rt[1],Nt=v.useState(F),Ht=(0,l.Z)(Nt,2),Kt=Ht[0],Pt=Ht[1],mt=v.useState(F),jt=(0,l.Z)(mt,2),Lt=jt[0],Bt=jt[1],pt=v.useState([]),Ue=(0,l.Z)(pt,2),et=Ue[0],Tt=Ue[1],nn=v.useState(null),fn=(0,l.Z)(nn,2),Zn=fn[0],ir=fn[1],kn=v.useRef(F);kn.current=F;function mn(){var an=kn.current;Pt(an),Bt(an),Tt([]),ir(null),Yt()}(0,T.Z)(function(){ht(he);var an=I(tt,he);if(an.key!==null)if(an.add){var zn=Kt.findIndex(function(hn){var Mn=hn.key;return Mn===an.key}),Dn=Re(L(Kt,F,an.key),Ye,Pe,ke),ln=Kt.slice();ln.splice(zn+1,0,De),Bt(ln),Tt(Dn),ir("show")}else{var gn=F.findIndex(function(hn){var Mn=hn.key;return Mn===an.key}),yn=Re(L(F,Kt,an.key),Ye,Pe,ke),Sn=F.slice();Sn.splice(gn+1,0,De),Bt(Sn),Tt(yn),ir("hide")}else Kt!==F&&(Pt(F),Bt(F))},[he,F]),v.useEffect(function(){At||mn()},[At]);var On=ue?Lt:F,Gn={expandedKeys:he,selectedKeys:J,loadedKeys:ie,loadingKeys:ze,checkedKeys:le,halfCheckedKeys:Fe,dragOverNodeKey:Ge,dropPosition:Ae,keyEntities:lt};return v.createElement(v.Fragment,null,ut&&Be&&v.createElement("span",{style:a,"aria-live":"assertive"},Xe(Be)),v.createElement("div",null,v.createElement("input",{style:a,disabled:wt===!1||dt,tabIndex:wt!==!1?kt:null,onKeyDown:vt,onFocus:nt,onBlur:bt,value:"",onChange:n,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(Le,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(Le,"-indent")},v.createElement("div",{ref:ge,className:"".concat(Le,"-indent-unit")}))),v.createElement(Z.Z,(0,x.Z)({},se,{data:On,itemKey:qe,height:Pe,fullHeight:!1,virtual:Ye,itemHeight:ke,scrollWidth:st,prefixCls:"".concat(Le,"-list"),ref:Oe,role:"tree",onVisibleChange:function(zn){zn.every(function(Dn){return qe(Dn)!==m})&&mn()}}),function(an){var zn=an.pos,Dn=Object.assign({},(E(an.data),an.data)),ln=an.title,gn=an.key,yn=an.isStart,Sn=an.isEnd,hn=(0,ye.km)(gn,zn);delete Dn.key,delete Dn.children;var Mn=(0,ye.H8)(hn,Gn);return v.createElement(P,(0,x.Z)({},Dn,Mn,{title:ln,active:!!Be&&gn===Be.key,pos:zn,data:an.data,isStart:yn,isEnd:Sn,motion:ue,motionNodes:gn===m?et:null,motionType:Zn,onMotionStart:rn,onMotionEnd:mn,treeNodeRequiredProps:Gn,onMouseMove:function(){tn(null)}}))}))}),_e=Rt,it=i(10225),$e=i(17341),Ze=i(35381),re=10,Me=function(ae){(0,K.Z)(Le,ae);var He=(0,e.Z)(Le);function Le(){var F;(0,z.Z)(this,Le);for(var O=arguments.length,te=new Array(O),he=0;he<O;he++)te[he]=arguments[he];return F=He.call.apply(He,[this].concat(te)),(0,p.Z)((0,A.Z)(F),"destroyed",!1),(0,p.Z)((0,A.Z)(F),"delayedDragEnterLogic",void 0),(0,p.Z)((0,A.Z)(F),"loadingRetryTimes",{}),(0,p.Z)((0,A.Z)(F),"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,ye.w$)()}),(0,p.Z)((0,A.Z)(F),"dragStartMousePosition",null),(0,p.Z)((0,A.Z)(F),"dragNodeProps",null),(0,p.Z)((0,A.Z)(F),"currentMouseOverDroppableNodeKey",null),(0,p.Z)((0,A.Z)(F),"listRef",v.createRef()),(0,p.Z)((0,A.Z)(F),"onNodeDragStart",function(J,le){var ie=F.state,ze=ie.expandedKeys,Fe=ie.keyEntities,lt=F.props.onDragStart,dt=le.eventKey;F.dragNodeProps=le,F.dragStartMousePosition={x:J.clientX,y:J.clientY};var At=(0,it._5)(ze,dt);F.setState({draggingNodeKey:dt,dragChildrenKeys:(0,it.wA)(dt,Fe),indent:F.listRef.current.getIndentWidth()}),F.setExpandedKeys(At),window.addEventListener("dragend",F.onWindowDragEnd),lt==null||lt({event:J,node:(0,ye.F)(le)})}),(0,p.Z)((0,A.Z)(F),"onNodeDragEnter",function(J,le){var ie=F.state,ze=ie.expandedKeys,Fe=ie.keyEntities,lt=ie.dragChildrenKeys,dt=ie.flattenNodes,At=ie.indent,Ge=F.props,Ae=Ge.onDragEnter,ue=Ge.onExpand,Pe=Ge.allowDrop,ke=Ge.direction,Ye=le.pos,st=le.eventKey;if(F.currentMouseOverDroppableNodeKey!==st&&(F.currentMouseOverDroppableNodeKey=st),!F.dragNodeProps){F.resetDragState();return}var wt=(0,it.OM)(J,F.dragNodeProps,le,At,F.dragStartMousePosition,Pe,dt,Fe,ze,ke),Be=wt.dropPosition,ut=wt.dropLevelOffset,kt=wt.dropTargetKey,vt=wt.dropContainerKey,nt=wt.dropTargetPos,bt=wt.dropAllowed,tn=wt.dragOverNodeKey;if(lt.includes(kt)||!bt){F.resetDragState();return}if(F.delayedDragEnterLogic||(F.delayedDragEnterLogic={}),Object.keys(F.delayedDragEnterLogic).forEach(function(rn){clearTimeout(F.delayedDragEnterLogic[rn])}),F.dragNodeProps.eventKey!==le.eventKey&&(J.persist(),F.delayedDragEnterLogic[Ye]=window.setTimeout(function(){if(F.state.draggingNodeKey!==null){var rn=(0,X.Z)(ze),Yt=(0,Ze.Z)(Fe,le.eventKey);Yt&&(Yt.children||[]).length&&(rn=(0,it.L0)(ze,le.eventKey)),F.props.hasOwnProperty("expandedKeys")||F.setExpandedKeys(rn),ue==null||ue(rn,{node:(0,ye.F)(le),expanded:!0,nativeEvent:J.nativeEvent})}},800)),F.dragNodeProps.eventKey===kt&&ut===0){F.resetDragState();return}F.setState({dragOverNodeKey:tn,dropPosition:Be,dropLevelOffset:ut,dropTargetKey:kt,dropContainerKey:vt,dropTargetPos:nt,dropAllowed:bt}),Ae==null||Ae({event:J,node:(0,ye.F)(le),expandedKeys:ze})}),(0,p.Z)((0,A.Z)(F),"onNodeDragOver",function(J,le){var ie=F.state,ze=ie.dragChildrenKeys,Fe=ie.flattenNodes,lt=ie.keyEntities,dt=ie.expandedKeys,At=ie.indent,Ge=F.props,Ae=Ge.onDragOver,ue=Ge.allowDrop,Pe=Ge.direction;if(F.dragNodeProps){var ke=(0,it.OM)(J,F.dragNodeProps,le,At,F.dragStartMousePosition,ue,Fe,lt,dt,Pe),Ye=ke.dropPosition,st=ke.dropLevelOffset,wt=ke.dropTargetKey,Be=ke.dropContainerKey,ut=ke.dropTargetPos,kt=ke.dropAllowed,vt=ke.dragOverNodeKey;ze.includes(wt)||!kt||(F.dragNodeProps.eventKey===wt&&st===0?F.state.dropPosition===null&&F.state.dropLevelOffset===null&&F.state.dropTargetKey===null&&F.state.dropContainerKey===null&&F.state.dropTargetPos===null&&F.state.dropAllowed===!1&&F.state.dragOverNodeKey===null||F.resetDragState():Ye===F.state.dropPosition&&st===F.state.dropLevelOffset&&wt===F.state.dropTargetKey&&Be===F.state.dropContainerKey&&ut===F.state.dropTargetPos&&kt===F.state.dropAllowed&&vt===F.state.dragOverNodeKey||F.setState({dropPosition:Ye,dropLevelOffset:st,dropTargetKey:wt,dropContainerKey:Be,dropTargetPos:ut,dropAllowed:kt,dragOverNodeKey:vt}),Ae==null||Ae({event:J,node:(0,ye.F)(le)}))}}),(0,p.Z)((0,A.Z)(F),"onNodeDragLeave",function(J,le){F.currentMouseOverDroppableNodeKey===le.eventKey&&!J.currentTarget.contains(J.relatedTarget)&&(F.resetDragState(),F.currentMouseOverDroppableNodeKey=null);var ie=F.props.onDragLeave;ie==null||ie({event:J,node:(0,ye.F)(le)})}),(0,p.Z)((0,A.Z)(F),"onWindowDragEnd",function(J){F.onNodeDragEnd(J,null,!0),window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,p.Z)((0,A.Z)(F),"onNodeDragEnd",function(J,le){var ie=F.props.onDragEnd;F.setState({dragOverNodeKey:null}),F.cleanDragState(),ie==null||ie({event:J,node:(0,ye.F)(le)}),F.dragNodeProps=null,window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,p.Z)((0,A.Z)(F),"onNodeDrop",function(J,le){var ie,ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Fe=F.state,lt=Fe.dragChildrenKeys,dt=Fe.dropPosition,At=Fe.dropTargetKey,Ge=Fe.dropTargetPos,Ae=Fe.dropAllowed;if(Ae){var ue=F.props.onDrop;if(F.setState({dragOverNodeKey:null}),F.cleanDragState(),At!==null){var Pe=(0,$.Z)((0,$.Z)({},(0,ye.H8)(At,F.getTreeNodeRequiredProps())),{},{active:((ie=F.getActiveItem())===null||ie===void 0?void 0:ie.key)===At,data:(0,Ze.Z)(F.state.keyEntities,At).node}),ke=lt.includes(At);(0,f.ZP)(!ke,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ye=(0,it.yx)(Ge),st={event:J,node:(0,ye.F)(Pe),dragNode:F.dragNodeProps?(0,ye.F)(F.dragNodeProps):null,dragNodesKeys:[F.dragNodeProps.eventKey].concat(lt),dropToGap:dt!==0,dropPosition:dt+Number(Ye[Ye.length-1])};ze||ue==null||ue(st),F.dragNodeProps=null}}}),(0,p.Z)((0,A.Z)(F),"cleanDragState",function(){var J=F.state.draggingNodeKey;J!==null&&F.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),F.dragStartMousePosition=null,F.currentMouseOverDroppableNodeKey=null}),(0,p.Z)((0,A.Z)(F),"triggerExpandActionExpand",function(J,le){var ie=F.state,ze=ie.expandedKeys,Fe=ie.flattenNodes,lt=le.expanded,dt=le.key,At=le.isLeaf;if(!(At||J.shiftKey||J.metaKey||J.ctrlKey)){var Ge=Fe.filter(function(ue){return ue.key===dt})[0],Ae=(0,ye.F)((0,$.Z)((0,$.Z)({},(0,ye.H8)(dt,F.getTreeNodeRequiredProps())),{},{data:Ge.data}));F.setExpandedKeys(lt?(0,it._5)(ze,dt):(0,it.L0)(ze,dt)),F.onNodeExpand(J,Ae)}}),(0,p.Z)((0,A.Z)(F),"onNodeClick",function(J,le){var ie=F.props,ze=ie.onClick,Fe=ie.expandAction;Fe==="click"&&F.triggerExpandActionExpand(J,le),ze==null||ze(J,le)}),(0,p.Z)((0,A.Z)(F),"onNodeDoubleClick",function(J,le){var ie=F.props,ze=ie.onDoubleClick,Fe=ie.expandAction;Fe==="doubleClick"&&F.triggerExpandActionExpand(J,le),ze==null||ze(J,le)}),(0,p.Z)((0,A.Z)(F),"onNodeSelect",function(J,le){var ie=F.state.selectedKeys,ze=F.state,Fe=ze.keyEntities,lt=ze.fieldNames,dt=F.props,At=dt.onSelect,Ge=dt.multiple,Ae=le.selected,ue=le[lt.key],Pe=!Ae;Pe?Ge?ie=(0,it.L0)(ie,ue):ie=[ue]:ie=(0,it._5)(ie,ue);var ke=ie.map(function(Ye){var st=(0,Ze.Z)(Fe,Ye);return st?st.node:null}).filter(Boolean);F.setUncontrolledState({selectedKeys:ie}),At==null||At(ie,{event:"select",selected:Pe,node:le,selectedNodes:ke,nativeEvent:J.nativeEvent})}),(0,p.Z)((0,A.Z)(F),"onNodeCheck",function(J,le,ie){var ze=F.state,Fe=ze.keyEntities,lt=ze.checkedKeys,dt=ze.halfCheckedKeys,At=F.props,Ge=At.checkStrictly,Ae=At.onCheck,ue=le.key,Pe,ke={event:"check",node:le,checked:ie,nativeEvent:J.nativeEvent};if(Ge){var Ye=ie?(0,it.L0)(lt,ue):(0,it._5)(lt,ue),st=(0,it._5)(dt,ue);Pe={checked:Ye,halfChecked:st},ke.checkedNodes=Ye.map(function(nt){return(0,Ze.Z)(Fe,nt)}).filter(Boolean).map(function(nt){return nt.node}),F.setUncontrolledState({checkedKeys:Ye})}else{var wt=(0,$e.S)([].concat((0,X.Z)(lt),[ue]),!0,Fe),Be=wt.checkedKeys,ut=wt.halfCheckedKeys;if(!ie){var kt=new Set(Be);kt.delete(ue);var vt=(0,$e.S)(Array.from(kt),{checked:!1,halfCheckedKeys:ut},Fe);Be=vt.checkedKeys,ut=vt.halfCheckedKeys}Pe=Be,ke.checkedNodes=[],ke.checkedNodesPositions=[],ke.halfCheckedKeys=ut,Be.forEach(function(nt){var bt=(0,Ze.Z)(Fe,nt);if(bt){var tn=bt.node,rn=bt.pos;ke.checkedNodes.push(tn),ke.checkedNodesPositions.push({node:tn,pos:rn})}}),F.setUncontrolledState({checkedKeys:Be},!1,{halfCheckedKeys:ut})}Ae==null||Ae(Pe,ke)}),(0,p.Z)((0,A.Z)(F),"onNodeLoad",function(J){var le,ie=J.key,ze=F.state.keyEntities,Fe=(0,Ze.Z)(ze,ie);if(!(Fe!=null&&(le=Fe.children)!==null&&le!==void 0&&le.length)){var lt=new Promise(function(dt,At){F.setState(function(Ge){var Ae=Ge.loadedKeys,ue=Ae===void 0?[]:Ae,Pe=Ge.loadingKeys,ke=Pe===void 0?[]:Pe,Ye=F.props,st=Ye.loadData,wt=Ye.onLoad;if(!st||ue.includes(ie)||ke.includes(ie))return null;var Be=st(J);return Be.then(function(){var ut=F.state.loadedKeys,kt=(0,it.L0)(ut,ie);wt==null||wt(kt,{event:"load",node:J}),F.setUncontrolledState({loadedKeys:kt}),F.setState(function(vt){return{loadingKeys:(0,it._5)(vt.loadingKeys,ie)}}),dt()}).catch(function(ut){if(F.setState(function(vt){return{loadingKeys:(0,it._5)(vt.loadingKeys,ie)}}),F.loadingRetryTimes[ie]=(F.loadingRetryTimes[ie]||0)+1,F.loadingRetryTimes[ie]>=re){var kt=F.state.loadedKeys;(0,f.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),F.setUncontrolledState({loadedKeys:(0,it.L0)(kt,ie)}),dt()}At(ut)}),{loadingKeys:(0,it.L0)(ke,ie)}})});return lt.catch(function(){}),lt}}),(0,p.Z)((0,A.Z)(F),"onNodeMouseEnter",function(J,le){var ie=F.props.onMouseEnter;ie==null||ie({event:J,node:le})}),(0,p.Z)((0,A.Z)(F),"onNodeMouseLeave",function(J,le){var ie=F.props.onMouseLeave;ie==null||ie({event:J,node:le})}),(0,p.Z)((0,A.Z)(F),"onNodeContextMenu",function(J,le){var ie=F.props.onRightClick;ie&&(J.preventDefault(),ie({event:J,node:le}))}),(0,p.Z)((0,A.Z)(F),"onFocus",function(){var J=F.props.onFocus;F.setState({focused:!0});for(var le=arguments.length,ie=new Array(le),ze=0;ze<le;ze++)ie[ze]=arguments[ze];J==null||J.apply(void 0,ie)}),(0,p.Z)((0,A.Z)(F),"onBlur",function(){var J=F.props.onBlur;F.setState({focused:!1}),F.onActiveChange(null);for(var le=arguments.length,ie=new Array(le),ze=0;ze<le;ze++)ie[ze]=arguments[ze];J==null||J.apply(void 0,ie)}),(0,p.Z)((0,A.Z)(F),"getTreeNodeRequiredProps",function(){var J=F.state,le=J.expandedKeys,ie=J.selectedKeys,ze=J.loadedKeys,Fe=J.loadingKeys,lt=J.checkedKeys,dt=J.halfCheckedKeys,At=J.dragOverNodeKey,Ge=J.dropPosition,Ae=J.keyEntities;return{expandedKeys:le||[],selectedKeys:ie||[],loadedKeys:ze||[],loadingKeys:Fe||[],checkedKeys:lt||[],halfCheckedKeys:dt||[],dragOverNodeKey:At,dropPosition:Ge,keyEntities:Ae}}),(0,p.Z)((0,A.Z)(F),"setExpandedKeys",function(J){var le=F.state,ie=le.treeData,ze=le.fieldNames,Fe=(0,ye.oH)(ie,J,ze);F.setUncontrolledState({expandedKeys:J,flattenNodes:Fe},!0)}),(0,p.Z)((0,A.Z)(F),"onNodeExpand",function(J,le){var ie=F.state.expandedKeys,ze=F.state,Fe=ze.listChanging,lt=ze.fieldNames,dt=F.props,At=dt.onExpand,Ge=dt.loadData,Ae=le.expanded,ue=le[lt.key];if(!Fe){var Pe=ie.includes(ue),ke=!Ae;if((0,f.ZP)(Ae&&Pe||!Ae&&!Pe,"Expand state not sync with index check"),ie=ke?(0,it.L0)(ie,ue):(0,it._5)(ie,ue),F.setExpandedKeys(ie),At==null||At(ie,{node:le,expanded:ke,nativeEvent:J.nativeEvent}),ke&&Ge){var Ye=F.onNodeLoad(le);Ye&&Ye.then(function(){var st=(0,ye.oH)(F.state.treeData,ie,lt);F.setUncontrolledState({flattenNodes:st})}).catch(function(){var st=F.state.expandedKeys,wt=(0,it._5)(st,ue);F.setExpandedKeys(wt)})}}}),(0,p.Z)((0,A.Z)(F),"onListChangeStart",function(){F.setUncontrolledState({listChanging:!0})}),(0,p.Z)((0,A.Z)(F),"onListChangeEnd",function(){setTimeout(function(){F.setUncontrolledState({listChanging:!1})})}),(0,p.Z)((0,A.Z)(F),"onActiveChange",function(J){var le=F.state.activeKey,ie=F.props,ze=ie.onActiveChange,Fe=ie.itemScrollOffset,lt=Fe===void 0?0:Fe;le!==J&&(F.setState({activeKey:J}),J!==null&&F.scrollTo({key:J,offset:lt}),ze==null||ze(J))}),(0,p.Z)((0,A.Z)(F),"getActiveItem",function(){var J=F.state,le=J.activeKey,ie=J.flattenNodes;return le===null?null:ie.find(function(ze){var Fe=ze.key;return Fe===le})||null}),(0,p.Z)((0,A.Z)(F),"offsetActiveKey",function(J){var le=F.state,ie=le.flattenNodes,ze=le.activeKey,Fe=ie.findIndex(function(At){var Ge=At.key;return Ge===ze});Fe===-1&&J<0&&(Fe=ie.length),Fe=(Fe+J+ie.length)%ie.length;var lt=ie[Fe];if(lt){var dt=lt.key;F.onActiveChange(dt)}else F.onActiveChange(null)}),(0,p.Z)((0,A.Z)(F),"onKeyDown",function(J){var le=F.state,ie=le.activeKey,ze=le.expandedKeys,Fe=le.checkedKeys,lt=le.fieldNames,dt=F.props,At=dt.onKeyDown,Ge=dt.checkable,Ae=dt.selectable;switch(J.which){case o.Z.UP:{F.offsetActiveKey(-1),J.preventDefault();break}case o.Z.DOWN:{F.offsetActiveKey(1),J.preventDefault();break}}var ue=F.getActiveItem();if(ue&&ue.data){var Pe=F.getTreeNodeRequiredProps(),ke=ue.data.isLeaf===!1||!!(ue.data[lt.children]||[]).length,Ye=(0,ye.F)((0,$.Z)((0,$.Z)({},(0,ye.H8)(ie,Pe)),{},{data:ue.data,active:!0}));switch(J.which){case o.Z.LEFT:{ke&&ze.includes(ie)?F.onNodeExpand({},Ye):ue.parent&&F.onActiveChange(ue.parent.key),J.preventDefault();break}case o.Z.RIGHT:{ke&&!ze.includes(ie)?F.onNodeExpand({},Ye):ue.children&&ue.children.length&&F.onActiveChange(ue.children[0].key),J.preventDefault();break}case o.Z.ENTER:case o.Z.SPACE:{Ge&&!Ye.disabled&&Ye.checkable!==!1&&!Ye.disableCheckbox?F.onNodeCheck({},Ye,!Fe.includes(ie)):!Ge&&Ae&&!Ye.disabled&&Ye.selectable!==!1&&F.onNodeSelect({},Ye);break}}}At==null||At(J)}),(0,p.Z)((0,A.Z)(F),"setUncontrolledState",function(J){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!F.destroyed){var ze=!1,Fe=!0,lt={};Object.keys(J).forEach(function(dt){if(F.props.hasOwnProperty(dt)){Fe=!1;return}ze=!0,lt[dt]=J[dt]}),ze&&(!le||Fe)&&F.setState((0,$.Z)((0,$.Z)({},lt),ie))}}),(0,p.Z)((0,A.Z)(F),"scrollTo",function(J){F.listRef.current.scrollTo(J)}),F}return(0,u.Z)(Le,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var O=this.props,te=O.activeKey,he=O.itemScrollOffset,J=he===void 0?0:he;te!==void 0&&te!==this.state.activeKey&&(this.setState({activeKey:te}),te!==null&&this.scrollTo({key:te,offset:J}))}},{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 O=this.state,te=O.focused,he=O.flattenNodes,J=O.keyEntities,le=O.draggingNodeKey,ie=O.activeKey,ze=O.dropLevelOffset,Fe=O.dropContainerKey,lt=O.dropTargetKey,dt=O.dropPosition,At=O.dragOverNodeKey,Ge=O.indent,Ae=this.props,ue=Ae.prefixCls,Pe=Ae.className,ke=Ae.style,Ye=Ae.showLine,st=Ae.focusable,wt=Ae.tabIndex,Be=wt===void 0?0:wt,ut=Ae.selectable,kt=Ae.showIcon,vt=Ae.icon,nt=Ae.switcherIcon,bt=Ae.draggable,tn=Ae.checkable,rn=Ae.checkStrictly,Yt=Ae.disabled,se=Ae.motion,Oe=Ae.loadData,ge=Ae.filterTreeNode,ve=Ae.height,rt=Ae.itemHeight,tt=Ae.scrollWidth,ht=Ae.virtual,Nt=Ae.titleRender,Ht=Ae.dropIndicatorRender,Kt=Ae.onContextMenu,Pt=Ae.onScroll,mt=Ae.direction,jt=Ae.rootClassName,Lt=Ae.rootStyle,Bt=(0,s.Z)(this.props,{aria:!0,data:!0}),pt;bt&&((0,R.Z)(bt)==="object"?pt=bt:typeof bt=="function"?pt={nodeDraggable:bt}:pt={});var Ue={prefixCls:ue,selectable:ut,showIcon:kt,icon:vt,switcherIcon:nt,draggable:pt,draggingNodeKey:le,checkable:tn,checkStrictly:rn,disabled:Yt,keyEntities:J,dropLevelOffset:ze,dropContainerKey:Fe,dropTargetKey:lt,dropPosition:dt,dragOverNodeKey:At,indent:Ge,direction:mt,dropIndicatorRender:Ht,loadData:Oe,filterTreeNode:ge,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 v.createElement(c.k.Provider,{value:Ue},v.createElement("div",{className:t()(ue,Pe,jt,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(ue,"-show-line"),Ye),"".concat(ue,"-focused"),te),"".concat(ue,"-active-focused"),ie!==null)),style:Lt},v.createElement(_e,(0,x.Z)({ref:this.listRef,prefixCls:ue,style:ke,data:he,disabled:Yt,selectable:ut,checkable:!!tn,motion:se,dragging:le!==null,height:ve,itemHeight:rt,virtual:ht,focusable:st,focused:te,tabIndex:Be,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Kt,onScroll:Pt,scrollWidth:tt},this.getTreeNodeRequiredProps(),Bt))))}}],[{key:"getDerivedStateFromProps",value:function(O,te){var he=te.prevProps,J={prevProps:O};function le(Be){return!he&&O.hasOwnProperty(Be)||he&&he[Be]!==O[Be]}var ie,ze=te.fieldNames;if(le("fieldNames")&&(ze=(0,ye.w$)(O.fieldNames),J.fieldNames=ze),le("treeData")?ie=O.treeData:le("children")&&((0,f.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ie=(0,ye.zn)(O.children)),ie){J.treeData=ie;var Fe=(0,ye.I8)(ie,{fieldNames:ze});J.keyEntities=(0,$.Z)((0,p.Z)({},m,pe),Fe.keyEntities)}var lt=J.keyEntities||te.keyEntities;if(le("expandedKeys")||he&&le("autoExpandParent"))J.expandedKeys=O.autoExpandParent||!he&&O.defaultExpandParent?(0,it.r7)(O.expandedKeys,lt):O.expandedKeys;else if(!he&&O.defaultExpandAll){var dt=(0,$.Z)({},lt);delete dt[m];var At=[];Object.keys(dt).forEach(function(Be){var ut=dt[Be];ut.children&&ut.children.length&&At.push(ut.key)}),J.expandedKeys=At}else!he&&O.defaultExpandedKeys&&(J.expandedKeys=O.autoExpandParent||O.defaultExpandParent?(0,it.r7)(O.defaultExpandedKeys,lt):O.defaultExpandedKeys);if(J.expandedKeys||delete J.expandedKeys,ie||J.expandedKeys){var Ge=(0,ye.oH)(ie||te.treeData,J.expandedKeys||te.expandedKeys,ze);J.flattenNodes=Ge}if(O.selectable&&(le("selectedKeys")?J.selectedKeys=(0,it.BT)(O.selectedKeys,O):!he&&O.defaultSelectedKeys&&(J.selectedKeys=(0,it.BT)(O.defaultSelectedKeys,O))),O.checkable){var Ae;if(le("checkedKeys")?Ae=(0,it.E6)(O.checkedKeys)||{}:!he&&O.defaultCheckedKeys?Ae=(0,it.E6)(O.defaultCheckedKeys)||{}:ie&&(Ae=(0,it.E6)(O.checkedKeys)||{checkedKeys:te.checkedKeys,halfCheckedKeys:te.halfCheckedKeys}),Ae){var ue=Ae,Pe=ue.checkedKeys,ke=Pe===void 0?[]:Pe,Ye=ue.halfCheckedKeys,st=Ye===void 0?[]:Ye;if(!O.checkStrictly){var wt=(0,$e.S)(ke,!0,lt);ke=wt.checkedKeys,st=wt.halfCheckedKeys}J.checkedKeys=ke,J.halfCheckedKeys=st}}return le("loadedKeys")&&(J.loadedKeys=O.loadedKeys),J}}]),Le}(v.Component);(0,p.Z)(Me,"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:g,allowDrop:function(){return!0},expandAction:!1}),(0,p.Z)(Me,"TreeNode",H.Z);var j=Me,de=j},10225:function(St,Ce,i){"use strict";i.d(Ce,{BT:function(){return v},E6:function(){return g},L0:function(){return p},OM:function(){return f},_5:function(){return e},r7:function(){return E},wA:function(){return t},yx:function(){return h}});var x=i(74902),R=i(71002),$=i(80334),X=i(67294),z=i(86128),u=i(35381),A=i(1089),K=null;function e(l,d){if(!l)return[];var T=l.slice(),Z=T.indexOf(d);return Z>=0&&T.splice(Z,1),T}function p(l,d){var T=(l||[]).slice();return T.indexOf(d)===-1&&T.push(d),T}function h(l){return l.split("-")}function t(l,d){var T=[],Z=(0,u.Z)(d,l);function W(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];H.forEach(function(G){var Q=G.key,ye=G.children;T.push(Q),W(ye)})}return W(Z.children),T}function o(l){if(l.parent){var d=h(l.pos);return Number(d[d.length-1])===l.parent.children.length-1}return!1}function s(l){var d=h(l.pos);return Number(d[d.length-1])===0}function f(l,d,T,Z,W,H,G,Q,ye,C){var w,P=l.clientX,I=l.clientY,L=l.target.getBoundingClientRect(),D=L.top,a=L.height,n=(C==="rtl"?-1:1)*(((W==null?void 0:W.x)||0)-P),m=(n-12)/Z,B=ye.filter(function(de){var ae;return(ae=Q[de])===null||ae===void 0||(ae=ae.children)===null||ae===void 0?void 0:ae.length}),pe=(0,u.Z)(Q,T.eventKey);if(I<D+a/2){var De=G.findIndex(function(de){return de.key===pe.key}),Re=De<=0?0:De-1,qe=G[Re].key;pe=(0,u.Z)(Q,qe)}var Xe=pe.key,Rt=pe,_e=pe.key,it=0,$e=0;if(!B.includes(Xe))for(var Ze=0;Ze<m&&o(pe);Ze+=1)pe=pe.parent,$e+=1;var re=d.data,Me=pe.node,j=!0;return s(pe)&&pe.level===0&&I<D+a/2&&H({dragNode:re,dropNode:Me,dropPosition:-1})&&pe.key===T.eventKey?it=-1:(Rt.children||[]).length&&B.includes(_e)?H({dragNode:re,dropNode:Me,dropPosition:0})?it=0:j=!1:$e===0?m>-1.5?H({dragNode:re,dropNode:Me,dropPosition:1})?it=1:j=!1:H({dragNode:re,dropNode:Me,dropPosition:0})?it=0:H({dragNode:re,dropNode:Me,dropPosition:1})?it=1:j=!1:H({dragNode:re,dropNode:Me,dropPosition:1})?it=1:j=!1,{dropPosition:it,dropLevelOffset:$e,dropTargetKey:pe.key,dropTargetPos:pe.pos,dragOverNodeKey:_e,dropContainerKey:it===0?null:((w=pe.parent)===null||w===void 0?void 0:w.key)||null,dropAllowed:j}}function v(l,d){if(l){var T=d.multiple;return T?l.slice():l.length?[l[0]]:l}}var c=function(d){return d};function y(l,d){if(!l)return[];var T=d||{},Z=T.processProps,W=Z===void 0?c:Z,H=Array.isArray(l)?l:[l];return H.map(function(G){var Q=G.children,ye=_objectWithoutProperties(G,K),C=y(Q,d);return React.createElement(TreeNode,_extends({key:ye.key},W(ye)),C)})}function g(l){if(!l)return null;var d;if(Array.isArray(l))d={checkedKeys:l,halfCheckedKeys:void 0};else if((0,R.Z)(l)==="object")d={checkedKeys:l.checked||void 0,halfCheckedKeys:l.halfChecked||void 0};else return(0,$.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return d}function E(l,d){var T=new Set;function Z(W){if(!T.has(W)){var H=(0,u.Z)(d,W);if(H){T.add(W);var G=H.parent,Q=H.node;Q.disabled||G&&Z(G.key)}}}return(l||[]).forEach(function(W){Z(W)}),(0,x.Z)(T)}},17341:function(St,Ce,i){"use strict";i.d(Ce,{S:function(){return A}});var x=i(80334),R=i(35381);function $(K,e){var p=new Set;return K.forEach(function(h){e.has(h)||p.add(h)}),p}function X(K){var e=K||{},p=e.disabled,h=e.disableCheckbox,t=e.checkable;return!!(p||h)||t===!1}function z(K,e,p,h){for(var t=new Set(K),o=new Set,s=0;s<=p;s+=1){var f=e.get(s)||new Set;f.forEach(function(g){var E=g.key,l=g.node,d=g.children,T=d===void 0?[]:d;t.has(E)&&!h(l)&&T.filter(function(Z){return!h(Z.node)}).forEach(function(Z){t.add(Z.key)})})}for(var v=new Set,c=p;c>=0;c-=1){var y=e.get(c)||new Set;y.forEach(function(g){var E=g.parent,l=g.node;if(!(h(l)||!g.parent||v.has(g.parent.key))){if(h(g.parent.node)){v.add(E.key);return}var d=!0,T=!1;(E.children||[]).filter(function(Z){return!h(Z.node)}).forEach(function(Z){var W=Z.key,H=t.has(W);d&&!H&&(d=!1),!T&&(H||o.has(W))&&(T=!0)}),d&&t.add(E.key),T&&o.add(E.key),v.add(E.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from($(o,t))}}function u(K,e,p,h,t){for(var o=new Set(K),s=new Set(e),f=0;f<=h;f+=1){var v=p.get(f)||new Set;v.forEach(function(E){var l=E.key,d=E.node,T=E.children,Z=T===void 0?[]:T;!o.has(l)&&!s.has(l)&&!t(d)&&Z.filter(function(W){return!t(W.node)}).forEach(function(W){o.delete(W.key)})})}s=new Set;for(var c=new Set,y=h;y>=0;y-=1){var g=p.get(y)||new Set;g.forEach(function(E){var l=E.parent,d=E.node;if(!(t(d)||!E.parent||c.has(E.parent.key))){if(t(E.parent.node)){c.add(l.key);return}var T=!0,Z=!1;(l.children||[]).filter(function(W){return!t(W.node)}).forEach(function(W){var H=W.key,G=o.has(H);T&&!G&&(T=!1),!Z&&(G||s.has(H))&&(Z=!0)}),T||o.delete(l.key),Z&&s.add(l.key),c.add(l.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from($(s,o))}}function A(K,e,p,h){var t=[],o;h?o=h:o=X;var s=new Set(K.filter(function(y){var g=!!(0,R.Z)(p,y);return g||t.push(y),g})),f=new Map,v=0;Object.keys(p).forEach(function(y){var g=p[y],E=g.level,l=f.get(E);l||(l=new Set,f.set(E,l)),l.add(g),v=Math.max(v,E)}),(0,x.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var c;return e===!0?c=z(s,f,v,o):c=u(s,e.halfCheckedKeys,f,v,o),c}},35381:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return x}});function x(R,$){return R[$]}},1089:function(St,Ce,i){"use strict";i.d(Ce,{F:function(){return E},H8:function(){return g},I8:function(){return y},km:function(){return t},oH:function(){return v},w$:function(){return o},zn:function(){return f}});var x=i(71002),R=i(74902),$=i(1413),X=i(45987),z=i(50344),u=i(98423),A=i(80334),K=i(35381),e=["children"];function p(l,d){return"".concat(l,"-").concat(d)}function h(l){return l&&l.type&&l.type.isTreeNode}function t(l,d){return l!=null?l:d}function o(l){var d=l||{},T=d.title,Z=d._title,W=d.key,H=d.children,G=T||"title";return{title:G,_title:Z||[G],key:W||"key",children:H||"children"}}function s(l,d){var T=new Map;function Z(W){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(W||[]).forEach(function(G){var Q=G[d.key],ye=G[d.children];warning(Q!=null,"Tree node must have a certain key: [".concat(H).concat(Q,"]"));var C=String(Q);warning(!T.has(C)||Q===null||Q===void 0,"Same 'key' exist in the Tree: ".concat(C)),T.set(C,!0),Z(ye,"".concat(H).concat(C," > "))})}Z(l)}function f(l){function d(T){var Z=(0,z.Z)(T);return Z.map(function(W){if(!h(W))return(0,A.ZP)(!W,"Tree/TreeNode can only accept TreeNode as children."),null;var H=W.key,G=W.props,Q=G.children,ye=(0,X.Z)(G,e),C=(0,$.Z)({key:H},ye),w=d(Q);return w.length&&(C.children=w),C}).filter(function(W){return W})}return d(l)}function v(l,d,T){var Z=o(T),W=Z._title,H=Z.key,G=Z.children,Q=new Set(d===!0?[]:d),ye=[];function C(w){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return w.map(function(I,L){for(var D=p(P?P.pos:"0",L),a=t(I[H],D),n,m=0;m<W.length;m+=1){var B=W[m];if(I[B]!==void 0){n=I[B];break}}var pe=Object.assign((0,u.Z)(I,[].concat((0,R.Z)(W),[H,G])),{title:n,key:a,parent:P,pos:D,children:null,data:I,isStart:[].concat((0,R.Z)(P?P.isStart:[]),[L===0]),isEnd:[].concat((0,R.Z)(P?P.isEnd:[]),[L===w.length-1])});return ye.push(pe),d===!0||Q.has(a)?pe.children=C(I[G]||[],pe):pe.children=[],pe})}return C(l),ye}function c(l,d,T){var Z={};(0,x.Z)(T)==="object"?Z=T:Z={externalGetKey:T},Z=Z||{};var W=Z,H=W.childrenPropName,G=W.externalGetKey,Q=W.fieldNames,ye=o(Q),C=ye.key,w=ye.children,P=H||w,I;G?typeof G=="string"?I=function(a){return a[G]}:typeof G=="function"&&(I=function(a){return G(a)}):I=function(a,n){return t(a[C],n)};function L(D,a,n,m){var B=D?D[P]:l,pe=D?p(n.pos,a):"0",De=D?[].concat((0,R.Z)(m),[D]):[];if(D){var Re=I(D,pe),qe={node:D,index:a,pos:pe,key:Re,parentPos:n.node?n.pos:null,level:n.level+1,nodes:De};d(qe)}B&&B.forEach(function(Xe,Rt){L(Xe,Rt,{node:D,pos:pe,level:n?n.level+1:-1},De)})}L(null)}function y(l){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=d.initWrapper,Z=d.processEntity,W=d.onProcessFinished,H=d.externalGetKey,G=d.childrenPropName,Q=d.fieldNames,ye=arguments.length>2?arguments[2]:void 0,C=H||ye,w={},P={},I={posEntities:w,keyEntities:P};return T&&(I=T(I)||I),c(l,function(L){var D=L.node,a=L.index,n=L.pos,m=L.key,B=L.parentPos,pe=L.level,De=L.nodes,Re={node:D,nodes:De,index:a,key:m,pos:n,level:pe},qe=t(m,n);w[n]=Re,P[qe]=Re,Re.parent=w[B],Re.parent&&(Re.parent.children=Re.parent.children||[],Re.parent.children.push(Re)),Z&&Z(Re,I)},{externalGetKey:C,childrenPropName:G,fieldNames:Q}),W&&W(I),I}function g(l,d){var T=d.expandedKeys,Z=d.selectedKeys,W=d.loadedKeys,H=d.loadingKeys,G=d.checkedKeys,Q=d.halfCheckedKeys,ye=d.dragOverNodeKey,C=d.dropPosition,w=d.keyEntities,P=(0,K.Z)(w,l),I={eventKey:l,expanded:T.indexOf(l)!==-1,selected:Z.indexOf(l)!==-1,loaded:W.indexOf(l)!==-1,loading:H.indexOf(l)!==-1,checked:G.indexOf(l)!==-1,halfChecked:Q.indexOf(l)!==-1,pos:String(P?P.pos:""),dragOver:ye===l&&C===0,dragOverGapTop:ye===l&&C===-1,dragOverGapBottom:ye===l&&C===1};return I}function E(l){var d=l.data,T=l.expanded,Z=l.selected,W=l.checked,H=l.loaded,G=l.loading,Q=l.halfChecked,ye=l.dragOver,C=l.dragOverGapTop,w=l.dragOverGapBottom,P=l.pos,I=l.active,L=l.eventKey,D=(0,$.Z)((0,$.Z)({},d),{},{expanded:T,selected:Z,checked:W,loaded:H,loading:G,halfChecked:Q,dragOver:ye,dragOverGapTop:C,dragOverGapBottom:w,pos:P,active:I,key:L});return"props"in D||Object.defineProperty(D,"props",{get:function(){return(0,A.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),l}}),D}},50344:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return $}});var x=i(67294),R=i(59864);function $(X){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[];return x.Children.forEach(X,function(A){A==null&&!z.keepEmpty||(Array.isArray(A)?u=u.concat($(A)):(0,R.isFragment)(A)&&A.props?u=u.concat($(A.props.children,z)):u.push(A))}),u}},66680:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return R}});var x=i(67294);function R($){var X=x.useRef();X.current=$;var z=x.useCallback(function(){for(var u,A=arguments.length,K=new Array(A),e=0;e<A;e++)K[e]=arguments[e];return(u=X.current)===null||u===void 0?void 0:u.call.apply(u,[X].concat(K))},[]);return z}},21770:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return u}});var x=i(97685),R=i(66680),$=i(8410),X=i(63896);function z(A){return A!==void 0}function u(A,K){var e=K||{},p=e.defaultValue,h=e.value,t=e.onChange,o=e.postState,s=(0,X.Z)(function(){return z(h)?h:z(p)?typeof p=="function"?p():p:typeof A=="function"?A():A}),f=(0,x.Z)(s,2),v=f[0],c=f[1],y=h!==void 0?h:v,g=o?o(y):y,E=(0,R.Z)(t),l=(0,X.Z)([y]),d=(0,x.Z)(l,2),T=d[0],Z=d[1];(0,$.o)(function(){var H=T[0];v!==H&&E(v,H)},[T]),(0,$.o)(function(){z(h)||c(h)},[h]);var W=(0,R.Z)(function(H,G){c(H,G),Z([y],G)});return[g,W]}},91881:function(St,Ce,i){"use strict";var x=i(71002),R=i(80334);function $(X,z){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,A=new Set;function K(e,p){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,t=A.has(e);if((0,R.ZP)(!t,"Warning: There may be circular references"),t)return!1;if(e===p)return!0;if(u&&h>1)return!1;A.add(e);var o=h+1;if(Array.isArray(e)){if(!Array.isArray(p)||e.length!==p.length)return!1;for(var s=0;s<e.length;s++)if(!K(e[s],p[s],o))return!1;return!0}if(e&&p&&(0,x.Z)(e)==="object"&&(0,x.Z)(p)==="object"){var f=Object.keys(e);return f.length!==Object.keys(p).length?!1:f.every(function(v){return K(e[v],p[v],o)})}return!1}return K(X,z)}Ce.Z=$},98423:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return R}});var x=i(1413);function R($,X){var z=(0,x.Z)({},$);return Array.isArray(X)&&X.forEach(function(u){delete z[u]}),z}},80334:function(St,Ce,i){"use strict";var x={};function R(K,e){}function $(K,e){}function X(){x={}}function z(K,e,p){!e&&!x[p]&&(K(!1,p),x[p]=!0)}function u(K,e){z(R,K,e)}function A(K,e){z($,K,e)}Ce.ZP=u},73299:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return Yt}});var x=i(87462),R=i(1413),$=i(71002),X=i(97685),z=i(4942),u=i(45987),A=i(67294),K=i(73935),e=i(94184),p=i.n(e),h=i(48555),t=A.forwardRef(function(se,Oe){var ge=se.height,ve=se.offsetY,rt=se.offsetX,tt=se.children,ht=se.prefixCls,Nt=se.onInnerResize,Ht=se.innerProps,Kt=se.rtl,Pt=se.extra,mt={},jt={display:"flex",flexDirection:"column"};if(ve!==void 0){var Lt;mt={height:ge,position:"relative",overflow:"hidden"},jt=(0,R.Z)((0,R.Z)({},jt),{},(Lt={transform:"translateY(".concat(ve,"px)")},(0,z.Z)(Lt,Kt?"marginRight":"marginLeft",-rt),(0,z.Z)(Lt,"position","absolute"),(0,z.Z)(Lt,"left",0),(0,z.Z)(Lt,"right",0),(0,z.Z)(Lt,"top",0),Lt))}return A.createElement("div",{style:mt},A.createElement(h.Z,{onResize:function(pt){var Ue=pt.offsetHeight;Ue&&Nt&&Nt()}},A.createElement("div",(0,x.Z)({style:jt,className:p()((0,z.Z)({},"".concat(ht,"-holder-inner"),ht)),ref:Oe},Ht),tt,Pt)))});t.displayName="Filler";var o=t,s=function(Oe){return+setTimeout(Oe,16)},f=function(Oe){return clearTimeout(Oe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(s=function(Oe){return window.requestAnimationFrame(Oe)},f=function(Oe){return window.cancelAnimationFrame(Oe)});var v=0,c=new Map;function y(se){c.delete(se)}var g=function(Oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;v+=1;var ve=v;function rt(tt){if(tt===0)y(ve),Oe();else{var ht=s(function(){rt(tt-1)});c.set(ve,ht)}}return rt(ge),ve};g.cancel=function(se){var Oe=c.get(se);return y(Oe),f(Oe)};var E=g;function l(se,Oe){var ge="touches"in se?se.touches[0]:se;return ge[Oe?"pageX":"pageY"]}var d=A.forwardRef(function(se,Oe){var ge,ve=se.prefixCls,rt=se.rtl,tt=se.scrollOffset,ht=se.scrollRange,Nt=se.onStartMove,Ht=se.onStopMove,Kt=se.onScroll,Pt=se.horizontal,mt=se.spinSize,jt=se.containerSize,Lt=se.style,Bt=se.thumbStyle,pt=A.useState(!1),Ue=(0,X.Z)(pt,2),et=Ue[0],Tt=Ue[1],nn=A.useState(null),fn=(0,X.Z)(nn,2),Zn=fn[0],ir=fn[1],kn=A.useState(null),mn=(0,X.Z)(kn,2),On=mn[0],Gn=mn[1],an=!rt,zn=A.useRef(),Dn=A.useRef(),ln=A.useState(!1),gn=(0,X.Z)(ln,2),yn=gn[0],Sn=gn[1],hn=A.useRef(),Mn=function(){clearTimeout(hn.current),Sn(!0),hn.current=setTimeout(function(){Sn(!1)},3e3)},Un=ht-jt||0,er=jt-mt||0,ur=Un>0,Sr=A.useMemo(function(){if(tt===0||Un===0)return 0;var Br=tt/Un;return Br*er},[tt,Un,er]),Ea=function(jr){jr.stopPropagation(),jr.preventDefault()},Wa=A.useRef({top:Sr,dragging:et,pageY:Zn,startTop:On});Wa.current={top:Sr,dragging:et,pageY:Zn,startTop:On};var Er=function(jr){Tt(!0),ir(l(jr,Pt)),Gn(Wa.current.top),Nt(),jr.stopPropagation(),jr.preventDefault()};A.useEffect(function(){var Br=function(dr){dr.preventDefault()},jr=zn.current,_a=Dn.current;return jr.addEventListener("touchstart",Br),_a.addEventListener("touchstart",Er),function(){jr.removeEventListener("touchstart",Br),_a.removeEventListener("touchstart",Er)}},[]);var Ja=A.useRef();Ja.current=Un;var qa=A.useRef();qa.current=er,A.useEffect(function(){if(et){var Br,jr=function(dr){var Cr=Wa.current,La=Cr.dragging,ma=Cr.pageY,fi=Cr.startTop;if(E.cancel(Br),La){var da=l(dr,Pt)-ma,ha=fi;!an&&Pt?ha-=da:ha+=da;var ga=Ja.current,na=qa.current,hr=na?ha/na:0,$r=Math.ceil(hr*ga);$r=Math.max($r,0),$r=Math.min($r,ga),Br=E(function(){Kt($r,Pt)})}},_a=function(){Tt(!1),Ht()};return window.addEventListener("mousemove",jr),window.addEventListener("touchmove",jr),window.addEventListener("mouseup",_a),window.addEventListener("touchend",_a),function(){window.removeEventListener("mousemove",jr),window.removeEventListener("touchmove",jr),window.removeEventListener("mouseup",_a),window.removeEventListener("touchend",_a),E.cancel(Br)}}},[et]),A.useEffect(function(){Mn()},[tt]),A.useImperativeHandle(Oe,function(){return{delayHidden:Mn}});var Ta="".concat(ve,"-scrollbar"),Or={position:"absolute",visibility:yn&&ur?null:"hidden"},Yr={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return Pt?(Or.height=8,Or.left=0,Or.right=0,Or.bottom=0,Yr.height="100%",Yr.width=mt,an?Yr.left=Sr:Yr.right=Sr):(Or.width=8,Or.top=0,Or.bottom=0,an?Or.right=0:Or.left=0,Yr.width="100%",Yr.height=mt,Yr.top=Sr),A.createElement("div",{ref:zn,className:p()(Ta,(ge={},(0,z.Z)(ge,"".concat(Ta,"-horizontal"),Pt),(0,z.Z)(ge,"".concat(Ta,"-vertical"),!Pt),(0,z.Z)(ge,"".concat(Ta,"-visible"),yn),ge)),style:(0,R.Z)((0,R.Z)({},Or),Lt),onMouseDown:Ea,onMouseMove:Mn},A.createElement("div",{ref:Dn,className:p()("".concat(Ta,"-thumb"),(0,z.Z)({},"".concat(Ta,"-thumb-moving"),et)),style:(0,R.Z)((0,R.Z)({},Yr),Bt),onMouseDown:Er}))}),T=d;function Z(se){var Oe=se.children,ge=se.setRef,ve=A.useCallback(function(rt){ge(rt)},[]);return A.cloneElement(Oe,{ref:ve})}function W(se,Oe,ge,ve,rt,tt,ht){var Nt=ht.getKey;return se.slice(Oe,ge+1).map(function(Ht,Kt){var Pt=Oe+Kt,mt=tt(Ht,Pt,{style:{width:ve}}),jt=Nt(Ht);return A.createElement(Z,{key:jt,setRef:function(Bt){return rt(Ht,Bt)}},mt)})}function H(se){return se instanceof HTMLElement||se instanceof SVGElement}function G(se){return H(se)?se:se instanceof A.Component?K.findDOMNode(se):null}var Q=i(15671),ye=i(43144),C=function(){function se(){(0,Q.Z)(this,se),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,ye.Z)(se,[{key:"set",value:function(ge,ve){this.maps[ge]=ve,this.id+=1}},{key:"get",value:function(ge){return this.maps[ge]}}]),se}(),w=C;function P(se,Oe,ge){var ve=A.useState(0),rt=(0,X.Z)(ve,2),tt=rt[0],ht=rt[1],Nt=(0,A.useRef)(new Map),Ht=(0,A.useRef)(new w),Kt=(0,A.useRef)();function Pt(){E.cancel(Kt.current)}function mt(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pt();var Bt=function(){Nt.current.forEach(function(Ue,et){if(Ue&&Ue.offsetParent){var Tt=G(Ue),nn=Tt.offsetHeight;Ht.current.get(et)!==nn&&Ht.current.set(et,Tt.offsetHeight)}}),ht(function(Ue){return Ue+1})};Lt?Bt():Kt.current=E(Bt)}function jt(Lt,Bt){var pt=se(Lt),Ue=Nt.current.get(pt);Bt?(Nt.current.set(pt,Bt),mt()):Nt.current.delete(pt),!Ue!=!Bt&&(Bt?Oe==null||Oe(Lt):ge==null||ge(Lt))}return(0,A.useEffect)(function(){return Pt},[]),[jt,mt,Ht.current,tt]}function I(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var L=I()?A.useLayoutEffect:A.useEffect,D=function(Oe,ge){var ve=A.useRef(!0);L(function(){return Oe(ve.current)},ge),L(function(){return ve.current=!1,function(){ve.current=!0}},[])},a=function(Oe,ge){D(function(ve){if(!ve)return Oe()},ge)},n=D;function m(se){var Oe=A.useRef();Oe.current=se;var ge=A.useCallback(function(){for(var ve,rt=arguments.length,tt=new Array(rt),ht=0;ht<rt;ht++)tt[ht]=arguments[ht];return(ve=Oe.current)===null||ve===void 0?void 0:ve.call.apply(ve,[Oe].concat(tt))},[]);return ge}function B(se){var Oe=React.useRef(!1),ge=React.useState(se),ve=_slicedToArray(ge,2),rt=ve[0],tt=ve[1];React.useEffect(function(){return Oe.current=!1,function(){Oe.current=!0}},[]);function ht(Nt,Ht){Ht&&Oe.current||tt(Nt)}return[rt,ht]}function pe(se){return se!==void 0}function De(se,Oe){var ge=Oe||{},ve=ge.defaultValue,rt=ge.value,tt=ge.onChange,ht=ge.postState,Nt=useState(function(){return pe(rt)?rt:pe(ve)?typeof ve=="function"?ve():ve:typeof se=="function"?se():se}),Ht=_slicedToArray(Nt,2),Kt=Ht[0],Pt=Ht[1],mt=rt!==void 0?rt:Kt,jt=ht?ht(mt):mt,Lt=useEvent(tt),Bt=useState([mt]),pt=_slicedToArray(Bt,2),Ue=pt[0],et=pt[1];useLayoutUpdateEffect(function(){var nn=Ue[0];Kt!==nn&&Lt(Kt,nn)},[Ue]),useLayoutUpdateEffect(function(){pe(rt)||Pt(rt)},[rt]);var Tt=useEvent(function(nn,fn){Pt(nn,fn),et([mt],fn)});return[jt,Tt]}var Re=i(31461);function qe(se,Oe,ge){var ve=React.useRef({});return(!("value"in ve.current)||ge(ve.current.condition,Oe))&&(ve.current.value=se(),ve.current.condition=Oe),ve.current.value}function Xe(se,Oe){typeof se=="function"?se(Oe):_typeof(se)==="object"&&se&&"current"in se&&(se.current=Oe)}function Rt(){for(var se=arguments.length,Oe=new Array(se),ge=0;ge<se;ge++)Oe[ge]=arguments[ge];var ve=Oe.filter(function(rt){return rt});return ve.length<=1?ve[0]:function(rt){Oe.forEach(function(tt){Xe(tt,rt)})}}function _e(){for(var se=arguments.length,Oe=new Array(se),ge=0;ge<se;ge++)Oe[ge]=arguments[ge];return useMemo(function(){return Rt.apply(void 0,Oe)},Oe,function(ve,rt){return ve.length!==rt.length||ve.every(function(tt,ht){return tt!==rt[ht]})})}function it(se){var Oe,ge,ve=isMemo(se)?se.type.type:se.type;return!(typeof ve=="function"&&!((Oe=ve.prototype)!==null&&Oe!==void 0&&Oe.render)||typeof se=="function"&&!((ge=se.prototype)!==null&&ge!==void 0&&ge.render))}function $e(se){return!isValidElement(se)||isFragment(se)?!1:it(se)}function Ze(se,Oe,ge,ve){if(!Oe.length)return ge;var rt=_toArray(Oe),tt=rt[0],ht=rt.slice(1),Nt;return!se&&typeof tt=="number"?Nt=[]:Array.isArray(se)?Nt=_toConsumableArray(se):Nt=_objectSpread({},se),ve&&ge===void 0&&ht.length===1?delete Nt[tt][ht[0]]:Nt[tt]=Ze(Nt[tt],ht,ge,ve),Nt}function re(se,Oe,ge){var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Oe.length&&ve&&ge===void 0&&!get(se,Oe.slice(0,-1))?se:Ze(se,Oe,ge,ve)}function Me(se){return _typeof(se)==="object"&&se!==null&&Object.getPrototypeOf(se)===Object.prototype}function j(se){return Array.isArray(se)?[]:{}}var de=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ae(){for(var se=arguments.length,Oe=new Array(se),ge=0;ge<se;ge++)Oe[ge]=arguments[ge];var ve=j(Oe[0]);return Oe.forEach(function(rt){function tt(ht,Nt){var Ht=new Set(Nt),Kt=get(rt,ht),Pt=Array.isArray(Kt);if(Pt||Me(Kt)){if(!Ht.has(Kt)){Ht.add(Kt);var mt=get(ve,ht);Pt?ve=re(ve,ht,[]):(!mt||_typeof(mt)!=="object")&&(ve=re(ve,ht,j(Kt))),de(Kt).forEach(function(jt){tt([].concat(_toConsumableArray(ht),[jt]),Ht)})}}else ve=re(ve,ht,Kt)}tt([])}),ve}var He={},Le=[],F=function(Oe){Le.push(Oe)};function O(se,Oe){if(0)var ge}function te(se,Oe){if(0)var ge}function he(){He={}}function J(se,Oe,ge){!Oe&&!He[ge]&&(se(!1,ge),He[ge]=!0)}function le(se,Oe){J(O,se,Oe)}function ie(se,Oe){J(te,se,Oe)}le.preMessage=F,le.resetWarned=he,le.noteOnce=ie;var ze=null,Fe=10;function lt(se,Oe,ge,ve,rt,tt,ht,Nt){var Ht=A.useRef(),Kt=A.useState(null),Pt=(0,X.Z)(Kt,2),mt=Pt[0],jt=Pt[1];return n(function(){if(mt&&mt.times<Fe){if(!se.current){jt(function(Mn){return(0,R.Z)({},Mn)});return}tt();var Lt=mt.targetAlign,Bt=mt.originAlign,pt=mt.index,Ue=mt.offset,et=se.current.clientHeight,Tt=!1,nn=Lt,fn=null;if(et){for(var Zn=Lt||Bt,ir=0,kn=0,mn=0,On=Math.min(Oe.length-1,pt),Gn=0;Gn<=On;Gn+=1){var an=rt(Oe[Gn]);kn=ir;var zn=ge.get(an);mn=kn+(zn===void 0?ve:zn),ir=mn}for(var Dn=Zn==="top"?Ue:et-Ue,ln=On;ln>=0;ln-=1){var gn=rt(Oe[ln]),yn=ge.get(gn);if(yn===void 0){Tt=!0;break}if(Dn-=yn,Dn<=0)break}switch(Zn){case"top":fn=kn-Ue;break;case"bottom":fn=mn-et+Ue;break;default:{var Sn=se.current.scrollTop,hn=Sn+et;kn<Sn?nn="top":mn>hn&&(nn="bottom")}}fn!==null&&ht(fn),fn!==mt.lastTop&&(Tt=!0)}Tt&&jt(function(Mn){return(0,R.Z)((0,R.Z)({},Mn),{},{times:Mn.times+1,targetAlign:nn,lastTop:fn})})}},[mt,se.current]),function(Lt){if(Lt==null){Nt();return}if(E.cancel(Ht.current),typeof Lt=="number")ht(Lt);else if(Lt&&(0,$.Z)(Lt)==="object"){var Bt,pt=Lt.align;"index"in Lt?Bt=Lt.index:Bt=Oe.findIndex(function(Tt){return rt(Tt)===Lt.key});var Ue=Lt.offset,et=Ue===void 0?0:Ue;jt({times:0,index:Bt,offset:et,originAlign:pt})}}}function dt(se,Oe,ge,ve){var rt=ge-se,tt=Oe-ge,ht=Math.min(rt,tt)*2;if(ve<=ht){var Nt=Math.floor(ve/2);return ve%2?ge+Nt+1:ge-Nt}return rt>tt?ge-(ve-tt):ge+(ve-rt)}function At(se,Oe,ge){var ve=se.length,rt=Oe.length,tt,ht;if(ve===0&&rt===0)return null;ve<rt?(tt=se,ht=Oe):(tt=Oe,ht=se);var Nt={__EMPTY_ITEM__:!0};function Ht(Bt){return Bt!==void 0?ge(Bt):Nt}for(var Kt=null,Pt=Math.abs(ve-rt)!==1,mt=0;mt<ht.length;mt+=1){var jt=Ht(tt[mt]),Lt=Ht(ht[mt]);if(jt!==Lt){Kt=mt,Pt=Pt||jt!==Ht(ht[mt+1]);break}}return Kt===null?null:{index:Kt,multiple:Pt}}function Ge(se,Oe,ge){var ve=A.useState(se),rt=(0,X.Z)(ve,2),tt=rt[0],ht=rt[1],Nt=A.useState(null),Ht=(0,X.Z)(Nt,2),Kt=Ht[0],Pt=Ht[1];return A.useEffect(function(){var mt=At(tt||[],se||[],Oe);(mt==null?void 0:mt.index)!==void 0&&(ge==null||ge(mt.index),Pt(se[mt.index])),ht(se)},[se]),[Kt]}var Ae=(typeof navigator=="undefined"?"undefined":(0,$.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),ue=Ae,Pe=function(se,Oe){var ge=(0,A.useRef)(!1),ve=(0,A.useRef)(null);function rt(){clearTimeout(ve.current),ge.current=!0,ve.current=setTimeout(function(){ge.current=!1},50)}var tt=(0,A.useRef)({top:se,bottom:Oe});return tt.current.top=se,tt.current.bottom=Oe,function(ht){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=ht<0&&tt.current.top||ht>0&&tt.current.bottom;return Nt&&Ht?(clearTimeout(ve.current),ge.current=!1):(!Ht||ge.current)&&rt(),!ge.current&&Ht}};function ke(se,Oe,ge,ve,rt){var tt=(0,A.useRef)(0),ht=(0,A.useRef)(null),Nt=(0,A.useRef)(null),Ht=(0,A.useRef)(!1),Kt=Pe(Oe,ge);function Pt(Ue,et){E.cancel(ht.current),tt.current+=et,Nt.current=et,!Kt(et)&&(ue||Ue.preventDefault(),ht.current=E(function(){var Tt=Ht.current?10:1;rt(tt.current*Tt),tt.current=0}))}function mt(Ue,et){rt(et,!0),ue||Ue.preventDefault()}var jt=(0,A.useRef)(null),Lt=(0,A.useRef)(null);function Bt(Ue){if(se){E.cancel(Lt.current),Lt.current=E(function(){jt.current=null},2);var et=Ue.deltaX,Tt=Ue.deltaY,nn=Ue.shiftKey,fn=et,Zn=Tt;(jt.current==="sx"||!jt.current&&nn&&Tt&&!et)&&(fn=Tt,Zn=0,jt.current="sx");var ir=Math.abs(fn),kn=Math.abs(Zn);jt.current===null&&(jt.current=ve&&ir>kn?"x":"y"),jt.current==="y"?Pt(Ue,Zn):mt(Ue,fn)}}function pt(Ue){se&&(Ht.current=Ue.detail===Nt.current)}return[Bt,pt]}var Ye=14/15;function st(se,Oe,ge){var ve=(0,A.useRef)(!1),rt=(0,A.useRef)(0),tt=(0,A.useRef)(null),ht=(0,A.useRef)(null),Nt,Ht=function(jt){if(ve.current){var Lt=Math.ceil(jt.touches[0].pageY),Bt=rt.current-Lt;rt.current=Lt,ge(Bt)&&jt.preventDefault(),clearInterval(ht.current),ht.current=setInterval(function(){Bt*=Ye,(!ge(Bt,!0)||Math.abs(Bt)<=.1)&&clearInterval(ht.current)},16)}},Kt=function(){ve.current=!1,Nt()},Pt=function(jt){Nt(),jt.touches.length===1&&!ve.current&&(ve.current=!0,rt.current=Math.ceil(jt.touches[0].pageY),tt.current=jt.target,tt.current.addEventListener("touchmove",Ht),tt.current.addEventListener("touchend",Kt))};Nt=function(){tt.current&&(tt.current.removeEventListener("touchmove",Ht),tt.current.removeEventListener("touchend",Kt))},n(function(){return se&&Oe.current.addEventListener("touchstart",Pt),function(){var mt;(mt=Oe.current)===null||mt===void 0||mt.removeEventListener("touchstart",Pt),Nt(),clearInterval(ht.current)}},[se])}var wt=20;function Be(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ge=se/Oe*100;return isNaN(ge)&&(ge=0),ge=Math.max(ge,wt),ge=Math.min(ge,se/2),Math.floor(ge)}function ut(se,Oe,ge,ve){var rt=A.useMemo(function(){return[new Map,[]]},[se,ge.id,ve]),tt=(0,X.Z)(rt,2),ht=tt[0],Nt=tt[1],Ht=function(Pt){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt,jt=ht.get(Pt),Lt=ht.get(mt);if(jt===void 0||Lt===void 0)for(var Bt=se.length,pt=Nt.length;pt<Bt;pt+=1){var Ue,et=se[pt],Tt=Oe(et);ht.set(Tt,pt);var nn=(Ue=ge.get(Tt))!==null&&Ue!==void 0?Ue:ve;if(Nt[pt]=(Nt[pt-1]||0)+nn,Tt===Pt&&(jt=pt),Tt===mt&&(Lt=pt),jt!==void 0&&Lt!==void 0)break}return{top:Nt[jt-1]||0,bottom:Nt[Lt]}};return Ht}var kt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],vt=[],nt={overflowY:"auto",overflowAnchor:"none"};function bt(se,Oe){var ge=se.prefixCls,ve=ge===void 0?"rc-virtual-list":ge,rt=se.className,tt=se.height,ht=se.itemHeight,Nt=se.fullHeight,Ht=Nt===void 0?!0:Nt,Kt=se.style,Pt=se.data,mt=se.children,jt=se.itemKey,Lt=se.virtual,Bt=se.direction,pt=se.scrollWidth,Ue=se.component,et=Ue===void 0?"div":Ue,Tt=se.onScroll,nn=se.onVirtualScroll,fn=se.onVisibleChange,Zn=se.innerProps,ir=se.extraRender,kn=se.styles,mn=(0,u.Z)(se,kt),On=!!(Lt!==!1&&tt&&ht),Gn=On&&Pt&&(ht*Pt.length>tt||!!pt),an=Bt==="rtl",zn=p()(ve,(0,z.Z)({},"".concat(ve,"-rtl"),an),rt),Dn=Pt||vt,ln=(0,A.useRef)(),gn=(0,A.useRef)(),yn=(0,A.useState)(0),Sn=(0,X.Z)(yn,2),hn=Sn[0],Mn=Sn[1],Un=(0,A.useState)(0),er=(0,X.Z)(Un,2),ur=er[0],Sr=er[1],Ea=(0,A.useState)(!1),Wa=(0,X.Z)(Ea,2),Er=Wa[0],Ja=Wa[1],qa=function(){Ja(!0)},Ta=function(){Ja(!1)},Or=A.useCallback(function(ot){return typeof jt=="function"?jt(ot):ot==null?void 0:ot[jt]},[jt]),Yr={getKey:Or};function Br(ot){Mn(function(ft){var xt;typeof ot=="function"?xt=ot(ft):xt=ot;var Ot=We(xt);return ln.current.scrollTop=Ot,Ot})}var jr=(0,A.useRef)({start:0,end:Dn.length}),_a=(0,A.useRef)(),oa=Ge(Dn,Or),dr=(0,X.Z)(oa,1),Cr=dr[0];_a.current=Cr;var La=P(Or,null,null),ma=(0,X.Z)(La,4),fi=ma[0],da=ma[1],ha=ma[2],ga=ma[3],na=A.useMemo(function(){if(!On)return{scrollHeight:void 0,start:0,end:Dn.length-1,offset:void 0};if(!Gn){var ot;return{scrollHeight:((ot=gn.current)===null||ot===void 0?void 0:ot.offsetHeight)||0,start:0,end:Dn.length-1,offset:void 0}}for(var ft=0,xt,Ot,Jt,Fn=Dn.length,En=0;En<Fn;En+=1){var Bn=Dn[En],Wn=Or(Bn),An=ha.get(Wn),rr=ft+(An===void 0?ht:An);rr>=hn&&xt===void 0&&(xt=En,Ot=ft),rr>hn+tt&&Jt===void 0&&(Jt=En),ft=rr}return xt===void 0&&(xt=0,Ot=0,Jt=Math.ceil(tt/ht)),Jt===void 0&&(Jt=Dn.length-1),Jt=Math.min(Jt+1,Dn.length-1),{scrollHeight:ft,start:xt,end:Jt,offset:Ot}},[Gn,On,hn,Dn,ga,tt]),hr=na.scrollHeight,$r=na.start,ka=na.end,ei=na.offset;jr.current.start=$r,jr.current.end=ka;var di=A.useState({width:0,height:tt}),Qr=(0,X.Z)(di,2),Dr=Qr[0],hi=Qr[1],xa=function(ft){hi({width:ft.width||ft.offsetWidth,height:ft.height||ft.offsetHeight})},pi=(0,A.useRef)(),q=(0,A.useRef)(),we=A.useMemo(function(){return Be(Dr.width,pt)},[Dr.width,pt]),Ie=A.useMemo(function(){return Be(Dr.height,hr)},[Dr.height,hr]),me=hr-tt,je=(0,A.useRef)(me);je.current=me;function We(ot){var ft=ot;return Number.isNaN(je.current)||(ft=Math.min(ft,je.current)),ft=Math.max(ft,0),ft}var xe=hn<=0,Je=hn>=me,Ft=Pe(xe,Je),Zt=function(){return{x:an?-ur:ur,y:hn}},Cn=(0,A.useRef)(Zt()),pn=m(function(){if(nn){var ot=Zt();(Cn.current.x!==ot.x||Cn.current.y!==ot.y)&&(nn(ot),Cn.current=ot)}});function In(ot,ft){var xt=ot;ft?((0,K.flushSync)(function(){Sr(xt)}),pn()):Br(xt)}function Qn(ot){var ft=ot.currentTarget.scrollTop;ft!==hn&&Br(ft),Tt==null||Tt(ot),pn()}var Rn=function(ft){var xt=ft,Ot=pt-Dr.width;return xt=Math.max(xt,0),xt=Math.min(xt,Ot),xt},nr=m(function(ot,ft){ft?((0,K.flushSync)(function(){Sr(function(xt){var Ot=xt+(an?-ot:ot);return Rn(Ot)})}),pn()):Br(function(xt){var Ot=xt+ot;return Ot})}),Kn=ke(On,xe,Je,!!pt,nr),_=(0,X.Z)(Kn,2),k=_[0],M=_[1];st(On,ln,function(ot,ft){return Ft(ot,ft)?!1:(k({preventDefault:function(){},deltaY:ot}),!0)}),n(function(){function ot(xt){On&&xt.preventDefault()}var ft=ln.current;return ft.addEventListener("wheel",k),ft.addEventListener("DOMMouseScroll",M),ft.addEventListener("MozMousePixelScroll",ot),function(){ft.removeEventListener("wheel",k),ft.removeEventListener("DOMMouseScroll",M),ft.removeEventListener("MozMousePixelScroll",ot)}},[On]),n(function(){pt&&Sr(function(ot){return Rn(ot)})},[Dr.width,pt]);var ee=function(){var ft,xt;(ft=pi.current)===null||ft===void 0||ft.delayHidden(),(xt=q.current)===null||xt===void 0||xt.delayHidden()},Ee=lt(ln,Dn,ha,ht,Or,function(){return da(!0)},Br,ee);A.useImperativeHandle(Oe,function(){return{getScrollInfo:Zt,scrollTo:function(ft){function xt(Ot){return Ot&&(0,$.Z)(Ot)==="object"&&("left"in Ot||"top"in Ot)}xt(ft)?(ft.left!==void 0&&Sr(Rn(ft.left)),Ee(ft.top)):Ee(ft)}}}),n(function(){if(fn){var ot=Dn.slice($r,ka+1);fn(ot,Dn)}},[$r,ka,Dn]);var Ke=ut(Dn,Or,ha,ht),Qe=ir==null?void 0:ir({start:$r,end:ka,virtual:Gn,offsetX:ur,offsetY:ei,rtl:an,getSize:Ke}),Ct=W(Dn,$r,ka,pt,fi,mt,Yr),gt=null;tt&&(gt=(0,R.Z)((0,z.Z)({},Ht?"height":"maxHeight",tt),nt),On&&(gt.overflowY="hidden",pt&&(gt.overflowX="hidden"),Er&&(gt.pointerEvents="none")));var Vt={};return an&&(Vt.dir="rtl"),A.createElement("div",(0,x.Z)({style:(0,R.Z)((0,R.Z)({},Kt),{},{position:"relative"}),className:zn},Vt,mn),A.createElement(h.Z,{onResize:xa},A.createElement(et,{className:"".concat(ve,"-holder"),style:gt,ref:ln,onScroll:Qn,onMouseEnter:ee},A.createElement(o,{prefixCls:ve,height:hr,offsetX:ur,offsetY:ei,scrollWidth:pt,onInnerResize:da,ref:gn,innerProps:Zn,rtl:an,extra:Qe},Ct))),Gn&&hr>tt&&A.createElement(T,{ref:pi,prefixCls:ve,scrollOffset:hn,scrollRange:hr,rtl:an,onScroll:In,onStartMove:qa,onStopMove:Ta,spinSize:Ie,containerSize:Dr.height,style:kn==null?void 0:kn.verticalScrollBar,thumbStyle:kn==null?void 0:kn.verticalScrollBarThumb}),Gn&&pt&&A.createElement(T,{ref:q,prefixCls:ve,scrollOffset:ur,scrollRange:pt,rtl:an,onScroll:In,onStartMove:qa,onStopMove:Ta,spinSize:we,containerSize:Dr.width,horizontal:!0,style:kn==null?void 0:kn.horizontalScrollBar,thumbStyle:kn==null?void 0:kn.horizontalScrollBarThumb}))}var tn=A.forwardRef(bt);tn.displayName="List";var rn=tn,Yt=rn},66392:function(St,Ce){"use strict";var i;var x=Symbol.for("react.element"),R=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),A=Symbol.for("react.context"),K=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),o=Symbol.for("react.lazy"),s=Symbol.for("react.offscreen"),f;f=Symbol.for("react.module.reference");function v(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case x:switch(c=c.type,c){case $:case z:case X:case p:case h:return c;default:switch(c=c&&c.$$typeof,c){case K:case A:case e:case o:case t:case u:return c;default:return y}}case R:return y}}}i=A,i=u,i=x,i=e,i=$,i=o,i=t,i=R,i=z,i=X,i=p,i=h,i=function(){return!1},i=function(){return!1},i=function(c){return v(c)===A},i=function(c){return v(c)===u},i=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===x},i=function(c){return v(c)===e},i=function(c){return v(c)===$},i=function(c){return v(c)===o},i=function(c){return v(c)===t},i=function(c){return v(c)===R},i=function(c){return v(c)===z},i=function(c){return v(c)===X},i=function(c){return v(c)===p},i=function(c){return v(c)===h},i=function(c){return typeof c=="string"||typeof c=="function"||c===$||c===z||c===X||c===p||c===h||c===s||typeof c=="object"&&c!==null&&(c.$$typeof===o||c.$$typeof===t||c.$$typeof===u||c.$$typeof===A||c.$$typeof===e||c.$$typeof===f||c.getModuleId!==void 0)},i=v},31461:function(St,Ce,i){"use strict";i(66392)},74300:function(St,Ce,i){"use strict";Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.CopyToClipboard=void 0;var x=$(i(67294)),R=$(i(20640));function $(g){return g&&g.__esModule?g:{default:g}}function X(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(l){return typeof l}:X=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},X(g)}function z(g,E){var l=Object.keys(g);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(g);E&&(d=d.filter(function(T){return Object.getOwnPropertyDescriptor(g,T).enumerable})),l.push.apply(l,d)}return l}function u(g){for(var E=1;E<arguments.length;E++){var l=arguments[E]!=null?arguments[E]:{};E%2?z(l,!0).forEach(function(d){c(g,d,l[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(l)):z(l).forEach(function(d){Object.defineProperty(g,d,Object.getOwnPropertyDescriptor(l,d))})}return g}function A(g,E){if(g==null)return{};var l=K(g,E),d,T;if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(g);for(T=0;T<Z.length;T++)d=Z[T],!(E.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(g,d)&&(l[d]=g[d])}return l}function K(g,E){if(g==null)return{};var l={},d=Object.keys(g),T,Z;for(Z=0;Z<d.length;Z++)T=d[Z],!(E.indexOf(T)>=0)&&(l[T]=g[T]);return l}function e(g,E){if(!(g instanceof E))throw new TypeError("Cannot call a class as a function")}function p(g,E){for(var l=0;l<E.length;l++){var d=E[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(g,d.key,d)}}function h(g,E,l){return E&&p(g.prototype,E),l&&p(g,l),g}function t(g,E){return E&&(X(E)==="object"||typeof E=="function")?E:s(g)}function o(g){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(l){return l.__proto__||Object.getPrototypeOf(l)},o(g)}function s(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function f(g,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(E&&E.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),E&&v(g,E)}function v(g,E){return v=Object.setPrototypeOf||function(d,T){return d.__proto__=T,d},v(g,E)}function c(g,E,l){return E in g?Object.defineProperty(g,E,{value:l,enumerable:!0,configurable:!0,writable:!0}):g[E]=l,g}var y=function(g){f(E,g);function E(){var l,d;e(this,E);for(var T=arguments.length,Z=new Array(T),W=0;W<T;W++)Z[W]=arguments[W];return d=t(this,(l=o(E)).call.apply(l,[this].concat(Z))),c(s(d),"onClick",function(H){var G=d.props,Q=G.text,ye=G.onCopy,C=G.children,w=G.options,P=x.default.Children.only(C),I=(0,R.default)(Q,w);ye&&ye(Q,I),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(H)}),d}return h(E,[{key:"render",value:function(){var d=this.props,T=d.text,Z=d.onCopy,W=d.options,H=d.children,G=A(d,["text","onCopy","options","children"]),Q=x.default.Children.only(H);return x.default.cloneElement(Q,u({},G,{onClick:this.onClick}))}}]),E}(x.default.PureComponent);Ce.CopyToClipboard=y,c(y,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(St,Ce,i){"use strict";var x=i(74300),R=x.CopyToClipboard;R.CopyToClipboard=R,St.exports=R},91033:function(St,Ce,i){"use strict";var x=function(){if(typeof Map!="undefined")return Map;function C(w,P){var I=-1;return w.some(function(L,D){return L[0]===P?(I=D,!0):!1}),I}return function(){function w(){this.__entries__=[]}return Object.defineProperty(w.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),w.prototype.get=function(P){var I=C(this.__entries__,P),L=this.__entries__[I];return L&&L[1]},w.prototype.set=function(P,I){var L=C(this.__entries__,P);~L?this.__entries__[L][1]=I:this.__entries__.push([P,I])},w.prototype.delete=function(P){var I=this.__entries__,L=C(I,P);~L&&I.splice(L,1)},w.prototype.has=function(P){return!!~C(this.__entries__,P)},w.prototype.clear=function(){this.__entries__.splice(0)},w.prototype.forEach=function(P,I){I===void 0&&(I=null);for(var L=0,D=this.__entries__;L<D.length;L++){var a=D[L];P.call(I,a[1],a[0])}},w}()}(),R=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,$=function(){return typeof i.g!="undefined"&&i.g.Math===Math?i.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),X=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind($):function(C){return setTimeout(function(){return C(Date.now())},1e3/60)}}(),z=2;function u(C,w){var P=!1,I=!1,L=0;function D(){P&&(P=!1,C()),I&&n()}function a(){X(D)}function n(){var m=Date.now();if(P){if(m-L<z)return;I=!0}else P=!0,I=!1,setTimeout(a,w);L=m}return n}var A=20,K=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",p=function(){function C(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=u(this.refresh.bind(this),A)}return C.prototype.addObserver=function(w){~this.observers_.indexOf(w)||this.observers_.push(w),this.connected_||this.connect_()},C.prototype.removeObserver=function(w){var P=this.observers_,I=P.indexOf(w);~I&&P.splice(I,1),!P.length&&this.connected_&&this.disconnect_()},C.prototype.refresh=function(){var w=this.updateObservers_();w&&this.refresh()},C.prototype.updateObservers_=function(){var w=this.observers_.filter(function(P){return P.gatherActive(),P.hasActive()});return w.forEach(function(P){return P.broadcastActive()}),w.length>0},C.prototype.connect_=function(){!R||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},C.prototype.disconnect_=function(){!R||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},C.prototype.onTransitionEnd_=function(w){var P=w.propertyName,I=P===void 0?"":P,L=K.some(function(D){return!!~I.indexOf(D)});L&&this.refresh()},C.getInstance=function(){return this.instance_||(this.instance_=new C),this.instance_},C.instance_=null,C}(),h=function(C,w){for(var P=0,I=Object.keys(w);P<I.length;P++){var L=I[P];Object.defineProperty(C,L,{value:w[L],enumerable:!1,writable:!1,configurable:!0})}return C},t=function(C){var w=C&&C.ownerDocument&&C.ownerDocument.defaultView;return w||$},o=T(0,0,0,0);function s(C){return parseFloat(C)||0}function f(C){for(var w=[],P=1;P<arguments.length;P++)w[P-1]=arguments[P];return w.reduce(function(I,L){var D=C["border-"+L+"-width"];return I+s(D)},0)}function v(C){for(var w=["top","right","bottom","left"],P={},I=0,L=w;I<L.length;I++){var D=L[I],a=C["padding-"+D];P[D]=s(a)}return P}function c(C){var w=C.getBBox();return T(0,0,w.width,w.height)}function y(C){var w=C.clientWidth,P=C.clientHeight;if(!w&&!P)return o;var I=t(C).getComputedStyle(C),L=v(I),D=L.left+L.right,a=L.top+L.bottom,n=s(I.width),m=s(I.height);if(I.boxSizing==="border-box"&&(Math.round(n+D)!==w&&(n-=f(I,"left","right")+D),Math.round(m+a)!==P&&(m-=f(I,"top","bottom")+a)),!E(C)){var B=Math.round(n+D)-w,pe=Math.round(m+a)-P;Math.abs(B)!==1&&(n-=B),Math.abs(pe)!==1&&(m-=pe)}return T(L.left,L.top,n,m)}var g=function(){return typeof SVGGraphicsElement!="undefined"?function(C){return C instanceof t(C).SVGGraphicsElement}:function(C){return C instanceof t(C).SVGElement&&typeof C.getBBox=="function"}}();function E(C){return C===t(C).document.documentElement}function l(C){return R?g(C)?c(C):y(C):o}function d(C){var w=C.x,P=C.y,I=C.width,L=C.height,D=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,a=Object.create(D.prototype);return h(a,{x:w,y:P,width:I,height:L,top:P,right:w+I,bottom:L+P,left:w}),a}function T(C,w,P,I){return{x:C,y:w,width:P,height:I}}var Z=function(){function C(w){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=T(0,0,0,0),this.target=w}return C.prototype.isActive=function(){var w=l(this.target);return this.contentRect_=w,w.width!==this.broadcastWidth||w.height!==this.broadcastHeight},C.prototype.broadcastRect=function(){var w=this.contentRect_;return this.broadcastWidth=w.width,this.broadcastHeight=w.height,w},C}(),W=function(){function C(w,P){var I=d(P);h(this,{target:w,contentRect:I})}return C}(),H=function(){function C(w,P,I){if(this.activeObservations_=[],this.observations_=new x,typeof w!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=w,this.controller_=P,this.callbackCtx_=I}return C.prototype.observe=function(w){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(w instanceof t(w).Element))throw new TypeError('parameter 1 is not of type "Element".');var P=this.observations_;P.has(w)||(P.set(w,new Z(w)),this.controller_.addObserver(this),this.controller_.refresh())}},C.prototype.unobserve=function(w){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(w instanceof t(w).Element))throw new TypeError('parameter 1 is not of type "Element".');var P=this.observations_;P.has(w)&&(P.delete(w),P.size||this.controller_.removeObserver(this))}},C.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},C.prototype.gatherActive=function(){var w=this;this.clearActive(),this.observations_.forEach(function(P){P.isActive()&&w.activeObservations_.push(P)})},C.prototype.broadcastActive=function(){if(this.hasActive()){var w=this.callbackCtx_,P=this.activeObservations_.map(function(I){return new W(I.target,I.broadcastRect())});this.callback_.call(w,P,w),this.clearActive()}},C.prototype.clearActive=function(){this.activeObservations_.splice(0)},C.prototype.hasActive=function(){return this.activeObservations_.length>0},C}(),G=typeof WeakMap!="undefined"?new WeakMap:new x,Q=function(){function C(w){if(!(this instanceof C))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var P=p.getInstance(),I=new H(w,P,this);G.set(this,I)}return C}();["observe","unobserve","disconnect"].forEach(function(C){Q.prototype[C]=function(){var w;return(w=G.get(this))[C].apply(w,arguments)}});var ye=function(){return typeof $.ResizeObserver!="undefined"?$.ResizeObserver:Q}();Ce.Z=ye},11742:function(St){St.exports=function(){var Ce=document.getSelection();if(!Ce.rangeCount)return function(){};for(var i=document.activeElement,x=[],R=0;R<Ce.rangeCount;R++)x.push(Ce.getRangeAt(R));switch(i.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":i.blur();break;default:i=null;break}return Ce.removeAllRanges(),function(){Ce.type==="Caret"&&Ce.removeAllRanges(),Ce.rangeCount||x.forEach(function($){Ce.addRange($)}),i&&i.focus()}}},4977:function(St){"use strict";St.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},17423:function(St,Ce,i){"use strict";i.d(Ce,{Z:function(){return K}});const x=e=>typeof e=="object"&&e!=null&&e.nodeType===1,R=(e,p)=>(!p||e!=="hidden")&&e!=="visible"&&e!=="clip",$=(e,p)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const h=getComputedStyle(e,null);return R(h.overflowY,p)||R(h.overflowX,p)||(t=>{const o=(s=>{if(!s.ownerDocument||!s.ownerDocument.defaultView)return null;try{return s.ownerDocument.defaultView.frameElement}catch(f){return null}})(t);return!!o&&(o.clientHeight<t.scrollHeight||o.clientWidth<t.scrollWidth)})(e)}return!1},X=(e,p,h,t,o,s,f,v)=>s<e&&f>p||s>e&&f<p?0:s<=e&&v<=h||f>=p&&v>=h?s-e-t:f>p&&v<h||s<e&&v>h?f-p+o:0,z=e=>{const p=e.parentElement;return p==null?e.getRootNode().host||null:p},u=(e,p)=>{var h,t,o,s;if(typeof document=="undefined")return[];const{scrollMode:f,block:v,inline:c,boundary:y,skipOverflowHiddenElements:g}=p,E=typeof y=="function"?y:De=>De!==y;if(!x(e))throw new TypeError("Invalid target");const l=document.scrollingElement||document.documentElement,d=[];let T=e;for(;x(T)&&E(T);){if(T=z(T),T===l){d.push(T);break}T!=null&&T===document.body&&$(T)&&!$(document.documentElement)||T!=null&&$(T,g)&&d.push(T)}const Z=(t=(h=window.visualViewport)==null?void 0:h.width)!=null?t:innerWidth,W=(s=(o=window.visualViewport)==null?void 0:o.height)!=null?s:innerHeight,{scrollX:H,scrollY:G}=window,{height:Q,width:ye,top:C,right:w,bottom:P,left:I}=e.getBoundingClientRect(),{top:L,right:D,bottom:a,left:n}=(De=>{const Re=window.getComputedStyle(De);return{top:parseFloat(Re.scrollMarginTop)||0,right:parseFloat(Re.scrollMarginRight)||0,bottom:parseFloat(Re.scrollMarginBottom)||0,left:parseFloat(Re.scrollMarginLeft)||0}})(e);let m=v==="start"||v==="nearest"?C-L:v==="end"?P+a:C+Q/2-L+a,B=c==="center"?I+ye/2-n+D:c==="end"?w+D:I-n;const pe=[];for(let De=0;De<d.length;De++){const Re=d[De],{height:qe,width:Xe,top:Rt,right:_e,bottom:it,left:$e}=Re.getBoundingClientRect();if(f==="if-needed"&&C>=0&&I>=0&&P<=W&&w<=Z&&C>=Rt&&P<=it&&I>=$e&&w<=_e)return pe;const Ze=getComputedStyle(Re),re=parseInt(Ze.borderLeftWidth,10),Me=parseInt(Ze.borderTopWidth,10),j=parseInt(Ze.borderRightWidth,10),de=parseInt(Ze.borderBottomWidth,10);let ae=0,He=0;const Le="offsetWidth"in Re?Re.offsetWidth-Re.clientWidth-re-j:0,F="offsetHeight"in Re?Re.offsetHeight-Re.clientHeight-Me-de:0,O="offsetWidth"in Re?Re.offsetWidth===0?0:Xe/Re.offsetWidth:0,te="offsetHeight"in Re?Re.offsetHeight===0?0:qe/Re.offsetHeight:0;if(l===Re)ae=v==="start"?m:v==="end"?m-W:v==="nearest"?X(G,G+W,W,Me,de,G+m,G+m+Q,Q):m-W/2,He=c==="start"?B:c==="center"?B-Z/2:c==="end"?B-Z:X(H,H+Z,Z,re,j,H+B,H+B+ye,ye),ae=Math.max(0,ae+G),He=Math.max(0,He+H);else{ae=v==="start"?m-Rt-Me:v==="end"?m-it+de+F:v==="nearest"?X(Rt,it,qe,Me,de+F,m,m+Q,Q):m-(Rt+qe/2)+F/2,He=c==="start"?B-$e-re:c==="center"?B-($e+Xe/2)+Le/2:c==="end"?B-_e+j+Le:X($e,_e,Xe,re,j+Le,B,B+ye,ye);const{scrollLeft:he,scrollTop:J}=Re;ae=te===0?0:Math.max(0,Math.min(J+ae/te,Re.scrollHeight-qe/te+F)),He=O===0?0:Math.max(0,Math.min(he+He/O,Re.scrollWidth-Xe/O+Le)),m+=J-ae,B+=he-He}pe.push({el:Re,top:ae,left:He})}return pe},A=e=>e===!1?{block:"end",inline:"nearest"}:(p=>p===Object(p)&&Object.keys(p).length!==0)(e)?e:{block:"start",inline:"nearest"};function K(e,p){if(!e.isConnected||!(o=>{let s=o;for(;s&&s.parentNode;){if(s.parentNode===document)return!0;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(e))return;const h=(o=>{const s=window.getComputedStyle(o);return{top:parseFloat(s.scrollMarginTop)||0,right:parseFloat(s.scrollMarginRight)||0,bottom:parseFloat(s.scrollMarginBottom)||0,left:parseFloat(s.scrollMarginLeft)||0}})(e);if((o=>typeof o=="object"&&typeof o.behavior=="function")(p))return p.behavior(u(e,p));const t=typeof p=="boolean"||p==null?void 0:p.behavior;for(const{el:o,top:s,left:f}of u(e,A(p))){const v=s-h.top+h.bottom,c=f-h.left+h.right;o.scroll({top:v,left:c,behavior:t})}}}}]);
|