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
581 KiB
128 lines
581 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[9649],{98280:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return Kn}});function S(p){"@babel/helpers - typeof";return S=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},S(p)}function C(p,k){if(S(p)!="object"||!p)return p;var M=p[Symbol.toPrimitive];if(M!==void 0){var te=M.call(p,k||"default");if(S(te)!="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(p)}function $(p){var k=C(p,"string");return S(k)=="symbol"?k:k+""}function J(p,k,M){return(k=$(k))in p?Object.defineProperty(p,k,{value:M,enumerable:!0,configurable:!0,writable:!0}):p[k]=M,p}function j(p,k){var M=Object.keys(p);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(p);k&&(te=te.filter(function(xe){return Object.getOwnPropertyDescriptor(p,xe).enumerable})),M.push.apply(M,te)}return M}function s(p){for(var k=1;k<arguments.length;k++){var M=arguments[k]!=null?arguments[k]:{};k%2?j(Object(M),!0).forEach(function(te){J(p,te,M[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(M)):j(Object(M)).forEach(function(te){Object.defineProperty(p,te,Object.getOwnPropertyDescriptor(M,te))})}return p}function A(p){if(Array.isArray(p))return p}function Z(p,k){var M=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(M!=null){var te,xe,De,Ye,xt=[],gt=!0,Vt=!1;try{if(De=(M=M.call(p)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(te=De.call(M)).done)&&(xt.push(te.value),xt.length!==k);gt=!0);}catch(nt){Vt=!0,xe=nt}finally{try{if(!gt&&M.return!=null&&(Ye=M.return(),Object(Ye)!==Ye))return}finally{if(Vt)throw xe}}return xt}}function e(p,k){(k==null||k>p.length)&&(k=p.length);for(var M=0,te=Array(k);M<k;M++)te[M]=p[M];return te}function _(p,k){if(p){if(typeof p=="string")return e(p,k);var M={}.toString.call(p).slice(8,-1);return M==="Object"&&p.constructor&&(M=p.constructor.name),M==="Map"||M==="Set"?Array.from(p):M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M)?e(p,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(p,k){return A(p)||Z(p,k)||_(p,k)||h()}function u(p,k){if(p==null)return{};var M={};for(var te in p)if({}.hasOwnProperty.call(p,te)){if(k.indexOf(te)!==-1)continue;M[te]=p[te]}return M}function c(p,k){if(p==null)return{};var M,te,xe=u(p,k);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(p);for(te=0;te<De.length;te++)M=De[te],k.indexOf(M)===-1&&{}.propertyIsEnumerable.call(p,M)&&(xe[M]=p[M])}return xe}function d(p){if(Array.isArray(p))return p}function v(p,k){var M=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(M!=null){var te,xe,De,Ye,xt=[],gt=!0,Vt=!1;try{if(De=(M=M.call(p)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(te=De.call(M)).done)&&(xt.push(te.value),xt.length!==k);gt=!0);}catch(nt){Vt=!0,xe=nt}finally{try{if(!gt&&M.return!=null&&(Ye=M.return(),Object(Ye)!==Ye))return}finally{if(Vt)throw xe}}return xt}}function l(p,k){(k==null||k>p.length)&&(k=p.length);for(var M=0,te=new Array(k);M<k;M++)te[M]=p[M];return te}function y(p,k){if(p){if(typeof p=="string")return l(p,k);var M=Object.prototype.toString.call(p).slice(8,-1);if(M==="Object"&&p.constructor&&(M=p.constructor.name),M==="Map"||M==="Set")return Array.from(p);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return l(p,k)}}function m(){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 w(p,k){return d(p)||v(p,k)||y(p,k)||m()}var o=a(67294),f=a.t(o,2),T=a(73935);function I(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var U={};function V(p,k){}function G(p,k){}function X(){U={}}function _e(p,k,M){!k&&!U[M]&&(p(!1,M),U[M]=!0)}function x(p,k){_e(V,p,k)}function g(p,k){_e(G,p,k)}var P=null;function D(p){"@babel/helpers - typeof";return D=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},D(p)}var K=a(81640);function L(p,k,M){var te=o.useRef({});return(!("value"in te.current)||M(te.current.condition,k))&&(te.current.value=p(),te.current.condition=k),te.current.value}function i(p,k){typeof p=="function"?p(k):D(p)==="object"&&p&&"current"in p&&(p.current=k)}function n(){for(var p=arguments.length,k=new Array(p),M=0;M<p;M++)k[M]=arguments[M];var te=k.filter(function(xe){return xe});return te.length<=1?te[0]:function(xe){k.forEach(function(De){i(De,xe)})}}function N(){for(var p=arguments.length,k=new Array(p),M=0;M<p;M++)k[M]=arguments[M];return L(function(){return n.apply(void 0,k)},k,function(te,xe){return te.length===xe.length&&te.every(function(De,Ye){return De===xe[Ye]})})}function H(p){var k,M,te=(0,K.isMemo)(p)?p.type.type:p.type;return!(typeof te=="function"&&!((k=te.prototype)!==null&&k!==void 0&&k.render)||typeof p=="function"&&!((M=p.prototype)!==null&&M!==void 0&&M.render))}var ve=o.createContext(null),Oe=ve;function Ue(p){if(Array.isArray(p))return l(p)}function rt(p){if(typeof Symbol!="undefined"&&p[Symbol.iterator]!=null||p["@@iterator"]!=null)return Array.from(p)}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 Mt(p){return Ue(p)||rt(p)||y(p)||Xe()}var ge=I()?o.useLayoutEffect:o.useEffect,st=ge,We=function(k,M){var te=React.useRef(!0);ge(function(){if(!te.current)return k()},M),ge(function(){return te.current=!1,function(){te.current=!0}},[])},ue=[];function Y(p,k){var M=o.useState(function(){if(!I())return null;var Jt=document.createElement("div");return Jt}),te=w(M,1),xe=te[0],De=o.useRef(!1),Ye=o.useContext(Oe),xt=o.useState(ue),gt=w(xt,2),Vt=gt[0],nt=gt[1],at=Ye||(De.current?void 0:function(Jt){nt(function(Fn){var En=[Jt].concat(Mt(Fn));return En})});function Et(){xe.parentElement||document.body.appendChild(xe),De.current=!0}function kt(){var Jt;(Jt=xe.parentElement)===null||Jt===void 0||Jt.removeChild(xe),De.current=!1}return st(function(){return p?Ye?Ye(Et):Et():kt(),kt},[p]),st(function(){Vt.length&&(Vt.forEach(function(Jt){return Jt()}),nt(ue))},[Vt]),[xe,at]}function Ee(p,k){if(!p)return!1;if(p.contains)return p.contains(k);for(var M=k;M;){if(M===p)return!0;M=M.parentNode}return!1}var B="data-rc-order",he="rc-util-key",oe=new Map;function Ge(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},k=p.mark;return k?k.startsWith("data-")?k:"data-".concat(k):he}function Ie(p){if(p.attachTo)return p.attachTo;var k=document.querySelector("head");return k||document.body}function F(p){return p==="queue"?"prependQueue":p?"prepend":"append"}function O(p){return Array.from((oe.get(p)||p).children).filter(function(k){return k.tagName==="STYLE"})}function re(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I())return null;var M=k.csp,te=k.prepend,xe=document.createElement("style");xe.setAttribute(B,F(te)),M!=null&&M.nonce&&(xe.nonce=M==null?void 0:M.nonce),xe.innerHTML=p;var De=Ie(k),Ye=De.firstChild;if(te){if(te==="queue"){var xt=O(De).filter(function(gt){return["prepend","prependQueue"].includes(gt.getAttribute(B))});if(xt.length)return De.insertBefore(xe,xt[xt.length-1].nextSibling),xe}De.insertBefore(xe,Ye)}else De.appendChild(xe);return xe}function de(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=Ie(k);return O(M).find(function(te){return te.getAttribute(Ge(k))===p})}function ee(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=de(p,k);if(M){var te=Ie(k);te.removeChild(M)}}function ce(p,k){var M=oe.get(p);if(!M||!Ee(document,M)){var te=re("",k),xe=te.parentNode;oe.set(p,xe),p.removeChild(te)}}function se(){oe.clear()}function je(p,k){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},te=Ie(M);ce(te,M);var xe=de(k,M);if(xe){var De,Ye;if((De=M.csp)!==null&&De!==void 0&&De.nonce&&xe.nonce!==((Ye=M.csp)===null||Ye===void 0?void 0:Ye.nonce)){var xt;xe.nonce=(xt=M.csp)===null||xt===void 0?void 0:xt.nonce}return xe.innerHTML!==p&&(xe.innerHTML=p),xe}var gt=re(p,M);return gt.setAttribute(Ge(M),k),gt}var Ze;function ut(p){if(typeof document=="undefined")return 0;if(p||Ze===void 0){var k=document.createElement("div");k.style.width="100%",k.style.height="200px";var M=document.createElement("div"),te=M.style;te.position="absolute",te.top="0",te.left="0",te.pointerEvents="none",te.visibility="hidden",te.width="200px",te.height="150px",te.overflow="hidden",M.appendChild(k),document.body.appendChild(M);var xe=k.offsetWidth;M.style.overflow="scroll";var De=k.offsetWidth;xe===De&&(De=M.clientWidth),document.body.removeChild(M),Ze=xe-De}return Ze}function ht(p){var k=p.match(/^(.*)px$/),M=Number(k==null?void 0:k[1]);return Number.isNaN(M)?ut():M}function Nt(p){if(typeof document=="undefined"||!p||!(p instanceof Element))return{width:0,height:0};var k=getComputedStyle(p,"::-webkit-scrollbar"),M=k.width,te=k.height;return{width:ht(M),height:ht(te)}}function He(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ne="rc-util-locker-".concat(Date.now()),Me=0;function $e(p){var k=!!p,M=o.useState(function(){return Me+=1,"".concat(Ne,"_").concat(Me)}),te=w(M,1),xe=te[0];st(function(){if(k){var De=Nt(document.body).width,Ye=He();je(`
|
|
html body {
|
|
overflow-y: hidden;
|
|
`.concat(Ye?"width: calc(100% - ".concat(De,"px);"):"",`
|
|
}`),xe)}else ee(xe);return function(){ee(xe)}},[k,xe])}var Ve=!1;function vt(p){return typeof p=="boolean"&&(Ve=p),Ve}var ct=function(k){return k===!1?!1:!I()||!k?null:typeof k=="string"?document.querySelector(k):typeof k=="function"?k():k},Ct=o.forwardRef(function(p,k){var M=p.open,te=p.autoLock,xe=p.getContainer,De=p.debug,Ye=p.autoDestroy,xt=Ye===void 0?!0:Ye,gt=p.children,Vt=o.useState(M),nt=w(Vt,2),at=nt[0],Et=nt[1],kt=at||M;o.useEffect(function(){(xt||M)&&Et(M)},[M,xt]);var Jt=o.useState(function(){return ct(xe)}),Fn=w(Jt,2),En=Fn[0],Bn=Fn[1];o.useEffect(function(){var Pr=ct(xe);Bn(Pr!=null?Pr:null)});var Wn=Y(kt&&!En,De),An=w(Wn,2),rr=An[0],sr=An[1],ln=En!=null?En:rr;$e(te&&M&&I()&&(ln===rr||ln===document.body));var Ir=null;if(gt&&H(gt)&&k){var gr=gt;Ir=gr.ref}var xr=N(Ir,k);if(!kt||!I()||En===void 0)return null;var ri=ln===!1||vt(),Rr=gt;return k&&(Rr=o.cloneElement(gt,{ref:xr})),o.createElement(Oe.Provider,{value:sr},ri?Rr:(0,T.createPortal)(Rr,ln))}),Ke=Ct,ot=Ke,Lt=a(94184),mt=a.n(Lt),lt=a(48555);function bt(p){return p instanceof HTMLElement||p instanceof SVGElement}function on(p){return p&&_typeof(p)==="object"&&bt(p.nativeElement)?p.nativeElement:bt(p)?p:null}function pn(p){var k=on(p);if(k)return k;if(p instanceof React.Component){var M;return(M=ReactDOM.findDOMNode)===null||M===void 0?void 0:M.call(ReactDOM,p)}return null}function Yt(p){var k;return p==null||(k=p.getRootNode)===null||k===void 0?void 0:k.call(p)}function ie(p){return Yt(p)instanceof ShadowRoot}function Te(p){return ie(p)?Yt(p):null}function ye(p){var k=o.useRef();k.current=p;var M=o.useCallback(function(){for(var te,xe=arguments.length,De=new Array(xe),Ye=0;Ye<xe;Ye++)De[Ye]=arguments[Ye];return(te=k.current)===null||te===void 0?void 0:te.call.apply(te,[k].concat(De))},[]);return M}function pe(p){if(Array.isArray(p))return p}function et(p,k){var M=p==null?null:typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(M!=null){var te,xe,De,Ye,xt=[],gt=!0,Vt=!1;try{if(De=(M=M.call(p)).next,k===0){if(Object(M)!==M)return;gt=!1}else for(;!(gt=(te=De.call(M)).done)&&(xt.push(te.value),xt.length!==k);gt=!0);}catch(nt){Vt=!0,xe=nt}finally{try{if(!gt&&M.return!=null&&(Ye=M.return(),Object(Ye)!==Ye))return}finally{if(Vt)throw xe}}return xt}}function qe(p,k){(k==null||k>p.length)&&(k=p.length);for(var M=0,te=new Array(k);M<k;M++)te[M]=p[M];return te}function ft(p,k){if(p){if(typeof p=="string")return qe(p,k);var M=Object.prototype.toString.call(p).slice(8,-1);if(M==="Object"&&p.constructor&&(M=p.constructor.name),M==="Map"||M==="Set")return Array.from(p);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return qe(p,k)}}function Rt(){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(p,k){return pe(p)||et(p,k)||ft(p,k)||Rt()}function Kt(p){"@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(p)}function Pt(p,k){if(Kt(p)!=="object"||p===null)return p;var M=p[Symbol.toPrimitive];if(M!==void 0){var te=M.call(p,k||"default");if(Kt(te)!=="object")return te;throw new TypeError("@@toPrimitive must return a primitive value.")}return(k==="string"?String:Number)(p)}function _t(p){var k=Pt(p,"string");return Kt(k)==="symbol"?k:String(k)}function jt(p,k,M){return k=_t(k),k in p?Object.defineProperty(p,k,{value:M,enumerable:!0,configurable:!0,writable:!0}):p[k]=M,p}function It(p,k){var M=Object.keys(p);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(p);k&&(te=te.filter(function(xe){return Object.getOwnPropertyDescriptor(p,xe).enumerable})),M.push.apply(M,te)}return M}function Bt(p){for(var k=1;k<arguments.length;k++){var M=arguments[k]!=null?arguments[k]:{};k%2?It(Object(M),!0).forEach(function(te){jt(p,te,M[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(M)):It(Object(M)).forEach(function(te){Object.defineProperty(p,te,Object.getOwnPropertyDescriptor(M,te))})}return p}function dt(){var p=Bt({},f);return p.useId}var Fe=0;function Je(){}var Tt=dt(),tn=Tt?function(k){var M=Tt();return k||M}:function(k){var M=o.useState("ssr-id"),te=Ht(M,2),xe=te[0],De=te[1];return o.useEffect(function(){var Ye=Fe;Fe+=1,De("rc_unique_".concat(Ye))},[]),k||xe};function cn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Zn=cn()?o.useLayoutEffect:o.useEffect,ar=function(k,M){var te=o.useRef(!0);Zn(function(){return k(te.current)},M),Zn(function(){return te.current=!1,function(){te.current=!0}},[])},kn=function(k,M){ar(function(te){if(!te)return k()},M)},mn=ar,On=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var p=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(p)||/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(p==null?void 0:p.substr(0,4))};function Gn(){return Gn=Object.assign?Object.assign.bind():function(p){for(var k=1;k<arguments.length;k++){var M=arguments[k];for(var te in M)({}).hasOwnProperty.call(M,te)&&(p[te]=M[te])}return p},Gn.apply(null,arguments)}var nn=a(62874),zn=a(52481);function Dn(p,k,M){var te=o.useRef({});return(!("value"in te.current)||M(te.current.condition,k))&&(te.current.value=p(),te.current.condition=k),te.current.value}var un=Symbol.for("react.element"),gn=Symbol.for("react.transitional.element"),yn=Symbol.for("react.fragment");function Sn(p){return p&&Kt(p)==="object"&&(p.$$typeof===un||p.$$typeof===gn)&&p.type===yn}var dn=Number(o.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),te=0;te<k;te++)M[te]=arguments[te];var xe=M.filter(Boolean);return xe.length<=1?xe[0]:function(De){M.forEach(function(Ye){Mn(Ye,De)})}},er=function(){for(var k=arguments.length,M=new Array(k),te=0;te<k;te++)M[te]=arguments[te];return Dn(function(){return Un.apply(void 0,M)},M,function(xe,De){return xe.length!==De.length||xe.every(function(Ye,xt){return Ye!==De[xt]})})},ur=function(k){var M,te;if(!k)return!1;if(Sr(k)&&dn>=19)return!0;var xe=(0,zn.isMemo)(k)?k.type.type:k.type;return!(typeof xe=="function"&&!((M=xe.prototype)!==null&&M!==void 0&&M.render)&&xe.$$typeof!==zn.ForwardRef||typeof k=="function"&&!((te=k.prototype)!==null&&te!==void 0&&te.render)&&k.$$typeof!==zn.ForwardRef)};function Sr(p){return(0,o.isValidElement)(p)&&!Sn(p)}var Ei=function(k){return Sr(k)&&ur(k)},Wi=function(k){if(k&&Sr(k)){var M=k;return M.props.propertyIsEnumerable("ref")?M.props.ref:M.ref}return null};function Er(p){var k=p.prefixCls,M=p.align,te=p.arrow,xe=p.arrowPos,De=te||{},Ye=De.className,xt=De.content,gt=xe.x,Vt=gt===void 0?0:gt,nt=xe.y,at=nt===void 0?0:nt,Et=o.useRef();if(!M||!M.points)return null;var kt={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)?kt.top=at:En==="t"?kt.top=0:kt.bottom=0,Bn===An||!["l","r"].includes(Bn)?kt.left=Vt:Bn==="l"?kt.left=0:kt.right=0}return o.createElement("div",{ref:Et,className:mt()("".concat(k,"-arrow"),Ye),style:kt},xt)}function Ji(p){var k=p.prefixCls,M=p.open,te=p.zIndex,xe=p.mask,De=p.motion;return xe?o.createElement(nn.Z,Gn({},De,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(Ye){var xt=Ye.className;return o.createElement("div",{style:{zIndex:te},className:mt()("".concat(k,"-mask"),xt)})}):null}var qi=o.memo(function(p){var k=p.children;return k},function(p,k){return k.cache}),Ti=qi,Or=o.forwardRef(function(p,k){var M=p.popup,te=p.className,xe=p.prefixCls,De=p.style,Ye=p.target,xt=p.onVisibleChanged,gt=p.open,Vt=p.keepDom,nt=p.fresh,at=p.onClick,Et=p.mask,kt=p.arrow,Jt=p.arrowPos,Fn=p.align,En=p.motion,Bn=p.maskMotion,Wn=p.forceRender,An=p.getPopupContainer,rr=p.autoDestroy,sr=p.portal,ln=p.zIndex,Ir=p.onMouseEnter,gr=p.onMouseLeave,xr=p.onPointerEnter,ri=p.onPointerDownCapture,Rr=p.ready,Pr=p.offsetX,pr=p.offsetY,Nr=p.offsetR,zr=p.offsetB,Jr=p.onAlign,qr=p.onPrepare,yr=p.stretch,Lr=p.targetWidth,Jn=p.targetHeight,ui=typeof M=="function"?M():M,ii=gt||Vt,Ar=(An==null?void 0:An.length)>0,Yn=o.useState(!An||!Ar),ai=t(Yn,2),Oi=ai[0],Si=ai[1];if(mn(function(){!Oi&&Ar&&Ye&&Si(!0)},[Oi,Ar,Ye]),!Oi)return null;var Zr="auto",br={left:"-1000vw",top:"-1000vh",right:Zr,bottom:Zr};if(Rr||!gt){var Ci,Zi=Fn.points,Mr=Fn.dynamicInset||((Ci=Fn._experimental)===null||Ci===void 0?void 0:Ci.dynamicInset),ei=Mr&&Zi[0][1]==="r",Kr=Mr&&Zi[0][0]==="b";ei?(br.right=Nr,br.left=Zr):(br.left=Pr,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"),o.createElement(sr,{open:Wn||ii,getContainer:An&&function(){return An(Ye)},autoDestroy:rr},o.createElement(Ji,{prefixCls:xe,open:gt,zIndex:ln,mask:Et,motion:Bn}),o.createElement(lt.Z,{onResize:Jr,disabled:!gt},function(si){return o.createElement(nn.Z,Gn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Wn,leavedClassName:"".concat(xe,"-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),xt(Ur)}}),function(li,Ur){var lr=li.className,cr=li.style,Wr=mt()(xe,lr,te);return o.createElement("div",{ref:Un(si,k,Ur),className:Wr,style:s(s(s(s({"--arrow-x":"".concat(Jt.x||0,"px"),"--arrow-y":"".concat(Jt.y||0,"px")},br),Tr),cr),{},{boxSizing:"border-box",zIndex:ln},De),onMouseEnter:Ir,onMouseLeave:gr,onPointerEnter:xr,onClick:at,onPointerDownCapture:ri},kt&&o.createElement(Er,{prefixCls:xe,arrow:kt,arrowPos:Jt,align:Fn}),o.createElement(Ti,{cache:!gt&&!nt},ui))})}))}),Yr=Or,Br=o.forwardRef(function(p,k){var M=p.children,te=p.getTriggerDOMNode,xe=ur(M),De=o.useCallback(function(xt){Mn(k,te?te(xt):xt)},[te]),Ye=er(De,Wi(M));return xe?o.cloneElement(M,{ref:Ye}):M}),jr=Br,_i=o.createContext(null),oi=_i;function dr(p){return p?Array.isArray(p)?p:[p]:[]}function Cr(p,k,M,te){return o.useMemo(function(){var xe=dr(M!=null?M:k),De=dr(te!=null?te:k),Ye=new Set(xe),xt=new Set(De);return p&&(Ye.has("hover")&&(Ye.delete("hover"),Ye.add("click")),xt.has("hover")&&(xt.delete("hover"),xt.add("click"))),[Ye,xt]},[p,k,M,te])}var Li=function(p){if(!p)return!1;if(p instanceof Element){if(p.offsetParent)return!0;if(p.getBBox){var k=p.getBBox(),M=k.width,te=k.height;if(M||te)return!0}if(p.getBoundingClientRect){var xe=p.getBoundingClientRect(),De=xe.width,Ye=xe.height;if(De||Ye)return!0}}return!1};function mi(){var p=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?p[0]===k[0]:p[0]===k[0]&&p[1]===k[1]}function fa(p,k,M,te){for(var xe=M.points,De=Object.keys(p),Ye=0;Ye<De.length;Ye+=1){var xt,gt=De[Ye];if(mi((xt=p[gt])===null||xt===void 0?void 0:xt.points,xe,te))return"".concat(k,"-placement-").concat(gt)}return""}function di(p,k,M,te){return k||(M?{motionName:"".concat(p,"-").concat(M)}:te?{motionName:te}:null)}function hi(p){return p.ownerDocument.defaultView}function gi(p){for(var k=[],M=p==null?void 0:p.parentElement,te=["hidden","scroll","clip","auto"];M;){var xe=hi(M).getComputedStyle(M),De=xe.overflowX,Ye=xe.overflowY,xt=xe.overflow;[De,Ye,xt].some(function(gt){return te.includes(gt)})&&k.push(M),M=M.parentElement}return k}function ni(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(p)?k:p}function hr(p){return ni(parseFloat(p),0)}function $r(p,k){var M=s({},p);return(k||[]).forEach(function(te){if(!(te instanceof HTMLBodyElement||te instanceof HTMLHtmlElement)){var xe=hi(te).getComputedStyle(te),De=xe.overflow,Ye=xe.overflowClipMargin,xt=xe.borderTopWidth,gt=xe.borderBottomWidth,Vt=xe.borderLeftWidth,nt=xe.borderRightWidth,at=te.getBoundingClientRect(),Et=te.offsetHeight,kt=te.clientHeight,Jt=te.offsetWidth,Fn=te.clientWidth,En=hr(xt),Bn=hr(gt),Wn=hr(Vt),An=hr(nt),rr=ni(Math.round(at.width/Jt*1e3)/1e3),sr=ni(Math.round(at.height/Et*1e3)/1e3),ln=(Jt-Fn-Wn-An)*rr,Ir=(Et-kt-En-Bn)*sr,gr=En*sr,xr=Bn*sr,ri=Wn*rr,Rr=An*rr,Pr=0,pr=0;if(De==="clip"){var Nr=hr(Ye);Pr=Nr*rr,pr=Nr*sr}var zr=at.x+ri-Pr,Jr=at.y+gr-pr,qr=zr+at.width+2*Pr-ri-Rr-ln,yr=Jr+at.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 ki(p){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(k),te=M.match(/^(.*)\%$/);return te?p*(parseFloat(te[1])/100):parseFloat(M)}function ea(p,k){var M=k||[],te=t(M,2),xe=te[0],De=te[1];return[ki(p.width,xe),ki(p.height,De)]}function da(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[p[0],p[1]]}function Xr(p,k){var M=k[0],te=k[1],xe,De;return M==="t"?De=p.y:M==="b"?De=p.y+p.height:De=p.y+p.height/2,te==="l"?xe=p.x:te==="r"?xe=p.x+p.width:xe=p.x+p.width/2,{x:xe,y:De}}function Dr(p,k){var M={t:"b",b:"t",l:"r",r:"l"};return p.map(function(te,xe){return xe===k?M[te]||"c":te}).join("")}function ha(p,k,M,te,xe,De,Ye){var xt=o.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:xe[te]||{}}),gt=t(xt,2),Vt=gt[0],nt=gt[1],at=o.useRef(0),Et=o.useMemo(function(){return k?gi(k):[]},[k]),kt=o.useRef({}),Jt=function(){kt.current={}};p||Jt();var Fn=ye(function(){if(k&&M&&p){let Gt=function(Ln,wr){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Hi,Gr=Yn.x+Ln,vi=Yn.y+wr,bi=Gr+ei,fr=vi+Mr,Vn=Math.max(Gr,jn.left),pt=Math.max(vi,jn.top),Ut=Math.min(bi,jn.right),qt=Math.min(fr,jn.bottom);return Math.max(0,(Ut-Vn)*(qt-pt))},Nn=function(){oa=Yn.y+mr,Yi=oa+Mr,ia=Yn.x+_r,ga=ia+ei};var Wn,An,rr,sr,ln=k,Ir=ln.ownerDocument,gr=hi(ln),xr=gr.getComputedStyle(ln),ri=xr.width,Rr=xr.height,Pr=xr.position,pr=ln.style.left,Nr=ln.style.top,zr=ln.style.right,Jr=ln.style.bottom,qr=ln.style.overflow,yr=s(s({},xe[te]),De),Lr=Ir.createElement("div");(Wn=ln.parentElement)===null||Wn===void 0||Wn.appendChild(Lr),Lr.style.left="".concat(ln.offsetLeft,"px"),Lr.style.top="".concat(ln.offsetTop,"px"),Lr.style.position=Pr,Lr.style.height="".concat(ln.offsetHeight,"px"),Lr.style.width="".concat(ln.offsetWidth,"px"),ln.style.left="0",ln.style.top="0",ln.style.right="auto",ln.style.bottom="auto",ln.style.overflow="hidden";var Jn;if(Array.isArray(M))Jn={x:M[0],y:M[1],width:0,height:0};else{var ui,ii,Ar=M.getBoundingClientRect();Ar.x=(ui=Ar.x)!==null&&ui!==void 0?ui:Ar.left,Ar.y=(ii=Ar.y)!==null&&ii!==void 0?ii:Ar.top,Jn={x:Ar.x,y:Ar.y,width:Ar.width,height:Ar.height}}var Yn=ln.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 ai=Ir.documentElement,Oi=ai.clientWidth,Si=ai.clientHeight,Zr=ai.scrollWidth,br=ai.scrollHeight,Ci=ai.scrollTop,Zi=ai.scrollLeft,Mr=Yn.height,ei=Yn.width,Kr=Jn.height,Tr=Jn.width,si={left:0,top:0,right:Oi,bottom:Si},li={left:-Zi,top:-Ci,right:Zr-Zi,bottom:br-Ci},Ur=yr.htmlRegion,lr="visible",cr="visibleFirst";Ur!=="scroll"&&Ur!==cr&&(Ur=lr);var Wr=Ur===cr,va=$r(li,Et),or=$r(si,Et),Hi=Ur===lr?or:va,ta=Wr?or:Hi;ln.style.left="auto",ln.style.top="auto",ln.style.right="0",ln.style.bottom="0";var Hr=ln.getBoundingClientRect();ln.style.left=pr,ln.style.top=Nr,ln.style.right=zr,ln.style.bottom=Jr,ln.style.overflow=qr,(sr=ln.parentElement)===null||sr===void 0||sr.removeChild(Lr);var Ki=ni(Math.round(ei/parseFloat(ri)*1e3)/1e3),yi=ni(Math.round(Mr/parseFloat(Rr)*1e3)/1e3);if(Ki===0||yi===0||bt(M)&&!Li(M))return;var Vi=yr.offset,xn=yr.targetOffset,Qn=ea(Yn,Vi),ir=t(Qn,2),kr=ir[0],vr=ir[1],Aa=ea(Jn,xn),_a=t(Aa,2),Ri=_a[0],aa=_a[1];Jn.x-=Ri,Jn.y-=aa;var Ua=yr.points||[],Ma=t(Ua,2),La=Ma[0],ma=Ma[1],$i=da(ma),pi=da(La),Fi=Xr(Jn,$i),ci=Xr(Yn,pi),Gi=s({},yr),_r=Fi.x-ci.x+kr,mr=Fi.y-ci.y+vr,Pi=Gt(_r,mr),na=Gt(_r,mr,or),Ta=Xr(Jn,["t","l"]),Di=Xr(Yn,["t","l"]),Za=Xr(Jn,["b","r"]),ka=Xr(Yn,["b","r"]),ra=yr.overflow||{},sa=ra.adjustX,Ea=ra.adjustY,Oa=ra.shiftX,xa=ra.shiftY,Da=function(wr){return typeof wr=="boolean"?wr:wr>=0},oa,Yi,ia,ga;Nn();var Sa=Da(Ea),Ka=pi[0]===$i[0];if(Sa&&pi[0]==="t"&&(Yi>ta.bottom||kt.current.bt)){var r=mr;Ka?r-=Mr-Kr:r=Ta.y-ka.y-vr;var b=Gt(_r,r),E=Gt(_r,r,or);b>Pi||b===Pi&&(!Wr||E>=na)?(kt.current.bt=!0,mr=r,vr=-vr,Gi.points=[Dr(pi,0),Dr($i,0)]):kt.current.bt=!1}if(Sa&&pi[0]==="b"&&(oa<ta.top||kt.current.tb)){var R=mr;Ka?R+=Mr-Kr:R=Za.y-Di.y-vr;var z=Gt(_r,R),W=Gt(_r,R,or);z>Pi||z===Pi&&(!Wr||W>=na)?(kt.current.tb=!0,mr=R,vr=-vr,Gi.points=[Dr(pi,0),Dr($i,0)]):kt.current.tb=!1}var Q=Da(sa),ne=pi[1]===$i[1];if(Q&&pi[1]==="l"&&(ga>ta.right||kt.current.rl)){var le=_r;ne?le-=ei-Tr:le=Ta.x-ka.x-kr;var ae=Gt(le,mr),Re=Gt(le,mr,or);ae>Pi||ae===Pi&&(!Wr||Re>=na)?(kt.current.rl=!0,_r=le,kr=-kr,Gi.points=[Dr(pi,1),Dr($i,1)]):kt.current.rl=!1}if(Q&&pi[1]==="r"&&(ia<ta.left||kt.current.lr)){var fe=_r;ne?fe+=ei-Tr:fe=Za.x-Di.x-kr;var Ce=Gt(fe,mr),be=Gt(fe,mr,or);Ce>Pi||Ce===Pi&&(!Wr||be>=na)?(kt.current.lr=!0,_r=fe,kr=-kr,Gi.points=[Dr(pi,1),Dr($i,1)]):kt.current.lr=!1}Nn();var Ae=Oa===!0?0:Oa;typeof Ae=="number"&&(ia<or.left&&(_r-=ia-or.left-kr,Jn.x+Tr<or.left+Ae&&(_r+=Jn.x-or.left+Tr-Ae)),ga>or.right&&(_r-=ga-or.right-kr,Jn.x>or.right-Ae&&(_r+=Jn.x-or.right+Ae)));var ze=xa===!0?0:xa;typeof ze=="number"&&(oa<or.top&&(mr-=oa-or.top-vr,Jn.y+Kr<or.top+ze&&(mr+=Jn.y-or.top+Kr-ze)),Yi>or.bottom&&(mr-=Yi-or.bottom-vr,Jn.y>or.bottom-ze&&(mr+=Jn.y-or.bottom+ze)));var it=Yn.x+_r,wt=it+ei,tt=Yn.y+mr,yt=tt+Mr,Ot=Jn.x,Qt=Ot+Tr,vn=Jn.y,Wt=vn+Kr,_n=Math.max(it,Ot),wn=Math.min(wt,Qt),Pn=(_n+wn)/2,Hn=Pn-it,bn=Math.max(tt,vn),an=Math.min(yt,Wt),$t=(bn+an)/2,At=$t-tt;Ye==null||Ye(k,Gi);var Dt=Hr.right-Yn.x-(_r+Yn.width),zt=Hr.bottom-Yn.y-(mr+Yn.height);Ki===1&&(_r=Math.round(_r),Dt=Math.round(Dt)),yi===1&&(mr=Math.round(mr),zt=Math.round(zt));var rn={ready:!0,offsetX:_r/Ki,offsetY:mr/yi,offsetR:Dt/Ki,offsetB:zt/yi,arrowX:Hn/Ki,arrowY:At/yi,scaleX:Ki,scaleY:yi,align:Gi};nt(rn)}}),En=function(){at.current+=1;var An=at.current;Promise.resolve().then(function(){at.current===An&&Fn()})},Bn=function(){nt(function(An){return s(s({},An),{},{ready:!1})})};return mn(Bn,[te]),mn(function(){p||Bn()},[p]),[Vt.ready,Vt.offsetX,Vt.offsetY,Vt.offsetR,Vt.offsetB,Vt.arrowX,Vt.arrowY,Vt.scaleX,Vt.scaleY,Vt.align,En]}function xi(p){if(Array.isArray(p))return e(p)}function pa(p){if(typeof Symbol!="undefined"&&p[Symbol.iterator]!=null||p["@@iterator"]!=null)return Array.from(p)}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(p){return xi(p)||pa(p)||_(p)||q()}function ke(p,k,M,te,xe){mn(function(){if(p&&k&&M){let at=function(){te(),xe()};var De=k,Ye=M,xt=gi(De),gt=gi(Ye),Vt=hi(Ye),nt=new Set([Vt].concat(we(xt),we(gt)));return nt.forEach(function(Et){Et.addEventListener("scroll",at,{passive:!0})}),Vt.addEventListener("resize",at,{passive:!0}),te(),function(){nt.forEach(function(Et){Et.removeEventListener("scroll",at),Vt.removeEventListener("resize",at)})}}},[p,k,M])}var me={},Le=[],Be=function(k){Le.push(k)};function Se(p,k){if(0)var M}function Qe(p,k){if(0)var M}function Ft(){me={}}function Zt(p,k,M){!k&&!me[M]&&(p(!1,M),me[M]=!0)}function Cn(p,k){Zt(Se,p,k)}function hn(p,k){Zt(Qe,p,k)}Cn.preMessage=Be,Cn.resetWarned=Ft,Cn.noteOnce=hn;var In=null;function Xn(p,k,M,te,xe,De,Ye,xt){var gt=o.useRef(p);gt.current=p;var Vt=o.useRef(!1);o.useEffect(function(){if(k&&te&&(!xe||De)){var at=function(){Vt.current=!1},Et=function(rr){var sr;gt.current&&!Ye(((sr=rr.composedPath)===null||sr===void 0||(sr=sr.call(rr))===null||sr===void 0?void 0:sr[0])||rr.target)&&!Vt.current&&xt(!1)},kt=hi(te);kt.addEventListener("pointerdown",at,!0),kt.addEventListener("mousedown",Et,!0),kt.addEventListener("contextmenu",Et,!0);var Jt=Te(M);if(Jt&&(Jt.addEventListener("mousedown",Et,!0),Jt.addEventListener("contextmenu",Et,!0)),0)var Fn,En,Bn,Wn;return function(){kt.removeEventListener("pointerdown",at,!0),kt.removeEventListener("mousedown",Et,!0),kt.removeEventListener("contextmenu",Et,!0),Jt&&(Jt.removeEventListener("mousedown",Et,!0),Jt.removeEventListener("contextmenu",Et,!0))}}},[k,M,te,xe,De]);function nt(){Vt.current=!0}return nt}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 p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ot,k=o.forwardRef(function(M,te){var xe=M.prefixCls,De=xe===void 0?"rc-trigger-popup":xe,Ye=M.children,xt=M.action,gt=xt===void 0?"hover":xt,Vt=M.showAction,nt=M.hideAction,at=M.popupVisible,Et=M.defaultPopupVisible,kt=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,ln=sr===void 0?!0:sr,Ir=M.getPopupContainer,gr=M.forceRender,xr=M.autoDestroy,ri=M.destroyPopupOnHide,Rr=M.popup,Pr=M.popupClassName,pr=M.popupStyle,Nr=M.popupPlacement,zr=M.builtinPlacements,Jr=zr===void 0?{}:zr,qr=M.popupAlign,yr=M.zIndex,Lr=M.stretch,Jn=M.getPopupClassNameFromAlign,ui=M.fresh,ii=M.alignPoint,Ar=M.onPopupClick,Yn=M.onPopupAlign,ai=M.arrow,Oi=M.popupMotion,Si=M.maskMotion,Zr=M.popupTransitionName,br=M.popupAnimation,Ci=M.maskTransitionName,Zi=M.maskAnimation,Mr=M.className,ei=M.getTriggerDOMNode,Kr=c(M,Rn),Tr=xr||ri||!1,si=o.useState(!1),li=t(si,2),Ur=li[0],lr=li[1];mn(function(){lr(On())},[]);var cr=o.useRef({}),Wr=o.useContext(oi),va=o.useMemo(function(){return{registerSubPopup:function(Ut,qt){cr.current[Ut]=qt,Wr==null||Wr.registerSubPopup(Ut,qt)}}},[Wr]),or=tn(),Hi=o.useState(null),ta=t(Hi,2),Hr=ta[0],Ki=ta[1],yi=o.useRef(null),Vi=ye(function(pt){yi.current=pt,bt(pt)&&Hr!==pt&&Ki(pt),Wr==null||Wr.registerSubPopup(or,pt)}),xn=o.useState(null),Qn=t(xn,2),ir=Qn[0],kr=Qn[1],vr=o.useRef(null),Aa=ye(function(pt){bt(pt)&&ir!==pt&&(kr(pt),vr.current=pt)}),_a=o.Children.only(Ye),Ri=(_a==null?void 0:_a.props)||{},aa={},Ua=ye(function(pt){var Ut,qt,en=ir;return(en==null?void 0:en.contains(pt))||((Ut=Te(en))===null||Ut===void 0?void 0:Ut.host)===pt||pt===en||(Hr==null?void 0:Hr.contains(pt))||((qt=Te(Hr))===null||qt===void 0?void 0:qt.host)===pt||pt===Hr||Object.values(cr.current).some(function(sn){return(sn==null?void 0:sn.contains(pt))||pt===sn})}),Ma=di(De,Oi,br,Zr),La=di(De,Si,Zi,Ci),ma=o.useState(Et||!1),$i=t(ma,2),pi=$i[0],Fi=$i[1],ci=at!=null?at:pi,Gi=ye(function(pt){at===void 0&&Fi(pt)});mn(function(){Fi(at||!1)},[at]);var _r=o.useRef(ci);_r.current=ci;var mr=o.useRef([]);mr.current=[];var Pi=ye(function(pt){var Ut;Gi(pt),((Ut=mr.current[mr.current.length-1])!==null&&Ut!==void 0?Ut:ci)!==pt&&(mr.current.push(pt),kt==null||kt(pt))}),na=o.useRef(),Ta=function(){clearTimeout(na.current)},Di=function(Ut){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ta(),qt===0?Pi(Ut):na.current=setTimeout(function(){Pi(Ut)},qt*1e3)};o.useEffect(function(){return Ta},[]);var Za=o.useState(!1),ka=t(Za,2),ra=ka[0],sa=ka[1];mn(function(pt){(!pt||ci)&&sa(!0)},[ci]);var Ea=o.useState(null),Oa=t(Ea,2),xa=Oa[0],Da=Oa[1],oa=o.useState(null),Yi=t(oa,2),ia=Yi[0],ga=Yi[1],Sa=function(Ut){ga([Ut.clientX,Ut.clientY])},Ka=ha(ci,Hr,ii&&ia!==null?ia:ir,Nr,Jr,qr,Yn),r=t(Ka,11),b=r[0],E=r[1],R=r[2],z=r[3],W=r[4],Q=r[5],ne=r[6],le=r[7],ae=r[8],Re=r[9],fe=r[10],Ce=Cr(Ur,gt,Vt,nt),be=t(Ce,2),Ae=be[0],ze=be[1],it=Ae.has("click"),wt=ze.has("click")||ze.has("contextMenu"),tt=ye(function(){ra||fe()}),yt=function(){_r.current&&ii&&wt&&Di(!1)};ke(ci,ir,Hr,tt,yt),mn(function(){tt()},[ia,Nr]),mn(function(){ci&&!(Jr!=null&&Jr[Nr])&&tt()},[JSON.stringify(qr)]);var Ot=o.useMemo(function(){var pt=fa(Jr,De,Re,ii);return mt()(pt,Jn==null?void 0:Jn(Re))},[Re,Jn,Jr,De,ii]);o.useImperativeHandle(te,function(){return{nativeElement:vr.current,popupElement:yi.current,forceAlign:tt}});var Qt=o.useState(0),vn=t(Qt,2),Wt=vn[0],_n=vn[1],wn=o.useState(0),Pn=t(wn,2),Hn=Pn[0],bn=Pn[1],an=function(){if(Lr&&ir){var Ut=ir.getBoundingClientRect();_n(Ut.width),bn(Ut.height)}},$t=function(){an(),tt()},At=function(Ut){sa(!1),fe(),Jt==null||Jt(Ut)},Dt=function(){return new Promise(function(Ut){an(),Da(function(){return Ut})})};mn(function(){xa&&(fe(),xa(),Da(null))},[xa]);function zt(pt,Ut,qt,en){aa[pt]=function(sn){var Qr;en==null||en(sn),Di(Ut,qt);for(var Bi=arguments.length,Ii=new Array(Bi>1?Bi-1:0),Ni=1;Ni<Bi;Ni++)Ii[Ni-1]=arguments[Ni];(Qr=Ri[pt])===null||Qr===void 0||Qr.call.apply(Qr,[Ri,sn].concat(Ii))}}(it||wt)&&(aa.onClick=function(pt){var Ut;_r.current&&wt?Di(!1):!_r.current&&it&&(Sa(pt),Di(!0));for(var qt=arguments.length,en=new Array(qt>1?qt-1:0),sn=1;sn<qt;sn++)en[sn-1]=arguments[sn];(Ut=Ri.onClick)===null||Ut===void 0||Ut.call.apply(Ut,[Ri,pt].concat(en))});var rn=Xn(ci,wt,ir,Hr,rr,ln,Ua,Di),Gt=Ae.has("hover"),Nn=ze.has("hover"),Ln,wr;Gt&&(zt("onMouseEnter",!0,Fn,function(pt){Sa(pt)}),zt("onPointerEnter",!0,Fn,function(pt){Sa(pt)}),Ln=function(Ut){(ci||ra)&&Hr!==null&&Hr!==void 0&&Hr.contains(Ut.target)&&Di(!0,Fn)},ii&&(aa.onMouseMove=function(pt){var Ut;(Ut=Ri.onMouseMove)===null||Ut===void 0||Ut.call(Ri,pt)})),Nn&&(zt("onMouseLeave",!1,Bn),zt("onPointerLeave",!1,Bn),wr=function(){Di(!1,Bn)}),Ae.has("focus")&&zt("onFocus",!0,Wn),ze.has("focus")&&zt("onBlur",!1,An),Ae.has("contextMenu")&&(aa.onContextMenu=function(pt){var Ut;_r.current&&ze.has("contextMenu")?Di(!1):(Sa(pt),Di(!0)),pt.preventDefault();for(var qt=arguments.length,en=new Array(qt>1?qt-1:0),sn=1;sn<qt;sn++)en[sn-1]=arguments[sn];(Ut=Ri.onContextMenu)===null||Ut===void 0||Ut.call.apply(Ut,[Ri,pt].concat(en))}),Mr&&(aa.className=mt()(Ri.className,Mr));var jn=s(s({},Ri),aa),Gr={},vi=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];vi.forEach(function(pt){Kr[pt]&&(Gr[pt]=function(){for(var Ut,qt=arguments.length,en=new Array(qt),sn=0;sn<qt;sn++)en[sn]=arguments[sn];(Ut=jn[pt])===null||Ut===void 0||Ut.call.apply(Ut,[jn].concat(en)),Kr[pt].apply(Kr,en)})});var bi=o.cloneElement(_a,s(s({},jn),Gr)),fr={x:Q,y:ne},Vn=ai?s({},ai!==!0?ai:{}):null;return o.createElement(o.Fragment,null,o.createElement(lt.Z,{disabled:!ci,ref:Aa,onResize:$t},o.createElement(jr,{getTriggerDOMNode:ei},bi)),o.createElement(oi.Provider,{value:va},o.createElement(Yr,{portal:p,ref:Vi,prefixCls:De,popup:Rr,className:mt()(Pr,Ot),style:pr,target:ir,onMouseEnter:Ln,onMouseLeave:wr,onPointerEnter:Ln,zIndex:yr,open:ci,keepDom:ra,fresh:ui,onClick:Ar,onPointerDownCapture:rn,mask:rr,motion:Ma,maskMotion:La,onVisibleChanged:At,onPrepare:Dt,forceRender:gr,autoDestroy:Tr,getPopupContainer:Ir,align:Re,arrow:Vn,arrowPos:fr,ready:b,offsetX:E,offsetY:R,offsetR:z,offsetB:W,onAlign:tt,stretch:Lr,targetWidth:Wt/le,targetHeight:Hn/ae})))});return k}var Kn=nr(ot)},31632:function(St,Pe){"use strict";var a;var S=typeof Symbol=="function"&&Symbol.for,C=S?Symbol.for("react.element"):60103,$=S?Symbol.for("react.portal"):60106,J=S?Symbol.for("react.fragment"):60107,j=S?Symbol.for("react.strict_mode"):60108,s=S?Symbol.for("react.profiler"):60114,A=S?Symbol.for("react.provider"):60109,Z=S?Symbol.for("react.context"):60110,e=S?Symbol.for("react.async_mode"):60111,_=S?Symbol.for("react.concurrent_mode"):60111,h=S?Symbol.for("react.forward_ref"):60112,t=S?Symbol.for("react.suspense"):60113,u=S?Symbol.for("react.suspense_list"):60120,c=S?Symbol.for("react.memo"):60115,d=S?Symbol.for("react.lazy"):60116,v=S?Symbol.for("react.block"):60121,l=S?Symbol.for("react.fundamental"):60117,y=S?Symbol.for("react.responder"):60118,m=S?Symbol.for("react.scope"):60119;function w(f){if(typeof f=="object"&&f!==null){var T=f.$$typeof;switch(T){case C:switch(f=f.type,f){case e:case _:case J:case s:case j:case t:return f;default:switch(f=f&&f.$$typeof,f){case Z:case h:case d:case c:case A:return f;default:return T}}case $:return T}}}function o(f){return w(f)===_}a=e,a=_,a=Z,a=A,a=C,a=h,a=J,a=d,a=c,a=$,a=s,a=j,a=t,a=function(f){return o(f)||w(f)===e},a=o,a=function(f){return w(f)===Z},a=function(f){return w(f)===A},a=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===C},a=function(f){return w(f)===h},a=function(f){return w(f)===J},a=function(f){return w(f)===d},Pe.isMemo=function(f){return w(f)===c},a=function(f){return w(f)===$},a=function(f){return w(f)===s},a=function(f){return w(f)===j},a=function(f){return w(f)===t},a=function(f){return typeof f=="string"||typeof f=="function"||f===J||f===_||f===s||f===j||f===t||f===u||typeof f=="object"&&f!==null&&(f.$$typeof===d||f.$$typeof===c||f.$$typeof===A||f.$$typeof===Z||f.$$typeof===h||f.$$typeof===l||f.$$typeof===y||f.$$typeof===m||f.$$typeof===v)},a=w},81640:function(St,Pe,a){"use strict";St.exports=a(31632)},48482:function(St,Pe){"use strict";var a;var S=Symbol.for("react.element"),C=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),A=Symbol.for("react.context"),Z=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),c=Symbol.for("react.offscreen"),d;d=Symbol.for("react.module.reference");function v(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case S:switch(l=l.type,l){case $:case j:case J:case _:case h:return l;default:switch(l=l&&l.$$typeof,l){case Z:case A:case e:case u:case t:case s:return l;default:return y}}case C:return y}}}a=A,a=s,a=S,Pe.ForwardRef=e,a=$,a=u,a=t,a=C,a=j,a=J,a=_,a=h,a=function(){return!1},a=function(){return!1},a=function(l){return v(l)===A},a=function(l){return v(l)===s},a=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===S},a=function(l){return v(l)===e},a=function(l){return v(l)===$},a=function(l){return v(l)===u},Pe.isMemo=function(l){return v(l)===t},a=function(l){return v(l)===C},a=function(l){return v(l)===j},a=function(l){return v(l)===J},a=function(l){return v(l)===_},a=function(l){return v(l)===h},a=function(l){return typeof l=="string"||typeof l=="function"||l===$||l===j||l===J||l===_||l===h||l===c||typeof l=="object"&&l!==null&&(l.$$typeof===u||l.$$typeof===t||l.$$typeof===s||l.$$typeof===A||l.$$typeof===e||l.$$typeof===d||l.getModuleId!==void 0)},a=v},52481:function(St,Pe,a){"use strict";St.exports=a(48482)},26194:function(St,Pe,a){"use strict";var S=a(67294),C=a(4977),$=a(85804),J=Object.defineProperty,j=Object.defineProperties,s=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,_=(c,d,v)=>d in c?J(c,d,{enumerable:!0,configurable:!0,writable:!0,value:v}):c[d]=v,h=(c,d)=>{for(var v in d||(d={}))Z.call(d,v)&&_(c,v,d[v]);if(A)for(var v of A(d))e.call(d,v)&&_(c,v,d[v]);return c},t=(c,d)=>j(c,s(d));const u=({img:c,buttonProps:d={},styles:v={},customText:l,ButtonText:y,ButtonClick:m,Buttonclass:w,ButtonTwo:o,imgStyles:f,loading:T=!1,className:I=""})=>S.createElement("section",{className:`tc animated fadeIn ${I}`,style:h({color:"#999",margin:"100px auto",visibility:T?"hidden":"visible"},v)},S.createElement("img",{src:c||C,style:t(h({},f),{pointerEvents:"none",userSelect:"none"})}),S.createElement("p",{className:"mt20 font14"},l||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),y&&S.createElement($.ZP,h({className:w,onClick:m},d),y),o&&o);Pe.Z=u},20819:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return w}});var S=a(67294),C={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},$=a(85804),J=a(30153),j=a(36295),s=a(83062),A=a(28706),Z=a(15835),e=a(26194),_=a(11320),h=a(66540),t=a(67294),u=Object.defineProperty,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,l=(o,f,T)=>f in o?u(o,f,{enumerable:!0,configurable:!0,writable:!0,value:T}):o[f]=T,y=(o,f)=>{for(var T in f||(f={}))d.call(f,T)&&l(o,T,f[T]);if(c)for(var T of c(f))v.call(f,T)&&l(o,T,f[T]);return o},m=(o,f,T)=>new Promise((I,U)=>{var V=_e=>{try{X(T.next(_e))}catch(x){U(x)}},G=_e=>{try{X(T.throw(_e))}catch(x){U(x)}},X=_e=>_e.done?I(_e.value):Promise.resolve(_e.value).then(V,G);X((T=T.apply(o,f)).next())}),w=({editOffice:o="view",data:f,issaver:T,onSaver:I,theme:U,type:V,filename:G,monacoEditor:X,className:_e,style:x,close:g,onClose:P,hasMask:D,disabledDownload:K,onImgDimensions:L,showNodata:i,recordInfo:n})=>{const[N,H]=(0,S.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ve,Oe]=(0,S.useState)(""),[Ue,rt]=(0,S.useState)(),Xe=window.ENV==="build"?"/react/build":"",Mt=location.host.startsWith("localhost")?_.Z.PROXY_SERVER:_.Z.API_SERVER,st=10*(1024*1024),We=(0,S.useRef)();f!=null&&f.startsWith("/api")&&V!=="txt"&&(f=_.Z.API_SERVER+f);const ue=oe=>oe.substring(oe.lastIndexOf("/")+1).split(".").pop();G&&X&&(X.filename=G),(0,S.useEffect)(()=>{var oe,Ge;const Ie=(Ge=(oe=document.cookie)==null?void 0:oe.replace(/\s/g,""))==null?void 0:Ge.split(";");Ie==null||Ie.map(F=>{let O=F.split("=");O[0]==="_educoder_session"&&Oe(O[1])})},[]),(0,S.useEffect)(()=>{V==="office"&&(f.indexOf("bigfilescdn.")>-1||f.indexOf("bigfiles1")>-1?rt({url:f,fileType:ue(f),model:f.indexOf("model=edit")?"edit":"view"}):Ee())},[V,f]);function Y(oe){return m(this,null,function*(){oe.data.type==="pdfdata"&&(I(oe.data.data),window.removeEventListener("message",Y,!1)),console.log("mess---:",oe.data)})}const Ee=()=>m(void 0,null,function*(){console.log("data:",f);let oe=f;f.startsWith("http")||(oe=location.origin+oe);let Ge=new URL(oe).pathname.split("/").pop();const Ie=yield(0,Z.gJ)({attachment_id:Ge});Ie.url=Mt+Ie.url,rt(Ie)}),B=()=>{if(f.startsWith("http")||f.startsWith("blob:")){he();return}(0,A.Sv)(G||"educoder",f,G)},he=()=>{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(f))};return t.createElement("div",{style:y({},x||{}),className:`${D&&C.bgBlack} ${V?C.wrp:"hide"}`},g&&t.createElement("div",{className:C.close,ref:We},!!L&&t.createElement(s.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>We.current},t.createElement("span",{onClick:()=>{P(),L()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!K&&t.createElement(s.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>We.current},t.createElement("span",{onClick:he},t.createElement("i",{className:"icon-quxiaozhiding"}))),T&&t.createElement(s.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>We.current},t.createElement("span",{className:"",onClick:()=>{const oe=document.getElementById("pdfiframe");window.addEventListener("message",Y,!1),setTimeout(()=>{oe.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(s.Z,{title:"\u5173\u95ED",getPopupContainer:()=>We.current},t.createElement("span",{className:"",onClick:()=>{P()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${C[_e]} ${_e} ${C.monaco} ${V==="txt"?"show":"hide"}`},V==="txt"&&t.createElement(t.Fragment,null,t.createElement(j.ZP,y({},X)))),V==="audio"&&t.createElement("audio",{src:`${(f==null?void 0:f.indexOf("http://"))>-1||(f==null?void 0:f.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${f}`,autoPlay:!0}),V==="video"&&t.createElement(t.Fragment,null,(f==null?void 0:f.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${f}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${f}`,autoPlay:!0})),V==="office"&&Ue&&t.createElement("iframe",{src:`${Xe}/office.html?key=${Ue.key}&url=${btoa(Ue.url)}&callbackUrl=${Mt+(Ue.callbackUrl||"")}&fileType=${Ue.fileType}&title=${Ue.title||""}&model=${o}&officeServer=${_.Z.ONLYOFFICE}&disabledDownload=${!!K}`}),V==="html"&&t.createElement("iframe",{src:f+"&disposition=inline"}),V==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Xe}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(f)}&disabledDownload=${!!K}&model=${o}`}),V==="image"&&t.createElement("img",{src:`${(f==null?void 0:f.indexOf("http://"))>-1||(f==null?void 0:f.indexOf("https://"))>-1?"":"data:image/png;base64,"}${f}`}),(V==="other"||V==="download")&&t.createElement(t.Fragment,null,i?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:B,disabled:K},"\u4E0B\u8F7D")}):t.createElement($.ZP,{type:"primary",size:"middle",onClick:B,disabled:K},t.createElement(J.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},36295:function(St,Pe,a){"use strict";a.d(Pe,{SV:function(){return st},ZP:function(){return ge}});var S=a(67294),C=a(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"]},J={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"]},j={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(`
|
|
`)}]},s={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 Z=a(84204),e=a.n(Z),_=(We,ue,Y)=>new Promise((Ee,B)=>{var he=Ie=>{try{Ge(Y.next(Ie))}catch(F){B(F)}},oe=Ie=>{try{Ge(Y.throw(Ie))}catch(F){B(F)}},Ge=Ie=>Ie.done?Ee(Ie.value):Promise.resolve(Ie.value).then(he,oe);Ge((Y=Y.apply(We,ue)).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=(We,ue,Y,Ee)=>{const B=ue.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Y.lineNumber,endColumn:Y.column});return Array.from(new Set(B.match(/\b\w{2,}\b/g)||[])).map(oe=>({label:oe,kind:We.languages.CompletionItemKind.Text,insertText:oe,range:Ee}))},u=(We,ue,Y,Ee)=>{We.languages.registerCompletionItemProvider(ue,{provideCompletionItems(B,he){const oe=B.getWordUntilPosition(he),Ge={startLineNumber:he.lineNumber,endLineNumber:he.lineNumber,startColumn:oe.startColumn,endColumn:oe.endColumn},Ie=B.getLineContent(he.lineNumber).substring(oe.startColumn-2,oe.endColumn);return{suggestions:[...t(We,B,he,Ge),...Y.map(O=>({label:O,kind:We.languages.CompletionItemKind.Keyword,documentation:O,insertText:O,insertTextRules:We.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge})),...Ee.map(O=>({label:O.label,kind:We.languages.CompletionItemKind.Snippet,documentation:O.content,insertText:Ie.startsWith("#")?O.content.replace(/#/,""):O.content,insertTextRules:We.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ge}))]}}})};var c=We=>{h.languages.forEach(ue=>{We.languages.registerDocumentFormattingEditProvider(ue,{provideDocumentFormattingEdits(Y){return _(this,null,function*(){const Ee=e()(Y.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:Y.getFullModelRange(),text:Ee}]})}})}),u(We,"java",J.keywords,J.quickKey),u(We,"cpp",j.keywords,j.quickKey),u(We,"c",$.keywords,[]),u(We,"python",s.keywords,s.quickKey),u(We,"scala",A.keywords,A.quickKey)};const d="\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,l=(We,ue,Y)=>ue in We?v(We,ue,{enumerable:!0,configurable:!0,writable:!0,value:Y}):We[ue]=Y,y=(We,ue,Y)=>l(We,typeof ue!="symbol"?ue+"":ue,Y);const m=class Us{constructor(ue,Y,Ee){this.placeholder=ue,this.editor=Y,this.monaco=Ee,Y.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(m,"ID","editor.widget.placeholderHint");var o=m,f=a(84144),T=a(2453),I=a(83062),U=a(96486),V=a(33054),G=a(74855),X=Object.defineProperty,_e=Object.defineProperties,x=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,K=(We,ue,Y)=>ue in We?X(We,ue,{enumerable:!0,configurable:!0,writable:!0,value:Y}):We[ue]=Y,L=(We,ue)=>{for(var Y in ue||(ue={}))P.call(ue,Y)&&K(We,Y,ue[Y]);if(g)for(var Y of g(ue))D.call(ue,Y)&&K(We,Y,ue[Y]);return We},i=(We,ue)=>_e(We,x(ue)),n=(We,ue)=>{var Y={};for(var Ee in We)P.call(We,Ee)&&ue.indexOf(Ee)<0&&(Y[Ee]=We[Ee]);if(We!=null&&g)for(var Ee of g(We))ue.indexOf(Ee)<0&&D.call(We,Ee)&&(Y[Ee]=We[Ee]);return Y},N=(We,ue,Y)=>new Promise((Ee,B)=>{var he=Ie=>{try{Ge(Y.next(Ie))}catch(F){B(F)}},oe=Ie=>{try{Ge(Y.throw(Ie))}catch(F){B(F)}},Ge=Ie=>Ie.done?Ee(Ie.value):Promise.resolve(Ie.value).then(he,oe);Ge((Y=Y.apply(We,ue)).next())});function H(We){return/^\d+$/.test(We)?`${We}px`:We}function ve(){}let Oe=!1;const Ue={"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 rt(We=[]){let ue=We;if(Array.isArray(We)){for(let Y=0;Y<We.length;Y++){let Ee=Ue[We[Y]];if(Ee)return Ee}return ue[0]}return Ue[ue]||ue}let Xe=null;const Mt=()=>N(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(We){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",We)}});var ge=We=>{var ue=We,{width:Y="100%",height:Ee="100%",value:B,language:he="javascript",style:oe={},options:Ge={},overrideServices:Ie={},theme:F="vs-dark",onEditBlur:O,isCopy:re=!1,onSave:de,autoHeight:ee=!1,forbidCopy:ce=!1,onChange:se=ve,editorDidMount:je=ve,onFocus:Ze=ve,onBreakPoint:ut=ve,breakPointValue:ht=[],filename:Nt="educoder.txt",errorLine:He,errorContent:Ne="",highlightLine:Me,openBreakPoint:$e=!1,placeholder:Ve="",showMiniMap:vt=!0}=ue,ct=n(ue,["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 Ct=(0,S.useRef)(),Ke=(0,S.useRef)({}),ot=(0,S.useRef)(),Lt=(0,S.useRef)(),mt=(0,S.useRef)([]),lt=(0,S.useRef)(!1),bt=(0,S.useRef)(),on=(0,S.useRef)(),pn=(0,S.useRef)(!1),[Yt,ie]=(0,S.useState)(!1);function Te(){let Fe;return Ct.current&&(Fe=new C.Z(Je=>{for(let Tt of Je)(Tt.target.offsetHeight>0||Tt.target.offsetWidth>0)&&Ke.current.instance.layout()}),Fe.observe(Ct.current)),Fe}function ye(){T.ZP.warning({content:decodeURIComponent(d),key:"monaco-editor-tip"})}const pe=()=>{let Fe=Ke.current.instance;if(B!=null&&Fe&&Yt){const Je=Fe.getModel();Je&&B!==Je.getValue()&&(Oe=!0,Je.setValue(B),Fe.layout(),Oe=!1)}};(0,S.useEffect)(()=>{const Fe=V.Z.subscribe("formatDocument",Je=>{var Tt;let tn=Ke.current.instance;(Tt=tn==null?void 0:tn.getAction)==null||Tt.call(tn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Je=>{se(Je)},Fe},[]),(0,S.useEffect)(()=>{var Fe;let Je=Ke.current.instance;Lt.current&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{pe()},500),B&&(B!=null&&B.length)&&((Fe=Je==null?void 0:Je.updateOptions)==null||Fe.call(Je,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(B.split(/\r\n|\r|\n/g).length))+3,5)}))},[B,Yt,Ke.current]),(0,S.useEffect)(()=>{if(He&&Ke.current&&Ke.current.instance){let Je=Ke.current.instance;Je.changeViewZones(function(Tt){var tn=document.createElement("div");tn.style.padding="10px 20px",tn.style.width="calc(100% - 20px)",tn.className="my-error-line-wrp",tn.innerHTML=Ne,Tt.addZone({afterLineNumber:He||11,heightInLines:3,domNode:tn})});var Fe={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}};Je.addOverlayWidget(Fe),Je.revealPositionInCenter({lineNumber:20,column:1})}},[He,Ke.current,Yt]);const et=(Fe="",Je)=>{if(!Fe||Fe.trim()==="")return!0;const tn=Ke.current.instance.getModel().getLineTokens(Je);let cn=!1;for(let Zn=0;Zn<2;Zn++)tn.getStandardTokenType(Zn)===1&&(cn=!0);return cn};(0,S.useEffect)(()=>{var Fe;const Je=(Fe=Ke.current)==null?void 0:Fe.instance;if(Je&&Yt&&ce){const Tt=Je.onDidBlurEditorWidget(()=>{pn.current=!1}),tn=Je.onDidFocusEditorText(()=>{pn.current=!0});return()=>{Tt.dispose(),tn.dispose()}}},[Ke.current,Yt,ce]),(0,S.useEffect)(()=>{var Fe;if((Fe=Ke.current)!=null&&Fe.instance&&Yt&&$e){let Je=Ke.current.instance,Tt=Je.getModel();if(!Tt)return;(()=>{var un;let gn=[],yn=[];const Sn=Tt.getAllDecorations();for(let Mn of Sn)Mn.options.className==="highlighted-line"&&(gn.push((un=Mn==null?void 0:Mn.range)==null?void 0:un.startLineNumber),yn.push(Mn==null?void 0:Mn.id));if(Me===gn[0])return;Tt.deltaDecorations(yn,[]);const dn=Tt.getLineCount();Me&&Me<=dn&&(Je.deltaDecorations([],[{range:new Xe.Range(Me,1,Me,Tt.getLineMaxColumn(Me)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Je.revealLineInCenter(Me))})();const cn=(un=!1)=>{var gn;let yn=[],Sn=[];const dn=Tt.getAllDecorations();for(let Mn of dn)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(un)return{lines:yn,ids:Sn};ut(yn)},Zn=un=>N(void 0,null,function*(){let gn={range:new Xe.Range(un,1,un,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Tt.deltaDecorations([],[gn]),cn()}),ar=un=>N(void 0,null,function*(){let gn=[];const yn=Je.getLineDecorations(un);for(let Sn of yn)Sn.options.linesDecorationsClassName==="breakpoints-select"&&gn.push(Sn.id);yield Tt.deltaDecorations(gn,[]),cn()}),kn=un=>{let gn=Je.getLineDecorations(un);for(let yn of gn)if(yn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,U.isEqual)(ht,cn(!0).lines)){Tt.deltaDecorations(cn(!0).ids,[]);const un=ht.map(gn=>({range:new Xe.Range(gn,1,gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Tt.deltaDecorations([],un)}const mn=Je.onDidChangeModelContent(un=>{let gn=Je.getPosition();if(gn){let yn=gn.lineNumber;clearTimeout(on.current),on.current=setTimeout(()=>{et(Tt.getLineContent(yn),yn)?ar(yn):kn(yn)?(ar(yn),Zn(yn)):cn()},100)}}),On=Je.onMouseDown(un=>{var gn,yn,Sn;if(un.target.detail&&((Sn=(yn=(gn=un.target)==null?void 0:gn.element)==null?void 0:yn.className)!=null&&Sn.includes("line-numbers"))){let dn=un.target.position.lineNumber;if(et(Tt.getLineContent(dn),dn))return;kn(dn)?ar(dn):Zn(dn)}}),Gn=un=>{let gn={range:new Xe.Range(un,1,un,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mt.current=Je.deltaDecorations(mt.current,[gn])},nn=()=>{mt.current=Je.deltaDecorations(mt.current,[])},zn=Je.onMouseMove(un=>{var gn,yn,Sn;if(nn(),un.target.detail&&((Sn=(yn=(gn=un.target)==null?void 0:gn.element)==null?void 0:yn.className)!=null&&Sn.includes("line-numbers"))){let dn=un.target.position.lineNumber;if(et(Tt.getLineContent(dn),dn))return;Gn(dn)}}),Dn=Je.onMouseLeave(()=>{nn()});return()=>{mn.dispose(),On.dispose(),zn.dispose(),Dn.dispose()}}},[Ke.current,Yt,ht,Me,$e,he]),(0,S.useEffect)(()=>{var Fe;(Fe=Ke.current)!=null&&Fe.instance&&$e&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Me]);function qe(){let Fe=Ke.current.instance;if(Fe){const Je=Fe.getSelection(),Tt=Ke.current.pastePos||{},tn=new Xe.Range(Tt.startLineNumber||Je.endLineNumber,Tt.startColumn||Je.endColumn,Tt.endLineNumber||Je.endLineNumber,Tt.endColumn||Je.endColumn);setTimeout(()=>{Fe.executeEdits("",[{range:tn,text:""}])},300)}}function ft(Fe){(window.navigator.platform.match("Mac")?Fe.metaKey:Fe.ctrlKey)&&Fe.keyCode==83&&(Fe.preventDefault(),de())}const Rt=()=>{if(ee&&Ke.current.instance){const Fe=Ke.current.instance.getContentHeight();Bt(Fe<Ee?Ee:Fe)}else Bt(Ee)};function Ht(Fe){var Je=document.createEvent("MouseEvents");Je.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Fe.dispatchEvent(Je)}const Kt=Fe=>{if(!pn.current)return;const{keyCode:Je,ctrlKey:Tt,metaKey:tn,target:cn,type:Zn}=Fe;return(Zn==="paste"||(Je===67||Je===86)&&(tn||Tt))&&cn.nodeName==="TEXTAREA"&&(ye(),Fe.preventDefault()),!1};function Pt(Fe,Je){var Tt=window.URL||window.webkitURL||window,tn=new Blob([Je]),cn=document.createElementNS("http://www.w3.org/1999/xhtml","a");cn.href=Tt.createObjectURL(tn),cn.download=Fe,Ht(cn)}(0,S.useEffect)(()=>{Rt()},[Rt]),(0,S.useEffect)(()=>{Ct.current&&!Yt&&Promise.all([a.e(5552),a.e(9651)]).then(a.bind(a,55826)).then(Fe=>{try{Xe=Fe,Ke.current.instance=Xe.editor.create(Ct.current,{value:B,language:rt(he),theme:F,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:vt||!1}},Ie);const Je=Ke.current.instance;let cn=[...f.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"],ar=(mn,On)=>{var Gn,nn;let zn=mn._first;do On.includes((nn=(Gn=zn.element)==null?void 0:Gn.command)==null?void 0:nn.id)&&mn._remove(zn);while(zn=zn.next)};if(je(Je,Xe),setTimeout(()=>{Rt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Pt(Nt||"educoder.txt",Je.getValue())}})},500),Ke.current.subscription=Je.onDidChangeModelContent(mn=>{lt.current?clearTimeout(bt.current):(Rt(),se(Je.getValue(),mn)),bt.current=setTimeout(()=>{lt.current=!1},500)}),window.Monaco||c(Xe,rt(he)),ce&&(ar(cn,Zn),Ct.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Kt),window.removeEventListener("paste",Kt),window.addEventListener("keydown",Kt),window.addEventListener("paste",Kt)),window.Monaco=Xe,O&&Je.onDidBlurEditorWidget(()=>{O(Je.getValue())}),Ze&&Je.onDidFocusEditorText(()=>{ce&&Mt(),Ze(Je.getValue())}),ce){Mt();try{Je.onDidPaste(mn=>{const On=Je.getSelection(),Gn=Ke.current.pastePos||{},nn=new Xe.Range(Gn.startLineNumber||On.endLineNumber,Gn.startColumn||On.endColumn,Gn.endLineNumber||On.endLineNumber,Gn.endColumn||On.endColumn);Je.executeEdits("",[{range:mn.range,text:""}])})}catch(mn){}}let kn=Te();return Ve&&typeof Ve=="string"&&new o(Ve,Je,Xe),ie(!0),()=>{const mn=Ke.current.instance;mn.dispose();const On=mn.getModel();On&&On.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),kn.unobserve(Ct.current)}}catch(Je){}})},[]),(0,S.useEffect)(()=>{if(Ke.current.instance&&Yt)return document.addEventListener("keydown",ft,!1),()=>{document.removeEventListener("keydown",ft)}},[de,Yt]),(0,S.useEffect)(()=>{let Fe=Ke.current.instance;if(Fe&&Yt){let Je=rt(he);Xe.editor.setModelLanguage(Fe.getModel(),Je)}},[he,Yt]),(0,S.useEffect)(()=>{Ke.current.instance&&Yt&&Xe.editor.setTheme(F)},[F,Yt]),(0,S.useEffect)(()=>{let Fe=Ke.current.instance;ot.current=Ge,Fe&&Yt&&(Fe.updateOptions(L({},Ge)),setTimeout(()=>{Fe.getModel().updateOptions(L({},Ge))},200))},[JSON.stringify(Ge),Yt]),(0,S.useEffect)(()=>{let Fe=Ke.current.instance;Fe&&Yt&&Fe.layout()},[Y,Ee,Yt]);const[_t,jt]=(0,S.useState)(H(Y)),[It,Bt]=(0,S.useState)(H(Ee)),dt=i(L({},oe),{width:_t,height:It,position:"relative"});return S.createElement("div",{className:"my-monaco-editor",ref:Ct,style:dt},re&&S.createElement(G.CopyToClipboard,{text:B,onCopy:()=>T.ZP.success("\u590D\u5236\u6210\u529F")},S.createElement(I.Z,{title:"\u590D\u5236\u4EE3\u7801"},S.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},S.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function st({width:We="100%",height:ue="100%",original:Y,modified:Ee,language:B,options:he={}}){const oe=(0,S.useRef)(),[Ge,Ie]=(0,S.useState)(null);function F(ee){let ce;return oe.current&&(ce=new C.Z(se=>{for(let je of se)(je.target.offsetHeight>0||je.target.offsetWidth>0)&&ee.layout()}),ce.observe(oe.current)),ce}(0,S.useEffect)(()=>(oe.current&&Promise.all([a.e(5552),a.e(9404)]).then(a.bind(a,50048)).then(ee=>{Xe=ee;const ce=Xe.editor.createDiffEditor(oe.current,i(L({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},he),{wordWrap:!0}));Ie(ce);let se=F(ce);return()=>{ce.dispose();const je=ce.getModel();je&&je.dispose(),se.unobserve(oe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,S.useEffect)(()=>{Ge&&Ge.setModel({original:Xe.editor.createModel(Y,B),modified:Xe.editor.createModel(Ee,B)})},[Y,Ee,B,Ge]);const O=H(We),re=H(ue),de={width:O,height:re};return S.createElement("div",{className:"my-diff-editor",ref:oe,style:de})}},22615:function(St,Pe,a){"use strict";a.r(Pe),a.d(Pe,{default:function(){return G}});var S=a(67294),C={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},$=a(35973),J=a(2453),j=a(83062),s=a(62844),A=a(88044),Z=a(85804),e=a(57399),_=a(55304),h=a(98769),t=a(33170),u=a(60760),c=a(70583),d=a(20819),v=Object.defineProperty,l=Object.defineProperties,y=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,f=(X,_e,x)=>_e in X?v(X,_e,{enumerable:!0,configurable:!0,writable:!0,value:x}):X[_e]=x,T=(X,_e)=>{for(var x in _e||(_e={}))w.call(_e,x)&&f(X,x,_e[x]);if(m)for(var x of m(_e))o.call(_e,x)&&f(X,x,_e[x]);return X},I=(X,_e)=>l(X,y(_e)),U=(X,_e,x)=>new Promise((g,P)=>{var D=i=>{try{L(x.next(i))}catch(n){P(n)}},K=i=>{try{L(x.throw(i))}catch(n){P(n)}},L=i=>i.done?g(i.value):Promise.resolve(i.value).then(D,K);L((x=x.apply(X,_e)).next())});const V=({user:X})=>{var _e;const x={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[g,P]=(0,S.useState)(x);const[D,K]=(0,S.useState)(!0),[L,i]=(0,S.useState)([]),[n,N]=(0,S.useState)([]),[H,ve]=(0,S.useState)([]),[Oe,Ue]=(0,S.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}}}),rt=ue=>U(void 0,null,function*(){var Y;K(!0),ue.school_id=(Y=X==null?void 0:X.userInfo)==null?void 0:Y.school_id;let Ee=yield(0,t.ZP)(`/api/ec_major_schools/${(ue==null?void 0:ue.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:I(T({},ue),{year:(ue==null?void 0:ue.ec_year_id)===0?null:ue==null?void 0:ue.ec_year_id,ec_year_id:((ue==null?void 0:ue.ec_year_id)===0,null)})});Ee&&(i(Ee==null?void 0:Ee.ec_years),K(!1),g.total=Ee==null?void 0:Ee.count,P(T({},g)))});(0,S.useEffect)(()=>{var ue;(ue=X.userInfo)!=null&&ue.school_id&&(Xe(),Mt(),rt(g))},[(_e=X==null?void 0:X.userInfo)==null?void 0:_e.school_id]);function Xe(){return U(this,null,function*(){var ue;let Y=yield(0,t.ZP)(`/api/schools/${(ue=X==null?void 0:X.userInfo)==null?void 0:ue.school_id}/ec_majors/get_major_list.json`,{method:"get"});N(Y==null?void 0:Y.data)})}function Mt(){return U(this,null,function*(){let ue=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});ve(ue==null?void 0:ue.year_arr)})}const ge=(ue,Y)=>{g.page=1,g[Y]=typeof ue=="number"?ue:null,P(T({},g)),rt(g)},st=(ue,Y,Ee)=>{g.page=ue==null?void 0:ue.current,g.per_page=ue==null?void 0:ue.pageSize,Ee!=null&&Ee.order?(g.sort_by=Ee==null?void 0:Ee.field,g.sort_direction=(Ee==null?void 0:Ee.order)==="ascend"?"asc":"desc"):(g.sort_by=null,g.sort_direction=null),P(T({},g)),rt(g)},We=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(ue,Y,Ee)=>g.per_page*(g.page-1)+Ee+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(ue,Y,Ee)=>S.createElement($.Link,{to:`/engineering/training/program/edit?ec_year_id=${Y==null?void 0:Y.id}`},ue)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(ue,Y,Ee)=>S.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Y==null?void 0:Y.type))Oe.editOffice="edit",Ue(I(T({},Oe),{type:Y.file_type,data:`/api/attachments/${Y.attachment_id}`}));else{J.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},ue||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(ue,Y,Ee)=>ue+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(ue,Y,Ee)=>ue||S.createElement("a",{href:`/engineering/training/objectives?ids=${Y==null?void 0:Y.ec_major_school_id},${Y==null?void 0:Y.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(ue,Y,Ee)=>ue||S.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Y==null?void 0:Y.ec_major_school_id}&ec_year_id=${Y==null?void 0:Y.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(ue,Y,Ee)=>ue+"/"+(Y==null?void 0:Y.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(ue,Y,Ee)=>ue||S.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Y==null?void 0:Y.ec_major_school_id}&ec_year_id=${Y==null?void 0:Y.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(ue,Y,Ee)=>S.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${ue} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Y==null?void 0:Y.course_count}`},S.createElement("span",{style:{color:Y!=null&&Y.course_count?parseInt(ue)===parseInt(Y==null?void 0:Y.course_count)?"#07C160":"#E30000":""}},Y!=null&&Y.course_count?ue+"/"+(Y==null?void 0:Y.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(ue,Y,Ee)=>S.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${ue} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Y==null?void 0:Y.graduation_requirement_count}`},S.createElement("span",{style:{color:Y!=null&&Y.graduation_requirement_count?parseInt(ue)===parseInt(Y==null?void 0:Y.graduation_requirement_count)?"#07C160":"#E30000":""}},Y!=null&&Y.graduation_requirement_count?ue+"/"+(Y==null?void 0:Y.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(ue,Y,Ee)=>S.createElement("span",{style:{color:ue==="achieved"?"#E30000":"#07C160"}},ue==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(ue,Y,Ee)=>S.createElement("div",{style:{display:"flex"}},S.createElement("i",{onClick:()=>U(void 0,null,function*(){$.history.push(`/engineering/training/program/edit?ec_year_id=${Y==null?void 0:Y.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),S.createElement("i",{onClick:()=>{s.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:S.createElement(_.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>U(void 0,null,function*(){var B;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${ue}`,{method:"delete"}))&&(c.U.clear((B=X==null?void 0:X.userInfo)==null?void 0:B.login),J.ZP.info("\u5220\u9664\u6210\u529F"),rt(g))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),S.createElement("i",{onClick:()=>U(void 0,null,function*(){var B;(0,h.xm)({ec_year_id:ue,school_id:(B=X==null?void 0:X.userInfo)==null?void 0:B.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return S.createElement("div",{className:C.wrap},S.createElement(u.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),S.createElement("div",{style:{clear:"both"}}),S.createElement("div",{className:C.control},S.createElement("div",{className:C.label},"\u8BA4\u8BC1\u4E13\u4E1A"),S.createElement(A.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:g==null?void 0:g.ec_major_school_id,onChange:ue=>ge(ue,"ec_major_school_id")},S.createElement(A.default.Option,{value:0},"\u5168\u90E8"),n==null?void 0:n.map((ue,Y)=>S.createElement(A.default.Option,{value:ue==null?void 0:ue.ec_major_school_id},ue==null?void 0:ue.name))),S.createElement("div",{className:C.label},"\u8BA4\u8BC1\u5C4A\u522B"),S.createElement(A.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:g==null?void 0:g.ec_year_id,onChange:ue=>ge(ue,"ec_year_id")},S.createElement(A.default.Option,{value:0},"\u5168\u90E8"),H==null?void 0:H.map((ue,Y)=>S.createElement(A.default.Option,{value:ue},ue,"\u5C4A"))),S.createElement("div",{style:{flex:1,textAlign:"end"}},S.createElement(Z.ZP,{onClick:()=>{$.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},S.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),S.createElement(e.default,{className:C.customTable,dataSource:L,bordered:!1,rowKey:ue=>ue.id,columns:We,rowClassName:C.row,loading:D,onChange:st,pagination:{pageSize:g.per_page,total:g.total,current:g.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:ue=>S.createElement("span",{className:"mr10"},"\u5171",S.createElement("span",{className:"c-orange"},ue),"\u6761\u6570\u636E")}}),S.createElement(d.Z,I(T({},Oe),{onClose:()=>{Ue(I(T({},Oe),{type:""}))}})))};var G=(0,$.connect)(({user:X})=>({user:X}))(V)},60760:function(St,Pe,a){"use strict";a.d(Pe,{p:function(){return J},v:function(){return A}});var S=a(67294),C={panelTitleContainer:"panelTitleContainer___Ypuh_"},J=({title:Z,style:e={}})=>S.createElement("div",{className:C.panelTitleContainer,style:e},S.createElement("div",null,Z)),j={selectWrapContainer:"selectWrapContainer___qocIH"},A=({title:Z,children:e})=>S.createElement("div",{className:j.selectWrapContainer},S.createElement("span",null,Z),e)},98769:function(St,Pe,a){"use strict";a.d(Pe,{AD:function(){return P},D9:function(){return H},Hp:function(){return T},IM:function(){return Oe},Iy:function(){return U},KM:function(){return Ee},MJ:function(){return I},Ne:function(){return ve},ON:function(){return ge},Uj:function(){return ue},VY:function(){return Xe},YO:function(){return We},YX:function(){return st},Zn:function(){return d},_g:function(){return w},_k:function(){return n},c6:function(){return x},cr:function(){return v},eV:function(){return g},fi:function(){return l},gh:function(){return X},hS:function(){return Ue},iA:function(){return y},j6:function(){return o},je:function(){return L},jj:function(){return f},kS:function(){return Mt},lS:function(){return i},o6:function(){return _e},pO:function(){return Y},rQ:function(){return D},sA:function(){return G},xm:function(){return N},xo:function(){return rt},y8:function(){return K},yd:function(){return m}});var S=a(89779),C=a(35973),$=a(28706),J=a(2453),j=a(11320),s=Object.defineProperty,A=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,_=(B,he,oe)=>he in B?s(B,he,{enumerable:!0,configurable:!0,writable:!0,value:oe}):B[he]=oe,h=(B,he)=>{for(var oe in he||(he={}))Z.call(he,oe)&&_(B,oe,he[oe]);if(A)for(var oe of A(he))e.call(he,oe)&&_(B,oe,he[oe]);return B},t=(B,he,oe)=>new Promise((Ge,Ie)=>{var F=de=>{try{re(oe.next(de))}catch(ee){Ie(ee)}},O=de=>{try{re(oe.throw(de))}catch(ee){Ie(ee)}},re=de=>de.done?Ge(de.value):Promise.resolve(de.value).then(F,O);re((oe=oe.apply(B,he)).next())});const u=()=>{(0,C.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},c=()=>{(0,C.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},d=B=>t(void 0,null,function*(){u(),(yield(0,S.YR)(h({},B))).status===0&&(yield(0,$.QH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B.coursesId}/export_couser_info.json`,query:B}))),c()}),v=B=>t(void 0,null,function*(){const he=yield(0,S.yS)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_member_act_score`);else{if(he.status===-2)return he;he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_member_act_score`))}}),l=B=>t(void 0,null,function*(){const he=yield(0,S.W0)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_score`);else{if(he.status===-4)return he;he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_score`))}}),y=B=>t(void 0,null,function*(){const he=yield(0,S.Nl)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-4)return he;he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_exercise_and_other`))}}),m=B=>t(void 0,null,function*(){const he=yield(0,S.IU)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/export_star_user`);else{if(he.status===-4)return he;he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/export_star_user`))}}),w=B=>t(void 0,null,function*(){const he=yield(0,S.td)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-2)return he;if(he.status===-3)(0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_exercise_and_other`);else if(he.status===-4)return he}}),o=B=>t(void 0,null,function*(){const he=yield(0,S.QX)(h({},B));if(he.status===0)J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_homework`);else{if(he.status===-4)return he;he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/course_total_homework`))}}),f=(B,he)=>t(void 0,null,function*(){const oe=yield(0,S.o_)(h({},B));oe.status===0?(J.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"),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`)):oe.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`))}),T=(B,he)=>t(void 0,null,function*(){const oe=yield(0,S.ZL)(h({},B));oe.status===0?(J.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"),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`)):oe.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`))}),I=(B,he)=>t(void 0,null,function*(){const oe=yield(0,S.vV)(h({},B));oe.status===0?(J.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"),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`)):oe.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`))}),U=(B,he)=>t(void 0,null,function*(){const oe=yield(0,S.aP)(h({},B));oe.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`)):oe.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/${he}`))}),V=B=>t(void 0,null,function*(){u(),(yield exportCourseWorkListAppendix(h({},B))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${B.categoryId}/works_list.zip`,query:B}))),c()}),G=B=>t(void 0,null,function*(){u(),yield(0,$.QH)("",j.Z.API_SERVER+`/api/polls/${B.categoryId}/commit_result.xlsx`),c()}),X=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B.coursesId}/attendances/export_xlsx_data.xlsx`,query:B}))}),_e=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B.coursesId}/video_study_statics.xlsx`,query:B}))}),x=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B.coursesId}/export_video_study.xlsx`,query:B}))}),g=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B.coursesId}/export_course_students_info.xlsx`,query:B}))}),P=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/school_manages/students.xlsx",query:B}))}),D=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/item_banks/export.xlsx",query:B}))}),K=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:B}))}),L=B=>t(void 0,null,function*(){const he=yield(0,S.Uy)(h({},B));he.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/exercise_score,export_exercise_users`)):he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/exercise_score,export_exercise_users`))}),i=B=>t(void 0,null,function*(){const he=yield(0,S.tg)(h({},B));he.status===0?(J.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),C.history.push(`/classrooms/${B.coursesId}/exportlist/exercise_score,export_exercise_report`)):he.status===-3&&((0,C.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),C.history.push(`/classrooms/${B.coursesId}/exportlist/exercise_score,export_exercise_report`))}),n=B=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/export_records/${B.id}.xlsx`,query:B}))}),N=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:B}))}),H=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/courses/${B==null?void 0:B.coursesId}/${B.menuKey}_statistic.xlsx?${B.checkedList.map(he=>`course_group_id[]=${he}`).join("&")}`,query:B}))}),ve=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/ec_years/${B==null?void 0:B.ec_year_id}/ec_training_objectives.xlsx`,query:B}))}),Oe=B=>t(void 0,null,function*(){yield(0,$.FH)(B==null?void 0:B.name,(0,$.NY)({url:j.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:B}))}),Ue=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/ec_years/${B==null?void 0:B.ec_year_id}/ec_courses.xlsx`,query:B}))}),rt=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/ec_years/${B==null?void 0:B.ec_year_id}/ec_graduation_requirements.xlsx`,query:B}))}),Xe=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:B}))}),Mt=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:B}))}),ge=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/examination_banks/${B.id}.json`,query:B}))}),st=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/exercises/${B.categoryId}.json`,query:B}))}),We=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/polls/${B==null?void 0:B.id}/commit_result.json`,query:B}))}),ue=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+"/api/paths/get_task_pass.json",query:B}))}),Y=(B,he)=>t(void 0,null,function*(){yield(0,$.FH)(he||"",(0,$.NY)({url:j.Z.API_SERVER+`/api/exercises/${B==null?void 0:B.exercise_id}/consult_exercise.json`,query:B}))}),Ee=B=>t(void 0,null,function*(){yield(0,$.FH)("",(0,$.NY)({url:j.Z.API_SERVER+`/api/competitions/${B==null?void 0:B.identifier}/competition_commit_records/member_works.xlsx`,query:B}))})},20640:function(St,Pe,a){"use strict";var S=a(11742),C={"text/plain":"Text","text/html":"Url",default:"Text"},$="Copy to clipboard: #{key}, Enter";function J(s){var A=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,A)}function j(s,A){var Z,e,_,h,t,u,c=!1;A||(A={}),Z=A.debug||!1;try{_=S(),h=document.createRange(),t=document.getSelection(),u=document.createElement("span"),u.textContent=s,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(v){if(v.stopPropagation(),A.format)if(v.preventDefault(),typeof v.clipboardData=="undefined"){Z&&console.warn("unable to use e.clipboardData"),Z&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=C[A.format]||C.default;window.clipboardData.setData(l,s)}else v.clipboardData.clearData(),v.clipboardData.setData(A.format,s);A.onCopy&&(v.preventDefault(),A.onCopy(v.clipboardData))}),document.body.appendChild(u),h.selectNodeContents(u),t.addRange(h);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");c=!0}catch(v){Z&&console.error("unable to copy using execCommand: ",v),Z&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(A.format||"text",s),A.onCopy&&A.onCopy(window.clipboardData),c=!0}catch(l){Z&&console.error("unable to copy using clipboardData: ",l),Z&&console.error("falling back to prompt"),e=J("message"in A?A.message:$),window.prompt(e,s)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(h):t.removeAllRanges()),u&&document.body.removeChild(u),_()}return c}St.exports=j},84204:function(St,Pe,a){"use strict";var S,C;function $(J,j,s){var A=function(Z,e){return J.js_beautify(Z,e)};return A.js=J.js_beautify,A.css=j.css_beautify,A.html=s.html_beautify,A.js_beautify=J.js_beautify,A.css_beautify=j.css_beautify,A.html_beautify=s.html_beautify,A}S=[a(77937),a(85040),a(3566)],C=function(J,j,s){return $(J,j,s)}.apply(Pe,S),C!==void 0&&(St.exports=C)},85040:function(St,Pe){var a,S;(function(){var C;(function(){"use strict";var J=[,,function(Z){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 u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(t))return!0;return!1},e.prototype.set_indent=function(t,u){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=u||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 u=t.lastIndexOf(`
|
|
`);u!==-1?this.__character_count=t.length-u: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 _(t,u){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)),u=u||"",t.indent_level>0&&(u=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}_.prototype.get_indent_size=function(t,u){var c=this.__base_string_length;return u=u||0,t<0&&(c=0),c+=t*this.__indent_size,c+=u,c},_.prototype.get_indent_string=function(t,u){var c=this.__base_string;return u=u||0,t<0&&(t=0,c=""),u+=t*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},_.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var t=this.__cache.length,u=0,c="";this.__indent_size&&t>=this.__indent_size&&(u=Math.floor(t/this.__indent_size),t-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),t&&(c+=new Array(t+1).join(" ")),this.__cache.push(c)};function h(t,u){this.__indent_cache=new _(t,u),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,u){return this.__indent_cache.get_indent_string(t,u)},h.prototype.get_indent_size=function(t,u){return this.__indent_cache.get_indent_size(t,u)},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 u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(c=c.replace(/[\n]/g,t)),c},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(t,u){return t=t||0,u=u||0,this.next_line.set_indent(t,u),this.__lines.length>1?(this.current_line.set_indent(t,u),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(t){for(var u=0;u<t.newlines;u++)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 u=this.__lines.length;t<u;)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,u){for(var c=this.__lines.length-2;c>=0;){var d=this.__lines[c];if(d.is_empty())break;if(d.item(0).indexOf(t)!==0&&d.item(-1)!==u){this.__lines.splice(c+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}c--}},Z.exports.Output=h},,,,function(Z){function e(t,u){this.raw_options=_(t,u),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,u){var c=this.raw_options[t],d=u||[];return typeof c=="object"?c!==null&&typeof c.concat=="function"&&(d=c.concat()):typeof c=="string"&&(d=c.split(/[^a-zA-Z0-9_\/\-]+/)),d},e.prototype._get_boolean=function(t,u){var c=this.raw_options[t],d=c===void 0?!!u:!!c;return d},e.prototype._get_characters=function(t,u){var c=this.raw_options[t],d=u||"";return typeof c=="string"&&(d=c.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),d},e.prototype._get_number=function(t,u){var c=this.raw_options[t];u=parseInt(u,10),isNaN(u)&&(u=0);var d=parseInt(c,10);return isNaN(d)&&(d=u),d},e.prototype._get_selection=function(t,u,c){var d=this._get_selection_list(t,u,c);if(d.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+u+`
|
|
You passed in: '`+this.raw_options[t]+"'");return d[0]},e.prototype._get_selection_list=function(t,u,c){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(c=c||[u[0]],!this._is_valid_selection(c,u))throw new Error("Invalid Default Value!");var d=this._get_array(t,c);if(!this._is_valid_selection(d,u))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+u+`
|
|
You passed in: '`+this.raw_options[t]+"'");return d},e.prototype._is_valid_selection=function(t,u){return t.length&&u.length&&!t.some(function(c){return u.indexOf(c)===-1})};function _(t,u){var c={};t=h(t);var d;for(d in t)d!==u&&(c[d]=t[d]);if(u&&t[u])for(d in t[u])c[d]=t[u][d];return c}function h(t){var u={},c;for(c in t){var d=c.replace(/-/g,"_");u[d]=t[c]}return u}Z.exports.Options=e,Z.exports.normalizeOpts=h,Z.exports.mergeOpts=_},,function(Z){var e=RegExp.prototype.hasOwnProperty("sticky");function _(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},_.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},_.prototype.__match=function(h,t){h.lastIndex=t;var u=h.exec(this.__input);return u&&!(e&&h.sticky)&&u.index!==t&&(u=null),u},_.prototype.test=function(h,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(h,t):!1},_.prototype.testChar=function(h,t){var u=this.peek(t);return h.lastIndex=0,u!==null&&h.test(u)},_.prototype.match=function(h){var t=this.__match(h,this.__position);return t?this.__position+=t[0].length:t=null,t},_.prototype.read=function(h,t,u){var c="",d;return h&&(d=this.match(h),d&&(c+=d[0])),t&&(d||!h)&&(c+=this.readUntil(t,u)),c},_.prototype.readUntil=function(h,t){var u="",c=this.__position;h.lastIndex=this.__position;var d=h.exec(this.__input);return d?(c=d.index,t&&(c+=d[0].length)):c=this.__input_length,u=this.__input.substring(this.__position,c),this.__position=c,u},_.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},_.prototype.get_regexp=function(h,t){var u=null,c="g";return t&&e&&(c="y"),typeof h=="string"&&h!==""?u=new RegExp(h,c):h&&(u=new RegExp(h.source,c)),u},_.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(h){var t=this.__position,u=this.readUntilAfter(h);return this.__position=t,u},_.prototype.lookBack=function(h){var t=this.__position-1;return t>=h.length&&this.__input.substring(t-h.length,t).toLowerCase()===h},Z.exports.InputScanner=_},,,,,function(Z){function e(_,h){_=typeof _=="string"?_:_.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+h,"g")}e.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(_);t;)h[t[1]]=t[2],t=this.__directive_pattern.exec(_);return h},e.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},Z.exports.Directives=e},,function(Z,e,_){var h=_(16).Beautifier,t=_(17).Options;function u(c,d){var v=new h(c,d);return v.beautify()}Z.exports=u,Z.exports.defaultOptions=function(){return new t}},function(Z,e,_){var h=_(17).Options,t=_(2).Output,u=_(8).InputScanner,c=_(13).Directives,d=new c(/\/\*/,/\*\//),v=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,y=/\s/,m=/(?:\s|\n)+/g,w=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,o=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(T,I){this._source_text=T||"",this._options=new h(I),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"]}f.prototype.eatString=function(T){var I="";for(this._ch=this._input.next();this._ch;){if(I+=this._ch,this._ch==="\\")I+=this._input.next();else if(T.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return I},f.prototype.eatWhitespace=function(T){for(var I=y.test(this._input.peek()),U=0;y.test(this._input.peek());)this._ch=this._input.next(),T&&this._ch===`
|
|
`&&(U===0||U<this._options.max_preserve_newlines)&&(U++,this._output.add_new_line(!0));return I},f.prototype.foundNestedPseudoClass=function(){for(var T=0,I=1,U=this._input.peek(I);U;){if(U==="{")return!0;if(U==="(")T+=1;else if(U===")"){if(T===0)return!1;T-=1}else if(U===";"||U==="}")return!1;I++,U=this._input.peek(I)}return!1},f.prototype.print_string=function(T){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(T)},f.prototype.preserveSingleSpace=function(T){T&&(this._output.space_before_token=!0)},f.prototype.indent=function(){this._indentLevel++},f.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var T=this._source_text,I=this._options.eol;I==="auto"&&(I=`
|
|
`,T&&v.test(T||"")&&(I=T.match(v)[0])),T=T.replace(l,`
|
|
`);var U=T.match(/^[\t ]*/)[0];this._output=new t(this._options,U),this._input=new u(T),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var V=0,G=!1,X=!1,_e=!1,x=!1,g=!1,P=!1,D=this._ch,K=!1,L,i,n;L=this._input.read(m),i=L!=="",n=D,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),D=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var N=this._input.read(w),H=d.get_directives(N);H&&H.ignore==="start"&&(N+=d.readIgnored(this._input)),this.print_string(N),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(o)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(i),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ve=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ve.match(/[ :]$/)&&(ve=this.eatString(": ").replace(/\s$/,""),this.print_string(ve),this._output.space_before_token=!0),ve=ve.replace(/\s$/,""),ve==="extend"?x=!0:ve==="import"&&(g=!0),ve in this.NESTED_AT_RULE?(this._nestedLevel+=1,ve in this.CONDITIONAL_GROUP_RULE&&(_e=!0)):!G&&V===0&&ve.indexOf(":")!==-1&&(X=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")X&&(X=!1,this.outdent()),_e?(_e=!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),g=!1,x=!1,X&&(this.outdent(),X=!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 Oe=0;Oe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Oe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Oe])){K=!0;break}(G||_e)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!x&&V===0?(this.print_string(":"),X||(X=!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 Ue=n==='"'||n==="'";this.preserveSingleSpace(Ue||i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")K=!1,V===0?(X&&(this.outdent(),X=!1),x=!1,g=!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(),V++,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(")")),V&&(V--,this.outdent()));else{var rt=!1;this._input.lookBack("with")&&(rt=!0),this.preserveSingleSpace(i||rt),this.print_string(this._ch),X&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),P=!0):(this.eatWhitespace(),V++,this.indent())}else if(this._ch===")")V&&(V--,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&&(!X||P)&&V===0&&!g&&!x?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!X&&V===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(i),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||i),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&K&&this._output.add_new_line()}var Mt=this._output.get_code(I);return Mt},Z.exports.Beautifier=f},function(Z,e,_){var h=_(6).Options;function t(u){h.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var c=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||c;var d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var v=0;v<d.length;v++)d[v]!=="expand"?this.brace_style="collapse":this.brace_style=d[v]}t.prototype=new h,Z.exports.Options=t}],j={};function s(Z){var e=j[Z];if(e!==void 0)return e.exports;var _=j[Z]={exports:{}};return J[Z](_,_.exports,s),_.exports}var A=s(15);C=A})();var $=C;a=[],S=function(){return{css_beautify:$}}.apply(Pe,a),S!==void 0&&(St.exports=S)})()},3566:function(St,Pe,a){var S,C;(function(){var $;(function(){"use strict";var A=[,,function(h){function t(d){this.__parent=d,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 d=new t(this.__parent);return d.set_indent(this.__indent_count,this.__alignment_count),d},t.prototype.item=function(d){return d<0?this.__items[this.__items.length+d]:this.__items[d]},t.prototype.has_match=function(d){for(var v=this.__items.length-1;v>=0;v--)if(this.__items[v].match(d))return!0;return!1},t.prototype.set_indent=function(d,v){this.is_empty()&&(this.__indent_count=d||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 d=this.__parent.current_line;return d.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),d.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),d.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,d.__items[0]===" "&&(d.__items.splice(0,1),d.__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(d){this.__items.push(d);var v=d.lastIndexOf(`
|
|
`);v!==-1?this.__character_count=d.length-v:this.__character_count+=d.length},t.prototype.pop=function(){var d=null;return this.is_empty()||(d=this.__items.pop(),this.__character_count-=d.length),d},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 d="";return this.is_empty()?this.__parent.indent_empty_lines&&(d=this.__parent.get_indent_string(this.__indent_count)):(d=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),d+=this.__items.join("")),d};function u(d,v){this.__cache=[""],this.__indent_size=d.indent_size,this.__indent_string=d.indent_char,d.indent_with_tabs||(this.__indent_string=new Array(d.indent_size+1).join(d.indent_char)),v=v||"",d.indent_level>0&&(v=new Array(d.indent_level+1).join(this.__indent_string)),this.__base_string=v,this.__base_string_length=v.length}u.prototype.get_indent_size=function(d,v){var l=this.__base_string_length;return v=v||0,d<0&&(l=0),l+=d*this.__indent_size,l+=v,l},u.prototype.get_indent_string=function(d,v){var l=this.__base_string;return v=v||0,d<0&&(d=0,l=""),v+=d*this.__indent_size,this.__ensure_cache(v),l+=this.__cache[v],l},u.prototype.__ensure_cache=function(d){for(;d>=this.__cache.length;)this.__add_column()},u.prototype.__add_column=function(){var d=this.__cache.length,v=0,l="";this.__indent_size&&d>=this.__indent_size&&(v=Math.floor(d/this.__indent_size),d-=v*this.__indent_size,l=new Array(v+1).join(this.__indent_string)),d&&(l+=new Array(d+1).join(" ")),this.__cache.push(l)};function c(d,v){this.__indent_cache=new u(d,v),this.raw=!1,this._end_with_newline=d.end_with_newline,this.indent_size=d.indent_size,this.wrap_line_length=d.wrap_line_length,this.indent_empty_lines=d.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()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(d,v){return this.__indent_cache.get_indent_string(d,v)},c.prototype.get_indent_size=function(d,v){return this.__indent_cache.get_indent_size(d,v)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(d){return this.is_empty()||!d&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(d){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 l=this.__lines.join(`
|
|
`);return d!==`
|
|
`&&(l=l.replace(/[\n]/g,d)),l},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(d,v){return d=d||0,v=v||0,this.next_line.set_indent(d,v),this.__lines.length>1?(this.current_line.set_indent(d,v),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(d){for(var v=0;v<d.newlines;v++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(d.whitespace_before),this.current_line.push(d.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(d){this.__add_space_before_token(),this.current_line.push(d),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.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(" "))},c.prototype.remove_indent=function(d){for(var v=this.__lines.length;d<v;)this.__lines[d]._remove_indent(),d++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(d){for(d=d===void 0?!1:d,this.current_line.trim();d&&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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(d,v){for(var l=this.__lines.length-2;l>=0;){var y=this.__lines[l];if(y.is_empty())break;if(y.item(0).indexOf(d)!==0&&y.item(-1)!==v){this.__lines.splice(l+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}l--}},h.exports.Output=c},function(h){function t(u,c,d,v){this.type=u,this.text=c,this.comments_before=null,this.newlines=d||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(d,v){this.raw_options=u(d,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(d,v){var l=this.raw_options[d],y=v||[];return typeof l=="object"?l!==null&&typeof l.concat=="function"&&(y=l.concat()):typeof l=="string"&&(y=l.split(/[^a-zA-Z0-9_\/\-]+/)),y},t.prototype._get_boolean=function(d,v){var l=this.raw_options[d],y=l===void 0?!!v:!!l;return y},t.prototype._get_characters=function(d,v){var l=this.raw_options[d],y=v||"";return typeof l=="string"&&(y=l.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),y},t.prototype._get_number=function(d,v){var l=this.raw_options[d];v=parseInt(v,10),isNaN(v)&&(v=0);var y=parseInt(l,10);return isNaN(y)&&(y=v),y},t.prototype._get_selection=function(d,v,l){var y=this._get_selection_list(d,v,l);if(y.length!==1)throw new Error("Invalid Option Value: The option '"+d+`' can only be one of the following values:
|
|
`+v+`
|
|
You passed in: '`+this.raw_options[d]+"'");return y[0]},t.prototype._get_selection_list=function(d,v,l){if(!v||v.length===0)throw new Error("Selection list cannot be empty.");if(l=l||[v[0]],!this._is_valid_selection(l,v))throw new Error("Invalid Default Value!");var y=this._get_array(d,l);if(!this._is_valid_selection(y,v))throw new Error("Invalid Option Value: The option '"+d+`' can contain only the following values:
|
|
`+v+`
|
|
You passed in: '`+this.raw_options[d]+"'");return y},t.prototype._is_valid_selection=function(d,v){return d.length&&v.length&&!d.some(function(l){return v.indexOf(l)===-1})};function u(d,v){var l={};d=c(d);var y;for(y in d)y!==v&&(l[y]=d[y]);if(v&&d[v])for(y in d[v])l[y]=d[v][y];return l}function c(d){var v={},l;for(l in d){var y=l.replace(/-/g,"_");v[y]=d[l]}return v}h.exports.Options=t,h.exports.normalizeOpts=c,h.exports.mergeOpts=u},,function(h){var t=RegExp.prototype.hasOwnProperty("sticky");function u(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}u.prototype.restart=function(){this.__position=0},u.prototype.back=function(){this.__position>0&&(this.__position-=1)},u.prototype.hasNext=function(){return this.__position<this.__input_length},u.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},u.prototype.peek=function(c){var d=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(d=this.__input.charAt(c)),d},u.prototype.__match=function(c,d){c.lastIndex=d;var v=c.exec(this.__input);return v&&!(t&&c.sticky)&&v.index!==d&&(v=null),v},u.prototype.test=function(c,d){return d=d||0,d+=this.__position,d>=0&&d<this.__input_length?!!this.__match(c,d):!1},u.prototype.testChar=function(c,d){var v=this.peek(d);return c.lastIndex=0,v!==null&&c.test(v)},u.prototype.match=function(c){var d=this.__match(c,this.__position);return d?this.__position+=d[0].length:d=null,d},u.prototype.read=function(c,d,v){var l="",y;return c&&(y=this.match(c),y&&(l+=y[0])),d&&(y||!c)&&(l+=this.readUntil(d,v)),l},u.prototype.readUntil=function(c,d){var v="",l=this.__position;c.lastIndex=this.__position;var y=c.exec(this.__input);return y?(l=y.index,d&&(l+=y[0].length)):l=this.__input_length,v=this.__input.substring(this.__position,l),this.__position=l,v},u.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},u.prototype.get_regexp=function(c,d){var v=null,l="g";return d&&t&&(l="y"),typeof c=="string"&&c!==""?v=new RegExp(c,l):c&&(v=new RegExp(c.source,l)),v},u.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},u.prototype.peekUntilAfter=function(c){var d=this.__position,v=this.readUntilAfter(c);return this.__position=d,v},u.prototype.lookBack=function(c){var d=this.__position-1;return d>=c.length&&this.__input.substring(d-c.length,d).toLowerCase()===c},h.exports.InputScanner=u},function(h,t,u){var c=u(8).InputScanner,d=u(3).Token,v=u(10).TokenStream,l=u(11).WhitespacePattern,y={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(w,o){this._input=new c(w),this._options=o||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new l(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new v,this._reset();for(var w,o=new d(y.START,""),f=null,T=[],I=new v;o.type!==y.EOF;){for(w=this._get_next_token(o,f);this._is_comment(w);)I.add(w),w=this._get_next_token(o,f);I.isEmpty()||(w.comments_before=I,I=new v),w.parent=f,this._is_opening(w)?(T.push(f),f=w):f&&this._is_closing(w,f)&&(w.opened=f,f.closed=w,f=T.pop(),w.parent=f),w.previous=o,o.next=w,this.__tokens.add(w),o=w}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(w,o){this._readWhitespace();var f=this._input.read(/.+/g);return f?this._create_token(y.RAW,f):this._create_token(y.EOF,"")},m.prototype._is_comment=function(w){return!1},m.prototype._is_opening=function(w){return!1},m.prototype._is_closing=function(w,o){return!1},m.prototype._create_token=function(w,o){var f=new d(w,o,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return f},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},h.exports.Tokenizer=m,h.exports.TOKEN=y},function(h){function t(u){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=u}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 u=null;return this.hasNext()&&(u=this.__tokens[this.__position],this.__position+=1),u},t.prototype.peek=function(u){var c=null;return u=u||0,u+=this.__position,u>=0&&u<this.__tokens_length&&(c=this.__tokens[u]),c},t.prototype.add=function(u){this.__parent_token&&(u.parent=this.__parent_token),this.__tokens.push(u),this.__tokens_length+=1},h.exports.TokenStream=t},function(h,t,u){var c=u(12).Pattern;function d(v,l){c.call(this,v,l),l?this._line_regexp=this._input.get_regexp(l._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}d.prototype=new c,d.prototype.__set_whitespace_patterns=function(v,l){v+="\\t ",l+="\\n\\r",this._match_pattern=this._input.get_regexp("["+v+l+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+l+"]")},d.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 l=this.__split(this._newline_regexp,v);this.newline_count=l.length-1,this.whitespace_before_token=l[this.newline_count]}return v},d.prototype.matching=function(v,l){var y=this._create();return y.__set_whitespace_patterns(v,l),y._update(),y},d.prototype._create=function(){return new d(this._input,this)},d.prototype.__split=function(v,l){v.lastIndex=0;for(var y=0,m=[],w=v.exec(l);w;)m.push(l.substring(y,w.index)),y=w.index+w[0].length,w=v.exec(l);return y<l.length?m.push(l.substring(y,l.length)):m.push(""),m},h.exports.WhitespacePattern=d},function(h){function t(u,c){this._input=u,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}t.prototype.read=function(){var u=this._input.read(this._starting_pattern);return(!this._starting_pattern||u)&&(u+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),u},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(u){var c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(u),c._update(),c},t.prototype.until=function(u){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(u),c._update(),c},t.prototype.starting_with=function(u){var c=this._create();return c._starting_pattern=this._input.get_regexp(u,!0),c._update(),c},t.prototype.matching=function(u){var c=this._create();return c._match_pattern=this._input.get_regexp(u,!0),c._update(),c},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},h.exports.Pattern=t},function(h){function t(u,c){u=typeof u=="string"?u:u.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(u+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(u+/\sbeautify\signore:end\s/.source+c,"g")}t.prototype.get_directives=function(u){if(!u.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var d=this.__directive_pattern.exec(u);d;)c[d[1]]=d[2],d=this.__directive_pattern.exec(u);return c},t.prototype.readIgnored=function(u){return u.readUntilAfter(this.__directives_end_ignore_pattern)},h.exports.Directives=t},function(h,t,u){var c=u(12).Pattern,d={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function v(l,y){c.call(this,l,y),this.__template_pattern=null,this._disabled=Object.assign({},d),this._excluded=Object.assign({},d),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 m=new c(l);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.starting_with(/{literal}/).until_after(/{\/literal}/)}}v.prototype=new c,v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){this.__set_templated_pattern()},v.prototype.disable=function(l){var y=this._create();return y._disabled[l]=!0,y._update(),y},v.prototype.read_options=function(l){var y=this._create();for(var m in d)y._disabled[m]=l.templating.indexOf(m)===-1;return y._update(),y},v.prototype.exclude=function(l){var y=this._create();return y._excluded[l]=!0,y._update(),y},v.prototype.read=function(){var l="";this._match_pattern?l=this._input.read(this._starting_pattern):l=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),l+=y,y=this._read_template();return this._until_after&&(l+=this._input.readUntilAfter(this._until_pattern)),l},v.prototype.__set_templated_pattern=function(){var l=[];this._disabled.php||l.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||l.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||l.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(l.push(this.__patterns.django._starting_pattern.source),l.push(this.__patterns.django_value._starting_pattern.source),l.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||l.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&l.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+l.join("|")+")")},v.prototype._read_template=function(){var l="",y=this._input.peek();if(y==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(l=l||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(l=l||this.__patterns.erb.read())}else y==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(l=l||this.__patterns.handlebars_comment.read(),l=l||this.__patterns.handlebars_unescaped.read(),l=l||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(l=l||this.__patterns.django_value.read()),this._excluded.django||(l=l||this.__patterns.django_comment.read(),l=l||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(l=l||this.__patterns.smarty_comment.read(),l=l||this.__patterns.smarty_literal.read(),l=l||this.__patterns.smarty.read()));return l},h.exports.TemplatablePattern=v},,,,function(h,t,u){var c=u(19).Beautifier,d=u(20).Options;function v(l,y,m,w){var o=new c(l,y,m,w);return o.beautify()}h.exports=v,h.exports.defaultOptions=function(){return new d}},function(h,t,u){var c=u(20).Options,d=u(2).Output,v=u(21).Tokenizer,l=u(21).TOKEN,y=/\r\n|[\r\n]/,m=/\r\n|[\r\n]/g,w=function(x,g){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=x.max_preserve_newlines,this.preserve_newlines=x.preserve_newlines,this._output=new d(x,g)};w.prototype.current_line_has_match=function(x){return this._output.current_line.has_match(x)},w.prototype.set_space_before_token=function(x,g){this._output.space_before_token=x,this._output.non_breaking_space=g},w.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},w.prototype.add_raw_token=function(x){this._output.add_raw_token(x)},w.prototype.print_preserved_newlines=function(x){var g=0;x.type!==l.TEXT&&x.previous.type!==l.TEXT&&(g=x.newlines?1:0),this.preserve_newlines&&(g=x.newlines<this.max_preserve_newlines+1?x.newlines:this.max_preserve_newlines+1);for(var P=0;P<g;P++)this.print_newline(P>0);return g!==0},w.prototype.traverse_whitespace=function(x){return x.whitespace_before||x.newlines?(this.print_preserved_newlines(x)||(this._output.space_before_token=!0),!0):!1},w.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},w.prototype.print_newline=function(x){this._output.add_new_line(x)},w.prototype.print_token=function(x){x.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(x.text))},w.prototype.indent=function(){this.indent_level++},w.prototype.get_full_indent=function(x){return x=this.indent_level+(x||0),x<1?"":this._output.get_indent_string(x)};var o=function(x){for(var g=null,P=x.next;P.type!==l.EOF&&x.closed!==P;){if(P.type===l.ATTRIBUTE&&P.text==="type"){P.next&&P.next.type===l.EQUALS&&P.next.next&&P.next.next.type===l.VALUE&&(g=P.next.next.text);break}P=P.next}return g},f=function(x,g){var P=null,D=null;return g.closed?(x==="script"?P="text/javascript":x==="style"&&(P="text/css"),P=o(g)||P,P.search("text/css")>-1?D="css":P.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?D="javascript":P.search(/(text|application|dojo)\/(x-)?(html)/)>-1?D="html":P.search(/test\/null/)>-1&&(D="null"),D):null};function T(x,g){return g.indexOf(x)!==-1}function I(x,g,P){this.parent=x||null,this.tag=g?g.tag_name:"",this.indent_level=P||0,this.parser_token=g||null}function U(x){this._printer=x,this._current_frame=null}U.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},U.prototype.record_tag=function(x){var g=new I(this._current_frame,x,this._printer.indent_level);this._current_frame=g},U.prototype._try_pop_frame=function(x){var g=null;return x&&(g=x.parser_token,this._printer.indent_level=x.indent_level,this._current_frame=x.parent),g},U.prototype._get_frame=function(x,g){for(var P=this._current_frame;P&&x.indexOf(P.tag)===-1;){if(g&&g.indexOf(P.tag)!==-1){P=null;break}P=P.parent}return P},U.prototype.try_pop=function(x,g){var P=this._get_frame([x],g);return this._try_pop_frame(P)},U.prototype.indent_to_tag=function(x){var g=this._get_frame(x);g&&(this._printer.indent_level=g.indent_level)};function V(x,g,P,D){this._source_text=x||"",g=g||{},this._js_beautify=P,this._css_beautify=D,this._tag_stack=null;var K=new c(g,"html");this._options=K,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"}V.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var x=this._source_text,g=this._options.eol;this._options.eol==="auto"&&(g=`
|
|
`,x&&y.test(x)&&(g=x.match(y)[0])),x=x.replace(m,`
|
|
`);var P=x.match(/^[\t ]*/)[0],D={text:"",type:""},K=new G,L=new w(this._options,P),i=new v(x,this._options).tokenize();this._tag_stack=new U(L);for(var n=null,N=i.next();N.type!==l.EOF;)N.type===l.TAG_OPEN||N.type===l.COMMENT?(n=this._handle_tag_open(L,N,K,D),K=n):N.type===l.ATTRIBUTE||N.type===l.EQUALS||N.type===l.VALUE||N.type===l.TEXT&&!K.tag_complete?n=this._handle_inside_tag(L,N,K,i):N.type===l.TAG_CLOSE?n=this._handle_tag_close(L,N,K):N.type===l.TEXT?n=this._handle_text(L,N,K):L.add_raw_token(N),D=n,N=i.next();var H=L._output.get_code(g);return H},V.prototype._handle_tag_close=function(x,g,P){var D={text:g.text,type:g.type};return x.alignment_size=0,P.tag_complete=!0,x.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),P.is_unformatted?x.add_raw_token(g):(P.tag_start_char==="<"&&(x.set_space_before_token(g.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&P.has_wrapped_attrs&&x.print_newline(!1)),x.print_token(g)),P.indent_content&&!(P.is_unformatted||P.is_content_unformatted)&&(x.indent(),P.indent_content=!1),!P.is_inline_element&&!(P.is_unformatted||P.is_content_unformatted)&&x.set_wrap_point(),D},V.prototype._handle_inside_tag=function(x,g,P,D){var K=P.has_wrapped_attrs,L={text:g.text,type:g.type};if(x.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),P.is_unformatted)x.add_raw_token(g);else if(P.tag_start_char==="{"&&g.type===l.TEXT)x.print_preserved_newlines(g)?(g.newlines=0,x.add_raw_token(g)):x.print_token(g);else{if(g.type===l.ATTRIBUTE?(x.set_space_before_token(!0),P.attr_count+=1):(g.type===l.EQUALS||g.type===l.VALUE&&g.previous.type===l.EQUALS)&&x.set_space_before_token(!1),g.type===l.ATTRIBUTE&&P.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(x.traverse_whitespace(g),K=K||g.newlines!==0),this._is_wrap_attributes_force)){var i=P.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&P.attr_count===1){var n=!0,N=0,H;do{if(H=D.peek(N),H.type===l.ATTRIBUTE){n=!1;break}N+=1}while(N<4&&H.type!==l.EOF&&H.type!==l.TAG_CLOSE);i=!n}i&&(x.print_newline(!1),K=!0)}x.print_token(g),K=K||x.previous_token_wrapped(),P.has_wrapped_attrs=K}return L},V.prototype._handle_text=function(x,g,P){var D={text:g.text,type:"TK_CONTENT"};return P.custom_beautifier_name?this._print_custom_beatifier_text(x,g,P):P.is_unformatted||P.is_content_unformatted?x.add_raw_token(g):(x.traverse_whitespace(g),x.print_token(g)),D},V.prototype._print_custom_beatifier_text=function(x,g,P){var D=this;if(g.text!==""){var K=g.text,L,i=1,n="",N="";P.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?L=this._js_beautify:P.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?L=this._css_beautify:P.custom_beautifier_name==="html"&&(L=function(Xe,Mt){var ge=new V(Xe,Mt,D._js_beautify,D._css_beautify);return ge.beautify()}),this._options.indent_scripts==="keep"?i=0:this._options.indent_scripts==="separate"&&(i=-x.indent_level);var H=x.get_full_indent(i);if(K=K.replace(/\n[ \t]*$/,""),P.custom_beautifier_name!=="html"&&K[0]==="<"&&K.match(/^(<!--|<!\[CDATA\[)/)){var ve=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(K);if(!ve){x.add_raw_token(g);return}n=H+ve[1]+`
|
|
`,K=ve[4],ve[5]&&(N=H+ve[5]),K=K.replace(/\n[ \t]*$/,""),(ve[2]||ve[3].indexOf(`
|
|
`)!==-1)&&(ve=ve[3].match(/[ \t]+$/),ve&&(g.whitespace_before=ve[0]))}if(K)if(L){var Oe=function(){this.eol=`
|
|
`};Oe.prototype=this._options.raw_options;var Ue=new Oe;K=L(H+K,Ue)}else{var rt=g.whitespace_before;rt&&(K=K.replace(new RegExp(`
|
|
(`+rt+")?","g"),`
|
|
`)),K=H+K.replace(/\n/g,`
|
|
`+H)}n&&(K?K=n+K+`
|
|
`+N:K=n+N),x.print_newline(!1),K&&(g.text=K,g.whitespace_before="",g.newlines=0,x.add_raw_token(g),x.print_newline(!0))}},V.prototype._handle_tag_open=function(x,g,P,D){var K=this._get_tag_open_token(g);return(P.is_unformatted||P.is_content_unformatted)&&!P.is_empty_element&&g.type===l.TAG_OPEN&&g.text.indexOf("</")===0?(x.add_raw_token(g),K.start_tag_token=this._tag_stack.try_pop(K.tag_name)):(x.traverse_whitespace(g),this._set_tag_position(x,g,K,P,D),K.is_inline_element||x.set_wrap_point(),x.print_token(g)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(K.alignment_size=g.text.length+1),!K.tag_complete&&!K.is_unformatted&&(x.alignment_size=K.alignment_size),K};var G=function(x,g){if(this.parent=x||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="",!g)this.tag_complete=!0;else{var P;this.tag_start_char=g.text[0],this.text=g.text,this.tag_start_char==="<"?(P=g.text.match(/^<([^\s>]*)/),this.tag_check=P?P[1]:""):(P=g.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=P?P[1]:"",(g.text.startsWith("{{#>")||g.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&g.next!==null?this.tag_check=g.next.text.split(" ")[0]:this.tag_check=g.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),g.type===l.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||g.closed&&g.closed.text==="/>";var D=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(D=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(D)))}};V.prototype._get_tag_open_token=function(x){var g=new G(this._tag_stack.get_parser_token(),x);return g.alignment_size=this._options.wrap_attributes_indent_size,g.is_end_tag=g.is_end_tag||T(g.tag_check,this._options.void_elements),g.is_empty_element=g.tag_complete||g.is_start_tag&&g.is_end_tag,g.is_unformatted=!g.tag_complete&&T(g.tag_check,this._options.unformatted),g.is_content_unformatted=!g.is_empty_element&&T(g.tag_check,this._options.content_unformatted),g.is_inline_element=T(g.tag_name,this._options.inline)||g.tag_name.includes("-")||g.tag_start_char==="{",g},V.prototype._set_tag_position=function(x,g,P,D,K){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||x.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=f(P.tag_check,g)))),T(P.tag_check,this._options.extra_liners)&&(x.print_newline(!1),x._output.just_added_blankline()||x.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 L=x.current_line_has_match(/{{#if/);L||x.print_newline(!1)}P.tag_name==="!--"&&K.type===l.TAG_CLOSE&&D.is_end_tag&&P.text.indexOf(`
|
|
`)===-1||(P.is_inline_element||P.is_unformatted||x.print_newline(!1),this._calcluate_parent_multiline(x,P))}else if(P.is_end_tag){var i=!1;i=P.start_tag_token&&P.start_tag_token.multiline_content,i=i||!P.is_inline_element&&!(D.is_inline_element||D.is_unformatted)&&!(K.type===l.TAG_CLOSE&&P.start_tag_token===D)&&K.type!=="TK_CONTENT",(P.is_content_unformatted||P.is_unformatted)&&(i=!1),i&&x.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)&&(K.type!=="TK_CONTENT"||P.is_content_unformatted)&&x.print_newline(!1),this._calcluate_parent_multiline(x,P)},V.prototype._calcluate_parent_multiline=function(x,g){g.parent&&x._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var X=["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"],_e=["a","audio","del","ins","map","noscript","video"];V.prototype._do_optional_end_element=function(x){var g=null;if(!(x.is_empty_element||!x.is_start_tag||!x.parent)){if(x.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(x.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul"]);else if(x.tag_name==="dd"||x.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(x.parent.tag_name==="p"&&X.indexOf(x.tag_name)!==-1){var P=x.parent.parent;(!P||_e.indexOf(P.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else x.tag_name==="rp"||x.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):x.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):x.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):x.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):x.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):x.tag_name==="tbody"||x.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):x.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(x.tag_name==="th"||x.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return x.parent=this._tag_stack.get_parser_token(),g}},h.exports.Beautifier=V},function(h,t,u){var c=u(6).Options;function d(v){c.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"])}d.prototype=new c,h.exports.Options=d},function(h,t,u){var c=u(9).Tokenizer,d=u(9).TOKEN,v=u(13).Directives,l=u(14).TemplatablePattern,y=u(12).Pattern,m={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:d.START,RAW:d.RAW,EOF:d.EOF},w=new v(/<\!--/,/-->/),o=function(f,T){c.call(this,f,T),this._current_tag_name="";var I=new l(this._input).read_options(this._options),U=new y(this._input);if(this.__patterns={word:I.until(/[\n\r\t <]/),single_quote:I.until_after(/'/),double_quote:I.until_after(/"/),attribute:I.until(/[\n\r\t =>]|\/>/),element_name:I.until(/[\n\r\t >\/]/),handlebars_comment:U.starting_with(/{{!--/).until_after(/--}}/),handlebars:U.starting_with(/{{/).until_after(/}}/),handlebars_open:U.until(/[\n\r\t }]/),handlebars_raw_close:U.until(/}}/),comment:U.starting_with(/<!--/).until_after(/-->/),cdata:U.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:U.starting_with(/<!\[/).until_after(/]>/),processing:U.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 V=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=U.matching(V).until_after(V)}};o.prototype=new c,o.prototype._is_comment=function(f){return!1},o.prototype._is_opening=function(f){return f.type===m.TAG_OPEN},o.prototype._is_closing=function(f,T){return f.type===m.TAG_CLOSE&&T&&((f.text===">"||f.text==="/>")&&T.text[0]==="<"||f.text==="}}"&&T.text[0]==="{"&&T.text[1]==="{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(f,T){var I=null;this._readWhitespace();var U=this._input.peek();return U===null?this._create_token(m.EOF,""):(I=I||this._read_open_handlebars(U,T),I=I||this._read_attribute(U,f,T),I=I||this._read_close(U,T),I=I||this._read_raw_content(U,f,T),I=I||this._read_content_word(U),I=I||this._read_comment_or_cdata(U),I=I||this._read_processing(U),I=I||this._read_open(U,T),I=I||this._create_token(m.UNKNOWN,this._input.next()),I)},o.prototype._read_comment_or_cdata=function(f){var T=null,I=null,U=null;if(f==="<"){var V=this._input.peek(1);V==="!"&&(I=this.__patterns.comment.read(),I?(U=w.get_directives(I),U&&U.ignore==="start"&&(I+=w.readIgnored(this._input))):I=this.__patterns.cdata.read()),I&&(T=this._create_token(m.COMMENT,I),T.directives=U)}return T},o.prototype._read_processing=function(f){var T=null,I=null,U=null;if(f==="<"){var V=this._input.peek(1);(V==="!"||V==="?")&&(I=this.__patterns.conditional_comment.read(),I=I||this.__patterns.processing.read()),I&&(T=this._create_token(m.COMMENT,I),T.directives=U)}return T},o.prototype._read_open=function(f,T){var I=null,U=null;return T||f==="<"&&(I=this._input.next(),this._input.peek()==="/"&&(I+=this._input.next()),I+=this.__patterns.element_name.read(),U=this._create_token(m.TAG_OPEN,I)),U},o.prototype._read_open_handlebars=function(f,T){var I=null,U=null;return T||this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(I=this.__patterns.handlebars_comment.read(),I=I||this.__patterns.handlebars.read(),U=this._create_token(m.COMMENT,I)):(I=this.__patterns.handlebars_open.read(),U=this._create_token(m.TAG_OPEN,I))),U},o.prototype._read_close=function(f,T){var I=null,U=null;return T&&(T.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")?(I=this._input.next(),f==="/"&&(I+=this._input.next()),U=this._create_token(m.TAG_CLOSE,I)):T.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),U=this._create_token(m.TAG_CLOSE,"}}"))),U},o.prototype._read_attribute=function(f,T,I){var U=null,V="";if(I&&I.text[0]==="<")if(f==="=")U=this._create_token(m.EQUALS,this._input.next());else if(f==='"'||f==="'"){var G=this._input.next();f==='"'?G+=this.__patterns.double_quote.read():G+=this.__patterns.single_quote.read(),U=this._create_token(m.VALUE,G)}else V=this.__patterns.attribute.read(),V&&(T.type===m.EQUALS?U=this._create_token(m.VALUE,V):U=this._create_token(m.ATTRIBUTE,V));return U},o.prototype._is_content_unformatted=function(f){return this._options.void_elements.indexOf(f)===-1&&(this._options.content_unformatted.indexOf(f)!==-1||this._options.unformatted.indexOf(f)!==-1)},o.prototype._read_raw_content=function(f,T,I){var U="";if(I&&I.text[0]==="{")U=this.__patterns.handlebars_raw_close.read();else if(T.type===m.TAG_CLOSE&&T.opened.text[0]==="<"&&T.text[0]!=="/"){var V=T.opened.text.substr(1).toLowerCase();if(V==="script"||V==="style"){var G=this._read_comment_or_cdata(f);if(G)return G.type=m.TEXT,G;U=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(V)&&(U=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig")))}return U?this._create_token(m.TEXT,U):null},o.prototype._read_content_word=function(f){var T="";if(this._options.unformatted_content_delimiter&&f===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=this.__patterns.word.read()),T)return this._create_token(m.TEXT,T)},h.exports.Tokenizer=o,h.exports.TOKEN=m}],Z={};function e(h){var t=Z[h];if(t!==void 0)return t.exports;var u=Z[h]={exports:{}};return A[h](u,u.exports,e),u.exports}var _=e(18);$=_})();var J=$;if(1)S=[a,a(77937),a(85040)],C=function(A){var Z=a(77937),e=a(85040);return{html_beautify:function(_,h){return J(_,h,Z.js_beautify,e.css_beautify)}}}.apply(Pe,S),C!==void 0&&(St.exports=C);else var j,s})()},77937:function(St,Pe){var a,S;(function(){var C;(function(){"use strict";var J=[function(Z,e,_){var h=_(1).Beautifier,t=_(5).Options;function u(c,d){var v=new h(c,d);return v.beautify()}Z.exports=u,Z.exports.defaultOptions=function(){return new t}},function(Z,e,_){var h=_(2).Output,t=_(3).Token,u=_(4),c=_(5).Options,d=_(7).Tokenizer,v=_(7).line_starters,l=_(7).positionable_operators,y=_(7).TOKEN;function m(n,N){return N.indexOf(n)!==-1}function w(n){return n.replace(/^\s+/g,"")}function o(n){for(var N={},H=0;H<n.length;H++)N[n[H].replace(/-/g,"_")]=n[H];return N}function f(n,N){return n&&n.type===y.RESERVED&&n.text===N}function T(n,N){return n&&n.type===y.RESERVED&&m(n.text,N)}var I=["case","return","do","if","throw","else","await","break","continue","async"],U=["before-newline","after-newline","preserve-newline"],V=o(U),G=[V.before_newline,V.preserve_newline],X={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function _e(n,N){N.multiline_frame||N.mode===X.ForInitializer||N.mode===X.Conditional||n.remove_indent(N.start_line_index)}function x(n){n=n.replace(u.allLineBreaks,`
|
|
`);for(var N=[],H=n.indexOf(`
|
|
`);H!==-1;)N.push(n.substring(0,H)),n=n.substring(H+1),H=n.indexOf(`
|
|
`);return n.length&&N.push(n),N}function g(n){return n===X.ArrayLiteral}function P(n){return m(n,[X.Expression,X.ForInitializer,X.Conditional])}function D(n,N){for(var H=0;H<n.length;H++){var ve=n[H].trim();if(ve.charAt(0)!==N)return!1}return!0}function K(n,N){for(var H=0,ve=n.length,Oe;H<ve;H++)if(Oe=n[H],Oe&&Oe.indexOf(N)!==0)return!1;return!0}function L(n,N){N=N||{},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 c(N)}L.prototype.create_flags=function(n,N){var H=0;n&&(H=n.indentation_level,!this._output.just_added_newline()&&n.line_indent_level>H&&(H=n.line_indent_level));var ve={mode:N,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:H,alignment:0,line_indent_level:n?n.line_indent_level:H,start_line_index:this._output.get_line_number(),ternary_depth:0};return ve},L.prototype._reset=function(n){var N=n.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new h(this._options,N),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(X.BlockStatement);var H=new d(n,this._options);return this._tokens=H.tokenize(),n},L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var n,N=this._reset(this._source_text),H=this._options.eol;this._options.eol==="auto"&&(H=`
|
|
`,N&&u.lineBreak.test(N||"")&&(H=N.match(u.lineBreak)[0]));for(var ve=this._tokens.next();ve;)this.handle_token(ve),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ve,ve=this._tokens.next();return n=this._output.get_code(H),n},L.prototype.handle_token=function(n,N){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,N):n.type===y.COMMENT?this.handle_comment(n,N):n.type===y.DOT?this.handle_dot(n):n.type===y.EOF?this.handle_eof(n):n.type===y.UNKNOWN?this.handle_unknown(n,N):this.handle_unknown(n,N)},L.prototype.handle_whitespace_and_comments=function(n,N){var H=n.newlines,ve=this._options.keep_array_indentation&&g(this._flags.mode);if(n.comments_before)for(var Oe=n.comments_before.next();Oe;)this.handle_whitespace_and_comments(Oe,N),this.handle_token(Oe,N),Oe=n.comments_before.next();if(ve)for(var Ue=0;Ue<H;Ue+=1)this.print_newline(Ue>0,N);else if(this._options.max_preserve_newlines&&H>this._options.max_preserve_newlines&&(H=this._options.max_preserve_newlines),this._options.preserve_newlines&&H>1){this.print_newline(!1,N);for(var rt=1;rt<H;rt+=1)this.print_newline(!0,N)}};var i=["async","break","continue","return","throw","yield"];L.prototype.allow_wrap_or_preserved_newline=function(n,N){if(N=N===void 0?!1:N,!this._output.just_added_newline()){var H=this._options.preserve_newlines&&n.newlines||N,ve=m(this._flags.last_token.text,l)||m(n.text,l);if(ve){var Oe=m(this._flags.last_token.text,l)&&m(this._options.operator_position,G)||m(n.text,l);H=H&&Oe}if(H)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(T(this._flags.last_token,i))return;this._output.set_wrap_point()}}},L.prototype.print_newline=function(n,N){if(!N&&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 H=this._tokens.peek();this._flags.mode===X.Statement&&!(this._flags.if_block&&f(H,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(n)&&(this._flags.multiline_frame=!0)},L.prototype.print_token_line_indentation=function(n){this._output.just_added_newline()&&(this._options.keep_array_indentation&&n.newlines&&(n.text==="["||g(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))},L.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 N=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(N),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)},L.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},L.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))},L.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)},L.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===X.Statement&&_e(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},L.prototype.start_of_object_property=function(){return this._flags.parent.mode===X.ObjectLiteral&&this._flags.mode===X.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"]))},L.prototype.start_of_statement=function(n){var N=!1;return N=N||T(this._flags.last_token,["var","let","const"])&&n.type===y.WORD,N=N||f(this._flags.last_token,"do"),N=N||!(this._flags.parent.mode===X.ObjectLiteral&&this._flags.mode===X.Statement)&&T(this._flags.last_token,i)&&!n.newlines,N=N||f(this._flags.last_token,"else")&&!(f(n,"if")&&!n.comments_before),N=N||this._flags.last_token.type===y.END_EXPR&&(this._previous_flags.mode===X.ForInitializer||this._previous_flags.mode===X.Conditional),N=N||this._flags.last_token.type===y.WORD&&this._flags.mode===X.BlockStatement&&!this._flags.in_case&&!(n.text==="--"||n.text==="++")&&this._last_last_text!=="function"&&n.type!==y.WORD&&n.type!==y.RESERVED,N=N||this._flags.mode===X.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"])),N?(this.set_mode(X.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},L.prototype.handle_start_expr=function(n){this.start_of_statement(n)||this.handle_whitespace_and_comments(n);var N=X.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(N),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}N=X.ArrayLiteral,g(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()),m(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,N=X.ForInitializer):m(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,N=X.Conditional):m(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:(m(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 H=this._tokens.peek(-3);if(this._options.space_after_named_function&&H){var ve=this._tokens.peek(-4);T(H,["async","function"])||H.text==="*"&&T(ve,["async","function"])?this._output.space_before_token=!0:this._flags.mode===X.ObjectLiteral?(H.text==="{"||H.text===","||H.text==="*"&&(ve.text==="{"||ve.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==="*"&&(m(this._last_last_text,["function","yield"])||this._flags.mode===X.ObjectLiteral&&m(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(N),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},L.prototype.handle_end_expr=function(n){for(;this._flags.mode===X.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(n,n.text==="]"&&g(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(),_e(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===X.Conditional&&(this._previous_flags.mode=X.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},L.prototype.handle_start_block=function(n){this.handle_whitespace_and_comments(n);var N=this._tokens.peek(),H=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===y.END_EXPR?(this.set_mode(X.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(X.BlockStatement):H&&(m(H.text,[":",","])&&m(N.type,[y.STRING,y.WORD,y.RESERVED])||m(N.text,["get","set","..."])&&m(H.type,[y.WORD,y.RESERVED]))?m(this._last_last_text,["class","interface"])&&!m(H.text,[":",","])?this.set_mode(X.BlockStatement):this.set_mode(X.ObjectLiteral):this._flags.last_token.type===y.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(X.BlockStatement):m(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(X.ObjectLiteral):this.set_mode(X.BlockStatement),this._flags.last_token&&T(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ve=!N.comments_before&&N.text==="}",Oe=ve&&this._flags.last_word==="function"&&this._flags.last_token.type===y.END_EXPR;if(this._options.brace_preserve_inline){var Ue=0,rt=null;this._flags.inline_frame=!0;do if(Ue+=1,rt=this._tokens.peek(Ue-1),rt.newlines){this._flags.inline_frame=!1;break}while(rt.type!==y.EOF&&!(rt.type===y.END_BLOCK&&rt.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&&(Oe||this._flags.last_token.type===y.EQUALS||T(this._flags.last_token,I)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(g(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(),!ve&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},L.prototype.handle_end_block=function(n){for(this.handle_whitespace_and_comments(n);this._flags.mode===X.Statement;)this.restore_mode();var N=this._flags.last_token.type===y.START_BLOCK;this._flags.inline_frame&&!N?this._output.space_before_token=!0:this._options.brace_style==="expand"?N||this.print_newline():N||(g(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)},L.prototype.handle_word=function(n){if(n.type===y.RESERVED){if(m(n.text,["set","get"])&&this._flags.mode!==X.ObjectLiteral)n.type=y.WORD;else if(n.text==="import"&&m(this._tokens.peek().text,["(","."]))n.type=y.WORD;else if(m(n.text,["as","from"])&&!this._flags.import_block)n.type=y.WORD;else if(this._flags.mode===X.ObjectLiteral){var N=this._tokens.peek();N.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(f(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&&f(n,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===X.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)),f(n,"function")){(m(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(m(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,i)?this._output.space_before_token=!0:f(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)||g(this._flags.mode))||this.print_newline(),this.print_token(n),this._flags.last_word=n.text;return}var H="NONE";if(this._flags.last_token.type===y.END_BLOCK?this._previous_flags.inline_frame?H="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?H="NEWLINE":(H="SPACE",this._output.space_before_token=!0):H="NEWLINE":this._flags.last_token.type===y.SEMICOLON&&this._flags.mode===X.BlockStatement?H="NEWLINE":this._flags.last_token.type===y.SEMICOLON&&P(this._flags.mode)?H="SPACE":this._flags.last_token.type===y.STRING?H="NEWLINE":this._flags.last_token.type===y.RESERVED||this._flags.last_token.type===y.WORD||this._flags.last_token.text==="*"&&(m(this._last_last_text,["function","yield"])||this._flags.mode===X.ObjectLiteral&&m(this._last_last_text,["{",","]))?H="SPACE":this._flags.last_token.type===y.START_BLOCK?this._flags.inline_frame?H="SPACE":H="NEWLINE":this._flags.last_token.type===y.END_EXPR&&(this._output.space_before_token=!0,H="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"?H="SPACE":H="NEWLINE"),T(n,["else","catch","finally"]))if((!(this._flags.last_token.type===y.END_BLOCK&&this._previous_flags.mode===X.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 ve=this._output.current_line;ve.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else H==="NEWLINE"?T(this._flags.last_token,I)?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!==":"&&(f(n,"if")&&f(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&&g(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():H==="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&&f(n,"from")&&(this._flags.import_block=!1))},L.prototype.handle_semicolon=function(n){this.start_of_statement(n)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(n);for(var N=this._tokens.peek();this._flags.mode===X.Statement&&!(this._flags.if_block&&f(N,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(n)},L.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)},L.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},L.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===X.ObjectLiteral||this._flags.mode===X.Statement&&this._flags.parent.mode===X.ObjectLiteral?(this._flags.mode===X.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(n)},L.prototype.handle_operator=function(n){var N=n.text==="*"&&(T(this._flags.last_token,["function","yield"])||m(this._flags.last_token.type,[y.START_BLOCK,y.COMMA,y.END_BLOCK,y.SEMICOLON])),H=m(n.text,["-","+"])&&(m(this._flags.last_token.type,[y.START_BLOCK,y.START_EXPR,y.EQUALS,y.OPERATOR])||m(this._flags.last_token.text,v)||this._flags.last_token.text===",");if(!this.start_of_statement(n)){var ve=!N;this.handle_whitespace_and_comments(n,ve)}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&&m(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 Oe=!0,Ue=!0,rt=!1;if(n.text===":"?this._flags.ternary_depth===0?Oe=!1:(this._flags.ternary_depth-=1,rt=!0):n.text==="?"&&(this._flags.ternary_depth+=1),!H&&!N&&this._options.preserve_newlines&&m(n.text,l)){var Xe=n.text===":",Mt=Xe&&rt,ge=Xe&&!rt;switch(this._options.operator_position){case V.before_newline:this._output.space_before_token=!ge,this.print_token(n),(!Xe||Mt)&&this.allow_wrap_or_preserved_newline(n),this._output.space_before_token=!0;return;case V.after_newline:this._output.space_before_token=!0,!Xe||Mt?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 V.preserve_newline:ge||this.allow_wrap_or_preserved_newline(n),Oe=!(this._output.just_added_newline()||ge),this._output.space_before_token=Oe,this.print_token(n),this._output.space_before_token=!0;return}}if(N){this.allow_wrap_or_preserved_newline(n),Oe=!1;var st=this._tokens.peek();Ue=st&&m(st.type,[y.WORD,y.RESERVED])}else if(n.text==="...")this.allow_wrap_or_preserved_newline(n),Oe=this._flags.last_token.type===y.START_BLOCK,Ue=!1;else if(m(n.text,["--","++","!","~"])||H){if((this._flags.last_token.type===y.COMMA||this._flags.last_token.type===y.START_EXPR)&&this.allow_wrap_or_preserved_newline(n),Oe=!1,Ue=!1,n.newlines&&(n.text==="--"||n.text==="++"||n.text==="~")){var We=T(this._flags.last_token,I)&&n.newlines;We&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(We,!0)}this._flags.last_token.text===";"&&P(this._flags.mode)&&(Oe=!0),this._flags.last_token.type===y.RESERVED?Oe=!0:this._flags.last_token.type===y.END_EXPR?Oe=!(this._flags.last_token.text==="]"&&(n.text==="--"||n.text==="++")):this._flags.last_token.type===y.OPERATOR&&(Oe=m(n.text,["--","-","++","+"])&&m(this._flags.last_token.text,["--","-","++","+"]),m(n.text,["+","-"])&&m(this._flags.last_token.text,["--","++"])&&(Ue=!0)),(this._flags.mode===X.BlockStatement&&!this._flags.inline_frame||this._flags.mode===X.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Oe,this.print_token(n),this._output.space_before_token=Ue},L.prototype.handle_block_comment=function(n,N){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,N),this.print_token(n),n.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!u.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,N)},L.prototype.print_block_commment=function(n,N){var H=x(n.text),ve,Oe=!1,Ue=!1,rt=n.whitespace_before,Xe=rt.length;if(this.print_newline(!1,N),this.print_token_line_indentation(n),this._output.add_token(H[0]),this.print_newline(!1,N),H.length>1){for(H=H.slice(1),Oe=D(H,"*"),Ue=K(H,rt),Oe&&(this._flags.alignment=1),ve=0;ve<H.length;ve++)Oe?(this.print_token_line_indentation(n),this._output.add_token(w(H[ve]))):Ue&&H[ve]?(this.print_token_line_indentation(n),this._output.add_token(H[ve].substring(Xe))):(this._output.current_line.set_indent(-1),this._output.add_token(H[ve])),this.print_newline(!1,N);this._flags.alignment=0}},L.prototype.handle_comment=function(n,N){n.newlines?this.print_newline(!1,N):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(n),this.print_newline(!1,N)},L.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,I)?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)},L.prototype.handle_unknown=function(n,N){this.print_token(n),n.text[n.text.length-1]===`
|
|
`&&this.print_newline(!1,N)},L.prototype.handle_eof=function(n){for(;this._flags.mode===X.Statement;)this.restore_mode();this.handle_whitespace_and_comments(n)},Z.exports.Beautifier=L},function(Z){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 u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(t))return!0;return!1},e.prototype.set_indent=function(t,u){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=u||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 u=t.lastIndexOf(`
|
|
`);u!==-1?this.__character_count=t.length-u: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 _(t,u){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)),u=u||"",t.indent_level>0&&(u=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}_.prototype.get_indent_size=function(t,u){var c=this.__base_string_length;return u=u||0,t<0&&(c=0),c+=t*this.__indent_size,c+=u,c},_.prototype.get_indent_string=function(t,u){var c=this.__base_string;return u=u||0,t<0&&(t=0,c=""),u+=t*this.__indent_size,this.__ensure_cache(u),c+=this.__cache[u],c},_.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var t=this.__cache.length,u=0,c="";this.__indent_size&&t>=this.__indent_size&&(u=Math.floor(t/this.__indent_size),t-=u*this.__indent_size,c=new Array(u+1).join(this.__indent_string)),t&&(c+=new Array(t+1).join(" ")),this.__cache.push(c)};function h(t,u){this.__indent_cache=new _(t,u),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,u){return this.__indent_cache.get_indent_string(t,u)},h.prototype.get_indent_size=function(t,u){return this.__indent_cache.get_indent_size(t,u)},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 u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var c=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(c=c.replace(/[\n]/g,t)),c},h.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},h.prototype.set_indent=function(t,u){return t=t||0,u=u||0,this.next_line.set_indent(t,u),this.__lines.length>1?(this.current_line.set_indent(t,u),!0):(this.current_line.set_indent(),!1)},h.prototype.add_raw_token=function(t){for(var u=0;u<t.newlines;u++)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 u=this.__lines.length;t<u;)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,u){for(var c=this.__lines.length-2;c>=0;){var d=this.__lines[c];if(d.is_empty())break;if(d.item(0).indexOf(t)!==0&&d.item(-1)!==u){this.__lines.splice(c+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}c--}},Z.exports.Output=h},function(Z){function e(_,h,t,u){this.type=_,this.text=h,this.comments_before=null,this.newlines=t||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Z.exports.Token=e},function(Z,e){var _="\\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",u="\\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",c="(?:\\\\u[0-9a-fA-F]{4}|["+_+t+"])",d="(?:\\\\u[0-9a-fA-F]{4}|["+h+t+u+"])*";e.identifier=new RegExp(c+d,"g"),e.identifierStart=new RegExp(c),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+h+t+u+"])+");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(Z,e,_){var h=_(6).Options,t=["before-newline","after-newline","preserve-newline"];function u(c){h.call(this,c,"js");var d=this.raw_options.brace_style||null;d==="expand-strict"?this.raw_options.brace_style="expand":d==="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 l=0;l<v.length;l++)v[l]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=v[l];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)}u.prototype=new h,Z.exports.Options=u},function(Z){function e(t,u){this.raw_options=_(t,u),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,u){var c=this.raw_options[t],d=u||[];return typeof c=="object"?c!==null&&typeof c.concat=="function"&&(d=c.concat()):typeof c=="string"&&(d=c.split(/[^a-zA-Z0-9_\/\-]+/)),d},e.prototype._get_boolean=function(t,u){var c=this.raw_options[t],d=c===void 0?!!u:!!c;return d},e.prototype._get_characters=function(t,u){var c=this.raw_options[t],d=u||"";return typeof c=="string"&&(d=c.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),d},e.prototype._get_number=function(t,u){var c=this.raw_options[t];u=parseInt(u,10),isNaN(u)&&(u=0);var d=parseInt(c,10);return isNaN(d)&&(d=u),d},e.prototype._get_selection=function(t,u,c){var d=this._get_selection_list(t,u,c);if(d.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+u+`
|
|
You passed in: '`+this.raw_options[t]+"'");return d[0]},e.prototype._get_selection_list=function(t,u,c){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(c=c||[u[0]],!this._is_valid_selection(c,u))throw new Error("Invalid Default Value!");var d=this._get_array(t,c);if(!this._is_valid_selection(d,u))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+u+`
|
|
You passed in: '`+this.raw_options[t]+"'");return d},e.prototype._is_valid_selection=function(t,u){return t.length&&u.length&&!t.some(function(c){return u.indexOf(c)===-1})};function _(t,u){var c={};t=h(t);var d;for(d in t)d!==u&&(c[d]=t[d]);if(u&&t[u])for(d in t[u])c[d]=t[u][d];return c}function h(t){var u={},c;for(c in t){var d=c.replace(/-/g,"_");u[d]=t[c]}return u}Z.exports.Options=e,Z.exports.normalizeOpts=h,Z.exports.mergeOpts=_},function(Z,e,_){var h=_(8).InputScanner,t=_(9).Tokenizer,u=_(9).TOKEN,c=_(13).Directives,d=_(4),v=_(12).Pattern,l=_(14).TemplatablePattern;function y(D,K){return K.indexOf(D)!==-1}var m={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:u.START,RAW:u.RAW,EOF:u.EOF},w=new c(/\/\*/,/\*\//),o=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,f=/[0-9]/,T=/[^\d\.]/,I=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),U=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";U=U.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),U="\\?\\.(?!\\d) "+U,U=U.replace(/ /g,"|");var V=new RegExp(U),G="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),X=G.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),_e=new RegExp("^(?:"+X.join("|")+")$"),x,g=function(D,K){t.call(this,D,K),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var L=new v(this._input),i=new l(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(d.identifier).matching(d.identifierMatch),number:L.matching(o),punct:L.matching(V),comment:L.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:L.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:L.matching(/<!--/),html_comment_end:L.matching(/-->/),include:L.starting_with(/#include/).until_after(d.lineBreak),shebang:L.starting_with(/#!/).until_after(d.lineBreak),xml:L.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:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};g.prototype=new t,g.prototype._is_comment=function(D){return D.type===m.COMMENT||D.type===m.BLOCK_COMMENT||D.type===m.UNKNOWN},g.prototype._is_opening=function(D){return D.type===m.START_BLOCK||D.type===m.START_EXPR},g.prototype._is_closing=function(D,K){return(D.type===m.END_BLOCK||D.type===m.END_EXPR)&&K&&(D.text==="]"&&K.text==="["||D.text===")"&&K.text==="("||D.text==="}"&&K.text==="{")},g.prototype._reset=function(){x=!1},g.prototype._get_next_token=function(D,K){var L=null;this._readWhitespace();var i=this._input.peek();return i===null?this._create_token(m.EOF,""):(L=L||this._read_non_javascript(i),L=L||this._read_string(i),L=L||this._read_word(D),L=L||this._read_singles(i),L=L||this._read_comment(i),L=L||this._read_regexp(i,D),L=L||this._read_xml(i,D),L=L||this._read_punctuation(),L=L||this._create_token(m.UNKNOWN,this._input.next()),L)},g.prototype._read_word=function(D){var K;if(K=this.__patterns.identifier.read(),K!=="")return K=K.replace(d.allLineBreaks,`
|
|
`),!(D.type===m.DOT||D.type===m.RESERVED&&(D.text==="set"||D.text==="get"))&&_e.test(K)?(K==="in"||K==="of")&&(D.type===m.WORD||D.type===m.STRING)?this._create_token(m.OPERATOR,K):this._create_token(m.RESERVED,K):this._create_token(m.WORD,K);if(K=this.__patterns.number.read(),K!=="")return this._create_token(m.WORD,K)},g.prototype._read_singles=function(D){var K=null;return D==="("||D==="["?K=this._create_token(m.START_EXPR,D):D===")"||D==="]"?K=this._create_token(m.END_EXPR,D):D==="{"?K=this._create_token(m.START_BLOCK,D):D==="}"?K=this._create_token(m.END_BLOCK,D):D===";"?K=this._create_token(m.SEMICOLON,D):D==="."&&T.test(this._input.peek(1))?K=this._create_token(m.DOT,D):D===","&&(K=this._create_token(m.COMMA,D)),K&&this._input.next(),K},g.prototype._read_punctuation=function(){var D=this.__patterns.punct.read();if(D!=="")return D==="="?this._create_token(m.EQUALS,D):D==="?."?this._create_token(m.DOT,D):this._create_token(m.OPERATOR,D)},g.prototype._read_non_javascript=function(D){var K="";if(D==="#"){if(this._is_first_token()&&(K=this.__patterns.shebang.read(),K))return this._create_token(m.UNKNOWN,K.trim()+`
|
|
`);if(K=this.__patterns.include.read(),K)return this._create_token(m.UNKNOWN,K.trim()+`
|
|
`);D=this._input.next();var L="#";if(this._input.hasNext()&&this._input.testChar(f)){do D=this._input.next(),L+=D;while(this._input.hasNext()&&D!=="#"&&D!=="=");return D==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(L+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(L+="{}",this._input.next(),this._input.next())),this._create_token(m.WORD,L)}this._input.back()}else if(D==="<"&&this._is_first_token()){if(K=this.__patterns.html_comment_start.read(),K){for(;this._input.hasNext()&&!this._input.testChar(d.newline);)K+=this._input.next();return x=!0,this._create_token(m.COMMENT,K)}}else if(x&&D==="-"&&(K=this.__patterns.html_comment_end.read(),K))return x=!1,this._create_token(m.COMMENT,K);return null},g.prototype._read_comment=function(D){var K=null;if(D==="/"){var L="";if(this._input.peek(1)==="*"){L=this.__patterns.block_comment.read();var i=w.get_directives(L);i&&i.ignore==="start"&&(L+=w.readIgnored(this._input)),L=L.replace(d.allLineBreaks,`
|
|
`),K=this._create_token(m.BLOCK_COMMENT,L),K.directives=i}else this._input.peek(1)==="/"&&(L=this.__patterns.comment.read(),K=this._create_token(m.COMMENT,L))}return K},g.prototype._read_string=function(D){if(D==="`"||D==="'"||D==='"'){var K=this._input.next();return this.has_char_escapes=!1,D==="`"?K+=this._read_string_recursive("`",!0,"${"):K+=this._read_string_recursive(D),this.has_char_escapes&&this._options.unescape_strings&&(K=P(K)),this._input.peek()===D&&(K+=this._input.next()),K=K.replace(d.allLineBreaks,`
|
|
`),this._create_token(m.STRING,K)}return null},g.prototype._allow_regexp_or_xml=function(D){return D.type===m.RESERVED&&y(D.text,["return","case","throw","else","do","typeof","yield"])||D.type===m.END_EXPR&&D.text===")"&&D.opened.previous.type===m.RESERVED&&y(D.opened.previous.text,["if","while","for"])||y(D.type,[m.COMMENT,m.START_EXPR,m.START_BLOCK,m.START,m.END_BLOCK,m.OPERATOR,m.EQUALS,m.EOF,m.SEMICOLON,m.COMMA])},g.prototype._read_regexp=function(D,K){if(D==="/"&&this._allow_regexp_or_xml(K)){for(var L=this._input.next(),i=!1,n=!1;this._input.hasNext()&&(i||n||this._input.peek()!==D)&&!this._input.testChar(d.newline);)L+=this._input.peek(),i?i=!1:(i=this._input.peek()==="\\",this._input.peek()==="["?n=!0:this._input.peek()==="]"&&(n=!1)),this._input.next();return this._input.peek()===D&&(L+=this._input.next(),L+=this._input.read(d.identifier)),this._create_token(m.STRING,L)}return null},g.prototype._read_xml=function(D,K){if(this._options.e4x&&D==="<"&&this._allow_regexp_or_xml(K)){var L="",i=this.__patterns.xml.read_match();if(i){for(var n=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),N=n.indexOf("{")===0,H=0;i;){var ve=!!i[1],Oe=i[2],Ue=!!i[i.length-1]||Oe.slice(0,8)==="![CDATA[";if(!Ue&&(Oe===n||N&&Oe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ve?--H:++H),L+=i[0],H<=0)break;i=this.__patterns.xml.read_match()}return i||(L+=this._input.match(/[\s\S]*/g)[0]),L=L.replace(d.allLineBreaks,`
|
|
`),this._create_token(m.STRING,L)}}return null};function P(D){for(var K="",L=0,i=new h(D),n=null;i.hasNext();)if(n=i.match(/([\s]|[^\\]|\\\\)+/g),n&&(K+=n[0]),i.peek()==="\\"){if(i.next(),i.peek()==="x")n=i.match(/x([0-9A-Fa-f]{2})/g);else if(i.peek()==="u")n=i.match(/u([0-9A-Fa-f]{4})/g);else{K+="\\",i.hasNext()&&(K+=i.next());continue}if(!n||(L=parseInt(n[1],16),L>126&&L<=255&&n[0].indexOf("x")===0))return D;if(L>=0&&L<32){K+="\\"+n[0];continue}else L===34||L===39||L===92?K+="\\"+String.fromCharCode(L):K+=String.fromCharCode(L)}return K}g.prototype._read_string_recursive=function(D,K,L){var i,n;D==="'"?n=this.__patterns.single_quote:D==='"'?n=this.__patterns.double_quote:D==="`"?n=this.__patterns.template_text:D==="}"&&(n=this.__patterns.template_expression);for(var N=n.read(),H="";this._input.hasNext();){if(H=this._input.next(),H===D||!K&&d.newline.test(H)){this._input.back();break}else H==="\\"&&this._input.hasNext()?(i=this._input.peek(),i==="x"||i==="u"?this.has_char_escapes=!0:i==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),H+=this._input.next()):L&&(L==="${"&&H==="$"&&this._input.peek()==="{"&&(H+=this._input.next()),L===H&&(D==="`"?H+=this._read_string_recursive("}",K,"`"):H+=this._read_string_recursive("`",K,"${"),this._input.hasNext()&&(H+=this._input.next())));H+=n.read(),N+=H}return N},Z.exports.Tokenizer=g,Z.exports.TOKEN=m,Z.exports.positionable_operators=I.slice(),Z.exports.line_starters=G.slice()},function(Z){var e=RegExp.prototype.hasOwnProperty("sticky");function _(h){this.__input=h||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__input.charAt(this.__position),this.__position+=1),h},_.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},_.prototype.__match=function(h,t){h.lastIndex=t;var u=h.exec(this.__input);return u&&!(e&&h.sticky)&&u.index!==t&&(u=null),u},_.prototype.test=function(h,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(h,t):!1},_.prototype.testChar=function(h,t){var u=this.peek(t);return h.lastIndex=0,u!==null&&h.test(u)},_.prototype.match=function(h){var t=this.__match(h,this.__position);return t?this.__position+=t[0].length:t=null,t},_.prototype.read=function(h,t,u){var c="",d;return h&&(d=this.match(h),d&&(c+=d[0])),t&&(d||!h)&&(c+=this.readUntil(t,u)),c},_.prototype.readUntil=function(h,t){var u="",c=this.__position;h.lastIndex=this.__position;var d=h.exec(this.__input);return d?(c=d.index,t&&(c+=d[0].length)):c=this.__input_length,u=this.__input.substring(this.__position,c),this.__position=c,u},_.prototype.readUntilAfter=function(h){return this.readUntil(h,!0)},_.prototype.get_regexp=function(h,t){var u=null,c="g";return t&&e&&(c="y"),typeof h=="string"&&h!==""?u=new RegExp(h,c):h&&(u=new RegExp(h.source,c)),u},_.prototype.get_literal_regexp=function(h){return RegExp(h.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(h){var t=this.__position,u=this.readUntilAfter(h);return this.__position=t,u},_.prototype.lookBack=function(h){var t=this.__position-1;return t>=h.length&&this.__input.substring(t-h.length,t).toLowerCase()===h},Z.exports.InputScanner=_},function(Z,e,_){var h=_(8).InputScanner,t=_(3).Token,u=_(10).TokenStream,c=_(11).WhitespacePattern,d={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},v=function(l,y){this._input=new h(l),this._options=y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new c(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var l,y=new t(d.START,""),m=null,w=[],o=new u;y.type!==d.EOF;){for(l=this._get_next_token(y,m);this._is_comment(l);)o.add(l),l=this._get_next_token(y,m);o.isEmpty()||(l.comments_before=o,o=new u),l.parent=m,this._is_opening(l)?(w.push(m),m=l):m&&this._is_closing(l,m)&&(l.opened=m,m.closed=l,m=w.pop(),l.parent=m),l.previous=y,y.next=l,this.__tokens.add(l),y=l}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(l,y){this._readWhitespace();var m=this._input.read(/.+/g);return m?this._create_token(d.RAW,m):this._create_token(d.EOF,"")},v.prototype._is_comment=function(l){return!1},v.prototype._is_opening=function(l){return!1},v.prototype._is_closing=function(l,y){return!1},v.prototype._create_token=function(l,y){var m=new t(l,y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return m},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Z.exports.Tokenizer=v,Z.exports.TOKEN=d},function(Z){function e(_){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=_}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 _=null;return this.hasNext()&&(_=this.__tokens[this.__position],this.__position+=1),_},e.prototype.peek=function(_){var h=null;return _=_||0,_+=this.__position,_>=0&&_<this.__tokens_length&&(h=this.__tokens[_]),h},e.prototype.add=function(_){this.__parent_token&&(_.parent=this.__parent_token),this.__tokens.push(_),this.__tokens_length+=1},Z.exports.TokenStream=e},function(Z,e,_){var h=_(12).Pattern;function t(u,c){h.call(this,u,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new h,t.prototype.__set_whitespace_patterns=function(u,c){u+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var c=this.__split(this._newline_regexp,u);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return u},t.prototype.matching=function(u,c){var d=this._create();return d.__set_whitespace_patterns(u,c),d._update(),d},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(u,c){u.lastIndex=0;for(var d=0,v=[],l=u.exec(c);l;)v.push(c.substring(d,l.index)),d=l.index+l[0].length,l=u.exec(c);return d<c.length?v.push(c.substring(d,c.length)):v.push(""),v},Z.exports.WhitespacePattern=t},function(Z){function e(_,h){this._input=_,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 _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(_){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(_),h._update(),h},e.prototype.until=function(_){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(_),h._update(),h},e.prototype.starting_with=function(_){var h=this._create();return h._starting_pattern=this._input.get_regexp(_,!0),h._update(),h},e.prototype.matching=function(_){var h=this._create();return h._match_pattern=this._input.get_regexp(_,!0),h._update(),h},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},Z.exports.Pattern=e},function(Z){function e(_,h){_=typeof _=="string"?_:_.source,h=typeof h=="string"?h:h.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+h,"g")}e.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(_);t;)h[t[1]]=t[2],t=this.__directive_pattern.exec(_);return h},e.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},Z.exports.Directives=e},function(Z,e,_){var h=_(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function u(c,d){h.call(this,c,d),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),d&&(this.__template_pattern=this._input.get_regexp(d.__template_pattern),this._excluded=Object.assign(this._excluded,d._excluded),this._disabled=Object.assign(this._disabled,d._disabled));var v=new h(c);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}/)}}u.prototype=new h,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(c){var d=this._create();return d._disabled[c]=!0,d._update(),d},u.prototype.read_options=function(c){var d=this._create();for(var v in t)d._disabled[v]=c.templating.indexOf(v)===-1;return d._update(),d},u.prototype.exclude=function(c){var d=this._create();return d._excluded[c]=!0,d._update(),d},u.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 d=this._read_template();d;)this._match_pattern?d+=this._input.read(this._match_pattern):d+=this._input.readUntil(this.__template_pattern),c+=d,d=this._read_template();return this._until_after&&(c+=this._input.readUntilAfter(this._until_pattern)),c},u.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("|")+")")},u.prototype._read_template=function(){var c="",d=this._input.peek();if(d==="<"){var v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(c=c||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(c=c||this.__patterns.erb.read())}else d==="{"&&(!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},Z.exports.TemplatablePattern=u}],j={};function s(Z){var e=j[Z];if(e!==void 0)return e.exports;var _=j[Z]={exports:{}};return J[Z](_,_.exports,s),_.exports}var A=s(0);C=A})();var $=C;a=[],S=function(){return{js_beautify:$}}.apply(Pe,a),S!==void 0&&(St.exports=S)})()},74741:function(St,Pe,a){"use strict";a.d(Pe,{Wi:function(){return s},Z0:function(){return A},aU:function(){return j},eZ:function(){return e},wY:function(){return Z}});var S=a(4669),C=a(9917),$=a(63580),J=function(_,h,t,u){function c(d){return d instanceof t?d:new t(function(v){v(d)})}return new(t||(t=Promise))(function(d,v){function l(w){try{m(u.next(w))}catch(o){v(o)}}function y(w){try{m(u.throw(w))}catch(o){v(o)}}function m(w){w.done?d(w.value):c(w.value).then(l,y)}m((u=u.apply(_,h||[])).next())})};class j extends C.JT{constructor(h,t="",u="",c=!0,d){super(),this._onDidChange=this._register(new S.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=h,this._label=t,this._cssClass=u,this._enabled=c,this._actionCallback=d}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 J(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(h))})}}class s extends C.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new S.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new S.Q5),this.onDidRun=this._onDidRun.event}run(h,t){return J(this,void 0,void 0,function*(){if(!h.enabled)return;this._onBeforeRun.fire({action:h});let u;try{yield this.runAction(h,t)}catch(c){u=c}this._onDidRun.fire({action:h,error:u})})}runAction(h,t){return J(this,void 0,void 0,function*(){yield h.run(t)})}}class A extends j{constructor(h){super(A.ID,h,h?"separator text":"separator"),this.checked=!1,this.enabled=!1}}A.ID="vs.actions.separator";class Z{constructor(h,t,u,c){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=h,this.label=t,this.class=c,this._actions=u}get actions(){return this._actions}dispose(){}run(){return J(this,void 0,void 0,function*(){})}}class e extends j{constructor(){super(e.ID,$.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},35146:function(St,Pe,a){"use strict";a.d(Pe,{ok:function(){return S}});function S(C,$){if(!C)throw new Error($?`Assertion failed (${$})`:"Assertion Failed")}},73046:function(St,Pe,a){"use strict";a.d(Pe,{CM:function(){return j},JL:function(){return s},dT:function(){return Z},fK:function(){return J},lA:function(){return A}});var S=a(4669);class C{constructor(){this._icons=new Map,this._onDidRegister=new S.Q5}add(_){const h=this._icons.get(_.id);h?_.description?h.description=_.description:console.error(`Duplicate registration of codicon ${_.id}`):(this._icons.set(_.id,_),this._onDidRegister.fire(_))}get(_){return this._icons.get(_)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const $=new C,J=$;function j(e,_){return new A(e,_)}function s(e){return e?e.replace(/\$\((.*?)\)/g,(_,h)=>` ${h} `).trim():""}class A{constructor(_,h,t){this.id=_,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 Z;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const _=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function h(c){if(c instanceof A)return["codicon","codicon-"+c.id];const d=_.exec(c.id);if(!d)return h(A.error);let[,v,l]=d;const y=["codicon","codicon-"+v];return l&&y.push("codicon-modifier-"+l.substr(1)),y}e.asClassNameArray=h;function t(c){return h(c).join(" ")}e.asClassName=t;function u(c){return"."+h(c).join(".")}e.asCSSSelector=u})(Z||(Z={})),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,Pe,a){"use strict";a.d(Pe,{B8:function(){return h},Cp:function(){return J},F0:function(){return Z},L6:function(){return _},VV:function(){return A},b1:function(){return e},dL:function(){return $},ri:function(){return j}});class S{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u){setTimeout(()=>{throw u.stack?new Error(u.message+`
|
|
|
|
`+u.stack):u},0)}}emit(u){this.listeners.forEach(c=>{c(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}const C=new S;function $(t){A(t)||C.onUnexpectedError(t)}function J(t){A(t)||C.onUnexpectedExternalError(t)}function j(t){if(t instanceof Error){let{name:u,message:c}=t;const d=t.stacktrace||t.stack;return{$isError:!0,name:u,message:c,stack:d}}return t}const s="Canceled";function A(t){return t instanceof Error&&t.name===s&&t.message===s}function Z(){const t=new Error(s);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function _(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class h extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}},4669:function(St,Pe,a){"use strict";a.d(Pe,{D0:function(){return h},E7:function(){return t},K3:function(){return _},Q5:function(){return e},ZD:function(){return u},ju:function(){return j}});var S=a(17301),C=a(9917),$=a(91741),J=a(84013),j;(function(c){c.None=()=>C.JT.None;function d(P){return(D,K=null,L)=>{let i=!1,n;return n=P(N=>{if(!i)return n?n.dispose():i=!0,D.call(K,N)},null,L),i&&n.dispose(),n}}c.once=d;function v(P,D){return f((K,L=null,i)=>P(n=>K.call(L,D(n)),null,i))}c.map=v;function l(P,D){return f((K,L=null,i)=>P(n=>{D(n),K.call(L,n)},null,i))}c.forEach=l;function y(P,D){return f((K,L=null,i)=>P(n=>D(n)&&K.call(L,n),null,i))}c.filter=y;function m(P){return P}c.signal=m;function w(...P){return(D,K=null,L)=>(0,C.F8)(...P.map(i=>i(n=>D.call(K,n),null,L)))}c.any=w;function o(P,D,K){let L=K;return v(P,i=>(L=D(L,i),L))}c.reduce=o;function f(P){let D;const K=new e({onFirstListenerAdd(){D=P(K.fire,K)},onLastListenerRemove(){D.dispose()}});return K.event}function T(P,D,K=100,L=!1,i){let n,N,H,ve=0;const Oe=new e({leakWarningThreshold:i,onFirstListenerAdd(){n=P(Ue=>{ve++,N=D(N,Ue),L&&!H&&(Oe.fire(N),N=void 0),clearTimeout(H),H=setTimeout(()=>{const rt=N;N=void 0,H=void 0,(!L||ve>1)&&Oe.fire(rt),ve=0},K)})},onLastListenerRemove(){n.dispose()}});return Oe.event}c.debounce=T;function I(P,D=(K,L)=>K===L){let K=!0,L;return y(P,i=>{const n=K||!D(i,L);return K=!1,L=i,n})}c.latch=I;function U(P,D){return[c.filter(P,D),c.filter(P,K=>!D(K))]}c.split=U;function V(P,D=!1,K=[]){let L=K.slice(),i=P(H=>{L?L.push(H):N.fire(H)});const n=()=>{L&&L.forEach(H=>N.fire(H)),L=null},N=new e({onFirstListenerAdd(){i||(i=P(H=>N.fire(H)))},onFirstListenerDidAdd(){L&&(D?setTimeout(n):n())},onLastListenerRemove(){i&&i.dispose(),i=null}});return N.event}c.buffer=V;class G{constructor(D){this.event=D}map(D){return new G(v(this.event,D))}forEach(D){return new G(l(this.event,D))}filter(D){return new G(y(this.event,D))}reduce(D,K){return new G(o(this.event,D,K))}latch(){return new G(I(this.event))}debounce(D,K=100,L=!1,i){return new G(T(this.event,D,K,L,i))}on(D,K,L){return this.event(D,K,L)}once(D,K,L){return d(this.event)(D,K,L)}}function X(P){return new G(P)}c.chain=X;function _e(P,D,K=L=>L){const L=(...H)=>N.fire(K(...H)),i=()=>P.on(D,L),n=()=>P.removeListener(D,L),N=new e({onFirstListenerAdd:i,onLastListenerRemove:n});return N.event}c.fromNodeEventEmitter=_e;function x(P,D,K=L=>L){const L=(...H)=>N.fire(K(...H)),i=()=>P.addEventListener(D,L),n=()=>P.removeEventListener(D,L),N=new e({onFirstListenerAdd:i,onLastListenerRemove:n});return N.event}c.fromDOMEventEmitter=x;function g(P){return new Promise(D=>d(P)(D))}c.toPromise=g})(j||(j={}));class s{constructor(d){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${d}_${s._idPool++}`}start(d){this._stopWatch=new J.G(!0),this._listenerCount=d}stop(){if(this._stopWatch){const d=this._stopWatch.elapsed();this._elapsedOverall+=d,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${d.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}s._idPool=0;let A=-1;class Z{constructor(d,v=Math.random().toString(18).slice(2,5)){this.customThreshold=d,this.name=v,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(d){let v=A;if(typeof this.customThreshold=="number"&&(v=this.customThreshold),v<=0||d<v)return;this._stacks||(this._stacks=new Map);const l=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),y=this._stacks.get(l)||0;if(this._stacks.set(l,y+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=v*.5;let m,w=0;for(const[o,f]of this._stacks)(!m||w<f)&&(m=o,w=f);console.warn(`[${this.name}] potential listener LEAK detected, having ${d} listeners already. MOST frequent listener (${w}):`),console.warn(m)}return()=>{const m=this._stacks.get(l)||0;this._stacks.set(l,m-1)}}}class e{constructor(d){var v;this._disposed=!1,this._options=d,this._leakageMon=A>0?new Z(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((v=this._options)===null||v===void 0)&&v._profName?new s(this._options._profName):void 0}get event(){return this._event||(this._event=(d,v,l)=>{var y;this._listeners||(this._listeners=new $.S);const m=this._listeners.isEmpty();m&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const w=this._listeners.push(v?[d,v]:d);m&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,d,v);const o=(y=this._leakageMon)===null||y===void 0?void 0:y.check(this._listeners.size),f=(0,C.OF)(()=>{o&&o(),this._disposed||(w(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return l instanceof C.SL?l.add(f):Array.isArray(l)&&l.push(f),f}),this._event}fire(d){var v,l;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new $.S);for(let y of this._listeners)this._deliveryQueue.push([y,d]);for((v=this._perfMon)===null||v===void 0||v.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[y,m]=this._deliveryQueue.shift();try{typeof y=="function"?y.call(void 0,m):y[0].call(y[1],m)}catch(w){(0,S.dL)(w)}}(l=this._perfMon)===null||l===void 0||l.stop()}}dispose(){var d,v,l,y,m;this._disposed||(this._disposed=!0,(d=this._listeners)===null||d===void 0||d.clear(),(v=this._deliveryQueue)===null||v===void 0||v.clear(),(y=(l=this._options)===null||l===void 0?void 0:l.onLastListenerRemove)===null||y===void 0||y.call(l),(m=this._leakageMon)===null||m===void 0||m.dispose())}}class _ extends e{constructor(d){super(d),this._isPaused=0,this._eventQueue=new $.S,this._mergeFn=d==null?void 0:d.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const d=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(d))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(d){this._listeners&&(this._isPaused!==0?this._eventQueue.push(d):super.fire(d))}}class h extends _{constructor(d){var v;super(d),this._delay=(v=d.delay)!==null&&v!==void 0?v:100}fire(d){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(d)}}class t{constructor(){this.buffers=[]}wrapEvent(d){return(v,l,y)=>d(m=>{const w=this.buffers[this.buffers.length-1];w?w.push(()=>v.call(l,m)):v.call(l,m)},void 0,y)}bufferEvents(d){const v=[];this.buffers.push(v);const l=d();return this.buffers.pop(),v.forEach(y=>y()),l}}class u{constructor(){this.listening=!1,this.inputEvent=j.None,this.inputEventListener=C.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(d){this.inputEvent=d,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=d(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},88289:function(St,Pe,a){"use strict";a.d(Pe,{I:function(){return S}});function S(C){const $=this;let J=!1,j;return function(){return J||(J=!0,j=C.apply($,arguments)),j}}},53725:function(St,Pe,a){"use strict";a.d(Pe,{$:function(){return S}});var S;(function(C){function $(w){return w&&typeof w=="object"&&typeof w[Symbol.iterator]=="function"}C.is=$;const J=Object.freeze([]);function j(){return J}C.empty=j;function*s(w){yield w}C.single=s;function A(w){return w||J}C.from=A;function Z(w){return!w||w[Symbol.iterator]().next().done===!0}C.isEmpty=Z;function e(w){return w[Symbol.iterator]().next().value}C.first=e;function _(w,o){for(const f of w)if(o(f))return!0;return!1}C.some=_;function h(w,o){for(const f of w)if(o(f))return f}C.find=h;function*t(w,o){for(const f of w)o(f)&&(yield f)}C.filter=t;function*u(w,o){let f=0;for(const T of w)yield o(T,f++)}C.map=u;function*c(...w){for(const o of w)for(const f of o)yield f}C.concat=c;function*d(w){for(const o of w)for(const f of o)yield f}C.concatNested=d;function v(w,o,f){let T=f;for(const I of w)T=o(T,I);return T}C.reduce=v;function*l(w,o,f=w.length){for(o<0&&(o+=w.length),f<0?f+=w.length:f>w.length&&(f=w.length);o<f;o++)yield w[o]}C.slice=l;function y(w,o=Number.POSITIVE_INFINITY){const f=[];if(o===0)return[f,w];const T=w[Symbol.iterator]();for(let I=0;I<o;I++){const U=T.next();if(U.done)return[f,C.empty()];f.push(U.value)}return[f,{[Symbol.iterator](){return T}}]}C.consume=y;function m(w,o,f=(T,I)=>T===I){const T=w[Symbol.iterator](),I=o[Symbol.iterator]();for(;;){const U=T.next(),V=I.next();if(U.done!==V.done)return!1;if(U.done)return!0;if(!f(U.value,V.value))return!1}}C.equals=m})(S||(S={}))},9917:function(St,Pe,a){"use strict";a.d(Pe,{B9:function(){return u},F8:function(){return c},JT:function(){return l},Jz:function(){return m},OF:function(){return d},SL:function(){return v},Wf:function(){return t},XK:function(){return y},dk:function(){return _}});var S=a(88289),C=a(53725);const $=!1;let J=null;function j(w){J=w}if($){const w="__is_disposable_tracked__";j(new class{trackDisposable(o){const f=new Error("Potentially leaked disposable").stack;setTimeout(()=>{o[w]||console.log(f)},3e3)}setParent(o,f){if(o&&o!==l.None)try{o[w]=!0}catch(T){}}markAsDisposed(o){if(o&&o!==l.None)try{o[w]=!0}catch(f){}}markAsSingleton(o){}})}function s(w){return J==null||J.trackDisposable(w),w}function A(w){J==null||J.markAsDisposed(w)}function Z(w,o){J==null||J.setParent(w,o)}function e(w,o){if(J)for(const f of w)J.setParent(f,o)}function _(w){return J==null||J.markAsSingleton(w),w}class h extends Error{constructor(o){super(`Encountered errors while disposing of store. Errors: [${o.join(", ")}]`),this.errors=o}}function t(w){return typeof w.dispose=="function"&&w.dispose.length===0}function u(w){if(C.$.is(w)){let o=[];for(const f of w)if(f)try{f.dispose()}catch(T){o.push(T)}if(o.length===1)throw o[0];if(o.length>1)throw new h(o);return Array.isArray(w)?[]:w}else if(w)return w.dispose(),w}function c(...w){const o=d(()=>u(w));return e(w,o),o}function d(w){const o=s({dispose:(0,S.I)(()=>{A(o),w()})});return o}class v{constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(A(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(o){if(!o)return o;if(o===this)throw new Error("Cannot register a disposable on itself!");return Z(o,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(o),o}}v.DISABLE_DISPOSED_WARNING=!1;class l{constructor(){this._store=new v,s(this),Z(this._store,this)}dispose(){A(this),this._store.dispose()}_register(o){if(o===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(o)}}l.None=Object.freeze({dispose(){}});class y{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value(o){var f;this._isDisposed||o===this._value||((f=this._value)===null||f===void 0||f.dispose(),o&&Z(o,this),this._value=o)}clear(){this.value=void 0}dispose(){var o;this._isDisposed=!0,A(this),(o=this._value)===null||o===void 0||o.dispose(),this._value=void 0}clearAndLeak(){const o=this._value;return this._value=void 0,o&&Z(o,null),o}}class m{constructor(o){this.object=o}dispose(){}}},91741:function(St,Pe,a){"use strict";a.d(Pe,{S:function(){return C}});class S{constructor(J){this.element=J,this.next=S.Undefined,this.prev=S.Undefined}}S.Undefined=new S(void 0);class C{constructor(){this._first=S.Undefined,this._last=S.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===S.Undefined}clear(){let J=this._first;for(;J!==S.Undefined;){const j=J.next;J.prev=S.Undefined,J.next=S.Undefined,J=j}this._first=S.Undefined,this._last=S.Undefined,this._size=0}unshift(J){return this._insert(J,!1)}push(J){return this._insert(J,!0)}_insert(J,j){const s=new S(J);if(this._first===S.Undefined)this._first=s,this._last=s;else if(j){const Z=this._last;this._last=s,s.prev=Z,Z.next=s}else{const Z=this._first;this._first=s,s.next=Z,Z.prev=s}this._size+=1;let A=!1;return()=>{A||(A=!0,this._remove(s))}}shift(){if(this._first!==S.Undefined){const J=this._first.element;return this._remove(this._first),J}}pop(){if(this._last!==S.Undefined){const J=this._last.element;return this._remove(this._last),J}}_remove(J){if(J.prev!==S.Undefined&&J.next!==S.Undefined){const j=J.prev;j.next=J.next,J.next.prev=j}else J.prev===S.Undefined&&J.next===S.Undefined?(this._first=S.Undefined,this._last=S.Undefined):J.next===S.Undefined?(this._last=this._last.prev,this._last.next=S.Undefined):J.prev===S.Undefined&&(this._first=this._first.next,this._first.prev=S.Undefined);this._size-=1}*[Symbol.iterator](){let J=this._first;for(;J!==S.Undefined;)yield J.element,J=J.next}}},1432:function(St,Pe,a){"use strict";a.d(Pe,{$L:function(){return T},ED:function(){return m},IJ:function(){return o},OS:function(){return G},WE:function(){return U},dz:function(){return w},gn:function(){return I},li:function(){return d},r:function(){return x},tY:function(){return f},xS:function(){return V}});var S=a(34155),C;const $="en";let J=!1,j=!1,s=!1,A=!1,Z=!1,e=!1,_=!1,h,t=null,u=null,c;const d=typeof self=="object"?self:typeof a.g=="object"?a.g:{};let v;typeof d.vscode!="undefined"&&typeof d.vscode.process!="undefined"?v=d.vscode.process:typeof S!="undefined"&&(v=S);const l=typeof((C=v==null?void 0:v.versions)===null||C===void 0?void 0:C.electron)=="string"&&v.type==="renderer";if(typeof navigator=="object"&&!l)c=navigator.userAgent,J=c.indexOf("Windows")>=0,j=c.indexOf("Macintosh")>=0,_=(c.indexOf("Macintosh")>=0||c.indexOf("iPad")>=0||c.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=c.indexOf("Linux")>=0,e=!0,h=navigator.language,t=h;else if(typeof v=="object"){J=v.platform==="win32",j=v.platform==="darwin",s=v.platform==="linux",A=s&&!!v.env.SNAP&&!!v.env.SNAP_REVISION,h=$,t=$;const g=v.env.VSCODE_NLS_CONFIG;if(g)try{const P=JSON.parse(g),D=P.availableLanguages["*"];h=P.locale,t=D||$,u=P._translationsConfigFile}catch(P){}Z=!0}else console.error("Unable to resolve platform.");let y=0;j?y=1:J?y=3:s&&(y=2);const m=J,w=j,o=s,f=Z,T=e,I=_,U=c,V=function(){if(d.setImmediate)return d.setImmediate.bind(d);if(typeof d.postMessage=="function"&&!d.importScripts){let D=[];d.addEventListener("message",L=>{if(L.data&&L.data.vscodeSetImmediateId)for(let i=0,n=D.length;i<n;i++){const N=D[i];if(N.id===L.data.vscodeSetImmediateId){D.splice(i,1),N.callback();return}}});let K=0;return L=>{const i=++K;D.push({id:i,callback:L}),d.postMessage({vscodeSetImmediateId:i},"*")}}if(typeof(v==null?void 0:v.nextTick)=="function")return v.nextTick.bind(v);const P=Promise.resolve();return D=>P.then(D)}(),G=j||_?2:J?1:3;let X=!0,_e=!1;function x(){if(!_e){_e=!0;const g=new Uint8Array(2);g[0]=1,g[1]=2,X=new Uint16Array(g.buffer)[0]===513}return X}},84013:function(St,Pe,a){"use strict";a.d(Pe,{G:function(){return $}});var S=a(1432);const C=S.li.performance&&typeof S.li.performance.now=="function";class ${constructor(j){this._highResolution=C&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new $(j)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?S.li.performance.now():Date.now()}}},97295:function(St,Pe,a){"use strict";a.d(Pe,{$i:function(){return ve},C8:function(){return Mt},GF:function(){return h},HO:function(){return K},IO:function(){return t},K7:function(){return Xe},Kw:function(){return We},LC:function(){return d},Mh:function(){return V},P1:function(){return G},PJ:function(){return ue},Qe:function(){return Oe},R1:function(){return _},RP:function(){return N},S6:function(){return Y},TT:function(){return m},Ut:function(){return i},V8:function(){return v},WU:function(){return $},YK:function(){return _e},YU:function(){return J},ZG:function(){return X},ZH:function(){return g},ab:function(){return Ue},c1:function(){return ge},df:function(){return T},ec:function(){return j},fi:function(){return Ee},fy:function(){return s},j3:function(){return A},j_:function(){return o},m5:function(){return S},mK:function(){return f},mr:function(){return u},oH:function(){return oe},oL:function(){return Z},ok:function(){return U},ow:function(){return l},qq:function(){return I},qu:function(){return y},rL:function(){return x},uS:function(){return st},un:function(){return e},uq:function(){return c},vH:function(){return D},xe:function(){return rt},zY:function(){return w}});function S(O){return!O||typeof O!="string"?!0:O.trim().length===0}const C=/{(\d+)}/g;function $(O,...re){return re.length===0?O:O.replace(C,function(de,ee){const ce=parseInt(ee,10);return isNaN(ce)||ce<0||ce>=re.length?de:re[ce]})}function J(O){return O.replace(/[<>&]/g,function(re){switch(re){case"<":return"<";case">":return">";case"&":return"&";default:return re}})}function j(O){return O.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function s(O,re=" "){const de=A(O,re);return Z(de,re)}function A(O,re){if(!O||!re)return O;const de=re.length;if(de===0||O.length===0)return O;let ee=0;for(;O.indexOf(re,ee)===ee;)ee=ee+de;return O.substring(ee)}function Z(O,re){if(!O||!re)return O;const de=re.length,ee=O.length;if(de===0||ee===0)return O;let ce=ee,se=-1;for(;se=O.lastIndexOf(re,ce-1),!(se===-1||se+de!==ce);){if(se===0)return"";ce=se}return O.substring(0,ce)}function e(O){return O.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function _(O){return O.replace(/\*/g,"")}function h(O,re,de={}){if(!O)throw new Error("Cannot create regex from empty string");re||(O=j(O)),de.wholeWord&&(/\B/.test(O.charAt(0))||(O="\\b"+O),/\B/.test(O.charAt(O.length-1))||(O=O+"\\b"));let ee="";return de.global&&(ee+="g"),de.matchCase||(ee+="i"),de.multiline&&(ee+="m"),de.unicode&&(ee+="u"),new RegExp(O,ee)}function t(O){return O.source==="^"||O.source==="^$"||O.source==="$"||O.source==="^\\s*$"?!1:!!(O.exec("")&&O.lastIndex===0)}function u(O){return(O.global?"g":"")+(O.ignoreCase?"i":"")+(O.multiline?"m":"")+(O.unicode?"u":"")}function c(O){return O.split(/\r\n|\r|\n/)}function d(O){for(let re=0,de=O.length;re<de;re++){const ee=O.charCodeAt(re);if(ee!==32&&ee!==9)return re}return-1}function v(O,re=0,de=O.length){for(let ee=re;ee<de;ee++){const ce=O.charCodeAt(ee);if(ce!==32&&ce!==9)return O.substring(re,ee)}return O.substring(re,de)}function l(O,re=O.length-1){for(let de=re;de>=0;de--){const ee=O.charCodeAt(de);if(ee!==32&&ee!==9)return de}return-1}function y(O,re){return O<re?-1:O>re?1:0}function m(O,re,de=0,ee=O.length,ce=0,se=re.length){for(;de<ee&&ce<se;de++,ce++){let ut=O.charCodeAt(de),ht=re.charCodeAt(ce);if(ut<ht)return-1;if(ut>ht)return 1}const je=ee-de,Ze=se-ce;return je<Ze?-1:je>Ze?1:0}function w(O,re){return o(O,re,0,O.length,0,re.length)}function o(O,re,de=0,ee=O.length,ce=0,se=re.length){for(;de<ee&&ce<se;de++,ce++){let ut=O.charCodeAt(de),ht=re.charCodeAt(ce);if(ut===ht)continue;if(ut>=128||ht>=128)return m(O.toLowerCase(),re.toLowerCase(),de,ee,ce,se);f(ut)&&(ut-=32),f(ht)&&(ht-=32);const Nt=ut-ht;if(Nt!==0)return Nt}const je=ee-de,Ze=se-ce;return je<Ze?-1:je>Ze?1:0}function f(O){return O>=97&&O<=122}function T(O){return O>=65&&O<=90}function I(O,re){return O.length===re.length&&o(O,re)===0}function U(O,re){const de=re.length;return re.length>O.length?!1:o(O,re,0,de)===0}function V(O,re){let de,ee=Math.min(O.length,re.length);for(de=0;de<ee;de++)if(O.charCodeAt(de)!==re.charCodeAt(de))return de;return ee}function G(O,re){let de,ee=Math.min(O.length,re.length);const ce=O.length-1,se=re.length-1;for(de=0;de<ee;de++)if(O.charCodeAt(ce-de)!==re.charCodeAt(se-de))return de;return ee}function X(O){return 55296<=O&&O<=56319}function _e(O){return 56320<=O&&O<=57343}function x(O,re){return(O-55296<<10)+(re-56320)+65536}function g(O,re,de){const ee=O.charCodeAt(de);if(X(ee)&&de+1<re){const ce=O.charCodeAt(de+1);if(_e(ce))return x(ee,ce)}return ee}function P(O,re){const de=O.charCodeAt(re-1);if(_e(de)&&re>1){const ee=O.charCodeAt(re-2);if(X(ee))return x(ee,de)}return de}function D(O,re){const de=B.getInstance(),ee=re,ce=O.length,se=g(O,ce,re);re+=se>=65536?2:1;let je=de.getGraphemeBreakType(se);for(;re<ce;){const Ze=g(O,ce,re),ut=de.getGraphemeBreakType(Ze);if(Ee(je,ut))break;re+=Ze>=65536?2:1,je=ut}return re-ee}function K(O,re){const de=B.getInstance(),ee=re,ce=P(O,re);re-=ce>=65536?2:1;let se=de.getGraphemeBreakType(ce);for(;re>0;){const je=P(O,re),Ze=de.getGraphemeBreakType(je);if(Ee(Ze,se))break;re-=je>=65536?2:1,se=Ze}return ee-re}const L=/(?:[\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 i(O){return L.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 N(O){return n.test(O)}const H=/^[\t\n\r\x20-\x7E]*$/;function ve(O){return H.test(O)}const Oe=/[\u2028\u2029]/;function Ue(O){return Oe.test(O)}function rt(O){for(let re=0,de=O.length;re<de;re++)if(Xe(O.charCodeAt(re)))return!0;return!1}function Xe(O){return O=+O,O>=11904&&O<=55215||O>=63744&&O<=64255||O>=65281&&O<=65374}function Mt(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 ge="\uFEFF";function st(O){return!!(O&&O.length>0&&O.charCodeAt(0)===65279)}function We(O,re=!1){return O?(re&&(O=O.replace(/\\./g,"")),O.toLowerCase()!==O):!1}function ue(O){return O=O%(2*26),O<26?String.fromCharCode(97+O):String.fromCharCode(65+O-26)}function Y(O){return B.getInstance().getGraphemeBreakType(O)}function Ee(O,re){return O===0?re!==5&&re!==7:O===2&&re===3?!1:O===4||O===2||O===3||re===4||re===2||re===3?!0:!(O===8&&(re===8||re===9||re===11||re===12)||(O===11||O===9)&&(re===9||re===10)||(O===12||O===10)&&re===10||re===5||re===13||re===7||O===1||O===13&&re===14||O===6&&re===6)}class B{constructor(){this._data=he()}static getInstance(){return B._INSTANCE||(B._INSTANCE=new B),B._INSTANCE}getGraphemeBreakType(re){if(re<32)return re===10?3:re===13?2:4;if(re<127)return 0;const de=this._data,ee=de.length/3;let ce=1;for(;ce<=ee;)if(re<de[3*ce])ce=2*ce;else if(re>de[3*ce+1])ce=2*ce+1;else return de[3*ce+2];return 0}}B._INSTANCE=null;function he(){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 oe(O,re){if(O===0)return 0;const de=Ge(O,re);if(de!==void 0)return de;const ee=P(re,O);return O-=Ie(ee),O}function Ge(O,re){let de=P(re,O);for(O-=Ie(de);F(de)||de===65039||de===8419;){if(O===0)return;de=P(re,O),O-=Ie(de)}if(Mt(de)){if(O>=0){const ee=P(re,O);ee===8205&&(O-=Ie(ee))}return O}}function Ie(O){return O>=65536?2:1}function F(O){return 127995<=O&&O<=127999}},98401:function(St,Pe,a){"use strict";a.d(Pe,{$E:function(){return d},$K:function(){return A},D8:function(){return t},HD:function(){return C},IU:function(){return v},Jp:function(){return Z},Kn:function(){return $},cW:function(){return _},f6:function(){return l},hj:function(){return J},jn:function(){return j},kJ:function(){return S},mf:function(){return h},o8:function(){return s},p_:function(){return e},vE:function(){return y}});function S(m){return Array.isArray(m)}function C(m){return typeof m=="string"}function $(m){return typeof m=="object"&&m!==null&&!Array.isArray(m)&&!(m instanceof RegExp)&&!(m instanceof Date)}function J(m){return typeof m=="number"&&!isNaN(m)}function j(m){return m===!0||m===!1}function s(m){return typeof m=="undefined"}function A(m){return!Z(m)}function Z(m){return s(m)||m===null}function e(m,w){if(!m)throw new Error(w?`Unexpected type, expected '${w}'`:"Unexpected type")}function _(m){if(Z(m))throw new Error("Assertion Failed: argument is undefined or null");return m}function h(m){return typeof m=="function"}function t(m,w){const o=Math.min(m.length,w.length);for(let f=0;f<o;f++)u(m[f],w[f])}function u(m,w){if(C(w)){if(typeof m!==w)throw new Error(`argument does not match constraint: typeof ${w}`)}else if(h(w)){try{if(m instanceof w)return}catch(o){}if(!Z(m)&&m.constructor===w||w.length===1&&w.call(void 0,m)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function c(m){let w=[],o=Object.getPrototypeOf(m);for(;Object.prototype!==o;)w=w.concat(Object.getOwnPropertyNames(o)),o=Object.getPrototypeOf(o);return w}function d(m){const w=[];for(const o of c(m))typeof m[o]=="function"&&w.push(o);return w}function v(m,w){const o=T=>function(){const I=Array.prototype.slice.call(arguments,0);return w(T,I)};let f={};for(const T of m)f[T]=o(T);return f}function l(m){return m===null?void 0:m}function y(m,w="Unreachable"){throw new Error(w)}},63580:function(St,Pe,a){"use strict";a.d(Pe,{N:function(){return C}});function S($,J){let j;return J.length===0?j=$:j=$.replace(/\{(\d+)\}/g,function(s,A){const Z=A[0];return typeof J[Z]!="undefined"?J[Z]:s}),j}function C($,J,...j){return S(J,j)}},84144:function(St,Pe,a){"use strict";a.d(Pe,{BH:function(){return v},NZ:function(){return l},U8:function(){return y},co:function(){return d},eH:function(){return c},vr:function(){return u}});var S=a(74741),C=a(73046),$=a(4669),J=a(53725),j=a(9917),s=a(91741),A=a(94565),Z=a(38819),e=a(72065),_=a(97781),h=function(m,w,o,f){var T=arguments.length,I=T<3?w:f===null?f=Object.getOwnPropertyDescriptor(w,o):f,U;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(m,w,o,f);else for(var V=m.length-1;V>=0;V--)(U=m[V])&&(I=(T<3?U(I):T>3?U(w,o,I):U(w,o))||I);return T>3&&I&&Object.defineProperty(w,o,I),I},t=function(m,w){return function(o,f){w(o,f,m)}};function u(m){return m.command!==void 0}class c{constructor(w){this.id=c._idPool++,this._debugName=w}}c._idPool=0,c.CommandPalette=new c("CommandPalette"),c.EditorContext=new c("EditorContext"),c.SimpleEditorContext=new c("SimpleEditorContext"),c.EditorContextCopy=new c("EditorContextCopy"),c.EditorContextPeek=new c("EditorContextPeek"),c.MenubarEditMenu=new c("MenubarEditMenu"),c.MenubarCopy=new c("MenubarCopy"),c.MenubarGoMenu=new c("MenubarGoMenu"),c.MenubarSelectionMenu=new c("MenubarSelectionMenu"),c.InlineCompletionsActions=new c("InlineCompletionsActions");const d=(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:m=>m===c.CommandPalette}}addCommand(m){return this.addCommands(J.$.single(m))}addCommands(m){for(const w of m)this._commands.set(w.id,w);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let w=!1;for(const o of m)w=this._commands.delete(o.id)||w;w&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(m){return this._commands.get(m)}getCommands(){const m=new Map;return this._commands.forEach((w,o)=>m.set(o,w)),m}appendMenuItem(m,w){return this.appendMenuItems(J.$.single({id:m,item:w}))}appendMenuItems(m){const w=new Set,o=new s.S;for(const{id:f,item:T}of m){let I=this._menuItems.get(f);I||(I=new s.S,this._menuItems.set(f,I)),o.push(I.push(T)),w.add(f)}return this._onDidChangeMenu.fire(w),(0,j.OF)(()=>{if(o.size>0){for(let f of o)f();this._onDidChangeMenu.fire(w),o.clear()}})}getMenuItems(m){let w;return this._menuItems.has(m)?w=[...this._menuItems.get(m)]:w=[],m===c.CommandPalette&&this._appendImplicitItems(w),w}_appendImplicitItems(m){const w=new Set;for(const o of m)u(o)&&(w.add(o.command.id),o.alt&&w.add(o.alt.id));this._commands.forEach((o,f)=>{w.has(f)||m.push({command:o})})}};class l extends S.wY{constructor(w,o,f,T){super(`submenuitem.${w.submenu.id}`,typeof w.title=="string"?w.title:w.title.value,[],"submenu"),this.item=w,this._menuService=o,this._contextKeyService=f,this._options=T}get actions(){const w=[],o=this._menuService.createMenu(this.item.submenu,this._contextKeyService),f=o.getActions(this._options);o.dispose();for(const[,T]of f)T.length>0&&(w.push(...T),w.push(new S.Z0));return w.length&&w.pop(),w}}let y=class Ws{constructor(w,o,f,T,I){var U,V;if(this._commandService=I,this.id=w.id,this.label=f!=null&&f.renderShortTitle&&w.shortTitle?typeof w.shortTitle=="string"?w.shortTitle:w.shortTitle.value:typeof w.title=="string"?w.title:w.title.value,this.tooltip=(V=typeof w.tooltip=="string"?w.tooltip:(U=w.tooltip)===null||U===void 0?void 0:U.value)!==null&&V!==void 0?V:"",this.enabled=!w.precondition||T.contextMatchesRules(w.precondition),this.checked=void 0,w.toggled){const G=w.toggled.condition?w.toggled:{condition:w.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=w,this.alt=o?new Ws(o,void 0,f,T,I):void 0,this._options=f,_.kS.isThemeIcon(w.icon)&&(this.class=C.dT.asClassName(w.icon))}dispose(){}run(...w){var o,f;let T=[];return!((o=this._options)===null||o===void 0)&&o.arg&&(T=[...T,this._options.arg]),!((f=this._options)===null||f===void 0)&&f.shouldForwardArgs&&(T=[...T,...w]),this._commandService.executeCommand(this.id,...T)}};y=h([t(3,Z.i6),t(4,A.H)],y)},94565:function(St,Pe,a){"use strict";a.d(Pe,{H:function(){return A},P:function(){return Z}});var S=a(4669),C=a(53725),$=a(9917),J=a(91741),j=a(98401),s=a(72065);const A=(0,s.yh)("commandService"),Z=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new S.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,_){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!_)throw new Error("invalid command");return this.registerCommand({id:e,handler:_})}if(e.description){const d=[];for(let l of e.description.args)d.push(l.constraint);const v=e.handler;e.handler=function(l,...y){return(0,j.D8)(y,d),v(l,...y)}}const{id:h}=e;let t=this._commands.get(h);t||(t=new J.S,this._commands.set(h,t));let u=t.unshift(e),c=(0,$.OF)(()=>{u();const d=this._commands.get(h);d!=null&&d.isEmpty()&&this._commands.delete(h)});return this._onDidRegisterCommand.fire(h),c}registerCommandAlias(e,_){return Z.registerCommand(e,(h,...t)=>h.get(A).executeCommand(_,...t))}getCommand(e){const _=this._commands.get(e);if(!(!_||_.isEmpty()))return C.$.first(_)}getCommands(){const e=new Map;for(const _ of this._commands.keys()){const h=this.getCommand(_);h&&e.set(_,h)}return e}};Z.registerCommand("noop",()=>{})},38819:function(St,Pe,a){"use strict";a.d(Pe,{Ao:function(){return A},Eq:function(){return x},Fb:function(){return Z},K8:function(){return D},i6:function(){return _e},uy:function(){return X}});var S=a(1432),C=a(97295),$=a(72065);let J=S.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",S.dz),j.set("isLinux",S.IJ),j.set("isWindows",S.ED),j.set("isWeb",S.$L),j.set("isMacNative",S.dz&&!S.$L),j.set("isEdge",J.indexOf("Edg/")>=0),j.set("isFirefox",J.indexOf("Firefox")>=0),j.set("isChrome",J.indexOf("Chrome")>=0),j.set("isSafari",J.indexOf("Safari")>=0);const s=Object.prototype.hasOwnProperty;class A{static has(i){return t.create(i)}static equals(i,n){return u.create(i,n)}static regex(i,n){return T.create(i,n)}static not(i){return l.create(i)}static and(...i){return V.create(i,null)}static or(...i){return G.create(i,null,!0)}static deserialize(i,n=!1){if(i)return this._deserializeOrExpression(i,n)}static _deserializeOrExpression(i,n){let N=i.split("||");return G.create(N.map(H=>this._deserializeAndExpression(H,n)),null,!0)}static _deserializeAndExpression(i,n){let N=i.split("&&");return V.create(N.map(H=>this._deserializeOne(H,n)),null)}static _deserializeOne(i,n){if(i=i.trim(),i.indexOf("!=")>=0){let N=i.split("!=");return v.create(N[0].trim(),this._deserializeValue(N[1],n))}if(i.indexOf("==")>=0){let N=i.split("==");return u.create(N[0].trim(),this._deserializeValue(N[1],n))}if(i.indexOf("=~")>=0){let N=i.split("=~");return T.create(N[0].trim(),this._deserializeRegexValue(N[1],n))}if(i.indexOf(" in ")>=0){let N=i.split(" in ");return c.create(N[0].trim(),N[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(i)){const N=i.split(">=");return w.create(N[0].trim(),N[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(i)){const N=i.split(">");return m.create(N[0].trim(),N[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(i)){const N=i.split("<=");return f.create(N[0].trim(),N[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(i)){const N=i.split("<");return o.create(N[0].trim(),N[1].trim())}return/^\!\s*/.test(i)?l.create(i.substr(1).trim()):t.create(i)}static _deserializeValue(i,n){if(i=i.trim(),i==="true")return!0;if(i==="false")return!1;let N=/^'([^']*)'$/.exec(i);return N?N[1].trim():i}static _deserializeRegexValue(i,n){if((0,C.m5)(i)){if(n)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let N=i.indexOf("/"),H=i.lastIndexOf("/");if(N===H||N<0){if(n)throw new Error(`bad regexp-value '${i}', missing /-enclosure`);return console.warn(`bad regexp-value '${i}', missing /-enclosure`),null}let ve=i.slice(N+1,H),Oe=i[H+1]==="i"?"i":"";try{return new RegExp(ve,Oe)}catch(Ue){if(n)throw new Error(`bad regexp-value '${i}', parse error: ${Ue}`);return console.warn(`bad regexp-value '${i}', parse error: ${Ue}`),null}}}function Z(L,i){const n=L?L.substituteConstants():void 0,N=i?i.substituteConstants():void 0;return!n&&!N?!0:!n||!N?!1:n.equals(N)}function e(L,i){return L.cmp(i)}class _{constructor(){this.type=0}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}_.INSTANCE=new _;class h{constructor(){this.type=1}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!0}serialize(){return"true"}keys(){return[]}negate(){return _.INSTANCE}}h.INSTANCE=new h;class t{constructor(i,n){this.key=i,this.negated=n,this.type=2}static create(i,n=null){const N=j.get(i);return typeof N=="boolean"?N?h.INSTANCE:_.INSTANCE:new t(i,n)}cmp(i){return i.type!==this.type?this.type-i.type:g(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=j.get(this.key);return typeof i=="boolean"?i?h.INSTANCE:_.INSTANCE:this}evaluate(i){return!!i.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this)),this.negated}}class u{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=4}static create(i,n,N=null){if(typeof n=="boolean")return n?t.create(i,N):l.create(i,N);const H=j.get(i);return typeof H=="boolean"?n===(H?"true":"false")?h.INSTANCE:_.INSTANCE:new u(i,n,N)}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=j.get(this.key);if(typeof i=="boolean"){const n=i?"true":"false";return this.value===n?h.INSTANCE:_.INSTANCE}return this}evaluate(i){return i.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 c{constructor(i,n){this.key=i,this.valueKey=n,this.type=10,this.negated=null}static create(i,n){return new c(i,n)}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.valueKey,i.key,i.valueKey)}equals(i){return i.type===this.type?this.key===i.key&&this.valueKey===i.valueKey:!1}substituteConstants(){return this}evaluate(i){const n=i.getValue(this.valueKey),N=i.getValue(this.key);return Array.isArray(n)?n.indexOf(N)>=0:typeof N=="string"&&typeof n=="object"&&n!==null?s.call(n,N):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=d.create(this)),this.negated}}class d{constructor(i){this._actual=i,this.type=11}static create(i){return new d(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=5}static create(i,n,N=null){if(typeof n=="boolean")return n?l.create(i,N):t.create(i,N);const H=j.get(i);return typeof H=="boolean"?n===(H?"true":"false")?_.INSTANCE:h.INSTANCE:new v(i,n,N)}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=j.get(this.key);if(typeof i=="boolean"){const n=i?"true":"false";return this.value===n?_.INSTANCE:h.INSTANCE}return this}evaluate(i){return i.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class l{constructor(i,n){this.key=i,this.negated=n,this.type=3}static create(i,n=null){const N=j.get(i);return typeof N=="boolean"?N?_.INSTANCE:h.INSTANCE:new l(i,n)}cmp(i){return i.type!==this.type?this.type-i.type:g(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=j.get(this.key);return typeof i=="boolean"?i?_.INSTANCE:h.INSTANCE:this}evaluate(i){return!i.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(L,i){if(typeof L=="string"){const n=parseFloat(L);isNaN(n)||(L=n)}return typeof L=="string"||typeof L=="number"?i(L):_.INSTANCE}class m{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=12}static create(i,n,N=null){return y(n,H=>new m(i,H,N))}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class w{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=13}static create(i,n,N=null){return y(n,H=>new w(i,H,N))}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.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 o{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=14}static create(i,n,N=null){return y(n,H=>new o(i,H,N))}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class f{constructor(i,n,N){this.key=i,this.value=n,this.negated=N,this.type=15}static create(i,n,N=null){return y(n,H=>new f(i,H,N))}cmp(i){return i.type!==this.type?this.type-i.type:P(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class T{constructor(i,n){this.key=i,this.regexp=n,this.type=7,this.negated=null}static create(i,n){return new T(i,n)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.key<i.key)return-1;if(this.key>i.key)return 1;const n=this.regexp?this.regexp.source:"",N=i.regexp?i.regexp.source:"";return n<N?-1:n>N?1:0}equals(i){if(i.type===this.type){const n=this.regexp?this.regexp.source:"",N=i.regexp?i.regexp.source:"";return this.key===i.key&&n===N}return!1}substituteConstants(){return this}evaluate(i){let n=i.getValue(this.key);return this.regexp?this.regexp.test(n):!1}serialize(){const i=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${i}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this)),this.negated}}class I{constructor(i){this._actual=i,this.type=8}static create(i){return new I(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function U(L){let i=null;for(let n=0,N=L.length;n<N;n++){const H=L[n].substituteConstants();if(L[n]!==H&&i===null){i=[];for(let ve=0;ve<n;ve++)i[ve]=L[ve]}i!==null&&(i[n]=H)}return i===null?L:i}class V{constructor(i,n){this.expr=i,this.negated=n,this.type=6}static create(i,n){return V._normalizeArr(i,n)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let n=0,N=this.expr.length;n<N;n++){const H=e(this.expr[n],i.expr[n]);if(H!==0)return H}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let n=0,N=this.expr.length;n<N;n++)if(!this.expr[n].equals(i.expr[n]))return!1;return!0}return!1}substituteConstants(){const i=U(this.expr);return i===this.expr?this:V.create(i,this.negated)}evaluate(i){for(let n=0,N=this.expr.length;n<N;n++)if(!this.expr[n].evaluate(i))return!1;return!0}static _normalizeArr(i,n){const N=[];let H=!1;for(const ve of i)if(ve){if(ve.type===1){H=!0;continue}if(ve.type===0)return _.INSTANCE;if(ve.type===6){N.push(...ve.expr);continue}N.push(ve)}if(N.length===0&&H)return h.INSTANCE;if(N.length!==0){if(N.length===1)return N[0];N.sort(e);for(let ve=1;ve<N.length;ve++)N[ve-1].equals(N[ve])&&(N.splice(ve,1),ve--);if(N.length===1)return N[0];for(;N.length>1;){const ve=N[N.length-1];if(ve.type!==9)break;N.pop();const Oe=N.pop(),Ue=N.length===0,rt=G.create(ve.expr.map(Xe=>V.create([Xe,Oe],null)),null,Ue);rt&&(N.push(rt),N.sort(e))}return N.length===1?N[0]:new V(N,n)}}serialize(){return this.expr.map(i=>i.serialize()).join(" && ")}keys(){const i=[];for(let n of this.expr)i.push(...n.keys());return i}negate(){if(!this.negated){const i=[];for(let n of this.expr)i.push(n.negate());this.negated=G.create(i,this,!0)}return this.negated}}class G{constructor(i,n){this.expr=i,this.negated=n,this.type=9}static create(i,n,N){return G._normalizeArr(i,n,N)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let n=0,N=this.expr.length;n<N;n++){const H=e(this.expr[n],i.expr[n]);if(H!==0)return H}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let n=0,N=this.expr.length;n<N;n++)if(!this.expr[n].equals(i.expr[n]))return!1;return!0}return!1}substituteConstants(){const i=U(this.expr);return i===this.expr?this:G.create(i,this.negated,!1)}evaluate(i){for(let n=0,N=this.expr.length;n<N;n++)if(this.expr[n].evaluate(i))return!0;return!1}static _normalizeArr(i,n,N){let H=[],ve=!1;if(i){for(let Oe=0,Ue=i.length;Oe<Ue;Oe++){const rt=i[Oe];if(rt){if(rt.type===0){ve=!0;continue}if(rt.type===1)return h.INSTANCE;if(rt.type===9){H=H.concat(rt.expr);continue}H.push(rt)}}if(H.length===0&&ve)return _.INSTANCE;H.sort(e)}if(H.length!==0){if(H.length===1)return H[0];for(let Oe=1;Oe<H.length;Oe++)H[Oe-1].equals(H[Oe])&&(H.splice(Oe,1),Oe--);if(H.length===1)return H[0];if(N){for(let Oe=0;Oe<H.length;Oe++)for(let Ue=Oe+1;Ue<H.length;Ue++)D(H[Oe],H[Ue])&&(H.splice(Ue,1),Ue--);if(H.length===1)return H[0]}return new G(H,n)}}serialize(){return this.expr.map(i=>i.serialize()).join(" || ")}keys(){const i=[];for(let n of this.expr)i.push(...n.keys());return i}negate(){if(!this.negated){let i=[];for(let n of this.expr)i.push(n.negate());for(;i.length>1;){const n=i.shift(),N=i.shift(),H=[];for(const Oe of K(n))for(const Ue of K(N))H.push(V.create([Oe,Ue],null));const ve=i.length===0;i.unshift(G.create(H,null,ve))}this.negated=i[0]}return this.negated}}class X extends t{constructor(i,n,N){super(i,null),this._defaultValue=n,typeof N=="object"?X._info.push(Object.assign(Object.assign({},N),{key:i})):N!==!0&&X._info.push({key:i,description:N,type:n!=null?typeof n:void 0})}static all(){return X._info.values()}bindTo(i){return i.createKey(this.key,this._defaultValue)}getValue(i){return i.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(i){return u.create(this.key,i)}}X._info=[];const _e=(0,$.yh)("contextKeyService"),x="setContext";function g(L,i){return L<i?-1:L>i?1:0}function P(L,i,n,N){return L<n?-1:L>n?1:i<N?-1:i>N?1:0}function D(L,i){if(i.type===6&&L.type!==9&&L.type!==6){for(const H of i.expr)if(L.equals(H))return!0}const n=L.negate(),N=K(n).concat(K(i));N.sort(e);for(let H=0;H<N.length;H++){const Oe=N[H].negate();for(let Ue=H+1;Ue<N.length;Ue++){const rt=N[Ue];if(Oe.equals(rt))return!0}}return!1}function K(L){return L.type===9?L.expr:[L]}},72065:function(St,Pe,a){"use strict";a.d(Pe,{I8:function(){return S},TG:function(){return C},jt:function(){return j},yh:function(){return J}});var S;(function(s){s.serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies";function A(Z){return Z[s.DI_DEPENDENCIES]||[]}s.getServiceDependencies=A})(S||(S={}));const C=J("instantiationService");function $(s,A,Z,e){A[S.DI_TARGET]===A?A[S.DI_DEPENDENCIES].push({id:s,index:Z,optional:e}):(A[S.DI_DEPENDENCIES]=[{id:s,index:Z,optional:e}],A[S.DI_TARGET]=A)}function J(s){if(S.serviceIds.has(s))return S.serviceIds.get(s);const A=function(Z,e,_){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");$(A,Z,_,!1)};return A.toString=()=>s,S.serviceIds.set(s,A),A}function j(s){return function(A,Z,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");$(s,A,e,!0)}}},89872:function(St,Pe,a){"use strict";a.d(Pe,{B:function(){return J}});var S=a(35146),C=a(98401);class ${constructor(){this.data=new Map}add(s,A){S.ok(C.HD(s)),S.ok(C.Kn(A)),S.ok(!this.data.has(s),"There is already an extension with this id"),this.data.set(s,A)}as(s){return this.data.get(s)||null}}const J=new $},92321:function(St,Pe,a){"use strict";a.d(Pe,{e:function(){return S}});var S;(function(C){C.DARK="dark",C.LIGHT="light",C.HIGH_CONTRAST="hc"})(S||(S={}))},97781:function(St,Pe,a){"use strict";a.d(Pe,{EN:function(){return e},IP:function(){return t},Ic:function(){return d},XE:function(){return A},bB:function(){return v},kS:function(){return _},m6:function(){return h}});var S=a(73046),C=a(4669),$=a(9917),J=a(72065),j=a(89872),s=a(92321);const A=(0,J.yh)("themeService");var Z;(function(l){function y(m){return m&&typeof m=="object"&&typeof m.id=="string"}l.isThemeColor=y})(Z||(Z={}));function e(l){return{id:l}}var _;(function(l){function y(I){return I&&typeof I=="object"&&typeof I.id=="string"&&(typeof I.color=="undefined"||Z.isThemeColor(I.color))}l.isThemeIcon=y;const m=new RegExp(`^\\$\\((${S.dT.iconNameExpression}(?:${S.dT.iconModifierExpression})?)\\)$`);function w(I){const U=m.exec(I);if(!U)return;let[,V]=U;return{id:V}}l.fromString=w;function o(I,U){let V=I.id;const G=V.lastIndexOf("~");return G!==-1&&(V=V.substring(0,G)),U&&(V=`${V}~${U}`),{id:V}}l.modify=o;function f(I,U){var V,G;return I.id===U.id&&((V=I.color)===null||V===void 0?void 0:V.id)===((G=U.color)===null||G===void 0?void 0:G.id)}l.isEqual=f;function T(I,U){return{id:I.id,color:U?e(U):void 0}}l.asThemeIcon=T,l.asClassNameArray=S.dT.asClassNameArray,l.asClassName=S.dT.asClassName,l.asCSSSelector=S.dT.asCSSSelector})(_||(_={}));function h(l){switch(l){case s.e.DARK:return"vs-dark";case s.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class u{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new C.Q5}onColorThemeChange(y){return this.themingParticipants.push(y),this.onThemingParticipantAddedEmitter.fire(y),(0,$.OF)(()=>{const m=this.themingParticipants.indexOf(y);this.themingParticipants.splice(m,1)})}getThemingParticipants(){return this.themingParticipants}}let c=new u;j.B.add(t.ThemingContribution,c);function d(l){return c.onColorThemeChange(l)}class v extends $.JT{constructor(y){super(),this.themeService=y,this.theme=y.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(m=>this.onThemeChange(m)))}onThemeChange(y){this.theme=y,this.updateStyles()}updateStyles(){}}},95860:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return w}});var S=a(87462),C=a(1413),$=a(4942),J=a(97685),j=a(45987),s=a(94184),A=a.n(s),Z=a(67294);function e(o){var f=Z.useRef();f.current=o;var T=Z.useCallback(function(){for(var I,U=arguments.length,V=new Array(U),G=0;G<U;G++)V[G]=arguments[G];return(I=f.current)===null||I===void 0?void 0:I.call.apply(I,[f].concat(V))},[]);return T}function _(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var h=_()?Z.useLayoutEffect:Z.useEffect,t=function(f,T){var I=Z.useRef(!0);h(function(){return f(I.current)},T),h(function(){return I.current=!1,function(){I.current=!0}},[])},u=function(f,T){t(function(I){if(!I)return f()},T)},c=null;function d(o){var f=Z.useRef(!1),T=Z.useState(o),I=(0,J.Z)(T,2),U=I[0],V=I[1];Z.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function G(X,_e){_e&&f.current||V(X)}return[U,G]}function v(o){return o!==void 0}function l(o,f){var T=f||{},I=T.defaultValue,U=T.value,V=T.onChange,G=T.postState,X=d(function(){return v(U)?U:v(I)?typeof I=="function"?I():I:typeof o=="function"?o():o}),_e=(0,J.Z)(X,2),x=_e[0],g=_e[1],P=U!==void 0?U:x,D=G?G(P):P,K=e(V),L=d([P]),i=(0,J.Z)(L,2),n=i[0],N=i[1];u(function(){var ve=n[0];x!==ve&&K(x,ve)},[n]),u(function(){v(U)||g(U)},[U]);var H=e(function(ve,Oe){g(ve,Oe),N([P],Oe)});return[D,H]}var y=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],m=(0,Z.forwardRef)(function(o,f){var T=o.prefixCls,I=T===void 0?"rc-checkbox":T,U=o.className,V=o.style,G=o.checked,X=o.disabled,_e=o.defaultChecked,x=_e===void 0?!1:_e,g=o.type,P=g===void 0?"checkbox":g,D=o.title,K=o.onChange,L=(0,j.Z)(o,y),i=(0,Z.useRef)(null),n=(0,Z.useRef)(null),N=l(x,{value:G}),H=(0,J.Z)(N,2),ve=H[0],Oe=H[1];(0,Z.useImperativeHandle)(f,function(){return{focus:function(Mt){var ge;(ge=i.current)===null||ge===void 0||ge.focus(Mt)},blur:function(){var Mt;(Mt=i.current)===null||Mt===void 0||Mt.blur()},input:i.current,nativeElement:n.current}});var Ue=A()(I,U,(0,$.Z)((0,$.Z)({},"".concat(I,"-checked"),ve),"".concat(I,"-disabled"),X)),rt=function(Mt){X||("checked"in o||Oe(Mt.target.checked),K==null||K({target:(0,C.Z)((0,C.Z)({},o),{},{type:P,checked:Mt.target.checked}),stopPropagation:function(){Mt.stopPropagation()},preventDefault:function(){Mt.preventDefault()},nativeEvent:Mt.nativeEvent}))};return Z.createElement("span",{className:Ue,title:D,style:V,ref:n},Z.createElement("input",(0,S.Z)({},L,{className:"".concat(I,"-input"),ref:i,onChange:rt,disabled:X,checked:!!ve,type:P})),Z.createElement("span",{className:"".concat(I,"-inner")}))}),w=m},82234:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return A}});var S=a(45987),C=a(1413),$=a(71002),J=a(67294),j=["show"];function s(Z,e){if(!e.max)return!0;var _=e.strategy(Z);return _<=e.max}function A(Z,e){return J.useMemo(function(){var _={};e&&(_.show=(0,$.Z)(e)==="object"&&e.formatter?e.formatter:!!e),_=(0,C.Z)((0,C.Z)({},_),Z);var h=_,t=h.show,u=(0,S.Z)(h,j);return(0,C.Z)((0,C.Z)({},u),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:u.strategy||function(c){return c.length}})},[Z,e])}},67656:function(St,Pe,a){"use strict";a.r(Pe),a.d(Pe,{BaseInput:function(){return _},default:function(){return w}});var S=a(1413),C=a(87462),$=a(4942),J=a(71002),j=a(94184),s=a.n(j),A=a(67294),Z=a(87887),e=A.forwardRef(function(o,f){var T,I,U,V=o.inputElement,G=o.children,X=o.prefixCls,_e=o.prefix,x=o.suffix,g=o.addonBefore,P=o.addonAfter,D=o.className,K=o.style,L=o.disabled,i=o.readOnly,n=o.focused,N=o.triggerFocus,H=o.allowClear,ve=o.value,Oe=o.handleReset,Ue=o.hidden,rt=o.classes,Xe=o.classNames,Mt=o.dataAttrs,ge=o.styles,st=o.components,We=o.onClear,ue=G!=null?G:V,Y=(st==null?void 0:st.affixWrapper)||"span",Ee=(st==null?void 0:st.groupWrapper)||"span",B=(st==null?void 0:st.wrapper)||"span",he=(st==null?void 0:st.groupAddon)||"span",oe=(0,A.useRef)(null),Ge=function($e){var Ve;(Ve=oe.current)!==null&&Ve!==void 0&&Ve.contains($e.target)&&(N==null||N())},Ie=(0,Z.X3)(o),F=(0,A.cloneElement)(ue,{value:ve,className:s()((T=ue.props)===null||T===void 0?void 0:T.className,!Ie&&(Xe==null?void 0:Xe.variant))||null}),O=(0,A.useRef)(null);if(A.useImperativeHandle(f,function(){return{nativeElement:O.current||oe.current}}),Ie){var re=null;if(H){var de=!L&&!i&&ve,ee="".concat(X,"-clear-icon"),ce=(0,J.Z)(H)==="object"&&H!==null&&H!==void 0&&H.clearIcon?H.clearIcon:"\u2716";re=A.createElement("button",{type:"button",tabIndex:-1,onClick:function($e){Oe==null||Oe($e),We==null||We()},onMouseDown:function($e){return $e.preventDefault()},className:s()(ee,(0,$.Z)((0,$.Z)({},"".concat(ee,"-hidden"),!de),"".concat(ee,"-has-suffix"),!!x))},ce)}var se="".concat(X,"-affix-wrapper"),je=s()(se,(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},"".concat(X,"-disabled"),L),"".concat(se,"-disabled"),L),"".concat(se,"-focused"),n),"".concat(se,"-readonly"),i),"".concat(se,"-input-with-clear-btn"),x&&H&&ve),rt==null?void 0:rt.affixWrapper,Xe==null?void 0:Xe.affixWrapper,Xe==null?void 0:Xe.variant),Ze=(x||H)&&A.createElement("span",{className:s()("".concat(X,"-suffix"),Xe==null?void 0:Xe.suffix),style:ge==null?void 0:ge.suffix},re,x);F=A.createElement(Y,(0,C.Z)({className:je,style:ge==null?void 0:ge.affixWrapper,onClick:Ge},Mt==null?void 0:Mt.affixWrapper,{ref:oe}),_e&&A.createElement("span",{className:s()("".concat(X,"-prefix"),Xe==null?void 0:Xe.prefix),style:ge==null?void 0:ge.prefix},_e),F,Ze)}if((0,Z.He)(o)){var ut="".concat(X,"-group"),ht="".concat(ut,"-addon"),Nt="".concat(ut,"-wrapper"),He=s()("".concat(X,"-wrapper"),ut,rt==null?void 0:rt.wrapper,Xe==null?void 0:Xe.wrapper),Ne=s()(Nt,(0,$.Z)({},"".concat(Nt,"-disabled"),L),rt==null?void 0:rt.group,Xe==null?void 0:Xe.groupWrapper);F=A.createElement(Ee,{className:Ne,ref:O},A.createElement(B,{className:He},g&&A.createElement(he,{className:ht},g),F,P&&A.createElement(he,{className:ht},P)))}return A.cloneElement(F,{className:s()((I=F.props)===null||I===void 0?void 0:I.className,D)||null,style:(0,S.Z)((0,S.Z)({},(U=F.props)===null||U===void 0?void 0:U.style),K),hidden:Ue})}),_=e,h=a(74902),t=a(97685),u=a(45987),c=a(21770),d=a(98423),v=a(82234),l=["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(o,f){var T=o.autoComplete,I=o.onChange,U=o.onFocus,V=o.onBlur,G=o.onPressEnter,X=o.onKeyDown,_e=o.onKeyUp,x=o.prefixCls,g=x===void 0?"rc-input":x,P=o.disabled,D=o.htmlSize,K=o.className,L=o.maxLength,i=o.suffix,n=o.showCount,N=o.count,H=o.type,ve=H===void 0?"text":H,Oe=o.classes,Ue=o.classNames,rt=o.styles,Xe=o.onCompositionStart,Mt=o.onCompositionEnd,ge=(0,u.Z)(o,l),st=(0,A.useState)(!1),We=(0,t.Z)(st,2),ue=We[0],Y=We[1],Ee=(0,A.useRef)(!1),B=(0,A.useRef)(!1),he=(0,A.useRef)(null),oe=(0,A.useRef)(null),Ge=function(lt){he.current&&(0,Z.nH)(he.current,lt)},Ie=(0,c.Z)(o.defaultValue,{value:o.value}),F=(0,t.Z)(Ie,2),O=F[0],re=F[1],de=O==null?"":String(O),ee=(0,A.useState)(null),ce=(0,t.Z)(ee,2),se=ce[0],je=ce[1],Ze=(0,v.Z)(N,n),ut=Ze.max||L,ht=Ze.strategy(de),Nt=!!ut&&ht>ut;(0,A.useImperativeHandle)(f,function(){var mt;return{focus:Ge,blur:function(){var bt;(bt=he.current)===null||bt===void 0||bt.blur()},setSelectionRange:function(bt,on,pn){var Yt;(Yt=he.current)===null||Yt===void 0||Yt.setSelectionRange(bt,on,pn)},select:function(){var bt;(bt=he.current)===null||bt===void 0||bt.select()},input:he.current,nativeElement:((mt=oe.current)===null||mt===void 0?void 0:mt.nativeElement)||he.current}}),(0,A.useEffect)(function(){B.current&&(B.current=!1),Y(function(mt){return mt&&P?!1:mt})},[P]);var He=function(lt,bt,on){var pn=bt;if(!Ee.current&&Ze.exceedFormatter&&Ze.max&&Ze.strategy(bt)>Ze.max){if(pn=Ze.exceedFormatter(bt,{max:Ze.max}),bt!==pn){var Yt,ie;je([((Yt=he.current)===null||Yt===void 0?void 0:Yt.selectionStart)||0,((ie=he.current)===null||ie===void 0?void 0:ie.selectionEnd)||0])}}else if(on.source==="compositionEnd")return;re(pn),he.current&&(0,Z.rJ)(he.current,lt,I,pn)};(0,A.useEffect)(function(){if(se){var mt;(mt=he.current)===null||mt===void 0||mt.setSelectionRange.apply(mt,(0,h.Z)(se))}},[se]);var Ne=function(lt){He(lt,lt.target.value,{source:"change"})},Me=function(lt){Ee.current=!1,He(lt,lt.currentTarget.value,{source:"compositionEnd"}),Mt==null||Mt(lt)},$e=function(lt){G&<.key==="Enter"&&!B.current&&(B.current=!0,G(lt)),X==null||X(lt)},Ve=function(lt){lt.key==="Enter"&&(B.current=!1),_e==null||_e(lt)},vt=function(lt){Y(!0),U==null||U(lt)},ct=function(lt){B.current&&(B.current=!1),Y(!1),V==null||V(lt)},Ct=function(lt){re(""),Ge(),he.current&&(0,Z.rJ)(he.current,lt,I)},Ke=Nt&&"".concat(g,"-out-of-range"),ot=function(){var lt=(0,d.Z)(o,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return A.createElement("input",(0,C.Z)({autoComplete:T},lt,{onChange:Ne,onFocus:vt,onBlur:ct,onKeyDown:$e,onKeyUp:Ve,className:s()(g,(0,$.Z)({},"".concat(g,"-disabled"),P),Ue==null?void 0:Ue.input),style:rt==null?void 0:rt.input,ref:he,size:D,type:ve,onCompositionStart:function(on){Ee.current=!0,Xe==null||Xe(on)},onCompositionEnd:Me}))},Lt=function(){var lt=Number(ut)>0;if(i||Ze.show){var bt=Ze.showFormatter?Ze.showFormatter({value:de,count:ht,maxLength:ut}):"".concat(ht).concat(lt?" / ".concat(ut):"");return A.createElement(A.Fragment,null,Ze.show&&A.createElement("span",{className:s()("".concat(g,"-show-count-suffix"),(0,$.Z)({},"".concat(g,"-show-count-has-suffix"),!!i),Ue==null?void 0:Ue.count),style:(0,S.Z)({},rt==null?void 0:rt.count)},bt),i)}return null};return A.createElement(_,(0,C.Z)({},ge,{prefixCls:g,className:s()(K,Ke),handleReset:Ct,value:de,focused:ue,triggerFocus:Ge,suffix:Lt(),disabled:P,classes:Oe,classNames:Ue,styles:rt}),ot())}),m=y,w=m},87887:function(St,Pe,a){"use strict";a.d(Pe,{He:function(){return S},X3:function(){return C},nH:function(){return j},rJ:function(){return J}});function S(s){return!!(s.addonBefore||s.addonAfter)}function C(s){return!!(s.prefix||s.suffix||s.allowClear)}function $(s,A,Z){var e=A.cloneNode(!0),_=Object.create(s,{target:{value:e},currentTarget:{value:e}});return e.value=Z,typeof A.selectionStart=="number"&&typeof A.selectionEnd=="number"&&(e.selectionStart=A.selectionStart,e.selectionEnd=A.selectionEnd),e.setSelectionRange=function(){A.setSelectionRange.apply(A,arguments)},_}function J(s,A,Z,e){if(Z){var _=A;if(A.type==="click"){_=$(A,s,""),Z(_);return}if(s.type!=="file"&&e!==void 0){_=$(A,s,e),Z(_);return}Z(_)}}function j(s,A){if(s){s.focus(A);var Z=A||{},e=Z.cursor;if(e){var _=s.value.length;switch(e){case"start":s.setSelectionRange(0,0);break;case"end":s.setSelectionRange(_,_);break;default:s.setSelectionRange(0,_)}}}}},78595:function(St,Pe,a){"use strict";a.d(Pe,{iz:function(){return di},ck:function(){return dn},BW:function(){return hr},sN:function(){return dn},Wd:function(){return mi},ZP:function(){return pa},Xl:function(){return se}});var S=a(87462),C=a(4942),$=a(1413),J=a(74902),j=a(97685),s=a(45987),A=a(94184),Z=a.n(A),e=a(67294),_=a(48555);function h(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var t=h()?e.useLayoutEffect:e.useEffect,u=function(we,ke){var me=e.useRef(!0);t(function(){return we(me.current)},ke),t(function(){return me.current=!1,function(){me.current=!0}},[])},c=function(we,ke){u(function(me){if(!me)return we()},ke)},d=u,v=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],l=void 0;function y(q,we){var ke=q.prefixCls,me=q.invalidate,Le=q.item,Be=q.renderItem,Se=q.responsive,Qe=q.responsiveDisabled,Ft=q.registerSize,Zt=q.itemKey,Cn=q.className,hn=q.style,In=q.children,Xn=q.display,Rn=q.order,nr=q.component,Kn=nr===void 0?"div":nr,p=(0,s.Z)(q,v),k=Se&&!Xn;function M(xt){Ft(Zt,xt)}e.useEffect(function(){return function(){M(null)}},[]);var te=Be&&Le!==l?Be(Le):In,xe;me||(xe={opacity:k?0:1,height:k?0:l,overflowY:k?"hidden":l,order:Se?Rn:l,pointerEvents:k?"none":l,position:k?"absolute":l});var De={};k&&(De["aria-hidden"]=!0);var Ye=e.createElement(Kn,(0,S.Z)({className:Z()(!me&&ke,Cn),style:(0,$.Z)((0,$.Z)({},xe),hn)},De,p,{ref:we}),te);return Se&&(Ye=e.createElement(_.Z,{onResize:function(gt){var Vt=gt.offsetWidth;M(Vt)},disabled:Qe},Ye)),Ye}var m=e.forwardRef(y);m.displayName="Item";var w=m;function o(q){var we=e.useRef();we.current=q;var ke=e.useCallback(function(){for(var me,Le=arguments.length,Be=new Array(Le),Se=0;Se<Le;Se++)Be[Se]=arguments[Se];return(me=we.current)===null||me===void 0?void 0:me.call.apply(me,[we].concat(Be))},[]);return ke}var f=a(73935),T=function(we){return+setTimeout(we,16)},I=function(we){return clearTimeout(we)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(T=function(we){return window.requestAnimationFrame(we)},I=function(we){return window.cancelAnimationFrame(we)});var U=0,V=new Map;function G(q){V.delete(q)}var X=function(we){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;U+=1;var me=U;function Le(Be){if(Be===0)G(me),we();else{var Se=T(function(){Le(Be-1)});V.set(me,Se)}}return Le(ke),me};X.cancel=function(q){var we=V.get(q);return G(we),I(we)};var _e=X;function x(q){if(typeof MessageChannel=="undefined")_e(q);else{var we=new MessageChannel;we.port1.onmessage=function(){return q()},we.port2.postMessage(void 0)}}function g(){var q=e.useRef(null),we=function(me){q.current||(q.current=[],x(function(){(0,f.unstable_batchedUpdates)(function(){q.current.forEach(function(Le){Le()}),q.current=null})})),q.current.push(me)};return we}function P(q,we){var ke=e.useState(we),me=(0,j.Z)(ke,2),Le=me[0],Be=me[1],Se=o(function(Qe){q(function(){Be(Qe)})});return[Le,Se]}var D=e.createContext(null),K=["component"],L=["className"],i=["className"],n=function(we,ke){var me=e.useContext(D);if(!me){var Le=we.component,Be=Le===void 0?"div":Le,Se=(0,s.Z)(we,K);return e.createElement(Be,(0,S.Z)({},Se,{ref:ke}))}var Qe=me.className,Ft=(0,s.Z)(me,L),Zt=we.className,Cn=(0,s.Z)(we,i);return e.createElement(D.Provider,{value:null},e.createElement(w,(0,S.Z)({ref:ke,className:Z()(Qe,Zt)},Ft,Cn)))},N=e.forwardRef(n);N.displayName="RawItem";var H=N,ve=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Oe="responsive",Ue="invalidate";function rt(q){return"+ ".concat(q.length," ...")}function Xe(q,we){var ke=q.prefixCls,me=ke===void 0?"rc-overflow":ke,Le=q.data,Be=Le===void 0?[]:Le,Se=q.renderItem,Qe=q.renderRawItem,Ft=q.itemKey,Zt=q.itemWidth,Cn=Zt===void 0?10:Zt,hn=q.ssr,In=q.style,Xn=q.className,Rn=q.maxCount,nr=q.renderRest,Kn=q.renderRawRest,p=q.suffix,k=q.component,M=k===void 0?"div":k,te=q.itemComponent,xe=q.onVisibleChange,De=(0,s.Z)(q,ve),Ye=hn==="full",xt=g(),gt=P(xt,null),Vt=(0,j.Z)(gt,2),nt=Vt[0],at=Vt[1],Et=nt||0,kt=P(xt,new Map),Jt=(0,j.Z)(kt,2),Fn=Jt[0],En=Jt[1],Bn=P(xt,0),Wn=(0,j.Z)(Bn,2),An=Wn[0],rr=Wn[1],sr=P(xt,0),ln=(0,j.Z)(sr,2),Ir=ln[0],gr=ln[1],xr=P(xt,0),ri=(0,j.Z)(xr,2),Rr=ri[0],Pr=ri[1],pr=(0,e.useState)(null),Nr=(0,j.Z)(pr,2),zr=Nr[0],Jr=Nr[1],qr=(0,e.useState)(null),yr=(0,j.Z)(qr,2),Lr=yr[0],Jn=yr[1],ui=e.useMemo(function(){return Lr===null&&Ye?Number.MAX_SAFE_INTEGER:Lr||0},[Lr,nt]),ii=(0,e.useState)(!1),Ar=(0,j.Z)(ii,2),Yn=Ar[0],ai=Ar[1],Oi="".concat(me,"-item"),Si=Math.max(An,Ir),Zr=Rn===Oe,br=Be.length&&Zr,Ci=Rn===Ue,Zi=br||typeof Rn=="number"&&Be.length>Rn,Mr=(0,e.useMemo)(function(){var xn=Be;return br?nt===null&&Ye?xn=Be:xn=Be.slice(0,Math.min(Be.length,Et/Cn)):typeof Rn=="number"&&(xn=Be.slice(0,Rn)),xn},[Be,Cn,nt,Rn,br]),ei=(0,e.useMemo)(function(){return br?Be.slice(ui+1):Be.slice(Mr.length)},[Be,Mr,br,ui]),Kr=(0,e.useCallback)(function(xn,Qn){var ir;return typeof Ft=="function"?Ft(xn):(ir=Ft&&(xn==null?void 0:xn[Ft]))!==null&&ir!==void 0?ir:Qn},[Ft]),Tr=(0,e.useCallback)(Se||function(xn){return xn},[Se]);function si(xn,Qn,ir){Lr===xn&&(Qn===void 0||Qn===zr)||(Jn(xn),ir||(ai(xn<Be.length-1),xe==null||xe(xn)),Qn!==void 0&&Jr(Qn))}function li(xn,Qn){at(Qn.clientWidth)}function Ur(xn,Qn){En(function(ir){var kr=new Map(ir);return Qn===null?kr.delete(xn):kr.set(xn,Qn),kr})}function lr(xn,Qn){gr(Qn),rr(Ir)}function cr(xn,Qn){Pr(Qn)}function Wr(xn){return Fn.get(Kr(Mr[xn],xn))}d(function(){if(Et&&typeof Si=="number"&&Mr){var xn=Rr,Qn=Mr.length,ir=Qn-1;if(!Qn){si(0,null);return}for(var kr=0;kr<Qn;kr+=1){var vr=Wr(kr);if(Ye&&(vr=vr||0),vr===void 0){si(kr-1,void 0,!0);break}if(xn+=vr,ir===0&&xn<=Et||kr===ir-1&&xn+Wr(ir)<=Et){si(ir,null);break}else if(xn+Si>Et){si(kr-1,xn-vr-Rr+Ir);break}}p&&Wr(0)+Rr>Et&&Jr(null)}},[Et,Fn,Ir,Rr,Kr,Mr]);var va=Yn&&!!ei.length,or={};zr!==null&&br&&(or={position:"absolute",left:zr,top:0});var Hi={prefixCls:Oi,responsive:br,component:te,invalidate:Ci},ta=Qe?function(xn,Qn){var ir=Kr(xn,Qn);return e.createElement(D.Provider,{key:ir,value:(0,$.Z)((0,$.Z)({},Hi),{},{order:Qn,item:xn,itemKey:ir,registerSize:Ur,display:Qn<=ui})},Qe(xn,Qn))}:function(xn,Qn){var ir=Kr(xn,Qn);return e.createElement(w,(0,S.Z)({},Hi,{order:Qn,key:ir,item:xn,renderItem:Tr,itemKey:ir,registerSize:Ur,display:Qn<=ui}))},Hr,Ki={order:va?ui:Number.MAX_SAFE_INTEGER,className:"".concat(Oi,"-rest"),registerSize:lr,display:va};if(Kn)Kn&&(Hr=e.createElement(D.Provider,{value:(0,$.Z)((0,$.Z)({},Hi),Ki)},Kn(ei)));else{var yi=nr||rt;Hr=e.createElement(w,(0,S.Z)({},Hi,Ki),typeof yi=="function"?yi(ei):yi)}var Vi=e.createElement(M,(0,S.Z)({className:Z()(!Ci&&me,Xn),style:In,ref:we},De),Mr.map(ta),Zi?Hr:null,p&&e.createElement(w,(0,S.Z)({},Hi,{responsive:Zr,responsiveDisabled:!br,order:ui,className:"".concat(Oi,"-suffix"),registerSize:cr,display:!0,style:or}),p));return Zr&&(Vi=e.createElement(_.Z,{onResize:li,disabled:!br},Vi)),Vi}var Mt=e.forwardRef(Xe);Mt.displayName="Overflow",Mt.Item=H,Mt.RESPONSIVE=Oe,Mt.INVALIDATE=Ue;var ge=Mt,st=ge,We=a(21770),ue=a(91881),Y=a(80334),Ee=e.createContext(null);function B(q,we){return q===void 0?null:"".concat(q,"-").concat(we)}function he(q){var we=e.useContext(Ee);return B(we,q)}var oe=a(56982),Ge=["children","locked"],Ie=e.createContext(null);function F(q,we){var ke=(0,$.Z)({},q);return Object.keys(we).forEach(function(me){var Le=we[me];Le!==void 0&&(ke[me]=Le)}),ke}function O(q){var we=q.children,ke=q.locked,me=(0,s.Z)(q,Ge),Le=e.useContext(Ie),Be=(0,oe.Z)(function(){return F(Le,me)},[Le,me],function(Se,Qe){return!ke&&(Se[0]!==Qe[0]||!(0,ue.Z)(Se[1],Qe[1],!0))});return e.createElement(Ie.Provider,{value:Be},we)}var re=[],de=e.createContext(null);function ee(){return e.useContext(de)}var ce=e.createContext(re);function se(q){var we=e.useContext(ce);return e.useMemo(function(){return q!==void 0?[].concat((0,J.Z)(we),[q]):we},[we,q])}var je=e.createContext(null),Ze=e.createContext({}),ut=Ze,ht=function(q){if(!q)return!1;if(q instanceof Element){if(q.offsetParent)return!0;if(q.getBBox){var we=q.getBBox(),ke=we.width,me=we.height;if(ke||me)return!0}if(q.getBoundingClientRect){var Le=q.getBoundingClientRect(),Be=Le.width,Se=Le.height;if(Be||Se)return!0}}return!1};function Nt(q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(ht(q)){var ke=q.nodeName.toLowerCase(),me=["input","select","textarea","button"].includes(ke)||q.isContentEditable||ke==="a"&&!!q.getAttribute("href"),Le=q.getAttribute("tabindex"),Be=Number(Le),Se=null;return Le&&!Number.isNaN(Be)?Se=Be:me&&Se===null&&(Se=0),me&&q.disabled&&(Se=null),Se!==null&&(Se>=0||we&&Se<0)}return!1}function He(q){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ke=(0,J.Z)(q.querySelectorAll("*")).filter(function(me){return Nt(me,we)});return Nt(q,we)&&ke.unshift(q),ke}var Ne=null;function Me(){Ne=document.activeElement}function $e(){Ne=null}function Ve(){if(Ne)try{Ne.focus()}catch(q){}}function vt(q,we){if(we.keyCode===9){var ke=He(q),me=ke[we.shiftKey?0:ke.length-1],Le=me===document.activeElement||q===document.activeElement;if(Le){var Be=ke[we.shiftKey?ke.length-1:0];Be.focus(),we.preventDefault()}}}var ct=a(15105),Ct=a(75164),Ke=ct.Z.LEFT,ot=ct.Z.RIGHT,Lt=ct.Z.UP,mt=ct.Z.DOWN,lt=ct.Z.ENTER,bt=ct.Z.ESC,on=ct.Z.HOME,pn=ct.Z.END,Yt=[Lt,mt,Ke,ot];function ie(q,we,ke,me){var Le,Be="prev",Se="next",Qe="children",Ft="parent";if(q==="inline"&&me===lt)return{inlineTrigger:!0};var Zt=(0,C.Z)((0,C.Z)({},Lt,Be),mt,Se),Cn=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},Ke,ke?Se:Be),ot,ke?Be:Se),mt,Qe),lt,Qe),hn=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},Lt,Be),mt,Se),lt,Qe),bt,Ft),Ke,ke?Qe:Ft),ot,ke?Ft:Qe),In={inline:Zt,horizontal:Cn,vertical:hn,inlineSub:Zt,horizontalSub:hn,verticalSub:hn},Xn=(Le=In["".concat(q).concat(we?"":"Sub")])===null||Le===void 0?void 0:Le[me];switch(Xn){case Be:return{offset:-1,sibling:!0};case Se:return{offset:1,sibling:!0};case Ft:return{offset:-1,sibling:!1};case Qe:return{offset:1,sibling:!1};default:return null}}function Te(q){for(var we=q;we;){if(we.getAttribute("data-menu-list"))return we;we=we.parentElement}return null}function ye(q,we){for(var ke=q||document.activeElement;ke;){if(we.has(ke))return ke;ke=ke.parentElement}return null}function pe(q,we){var ke=He(q,!0);return ke.filter(function(me){return we.has(me)})}function et(q,we,ke){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!q)return null;var Le=pe(q,we),Be=Le.length,Se=Le.findIndex(function(Qe){return ke===Qe});return me<0?Se===-1?Se=Be-1:Se-=1:me>0&&(Se+=1),Se=(Se+Be)%Be,Le[Se]}var qe=function(we,ke){var me=new Set,Le=new Map,Be=new Map;return we.forEach(function(Se){var Qe=document.querySelector("[data-menu-id='".concat(B(ke,Se),"']"));Qe&&(me.add(Qe),Be.set(Qe,Se),Le.set(Se,Qe))}),{elements:me,key2element:Le,element2key:Be}};function ft(q,we,ke,me,Le,Be,Se,Qe,Ft,Zt){var Cn=e.useRef(),hn=e.useRef();hn.current=we;var In=function(){Ct.Z.cancel(Cn.current)};return e.useEffect(function(){return function(){In()}},[]),function(Xn){var Rn=Xn.which;if([].concat(Yt,[lt,bt,on,pn]).includes(Rn)){var nr=Be(),Kn=qe(nr,me),p=Kn,k=p.elements,M=p.key2element,te=p.element2key,xe=M.get(we),De=ye(xe,k),Ye=te.get(De),xt=ie(q,Se(Ye,!0).length===1,ke,Rn);if(!xt&&Rn!==on&&Rn!==pn)return;(Yt.includes(Rn)||[on,pn].includes(Rn))&&Xn.preventDefault();var gt=function(En){if(En){var Bn=En,Wn=En.querySelector("a");Wn!=null&&Wn.getAttribute("href")&&(Bn=Wn);var An=te.get(En);Qe(An),In(),Cn.current=(0,Ct.Z)(function(){hn.current===An&&Bn.focus()})}};if([on,pn].includes(Rn)||xt.sibling||!De){var Vt;!De||q==="inline"?Vt=Le.current:Vt=Te(De);var nt,at=pe(Vt,k);Rn===on?nt=at[0]:Rn===pn?nt=at[at.length-1]:nt=et(Vt,k,De,xt.offset),gt(nt)}else if(xt.inlineTrigger)Ft(Ye);else if(xt.offset>0)Ft(Ye,!0),In(),Cn.current=(0,Ct.Z)(function(){Kn=qe(nr,me);var Fn=De.getAttribute("aria-controls"),En=document.getElementById(Fn),Bn=et(En,Kn.elements);gt(Bn)},5);else if(xt.offset<0){var Et=Se(Ye,!0),kt=Et[Et.length-2],Jt=M.get(kt);Ft(kt,!1),gt(Jt)}}Zt==null||Zt(Xn)}}function Rt(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)},_t="rc-menu-more";function jt(){var q=e.useState({}),we=(0,j.Z)(q,2),ke=we[1],me=(0,e.useRef)(new Map),Le=(0,e.useRef)(new Map),Be=e.useState([]),Se=(0,j.Z)(Be,2),Qe=Se[0],Ft=Se[1],Zt=(0,e.useRef)(0),Cn=(0,e.useRef)(!1),hn=function(){Cn.current||ke({})},In=(0,e.useCallback)(function(M,te){var xe=Kt(te);Le.current.set(xe,M),me.current.set(M,xe),Zt.current+=1;var De=Zt.current;Rt(function(){De===Zt.current&&hn()})},[]),Xn=(0,e.useCallback)(function(M,te){var xe=Kt(te);Le.current.delete(xe),me.current.delete(M)},[]),Rn=(0,e.useCallback)(function(M){Ft(M)},[]),nr=(0,e.useCallback)(function(M,te){var xe=me.current.get(M)||"",De=Pt(xe);return te&&Qe.includes(De[0])&&De.unshift(_t),De},[Qe]),Kn=(0,e.useCallback)(function(M,te){return M.filter(function(xe){return xe!==void 0}).some(function(xe){var De=nr(xe,!0);return De.includes(te)})},[nr]),p=function(){var te=(0,J.Z)(me.current.keys());return Qe.length&&te.push(_t),te},k=(0,e.useCallback)(function(M){var te="".concat(me.current.get(M)).concat(Ht),xe=new Set;return(0,J.Z)(Le.current.keys()).forEach(function(De){De.startsWith(te)&&xe.add(Le.current.get(De))}),xe},[]);return e.useEffect(function(){return function(){Cn.current=!0}},[]),{registerPath:In,unregisterPath:Xn,refreshOverflowKeys:Rn,isSubPathKey:Kn,getKeyPath:nr,getKeys:p,getSubPathKeys:k}}function It(q){var we=e.useRef(q);we.current=q;var ke=e.useCallback(function(){for(var me,Le=arguments.length,Be=new Array(Le),Se=0;Se<Le;Se++)Be[Se]=arguments[Se];return(me=we.current)===null||me===void 0?void 0:me.call.apply(me,[we].concat(Be))},[]);return q?ke:void 0}var Bt=Math.random().toFixed(5).toString().slice(2),dt=0;function Fe(q){var we=(0,We.Z)(q,{value:q}),ke=(0,j.Z)(we,2),me=ke[0],Le=ke[1];return e.useEffect(function(){dt+=1;var Be="".concat(Bt,"-").concat(dt);Le("rc-menu-uuid-".concat(Be))},[]),me}var Je=a(15671),Tt=a(43144),tn=a(60136),cn=a(29388),Zn=a(98423),ar=a(42550);function kn(q,we,ke,me){var Le=e.useContext(Ie),Be=Le.activeKey,Se=Le.onActive,Qe=Le.onInactive,Ft={active:Be===q};return we||(Ft.onMouseEnter=function(Zt){ke==null||ke({key:q,domEvent:Zt}),Se(q)},Ft.onMouseLeave=function(Zt){me==null||me({key:q,domEvent:Zt}),Qe(q)}),Ft}function mn(q){var we=e.useContext(Ie),ke=we.mode,me=we.rtl,Le=we.inlineIndent;if(ke!=="inline")return null;var Be=q;return me?{paddingRight:Be*Le}:{paddingLeft:Be*Le}}function On(q){var we=q.icon,ke=q.props,me=q.children,Le;return we===null||we===!1?null:(typeof we=="function"?Le=e.createElement(we,(0,$.Z)({},ke)):typeof we!="boolean"&&(Le=we),Le||me||null)}var Gn=["item"];function nn(q){var we=q.item,ke=(0,s.Z)(q,Gn);return Object.defineProperty(ke,"item",{get:function(){return(0,Y.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),we}}),ke}var zn=["title","attribute","elementRef"],Dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],un=["active"],gn=function(q){(0,tn.Z)(ke,q);var we=(0,cn.Z)(ke);function ke(){return(0,Je.Z)(this,ke),we.apply(this,arguments)}return(0,Tt.Z)(ke,[{key:"render",value:function(){var Le=this.props,Be=Le.title,Se=Le.attribute,Qe=Le.elementRef,Ft=(0,s.Z)(Le,zn),Zt=(0,Zn.Z)(Ft,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Y.ZP)(!Se,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),e.createElement(st.Item,(0,S.Z)({},Se,{title:typeof Be=="string"?Be:void 0},Zt,{ref:Qe}))}}]),ke}(e.Component),yn=e.forwardRef(function(q,we){var ke=q.style,me=q.className,Le=q.eventKey,Be=q.warnKey,Se=q.disabled,Qe=q.itemIcon,Ft=q.children,Zt=q.role,Cn=q.onMouseEnter,hn=q.onMouseLeave,In=q.onClick,Xn=q.onKeyDown,Rn=q.onFocus,nr=(0,s.Z)(q,Dn),Kn=he(Le),p=e.useContext(Ie),k=p.prefixCls,M=p.onItemClick,te=p.disabled,xe=p.overflowDisabled,De=p.itemIcon,Ye=p.selectedKeys,xt=p.onActive,gt=e.useContext(ut),Vt=gt._internalRenderMenuItem,nt="".concat(k,"-item"),at=e.useRef(),Et=e.useRef(),kt=te||Se,Jt=(0,ar.x1)(we,Et),Fn=se(Le),En=function(pr){return{key:Le,keyPath:(0,J.Z)(Fn).reverse(),item:at.current,domEvent:pr}},Bn=Qe||De,Wn=kn(Le,kt,Cn,hn),An=Wn.active,rr=(0,s.Z)(Wn,un),sr=Ye.includes(Le),ln=mn(Fn.length),Ir=function(pr){if(!kt){var Nr=En(pr);In==null||In(nn(Nr)),M(Nr)}},gr=function(pr){if(Xn==null||Xn(pr),pr.which===ct.Z.ENTER){var Nr=En(pr);In==null||In(nn(Nr)),M(Nr)}},xr=function(pr){xt(Le),Rn==null||Rn(pr)},ri={};q.role==="option"&&(ri["aria-selected"]=sr);var Rr=e.createElement(gn,(0,S.Z)({ref:at,elementRef:Jt,role:Zt===null?"none":Zt||"menuitem",tabIndex:Se?null:-1,"data-menu-id":xe&&Kn?null:Kn},(0,Zn.Z)(nr,["extra"]),rr,ri,{component:"li","aria-disabled":Se,style:(0,$.Z)((0,$.Z)({},ln),ke),className:Z()(nt,(0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(nt,"-active"),An),"".concat(nt,"-selected"),sr),"".concat(nt,"-disabled"),kt),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 ke=q.eventKey,me=ee(),Le=se(ke);return e.useEffect(function(){if(me)return me.registerPath(ke,Le),function(){me.unregisterPath(ke,Le)}},[Le]),me?null:e.createElement(yn,(0,S.Z)({},q,{ref:we}))}var dn=e.forwardRef(Sn),Mn=["className","children"],Un=function(we,ke){var me=we.className,Le=we.children,Be=(0,s.Z)(we,Mn),Se=e.useContext(Ie),Qe=Se.prefixCls,Ft=Se.mode,Zt=Se.rtl;return e.createElement("ul",(0,S.Z)({className:Z()(Qe,Zt&&"".concat(Qe,"-rtl"),"".concat(Qe,"-sub"),"".concat(Qe,"-").concat(Ft==="inline"?"inline":"vertical"),me),role:"menu"},Be,{"data-menu-list":!0,ref:ke}),Le)},er=e.forwardRef(Un);er.displayName="SubMenuList";var ur=er,Sr=a(50344);function Ei(q,we){return(0,Sr.Z)(q).map(function(ke,me){if(e.isValidElement(ke)){var Le,Be,Se=ke.key,Qe=(Le=(Be=ke.props)===null||Be===void 0?void 0:Be.eventKey)!==null&&Le!==void 0?Le:Se,Ft=Qe==null;Ft&&(Qe="tmp_key-".concat([].concat((0,J.Z)(we),[me]).join("-")));var Zt={key:Qe,eventKey:Qe};return e.cloneElement(ke,Zt)}return ke})}var Wi=a(98280),Er={adjustX:1,adjustY:1},Ji={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}},qi={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}},Ti=null;function Or(q,we,ke){if(we)return we;if(ke)return ke[q]||ke.other}var Yr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Br(q){var we=q.prefixCls,ke=q.visible,me=q.children,Le=q.popup,Be=q.popupStyle,Se=q.popupClassName,Qe=q.popupOffset,Ft=q.disabled,Zt=q.mode,Cn=q.onVisibleChange,hn=e.useContext(Ie),In=hn.getPopupContainer,Xn=hn.rtl,Rn=hn.subMenuOpenDelay,nr=hn.subMenuCloseDelay,Kn=hn.builtinPlacements,p=hn.triggerSubMenuAction,k=hn.forceSubMenuRender,M=hn.rootClassName,te=hn.motion,xe=hn.defaultMotions,De=e.useState(!1),Ye=(0,j.Z)(De,2),xt=Ye[0],gt=Ye[1],Vt=Xn?(0,$.Z)((0,$.Z)({},qi),Kn):(0,$.Z)((0,$.Z)({},Ji),Kn),nt=Yr[Zt],at=Or(Zt,te,xe),Et=e.useRef(at);Zt!=="inline"&&(Et.current=at);var kt=(0,$.Z)((0,$.Z)({},Et.current),{},{leavedClassName:"".concat(we,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Jt=e.useRef();return e.useEffect(function(){return Jt.current=(0,Ct.Z)(function(){gt(ke)}),function(){Ct.Z.cancel(Jt.current)}},[ke]),e.createElement(Wi.Z,{prefixCls:we,popupClassName:Z()("".concat(we,"-popup"),(0,C.Z)({},"".concat(we,"-rtl"),Xn),Se,M),stretch:Zt==="horizontal"?"minWidth":null,getPopupContainer:In,builtinPlacements:Vt,popupPlacement:nt,popupVisible:xt,popup:Le,popupStyle:Be,popupAlign:Qe&&{offset:Qe},action:Ft?[]:[p],mouseEnterDelay:Rn,mouseLeaveDelay:nr,onPopupVisibleChange:Cn,forceRender:k,popupMotion:kt,fresh:!0},me)}var jr=a(62874);function _i(q){var we=q.id,ke=q.open,me=q.keyPath,Le=q.children,Be="inline",Se=e.useContext(Ie),Qe=Se.prefixCls,Ft=Se.forceSubMenuRender,Zt=Se.motion,Cn=Se.defaultMotions,hn=Se.mode,In=e.useRef(!1);In.current=hn===Be;var Xn=e.useState(!In.current),Rn=(0,j.Z)(Xn,2),nr=Rn[0],Kn=Rn[1],p=In.current?ke:!1;e.useEffect(function(){In.current&&Kn(!1)},[hn]);var k=(0,$.Z)({},Or(Be,Zt,Cn));me.length>1&&(k.motionAppear=!1);var M=k.onVisibleChanged;return k.onVisibleChanged=function(te){return!In.current&&!te&&Kn(!0),M==null?void 0:M(te)},nr?null:e.createElement(O,{mode:Be,locked:!In.current},e.createElement(jr.Z,(0,S.Z)({visible:p},k,{forceRender:Ft,removeOnLeave:!1,leavedClassName:"".concat(Qe,"-hidden")}),function(te){var xe=te.className,De=te.style;return e.createElement(ur,{id:we,className:xe,style:De},Le)}))}var oi=["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 ke=q.style,me=q.className,Le=q.title,Be=q.eventKey,Se=q.warnKey,Qe=q.disabled,Ft=q.internalPopupClose,Zt=q.children,Cn=q.itemIcon,hn=q.expandIcon,In=q.popupClassName,Xn=q.popupOffset,Rn=q.popupStyle,nr=q.onClick,Kn=q.onMouseEnter,p=q.onMouseLeave,k=q.onTitleClick,M=q.onTitleMouseEnter,te=q.onTitleMouseLeave,xe=(0,s.Z)(q,oi),De=he(Be),Ye=e.useContext(Ie),xt=Ye.prefixCls,gt=Ye.mode,Vt=Ye.openKeys,nt=Ye.disabled,at=Ye.overflowDisabled,Et=Ye.activeKey,kt=Ye.selectedKeys,Jt=Ye.itemIcon,Fn=Ye.expandIcon,En=Ye.onItemClick,Bn=Ye.onOpenChange,Wn=Ye.onActive,An=e.useContext(ut),rr=An._internalRenderSubMenuItem,sr=e.useContext(je),ln=sr.isSubPathKey,Ir=se(),gr="".concat(xt,"-submenu"),xr=nt||Qe,ri=e.useRef(),Rr=e.useRef(),Pr=Cn!=null?Cn:Jt,pr=hn!=null?hn:Fn,Nr=Vt.includes(Be),zr=!at&&Nr,Jr=ln(kt,Be),qr=kn(Be,xr,M,te),yr=qr.active,Lr=(0,s.Z)(qr,dr),Jn=e.useState(!1),ui=(0,j.Z)(Jn,2),ii=ui[0],Ar=ui[1],Yn=function(cr){xr||Ar(cr)},ai=function(cr){Yn(!0),Kn==null||Kn({key:Be,domEvent:cr})},Oi=function(cr){Yn(!1),p==null||p({key:Be,domEvent:cr})},Si=e.useMemo(function(){return yr||(gt!=="inline"?ii||ln([Et],Be):!1)},[gt,yr,Et,ii,Be,ln]),Zr=mn(Ir.length),br=function(cr){xr||(k==null||k({key:Be,domEvent:cr}),gt==="inline"&&Bn(Be,!Nr))},Ci=It(function(lr){nr==null||nr(nn(lr)),En(lr)}),Zi=function(cr){gt!=="inline"&&Bn(Be,cr)},Mr=function(){Wn(Be)},ei=De&&"".concat(De,"-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,S.Z)({role:"menuitem",style:Zr,className:"".concat(gr,"-title"),tabIndex:xr?null:-1,ref:ri,title:typeof Le=="string"?Le:null,"data-menu-id":at&&De?null:De,"aria-expanded":zr,"aria-haspopup":!0,"aria-controls":ei,"aria-disabled":xr,onClick:br,onFocus:Mr},Lr),Le,Kr),si=e.useRef(gt);if(gt!=="inline"&&Ir.length>1?si.current="vertical":si.current=gt,!at){var li=si.current;Tr=e.createElement(Br,{mode:li,prefixCls:gr,visible:!Ft&&zr&>!=="inline",popupClassName:In,popupOffset:Xn,popupStyle:Rn,popup:e.createElement(O,{mode:li==="horizontal"?"vertical":li},e.createElement(ur,{id:ei,ref:Rr},Zt)),disabled:xr,onVisibleChange:Zi},Tr)}var Ur=e.createElement(st.Item,(0,S.Z)({ref:we,role:"none"},xe,{component:"li",style:ke,className:Z()(gr,"".concat(gr,"-").concat(gt),me,(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(gr,"-open"),zr),"".concat(gr,"-active"),Si),"".concat(gr,"-selected"),Jr),"".concat(gr,"-disabled"),xr)),onMouseEnter:ai,onMouseLeave:Oi}),Tr,!at&&e.createElement(_i,{id:ei,open:zr,keyPath:Ir},Zt));return rr&&(Ur=rr(Ur,q,{selected:Jr,active:Si,open:zr,disabled:xr})),e.createElement(O,{onItemClick:Ci,mode:gt==="horizontal"?"vertical":gt,itemIcon:Pr,expandIcon:pr},Ur)}),Li=e.forwardRef(function(q,we){var ke=q.eventKey,me=q.children,Le=se(ke),Be=Ei(me,Le),Se=ee();e.useEffect(function(){if(Se)return Se.registerPath(ke,Le),function(){Se.unregisterPath(ke,Le)}},[Le]);var Qe;return Se?Qe=Be:Qe=e.createElement(Cr,(0,S.Z)({ref:we},q),Be),e.createElement(ce.Provider,{value:Le},Qe)}),mi=Li,fa=a(71002);function di(q){var we=q.className,ke=q.style,me=e.useContext(Ie),Le=me.prefixCls,Be=ee();return Be?null:e.createElement("li",{role:"separator",className:Z()("".concat(Le,"-item-divider"),we),style:ke})}var hi=["className","title","eventKey","children"],gi=e.forwardRef(function(q,we){var ke=q.className,me=q.title,Le=q.eventKey,Be=q.children,Se=(0,s.Z)(q,hi),Qe=e.useContext(Ie),Ft=Qe.prefixCls,Zt="".concat(Ft,"-item-group");return e.createElement("li",(0,S.Z)({ref:we,role:"presentation"},Se,{onClick:function(hn){return hn.stopPropagation()},className:Z()(Zt,ke)}),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")},Be))}),ni=e.forwardRef(function(q,we){var ke=q.eventKey,me=q.children,Le=se(ke),Be=Ei(me,Le),Se=ee();return Se?Be:e.createElement(gi,(0,S.Z)({ref:we},(0,Zn.Z)(q,["warnKey"])),Be)}),hr=ni,$r=["label","children","key","type","extra"];function ki(q,we,ke){var me=we.item,Le=we.group,Be=we.submenu,Se=we.divider;return(q||[]).map(function(Qe,Ft){if(Qe&&(0,fa.Z)(Qe)==="object"){var Zt=Qe,Cn=Zt.label,hn=Zt.children,In=Zt.key,Xn=Zt.type,Rn=Zt.extra,nr=(0,s.Z)(Zt,$r),Kn=In!=null?In:"tmp-".concat(Ft);return hn||Xn==="group"?Xn==="group"?e.createElement(Le,(0,S.Z)({key:Kn},nr,{title:Cn}),ki(hn,we,ke)):e.createElement(Be,(0,S.Z)({key:Kn},nr,{title:Cn}),ki(hn,we,ke)):Xn==="divider"?e.createElement(Se,(0,S.Z)({key:Kn},nr)):e.createElement(me,(0,S.Z)({key:Kn},nr,{extra:Rn}),Cn,(!!Rn||Rn===0)&&e.createElement("span",{className:"".concat(ke,"-item-extra")},Rn))}return null}).filter(function(Qe){return Qe})}function ea(q,we,ke,me,Le){var Be=q,Se=(0,$.Z)({divider:di,item:dn,group:hr,submenu:mi},me);return we&&(Be=ki(we,Se,Le)),Ei(Be,ke)}var da=["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"],Xr=[],Dr=e.forwardRef(function(q,we){var ke,me=q,Le=me.prefixCls,Be=Le===void 0?"rc-menu":Le,Se=me.rootClassName,Qe=me.style,Ft=me.className,Zt=me.tabIndex,Cn=Zt===void 0?0:Zt,hn=me.items,In=me.children,Xn=me.direction,Rn=me.id,nr=me.mode,Kn=nr===void 0?"vertical":nr,p=me.inlineCollapsed,k=me.disabled,M=me.disabledOverflow,te=me.subMenuOpenDelay,xe=te===void 0?.1:te,De=me.subMenuCloseDelay,Ye=De===void 0?.1:De,xt=me.forceSubMenuRender,gt=me.defaultOpenKeys,Vt=me.openKeys,nt=me.activeKey,at=me.defaultActiveFirst,Et=me.selectable,kt=Et===void 0?!0:Et,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,ln=me.motion,Ir=me.defaultMotions,gr=me.triggerSubMenuAction,xr=gr===void 0?"hover":gr,ri=me.builtinPlacements,Rr=me.itemIcon,Pr=me.expandIcon,pr=me.overflowedIndicator,Nr=pr===void 0?"...":pr,zr=me.overflowedIndicatorPopupClassName,Jr=me.getPopupContainer,qr=me.onClick,yr=me.onOpenChange,Lr=me.onKeyDown,Jn=me.openAnimation,ui=me.openTransitionName,ii=me._internalRenderMenuItem,Ar=me._internalRenderSubMenuItem,Yn=me._internalComponents,ai=(0,s.Z)(me,da),Oi=e.useMemo(function(){return[ea(In,hn,Xr,Yn,Be),ea(In,hn,Xr,{},Be)]},[In,hn,Yn]),Si=(0,j.Z)(Oi,2),Zr=Si[0],br=Si[1],Ci=e.useState(!1),Zi=(0,j.Z)(Ci,2),Mr=Zi[0],ei=Zi[1],Kr=e.useRef(),Tr=Fe(Rn),si=Xn==="rtl",li=(0,We.Z)(gt,{value:Vt,postState:function(Q){return Q||Xr}}),Ur=(0,j.Z)(li,2),lr=Ur[0],cr=Ur[1],Wr=function(Q){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function le(){cr(Q),yr==null||yr(Q)}ne?(0,f.flushSync)(le):le()},va=e.useState(lr),or=(0,j.Z)(va,2),Hi=or[0],ta=or[1],Hr=e.useRef(!1),Ki=e.useMemo(function(){return(Kn==="inline"||Kn==="vertical")&&p?["vertical",p]:[Kn,!1]},[Kn,p]),yi=(0,j.Z)(Ki,2),Vi=yi[0],xn=yi[1],Qn=Vi==="inline",ir=e.useState(Vi),kr=(0,j.Z)(ir,2),vr=kr[0],Aa=kr[1],_a=e.useState(xn),Ri=(0,j.Z)(_a,2),aa=Ri[0],Ua=Ri[1];e.useEffect(function(){Aa(Vi),Ua(xn),Hr.current&&(Qn?cr(Hi):Wr(Xr))},[Vi,xn]);var Ma=e.useState(0),La=(0,j.Z)(Ma,2),ma=La[0],$i=La[1],pi=ma>=Zr.length-1||vr!=="horizontal"||M;e.useEffect(function(){Qn&&ta(lr)},[lr]),e.useEffect(function(){return Hr.current=!0,function(){Hr.current=!1}},[]);var Fi=jt(),ci=Fi.registerPath,Gi=Fi.unregisterPath,_r=Fi.refreshOverflowKeys,mr=Fi.isSubPathKey,Pi=Fi.getKeyPath,na=Fi.getKeys,Ta=Fi.getSubPathKeys,Di=e.useMemo(function(){return{registerPath:ci,unregisterPath:Gi}},[ci,Gi]),Za=e.useMemo(function(){return{isSubPathKey:mr}},[mr]);e.useEffect(function(){_r(pi?Xr:Zr.slice(ma+1).map(function(W){return W.key}))},[ma,pi]);var ka=(0,We.Z)(nt||at&&((ke=Zr[0])===null||ke===void 0?void 0:ke.key),{value:nt}),ra=(0,j.Z)(ka,2),sa=ra[0],Ea=ra[1],Oa=It(function(W){Ea(W)}),xa=It(function(){Ea(void 0)});(0,e.useImperativeHandle)(we,function(){return{list:Kr.current,focus:function(Q){var ne,le=na(),ae=qe(le,Tr),Re=ae.elements,fe=ae.key2element,Ce=ae.element2key,be=pe(Kr.current,Re),Ae=sa!=null?sa:be[0]?Ce.get(be[0]):(ne=Zr.find(function(wt){return!wt.props.disabled}))===null||ne===void 0?void 0:ne.key,ze=fe.get(Ae);if(Ae&&ze){var it;ze==null||(it=ze.focus)===null||it===void 0||it.call(ze,Q)}}}});var Da=(0,We.Z)(En||[],{value:Bn,postState:function(Q){return Array.isArray(Q)?Q:Q==null?Xr:[Q]}}),oa=(0,j.Z)(Da,2),Yi=oa[0],ia=oa[1],ga=function(Q){if(kt){var ne=Q.key,le=Yi.includes(ne),ae;Fn?le?ae=Yi.filter(function(fe){return fe!==ne}):ae=[].concat((0,J.Z)(Yi),[ne]):ae=[ne],ia(ae);var Re=(0,$.Z)((0,$.Z)({},Q),{},{selectedKeys:ae});le?An==null||An(Re):Wn==null||Wn(Re)}!Fn&&lr.length&&vr!=="inline"&&Wr(Xr)},Sa=It(function(W){qr==null||qr(nn(W)),ga(W)}),Ka=It(function(W,Q){var ne=lr.filter(function(ae){return ae!==W});if(Q)ne.push(W);else if(vr!=="inline"){var le=Ta(W);ne=ne.filter(function(ae){return!le.has(ae)})}(0,ue.Z)(lr,ne,!0)||Wr(ne,!0)}),r=function(Q,ne){var le=ne!=null?ne:!lr.includes(Q);Ka(Q,le)},b=ft(vr,sa,si,Tr,Kr,na,Pi,Ea,r,Lr);e.useEffect(function(){ei(!0)},[]);var E=e.useMemo(function(){return{_internalRenderMenuItem:ii,_internalRenderSubMenuItem:Ar}},[ii,Ar]),R=vr!=="horizontal"||M?Zr:Zr.map(function(W,Q){return e.createElement(O,{key:W.key,overflowDisabled:Q>ma},W)}),z=e.createElement(st,(0,S.Z)({id:Rn,ref:Kr,prefixCls:"".concat(Be,"-overflow"),component:"ul",itemComponent:dn,className:Z()(Be,"".concat(Be,"-root"),"".concat(Be,"-").concat(vr),Ft,(0,C.Z)((0,C.Z)({},"".concat(Be,"-inline-collapsed"),aa),"".concat(Be,"-rtl"),si),Se),dir:Xn,style:Qe,role:"menu",tabIndex:Cn,data:R,renderRawItem:function(Q){return Q},renderRawRest:function(Q){var ne=Q.length,le=ne?Zr.slice(-ne):null;return e.createElement(mi,{eventKey:_t,title:Nr,disabled:pi,internalPopupClose:ne===0,popupClassName:zr},le)},maxCount:vr!=="horizontal"||M?st.INVALIDATE:st.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Q){$i(Q)},onKeyDown:b},ai));return e.createElement(ut.Provider,{value:E},e.createElement(Ee.Provider,{value:Tr},e.createElement(O,{prefixCls:Be,rootClassName:Se,mode:vr,openKeys:lr,rtl:si,disabled:k,motion:Mr?ln:null,defaultMotions:Mr?Ir:null,activeKey:sa,onActive:Oa,onInactive:xa,selectedKeys:Yi,inlineIndent:sr,subMenuOpenDelay:xe,subMenuCloseDelay:Ye,forceSubMenuRender:xt,builtinPlacements:ri,triggerSubMenuAction:xr,getPopupContainer:Jr,itemIcon:Rr,expandIcon:Pr,onItemClick:Sa,onOpenChange:Ka},e.createElement(je.Provider,{value:Za},z),e.createElement("div",{style:{display:"none"},"aria-hidden":!0},e.createElement(de.Provider,{value:Di},br)))))}),ha=Dr,xi=ha;xi.Item=dn,xi.SubMenu=mi,xi.ItemGroup=hr,xi.Divider=di;var pa=xi},62874:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return Nt}});var S=a(4942),C=a(1413),$=a(97685),J=a(71002),j=a(67294),s=a(34203),A=a(42550),Z=a(94184),e=a.n(Z),_=a(98924);function h(He,Ne){var Me={};return Me[He.toLowerCase()]=Ne.toLowerCase(),Me["Webkit".concat(He)]="webkit".concat(Ne),Me["Moz".concat(He)]="moz".concat(Ne),Me["ms".concat(He)]="MS".concat(Ne),Me["O".concat(He)]="o".concat(Ne.toLowerCase()),Me}function t(He,Ne){var Me={animationend:h("Animation","AnimationEnd"),transitionend:h("Transition","TransitionEnd")};return He&&("AnimationEvent"in Ne||delete Me.animationend.animation,"TransitionEvent"in Ne||delete Me.transitionend.transition),Me}var u=t((0,_.Z)(),typeof window!="undefined"?window:{}),c={};if((0,_.Z)()){var d=document.createElement("div");c=d.style}var v={};function l(He){if(v[He])return v[He];var Ne=u[He];if(Ne)for(var Me=Object.keys(Ne),$e=Me.length,Ve=0;Ve<$e;Ve+=1){var vt=Me[Ve];if(Object.prototype.hasOwnProperty.call(Ne,vt)&&vt in c)return v[He]=Ne[vt],v[He]}return""}var y=l("animationend"),m=l("transitionend"),w=!!(y&&m),o=y||"animationend",f=m||"transitionend";function T(He,Ne){if(!He)return null;if((0,J.Z)(He)==="object"){var Me=Ne.replace(/-\w/g,function($e){return $e[1].toUpperCase()});return He[Me]}return"".concat(He,"-").concat(Ne)}var I="none",U="appear",V="enter",G="leave",X="none",_e="prepare",x="start",g="active",P="end",D=a(63896),K=a(75164),L=function(){var He=j.useRef(null);function Ne(){K.Z.cancel(He.current)}function Me($e){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ne();var vt=(0,K.Z)(function(){Ve<=1?$e({isCanceled:function(){return vt!==He.current}}):Me($e,Ve-1)});He.current=vt}return j.useEffect(function(){return function(){Ne()}},[]),[Me,Ne]},i=(0,_.Z)()?j.useLayoutEffect:j.useEffect,n=i,N=[_e,x,g,P],H=!1,ve=!0;function Oe(He){return He===g||He===P}var Ue=function(He,Ne){var Me=(0,D.Z)(X),$e=(0,$.Z)(Me,2),Ve=$e[0],vt=$e[1],ct=L(),Ct=(0,$.Z)(ct,2),Ke=Ct[0],ot=Ct[1];function Lt(){vt(_e,!0)}return n(function(){if(Ve!==X&&Ve!==P){var mt=N.indexOf(Ve),lt=N[mt+1],bt=Ne(Ve);bt===H?vt(lt,!0):Ke(function(on){function pn(){on.isCanceled()||vt(lt,!0)}bt===!0?pn():Promise.resolve(bt).then(pn)})}},[He,Ve]),j.useEffect(function(){return function(){ot()}},[]),[Lt,Ve]},rt=function(He){var Ne=(0,j.useRef)(),Me=(0,j.useRef)(He);Me.current=He;var $e=j.useCallback(function(ct){Me.current(ct)},[]);function Ve(ct){ct&&(ct.removeEventListener(f,$e),ct.removeEventListener(o,$e))}function vt(ct){Ne.current&&Ne.current!==ct&&Ve(Ne.current),ct&&ct!==Ne.current&&(ct.addEventListener(f,$e),ct.addEventListener(o,$e),Ne.current=ct)}return j.useEffect(function(){return function(){Ve(Ne.current)}},[]),[vt,Ve]};function Xe(He,Ne,Me,$e){var Ve=$e.motionEnter,vt=Ve===void 0?!0:Ve,ct=$e.motionAppear,Ct=ct===void 0?!0:ct,Ke=$e.motionLeave,ot=Ke===void 0?!0:Ke,Lt=$e.motionDeadline,mt=$e.motionLeaveImmediately,lt=$e.onAppearPrepare,bt=$e.onEnterPrepare,on=$e.onLeavePrepare,pn=$e.onAppearStart,Yt=$e.onEnterStart,ie=$e.onLeaveStart,Te=$e.onAppearActive,ye=$e.onEnterActive,pe=$e.onLeaveActive,et=$e.onAppearEnd,qe=$e.onEnterEnd,ft=$e.onLeaveEnd,Rt=$e.onVisibleChanged,Ht=(0,D.Z)(),Kt=(0,$.Z)(Ht,2),Pt=Kt[0],_t=Kt[1],jt=(0,D.Z)(I),It=(0,$.Z)(jt,2),Bt=It[0],dt=It[1],Fe=(0,D.Z)(null),Je=(0,$.Z)(Fe,2),Tt=Je[0],tn=Je[1],cn=(0,j.useRef)(!1),Zn=(0,j.useRef)(null);function ar(){return Me()}var kn=(0,j.useRef)(!1);function mn(Un){var er=ar();if(!(Un&&!Un.deadline&&Un.target!==er)){var ur=kn.current,Sr;Bt===U&&ur?Sr=et==null?void 0:et(er,Un):Bt===V&&ur?Sr=qe==null?void 0:qe(er,Un):Bt===G&&ur&&(Sr=ft==null?void 0:ft(er,Un)),Bt!==I&&ur&&Sr!==!1&&(dt(I,!0),tn(null,!0))}}var On=rt(mn),Gn=(0,$.Z)(On,1),nn=Gn[0],zn=j.useMemo(function(){var Un,er,ur;switch(Bt){case U:return Un={},(0,S.Z)(Un,_e,lt),(0,S.Z)(Un,x,pn),(0,S.Z)(Un,g,Te),Un;case V:return er={},(0,S.Z)(er,_e,bt),(0,S.Z)(er,x,Yt),(0,S.Z)(er,g,ye),er;case G:return ur={},(0,S.Z)(ur,_e,on),(0,S.Z)(ur,x,ie),(0,S.Z)(ur,g,pe),ur;default:return{}}},[Bt]),Dn=Ue(Bt,function(Un){if(Un===_e){var er=zn[_e];return er?er(ar()):H}if(yn in zn){var ur;tn(((ur=zn[yn])===null||ur===void 0?void 0:ur.call(zn,ar(),null))||null)}return yn===g&&(nn(ar()),Lt>0&&(clearTimeout(Zn.current),Zn.current=setTimeout(function(){mn({deadline:!0})},Lt))),ve}),un=(0,$.Z)(Dn,2),gn=un[0],yn=un[1],Sn=Oe(yn);kn.current=Sn,n(function(){_t(Ne);var Un=cn.current;if(cn.current=!0,!!He){var er;!Un&&Ne&&Ct&&(er=U),Un&&Ne&&vt&&(er=V),(Un&&!Ne&&ot||!Un&&mt&&!Ne&&ot)&&(er=G),er&&(dt(er),gn())}},[Ne]),(0,j.useEffect)(function(){(Bt===U&&!Ct||Bt===V&&!vt||Bt===G&&!ot)&&dt(I)},[Ct,vt,ot]),(0,j.useEffect)(function(){return function(){cn.current=!1,clearTimeout(Zn.current)}},[]);var dn=j.useRef(!1);(0,j.useEffect)(function(){Pt&&(dn.current=!0),Pt!==void 0&&Bt===I&&((dn.current||Pt)&&(Rt==null||Rt(Pt)),dn.current=!0)},[Pt,Bt]);var Mn=Tt;return zn[_e]&&yn===x&&(Mn=(0,C.Z)({transition:"none"},Mn)),[Bt,yn,Mn,Pt!=null?Pt:Ne]}var Mt=a(15671),ge=a(43144),st=a(60136),We=a(29388),ue=function(He){(0,st.Z)(Me,He);var Ne=(0,We.Z)(Me);function Me(){return(0,Mt.Z)(this,Me),Ne.apply(this,arguments)}return(0,ge.Z)(Me,[{key:"render",value:function(){return this.props.children}}]),Me}(j.Component),Y=ue;function Ee(He){var Ne=He;(0,J.Z)(He)==="object"&&(Ne=He.transitionSupport);function Me(Ve){return!!(Ve.motionName&&Ne)}var $e=j.forwardRef(function(Ve,vt){var ct=Ve.visible,Ct=ct===void 0?!0:ct,Ke=Ve.removeOnLeave,ot=Ke===void 0?!0:Ke,Lt=Ve.forceRender,mt=Ve.children,lt=Ve.motionName,bt=Ve.leavedClassName,on=Ve.eventProps,pn=Me(Ve),Yt=(0,j.useRef)(),ie=(0,j.useRef)();function Te(){try{return Yt.current instanceof HTMLElement?Yt.current:(0,s.Z)(ie.current)}catch(Fe){return null}}var ye=Xe(pn,Ct,Te,Ve),pe=(0,$.Z)(ye,4),et=pe[0],qe=pe[1],ft=pe[2],Rt=pe[3],Ht=j.useRef(Rt);Rt&&(Ht.current=!0);var Kt=j.useCallback(function(Fe){Yt.current=Fe,(0,A.mH)(vt,Fe)},[vt]),Pt,_t=(0,C.Z)((0,C.Z)({},on),{},{visible:Ct});if(!mt)Pt=null;else if(et===I||!Me(Ve))Rt?Pt=mt((0,C.Z)({},_t),Kt):!ot&&Ht.current&&bt?Pt=mt((0,C.Z)((0,C.Z)({},_t),{},{className:bt}),Kt):Lt||!ot&&!bt?Pt=mt((0,C.Z)((0,C.Z)({},_t),{},{style:{display:"none"}}),Kt):Pt=null;else{var jt,It;qe===_e?It="prepare":Oe(qe)?It="active":qe===x&&(It="start"),Pt=mt((0,C.Z)((0,C.Z)({},_t),{},{className:e()(T(lt,et),(jt={},(0,S.Z)(jt,T(lt,"".concat(et,"-").concat(It)),It),(0,S.Z)(jt,lt,typeof lt=="string"),jt)),style:ft}),Kt)}if(j.isValidElement(Pt)&&(0,A.Yr)(Pt)){var Bt=Pt,dt=Bt.ref;dt||(Pt=j.cloneElement(Pt,{ref:Kt}))}return j.createElement(Y,{ref:ie},Pt)});return $e.displayName="CSSMotion",$e}var B=Ee(w),he=a(87462),oe=a(45987),Ge=a(97326),Ie="add",F="keep",O="remove",re="removed";function de(He){var Ne;return He&&(0,J.Z)(He)==="object"&&"key"in He?Ne=He:Ne={key:He},(0,C.Z)((0,C.Z)({},Ne),{},{key:String(Ne.key)})}function ee(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return He.map(de)}function ce(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Me=[],$e=0,Ve=Ne.length,vt=ee(He),ct=ee(Ne);vt.forEach(function(ot){for(var Lt=!1,mt=$e;mt<Ve;mt+=1){var lt=ct[mt];if(lt.key===ot.key){$e<mt&&(Me=Me.concat(ct.slice($e,mt).map(function(bt){return(0,C.Z)((0,C.Z)({},bt),{},{status:Ie})})),$e=mt),Me.push((0,C.Z)((0,C.Z)({},lt),{},{status:F})),$e+=1,Lt=!0;break}}Lt||Me.push((0,C.Z)((0,C.Z)({},ot),{},{status:O}))}),$e<Ve&&(Me=Me.concat(ct.slice($e).map(function(ot){return(0,C.Z)((0,C.Z)({},ot),{},{status:Ie})})));var Ct={};Me.forEach(function(ot){var Lt=ot.key;Ct[Lt]=(Ct[Lt]||0)+1});var Ke=Object.keys(Ct).filter(function(ot){return Ct[ot]>1});return Ke.forEach(function(ot){Me=Me.filter(function(Lt){var mt=Lt.key,lt=Lt.status;return mt!==ot||lt!==O}),Me.forEach(function(Lt){Lt.key===ot&&(Lt.status=F)})}),Me}var se=["component","children","onVisibleChanged","onAllRemoved"],je=["status"],Ze=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ut(He){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B,Me=function($e){(0,st.Z)(vt,$e);var Ve=(0,We.Z)(vt);function vt(){var ct;(0,Mt.Z)(this,vt);for(var Ct=arguments.length,Ke=new Array(Ct),ot=0;ot<Ct;ot++)Ke[ot]=arguments[ot];return ct=Ve.call.apply(Ve,[this].concat(Ke)),(0,S.Z)((0,Ge.Z)(ct),"state",{keyEntities:[]}),(0,S.Z)((0,Ge.Z)(ct),"removeKey",function(Lt){var mt=ct.state.keyEntities,lt=mt.map(function(bt){return bt.key!==Lt?bt:(0,C.Z)((0,C.Z)({},bt),{},{status:re})});return ct.setState({keyEntities:lt}),lt.filter(function(bt){var on=bt.status;return on!==re}).length}),ct}return(0,ge.Z)(vt,[{key:"render",value:function(){var Ct=this,Ke=this.state.keyEntities,ot=this.props,Lt=ot.component,mt=ot.children,lt=ot.onVisibleChanged,bt=ot.onAllRemoved,on=(0,oe.Z)(ot,se),pn=Lt||j.Fragment,Yt={};return Ze.forEach(function(ie){Yt[ie]=on[ie],delete on[ie]}),delete on.keys,j.createElement(pn,on,Ke.map(function(ie){var Te=ie.status,ye=(0,oe.Z)(ie,je),pe=Te===Ie||Te===F;return j.createElement(Ne,(0,he.Z)({},Yt,{key:ye.key,visible:pe,eventProps:ye,onVisibleChanged:function(qe){if(lt==null||lt(qe,{key:ye.key}),!qe){var ft=Ct.removeKey(ye.key);ft===0&&bt&&bt()}}}),mt)}))}}],[{key:"getDerivedStateFromProps",value:function(Ct,Ke){var ot=Ct.keys,Lt=Ke.keyEntities,mt=ee(ot),lt=ce(Lt,mt);return{keyEntities:lt.filter(function(bt){var on=Lt.find(function(pn){var Yt=pn.key;return bt.key===Yt});return!(on&&on.status===re&&bt.status===O)})}}}]),vt}(j.Component);return(0,S.Z)(Me,"defaultProps",{component:"div"}),Me}var ht=ut(w),Nt=B},31457:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return We}});var S=a(4942),C=a(87462),$=a(71002),J=a(1413),j=a(97685),s=a(94184),A=a.n(s),Z=a(67294);function e(ue){var Y=Z.useRef();Y.current=ue;var Ee=Z.useCallback(function(){for(var B,he=arguments.length,oe=new Array(he),Ge=0;Ge<he;Ge++)oe[Ge]=arguments[Ge];return(B=Y.current)===null||B===void 0?void 0:B.call.apply(B,[Y].concat(oe))},[]);return Ee}function _(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var h=_()?Z.useLayoutEffect:Z.useEffect,t=function(Y,Ee){var B=Z.useRef(!0);h(function(){return Y(B.current)},Ee),h(function(){return B.current=!1,function(){B.current=!0}},[])},u=function(Y,Ee){t(function(B){if(!B)return Y()},Ee)},c=null;function d(ue){var Y=Z.useRef(!1),Ee=Z.useState(ue),B=(0,j.Z)(Ee,2),he=B[0],oe=B[1];Z.useEffect(function(){return Y.current=!1,function(){Y.current=!0}},[]);function Ge(Ie,F){F&&Y.current||oe(Ie)}return[he,Ge]}function v(ue){return ue!==void 0}function l(ue,Y){var Ee=Y||{},B=Ee.defaultValue,he=Ee.value,oe=Ee.onChange,Ge=Ee.postState,Ie=d(function(){return v(he)?he:v(B)?typeof B=="function"?B():B:typeof ue=="function"?ue():ue}),F=(0,j.Z)(Ie,2),O=F[0],re=F[1],de=he!==void 0?he:O,ee=Ge?Ge(de):de,ce=e(oe),se=d([de]),je=(0,j.Z)(se,2),Ze=je[0],ut=je[1];u(function(){var Nt=Ze[0];O!==Nt&&ce(O,Nt)},[Ze]),u(function(){v(he)||re(he)},[he]);var ht=e(function(Nt,He){re(Nt,He),ut([de],He)});return[ee,ht]}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(Y){var Ee=Y.keyCode;if(Y.altKey&&!Y.ctrlKey||Y.metaKey||Ee>=y.F1&&Ee<=y.F12)return!1;switch(Ee){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(Y){if(Y>=y.ZERO&&Y<=y.NINE||Y>=y.NUM_ZERO&&Y<=y.NUM_MULTIPLY||Y>=y.A&&Y<=y.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Y===0)return!0;switch(Y){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}}},m=y,w=`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`,o=`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`,f="".concat(w," ").concat(o).split(/[\s\n]+/),T="aria-",I="data-";function U(ue,Y){return ue.indexOf(Y)===0}function V(ue){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ee;Y===!1?Ee={aria:!0,data:!0,attr:!0}:Y===!0?Ee={aria:!0}:Ee=(0,J.Z)({},Y);var B={};return Object.keys(ue).forEach(function(he){(Ee.aria&&(he==="role"||U(he,T))||Ee.data&&U(he,I)||Ee.attr&&f.includes(he))&&(B[he]=ue[he])}),B}var G={},X=[],_e=function(Y){X.push(Y)};function x(ue,Y){if(0)var Ee}function g(ue,Y){if(0)var Ee}function P(){G={}}function D(ue,Y,Ee){!Y&&!G[Ee]&&(ue(!1,Ee),G[Ee]=!0)}function K(ue,Y){D(x,ue,Y)}function L(ue,Y){D(g,ue,Y)}K.preMessage=_e,K.resetWarned=P,K.noteOnce=L;var i=null,n=a(81626),N=[10,20,50,100],H=function(Y){var Ee=Y.pageSizeOptions,B=Ee===void 0?N:Ee,he=Y.locale,oe=Y.changeSize,Ge=Y.pageSize,Ie=Y.goButton,F=Y.quickGo,O=Y.rootPrefixCls,re=Y.disabled,de=Y.buildOptionText,ee=Y.showSizeChanger,ce=Y.sizeChangerRender,se=Z.useState(""),je=(0,j.Z)(se,2),Ze=je[0],ut=je[1],ht=function(){return!Ze||Number.isNaN(Ze)?void 0:Number(Ze)},Nt=typeof de=="function"?de:function(Ke){return"".concat(Ke," ").concat(he.items_per_page)},He=function(ot){ut(ot.target.value)},Ne=function(ot){Ie||Ze===""||(ut(""),!(ot.relatedTarget&&(ot.relatedTarget.className.indexOf("".concat(O,"-item-link"))>=0||ot.relatedTarget.className.indexOf("".concat(O,"-item"))>=0))&&(F==null||F(ht())))},Me=function(ot){Ze!==""&&(ot.keyCode===m.ENTER||ot.type==="click")&&(ut(""),F==null||F(ht()))},$e=function(){return B.some(function(ot){return ot.toString()===Ge.toString()})?B:B.concat([Ge]).sort(function(ot,Lt){var mt=Number.isNaN(Number(ot))?0:Number(ot),lt=Number.isNaN(Number(Lt))?0:Number(Lt);return mt-lt})},Ve="".concat(O,"-options");if(!ee&&!F)return null;var vt=null,ct=null,Ct=null;return ee&&ce&&(vt=ce({disabled:re,size:Ge,onSizeChange:function(ot){oe==null||oe(Number(ot))},"aria-label":he.page_size,className:"".concat(Ve,"-size-changer"),options:$e().map(function(Ke){return{label:Nt(Ke),value:Ke}})})),F&&(Ie&&(Ct=typeof Ie=="boolean"?Z.createElement("button",{type:"button",onClick:Me,onKeyUp:Me,disabled:re,className:"".concat(Ve,"-quick-jumper-button")},he.jump_to_confirm):Z.createElement("span",{onClick:Me,onKeyUp:Me},Ie)),ct=Z.createElement("div",{className:"".concat(Ve,"-quick-jumper")},he.jump_to,Z.createElement("input",{disabled:re,type:"text",value:Ze,onChange:He,onKeyUp:Me,onBlur:Ne,"aria-label":he.page}),he.page,Ct)),Z.createElement("li",{className:Ve},vt,ct)},ve=H,Oe=function(Y){var Ee=Y.rootPrefixCls,B=Y.page,he=Y.active,oe=Y.className,Ge=Y.showTitle,Ie=Y.onClick,F=Y.onKeyPress,O=Y.itemRender,re="".concat(Ee,"-item"),de=A()(re,"".concat(re,"-").concat(B),(0,S.Z)((0,S.Z)({},"".concat(re,"-active"),he),"".concat(re,"-disabled"),!B),oe),ee=function(){Ie(B)},ce=function(Ze){F(Ze,Ie,B)},se=O(B,"page",Z.createElement("a",{rel:"nofollow"},B));return se?Z.createElement("li",{title:Ge?String(B):null,className:de,onClick:ee,onKeyDown:ce,tabIndex:0},se):null},Ue=Oe,rt=function(Y,Ee,B){return B};function Xe(){}function Mt(ue){var Y=Number(ue);return typeof Y=="number"&&!Number.isNaN(Y)&&isFinite(Y)&&Math.floor(Y)===Y}function ge(ue,Y,Ee){var B=typeof ue=="undefined"?Y:ue;return Math.floor((Ee-1)/B)+1}var st=function(Y){var Ee=Y.prefixCls,B=Ee===void 0?"rc-pagination":Ee,he=Y.selectPrefixCls,oe=he===void 0?"rc-select":he,Ge=Y.className,Ie=Y.current,F=Y.defaultCurrent,O=F===void 0?1:F,re=Y.total,de=re===void 0?0:re,ee=Y.pageSize,ce=Y.defaultPageSize,se=ce===void 0?10:ce,je=Y.onChange,Ze=je===void 0?Xe:je,ut=Y.hideOnSinglePage,ht=Y.align,Nt=Y.showPrevNextJumpers,He=Nt===void 0?!0:Nt,Ne=Y.showQuickJumper,Me=Y.showLessItems,$e=Y.showTitle,Ve=$e===void 0?!0:$e,vt=Y.onShowSizeChange,ct=vt===void 0?Xe:vt,Ct=Y.locale,Ke=Ct===void 0?n.Z:Ct,ot=Y.style,Lt=Y.totalBoundaryShowSizeChanger,mt=Lt===void 0?50:Lt,lt=Y.disabled,bt=Y.simple,on=Y.showTotal,pn=Y.showSizeChanger,Yt=pn===void 0?de>mt:pn,ie=Y.sizeChangerRender,Te=Y.pageSizeOptions,ye=Y.itemRender,pe=ye===void 0?rt:ye,et=Y.jumpPrevIcon,qe=Y.jumpNextIcon,ft=Y.prevIcon,Rt=Y.nextIcon,Ht=Z.useRef(null),Kt=l(10,{value:ee,defaultValue:se}),Pt=(0,j.Z)(Kt,2),_t=Pt[0],jt=Pt[1],It=l(1,{value:Ie,defaultValue:O,postState:function(Qe){return Math.max(1,Math.min(Qe,ge(void 0,_t,de)))}}),Bt=(0,j.Z)(It,2),dt=Bt[0],Fe=Bt[1],Je=Z.useState(dt),Tt=(0,j.Z)(Je,2),tn=Tt[0],cn=Tt[1];(0,Z.useEffect)(function(){cn(dt)},[dt]);var Zn=Ze!==Xe,ar="current"in Y,kn=Math.max(1,dt-(Me?3:5)),mn=Math.min(ge(void 0,_t,de),dt+(Me?3:5));function On(Se,Qe){var Ft=Se||Z.createElement("button",{type:"button","aria-label":Qe,className:"".concat(B,"-item-link")});return typeof Se=="function"&&(Ft=Z.createElement(Se,(0,J.Z)({},Y))),Ft}function Gn(Se){var Qe=Se.target.value,Ft=ge(void 0,_t,de),Zt;return Qe===""?Zt=Qe:Number.isNaN(Number(Qe))?Zt=tn:Qe>=Ft?Zt=Ft:Zt=Number(Qe),Zt}function nn(Se){return Mt(Se)&&Se!==dt&&Mt(de)&&de>0}var zn=de>_t?Ne:!1;function Dn(Se){(Se.keyCode===m.UP||Se.keyCode===m.DOWN)&&Se.preventDefault()}function un(Se){var Qe=Gn(Se);switch(Qe!==tn&&cn(Qe),Se.keyCode){case m.ENTER:Sn(Qe);break;case m.UP:Sn(Qe-1);break;case m.DOWN:Sn(Qe+1);break;default:break}}function gn(Se){Sn(Gn(Se))}function yn(Se){var Qe=ge(Se,_t,de),Ft=dt>Qe&&Qe!==0?Qe:dt;jt(Se),cn(Ft),ct==null||ct(dt,Se),Fe(Ft),Ze==null||Ze(Ft,Se)}function Sn(Se){if(nn(Se)&&!lt){var Qe=ge(void 0,_t,de),Ft=Se;return Se>Qe?Ft=Qe:Se<1&&(Ft=1),Ft!==tn&&cn(Ft),Fe(Ft),Ze==null||Ze(Ft,_t),Ft}return dt}var dn=dt>1,Mn=dt<ge(void 0,_t,de);function Un(){dn&&Sn(dt-1)}function er(){Mn&&Sn(dt+1)}function ur(){Sn(kn)}function Sr(){Sn(mn)}function Ei(Se,Qe){if(Se.key==="Enter"||Se.charCode===m.ENTER||Se.keyCode===m.ENTER){for(var Ft=arguments.length,Zt=new Array(Ft>2?Ft-2:0),Cn=2;Cn<Ft;Cn++)Zt[Cn-2]=arguments[Cn];Qe.apply(void 0,Zt)}}function Wi(Se){Ei(Se,Un)}function Er(Se){Ei(Se,er)}function Ji(Se){Ei(Se,ur)}function qi(Se){Ei(Se,Sr)}function Ti(Se){var Qe=pe(Se,"prev",On(ft,"prev page"));return Z.isValidElement(Qe)?Z.cloneElement(Qe,{disabled:!dn}):Qe}function Or(Se){var Qe=pe(Se,"next",On(Rt,"next page"));return Z.isValidElement(Qe)?Z.cloneElement(Qe,{disabled:!Mn}):Qe}function Yr(Se){(Se.type==="click"||Se.keyCode===m.ENTER)&&Sn(tn)}var Br=null,jr=V(Y,{aria:!0,data:!0}),_i=on&&Z.createElement("li",{className:"".concat(B,"-total-text")},on(de,[de===0?0:(dt-1)*_t+1,dt*_t>de?de:dt*_t])),oi=null,dr=ge(void 0,_t,de);if(ut&&de<=_t)return null;var Cr=[],Li={rootPrefixCls:B,onClick:Sn,onKeyPress:Ei,showTitle:Ve,itemRender:pe,page:-1},mi=dt-1>0?dt-1:0,fa=dt+1<dr?dt+1:dr,di=Ne&&Ne.goButton,hi=(0,$.Z)(bt)==="object"?bt.readOnly:!bt,gi=di,ni=null;bt&&(di&&(typeof di=="boolean"?gi=Z.createElement("button",{type:"button",onClick:Yr,onKeyUp:Yr},Ke.jump_to_confirm):gi=Z.createElement("span",{onClick:Yr,onKeyUp:Yr},di),gi=Z.createElement("li",{title:Ve?"".concat(Ke.jump_to).concat(dt,"/").concat(dr):null,className:"".concat(B,"-simple-pager")},gi)),ni=Z.createElement("li",{title:Ve?"".concat(dt,"/").concat(dr):null,className:"".concat(B,"-simple-pager")},hi?tn:Z.createElement("input",{type:"text","aria-label":Ke.jump_to,value:tn,disabled:lt,onKeyDown:Dn,onKeyUp:un,onChange:un,onBlur:gn,size:3}),Z.createElement("span",{className:"".concat(B,"-slash")},"/"),dr));var hr=Me?1:2;if(dr<=3+hr*2){dr||Cr.push(Z.createElement(Ue,(0,C.Z)({},Li,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var $r=1;$r<=dr;$r+=1)Cr.push(Z.createElement(Ue,(0,C.Z)({},Li,{key:$r,page:$r,active:dt===$r})))}else{var ki=Me?Ke.prev_3:Ke.prev_5,ea=Me?Ke.next_3:Ke.next_5,da=pe(kn,"jump-prev",On(et,"prev page")),Xr=pe(mn,"jump-next",On(qe,"next page"));He&&(Br=da?Z.createElement("li",{title:Ve?ki:null,key:"prev",onClick:ur,tabIndex:0,onKeyDown:Ji,className:A()("".concat(B,"-jump-prev"),(0,S.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!et))},da):null,oi=Xr?Z.createElement("li",{title:Ve?ea:null,key:"next",onClick:Sr,tabIndex:0,onKeyDown:qi,className:A()("".concat(B,"-jump-next"),(0,S.Z)({},"".concat(B,"-jump-next-custom-icon"),!!qe))},Xr):null);var Dr=Math.max(1,dt-hr),ha=Math.min(dt+hr,dr);dt-1<=hr&&(ha=1+hr*2),dr-dt<=hr&&(Dr=dr-hr*2);for(var xi=Dr;xi<=ha;xi+=1)Cr.push(Z.createElement(Ue,(0,C.Z)({},Li,{key:xi,page:xi,active:dt===xi})));if(dt-1>=hr*2&&dt!==3&&(Cr[0]=Z.cloneElement(Cr[0],{className:A()("".concat(B,"-item-after-jump-prev"),Cr[0].props.className)}),Cr.unshift(Br)),dr-dt>=hr*2&&dt!==dr-2){var pa=Cr[Cr.length-1];Cr[Cr.length-1]=Z.cloneElement(pa,{className:A()("".concat(B,"-item-before-jump-next"),pa.props.className)}),Cr.push(oi)}Dr!==1&&Cr.unshift(Z.createElement(Ue,(0,C.Z)({},Li,{key:1,page:1}))),ha!==dr&&Cr.push(Z.createElement(Ue,(0,C.Z)({},Li,{key:dr,page:dr})))}var q=Ti(mi);if(q){var we=!dn||!dr;q=Z.createElement("li",{title:Ve?Ke.prev_page:null,onClick:Un,tabIndex:we?null:0,onKeyDown:Wi,className:A()("".concat(B,"-prev"),(0,S.Z)({},"".concat(B,"-disabled"),we)),"aria-disabled":we},q)}var ke=Or(fa);if(ke){var me,Le;bt?(me=!Mn,Le=dn?0:null):(me=!Mn||!dr,Le=me?null:0),ke=Z.createElement("li",{title:Ve?Ke.next_page:null,onClick:er,tabIndex:Le,onKeyDown:Er,className:A()("".concat(B,"-next"),(0,S.Z)({},"".concat(B,"-disabled"),me)),"aria-disabled":me},ke)}var Be=A()(B,Ge,(0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)({},"".concat(B,"-start"),ht==="start"),"".concat(B,"-center"),ht==="center"),"".concat(B,"-end"),ht==="end"),"".concat(B,"-simple"),bt),"".concat(B,"-disabled"),lt));return Z.createElement("ul",(0,C.Z)({className:Be,style:ot,ref:Ht},jr),_i,q,bt?ni:Cr,ke,Z.createElement(ve,{locale:Ke,rootPrefixCls:B,disabled:lt,selectPrefixCls:oe,changeSize:yn,pageSize:_t,pageSizeOptions:Te,quickGo:zn?Sn:null,goButton:gi,showSizeChanger:Yt,sizeChangerRender:ie}))},We=st},48555:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return _e}});var S=a(87462),C=a(67294),$=a(50344),J=a(80334),j=a(1413),s=a(42550),A=a(34203),Z=a(91033),e=new Map;function _(x){x.forEach(function(g){var P,D=g.target;(P=e.get(D))===null||P===void 0||P.forEach(function(K){return K(D)})})}var h=new Z.Z(_),t=null,u=null;function c(x,g){e.has(x)||(e.set(x,new Set),h.observe(x)),e.get(x).add(g)}function d(x,g){e.has(x)&&(e.get(x).delete(g),e.get(x).size||(h.unobserve(x),e.delete(x)))}var v=a(15671),l=a(43144),y=a(60136),m=a(29388),w=function(x){(0,y.Z)(P,x);var g=(0,m.Z)(P);function P(){return(0,v.Z)(this,P),g.apply(this,arguments)}return(0,l.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(C.Component),o=C.createContext(null);function f(x){var g=x.children,P=x.onBatchResize,D=C.useRef(0),K=C.useRef([]),L=C.useContext(o),i=C.useCallback(function(n,N,H){D.current+=1;var ve=D.current;K.current.push({size:n,element:N,data:H}),Promise.resolve().then(function(){ve===D.current&&(P==null||P(K.current),K.current=[])}),L==null||L(n,N,H)},[P,L]);return C.createElement(o.Provider,{value:i},g)}function T(x,g){var P=x.children,D=x.disabled,K=C.useRef(null),L=C.useRef(null),i=C.useContext(o),n=typeof P=="function",N=n?P(K):P,H=C.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ve=!n&&C.isValidElement(N)&&(0,s.Yr)(N),Oe=ve?N.ref:null,Ue=C.useMemo(function(){return(0,s.sQ)(Oe,K)},[Oe,K]),rt=function(){return(0,A.Z)(K.current)||(0,A.Z)(L.current)};C.useImperativeHandle(g,function(){return rt()});var Xe=C.useRef(x);Xe.current=x;var Mt=C.useCallback(function(ge){var st=Xe.current,We=st.onResize,ue=st.data,Y=ge.getBoundingClientRect(),Ee=Y.width,B=Y.height,he=ge.offsetWidth,oe=ge.offsetHeight,Ge=Math.floor(Ee),Ie=Math.floor(B);if(H.current.width!==Ge||H.current.height!==Ie||H.current.offsetWidth!==he||H.current.offsetHeight!==oe){var F={width:Ge,height:Ie,offsetWidth:he,offsetHeight:oe};H.current=F;var O=he===Math.round(Ee)?Ee:he,re=oe===Math.round(B)?B:oe,de=(0,j.Z)((0,j.Z)({},F),{},{offsetWidth:O,offsetHeight:re});i==null||i(de,ge,ue),We&&Promise.resolve().then(function(){We(de,ge)})}},[]);return C.useEffect(function(){var ge=rt();return ge&&!D&&c(ge,Mt),function(){return d(ge,Mt)}},[K.current,D]),C.createElement(w,{ref:L},ve?C.cloneElement(N,{ref:Ue}):N)}var I=C.forwardRef(T),U=I,V="rc-observer-key";function G(x,g){var P=x.children,D=typeof P=="function"?[P]:(0,$.Z)(P);return D.map(function(K,L){var i=(K==null?void 0:K.key)||"".concat(V,"-").concat(L);return C.createElement(U,(0,S.Z)({},x,{key:i,ref:L===0?g:void 0}),K)})}var X=C.forwardRef(G);X.Collection=f;var _e=X},45233:function(St,Pe,a){"use strict";a.d(Pe,{R:function(){return C},w:function(){return S}});var S={},C="rc-table-internal-hook"},54768:function(St,Pe,a){"use strict";a.d(Pe,{L:function(){return l},Z:function(){return f}});var S=a(97685),C=a(4942),$=a(74902),J=a(71002),j=a(1413),s=a(45987),A=a(63295),Z=a(67294);function e(T){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=[];return Z.Children.forEach(T,function(V){V==null&&!I.keepEmpty||(Array.isArray(V)?U=U.concat(e(V)):(0,A.Z)(V)&&V.props?U=U.concat(e(V.props.children,I)):U.push(V))}),U}var _=a(40830),h=a(45233),t=a(62978);function u(T){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof I=="number"?I:I.endsWith("%")?T*parseFloat(I)/100:null}function c(T,I,U){return Z.useMemo(function(){if(I&&I>0){var V=0,G=0;T.forEach(function(L){var i=u(I,L.width);i?V+=i:G+=1});var X=Math.max(I,U),_e=Math.max(X-V,G),x=G,g=_e/G,P=0,D=T.map(function(L){var i=(0,j.Z)({},L),n=u(I,i.width);if(n)i.width=n;else{var N=Math.floor(g);i.width=x===1?_e:N,_e-=N,x-=1}return P+=i.width,i});if(P<X){var K=X/P;_e=X,D.forEach(function(L,i){var n=Math.floor(L.width*K);L.width=i===D.length-1?_e:n,_e-=n})}return[D,Math.max(P,X)]}return[T,I]},[T,I,U])}var d=["children"],v=["fixed"];function l(T){return e(T).filter(function(I){return Z.isValidElement(I)}).map(function(I){var U=I.key,V=I.props,G=V.children,X=(0,s.Z)(V,d),_e=(0,j.Z)({key:U},X);return G&&(_e.children=l(G)),_e})}function y(T){return T.filter(function(I){return I&&(0,J.Z)(I)==="object"&&!I.hidden}).map(function(I){var U=I.children;return U&&U.length>0?(0,j.Z)((0,j.Z)({},I),{},{children:y(U)}):I})}function m(T){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return T.filter(function(U){return U&&(0,J.Z)(U)==="object"}).reduce(function(U,V,G){var X=V.fixed,_e=X===!0?"left":X,x="".concat(I,"-").concat(G),g=V.children;return g&&g.length>0?[].concat((0,$.Z)(U),(0,$.Z)(m(g,x).map(function(P){return(0,j.Z)({fixed:_e},P)}))):[].concat((0,$.Z)(U),[(0,j.Z)((0,j.Z)({key:x},V),{},{fixed:_e})])},[])}function w(T){return T.map(function(I){var U=I.fixed,V=(0,s.Z)(I,v),G=U;return U==="left"?G="right":U==="right"&&(G="left"),(0,j.Z)({fixed:G},V)})}function o(T,I){var U=T.prefixCls,V=T.columns,G=T.children,X=T.expandable,_e=T.expandedKeys,x=T.columnTitle,g=T.getRowKey,P=T.onTriggerExpand,D=T.expandIcon,K=T.rowExpandable,L=T.expandIconColumnIndex,i=T.direction,n=T.expandRowByClick,N=T.columnWidth,H=T.fixed,ve=T.scrollWidth,Oe=T.clientWidth,Ue=Z.useMemo(function(){var Ee=V||l(G)||[];return y(Ee.slice())},[V,G]),rt=Z.useMemo(function(){if(X){var Ee=Ue.slice();if(!Ee.includes(h.w)){var B=L||0;B>=0&&(B||H==="left"||!H)&&Ee.splice(B,0,h.w),H==="right"&&Ee.splice(Ue.length,0,h.w)}var he=Ee.indexOf(h.w);Ee=Ee.filter(function(F,O){return F!==h.w||O===he});var oe=Ue[he],Ge;H?Ge=H:Ge=oe?oe.fixed:null;var Ie=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},t.v,{className:"".concat(U,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",x),"fixed",Ge),"className","".concat(U,"-row-expand-icon-cell")),"width",N),"render",function(O,re,de){var ee=g(re,de),ce=_e.has(ee),se=K?K(re):!0,je=D({prefixCls:U,expanded:ce,expandable:se,record:re,onExpand:P});return n?Z.createElement("span",{onClick:function(ut){return ut.stopPropagation()}},je):je});return Ee.map(function(F){return F===h.w?Ie:F})}return Ue.filter(function(F){return F!==h.w})},[X,Ue,g,_e,D,i]),Xe=Z.useMemo(function(){var Ee=rt;return I&&(Ee=I(Ee)),Ee.length||(Ee=[{render:function(){return null}}]),Ee},[I,rt,i]),Mt=Z.useMemo(function(){return i==="rtl"?w(m(Xe)):m(Xe)},[Xe,i,ve]),ge=Z.useMemo(function(){for(var Ee=-1,B=Mt.length-1;B>=0;B-=1){var he=Mt[B].fixed;if(he==="left"||he===!0){Ee=B;break}}if(Ee>=0)for(var oe=0;oe<=Ee;oe+=1){var Ge=Mt[oe].fixed;if(Ge!=="left"&&Ge!==!0)return!0}var Ie=Mt.findIndex(function(re){var de=re.fixed;return de==="right"});if(Ie>=0)for(var F=Ie;F<Mt.length;F+=1){var O=Mt[F].fixed;if(O!=="right")return!0}return!1},[Mt]),st=c(Mt,ve,Oe),We=(0,S.Z)(st,2),ue=We[0],Y=We[1];return[Xe,ue,Y,ge]}var f=o},29104:function(St,Pe,a){"use strict";a.d(Pe,{w2:function(){return S.w},vP:function(){return Yr.v},RQ:function(){return S.R},ER:function(){return ie},Q$:function(){return Vt},TN:function(){return ga}});var S=a(45233),C=a(97685),$=a(66680),J=a(8410),j=a(91881),s=a(67294),A=a(73935);function Z(r){var b=s.createContext(void 0),E=function(z){var W=z.value,Q=z.children,ne=s.useRef(W);ne.current=W;var le=s.useState(function(){return{getValue:function(){return ne.current},listeners:new Set}}),ae=(0,C.Z)(le,1),Re=ae[0];return(0,J.Z)(function(){(0,A.unstable_batchedUpdates)(function(){Re.listeners.forEach(function(fe){fe(W)})})},[W]),s.createElement(b.Provider,{value:Re},Q)};return{Context:b,Provider:E,defaultValue:r}}function e(r,b){var E=(0,$.Z)(typeof b=="function"?b:function(fe){if(b===void 0)return fe;if(!Array.isArray(b))return fe[b];var Ce={};return b.forEach(function(be){Ce[be]=fe[be]}),Ce}),R=s.useContext(r==null?void 0:r.Context),z=R||{},W=z.listeners,Q=z.getValue,ne=s.useRef();ne.current=E(R?Q():r==null?void 0:r.defaultValue);var le=s.useState({}),ae=(0,C.Z)(le,2),Re=ae[1];return(0,J.Z)(function(){if(!R)return;function fe(Ce){var be=E(Ce);(0,j.Z)(ne.current,be,!0)||Re({})}return W.add(fe),function(){W.delete(fe)}},[R]),ne.current}var _=a(87462),h=a(42550);function t(){var r=s.createContext(null);function b(){return s.useContext(r)}function E(z,W){var Q=(0,h.Yr)(z),ne=function(ae,Re){var fe=Q?{ref:Re}:{},Ce=s.useRef(0),be=s.useRef(ae),Ae=b();return Ae!==null?s.createElement(z,(0,_.Z)({},ae,fe)):((!W||W(be.current,ae))&&(Ce.current+=1),be.current=ae,s.createElement(r.Provider,{value:Ce.current},s.createElement(z,(0,_.Z)({},ae,fe))))};return Q?s.forwardRef(ne):ne}function R(z,W){var Q=(0,h.Yr)(z),ne=function(ae,Re){var fe=Q?{ref:Re}:{};return b(),s.createElement(z,(0,_.Z)({},ae,fe))};return Q?s.memo(s.forwardRef(ne),W):s.memo(ne,W)}return{makeImmutable:E,responseImmutable:R,useImmutableMark:b}}var u=t(),c=u.makeImmutable,d=u.responseImmutable,v=u.useImmutableMark,l=t(),y=l.makeImmutable,m=l.responseImmutable,w=l.useImmutableMark,o=Z(),f=o;function T(r,b){var E=React.useRef(0);E.current+=1;var R=React.useRef(r),z=[];Object.keys(r||{}).map(function(Q){var ne;(r==null?void 0:r[Q])!==((ne=R.current)===null||ne===void 0?void 0:ne[Q])&&z.push(Q)}),R.current=r;var W=React.useRef([]);return z.length&&(W.current=z),React.useDebugValue(E.current),React.useDebugValue(W.current.join(", ")),b&&console.log("".concat(b,":"),E.current,W.current),E.current}var I=null,U=null,V=a(71002),G=a(1413),X=a(4942),_e=a(94184),x=a.n(_e);function g(r,b,E){var R=s.useRef({});return(!("value"in R.current)||E(R.current.condition,b))&&(R.current.value=r(),R.current.condition=b),R.current.value}var P=a(40830);function D(r,b){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,R=new Set;function z(W,Q){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,le=R.has(W);if((0,P.ZP)(!le,"Warning: There may be circular references"),le)return!1;if(W===Q)return!0;if(E&&ne>1)return!1;R.add(W);var ae=ne+1;if(Array.isArray(W)){if(!Array.isArray(Q)||W.length!==Q.length)return!1;for(var Re=0;Re<W.length;Re++)if(!z(W[Re],Q[Re],ae))return!1;return!0}if(W&&Q&&(0,V.Z)(W)==="object"&&(0,V.Z)(Q)==="object"){var fe=Object.keys(W);return fe.length!==Object.keys(Q).length?!1:fe.every(function(Ce){return z(W[Ce],Q[Ce],ae)})}return!1}return z(r,b)}var K=D;function L(r,b){for(var E=r,R=0;R<b.length;R+=1){if(E==null)return;E=E[b[R]]}return E}var i=s.createContext({renderWithProps:!1}),n=i,N="RC_TABLE_KEY";function H(r){return r==null?[]:Array.isArray(r)?r:[r]}function ve(r){var b=[],E={};return r.forEach(function(R){for(var z=R||{},W=z.key,Q=z.dataIndex,ne=W||H(Q).join("-")||N;E[ne];)ne="".concat(ne,"_next");E[ne]=!0,b.push(ne)}),b}function Oe(r){return r!=null}function Ue(r){return typeof r=="number"&&!Number.isNaN(r)}function rt(r){return r&&(0,V.Z)(r)==="object"&&!Array.isArray(r)&&!s.isValidElement(r)}function Xe(r,b,E,R,z,W){var Q=s.useContext(n),ne=w(),le=g(function(){if(Oe(R))return[R];var ae=b==null||b===""?[]:Array.isArray(b)?b:[b],Re=L(r,ae),fe=Re,Ce=void 0;if(z){var be=z(Re,r,E);rt(be)?(fe=be.children,Ce=be.props,Q.renderWithProps=!0):fe=be}return[fe,Ce]},[ne,r,R,b,z,E],function(ae,Re){if(W){var fe=(0,C.Z)(ae,2),Ce=fe[1],be=(0,C.Z)(Re,2),Ae=be[1];return W(Ae,Ce)}return Q.renderWithProps?!0:!K(ae,Re,!0)});return le}function Mt(r,b,E,R){var z=r+b-1;return r<=R&&z>=E}function ge(r,b){return e(f,function(E){var R=Mt(r,b||1,E.hoverStartRow,E.hoverEndRow);return[R,E.onHover]})}function st(r){var b=s.useRef();b.current=r;var E=s.useCallback(function(){for(var R,z=arguments.length,W=new Array(z),Q=0;Q<z;Q++)W[Q]=arguments[Q];return(R=b.current)===null||R===void 0?void 0:R.call.apply(R,[b].concat(W))},[]);return E}function We(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ue=We()?s.useLayoutEffect:s.useEffect,Y=function(b,E){var R=React.useRef(!0);ue(function(){return b(R.current)},E),ue(function(){return R.current=!1,function(){R.current=!0}},[])},Ee=function(b,E){Y(function(R){if(!R)return b()},E)},B=null;function he(r){var b=React.useRef(!1),E=React.useState(r),R=_slicedToArray(E,2),z=R[0],W=R[1];React.useEffect(function(){return b.current=!1,function(){b.current=!0}},[]);function Q(ne,le){le&&b.current||W(ne)}return[z,Q]}function oe(r){return r!==void 0}function Ge(r,b){var E=b||{},R=E.defaultValue,z=E.value,W=E.onChange,Q=E.postState,ne=useState(function(){return oe(z)?z:oe(R)?typeof R=="function"?R():R:typeof r=="function"?r():r}),le=_slicedToArray(ne,2),ae=le[0],Re=le[1],fe=z!==void 0?z:ae,Ce=Q?Q(fe):fe,be=useEvent(W),Ae=useState([fe]),ze=_slicedToArray(Ae,2),it=ze[0],wt=ze[1];useLayoutUpdateEffect(function(){var yt=it[0];ae!==yt&&be(ae,yt)},[it]),useLayoutUpdateEffect(function(){oe(z)||Re(z)},[z]);var tt=useEvent(function(yt,Ot){Re(yt,Ot),wt([fe],Ot)});return[Ce,tt]}var Ie=a(35110),F=a(63295),O=Number(s.version.split(".")[0]),re=function(b,E){typeof b=="function"?b(E):(0,V.Z)(b)==="object"&&b&&"current"in b&&(b.current=E)},de=function(){for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];var z=E.filter(Boolean);return z.length<=1?z[0]:function(W){E.forEach(function(Q){re(Q,W)})}},ee=function(){for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];return useMemo(function(){return de.apply(void 0,E)},E,function(z,W){return z.length!==W.length||z.every(function(Q,ne){return Q!==W[ne]})})},ce=function(b){var E,R;if(!b)return!1;if(se(b)&&O>=19)return!0;var z=isMemo(b)?b.type.type:b.type;return!(typeof z=="function"&&!((E=z.prototype)!==null&&E!==void 0&&E.render)&&z.$$typeof!==ForwardRef||typeof b=="function"&&!((R=b.prototype)!==null&&R!==void 0&&R.render)&&b.$$typeof!==ForwardRef)};function se(r){return isValidElement(r)&&!isFragment(r)}var je=function(b){return se(b)&&ce(b)},Ze=function(b){if(b&&se(b)){var E=b;return E.props.propertyIsEnumerable("ref")?E.props.ref:E.ref}return null};function ut(r,b,E,R){if(!b.length)return E;var z=_toArray(b),W=z[0],Q=z.slice(1),ne;return!r&&typeof W=="number"?ne=[]:Array.isArray(r)?ne=_toConsumableArray(r):ne=_objectSpread({},r),R&&E===void 0&&Q.length===1?delete ne[W][Q[0]]:ne[W]=ut(ne[W],Q,E,R),ne}function ht(r,b,E){var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return b.length&&R&&E===void 0&&!get(r,b.slice(0,-1))?r:ut(r,b,E,R)}function Nt(r){return _typeof(r)==="object"&&r!==null&&Object.getPrototypeOf(r)===Object.prototype}function He(r){return Array.isArray(r)?[]:{}}var Ne=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Me(){for(var r=arguments.length,b=new Array(r),E=0;E<r;E++)b[E]=arguments[E];var R=He(b[0]);return b.forEach(function(z){function W(Q,ne){var le=new Set(ne),ae=get(z,Q),Re=Array.isArray(ae);if(Re||Nt(ae)){if(!le.has(ae)){le.add(ae);var fe=get(R,Q);Re?R=ht(R,Q,[]):(!fe||_typeof(fe)!=="object")&&(R=ht(R,Q,He(ae))),Ne(ae).forEach(function(Ce){W([].concat(_toConsumableArray(Q),[Ce]),le)})}}else R=ht(R,Q,ae)}W([])}),R}var $e=function(b){var E=b.ellipsis,R=b.rowType,z=b.children,W,Q=E===!0?{showTitle:!0}:E;return Q&&(Q.showTitle||R==="header")&&(typeof z=="string"||typeof z=="number"?W=z.toString():s.isValidElement(z)&&typeof z.props.children=="string"&&(W=z.props.children)),W};function Ve(r){var b,E,R,z,W,Q,ne,le,ae=r.component,Re=r.children,fe=r.ellipsis,Ce=r.scope,be=r.prefixCls,Ae=r.className,ze=r.align,it=r.record,wt=r.render,tt=r.dataIndex,yt=r.renderIndex,Ot=r.shouldCellUpdate,Qt=r.index,vn=r.rowType,Wt=r.colSpan,_n=r.rowSpan,wn=r.fixLeft,Pn=r.fixRight,Hn=r.firstFixLeft,bn=r.lastFixLeft,an=r.firstFixRight,$t=r.lastFixRight,At=r.appendNode,Dt=r.additionalProps,zt=Dt===void 0?{}:Dt,rn=r.isSticky,Gt="".concat(be,"-cell"),Nn=e(f,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Ln=Nn.supportSticky,wr=Nn.allColumnsFixedLeft,jn=Nn.rowHoverable,Gr=Xe(it,tt,yt,Re,wt,Ot),vi=(0,C.Z)(Gr,2),bi=vi[0],fr=vi[1],Vn={},pt=typeof wn=="number"&&Ln,Ut=typeof Pn=="number"&&Ln;pt&&(Vn.position="sticky",Vn.left=wn),Ut&&(Vn.position="sticky",Vn.right=Pn);var qt=(b=(E=(R=fr==null?void 0:fr.colSpan)!==null&&R!==void 0?R:zt.colSpan)!==null&&E!==void 0?E:Wt)!==null&&b!==void 0?b:1,en=(z=(W=(Q=fr==null?void 0:fr.rowSpan)!==null&&Q!==void 0?Q:zt.rowSpan)!==null&&W!==void 0?W:_n)!==null&&z!==void 0?z:1,sn=ge(Qt,en),Qr=(0,C.Z)(sn,2),Bi=Qr[0],Ii=Qr[1],Ni=st(function(Ra){var ti;it&&Ii(Qt,Qt+en-1),zt==null||(ti=zt.onMouseEnter)===null||ti===void 0||ti.call(zt,Ra)}),ya=st(function(Ra){var ti;it&&Ii(-1,-1),zt==null||(ti=zt.onMouseLeave)===null||ti===void 0||ti.call(zt,Ra)});if(qt===0||en===0)return null;var Ca=(ne=zt.title)!==null&&ne!==void 0?ne:$e({rowType:vn,ellipsis:fe,children:bi}),ji=x()(Gt,Ae,(le={},(0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)(le,"".concat(Gt,"-fix-left"),pt&&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"),an&&Ln),"".concat(Gt,"-fix-right-last"),$t&&Ln),"".concat(Gt,"-ellipsis"),fe),"".concat(Gt,"-with-append"),At),"".concat(Gt,"-fix-sticky"),(pt||Ut)&&rn&&Ln),(0,X.Z)(le,"".concat(Gt,"-row-hover"),!fr&&Bi)),zt.className,fr==null?void 0:fr.className),ua={};ze&&(ua.textAlign=ze);var tr=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},fr==null?void 0:fr.style),Vn),ua),zt.style),wi=bi;return(0,V.Z)(wi)==="object"&&!Array.isArray(wi)&&!s.isValidElement(wi)&&(wi=null),fe&&(bn||an)&&(wi=s.createElement("span",{className:"".concat(Gt,"-content")},wi)),s.createElement(ae,(0,_.Z)({},fr,zt,{className:ji,style:tr,title:Ca,scope:Ce,onMouseEnter:jn?Ni:void 0,onMouseLeave:jn?ya:void 0,colSpan:qt!==1?qt:null,rowSpan:en!==1?en:null}),At,wi)}var vt=s.memo(Ve);function ct(r,b,E,R,z){var W=E[r]||{},Q=E[b]||{},ne,le;W.fixed==="left"?ne=R.left[z==="rtl"?b:r]:Q.fixed==="right"&&(le=R.right[z==="rtl"?r:b]);var ae=!1,Re=!1,fe=!1,Ce=!1,be=E[b+1],Ae=E[r-1],ze=be&&!be.fixed||Ae&&!Ae.fixed||E.every(function(Ot){return Ot.fixed==="left"});if(z==="rtl"){if(ne!==void 0){var it=Ae&&Ae.fixed==="left";Ce=!it&&ze}else if(le!==void 0){var wt=be&&be.fixed==="right";fe=!wt&&ze}}else if(ne!==void 0){var tt=be&&be.fixed==="left";ae=!tt&&ze}else if(le!==void 0){var yt=Ae&&Ae.fixed==="right";Re=!yt&&ze}return{fixLeft:ne,fixRight:le,lastFixLeft:ae,firstFixRight:Re,lastFixRight:fe,firstFixLeft:Ce,isSticky:R.isSticky}}var Ct=s.createContext({}),Ke=Ct;function ot(r){var b=r.className,E=r.index,R=r.children,z=r.colSpan,W=z===void 0?1:z,Q=r.rowSpan,ne=r.align,le=e(f,["prefixCls","direction"]),ae=le.prefixCls,Re=le.direction,fe=s.useContext(Ke),Ce=fe.scrollColumnIndex,be=fe.stickyOffsets,Ae=fe.flattenColumns,ze=E+W-1,it=ze+1===Ce?W+1:W,wt=ct(E,E+it-1,Ae,be,Re);return s.createElement(vt,(0,_.Z)({className:b,index:E,component:"td",prefixCls:ae,record:null,dataIndex:null,align:ne,colSpan:it,rowSpan:Q,render:function(){return R}},wt))}var Lt=a(45987),mt=["children"];function lt(r){var b=r.children,E=(0,Lt.Z)(r,mt);return s.createElement("tr",E,b)}function bt(r){var b=r.children;return b}bt.Row=lt,bt.Cell=ot;var on=bt;function pn(r){var b=r.children,E=r.stickyOffsets,R=r.flattenColumns,z=e(f,"prefixCls"),W=R.length-1,Q=R[W],ne=s.useMemo(function(){return{stickyOffsets:E,flattenColumns:R,scrollColumnIndex:Q!=null&&Q.scrollbar?W:null}},[Q,R,W,E]);return s.createElement(Ke.Provider,{value:ne},s.createElement("tfoot",{className:"".concat(z,"-summary")},b))}var Yt=m(pn),ie=on,Te=a(48555),ye=function(r){if(!r)return!1;if(r instanceof Element){if(r.offsetParent)return!0;if(r.getBBox){var b=r.getBBox(),E=b.width,R=b.height;if(E||R)return!0}if(r.getBoundingClientRect){var z=r.getBoundingClientRect(),W=z.width,Q=z.height;if(W||Q)return!0}}return!1},pe=function(b){if(We()&&window.document.documentElement){var E=Array.isArray(b)?b:[b],R=window.document.documentElement;return E.some(function(z){return z in R.style})}return!1},et=function(b,E){if(!pe(b))return!1;var R=document.createElement("div"),z=R.style[b];return R.style[b]=E,R.style[b]!==z};function qe(r,b){return!Array.isArray(r)&&b!==void 0?et(r,b):pe(r)}function ft(r,b){if(!r)return!1;if(r.contains)return r.contains(b);for(var E=b;E;){if(E===r)return!0;E=E.parentNode}return!1}var Rt="data-rc-order",Ht="data-rc-priority",Kt="rc-util-key",Pt=new Map;function _t(){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 It(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 dt(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!We())return null;var E=b.csp,R=b.prepend,z=b.priority,W=z===void 0?0:z,Q=It(R),ne=Q==="prependQueue",le=document.createElement("style");le.setAttribute(Rt,Q),ne&&W&&le.setAttribute(Ht,"".concat(W)),E!=null&&E.nonce&&(le.nonce=E==null?void 0:E.nonce),le.innerHTML=r;var ae=jt(b),Re=ae.firstChild;if(R){if(ne){var fe=(b.styles||Bt(ae)).filter(function(Ce){if(!["prepend","prependQueue"].includes(Ce.getAttribute(Rt)))return!1;var be=Number(Ce.getAttribute(Ht)||0);return W>=be});if(fe.length)return ae.insertBefore(le,fe[fe.length-1].nextSibling),le}ae.insertBefore(le,Re)}else ae.appendChild(le);return le}function Fe(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=jt(b);return(b.styles||Bt(E)).find(function(R){return R.getAttribute(_t(b))===r})}function Je(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=Fe(r,b);if(E){var R=jt(b);R.removeChild(E)}}function Tt(r,b){var E=Pt.get(r);if(!E||!ft(document,E)){var R=dt("",b),z=R.parentNode;Pt.set(r,z),r.removeChild(R)}}function tn(){Pt.clear()}function cn(r,b){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},R=jt(E),z=Bt(R),W=(0,G.Z)((0,G.Z)({},E),{},{styles:z});Tt(R,W);var Q=Fe(b,W);if(Q){var ne,le;if((ne=W.csp)!==null&&ne!==void 0&&ne.nonce&&Q.nonce!==((le=W.csp)===null||le===void 0?void 0:le.nonce)){var ae;Q.nonce=(ae=W.csp)===null||ae===void 0?void 0:ae.nonce}return Q.innerHTML!==r&&(Q.innerHTML=r),Q}var Re=dt(r,W);return Re.setAttribute(_t(W),b),Re}var Zn;function ar(r){var b="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),E=document.createElement("div");E.id=b;var R=E.style;R.position="absolute",R.left="0",R.top="0",R.width="100px",R.height="100px",R.overflow="scroll";var z,W;if(r){var Q=getComputedStyle(r);R.scrollbarColor=Q.scrollbarColor,R.scrollbarWidth=Q.scrollbarWidth;var ne=getComputedStyle(r,"::-webkit-scrollbar"),le=parseInt(ne.width,10),ae=parseInt(ne.height,10);try{var Re=le?"width: ".concat(ne.width,";"):"",fe=ae?"height: ".concat(ne.height,";"):"";cn(`
|
|
#`.concat(b,`::-webkit-scrollbar {
|
|
`).concat(Re,`
|
|
`).concat(fe,`
|
|
}`),b)}catch(Ae){console.error(Ae),z=le,W=ae}}document.body.appendChild(E);var Ce=r&&z&&!isNaN(z)?z:E.offsetWidth-E.clientWidth,be=r&&W&&!isNaN(W)?W:E.offsetHeight-E.clientHeight;return document.body.removeChild(E),Je(b),{width:Ce,height:be}}function kn(r){return typeof document=="undefined"?0:((r||Zn===void 0)&&(Zn=ar()),Zn.width)}function mn(r){return typeof document=="undefined"||!r||!(r instanceof Element)?{width:0,height:0}:ar(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`,nn="".concat(On," ").concat(Gn).split(/[\s\n]+/),zn="aria-",Dn="data-";function un(r,b){return r.indexOf(b)===0}function gn(r){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E;b===!1?E={aria:!0,data:!0,attr:!0}:b===!0?E={aria:!0}:E=(0,G.Z)({},b);var R={};return Object.keys(r).forEach(function(z){(E.aria&&(z==="role"||un(z,zn))||E.data&&un(z,Dn)||E.attr&&nn.includes(z))&&(R[z]=r[z])}),R}function yn(r,b,E,R,z,W,Q){r.push({record:b,indent:E,index:Q});var ne=W(b),le=z==null?void 0:z.has(ne);if(b&&Array.isArray(b[R])&&le)for(var ae=0;ae<b[R].length;ae+=1)yn(r,b[R][ae],E+1,R,z,W,ae)}function Sn(r,b,E,R){var z=s.useMemo(function(){if(E!=null&&E.size){for(var W=[],Q=0;Q<(r==null?void 0:r.length);Q+=1){var ne=r[Q];yn(W,ne,0,b,E,R,Q)}return W}return r==null?void 0:r.map(function(le,ae){return{record:le,indent:0,index:ae}})},[r,b,E,R]);return z}function dn(r,b,E,R){var z=e(f,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),W=z.flattenColumns,Q=z.expandableType,ne=z.expandedKeys,le=z.childrenColumnName,ae=z.onTriggerExpand,Re=z.rowExpandable,fe=z.onRow,Ce=z.expandRowByClick,be=z.rowClassName,Ae=Q==="nest",ze=Q==="row"&&(!Re||Re(r)),it=ze||Ae,wt=ne&&ne.has(b),tt=le&&r&&r[le],yt=st(ae),Ot=fe==null?void 0:fe(r,E),Qt=Ot==null?void 0:Ot.onClick,vn=function(Pn){Ce&&it&&ae(r,Pn);for(var Hn=arguments.length,bn=new Array(Hn>1?Hn-1:0),an=1;an<Hn;an++)bn[an-1]=arguments[an];Qt==null||Qt.apply(void 0,[Pn].concat(bn))},Wt;typeof be=="string"?Wt=be:typeof be=="function"&&(Wt=be(r,E,R));var _n=ve(W);return(0,G.Z)((0,G.Z)({},z),{},{columnsKey:_n,nestExpandable:Ae,expanded:wt,hasNestChildren:tt,record:r,onTriggerExpand:yt,rowSupportExpand:ze,expandable:it,rowProps:(0,G.Z)((0,G.Z)({},Ot),{},{className:x()(Wt,Ot==null?void 0:Ot.className),onClick:vn})})}function Mn(r){var b=r.prefixCls,E=r.children,R=r.component,z=r.cellComponent,W=r.className,Q=r.expanded,ne=r.colSpan,le=r.isEmpty,ae=e(f,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Re=ae.scrollbarSize,fe=ae.fixHeader,Ce=ae.fixColumn,be=ae.componentWidth,Ae=ae.horizonScroll,ze=E;return(le?Ae&&be:Ce)&&(ze=s.createElement("div",{style:{width:be-(fe&&!le?Re:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(b,"-expanded-row-fixed")},ze)),s.createElement(R,{className:W,style:{display:Q?null:"none"}},s.createElement(vt,{component:z,prefixCls:b,colSpan:ne},ze))}var Un=Mn;function er(r){var b=r.prefixCls,E=r.record,R=r.onExpand,z=r.expanded,W=r.expandable,Q="".concat(b,"-row-expand-icon");if(!W)return s.createElement("span",{className:x()(Q,"".concat(b,"-row-spaced"))});var ne=function(ae){R(E,ae),ae.stopPropagation()};return s.createElement("span",{className:x()(Q,(0,X.Z)((0,X.Z)({},"".concat(b,"-row-expanded"),z),"".concat(b,"-row-collapsed"),!z)),onClick:ne})}function ur(r,b,E){var R=[];function z(W){(W||[]).forEach(function(Q,ne){R.push(b(Q,ne)),z(Q[E])})}return z(r),R}function Sr(r,b,E,R){return typeof r=="string"?r:typeof r=="function"?r(b,E,R):""}function Ei(r,b,E,R,z){var W=r.record,Q=r.prefixCls,ne=r.columnsKey,le=r.fixedInfoList,ae=r.expandIconColumnIndex,Re=r.nestExpandable,fe=r.indentSize,Ce=r.expandIcon,be=r.expanded,Ae=r.hasNestChildren,ze=r.onTriggerExpand,it=ne[E],wt=le[E],tt;E===(ae||0)&&Re&&(tt=s.createElement(s.Fragment,null,s.createElement("span",{style:{paddingLeft:"".concat(fe*R,"px")},className:"".concat(Q,"-row-indent indent-level-").concat(R)}),Ce({prefixCls:Q,expanded:be,expandable:Ae,record:W,onExpand:ze})));var yt;return b.onCell&&(yt=b.onCell(W,z)),{key:it,fixedInfo:wt,appendCellNode:tt,additionalCellProps:yt||{}}}function Wi(r){var b=r.className,E=r.style,R=r.record,z=r.index,W=r.renderIndex,Q=r.rowKey,ne=r.indent,le=ne===void 0?0:ne,ae=r.rowComponent,Re=r.cellComponent,fe=r.scopeCellComponent,Ce=dn(R,Q,z,le),be=Ce.prefixCls,Ae=Ce.flattenColumns,ze=Ce.expandedRowClassName,it=Ce.expandedRowRender,wt=Ce.rowProps,tt=Ce.expanded,yt=Ce.rowSupportExpand,Ot=s.useRef(!1);Ot.current||(Ot.current=tt);var Qt=Sr(ze,R,z,le),vn=s.createElement(ae,(0,_.Z)({},wt,{"data-row-key":Q,className:x()(b,"".concat(be,"-row"),"".concat(be,"-row-level-").concat(le),wt==null?void 0:wt.className,(0,X.Z)({},Qt,le>=1)),style:(0,G.Z)((0,G.Z)({},E),wt==null?void 0:wt.style)}),Ae.map(function(wn,Pn){var Hn=wn.render,bn=wn.dataIndex,an=wn.className,$t=Ei(Ce,wn,Pn,le,z),At=$t.key,Dt=$t.fixedInfo,zt=$t.appendCellNode,rn=$t.additionalCellProps;return s.createElement(vt,(0,_.Z)({className:an,ellipsis:wn.ellipsis,align:wn.align,scope:wn.rowScope,component:wn.rowScope?fe:Re,prefixCls:be,key:At,record:R,index:z,renderIndex:W,dataIndex:bn,render:Hn,shouldCellUpdate:wn.shouldCellUpdate},Dt,{appendNode:zt,additionalProps:rn}))})),Wt;if(yt&&(Ot.current||tt)){var _n=it(R,z,le+1,tt);Wt=s.createElement(Un,{expanded:tt,className:x()("".concat(be,"-expanded-row"),"".concat(be,"-expanded-row-level-").concat(le+1),Qt),prefixCls:be,component:ae,cellComponent:Re,colSpan:Ae.length,isEmpty:!1},_n)}return s.createElement(s.Fragment,null,vn,Wt)}var Er=m(Wi);function Ji(r){var b=r.columnKey,E=r.onColumnResize,R=s.useRef();return s.useEffect(function(){R.current&&E(b,R.current.offsetWidth)},[]),s.createElement(Te.Z,{data:b},s.createElement("td",{ref:R,style:{padding:0,border:0,height:0}},s.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function qi(r){var b=r.prefixCls,E=r.columnsKey,R=r.onColumnResize;return s.createElement("tr",{"aria-hidden":"true",className:"".concat(b,"-measure-row"),style:{height:0,fontSize:0}},s.createElement(Te.Z.Collection,{onBatchResize:function(W){W.forEach(function(Q){var ne=Q.data,le=Q.size;R(ne,le.offsetWidth)})}},E.map(function(z){return s.createElement(Ji,{key:z,columnKey:z,onColumnResize:R})})))}function Ti(r){var b=r.data,E=r.measureColumnWidth,R=e(f,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),z=R.prefixCls,W=R.getComponent,Q=R.onColumnResize,ne=R.flattenColumns,le=R.getRowKey,ae=R.expandedKeys,Re=R.childrenColumnName,fe=R.emptyNode,Ce=Sn(b,Re,ae,le),be=s.useRef({renderWithProps:!1}),Ae=W(["body","wrapper"],"tbody"),ze=W(["body","row"],"tr"),it=W(["body","cell"],"td"),wt=W(["body","cell"],"th"),tt;b.length?tt=Ce.map(function(Ot,Qt){var vn=Ot.record,Wt=Ot.indent,_n=Ot.index,wn=le(vn,Qt);return s.createElement(Er,{key:wn,rowKey:wn,record:vn,index:Qt,renderIndex:_n,rowComponent:ze,cellComponent:it,scopeCellComponent:wt,indent:Wt})}):tt=s.createElement(Un,{expanded:!0,className:"".concat(z,"-placeholder"),prefixCls:z,component:ze,cellComponent:it,colSpan:ne.length,isEmpty:!0},fe);var yt=ve(ne);return s.createElement(n.Provider,{value:be.current},s.createElement(Ae,{className:"".concat(z,"-tbody")},E&&s.createElement(qi,{prefixCls:z,columnsKey:yt,onColumnResize:Q}),tt))}var Or=m(Ti),Yr=a(62978),Br=["columnType"];function jr(r){for(var b=r.colWidths,E=r.columns,R=r.columCount,z=e(f,["tableLayout"]),W=z.tableLayout,Q=[],ne=R||E.length,le=!1,ae=ne-1;ae>=0;ae-=1){var Re=b[ae],fe=E&&E[ae],Ce=void 0,be=void 0;if(fe&&(Ce=fe[Yr.v],W==="auto"&&(be=fe.minWidth)),Re||be||Ce||le){var Ae=Ce||{},ze=Ae.columnType,it=(0,Lt.Z)(Ae,Br);Q.unshift(s.createElement("col",(0,_.Z)({key:ae,style:{width:Re,minWidth:be}},it))),le=!0}}return s.createElement("colgroup",null,Q)}var _i=jr,oi=a(74902),dr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Cr(r,b){return(0,s.useMemo)(function(){for(var E=[],R=0;R<b;R+=1){var z=r[R];if(z!==void 0)E[R]=z;else return null}return E},[r.join("_"),b])}var Li=s.forwardRef(function(r,b){var E=r.className,R=r.noData,z=r.columns,W=r.flattenColumns,Q=r.colWidths,ne=r.columCount,le=r.stickyOffsets,ae=r.direction,Re=r.fixHeader,fe=r.stickyTopOffset,Ce=r.stickyBottomOffset,be=r.stickyClassName,Ae=r.onScroll,ze=r.maxContentScroll,it=r.children,wt=(0,Lt.Z)(r,dr),tt=e(f,["prefixCls","scrollbarSize","isSticky","getComponent"]),yt=tt.prefixCls,Ot=tt.scrollbarSize,Qt=tt.isSticky,vn=tt.getComponent,Wt=vn(["header","table"],"table"),_n=Qt&&!Re?0:Ot,wn=s.useRef(null),Pn=s.useCallback(function(rn){re(b,rn),re(wn,rn)},[]);s.useEffect(function(){var rn;function Gt(Nn){var Ln=Nn,wr=Ln.currentTarget,jn=Ln.deltaX;jn&&(Ae({currentTarget:wr,scrollLeft:wr.scrollLeft+jn}),Nn.preventDefault())}return(rn=wn.current)===null||rn===void 0||rn.addEventListener("wheel",Gt,{passive:!1}),function(){var Nn;(Nn=wn.current)===null||Nn===void 0||Nn.removeEventListener("wheel",Gt)}},[]);var Hn=s.useMemo(function(){return W.every(function(rn){return rn.width})},[W]),bn=W[W.length-1],an={fixed:bn?bn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(yt,"-cell-scrollbar")}}},$t=(0,s.useMemo)(function(){return _n?[].concat((0,oi.Z)(z),[an]):z},[_n,z]),At=(0,s.useMemo)(function(){return _n?[].concat((0,oi.Z)(W),[an]):W},[_n,W]),Dt=(0,s.useMemo)(function(){var rn=le.right,Gt=le.left;return(0,G.Z)((0,G.Z)({},le),{},{left:ae==="rtl"?[].concat((0,oi.Z)(Gt.map(function(Nn){return Nn+_n})),[0]):Gt,right:ae==="rtl"?rn:[].concat((0,oi.Z)(rn.map(function(Nn){return Nn+_n})),[0]),isSticky:Qt})},[_n,le,Qt]),zt=Cr(Q,ne);return s.createElement("div",{style:(0,G.Z)({overflow:"hidden"},Qt?{top:fe,bottom:Ce}:{}),ref:Pn,className:x()(E,(0,X.Z)({},be,!!be))},s.createElement(Wt,{style:{tableLayout:"fixed",visibility:R||zt?null:"hidden"}},(!R||!ze||Hn)&&s.createElement(_i,{colWidths:zt?[].concat((0,oi.Z)(zt),[_n]):[],columCount:ne+1,columns:At}),it((0,G.Z)((0,G.Z)({},wt),{},{stickyOffsets:Dt,columns:$t,flattenColumns:At}))))}),mi=s.memo(Li),fa=function(b){var E=b.cells,R=b.stickyOffsets,z=b.flattenColumns,W=b.rowComponent,Q=b.cellComponent,ne=b.onHeaderRow,le=b.index,ae=e(f,["prefixCls","direction"]),Re=ae.prefixCls,fe=ae.direction,Ce;ne&&(Ce=ne(E.map(function(Ae){return Ae.column}),le));var be=ve(E.map(function(Ae){return Ae.column}));return s.createElement(W,Ce,E.map(function(Ae,ze){var it=Ae.column,wt=ct(Ae.colStart,Ae.colEnd,z,R,fe),tt;return it&&it.onHeaderCell&&(tt=Ae.column.onHeaderCell(it)),s.createElement(vt,(0,_.Z)({},Ae,{scope:it.title?Ae.colSpan>1?"colgroup":"col":null,ellipsis:it.ellipsis,align:it.align,component:Q,prefixCls:Re,key:be[ze]},wt,{additionalProps:tt,rowType:"header"}))}))},di=fa;function hi(r){var b=[];function E(Q,ne){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;b[le]=b[le]||[];var ae=ne,Re=Q.filter(Boolean).map(function(fe){var Ce={key:fe.key,className:fe.className||"",children:fe.title,column:fe,colStart:ae},be=1,Ae=fe.children;return Ae&&Ae.length>0&&(be=E(Ae,ae,le+1).reduce(function(ze,it){return ze+it},0),Ce.hasSubColumns=!0),"colSpan"in fe&&(be=fe.colSpan),"rowSpan"in fe&&(Ce.rowSpan=fe.rowSpan),Ce.colSpan=be,Ce.colEnd=Ce.colStart+be-1,b[le].push(Ce),ae+=be,be});return Re}E(r,0);for(var R=b.length,z=function(ne){b[ne].forEach(function(le){!("rowSpan"in le)&&!le.hasSubColumns&&(le.rowSpan=R-ne)})},W=0;W<R;W+=1)z(W);return b}var gi=function(b){var E=b.stickyOffsets,R=b.columns,z=b.flattenColumns,W=b.onHeaderRow,Q=e(f,["prefixCls","getComponent"]),ne=Q.prefixCls,le=Q.getComponent,ae=s.useMemo(function(){return hi(R)},[R]),Re=le(["header","wrapper"],"thead"),fe=le(["header","row"],"tr"),Ce=le(["header","cell"],"th");return s.createElement(Re,{className:"".concat(ne,"-thead")},ae.map(function(be,Ae){var ze=s.createElement(di,{key:Ae,flattenColumns:z,cells:be,stickyOffsets:E,rowComponent:fe,cellComponent:Ce,onHeaderRow:W,index:Ae});return ze}))},ni=m(gi),hr=a(54768);function $r(r,b,E){var R=(0,Yr.g)(r),z=R.expandIcon,W=R.expandedRowKeys,Q=R.defaultExpandedRowKeys,ne=R.defaultExpandAllRows,le=R.expandedRowRender,ae=R.onExpand,Re=R.onExpandedRowsChange,fe=R.childrenColumnName,Ce=z||er,be=fe||"children",Ae=s.useMemo(function(){return le?"row":r.expandable&&r.internalHooks===S.R&&r.expandable.__PARENT_RENDER_ICON__||b.some(function(Qt){return Qt&&(0,V.Z)(Qt)==="object"&&Qt[be]})?"nest":!1},[!!le,b]),ze=s.useState(function(){return Q||(ne?ur(b,E,be):[])}),it=(0,C.Z)(ze,2),wt=it[0],tt=it[1],yt=s.useMemo(function(){return new Set(W||wt||[])},[W,wt]),Ot=s.useCallback(function(Qt){var vn=E(Qt,b.indexOf(Qt)),Wt,_n=yt.has(vn);_n?(yt.delete(vn),Wt=(0,oi.Z)(yt)):Wt=[].concat((0,oi.Z)(yt),[vn]),tt(Wt),ae&&ae(!_n,Qt),Re&&Re(Wt)},[E,yt,b,ae,Re]);return[R,Ae,yt,Ce,be,Ot]}function ki(r,b,E){var R=r.map(function(z,W){return ct(W,W,r,b,E)});return g(function(){return R},[R],function(z,W){return!K(z,W)})}function ea(r){var b=(0,s.useRef)(r),E=(0,s.useState)({}),R=(0,C.Z)(E,2),z=R[1],W=(0,s.useRef)(null),Q=(0,s.useRef)([]);function ne(le){Q.current.push(le);var ae=Promise.resolve();W.current=ae,ae.then(function(){if(W.current===ae){var Re=Q.current,fe=b.current;Q.current=[],Re.forEach(function(Ce){b.current=Ce(b.current)}),W.current=null,fe!==b.current&&z({})}})}return(0,s.useEffect)(function(){return function(){W.current=null}},[]),[b.current,ne]}function da(r){var b=(0,s.useRef)(r||null),E=(0,s.useRef)();function R(){window.clearTimeout(E.current)}function z(Q){b.current=Q,R(),E.current=window.setTimeout(function(){b.current=null,E.current=void 0},100)}function W(){return b.current}return(0,s.useEffect)(function(){return R},[]),[z,W]}function Xr(){var r=s.useState(-1),b=(0,C.Z)(r,2),E=b[0],R=b[1],z=s.useState(-1),W=(0,C.Z)(z,2),Q=W[0],ne=W[1],le=s.useCallback(function(ae,Re){R(ae),ne(Re)},[]);return[E,Q,le]}var Dr=We()?window:null;function ha(r,b){var E=(0,V.Z)(r)==="object"?r:{},R=E.offsetHeader,z=R===void 0?0:R,W=E.offsetSummary,Q=W===void 0?0:W,ne=E.offsetScroll,le=ne===void 0?0:ne,ae=E.getContainer,Re=ae===void 0?function(){return Dr}:ae,fe=Re()||Dr,Ce=!!r;return s.useMemo(function(){return{isSticky:Ce,stickyClassName:Ce?"".concat(b,"-sticky-holder"):"",offsetHeader:z,offsetSummary:Q,offsetScroll:le,container:fe}},[Ce,le,z,Q,b,fe])}function xi(r,b,E){var R=(0,s.useMemo)(function(){var z=b.length,W=function(ae,Re,fe){for(var Ce=[],be=0,Ae=ae;Ae!==Re;Ae+=fe)Ce.push(be),b[Ae].fixed&&(be+=r[Ae]||0);return Ce},Q=W(0,z,1),ne=W(z-1,-1,-1).reverse();return E==="rtl"?{left:ne,right:Q}:{left:Q,right:ne}},[r,b,E]);return R}var pa=xi;function q(r){var b=r.className,E=r.children;return s.createElement("div",{className:b},E)}var we=q;function ke(r,b,E,R){var z=A.unstable_batchedUpdates?function(Q){A.unstable_batchedUpdates(E,Q)}:E;return r!=null&&r.addEventListener&&r.addEventListener(b,z,R),{remove:function(){r!=null&&r.removeEventListener&&r.removeEventListener(b,z,R)}}}var me=function(b){return+setTimeout(b,16)},Le=function(b){return clearTimeout(b)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(me=function(b){return window.requestAnimationFrame(b)},Le=function(b){return window.cancelAnimationFrame(b)});var Be=0,Se=new Map;function Qe(r){Se.delete(r)}var Ft=function(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Be+=1;var R=Be;function z(W){if(W===0)Qe(R),b();else{var Q=me(function(){z(W-1)});Se.set(R,Q)}}return z(E),R};Ft.cancel=function(r){var b=Se.get(r);return Qe(r),Le(b)};var Zt=Ft;function Cn(r){return r instanceof HTMLElement||r instanceof SVGElement}function hn(r){return r&&(0,V.Z)(r)==="object"&&Cn(r.nativeElement)?r.nativeElement:Cn(r)?r:null}function In(r){var b=hn(r);if(b)return b;if(r instanceof React.Component){var E;return(E=ReactDOM.findDOMNode)===null||E===void 0?void 0:E.call(ReactDOM,r)}return null}function Xn(r){var b=hn(r),E=b.getBoundingClientRect(),R=document.documentElement;return{left:E.left+(window.pageXOffset||R.scrollLeft)-(R.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||R.scrollTop)-(R.clientTop||document.body.clientTop||0)}}var Rn=function(b,E){var R,z,W=b.scrollBodyRef,Q=b.onScroll,ne=b.offsetScroll,le=b.container,ae=b.direction,Re=e(f,"prefixCls"),fe=((R=W.current)===null||R===void 0?void 0:R.scrollWidth)||0,Ce=((z=W.current)===null||z===void 0?void 0:z.clientWidth)||0,be=fe&&Ce*(Ce/fe),Ae=s.useRef(),ze=ea({scrollLeft:0,isHiddenScrollBar:!0}),it=(0,C.Z)(ze,2),wt=it[0],tt=it[1],yt=s.useRef({delta:0,x:0}),Ot=s.useState(!1),Qt=(0,C.Z)(Ot,2),vn=Qt[0],Wt=Qt[1],_n=s.useRef(null);s.useEffect(function(){return function(){Zt.cancel(_n.current)}},[]);var wn=function(){Wt(!1)},Pn=function(At){At.persist(),yt.current.delta=At.pageX-wt.scrollLeft,yt.current.x=0,Wt(!0),At.preventDefault()},Hn=function(At){var Dt,zt=At||((Dt=window)===null||Dt===void 0?void 0:Dt.event),rn=zt.buttons;if(!vn||rn===0){vn&&Wt(!1);return}var Gt=yt.current.x+At.pageX-yt.current.x-yt.current.delta,Nn=ae==="rtl";Gt=Math.max(Nn?be-Ce:0,Math.min(Nn?0:Ce-be,Gt));var Ln=!Nn||Math.abs(Gt)+Math.abs(be)<Ce;Ln&&(Q({scrollLeft:Gt/Ce*(fe+2)}),yt.current.x=At.pageX)},bn=function(){Zt.cancel(_n.current),_n.current=Zt(function(){if(W.current){var At=Xn(W.current).top,Dt=At+W.current.offsetHeight,zt=le===window?document.documentElement.scrollTop+window.innerHeight:Xn(le).top+le.clientHeight;Dt-kn()<=zt||At>=zt-ne?tt(function(rn){return(0,G.Z)((0,G.Z)({},rn),{},{isHiddenScrollBar:!0})}):tt(function(rn){return(0,G.Z)((0,G.Z)({},rn),{},{isHiddenScrollBar:!1})})}})},an=function(At){tt(function(Dt){return(0,G.Z)((0,G.Z)({},Dt),{},{scrollLeft:At/fe*Ce||0})})};return s.useImperativeHandle(E,function(){return{setScrollLeft:an,checkScrollBarVisible:bn}}),s.useEffect(function(){var $t=ke(document.body,"mouseup",wn,!1),At=ke(document.body,"mousemove",Hn,!1);return bn(),function(){$t.remove(),At.remove()}},[be,vn]),s.useEffect(function(){if(W.current){for(var $t=[],At=hn(W.current);At;)$t.push(At),At=At.parentElement;return $t.forEach(function(Dt){return Dt.addEventListener("scroll",bn,!1)}),window.addEventListener("resize",bn,!1),window.addEventListener("scroll",bn,!1),le.addEventListener("scroll",bn,!1),function(){$t.forEach(function(Dt){return Dt.removeEventListener("scroll",bn)}),window.removeEventListener("resize",bn),window.removeEventListener("scroll",bn),le.removeEventListener("scroll",bn)}}},[le]),s.useEffect(function(){wt.isHiddenScrollBar||tt(function($t){var At=W.current;return At?(0,G.Z)((0,G.Z)({},$t),{},{scrollLeft:At.scrollLeft/At.scrollWidth*At.clientWidth}):$t})},[wt.isHiddenScrollBar]),fe<=Ce||!be||wt.isHiddenScrollBar?null:s.createElement("div",{style:{height:kn(),width:Ce,bottom:ne},className:"".concat(Re,"-sticky-scroll")},s.createElement("div",{onMouseDown:Pn,ref:Ae,className:x()("".concat(Re,"-sticky-scroll-bar"),(0,X.Z)({},"".concat(Re,"-sticky-scroll-bar-active"),vn)),style:{width:"".concat(be,"px"),transform:"translate3d(".concat(wt.scrollLeft,"px, 0, 0)")}}))},nr=s.forwardRef(Rn);function Kn(r){return null}var p=Kn;function k(r){return null}var M=k,te="rc-table",xe=[],De={};function Ye(){return"No Data"}function xt(r,b){var E=(0,G.Z)({rowKey:"key",prefixCls:te,emptyText:Ye},r),R=E.prefixCls,z=E.className,W=E.rowClassName,Q=E.style,ne=E.data,le=E.rowKey,ae=E.scroll,Re=E.tableLayout,fe=E.direction,Ce=E.title,be=E.footer,Ae=E.summary,ze=E.caption,it=E.id,wt=E.showHeader,tt=E.components,yt=E.emptyText,Ot=E.onRow,Qt=E.onHeaderRow,vn=E.onScroll,Wt=E.internalHooks,_n=E.transformColumns,wn=E.internalRefs,Pn=E.tailor,Hn=E.getContainerWidth,bn=E.sticky,an=E.rowHoverable,$t=an===void 0?!0:an,At=ne||xe,Dt=!!At.length,zt=Wt===S.R,rn=s.useCallback(function($n,qn){return L(tt,$n)||qn},[tt]),Gt=s.useMemo(function(){return typeof le=="function"?le:function($n){var qn=$n&&$n[le];return qn}},[le]),Nn=rn(["body"]),Ln=Xr(),wr=(0,C.Z)(Ln,3),jn=wr[0],Gr=wr[1],vi=wr[2],bi=$r(E,At,Gt),fr=(0,C.Z)(bi,6),Vn=fr[0],pt=fr[1],Ut=fr[2],qt=fr[3],en=fr[4],sn=fr[5],Qr=ae==null?void 0:ae.x,Bi=s.useState(0),Ii=(0,C.Z)(Bi,2),Ni=Ii[0],ya=Ii[1],Ca=(0,hr.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},E),Vn),{},{expandable:!!Vn.expandedRowRender,columnTitle:Vn.columnTitle,expandedKeys:Ut,getRowKey:Gt,onTriggerExpand:sn,expandIcon:qt,expandIconColumnIndex:Vn.expandIconColumnIndex,direction:fe,scrollWidth:zt&&Pn&&typeof Qr=="number"?Qr:null,clientWidth:Ni}),zt?_n:null),ji=(0,C.Z)(Ca,4),ua=ji[0],tr=ji[1],wi=ji[2],Ra=ji[3],ti=wi!=null?wi:Qr,qa=s.useMemo(function(){return{columns:ua,flattenColumns:tr}},[ua,tr]),zi=s.useRef(),Fa=s.useRef(),Fr=s.useRef(),Ia=s.useRef();s.useImperativeHandle(b,function(){return{nativeElement:zi.current,scrollTo:function(qn){var Ai;if(Fr.current instanceof HTMLElement){var ca=qn.index,Mi=qn.top,rs=qn.key;if(Ue(Mi)){var Xa;(Xa=Fr.current)===null||Xa===void 0||Xa.scrollTo({top:Mi})}else{var Ja,us=rs!=null?rs:Gt(At[ca]);(Ja=Fr.current.querySelector('[data-row-key="'.concat(us,'"]')))===null||Ja===void 0||Ja.scrollIntoView()}}else(Ai=Fr.current)!==null&&Ai!==void 0&&Ai.scrollTo&&Fr.current.scrollTo(qn)}}});var Ba=s.useRef(),ls=s.useState(!1),cs=(0,C.Z)(ls,2),fs=cs[0],Qi=cs[1],bs=s.useState(!1),ds=(0,C.Z)(bs,2),hs=ds[0],Wa=ds[1],ws=ea(new Map),ps=(0,C.Z)(ws,2),is=ps[0],as=ps[1],Es=ve(tr),Ha=Es.map(function($n){return is.get($n)}),Va=s.useMemo(function(){return Ha},[Ha.join("_")]),$a=pa(Va,tr,fe),Xi=ae&&Oe(ae.y),la=ae&&Oe(ti)||!!Vn.fixed,Pa=la&&tr.some(function($n){var qn=$n.fixed;return qn}),Ga=s.useRef(),ba=ha(bn,R),wa=ba.isSticky,xs=ba.offsetHeader,ss=ba.offsetSummary,Ss=ba.offsetScroll,Cs=ba.stickyClassName,vs=ba.container,Ui=s.useMemo(function(){return Ae==null?void 0:Ae(At)},[Ae,At]),ja=(Xi||wa)&&s.isValidElement(Ui)&&Ui.type===on&&Ui.props.fixed,es,Ya,os;Xi&&(Ya={overflowY:Dt?"scroll":"auto",maxHeight:ae.y}),la&&(es={overflowX:"auto"},Xi||(Ya={overflowY:"hidden"}),os={width:ti===!0?"auto":ti,minWidth:"100%"});var _s=s.useCallback(function($n,qn){ye(zi.current)&&as(function(Ai){if(Ai.get($n)!==qn){var ca=new Map(Ai);return ca.set($n,qn),ca}return Ai})},[]),Rs=da(null),za=(0,C.Z)(Rs,2),ms=za[0],fn=za[1];function Xt($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=st(function($n){var qn=$n.currentTarget,Ai=$n.scrollLeft,ca=fe==="rtl",Mi=typeof Ai=="number"?Ai:qn.scrollLeft,rs=qn||De;if(!fn()||fn()===rs){var Xa;ms(rs),Xt(Mi,Fa.current),Xt(Mi,Fr.current),Xt(Mi,Ba.current),Xt(Mi,(Xa=Ga.current)===null||Xa===void 0?void 0:Xa.setScrollLeft)}var Ja=qn||Fa.current;if(Ja){var us=zt&&Pn&&typeof ti=="number"?ti:Ja.scrollWidth,ks=Ja.clientWidth;if(us===ks){Qi(!1),Wa(!1);return}ca?(Qi(-Mi<us-ks),Wa(-Mi>0)):(Qi(Mi>0),Wa(Mi<us-ks))}}),Vr=st(function($n){Tn($n),vn==null||vn($n)}),fi=function(){if(la&&Fr.current){var qn;Tn({currentTarget:hn(Fr.current),scrollLeft:(qn=Fr.current)===null||qn===void 0?void 0:qn.scrollLeft})}else Qi(!1),Wa(!1)},ts=function(qn){var Ai,ca=qn.width;(Ai=Ga.current)===null||Ai===void 0||Ai.checkScrollBarVisible();var Mi=zi.current?zi.current.offsetWidth:ca;zt&&Hn&&zi.current&&(Mi=Hn(zi.current,Mi)||Mi),Mi!==Ni&&(fi(),ya(Mi))},Na=s.useRef(!1);s.useEffect(function(){Na.current&&fi()},[la,ne,ua.length]),s.useEffect(function(){Na.current=!0},[]);var Ps=s.useState(0),gs=(0,C.Z)(Ps,2),Qa=gs[0],ns=gs[1],Hs=s.useState(!0),Os=(0,C.Z)(Hs,2),Ds=Os[0],Vs=Os[1];s.useEffect(function(){(!Pn||!zt)&&(Fr.current instanceof Element?ns(mn(Fr.current).width):ns(mn(Ia.current).width)),Vs(qe("position","sticky"))},[]),s.useEffect(function(){zt&&wn&&(wn.body.current=Fr.current)});var $s=s.useCallback(function($n){return s.createElement(s.Fragment,null,s.createElement(ni,$n),ja==="top"&&s.createElement(Yt,$n,Ui))},[ja,Ui]),Gs=s.useCallback(function($n){return s.createElement(Yt,$n,Ui)},[Ui]),Is=rn(["table"],"table"),ys=s.useMemo(function(){return Re||(Pa?ti==="max-content"?"auto":"fixed":Xi||wa||tr.some(function($n){var qn=$n.ellipsis;return qn})?"fixed":"auto")},[Xi,Pa,tr,Re,wa]),Ns,As={colWidths:Va,columCount:tr.length,stickyOffsets:$a,onHeaderRow:Qt,fixHeader:Xi,scroll:ae},Ls=s.useMemo(function(){return Dt?null:typeof yt=="function"?yt():yt},[Dt,yt]),Zs=s.createElement(Or,{data:At,measureColumnWidth:Xi||la||wa}),Ks=s.createElement(_i,{colWidths:tr.map(function($n){var qn=$n.width;return qn}),columns:tr}),Fs=ze!=null?s.createElement("caption",{className:"".concat(R,"-caption")},ze):void 0,Ys=gn(E,{data:!0}),Bs=gn(E,{aria:!0});if(Xi||wa){var Ms;typeof Nn=="function"?(Ms=Nn(At,{scrollbarSize:Qa,ref:Fr,onScroll:Tn}),As.colWidths=tr.map(function($n,qn){var Ai=$n.width,ca=qn===tr.length-1?Ai-Qa:Ai;return typeof ca=="number"&&!Number.isNaN(ca)?ca:0})):Ms=s.createElement("div",{style:(0,G.Z)((0,G.Z)({},es),Ya),onScroll:Vr,ref:Fr,className:x()("".concat(R,"-body"))},s.createElement(Is,(0,_.Z)({style:(0,G.Z)((0,G.Z)({},os),{},{tableLayout:ys})},Bs),Fs,Ks,Zs,!ja&&Ui&&s.createElement(Yt,{stickyOffsets:$a,flattenColumns:tr},Ui)));var js=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!At.length,maxContentScroll:la&&ti==="max-content"},As),qa),{},{direction:fe,stickyClassName:Cs,onScroll:Tn});Ns=s.createElement(s.Fragment,null,wt!==!1&&s.createElement(mi,(0,_.Z)({},js,{stickyTopOffset:xs,className:"".concat(R,"-header"),ref:Fa}),$s),Ms,ja&&ja!=="top"&&s.createElement(mi,(0,_.Z)({},js,{stickyBottomOffset:ss,className:"".concat(R,"-summary"),ref:Ba}),Gs),wa&&Fr.current&&Fr.current instanceof Element&&s.createElement(nr,{ref:Ga,offsetScroll:Ss,scrollBodyRef:Fr,onScroll:Tn,container:vs,direction:fe}))}else Ns=s.createElement("div",{style:(0,G.Z)((0,G.Z)({},es),Ya),className:x()("".concat(R,"-content")),onScroll:Tn,ref:Fr},s.createElement(Is,(0,_.Z)({style:(0,G.Z)((0,G.Z)({},os),{},{tableLayout:ys})},Bs),Fs,Ks,wt!==!1&&s.createElement(ni,(0,_.Z)({},As,qa)),Zs,Ui&&s.createElement(Yt,{stickyOffsets:$a,flattenColumns:tr},Ui)));var Ts=s.createElement("div",(0,_.Z)({className:x()(R,z,(0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)({},"".concat(R,"-rtl"),fe==="rtl"),"".concat(R,"-ping-left"),fs),"".concat(R,"-ping-right"),hs),"".concat(R,"-layout-fixed"),Re==="fixed"),"".concat(R,"-fixed-header"),Xi),"".concat(R,"-fixed-column"),Pa),"".concat(R,"-fixed-column-gapped"),Pa&&Ra),"".concat(R,"-scroll-horizontal"),la),"".concat(R,"-has-fix-left"),tr[0]&&tr[0].fixed),"".concat(R,"-has-fix-right"),tr[tr.length-1]&&tr[tr.length-1].fixed==="right")),style:Q,id:it,ref:zi},Ys),Ce&&s.createElement(we,{className:"".concat(R,"-title")},Ce(At)),s.createElement("div",{ref:Ia,className:"".concat(R,"-container")},Ns),be&&s.createElement(we,{className:"".concat(R,"-footer")},be(At)));la&&(Ts=s.createElement(Te.Z,{onResize:ts},Ts));var zs=ki(tr,$a,fe),Qs=s.useMemo(function(){return{scrollX:ti,prefixCls:R,getComponent:rn,scrollbarSize:Qa,direction:fe,fixedInfoList:zs,isSticky:wa,supportSticky:Ds,componentWidth:Ni,fixHeader:Xi,fixColumn:Pa,horizonScroll:la,tableLayout:ys,rowClassName:W,expandedRowClassName:Vn.expandedRowClassName,expandIcon:qt,expandableType:pt,expandRowByClick:Vn.expandRowByClick,expandedRowRender:Vn.expandedRowRender,onTriggerExpand:sn,expandIconColumnIndex:Vn.expandIconColumnIndex,indentSize:Vn.indentSize,allColumnsFixedLeft:tr.every(function($n){return $n.fixed==="left"}),emptyNode:Ls,columns:ua,flattenColumns:tr,onColumnResize:_s,hoverStartRow:jn,hoverEndRow:Gr,onHover:vi,rowExpandable:Vn.rowExpandable,onRow:Ot,getRowKey:Gt,expandedKeys:Ut,childrenColumnName:en,rowHoverable:$t}},[ti,R,rn,Qa,fe,zs,wa,Ds,Ni,Xi,Pa,la,ys,W,Vn.expandedRowClassName,qt,pt,Vn.expandRowByClick,Vn.expandedRowRender,sn,Vn.expandIconColumnIndex,Vn.indentSize,Ls,ua,tr,_s,jn,Gr,vi,Vn.rowExpandable,Ot,Gt,Ut,en,$t]);return s.createElement(f.Provider,{value:Qs},Ts)}var gt=s.forwardRef(xt);function Vt(r){return y(gt,r)}var nt=Vt();nt.EXPAND_COLUMN=S.w,nt.INTERNAL_HOOKS=S.R,nt.Column=p,nt.ColumnGroup=M,nt.Summary=ie;var at=nt;function Et(r){var b=s.useRef();b.current=r;var E=s.useCallback(function(){for(var R,z=arguments.length,W=new Array(z),Q=0;Q<z;Q++)W[Q]=arguments[Q];return(R=b.current)===null||R===void 0?void 0:R.call.apply(R,[b].concat(W))},[]);return E}function kt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Jt=kt()?s.useLayoutEffect:s.useEffect,Fn=function(b,E){var R=s.useRef(!0);Jt(function(){return b(R.current)},E),Jt(function(){return R.current=!1,function(){R.current=!0}},[])},En=function(b,E){Fn(function(R){if(!R)return b()},E)},Bn=Fn;function Wn(r){var b=React.useRef(!1),E=React.useState(r),R=_slicedToArray(E,2),z=R[0],W=R[1];React.useEffect(function(){return b.current=!1,function(){b.current=!0}},[]);function Q(ne,le){le&&b.current||W(ne)}return[z,Q]}function An(r){return r!==void 0}function rr(r,b){var E=b||{},R=E.defaultValue,z=E.value,W=E.onChange,Q=E.postState,ne=useState(function(){return An(z)?z:An(R)?typeof R=="function"?R():R:typeof r=="function"?r():r}),le=_slicedToArray(ne,2),ae=le[0],Re=le[1],fe=z!==void 0?z:ae,Ce=Q?Q(fe):fe,be=useEvent(W),Ae=useState([fe]),ze=_slicedToArray(Ae,2),it=ze[0],wt=ze[1];useLayoutUpdateEffect(function(){var yt=it[0];ae!==yt&&be(ae,yt)},[it]),useLayoutUpdateEffect(function(){An(z)||Re(z)},[z]);var tt=useEvent(function(yt,Ot){Re(yt,Ot),wt([fe],Ot)});return[Ce,tt]}function sr(r,b,E){var R=React.useRef({});return(!("value"in R.current)||E(R.current.condition,b))&&(R.current.value=r(),R.current.condition=b),R.current.value}function ln(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),E=0;E<r;E++)b[E]=arguments[E];var R=b.filter(function(z){return z});return R.length<=1?R[0]:function(z){b.forEach(function(W){ln(W,z)})}}function gr(){for(var r=arguments.length,b=new Array(r),E=0;E<r;E++)b[E]=arguments[E];return useMemo(function(){return Ir.apply(void 0,b)},b,function(R,z){return R.length!==z.length||R.every(function(W,Q){return W!==z[Q]})})}function xr(r){var b,E,R=isMemo(r)?r.type.type:r.type;return!(typeof R=="function"&&!((b=R.prototype)!==null&&b!==void 0&&b.render)||typeof r=="function"&&!((E=r.prototype)!==null&&E!==void 0&&E.render))}function ri(r){return!isValidElement(r)||isFragment(r)?!1:xr(r)}function Rr(r,b,E,R){if(!b.length)return E;var z=_toArray(b),W=z[0],Q=z.slice(1),ne;return!r&&typeof W=="number"?ne=[]:Array.isArray(r)?ne=_toConsumableArray(r):ne=_objectSpread({},r),R&&E===void 0&&Q.length===1?delete ne[W][Q[0]]:ne[W]=Rr(ne[W],Q,E,R),ne}function Pr(r,b,E){var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return b.length&&R&&E===void 0&&!get(r,b.slice(0,-1))?r:Rr(r,b,E,R)}function pr(r){return _typeof(r)==="object"&&r!==null&&Object.getPrototypeOf(r)===Object.prototype}function Nr(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),E=0;E<r;E++)b[E]=arguments[E];var R=Nr(b[0]);return b.forEach(function(z){function W(Q,ne){var le=new Set(ne),ae=get(z,Q),Re=Array.isArray(ae);if(Re||pr(ae)){if(!le.has(ae)){le.add(ae);var fe=get(R,Q);Re?R=Pr(R,Q,[]):(!fe||_typeof(fe)!=="object")&&(R=Pr(R,Q,Nr(ae))),zr(ae).forEach(function(Ce){W([].concat(_toConsumableArray(Q),[Ce]),le)})}}else R=Pr(R,Q,ae)}W([])}),R}var qr={},yr=[],Lr=function(b){yr.push(b)};function Jn(r,b){if(0)var E}function ui(r,b){if(0)var E}function ii(){qr={}}function Ar(r,b,E){!b&&!qr[E]&&(r(!1,E),qr[E]=!0)}function Yn(r,b){Ar(Jn,r,b)}function ai(r,b){Ar(ui,r,b)}Yn.preMessage=Lr,Yn.resetWarned=ii,Yn.noteOnce=ai;var Oi=null,Si=s.forwardRef(function(r,b){var E=r.height,R=r.offsetY,z=r.offsetX,W=r.children,Q=r.prefixCls,ne=r.onInnerResize,le=r.innerProps,ae=r.rtl,Re=r.extra,fe={},Ce={display:"flex",flexDirection:"column"};return R!==void 0&&(fe={height:E,position:"relative",overflow:"hidden"},Ce=(0,G.Z)((0,G.Z)({},Ce),{},(0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)({transform:"translateY(".concat(R,"px)")},ae?"marginRight":"marginLeft",-z),"position","absolute"),"left",0),"right",0),"top",0))),s.createElement("div",{style:fe},s.createElement(Te.Z,{onResize:function(Ae){var ze=Ae.offsetHeight;ze&&ne&&ne()}},s.createElement("div",(0,_.Z)({style:Ce,className:x()((0,X.Z)({},"".concat(Q,"-holder-inner"),Q)),ref:b},le),W,Re)))});Si.displayName="Filler";var Zr=Si;function br(r){var b=r.children,E=r.setRef,R=s.useCallback(function(z){E(z)},[]);return s.cloneElement(b,{ref:R})}function Ci(r,b,E,R,z,W,Q,ne){var le=ne.getKey;return r.slice(b,E+1).map(function(ae,Re){var fe=b+Re,Ce=Q(ae,fe,{style:{width:R},offsetX:z}),be=le(ae);return s.createElement(br,{key:be,setRef:function(ze){return W(ae,ze)}},Ce)})}function Zi(r,b,E,R){var z=E-r,W=b-E,Q=Math.min(z,W)*2;if(R<=Q){var ne=Math.floor(R/2);return R%2?E+ne+1:E-ne}return z>W?E-(R-W):E+(R-z)}function Mr(r,b,E){var R=r.length,z=b.length,W,Q;if(R===0&&z===0)return null;R<z?(W=r,Q=b):(W=b,Q=r);var ne={__EMPTY_ITEM__:!0};function le(Ae){return Ae!==void 0?E(Ae):ne}for(var ae=null,Re=Math.abs(R-z)!==1,fe=0;fe<Q.length;fe+=1){var Ce=le(W[fe]),be=le(Q[fe]);if(Ce!==be){ae=fe,Re=Re||Ce!==le(Q[fe+1]);break}}return ae===null?null:{index:ae,multiple:Re}}function ei(r,b,E){var R=s.useState(r),z=(0,C.Z)(R,2),W=z[0],Q=z[1],ne=s.useState(null),le=(0,C.Z)(ne,2),ae=le[0],Re=le[1];return s.useEffect(function(){var fe=Mr(W||[],r||[],b);(fe==null?void 0:fe.index)!==void 0&&(E==null||E(fe.index),Re(r[fe.index])),Q(r)},[r]),[ae]}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 si=0,li=new Map;function Ur(r){li.delete(r)}var lr=function(b){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;si+=1;var R=si;function z(W){if(W===0)Ur(R),b();else{var Q=Kr(function(){z(W-1)});li.set(R,Q)}}return z(E),R};lr.cancel=function(r){var b=li.get(r);return Ur(b),Tr(b)};var cr=lr,Wr=(typeof navigator=="undefined"?"undefined":(0,V.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),va=Wr,or=function(r,b,E,R){var z=(0,s.useRef)(!1),W=(0,s.useRef)(null);function Q(){clearTimeout(W.current),z.current=!0,W.current=setTimeout(function(){z.current=!1},50)}var ne=(0,s.useRef)({top:r,bottom:b,left:E,right:R});return ne.current.top=r,ne.current.bottom=b,ne.current.left=E,ne.current.right=R,function(le,ae){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fe=le?ae<0&&ne.current.left||ae>0&&ne.current.right:ae<0&&ne.current.top||ae>0&&ne.current.bottom;return Re&&fe?(clearTimeout(W.current),z.current=!1):(!fe||z.current)&&Q(),!z.current&&fe}};function Hi(r,b,E,R,z,W,Q){var ne=(0,s.useRef)(0),le=(0,s.useRef)(null),ae=(0,s.useRef)(null),Re=(0,s.useRef)(!1),fe=or(b,E,R,z);function Ce(tt,yt){if(cr.cancel(le.current),!fe(!1,yt)){var Ot=tt;if(!Ot._virtualHandled)Ot._virtualHandled=!0;else return;ne.current+=yt,ae.current=yt,va||Ot.preventDefault(),le.current=cr(function(){var Qt=Re.current?10:1;Q(ne.current*Qt,!1),ne.current=0})}}function be(tt,yt){Q(yt,!0),va||tt.preventDefault()}var Ae=(0,s.useRef)(null),ze=(0,s.useRef)(null);function it(tt){if(r){cr.cancel(ze.current),ze.current=cr(function(){Ae.current=null},2);var yt=tt.deltaX,Ot=tt.deltaY,Qt=tt.shiftKey,vn=yt,Wt=Ot;(Ae.current==="sx"||!Ae.current&&Qt&&Ot&&!yt)&&(vn=Ot,Wt=0,Ae.current="sx");var _n=Math.abs(vn),wn=Math.abs(Wt);Ae.current===null&&(Ae.current=W&&_n>wn?"x":"y"),Ae.current==="y"?Ce(tt,Wt):be(tt,vn)}}function wt(tt){r&&(Re.current=tt.detail===ae.current)}return[it,wt]}function ta(r,b,E,R){var z=s.useMemo(function(){return[new Map,[]]},[r,E.id,R]),W=(0,C.Z)(z,2),Q=W[0],ne=W[1],le=function(Re){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Re,Ce=Q.get(Re),be=Q.get(fe);if(Ce===void 0||be===void 0)for(var Ae=r.length,ze=ne.length;ze<Ae;ze+=1){var it,wt=r[ze],tt=b(wt);Q.set(tt,ze);var yt=(it=E.get(tt))!==null&&it!==void 0?it:R;if(ne[ze]=(ne[ze-1]||0)+yt,tt===Re&&(Ce=ze),tt===fe&&(be=ze),Ce!==void 0&&be!==void 0)break}return{top:ne[Ce-1]||0,bottom:ne[be]}};return le}var Hr=a(15671),Ki=a(43144),yi=function(){function r(){(0,Hr.Z)(this,r),(0,X.Z)(this,"maps",void 0),(0,X.Z)(this,"id",0),(0,X.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,Ki.Z)(r,[{key:"set",value:function(E,R){this.maps[E]=R,this.id+=1,this.diffKeys.add(E)}},{key:"get",value:function(E){return this.maps[E]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),r}(),Vi=yi;function xn(r){var b=parseFloat(r);return isNaN(b)?0:b}function Qn(r,b,E){var R=s.useState(0),z=(0,C.Z)(R,2),W=z[0],Q=z[1],ne=(0,s.useRef)(new Map),le=(0,s.useRef)(new Vi),ae=(0,s.useRef)(0);function Re(){ae.current+=1}function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Re();var Ae=function(){var wt=!1;ne.current.forEach(function(tt,yt){if(tt&&tt.offsetParent){var Ot=tt.offsetHeight,Qt=getComputedStyle(tt),vn=Qt.marginTop,Wt=Qt.marginBottom,_n=xn(vn),wn=xn(Wt),Pn=Ot+_n+wn;le.current.get(yt)!==Pn&&(le.current.set(yt,Pn),wt=!0)}}),wt&&Q(function(tt){return tt+1})};if(be)Ae();else{ae.current+=1;var ze=ae.current;Promise.resolve().then(function(){ze===ae.current&&Ae()})}}function Ce(be,Ae){var ze=r(be),it=ne.current.get(ze);Ae?(ne.current.set(ze,Ae),fe()):ne.current.delete(ze),!it!=!Ae&&(Ae?b==null||b(be):E==null||E(be))}return(0,s.useEffect)(function(){return Re},[]),[Ce,fe,le.current,W]}var ir=14/15;function kr(r,b,E){var R=(0,s.useRef)(!1),z=(0,s.useRef)(0),W=(0,s.useRef)(0),Q=(0,s.useRef)(null),ne=(0,s.useRef)(null),le,ae=function(be){if(R.current){var Ae=Math.ceil(be.touches[0].pageX),ze=Math.ceil(be.touches[0].pageY),it=z.current-Ae,wt=W.current-ze,tt=Math.abs(it)>Math.abs(wt);tt?z.current=Ae:W.current=ze;var yt=E(tt,tt?it:wt,!1,be);yt&&be.preventDefault(),clearInterval(ne.current),yt&&(ne.current=setInterval(function(){tt?it*=ir:wt*=ir;var Ot=Math.floor(tt?it:wt);(!E(tt,Ot,!0)||Math.abs(Ot)<=.1)&&clearInterval(ne.current)},16))}},Re=function(){R.current=!1,le()},fe=function(be){le(),be.touches.length===1&&!R.current&&(R.current=!0,z.current=Math.ceil(be.touches[0].pageX),W.current=Math.ceil(be.touches[0].pageY),Q.current=be.target,Q.current.addEventListener("touchmove",ae,{passive:!1}),Q.current.addEventListener("touchend",Re,{passive:!0}))};le=function(){Q.current&&(Q.current.removeEventListener("touchmove",ae),Q.current.removeEventListener("touchend",Re))},Bn(function(){return r&&b.current.addEventListener("touchstart",fe,{passive:!0}),function(){var Ce;(Ce=b.current)===null||Ce===void 0||Ce.removeEventListener("touchstart",fe),le(),clearInterval(ne.current)}},[r])}function vr(r){return Math.floor(Math.pow(r,.5))}function Aa(r,b){var E="touches"in r?r.touches[0]:r;return E[b?"pageX":"pageY"]-window[b?"scrollX":"scrollY"]}function _a(r,b,E){s.useEffect(function(){var R=b.current;if(r&&R){var z=!1,W,Q,ne=function(){cr.cancel(W)},le=function Ce(){ne(),W=cr(function(){E(Q),Ce()})},ae=function(be){if(!(be.target.draggable||be.button!==0)){var Ae=be;Ae._virtualHandled||(Ae._virtualHandled=!0,z=!0)}},Re=function(){z=!1,ne()},fe=function(be){if(z){var Ae=Aa(be,!1),ze=R.getBoundingClientRect(),it=ze.top,wt=ze.bottom;if(Ae<=it){var tt=it-Ae;Q=-vr(tt),le()}else if(Ae>=wt){var yt=Ae-wt;Q=vr(yt),le()}else ne()}};return R.addEventListener("mousedown",ae),R.ownerDocument.addEventListener("mouseup",Re),R.ownerDocument.addEventListener("mousemove",fe),function(){R.removeEventListener("mousedown",ae),R.ownerDocument.removeEventListener("mouseup",Re),R.ownerDocument.removeEventListener("mousemove",fe),ne()}}},[r])}var Ri=10;function aa(r,b,E,R,z,W,Q,ne){var le=s.useRef(),ae=s.useState(null),Re=(0,C.Z)(ae,2),fe=Re[0],Ce=Re[1];return Bn(function(){if(fe&&fe.times<Ri){if(!r.current){Ce(function(Gt){return(0,G.Z)({},Gt)});return}W();var be=fe.targetAlign,Ae=fe.originAlign,ze=fe.index,it=fe.offset,wt=r.current.clientHeight,tt=!1,yt=be,Ot=null;if(wt){for(var Qt=be||Ae,vn=0,Wt=0,_n=0,wn=Math.min(b.length-1,ze),Pn=0;Pn<=wn;Pn+=1){var Hn=z(b[Pn]);Wt=vn;var bn=E.get(Hn);_n=Wt+(bn===void 0?R:bn),vn=_n}for(var an=Qt==="top"?it:wt-it,$t=wn;$t>=0;$t-=1){var At=z(b[$t]),Dt=E.get(At);if(Dt===void 0){tt=!0;break}if(an-=Dt,an<=0)break}switch(Qt){case"top":Ot=Wt-it;break;case"bottom":Ot=_n-wt+it;break;default:{var zt=r.current.scrollTop,rn=zt+wt;Wt<zt?yt="top":_n>rn&&(yt="bottom")}}Ot!==null&&Q(Ot),Ot!==fe.lastTop&&(tt=!0)}tt&&Ce((0,G.Z)((0,G.Z)({},fe),{},{times:fe.times+1,targetAlign:yt,lastTop:Ot}))}},[fe,r.current]),function(be){if(be==null){ne();return}if(cr.cancel(le.current),typeof be=="number")Q(be);else if(be&&(0,V.Z)(be)==="object"){var Ae,ze=be.align;"index"in be?Ae=be.index:Ae=b.findIndex(function(tt){return z(tt)===be.key});var it=be.offset,wt=it===void 0?0:it;Ce({times:0,index:Ae,offset:wt,originAlign:ze})}}}var Ua=s.forwardRef(function(r,b){var E=r.prefixCls,R=r.rtl,z=r.scrollOffset,W=r.scrollRange,Q=r.onStartMove,ne=r.onStopMove,le=r.onScroll,ae=r.horizontal,Re=r.spinSize,fe=r.containerSize,Ce=r.style,be=r.thumbStyle,Ae=r.showScrollBar,ze=s.useState(!1),it=(0,C.Z)(ze,2),wt=it[0],tt=it[1],yt=s.useState(null),Ot=(0,C.Z)(yt,2),Qt=Ot[0],vn=Ot[1],Wt=s.useState(null),_n=(0,C.Z)(Wt,2),wn=_n[0],Pn=_n[1],Hn=!R,bn=s.useRef(),an=s.useRef(),$t=s.useState(Ae),At=(0,C.Z)($t,2),Dt=At[0],zt=At[1],rn=s.useRef(),Gt=function(){Ae===!0||Ae===!1||(clearTimeout(rn.current),zt(!0),rn.current=setTimeout(function(){zt(!1)},3e3))},Nn=W-fe||0,Ln=fe-Re||0,wr=s.useMemo(function(){if(z===0||Nn===0)return 0;var qt=z/Nn;return qt*Ln},[z,Nn,Ln]),jn=function(en){en.stopPropagation(),en.preventDefault()},Gr=s.useRef({top:wr,dragging:wt,pageY:Qt,startTop:wn});Gr.current={top:wr,dragging:wt,pageY:Qt,startTop:wn};var vi=function(en){tt(!0),vn(Aa(en,ae)),Pn(Gr.current.top),Q(),en.stopPropagation(),en.preventDefault()};s.useEffect(function(){var qt=function(Bi){Bi.preventDefault()},en=bn.current,sn=an.current;return en.addEventListener("touchstart",qt,{passive:!1}),sn.addEventListener("touchstart",vi,{passive:!1}),function(){en.removeEventListener("touchstart",qt),sn.removeEventListener("touchstart",vi)}},[]);var bi=s.useRef();bi.current=Nn;var fr=s.useRef();fr.current=Ln,s.useEffect(function(){if(wt){var qt,en=function(Bi){var Ii=Gr.current,Ni=Ii.dragging,ya=Ii.pageY,Ca=Ii.startTop;cr.cancel(qt);var ji=bn.current.getBoundingClientRect(),ua=fe/(ae?ji.width:ji.height);if(Ni){var tr=(Aa(Bi,ae)-ya)*ua,wi=Ca;!Hn&&ae?wi-=tr:wi+=tr;var Ra=bi.current,ti=fr.current,qa=ti?wi/ti:0,zi=Math.ceil(qa*Ra);zi=Math.max(zi,0),zi=Math.min(zi,Ra),qt=cr(function(){le(zi,ae)})}},sn=function(){tt(!1),ne()};return window.addEventListener("mousemove",en,{passive:!0}),window.addEventListener("touchmove",en,{passive:!0}),window.addEventListener("mouseup",sn,{passive:!0}),window.addEventListener("touchend",sn,{passive:!0}),function(){window.removeEventListener("mousemove",en),window.removeEventListener("touchmove",en),window.removeEventListener("mouseup",sn),window.removeEventListener("touchend",sn),cr.cancel(qt)}}},[wt]),s.useEffect(function(){return Gt(),function(){clearTimeout(rn.current)}},[z]),s.useImperativeHandle(b,function(){return{delayHidden:Gt}});var Vn="".concat(E,"-scrollbar"),pt={position:"absolute",visibility:Dt?null:"hidden"},Ut={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return ae?(pt.height=8,pt.left=0,pt.right=0,pt.bottom=0,Ut.height="100%",Ut.width=Re,Hn?Ut.left=wr:Ut.right=wr):(pt.width=8,pt.top=0,pt.bottom=0,Hn?pt.right=0:pt.left=0,Ut.width="100%",Ut.height=Re,Ut.top=wr),s.createElement("div",{ref:bn,className:x()(Vn,(0,X.Z)((0,X.Z)((0,X.Z)({},"".concat(Vn,"-horizontal"),ae),"".concat(Vn,"-vertical"),!ae),"".concat(Vn,"-visible"),Dt)),style:(0,G.Z)((0,G.Z)({},pt),Ce),onMouseDown:jn,onMouseMove:Gt},s.createElement("div",{ref:an,className:x()("".concat(Vn,"-thumb"),(0,X.Z)({},"".concat(Vn,"-thumb-moving"),wt)),style:(0,G.Z)((0,G.Z)({},Ut),be),onMouseDown:vi}))}),Ma=Ua,La=20;function ma(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=r/b*r;return isNaN(E)&&(E=0),E=Math.max(E,La),Math.floor(E)}var $i=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],pi=[],Fi={overflowY:"auto",overflowAnchor:"none"};function ci(r,b){var E=r.prefixCls,R=E===void 0?"rc-virtual-list":E,z=r.className,W=r.height,Q=r.itemHeight,ne=r.fullHeight,le=ne===void 0?!0:ne,ae=r.style,Re=r.data,fe=r.children,Ce=r.itemKey,be=r.virtual,Ae=r.direction,ze=r.scrollWidth,it=r.component,wt=it===void 0?"div":it,tt=r.onScroll,yt=r.onVirtualScroll,Ot=r.onVisibleChange,Qt=r.innerProps,vn=r.extraRender,Wt=r.styles,_n=r.showScrollBar,wn=_n===void 0?"optional":_n,Pn=(0,Lt.Z)(r,$i),Hn=s.useCallback(function(fn){return typeof Ce=="function"?Ce(fn):fn==null?void 0:fn[Ce]},[Ce]),bn=Qn(Hn,null,null),an=(0,C.Z)(bn,4),$t=an[0],At=an[1],Dt=an[2],zt=an[3],rn=!!(be!==!1&&W&&Q),Gt=s.useMemo(function(){return Object.values(Dt.maps).reduce(function(fn,Xt){return fn+Xt},0)},[Dt.id,Dt.maps]),Nn=rn&&Re&&(Math.max(Q*Re.length,Gt)>W||!!ze),Ln=Ae==="rtl",wr=x()(R,(0,X.Z)({},"".concat(R,"-rtl"),Ln),z),jn=Re||pi,Gr=(0,s.useRef)(),vi=(0,s.useRef)(),bi=(0,s.useRef)(),fr=(0,s.useState)(0),Vn=(0,C.Z)(fr,2),pt=Vn[0],Ut=Vn[1],qt=(0,s.useState)(0),en=(0,C.Z)(qt,2),sn=en[0],Qr=en[1],Bi=(0,s.useState)(!1),Ii=(0,C.Z)(Bi,2),Ni=Ii[0],ya=Ii[1],Ca=function(){ya(!0)},ji=function(){ya(!1)},ua={getKey:Hn};function tr(fn){Ut(function(Xt){var Tn;typeof fn=="function"?Tn=fn(Xt):Tn=fn;var Vr=Es(Tn);return Gr.current.scrollTop=Vr,Vr})}var wi=(0,s.useRef)({start:0,end:jn.length}),Ra=(0,s.useRef)(),ti=ei(jn,Hn),qa=(0,C.Z)(ti,1),zi=qa[0];Ra.current=zi;var Fa=s.useMemo(function(){if(!rn)return{scrollHeight:void 0,start:0,end:jn.length-1,offset:void 0};if(!Nn){var fn;return{scrollHeight:((fn=vi.current)===null||fn===void 0?void 0:fn.offsetHeight)||0,start:0,end:jn.length-1,offset:void 0}}for(var Xt=0,Tn,Vr,fi,ts=jn.length,Na=0;Na<ts;Na+=1){var Ps=jn[Na],gs=Hn(Ps),Qa=Dt.get(gs),ns=Xt+(Qa===void 0?Q:Qa);ns>=pt&&Tn===void 0&&(Tn=Na,Vr=Xt),ns>pt+W&&fi===void 0&&(fi=Na),Xt=ns}return Tn===void 0&&(Tn=0,Vr=0,fi=Math.ceil(W/Q)),fi===void 0&&(fi=jn.length-1),fi=Math.min(fi+1,jn.length-1),{scrollHeight:Xt,start:Tn,end:fi,offset:Vr}},[Nn,rn,pt,jn,zt,W]),Fr=Fa.scrollHeight,Ia=Fa.start,Ba=Fa.end,ls=Fa.offset;wi.current.start=Ia,wi.current.end=Ba,s.useLayoutEffect(function(){var fn=Dt.getRecord();if(fn.size===1){var Xt=Array.from(fn)[0],Tn=jn[Ia];if(Tn){var Vr=Hn(Tn);if(Vr===Xt){var fi=Dt.get(Xt),ts=fi-Q;tr(function(Na){return Na+ts})}}}Dt.resetRecord()},[Fr]);var cs=s.useState({width:0,height:W}),fs=(0,C.Z)(cs,2),Qi=fs[0],bs=fs[1],ds=function(Xt){bs({width:Xt.offsetWidth,height:Xt.offsetHeight})},hs=(0,s.useRef)(),Wa=(0,s.useRef)(),ws=s.useMemo(function(){return ma(Qi.width,ze)},[Qi.width,ze]),ps=s.useMemo(function(){return ma(Qi.height,Fr)},[Qi.height,Fr]),is=Fr-W,as=(0,s.useRef)(is);as.current=is;function Es(fn){var Xt=fn;return Number.isNaN(as.current)||(Xt=Math.min(Xt,as.current)),Xt=Math.max(Xt,0),Xt}var Ha=pt<=0,Va=pt>=is,$a=sn<=0,Xi=sn>=ze,la=or(Ha,Va,$a,Xi),Pa=function(){return{x:Ln?-sn:sn,y:pt}},Ga=(0,s.useRef)(Pa()),ba=Et(function(fn){if(yt){var Xt=(0,G.Z)((0,G.Z)({},Pa()),fn);(Ga.current.x!==Xt.x||Ga.current.y!==Xt.y)&&(yt(Xt),Ga.current=Xt)}});function wa(fn,Xt){var Tn=fn;Xt?((0,A.flushSync)(function(){Qr(Tn)}),ba()):tr(Tn)}function xs(fn){var Xt=fn.currentTarget.scrollTop;Xt!==pt&&tr(Xt),tt==null||tt(fn),ba()}var ss=function(Xt){var Tn=Xt,Vr=ze?ze-Qi.width:0;return Tn=Math.max(Tn,0),Tn=Math.min(Tn,Vr),Tn},Ss=Et(function(fn,Xt){Xt?((0,A.flushSync)(function(){Qr(function(Tn){var Vr=Tn+(Ln?-fn:fn);return ss(Vr)})}),ba()):tr(function(Tn){var Vr=Tn+fn;return Vr})}),Cs=Hi(rn,Ha,Va,$a,Xi,!!ze,Ss),vs=(0,C.Z)(Cs,2),Ui=vs[0],ja=vs[1];kr(rn,Gr,function(fn,Xt,Tn,Vr){var fi=Vr;return la(fn,Xt,Tn)?!1:!fi||!fi._virtualHandled?(fi&&(fi._virtualHandled=!0),Ui({preventDefault:function(){},deltaX:fn?Xt:0,deltaY:fn?0:Xt}),!0):!1}),_a(Nn,Gr,function(fn){tr(function(Xt){return Xt+fn})}),Bn(function(){function fn(Tn){var Vr=Ha&&Tn.detail<0,fi=Va&&Tn.detail>0;rn&&!Vr&&!fi&&Tn.preventDefault()}var Xt=Gr.current;return Xt.addEventListener("wheel",Ui,{passive:!1}),Xt.addEventListener("DOMMouseScroll",ja,{passive:!0}),Xt.addEventListener("MozMousePixelScroll",fn,{passive:!1}),function(){Xt.removeEventListener("wheel",Ui),Xt.removeEventListener("DOMMouseScroll",ja),Xt.removeEventListener("MozMousePixelScroll",fn)}},[rn,Ha,Va]),Bn(function(){if(ze){var fn=ss(sn);Qr(fn),ba({x:fn})}},[Qi.width,ze]);var es=function(){var Xt,Tn;(Xt=hs.current)===null||Xt===void 0||Xt.delayHidden(),(Tn=Wa.current)===null||Tn===void 0||Tn.delayHidden()},Ya=aa(Gr,jn,Dt,Q,Hn,function(){return At(!0)},tr,es);s.useImperativeHandle(b,function(){return{nativeElement:bi.current,getScrollInfo:Pa,scrollTo:function(Xt){function Tn(Vr){return Vr&&(0,V.Z)(Vr)==="object"&&("left"in Vr||"top"in Vr)}Tn(Xt)?(Xt.left!==void 0&&Qr(ss(Xt.left)),Ya(Xt.top)):Ya(Xt)}}}),Bn(function(){if(Ot){var fn=jn.slice(Ia,Ba+1);Ot(fn,jn)}},[Ia,Ba,jn]);var os=ta(jn,Hn,Dt,Q),_s=vn==null?void 0:vn({start:Ia,end:Ba,virtual:Nn,offsetX:sn,offsetY:ls,rtl:Ln,getSize:os}),Rs=Ci(jn,Ia,Ba,ze,sn,$t,fe,ua),za=null;W&&(za=(0,G.Z)((0,X.Z)({},le?"height":"maxHeight",W),Fi),rn&&(za.overflowY="hidden",ze&&(za.overflowX="hidden"),Ni&&(za.pointerEvents="none")));var ms={};return Ln&&(ms.dir="rtl"),s.createElement("div",(0,_.Z)({ref:bi,style:(0,G.Z)((0,G.Z)({},ae),{},{position:"relative"}),className:wr},ms,Pn),s.createElement(Te.Z,{onResize:ds},s.createElement(wt,{className:"".concat(R,"-holder"),style:za,ref:Gr,onScroll:xs,onMouseEnter:es},s.createElement(Zr,{prefixCls:R,height:Fr,offsetX:sn,offsetY:ls,scrollWidth:ze,onInnerResize:At,ref:vi,innerProps:Qt,rtl:Ln,extra:_s},Rs))),Nn&&Fr>W&&s.createElement(Ma,{ref:hs,prefixCls:R,scrollOffset:pt,scrollRange:Fr,rtl:Ln,onScroll:wa,onStartMove:Ca,onStopMove:ji,spinSize:ps,containerSize:Qi.height,style:Wt==null?void 0:Wt.verticalScrollBar,thumbStyle:Wt==null?void 0:Wt.verticalScrollBarThumb,showScrollBar:wn}),Nn&&ze>Qi.width&&s.createElement(Ma,{ref:Wa,prefixCls:R,scrollOffset:sn,scrollRange:ze,rtl:Ln,onScroll:wa,onStartMove:Ca,onStopMove:ji,spinSize:ws,containerSize:Qi.width,horizontal:!0,style:Wt==null?void 0:Wt.horizontalScrollBar,thumbStyle:Wt==null?void 0:Wt.horizontalScrollBarThumb,showScrollBar:wn}))}var Gi=s.forwardRef(ci);Gi.displayName="List";var _r=Gi,mr=_r,Pi=Z(null),na=Z(null);function Ta(r,b,E){var R=b||1;return E[r+R]-(E[r]||0)}function Di(r){var b=r.rowInfo,E=r.column,R=r.colIndex,z=r.indent,W=r.index,Q=r.component,ne=r.renderIndex,le=r.record,ae=r.style,Re=r.className,fe=r.inverse,Ce=r.getHeight,be=E.render,Ae=E.dataIndex,ze=E.className,it=E.width,wt=e(na,["columnsOffset"]),tt=wt.columnsOffset,yt=Ei(b,E,R,z,W),Ot=yt.key,Qt=yt.fixedInfo,vn=yt.appendCellNode,Wt=yt.additionalCellProps,_n=Wt.style,wn=Wt.colSpan,Pn=wn===void 0?1:wn,Hn=Wt.rowSpan,bn=Hn===void 0?1:Hn,an=R-1,$t=Ta(an,Pn,tt),At=Pn>1?it-$t:0,Dt=(0,G.Z)((0,G.Z)((0,G.Z)({},_n),ae),{},{flex:"0 0 ".concat($t,"px"),width:"".concat($t,"px"),marginRight:At,pointerEvents:"auto"}),zt=s.useMemo(function(){return fe?bn<=1:Pn===0||bn===0||bn>1},[bn,Pn,fe]);zt?Dt.visibility="hidden":fe&&(Dt.height=Ce==null?void 0:Ce(bn));var rn=zt?function(){return null}:be,Gt={};return(bn===0||Pn===0)&&(Gt.rowSpan=1,Gt.colSpan=1),s.createElement(vt,(0,_.Z)({className:x()(ze,Re),ellipsis:E.ellipsis,align:E.align,scope:E.rowScope,component:Q,prefixCls:b.prefixCls,key:Ot,record:le,index:W,renderIndex:ne,dataIndex:Ae,render:rn,shouldCellUpdate:E.shouldCellUpdate},Qt,{appendNode:vn,additionalProps:(0,G.Z)((0,G.Z)({},Wt),{},{style:Dt},Gt)}))}var Za=Di,ka=["data","index","className","rowKey","style","extra","getHeight"],ra=s.forwardRef(function(r,b){var E=r.data,R=r.index,z=r.className,W=r.rowKey,Q=r.style,ne=r.extra,le=r.getHeight,ae=(0,Lt.Z)(r,ka),Re=E.record,fe=E.indent,Ce=E.index,be=e(f,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ae=be.scrollX,ze=be.flattenColumns,it=be.prefixCls,wt=be.fixColumn,tt=be.componentWidth,yt=e(Pi,["getComponent"]),Ot=yt.getComponent,Qt=dn(Re,W,R,fe),vn=Ot(["body","row"],"div"),Wt=Ot(["body","cell"],"div"),_n=Qt.rowSupportExpand,wn=Qt.expanded,Pn=Qt.rowProps,Hn=Qt.expandedRowRender,bn=Qt.expandedRowClassName,an;if(_n&&wn){var $t=Hn(Re,R,fe+1,wn),At=Sr(bn,Re,R,fe),Dt={};wt&&(Dt={style:(0,X.Z)({},"--virtual-width","".concat(tt,"px"))});var zt="".concat(it,"-expanded-row-cell");an=s.createElement(vn,{className:x()("".concat(it,"-expanded-row"),"".concat(it,"-expanded-row-level-").concat(fe+1),At)},s.createElement(vt,{component:Wt,prefixCls:it,className:x()(zt,(0,X.Z)({},"".concat(zt,"-fixed"),wt)),additionalProps:Dt},$t))}var rn=(0,G.Z)((0,G.Z)({},Q),{},{width:Ae});ne&&(rn.position="absolute",rn.pointerEvents="none");var Gt=s.createElement(vn,(0,_.Z)({},Pn,ae,{"data-row-key":W,ref:_n?null:b,className:x()(z,"".concat(it,"-row"),Pn==null?void 0:Pn.className,(0,X.Z)({},"".concat(it,"-row-extra"),ne)),style:(0,G.Z)((0,G.Z)({},rn),Pn==null?void 0:Pn.style)}),ze.map(function(Nn,Ln){return s.createElement(Za,{key:Ln,component:Wt,rowInfo:Qt,column:Nn,colIndex:Ln,indent:fe,index:R,renderIndex:Ce,record:Re,inverse:ne,getHeight:le})}));return _n?s.createElement("div",{ref:b},Gt,an):Gt}),sa=m(ra),Ea=sa,Oa=s.forwardRef(function(r,b){var E=r.data,R=r.onScroll,z=e(f,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),W=z.flattenColumns,Q=z.onColumnResize,ne=z.getRowKey,le=z.expandedKeys,ae=z.prefixCls,Re=z.childrenColumnName,fe=z.scrollX,Ce=z.direction,be=e(Pi),Ae=be.sticky,ze=be.scrollY,it=be.listItemHeight,wt=be.getComponent,tt=be.onScroll,yt=s.useRef(),Ot=Sn(E,Re,le,ne),Qt=s.useMemo(function(){var an=0;return W.map(function($t){var At=$t.width,Dt=$t.key;return an+=At,[Dt,At,an]})},[W]),vn=s.useMemo(function(){return Qt.map(function(an){return an[2]})},[Qt]);s.useEffect(function(){Qt.forEach(function(an){var $t=(0,C.Z)(an,2),At=$t[0],Dt=$t[1];Q(At,Dt)})},[Qt]),s.useImperativeHandle(b,function(){var an,$t={scrollTo:function(Dt){var zt;(zt=yt.current)===null||zt===void 0||zt.scrollTo(Dt)},nativeElement:(an=yt.current)===null||an===void 0?void 0:an.nativeElement};return Object.defineProperty($t,"scrollLeft",{get:function(){var Dt;return((Dt=yt.current)===null||Dt===void 0?void 0:Dt.getScrollInfo().x)||0},set:function(Dt){var zt;(zt=yt.current)===null||zt===void 0||zt.scrollTo({left:Dt})}}),$t});var Wt=function($t,At){var Dt,zt=(Dt=Ot[At])===null||Dt===void 0?void 0:Dt.record,rn=$t.onCell;if(rn){var Gt,Nn=rn(zt,At);return(Gt=Nn==null?void 0:Nn.rowSpan)!==null&&Gt!==void 0?Gt:1}return 1},_n=function($t){var At=$t.start,Dt=$t.end,zt=$t.getSize,rn=$t.offsetY;if(Dt<0)return null;for(var Gt=W.filter(function(qt){return Wt(qt,At)===0}),Nn=At,Ln=function(en){if(Gt=Gt.filter(function(sn){return Wt(sn,en)===0}),!Gt.length)return Nn=en,1},wr=At;wr>=0&&!Ln(wr);wr-=1);for(var jn=W.filter(function(qt){return Wt(qt,Dt)!==1}),Gr=Dt,vi=function(en){if(jn=jn.filter(function(sn){return Wt(sn,en)!==1}),!jn.length)return Gr=Math.max(en-1,Dt),1},bi=Dt;bi<Ot.length&&!vi(bi);bi+=1);for(var fr=[],Vn=function(en){var sn=Ot[en];if(!sn)return 1;W.some(function(Qr){return Wt(Qr,en)>1})&&fr.push(en)},pt=Nn;pt<=Gr;pt+=1)Vn(pt);var Ut=fr.map(function(qt){var en=Ot[qt],sn=ne(en.record,qt),Qr=function(Ni){var ya=qt+Ni-1,Ca=ne(Ot[ya].record,ya),ji=zt(sn,Ca);return ji.bottom-ji.top},Bi=zt(sn);return s.createElement(Ea,{key:qt,data:en,rowKey:sn,index:qt,style:{top:-rn+Bi.top},extra:!0,getHeight:Qr})});return Ut},wn=s.useMemo(function(){return{columnsOffset:vn}},[vn]),Pn="".concat(ae,"-tbody"),Hn=wt(["body","wrapper"]),bn={};return Ae&&(bn.position="sticky",bn.bottom=0,(0,V.Z)(Ae)==="object"&&Ae.offsetScroll&&(bn.bottom=Ae.offsetScroll)),s.createElement(na.Provider,{value:wn},s.createElement(mr,{fullHeight:!1,ref:yt,prefixCls:"".concat(Pn,"-virtual"),styles:{horizontalScrollBar:bn},className:Pn,height:ze,itemHeight:it||24,data:Ot,itemKey:function($t){return ne($t.record)},component:Hn,scrollWidth:fe,direction:Ce,onVirtualScroll:function($t){var At,Dt=$t.x;R({currentTarget:(At=yt.current)===null||At===void 0?void 0:At.nativeElement,scrollLeft:Dt})},onScroll:tt,extraRender:_n},function(an,$t,At){var Dt=ne(an.record,$t);return s.createElement(Ea,{data:an,rowKey:Dt,index:$t,style:At.style})}))}),xa=m(Oa),Da=xa,oa=function(b,E){var R=E.ref,z=E.onScroll;return s.createElement(Da,{ref:R,data:b,onScroll:z})};function Yi(r,b){var E=r.data,R=r.columns,z=r.scroll,W=r.sticky,Q=r.prefixCls,ne=Q===void 0?te:Q,le=r.className,ae=r.listItemHeight,Re=r.components,fe=r.onScroll,Ce=z||{},be=Ce.x,Ae=Ce.y;typeof be!="number"&&(be=1),typeof Ae!="number"&&(Ae=500);var ze=st(function(tt,yt){return L(Re,tt)||yt}),it=st(fe),wt=s.useMemo(function(){return{sticky:W,scrollY:Ae,listItemHeight:ae,getComponent:ze,onScroll:it}},[W,Ae,ae,ze,it]);return s.createElement(Pi.Provider,{value:wt},s.createElement(at,(0,_.Z)({},r,{className:x()(le,"".concat(ne,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},z),{},{x:be}),components:(0,G.Z)((0,G.Z)({},Re),{},{body:E!=null&&E.length?oa:void 0}),columns:R,internalHooks:S.R,tailor:!0,ref:b})))}var ia=s.forwardRef(Yi);function ga(r){return y(ia,r)}var Sa=ga(),Ka=null},62978:function(St,Pe,a){"use strict";a.d(Pe,{g:function(){return s},v:function(){return j}});var S=a(1413),C=a(45987),$=a(40830),J=["expandable"],j="RC_TABLE_INTERNAL_COL_DEFINE";function s(A){var Z=A.expandable,e=(0,C.Z)(A,J),_;return"expandable"in A?_=(0,S.Z)((0,S.Z)({},e),Z):_=e,_.showExpandColumn===!1&&(_.expandIconColumnIndex=-1),_}},63295:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return j}});var S=a(71002),C=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),J=Symbol.for("react.fragment");function j(s){return s&&(0,S.Z)(s)==="object"&&(s.$$typeof===C||s.$$typeof===$)&&s.type===J}},40830:function(St,Pe,a){"use strict";var S={},C=[],$=function(h){C.push(h)};function J(_,h){if(0)var t}function j(_,h){if(0)var t}function s(){S={}}function A(_,h,t){!h&&!S[t]&&(_(!1,t),S[t]=!0)}function Z(_,h){A(J,_,h)}function e(_,h){A(j,_,h)}Z.preMessage=$,Z.resetWarned=s,Z.noteOnce=e,Pe.ZP=Z},46762:function(St,Pe){"use strict";var a;var S=Symbol.for("react.element"),C=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),A=Symbol.for("react.context"),Z=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),c=Symbol.for("react.offscreen"),d;d=Symbol.for("react.module.reference");function v(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case S:switch(l=l.type,l){case $:case j:case J:case _:case h:return l;default:switch(l=l&&l.$$typeof,l){case Z:case A:case e:case u:case t:case s:return l;default:return y}}case C:return y}}}a=A,a=s,a=S,a=e,a=$,a=u,a=t,a=C,a=j,a=J,a=_,a=h,a=function(){return!1},a=function(){return!1},a=function(l){return v(l)===A},a=function(l){return v(l)===s},a=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===S},a=function(l){return v(l)===e},a=function(l){return v(l)===$},a=function(l){return v(l)===u},a=function(l){return v(l)===t},a=function(l){return v(l)===C},a=function(l){return v(l)===j},a=function(l){return v(l)===J},a=function(l){return v(l)===_},a=function(l){return v(l)===h},a=function(l){return typeof l=="string"||typeof l=="function"||l===$||l===j||l===J||l===_||l===h||l===c||typeof l=="object"&&l!==null&&(l.$$typeof===u||l.$$typeof===t||l.$$typeof===s||l.$$typeof===A||l.$$typeof===e||l.$$typeof===d||l.getModuleId!==void 0)},a=v},35110:function(St,Pe,a){"use strict";a(46762)},36697:function(St,Pe,a){"use strict";a.d(Pe,{G:function(){return j},Z:function(){return I}});var S=a(94184),C=a.n(S),$=a(67294),J=a.t($,2);function j(U){var V=U.children,G=U.prefixCls,X=U.id,_e=U.overlayInnerStyle,x=U.bodyClassName,g=U.className,P=U.style;return $.createElement("div",{className:C()("".concat(G,"-content"),g),style:P},$.createElement("div",{className:C()("".concat(G,"-inner"),x),id:X,role:"tooltip",style:_e},typeof V=="function"?V():V))}var s=a(87462),A=a(1413),Z=a(45987),e=a(98280),_={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},t=[0,0],u={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:_,offset:[0,-4],targetOffset:t},bottom:{points:["tc","bc"],overflow:_,offset:[0,4],targetOffset:t},topLeft:{points:["bl","tl"],overflow:_,offset:[0,-4],targetOffset:t},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:t},topRight:{points:["br","tr"],overflow:_,offset:[0,-4],targetOffset:t},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:t},bottomRight:{points:["tr","br"],overflow:_,offset:[0,4],targetOffset:t},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:t},bottomLeft:{points:["tl","bl"],overflow:_,offset:[0,4],targetOffset:t},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:t}},c=null,d=a(97685);function v(){var U=(0,A.Z)({},J);return U.useId}var l=0;function y(){}var m=v(),w=m?function(V){var G=m();return V||G}:function(V){var G=$.useState("ssr-id"),X=(0,d.Z)(G,2),_e=X[0],x=X[1];return $.useEffect(function(){var g=l;l+=1,x("rc_unique_".concat(g))},[]),V||_e},o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],f=function(V,G){var X=V.overlayClassName,_e=V.trigger,x=_e===void 0?["hover"]:_e,g=V.mouseEnterDelay,P=g===void 0?0:g,D=V.mouseLeaveDelay,K=D===void 0?.1:D,L=V.overlayStyle,i=V.prefixCls,n=i===void 0?"rc-tooltip":i,N=V.children,H=V.onVisibleChange,ve=V.afterVisibleChange,Oe=V.transitionName,Ue=V.animation,rt=V.motion,Xe=V.placement,Mt=Xe===void 0?"right":Xe,ge=V.align,st=ge===void 0?{}:ge,We=V.destroyTooltipOnHide,ue=We===void 0?!1:We,Y=V.defaultVisible,Ee=V.getTooltipContainer,B=V.overlayInnerStyle,he=V.arrowContent,oe=V.overlay,Ge=V.id,Ie=V.showArrow,F=Ie===void 0?!0:Ie,O=V.classNames,re=V.styles,de=(0,Z.Z)(V,o),ee=w(Ge),ce=(0,$.useRef)(null);(0,$.useImperativeHandle)(G,function(){return ce.current});var se=(0,A.Z)({},de);"visible"in V&&(se.popupVisible=V.visible);var je=function(){return $.createElement(j,{key:"content",prefixCls:n,id:ee,bodyClassName:O==null?void 0:O.body,overlayInnerStyle:(0,A.Z)((0,A.Z)({},B),re==null?void 0:re.body)},oe)},Ze=function(){var ht=$.Children.only(N),Nt=(ht==null?void 0:ht.props)||{},He=(0,A.Z)((0,A.Z)({},Nt),{},{"aria-describedby":oe?ee:null});return $.cloneElement(N,He)};return $.createElement(e.Z,(0,s.Z)({popupClassName:C()(X,O==null?void 0:O.root),prefixCls:n,popup:je,action:x,builtinPlacements:u,popupPlacement:Mt,ref:ce,popupAlign:st,getPopupContainer:Ee,onPopupVisibleChange:H,afterPopupVisibleChange:ve,popupTransitionName:Oe,popupAnimation:Ue,popupMotion:rt,defaultPopupVisible:Y,autoDestroy:ue,mouseLeaveDelay:K,popupStyle:(0,A.Z)((0,A.Z)({},L),re==null?void 0:re.root),mouseEnterDelay:P,arrow:F},se),Ze())},T=(0,$.forwardRef)(f),I=T},86128:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return w}});var S=a(87462),C=a(4942),$=a(1413),J=a(97685),j=a(45987),s=a(67294),A=a(94184),Z=a.n(A),e=a(64217),_=a(27822),h=function(f){for(var T=f.prefixCls,I=f.level,U=f.isStart,V=f.isEnd,G="".concat(T,"-indent-unit"),X=[],_e=0;_e<I;_e+=1)X.push(s.createElement("span",{key:_e,className:Z()(G,(0,C.Z)((0,C.Z)({},"".concat(G,"-start"),U[_e]),"".concat(G,"-end"),V[_e]))}));return s.createElement("span",{"aria-hidden":"true",className:"".concat(T,"-indent")},X)},t=s.memo(h),u=a(35381),c=a(1089),d=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],v="open",l="close",y="---",m=function(f){var T,I,U,V=f.eventKey,G=f.className,X=f.style,_e=f.dragOver,x=f.dragOverGapTop,g=f.dragOverGapBottom,P=f.isLeaf,D=f.isStart,K=f.isEnd,L=f.expanded,i=f.selected,n=f.checked,N=f.halfChecked,H=f.loading,ve=f.domRef,Oe=f.active,Ue=f.data,rt=f.onMouseMove,Xe=f.selectable,Mt=(0,j.Z)(f,d),ge=s.useContext(_.k),st=s.useContext(_.y),We=s.useRef(null),ue=s.useState(!1),Y=(0,J.Z)(ue,2),Ee=Y[0],B=Y[1],he=!!(ge.disabled||f.disabled||(T=st.nodeDisabled)!==null&&T!==void 0&&T.call(st,Ue)),oe=s.useMemo(function(){return!ge.checkable||f.checkable===!1?!1:ge.checkable},[ge.checkable,f.checkable]),Ge=function(pe){he||ge.onNodeSelect(pe,(0,c.F)(f))},Ie=function(pe){he||!oe||f.disableCheckbox||ge.onNodeCheck(pe,(0,c.F)(f),!n)},F=s.useMemo(function(){return typeof Xe=="boolean"?Xe:ge.selectable},[Xe,ge.selectable]),O=function(pe){ge.onNodeClick(pe,(0,c.F)(f)),F?Ge(pe):Ie(pe)},re=function(pe){ge.onNodeDoubleClick(pe,(0,c.F)(f))},de=function(pe){ge.onNodeMouseEnter(pe,(0,c.F)(f))},ee=function(pe){ge.onNodeMouseLeave(pe,(0,c.F)(f))},ce=function(pe){ge.onNodeContextMenu(pe,(0,c.F)(f))},se=s.useMemo(function(){return!!(ge.draggable&&(!ge.draggable.nodeDraggable||ge.draggable.nodeDraggable(Ue)))},[ge.draggable,Ue]),je=function(pe){pe.stopPropagation(),B(!0),ge.onNodeDragStart(pe,f);try{pe.dataTransfer.setData("text/plain","")}catch(et){}},Ze=function(pe){pe.preventDefault(),pe.stopPropagation(),ge.onNodeDragEnter(pe,f)},ut=function(pe){pe.preventDefault(),pe.stopPropagation(),ge.onNodeDragOver(pe,f)},ht=function(pe){pe.stopPropagation(),ge.onNodeDragLeave(pe,f)},Nt=function(pe){pe.stopPropagation(),B(!1),ge.onNodeDragEnd(pe,f)},He=function(pe){pe.preventDefault(),pe.stopPropagation(),B(!1),ge.onNodeDrop(pe,f)},Ne=function(pe){H||ge.onNodeExpand(pe,(0,c.F)(f))},Me=s.useMemo(function(){var ye=(0,u.Z)(ge.keyEntities,V)||{},pe=ye.children;return!!(pe||[]).length},[ge.keyEntities,V]),$e=s.useMemo(function(){return P===!1?!1:P||!ge.loadData&&!Me||ge.loadData&&f.loaded&&!Me},[P,ge.loadData,Me,f.loaded]);s.useEffect(function(){H||typeof ge.loadData=="function"&&L&&!$e&&!f.loaded&&ge.onNodeLoad((0,c.F)(f))},[H,ge.loadData,ge.onNodeLoad,L,$e,f]);var Ve=s.useMemo(function(){var ye;return(ye=ge.draggable)!==null&&ye!==void 0&&ye.icon?s.createElement("span",{className:"".concat(ge.prefixCls,"-draggable-icon")},ge.draggable.icon):null},[ge.draggable]),vt=function(pe){var et=f.switcherIcon||ge.switcherIcon;return typeof et=="function"?et((0,$.Z)((0,$.Z)({},f),{},{isLeaf:pe})):et},ct=function(){if($e){var pe=vt(!0);return pe!==!1?s.createElement("span",{className:Z()("".concat(ge.prefixCls,"-switcher"),"".concat(ge.prefixCls,"-switcher-noop"))},pe):null}var et=vt(!1);return et!==!1?s.createElement("span",{onClick:Ne,className:Z()("".concat(ge.prefixCls,"-switcher"),"".concat(ge.prefixCls,"-switcher_").concat(L?v:l))},et):null},Ct=s.useMemo(function(){if(!oe)return null;var ye=typeof oe!="boolean"?oe:null;return s.createElement("span",{className:Z()("".concat(ge.prefixCls,"-checkbox"),(0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(ge.prefixCls,"-checkbox-checked"),n),"".concat(ge.prefixCls,"-checkbox-indeterminate"),!n&&N),"".concat(ge.prefixCls,"-checkbox-disabled"),he||f.disableCheckbox)),onClick:Ie,role:"checkbox","aria-checked":N?"mixed":n,"aria-disabled":he||f.disableCheckbox,"aria-label":"Select ".concat(typeof f.title=="string"?f.title:"tree node")},ye)},[oe,n,N,he,f.disableCheckbox,f.title]),Ke=s.useMemo(function(){return $e?null:L?v:l},[$e,L]),ot=s.useMemo(function(){return s.createElement("span",{className:Z()("".concat(ge.prefixCls,"-iconEle"),"".concat(ge.prefixCls,"-icon__").concat(Ke||"docu"),(0,C.Z)({},"".concat(ge.prefixCls,"-icon_loading"),H))})},[ge.prefixCls,Ke,H]),Lt=s.useMemo(function(){var ye=!!ge.draggable,pe=!f.disabled&&ye&&ge.dragOverNodeKey===V;return pe?ge.dropIndicatorRender({dropPosition:ge.dropPosition,dropLevelOffset:ge.dropLevelOffset,indent:ge.indent,prefixCls:ge.prefixCls,direction:ge.direction}):null},[ge.dropPosition,ge.dropLevelOffset,ge.indent,ge.prefixCls,ge.direction,ge.draggable,ge.dragOverNodeKey,ge.dropIndicatorRender]),mt=s.useMemo(function(){var ye=f.title,pe=ye===void 0?y:ye,et="".concat(ge.prefixCls,"-node-content-wrapper"),qe;if(ge.showIcon){var ft=f.icon||ge.icon;qe=ft?s.createElement("span",{className:Z()("".concat(ge.prefixCls,"-iconEle"),"".concat(ge.prefixCls,"-icon__customize"))},typeof ft=="function"?ft(f):ft):ot}else ge.loadData&&H&&(qe=ot);var Rt;return typeof pe=="function"?Rt=pe(Ue):ge.titleRender?Rt=ge.titleRender(Ue):Rt=pe,s.createElement("span",{ref:We,title:typeof pe=="string"?pe:"",className:Z()(et,"".concat(et,"-").concat(Ke||"normal"),(0,C.Z)({},"".concat(ge.prefixCls,"-node-selected"),!he&&(i||Ee))),onMouseEnter:de,onMouseLeave:ee,onContextMenu:ce,onClick:O,onDoubleClick:re},qe,s.createElement("span",{className:"".concat(ge.prefixCls,"-title")},Rt),Lt)},[ge.prefixCls,ge.showIcon,f,ge.icon,ot,ge.titleRender,Ue,Ke,de,ee,ce,O,re]),lt=(0,e.Z)(Mt,{aria:!0,data:!0}),bt=(0,u.Z)(ge.keyEntities,V)||{},on=bt.level,pn=K[K.length-1],Yt=!he&&se,ie=ge.draggingNodeKey===V,Te=Xe!==void 0?{"aria-selected":!!Xe}:void 0;return s.createElement("div",(0,S.Z)({ref:ve,role:"treeitem","aria-expanded":P?void 0:L,className:Z()(G,"".concat(ge.prefixCls,"-treenode"),(U={},(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)(U,"".concat(ge.prefixCls,"-treenode-disabled"),he),"".concat(ge.prefixCls,"-treenode-switcher-").concat(L?"open":"close"),!P),"".concat(ge.prefixCls,"-treenode-checkbox-checked"),n),"".concat(ge.prefixCls,"-treenode-checkbox-indeterminate"),N),"".concat(ge.prefixCls,"-treenode-selected"),i),"".concat(ge.prefixCls,"-treenode-loading"),H),"".concat(ge.prefixCls,"-treenode-active"),Oe),"".concat(ge.prefixCls,"-treenode-leaf-last"),pn),"".concat(ge.prefixCls,"-treenode-draggable"),se),"dragging",ie),(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)(U,"drop-target",ge.dropTargetKey===V),"drop-container",ge.dropContainerKey===V),"drag-over",!he&&_e),"drag-over-gap-top",!he&&x),"drag-over-gap-bottom",!he&&g),"filter-node",(I=ge.filterTreeNode)===null||I===void 0?void 0:I.call(ge,(0,c.F)(f))),"".concat(ge.prefixCls,"-treenode-leaf"),$e))),style:X,draggable:Yt,onDragStart:Yt?je:void 0,onDragEnter:se?Ze:void 0,onDragOver:se?ut:void 0,onDragLeave:se?ht:void 0,onDrop:se?He:void 0,onDragEnd:se?Nt:void 0,onMouseMove:rt},Te,lt),s.createElement(t,{prefixCls:ge.prefixCls,level:on,isStart:D,isEnd:K}),Ve,ct(),Ct,mt)};m.isTreeNode=1;var w=m},27822:function(St,Pe,a){"use strict";a.d(Pe,{k:function(){return C},y:function(){return $}});var S=a(67294),C=S.createContext(null),$=S.createContext({})},70593:function(St,Pe,a){"use strict";a.d(Pe,{OF:function(){return V.Z},y6:function(){return l.y},ZP:function(){return he}});var S=a(87462),C=a(71002),$=a(1413),J=a(74902),j=a(15671),s=a(43144),A=a(97326),Z=a(60136),e=a(29388),_=a(4942),h=a(94184),t=a.n(h),u=a(15105),c=a(64217),d=a(80334),v=a(67294),l=a(27822),y=function(Ge){var Ie=Ge.dropPosition,F=Ge.dropLevelOffset,O=Ge.indent,re={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ie){case-1:re.top=0,re.left=-F*O;break;case 1:re.bottom=0,re.left=-F*O;break;case 0:re.bottom=0,re.left=O;break}return v.createElement("div",{style:re})},m=y;function w(oe){if(oe==null)throw new TypeError("Cannot destructure "+oe)}var o=a(97685),f=a(45987),T=a(8410),I=a(73299),U=a(62874),V=a(86128);function G(oe,Ge){var Ie=v.useState(!1),F=(0,o.Z)(Ie,2),O=F[0],re=F[1];(0,T.Z)(function(){if(O)return oe(),function(){Ge()}},[O]),(0,T.Z)(function(){return re(!0),function(){re(!1)}},[])}var X=G,_e=a(1089),x=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],g=v.forwardRef(function(oe,Ge){var Ie=oe.className,F=oe.style,O=oe.motion,re=oe.motionNodes,de=oe.motionType,ee=oe.onMotionStart,ce=oe.onMotionEnd,se=oe.active,je=oe.treeNodeRequiredProps,Ze=(0,f.Z)(oe,x),ut=v.useState(!0),ht=(0,o.Z)(ut,2),Nt=ht[0],He=ht[1],Ne=v.useContext(l.k),Me=Ne.prefixCls,$e=re&&de!=="hide";(0,T.Z)(function(){re&&$e!==Nt&&He($e)},[re]);var Ve=function(){re&&ee()},vt=v.useRef(!1),ct=function(){re&&!vt.current&&(vt.current=!0,ce())};X(Ve,ct);var Ct=function(ot){$e===ot&&ct()};return re?v.createElement(U.Z,(0,S.Z)({ref:Ge,visible:Nt},O,{motionAppear:de==="show",onVisibleChanged:Ct}),function(Ke,ot){var Lt=Ke.className,mt=Ke.style;return v.createElement("div",{ref:ot,className:t()("".concat(Me,"-treenode-motion"),Lt),style:mt},re.map(function(lt){var bt=Object.assign({},(w(lt.data),lt.data)),on=lt.title,pn=lt.key,Yt=lt.isStart,ie=lt.isEnd;delete bt.children;var Te=(0,_e.H8)(pn,je);return v.createElement(V.Z,(0,S.Z)({},bt,Te,{title:on,active:se,data:lt.data,key:pn,isStart:Yt,isEnd:ie}))}))}):v.createElement(V.Z,(0,S.Z)({domRef:Ge,className:Ie,style:F},Ze,{active:se}))}),P=g;function D(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ie=oe.length,F=Ge.length;if(Math.abs(Ie-F)!==1)return{add:!1,key:null};function O(re,de){var ee=new Map;re.forEach(function(se){ee.set(se,!0)});var ce=de.filter(function(se){return!ee.has(se)});return ce.length===1?ce[0]:null}return Ie<F?{add:!0,key:O(oe,Ge)}:{add:!1,key:O(Ge,oe)}}function K(oe,Ge,Ie){var F=oe.findIndex(function(ee){return ee.key===Ie}),O=oe[F+1],re=Ge.findIndex(function(ee){return ee.key===Ie});if(O){var de=Ge.findIndex(function(ee){return ee.key===O.key});return Ge.slice(re+1,de)}return Ge.slice(re+1)}var L=["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"],i={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},n=function(){},N="RC_TREE_MOTION_".concat(Math.random()),H={key:N},ve={key:N,level:0,index:0,pos:"0",node:H,nodes:[H]},Oe={parent:null,children:[],pos:ve.pos,data:H,title:null,key:N,isStart:[],isEnd:[]};function Ue(oe,Ge,Ie,F){return Ge===!1||!Ie?oe:oe.slice(0,Math.ceil(Ie/F)+1)}function rt(oe){var Ge=oe.key,Ie=oe.pos;return(0,_e.km)(Ge,Ie)}function Xe(oe){for(var Ge=String(oe.data.key),Ie=oe;Ie.parent;)Ie=Ie.parent,Ge="".concat(Ie.data.key," > ").concat(Ge);return Ge}var Mt=v.forwardRef(function(oe,Ge){var Ie=oe.prefixCls,F=oe.data,O=oe.selectable,re=oe.checkable,de=oe.expandedKeys,ee=oe.selectedKeys,ce=oe.checkedKeys,se=oe.loadedKeys,je=oe.loadingKeys,Ze=oe.halfCheckedKeys,ut=oe.keyEntities,ht=oe.disabled,Nt=oe.dragging,He=oe.dragOverNodeKey,Ne=oe.dropPosition,Me=oe.motion,$e=oe.height,Ve=oe.itemHeight,vt=oe.virtual,ct=oe.scrollWidth,Ct=oe.focusable,Ke=oe.activeItem,ot=oe.focused,Lt=oe.tabIndex,mt=oe.onKeyDown,lt=oe.onFocus,bt=oe.onBlur,on=oe.onActiveChange,pn=oe.onListChangeStart,Yt=oe.onListChangeEnd,ie=(0,f.Z)(oe,L),Te=v.useRef(null),ye=v.useRef(null);v.useImperativeHandle(Ge,function(){return{scrollTo:function(zn){Te.current.scrollTo(zn)},getIndentWidth:function(){return ye.current.offsetWidth}}});var pe=v.useState(de),et=(0,o.Z)(pe,2),qe=et[0],ft=et[1],Rt=v.useState(F),Ht=(0,o.Z)(Rt,2),Kt=Ht[0],Pt=Ht[1],_t=v.useState(F),jt=(0,o.Z)(_t,2),It=jt[0],Bt=jt[1],dt=v.useState([]),Fe=(0,o.Z)(dt,2),Je=Fe[0],Tt=Fe[1],tn=v.useState(null),cn=(0,o.Z)(tn,2),Zn=cn[0],ar=cn[1],kn=v.useRef(F);kn.current=F;function mn(){var nn=kn.current;Pt(nn),Bt(nn),Tt([]),ar(null),Yt()}(0,T.Z)(function(){ft(de);var nn=D(qe,de);if(nn.key!==null)if(nn.add){var zn=Kt.findIndex(function(dn){var Mn=dn.key;return Mn===nn.key}),Dn=Ue(K(Kt,F,nn.key),vt,$e,Ve),un=Kt.slice();un.splice(zn+1,0,Oe),Bt(un),Tt(Dn),ar("show")}else{var gn=F.findIndex(function(dn){var Mn=dn.key;return Mn===nn.key}),yn=Ue(K(F,Kt,nn.key),vt,$e,Ve),Sn=F.slice();Sn.splice(gn+1,0,Oe),Bt(Sn),Tt(yn),ar("hide")}else Kt!==F&&(Pt(F),Bt(F))},[de,F]),v.useEffect(function(){Nt||mn()},[Nt]);var On=Me?It:F,Gn={expandedKeys:de,selectedKeys:ee,loadedKeys:se,loadingKeys:je,checkedKeys:ce,halfCheckedKeys:Ze,dragOverNodeKey:He,dropPosition:Ne,keyEntities:ut};return v.createElement(v.Fragment,null,ot&&Ke&&v.createElement("span",{style:i,"aria-live":"assertive"},Xe(Ke)),v.createElement("div",null,v.createElement("input",{style:i,disabled:Ct===!1||ht,tabIndex:Ct!==!1?Lt:null,onKeyDown:mt,onFocus:lt,onBlur:bt,value:"",onChange:n,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(Ie,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(Ie,"-indent")},v.createElement("div",{ref:ye,className:"".concat(Ie,"-indent-unit")}))),v.createElement(I.Z,(0,S.Z)({},ie,{data:On,itemKey:rt,height:$e,fullHeight:!1,virtual:vt,itemHeight:Ve,scrollWidth:ct,prefixCls:"".concat(Ie,"-list"),ref:Te,role:"tree",onVisibleChange:function(zn){zn.every(function(Dn){return rt(Dn)!==N})&&mn()}}),function(nn){var zn=nn.pos,Dn=Object.assign({},(w(nn.data),nn.data)),un=nn.title,gn=nn.key,yn=nn.isStart,Sn=nn.isEnd,dn=(0,_e.km)(gn,zn);delete Dn.key,delete Dn.children;var Mn=(0,_e.H8)(dn,Gn);return v.createElement(P,(0,S.Z)({},Dn,Mn,{title:un,active:!!Ke&&gn===Ke.key,pos:zn,data:nn.data,isStart:yn,isEnd:Sn,motion:Me,motionNodes:gn===N?Je:null,motionType:Zn,onMotionStart:pn,onMotionEnd:mn,treeNodeRequiredProps:Gn,onMouseMove:function(){on(null)}}))}))}),ge=Mt,st=a(10225),We=a(17341),ue=a(35381),Y=10,Ee=function(oe){(0,Z.Z)(Ie,oe);var Ge=(0,e.Z)(Ie);function Ie(){var F;(0,j.Z)(this,Ie);for(var O=arguments.length,re=new Array(O),de=0;de<O;de++)re[de]=arguments[de];return F=Ge.call.apply(Ge,[this].concat(re)),(0,_.Z)((0,A.Z)(F),"destroyed",!1),(0,_.Z)((0,A.Z)(F),"delayedDragEnterLogic",void 0),(0,_.Z)((0,A.Z)(F),"loadingRetryTimes",{}),(0,_.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,_e.w$)()}),(0,_.Z)((0,A.Z)(F),"dragStartMousePosition",null),(0,_.Z)((0,A.Z)(F),"dragNodeProps",null),(0,_.Z)((0,A.Z)(F),"currentMouseOverDroppableNodeKey",null),(0,_.Z)((0,A.Z)(F),"listRef",v.createRef()),(0,_.Z)((0,A.Z)(F),"onNodeDragStart",function(ee,ce){var se=F.state,je=se.expandedKeys,Ze=se.keyEntities,ut=F.props.onDragStart,ht=ce.eventKey;F.dragNodeProps=ce,F.dragStartMousePosition={x:ee.clientX,y:ee.clientY};var Nt=(0,st._5)(je,ht);F.setState({draggingNodeKey:ht,dragChildrenKeys:(0,st.wA)(ht,Ze),indent:F.listRef.current.getIndentWidth()}),F.setExpandedKeys(Nt),window.addEventListener("dragend",F.onWindowDragEnd),ut==null||ut({event:ee,node:(0,_e.F)(ce)})}),(0,_.Z)((0,A.Z)(F),"onNodeDragEnter",function(ee,ce){var se=F.state,je=se.expandedKeys,Ze=se.keyEntities,ut=se.dragChildrenKeys,ht=se.flattenNodes,Nt=se.indent,He=F.props,Ne=He.onDragEnter,Me=He.onExpand,$e=He.allowDrop,Ve=He.direction,vt=ce.pos,ct=ce.eventKey;if(F.currentMouseOverDroppableNodeKey!==ct&&(F.currentMouseOverDroppableNodeKey=ct),!F.dragNodeProps){F.resetDragState();return}var Ct=(0,st.OM)(ee,F.dragNodeProps,ce,Nt,F.dragStartMousePosition,$e,ht,Ze,je,Ve),Ke=Ct.dropPosition,ot=Ct.dropLevelOffset,Lt=Ct.dropTargetKey,mt=Ct.dropContainerKey,lt=Ct.dropTargetPos,bt=Ct.dropAllowed,on=Ct.dragOverNodeKey;if(ut.includes(Lt)||!bt){F.resetDragState();return}if(F.delayedDragEnterLogic||(F.delayedDragEnterLogic={}),Object.keys(F.delayedDragEnterLogic).forEach(function(pn){clearTimeout(F.delayedDragEnterLogic[pn])}),F.dragNodeProps.eventKey!==ce.eventKey&&(ee.persist(),F.delayedDragEnterLogic[vt]=window.setTimeout(function(){if(F.state.draggingNodeKey!==null){var pn=(0,J.Z)(je),Yt=(0,ue.Z)(Ze,ce.eventKey);Yt&&(Yt.children||[]).length&&(pn=(0,st.L0)(je,ce.eventKey)),F.props.hasOwnProperty("expandedKeys")||F.setExpandedKeys(pn),Me==null||Me(pn,{node:(0,_e.F)(ce),expanded:!0,nativeEvent:ee.nativeEvent})}},800)),F.dragNodeProps.eventKey===Lt&&ot===0){F.resetDragState();return}F.setState({dragOverNodeKey:on,dropPosition:Ke,dropLevelOffset:ot,dropTargetKey:Lt,dropContainerKey:mt,dropTargetPos:lt,dropAllowed:bt}),Ne==null||Ne({event:ee,node:(0,_e.F)(ce),expandedKeys:je})}),(0,_.Z)((0,A.Z)(F),"onNodeDragOver",function(ee,ce){var se=F.state,je=se.dragChildrenKeys,Ze=se.flattenNodes,ut=se.keyEntities,ht=se.expandedKeys,Nt=se.indent,He=F.props,Ne=He.onDragOver,Me=He.allowDrop,$e=He.direction;if(F.dragNodeProps){var Ve=(0,st.OM)(ee,F.dragNodeProps,ce,Nt,F.dragStartMousePosition,Me,Ze,ut,ht,$e),vt=Ve.dropPosition,ct=Ve.dropLevelOffset,Ct=Ve.dropTargetKey,Ke=Ve.dropContainerKey,ot=Ve.dropTargetPos,Lt=Ve.dropAllowed,mt=Ve.dragOverNodeKey;je.includes(Ct)||!Lt||(F.dragNodeProps.eventKey===Ct&&ct===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():vt===F.state.dropPosition&&ct===F.state.dropLevelOffset&&Ct===F.state.dropTargetKey&&Ke===F.state.dropContainerKey&&ot===F.state.dropTargetPos&&Lt===F.state.dropAllowed&&mt===F.state.dragOverNodeKey||F.setState({dropPosition:vt,dropLevelOffset:ct,dropTargetKey:Ct,dropContainerKey:Ke,dropTargetPos:ot,dropAllowed:Lt,dragOverNodeKey:mt}),Ne==null||Ne({event:ee,node:(0,_e.F)(ce)}))}}),(0,_.Z)((0,A.Z)(F),"onNodeDragLeave",function(ee,ce){F.currentMouseOverDroppableNodeKey===ce.eventKey&&!ee.currentTarget.contains(ee.relatedTarget)&&(F.resetDragState(),F.currentMouseOverDroppableNodeKey=null);var se=F.props.onDragLeave;se==null||se({event:ee,node:(0,_e.F)(ce)})}),(0,_.Z)((0,A.Z)(F),"onWindowDragEnd",function(ee){F.onNodeDragEnd(ee,null,!0),window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,_.Z)((0,A.Z)(F),"onNodeDragEnd",function(ee,ce){var se=F.props.onDragEnd;F.setState({dragOverNodeKey:null}),F.cleanDragState(),se==null||se({event:ee,node:(0,_e.F)(ce)}),F.dragNodeProps=null,window.removeEventListener("dragend",F.onWindowDragEnd)}),(0,_.Z)((0,A.Z)(F),"onNodeDrop",function(ee,ce){var se,je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ze=F.state,ut=Ze.dragChildrenKeys,ht=Ze.dropPosition,Nt=Ze.dropTargetKey,He=Ze.dropTargetPos,Ne=Ze.dropAllowed;if(Ne){var Me=F.props.onDrop;if(F.setState({dragOverNodeKey:null}),F.cleanDragState(),Nt!==null){var $e=(0,$.Z)((0,$.Z)({},(0,_e.H8)(Nt,F.getTreeNodeRequiredProps())),{},{active:((se=F.getActiveItem())===null||se===void 0?void 0:se.key)===Nt,data:(0,ue.Z)(F.state.keyEntities,Nt).node}),Ve=ut.includes(Nt);(0,d.ZP)(!Ve,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var vt=(0,st.yx)(He),ct={event:ee,node:(0,_e.F)($e),dragNode:F.dragNodeProps?(0,_e.F)(F.dragNodeProps):null,dragNodesKeys:[F.dragNodeProps.eventKey].concat(ut),dropToGap:ht!==0,dropPosition:ht+Number(vt[vt.length-1])};je||Me==null||Me(ct),F.dragNodeProps=null}}}),(0,_.Z)((0,A.Z)(F),"cleanDragState",function(){var ee=F.state.draggingNodeKey;ee!==null&&F.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),F.dragStartMousePosition=null,F.currentMouseOverDroppableNodeKey=null}),(0,_.Z)((0,A.Z)(F),"triggerExpandActionExpand",function(ee,ce){var se=F.state,je=se.expandedKeys,Ze=se.flattenNodes,ut=ce.expanded,ht=ce.key,Nt=ce.isLeaf;if(!(Nt||ee.shiftKey||ee.metaKey||ee.ctrlKey)){var He=Ze.filter(function(Me){return Me.key===ht})[0],Ne=(0,_e.F)((0,$.Z)((0,$.Z)({},(0,_e.H8)(ht,F.getTreeNodeRequiredProps())),{},{data:He.data}));F.setExpandedKeys(ut?(0,st._5)(je,ht):(0,st.L0)(je,ht)),F.onNodeExpand(ee,Ne)}}),(0,_.Z)((0,A.Z)(F),"onNodeClick",function(ee,ce){var se=F.props,je=se.onClick,Ze=se.expandAction;Ze==="click"&&F.triggerExpandActionExpand(ee,ce),je==null||je(ee,ce)}),(0,_.Z)((0,A.Z)(F),"onNodeDoubleClick",function(ee,ce){var se=F.props,je=se.onDoubleClick,Ze=se.expandAction;Ze==="doubleClick"&&F.triggerExpandActionExpand(ee,ce),je==null||je(ee,ce)}),(0,_.Z)((0,A.Z)(F),"onNodeSelect",function(ee,ce){var se=F.state.selectedKeys,je=F.state,Ze=je.keyEntities,ut=je.fieldNames,ht=F.props,Nt=ht.onSelect,He=ht.multiple,Ne=ce.selected,Me=ce[ut.key],$e=!Ne;$e?He?se=(0,st.L0)(se,Me):se=[Me]:se=(0,st._5)(se,Me);var Ve=se.map(function(vt){var ct=(0,ue.Z)(Ze,vt);return ct?ct.node:null}).filter(Boolean);F.setUncontrolledState({selectedKeys:se}),Nt==null||Nt(se,{event:"select",selected:$e,node:ce,selectedNodes:Ve,nativeEvent:ee.nativeEvent})}),(0,_.Z)((0,A.Z)(F),"onNodeCheck",function(ee,ce,se){var je=F.state,Ze=je.keyEntities,ut=je.checkedKeys,ht=je.halfCheckedKeys,Nt=F.props,He=Nt.checkStrictly,Ne=Nt.onCheck,Me=ce.key,$e,Ve={event:"check",node:ce,checked:se,nativeEvent:ee.nativeEvent};if(He){var vt=se?(0,st.L0)(ut,Me):(0,st._5)(ut,Me),ct=(0,st._5)(ht,Me);$e={checked:vt,halfChecked:ct},Ve.checkedNodes=vt.map(function(lt){return(0,ue.Z)(Ze,lt)}).filter(Boolean).map(function(lt){return lt.node}),F.setUncontrolledState({checkedKeys:vt})}else{var Ct=(0,We.S)([].concat((0,J.Z)(ut),[Me]),!0,Ze),Ke=Ct.checkedKeys,ot=Ct.halfCheckedKeys;if(!se){var Lt=new Set(Ke);Lt.delete(Me);var mt=(0,We.S)(Array.from(Lt),{checked:!1,halfCheckedKeys:ot},Ze);Ke=mt.checkedKeys,ot=mt.halfCheckedKeys}$e=Ke,Ve.checkedNodes=[],Ve.checkedNodesPositions=[],Ve.halfCheckedKeys=ot,Ke.forEach(function(lt){var bt=(0,ue.Z)(Ze,lt);if(bt){var on=bt.node,pn=bt.pos;Ve.checkedNodes.push(on),Ve.checkedNodesPositions.push({node:on,pos:pn})}}),F.setUncontrolledState({checkedKeys:Ke},!1,{halfCheckedKeys:ot})}Ne==null||Ne($e,Ve)}),(0,_.Z)((0,A.Z)(F),"onNodeLoad",function(ee){var ce,se=ee.key,je=F.state.keyEntities,Ze=(0,ue.Z)(je,se);if(!(Ze!=null&&(ce=Ze.children)!==null&&ce!==void 0&&ce.length)){var ut=new Promise(function(ht,Nt){F.setState(function(He){var Ne=He.loadedKeys,Me=Ne===void 0?[]:Ne,$e=He.loadingKeys,Ve=$e===void 0?[]:$e,vt=F.props,ct=vt.loadData,Ct=vt.onLoad;if(!ct||Me.includes(se)||Ve.includes(se))return null;var Ke=ct(ee);return Ke.then(function(){var ot=F.state.loadedKeys,Lt=(0,st.L0)(ot,se);Ct==null||Ct(Lt,{event:"load",node:ee}),F.setUncontrolledState({loadedKeys:Lt}),F.setState(function(mt){return{loadingKeys:(0,st._5)(mt.loadingKeys,se)}}),ht()}).catch(function(ot){if(F.setState(function(mt){return{loadingKeys:(0,st._5)(mt.loadingKeys,se)}}),F.loadingRetryTimes[se]=(F.loadingRetryTimes[se]||0)+1,F.loadingRetryTimes[se]>=Y){var Lt=F.state.loadedKeys;(0,d.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),F.setUncontrolledState({loadedKeys:(0,st.L0)(Lt,se)}),ht()}Nt(ot)}),{loadingKeys:(0,st.L0)(Ve,se)}})});return ut.catch(function(){}),ut}}),(0,_.Z)((0,A.Z)(F),"onNodeMouseEnter",function(ee,ce){var se=F.props.onMouseEnter;se==null||se({event:ee,node:ce})}),(0,_.Z)((0,A.Z)(F),"onNodeMouseLeave",function(ee,ce){var se=F.props.onMouseLeave;se==null||se({event:ee,node:ce})}),(0,_.Z)((0,A.Z)(F),"onNodeContextMenu",function(ee,ce){var se=F.props.onRightClick;se&&(ee.preventDefault(),se({event:ee,node:ce}))}),(0,_.Z)((0,A.Z)(F),"onFocus",function(){var ee=F.props.onFocus;F.setState({focused:!0});for(var ce=arguments.length,se=new Array(ce),je=0;je<ce;je++)se[je]=arguments[je];ee==null||ee.apply(void 0,se)}),(0,_.Z)((0,A.Z)(F),"onBlur",function(){var ee=F.props.onBlur;F.setState({focused:!1}),F.onActiveChange(null);for(var ce=arguments.length,se=new Array(ce),je=0;je<ce;je++)se[je]=arguments[je];ee==null||ee.apply(void 0,se)}),(0,_.Z)((0,A.Z)(F),"getTreeNodeRequiredProps",function(){var ee=F.state,ce=ee.expandedKeys,se=ee.selectedKeys,je=ee.loadedKeys,Ze=ee.loadingKeys,ut=ee.checkedKeys,ht=ee.halfCheckedKeys,Nt=ee.dragOverNodeKey,He=ee.dropPosition,Ne=ee.keyEntities;return{expandedKeys:ce||[],selectedKeys:se||[],loadedKeys:je||[],loadingKeys:Ze||[],checkedKeys:ut||[],halfCheckedKeys:ht||[],dragOverNodeKey:Nt,dropPosition:He,keyEntities:Ne}}),(0,_.Z)((0,A.Z)(F),"setExpandedKeys",function(ee){var ce=F.state,se=ce.treeData,je=ce.fieldNames,Ze=(0,_e.oH)(se,ee,je);F.setUncontrolledState({expandedKeys:ee,flattenNodes:Ze},!0)}),(0,_.Z)((0,A.Z)(F),"onNodeExpand",function(ee,ce){var se=F.state.expandedKeys,je=F.state,Ze=je.listChanging,ut=je.fieldNames,ht=F.props,Nt=ht.onExpand,He=ht.loadData,Ne=ce.expanded,Me=ce[ut.key];if(!Ze){var $e=se.includes(Me),Ve=!Ne;if((0,d.ZP)(Ne&&$e||!Ne&&!$e,"Expand state not sync with index check"),se=Ve?(0,st.L0)(se,Me):(0,st._5)(se,Me),F.setExpandedKeys(se),Nt==null||Nt(se,{node:ce,expanded:Ve,nativeEvent:ee.nativeEvent}),Ve&&He){var vt=F.onNodeLoad(ce);vt&&vt.then(function(){var ct=(0,_e.oH)(F.state.treeData,se,ut);F.setUncontrolledState({flattenNodes:ct})}).catch(function(){var ct=F.state.expandedKeys,Ct=(0,st._5)(ct,Me);F.setExpandedKeys(Ct)})}}}),(0,_.Z)((0,A.Z)(F),"onListChangeStart",function(){F.setUncontrolledState({listChanging:!0})}),(0,_.Z)((0,A.Z)(F),"onListChangeEnd",function(){setTimeout(function(){F.setUncontrolledState({listChanging:!1})})}),(0,_.Z)((0,A.Z)(F),"onActiveChange",function(ee){var ce=F.state.activeKey,se=F.props,je=se.onActiveChange,Ze=se.itemScrollOffset,ut=Ze===void 0?0:Ze;ce!==ee&&(F.setState({activeKey:ee}),ee!==null&&F.scrollTo({key:ee,offset:ut}),je==null||je(ee))}),(0,_.Z)((0,A.Z)(F),"getActiveItem",function(){var ee=F.state,ce=ee.activeKey,se=ee.flattenNodes;return ce===null?null:se.find(function(je){var Ze=je.key;return Ze===ce})||null}),(0,_.Z)((0,A.Z)(F),"offsetActiveKey",function(ee){var ce=F.state,se=ce.flattenNodes,je=ce.activeKey,Ze=se.findIndex(function(Nt){var He=Nt.key;return He===je});Ze===-1&&ee<0&&(Ze=se.length),Ze=(Ze+ee+se.length)%se.length;var ut=se[Ze];if(ut){var ht=ut.key;F.onActiveChange(ht)}else F.onActiveChange(null)}),(0,_.Z)((0,A.Z)(F),"onKeyDown",function(ee){var ce=F.state,se=ce.activeKey,je=ce.expandedKeys,Ze=ce.checkedKeys,ut=ce.fieldNames,ht=F.props,Nt=ht.onKeyDown,He=ht.checkable,Ne=ht.selectable;switch(ee.which){case u.Z.UP:{F.offsetActiveKey(-1),ee.preventDefault();break}case u.Z.DOWN:{F.offsetActiveKey(1),ee.preventDefault();break}}var Me=F.getActiveItem();if(Me&&Me.data){var $e=F.getTreeNodeRequiredProps(),Ve=Me.data.isLeaf===!1||!!(Me.data[ut.children]||[]).length,vt=(0,_e.F)((0,$.Z)((0,$.Z)({},(0,_e.H8)(se,$e)),{},{data:Me.data,active:!0}));switch(ee.which){case u.Z.LEFT:{Ve&&je.includes(se)?F.onNodeExpand({},vt):Me.parent&&F.onActiveChange(Me.parent.key),ee.preventDefault();break}case u.Z.RIGHT:{Ve&&!je.includes(se)?F.onNodeExpand({},vt):Me.children&&Me.children.length&&F.onActiveChange(Me.children[0].key),ee.preventDefault();break}case u.Z.ENTER:case u.Z.SPACE:{He&&!vt.disabled&&vt.checkable!==!1&&!vt.disableCheckbox?F.onNodeCheck({},vt,!Ze.includes(se)):!He&&Ne&&!vt.disabled&&vt.selectable!==!1&&F.onNodeSelect({},vt);break}}}Nt==null||Nt(ee)}),(0,_.Z)((0,A.Z)(F),"setUncontrolledState",function(ee){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!F.destroyed){var je=!1,Ze=!0,ut={};Object.keys(ee).forEach(function(ht){if(F.props.hasOwnProperty(ht)){Ze=!1;return}je=!0,ut[ht]=ee[ht]}),je&&(!ce||Ze)&&F.setState((0,$.Z)((0,$.Z)({},ut),se))}}),(0,_.Z)((0,A.Z)(F),"scrollTo",function(ee){F.listRef.current.scrollTo(ee)}),F}return(0,s.Z)(Ie,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var O=this.props,re=O.activeKey,de=O.itemScrollOffset,ee=de===void 0?0:de;re!==void 0&&re!==this.state.activeKey&&(this.setState({activeKey:re}),re!==null&&this.scrollTo({key:re,offset:ee}))}},{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,re=O.focused,de=O.flattenNodes,ee=O.keyEntities,ce=O.draggingNodeKey,se=O.activeKey,je=O.dropLevelOffset,Ze=O.dropContainerKey,ut=O.dropTargetKey,ht=O.dropPosition,Nt=O.dragOverNodeKey,He=O.indent,Ne=this.props,Me=Ne.prefixCls,$e=Ne.className,Ve=Ne.style,vt=Ne.showLine,ct=Ne.focusable,Ct=Ne.tabIndex,Ke=Ct===void 0?0:Ct,ot=Ne.selectable,Lt=Ne.showIcon,mt=Ne.icon,lt=Ne.switcherIcon,bt=Ne.draggable,on=Ne.checkable,pn=Ne.checkStrictly,Yt=Ne.disabled,ie=Ne.motion,Te=Ne.loadData,ye=Ne.filterTreeNode,pe=Ne.height,et=Ne.itemHeight,qe=Ne.scrollWidth,ft=Ne.virtual,Rt=Ne.titleRender,Ht=Ne.dropIndicatorRender,Kt=Ne.onContextMenu,Pt=Ne.onScroll,_t=Ne.direction,jt=Ne.rootClassName,It=Ne.rootStyle,Bt=(0,c.Z)(this.props,{aria:!0,data:!0}),dt;bt&&((0,C.Z)(bt)==="object"?dt=bt:typeof bt=="function"?dt={nodeDraggable:bt}:dt={});var Fe={prefixCls:Me,selectable:ot,showIcon:Lt,icon:mt,switcherIcon:lt,draggable:dt,draggingNodeKey:ce,checkable:on,checkStrictly:pn,disabled:Yt,keyEntities:ee,dropLevelOffset:je,dropContainerKey:Ze,dropTargetKey:ut,dropPosition:ht,dragOverNodeKey:Nt,indent:He,direction:_t,dropIndicatorRender:Ht,loadData:Te,filterTreeNode:ye,titleRender:Rt,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(l.k.Provider,{value:Fe},v.createElement("div",{className:t()(Me,$e,jt,(0,_.Z)((0,_.Z)((0,_.Z)({},"".concat(Me,"-show-line"),vt),"".concat(Me,"-focused"),re),"".concat(Me,"-active-focused"),se!==null)),style:It},v.createElement(ge,(0,S.Z)({ref:this.listRef,prefixCls:Me,style:Ve,data:de,disabled:Yt,selectable:ot,checkable:!!on,motion:ie,dragging:ce!==null,height:pe,itemHeight:et,virtual:ft,focusable:ct,focused:re,tabIndex:Ke,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:qe},this.getTreeNodeRequiredProps(),Bt))))}}],[{key:"getDerivedStateFromProps",value:function(O,re){var de=re.prevProps,ee={prevProps:O};function ce(Ke){return!de&&O.hasOwnProperty(Ke)||de&&de[Ke]!==O[Ke]}var se,je=re.fieldNames;if(ce("fieldNames")&&(je=(0,_e.w$)(O.fieldNames),ee.fieldNames=je),ce("treeData")?se=O.treeData:ce("children")&&((0,d.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),se=(0,_e.zn)(O.children)),se){ee.treeData=se;var Ze=(0,_e.I8)(se,{fieldNames:je});ee.keyEntities=(0,$.Z)((0,_.Z)({},N,ve),Ze.keyEntities)}var ut=ee.keyEntities||re.keyEntities;if(ce("expandedKeys")||de&&ce("autoExpandParent"))ee.expandedKeys=O.autoExpandParent||!de&&O.defaultExpandParent?(0,st.r7)(O.expandedKeys,ut):O.expandedKeys;else if(!de&&O.defaultExpandAll){var ht=(0,$.Z)({},ut);delete ht[N];var Nt=[];Object.keys(ht).forEach(function(Ke){var ot=ht[Ke];ot.children&&ot.children.length&&Nt.push(ot.key)}),ee.expandedKeys=Nt}else!de&&O.defaultExpandedKeys&&(ee.expandedKeys=O.autoExpandParent||O.defaultExpandParent?(0,st.r7)(O.defaultExpandedKeys,ut):O.defaultExpandedKeys);if(ee.expandedKeys||delete ee.expandedKeys,se||ee.expandedKeys){var He=(0,_e.oH)(se||re.treeData,ee.expandedKeys||re.expandedKeys,je);ee.flattenNodes=He}if(O.selectable&&(ce("selectedKeys")?ee.selectedKeys=(0,st.BT)(O.selectedKeys,O):!de&&O.defaultSelectedKeys&&(ee.selectedKeys=(0,st.BT)(O.defaultSelectedKeys,O))),O.checkable){var Ne;if(ce("checkedKeys")?Ne=(0,st.E6)(O.checkedKeys)||{}:!de&&O.defaultCheckedKeys?Ne=(0,st.E6)(O.defaultCheckedKeys)||{}:se&&(Ne=(0,st.E6)(O.checkedKeys)||{checkedKeys:re.checkedKeys,halfCheckedKeys:re.halfCheckedKeys}),Ne){var Me=Ne,$e=Me.checkedKeys,Ve=$e===void 0?[]:$e,vt=Me.halfCheckedKeys,ct=vt===void 0?[]:vt;if(!O.checkStrictly){var Ct=(0,We.S)(Ve,!0,ut);Ve=Ct.checkedKeys,ct=Ct.halfCheckedKeys}ee.checkedKeys=Ve,ee.halfCheckedKeys=ct}}return ce("loadedKeys")&&(ee.loadedKeys=O.loadedKeys),ee}}]),Ie}(v.Component);(0,_.Z)(Ee,"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:m,allowDrop:function(){return!0},expandAction:!1}),(0,_.Z)(Ee,"TreeNode",V.Z);var B=Ee,he=B},10225:function(St,Pe,a){"use strict";a.d(Pe,{BT:function(){return v},E6:function(){return m},L0:function(){return _},OM:function(){return d},_5:function(){return e},r7:function(){return w},wA:function(){return t},yx:function(){return h}});var S=a(74902),C=a(71002),$=a(80334),J=a(67294),j=a(86128),s=a(35381),A=a(1089),Z=null;function e(o,f){if(!o)return[];var T=o.slice(),I=T.indexOf(f);return I>=0&&T.splice(I,1),T}function _(o,f){var T=(o||[]).slice();return T.indexOf(f)===-1&&T.push(f),T}function h(o){return o.split("-")}function t(o,f){var T=[],I=(0,s.Z)(f,o);function U(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];V.forEach(function(G){var X=G.key,_e=G.children;T.push(X),U(_e)})}return U(I.children),T}function u(o){if(o.parent){var f=h(o.pos);return Number(f[f.length-1])===o.parent.children.length-1}return!1}function c(o){var f=h(o.pos);return Number(f[f.length-1])===0}function d(o,f,T,I,U,V,G,X,_e,x){var g,P=o.clientX,D=o.clientY,K=o.target.getBoundingClientRect(),L=K.top,i=K.height,n=(x==="rtl"?-1:1)*(((U==null?void 0:U.x)||0)-P),N=(n-12)/I,H=_e.filter(function(he){var oe;return(oe=X[he])===null||oe===void 0||(oe=oe.children)===null||oe===void 0?void 0:oe.length}),ve=(0,s.Z)(X,T.eventKey);if(D<L+i/2){var Oe=G.findIndex(function(he){return he.key===ve.key}),Ue=Oe<=0?0:Oe-1,rt=G[Ue].key;ve=(0,s.Z)(X,rt)}var Xe=ve.key,Mt=ve,ge=ve.key,st=0,We=0;if(!H.includes(Xe))for(var ue=0;ue<N&&u(ve);ue+=1)ve=ve.parent,We+=1;var Y=f.data,Ee=ve.node,B=!0;return c(ve)&&ve.level===0&&D<L+i/2&&V({dragNode:Y,dropNode:Ee,dropPosition:-1})&&ve.key===T.eventKey?st=-1:(Mt.children||[]).length&&H.includes(ge)?V({dragNode:Y,dropNode:Ee,dropPosition:0})?st=0:B=!1:We===0?N>-1.5?V({dragNode:Y,dropNode:Ee,dropPosition:1})?st=1:B=!1:V({dragNode:Y,dropNode:Ee,dropPosition:0})?st=0:V({dragNode:Y,dropNode:Ee,dropPosition:1})?st=1:B=!1:V({dragNode:Y,dropNode:Ee,dropPosition:1})?st=1:B=!1,{dropPosition:st,dropLevelOffset:We,dropTargetKey:ve.key,dropTargetPos:ve.pos,dragOverNodeKey:ge,dropContainerKey:st===0?null:((g=ve.parent)===null||g===void 0?void 0:g.key)||null,dropAllowed:B}}function v(o,f){if(o){var T=f.multiple;return T?o.slice():o.length?[o[0]]:o}}var l=function(f){return f};function y(o,f){if(!o)return[];var T=f||{},I=T.processProps,U=I===void 0?l:I,V=Array.isArray(o)?o:[o];return V.map(function(G){var X=G.children,_e=_objectWithoutProperties(G,Z),x=y(X,f);return React.createElement(TreeNode,_extends({key:_e.key},U(_e)),x)})}function m(o){if(!o)return null;var f;if(Array.isArray(o))f={checkedKeys:o,halfCheckedKeys:void 0};else if((0,C.Z)(o)==="object")f={checkedKeys:o.checked||void 0,halfCheckedKeys:o.halfChecked||void 0};else return(0,$.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return f}function w(o,f){var T=new Set;function I(U){if(!T.has(U)){var V=(0,s.Z)(f,U);if(V){T.add(U);var G=V.parent,X=V.node;X.disabled||G&&I(G.key)}}}return(o||[]).forEach(function(U){I(U)}),(0,S.Z)(T)}},17341:function(St,Pe,a){"use strict";a.d(Pe,{S:function(){return A}});var S=a(80334),C=a(35381);function $(Z,e){var _=new Set;return Z.forEach(function(h){e.has(h)||_.add(h)}),_}function J(Z){var e=Z||{},_=e.disabled,h=e.disableCheckbox,t=e.checkable;return!!(_||h)||t===!1}function j(Z,e,_,h){for(var t=new Set(Z),u=new Set,c=0;c<=_;c+=1){var d=e.get(c)||new Set;d.forEach(function(m){var w=m.key,o=m.node,f=m.children,T=f===void 0?[]:f;t.has(w)&&!h(o)&&T.filter(function(I){return!h(I.node)}).forEach(function(I){t.add(I.key)})})}for(var v=new Set,l=_;l>=0;l-=1){var y=e.get(l)||new Set;y.forEach(function(m){var w=m.parent,o=m.node;if(!(h(o)||!m.parent||v.has(m.parent.key))){if(h(m.parent.node)){v.add(w.key);return}var f=!0,T=!1;(w.children||[]).filter(function(I){return!h(I.node)}).forEach(function(I){var U=I.key,V=t.has(U);f&&!V&&(f=!1),!T&&(V||u.has(U))&&(T=!0)}),f&&t.add(w.key),T&&u.add(w.key),v.add(w.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from($(u,t))}}function s(Z,e,_,h,t){for(var u=new Set(Z),c=new Set(e),d=0;d<=h;d+=1){var v=_.get(d)||new Set;v.forEach(function(w){var o=w.key,f=w.node,T=w.children,I=T===void 0?[]:T;!u.has(o)&&!c.has(o)&&!t(f)&&I.filter(function(U){return!t(U.node)}).forEach(function(U){u.delete(U.key)})})}c=new Set;for(var l=new Set,y=h;y>=0;y-=1){var m=_.get(y)||new Set;m.forEach(function(w){var o=w.parent,f=w.node;if(!(t(f)||!w.parent||l.has(w.parent.key))){if(t(w.parent.node)){l.add(o.key);return}var T=!0,I=!1;(o.children||[]).filter(function(U){return!t(U.node)}).forEach(function(U){var V=U.key,G=u.has(V);T&&!G&&(T=!1),!I&&(G||c.has(V))&&(I=!0)}),T||u.delete(o.key),I&&c.add(o.key),l.add(o.key)}})}return{checkedKeys:Array.from(u),halfCheckedKeys:Array.from($(c,u))}}function A(Z,e,_,h){var t=[],u;h?u=h:u=J;var c=new Set(Z.filter(function(y){var m=!!(0,C.Z)(_,y);return m||t.push(y),m})),d=new Map,v=0;Object.keys(_).forEach(function(y){var m=_[y],w=m.level,o=d.get(w);o||(o=new Set,d.set(w,o)),o.add(m),v=Math.max(v,w)}),(0,S.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var l;return e===!0?l=j(c,d,v,u):l=s(c,e.halfCheckedKeys,d,v,u),l}},35381:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return S}});function S(C,$){return C[$]}},1089:function(St,Pe,a){"use strict";a.d(Pe,{F:function(){return w},H8:function(){return m},I8:function(){return y},km:function(){return t},oH:function(){return v},w$:function(){return u},zn:function(){return d}});var S=a(71002),C=a(74902),$=a(1413),J=a(45987),j=a(50344),s=a(98423),A=a(80334),Z=a(35381),e=["children"];function _(o,f){return"".concat(o,"-").concat(f)}function h(o){return o&&o.type&&o.type.isTreeNode}function t(o,f){return o!=null?o:f}function u(o){var f=o||{},T=f.title,I=f._title,U=f.key,V=f.children,G=T||"title";return{title:G,_title:I||[G],key:U||"key",children:V||"children"}}function c(o,f){var T=new Map;function I(U){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(U||[]).forEach(function(G){var X=G[f.key],_e=G[f.children];warning(X!=null,"Tree node must have a certain key: [".concat(V).concat(X,"]"));var x=String(X);warning(!T.has(x)||X===null||X===void 0,"Same 'key' exist in the Tree: ".concat(x)),T.set(x,!0),I(_e,"".concat(V).concat(x," > "))})}I(o)}function d(o){function f(T){var I=(0,j.Z)(T);return I.map(function(U){if(!h(U))return(0,A.ZP)(!U,"Tree/TreeNode can only accept TreeNode as children."),null;var V=U.key,G=U.props,X=G.children,_e=(0,J.Z)(G,e),x=(0,$.Z)({key:V},_e),g=f(X);return g.length&&(x.children=g),x}).filter(function(U){return U})}return f(o)}function v(o,f,T){var I=u(T),U=I._title,V=I.key,G=I.children,X=new Set(f===!0?[]:f),_e=[];function x(g){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return g.map(function(D,K){for(var L=_(P?P.pos:"0",K),i=t(D[V],L),n,N=0;N<U.length;N+=1){var H=U[N];if(D[H]!==void 0){n=D[H];break}}var ve=Object.assign((0,s.Z)(D,[].concat((0,C.Z)(U),[V,G])),{title:n,key:i,parent:P,pos:L,children:null,data:D,isStart:[].concat((0,C.Z)(P?P.isStart:[]),[K===0]),isEnd:[].concat((0,C.Z)(P?P.isEnd:[]),[K===g.length-1])});return _e.push(ve),f===!0||X.has(i)?ve.children=x(D[G]||[],ve):ve.children=[],ve})}return x(o),_e}function l(o,f,T){var I={};(0,S.Z)(T)==="object"?I=T:I={externalGetKey:T},I=I||{};var U=I,V=U.childrenPropName,G=U.externalGetKey,X=U.fieldNames,_e=u(X),x=_e.key,g=_e.children,P=V||g,D;G?typeof G=="string"?D=function(i){return i[G]}:typeof G=="function"&&(D=function(i){return G(i)}):D=function(i,n){return t(i[x],n)};function K(L,i,n,N){var H=L?L[P]:o,ve=L?_(n.pos,i):"0",Oe=L?[].concat((0,C.Z)(N),[L]):[];if(L){var Ue=D(L,ve),rt={node:L,index:i,pos:ve,key:Ue,parentPos:n.node?n.pos:null,level:n.level+1,nodes:Oe};f(rt)}H&&H.forEach(function(Xe,Mt){K(Xe,Mt,{node:L,pos:ve,level:n?n.level+1:-1},Oe)})}K(null)}function y(o){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=f.initWrapper,I=f.processEntity,U=f.onProcessFinished,V=f.externalGetKey,G=f.childrenPropName,X=f.fieldNames,_e=arguments.length>2?arguments[2]:void 0,x=V||_e,g={},P={},D={posEntities:g,keyEntities:P};return T&&(D=T(D)||D),l(o,function(K){var L=K.node,i=K.index,n=K.pos,N=K.key,H=K.parentPos,ve=K.level,Oe=K.nodes,Ue={node:L,nodes:Oe,index:i,key:N,pos:n,level:ve},rt=t(N,n);g[n]=Ue,P[rt]=Ue,Ue.parent=g[H],Ue.parent&&(Ue.parent.children=Ue.parent.children||[],Ue.parent.children.push(Ue)),I&&I(Ue,D)},{externalGetKey:x,childrenPropName:G,fieldNames:X}),U&&U(D),D}function m(o,f){var T=f.expandedKeys,I=f.selectedKeys,U=f.loadedKeys,V=f.loadingKeys,G=f.checkedKeys,X=f.halfCheckedKeys,_e=f.dragOverNodeKey,x=f.dropPosition,g=f.keyEntities,P=(0,Z.Z)(g,o),D={eventKey:o,expanded:T.indexOf(o)!==-1,selected:I.indexOf(o)!==-1,loaded:U.indexOf(o)!==-1,loading:V.indexOf(o)!==-1,checked:G.indexOf(o)!==-1,halfChecked:X.indexOf(o)!==-1,pos:String(P?P.pos:""),dragOver:_e===o&&x===0,dragOverGapTop:_e===o&&x===-1,dragOverGapBottom:_e===o&&x===1};return D}function w(o){var f=o.data,T=o.expanded,I=o.selected,U=o.checked,V=o.loaded,G=o.loading,X=o.halfChecked,_e=o.dragOver,x=o.dragOverGapTop,g=o.dragOverGapBottom,P=o.pos,D=o.active,K=o.eventKey,L=(0,$.Z)((0,$.Z)({},f),{},{expanded:T,selected:I,checked:U,loaded:V,loading:G,halfChecked:X,dragOver:_e,dragOverGapTop:x,dragOverGapBottom:g,pos:P,active:D,key:K});return"props"in L||Object.defineProperty(L,"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`."),o}}),L}},50344:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return $}});var S=a(67294),C=a(59864);function $(J){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=[];return S.Children.forEach(J,function(A){A==null&&!j.keepEmpty||(Array.isArray(A)?s=s.concat($(A)):(0,C.isFragment)(A)&&A.props?s=s.concat($(A.props.children,j)):s.push(A))}),s}},66680:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return C}});var S=a(67294);function C($){var J=S.useRef();J.current=$;var j=S.useCallback(function(){for(var s,A=arguments.length,Z=new Array(A),e=0;e<A;e++)Z[e]=arguments[e];return(s=J.current)===null||s===void 0?void 0:s.call.apply(s,[J].concat(Z))},[]);return j}},21770:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return s}});var S=a(97685),C=a(66680),$=a(8410),J=a(63896);function j(A){return A!==void 0}function s(A,Z){var e=Z||{},_=e.defaultValue,h=e.value,t=e.onChange,u=e.postState,c=(0,J.Z)(function(){return j(h)?h:j(_)?typeof _=="function"?_():_:typeof A=="function"?A():A}),d=(0,S.Z)(c,2),v=d[0],l=d[1],y=h!==void 0?h:v,m=u?u(y):y,w=(0,C.Z)(t),o=(0,J.Z)([y]),f=(0,S.Z)(o,2),T=f[0],I=f[1];(0,$.o)(function(){var V=T[0];v!==V&&w(v,V)},[T]),(0,$.o)(function(){j(h)||l(h)},[h]);var U=(0,C.Z)(function(V,G){l(V,G),I([y],G)});return[m,U]}},91881:function(St,Pe,a){"use strict";var S=a(71002),C=a(80334);function $(J,j){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,A=new Set;function Z(e,_){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,t=A.has(e);if((0,C.ZP)(!t,"Warning: There may be circular references"),t)return!1;if(e===_)return!0;if(s&&h>1)return!1;A.add(e);var u=h+1;if(Array.isArray(e)){if(!Array.isArray(_)||e.length!==_.length)return!1;for(var c=0;c<e.length;c++)if(!Z(e[c],_[c],u))return!1;return!0}if(e&&_&&(0,S.Z)(e)==="object"&&(0,S.Z)(_)==="object"){var d=Object.keys(e);return d.length!==Object.keys(_).length?!1:d.every(function(v){return Z(e[v],_[v],u)})}return!1}return Z(J,j)}Pe.Z=$},98423:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return C}});var S=a(1413);function C($,J){var j=(0,S.Z)({},$);return Array.isArray(J)&&J.forEach(function(s){delete j[s]}),j}},80334:function(St,Pe,a){"use strict";var S={};function C(Z,e){}function $(Z,e){}function J(){S={}}function j(Z,e,_){!e&&!S[_]&&(Z(!1,_),S[_]=!0)}function s(Z,e){j(C,Z,e)}function A(Z,e){j($,Z,e)}Pe.ZP=s},73299:function(St,Pe,a){"use strict";a.d(Pe,{Z:function(){return Yt}});var S=a(87462),C=a(1413),$=a(71002),J=a(97685),j=a(4942),s=a(45987),A=a(67294),Z=a(73935),e=a(94184),_=a.n(e),h=a(48555),t=A.forwardRef(function(ie,Te){var ye=ie.height,pe=ie.offsetY,et=ie.offsetX,qe=ie.children,ft=ie.prefixCls,Rt=ie.onInnerResize,Ht=ie.innerProps,Kt=ie.rtl,Pt=ie.extra,_t={},jt={display:"flex",flexDirection:"column"};if(pe!==void 0){var It;_t={height:ye,position:"relative",overflow:"hidden"},jt=(0,C.Z)((0,C.Z)({},jt),{},(It={transform:"translateY(".concat(pe,"px)")},(0,j.Z)(It,Kt?"marginRight":"marginLeft",-et),(0,j.Z)(It,"position","absolute"),(0,j.Z)(It,"left",0),(0,j.Z)(It,"right",0),(0,j.Z)(It,"top",0),It))}return A.createElement("div",{style:_t},A.createElement(h.Z,{onResize:function(dt){var Fe=dt.offsetHeight;Fe&&Rt&&Rt()}},A.createElement("div",(0,S.Z)({style:jt,className:_()((0,j.Z)({},"".concat(ft,"-holder-inner"),ft)),ref:Te},Ht),qe,Pt)))});t.displayName="Filler";var u=t,c=function(Te){return+setTimeout(Te,16)},d=function(Te){return clearTimeout(Te)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(c=function(Te){return window.requestAnimationFrame(Te)},d=function(Te){return window.cancelAnimationFrame(Te)});var v=0,l=new Map;function y(ie){l.delete(ie)}var m=function(Te){var ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;v+=1;var pe=v;function et(qe){if(qe===0)y(pe),Te();else{var ft=c(function(){et(qe-1)});l.set(pe,ft)}}return et(ye),pe};m.cancel=function(ie){var Te=l.get(ie);return y(Te),d(Te)};var w=m;function o(ie,Te){var ye="touches"in ie?ie.touches[0]:ie;return ye[Te?"pageX":"pageY"]}var f=A.forwardRef(function(ie,Te){var ye,pe=ie.prefixCls,et=ie.rtl,qe=ie.scrollOffset,ft=ie.scrollRange,Rt=ie.onStartMove,Ht=ie.onStopMove,Kt=ie.onScroll,Pt=ie.horizontal,_t=ie.spinSize,jt=ie.containerSize,It=ie.style,Bt=ie.thumbStyle,dt=A.useState(!1),Fe=(0,J.Z)(dt,2),Je=Fe[0],Tt=Fe[1],tn=A.useState(null),cn=(0,J.Z)(tn,2),Zn=cn[0],ar=cn[1],kn=A.useState(null),mn=(0,J.Z)(kn,2),On=mn[0],Gn=mn[1],nn=!et,zn=A.useRef(),Dn=A.useRef(),un=A.useState(!1),gn=(0,J.Z)(un,2),yn=gn[0],Sn=gn[1],dn=A.useRef(),Mn=function(){clearTimeout(dn.current),Sn(!0),dn.current=setTimeout(function(){Sn(!1)},3e3)},Un=ft-jt||0,er=jt-_t||0,ur=Un>0,Sr=A.useMemo(function(){if(qe===0||Un===0)return 0;var Br=qe/Un;return Br*er},[qe,Un,er]),Ei=function(jr){jr.stopPropagation(),jr.preventDefault()},Wi=A.useRef({top:Sr,dragging:Je,pageY:Zn,startTop:On});Wi.current={top:Sr,dragging:Je,pageY:Zn,startTop:On};var Er=function(jr){Tt(!0),ar(o(jr,Pt)),Gn(Wi.current.top),Rt(),jr.stopPropagation(),jr.preventDefault()};A.useEffect(function(){var Br=function(dr){dr.preventDefault()},jr=zn.current,_i=Dn.current;return jr.addEventListener("touchstart",Br),_i.addEventListener("touchstart",Er),function(){jr.removeEventListener("touchstart",Br),_i.removeEventListener("touchstart",Er)}},[]);var Ji=A.useRef();Ji.current=Un;var qi=A.useRef();qi.current=er,A.useEffect(function(){if(Je){var Br,jr=function(dr){var Cr=Wi.current,Li=Cr.dragging,mi=Cr.pageY,fa=Cr.startTop;if(w.cancel(Br),Li){var di=o(dr,Pt)-mi,hi=fa;!nn&&Pt?hi-=di:hi+=di;var gi=Ji.current,ni=qi.current,hr=ni?hi/ni:0,$r=Math.ceil(hr*gi);$r=Math.max($r,0),$r=Math.min($r,gi),Br=w(function(){Kt($r,Pt)})}},_i=function(){Tt(!1),Ht()};return window.addEventListener("mousemove",jr),window.addEventListener("touchmove",jr),window.addEventListener("mouseup",_i),window.addEventListener("touchend",_i),function(){window.removeEventListener("mousemove",jr),window.removeEventListener("touchmove",jr),window.removeEventListener("mouseup",_i),window.removeEventListener("touchend",_i),w.cancel(Br)}}},[Je]),A.useEffect(function(){Mn()},[qe]),A.useImperativeHandle(Te,function(){return{delayHidden:Mn}});var Ti="".concat(pe,"-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=_t,nn?Yr.left=Sr:Yr.right=Sr):(Or.width=8,Or.top=0,Or.bottom=0,nn?Or.right=0:Or.left=0,Yr.width="100%",Yr.height=_t,Yr.top=Sr),A.createElement("div",{ref:zn,className:_()(Ti,(ye={},(0,j.Z)(ye,"".concat(Ti,"-horizontal"),Pt),(0,j.Z)(ye,"".concat(Ti,"-vertical"),!Pt),(0,j.Z)(ye,"".concat(Ti,"-visible"),yn),ye)),style:(0,C.Z)((0,C.Z)({},Or),It),onMouseDown:Ei,onMouseMove:Mn},A.createElement("div",{ref:Dn,className:_()("".concat(Ti,"-thumb"),(0,j.Z)({},"".concat(Ti,"-thumb-moving"),Je)),style:(0,C.Z)((0,C.Z)({},Yr),Bt),onMouseDown:Er}))}),T=f;function I(ie){var Te=ie.children,ye=ie.setRef,pe=A.useCallback(function(et){ye(et)},[]);return A.cloneElement(Te,{ref:pe})}function U(ie,Te,ye,pe,et,qe,ft){var Rt=ft.getKey;return ie.slice(Te,ye+1).map(function(Ht,Kt){var Pt=Te+Kt,_t=qe(Ht,Pt,{style:{width:pe}}),jt=Rt(Ht);return A.createElement(I,{key:jt,setRef:function(Bt){return et(Ht,Bt)}},_t)})}function V(ie){return ie instanceof HTMLElement||ie instanceof SVGElement}function G(ie){return V(ie)?ie:ie instanceof A.Component?Z.findDOMNode(ie):null}var X=a(15671),_e=a(43144),x=function(){function ie(){(0,X.Z)(this,ie),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,_e.Z)(ie,[{key:"set",value:function(ye,pe){this.maps[ye]=pe,this.id+=1}},{key:"get",value:function(ye){return this.maps[ye]}}]),ie}(),g=x;function P(ie,Te,ye){var pe=A.useState(0),et=(0,J.Z)(pe,2),qe=et[0],ft=et[1],Rt=(0,A.useRef)(new Map),Ht=(0,A.useRef)(new g),Kt=(0,A.useRef)();function Pt(){w.cancel(Kt.current)}function _t(){var It=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Pt();var Bt=function(){Rt.current.forEach(function(Fe,Je){if(Fe&&Fe.offsetParent){var Tt=G(Fe),tn=Tt.offsetHeight;Ht.current.get(Je)!==tn&&Ht.current.set(Je,Tt.offsetHeight)}}),ft(function(Fe){return Fe+1})};It?Bt():Kt.current=w(Bt)}function jt(It,Bt){var dt=ie(It),Fe=Rt.current.get(dt);Bt?(Rt.current.set(dt,Bt),_t()):Rt.current.delete(dt),!Fe!=!Bt&&(Bt?Te==null||Te(It):ye==null||ye(It))}return(0,A.useEffect)(function(){return Pt},[]),[jt,_t,Ht.current,qe]}function D(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var K=D()?A.useLayoutEffect:A.useEffect,L=function(Te,ye){var pe=A.useRef(!0);K(function(){return Te(pe.current)},ye),K(function(){return pe.current=!1,function(){pe.current=!0}},[])},i=function(Te,ye){L(function(pe){if(!pe)return Te()},ye)},n=L;function N(ie){var Te=A.useRef();Te.current=ie;var ye=A.useCallback(function(){for(var pe,et=arguments.length,qe=new Array(et),ft=0;ft<et;ft++)qe[ft]=arguments[ft];return(pe=Te.current)===null||pe===void 0?void 0:pe.call.apply(pe,[Te].concat(qe))},[]);return ye}function H(ie){var Te=React.useRef(!1),ye=React.useState(ie),pe=_slicedToArray(ye,2),et=pe[0],qe=pe[1];React.useEffect(function(){return Te.current=!1,function(){Te.current=!0}},[]);function ft(Rt,Ht){Ht&&Te.current||qe(Rt)}return[et,ft]}function ve(ie){return ie!==void 0}function Oe(ie,Te){var ye=Te||{},pe=ye.defaultValue,et=ye.value,qe=ye.onChange,ft=ye.postState,Rt=useState(function(){return ve(et)?et:ve(pe)?typeof pe=="function"?pe():pe:typeof ie=="function"?ie():ie}),Ht=_slicedToArray(Rt,2),Kt=Ht[0],Pt=Ht[1],_t=et!==void 0?et:Kt,jt=ft?ft(_t):_t,It=useEvent(qe),Bt=useState([_t]),dt=_slicedToArray(Bt,2),Fe=dt[0],Je=dt[1];useLayoutUpdateEffect(function(){var tn=Fe[0];Kt!==tn&&It(Kt,tn)},[Fe]),useLayoutUpdateEffect(function(){ve(et)||Pt(et)},[et]);var Tt=useEvent(function(tn,cn){Pt(tn,cn),Je([_t],cn)});return[jt,Tt]}var Ue=a(31461);function rt(ie,Te,ye){var pe=React.useRef({});return(!("value"in pe.current)||ye(pe.current.condition,Te))&&(pe.current.value=ie(),pe.current.condition=Te),pe.current.value}function Xe(ie,Te){typeof ie=="function"?ie(Te):_typeof(ie)==="object"&&ie&&"current"in ie&&(ie.current=Te)}function Mt(){for(var ie=arguments.length,Te=new Array(ie),ye=0;ye<ie;ye++)Te[ye]=arguments[ye];var pe=Te.filter(function(et){return et});return pe.length<=1?pe[0]:function(et){Te.forEach(function(qe){Xe(qe,et)})}}function ge(){for(var ie=arguments.length,Te=new Array(ie),ye=0;ye<ie;ye++)Te[ye]=arguments[ye];return useMemo(function(){return Mt.apply(void 0,Te)},Te,function(pe,et){return pe.length!==et.length||pe.every(function(qe,ft){return qe!==et[ft]})})}function st(ie){var Te,ye,pe=isMemo(ie)?ie.type.type:ie.type;return!(typeof pe=="function"&&!((Te=pe.prototype)!==null&&Te!==void 0&&Te.render)||typeof ie=="function"&&!((ye=ie.prototype)!==null&&ye!==void 0&&ye.render))}function We(ie){return!isValidElement(ie)||isFragment(ie)?!1:st(ie)}function ue(ie,Te,ye,pe){if(!Te.length)return ye;var et=_toArray(Te),qe=et[0],ft=et.slice(1),Rt;return!ie&&typeof qe=="number"?Rt=[]:Array.isArray(ie)?Rt=_toConsumableArray(ie):Rt=_objectSpread({},ie),pe&&ye===void 0&&ft.length===1?delete Rt[qe][ft[0]]:Rt[qe]=ue(Rt[qe],ft,ye,pe),Rt}function Y(ie,Te,ye){var pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Te.length&&pe&&ye===void 0&&!get(ie,Te.slice(0,-1))?ie:ue(ie,Te,ye,pe)}function Ee(ie){return _typeof(ie)==="object"&&ie!==null&&Object.getPrototypeOf(ie)===Object.prototype}function B(ie){return Array.isArray(ie)?[]:{}}var he=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function oe(){for(var ie=arguments.length,Te=new Array(ie),ye=0;ye<ie;ye++)Te[ye]=arguments[ye];var pe=B(Te[0]);return Te.forEach(function(et){function qe(ft,Rt){var Ht=new Set(Rt),Kt=get(et,ft),Pt=Array.isArray(Kt);if(Pt||Ee(Kt)){if(!Ht.has(Kt)){Ht.add(Kt);var _t=get(pe,ft);Pt?pe=Y(pe,ft,[]):(!_t||_typeof(_t)!=="object")&&(pe=Y(pe,ft,B(Kt))),he(Kt).forEach(function(jt){qe([].concat(_toConsumableArray(ft),[jt]),Ht)})}}else pe=Y(pe,ft,Kt)}qe([])}),pe}var Ge={},Ie=[],F=function(Te){Ie.push(Te)};function O(ie,Te){if(0)var ye}function re(ie,Te){if(0)var ye}function de(){Ge={}}function ee(ie,Te,ye){!Te&&!Ge[ye]&&(ie(!1,ye),Ge[ye]=!0)}function ce(ie,Te){ee(O,ie,Te)}function se(ie,Te){ee(re,ie,Te)}ce.preMessage=F,ce.resetWarned=de,ce.noteOnce=se;var je=null,Ze=10;function ut(ie,Te,ye,pe,et,qe,ft,Rt){var Ht=A.useRef(),Kt=A.useState(null),Pt=(0,J.Z)(Kt,2),_t=Pt[0],jt=Pt[1];return n(function(){if(_t&&_t.times<Ze){if(!ie.current){jt(function(Mn){return(0,C.Z)({},Mn)});return}qe();var It=_t.targetAlign,Bt=_t.originAlign,dt=_t.index,Fe=_t.offset,Je=ie.current.clientHeight,Tt=!1,tn=It,cn=null;if(Je){for(var Zn=It||Bt,ar=0,kn=0,mn=0,On=Math.min(Te.length-1,dt),Gn=0;Gn<=On;Gn+=1){var nn=et(Te[Gn]);kn=ar;var zn=ye.get(nn);mn=kn+(zn===void 0?pe:zn),ar=mn}for(var Dn=Zn==="top"?Fe:Je-Fe,un=On;un>=0;un-=1){var gn=et(Te[un]),yn=ye.get(gn);if(yn===void 0){Tt=!0;break}if(Dn-=yn,Dn<=0)break}switch(Zn){case"top":cn=kn-Fe;break;case"bottom":cn=mn-Je+Fe;break;default:{var Sn=ie.current.scrollTop,dn=Sn+Je;kn<Sn?tn="top":mn>dn&&(tn="bottom")}}cn!==null&&ft(cn),cn!==_t.lastTop&&(Tt=!0)}Tt&&jt(function(Mn){return(0,C.Z)((0,C.Z)({},Mn),{},{times:Mn.times+1,targetAlign:tn,lastTop:cn})})}},[_t,ie.current]),function(It){if(It==null){Rt();return}if(w.cancel(Ht.current),typeof It=="number")ft(It);else if(It&&(0,$.Z)(It)==="object"){var Bt,dt=It.align;"index"in It?Bt=It.index:Bt=Te.findIndex(function(Tt){return et(Tt)===It.key});var Fe=It.offset,Je=Fe===void 0?0:Fe;jt({times:0,index:Bt,offset:Je,originAlign:dt})}}}function ht(ie,Te,ye,pe){var et=ye-ie,qe=Te-ye,ft=Math.min(et,qe)*2;if(pe<=ft){var Rt=Math.floor(pe/2);return pe%2?ye+Rt+1:ye-Rt}return et>qe?ye-(pe-qe):ye+(pe-et)}function Nt(ie,Te,ye){var pe=ie.length,et=Te.length,qe,ft;if(pe===0&&et===0)return null;pe<et?(qe=ie,ft=Te):(qe=Te,ft=ie);var Rt={__EMPTY_ITEM__:!0};function Ht(Bt){return Bt!==void 0?ye(Bt):Rt}for(var Kt=null,Pt=Math.abs(pe-et)!==1,_t=0;_t<ft.length;_t+=1){var jt=Ht(qe[_t]),It=Ht(ft[_t]);if(jt!==It){Kt=_t,Pt=Pt||jt!==Ht(ft[_t+1]);break}}return Kt===null?null:{index:Kt,multiple:Pt}}function He(ie,Te,ye){var pe=A.useState(ie),et=(0,J.Z)(pe,2),qe=et[0],ft=et[1],Rt=A.useState(null),Ht=(0,J.Z)(Rt,2),Kt=Ht[0],Pt=Ht[1];return A.useEffect(function(){var _t=Nt(qe||[],ie||[],Te);(_t==null?void 0:_t.index)!==void 0&&(ye==null||ye(_t.index),Pt(ie[_t.index])),ft(ie)},[ie]),[Kt]}var Ne=(typeof navigator=="undefined"?"undefined":(0,$.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Me=Ne,$e=function(ie,Te){var ye=(0,A.useRef)(!1),pe=(0,A.useRef)(null);function et(){clearTimeout(pe.current),ye.current=!0,pe.current=setTimeout(function(){ye.current=!1},50)}var qe=(0,A.useRef)({top:ie,bottom:Te});return qe.current.top=ie,qe.current.bottom=Te,function(ft){var Rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ht=ft<0&&qe.current.top||ft>0&&qe.current.bottom;return Rt&&Ht?(clearTimeout(pe.current),ye.current=!1):(!Ht||ye.current)&&et(),!ye.current&&Ht}};function Ve(ie,Te,ye,pe,et){var qe=(0,A.useRef)(0),ft=(0,A.useRef)(null),Rt=(0,A.useRef)(null),Ht=(0,A.useRef)(!1),Kt=$e(Te,ye);function Pt(Fe,Je){w.cancel(ft.current),qe.current+=Je,Rt.current=Je,!Kt(Je)&&(Me||Fe.preventDefault(),ft.current=w(function(){var Tt=Ht.current?10:1;et(qe.current*Tt),qe.current=0}))}function _t(Fe,Je){et(Je,!0),Me||Fe.preventDefault()}var jt=(0,A.useRef)(null),It=(0,A.useRef)(null);function Bt(Fe){if(ie){w.cancel(It.current),It.current=w(function(){jt.current=null},2);var Je=Fe.deltaX,Tt=Fe.deltaY,tn=Fe.shiftKey,cn=Je,Zn=Tt;(jt.current==="sx"||!jt.current&&tn&&Tt&&!Je)&&(cn=Tt,Zn=0,jt.current="sx");var ar=Math.abs(cn),kn=Math.abs(Zn);jt.current===null&&(jt.current=pe&&ar>kn?"x":"y"),jt.current==="y"?Pt(Fe,Zn):_t(Fe,cn)}}function dt(Fe){ie&&(Ht.current=Fe.detail===Rt.current)}return[Bt,dt]}var vt=14/15;function ct(ie,Te,ye){var pe=(0,A.useRef)(!1),et=(0,A.useRef)(0),qe=(0,A.useRef)(null),ft=(0,A.useRef)(null),Rt,Ht=function(jt){if(pe.current){var It=Math.ceil(jt.touches[0].pageY),Bt=et.current-It;et.current=It,ye(Bt)&&jt.preventDefault(),clearInterval(ft.current),ft.current=setInterval(function(){Bt*=vt,(!ye(Bt,!0)||Math.abs(Bt)<=.1)&&clearInterval(ft.current)},16)}},Kt=function(){pe.current=!1,Rt()},Pt=function(jt){Rt(),jt.touches.length===1&&!pe.current&&(pe.current=!0,et.current=Math.ceil(jt.touches[0].pageY),qe.current=jt.target,qe.current.addEventListener("touchmove",Ht),qe.current.addEventListener("touchend",Kt))};Rt=function(){qe.current&&(qe.current.removeEventListener("touchmove",Ht),qe.current.removeEventListener("touchend",Kt))},n(function(){return ie&&Te.current.addEventListener("touchstart",Pt),function(){var _t;(_t=Te.current)===null||_t===void 0||_t.removeEventListener("touchstart",Pt),Rt(),clearInterval(ft.current)}},[ie])}var Ct=20;function Ke(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ye=ie/Te*100;return isNaN(ye)&&(ye=0),ye=Math.max(ye,Ct),ye=Math.min(ye,ie/2),Math.floor(ye)}function ot(ie,Te,ye,pe){var et=A.useMemo(function(){return[new Map,[]]},[ie,ye.id,pe]),qe=(0,J.Z)(et,2),ft=qe[0],Rt=qe[1],Ht=function(Pt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pt,jt=ft.get(Pt),It=ft.get(_t);if(jt===void 0||It===void 0)for(var Bt=ie.length,dt=Rt.length;dt<Bt;dt+=1){var Fe,Je=ie[dt],Tt=Te(Je);ft.set(Tt,dt);var tn=(Fe=ye.get(Tt))!==null&&Fe!==void 0?Fe:pe;if(Rt[dt]=(Rt[dt-1]||0)+tn,Tt===Pt&&(jt=dt),Tt===_t&&(It=dt),jt!==void 0&&It!==void 0)break}return{top:Rt[jt-1]||0,bottom:Rt[It]}};return Ht}var Lt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],mt=[],lt={overflowY:"auto",overflowAnchor:"none"};function bt(ie,Te){var ye=ie.prefixCls,pe=ye===void 0?"rc-virtual-list":ye,et=ie.className,qe=ie.height,ft=ie.itemHeight,Rt=ie.fullHeight,Ht=Rt===void 0?!0:Rt,Kt=ie.style,Pt=ie.data,_t=ie.children,jt=ie.itemKey,It=ie.virtual,Bt=ie.direction,dt=ie.scrollWidth,Fe=ie.component,Je=Fe===void 0?"div":Fe,Tt=ie.onScroll,tn=ie.onVirtualScroll,cn=ie.onVisibleChange,Zn=ie.innerProps,ar=ie.extraRender,kn=ie.styles,mn=(0,s.Z)(ie,Lt),On=!!(It!==!1&&qe&&ft),Gn=On&&Pt&&(ft*Pt.length>qe||!!dt),nn=Bt==="rtl",zn=_()(pe,(0,j.Z)({},"".concat(pe,"-rtl"),nn),et),Dn=Pt||mt,un=(0,A.useRef)(),gn=(0,A.useRef)(),yn=(0,A.useState)(0),Sn=(0,J.Z)(yn,2),dn=Sn[0],Mn=Sn[1],Un=(0,A.useState)(0),er=(0,J.Z)(Un,2),ur=er[0],Sr=er[1],Ei=(0,A.useState)(!1),Wi=(0,J.Z)(Ei,2),Er=Wi[0],Ji=Wi[1],qi=function(){Ji(!0)},Ti=function(){Ji(!1)},Or=A.useCallback(function(nt){return typeof jt=="function"?jt(nt):nt==null?void 0:nt[jt]},[jt]),Yr={getKey:Or};function Br(nt){Mn(function(at){var Et;typeof nt=="function"?Et=nt(at):Et=nt;var kt=Be(Et);return un.current.scrollTop=kt,kt})}var jr=(0,A.useRef)({start:0,end:Dn.length}),_i=(0,A.useRef)(),oi=He(Dn,Or),dr=(0,J.Z)(oi,1),Cr=dr[0];_i.current=Cr;var Li=P(Or,null,null),mi=(0,J.Z)(Li,4),fa=mi[0],di=mi[1],hi=mi[2],gi=mi[3],ni=A.useMemo(function(){if(!On)return{scrollHeight:void 0,start:0,end:Dn.length-1,offset:void 0};if(!Gn){var nt;return{scrollHeight:((nt=gn.current)===null||nt===void 0?void 0:nt.offsetHeight)||0,start:0,end:Dn.length-1,offset:void 0}}for(var at=0,Et,kt,Jt,Fn=Dn.length,En=0;En<Fn;En+=1){var Bn=Dn[En],Wn=Or(Bn),An=hi.get(Wn),rr=at+(An===void 0?ft:An);rr>=dn&&Et===void 0&&(Et=En,kt=at),rr>dn+qe&&Jt===void 0&&(Jt=En),at=rr}return Et===void 0&&(Et=0,kt=0,Jt=Math.ceil(qe/ft)),Jt===void 0&&(Jt=Dn.length-1),Jt=Math.min(Jt+1,Dn.length-1),{scrollHeight:at,start:Et,end:Jt,offset:kt}},[Gn,On,dn,Dn,gi,qe]),hr=ni.scrollHeight,$r=ni.start,ki=ni.end,ea=ni.offset;jr.current.start=$r,jr.current.end=ki;var da=A.useState({width:0,height:qe}),Xr=(0,J.Z)(da,2),Dr=Xr[0],ha=Xr[1],xi=function(at){ha({width:at.width||at.offsetWidth,height:at.height||at.offsetHeight})},pa=(0,A.useRef)(),q=(0,A.useRef)(),we=A.useMemo(function(){return Ke(Dr.width,dt)},[Dr.width,dt]),ke=A.useMemo(function(){return Ke(Dr.height,hr)},[Dr.height,hr]),me=hr-qe,Le=(0,A.useRef)(me);Le.current=me;function Be(nt){var at=nt;return Number.isNaN(Le.current)||(at=Math.min(at,Le.current)),at=Math.max(at,0),at}var Se=dn<=0,Qe=dn>=me,Ft=$e(Se,Qe),Zt=function(){return{x:nn?-ur:ur,y:dn}},Cn=(0,A.useRef)(Zt()),hn=N(function(){if(tn){var nt=Zt();(Cn.current.x!==nt.x||Cn.current.y!==nt.y)&&(tn(nt),Cn.current=nt)}});function In(nt,at){var Et=nt;at?((0,Z.flushSync)(function(){Sr(Et)}),hn()):Br(Et)}function Xn(nt){var at=nt.currentTarget.scrollTop;at!==dn&&Br(at),Tt==null||Tt(nt),hn()}var Rn=function(at){var Et=at,kt=dt-Dr.width;return Et=Math.max(Et,0),Et=Math.min(Et,kt),Et},nr=N(function(nt,at){at?((0,Z.flushSync)(function(){Sr(function(Et){var kt=Et+(nn?-nt:nt);return Rn(kt)})}),hn()):Br(function(Et){var kt=Et+nt;return kt})}),Kn=Ve(On,Se,Qe,!!dt,nr),p=(0,J.Z)(Kn,2),k=p[0],M=p[1];ct(On,un,function(nt,at){return Ft(nt,at)?!1:(k({preventDefault:function(){},deltaY:nt}),!0)}),n(function(){function nt(Et){On&&Et.preventDefault()}var at=un.current;return at.addEventListener("wheel",k),at.addEventListener("DOMMouseScroll",M),at.addEventListener("MozMousePixelScroll",nt),function(){at.removeEventListener("wheel",k),at.removeEventListener("DOMMouseScroll",M),at.removeEventListener("MozMousePixelScroll",nt)}},[On]),n(function(){dt&&Sr(function(nt){return Rn(nt)})},[Dr.width,dt]);var te=function(){var at,Et;(at=pa.current)===null||at===void 0||at.delayHidden(),(Et=q.current)===null||Et===void 0||Et.delayHidden()},xe=ut(un,Dn,hi,ft,Or,function(){return di(!0)},Br,te);A.useImperativeHandle(Te,function(){return{getScrollInfo:Zt,scrollTo:function(at){function Et(kt){return kt&&(0,$.Z)(kt)==="object"&&("left"in kt||"top"in kt)}Et(at)?(at.left!==void 0&&Sr(Rn(at.left)),xe(at.top)):xe(at)}}}),n(function(){if(cn){var nt=Dn.slice($r,ki+1);cn(nt,Dn)}},[$r,ki,Dn]);var De=ot(Dn,Or,hi,ft),Ye=ar==null?void 0:ar({start:$r,end:ki,virtual:Gn,offsetX:ur,offsetY:ea,rtl:nn,getSize:De}),xt=U(Dn,$r,ki,dt,fa,_t,Yr),gt=null;qe&&(gt=(0,C.Z)((0,j.Z)({},Ht?"height":"maxHeight",qe),lt),On&&(gt.overflowY="hidden",dt&&(gt.overflowX="hidden"),Er&&(gt.pointerEvents="none")));var Vt={};return nn&&(Vt.dir="rtl"),A.createElement("div",(0,S.Z)({style:(0,C.Z)((0,C.Z)({},Kt),{},{position:"relative"}),className:zn},Vt,mn),A.createElement(h.Z,{onResize:xi},A.createElement(Je,{className:"".concat(pe,"-holder"),style:gt,ref:un,onScroll:Xn,onMouseEnter:te},A.createElement(u,{prefixCls:pe,height:hr,offsetX:ur,offsetY:ea,scrollWidth:dt,onInnerResize:di,ref:gn,innerProps:Zn,rtl:nn,extra:Ye},xt))),Gn&&hr>qe&&A.createElement(T,{ref:pa,prefixCls:pe,scrollOffset:dn,scrollRange:hr,rtl:nn,onScroll:In,onStartMove:qi,onStopMove:Ti,spinSize:ke,containerSize:Dr.height,style:kn==null?void 0:kn.verticalScrollBar,thumbStyle:kn==null?void 0:kn.verticalScrollBarThumb}),Gn&&dt&&A.createElement(T,{ref:q,prefixCls:pe,scrollOffset:ur,scrollRange:dt,rtl:nn,onScroll:In,onStartMove:qi,onStopMove:Ti,spinSize:we,containerSize:Dr.width,horizontal:!0,style:kn==null?void 0:kn.horizontalScrollBar,thumbStyle:kn==null?void 0:kn.horizontalScrollBarThumb}))}var on=A.forwardRef(bt);on.displayName="List";var pn=on,Yt=pn},66392:function(St,Pe){"use strict";var a;var S=Symbol.for("react.element"),C=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),A=Symbol.for("react.context"),Z=Symbol.for("react.server_context"),e=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),t=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),c=Symbol.for("react.offscreen"),d;d=Symbol.for("react.module.reference");function v(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case S:switch(l=l.type,l){case $:case j:case J:case _:case h:return l;default:switch(l=l&&l.$$typeof,l){case Z:case A:case e:case u:case t:case s:return l;default:return y}}case C:return y}}}a=A,a=s,a=S,a=e,a=$,a=u,a=t,a=C,a=j,a=J,a=_,a=h,a=function(){return!1},a=function(){return!1},a=function(l){return v(l)===A},a=function(l){return v(l)===s},a=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===S},a=function(l){return v(l)===e},a=function(l){return v(l)===$},a=function(l){return v(l)===u},a=function(l){return v(l)===t},a=function(l){return v(l)===C},a=function(l){return v(l)===j},a=function(l){return v(l)===J},a=function(l){return v(l)===_},a=function(l){return v(l)===h},a=function(l){return typeof l=="string"||typeof l=="function"||l===$||l===j||l===J||l===_||l===h||l===c||typeof l=="object"&&l!==null&&(l.$$typeof===u||l.$$typeof===t||l.$$typeof===s||l.$$typeof===A||l.$$typeof===e||l.$$typeof===d||l.getModuleId!==void 0)},a=v},31461:function(St,Pe,a){"use strict";a(66392)},74300:function(St,Pe,a){"use strict";Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.CopyToClipboard=void 0;var S=$(a(67294)),C=$(a(20640));function $(m){return m&&m.__esModule?m:{default:m}}function J(m){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J=function(o){return typeof o}:J=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},J(m)}function j(m,w){var o=Object.keys(m);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(m);w&&(f=f.filter(function(T){return Object.getOwnPropertyDescriptor(m,T).enumerable})),o.push.apply(o,f)}return o}function s(m){for(var w=1;w<arguments.length;w++){var o=arguments[w]!=null?arguments[w]:{};w%2?j(o,!0).forEach(function(f){l(m,f,o[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(o)):j(o).forEach(function(f){Object.defineProperty(m,f,Object.getOwnPropertyDescriptor(o,f))})}return m}function A(m,w){if(m==null)return{};var o=Z(m,w),f,T;if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(m);for(T=0;T<I.length;T++)f=I[T],!(w.indexOf(f)>=0)&&Object.prototype.propertyIsEnumerable.call(m,f)&&(o[f]=m[f])}return o}function Z(m,w){if(m==null)return{};var o={},f=Object.keys(m),T,I;for(I=0;I<f.length;I++)T=f[I],!(w.indexOf(T)>=0)&&(o[T]=m[T]);return o}function e(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}function _(m,w){for(var o=0;o<w.length;o++){var f=w[o];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(m,f.key,f)}}function h(m,w,o){return w&&_(m.prototype,w),o&&_(m,o),m}function t(m,w){return w&&(J(w)==="object"||typeof w=="function")?w:c(m)}function u(m){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},u(m)}function c(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function d(m,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(w&&w.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),w&&v(m,w)}function v(m,w){return v=Object.setPrototypeOf||function(f,T){return f.__proto__=T,f},v(m,w)}function l(m,w,o){return w in m?Object.defineProperty(m,w,{value:o,enumerable:!0,configurable:!0,writable:!0}):m[w]=o,m}var y=function(m){d(w,m);function w(){var o,f;e(this,w);for(var T=arguments.length,I=new Array(T),U=0;U<T;U++)I[U]=arguments[U];return f=t(this,(o=u(w)).call.apply(o,[this].concat(I))),l(c(f),"onClick",function(V){var G=f.props,X=G.text,_e=G.onCopy,x=G.children,g=G.options,P=S.default.Children.only(x),D=(0,C.default)(X,g);_e&&_e(X,D),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(V)}),f}return h(w,[{key:"render",value:function(){var f=this.props,T=f.text,I=f.onCopy,U=f.options,V=f.children,G=A(f,["text","onCopy","options","children"]),X=S.default.Children.only(V);return S.default.cloneElement(X,s({},G,{onClick:this.onClick}))}}]),w}(S.default.PureComponent);Pe.CopyToClipboard=y,l(y,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(St,Pe,a){"use strict";var S=a(74300),C=S.CopyToClipboard;C.CopyToClipboard=C,St.exports=C},91033:function(St,Pe,a){"use strict";var S=function(){if(typeof Map!="undefined")return Map;function x(g,P){var D=-1;return g.some(function(K,L){return K[0]===P?(D=L,!0):!1}),D}return function(){function g(){this.__entries__=[]}return Object.defineProperty(g.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),g.prototype.get=function(P){var D=x(this.__entries__,P),K=this.__entries__[D];return K&&K[1]},g.prototype.set=function(P,D){var K=x(this.__entries__,P);~K?this.__entries__[K][1]=D:this.__entries__.push([P,D])},g.prototype.delete=function(P){var D=this.__entries__,K=x(D,P);~K&&D.splice(K,1)},g.prototype.has=function(P){return!!~x(this.__entries__,P)},g.prototype.clear=function(){this.__entries__.splice(0)},g.prototype.forEach=function(P,D){D===void 0&&(D=null);for(var K=0,L=this.__entries__;K<L.length;K++){var i=L[K];P.call(D,i[1],i[0])}},g}()}(),C=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,$=function(){return typeof a.g!="undefined"&&a.g.Math===Math?a.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),J=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind($):function(x){return setTimeout(function(){return x(Date.now())},1e3/60)}}(),j=2;function s(x,g){var P=!1,D=!1,K=0;function L(){P&&(P=!1,x()),D&&n()}function i(){J(L)}function n(){var N=Date.now();if(P){if(N-K<j)return;D=!0}else P=!0,D=!1,setTimeout(i,g);K=N}return n}var A=20,Z=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",_=function(){function x(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),A)}return x.prototype.addObserver=function(g){~this.observers_.indexOf(g)||this.observers_.push(g),this.connected_||this.connect_()},x.prototype.removeObserver=function(g){var P=this.observers_,D=P.indexOf(g);~D&&P.splice(D,1),!P.length&&this.connected_&&this.disconnect_()},x.prototype.refresh=function(){var g=this.updateObservers_();g&&this.refresh()},x.prototype.updateObservers_=function(){var g=this.observers_.filter(function(P){return P.gatherActive(),P.hasActive()});return g.forEach(function(P){return P.broadcastActive()}),g.length>0},x.prototype.connect_=function(){!C||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)},x.prototype.disconnect_=function(){!C||!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)},x.prototype.onTransitionEnd_=function(g){var P=g.propertyName,D=P===void 0?"":P,K=Z.some(function(L){return!!~D.indexOf(L)});K&&this.refresh()},x.getInstance=function(){return this.instance_||(this.instance_=new x),this.instance_},x.instance_=null,x}(),h=function(x,g){for(var P=0,D=Object.keys(g);P<D.length;P++){var K=D[P];Object.defineProperty(x,K,{value:g[K],enumerable:!1,writable:!1,configurable:!0})}return x},t=function(x){var g=x&&x.ownerDocument&&x.ownerDocument.defaultView;return g||$},u=T(0,0,0,0);function c(x){return parseFloat(x)||0}function d(x){for(var g=[],P=1;P<arguments.length;P++)g[P-1]=arguments[P];return g.reduce(function(D,K){var L=x["border-"+K+"-width"];return D+c(L)},0)}function v(x){for(var g=["top","right","bottom","left"],P={},D=0,K=g;D<K.length;D++){var L=K[D],i=x["padding-"+L];P[L]=c(i)}return P}function l(x){var g=x.getBBox();return T(0,0,g.width,g.height)}function y(x){var g=x.clientWidth,P=x.clientHeight;if(!g&&!P)return u;var D=t(x).getComputedStyle(x),K=v(D),L=K.left+K.right,i=K.top+K.bottom,n=c(D.width),N=c(D.height);if(D.boxSizing==="border-box"&&(Math.round(n+L)!==g&&(n-=d(D,"left","right")+L),Math.round(N+i)!==P&&(N-=d(D,"top","bottom")+i)),!w(x)){var H=Math.round(n+L)-g,ve=Math.round(N+i)-P;Math.abs(H)!==1&&(n-=H),Math.abs(ve)!==1&&(N-=ve)}return T(K.left,K.top,n,N)}var m=function(){return typeof SVGGraphicsElement!="undefined"?function(x){return x instanceof t(x).SVGGraphicsElement}:function(x){return x instanceof t(x).SVGElement&&typeof x.getBBox=="function"}}();function w(x){return x===t(x).document.documentElement}function o(x){return C?m(x)?l(x):y(x):u}function f(x){var g=x.x,P=x.y,D=x.width,K=x.height,L=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,i=Object.create(L.prototype);return h(i,{x:g,y:P,width:D,height:K,top:P,right:g+D,bottom:K+P,left:g}),i}function T(x,g,P,D){return{x,y:g,width:P,height:D}}var I=function(){function x(g){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=T(0,0,0,0),this.target=g}return x.prototype.isActive=function(){var g=o(this.target);return this.contentRect_=g,g.width!==this.broadcastWidth||g.height!==this.broadcastHeight},x.prototype.broadcastRect=function(){var g=this.contentRect_;return this.broadcastWidth=g.width,this.broadcastHeight=g.height,g},x}(),U=function(){function x(g,P){var D=f(P);h(this,{target:g,contentRect:D})}return x}(),V=function(){function x(g,P,D){if(this.activeObservations_=[],this.observations_=new S,typeof g!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=g,this.controller_=P,this.callbackCtx_=D}return x.prototype.observe=function(g){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(g instanceof t(g).Element))throw new TypeError('parameter 1 is not of type "Element".');var P=this.observations_;P.has(g)||(P.set(g,new I(g)),this.controller_.addObserver(this),this.controller_.refresh())}},x.prototype.unobserve=function(g){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(g instanceof t(g).Element))throw new TypeError('parameter 1 is not of type "Element".');var P=this.observations_;P.has(g)&&(P.delete(g),P.size||this.controller_.removeObserver(this))}},x.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},x.prototype.gatherActive=function(){var g=this;this.clearActive(),this.observations_.forEach(function(P){P.isActive()&&g.activeObservations_.push(P)})},x.prototype.broadcastActive=function(){if(this.hasActive()){var g=this.callbackCtx_,P=this.activeObservations_.map(function(D){return new U(D.target,D.broadcastRect())});this.callback_.call(g,P,g),this.clearActive()}},x.prototype.clearActive=function(){this.activeObservations_.splice(0)},x.prototype.hasActive=function(){return this.activeObservations_.length>0},x}(),G=typeof WeakMap!="undefined"?new WeakMap:new S,X=function(){function x(g){if(!(this instanceof x))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=_.getInstance(),D=new V(g,P,this);G.set(this,D)}return x}();["observe","unobserve","disconnect"].forEach(function(x){X.prototype[x]=function(){var g;return(g=G.get(this))[x].apply(g,arguments)}});var _e=function(){return typeof $.ResizeObserver!="undefined"?$.ResizeObserver:X}();Pe.Z=_e},11742:function(St){St.exports=function(){var Pe=document.getSelection();if(!Pe.rangeCount)return function(){};for(var a=document.activeElement,S=[],C=0;C<Pe.rangeCount;C++)S.push(Pe.getRangeAt(C));switch(a.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":a.blur();break;default:a=null;break}return Pe.removeAllRanges(),function(){Pe.type==="Caret"&&Pe.removeAllRanges(),Pe.rangeCount||S.forEach(function($){Pe.addRange($)}),a&&a.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=="}}]);
|