diff --git a/404.html b/404.html index cea1d67..e43faf9 100644 --- a/404.html +++ b/404.html @@ -33,6 +33,6 @@
- + diff --git a/index.html b/index.html index cea1d67..e43faf9 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,6 @@
- + diff --git a/umi.6d75b654.js b/umi.6d75b654.js deleted file mode 100644 index bc44d0f..0000000 --- a/umi.6d75b654.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/react-gantt/",n(n.s=0)})({"+37V":function(e,t,n){var r=n("GXoa");r("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"+3Zf":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("R8Xy"),l=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{find:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},"+Hgx":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return u}));var r=n("yPwS"),a=n("tSbI");n("x0RL");function o(e,t){"function"===typeof e?e(t):"object"===Object(r["a"])(e)&&e&&"current"in e&&(e.current=t)}function i(){for(var e=arguments.length,t=new Array(e),n=0;n1?arguments[1]:void 0)}})},"/3Cb":function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return l}));var o=n("yPwS"),i=n("R6PQ");function u(e,t){if(t&&("object"===Object(o["a"])(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(i["a"])(e)}function l(e){var t=a();return function(){var n,a=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return u(this,n)}}},"/5AF":function(e,t,n){var r=n("ZGY3");r("flat")},"/5y1":function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("0+H2"),u=n.n(i),l=n("2YZa"),c=n("1QO0"),s=n.n(c),f=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0",startDate:u()().format("YYYY-MM-DD"),endDate:u()().add(1,"week").format("YYYY-MM-DD")}),d=[{label:"\u81ea\u5b9a\u4e49\u65e5",value:l["a"].ESightValues.day,type:"day"},{label:"\u81ea\u5b9a\u4e49\u5468",value:l["a"].ESightValues.week,type:"week"}],p=()=>s.a.createElement("div",{style:{width:"100%",height:500}},s.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:100}],customSights:d,onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=p},"/6W8":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="month",t="quarter";return function(n,r){var a=r.prototype;a.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var o=a.add;a.add=function(n,r){return n=Number(n),this.$utils().p(r)===t?this.add(3*n,e):o.bind(this)(n,r)};var i=a.startOf;a.startOf=function(n,r){var a=this.$utils(),o=!!a.u(r)||r;if(a.p(n)===t){var u=this.quarter()-1;return o?this.month(3*u).startOf(e).startOf("day"):this.month(3*u+2).endOf(e).endOf("day")}return i.bind(this)(n,r)}}}))},"/Fx+":function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("VOZC"),u=a.a.memo((e=>{e.demos;return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u5feb\u901f\u4f7f\u7528"},a.a.createElement(o["AnchorLink"],{to:"#\u5feb\u901f\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u5feb\u901f\u4f7f\u7528"),a.a.createElement("h2",{id:"-\u5b89\u88c5\u4f9d\u8d56"},a.a.createElement(o["AnchorLink"],{to:"#-\u5b89\u88c5\u4f9d\u8d56","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udce6 \u5b89\u88c5\u4f9d\u8d56"),a.a.createElement(i["a"],{code:"$ yarn add rc-gantt # or npm i rc-gantt -S",lang:"shell"}),a.a.createElement("h2",{id:"-\u5feb\u901f\u5f00\u59cb"},a.a.createElement(o["AnchorLink"],{to:"#-\u5feb\u901f\u5f00\u59cb","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udd28 \u5feb\u901f\u5f00\u59cb"),a.a.createElement(i["a"],{code:"import RcGantt from 'rc-gantt'\n\n// in react page\nreturn (\n {\n return true\n }}\n />\n)",lang:"tsx"}),a.a.createElement("p",null,"\u67e5\u770b\u66f4\u591a\uff1a",a.a.createElement(o["AnchorLink"],{to:"/component#%E5%9F%BA%E7%A1%80%E4%BD%BF%E7%94%A8"},"\u57fa\u7840\u4f7f\u7528")),a.a.createElement("h2",{id:"\u95ee\u9898\u53cd\u9988"},a.a.createElement(o["AnchorLink"],{to:"#\u95ee\u9898\u53cd\u9988","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u95ee\u9898\u53cd\u9988"),a.a.createElement("p",null,"\u8bf7\u8bbf\u95ee ",a.a.createElement(o["Link"],{to:"https://github.com/ahwgs/react-gantt/issues"},"Github")," \u6216\u52a0\u5fae\u4fe1\uff0c\u5907\u6ce8 ",a.a.createElement("code",null,"rc-gantt")),a.a.createElement("img",{src:"https://static.ahwgs.cn/wp-content/uploads/2020/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20200311210541.jpg",style:{width:"200px"}})))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(u,{demos:n})}},"/fpf":function(e,t){var n=1/0,r=Math.abs,a=Math.pow,o=Math.floor,i=Math.log,u=Math.LN2,l=function(e,t,l){var c,s,f,d=new Array(l),p=8*l-t-1,h=(1<>1,v=23===t?a(2,-24)-a(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for(e=r(e),e!=e||e===n?(s=e!=e?1:0,c=h):(c=o(i(e)/u),e*(f=a(2,-c))<1&&(c--,f*=2),e+=c+m>=1?v/f:v*a(2,1-m),e*f>=2&&(c++,f/=2),c+m>=h?(s=0,c=h):c+m>=1?(s=(e*f-1)*a(2,t),c+=m):(s=e*a(2,m-1)*a(2,t),c=0));t>=8;d[y++]=255&s,s/=256,t-=8);for(c=c<0;d[y++]=255&c,c/=256,p-=8);return d[--y]|=128*g,d},c=function(e,t){var r,o=e.length,i=8*o-t-1,u=(1<>1,c=i-7,s=o-1,f=e[s--],d=127&f;for(f>>=7;c>0;d=256*d+e[s],s--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===d)d=1-l;else{if(d===u)return r?NaN:f?-n:n;r+=a(2,t),d-=l}return(f?-1:1)*r*a(2,d-t)};e.exports={pack:l,unpack:c}},"/gJP":function(e,t,n){var r=n("r+6h"),a=n("6SQG"),o=n("RzMS"),i=n("aRba"),u=n("0JbB").f,l=n("lFeU").f,c=n("q43B"),s=n("rfqm"),f=n("kj2u"),d=n("uF/W"),p=n("h+/6"),h=n("uJNS").set,m=n("ct0+"),v=n("3Hes"),g=v("match"),y=a.RegExp,b=y.prototype,w=/a/g,E=/a/g,O=new y(w)!==w,k=f.UNSUPPORTED_Y,x=r&&o("RegExp",!O||k||p((function(){return E[g]=!1,y(w)!=w||y(E)==E||"/a/i"!=y(w,"i")})));if(x){var S=function(e,t){var n,r=this instanceof S,a=c(e),o=void 0===t;if(!r&&a&&e.constructor===S&&o)return e;O?a&&!o&&(e=e.source):e instanceof S&&(o&&(t=s.call(e)),e=e.source),k&&(n=!!t&&t.indexOf("y")>-1,n&&(t=t.replace(/y/g,"")));var u=i(O?new y(e,t):y(e,t),r?this:b,S);return k&&n&&h(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},C=l(y),_=0;while(C.length>_)j(C[_++]);b.constructor=S,S.prototype=b,d(a,"RegExp",S)}m("RegExp")},"/lsV":function(e,t,n){"use strict";e.exports=n("u4MB")},"/r+8":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()1)return e(i[0])}else{var u=t.name;w[u]=t,a=u}return!r&&a&&(b=a),a||!r&&b},k=function(e,t){if(E(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},x=y;x.l=O,x.i=E,x.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=O(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var a=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},"0zpI":function(e,t,n){var r=n("cBxx"),a=n("MyUB"),o=n("fkhx"),i=n("RtFG"),u=n("wWVk"),l=n("9rFP"),c=1,s=2,f="[object Boolean]",d="[object Date]",p="[object Error]",h="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",E="[object DataView]",O=r?r.prototype:void 0,k=O?O.valueOf:void 0;function x(e,t,n,r,O,x,S){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!x(new a(e),new a(t)));case f:case d:case m:return o(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case h:var j=u;case g:var C=r&c;if(j||(j=l),e.size!=t.size&&!C)return!1;var _=S.get(e);if(_)return _==t;r|=s,S.set(e,t);var A=i(j(e),j(t),r,O,x,S);return S["delete"](e),A;case b:if(k)return k.call(e)==k.call(t)}return!1}e.exports=x},"12pU":function(e,t,n){"use strict";n.r(t),n.d(t,"ApplyPluginsType",(function(){return z})),n.d(t,"Plugin",(function(){return H})),n.d(t,"dynamic",(function(){return F})),n.d(t,"isBrowser",(function(){return Y}));var r=n("NUIj"),a=n.n(r),o=n("ptaF");n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]}));var i=n("Bm2L");n.d(t,"__RouterContext",(function(){return i["h"]}));var u=n("QwZf");n.d(t,"Link",(function(){return u["a"]})),n.d(t,"MemoryRouter",(function(){return i["a"]})),n.d(t,"NavLink",(function(){return u["b"]})),n.d(t,"Prompt",(function(){return i["b"]})),n.d(t,"Redirect",(function(){return i["c"]})),n.d(t,"Route",(function(){return i["d"]})),n.d(t,"Router",(function(){return i["e"]})),n.d(t,"StaticRouter",(function(){return i["f"]})),n.d(t,"Switch",(function(){return i["g"]})),n.d(t,"matchPath",(function(){return i["i"]})),n.d(t,"useHistory",(function(){return i["j"]})),n.d(t,"useLocation",(function(){return i["k"]})),n.d(t,"useParams",(function(){return i["l"]})),n.d(t,"useRouteMatch",(function(){return i["m"]})),n.d(t,"withRouter",(function(){return i["n"]}));var l=n("1QO0"),c=n("rVbH");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}var j=Object(l["createContext"])(null),C=[],_=[],A=!1;function T(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function R(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=T(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function M(e){return e&&e.__esModule?e["default"]:e}function P(e,t){return Object(l["createElement"])(M(e),t)}function D(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:P,webpack:null,modules:null},t),r=null;function a(){if(!r){var t=new N(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&C.push(a),!A&&"undefined"!==typeof window&&"function"===typeof n.webpack){var o=n.webpack();_.push((function(e){var t,n=S(o);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return a()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){a();var o=Object(l["useContext"])(j),i=Object(c["useSubscription"])(r);return Object(l["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),o&&Array.isArray(n.modules)&&n.modules.forEach((function(e){o(e)})),i.loading||i.error?Object(l["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},u=Object(l["forwardRef"])(i);return u.preload=function(){return a()},u.displayName="LoadableComponent",u}var N=function(){function e(t,n){m(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return g(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=f(f({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return f(f({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function I(e){return D(T,e)}function L(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return D(R,e)}function B(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return B(e,t)}))}function F(e){var t=I,n={loading:function(e){e.error,e.isLoading;return Object(l["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==d(e))throw new Error("Unexpect arguments ".concat(e));n=f(f({},n),e)}return t(n)}function U(e,t){if(!e)throw new Error(t)}I.Map=L,I.preloadAll=function(){return new Promise((function(e,t){B(C).then(e,t)}))},I.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return A=!0,t()};B(_,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=I.preloadReady);var z,Y=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function W(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function G(e){return!!e&&"object"===d(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(z||(z={}));var H=function(){function e(t){m(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return g(e,[{key:"register",value:function(e){var t=this;U(!!e.apply,"register failed, plugin.apply must supplied"),U(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){U(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=b(t),r=n[0],a=n.slice(1),o=this.hooks[r]||[];return a.length&&(o=o.map((function(e){try{var t,n=e,r=S(a);try{for(r.s();!(t=r.n()).done;){var o=t.value;n=n[o]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),o}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,u=this.getHooks(t)||[];switch(o&&U("object"===d(o),"applyPlugins failed, args must be plain object."),n){case z.modify:return i?u.reduce(function(){var e=h(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(U("function"===typeof r||"object"===d(r)||G(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!G(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof r){e.next=16;break}if(i=r(n,o),!G(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!G(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",f(f({},n),r));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),G(r)?r:Promise.resolve(r)):u.reduce((function(e,n){return U("function"===typeof n||"object"===d(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,o):f(f({},e),n)}),r);case z.event:return u.forEach((function(e){U("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(o)}));case z.compose:return function(){return W({fns:u.concat(r),args:o})()}}}}]),e}()},"14tm":function(e,t,n){var r=n("O4yA"),a=function(){return r.Date.now()};e.exports=a},"1ChE":function(e,t,n){"use strict";(function(e){var r=n("1QO0"),a=n.n(r),o=n("Srxv"),i=n("BA5g"),u=n.n(i),l=1073741823,c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function s(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}function f(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function d(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}function p(e){return Array.isArray(e)?e[0]:e}function h(e,t){var n,a,i="__create-react-context-"+s()+"__",c=function(e){function n(){var t;return t=e.apply(this,arguments)||this,t.emitter=d(t.props.value),t}Object(o["a"])(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return e={},e[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;f(r,a)?n=0:(n="function"===typeof t?t(r,a):l,n|=0,0!==n&&this.emitter.set(e.value,n))}},r.render=function(){return this.props.children},n}(r["Component"]);c.childContextTypes=(n={},n[i]=u.a.object.isRequired,n);var h=function(t){function n(){var e;return e=t.apply(this,arguments)||this,e.state={value:e.getValue()},e.onUpdate=function(t,n){var r=0|e.observedBits;0!==(r&n)&&e.setState({value:e.getValue()})},e}Object(o["a"])(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?l:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?l:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return p(this.props.children)(this.state.value)},n}(r["Component"]);return h.contextTypes=(a={},a[i]=u.a.object,a),{Provider:c,Consumer:h}}var m=a.a.createContext||h;t["a"]=m}).call(this,n("j8Of"))},"1DF2":function(e,t,n){var r=n("rkJ6");function a(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=a},"1Grl":function(e,t,n){var r=n("7TNV"),a=n("lf6h"),o=Object.prototype,i=o.hasOwnProperty,u=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!u.call(e,"callee")};e.exports=l},"1KG/":function(e,t,n){var r,a=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function a(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(t){if(null===t||void 0===t)return o.decompress(t);for(var n=new Array(t.length/2),r=0,a=n.length;r>=1}else{for(a=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(a=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++),i[c]=d++,s=String(l)}if(""!==s){if(Object.prototype.hasOwnProperty.call(u,s)){if(s.charCodeAt(0)<256){for(r=0;r>=1}else{for(a=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(a=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++)}for(a=2,r=0;r>=1;while(1){if(m<<=1,v==t-1){h.push(n(m));break}v++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:o._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(t,n,r){var a,o,i,u,l,c,s,f=[],d=4,p=4,h=3,m="",v=[],g={val:r(0),position:n,index:1};for(a=0;a<3;a+=1)f[a]=a;i=0,l=Math.pow(2,2),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 2:return""}f[3]=s,o=s,v.push(s);while(1){if(g.index>t)return"";i=0,l=Math.pow(2,h),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(s=i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 2:return v.join("")}if(0==d&&(d=Math.pow(2,h),h++),f[s])m=f[s];else{if(s!==p)return null;m=o+o.charAt(0)}v.push(m),f[p++]=o+m.charAt(0),d--,o=m,0==d&&(d=Math.pow(2,h),h++)}}};return o}();r=function(){return a}.call(t,n,t,e),void 0===r||(e.exports=r)},"1QO0":function(e,t,n){"use strict";e.exports=n("WSIO")},"1RDt":function(e,t,n){},"1Sp3":function(e,t,n){var r=n("mRlv"),a=n("Ox3h"),o=n("WAeE"),i=o("metadata"),u=i.store||(i.store=new a),l=function(e,t,n){var a=u.get(e);if(!a){if(!n)return;u.set(e,a=new r)}var o=a.get(t);if(!o){if(!n)return;a.set(t,o=new r)}return o},c=function(e,t,n){var r=l(t,n,!1);return void 0!==r&&r.has(e)},s=function(e,t,n){var r=l(t,n,!1);return void 0===r?void 0:r.get(e)},f=function(e,t,n,r){l(n,r,!0).set(e,t)},d=function(e,t){var n=l(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},p=function(e){return void 0===e||"symbol"==typeof e?e:String(e)};e.exports={store:u,getMap:l,has:c,get:s,set:f,keys:d,toKey:p}},"1a2d":function(e,t,n){"use strict";var r=n("OOCw");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},"1aCi":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{imulh:function(e,t){var n=65535,r=+e,a=+t,o=r&n,i=a&n,u=r>>16,l=a>>16,c=(u*i>>>0)+(o*i>>>16);return u*l+(c>>16)+((o*l>>>0)+(c&n)>>16)}})},"1aIJ":function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n'},a[l]={content:"/**\n* This is an auto-generated demo by dumi\n* if you think it is not working as expected,\n* please report the issue at\n* https://github.com/umijs/dumi/issues\n**/\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\n".concat(i.map((function(e){var t=e.css;return"import '".concat(t,"';")})).join("\n"),"\nimport App from './App';\n\nReactDOM.render(\n ,\n document.getElementById('root'),\n);")},Object.entries(e.sources).forEach((function(e){var t=r(e,2),n=t[0],o=t[1],i=o.tsx,l=o.jsx,c=o.content;a["_"===n?u:n]={content:i||l||c}})),h({files:a})}var g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=(0,a().useState)(),r=u(n,2),o=r[0],i=r[1];return(0,a().useEffect)((function(){if(e){var n=document.createElement("form"),r=document.createElement("input"),a=v(e);return n.method="POST",n.target="_blank",n.style.display="none",n.action=t,n.appendChild(r),n.setAttribute("data-demo",e.title||""),r.name="parameters",r.value=a,document.body.appendChild(n),i((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e]),o};t["default"]=g},"1cq2":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{find:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},"1mu+":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("QHn5"),u=n("F/PV"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{includes:function(e){return l(i(o(this)),(function(t,n){if(u(n,e))return l.stop()}),void 0,!0,!0).stopped}})},"1rhD":function(e,t,n){"use strict";var r=n("OOCw"),a=n("dz2h"),o=n("z43i"),i=n("uJNS"),u=n("vfR7"),l=u.codeAt,c=u.charAt,s="String Iterator",f=i.set,d=i.getterFor(s),p=a((function(e){f(this,{type:s,string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new p(String(o(this)))}})},"1uVM":function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},"1wx2":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"1x+Y":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("mxPn"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isSubsetOf:function(e){var t=l(this),n=i(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=u(n.has)),!c(t,(function(e){if(!1===r.call(n,e))return c.stop()}),void 0,!1,!0).stopped}})},"1zyx":function(e,t,n){"use strict";n.r(t),n.d(t,"ApplyPluginsType",(function(){return z})),n.d(t,"Plugin",(function(){return H})),n.d(t,"dynamic",(function(){return F})),n.d(t,"isBrowser",(function(){return Y}));var r=n("NUIj"),a=n.n(r),o=n("ptaF");n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]}));var i=n("Bm2L");n.d(t,"__RouterContext",(function(){return i["h"]}));var u=n("QwZf");n.d(t,"Link",(function(){return u["a"]})),n.d(t,"MemoryRouter",(function(){return i["a"]})),n.d(t,"NavLink",(function(){return u["b"]})),n.d(t,"Prompt",(function(){return i["b"]})),n.d(t,"Redirect",(function(){return i["c"]})),n.d(t,"Route",(function(){return i["d"]})),n.d(t,"Router",(function(){return i["e"]})),n.d(t,"StaticRouter",(function(){return i["f"]})),n.d(t,"Switch",(function(){return i["g"]})),n.d(t,"matchPath",(function(){return i["i"]})),n.d(t,"useHistory",(function(){return i["j"]})),n.d(t,"useLocation",(function(){return i["k"]})),n.d(t,"useParams",(function(){return i["l"]})),n.d(t,"useRouteMatch",(function(){return i["m"]})),n.d(t,"withRouter",(function(){return i["n"]}));var l=n("1QO0"),c=n("/lsV");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}var j=Object(l["createContext"])(null),C=[],_=[],A=!1;function T(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function R(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=T(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function M(e){return e&&e.__esModule?e["default"]:e}function P(e,t){return Object(l["createElement"])(M(e),t)}function D(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:P,webpack:null,modules:null},t),r=null;function a(){if(!r){var t=new N(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&C.push(a),!A&&"undefined"!==typeof window&&"function"===typeof n.webpack){var o=n.webpack();_.push((function(e){var t,n=S(o);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return a()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){a();var o=Object(l["useContext"])(j),i=Object(c["useSubscription"])(r);return Object(l["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),o&&Array.isArray(n.modules)&&n.modules.forEach((function(e){o(e)})),i.loading||i.error?Object(l["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},u=Object(l["forwardRef"])(i);return u.preload=function(){return a()},u.displayName="LoadableComponent",u}var N=function(){function e(t,n){m(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return g(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=f(f({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return f(f({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function I(e){return D(T,e)}function L(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return D(R,e)}function B(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return B(e,t)}))}function F(e){var t=I,n={loading:function(e){e.error,e.isLoading;return Object(l["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==d(e))throw new Error("Unexpect arguments ".concat(e));n=f(f({},n),e)}return t(n)}function U(e,t){if(!e)throw new Error(t)}I.Map=L,I.preloadAll=function(){return new Promise((function(e,t){B(C).then(e,t)}))},I.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return A=!0,t()};B(_,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=I.preloadReady);var z,Y=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function W(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function G(e){return!!e&&"object"===d(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(z||(z={}));var H=function(){function e(t){m(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return g(e,[{key:"register",value:function(e){var t=this;U(!!e.apply,"register failed, plugin.apply must supplied"),U(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){U(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=b(t),r=n[0],a=n.slice(1),o=this.hooks[r]||[];return a.length&&(o=o.map((function(e){try{var t,n=e,r=S(a);try{for(r.s();!(t=r.n()).done;){var o=t.value;n=n[o]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),o}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,u=this.getHooks(t)||[];switch(o&&U("object"===d(o),"applyPlugins failed, args must be plain object."),n){case z.modify:return i?u.reduce(function(){var e=h(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(U("function"===typeof r||"object"===d(r)||G(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!G(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof r){e.next=16;break}if(i=r(n,o),!G(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!G(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",f(f({},n),r));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),G(r)?r:Promise.resolve(r)):u.reduce((function(e,n){return U("function"===typeof n||"object"===d(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,o):f(f({},e),n)}),r);case z.event:return u.forEach((function(e){U("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(o)}));case z.compose:return function(){return W({fns:u.concat(r),args:o})()}}}}]),e}()},"2Roc":function(e,t,n){var r=n("3Hes");t.f=r},"2Vjj":function(e,t,n){},"2YZa":function(e,t,n){"use strict";n.d(t,"a",(function(){return ye})),n.d(t,"c",(function(){return Fr}));var r=n("ULjY"),a=n("1QO0"),o=n.n(a),i=n("QQXB");function u(e,t){return e?(n="function"===typeof e?e():"current"in e?e.current:e,n):t;var n}function l(e){var t=Object(a["useRef"])(e);t.current=e;var n=Object(a["useRef"])();return n.current||(n.current=function(){for(var e=[],n=0;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i},h=function(e){var t=Object(a["useRef"])(0),n=p(Object(a["useState"])(e),2),r=n[0],o=n[1],i=Object(a["useCallback"])((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){o(e)}))}),[]);return d((function(){cancelAnimationFrame(t.current)})),[r,i]},m=h,v=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i};function g(e){var t=v(m((function(){var t=u(e);return{width:(t||{}).clientWidth,height:(t||{}).clientHeight}})),2),n=t[0],r=t[1];return Object(a["useLayoutEffect"])((function(){var t=u(e);if(!t)return function(){};var n=new i["a"]((function(e){e.forEach((function(e){r({width:e.target.clientWidth,height:e.target.clientHeight})}))}));return n.observe(t),function(){n.disconnect()}}),[e]),n}var y=g,b=n("4Yrd");if(!a["useState"])throw new Error("mobx-react-lite requires React with Hooks support");if(!b["h"])throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var w=!1;function E(){return w}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i}function x(e){return e.current?Object(b["e"])(e.current):""}var S=[];function j(e){Object(a["useEffect"])((function(){return e}),S)}function C(){var e=k(Object(a["useState"])(0),2),t=e[1],n=Object(a["useCallback"])((function(){t((function(e){return e+1}))}),[]);return n}var _={};function A(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=_),E())return e();var r=n.useForceUpdate||C,o=r(),i=Object(a["useRef"])(null);i.current||(i.current=new b["a"]("observer("+t+")",(function(){o()})));var u,l,c=function(){i.current&&!i.current.isDisposed&&(i.current.dispose(),i.current=null)};if(Object(a["useDebugValue"])(i,x),j((function(){c()})),i.current.track((function(){try{u=e()}catch(t){l=t}})),l)throw c(),l;return u}function T(e,t){if(E())return e;var n,r=O({forwardRef:!1},t),o=e.displayName||e.name,i=function(t,n){return A((function(){return e(t,n)}),o)};return i.displayName=o,n=r.forwardRef?Object(a["memo"])(Object(a["forwardRef"])(i)):Object(a["memo"])(i),M(e,n),n.displayName=o,n}var R={$$typeof:!0,render:!0,compare:!0,type:!0};function M(e,t){Object.keys(e).forEach((function(n){e.hasOwnProperty(n)&&!R[n]&&Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}function P(e){var t=e.children,n=e.render,r=t||n;return"function"!==typeof r?null:A(r)}function D(e,t,n,r,a){var o="children"===t?"render":"children",i="function"===typeof e[t],u="function"===typeof e[o];return i&&u?new Error("MobX Observer: Do not use children and render in the same time in`"+n):i||u?null:new Error("Invalid prop `"+a+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}P.propTypes={children:D,render:D},P.displayName="Observer";var N=Object(a["createContext"])({}),I=N,L=n("Ebyb"),B=n.n(L),F=n("401X");function U(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(F["a"])(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=0;return e.reduce(((e,a)=>(a._depth=t,a._parent=n,a._index=r,r+=1,[...e,a,...a.children&&!a.collapsed?z(a.children,t+1,a):[]])),[])}function Y(e){var t=0,n=0,r=[e];while(r.length>0){var a=r.shift();if(a){var o=a.translateX,i=void 0===o?0:o,u=a.width,l=void 0===u?0:u;if(0===t&&(t=i||0),i&&(t=Math.min(i,t),n=Math.max(i+l,n)),a.task.children&&a.task.children.length>0){var c,s=U(a.task.children);try{for(s.s();!(c=s.n()).done;){var f=c.value;f._bar&&r.push(f._bar)}}catch(d){s.e(d)}finally{s.f()}}}}return{translateX:t,width:n-t}}var W=(()=>{var e=0;return function(){return e++}})();function G(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=[],o=U(t);try{for(o.s();!(e=o.n()).done;){var i=e.value,u={key:W(),record:i,content:"",group:i.group,startDate:i[n]||"",endDate:i[r]||"",collapsed:i.collapsed||!1,children:G(i.children||[],n,r)};a.push(u)}}catch(l){o.e(l)}finally{o.f()}return a}n("2Vjj");var H=8,V=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.prefixCls,i=n.renderGroupBar,u=t.translateY,l=Y(t),c=l.translateX,s=l.width;return o.a.createElement("div",{role:"none",className:B()("".concat(r,"-group-bar")),style:{transform:"translate(".concat(c,"px, ").concat(u,"px)")}},o.a.createElement("div",null,o.a.createElement("div",{className:"".concat(r,"-bar")},i?i(t,{width:s,height:H}):o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:s+1,height:H+8,viewBox:"0 0 ".concat(s+1," ").concat(H+8)},o.a.createElement("path",{fill:t.record.background||"#7B809E",d:"\n M".concat(s-2,",0.5\n l-").concat(s-4,",0\n c-0.41421,0 -0.78921,0.16789 -1.06066,0.43934\n c-0.27145,0.27145 -0.43934,0.64645 -0.43934,1.06066\n l0,13.65\n l6,-7\n l").concat(s-12,",0\n l6,7\n l0,-13.65\n c-0.03256,-0.38255 -0.20896,-0.724 -0.47457,-0.97045\n c-0.26763,-0.24834 -0.62607,-0.40013 -1.01995,-0.40013z\n ")})))))},$=T(V),X=n("Vhn3"),q=n("/r+8"),K=n("vCPc"),Q=n("qkOA");class Z{constructor(e){var t=e.scroller,n=e.rate,r=void 0===n?5:n,a=e.space,o=void 0===a?50:a,i=e.onAutoScroll,u=e.reachEdge;this.rate=void 0,this.space=void 0,this.scroller=null,this.autoScrollPos=0,this.clientX=null,this.scrollTimer=null,this.onAutoScroll=void 0,this.reachEdge=void 0,this.handleDraggingMouseMove=e=>{this.clientX=e.clientX},this.handleScroll=e=>{this.reachEdge(e)||("left"===e?(this.autoScrollPos-=this.rate,this.onAutoScroll(-this.rate)):"right"===e&&(this.autoScrollPos+=this.rate,this.onAutoScroll(this.rate)))},this.start=()=>{this.autoScrollPos=0,document.addEventListener("mousemove",this.handleDraggingMouseMove);var e=()=>{var t,n;this.scroller&&null!==this.clientX&&(this.clientX+this.space>(null===(t=this.scroller)||void 0===t?void 0:t.getBoundingClientRect().right)?this.handleScroll("right"):this.clientX-this.space<(null===(n=this.scroller)||void 0===n?void 0:n.getBoundingClientRect().left)&&this.handleScroll("left"));this.scrollTimer=requestAnimationFrame(e)};this.scrollTimer=requestAnimationFrame(e)},this.stop=()=>{document.removeEventListener("mousemove",this.handleDraggingMouseMove),this.scrollTimer&&cancelAnimationFrame(this.scrollTimer)},this.scroller=t||null,this.rate=r,this.space=o,this.onAutoScroll=i,this.reachEdge=u}}var J=Z,ee=(e,t)=>Math.round(e/t)*t,te=e=>{var t=e.type,n=e.onBeforeResize,r=e.onResize,i=e.onResizeEnd,u=e.minWidth,l=void 0===u?0:u,s=e.grid,f=e.defaultSize,d=f.x,p=f.width,h=e.scroller,m=e.autoScroll,v=void 0===m||m,g=e.onAutoScroll,y=e.reachEdge,b=void 0===y?()=>!1:y,w=e.clickStart,E=void 0!==w&&w,O=e.children,k=e.disabled,x=void 0!==k&&k,S=Object(K["a"])(e,["type","onBeforeResize","onResize","onResizeEnd","minWidth","grid","defaultSize","scroller","autoScroll","onAutoScroll","reachEdge","clickStart","children","disabled"]),j=Object(a["useState"])(!1),C=Object(X["a"])(j,2),_=C[0],A=C[1],T=c((e=>{D(),g(e)})),R=Object(a["useMemo"])((()=>new J({scroller:h,onAutoScroll:T,reachEdge:b})),[T,h,b]),M=Object(a["useRef"])({clientX:0,width:p,x:d}),P=Object(a["useRef"])({clientX:0}),D=c((()=>{if(!x){var e=P.current.clientX-M.current.clientX+R.autoScrollPos;switch(t){case"left":var n=M.current.width-e;void 0!==l&&(n=Math.max(n,l)),s&&(n=ee(n,s));var a=n-M.current.width,o=M.current.x-a;r({width:n,x:o});break;case"right":var i=M.current.width+e;void 0!==l&&(i=Math.max(i,l)),s&&(i=ee(i,s));var u=M.current.x;r({width:i,x:u});break;case"move":var c=M.current.width,f=e;s&&(f=ee(e,s));var d=M.current.x+f;r({width:c,x:d});break}}})),N=c((e=>{x||(_||(A(!0),E||n&&n()),P.current.clientX=e.clientX,D())})),I=c((()=>{x||(R.stop(),window.removeEventListener("mousemove",N),window.removeEventListener("mouseup",I),_&&(A(!1),i&&i({x:M.current.x,width:M.current.width})))})),L=c((e=>{x||(e.stopPropagation(),v&&h&&R.start(),E&&(n&&n(),A(!0)),M.current.clientX=e.clientX,M.current.x=d,M.current.width=p,window.addEventListener("mousemove",N),window.addEventListener("mouseup",I))}));return o.a.createElement("div",Object(q["a"])({role:"none",onMouseDown:L},S),_&&Object(Q["createPortal"])(o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:x?"not-allowed":"col-resize"}}),document.body),O)},ne=T(te),re=(n("xytd"),8),ae=0,oe=e=>e,ie=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.prefixCls,u=n.renderInvalidBar,l=void 0===u?oe:u,s=Object(a["useRef"])(null),f=t.translateY,d=t.translateX,p=t.width,h=t.dateTextFormat,m=t.record,v=Object(a["useState"])(!1),g=Object(X["a"])(v,2),y=g[0],b=g[1],w=m||{},E=w.disabled,O=void 0!==E&&E,k=r.translateX,x=r.rowHeight,S=f,j="".concat(i,"-invalid-task-bar"),C=Object(a["useCallback"])((()=>{var e,n;"moving"!==t.stepGesture&&(ae=(null===(e=s.current)||void 0===e||null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.left)||0,b(!0))}),[t.stepGesture]),_=Object(a["useCallback"])((()=>{"moving"!==t.stepGesture&&(b(!1),r.handleInvalidBarLeave())}),[t.stepGesture,r]),A=Object(a["useCallback"])((e=>{if("moving"!==t.stepGesture){var n=k+(e.clientX-ae),a=r.startXRectBar(n),o=a.left,i=a.width;r.handleInvalidBarHover(t,o,Math.ceil(i))}}),[t,r,k]),T=()=>{r.handleInvalidBarDragStart(t)},R=Object(a["useCallback"])((e=>{var n=e.width,a=e.x;r.updateBarSize(t,{width:n,x:a})}),[t,r]),M=Object(a["useCallback"])((e=>{r.handleInvalidBarDragEnd(t,e)}),[t,r]),P=Object(a["useCallback"])((e=>{r.setTranslateX(r.translateX+e)}),[r]),D=c((e=>"left"===e&&r.translateX<=0));return O?null:o.a.createElement(ne,{onMouseMove:A,onMouseEnter:C,onMouseLeave:_,onResize:R,onResizeEnd:M,defaultSize:{x:d,width:p},minWidth:30,grid:30,type:"right",scroller:r.chartElementRef.current||void 0,onAutoScroll:P,reachEdge:D,onBeforeResize:T,clickStart:!0},o.a.createElement("div",{ref:s,className:j,style:{left:k,height:x,transform:"translateY(".concat(S-(x-re)/2,"px")}}),y&&l(o.a.createElement("div",{className:"".concat(j,"-block"),"aria-haspopup":"true","aria-expanded":"false",style:{left:d,width:Math.ceil(p),transform:"translateY(".concat(S,"px)"),backgroundColor:"#7B90FF",borderColor:"#7B90FF"}},o.a.createElement("div",{className:"".concat(j,"-date"),style:{right:Math.ceil(p+6)}},h(d)),o.a.createElement("div",{className:"".concat(j,"-date"),style:{left:Math.ceil(p+6)}},h(d+p-p/r.pxUnitAmp))),t))},ue=T(ie),le=n("0+H2"),ce=n.n(le),se=40,fe=56,de=8,pe=0,he=30,me=n("tGGB");function ve(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function ge(e,t,n,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var ye,be,we,Ee,Oe,ke,xe,Se,je,Ce,_e,Ae,Te,Re,Me,Pe,De,Ne,Ie,Le,Be,Fe,Ue,ze,Ye,We,Ge,He,Ve,$e,Xe,qe,Ke,Qe,Ze,Je,et,tt,nt,rt,at,ot,it,ut,lt,ct,st,ft,dt,pt,ht,mt,vt,gt,yt,bt,wt,Et,Ot,kt,xt,St,jt,Ct,_t,At,Tt,Rt,Mt,Pt,Dt,Nt,It,Lt,Bt,Ft,Ut,zt,Yt,Wt,Gt,Ht,Vt,$t,Xt,qt,Kt,Qt,Zt,Jt,en,tn,nn,rn,an,on,un,ln,cn,sn,fn,dn,pn,hn,mn,vn,gn,yn=n("NUIj"),bn=n.n(yn),wn=n("Qcf6"),En=n.n(wn),On=n("aEZQ"),kn=n.n(On),xn=n("OChd"),Sn=n.n(xn),jn=n("/6W8"),Cn=n.n(jn),_n=n("2xkX"),An=n.n(_n),Tn=n("cwkm"),Rn=n.n(Tn),Mn=n("jMzh"),Pn=n.n(Mn),Dn=n("k+Mg"),Nn=n.n(Dn),In=n("Z5y8"),Ln=n.n(In);(function(e){var t;(function(e){e[e["day"]=2880]="day",e[e["week"]=3600]="week",e[e["month"]=14400]="month",e[e["quarter"]=86400]="quarter",e[e["halfYear"]=115200]="halfYear"})(t||(t={})),e.ESightValues=t})(ye||(ye={})),ce.a.extend(An.a),ce.a.extend(Rn.a),ce.a.extend(Cn.a),ce.a.extend(En.a),ce.a.extend(kn.a),ce.a.extend(Sn.a);var Bn=864e5,Fn=e=>[{type:"day",label:e.day,value:ye.ESightValues.day},{type:"week",label:e.week,value:ye.ESightValues.week},{type:"month",label:e.month,value:ye.ESightValues.month},{type:"quarter",label:e.quarter,value:ye.ESightValues.quarter},{type:"halfYear",label:e.halfYear,value:ye.ESightValues.halfYear}];function Un(e){var t=[0,6];return t.includes(ce()(e).weekday())}var zn=(be=Reflect.metadata("design:type",Array),we=Reflect.metadata("design:type",Array),Ee=Reflect.metadata("design:type",Array),Oe=Reflect.metadata("design:type",Array),ke=Reflect.metadata("design:type",Number),xe=Reflect.metadata("design:type",Number),Se=Reflect.metadata("design:type",Number),je=Reflect.metadata("design:type",Number),Ce=Reflect.metadata("design:type",Number),_e=Reflect.metadata("design:type",Number),Ae=Reflect.metadata("design:type","undefined"===typeof ye.SightConfig?Object:ye.SightConfig),Te=Reflect.metadata("design:type","undefined"===typeof ye.Bar?Object:ye.Bar),Re=Reflect.metadata("design:type","undefined"===typeof ye.MoveType?Object:ye.MoveType),Me=Reflect.metadata("design:type",Function),Pe=Reflect.metadata("design:paramtypes",[Array,String,String]),De=Reflect.metadata("design:type",Function),Ne=Reflect.metadata("design:paramtypes",[]),Ie=Reflect.metadata("design:type",Function),Le=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Item?Object:ye.Item,Boolean]),Be=Reflect.metadata("design:type",Function),Fe=Reflect.metadata("design:paramtypes",[Object]),Ue=Reflect.metadata("design:type",Function),ze=Reflect.metadata("design:paramtypes",[Array]),Ye=Reflect.metadata("design:type",Function),We=Reflect.metadata("design:paramtypes",[Array]),Ge=Reflect.metadata("design:type",Function),He=Reflect.metadata("design:paramtypes",[void 0]),Ve=Reflect.metadata("design:type",Function),$e=Reflect.metadata("design:paramtypes",[Number]),Xe=Reflect.metadata("design:type",Function),qe=Reflect.metadata("design:paramtypes",[]),Ke=Reflect.metadata("design:type",Function),Qe=Reflect.metadata("design:paramtypes",[Object]),Ze=Reflect.metadata("design:type",Function),Je=Reflect.metadata("design:paramtypes",[Number]),et=Reflect.metadata("design:type",Function),tt=Reflect.metadata("design:paramtypes",[]),nt=Reflect.metadata("design:type",Function),rt=Reflect.metadata("design:paramtypes",[Number]),at=Reflect.metadata("design:type",Function),ot=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Sight?Object:ye.Sight]),it=Reflect.metadata("design:type",Function),ut=Reflect.metadata("design:paramtypes",[]),lt=Reflect.metadata("design:type",Function),ct=Reflect.metadata("design:paramtypes",[]),st=Reflect.metadata("design:type",Function),ft=Reflect.metadata("design:paramtypes",[]),dt=Reflect.metadata("design:type",Function),pt=Reflect.metadata("design:paramtypes",[]),ht=Reflect.metadata("design:type",Function),mt=Reflect.metadata("design:paramtypes",[]),vt=Reflect.metadata("design:type",Function),gt=Reflect.metadata("design:paramtypes",[]),yt=Reflect.metadata("design:type",Function),bt=Reflect.metadata("design:paramtypes",[]),wt=Reflect.metadata("design:type",Function),Et=Reflect.metadata("design:paramtypes",[]),Ot=Reflect.metadata("design:type",Function),kt=Reflect.metadata("design:paramtypes",[]),xt=Reflect.metadata("design:type",Function),St=Reflect.metadata("design:paramtypes",[]),jt=Reflect.metadata("design:type",Function),Ct=Reflect.metadata("design:paramtypes",[]),_t=Reflect.metadata("design:type",Function),At=Reflect.metadata("design:paramtypes",[]),Tt=Reflect.metadata("design:type",Function),Rt=Reflect.metadata("design:paramtypes",[]),Mt=Reflect.metadata("design:type",Function),Pt=Reflect.metadata("design:paramtypes",["undefined"===typeof MouseEvent?Object:MouseEvent]),Dt=Reflect.metadata("design:type",Function),Nt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,"undefined"===typeof ye.MoveType?Object:ye.MoveType]),It=Reflect.metadata("design:type",Function),Lt=Reflect.metadata("design:paramtypes",[]),Bt=Reflect.metadata("design:type",Function),Ft=Reflect.metadata("design:paramtypes",[]),Ut=Reflect.metadata("design:type",Function),zt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Number,Number]),Yt=Reflect.metadata("design:type",Function),Wt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar]),Gt=Reflect.metadata("design:type",Function),Ht=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object]),Vt=Reflect.metadata("design:type",Function),$t=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object]),Xt=Reflect.metadata("design:type",Function),qt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object,String]),Kt=class{constructor(e){var t=e.rowHeight,n=e.disabled,o=void 0!==n&&n,i=e.customSights,u=e.locale;this.locale=Object(r["a"])({},Wr),this._wheelTimer=void 0,this.scrollTimer=void 0,ve(this,"data",Qt,this),ve(this,"originData",Zt,this),ve(this,"columns",Jt,this),ve(this,"dependencies",en,this),ve(this,"scrolling",tn,this),ve(this,"scrollTop",nn,this),ve(this,"collapse",rn,this),ve(this,"tableWidth",an,this),ve(this,"viewWidth",on,this),ve(this,"width",un,this),ve(this,"height",ln,this),ve(this,"bodyWidth",cn,this),ve(this,"translateX",sn,this),ve(this,"sightConfig",fn,this),ve(this,"showSelectionIndicator",dn,this),ve(this,"selectionIndicatorTop",pn,this),ve(this,"dragging",hn,this),ve(this,"draggingType",mn,this),ve(this,"disabled",vn,this),this.viewTypeList=Fn(this.locale),this.gestureKeyPress=!1,this.mainElementRef=Object(a["createRef"])(),this.chartElementRef=Object(a["createRef"])(),this.isPointerPress=!1,this.startDateKey="startDate",this.endDateKey="endDate",this.autoScrollPos=0,this.clientX=0,this.rowHeight=void 0,this.onUpdate=()=>Promise.resolve(!0),this.isRestDay=Un,this.getWidthByDate=(e,t)=>(t.valueOf()-e.valueOf())/this.pxUnitAmp,this.startXRectBar=e=>{var t=ce()(e*this.pxUnitAmp),n=()=>{var e=t.startOf("day"),n=t.endOf("day"),r=e/this.pxUnitAmp,a=(n-e)/this.pxUnitAmp;return{left:r,width:a}},r=()=>{0===t.weekday()&&(t=t.add(-1,"week"));var e=t.weekday(1).startOf("day").valueOf()/this.pxUnitAmp,n=604799e3/this.pxUnitAmp;return{left:e,width:n}},a=()=>{var e=t.startOf("month").valueOf(),n=t.endOf("month").valueOf(),r=e/this.pxUnitAmp,a=(n-e)/this.pxUnitAmp;return{left:r,width:a}},o={day:n,week:r,month:r,quarter:a,halfYear:a};return o[this.sightConfig.type]()},ve(this,"handleWheel",gn,this),this.handleScroll=e=>{var t=e.currentTarget.scrollTop;this.scrollY(t)},this.scrollY=Ln()((e=>{this.scrollTop=e}),100),this.handleMouseMove=Pn()((e=>{this.isPointerPress||this.showSelectionBar(e)}),5),this.getHovered=e=>{var t=e-e%this.rowHeight;return this.selectionIndicatorTop>=t&&this.selectionIndicatorTop<=t+this.rowHeight},this.width=1320,this.height=418,this.viewTypeList=i.length?i:Fn(u);var l=i.length?i[0]:Fn(u)[0],c=ce()(this.getStartDate()).valueOf()/(1e3*l.value),s=this.width,f=704,d=500;this.viewWidth=f,this.tableWidth=d,this.translateX=c,this.sightConfig=l,this.bodyWidth=s,this.rowHeight=t,this.disabled=o,this.locale=u}getStartDate(){return ce()().subtract(10,"day").toString()}setIsRestDay(e){this.isRestDay=e||Un}setData(e,t,n){this.startDateKey=t,this.endDateKey=n,this.originData=e,this.data=G(e,t,n)}toggleCollapse(){this.tableWidth>0?(this.tableWidth=0,this.viewWidth=this.width-this.tableWidth):this.initWidth()}setRowCollapse(e,t){e.collapsed=t}setOnUpdate(e){this.onUpdate=e}setColumns(e){this.columns=e}setDependencies(e){this.dependencies=e}setHideTable(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?(this.tableWidth=0,this.viewWidth=this.width-this.tableWidth):this.initWidth()}handlePanMove(e){this.scrolling=!0,this.setTranslateX(e)}handlePanEnd(){this.scrolling=!1}syncSize(e){if(e.height&&e.width){var t=e.width,n=e.height;this.height!==n&&(this.height=n),this.width!==t&&(this.width=t,this.initWidth())}}handleResizeTableWidth(e){var t=this.columns.filter((e=>e.width>0));this.columns.length!==t.length&&(this.tableWidth=e,this.viewWidth=this.width-this.tableWidth)}initWidth(){this.tableWidth=this.totalColumnWidth||250,this.viewWidth=this.width-this.tableWidth,this.viewWidth<200&&(this.viewWidth=200,this.tableWidth=this.width-this.viewWidth)}setTranslateX(e){this.translateX=Math.max(e,0)}switchSight(e){var t=Nn()(this.viewTypeList,{type:e});t&&(this.sightConfig=t,this.setTranslateX(ce()(this.getStartDate()).valueOf()/(1e3*t.value)))}scrollToToday(){var e=this.todayTranslateX-this.viewWidth/2;this.setTranslateX(e)}getTranslateXByDate(e){return ce()(e).startOf("day").valueOf()/this.pxUnitAmp}get todayTranslateX(){return ce()().startOf("day").valueOf()/this.pxUnitAmp}get scrollBarWidth(){var e=30;return Math.max(this.viewWidth/this.scrollWidth*160,e)}get scrollLeft(){var e=this.viewWidth/this.scrollWidth,t=ce()(this.translateAmp).toString(),n=(this.viewWidth-this.scrollBarWidth)/2,r=n+e*(this.getTranslateXByDate(t)-this.getTranslateXByDate(this.getStartDate()));return Math.min(Math.max(r,0),this.viewWidth-this.scrollBarWidth)}get scrollWidth(){var e=this.viewWidth+200;return Math.max(Math.abs(this.viewWidth+this.translateX-this.getTranslateXByDate(this.getStartDate())),e)}get bodyClientHeight(){return this.height-fe-1}get getColumnsWidth(){var e;if(1===this.columns.length&&(null===(e=this.columns[0])||void 0===e?void 0:e.width)<200)return[200];var t=this.columns.reduce(((e,t)=>e+(t.width||0)),0),n=this.columns.reduce(((e,t)=>e+(t.width?0:t.flex||1)),0),r=this.tableWidth-t;return this.columns.map((e=>e.width?e.width:e.flex?r*(e.flex/n):r*(1/n)))}get totalColumnWidth(){return this.getColumnsWidth.reduce(((e,t)=>e+(t||0)),0)}get bodyScrollHeight(){var e=this.getBarList.length*this.rowHeight+pe;return e"day"===r||"week"===r?e.add(1,"month"):e.add(1,"year"),i=e=>"day"===r||"week"===r?e.startOf("month"):e.startOf("year"),u=e=>"day"===r||"week"===r?e.endOf("month"):e.endOf("year"),l=ce()(t),c=[];while(l.isBetween(t-1,n+1)){var s=l.format(a),f=l,d=u(f);c.length>0&&(f=i(l)),c.push({label:s,startDate:f,endDate:d}),f=i(l),l=o(f)}return this.majorAmp2Px(c)}majorAmp2Px(e){var t=this.pxUnitAmp;return e.map((e=>{var n=e.startDate,r=e.endDate,a=e.label,o=n.valueOf()/t,i=(r.valueOf()-n.valueOf())/t;return{label:a,left:o,width:i,key:n.format("YYYY-MM-DD HH:mm:ss")}}))}getMinorList(){var e={day:this.locale.minorFormat.day,week:this.locale.minorFormat.week,month:this.locale.minorFormat.month,quarter:this.locale.minorFormat.quarter,halfYear:this.locale.minorFormat.halfYear},t=new Set([0,1,2,3,4,5]),n=this.translateAmp,r=n+this.getDurationAmp(),a=e[this.sightConfig.type],o=e=>{var t={day(){return e.add(1,"day")},week(){return e.add(1,"week")},month(){return e.add(1,"month")},quarter(){return e.add(1,"quarter")},halfYear(){return e.add(6,"month")}};return t[this.sightConfig.type]()},i=e=>{var n={day(){return e.startOf("day")},week(){return e.weekday(1).hour(0).minute(0).second(0)},month(){return e.startOf("month")},quarter(){return e.startOf("quarter")},halfYear(){return t.has(e.month())?e.month(0).startOf("month"):e.month(6).startOf("month")}};return n[this.sightConfig.type]()},u=e=>{var n={day(){return e.endOf("day")},week(){return e.weekday(7).hour(23).minute(59).second(59)},month(){return e.endOf("month")},quarter(){return e.endOf("quarter")},halfYear(){return t.has(e.month())?e.month(5).endOf("month"):e.month(11).endOf("month")}};return n[this.sightConfig.type]()},l=e=>"halfYear"===this.sightConfig.type?e.format(a)+(t.has(e.month())?this.locale.firstHalf:this.locale.secondHalf):e.format(a),c=ce()(n),s=[];while(c.isBetween(n-1,r+1)){var f=l(c),d=i(c),p=u(d);s.push({label:f.split("-").pop(),startDate:d,endDate:p}),c=o(d)}return this.minorAmp2Px(s)}minorAmp2Px(e){var t=this.pxUnitAmp;return e.map((e=>{var n=e.startDate,r=e.endDate,a=e.label,o=n.valueOf()/t,i=(r.valueOf()-n.valueOf())/t,u=!1;return"day"===this.sightConfig.type&&(u=this.isRestDay(n.toString())),{label:a,left:o,width:i,isWeek:u,key:n.format("YYYY-MM-DD HH:mm:ss")}}))}getTaskBarThumbVisible(e){var t=e.width,n=e.translateX,r=e.invalidDateRange;if(r)return!1;var a=this.translateX+this.viewWidth;return n+t0}scrollToBar(e,t){var n=e.translateX,r=e.width,a=this.translateX+this.viewWidth/2,o=n+r,i=Math.abs(o-a),u=this.translateX+i;"left"===t&&(u=this.translateX-i),this.setTranslateX(u)}get getBarList(){var e=this.pxUnitAmp,t=this.data,n=11*e,a=8,o=pe+this.rowHeight/2-a/2,i=this.rowHeight,u=t=>ce()(t*e).format("YYYY-MM-DD"),l=(t,n)=>{var r=ce()(t*e),a=ce()(n*e);return"".concat(r.diff(a,"day")+1)},c=z(t),s=c.map(((t,a)=>{var c=t.startDate&&t.endDate,s=ce()(t.startDate||0).startOf("day").valueOf(),f=ce()(t.endDate||0).endOf("day").valueOf();Math.abs(f-s)pe)this.showSelectionIndicator=!1;else{var l=Math.floor((u-pe)/this.rowHeight)*this.rowHeight+pe;this.showSelectionIndicator=!0,this.selectionIndicatorTop=l}}handleDragStart(e,t){this.dragging=e,this.draggingType=t,e.stepGesture="start",this.isPointerPress=!0}handleDragEnd(){this.dragging&&(this.dragging.stepGesture="end",this.dragging=null),this.draggingType=null,this.isPointerPress=!1}handleInvalidBarLeave(){this.handleDragEnd()}handleInvalidBarHover(e,t,n){e.translateX=t,e.width=n,this.handleDragStart(e,"create")}handleInvalidBarDragStart(e){e.stepGesture="moving"}handleInvalidBarDragEnd(e,t){e.invalidDateRange=!1,this.handleDragEnd(),this.updateTaskDate(e,t,"create")}updateBarSize(e,t){var n=t.width,r=t.x;e.width=n,e.translateX=Math.max(r,0),e.stepGesture="moving"}getMovedDay(e){return Math.round(e/Bn)}updateTaskDate(e,t,n){var r=this;return Object(me["a"])(bn.a.mark((function a(){var o,i,u,l,c,s,f,d,p,h,m,v;return bn.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(o=e.translateX,i=e.width,u=e.task,l=e.record,c=e.task.startDate,s=e.task.endDate,f=c,d=s,"move"===n?(p=r.getMovedDay((o-t.x)*r.pxUnitAmp),f=ce()(c).add(p,"day").format("YYYY-MM-DD HH:mm:ss"),d=ce()(s).add(p,"day").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")):"left"===n?(h=r.getMovedDay((o-t.x)*r.pxUnitAmp),f=ce()(c).add(h,"day").format("YYYY-MM-DD HH:mm:ss")):"right"===n?(m=r.getMovedDay((i-t.width)*r.pxUnitAmp),d=ce()(s).add(m,"day").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")):"create"===n&&(f=ce()(o*r.pxUnitAmp).format("YYYY-MM-DD HH:mm:ss"),d=ce()((o+i)*r.pxUnitAmp).subtract(1).hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")),f!==c||d!==s){a.next=8;break}return a.abrupt("return");case 8:return Object(b["g"])((()=>{e.loading=!0})),a.next=11,r.onUpdate(Object(b["i"])(l),f,d);case 11:v=a.sent,v?Object(b["g"])((()=>{u.startDate=f,u.endDate=d})):(e.width=t.width,e.translateX=t.x);case 13:case"end":return a.stop()}}),a)})))()}isToday(e){var t=ce()().format("YYYY-MM-DD"),n=ce()(e).format("YYYY-MM-DD");return n===t}},Qt=ge(Kt.prototype,"data",[b["f"],be],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Zt=ge(Kt.prototype,"originData",[b["f"],we],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Jt=ge(Kt.prototype,"columns",[b["f"],Ee],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),en=ge(Kt.prototype,"dependencies",[b["f"],Oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),tn=ge(Kt.prototype,"scrolling",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),nn=ge(Kt.prototype,"scrollTop",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),rn=ge(Kt.prototype,"collapse",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),an=ge(Kt.prototype,"tableWidth",[b["f"],ke],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),on=ge(Kt.prototype,"viewWidth",[b["f"],xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),un=ge(Kt.prototype,"width",[b["f"],Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ln=ge(Kt.prototype,"height",[b["f"],je],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),cn=ge(Kt.prototype,"bodyWidth",[b["f"],Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),sn=ge(Kt.prototype,"translateX",[b["f"],_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fn=ge(Kt.prototype,"sightConfig",[b["f"],Ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dn=ge(Kt.prototype,"showSelectionIndicator",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pn=ge(Kt.prototype,"selectionIndicatorTop",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),hn=ge(Kt.prototype,"dragging",[b["f"],Te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mn=ge(Kt.prototype,"draggingType",[b["f"],Re],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vn=ge(Kt.prototype,"disabled",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ge(Kt.prototype,"setData",[b["b"],Me,Pe],Object.getOwnPropertyDescriptor(Kt.prototype,"setData"),Kt.prototype),ge(Kt.prototype,"toggleCollapse",[b["b"],De,Ne],Object.getOwnPropertyDescriptor(Kt.prototype,"toggleCollapse"),Kt.prototype),ge(Kt.prototype,"setRowCollapse",[b["b"],Ie,Le],Object.getOwnPropertyDescriptor(Kt.prototype,"setRowCollapse"),Kt.prototype),ge(Kt.prototype,"setOnUpdate",[b["b"],Be,Fe],Object.getOwnPropertyDescriptor(Kt.prototype,"setOnUpdate"),Kt.prototype),ge(Kt.prototype,"setColumns",[b["b"],Ue,ze],Object.getOwnPropertyDescriptor(Kt.prototype,"setColumns"),Kt.prototype),ge(Kt.prototype,"setDependencies",[b["b"],Ye,We],Object.getOwnPropertyDescriptor(Kt.prototype,"setDependencies"),Kt.prototype),ge(Kt.prototype,"setHideTable",[b["b"],Ge,He],Object.getOwnPropertyDescriptor(Kt.prototype,"setHideTable"),Kt.prototype),ge(Kt.prototype,"handlePanMove",[b["b"],Ve,$e],Object.getOwnPropertyDescriptor(Kt.prototype,"handlePanMove"),Kt.prototype),ge(Kt.prototype,"handlePanEnd",[b["b"],Xe,qe],Object.getOwnPropertyDescriptor(Kt.prototype,"handlePanEnd"),Kt.prototype),ge(Kt.prototype,"syncSize",[b["b"],Ke,Qe],Object.getOwnPropertyDescriptor(Kt.prototype,"syncSize"),Kt.prototype),ge(Kt.prototype,"handleResizeTableWidth",[b["b"],Ze,Je],Object.getOwnPropertyDescriptor(Kt.prototype,"handleResizeTableWidth"),Kt.prototype),ge(Kt.prototype,"initWidth",[b["b"],et,tt],Object.getOwnPropertyDescriptor(Kt.prototype,"initWidth"),Kt.prototype),ge(Kt.prototype,"setTranslateX",[b["b"],nt,rt],Object.getOwnPropertyDescriptor(Kt.prototype,"setTranslateX"),Kt.prototype),ge(Kt.prototype,"switchSight",[b["b"],at,ot],Object.getOwnPropertyDescriptor(Kt.prototype,"switchSight"),Kt.prototype),ge(Kt.prototype,"scrollToToday",[b["b"],it,ut],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollToToday"),Kt.prototype),ge(Kt.prototype,"todayTranslateX",[b["c"],lt,ct],Object.getOwnPropertyDescriptor(Kt.prototype,"todayTranslateX"),Kt.prototype),ge(Kt.prototype,"scrollBarWidth",[b["c"],st,ft],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollBarWidth"),Kt.prototype),ge(Kt.prototype,"scrollLeft",[b["c"],dt,pt],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollLeft"),Kt.prototype),ge(Kt.prototype,"scrollWidth",[b["c"],ht,mt],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollWidth"),Kt.prototype),ge(Kt.prototype,"bodyClientHeight",[b["c"],vt,gt],Object.getOwnPropertyDescriptor(Kt.prototype,"bodyClientHeight"),Kt.prototype),ge(Kt.prototype,"getColumnsWidth",[b["c"],yt,bt],Object.getOwnPropertyDescriptor(Kt.prototype,"getColumnsWidth"),Kt.prototype),ge(Kt.prototype,"totalColumnWidth",[b["c"],wt,Et],Object.getOwnPropertyDescriptor(Kt.prototype,"totalColumnWidth"),Kt.prototype),ge(Kt.prototype,"bodyScrollHeight",[b["c"],Ot,kt],Object.getOwnPropertyDescriptor(Kt.prototype,"bodyScrollHeight"),Kt.prototype),ge(Kt.prototype,"pxUnitAmp",[b["c"],xt,St],Object.getOwnPropertyDescriptor(Kt.prototype,"pxUnitAmp"),Kt.prototype),ge(Kt.prototype,"translateAmp",[b["c"],jt,Ct],Object.getOwnPropertyDescriptor(Kt.prototype,"translateAmp"),Kt.prototype),ge(Kt.prototype,"getBarList",[b["c"],_t,At],Object.getOwnPropertyDescriptor(Kt.prototype,"getBarList"),Kt.prototype),gn=ge(Kt.prototype,"handleWheel",[b["b"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return e=>{0!==e.deltaX&&(e.preventDefault(),e.stopPropagation()),this._wheelTimer&&clearTimeout(this._wheelTimer),Math.abs(e.deltaX)>0&&(this.scrolling=!0,this.setTranslateX(this.translateX+e.deltaX)),this._wheelTimer=window.setTimeout((()=>{this.scrolling=!1}),100)}}}),ge(Kt.prototype,"getVisibleRows",[b["c"],Tt,Rt],Object.getOwnPropertyDescriptor(Kt.prototype,"getVisibleRows"),Kt.prototype),ge(Kt.prototype,"showSelectionBar",[b["b"],Mt,Pt],Object.getOwnPropertyDescriptor(Kt.prototype,"showSelectionBar"),Kt.prototype),ge(Kt.prototype,"handleDragStart",[b["b"],Dt,Nt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleDragStart"),Kt.prototype),ge(Kt.prototype,"handleDragEnd",[b["b"],It,Lt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleDragEnd"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarLeave",[b["b"],Bt,Ft],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarLeave"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarHover",[b["b"],Ut,zt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarHover"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarDragStart",[b["b"],Yt,Wt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarDragStart"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarDragEnd",[b["b"],Gt,Ht],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarDragEnd"),Kt.prototype),ge(Kt.prototype,"updateBarSize",[b["b"],Vt,$t],Object.getOwnPropertyDescriptor(Kt.prototype,"updateBarSize"),Kt.prototype),ge(Kt.prototype,"updateTaskDate",[b["b"],Xt,qt],Object.getOwnPropertyDescriptor(Kt.prototype,"updateTaskDate"),Kt.prototype),Kt),Yn=zn,Wn=(n("mP0f"),e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.getBarColor,u=n.renderBar,l=n.onBarClick,s=n.prefixCls,f=n.barHeight,d=n.alwaysShowTaskBar,p=n.renderLeftText,h=n.renderRightText,m=t.width,v=t.translateX,g=t.translateY,y=t.invalidDateRange,b=t.stepGesture,w=t.dateTextFormat,E=t.record,O=t.loading,k=t.getDateWidth,x=E||{},S=x.disabled,j=void 0!==S&&S,C="".concat(s,"-task-bar"),_=r.selectionIndicatorTop,A=r.showSelectionIndicator,T=r.rowHeight,R=r.locale,M=Object(a["useMemo"])((()=>{if(!A)return!1;var e=pe+T/2-f/2;return _===g-e}),[A,_,g,T,f]),P=Object(a["useMemo"])((()=>v+m>=ce()().valueOf()/r.pxUnitAmp?["#95DDFF","#64C7FE"]:["#FD998F","#F96B5D"]),[r.pxUnitAmp,v,m]),D=e=>()=>{j||r.handleDragStart(t,e)},N=Object(a["useCallback"])((e=>{var n=e.width,a=e.x;j||r.updateBarSize(t,{width:n,x:a})}),[t,r,j]),L=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"left")}),[t,r]),F=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"right")}),[t,r]),U=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"move")}),[t,r]),z=Object(a["useCallback"])((e=>{r.setTranslateX(r.translateX+e)}),[r]),Y=M&&!O,W=Object(a["useCallback"])((e=>{e.stopPropagation(),l&&l(t.record)}),[t.record,l]),G=c((e=>"left"===e&&r.translateX<=0)),H=Object(a["useMemo"])((()=>Bn/r.pxUnitAmp),[r.pxUnitAmp]),V=-m/r.pxUnitAmp,$=Object(a["useMemo"])((()=>{var e=Number(k(v+m+V,v));return"".concat(e," ").concat(e>1?R.days:R.day)}),[v,m,V,v]);return o.a.createElement("div",{role:"none",className:B()(C,{["".concat(C,"-invalid-date-range")]:y,["".concat(C,"-overdue")]:!y}),style:{transform:"translate(".concat(v,"px, ").concat(g,"px)")},onClick:W},O&&o.a.createElement("div",{className:"".concat(C,"-loading")}),o.a.createElement("div",null,Y&&o.a.createElement(o.a.Fragment,null,o.a.createElement(ne,{className:B()("".concat(C,"-resize-handle"),"".concat(C,"-resize-handle-left"),{["".concat(C,"-resize-handle-disabled")]:j}),style:{left:-14},onResize:N,onResizeEnd:L,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"left",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("left"),disabled:j}),o.a.createElement(ne,{className:B()("".concat(C,"-resize-handle"),"".concat(C,"-resize-handle-right"),{["".concat(C,"-resize-handle-disabled")]:j}),style:{left:m+1},onResize:N,onResizeEnd:F,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"right",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("right"),disabled:j}),o.a.createElement("div",{className:B()("".concat(C,"-resize-bg"),"".concat(C,"-resize-bg-compact")),style:{width:m+30,left:-14}})),o.a.createElement(ne,{className:"".concat(C,"-bar"),onResize:N,onResizeEnd:U,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"move",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("move")},u?u(t,{width:m+1,height:f+1}):o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:m+1,height:f+1,viewBox:"0 0 ".concat(m+1," ").concat(f+1)},o.a.createElement("path",{fill:E.backgroundColor||i&&i(E).backgroundColor||P[0],stroke:E.borderColor||i&&i(E).borderColor||P[1],d:"\n M".concat(m-2,",0.5\n l-").concat(m-5,",0\n c-0.41421,0 -0.78921,0.16789 -1.06066,0.43934\n c-0.27145,0.27145 -0.43934,0.64645 -0.43934,1.06066\n l0,5.3\n\n c0.03256,0.38255 0.20896,0.724 0.47457,0.97045\n c0.26763,0.24834 0.62607,0.40013 1.01995,0.40013\n l4,0\n\n l").concat(m-12,",0\n\n l4,0\n c0.41421,0 0.78921,-0.16789 1.06066,-0.43934\n c0.27145,-0.27145 0.43934,-0.64645 0.43934,-1.06066\n\n l0,-5.3\n c-0.03256,-0.38255 -0.20896,-0.724 -0.47457,-0.97045\n c-0.26763,-0.24834 -0.62607,-0.40013 -1.01995,-0.40013z\n ")})))),(Y||j||d)&&o.a.createElement("div",{className:"".concat(C,"-label"),style:{left:m/2-10}},$),("moving"===b||Y||d)&&o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"".concat(C,"-date-text"),style:{left:m+16}},h?h(t):w(v+m+V)),o.a.createElement("div",{className:"".concat(C,"-date-text"),style:{right:m+16}},p?p(t):w(v))))}),Gn=T(Wn),Hn=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.getBarList,r=t.getVisibleRows,i=r.count,u=r.start;return o.a.createElement(o.a.Fragment,null,n.slice(u,u+i).map((e=>e._group?o.a.createElement($,{key:e.key,data:e}):e.invalidDateRange?o.a.createElement(ue,{key:e.key,data:e}):o.a.createElement(Gn,{key:e.key,data:e}))))},Vn=T(Hn),$n=(n("cxb8"),e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.renderBarThumb,u=n.prefixCls,l=n.getBarColor,c="".concat(u,"-task-bar-thumb"),s=r.translateX,f=r.viewWidth,d=t.translateX,p=t.translateY,h=t.label,m=t.record,v=Object(a["useMemo"])((()=>{var e=s+f;return d-e>0?"right":"left"}),[d,s,f]),g=Object(a["useMemo"])((()=>"right"===v?s+f-5:s+2),[v,s,f]),y=Object(a["useCallback"])((e=>{e.stopPropagation(),r.scrollToBar(t,v)}),[t,r,v]),b=Object(a["useMemo"])((()=>m.backgroundColor||l&&l(m).backgroundColor),[m]);return o.a.createElement("div",{role:"none",className:B()(c,{["".concat(c,"-left")]:"left"===v,["".concat(c,"-right")]:"right"===v}),style:{left:g,top:p-5},onClick:y},"left"===v&&o.a.createElement("div",{className:"".concat(c,"-circle-left"),style:{backgroundColor:b}}),i?i(t.record,v):h,"right"===v&&o.a.createElement("div",{className:"".concat(c,"-circle-right"),style:{backgroundColor:b}}))}),Xn=T($n),qn=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.getBarList,r=t.getVisibleRows,i=r.count,u=r.start;return o.a.createElement(o.a.Fragment,null,n.slice(u,u+i).map((e=>t.getTaskBarThumbVisible(e)?o.a.createElement(Xn,{data:e,key:e.key}):null)))},Kn=T(qn),Qn=n("MhuM"),Zn=n.n(Qn),Jn=10,er=10;function tr(e,t,n){var r=e.x,a=e.y,o=t.x,i=t.y,u="finish_finish"===n||"start_start"===n;return u?"start_start"===n?[{x:Math.min(r-Jn,o-Jn),y:a},{x:Math.min(r-Jn,o-Jn),y:i}]:[{x:Math.max(r+Jn,o+Jn),y:a},{x:Math.max(r+Jn,o+Jn),y:i}]:[{x:"finish_start"===n?r+Jn:r-Jn,y:a},{x:"finish_start"===n?r+Jn:r-Jn,y:i-er},{x:"finish_start"===n?o-Jn:o+Jn,y:i-er},{x:"finish_start"===n?o-Jn:o+Jn,y:i}]}var nr=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.barHeight,u=t.from,l=t.to,c=t.type,s=t.color,f=void 0===s?"#f87872":s,d=r.getBarList,p=Nn()(d,(e=>e.record.id===u)),h=Nn()(d,(e=>e.record.id===l));if(!p||!h)return null;var m=i/2,v=(()=>[{x:"finish_finish"===c||"finish_start"===c?p.translateX+p.width:p.translateX,y:p.translateY+m},{x:"finish_finish"===c||"start_finish"===c?h.translateX+h.width:h.translateX,y:h.translateY+m}])(),g=Object(X["a"])(v,2),y=g[0],b=g[1],w=[...tr(y,b,c),b],E="start_finish"===c||"finish_finish"===c?-1:1;return o.a.createElement("g",{stroke:f,className:Zn.a["task-dependency-line"]},o.a.createElement("path",{style:{stroke:f},d:"\n M".concat(y.x,",").concat(y.y,"\n ").concat(w.map((e=>"L".concat(e.x,",").concat(e.y))).join("\n"),"\n L").concat(b.x,",").concat(b.y,"\n "),strokeWidth:"1",fill:"none"}),o.a.createElement("path",{name:"arrow",strokeWidth:"1",fill:f,d:"\n M".concat(b.x,",").concat(b.y," \n L").concat(b.x-4*E,",").concat(b.y-3*E," \n L").concat(b.x-4*E,",").concat(b.y+3*E," \n Z")}))},rr=T(nr),ar=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.dependencies;return o.a.createElement(o.a.Fragment,null,n.map((e=>o.a.createElement(rr,{key:JSON.stringify(e),data:e}))))},or=T(ar),ir=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.dragging,r=t.draggingType,i=t.bodyScrollHeight;if(!n)return null;var u=n.width,l=n.translateX,c=l,s=l+u,f="left"===r||"move"===r,d="right"===r||"move"===r;return o.a.createElement("g",{fill:"#DAE0FF",stroke:"#7B90FF"},f&&o.a.createElement("path",{d:"M".concat(c,",0 L").concat(c,",").concat(i)}),o.a.createElement("rect",{x:c,y:"0",width:u,height:i,strokeWidth:"0"}),d&&o.a.createElement("path",{d:"M".concat(s,",0 L").concat(s,",").concat(i)}))},ur=T(ir),lr=(n("6USC"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls;return o.a.createElement("div",{className:"".concat(n,"-today"),style:{transform:"translate(".concat(t.todayTranslateX,"px)")}},o.a.createElement("div",{className:"".concat(n,"-today_line"),style:{height:t.bodyScrollHeight}}))}),cr=T(lr),sr=(n("P92K"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.tableWidth,i=t.viewWidth,u=t.bodyScrollHeight,l=t.translateX,c=t.chartElementRef,s=t.getMinorList(),f=Object(a["useCallback"])((e=>{e.persist(),t.handleMouseMove(e)}),[t]),d=Object(a["useCallback"])((()=>{t.handleMouseLeave()}),[t]);return Object(a["useEffect"])((()=>{var e=c.current;return e&&e.addEventListener("wheel",t.handleWheel),()=>{e&&e.removeEventListener("wheel",t.handleWheel)}}),[c,t]),o.a.createElement("div",{ref:c,className:"".concat(n,"-chart"),onMouseMove:f,onMouseLeave:d,style:{left:r,width:i,height:u}},o.a.createElement("svg",{className:"".concat(n,"-chart-svg-renderer"),xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:i,height:u,viewBox:"".concat(l," 0 ").concat(i," ").concat(u)},o.a.createElement("defs",null,o.a.createElement("pattern",{id:"repeat",width:"4.5",height:"10",patternUnits:"userSpaceOnUse",patternTransform:"rotate(70 50 50)"},o.a.createElement("line",{stroke:"#c6c6c6",strokeWidth:"1px",y2:"10"}))),s.map((e=>e.isWeek?o.a.createElement("g",{key:e.key,stroke:"#f0f0f0"},o.a.createElement("path",{d:"M".concat(e.left,",0 L").concat(e.left,",").concat(u)}),o.a.createElement("rect",{fill:"url(#repeat)",opacity:"0.5",strokeWidth:"0",x:e.left,y:0,width:e.width,height:u})):o.a.createElement("g",{key:e.key,stroke:"#f0f0f0"},o.a.createElement("path",{d:"M".concat(e.left,",0 L").concat(e.left,",").concat(u)})))),o.a.createElement(ur,null),o.a.createElement(or,null)),o.a.createElement("div",{className:"".concat(n,"-render-chunk"),style:{height:u,transform:"translateX(-".concat(l,"px")}},o.a.createElement(Kn,null),o.a.createElement(Vn,null),o.a.createElement(cr,null)))}),fr=Object(a["memo"])(T(sr));function dr(e,t){var n=t.initSize,r=t.minWidth,o=t.maxWidth,i=Object(a["useState"])(!1),u=Object(X["a"])(i,2),l=u[0],s=u[1],f=Object(a["useRef"])({left:0}),d=Object(a["useRef"])(n),p=c(function(){var t=Object(me["a"])(bn.a.mark((function t(n){var a,i;return bn.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=n.clientX-f.current.left,i=d.current.width+a,void 0!==r&&(i=Math.max(i,r)),void 0!==o&&(i=Math.min(i,o)),e({width:i});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),h=Object(a["useCallback"])((()=>{window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),s(!1)}),[p]),m=Object(a["useCallback"])((e=>{f.current.left=e.clientX,d.current=n,window.addEventListener("mousemove",p),window.addEventListener("mouseup",h),s(!0)}),[p,h,n]);return[m,l]}n("YH2X");var pr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.tableCollapseAble,r=e.prefixCls,i="".concat(r,"-divider"),u=t.tableWidth,l=Object(a["useCallback"])((e=>{e.stopPropagation(),t.toggleCollapse()}),[t]),c=u,s=Object(a["useCallback"])((e=>{var n=e.width;t.handleResizeTableWidth(n)}),[t]),f=dr(s,{initSize:{width:u},minWidth:200,maxWidth:.6*t.width}),d=Object(X["a"])(f,2),p=d[0],h=d[1];return o.a.createElement("div",{role:"none",className:B()(i,{["".concat(i,"_only")]:!n}),style:{left:c-1},onMouseDown:0===u?void 0:p},h&&o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:"col-resize"}}),o.a.createElement("hr",null),n&&o.a.createElement("div",{className:"".concat(i,"-icon-wrapper"),role:"none",onMouseDown:e=>e.stopPropagation(),onClick:l},o.a.createElement("i",{className:B()("".concat(i,"-arrow"),{["".concat(i,"-reverse")]:c<=0})})))},hr=T(pr),mr=(n("NERh"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.tableWidth,i=t.viewWidth,u=t.scrollBarWidth,l="".concat(n,"-scroll_bar"),s=Object(a["useState"])(!1),f=Object(X["a"])(s,2),d=f[0],p=f[1],h=Object(a["useRef"])({scrollLeft:0,left:0,translateX:0}),m=c((e=>{var n=e.clientX-h.current.left;t.setTranslateX(n*(t.viewWidth/t.scrollBarWidth)+h.current.translateX)})),v=Object(a["useCallback"])((()=>{window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",v),p(!1)}),[m]),g=Object(a["useCallback"])((e=>{h.current.left=e.clientX,h.current.translateX=t.translateX,h.current.scrollLeft=t.scrollLeft,window.addEventListener("mousemove",m),window.addEventListener("mouseup",v),p(!0)}),[m,v,t.scrollLeft,t.translateX]);return o.a.createElement("div",{role:"none",className:l,style:{left:r,width:i},onMouseDown:g},d&&o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:"col-resize"}}),o.a.createElement("div",{className:"".concat(l,"-thumb"),style:{width:u,left:t.scrollLeft}}))}),vr=Object(a["memo"])(T(mr)),gr=(n("N5wQ"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.scrollTop,r=e.prefixCls,i=t.scrollTop,u=Object(a["useCallback"])((()=>{t.mainElementRef.current&&(t.mainElementRef.current.scrollTop=0)}),[t.mainElementRef]);if(i<=100||!t.mainElementRef.current)return null;var l="".concat(r,"-scroll_top");return o.a.createElement("div",{className:l,style:n instanceof Object?n:void 0,onClick:u})}),yr=T(gr),br=(n("YvcH"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.showSelectionIndicator,i=t.selectionIndicatorTop,u=t.rowHeight,l="".concat(n,"-selection-indicator");return r?o.a.createElement("div",{className:l,style:{height:u,top:i}}):null}),wr=T(br),Er=(n("dQB0"),e=>{var t=e.onClick,n=e.collapsed,r=e.level,a=e.prefixCls,i=void 0===a?"":a,u="".concat(i,"-row-toggler");return o.a.createElement("div",{role:"none",onClick:t,className:u},o.a.createElement("div",{className:B()(u,{["".concat(u,"-collapsed")]:n})},o.a.createElement("i",{"data-level":r},o.a.createElement("svg",{viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M296.704 409.6a14.9504 14.9504 0 0 0-10.752 4.608 15.5648 15.5648 0 0 0 0.1536 21.7088l210.8416 212.0704a24.832 24.832 0 0 0 35.584-0.256l205.5168-211.968a15.5136 15.5136 0 0 0 4.352-10.752c0-8.4992-6.7584-15.4112-15.104-15.4112h-430.592z"})))))}),Or=Er,kr=(n("cpSw"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.onRow,i=e.tableIndent,u=e.expandIcon,l=e.prefixCls,c=e.onExpand,s=t.columns,f=t.rowHeight,d=t.getColumnsWidth,p=t.getBarList,h=t.getVisibleRows,m=h.count,v=h.start,g="".concat(l,"-table-body");return 0===p.length?o.a.createElement("div",{style:{textAlign:"center",color:" rgba(0,0,0,0.65)",marginTop:30}},"\u6682\u65e0\u6570\u636e"):o.a.createElement(o.a.Fragment,null,p.slice(v,v+m).map(((e,a)=>{var p=e._parent,h=null===p||void 0===p?void 0:p._parent,m=!1;return null!==h&&void 0!==h&&h.children&&h.children[h.children.length-1]===e._parent&&(m=!0),o.a.createElement("div",{key:e.key,role:"none",className:"".concat(g,"-row"),style:{height:f,top:(a+v)*f+pe},onClick:()=>{null===n||void 0===n||n.onClick(e.record)}},s.map(((n,a)=>o.a.createElement("div",{key:n.name,className:"".concat(g,"-cell"),style:Object(r["a"])({width:d[a],minWidth:n.minWidth,maxWidth:n.maxWidth,textAlign:n.align?n.align:"left",paddingLeft:0===a?i*(e._depth+1)+10:12},n.style)},0===a&&new Array(e._depth).fill(0).map(((t,n)=>o.a.createElement("div",{key:n,className:B()("".concat(g,"-row-indentation"),{["".concat(g,"-row-indentation-hidden")]:m&&n===e._depth-2,["".concat(g,"-row-indentation-both")]:n===e._depth-1}),style:{top:-f/2+1,left:i*n+15,width:1.5*i+5}}))),0===a&&e._childrenCount>0&&o.a.createElement("div",{style:{position:"absolute",left:i*e._depth+15,background:"white",zIndex:9,transform:"translateX(-52%)",padding:1}},u?u({level:e._depth,collapsed:e._collapsed,onClick:n=>{n.stopPropagation(),c&&c(e.task.record,!e._collapsed),t.setRowCollapse(e.task,!e._collapsed)}}):o.a.createElement(Or,{prefixCls:l,level:e._depth,collapsed:e._collapsed,onClick:n=>{n.stopPropagation(),c&&c(e.task.record,!e._collapsed),t.setRowCollapse(e.task,!e._collapsed)}})),o.a.createElement("span",{className:"".concat(g,"-ellipsis")},n.render?n.render(e.record):e.record[n.name])))))})))}),xr=T(kr),Sr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,i=t.columns,u=t.getColumnsWidth,l=t.getBarList;if(0===l.length)return null;var c="".concat(n,"-table-body");return o.a.createElement("div",{role:"none",className:"".concat(c,"-border_row")},i.map(((e,t)=>o.a.createElement("div",{key:e.name,className:"".concat(c,"-cell"),style:Object(r["a"])({width:u[t],minWidth:e.minWidth,maxWidth:e.maxWidth,textAlign:e.align?e.align:"left"},e.style)}))))},jr=T(Sr),Cr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=Object(a["useCallback"])((e=>{e.persist(),t.handleMouseMove(e)}),[t]),i=Object(a["useCallback"])((()=>{t.handleMouseLeave()}),[t]),u="".concat(n,"-table-body");return o.a.createElement("div",{className:u,style:{width:t.tableWidth,height:t.bodyScrollHeight},onMouseMove:r,onMouseLeave:i},o.a.createElement(jr,null),o.a.createElement(xr,null))},_r=T(Cr),Ar=(n("39ZV"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,i=t.columns,u=t.tableWidth,l=u,c=t.getColumnsWidth,s="".concat(n,"-table-header");return o.a.createElement("div",{className:s,style:{width:l,height:56}},o.a.createElement("div",{className:"".concat(s,"-head"),style:{width:l,height:56}},o.a.createElement("div",{className:"".concat(s,"-row"),style:{height:56}},i.map(((e,t)=>o.a.createElement("div",{key:e.name,className:"".concat(s,"-cell"),style:Object(r["a"])({width:c[t],minWidth:e.minWidth,maxWidth:e.maxWidth,textAlign:e.align?e.align:"left"},e.style)},o.a.createElement("div",{className:"".concat(s,"-head-cell")},o.a.createElement("span",{className:"".concat(s,"-ellipsis")},e.label))))))))}),Tr=T(Ar),Rr=(n("FDiJ"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r="".concat(n,"-time-axis"),i=t.sightConfig,u=t.isToday,l=t.getMajorList(),c=t.getMinorList(),s=Object(a["useCallback"])((e=>{var n=e.x;t.handlePanMove(-n)}),[t]),f=Object(a["useCallback"])((()=>{t.handlePanEnd()}),[t]),d=Object(a["useCallback"])((e=>{var t=e.key,n=i.type;return"day"===n&&u(t)}),[i,u]);return o.a.createElement(ne,{onResize:s,onResizeEnd:f,defaultSize:{x:-t.translateX,width:0},type:"move"},o.a.createElement("div",{className:r,style:{left:t.tableWidth,width:t.viewWidth}},o.a.createElement("div",{className:"".concat(r,"-render-chunk"),style:{transform:"translateX(-".concat(t.translateX,"px")}},l.map((e=>o.a.createElement("div",{key:e.key,className:"".concat(r,"-major"),style:{width:e.width,left:e.left}},o.a.createElement("div",{className:"".concat(r,"-major-label")},e.label)))),c.map((e=>o.a.createElement("div",{key:e.key,className:B()("".concat(r,"-minor")),style:{width:e.width,left:e.left}},o.a.createElement("div",{className:B()("".concat(r,"-minor-label"),{["".concat(r,"-today")]:d(e)})},e.label)))))))}),Mr=T(Rr),Pr="click";function Dr(e,t,n){void 0===n&&(n=Pr);var r=Object(a["useRef"])(e);r.current=e,Object(a["useEffect"])((function(){var e=function(e){var n=Array.isArray(t)?t:[t];n.some((function(t){var n=u(t);return!n||(null===n||void 0===n?void 0:n.contains(e.target))}))||r.current(e)};return document.addEventListener(n,e),function(){document.removeEventListener(n,e)}}),[t,n])}n("eR7F");var Nr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.sightConfig,i=t.scrolling,u=t.viewTypeList,l=Object(a["useState"])(!1),c=Object(X["a"])(l,2),s=c[0],f=c[1],d=Object(a["useRef"])(null);Dr((()=>{f(!1)}),d);var p=Object(a["useCallback"])((()=>{f(!0)}),[]),h=Object(a["useCallback"])((e=>{t.switchSight(e.type),f(!1)}),[t]),m=r.type,v=Object(a["useCallback"])((e=>e===m),[m]);return o.a.createElement("div",{className:"".concat(n,"-time-axis-scale-select"),ref:d},o.a.createElement("div",{role:"none",className:"".concat(n,"-trigger"),onClick:p},o.a.createElement("div",{className:"".concat(n,"-text")},r.label),o.a.createElement("span",{className:"dropdown-icon"},o.a.createElement("svg",{id:"at-triangle-down-s",viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M296.704 409.6a14.9504 14.9504 0 0 0-10.752 4.608 15.5648 15.5648 0 0 0 0.1536 21.7088l210.8416 212.0704a24.832 24.832 0 0 0 35.584-0.256l205.5168-211.968a15.5136 15.5136 0 0 0 4.352-10.752c0-8.4992-6.7584-15.4112-15.104-15.4112h-430.592z"})))),o.a.createElement("div",{className:B()("".concat(n,"-shadow"),{["".concat(n,"-scrolling")]:i})}),s&&o.a.createElement("div",{className:B()("next-overlay-wrapper","opened")},o.a.createElement("div",{className:B()("next-overlay-inner"),"aria-hidden":"false",style:{position:"absolute",right:15,top:60}},o.a.createElement("div",{className:"next-loading-wrap"},o.a.createElement("ul",{role:"listbox",className:B()("next-menu"),"aria-multiselectable":"false"},u.map((e=>o.a.createElement("li",{key:e.type,role:"none",onClick:()=>{h(e)},className:B()("next-menu-item",{"next-selected":v(e.type)})},v(e.type)&&o.a.createElement("i",{className:"".concat(n,"-selected_icon")},o.a.createElement("svg",{viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M413.7472 768a29.5936 29.5936 0 0 1-21.6576-9.472l-229.5296-241.152a33.3824 33.3824 0 0 1 0-45.5168 29.696 29.696 0 0 1 43.4176 0l207.7696 218.368 404.2752-424.7552a29.5936 29.5936 0 0 1 43.4176 0 33.3824 33.3824 0 0 1 0 45.568l-425.984 447.488A29.5936 29.5936 0 0 1 413.696 768"}))),o.a.createElement("span",{className:"next-menu-item-text","aria-selected":"true"},e.label)))))))))},Ir=T(Nr),Lr=(n("nyXu"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.scrolling,i=t.translateX,u=t.tableWidth,l=t.viewWidth,c=t.todayTranslateX,s=t.locale,f="".concat(n,"-time-indicator"),d=c{var e=ci+l;return e||t?"block":"none"}),[c,i,l]),v=Object(a["useCallback"])((()=>{t.scrollToToday()}),[t]);return o.a.createElement("button",{onClick:v,className:B()(f,{["".concat(f,"-scrolling")]:r}),type:"button","data-role":"button",style:{left:p,right:h,display:m}},o.a.createElement("span",null,s.today))}),Br=T(Lr),Fr=(n("1RDt"),Object.freeze({today:"Today",day:"Day",days:"Days",week:"Week",month:"Month",quarter:"Quarter",halfYear:"Half year",firstHalf:"First half",secondHalf:"Second half",majorFormat:{day:"YYYY, MMMM",week:"YYYY, MMMM",month:"YYYY",quarter:"YYYY",halfYear:"YYYY"},minorFormat:{day:"D",week:"wo [week]",month:"MMMM",quarter:"[Q]Q",halfYear:"YYYY-"}})),Ur=Object.freeze({today:"\u4eca\u5929",day:"\u65e5\u89c6\u56fe",days:"\u5929\u6570",week:"\u5468\u89c6\u56fe",month:"\u6708\u89c6\u56fe",quarter:"\u5b63\u89c6\u56fe",halfYear:"\u5e74\u89c6\u56fe",firstHalf:"\u4e0a\u534a\u5e74",secondHalf:"\u4e0b\u534a\u5e74",majorFormat:{day:"YYYY\u5e74MM\u6708",week:"YYYY\u5e74MM\u6708",month:"YYYY\u5e74",quarter:"YYYY\u5e74",halfYear:"YYYY\u5e74"},minorFormat:{day:"YYYY-MM-D",week:"YYYY-w\u5468",month:"YYYY-MM\u6708",quarter:"YYYY-\u7b2cQ\u5b63",halfYear:"YYYY-"}}),zr="gantt",Yr=e=>{var t=e.children,n=Object(a["useContext"])(I),r=n.store,i=Object(a["useRef"])(null),u=y(i);return Object(a["useEffect"])((()=>{r.syncSize(u)}),[u,r]),o.a.createElement("div",{className:"".concat(zr,"-body"),ref:i},t)},Wr=Object(r["a"])({},Ur),Gr=e=>{var t=e.data,n=e.columns,i=e.dependencies,u=void 0===i?[]:i,l=e.onUpdate,c=e.startDateKey,s=void 0===c?"startDate":c,f=e.endDateKey,d=void 0===f?"endDate":f,p=e.isRestDay,h=e.getBarColor,m=e.showBackToday,v=void 0===m||m,g=e.showUnitSwitch,y=void 0===g||g,b=e.unit,w=e.onRow,E=e.tableIndent,O=void 0===E?he:E,k=e.expandIcon,x=e.renderBar,S=e.renderInvalidBar,j=e.renderGroupBar,C=e.onBarClick,_=e.tableCollapseAble,A=void 0===_||_,T=e.renderBarThumb,R=e.scrollTop,M=void 0===R||R,P=e.rowHeight,D=void 0===P?se:P,N=e.innerRef,L=e.disabled,B=void 0!==L&&L,F=e.alwaysShowTaskBar,U=void 0===F||F,z=e.renderLeftText,Y=e.renderRightText,W=e.onExpand,G=e.customSights,H=void 0===G?[]:G,V=e.locale,$=void 0===V?Object(r["a"])({},Wr):V,X=e.hideTable,q=void 0!==X&&X,K=Object(a["useMemo"])((()=>new Yn({rowHeight:D,disabled:B,customSights:H,locale:$})),[D]);Object(a["useEffect"])((()=>{K.setData(t,s,d)}),[t,d,s,K]),Object(a["useEffect"])((()=>{K.setColumns(n)}),[n,K]),Object(a["useEffect"])((()=>{K.setOnUpdate(l)}),[l,K]),Object(a["useEffect"])((()=>{K.setDependencies(u)}),[u,K]),Object(a["useEffect"])((()=>{K.setHideTable(q)}),[q]),Object(a["useEffect"])((()=>{p&&K.setIsRestDay(p)}),[p,K]),Object(a["useEffect"])((()=>{b&&K.switchSight(b)}),[b,K]),Object(a["useImperativeHandle"])(N,(()=>({backToday:()=>K.scrollToToday(),getWidthByDate:K.getWidthByDate})));var Q=o.a.useMemo((()=>({prefixCls:zr,store:K,getBarColor:h,showBackToday:v,showUnitSwitch:y,onRow:w,tableIndent:O,expandIcon:k,renderBar:x,renderInvalidBar:S,renderGroupBar:j,onBarClick:C,tableCollapseAble:A,renderBarThumb:T,scrollTop:M,barHeight:de,alwaysShowTaskBar:U,renderLeftText:z,renderRightText:Y,onExpand:W,hideTable:q})),[K,h,v,y,w,O,k,x,S,j,C,A,T,M,U,z,Y,W,q]);return o.a.createElement(I.Provider,{value:Q},o.a.createElement(Yr,null,o.a.createElement("header",null,!q&&o.a.createElement(Tr,null),o.a.createElement(Mr,null)),o.a.createElement("main",{ref:K.mainElementRef,onScroll:K.handleScroll},o.a.createElement(wr,null),!q&&o.a.createElement(_r,null),o.a.createElement(fr,null)),!q&&o.a.createElement(hr,null),v&&o.a.createElement(Br,null),y&&o.a.createElement(Ir,null),o.a.createElement(vr,null),M&&o.a.createElement(yr,null)))},Hr=Gr;t["b"]=Hr},"2Yex":function(e,t,n){"use strict";var r=n("OOCw"),a=n("YfbA").includes,o=n("ZGY3"),i=n("7/pz"),u=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!u},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},"2fm6":function(e,t,n){"use strict";var r=n("sErw"),a=n("lkgX");e.exports=function(){for(var e,t=r(this),n=a(t["delete"]),o=!0,i=0,u=arguments.length;i-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},"2lI5":function(e,t,n){var r=n("67Yi"),a=n("orhk"),o=n("zzA2");function i(e){var t=-1,n=null==e?0:e.length;this.__data__=new r;while(++te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var t=e.demos,n=t["website-basic.en-us"].component,r=t["website-add.en-us"].component,c=t["website-child"].component,s=t["website-column"].component,f=t["website-dependence"].component,d=t["website-render"].component,p=t["website-filterunit"].component,h=t["website-custom"].component;return a.a.createElement(a.a.Fragment,null,a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"component"},a.a.createElement(o["AnchorLink"],{to:"#component","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Component"),a.a.createElement("h3",{id:"basic-component"},a.a.createElement(o["AnchorLink"],{to:"#basic-component","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Basic Component"),a.a.createElement("p",null,"use ",a.a.createElement("code",null,"data")," ",a.a.createElement("code",null,"columns")," ",a.a.createElement("code",null,"onUpdate")," config, Show a basic Gantt chart")),a.a.createElement(i["default"],t["website-basic.en-us"].previewerProps,a.a.createElement(n,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"add-task-bar"},a.a.createElement(o["AnchorLink"],{to:"#add-task-bar","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Add Task Bar"),a.a.createElement("p",null,"click to create task",a.a.createElement("code",null,"bar"))),a.a.createElement(i["default"],t["website-add.en-us"].previewerProps,a.a.createElement(r,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"multi-level-structure"},a.a.createElement(o["AnchorLink"],{to:"#multi-level-structure","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Multi-level structure"),a.a.createElement("p",null,"Ensure that each node contains the ",a.a.createElement("code",null,"children")," attribute to achieve a multi-level structure"),a.a.createElement("p",null,"You can get the current expanded status with ",a.a.createElement("code",null,"onExpand"))),a.a.createElement(i["default"],t["website-child"].previewerProps,a.a.createElement(c,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"customizing-table-columns"},a.a.createElement(o["AnchorLink"],{to:"#customizing-table-columns","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Customizing table columns"),a.a.createElement("p",null,a.a.createElement("code",null,"columns")," type definition see Type Definition"),a.a.createElement("p",null,"where if each column is configured with the ",a.a.createElement("code",null,"width")," property. The total width is calculated internally by the component. The default initialized table width is the total width")),a.a.createElement(i["default"],t["website-column"].previewerProps,a.a.createElement(s,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"dependency-structure"},a.a.createElement(o["AnchorLink"],{to:"#dependency-structure","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Dependency Structure")),a.a.createElement(i["default"],t["website-dependence"].previewerProps,a.a.createElement(f,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"custom-rendering"},a.a.createElement(o["AnchorLink"],{to:"#custom-rendering","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Custom Rendering")),a.a.createElement(i["default"],t["website-render"].previewerProps,a.a.createElement(d,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"customized-filtering"},a.a.createElement(o["AnchorLink"],{to:"#customized-filtering","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Customized filtering"),a.a.createElement("p",null,"Default current date filtering support Day, Week, Month, Quarter, Year. Support incoming configuration to customize the filtering dimension")),a.a.createElement(i["default"],t["website-filterunit"].previewerProps,a.a.createElement(p,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"advanced-usage"},a.a.createElement(o["AnchorLink"],{to:"#advanced-usage","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Advanced Usage"),a.a.createElement("p",null,"Introducing the use of the built-in methods on ",a.a.createElement("code",null,"alwaysShowTaskBar"),", ",a.a.createElement("code",null,"unit")," and ",a.a.createElement("code",null,"innerRef"),".")),a.a.createElement(i["default"],t["website-custom"].previewerProps,a.a.createElement(h,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"type-definition"},a.a.createElement(o["AnchorLink"],{to:"#type-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Type Definition"),a.a.createElement("h3",{id:"column-definition"},a.a.createElement(o["AnchorLink"],{to:"#column-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Column")," Definition"),a.a.createElement(u["a"],{code:"export type ColumnAlign = 'center' | 'right' | 'left'\r\nexport interface Column {\r\n width?: number\r\n minWidth?: number\r\n maxWidth?: number\r\n flex?: number\r\n name: string\r\n label: string\r\n style?: Object\r\n render?: (item: Record) => React.ReactNode\r\n align?: ColumnAlign\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"data-definition"},a.a.createElement(o["AnchorLink"],{to:"#data-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"data")," Definition"),a.a.createElement("p",null,"The following fields are built in, and special treatment will be done if the data contains the following attributes"),a.a.createElement(u["a"],{code:"export type Record = RecordType & {\r\n group?: boolean\r\n borderColor?: string\r\n backgroundColor?: string\r\n collapsed?: boolean\r\n children?: Record[]\r\n disabled?: boolean\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"dependence-definition"},a.a.createElement(o["AnchorLink"],{to:"#dependence-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Dependence")," Definition"),a.a.createElement(u["a"],{code:"export type DependenceType = 'start_finish' | 'finish_start' | 'start_start' | 'finish_finish'\r\nexport interface Dependence {\r\n from: string\r\n to: string\r\n type: DependenceType\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"bar-definition"},a.a.createElement(o["AnchorLink"],{to:"#bar-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Bar")," Definition"),a.a.createElement("p",null,"When we need to use some custom functions, we will be returned the following type of data, where ",a.a.createElement("code",null,"record")," is the source data"),a.a.createElement(u["a"],{code:"export interface Bar {\r\n key: React.Key\r\n label: string\r\n width: number\r\n translateX: number\r\n translateY: number\r\n stepGesture: string\r\n invalidDateRange: boolean\r\n dateTextFormat: (startX: number) => string\r\n getDateWidth: (startX: number, endX: number) => string\r\n task: Item\r\n record: Record\r\n loading: boolean\r\n _group?: boolean\r\n _collapsed: boolean\r\n _depth: number\r\n _index?: number\r\n _childrenCount: number\r\n _parent?: Item\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"sight-definition"},a.a.createElement(o["AnchorLink"],{to:"#sight-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Sight")," Definition"),a.a.createElement(u["a"],{code:"export type Sight = 'day' | 'week' | 'month' | 'quarter' | 'halfYear'",lang:"typescript"}),a.a.createElement("h2",{id:"api"},a.a.createElement(o["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"API"),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"data"),a.a.createElement("td",null,"\u6570\u636e\u6e90"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Record[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"columns"),a.a.createElement("td",null,"\u6570\u636e\u5217"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Column[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"dependencies"),a.a.createElement("td",null,"\u4f9d\u8d56\u6570\u7ec4"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Dependence[]")),a.a.createElement("td",null,a.a.createElement("code",null,"[]"))),a.a.createElement("tr",null,a.a.createElement("td",null,"onUpdate"),a.a.createElement("td",null,"\u66f4\u65b0\u56de\u8c03"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record, startDate: string, endDate: string) => Promise")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"startDateKey"),a.a.createElement("td",null,"\u5f00\u59cb\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"endDateKey"),a.a.createElement("td",null,"\u7ed3\u675f\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"isRestDay"),a.a.createElement("td",null,"\u8fd4\u56de\u662f\u5426\u662f\u8282\u5047\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"(date: string) => boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"unit"),a.a.createElement("td",null,"\u5f53\u524d\u89c6\u56fe"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Sight")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"rowHeight"),a.a.createElement("td",null,"\u884c\u9ad8"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getBarColor"),a.a.createElement("td",null,"\u8fd4\u56de\u9ed8\u8ba4\u6761\u6837\u5f0f"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => ","{","backgroundColor: string;borderColor: string","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showBackToday"),a.a.createElement("td",null,"\u5c55\u793a\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showUnitSwitch"),a.a.createElement("td",null,"\u5c55\u793a\u89c6\u56fe\u5207\u6362"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onRow"),a.a.createElement("td",null,"\u884c\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"{","onClick: (record: Gantt.Record) => void","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"tableIndent"),a.a.createElement("td",null,"\u8868\u683c\u7f29\u8fdb"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null,a.a.createElement("code",null,"30"))),a.a.createElement("tr",null,a.a.createElement("td",null,"expandIcon"),a.a.createElement("td",null,"\u5c55\u5f00\u5b50\u8282\u70b9\u56fe\u8868"),a.a.createElement("td",null,"``"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3 bar"),a.a.createElement("td",null,a.a.createElement("code",null,"renderBar?: (barInfo: Gantt.Bar, ","{"," width, height ","}",": ","{"," width: number; height: number ","}",") => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderGroupBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u7ec4"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderInvalidBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u62d6\u62fd"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBarThumb"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7f29\u7565\u6e32\u67d3"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onBarClick"),a.a.createElement("td",null,"\u884c\u70b9\u51fb\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => void")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"alwaysShowTaskBar"),a.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5de6\u53f3\u4fa7\u5185\u5bb9"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"true"))),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528\u56fe\u8868"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"false"))),a.a.createElement("tr",null,a.a.createElement("td",null,"renderLeftText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u5de6\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderRightText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u53f3\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onExpand"),a.a.createElement("td",null,"\u70b9\u51fb\u5c55\u5f00\u56fe\u6807\u65f6\u89e6\u53d1"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record,collapsed:boolean) => void")),a.a.createElement("td",null)))),a.a.createElement("h2",{id:"methods"},a.a.createElement(o["AnchorLink"],{to:"#methods","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Methods"),a.a.createElement("p",null,"has ",a.a.createElement("code",null,"innerRef")),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)))))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(c,{demos:n})}},"4Whr":function(e,t,n){"use strict";var r=n("OOCw"),a=n("h+/6"),o=n("g0aX"),i=n("x+sk"),u=n("OdMF"),l=n("upgS"),c=n("tmip"),s=n("63eO"),f=n("THrr"),d=n("3Hes"),p=n("tDGd"),h=d("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)},w=!g||!y;r({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,r,a,o,i=u(this),f=s(i,0),d=0;for(t=-1,r=arguments.length;tm)throw TypeError(v);for(n=0;n=m)throw TypeError(v);c(f,d++,o)}return f.length=d,f}})},"4Yrd":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return hn})),n.d(t,"h",(function(){return w})),n.d(t,"j",(function(){return Ye})),n.d(t,"f",(function(){return Me})),n.d(t,"c",(function(){return we})),n.d(t,"b",(function(){return R})),n.d(t,"g",(function(){return M})),n.d(t,"d",(function(){return On})),n.d(t,"i",(function(){return jn})),n.d(t,"e",(function(){return zt}));var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i}function l(){for(var e=[],t=0;t0)for(var l=0;l",e):2===arguments.length&&"function"===typeof t?E(e,t):1===arguments.length&&"string"===typeof e?_(e):!0!==r?_(t).apply(null,arguments):void(e[t]=E(e.name||t,n.value))};function M(e,t){var n="string"===typeof e?e:e.name||"",r="function"===typeof e?e:t;return O(n,r,this,void 0)}function P(e,t,n){xt(e,t,E(t,n.bind(e)))}R.bound=T;var D=Object.prototype.toString;function N(e,t){return I(e,t)}function I(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var a=typeof e;return("function"===a||"object"===a||"object"==typeof t)&&L(e,t,n,r)}function L(e,t,n,r){e=B(e),t=B(t);var a=D.call(e);if(a!==D.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var o="[object Array]"===a;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var i=e.constructor,u=t.constructor;if(i!==u&&!("function"===typeof i&&i instanceof i&&"function"===typeof u&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];var l=n.length;while(l--)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),o){if(l=e.length,l!==t.length)return!1;while(l--)if(!I(e[l],t[l],n,r))return!1}else{var c,s=Object.keys(e);if(l=s.length,Object.keys(t).length!==l)return!1;while(l--)if(c=s[l],!F(t,c)||!I(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function B(e){return st(e)?e.peek():At(e)||$e(e)?Rt(e.entries()):e}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function U(e,t){return e===t}function z(e,t){return N(e,t)}function Y(e,t){return _t(e,t)||U(e,t)}var W={identity:U,structural:z,default:Y};function G(e,t){void 0===t&&(t=pt);var n,r=t&&t.name||e.name||"Autorun@"+mt(),a=!t.scheduler&&!t.delay;if(a)n=new hn(r,(function(){this.track(u)}),t.onError);else{var o=V(t),i=!1;n=new hn(r,(function(){i||(i=!0,o((function(){i=!1,n.isDisposed||n.track(u)})))}),t.onError)}function u(){e(n)}return n.schedule(),n.getDisposer()}var H=function(e){return e()};function V(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:H}var $=function(){function e(e){this.dependenciesState=Dt.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Dt.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+mt(),this.value=new en(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Nt.NONE,this.derivation=e.get,this.name=e.name||"ComputedValue@"+mt(),e.set&&(this.setter=E(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?W.structural:W["default"]),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){Qt(this)},e.prototype.onBecomeUnobserved=function(){},e.prototype.onBecomeObserved=function(){},e.prototype.get=function(){this.isComputing&&vt("Cycle detected in computation "+this.name+": "+this.derivation),0!==Ft.inBatch||0!==this.observers.length||this.keepAlive?(Xt(this),nn(this)&&this.trackAndCompute()&&Kt(this)):nn(this)&&(this.warnAboutUntrackedRead(),Vt(),this.value=this.computeValue(!1),$t());var e=this.value;if(tn(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(tn(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){gt(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else gt(!1,!1)},e.prototype.trackAndCompute=function(){m()&&v({object:this.scope,type:"compute",name:this.name});var e=this.value,t=this.dependenciesState===Dt.NOT_TRACKING,n=this.computeValue(!0),r=t||tn(e)||tn(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Ft.computationDepth++,e)t=an(this,this.derivation,this.scope);else if(!0===Ft.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(n){t=new en(n)}return Ft.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(un(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,a=void 0;return G((function(){var o=n.get();if(!r||t){var i=cn();e({type:"update",object:n,newValue:o,oldValue:a}),sn(i)}r=!1,a=o}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return Pt(this.get())},e}();$.prototype[Mt()]=$.prototype.valueOf;var X=Ct("ComputedValue",$);function q(e){return void 0!==e.interceptors&&e.interceptors.length>0}function K(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),bt((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Q(e,t){var n=cn();try{var r=e.interceptors;if(r)for(var a=0,o=r.length;a0}function J(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),bt((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ee(e,t){var n=cn(),r=e.changeListeners;if(r){r=r.slice();for(var a=0,o=r.length;a2&&Pe("box");var n=xe(t);return new te(e,Se(n),n.name)},shallowBox:function(e,t){return arguments.length>2&&Pe("shallowBox"),yt("observable.shallowBox","observable.box(value, { deep: false })"),Me.box(e,{name:t,deep:!1})},array:function(e,t){arguments.length>2&&Pe("array");var n=xe(t);return new at(e,Se(n),n.name)},shallowArray:function(e,t){return arguments.length>2&&Pe("shallowArray"),yt("observable.shallowArray","observable.array(values, { deep: false })"),Me.array(e,{name:t,deep:!1})},map:function(e,t){arguments.length>2&&Pe("map");var n=xe(t);return new Ge(e,Se(n),n.name)},shallowMap:function(e,t){return arguments.length>2&&Pe("shallowMap"),yt("observable.shallowMap","observable.map(values, { deep: false })"),Me.map(e,{name:t,deep:!1})},object:function(e,t,n){"string"===typeof arguments[1]&&Pe("object");var r=xe(n);return Ee({},e,t,r)},shallowObject:function(e,t){return"string"===typeof arguments[1]&&Pe("shallowObject"),yt("observable.shallowObject","observable.object(values, {}, { deep: false })"),Me.object(e,{},{name:t,deep:!1})},ref:_e,shallow:Ce,deep:je,struct:Ae},Me=Te;function Pe(e){vt("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function De(e,t,n){return ge(e)?e:Array.isArray(e)?Me.array(e,{name:n}):Ot(e)?Me.object(e,void 0,{name:n}):At(e)?Me.map(e,{name:n}):e}function Ne(e,t,n){return void 0===e||null===e||he(e)||st(e)||$e(e)?e:Array.isArray(e)?Me.array(e,{name:n,deep:!1}):Ot(e)?Me.object(e,void 0,{name:n,deep:!1}):At(e)?Me.map(e,{name:n,deep:!1}):vt(!1)}function Ie(e){return e}function Le(e,t,n){return N(e,t)?t:e}function Be(){return"function"===typeof Symbol&&Symbol.iterator||"@@iterator"}function Fe(e,t){St(e,Be(),t)}function Ue(e){return e[Be()]=ze,e}function ze(){return this}function Ye(e,t){void 0===t&&(t=void 0),Vt();try{return e.apply(t)}finally{$t()}}Object.keys(Re).forEach((function(e){return Me[e]=Re[e]}));var We={},Ge=function(){function e(e,t,n){if(void 0===t&&(t=De),void 0===n&&(n="ObservableMap@"+mt()),this.enhancer=t,this.name=n,this.$mobx=We,this._keys=new at(void 0,Ie,this.name+".keys()",!0),"function"!==typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return e.prototype._has=function(e){return this._data.has(e)},e.prototype.has=function(e){return this._hasMap.has(e)?this._hasMap.get(e).get():this._updateHasMapEntry(e,!1).get()},e.prototype.set=function(e,t){var n=this._has(e);if(q(this)){var r=Q(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype["delete"]=function(e){var t=this;if(q(this)){var n=Q(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var r=m(),a=Z(this);n=a||r?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return r&&g(i({},n,{name:this.name,key:e})),Ye((function(){t._keys.remove(e),t._updateHasMapEntry(e,!1);var n=t._data.get(e);n.setNewValue(void 0),t._data["delete"](e)})),a&&ee(this,n),r&&b(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap.get(e);return n?n.setNewValue(t):(n=new te(t,Ie,this.name+"."+e+"?",!1),this._hasMap.set(e,n)),n},e.prototype._updateValue=function(e,t){var n=this._data.get(e);if(t=n.prepareNewValue(t),t!==Ft.UNCHANGED){var r=m(),a=Z(this),o=a||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&g(i({},o,{name:this.name,key:e})),n.setNewValue(t),a&&ee(this,o),r&&b()}},e.prototype._addValue=function(e,t){var n=this;Ye((function(){var r=new te(t,n.enhancer,n.name+"."+e,!1);n._data.set(e,r),t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)}));var r=m(),a=Z(this),o=a||r?{type:"add",object:this,name:e,newValue:t}:null;r&&g(i({},o,{name:this.name,key:e})),a&&ee(this,o),r&&b()},e.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return this._keys[Be()]()},e.prototype.values=function(){var e=this,t=0;return Ue({next:function(){return t0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return K(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),J(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!==typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r0&&e+t+1>et&<(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var r=this;rn(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=dt),q(this)){var o=Q(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!o)return dt;t=o.removedCount,n=o.added}n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}));var i=n.length-t;this.updateArrayLength(a,i);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(e<0)throw new Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw new Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(yt("observableArray.move is deprecated, use .slice() & .replace() instead"),n.call(this,e),n.call(this,t),e!==t){var r,a=this.$mobx.values;r=e0&&!e.__mobxGlobals&&(Lt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new It).version&&(Lt=!1),Lt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new It):(setTimeout((function(){Bt||vt("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new It)}();function Ut(){(Ft.pendingReactions.length||Ft.inBatch||Ft.isRunningReactions)&&vt("isolateGlobalState should be called before MobX is running any reactions"),Bt=!0,Lt&&(0===--ht().__mobxInstanceCount&&(ht().__mobxGlobals=void 0),Ft=new It)}function zt(e,t){return Yt(Xe(e,t))}function Yt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=wt(e.observing).map(Yt)),t}function Wt(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Gt(e,t){if(1===e.observers.length)e.observers.length=0,Ht(e);else{var n=e.observers,r=e.observersIndexes,a=n.pop();if(a!==t){var o=r[t.__mapid]||0;o?r[a.__mapid]=o:delete r[a.__mapid],n[o]=a}delete r[t.__mapid]}}function Ht(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ft.pendingUnobservations.push(e))}function Vt(){Ft.inBatch++}function $t(){if(0===--Ft.inBatch){gn();for(var e=Ft.pendingUnobservations,t=0;t0&&Ht(e),!1)}function qt(e){if(e.lowestObserverState!==Dt.STALE){e.lowestObserverState=Dt.STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.UP_TO_DATE&&(r.isTracing!==Nt.NONE&&Zt(r,e),r.onBecomeStale()),r.dependenciesState=Dt.STALE}}}function Kt(e){if(e.lowestObserverState!==Dt.STALE){e.lowestObserverState=Dt.STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.POSSIBLY_STALE?r.dependenciesState=Dt.STALE:r.dependenciesState===Dt.UP_TO_DATE&&(e.lowestObserverState=Dt.UP_TO_DATE)}}}function Qt(e){if(e.lowestObserverState===Dt.UP_TO_DATE){e.lowestObserverState=Dt.POSSIBLY_STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.UP_TO_DATE&&(r.dependenciesState=Dt.POSSIBLY_STALE,r.isTracing!==Nt.NONE&&Zt(r,e),r.onBecomeStale())}}}function Zt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Nt.BREAK){var n=[];Jt(zt(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof $?e.derivation.toString():"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Jt(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Jt(e,t,n+1)})))}(function(e){e[e["NOT_TRACKING"]=-1]="NOT_TRACKING",e[e["UP_TO_DATE"]=0]="UP_TO_DATE",e[e["POSSIBLY_STALE"]=1]="POSSIBLY_STALE",e[e["STALE"]=2]="STALE"})(Dt||(Dt={})),function(e){e[e["NONE"]=0]="NONE",e[e["LOG"]=1]="LOG",e[e["BREAK"]=2]="BREAK"}(Nt||(Nt={}));var en=function(){function e(e){this.cause=e}return e}();function tn(e){return e instanceof en}function nn(e){switch(e.dependenciesState){case Dt.UP_TO_DATE:return!1;case Dt.NOT_TRACKING:case Dt.STALE:return!0;case Dt.POSSIBLY_STALE:for(var t=cn(),n=e.observing,r=n.length,a=0;a0;Ft.computationDepth>0&&t&&vt(!1),Ft.allowStateChanges||!t&&"strict"!==Ft.enforceActions||vt(!1)}function an(e,t,n){fn(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Ft.runId;var r,a=Ft.trackingDerivation;if(Ft.trackingDerivation=e,!0===Ft.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(o){r=new en(o)}return Ft.trackingDerivation=a,on(e),r}function on(e){for(var t=e.observing,n=e.observing=e.newObserving,r=Dt.UP_TO_DATE,a=0,o=e.unboundDepsCount,i=0;ir&&(r=u.dependenciesState)}n.length=a,e.newObserving=null,o=t.length;while(o--){u=t[o];0===u.diffValue&&Gt(u,e),u.diffValue=0}while(a--){u=n[a];1===u.diffValue&&(u.diffValue=0,Wt(u,e))}r!==Dt.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function un(e){var t=e.observing;e.observing=[];var n=t.length;while(n--)Gt(t[n],e);e.dependenciesState=Dt.NOT_TRACKING}function ln(e){var t=cn(),n=e();return sn(t),n}function cn(){var e=Ft.trackingDerivation;return Ft.trackingDerivation=null,e}function sn(e){Ft.trackingDerivation=e}function fn(e){if(e.dependenciesState!==Dt.UP_TO_DATE){e.dependenciesState=Dt.UP_TO_DATE;var t=e.observing,n=t.length;while(n--)t[n].lowestObserverState=Dt.UP_TO_DATE}}function dn(){for(var e=[],t=0;t0||Ft.isRunningReactions||vn(yn)}function yn(){Ft.isRunningReactions=!0;var e=Ft.pendingReactions,t=0;while(e.length>0){++t===mn&&(console.error("Reaction doesn't converge to a stable state after "+mn+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r '\"never\"', 'true' => '\"observed\"', '\"strict\"' => \"'always'\" instead");var i=void 0;switch(t){case!0:case"observed":i=!0;break;case!1:case"never":i=!1;break;case"strict":case"always":i="strict";break;default:fail("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Ft.enforceActions=i,Ft.allowStateChanges=!0!==i&&"strict"!==i}void 0!==n&&(Ft.computedRequiresReaction=!!n),!0===e.isolateGlobalState&&Ut(),void 0!==r&&(!0===r&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors if this is on."),Ft.disableErrorBoundaries=!!r),"number"===typeof a&<(a),o&&wn(o)}var kn={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function xn(e,t,n,r){return r.detectCycles&&e.set(t,n),n}function Sn(e,t,n){if(!t.recurseEverything&&!ge(e))return e;if("object"!==typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(ne(e))return Sn(e.get(),t,n);ge(e)&&En(e);var r=!0===t.detectCycles;if(r&&null!==e&&n.has(e))return n.get(e);if(st(e)||Array.isArray(e)){var a=xn(n,e,[],t),o=e.map((function(e){return Sn(e,t,n)}));a.length=o.length;for(var i=0,u=o.length;i1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:a(l,n);while(c>u)t[u++]=e;return t}},"5jZn":function(e,t,n){var r=n("OOCw"),a=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*a}})},"5yEw":function(e,t,n){var r=n("3Hes"),a=r("toStringTag"),o={};o[a]="z",e.exports="[object z]"===String(o)},"63eO":function(e,t,n){var r=n("x+sk"),a=n("g0aX"),o=n("3Hes"),i=o("species");e.exports=function(e,t){var n;return a(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?r(n)&&(n=n[i],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"67Yi":function(e,t,n){var r=n("K29s"),a=n("AU2x"),o=n("u7Ge"),i=n("w7O4"),u=n("GRr6");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0)}},"6jqD":function(e,t,n){var r=n("x+sk");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"6ssM":function(e,t,n){var r=n("r+6h"),a=n("UQib"),o=n("ZVkV"),i=n("684d"),u=n("JSMs"),l=n("oEsY"),c=n("p3eN"),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=i(e),t=u(t,!0),c)try{return s(e,t)}catch(n){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},"6vUj":function(e,t,n){var r=n("pgBP"),a=n("dfcU"),o=n("Zjj6");function i(e){return o(e)?r(e):a(e)}e.exports=i},"6wQi":function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("lCDx"),i=n("R8Gd"),u=n("OUyb"),l=n("yPwS"),c=n("VUwz"),s=n("yjmR"),f=n("Ebyb"),d=n.n(f),p=n("mgR2"),h=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=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(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))},m=n("9012");function v(e,t){var n=t||{},a=n.defaultValue,o=n.value,i=n.onChange,l=n.postState,c=Object(m["a"])((function(){return void 0!==o?o:void 0!==a?"function"===typeof a?a():a:"function"===typeof e?e():e})),s=Object(u["a"])(c,2),f=s[0],d=s[1],p=void 0!==o?o:f;l&&(p=l(p));var h=r["useRef"](i);h.current=i;var v=r["useCallback"]((function(e,t){d(e,t),p!==e&&h.current&&h.current(e,p)}),[p,h]),g=r["useRef"](o);return r["useEffect"]((function(){void 0===o&&o!==g.current&&d(o),g.current=o}),[o]),[p,v]}var g=n("UbNf"),y=n("jZl0"),b=n("nLPW");function w(e){var t=Object(r["useRef"])(),n=Object(r["useRef"])(!1);function a(){for(var r=arguments.length,a=new Array(r),o=0;od&&pl+m){n=r-1;break}}for(var o=0,s=t-1;s>=0;s-=1){var f=e.get(c[s].key)||C;if(f[u]E,je=Object(r["useMemo"])((function(){var e=l;return ke?e=null===N&&R?l:l.slice(0,Math.min(l.length,F/v)):"number"===typeof E&&(e=l.slice(0,E)),e}),[l,v,N,E,ke]),Ce=Object(r["useMemo"])((function(){return ke?l.slice(me+1):l.slice(je.length)}),[l,je,ke,me]),_e=Object(r["useCallback"])((function(e,t){var n;return"function"===typeof h?h(e):null!==(n=h&&(null===e||void 0===e?void 0:e[h]))&&void 0!==n?n:t}),[h]),Ae=Object(r["useCallback"])(f||function(e){return e},[f]);function Te(e,t){he(e),t||(be(eF){Te(r-1),se(e-a-oe+te);break}}x&&Ne(0)+oe>F&&se(null)}}),[F,Y,te,oe,_e,je]);var Ie=ye&&!!Ce.length,Le={};null!==ce&&ke&&(Le={position:"absolute",left:ce,top:0});var Be,Fe={prefixCls:we,responsive:ke,component:C,invalidate:xe},Ue=p?function(e,t){var n=_e(e,t);return r["createElement"](V.Provider,{key:n,value:Object(s["a"])(Object(s["a"])({},Fe),{},{order:t,item:e,itemKey:n,registerSize:Me,display:t<=me})},p(e,t))}:function(e,t){var n=_e(e,t);return r["createElement"](L,Object(o["a"])({},Fe,{order:t,key:n,item:e,renderItem:Ae,itemKey:n,registerSize:Me,display:t<=me}))},ze={order:Ie?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:Pe,display:Ie};if(k)k&&(Be=r["createElement"](V.Provider,{value:Object(s["a"])(Object(s["a"])({},Fe),ze)},k(Ce)));else{var Ye=O||q;Be=r["createElement"](L,Object(o["a"])({},Fe,ze),"function"===typeof Ye?Ye(Ce):Ye)}var We=r["createElement"](j,Object(o["a"])({className:d()(!xe&&a,w),style:y,ref:t},A),je.map(Ue),Se?Be:null,x&&r["createElement"](L,Object(o["a"])({},Fe,{responsive:Oe,responsiveDisabled:!ke,order:me,className:"".concat(we,"-suffix"),registerSize:De,display:!0,style:Le}),x));return Oe&&(We=r["createElement"](b["a"],{onResize:Re,disabled:!ke},We)),We}var Q=r["forwardRef"](K);Q.displayName="Overflow",Q.Item=G,Q.RESPONSIVE=$,Q.INVALIDATE=X;var Z=Q,J=Z,ee=n("l6qj"),te=n("4rHh"),ne=n("j/sL"),re=n("/3Cb"),ae=n("KLPW"),oe=n("x0RL"),ie=["children","locked"],ue=r["createContext"](null);function le(e,t){var n=Object(s["a"])({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}function ce(e){var t=e.children,n=e.locked,a=Object(c["a"])(e,ie),o=r["useContext"](ue),i=Object(oe["a"])((function(){return le(o,a)}),[o,a],(function(e,t){return!n&&(e[0]!==t[0]||!T()(e[1],t[1]))}));return r["createElement"](ue.Provider,{value:i},t)}function se(e,t,n,a){var o=r["useContext"](ue),i=o.activeKey,u=o.onActive,l=o.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),u(e)},c.onMouseLeave=function(t){null===a||void 0===a||a({key:e,domEvent:t}),l(e)}),c}var fe=["item"];function de(e){var t=e.item,n=Object(c["a"])(e,fe);return Object.defineProperty(n,"item",{get:function(){return Object(R["a"])(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function pe(e){var t,n=e.icon,a=e.props,o=e.children;return t="function"===typeof n?r["createElement"](n,Object(s["a"])({},a)):n,t||o||null}function he(e){var t=r["useContext"](ue),n=t.mode,a=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;var i=e;return a?{paddingRight:i*o}:{paddingLeft:i*o}}var me=[],ve=r["createContext"](null);function ge(){return r["useContext"](ve)}var ye=r["createContext"](me);function be(e){var t=r["useContext"](ye);return r["useMemo"]((function(){return void 0!==e?[].concat(Object(g["a"])(t),[e]):t}),[t,e])}var we=r["createContext"](null),Ee=r["createContext"](null);function Oe(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function ke(e){var t=r["useContext"](Ee);return Oe(t,e)}var xe=r["createContext"]({}),Se=xe,je=["title","attribute","elementRef"],Ce=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_e=["active"],Ae=function(e){Object(ne["a"])(n,e);var t=Object(re["a"])(n);function n(){return Object(ee["a"])(this,n),t.apply(this,arguments)}return Object(te["a"])(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,a=e.elementRef,i=Object(c["a"])(e,je),u=Object(ae["a"])(i,["eventKey"]);return Object(R["a"])(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r["createElement"](J.Item,Object(o["a"])({},n,{title:"string"===typeof t?t:void 0},u,{ref:a}))}}]),n}(r["Component"]),Te=function(e){var t,n=e.style,a=e.className,u=e.eventKey,l=(e.warnKey,e.disabled),f=e.itemIcon,p=e.children,h=e.role,m=e.onMouseEnter,v=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=Object(c["a"])(e,Ce),k=ke(u),x=r["useContext"](ue),S=x.prefixCls,j=x.onItemClick,C=x.disabled,_=x.overflowDisabled,A=x.itemIcon,T=x.selectedKeys,R=x.onActive,M=r["useContext"](Se),P=M._internalRenderMenuItem,D="".concat(S,"-item"),N=r["useRef"](),I=r["useRef"](),L=C||l,B=be(u);var F=function(e){return{key:u,keyPath:Object(g["a"])(B).reverse(),item:N.current,domEvent:e}},U=f||A,z=se(u,L,m,v),Y=z.active,W=Object(c["a"])(z,_e),G=T.includes(u),H=he(B.length),V=function(e){if(!L){var t=F(e);null===y||void 0===y||y(de(t)),j(t)}},$=function(e){if(null===b||void 0===b||b(e),e.which===O["a"].ENTER){var t=F(e);null===y||void 0===y||y(de(t)),j(t)}},X=function(e){R(u),null===w||void 0===w||w(e)},q={};"option"===e.role&&(q["aria-selected"]=G);var K=r["createElement"](Ae,Object(o["a"])({ref:N,elementRef:I,role:null===h?"none":h||"menuitem",tabIndex:l?null:-1,"data-menu-id":_&&k?null:k},E,W,q,{component:"li","aria-disabled":l,style:Object(s["a"])(Object(s["a"])({},H),n),className:d()(D,(t={},Object(i["a"])(t,"".concat(D,"-active"),Y),Object(i["a"])(t,"".concat(D,"-selected"),G),Object(i["a"])(t,"".concat(D,"-disabled"),L),t),a),onClick:V,onKeyDown:$,onFocus:X}),p,r["createElement"](pe,{props:Object(s["a"])(Object(s["a"])({},e),{},{isSelected:G}),icon:U}));return P&&(K=P(K,e,{selected:G})),K};function Re(e){var t=e.eventKey,n=ge(),a=be(t);return r["useEffect"]((function(){if(n)return n.registerPath(t,a),function(){n.unregisterPath(t,a)}}),[a]),n?null:r["createElement"](Te,e)}var Me=Re,Pe=["label","children","key","type"];function De(e,t){return Object(p["a"])(e).map((function(e,n){if(r["isValidElement"](e)){var a,o,i=e.key,u=null!==(a=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==a?a:i,l=null===u||void 0===u;l&&(u="tmp_key-".concat([].concat(Object(g["a"])(t),[n]).join("-")));var c={key:u,eventKey:u};return r["cloneElement"](e,c)}return e}))}function Ne(e){return(e||[]).map((function(e,t){if(e&&"object"===Object(l["a"])(e)){var n=e.label,a=e.children,i=e.key,u=e.type,s=Object(c["a"])(e,Pe),f=null!==i&&void 0!==i?i:"tmp-".concat(t);return a||"group"===u?"group"===u?r["createElement"](Zr,Object(o["a"])({key:f},s,{title:n}),Ne(a)):r["createElement"](yr,Object(o["a"])({key:f},s,{title:n}),Ne(a)):"divider"===u?r["createElement"](Jr,Object(o["a"])({key:f},s)):r["createElement"](Me,Object(o["a"])({key:f},s),n)}return null})).filter((function(e){return e}))}function Ie(e,t,n){var r=e;return t&&(r=Ne(t)),De(r,n)}function Le(e){var t=r["useRef"](e);t.current=e;var n=r["useCallback"]((function(){for(var e,n=arguments.length,r=new Array(n),a=0;a=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function dn(e,t,n,r){var a=on.clone(e),o={width:t.width,height:t.height};return r.adjustX&&a.left=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),on.mix(a,o)}function pn(e){var t,n,r;if(on.isWindow(e)||9===e.nodeType){var a=on.getWindow(e);t={left:on.getWindowScrollLeft(a),top:on.getWindowScrollTop(a)},n=on.viewportWidth(a),r=on.viewportHeight(a)}else t=on.offset(e),n=on.outerWidth(e),r=on.outerHeight(e);return t.width=n,t.height=r,t}function hn(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,u=e.top;return"c"===n?u+=o/2:"b"===n&&(u+=o),"c"===r?i+=a/2:"r"===r&&(i+=a),{left:i,top:u}}function mn(e,t,n,r,a){var o=hn(t,n[1]),i=hn(e,n[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+r[0]-a[0]),top:Math.round(e.top-u[1]+r[1]-a[1])}}function vn(e,t,n){return e.leftn.right}function gn(e,t,n){return e.topn.bottom}function yn(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function jn(e,t,n){var r=n.target||t,a=pn(r),o=!Sn(r,n.overflow&&n.overflow.alwaysByViewport);return xn(e,a,n,o)}function Cn(e,t,n){var r,a,o=on.getDocument(e),i=o.defaultView||o.parentWindow,u=on.getWindowScrollLeft(i),l=on.getWindowScrollTop(i),c=on.viewportWidth(i),s=on.viewportHeight(i);r="pageX"in t?t.pageX:u+t.clientX,a="pageY"in t?t.pageY:l+t.clientY;var f={left:r,top:a,width:0,height:0},d=r>=0&&r<=u+c&&a>=0&&a<=l+s,p=[n.points[0],"cc"];return xn(e,f,ut(ut({},n),{},{points:p}),d)}jn.__getOffsetParent=ln,jn.__getVisibleRectForElement=fn;var _n=n("rDMZ"),An=n.n(_n),Tn=n("QQXB");function Rn(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function Mn(e,t){e!==document.activeElement&&He(t,e)&&"function"===typeof e.focus&&e.focus()}function Pn(e,t){var n=null,r=null;function a(e){var a=Object(u["a"])(e,1),o=a[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),l=i.width,c=i.height,s=Math.floor(l),f=Math.floor(c);n===s&&r===f||Promise.resolve().then((function(){t({width:s,height:f})})),n=s,r=f}}var o=new Tn["a"](a);return e&&o.observe(e),function(){o.disconnect()}}var Dn=function(e,t){var n=a.a.useRef(!1),r=a.a.useRef(null);function o(){window.clearTimeout(r.current)}function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}}return[i,function(){n.current=!1,o()}]};function Nn(e){return"function"!==typeof e?null:e()}function In(e){return"object"===Object(l["a"])(e)&&e?e:null}var Ln=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,l=e.onAlign,c=e.monitorWindowResize,s=e.monitorBufferTime,f=void 0===s?0:s,d=a.a.useRef({}),p=a.a.useRef(),h=a.a.Children.only(n),m=a.a.useRef({});m.current.disabled=r,m.current.target=o,m.current.align=i,m.current.onAlign=l;var v=Dn((function(){var e=m.current,t=e.disabled,n=e.target,r=e.align,a=e.onAlign;if(!t&&n){var o,i=p.current,u=Nn(n),l=In(n);d.current.element=u,d.current.point=l,d.current.align=r;var c=document,s=c.activeElement;return u&&ot(u)?o=jn(i,u,r):l&&(o=Cn(i,l,r)),Mn(s,i),a&&o&&a(i,o),!0}return!1}),f),g=Object(u["a"])(v,2),y=g[0],b=g[1],w=a.a.useRef({cancel:function(){}}),E=a.a.useRef({cancel:function(){}});a.a.useEffect((function(){var e=Nn(o),t=In(o);p.current!==E.current.element&&(E.current.cancel(),E.current.element=p.current,E.current.cancel=Pn(p.current,y)),d.current.element===e&&Rn(d.current.point,t)&&An()(d.current.align,i)||(y(),w.current.element!==e&&(w.current.cancel(),w.current.element=e,w.current.cancel=Pn(e,y)))})),a.a.useEffect((function(){r?b():y()}),[r]);var O=a.a.useRef(null);return a.a.useEffect((function(){c?O.current||(O.current=Xe(window,"resize",y)):O.current&&(O.current.remove(),O.current=null)}),[c]),a.a.useEffect((function(){return function(){w.current.cancel(),E.current.cancel(),O.current&&O.current.remove(),b()}}),[]),a.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return y(!0)}}})),a.a.isValidElement(h)&&(h=a.a.cloneElement(h,{ref:Object($e["a"])(h.ref,p)})),h},Bn=a.a.forwardRef(Ln);Bn.displayName="Align";var Fn=Bn,Un=Fn;function zn(){zn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),i=new x(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return j()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var u=E(i,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};u(m,a,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(S([])));g&&g!==t&&n.call(g,a)&&(m=g);var y=h.prototype=d.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(a,o,i,u){var c=s(e[a],e,o);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==Object(l["a"])(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(d).then((function(e){f.value=e,i(f)}),(function(e){return r("throw",e,i,u)}))}u(c.arg)}var a;this._invoke=function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Yn(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,a)}function Wn(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Yn(o,r,a,i,u,"next",e)}function u(e){Yn(o,r,a,i,u,"throw",e)}i(void 0)}))}}var Gn=["measure","alignPre","align",null,"motion"],Hn=function(e,t){var n=Object(m["a"])(null),a=Object(u["a"])(n,2),o=a[0],i=a[1],l=Object(r["useRef"])();function c(e){i(e,!0)}function s(){y["a"].cancel(l.current)}function f(e){s(),l.current=Object(y["a"])((function(){c((function(e){switch(o){case"align":return"motion";case"motion":return"stable";default:}return e})),null===e||void 0===e||e()}))}return Object(r["useEffect"])((function(){c("measure")}),[e]),Object(r["useEffect"])((function(){switch(o){case"measure":t();break;default:}o&&(l.current=Object(y["a"])(Wn(zn().mark((function e(){var t,n;return zn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=Gn.indexOf(o),n=Gn[t+1],n&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),Object(r["useEffect"])((function(){return function(){s()}}),[]),[o,f]},Vn=function(e){var t=r["useState"]({width:0,height:0}),n=Object(u["a"])(t,2),a=n[0],o=n[1];function i(e){o({width:e.offsetWidth,height:e.offsetHeight})}var l=r["useMemo"]((function(){var t={};if(e){var n=a.width,r=a.height;-1!==e.indexOf("height")&&r?t.height=r:-1!==e.indexOf("minHeight")&&r&&(t.minHeight=r),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,a]);return[l,i]},$n=r["forwardRef"]((function(e,t){var n=e.visible,a=e.prefixCls,i=e.className,l=e.style,c=e.children,f=e.zIndex,p=e.stretch,h=e.destroyPopupOnHide,m=e.forceRender,v=e.align,g=e.point,y=e.getRootDomNode,b=e.getClassNameFromAlign,w=e.onAlign,E=e.onMouseEnter,O=e.onMouseLeave,k=e.onMouseDown,x=e.onTouchStart,S=e.onClick,j=Object(r["useRef"])(),C=Object(r["useRef"])(),_=Object(r["useState"])(),A=Object(u["a"])(_,2),T=A[0],R=A[1],P=Vn(p),D=Object(u["a"])(P,2),N=D[0],I=D[1];function L(){p&&I(y())}var B=Hn(n,L),F=Object(u["a"])(B,2),U=F[0],z=F[1],Y=Object(r["useState"])(0),W=Object(u["a"])(Y,2),G=W[0],H=W[1],V=Object(r["useRef"])();function $(){return g||y}function X(){var e;null===(e=j.current)||void 0===e||e.forceAlign()}function q(e,t){var n=b(t);T!==n&&R(n),H((function(e){return e+1})),"align"===U&&(null===w||void 0===w||w(e,t))}Object(M["a"])((function(){"alignPre"===U&&H(0)}),[U]),Object(M["a"])((function(){"align"===U&&(G<2?X():z((function(){var e;null===(e=V.current)||void 0===e||e.call(V)})))}),[G]);var K=Object(s["a"])({},nt(e));function Q(){return new Promise((function(e){V.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=K[e];K[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),r["useEffect"]((function(){K.motionName||"motion"!==U||z()}),[K.motionName,U]),r["useImperativeHandle"](t,(function(){return{forceAlign:X,getElement:function(){return C.current}}}));var Z=Object(s["a"])(Object(s["a"])({},N),{},{zIndex:f,opacity:"motion"!==U&&"stable"!==U&&n?0:void 0,pointerEvents:n||"stable"===U?void 0:"none"},l),J=!0;!(null===v||void 0===v?void 0:v.points)||"align"!==U&&"stable"!==U||(J=!1);var ee=c;return r["Children"].count(c)>1&&(ee=r["createElement"]("div",{className:"".concat(a,"-content")},c)),r["createElement"](tt["a"],Object(o["a"])({visible:n,ref:C,leavedClassName:"".concat(a,"-hidden")},K,{onAppearPrepare:Q,onEnterPrepare:Q,removeOnLeave:h,forceRender:m}),(function(e,t){var n=e.className,o=e.style,u=d()(a,i,T,n);return r["createElement"](Un,{target:$(),key:"popup",ref:j,monitorWindowResize:!0,disabled:J,align:v,onAlign:q},r["createElement"]("div",{ref:t,className:u,onMouseEnter:E,onMouseLeave:O,onMouseDownCapture:k,onTouchStartCapture:x,onClick:S,style:Object(s["a"])(Object(s["a"])({},o),Z)},ee))}))}));$n.displayName="PopupInner";var Xn=$n,qn=r["forwardRef"]((function(e,t){var n=e.prefixCls,a=e.visible,i=e.zIndex,u=e.children,l=e.mobile;l=void 0===l?{}:l;var c=l.popupClassName,f=l.popupStyle,p=l.popupMotion,h=void 0===p?{}:p,m=l.popupRender,v=e.onClick,g=r["useRef"]();r["useImperativeHandle"](t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var y=Object(s["a"])({zIndex:i},f),b=u;return r["Children"].count(u)>1&&(b=r["createElement"]("div",{className:"".concat(n,"-content")},u)),m&&(b=m(b)),r["createElement"](tt["a"],Object(o["a"])({visible:a,ref:g,removeOnLeave:!0},h),(function(e,t){var a=e.className,o=e.style,i=d()(n,c,a);return r["createElement"]("div",{ref:t,className:i,onClick:v,style:Object(s["a"])(Object(s["a"])({},o),y)},b)}))}));qn.displayName="MobilePopupInner";var Kn=qn,Qn=["visible","mobile"],Zn=r["forwardRef"]((function(e,t){var n=e.visible,a=e.mobile,i=Object(c["a"])(e,Qn),l=Object(r["useState"])(n),f=Object(u["a"])(l,2),d=f[0],p=f[1],m=Object(r["useState"])(!1),v=Object(u["a"])(m,2),g=v[0],y=v[1],b=Object(s["a"])(Object(s["a"])({},i),{},{visible:d});Object(r["useEffect"])((function(){p(n),n&&a&&y(h())}),[n,a]);var w=g?r["createElement"](Kn,Object(o["a"])({},b,{mobile:a,ref:t})):r["createElement"](Xn,Object(o["a"])({},b,{ref:t}));return r["createElement"]("div",null,r["createElement"](rt,b),w)}));Zn.displayName="Popup";var Jn=Zn,er=r["createContext"](null),tr=er;function nr(){}function rr(){return""}function ar(e){return e?e.ownerDocument:window.document}var or=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function ir(e){var t=function(t){Object(ne["a"])(a,t);var n=Object(re["a"])(a);function a(e){var t,i;return Object(ee["a"])(this,a),t=n.call(this,e),t.popupRef=r["createRef"](),t.triggerRef=r["createRef"](),t.portalContainer=void 0,t.attachId=void 0,t.clickOutsideHandler=void 0,t.touchOutsideHandler=void 0,t.contextMenuOutsideHandler1=void 0,t.contextMenuOutsideHandler2=void 0,t.mouseDownTimeout=void 0,t.focusTime=void 0,t.preClickTime=void 0,t.preTouchTime=void 0,t.delayTimer=void 0,t.hasPopupMouseDown=void 0,t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&He(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),a=t.getPopupDomNode();He(r,n)&&!t.isContextMenuOnly()||He(a,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(Ve["a"])(t.triggerRef.current);if(n)return n}catch(r){}return Ge.a.findDOMNode(Object(Ye["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,a=r.popupPlacement,o=r.builtinPlacements,i=r.prefixCls,u=r.alignPoint,l=r.getPopupClassNameFromAlign;return a&&o&&n.push(et(o,i,e,u)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,a=e.destroyPopupOnHide,i=e.popupClassName,u=e.onPopupAlign,l=e.popupMotion,c=e.popupAnimation,s=e.popupTransitionName,f=e.popupStyle,d=e.mask,p=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,v=e.zIndex,g=e.popup,y=e.stretch,b=e.alignPoint,w=e.mobile,E=e.forceRender,O=e.onPopupClick,k=t.state,x=k.popupVisible,S=k.point,j=t.getPopupAlign(),C={};return t.isMouseEnterToShow()&&(C.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(C.onMouseLeave=t.onPopupMouseLeave),C.onMouseDown=t.onPopupMouseDown,C.onTouchStart=t.onPopupMouseDown,r["createElement"](Jn,Object(o["a"])({prefixCls:n,destroyPopupOnHide:a,visible:x,point:b&&S,className:i,align:j,onAlign:u,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign},C,{stretch:y,getRootDomNode:t.getRootDomNode,style:f,mask:d,zIndex:v,transitionName:s,maskAnimation:p,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:l,mobile:w,forceRender:E,onClick:O}),"function"===typeof g?g():g)},t.attachParent=function(e){y["a"].cancel(t.attachId);var n,r=t.props,a=r.getPopupContainer,o=r.getDocument,i=t.getRootDomNode();a?(i||0===a.length)&&(n=a(i)):n=o(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=Object(y["a"])((function(){t.attachParent(e)}))},t.getContainer=function(){if(!t.portalContainer){var e=t.props.getDocument,n=e(t.getRootDomNode()).createElement("div");n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",t.portalContainer=n}return t.attachParent(t.portalContainer),t.portalContainer},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},t.triggerContextValue={onPopupMouseDown:t.onPopupMouseDown},i="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:i,popupVisible:i},or.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(te["a"])(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Xe(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Xe(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Xe(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xe(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),y["a"].cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?Je(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,a=1e3*t;if(this.clearDelayTimer(),a){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),a)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,a=n.children,o=n.forceRender,i=n.alignPoint,u=n.className,l=n.autoDestroy,c=r["Children"].only(a),f={key:"trigger"};this.isContextMenuToShow()?f.onContextMenu=this.onContextMenu:f.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(f.onClick=this.onClick,f.onMouseDown=this.onMouseDown,f.onTouchStart=this.onTouchStart):(f.onClick=this.createTwoChains("onClick"),f.onMouseDown=this.createTwoChains("onMouseDown"),f.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(f.onMouseEnter=this.onMouseEnter,i&&(f.onMouseMove=this.onMouseMove)):f.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?f.onMouseLeave=this.onMouseLeave:f.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(f.onFocus=this.onFocus,f.onBlur=this.onBlur):(f.onFocus=this.createTwoChains("onFocus"),f.onBlur=this.createTwoChains("onBlur"));var p=d()(c&&c.props&&c.props.className,u);p&&(f.className=p);var h=Object(s["a"])({},f);Object($e["c"])(c)&&(h.ref=Object($e["a"])(this.triggerRef,c.ref));var m,v=r["cloneElement"](c,h);return(t||this.popupRef.current||o)&&(m=r["createElement"](e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&l&&(m=null),r["createElement"](tr.Provider,{value:this.triggerContextValue},v,m)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),a}(r["Component"]);return t.contextType=tr,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:rr,getDocument:ar,onPopupVisibleChange:nr,afterPopupVisibleChange:nr,onPopupAlign:nr,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var ur=ir(Qe),lr={adjustX:1,adjustY:1},cr={topLeft:{points:["bl","tl"],overflow:lr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:lr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:lr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:lr,offset:[4,0]}},sr={topLeft:{points:["bl","tl"],overflow:lr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:lr,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:lr,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:lr,offset:[4,0]}};function fr(e,t,n){return t||(n?n[e]||n.other:void 0)}var dr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function pr(e){var t=e.prefixCls,n=e.visible,a=e.children,o=e.popup,l=e.popupClassName,c=e.popupOffset,f=e.disabled,p=e.mode,h=e.onVisibleChange,m=r["useContext"](ue),v=m.getPopupContainer,g=m.rtl,b=m.subMenuOpenDelay,w=m.subMenuCloseDelay,E=m.builtinPlacements,O=m.triggerSubMenuAction,k=m.forceSubMenuRender,x=m.rootClassName,S=m.motion,j=m.defaultMotions,C=r["useState"](!1),_=Object(u["a"])(C,2),A=_[0],T=_[1],R=g?Object(s["a"])(Object(s["a"])({},sr),E):Object(s["a"])(Object(s["a"])({},cr),E),M=dr[p],P=fr(p,S,j),D=Object(s["a"])(Object(s["a"])({},P),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),N=r["useRef"]();return r["useEffect"]((function(){return N.current=Object(y["a"])((function(){T(n)})),function(){y["a"].cancel(N.current)}}),[n]),r["createElement"](ur,{prefixCls:t,popupClassName:d()("".concat(t,"-popup"),Object(i["a"])({},"".concat(t,"-rtl"),g),l,x),stretch:"horizontal"===p?"minWidth":null,getPopupContainer:v,builtinPlacements:R,popupPlacement:M,popupVisible:A,popup:o,popupAlign:c&&{offset:c},action:f?[]:[O],mouseEnterDelay:b,mouseLeaveDelay:w,onPopupVisibleChange:h,forceRender:k,popupMotion:D},a)}function hr(e){var t=e.id,n=e.open,a=e.keyPath,i=e.children,l="inline",c=r["useContext"](ue),f=c.prefixCls,d=c.forceSubMenuRender,p=c.motion,h=c.defaultMotions,m=c.mode,v=r["useRef"](!1);v.current=m===l;var g=r["useState"](!v.current),y=Object(u["a"])(g,2),b=y[0],w=y[1],E=!!v.current&&n;r["useEffect"]((function(){v.current&&w(!1)}),[m]);var O=Object(s["a"])({},fr(l,p,h));a.length>1&&(O.motionAppear=!1);var k=O.onVisibleChanged;return O.onVisibleChanged=function(e){return v.current||e||w(!0),null===k||void 0===k?void 0:k(e)},b?null:r["createElement"](ce,{mode:l,locked:!v.current},r["createElement"](tt["a"],Object(o["a"])({visible:E},O,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){var n=e.className,a=e.style;return r["createElement"](ze,{id:t,className:n,style:a},i)})))}var mr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],vr=["active"],gr=function(e){var t,n=e.style,a=e.className,l=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,w=e.onClick,E=e.onMouseEnter,O=e.onMouseLeave,k=e.onTitleClick,x=e.onTitleMouseEnter,S=e.onTitleMouseLeave,j=Object(c["a"])(e,mr),C=ke(f),_=r["useContext"](ue),A=_.prefixCls,T=_.mode,R=_.openKeys,M=_.disabled,P=_.overflowDisabled,D=_.activeKey,N=_.selectedKeys,I=_.itemIcon,L=_.expandIcon,B=_.onItemClick,F=_.onOpenChange,U=_.onActive,z=r["useContext"](Se),Y=z._internalRenderSubMenuItem,W=r["useContext"](we),G=W.isSubPathKey,H=be(),V="".concat(A,"-submenu"),$=M||p,X=r["useRef"](),q=r["useRef"]();var K=v||I,Q=g||L,Z=R.includes(f),ee=!P&&Z,te=G(N,f),ne=se(f,$,x,S),re=ne.active,ae=Object(c["a"])(ne,vr),oe=r["useState"](!1),ie=Object(u["a"])(oe,2),le=ie[0],fe=ie[1],me=function(e){$||fe(e)},ve=function(e){me(!0),null===E||void 0===E||E({key:f,domEvent:e})},ge=function(e){me(!1),null===O||void 0===O||O({key:f,domEvent:e})},ye=r["useMemo"]((function(){return re||"inline"!==T&&(le||G([D],f))}),[T,re,D,le,f,G]),Ee=he(H.length),Oe=function(e){$||(null===k||void 0===k||k({key:f,domEvent:e}),"inline"===T&&F(f,!Z))},xe=Le((function(e){null===w||void 0===w||w(de(e)),B(e)})),je=function(e){"inline"!==T&&F(f,e)},Ce=function(){U(f)},_e=C&&"".concat(C,"-popup"),Ae=r["createElement"]("div",Object(o["a"])({role:"menuitem",style:Ee,className:"".concat(V,"-title"),tabIndex:$?null:-1,ref:X,title:"string"===typeof l?l:null,"data-menu-id":P&&C?null:C,"aria-expanded":ee,"aria-haspopup":!0,"aria-controls":_e,"aria-disabled":$,onClick:Oe,onFocus:Ce},ae),l,r["createElement"](pe,{icon:"horizontal"!==T?Q:null,props:Object(s["a"])(Object(s["a"])({},e),{},{isOpen:ee,isSubMenu:!0})},r["createElement"]("i",{className:"".concat(V,"-arrow")}))),Te=r["useRef"](T);if("inline"!==T&&(Te.current=H.length>1?"vertical":T),!P){var Re=Te.current;Ae=r["createElement"](pr,{mode:Re,prefixCls:V,visible:!h&&ee&&"inline"!==T,popupClassName:y,popupOffset:b,popup:r["createElement"](ce,{mode:"horizontal"===Re?"vertical":Re},r["createElement"](ze,{id:_e,ref:q},m)),disabled:$,onVisibleChange:je},Ae)}var Me=r["createElement"](J.Item,Object(o["a"])({role:"none"},j,{component:"li",style:n,className:d()(V,"".concat(V,"-").concat(T),a,(t={},Object(i["a"])(t,"".concat(V,"-open"),ee),Object(i["a"])(t,"".concat(V,"-active"),ye),Object(i["a"])(t,"".concat(V,"-selected"),te),Object(i["a"])(t,"".concat(V,"-disabled"),$),t)),onMouseEnter:ve,onMouseLeave:ge}),Ae,!P&&r["createElement"](hr,{id:_e,open:ee,keyPath:H},m));return Y&&(Me=Y(Me,e,{selected:te,active:ye,open:ee,disabled:$})),r["createElement"](ce,{onItemClick:xe,mode:"horizontal"===T?"vertical":T,itemIcon:K,expandIcon:Q},Me)};function yr(e){var t,n=e.eventKey,a=e.children,o=be(n),i=De(a,o),u=ge();return r["useEffect"]((function(){if(u)return u.registerPath(n,o),function(){u.unregisterPath(n,o)}}),[o]),t=u?i:r["createElement"](gr,e,i),r["createElement"](ye.Provider,{value:o},t)}function br(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ot(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function wr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(g["a"])(e.querySelectorAll("*")).filter((function(e){return br(e,t)}));return br(e,t)&&n.unshift(e),n}var Er=O["a"].LEFT,Or=O["a"].RIGHT,kr=O["a"].UP,xr=O["a"].DOWN,Sr=O["a"].ENTER,jr=O["a"].ESC,Cr=O["a"].HOME,_r=O["a"].END,Ar=[kr,xr,Er,Or];function Tr(e,t,n,r){var a,o,u,l,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===Sr)return{inlineTrigger:!0};var p=(a={},Object(i["a"])(a,kr,c),Object(i["a"])(a,xr,s),a),h=(o={},Object(i["a"])(o,Er,n?s:c),Object(i["a"])(o,Or,n?c:s),Object(i["a"])(o,xr,f),Object(i["a"])(o,Sr,f),o),m=(u={},Object(i["a"])(u,kr,c),Object(i["a"])(u,xr,s),Object(i["a"])(u,Sr,f),Object(i["a"])(u,jr,d),Object(i["a"])(u,Er,n?f:d),Object(i["a"])(u,Or,n?d:f),u),v={inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m},g=null===(l=v["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r];switch(g){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}function Rr(e){var t=e;while(t){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Mr(e,t){var n=e||document.activeElement;while(n){if(t.has(n))return n;n=n.parentElement}return null}function Pr(e,t){var n=wr(e,!0);return n.filter((function(e){return t.has(e)}))}function Dr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var a=Pr(e,t),o=a.length,i=a.findIndex((function(e){return n===e}));return r<0?-1===i?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}function Nr(e,t,n,a,o,i,u,l,c,s){var f=r["useRef"](),d=r["useRef"]();d.current=t;var p=function(){y["a"].cancel(f.current)};return r["useEffect"]((function(){return function(){p()}}),[]),function(r){var h=r.which;if([].concat(Ar,[Sr,jr,Cr,_r]).includes(h)){var m,v,g,b=function(){m=new Set,v=new Map,g=new Map;var e=i();return e.forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Oe(a,e),"']"));t&&(m.add(t),g.set(t,e),v.set(e,t))})),m};b();var w=v.get(t),E=Mr(w,m),O=g.get(E),k=Tr(e,1===u(O,!0).length,n,h);if(!k&&h!==Cr&&h!==_r)return;(Ar.includes(h)||[Cr,_r].includes(h))&&r.preventDefault();var x=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=g.get(e);l(r),p(),f.current=Object(y["a"])((function(){d.current===r&&t.focus()}))}};if([Cr,_r].includes(h)||k.sibling||!E){var S,j;S=E&&"inline"!==e?Rr(E):o.current;var C=Pr(S,m);j=h===Cr?C[0]:h===_r?C[C.length-1]:Dr(S,m,E,k.offset),x(j)}else if(k.inlineTrigger)c(O);else if(k.offset>0)c(O,!0),p(),f.current=Object(y["a"])((function(){b();var e=E.getAttribute("aria-controls"),t=document.getElementById(e),n=Dr(t,m);x(n)}),5);else if(k.offset<0){var _=u(O,!0),A=_[_.length-2],T=v.get(A);c(A,!1),x(T)}}null===s||void 0===s||s(r)}}var Ir=Math.random().toFixed(5).toString().slice(2),Lr=0;function Br(e){var t=v(e,{value:e}),n=Object(u["a"])(t,2),a=n[0],o=n[1];return r["useEffect"]((function(){Lr+=1;var e="".concat(Ir,"-").concat(Lr);o("rc-menu-uuid-".concat(e))}),[]),a}function Fr(e){Promise.resolve().then(e)}var Ur="__RC_UTIL_PATH_SPLIT__",zr=function(e){return e.join(Ur)},Yr=function(e){return e.split(Ur)},Wr="rc-menu-more";function Gr(){var e=r["useState"]({}),t=Object(u["a"])(e,2),n=t[1],a=Object(r["useRef"])(new Map),o=Object(r["useRef"])(new Map),i=r["useState"]([]),l=Object(u["a"])(i,2),c=l[0],s=l[1],f=Object(r["useRef"])(0),d=Object(r["useRef"])(!1),p=function(){d.current||n({})},h=Object(r["useCallback"])((function(e,t){var n=zr(t);o.current.set(n,e),a.current.set(e,n),f.current+=1;var r=f.current;Fr((function(){r===f.current&&p()}))}),[]),m=Object(r["useCallback"])((function(e,t){var n=zr(t);o.current["delete"](n),a.current["delete"](e)}),[]),v=Object(r["useCallback"])((function(e){s(e)}),[]),y=Object(r["useCallback"])((function(e,t){var n=a.current.get(e)||"",r=Yr(n);return t&&c.includes(r[0])&&r.unshift(Wr),r}),[c]),b=Object(r["useCallback"])((function(e,t){return e.some((function(e){var n=y(e,!0);return n.includes(t)}))}),[y]),w=function(){var e=Object(g["a"])(a.current.keys());return c.length&&e.push(Wr),e},E=Object(r["useCallback"])((function(e){var t="".concat(a.current.get(e)).concat(Ur),n=new Set;return Object(g["a"])(o.current.keys()).forEach((function(e){e.startsWith(t)&&n.add(o.current.get(e))})),n}),[]);return r["useEffect"]((function(){return function(){d.current=!0}}),[]),{registerPath:h,unregisterPath:m,refreshOverflowKeys:v,isSubPathKey:b,getKeyPath:y,getKeys:w,getSubPathKeys:E}}var Hr=["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"],Vr=[],$r=r["forwardRef"]((function(e,t){var n,a,l=e.prefixCls,f=void 0===l?"rc-menu":l,p=e.rootClassName,h=e.style,m=e.className,y=e.tabIndex,b=void 0===y?0:y,w=e.items,E=e.children,O=e.direction,k=e.id,x=e.mode,S=void 0===x?"vertical":x,j=e.inlineCollapsed,C=e.disabled,_=e.disabledOverflow,A=e.subMenuOpenDelay,R=void 0===A?.1:A,M=e.subMenuCloseDelay,P=void 0===M?.1:M,D=e.forceSubMenuRender,N=e.defaultOpenKeys,I=e.openKeys,L=e.activeKey,B=e.defaultActiveFirst,F=e.selectable,U=void 0===F||F,z=e.multiple,Y=void 0!==z&&z,W=e.defaultSelectedKeys,G=e.selectedKeys,H=e.onSelect,V=e.onDeselect,$=e.inlineIndent,X=void 0===$?24:$,q=e.motion,K=e.defaultMotions,Q=e.triggerSubMenuAction,Z=void 0===Q?"hover":Q,ee=e.builtinPlacements,te=e.itemIcon,ne=e.expandIcon,re=e.overflowedIndicator,ae=void 0===re?"...":re,oe=e.overflowedIndicatorPopupClassName,ie=e.getPopupContainer,ue=e.onClick,le=e.onOpenChange,se=e.onKeyDown,fe=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),pe=e._internalRenderSubMenuItem,he=Object(c["a"])(e,Hr),me=r["useMemo"]((function(){return Ie(E,w,Vr)}),[E,w]),ge=r["useState"](!1),ye=Object(u["a"])(ge,2),be=ye[0],ke=ye[1],xe=r["useRef"](),je=Br(k),Ce="rtl"===O;var _e=r["useMemo"]((function(){return"inline"!==S&&"vertical"!==S||!j?[S,!1]:["vertical",j]}),[S,j]),Ae=Object(u["a"])(_e,2),Te=Ae[0],Re=Ae[1],Pe=r["useState"](0),De=Object(u["a"])(Pe,2),Ne=De[0],Be=De[1],Fe=Ne>=me.length-1||"horizontal"!==Te||_,Ue=v(N,{value:I,postState:function(e){return e||Vr}}),ze=Object(u["a"])(Ue,2),Ye=ze[0],We=ze[1],Ge=function(e){We(e),null===le||void 0===le||le(e)},He=r["useState"](Ye),Ve=Object(u["a"])(He,2),$e=Ve[0],Xe=Ve[1],qe="inline"===Te,Ke=r["useRef"](!1);r["useEffect"]((function(){qe&&Xe(Ye)}),[Ye]),r["useEffect"]((function(){Ke.current?qe?We($e):Ge(Vr):Ke.current=!0}),[qe]);var Qe=Gr(),Ze=Qe.registerPath,Je=Qe.unregisterPath,et=Qe.refreshOverflowKeys,tt=Qe.isSubPathKey,nt=Qe.getKeyPath,rt=Qe.getKeys,at=Qe.getSubPathKeys,ot=r["useMemo"]((function(){return{registerPath:Ze,unregisterPath:Je}}),[Ze,Je]),it=r["useMemo"]((function(){return{isSubPathKey:tt}}),[tt]);r["useEffect"]((function(){et(Fe?Vr:me.slice(Ne+1).map((function(e){return e.key})))}),[Ne,Fe]);var ut=v(L||B&&(null===(n=me[0])||void 0===n?void 0:n.key),{value:L}),lt=Object(u["a"])(ut,2),ct=lt[0],st=lt[1],ft=Le((function(e){st(e)})),dt=Le((function(){st(void 0)}));Object(r["useImperativeHandle"])(t,(function(){return{list:xe.current,focus:function(e){var t,n,r,a,o=null!==ct&&void 0!==ct?ct:null===(t=me.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;o&&(null===(n=xe.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Oe(je,o),"']")))||void 0===r||null===(a=r.focus)||void 0===a||a.call(r,e))}}}));var pt=v(W||[],{value:G,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Vr:[e]}}),ht=Object(u["a"])(pt,2),mt=ht[0],vt=ht[1],gt=function(e){if(U){var t,n=e.key,r=mt.includes(n);t=Y?r?mt.filter((function(e){return e!==n})):[].concat(Object(g["a"])(mt),[n]):[n],vt(t);var a=Object(s["a"])(Object(s["a"])({},e),{},{selectedKeys:t});r?null===V||void 0===V||V(a):null===H||void 0===H||H(a)}!Y&&Ye.length&&"inline"!==Te&&Ge(Vr)},yt=Le((function(e){null===ue||void 0===ue||ue(de(e)),gt(e)})),bt=Le((function(e,t){var n=Ye.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Te){var r=at(e);n=n.filter((function(e){return!r.has(e)}))}T()(Ye,n)||Ge(n)})),wt=Le(ie),Et=function(e,t){var n=null!==t&&void 0!==t?t:!Ye.includes(e);bt(e,n)},Ot=Nr(Te,ct,Ce,je,xe,rt,nt,st,Et,se);r["useEffect"]((function(){ke(!0)}),[]);var kt=r["useMemo"]((function(){return{_internalRenderMenuItem:fe,_internalRenderSubMenuItem:pe}}),[fe,pe]),xt="horizontal"!==Te||_?me:me.map((function(e,t){return r["createElement"](ce,{key:e.key,overflowDisabled:t>Ne},e)})),St=r["createElement"](J,Object(o["a"])({id:k,ref:xe,prefixCls:"".concat(f,"-overflow"),component:"ul",itemComponent:Me,className:d()(f,"".concat(f,"-root"),"".concat(f,"-").concat(Te),m,(a={},Object(i["a"])(a,"".concat(f,"-inline-collapsed"),Re),Object(i["a"])(a,"".concat(f,"-rtl"),Ce),a),p),dir:O,style:h,role:"menu",tabIndex:b,data:xt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?me.slice(-t):null;return r["createElement"](yr,{eventKey:Wr,title:ae,disabled:Fe,internalPopupClose:0===t,popupClassName:oe},n)},maxCount:"horizontal"!==Te||_?J.INVALIDATE:J.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Be(e)},onKeyDown:Ot},he));return r["createElement"](Se.Provider,{value:kt},r["createElement"](Ee.Provider,{value:je},r["createElement"](ce,{prefixCls:f,rootClassName:p,mode:Te,openKeys:Ye,rtl:Ce,disabled:C,motion:be?q:null,defaultMotions:be?K:null,activeKey:ct,onActive:ft,onInactive:dt,selectedKeys:mt,inlineIndent:X,subMenuOpenDelay:R,subMenuCloseDelay:P,forceSubMenuRender:D,builtinPlacements:ee,triggerSubMenuAction:Z,getPopupContainer:wt,itemIcon:te,expandIcon:ne,onItemClick:yt,onOpenChange:bt},r["createElement"](we.Provider,{value:it},St),r["createElement"]("div",{style:{display:"none"},"aria-hidden":!0},r["createElement"](ve.Provider,{value:ot},me)))))})),Xr=$r,qr=["className","title","eventKey","children"],Kr=["children"],Qr=function(e){var t=e.className,n=e.title,a=(e.eventKey,e.children),i=Object(c["a"])(e,qr),u=r["useContext"](ue),l=u.prefixCls,s="".concat(l,"-item-group");return r["createElement"]("li",Object(o["a"])({},i,{onClick:function(e){return e.stopPropagation()},className:d()(s,t)}),r["createElement"]("div",{className:"".concat(s,"-title"),title:"string"===typeof n?n:void 0},n),r["createElement"]("ul",{className:"".concat(s,"-list")},a))};function Zr(e){var t=e.children,n=Object(c["a"])(e,Kr),a=be(n.eventKey),o=De(t,a),i=ge();return i?o:r["createElement"](Qr,Object(ae["a"])(n,["warnKey"]),o)}function Jr(e){var t=e.className,n=e.style,a=r["useContext"](ue),o=a.prefixCls,i=ge();return i?null:r["createElement"]("li",{className:d()("".concat(o,"-item-divider"),t),style:n})}var ea=Xr;ea.Item=Me,ea.SubMenu=yr,ea.ItemGroup=Zr,ea.Divider=Jr;var ta=ea,na={adjustX:1,adjustY:1},ra=[0,0],aa={topLeft:{points:["bl","tl"],overflow:na,offset:[0,-4],targetOffset:ra},topCenter:{points:["bc","tc"],overflow:na,offset:[0,-4],targetOffset:ra},topRight:{points:["br","tr"],overflow:na,offset:[0,-4],targetOffset:ra},bottomLeft:{points:["tl","bl"],overflow:na,offset:[0,4],targetOffset:ra},bottomCenter:{points:["tc","bc"],overflow:na,offset:[0,4],targetOffset:ra},bottomRight:{points:["tr","br"],overflow:na,offset:[0,4],targetOffset:ra}},oa=aa,ia=O["a"].ESC,ua=O["a"].TAB;function la(e){var t=e.visible,n=e.setTriggerVisible,a=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,u=r["useRef"](!1),l=function(){var e,r,i,u;t&&a.current&&(null===(e=a.current)||void 0===e||null===(r=e.triggerRef)||void 0===r||null===(i=r.current)||void 0===i||null===(u=i.focus)||void 0===u||u.call(i),n(!1),"function"===typeof o&&o(!1))},c=function(){var e,t,n,r,o=wr(null===(e=a.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(r=n.getElement)||void 0===r?void 0:r.call(n)),i=o[0];return!!(null===i||void 0===i?void 0:i.focus)&&(i.focus(),u.current=!0,!0)},s=function(e){switch(e.keyCode){case ia:l();break;case ua:var t=!1;u.current||(t=c()),t?e.preventDefault():l();break}};r["useEffect"]((function(){return t?(window.addEventListener("keydown",s),i&&Object(y["a"])(c,3),function(){window.removeEventListener("keydown",s),u.current=!1}):function(){u.current=!1}}),[t])}var ca=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function sa(e,t){var n=e.arrow,a=void 0!==n&&n,o=e.prefixCls,l=void 0===o?"rc-dropdown":o,f=e.transitionName,p=e.animation,h=e.align,m=e.placement,v=void 0===m?"bottomLeft":m,g=e.placements,y=void 0===g?oa:g,b=e.getPopupContainer,w=e.showAction,E=e.hideAction,O=e.overlayClassName,k=e.overlayStyle,x=e.visible,S=e.trigger,j=void 0===S?["hover"]:S,C=e.autoFocus,_=Object(c["a"])(e,ca),A=r["useState"](),T=Object(u["a"])(A,2),R=T[0],M=T[1],P="visible"in e?x:R,D=r["useRef"](null);r["useImperativeHandle"](t,(function(){return D.current})),la({visible:P,setTriggerVisible:M,triggerRef:D,onVisibleChange:e.onVisibleChange,autoFocus:C});var N=function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t},I=function(t){var n=e.onOverlayClick;M(!1),console.log("!!!!!!!!!!!!",n),n&&n(t)},L=function(t){var n=e.onVisibleChange;M(t),"function"===typeof n&&n(t)},B=function(){var e=N();return r["createElement"](r["Fragment"],null,a&&r["createElement"]("div",{className:"".concat(l,"-arrow")}),e)},F=function(){var t=e.overlay;return"function"===typeof t?B:B()},U=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(l,"-open")},Y=function(){var t=e.children,n=t.props?t.props:{},a=d()(n.className,z());return P&&t?r["cloneElement"](t,{className:a}):t},W=E;return W||-1===j.indexOf("contextMenu")||(W=["click"]),r["createElement"](ur,Object(s["a"])(Object(s["a"])({builtinPlacements:y},_),{},{prefixCls:l,ref:D,popupClassName:d()(O,Object(i["a"])({},"".concat(l,"-show-arrow"),a)),popupStyle:k,action:j,showAction:w,hideAction:W||[],popupPlacement:v,popupAlign:h,popupTransitionName:f,popupAnimation:p,popupVisible:P,stretch:U()?"minWidth":"",popup:F(),onPopupVisibleChange:L,onPopupClick:I,getPopupContainer:b}),Y())}var fa=r["forwardRef"](sa),da=fa;function pa(e,t){var n=e.prefixCls,a=e.editable,o=e.locale,i=e.style;return a&&!1!==a.showAdd?r["createElement"]("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null===o||void 0===o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}var ha=r["forwardRef"](pa);function ma(e,t){var n=e.prefixCls,a=e.id,o=e.tabs,l=e.locale,c=e.mobile,s=e.moreIcon,f=void 0===s?"More":s,p=e.moreTransitionName,h=e.style,m=e.className,v=e.editable,g=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,w=e.onTabClick,E=Object(r["useState"])(!1),k=Object(u["a"])(E,2),x=k[0],S=k[1],j=Object(r["useState"])(null),C=Object(u["a"])(j,2),_=C[0],A=C[1],T="".concat(a,"-more-popup"),R="".concat(n,"-dropdown"),M=null!==_?"".concat(T,"-").concat(_):null,P=null===l||void 0===l?void 0:l.dropdownAriaLabel;function D(e,t){e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:t,event:e})}var N=r["createElement"](ta,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),S(!1)},prefixCls:"".concat(R,"-menu"),id:T,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[_],"aria-label":void 0!==P?P:"expanded dropdown"},o.map((function(e){var t=v&&!1!==e.closable&&!e.disabled;return r["createElement"](Me,{key:e.key,id:"".concat(T,"-").concat(e.key),role:"option","aria-controls":a&&"".concat(a,"-panel-").concat(e.key),disabled:e.disabled},r["createElement"]("span",null,e.tab),t&&r["createElement"]("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),D(t,e.key)}},e.closeIcon||v.removeIcon||"\xd7"))})));function I(e){for(var t=o.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===_}))||0,r=t.length,a=0;ai?(a=n,x.current="x"):(a=r,x.current="y"),t(-a,-a)&&e.preventDefault()}var j=Object(r["useRef"])(null);j.current={onTouchStart:E,onTouchMove:O,onTouchEnd:k,onWheel:S},r["useEffect"]((function(){function t(e){j.current.onTouchStart(e)}function n(e){j.current.onTouchMove(e)}function r(e){j.current.onTouchEnd(e)}function a(e){j.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",a),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}}),[])}function ka(){var e=Object(r["useRef"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,r["createRef"]()),e.current.get(t)}function n(t){e.current["delete"](t)}return[t,n]}function xa(e,t){var n=r["useRef"](e),a=r["useState"]({}),o=Object(u["a"])(a,2),i=o[1];function l(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}return[n.current,l]}var Sa=function(e){var t,n=e.position,a=e.prefixCls,o=e.extra;if(!o)return null;var i={};return o&&"object"===Object(l["a"])(o)&&!r["isValidElement"](o)?i=o:i.right=o,"right"===n&&(t=i.right),"left"===n&&(t=i.left),t?r["createElement"]("div",{className:"".concat(a,"-extra-content")},t):null};function ja(e,t){var n,a=r["useContext"](ga),l=a.prefixCls,c=a.tabs,f=e.className,p=e.style,h=e.id,m=e.animated,v=e.activeKey,O=e.rtl,k=e.extra,S=e.editable,C=e.locale,A=e.tabPosition,T=e.tabBarGutter,R=e.children,M=e.onTabClick,P=e.onTabScroll,D=Object(r["useRef"])(),N=Object(r["useRef"])(),I=Object(r["useRef"])(),L=Object(r["useRef"])(),B=ka(),F=Object(u["a"])(B,2),U=F[0],z=F[1],Y="top"===A||"bottom"===A,W=xa(0,(function(e,t){Y&&P&&P({direction:e>t?"left":"right"})})),G=Object(u["a"])(W,2),H=G[0],V=G[1],$=xa(0,(function(e,t){!Y&&P&&P({direction:e>t?"top":"bottom"})})),X=Object(u["a"])($,2),q=X[0],K=X[1],Q=Object(r["useState"])(0),Z=Object(u["a"])(Q,2),J=Z[0],ee=Z[1],te=Object(r["useState"])(0),ne=Object(u["a"])(te,2),re=ne[0],ae=ne[1],oe=Object(r["useState"])(null),ie=Object(u["a"])(oe,2),ue=ie[0],le=ie[1],ce=Object(r["useState"])(null),se=Object(u["a"])(ce,2),fe=se[0],de=se[1],pe=Object(r["useState"])(0),he=Object(u["a"])(pe,2),me=he[0],ve=he[1],ge=Object(r["useState"])(0),ye=Object(u["a"])(ge,2),be=ye[0],we=ye[1],Ee=E(new Map),Oe=Object(u["a"])(Ee,2),ke=Oe[0],xe=Oe[1],Se=j(c,ke,J),je="".concat(l,"-nav-operations-hidden"),Ce=0,_e=0;function Ae(e){return e_e?_e:e}Y?O?(Ce=0,_e=Math.max(0,J-ue)):(Ce=Math.min(0,ue-J),_e=0):(Ce=Math.min(0,fe-re),_e=0);var Te=Object(r["useRef"])(),Re=Object(r["useState"])(),Me=Object(u["a"])(Re,2),Pe=Me[0],De=Me[1];function Ne(){De(Date.now())}function Ie(){window.clearTimeout(Te.current)}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=Se.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Y){var n=H;O?t.rightH+ue&&(n=t.right+t.width-ue):t.left<-H?n=-t.left:t.left+t.width>-H+ue&&(n=-(t.left+t.width-ue)),K(0),V(Ae(n))}else{var r=q;t.top<-q?r=-t.top:t.top+t.height>-q+fe&&(r=-(t.top+t.height-fe)),V(0),K(Ae(r))}}Oa(D,(function(e,t){function n(e,t){e((function(e){var n=Ae(e+t);return n}))}if(Y){if(ue>=J)return!1;n(V,e)}else{if(fe>=re)return!1;n(K,t)}return Ie(),Ne(),!0})),Object(r["useEffect"])((function(){return Ie(),Pe&&(Te.current=window.setTimeout((function(){De(0)}),100)),Ie}),[Pe]);var Be=_(Se,{width:ue,height:fe,left:H,top:q},{width:J,height:re},{width:me,height:be},Object(s["a"])(Object(s["a"])({},e),{},{tabs:c})),Fe=Object(u["a"])(Be,2),Ue=Fe[0],ze=Fe[1],Ye={};"top"===A||"bottom"===A?Ye[O?"marginRight":"marginLeft"]=T:Ye.marginTop=T;var We=c.map((function(e,t){var n=e.key;return r["createElement"](x,{id:h,prefixCls:l,key:n,tab:e,style:0===t?void 0:Ye,closable:e.closable,editable:S,active:n===v,renderWrapper:R,removeAriaLabel:null===C||void 0===C?void 0:C.removeAriaLabel,ref:U(n),onClick:function(e){M(n,e)},onRemove:function(){z(n)},onFocus:function(){Le(n),Ne(),D.current&&(O||(D.current.scrollLeft=0),D.current.scrollTop=0)}})})),Ge=w((function(){var e,t,n,r,a,o,i=(null===(e=D.current)||void 0===e?void 0:e.offsetWidth)||0,u=(null===(t=D.current)||void 0===t?void 0:t.offsetHeight)||0,l=(null===(n=L.current)||void 0===n?void 0:n.offsetWidth)||0,s=(null===(r=L.current)||void 0===r?void 0:r.offsetHeight)||0;le(i),de(u),ve(l),we(s);var f=((null===(a=N.current)||void 0===a?void 0:a.offsetWidth)||0)-l,d=((null===(o=N.current)||void 0===o?void 0:o.offsetHeight)||0)-s;ee(f),ae(d),xe((function(){var e=new Map;return c.forEach((function(t){var n=t.key,r=U(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),He=c.slice(0,Ue),Ve=c.slice(ze+1),$e=[].concat(Object(g["a"])(He),Object(g["a"])(Ve)),Xe=Object(r["useState"])(),qe=Object(u["a"])(Xe,2),Ke=qe[0],Qe=qe[1],Ze=Se.get(v),Je=Object(r["useRef"])();function et(){y["a"].cancel(Je.current)}Object(r["useEffect"])((function(){var e={};return Ze&&(Y?(O?e.right=Ze.right:e.left=Ze.left,e.width=Ze.width):(e.top=Ze.top,e.height=Ze.height)),et(),Je.current=Object(y["a"])((function(){Qe(e)})),et}),[Ze,Y,O]),Object(r["useEffect"])((function(){Le()}),[v,Ze,Se,Y]),Object(r["useEffect"])((function(){Ge()}),[O,T,v,c.map((function(e){return e.key})).join("_")]);var tt,nt,rt,at,ot=!!$e.length,it="".concat(l,"-nav-wrap");return Y?O?(nt=H>0,tt=H+uee.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0,y=void 0!==g,b=c(h),w=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&i(b))for(t=u(h.length),n=new m(t);t>w;w++)p=y?g(h[w],w):h[w],l(n,w,p);else for(f=b.call(h),d=f.next,n=new m;!(s=d.call(f)).done;w++)p=y?o(f,g,[s.value,w],!0):s.value,l(n,w,p);return n.length=w,n}},"7HYU":function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},"7NTl":function(e,t,n){"use strict";var r=n("g0pg"),a=n("vMeL"),o=r.aTypedArrayConstructor,i=r.exportTypedArrayStaticMethod;i("of",(function(){var e=0,t=arguments.length,n=new(o(this))(t);while(t>e)n[e]=arguments[e++];return n}),a)},"7PoB":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("v3z7"),c=n("ZT9G"),s=n("QHn5"),f=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{mapValues:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){d.call(a,e,r(n,e,t))}),void 0,!0,!0),a}})},"7TNV":function(e,t,n){var r=n("PORw"),a=n("lf6h"),o="[object Arguments]";function i(e){return a(e)&&r(e)==o}e.exports=i},"7Xfv":function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("lkgX"),l=n("0JbB");a&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(e,t){l.f(i(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},"7wbt":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isDisjointFrom:function(e){var t=o(this),n=i(t.has);return!u(e,(function(e){if(!0===n.call(t,e))return u.stop()})).stopped}})},"7xa0":function(e,t,n){var r=n("3rdh"),a=n("Q69t"),o=n("xuOn"),i=n("ZsxT"),u=n("lUrU");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),s&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=f.lastIndex),a=o.call(d?n:f,v),d?a?(a.input=a.input.slice(m),a[0]=a[0].slice(m),a.index=f.lastIndex,f.lastIndex+=a[0].length):f.lastIndex=0:l&&a&&(f.lastIndex=f.global?a.index+a[0].length:t),s&&a&&a.length>1&&i.call(a[0],n,(function(){for(u=1;u0?r:n)(e)}},AU2x:function(e,t,n){var r=n("F71Q");function a(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=a},AnAv:function(e,t){e.exports={}},AqOu:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"B+gL":function(e,t,n){"use strict";var r=2147483647,a=36,o=1,i=26,u=38,l=700,c=72,s=128,f="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=a-o,v=Math.floor,g=String.fromCharCode,y=function(e){var t=[],n=0,r=e.length;while(n=55296&&a<=56319&&n>1,e+=v(e/t);e>m*i>>1;r+=a)e=v(e/m);return v(r+(m+1)*e/(e+u))},E=function(e){var t=[];e=y(e);var n,u,l=e.length,d=s,p=0,m=c;for(n=0;n=d&&uv((r-p)/x))throw RangeError(h);for(p+=(k-d)*x,d=k,n=0;nr)throw RangeError(h);if(u==d){for(var S=p,j=a;;j+=a){var C=j<=m?o:j>=m+i?i:j-m;if(S0?arguments[0]:void 0,s=this,p=[];if(C(s,{type:S,entries:p,updateURL:function(){},updateSearchParams:U}),void 0!==c)if(v(c))if(e=w(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(a=b(m(r.value)),o=a.next,(i=o.call(a)).done||(u=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:u.value+""})}}else for(l in c)d(c,l)&&p.push({key:l,value:c[l]+""});else F(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},G=W.prototype;u(G,{append:function(e,t){z(arguments.length,2);var n=_(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=_(this),n=t.entries,r=e+"",a=0;while(ae.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){var t,n=_(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;while(a1&&(t=arguments[1],v(t)&&(n=t.body,h(n)===S&&(r=t.headers?new k(t.headers):new k,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),a.push(t)),O.apply(this,a)}}),e.exports={URLSearchParams:W,getState:_}},BLCN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("Us7a").start,o=n("SRer");r({target:"String",proto:!0,forced:o},{padStart:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},BUyj:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("RzMS"),i=n("uF/W"),u=n("gArs"),l=n("uZx/"),c=n("CZSf"),s=n("x+sk"),f=n("h+/6"),d=n("eW2S"),p=n("nBeg"),h=n("aRba");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=a[e],b=y&&y.prototype,w=y,E={},O=function(e){var t=b[e];i(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof y||!(v||b.forEach&&!f((function(){(new y).entries().next()})))))w=n.getConstructor(t,e,m,g),u.REQUIRED=!0;else if(o(e,!0)){var k=new w,x=k[g](v?{}:-0,1)!=k,S=f((function(){k.has(1)})),j=d((function(e){new y(e)})),C=!v&&f((function(){var e=new y,t=5;while(t--)e[g](t,t);return!e.has(-0)}));j||(w=t((function(t,n){c(t,w,e);var r=h(new y,t,w);return void 0!=n&&l(n,r[g],r,m),r})),w.prototype=b,b.constructor=w),(S||C)&&(O("delete"),O("has"),m&&O("get")),(C||x)&&O(g),v&&b.clear&&delete b.clear}return E[e]=w,r({global:!0,forced:w!=y},E),p(w,e),v||n.setStrong(w,e,m),w}},BZ8O:function(e,t,n){"use strict";var r=n("SHha"),a=n("1QO0");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},Bm2L:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return D})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return Y})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return P})),n.d(t,"j",(function(){return H})),n.d(t,"k",(function(){return V})),n.d(t,"l",(function(){return $})),n.d(t,"m",(function(){return X})),n.d(t,"n",(function(){return W}));var r=n("Srxv"),a=n("1QO0"),o=n.n(a),i=n("ptaF"),u=n("1ChE"),l=n("g8ur"),c=n("lCDx"),s=n("aaHa"),f=n.n(s),d=(n("tSbI"),n("pj1d")),p=n("zyZy"),h=n.n(p),m=function(e){var t=Object(u["a"])();return t.displayName=e,t},v=m("Router-History"),g=function(e){var t=Object(u["a"])();return t.displayName=e,t},y=g("Router"),b=function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r["a"])(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a>>16,l=a>>>16,c=(u*i>>>0)+(o*i>>>16);return u*l+(c>>>16)+((o*l>>>0)+(c&n)>>>16)}})},CZSf:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},CZpw:function(e,t,n){"use strict";var r,a,o,i,u=n("OOCw"),l=n("qyeh"),c=n("6SQG"),s=n("eyaU"),f=n("N59M"),d=n("uF/W"),p=n("TxBV"),h=n("nBeg"),m=n("ct0+"),v=n("x+sk"),g=n("lkgX"),y=n("CZSf"),b=n("kk5s"),w=n("piBM"),E=n("uZx/"),O=n("eW2S"),k=n("ZT9G"),x=n("bbNk").set,S=n("OtMc"),j=n("rCLu"),C=n("Cqy2"),_=n("8d12"),A=n("86T+"),T=n("uJNS"),R=n("RzMS"),M=n("3Hes"),P=n("tDGd"),D=M("species"),N="Promise",I=T.get,L=T.set,B=T.getterFor(N),F=f,U=c.TypeError,z=c.document,Y=c.process,W=s("fetch"),G=_.f,H=G,V="process"==b(Y),$=!!(z&&z.createEvent&&c.dispatchEvent),X="unhandledrejection",q="rejectionhandled",K=0,Q=1,Z=2,J=1,ee=2,te=R(N,(function(){var e=w(F)!==String(F);if(!e){if(66===P)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!F.prototype["finally"])return!0;if(P>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[D]=n,!(t.then((function(){}))instanceof n)})),ne=te||!O((function(e){F.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},ae=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){var a=t.value,o=t.state==Q,i=0;while(r.length>i){var u,l,c,s=r[i++],f=o?s.ok:s.fail,d=s.resolve,p=s.reject,h=s.domain;try{f?(o||(t.rejection===ee&&le(e,t),t.rejection=J),!0===f?u=a:(h&&h.enter(),u=f(a),h&&(h.exit(),c=!0)),u===s.promise?p(U("Promise-chain cycle")):(l=re(u))?l.call(u,d,p):d(u)):p(a)}catch(m){h&&!c&&h.exit(),p(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ie(e,t)}))}},oe=function(e,t,n){var r,a;$?(r=z.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(a=c["on"+e])?a(r):e===X&&C("Unhandled promise rejection",n)},ie=function(e,t){x.call(c,(function(){var n,r=t.value,a=ue(t);if(a&&(n=A((function(){V?Y.emit("unhandledRejection",r,e):oe(X,e,r)})),t.rejection=V||ue(t)?ee:J,n.error))throw n.value}))},ue=function(e){return e.rejection!==J&&!e.parent},le=function(e,t){x.call(c,(function(){V?Y.emit("rejectionHandled",e):oe(q,e,t.value)}))},ce=function(e,t,n,r){return function(a){e(t,n,a,r)}},se=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=Z,ae(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var a=re(n);a?S((function(){var r={done:!1};try{a.call(n,ce(fe,e,r,t),ce(se,e,r,t))}catch(o){se(e,r,o,t)}})):(t.value=n,t.state=Q,ae(e,t,!1))}catch(o){se(e,{done:!1},o,t)}}};te&&(F=function(e){y(this,F,N),g(e),r.call(this);var t=I(this);try{e(ce(fe,this,t),ce(se,this,t))}catch(n){se(this,t,n)}},r=function(e){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(F.prototype,{then:function(e,t){var n=B(this),r=G(k(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?Y.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ae(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=I(e);this.promise=e,this.resolve=ce(fe,e,t),this.reject=ce(se,e,t)},_.f=G=function(e){return e===F||e===o?new a(e):H(e)},l||"function"!=typeof f||(i=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return j(F,W.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:te},{Promise:F}),h(F,N,!1,!0),m(N),o=s(N),u({target:N,stat:!0,forced:te},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),u({target:N,stat:!0,forced:l||te},{resolve:function(e){return j(l&&this===o?F:this,e)}}),u({target:N,stat:!0,forced:ne},{all:function(e){var t=this,n=G(t),r=n.resolve,a=n.reject,o=A((function(){var n=g(t.resolve),o=[],i=0,u=1;E(e,(function(e){var l=i++,c=!1;o.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--u||r(o))}),a)})),--u||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,a=A((function(){var a=g(t.resolve);E(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},CpWJ:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("v3z7"),c=n("ZT9G"),s=n("QHn5"),f=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{filter:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){r(n,e,t)&&d.call(a,e,n)}),void 0,!0,!0),a}})},Cqy2:function(e,t,n){var r=n("6SQG");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},CsJM:function(e,t,n){var r=n("z43i"),a=n("Vg85"),o="["+a+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(u,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},Ctpf:function(e,t,n){"use strict";var r=n("NUIj");Object.defineProperty(t,"__esModule",{value:!0});var a=n("12pU"),o=n("1QO0"),i=n("qkOA"),u=n("M/TJ");function l(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var c=l(o);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t=0||(a[n]=e[n]);return a}function g(e,t){if(null==e)return{};var n,r,a=v(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function y(e,t){return b(e)||w(e,t)||E(e,t)||k()}function b(e){if(Array.isArray(e))return e}function w(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(o.push(r.value),t&&o.length===t)break}catch(l){u=!0,a=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}return o}}function E(e,t){if(e){if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function S(e){return c["default"].createElement(a.__RouterContext.Consumer,null,(function(t){var n=e.location||t.location,r=e.computedMatch,o=f(f({},t),{},{location:n,match:r}),i=e.render;return c["default"].createElement(a.__RouterContext.Provider,{value:o},o.match?i(f(f({},e.layoutProps),o)):null)}))}var j=["children"];function C(e){return c["default"].createElement(a.__RouterContext.Consumer,null,(function(t){var n,r=e.children,i=g(e,j),u=e.location||t.location,l=null;return o.Children.forEach(r,(function(e){if(null===l&&o.isValidElement(e)){n=e;var r=e.props.path||e.props.from;l=r?a.matchPath(u.pathname,f(f({},e.props),{},{path:r})):t.match}})),l?o.cloneElement(n,{location:u,computedMatch:l,layoutProps:i}):null}))}var _=["component"];function A(e,t){e.component;var n=g(e,_),i=e.component;function u(u){var l=o.useState((function(){return window.g_initialProps})),s=y(l,2),d=s[0],h=s[1];return o.useEffect((function(){var o=function(){var o=p(r.mark((function o(){var l,c,s,d,p;return r.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(c=i,!i.preload){r.next=6;break}return r.next=4,i.preload();case 4:c=r.sent,c=c["default"]||c;case 6:if(s=f(f({isServer:!1,match:null===u||void 0===u?void 0:u.match,history:null===u||void 0===u?void 0:u.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(l=c)||void 0===l?void 0:l.getInitialProps)){r.next=15;break}return r.next=10,t.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:a.ApplyPluginsType.modify,initialValue:s,async:!0});case 10:return d=r.sent,r.next=13,c.getInitialProps(d||s);case 13:p=r.sent,h(p);case 15:case"end":return r.stop()}}),o)})));return function(){return o.apply(this,arguments)}}();window.g_initialProps||o()}),[window.location.pathname,window.location.search]),c["default"].createElement(i,m({},u,d))}return u.wrapInitialPropsLoaded=!0,u.displayName="ComponentWithInitialPropsFetch",u}function T(e){var t=e.route,n=e.opts,r=e.props,a=M(f(f({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),i=t.component,u=t.wrappers;if(i){var l=n.isServer?{}:window.g_initialProps,s=f(f(f(f({},r),n.extraProps),n.pageInitialProps||l),{},{route:t,routes:n.rootRoutes}),d=c["default"].createElement(i,s,a);if(u){var p=u.length-1;while(p>=0)d=o.createElement(u[p],s,d),p-=1}return d}return a}function R(e){var t,n,r,o=e.route,i=e.index,u=e.opts,l={key:o.key||i,exact:o.exact,strict:o.strict,sensitive:o.sensitive,path:o.path};return o.redirect?c["default"].createElement(a.Redirect,m({},l,{from:o.path,to:o.redirect})):(!u.ssrProps||u.isServer||(null===(t=o.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=o.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(r=o.component)||void 0===r?void 0:r.preload)||(o.component=A(o,u)),c["default"].createElement(S,m({},l,{render:function(e){return T({route:o,opts:u,props:e})}})))}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?c["default"].createElement(C,t,e.routes.map((function(t,n){return R({route:t,index:n,opts:f(f({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var P=["history"];function D(e){var t=e.history,n=g(e,P);return o.useEffect((function(){function r(t,r){var o=u.matchRoutes(e.routes,t.pathname);"undefined"!==typeof document&&void 0!==n.defaultTitle&&(document.title=o.length&&o[o.length-1].route.title||n.defaultTitle||""),e.plugin.applyPlugins({key:"onRouteChange",type:a.ApplyPluginsType.event,args:{routes:e.routes,matchedRoutes:o,location:t,action:r}})}return window.g_useSSR&&(window.g_initialProps=null),r(t.location,"POP"),t.listen(r)}),[t]),c["default"].createElement(a.Router,{history:t},M(n))}function N(e){return e.plugin.applyPlugins({type:a.ApplyPluginsType.modify,key:"rootContainer",initialValue:c["default"].createElement(D,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}})}function I(e){return L.apply(this,arguments)}function L(){return L=p(r.mark((function e(t){var n,a,o,i,l,c,s,f,d=arguments;return r.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=d.length>1&&void 0!==d[1]?d[1]:window.location.pathname,a=u.matchRoutes(t,n),o=x(a),e.prev=3,o.s();case 5:if((i=o.n()).done){e.next=19;break}if(c=i.value,s=c.route,"string"===typeof s.component||!(null===(l=s.component)||void 0===l?void 0:l.preload)){e.next=13;break}return e.next=11,s.component.preload();case 11:f=e.sent,s.component=f["default"]||f;case 13:if(!s.routes){e.next=17;break}return e.next=16,I(s.routes,n);case 16:s.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](3),o.e(e.t0);case 24:return e.prev=24,o.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27]])}))),L.apply(this,arguments)}function B(e){var t=N(e);if(!e.rootElement)return t;var n="string"===typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?I(e.routes).then((function(){i.hydrate(t,n,r)})):i.hydrate(t,n,r):i.render(t,n,r)}t.renderClient=B,t.renderRoutes=M},Czbz:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"WeakMap",stat:!0},{from:a})},D0rO:function(e,t,n){"use strict";var r=n("OOCw"),a=n("h+/6"),o=n("xy/A"),i=n("sErw"),u=n("erIx"),l=n("upgS"),c=n("ZT9G"),s=o.ArrayBuffer,f=o.DataView,d=s.prototype.slice,p=a((function(){return!new s(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(i(this),e);var n=i(this).byteLength,r=u(e,n),a=u(void 0===t?n:t,n),o=new(c(this,s))(l(a-r)),p=new f(this),h=new f(o),m=0;while(rl)a.f(e,n=r[l++],t[n]);return e}},DT1c:function(e,t,n){var r=n("Kkyq"),a=n("Zjj6"),o=n("6vUj");function i(e){return function(t,n,i){var u=Object(t);if(!a(t)){var l=r(n,3);t=o(t),n=function(e){return l(u[e],e,u)}}var c=e(t,n,i);return c>-1?u[l?t[c]:c]:void 0}}e.exports=i},DbXJ:function(e,t,n){var r=n("ta0t"),a=n("W6X5"),o=n("XXwF"),i=n("Ysk6");function u(e){return r(e)||a(e)||o(e)||i()}e.exports=u},Dkad:function(e,t,n){var r=n("GXoa");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},EA9V:function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},EN7L:function(e,t,n){"use strict";n("M2ND");var r,a=n("OOCw"),o=n("r+6h"),i=n("Hy9b"),u=n("6SQG"),l=n("DS72"),c=n("uF/W"),s=n("CZSf"),f=n("oEsY"),d=n("NWlk"),p=n("7F/w"),h=n("vfR7").codeAt,m=n("B+gL"),v=n("nBeg"),g=n("BC4x"),y=n("uJNS"),b=u.URL,w=g.URLSearchParams,E=g.getState,O=y.set,k=y.getterFor("URL"),x=Math.floor,S=Math.pow,j="Invalid authority",C="Invalid scheme",_="Invalid host",A="Invalid port",T=/[A-Za-z]/,R=/[\d+-.A-Za-z]/,M=/\d/,P=/^(0x|0X)/,D=/^[0-7]+$/,N=/^\d+$/,I=/^[\dA-Fa-f]+$/,L=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,B=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,F=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,U=/[\u0009\u000A\u000D]/g,z=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return _;if(n=W(t.slice(1,-1)),!n)return _;e.host=n}else if(Z(e)){if(t=m(t),L.test(t))return _;if(n=Y(t),null===n)return _;e.host=n}else{if(B.test(t))return _;for(n="",r=p(t),a=0;a4)return e;for(n=[],r=0;r1&&"0"==a.charAt(0)&&(o=P.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?N:8==o?D:I).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r=S(256,5-t))return null}else if(i>255)return null;for(u=n.pop(),r=0;r6)return;r=0;while(d()){if(a=null,r>0){if(!("."==d()&&r<4))return;f++}if(!M.test(d()))return;while(M.test(d())){if(o=parseInt(d(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;f++}l[c]=256*l[c]+a,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[c++]=t}else{if(null!==s)return;f++,c++,s=c}}if(null!==s){i=c-s,c=7;while(0!=c&&i>0)u=l[c],l[c--]=l[s+i-1],l[s+--i]=u}else if(8!=c)return;return l},G=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t},H=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=G(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},$=d({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),X=d({},$,{"#":1,"?":1,"{":1,"}":1}),q=d({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},Q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return f(Q,e.scheme)},J=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ae=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},ue={},le={},ce={},se={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},we={},Ee={},Oe={},ke={},xe={},Se={},je={},Ce=function(e,t,n,a){var o,i,u,l,c=n||ie,s=0,d="",h=!1,m=!1,v=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(F,"")),t=t.replace(U,""),o=p(t);while(s<=o.length){switch(i=o[s],c){case ie:if(!i||!T.test(i)){if(n)return C;c=le;continue}d+=i.toLowerCase(),c=ue;break;case ue:if(i&&(R.test(i)||"+"==i||"-"==i||"."==i))d+=i.toLowerCase();else{if(":"!=i){if(n)return C;d="",c=le,s=0;continue}if(n&&(Z(e)!=f(Q,d)||"file"==d&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(Z(e)&&Q[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?c=be:Z(e)&&a&&a.scheme==e.scheme?c=ce:Z(e)?c=pe:"/"==o[s+1]?(c=se,s++):(e.cannotBeABaseURL=!0,e.path.push(""),c=xe)}break;case le:if(!a||a.cannotBeABaseURL&&"#"!=i)return C;if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=je;break}c="file"==a.scheme?be:fe;continue;case ce:if("/"!=i||"/"!=o[s+1]){c=fe;continue}c=he,s++;break;case se:if("/"==i){c=me;break}c=ke;continue;case fe:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&Z(e))c=de;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=ke;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=je}break;case de:if(!Z(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=ke;continue}c=me}else c=he;break;case pe:if(c=he,"/"!=i||"/"!=d.charAt(s+1))continue;s++;break;case he:if("/"!=i&&"\\"!=i){c=me;continue}break;case me:if("@"==i){h&&(d="%40"+d),h=!0,u=p(d);for(var g=0;g65535)return A;e.port=Z(e)&&w===Q[e.scheme]?null:w,d=""}if(n)return;c=Oe;continue}return A}d+=i;break;case be:if(e.scheme="file","/"==i||"\\"==i)c=we;else{if(!a||"file"!=a.scheme){c=ke;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=i){ne(o.slice(s).join(""))||(e.host=a.host,e.path=a.path.slice(),re(e)),c=ke;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=je}}break;case we:if("/"==i||"\\"==i){c=Ee;break}a&&"file"==a.scheme&&!ne(o.slice(s).join(""))&&(te(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=ke;continue;case Ee:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&te(d))c=ke;else if(""==d){if(e.host="",n)return;c=Oe}else{if(l=z(e,d),l)return l;if("localhost"==e.host&&(e.host=""),n)return;d="",c=Oe}continue}d+=i;break;case Oe:if(Z(e)){if(c=ke,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(c=ke,"/"!=i))continue}else e.fragment="",c=je;else e.query="",c=Se;break;case ke:if(i==r||"/"==i||"\\"==i&&Z(e)||!n&&("?"==i||"#"==i)){if(oe(d)?(re(e),"/"==i||"\\"==i&&Z(e)||e.path.push("")):ae(d)?"/"==i||"\\"==i&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",c=Se):"#"==i&&(e.fragment="",c=je)}else d+=K(i,X);break;case xe:"?"==i?(e.query="",c=Se):"#"==i?(e.fragment="",c=je):i!=r&&(e.path[0]+=K(i,V));break;case Se:n||"#"!=i?i!=r&&("'"==i&&Z(e)?e.query+="%27":e.query+="#"==i?"%23":K(i,V)):(e.fragment="",c=je);break;case je:i!=r&&(e.fragment+=K(i,$));break}s++}},_e=function(e){var t,n,r=s(this,_e,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),u=O(r,{type:"URL"});if(void 0!==a)if(a instanceof _e)t=k(a);else if(n=Ce(t={},String(a)),n)throw TypeError(n);if(n=Ce(u,i,null,t),n)throw TypeError(n);var l=u.searchParams=new w,c=E(l);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(l)||null},o||(r.href=Te.call(r),r.origin=Re.call(r),r.protocol=Me.call(r),r.username=Pe.call(r),r.password=De.call(r),r.host=Ne.call(r),r.hostname=Ie.call(r),r.port=Le.call(r),r.pathname=Be.call(r),r.search=Fe.call(r),r.searchParams=Ue.call(r),r.hash=ze.call(r))},Ae=_e.prototype,Te=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,u=e.query,l=e.fragment,c=t+":";return null!==a?(c+="//",J(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==u&&(c+="?"+u),null!==l&&(c+="#"+l),c},Re=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Me=function(){return k(this).scheme+":"},Pe=function(){return k(this).username},De=function(){return k(this).password},Ne=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Ie=function(){var e=k(this).host;return null===e?"":H(e)},Le=function(){var e=k(this).port;return null===e?"":String(e)},Be=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=k(this).query;return e?"?"+e:""},Ue=function(){return k(this).searchParams},ze=function(){var e=k(this).fragment;return e?"#"+e:""},Ye=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(Ae,{href:Ye(Te,(function(e){var t=k(this),n=String(e),r=Ce(t,n);if(r)throw TypeError(r);E(t.searchParams).updateSearchParams(t.query)})),origin:Ye(Re),protocol:Ye(Me,(function(e){var t=k(this);Ce(t,String(e)+":",ie)})),username:Ye(Pe,(function(e){var t=k(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r2?arguments[2]:void 0)(e,n);return n.set(e,t(u,e,n)),n}})},"F/PV":function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},F6gM:function(e,t,n){var r=n("PORw"),a=n("lf6h"),o="[object Symbol]";function i(e){return"symbol"==typeof e||a(e)&&r(e)==o}e.exports=i},F71Q:function(e,t,n){var r=n("pADs");function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=a},FDiJ:function(e,t,n){},FHCv:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),i=new _(r||[]);return o._invoke=x(e,n,i),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var s="suspendedStart",f="suspendedYield",d="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&r.call(w,o)&&(y=w);var E=g.prototype=m.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e,t){function n(a,o,i,u){var l=c(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,u)}))}u(l.arg)}var a;function o(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}this._invoke=o}function x(e,t,n){var r=s;return function(a,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===a)throw o;return T()}n.method=a,n.arg=o;while(1){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?p:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=c(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){while(++a=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(a){Function("r","regeneratorRuntime = r")(r)}},FbU2:function(e,t,n){var r=n("muZu"),a=n("eoSM");function o(e,t,n){var o=t(e);return a(e)?o:r(o,n(e))}e.exports=o},FfOG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("ptaF"),a={basename:"/"};window.routerBase&&(a.basename=window.routerBase);var o=Object({NODE_ENV:"production"}).__IS_SERVER?null:Object(r["b"])(a),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(o=Object(r["b"])(a)),o}},FlI8:function(e,t,n){var r=n("OOCw"),a=n("7F/w"),o=n("eW2S"),i=!o((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:i},{from:a})},Ft2i:function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("OdMF"),i=n("h+/6"),u=n("rUEg"),l=[],c=l.sort,s=i((function(){l.sort(void 0)})),f=i((function(){l.sort(null)})),d=u("sort"),p=s||!f||!d;r({target:"Array",proto:!0,forced:p},{sort:function(e){return void 0===e?c.call(o(this)):c.call(o(this),a(e))}})},G2F8:function(e,t,n){var r=n("ANLo"),a=n("upgS");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length or index");return n}},G51k:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("ppRt");r({target:"Set",proto:!0,real:!0,forced:a},{addAll:function(){return o.apply(this,arguments)}})},G6hb:function(e,t,n){var r=n("OOCw"),a=n("sErw"),o=n("x+sk"),i=n("oEsY"),u=n("h+/6"),l=n("0JbB"),c=n("6ssM"),s=n("zesz"),f=n("ZVkV");function d(e,t,n){var r,u,p=arguments.length<4?e:arguments[3],h=c.f(a(e),t);if(!h){if(o(u=s(e)))return d(u,t,n,p);h=f(0)}if(i(h,"value")){if(!1===h.writable||!o(p))return!1;if(r=c.f(p,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,l.f(p,t,r)}else l.f(p,t,f(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var p=u((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(s(e),"a",1,e)}));r({target:"Reflect",stat:!0,forced:p},{set:d})},G7Wg:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{difference:function(e){var t=i(this),n=new(l(t,o("Set")))(t),r=u(n["delete"]);return c(e,(function(e){r.call(n,e)})),n}})},GC0I:function(e,t,n){var r=n("IuL+"),a=n("NTsA"),o=n("bUaa"),i=o&&o.isTypedArray,u=i?a(i):r;e.exports=u},GDDI:function(e,t,n){var r=n("MZA9"),a=n("KUi+"),o=n("3Hes"),i=o("toPrimitive"),u=Date.prototype;i in u||r(u,i,a)},GJFw:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("VOZC"),u=a.a.memo((e=>{e.demos;return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"getting-started"},a.a.createElement(o["AnchorLink"],{to:"#getting-started","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Getting Started"),a.a.createElement("h2",{id:"-install-dependencies"},a.a.createElement(o["AnchorLink"],{to:"#-install-dependencies","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udce6 Install dependencies"),a.a.createElement(i["a"],{code:"$ yarn add rc-gantt # or npm i rc-gantt -S",lang:"shell"}),a.a.createElement("h2",{id:"-demo"},a.a.createElement(o["AnchorLink"],{to:"#-demo","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udd28 Demo"),a.a.createElement(i["a"],{code:"import RcGantt, { enUS } from 'rc-gantt'\n\n// in react page\nreturn (\n {\n return true\n }}\n />\n)",lang:"tsx"}),a.a.createElement("h2",{id:"feedback"},a.a.createElement(o["AnchorLink"],{to:"#feedback","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Feedback"),a.a.createElement("p",null,"Please visit ",a.a.createElement(o["Link"],{to:"https://github.com/ahwgs/react-gantt/issues"},"Github"))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(u,{demos:n})}},GLQI:function(e,t,n){var r=n("cBxx"),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,u=r?r.toStringTag:void 0;function l(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(l){}var a=i.call(e);return r&&(t?e[u]=n:delete e[u]),a}e.exports=l},"GLf+":function(e,t){var n=Function.prototype,r=n.toString;function a(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=a},GQDD:function(e,t,n){var r=n("t+TA"),a=n("O4yA"),o=r(a,"Map");e.exports=o},GRr6:function(e,t,n){var r=n("F71Q");function a(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}e.exports=a},GXoa:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("r+6h"),i=n("vMeL"),u=n("g0pg"),l=n("xy/A"),c=n("CZSf"),s=n("ZVkV"),f=n("MZA9"),d=n("upgS"),p=n("G2F8"),h=n("vViN"),m=n("JSMs"),v=n("oEsY"),g=n("elB0"),y=n("x+sk"),b=n("QWtl"),w=n("d8EH"),E=n("lFeU").f,O=n("N0ls"),k=n("M+Sl").forEach,x=n("ct0+"),S=n("0JbB"),j=n("6ssM"),C=n("uJNS"),_=n("aRba"),A=C.get,T=C.set,R=S.f,M=j.f,P=Math.round,D=a.RangeError,N=l.ArrayBuffer,I=l.DataView,L=u.NATIVE_ARRAY_BUFFER_VIEWS,B=u.TYPED_ARRAY_TAG,F=u.TypedArray,U=u.TypedArrayPrototype,z=u.aTypedArrayConstructor,Y=u.isTypedArray,W="BYTES_PER_ELEMENT",G="Wrong length",H=function(e,t){var n=0,r=t.length,a=new(z(e))(r);while(r>n)a[n]=t[n++];return a},V=function(e,t){R(e,t,{get:function(){return A(this)[t]}})},$=function(e){var t;return e instanceof N||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},X=function(e,t){return Y(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},q=function(e,t){return X(e,t=m(t,!0))?s(2,e[t]):M(e,t)},K=function(e,t,n){return!(X(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};o?(L||(j.f=q,S.f=K,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:q,defineProperty:K}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,s="set"+e,m=a[u],v=m,g=v&&v.prototype,S={},j=function(e,t){var n=A(e);return n.view[l](t*o+n.byteOffset,!0)},C=function(e,t,r){var a=A(e);n&&(r=(r=P(r))<0?0:r>255?255:255&r),a.view[s](t*o+a.byteOffset,r,!0)},M=function(e,t){R(e,t,{get:function(){return j(this,t)},set:function(e){return C(this,t,e)},enumerable:!0})};L?i&&(v=t((function(e,t,n,r){return c(e,v,u),_(function(){return y(t)?$(t)?void 0!==r?new m(t,h(n,o),r):void 0!==n?new m(t,h(n,o)):new m(t):Y(t)?H(v,t):O.call(v,t):new m(p(t))}(),e,v)})),w&&w(v,F),k(E(m),(function(e){e in v||f(v,e,m[e])})),v.prototype=g):(v=t((function(e,t,n,r){c(e,v,u);var a,i,l,s=0,f=0;if(y(t)){if(!$(t))return Y(t)?H(v,t):O.call(v,t);a=t,f=h(n,o);var m=t.byteLength;if(void 0===r){if(m%o)throw D(G);if(i=m-f,i<0)throw D(G)}else if(i=d(r)*o,i+f>m)throw D(G);l=i/o}else l=p(t),i=l*o,a=new N(i);T(e,{buffer:a,byteOffset:f,byteLength:i,length:l,view:new I(a)});while(so)a.push(arguments[o++]);if(r=t,(p(t)||void 0!==e)&&!ue(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),a[1]=t,$.apply(null,a)}})}V[z][Y]||C(V[z],Y,V[z].valueOf),I(V,U),R[F]=!0},GnHn:function(e,t,n){"use strict";var r=n("QkOx"),a=n("sErw"),o=n("z43i"),i=n("1wx2"),u=n("OR72");r("search",1,(function(e,t,n){return[function(t){var n=o(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=a(e),l=String(this),c=o.lastIndex;i(c,0)||(o.lastIndex=0);var s=u(o,l);return i(o.lastIndex,c)||(o.lastIndex=c),null===s?-1:s.index}]}))},Gs6S:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("R8Xy"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{join:function(e){var t=o(this),n=i(t),r=void 0===e?",":String(e),a=[];return u(n,a.push,a,!1,!0),a.join(r)}})},HRbj:function(e,t,n){"use strict";var r=n("lkgX"),a=n("v3z7"),o=n("uZx/");e.exports=function(e){var t,n,i,u,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),t=void 0!==c,t&&r(c),void 0==e?new this:(n=[],t?(i=0,u=a(c,l>2?arguments[2]:void 0,2),o(e,(function(e){n.push(u(e,i++))}))):o(e,n.push,n),new this(n))}},HU7W:function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},HVkW:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("ct0+"),i=n("lkgX"),u=n("sErw"),l=n("x+sk"),c=n("CZSf"),s=n("0JbB").f,f=n("MZA9"),d=n("TxBV"),p=n("mxPn"),h=n("uZx/"),m=n("Cqy2"),v=n("3Hes"),g=n("uJNS"),y=v("observable"),b=g.get,w=g.set,E=function(e){return null==e?void 0:i(e)},O=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(n){m(n)}}},k=function(e){return void 0===e.observer},x=function(e,t){if(!a){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},S=function(e,t){var n,r=w(this,{cleanup:void 0,observer:u(e),subscriptionObserver:void 0});a||(this.closed=!1);try{(n=E(e.start))&&n.call(e,this)}catch(s){m(s)}if(!k(r)){var o=r.subscriptionObserver=new j(this);try{var l=t(o),c=l;null!=l&&(r.cleanup="function"===typeof l.unsubscribe?function(){c.unsubscribe()}:i(l))}catch(s){return void o.error(s)}k(r)&&O(r)}};S.prototype=d({},{unsubscribe:function(){var e=b(this);k(e)||(x(this,e),O(e))}}),a&&s(S.prototype,"closed",{configurable:!0,get:function(){return k(b(this))}});var j=function(e){w(this,{subscription:e}),a||(this.closed=!1)};j.prototype=d({},{next:function(e){var t=b(b(this).subscription);if(!k(t)){var n=t.observer;try{var r=E(n.next);r&&r.call(n,e)}catch(a){m(a)}}},error:function(e){var t=b(this).subscription,n=b(t);if(!k(n)){var r=n.observer;x(t,n);try{var a=E(r.error);a?a.call(r,e):m(e)}catch(o){m(o)}O(n)}},complete:function(){var e=b(this).subscription,t=b(e);if(!k(t)){var n=t.observer;x(e,t);try{var r=E(n.complete);r&&r.call(n)}catch(a){m(a)}O(t)}}}),a&&s(j.prototype,"closed",{configurable:!0,get:function(){return k(b(b(this).subscription))}});var C=function(e){c(this,C,"Observable"),w(this,{subscriber:i(e)})};d(C.prototype,{subscribe:function(e){var t=arguments.length;return new S("function"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},b(this).subscriber)}}),d(C,{from:function(e){var t="function"===typeof this?this:C,n=E(u(e)[y]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var a=p(e);return new t((function(e){h(a,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){var e="function"===typeof this?this:C,t=arguments.length,n=new Array(t),r=0;while(r>>0,o=t>>>0,i=n>>>0;return o-(r>>>0)-((~a&i|~(a^i)&a-i>>>0)>>>31)|0}})},HxYL:function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},Hy9b:function(e,t,n){var r=n("h+/6"),a=n("3Hes"),o=n("qyeh"),i=a("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},HznY:function(e,t,n){"use strict";var r=n("g0pg"),a=n("YfbA").includes,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},I99e:function(e,t,n){var r=n("O4yA"),a=r["__core-js_shared__"];e.exports=a},IRoW:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("1QO0"),u=n.n(i),l=n("2YZa"),c=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0"}),s=()=>u.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:c,columns:[{name:"name",label:"\u540d\u79f0",width:100}],onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=s},IXH5:function(e,t,n){"use strict";function r(){var e=n("1QO0");return r=function(){return e},e}function a(){var e=o(n("1KG/"));return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ns.a.createElement("div",{style:{width:"100%",height:500}},s.a.createElement(l["b"],{dependencies:d,data:f,columns:[{name:"name",label:"\u540d\u79f0"}],onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=p},K1I0:function(e,t,n){"use strict";var r,a,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,f=null,d=function e(){if(null!==s)try{var n=t.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(e,0),r}};r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(d,0))},a=function(e,t){f=setTimeout(e,t)},o=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,y=-1,b=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(!(void 0!==a&&0j(i,n))void 0!==l&&0>j(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>j(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function j(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],_=[],A=1,T=null,R=3,M=!1,P=!1,D=!1;function N(e){for(var t=x(_);null!==t;){if(null===t.callback)S(_);else{if(!(t.startTime<=e))break;S(_),t.sortIndex=t.expirationTime,k(C,t)}t=x(_)}}function I(e){if(D=!1,N(e),!P)if(null!==x(C))P=!0,r(L);else{var t=x(_);null!==t&&a(I,t.startTime-e)}}function L(e,n){P=!1,D&&(D=!1,o()),M=!0;var r=R;try{for(N(n),T=x(C);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=T.callback;if("function"===typeof i){T.callback=null,R=T.priorityLevel;var u=i(T.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?T.callback=u:T===x(C)&&S(C),N(n)}else S(C);T=x(C)}if(null!==T)var l=!0;else{var c=x(_);null!==c&&a(I,c.startTime-n),l=!1}return l}finally{T=null,R=r,M=!1}}var B=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||M||(P=!0,r(L))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(C)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();switch("object"===typeof i&&null!==i?(i=i.delay,i="number"===typeof i&&0u?(e.sortIndex=i,k(_,e),null===x(C)&&e===x(_)&&(D?o():D=!0,a(I,i-u))):(e.sortIndex=l,k(C,e),P||M||(P=!0,r(L))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},K29s:function(e,t,n){var r=n("7xa0"),a=n("ry6q"),o=n("GQDD");function i(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}e.exports=i},K3fz:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0),t}})},KLPW:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("yjmR");function a(e,t){var n=Object(r["a"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},KSsz:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},KTM1:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"Set",stat:!0},{from:a})},KUb8:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("QHn5"),u=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{keyOf:function(e){return u(i(o(this)),(function(t,n){if(n===e)return u.stop(t)}),void 0,!0,!0).result}})},"KUi+":function(e,t,n){"use strict";var r=n("sErw"),a=n("JSMs");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return a(r(this),"number"!==e)}},KZF9:function(e,t,n){var r=n("4uZn"),a=n("oEsY"),o=n("2Roc"),i=n("0JbB").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)})}},KZJK:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("2YZa"),u=n("1QO0"),l=n.n(u),c=Array.from({length:100}).fill({name:"Title"}),s=()=>l.a.createElement("div",{style:{width:"100%",height:500}},l.a.createElement(i["b"],{locale:i["c"],data:c,columns:[{name:"name",label:"Title",width:100}],onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=s},KZPF:function(e,t,n){var r=n("OOCw"),a=n("SlEr"),o=n("1Sp3"),i=n("sErw"),u=n("zesz"),l=n("uZx/"),c=o.keys,s=o.toKey,f=function(e){var t=[];return l(e,t.push,t),t},d=function(e,t){var n=c(e,t),r=u(e);if(null===r)return n;var o=d(r,t);return o.length?n.length?f(new a(n.concat(o))):o:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return d(i(e),t)}})},KgcE:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},Kk74:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.get,u=a.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,o(t),n)}})},Kkyq:function(e,t,n){var r=n("jCBa"),a=n("g/mA"),o=n("eHdO"),i=n("eoSM"),u=n("iRtw");function l(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):u(e)}e.exports=l},KuRq:function(e,t,n){var r=n("6SQG"),a=n("nBeg");a(r.JSON,"JSON",!0)},L7kM:function(e,t,n){"use strict";function r(){var e=a(n("1QO0"));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r()["default"].createContext({config:{mode:"doc",title:"",navs:{},menus:{},locales:[],repository:{branch:"master"},theme:{}},meta:{title:""},menu:[],nav:[],base:"",routes:[],apis:{},demos:{}});t["default"]=o},LoA3:function(e,t,n){var r=n("+WEc"),a=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(a,""):e}e.exports=o},LsWz:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("9kvl"),u=(n("lIGE"),function(e){var t=e.location,n=Object(r["useContext"])(o["context"]),u=n.base,l=n.locale,c=n.config.locales,s=c.find((function(e){var t=e.name;return t!==l}));function f(e){var n=u.replace("/".concat(l),""),r=t.pathname.replace(new RegExp("^".concat(u,"(/|$)")),"".concat(n,"$1"))||"/";if(e!==c[0].name){var a="".concat(n,"/").concat(e).replace(/\/\//,"/"),o=t.pathname.replace(u.replace(/^\/$/,"//"),"");return"".concat(a).concat(o).replace(/\/$/,"")}return r}return s?a.a.createElement("div",{className:"__dumi-default-locale-select","data-locale-count":c.length},c.length>2?a.a.createElement("select",{value:l,onChange:function(e){return i["a"].push(f(e.target.value))}},c.map((function(e){return a.a.createElement("option",{value:e.name,key:e.name},e.label)}))):a.a.createElement(o["Link"],{to:f(s.name)},s.label)):null}),l=u,c=(n("gem+"),function(e){var t=e.onMobileMenuClick,n=e.navPrefix,i=e.location,u=e.darkPrefix,c=Object(r["useContext"])(o["context"]),s=c.base,f=c.config,d=f.mode,p=f.title,h=f.logo,m=c.nav;return a.a.createElement("div",{className:"__dumi-default-navbar","data-mode":d},a.a.createElement("button",{className:"__dumi-default-navbar-toggle",onClick:t}),a.a.createElement(o["Link"],{className:"__dumi-default-navbar-logo",style:{backgroundImage:h&&"url('".concat(h,"')")},to:s,"data-plaintext":!1===h||void 0},p),a.a.createElement("nav",null,n,m.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path},a.a.createElement(o["NavLink"],{to:e.path},e.title))})));return a.a.createElement("span",{key:e.title||e.path},e.path?a.a.createElement(o["NavLink"],{to:e.path,key:e.path},e.title):e.title,n)})),a.a.createElement("div",{className:"__dumi-default-navbar-tool"},a.a.createElement(l,{location:i}),u)))}),s=c,f=(n("Tk/C"),["slugs"]);function d(){return d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}var m=function(e){var t=e.slugs,n=p(e,f);return a.a.createElement("ul",d({role:"slug-list"},n),t.filter((function(e){var t=e.depth;return t>1&&t<4})).map((function(e){return a.a.createElement("li",{key:e.heading,title:e.value,"data-depth":e.depth},a.a.createElement(o["AnchorLink"],{to:"#".concat(e.heading)},a.a.createElement("span",null,e.value)))})))},v=m,g=(n("uBSk"),function(e){var t=e.mobileMenuCollapsed,n=e.location,i=e.darkPrefix,u=Object(r["useContext"])(o["context"]),c=u.config,s=c.logo,f=c.title,d=c.description,p=c.mode,h=c.repository.url,m=u.menu,g=u.nav,y=u.base,b=u.meta,w=Boolean((b.hero||b.features||b.gapless)&&"site"===p)||!1===b.sidemenu||void 0;return a.a.createElement("div",{className:"__dumi-default-menu","data-mode":p,"data-hidden":w,"data-mobile-show":!t||void 0},a.a.createElement("div",{className:"__dumi-default-menu-inner"},a.a.createElement("div",{className:"__dumi-default-menu-header"},a.a.createElement(o["Link"],{to:y,className:"__dumi-default-menu-logo",style:{backgroundImage:s&&"url('".concat(s,"')")}}),a.a.createElement("h1",null,f),a.a.createElement("p",null,d),/github\.com/.test(h)&&"doc"===p&&a.a.createElement("p",null,a.a.createElement("object",{type:"image/svg+xml",data:"https://img.shields.io/github/stars".concat(h.match(/((\/[^\/]+){2})$/)[1],"?style=social")}))),a.a.createElement("div",{className:"__dumi-default-menu-mobile-area"},!!g.length&&a.a.createElement("ul",{className:"__dumi-default-menu-nav-list"},g.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path||e.title},a.a.createElement(o["NavLink"],{to:e.path},e.title))})));return a.a.createElement("li",{key:e.path||e.title},e.path?a.a.createElement(o["NavLink"],{to:e.path},e.title):e.title,n)}))),a.a.createElement(l,{location:n}),i),a.a.createElement("ul",{className:"__dumi-default-menu-list"},!w&&m.map((function(e){var t,r=Boolean(null===(t=b.slugs)||void 0===t?void 0:t.length),i=e.children&&Boolean(e.children.length),u="menu"===b.toc&&!i&&r&&e.path===n.pathname.replace(/([^^])\/$/,"$1"),l=i?e.children.map((function(e){return e.path})):[e.path,n.pathname.startsWith("".concat(e.path,"/"))&&b.title===e.title?n.pathname:null];return a.a.createElement("li",{key:e.path||e.title},a.a.createElement(o["NavLink"],{to:e.path,isActive:function(){return l.includes(n.pathname)}},e.title),Boolean(e.children&&e.children.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path},a.a.createElement(o["NavLink"],{to:e.path,exact:!0},a.a.createElement("span",null,e.title)),Boolean("menu"===b.toc&&"undefined"!==typeof window&&e.path===n.pathname&&r)&&a.a.createElement(v,{slugs:b.slugs}))}))),u&&a.a.createElement(v,{slugs:b.slugs}))})))))}),y=g;n("6B/L");function b(){return b=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&c.map((function(e){var t;return a.a.createElement("li",{key:e.path,onClick:function(){return i("")}},a.a.createElement(o["AnchorLink"],{to:e.path},(null===(t=e.parent)||void 0===t?void 0:t.title)&&a.a.createElement("span",null,e.parent.title),j(n,e.title)))})),0===c.length&&n&&a.a.createElement("li",{style:{textAlign:"center"}},p)))};n("8NKu");function _(e,t){return P(e)||M(e,t)||T(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){if(e){if("string"===typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nk;k++)if((d||k in w)&&(g=w[k],y=E(g,k,b),e))if(t)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:l.call(S,g)}else if(s)return!1;return f?-1:c||s?s:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},"M/TJ":function(e,t,n){"use strict";n.r(t),n.d(t,"matchRoutes",(function(){return u})),n.d(t,"renderRoutes",(function(){return l}));var r=n("Bm2L"),a=n("lCDx"),o=n("1QO0"),i=n.n(o);function u(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?Object(r["i"])(t,e):n.length?n[n.length-1].match:r["e"].computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&u(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r["g"],n,e.map((function(e,n){return i.a.createElement(r["d"],{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(a["a"])({},n,{},t,{route:e})):i.a.createElement(e.component,Object(a["a"])({},n,t,{route:e}))}})}))):null}},M2ND:function(e,t,n){"use strict";var r=n("vfR7").charAt,a=n("uJNS"),o=n("vSpU"),i="String Iterator",u=a.set,l=a.getterFor(i);o(String,"String",(function(e){u(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},"M42/":function(e,t,n){var r=n("capL");function a(e){return function(t){return r(t,e)}}e.exports=a},M5mG:function(e,t,n){var r=n("6SQG"),a=n("mVlO"),o=n("0pkz"),i=n("MZA9"),u=n("3Hes"),l=u("iterator"),c=u("toStringTag"),s=o.values;for(var f in a){var d=r[f],p=d&&d.prototype;if(p){if(p[l]!==s)try{i(p,l,s)}catch(m){p[l]=s}if(p[c]||i(p,c,f),a[f])for(var h in o)if(p[h]!==o[h])try{i(p,h,o[h])}catch(m){p[h]=o[h]}}}},M9kN:function(e,t,n){var r=n("ry6q"),a=n("GQDD"),o=n("67Yi"),i=200;function u(e,t){var n=this.__data__;if(n instanceof r){var u=n.__data__;if(!a||u.lengthf)n=a(r,t=c[f++]),void 0!==n&&l(s,t,n);return s}})},MULs:function(e,t,n){var r=n("Zjmp"),a=n("RtFG"),o=n("0zpI"),i=n("NRXl"),u=n("Vc2o"),l=n("eoSM"),c=n("Zsrj"),s=n("GC0I"),f=1,d="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype,v=m.hasOwnProperty;function g(e,t,n,m,g,y){var b=l(e),w=l(t),E=b?p:u(e),O=w?p:u(t);E=E==d?h:E,O=O==d?h:O;var k=E==h,x=O==h,S=E==O;if(S&&c(e)){if(!c(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||s(e)?a(e,t,n,m,g,y):o(e,t,E,n,m,g,y);if(!(n&f)){var j=k&&v.call(e,"__wrapped__"),C=x&&v.call(t,"__wrapped__");if(j||C){var _=j?e.value():e,A=C?t.value():t;return y||(y=new r),g(_,A,n,m,y)}}return!!S&&(y||(y=new r),i(e,t,n,m,g,y))}e.exports=g},MZA9:function(e,t,n){var r=n("r+6h"),a=n("0JbB"),o=n("ZVkV");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},MdxV:function(e,t,n){var r=n("h+/6"),a=n("kk5s"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},Mfbz:function(e,t,n){var r=n("FbU2"),a=n("oA63"),o=n("6vUj");function i(e){return r(e,o,a)}e.exports=i},MhuM:function(e,t,n){e.exports={"task-dependency-line":"task-dependency-line___2M0K6",line:"line___3jymp"}},Mi9W:function(e,t,n){"use strict";e.exports=n("K1I0")},MyUB:function(e,t,n){var r=n("O4yA"),a=r.Uint8Array;e.exports=a},"N+aw":function(e,t,n){var r=n("r+6h"),a=n("3s2x"),o=n("684d"),i=n("UQib").f,u=function(e){return function(t){var n,u=o(t),l=a(u),c=l.length,s=0,f=[];while(c>s)n=l[s++],r&&!i.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},"N/7o":function(e,t,n){"use strict";var r=n("OOCw"),a=n("ANLo"),o=n("pVp3"),i=n("jax1"),u=n("h+/6"),l=1..toFixed,c=Math.floor,s=function(e,t,n){return 0===t?n:t%2===1?s(e,t-1,n*e):s(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){l.call({})}));r({target:"Number",proto:!0,forced:d},{toFixed:function(e){var t,n,r,u,l=o(this),d=a(e),p=[0,0,0,0,0,0],h="",m="0",v=function(e,t){var n=-1,r=t;while(++n<6)r+=e*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(e){var t=6,n=0;while(--t>=0)n+=p[t],p[t]=c(n/e),n=n%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*s(2,69,1))-69,n=t<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,t=52-t,t>0){v(0,n),r=d;while(r>=7)v(1e7,0),r-=7;v(s(10,r,1),0),r=t-1;while(r>=23)g(1<<23),r-=23;g(1<0?(u=m.length,m=h+(u<=d?"0."+i.call("0",d-u)+m:m.slice(0,u-d)+"."+m.slice(u-d))):m=h+m,m}})},N0ls:function(e,t,n){var r=n("OdMF"),a=n("upgS"),o=n("MI4T"),i=n("dwb6"),u=n("v3z7"),l=n("g0pg").aTypedArrayConstructor;e.exports=function(e){var t,n,c,s,f,d,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=o(p);if(void 0!=g&&!i(g)){f=g.call(p),d=f.next,p=[];while(!(s=d.call(f)).done)p.push(s.value)}for(v&&h>2&&(m=u(m,arguments[2],2)),n=a(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=v?m(p[t],t):p[t];return c}},N2ls:function(e,t,n){"use strict";var r=n("IYc2");function a(){var e=n("1QO0");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=i(n("L7kM"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return d(e)||f(e,t)||c(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nu.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:100}],tableIndent:0,renderLeftText:()=>u.a.createElement("span",null,"\u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3"),renderRightText:()=>u.a.createElement("span",null,"\u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3"),onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),getBarColor:()=>({backgroundColor:"red",borderColor:"yellow"}),renderBar:(e,t)=>{var n=t.width,r=t.height;return u.a.createElement("div",{style:{width:n,height:r,backgroundColor:"red"}},"renderBar",e.label)}}));t["default"]=d},NERh:function(e,t,n){},NRXl:function(e,t,n){var r=n("Mfbz"),a=1,o=Object.prototype,i=o.hasOwnProperty;function u(e,t,n,o,u,l){var c=n&a,s=r(e),f=s.length,d=r(t),p=d.length;if(f!=p&&!c)return!1;var h=f;while(h--){var m=s[h];if(!(c?m in t:i.call(t,m)))return!1}var v=l.get(e),g=l.get(t);if(v&&g)return v==t&&g==e;var y=!0;l.set(e,t),l.set(t,e);var b=c;while(++hs){var p,h=c(arguments[s++]),m=f?o(h).concat(f(h)):o(h),v=m.length,g=0;while(v>g)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:s},NlHq:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{intersection:function(e){var t=i(this),n=new(l(t,o("Set"))),r=u(t.has),a=u(n.add);return c(e,(function(e){r.call(t,e)&&a.call(n,e)})),n}})},Nvne:function(e,t,n){var r=n("GXoa");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},O4yA:function(e,t,n){var r=n("yn9n"),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},O8qS:function(e,t,n){var r=n("h+/6");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},OChd:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}))},OD7W:function(e,t,n){var r=n("F6gM"),a=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}e.exports=o},OOCw:function(e,t,n){var r=n("6SQG"),a=n("6ssM").f,o=n("MZA9"),i=n("uF/W"),u=n("jukf"),l=n("mult"),c=n("RzMS");e.exports=function(e,t){var n,s,f,d,p,h,m=e.target,v=e.global,g=e.stat;if(s=v?r:g?r[m]||u(m,{}):(r[m]||{}).prototype,s)for(f in t){if(p=t[f],e.noTargetGet?(h=a(s,f),d=h&&h.value):d=s[f],n=c(v?f:m+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(s,f,p,e)}}},OR72:function(e,t,n){var r=n("kk5s"),a=n("A2zS");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},OUyb:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function a(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(o.push(r.value),t&&o.length===t)break}catch(l){u=!0,a=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}return o}}n.d(t,"a",(function(){return u}));var o=n("OXLs");function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return r(e)||a(e,t)||Object(o["a"])(e,t)||i()}},OXLs:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("K3fz");function a(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},Oax0:function(e,t,n){var r=n("rkJ6"),a=Array.prototype,o=a.splice;function i(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var a=t.length-1;return n==a?t.pop():o.call(t,n,1),--this.size,!0}e.exports=i},Obug:function(e,t,n){"use strict";var r=n("OOCw"),a=n("ANLo"),o=n("VqGX"),i="Invalid number representation",u="Invalid radix",l=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,c=1;if("string"!=typeof e)throw TypeError(i);if(!e.length)throw SyntaxError(i);if("-"==e.charAt(0)&&(c=-1,e=e.slice(1),!e.length))throw SyntaxError(i);if(n=void 0===t?10:a(t),n<2||n>36)throw RangeError(u);if(!l.test(e)||(r=o(e,n)).toString(n)!==e)throw SyntaxError(i);return c*r}})},OcJn:function(e,t,n){var r=n("KZF9");r("isConcatSpreadable")},OdMF:function(e,t,n){var r=n("z43i");e.exports=function(e){return Object(r(e))}},"Oe+o":function(e,t,n){"use strict";n.r(t);var r=n("ULjY"),a=n("tGGB"),o=n("Vhn3"),i=n("NUIj"),u=n.n(i),l=n("0+H2"),c=n.n(l),s=n("2YZa"),f=n("1QO0"),d=n.n(f);function p(e){for(var t=[],n=0;n{var e=Object(f["useState"])(p(20)),t=Object(o["a"])(e,2),n=t[0],i=t[1];return console.log("data",n),d.a.createElement("div",{style:{width:"100%",height:500}},d.a.createElement(s["b"],{data:n,columns:[{name:"name",label:"\u540d\u79f0",width:100}],onUpdate:function(){var e=Object(a["a"])(u.a.mark((function e(t,n,a){return u.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,a),i((e=>{var o=[...e],i=o.findIndex((e=>e.id===t.id));return o[i]=Object(r["a"])(Object(r["a"])({},t),{},{startDate:c()(n).format("YYYY-MM-DD"),endDate:c()(a).format("YYYY-MM-DD")}),o})),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}))};t["default"]=h},OtMc:function(e,t,n){var r,a,o,i,u,l,c,s,f=n("6SQG"),d=n("6ssM").f,p=n("kk5s"),h=n("bbNk").set,m=n("ytxp"),v=f.MutationObserver||f.WebKitMutationObserver,g=f.process,y=f.Promise,b="process"==p(g),w=d(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;b&&(e=g.domain)&&e.exit();while(a){t=a.fn,a=a.next;try{t()}catch(n){throw a?i():o=void 0,n}}o=void 0,e&&e.enter()},b?i=function(){g.nextTick(r)}:v&&!m?(u=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),i=function(){l.data=u=!u}):y&&y.resolve?(c=y.resolve(void 0),s=c.then,i=function(){s.call(c,r)}):i=function(){h.call(f,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},Ox3h:function(e,t,n){"use strict";var r,a=n("6SQG"),o=n("TxBV"),i=n("gArs"),u=n("BUyj"),l=n("jETf"),c=n("x+sk"),s=n("uJNS").enforce,f=n("qbEc"),d=!a.ActiveXObject&&"ActiveXObject"in a,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=u("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),i.REQUIRED=!0;var v=m.prototype,g=v["delete"],y=v.has,b=v.get,w=v.set;o(v,{delete:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},"P+rD":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("qkOA"),a=n.n(r);function o(e){return e instanceof HTMLElement?e:a.a.findDOMNode(e)}},"P1/K":function(e,t,n){},P92K:function(e,t,n){},PIOI:function(e,t,n){"use strict";function r(){var e=n("1QO0");return r=function(){return e},e}function a(e,t){return c(e)||l(e,t)||i(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]?arguments[3]:0;if(o1?arguments[1]:void 0)}})},PynX:function(e,t,n){var r=n("KZF9");r("dispose")},Q69t:function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},QHn5:function(e,t,n){var r=n("qyeh"),a=n("mxPn");e.exports=r?a:function(e){return Map.prototype.entries.call(e)}},QKCj:function(e,t,n){n("ax/v")},QQXB:function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype["delete"]=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),_="undefined"!==typeof WeakMap?new WeakMap:new n,A=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new C(t,n,this);_.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){A.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var T=function(){return"undefined"!==typeof a.ResizeObserver?a.ResizeObserver:A}();t["a"]=T}).call(this,n("j8Of"))},QWtl:function(e,t,n){var r,a=n("sErw"),o=n("DS72"),i=n("AqOu"),u=n("Y3cF"),l=n("RtP/"),c=n("73fw"),s=n("8i6t"),f=">",d="<",p="prototype",h="script",m=s("IE_PROTO"),v=function(){},g=function(e){return d+h+f+e+d+"/"+h+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=r?y(r):b();var e=i.length;while(e--)delete w[p][i[e]];return w()};u[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=a(e),n=new v,v[p]=null,n[m]=e):n=w(),void 0===t?n:o(n,t)}},QZNO:function(e,t,n){var r=n("OOCw"),a=n("6SQG");r({global:!0},{globalThis:a})},Qcf6:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r=t.prototype,a=r.format;n.en.ordinal=function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"},r.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return a.bind(this)(e);var r=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return r.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return r.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return r.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return a.bind(this)(o)}}}))},QiOl:function(e,t,n){"use strict";var r=n("5yEw"),a=n("elB0");e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},QkOx:function(e,t,n){"use strict";n("jYqw");var r=n("uF/W"),a=n("h+/6"),o=n("3Hes"),i=n("A2zS"),u=n("MZA9"),l=o("species"),c=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),d=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=o(e),m=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||d)||"split"===e&&!p){var g=/./[h],y=n(h,""[e],(function(e,t,n,r,a){return t.exec===i?m&&!a?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],w=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},Qkfr:function(e,t,n){"use strict";var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?document.body:n,a=document.createElement("textarea"),o=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";var i=document.getSelection(),u=!1;i.rangeCount>0&&(u=i.getRangeAt(0)),r.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;var l=!1;try{l=document.execCommand("copy")}catch(c){}return a.remove(),u&&(i.removeAllRanges(),i.addRange(u)),o&&o.focus(),l};e.exports=r,e.exports["default"]=r},QkpR:function(e,t,n){"use strict";var r=n("R8Gd"),a=n("yjmR"),o=n("OUyb"),i=n("yPwS"),u=n("1QO0"),l=n("P+rD"),c=n("+Hgx"),s=n("Ebyb"),f=n.n(s),d=n("8SKh");function p(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function h(e,t){var n={animationend:p("Animation","AnimationEnd"),transitionend:p("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var m=h(Object(d["a"])(),"undefined"!==typeof window?window:{}),v={};if(Object(d["a"])()){var g=document.createElement("div");v=g.style}var y={};function b(e){if(y[e])return y[e];var t=m[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:2;t();var o=Object(I["a"])((function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)}));e.current=o}return u["useEffect"]((function(){return function(){t()}}),[]),[n,t]},B=Object(d["a"])()?u["useLayoutEffect"]:u["useEffect"],F=B,U=[R,M,P,D],z=!1,Y=!0;function W(e){return e===P||e===D}var G=function(e,t){var n=Object(N["a"])(T),r=Object(o["a"])(n,2),a=r[0],i=r[1],l=L(),c=Object(o["a"])(l,2),s=c[0],f=c[1];function d(){i(R,!0)}return F((function(){if(a!==T&&a!==D){var e=U.indexOf(a),n=U[e+1],r=t(a);r===z?i(n,!0):s((function(e){function t(){e.isCanceled()||i(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,a]),u["useEffect"]((function(){return function(){f()}}),[]),[d,a]},H=function(e){var t=Object(u["useRef"])(),n=Object(u["useRef"])(e);n.current=e;var r=u["useCallback"]((function(e){n.current(e)}),[]);function a(e){e&&(e.removeEventListener(x,r),e.removeEventListener(k,r))}function o(e){t.current&&t.current!==e&&a(t.current),e&&e!==t.current&&(e.addEventListener(x,r),e.addEventListener(k,r),t.current=e)}return u["useEffect"]((function(){return function(){a(t.current)}}),[]),[o,a]};function V(e,t,n,i){var l=i.motionEnter,c=void 0===l||l,s=i.motionAppear,f=void 0===s||s,d=i.motionLeave,p=void 0===d||d,h=i.motionDeadline,m=i.motionLeaveImmediately,v=i.onAppearPrepare,g=i.onEnterPrepare,y=i.onLeavePrepare,b=i.onAppearStart,w=i.onEnterStart,E=i.onLeaveStart,O=i.onAppearActive,k=i.onEnterActive,x=i.onLeaveActive,S=i.onAppearEnd,T=i.onEnterEnd,D=i.onLeaveEnd,I=i.onVisibleChanged,L=Object(N["a"])(),B=Object(o["a"])(L,2),U=B[0],V=B[1],$=Object(N["a"])(j),X=Object(o["a"])($,2),q=X[0],K=X[1],Q=Object(N["a"])(null),Z=Object(o["a"])(Q,2),J=Z[0],ee=Z[1],te=Object(u["useRef"])(!1),ne=Object(u["useRef"])(null);function re(){return n()}var ae=Object(u["useRef"])(!1);function oe(e){var t=re();if(!e||e.deadline||e.target===t){var n,r=ae.current;q===C&&r?n=null===S||void 0===S?void 0:S(t,e):q===_&&r?n=null===T||void 0===T?void 0:T(t,e):q===A&&r&&(n=null===D||void 0===D?void 0:D(t,e)),q!==j&&r&&!1!==n&&(K(j,!0),ee(null,!0))}}var ie=H(oe),ue=Object(o["a"])(ie,1),le=ue[0],ce=u["useMemo"]((function(){var e,t,n;switch(q){case C:return e={},Object(r["a"])(e,R,v),Object(r["a"])(e,M,b),Object(r["a"])(e,P,O),e;case _:return t={},Object(r["a"])(t,R,g),Object(r["a"])(t,M,w),Object(r["a"])(t,P,k),t;case A:return n={},Object(r["a"])(n,R,y),Object(r["a"])(n,M,E),Object(r["a"])(n,P,x),n;default:return{}}}),[q]),se=G(q,(function(e){if(e===R){var t=ce[R];return t?t(re()):z}var n;pe in ce&&ee((null===(n=ce[pe])||void 0===n?void 0:n.call(ce,re(),null))||null);return pe===P&&(le(re()),h>0&&(clearTimeout(ne.current),ne.current=setTimeout((function(){oe({deadline:!0})}),h))),Y})),fe=Object(o["a"])(se,2),de=fe[0],pe=fe[1],he=W(pe);ae.current=he,F((function(){V(t);var n,r=te.current;(te.current=!0,e)&&(!r&&t&&f&&(n=C),r&&t&&c&&(n=_),(r&&!t&&p||!r&&m&&!t&&p)&&(n=A),n&&(K(n),de()))}),[t]),Object(u["useEffect"])((function(){(q===C&&!f||q===_&&!c||q===A&&!p)&&K(j)}),[f,c,p]),Object(u["useEffect"])((function(){return function(){te.current=!1,clearTimeout(ne.current)}}),[]),Object(u["useEffect"])((function(){void 0!==U&&q===j&&(null===I||void 0===I||I(U))}),[U,q]);var me=J;return ce[R]&&pe===M&&(me=Object(a["a"])({transition:"none"},me)),[q,pe,me,null!==U&&void 0!==U?U:t]}var $=n("l6qj"),X=n("4rHh"),q=n("j/sL"),K=n("/3Cb"),Q=function(e){Object(q["a"])(n,e);var t=Object(K["a"])(n);function n(){return Object($["a"])(this,n),t.apply(this,arguments)}return Object(X["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(u["Component"]),Z=Q;function J(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===Object(i["a"])(e)&&(t=e.transitionSupport);var s=u["forwardRef"]((function(e,t){var i=e.visible,s=void 0===i||i,d=e.removeOnLeave,p=void 0===d||d,h=e.forceRender,m=e.children,v=e.motionName,g=e.leavedClassName,y=e.eventProps,b=n(e),w=Object(u["useRef"])(),E=Object(u["useRef"])();function O(){try{return w.current instanceof HTMLElement?w.current:Object(l["a"])(E.current)}catch(e){return null}}var k=V(b,s,O,e),x=Object(o["a"])(k,4),C=x[0],_=x[1],A=x[2],T=x[3],P=u["useRef"](T);T&&(P.current=!0);var D,N=u["useCallback"]((function(e){w.current=e,Object(c["b"])(t,e)}),[t]),I=Object(a["a"])(Object(a["a"])({},y),{},{visible:s});if(m)if(C!==j&&n(e)){var L,B;_===R?B="prepare":W(_)?B="active":_===M&&(B="start"),D=m(Object(a["a"])(Object(a["a"])({},I),{},{className:f()(S(v,C),(L={},Object(r["a"])(L,S(v,"".concat(C,"-").concat(B)),B),Object(r["a"])(L,v,"string"===typeof v),L)),style:A}),N)}else D=T?m(Object(a["a"])({},I),N):!p&&P.current?m(Object(a["a"])(Object(a["a"])({},I),{},{className:g}),N):h?m(Object(a["a"])(Object(a["a"])({},I),{},{style:{display:"none"}}),N):null;else D=null;if(u["isValidElement"](D)&&Object(c["c"])(D)){var F=D,U=F.ref;U||(D=u["cloneElement"](D,{ref:N}))}return u["createElement"](Z,{ref:E},D)}));return s.displayName="CSSMotion",s}var ee=J(O),te=n("lCDx"),ne=n("VUwz"),re="add",ae="keep",oe="remove",ie="removed";function ue(e){var t;return t=e&&"object"===Object(i["a"])(e)&&"key"in e?e:{key:e},Object(a["a"])(Object(a["a"])({},t),{},{key:String(t.key)})}function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ue)}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=le(e),u=le(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return c.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==oe})),n.forEach((function(t){t.key===e&&(t.status=ae)}))})),n}var se=["component","children","onVisibleChanged","onAllRemoved"],fe=["status"],de=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,n=function(e){Object(q["a"])(r,e);var n=Object(K["a"])(r);function r(){var e;Object($["a"])(this,r);for(var t=arguments.length,o=new Array(t),i=0;i{console.log("onExpand",e,t)},v=()=>l.a.createElement("div",{style:{width:"100%",height:500}},l.a.createElement(c["b"],{data:h,onExpand:m,columns:[{name:"name",label:"\u540d\u79f0"}],onUpdate:Object(r["a"])(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=v},RSL4:function(e,t,n){n("QZNO")},RfhN:function(e,t){function n(){return!1}e.exports=n},RtFG:function(e,t,n){var r=n("2lI5"),a=n("1aIJ"),o=n("l3mM"),i=1,u=2;function l(e,t,n,l,c,s){var f=n&i,d=e.length,p=t.length;if(d!=p&&!(f&&p>d))return!1;var h=s.get(e),m=s.get(t);if(h&&m)return h==t&&m==e;var v=-1,g=!0,y=n&u?new r:void 0;s.set(e,t),s.set(t,e);while(++vv)throw TypeError(g);for(s=l(y,r),f=0;fb-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>w;f--)d=f+r-1,p=f+n-1,d in y?y[p]=y[d]:delete y[p];for(f=0;f1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){d.call(a,r(n,e,t),n)}),void 0,!0,!0),a}})},SHha:function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function u(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(o){return!1}}e.exports=u()?Object.assign:function(e,t){for(var n,u,l=i(e),c=1;c=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},THzI:function(e,t,n){"use strict";var r=n("qyeh"),a=n("6SQG"),o=n("h+/6");e.exports=r||!o((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete a[e]}))},TMNz:function(e,t,n){"use strict";var r=n("OOCw"),a=n("M+Sl").map,o=n("THrr"),i=n("7/pz"),u=o("map"),l=i("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},Tf8M:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("1zyx"),a=n("qrGX"),o=(0,a.LinkWrapper)(r.NavLink);t["default"]=o},"Tk/C":function(e,t,n){},TxBV:function(e,t,n){var r=n("uF/W");e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},TxDi:function(e,t,n){var r=n("3Hes"),a=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,"/./"[e](t)}catch(r){}}return!1}},Txlo:function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function a(e,t){var a=typeof e;return t=null==t?n:t,!!t&&("number"==a||"symbol"!=a&&r.test(e))&&e>-1&&e%1==0&&e1?arguments[1]:void 0,3),a=new(c(t,o("Set"))),d=u(a.add);return f(n,(function(e){r(e,e,t)&&d.call(a,e)}),void 0,!1,!0),a}})},UQib:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},UbNf:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("K3fz");function a(e){if(Array.isArray(e))return Object(r["a"])(e)}function o(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var i=n("OXLs");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return a(e)||o(e)||Object(i["a"])(e)||u()}},Us7a:function(e,t,n){var r=n("upgS"),a=n("jax1"),o=n("z43i"),i=Math.ceil,u=function(e){return function(t,n,u){var l,c,s=String(o(t)),f=s.length,d=void 0===u?" ":String(u),p=r(n);return p<=f||""==d?s:(l=p-f,c=a.call(d,i(l/d.length)),c.length>l&&(c=c.slice(0,l)),e?s+c:c+s)}};e.exports={start:u(!1),end:u(!0)}},UtSM:function(e,t,n){var r=n("rkJ6");function a(e){return r(this.__data__,e)>-1}e.exports=a},Uv1i:function(e,t,n){var r=n("GXoa");r("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},UzFB:function(e,t,n){},V0hj:function(e,t,n){var r=n("O8qS");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},V96g:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{union:function(e){var t=i(this),n=new(l(t,o("Set")))(t);return c(e,u(n.add),n),n}})},VA8o:function(e,t,n){var r=n("h+/6");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},VJj2:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},VOZC:function(e,t,n){"use strict";var r=n("1QO0"),a=n.n(r),o=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=f.reach)break;var x=O.value;if(t.length>e.length)return;if(!(x instanceof a)){var S,j=1;if(y){if(S=o(E,k,e,g),!S||S.index>=e.length)break;var C=S.index,_=S.index+S[0].length,A=k;A+=O.value.length;while(C>=A)O=O.next,A+=O.value.length;if(A-=O.value.length,k=A,O.value instanceof a)continue;for(var T=O;T!==t.tail&&(A<_||"string"===typeof T.value);T=T.next)j++,A+=T.value.length;j--,x=e.slice(k,A),S.index-=k}else if(S=o(E,0,x,g),!S)continue;C=S.index;var R=S[0],M=x.slice(0,C),P=x.slice(C+R.length),D=k+x.length;f&&D>f.reach&&(f.reach=D);var N=O.prev;M&&(N=l(t,N,M),k+=M.length),c(t,N,j);var I=new a(d,v?r.tokenize(R,v):R,b,R);if(O=l(t,N,I),P&&l(t,O,P),j>1){var L={cause:d+","+h,reach:D};i(e,t,n,O.prev,k,L),f&&L.reach>f.reach&&(f.reach=L.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),i=o;o["default"]=o,i.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup["tag"].inside["attr-value"].inside["entity"]=i.languages.markup["entity"],i.languages.markup["doctype"].inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n["cdata"]=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),i.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c["string"]],char:i.languages.c["char"],comment:i.languages.c["comment"],"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}}}),i.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete i.languages.c["boolean"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css["atrule"].inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css["atrule"].inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){function t(e){if(e&&"string"!==typeof e)for(var n=0,r=e.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if(t=t.toLowerCase(),"#"===t[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=u[t];return r||e})),t}e.languages.md=e.languages.markdown}(i),i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},i.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!==typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var u=d(/^\{$/,/^\}$/);if(-1===u)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function s(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside["interpolation"],a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function u(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function s(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,s={},f=a.map((function(e){if("string"===typeof e)return e;var n,a=e.content;while(-1!==t.indexOf(n=u(i++,r)));return s[n]=a,n})).join(""),d=l(f,n,r),p=Object.keys(s);function h(e){for(var t=0;t=p.length)return;var n=e[t];if("string"===typeof n||"string"===typeof n.content){var r=p[i],a="string"===typeof n?n:n.content,o=a.indexOf(r);if(-1!==o){++i;var u=a.substring(0,o),l=c(s[r]),f=a.substring(o+r.length),d=[];if(u&&d.push(u),d.push(l),f){var m=[f];h(m),d.push.apply(d,m)}"string"===typeof n?(e.splice.apply(e,[t,1].concat(d)),t+=d.length-1):n.content=d}}else{var v=n.content;Array.isArray(v)?h(v):h([v])}}}return i=0,h(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"===typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){function n(t){for(var r=0,a=t.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript["parameter"],delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function"].source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript["keyword"].unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside["comment"]=t["comment"],e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""},u=function t(n){for(var r=[],a=0;a0&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:u=!0),(u||"string"===typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=i(o);a0&&("string"===typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)}o.content&&"string"!==typeof o.content&&t(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),i.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete i.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"===typeof o&&!o(e))return e;var a,u=i.length;while(-1!==n.code.indexOf(a=t(r,u)))++u;return i[u]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);i(n.tokens)}function i(u){for(var l=0;l=o.length)break;var c=u[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var s=o[a],f=n.tokenStack[s],d="string"===typeof c?c:c.content,p=t(r,s),h=d.indexOf(p);if(h>-1){++a;var m=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),g=d.substring(h+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(v),g&&y.push.apply(y,i([g])),"string"===typeof c?u.splice.apply(u,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return u}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(i),i.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside["interpolation"].inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),i.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason["function"],function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),i.languages.scss["atrule"].inside.rest=i.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r["interpolation"]={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r["func"]={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx["parameter"],delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var u=i,l={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},c=l,s={Prism:u,theme:c};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},v=function(e){var t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,u=[],l=[u];while(i>-1){while((o=r[i]++)0?s:["plain"],c=d):(s=m(s,d.type),d.alias&&(s=m(s,d.alias)),c=d.content),"string"===typeof c){var v=c.split(p),g=v.length;u.push({types:s,content:v[0]});for(var y=1;ye.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},Vc2o:function(e,t,n){var r=n("t+GO"),a=n("GQDD"),o=n("megh"),i=n("NSh6"),u=n("PVOi"),l=n("PORw"),c=n("GLf+"),s="[object Map]",f="[object Object]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=c(r),g=c(a),y=c(o),b=c(i),w=c(u),E=l;(r&&E(new r(new ArrayBuffer(1)))!=m||a&&E(new a)!=s||o&&E(o.resolve())!=d||i&&E(new i)!=p||u&&E(new u)!=h)&&(E=function(e){var t=l(e),n=t==f?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return m;case g:return s;case y:return d;case b:return p;case w:return h}return t}),e.exports=E},VdqM:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},Vg85:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Vhn3:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function a(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done);r=!0)if(n.push(i.value),t&&n.length===t)break}catch(l){a=!0,o=l}finally{try{r||null==u["return"]||u["return"]()}finally{if(a)throw o}}return n}}n.d(t,"a",(function(){return u}));var o=n("401X");function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return r(e)||a(e,t)||Object(o["a"])(e,t)||i()}},VnLQ:function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("eyaU"),i=n("8d12"),u=n("86T+"),l=n("uZx/"),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,f=u((function(){var n=a(t.resolve),i=[],u=0,f=1,d=!1;l(e,(function(e){var a=u++,l=!1;i.push(void 0),f++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,i[a]=e,--f||s(new(o("AggregateError"))(i,c)))}))})),--f||s(new(o("AggregateError"))(i,c))}));return f.error&&s(f.value),n.promise}})},VqGX:function(e,t,n){var r=n("6SQG"),a=n("CsJM").trim,o=n("Vg85"),i=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==i(o+"08")||22!==i(o+"0x16");e.exports=l?function(e,t){var n=a(String(e));return i(n,t>>>0||(u.test(n)?16:10))}:i},W6X5:function(e,t){function n(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}e.exports=n},WAeE:function(e,t,n){var r=n("qyeh"),a=n("l9Lh");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},WJ2W:function(e,t,n){var r=n("KZF9");r("hasInstance")},WSIO:function(e,t,n){"use strict";var r=n("SHha"),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,u=60110,l=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),i=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){return null===e||"object"!==typeof e?null:(e=d&&e[d]||e["@@iterator"],"function"===typeof e?e:null)}function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;ns)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},YjQ9:function(e,t,n){"use strict";var r=n("1QO0"),a=n("8SKh"),o=Object(a["a"])()?r["useLayoutEffect"]:r["useEffect"];t["a"]=o},Ysk6:function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},YvcH:function(e,t,n){},Yxqv:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{symmetricDifference:function(e){var t=i(this),n=new(l(t,o("Set")))(t),r=u(n["delete"]),a=u(n.add);return c(e,(function(e){r.call(n,e)||a.call(n,e)})),n}})},Z5y8:function(e,t,n){var r=n("jMzh"),a=n("PWyJ"),o="Expected a function";function i(e,t,n){var i=!0,u=!0;if("function"!=typeof e)throw new TypeError(o);return a(n)&&(i="leading"in n?!!n.leading:i,u="trailing"in n?!!n.trailing:u),r(e,t,{leading:i,maxWait:t,trailing:u})}e.exports=i},Z67V:function(e,t,n){"use strict";var r=n("r+6h"),a=n("ZGY3"),o=n("OdMF"),i=n("upgS"),u=n("0JbB").f;r&&!("lastItem"in[])&&(u(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=o(this),n=i(t.length);return t[0==n?0:n-1]=e}}),a("lastItem"))},ZGY3:function(e,t,n){var r=n("3Hes"),a=n("QWtl"),o=n("0JbB"),i=r("unscopables"),u=Array.prototype;void 0==u[i]&&o.f(u,i,{configurable:!0,value:a(null)}),e.exports=function(e){u[i][e]=!0}},ZIdP:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.toKey,u=a.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);u(e,t,o(n),r)}})},ZT9G:function(e,t,n){var r=n("sErw"),a=n("lkgX"),o=n("3Hes"),i=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[i])?t:a(n)}},ZTVF:function(e,t,n){"use strict";var r=n("DbXJ");function a(){var e=n("1QO0");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n("hPYS");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&n.push(f[r]);v(n)}else v([])}),[e,f.length]),m},v=function(){var e=(0,a().useContext)(o.context),t=e.config.algolia,n=(0,a().useCallback)((function(e){window.docsearch(u({inputSelector:e},t))}),[t]);return n},g=function(e){var t=(0,a().useContext)(o.context),n=t.config,r=m(e),i=v();return n.algolia?i:r};t["default"]=g},ZVkV:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},ZYMV:function(e,t,n){var r=n("ZwOi"),a=Math.abs,o=Math.pow,i=o(2,-52),u=o(2,-23),l=o(2,127)*(2-u),c=o(2,-126),s=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,o=a(e),f=r(e);return ol||n!=n?f*(1/0):f*n)}},Zgy7:function(e,t,n){var r=n("vFD/"),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},Zjj6:function(e,t,n){var r=n("+U9+"),a=n("VJj2");function o(e){return null!=e&&a(e.length)&&!r(e)}e.exports=o},Zjmp:function(e,t,n){var r=n("ry6q"),a=n("mIaV"),o=n("EA9V"),i=n("nXRf"),u=n("KSsz"),l=n("M9kN");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=a,c.prototype["delete"]=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=l,e.exports=c},ZmXH:function(e,t,n){"use strict";var r=n("0JbB").f,a=n("QWtl"),o=n("TxBV"),i=n("v3z7"),u=n("CZSf"),l=n("uZx/"),c=n("vSpU"),s=n("ct0+"),f=n("r+6h"),d=n("gArs").fastKey,p=n("uJNS"),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var s=e((function(e,r){u(e,s,t),h(e,{type:t,index:a(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&l(r,e[c],e,n)})),p=m(t),v=function(e,t,n){var r,a,o=p(e),i=g(e,t);return i?i.value=n:(o.last=i={index:a=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),f?o.size++:e.size++,"F"!==a&&(o.index[a]=i)),e},g=function(e,t){var n,r=p(e),a=d(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(s.prototype,{clear:function(){var e=this,t=p(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=g(t,e);if(r){var a=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=a),a&&(a.previous=o),n.first==r&&(n.first=a),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=p(this),r=i(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),o(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(s.prototype,"size",{get:function(){return p(this).size}}),s},setStrong:function(e,t,n){var r=t+" Iterator",a=m(t),o=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){var e=o(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},Zsrj:function(e,t,n){(function(e){var r=n("O4yA"),a=n("RfhN"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=i&&i.exports===o,l=u?r.Buffer:void 0,c=l?l.isBuffer:void 0,s=c||a;e.exports=s}).call(this,n("9nSD")(e))},ZsxT:function(e,t,n){var r=n("QzCP"),a=Object.prototype,o=a.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=i},ZwOi:function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},ZxN6:function(e,t,n){var r=n("OOCw"),a=n("CBsr");r({target:"WeakSet",stat:!0},{of:a})},aBnV:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,"a",(function(){return r}))},aEZQ:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,a){var o=n(e),i=n(t),u="("===(a=a||"()")[0],l=")"===a[1];return(u?this.isAfter(o,r):!this.isBefore(o,r))&&(l?this.isBefore(i,r):!this.isAfter(i,r))||(u?this.isBefore(o,r):!this.isAfter(o,r))&&(l?this.isAfter(i,r):!this.isBefore(i,r))}}}))},aRba:function(e,t,n){var r=n("x+sk"),a=n("d8EH");e.exports=function(e,t,n){var o,i;return a&&"function"==typeof(o=t.constructor)&&o!==n&&r(i=o.prototype)&&i!==n.prototype&&a(e,i),e}},aTTI:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("R8Xy"),l=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{every:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},aUZo:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("xy/A"),i=n("ct0+"),u="ArrayBuffer",l=o[u],c=a[u];r({global:!0,forced:c!==l},{ArrayBuffer:l}),i(u)},aVyU:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"Map",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},aaHa:function(e,t,n){var r=n("Y30u");e.exports=y,e.exports.parse=o,e.exports.compile=i,e.exports.tokensToFunction=c,e.exports.tokensToRegExp=g;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){var n,r=[],o=0,i=0,u="",l=t&&t.delimiter||"/";while(null!=(n=a.exec(e))){var c=n[0],d=n[1],p=n.index;if(u+=e.slice(i,p),i=p+c.length,d)u+=d[1];else{var h=e[i],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,O="+"===b||"*"===b,k="?"===b||"*"===b,x=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:x,optional:k,repeat:O,partial:E,asterisk:!!w,pattern:S?f(S):w?".*":"[^"+s(x)+"]+?"})}}return i {\r\n const [data, setData] = useState(createData(20))\r\n console.log('data', data)\r\n return (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: 'Custom Title',\r\n width: 100,\r\n },\r\n ]}\r\n locale={enUS}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n setData(prev => {\r\n const newList = [...prev]\r\n const index = newList.findIndex(val => val.id === row.id)\r\n newList[index] = {\r\n ...row,\r\n startDate: dayjs(startDate).format('YYYY-MM-DD'),\r\n endDate: dayjs(endDate).format('YYYY-MM-DD'),\r\n }\r\n return newList\r\n })\r\n return true\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default App",l="import RcGantt, { enUS } from 'rc-gantt'\r\nimport React from 'react'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: 'Title',\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n locale={enUS}\r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: 'Title',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n return true\r\n }}\r\n />\r\n
\r\n)\r\n\r\nexport default App",c="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst node = {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n collapsed: true,\r\n}\r\n\r\nconst childList = [\r\n {\r\n ...node,\r\n children: [{ ...node, children: [{ ...node }] }],\r\n },\r\n {\r\n ...node,\r\n },\r\n]\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n ...node,\r\n children: childList,\r\n}) as Data[]\r\n\r\nconst onExpand = (record, collapsed) => {\r\n console.log('onExpand', record, collapsed)\r\n}\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n onExpand={onExpand}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n },\r\n ]}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",s="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 200,\r\n },\r\n {\r\n name: 'startDate',\r\n label: '\u5f00\u59cb\u65f6\u95f4',\r\n },\r\n {\r\n name: 'endDate',\r\n label: '\u7ed3\u675f\u65f6\u95f4',\r\n render: record => {record.endDate},\r\n },\r\n ]}\r\n tableIndent={0}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",f="import dayjs from 'dayjs'\r\nimport RcGantt, { Gantt } from 'rc-gantt'\r\nimport React from 'react'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = [\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n id: '1',\r\n },\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(2, 'week').format('YYYY-MM-DD'),\r\n id: '2',\r\n },\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().add(2, 'week').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(3, 'week').format('YYYY-MM-DD'),\r\n id: '3',\r\n },\r\n]\r\n\r\nconst dependencies: Gantt.Dependence[] = [\r\n {\r\n from: '1',\r\n to: '2',\r\n type: 'finish_start',\r\n color: 'blue',\r\n },\r\n {\r\n from: '2',\r\n to: '3',\r\n type: 'finish_start',\r\n },\r\n]\r\n\r\nconst App = () => (\r\n
\r\n \r\n dependencies={dependencies}\r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n },\r\n ]}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",d="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n})\r\n\r\nconst App = () => (\r\n
\r\n \u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3}\r\n renderRightText={() => \u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3}\r\n onUpdate={async () => true}\r\n getBarColor={() => ({\r\n backgroundColor: 'red',\r\n borderColor: 'yellow',\r\n })}\r\n renderBar={(barInfo, { width, height }) => (\r\n
renderBar{barInfo.label}
\r\n )}\r\n />\r\n
\r\n)\r\n\r\nexport default App",p="import dayjs from 'dayjs'\nimport RcGantt, { Gantt } from 'rc-gantt'\nimport React from 'react'\n\ninterface Data {\n name: string\n startDate: string\n endDate: string\n}\n\nconst data = Array.from({ length: 100 }).fill({\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\n startDate: dayjs().format('YYYY-MM-DD'),\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\n}) as Data[]\n\nconst customSights: Gantt.SightConfig[] = [\n {\n label: '\u81ea\u5b9a\u4e49\u65e5',\n value: Gantt.ESightValues.day,\n type: 'day',\n },\n {\n label: '\u81ea\u5b9a\u4e49\u5468',\n value: Gantt.ESightValues.week,\n type: 'week',\n },\n]\n\nconst App = () => (\n
\n \n data={data}\n columns={[\n {\n name: 'name',\n label: '\u540d\u79f0',\n width: 100,\n },\n ]}\n customSights={customSights}\n onUpdate={async (row, startDate, endDate) => {\n console.log('update', row, startDate, endDate)\n return true\n }}\n />\n
\n)\n\nexport default App",h="import dayjs from 'dayjs'\r\nimport RcGantt, { Gantt, GanttRef } from 'rc-gantt'\r\nimport React, { useRef, useState } from 'react'\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n})\r\n\r\nconst Button = ({\r\n active,\r\n children,\r\n onClick,\r\n ...resetProps\r\n}: {\r\n active: boolean\r\n children: React.ReactNode\r\n onClick: React.MouseEventHandler\r\n}) => (\r\n \r\n)\r\n\r\nconst App = () => {\r\n const [val1, setVal1] = useState(true)\r\n\r\n const [val3, setVal3] = useState(false)\r\n\r\n const [val2, setVal2] = useState('day')\r\n\r\n const ref = useRef()\r\n\r\n const sightList: Gantt.Sight[] = ['day', 'halfYear', 'month', 'quarter', 'week']\r\n\r\n const onBackToday = () => {\r\n if (ref && ref.current) ref.current.backToday()\r\n }\r\n\r\n return (\r\n
\r\n
\r\n true}\r\n getBarColor={() => ({\r\n backgroundColor: 'red',\r\n borderColor: 'yellow',\r\n })}\r\n hideTable={val3}\r\n alwaysShowTaskBar={val1}\r\n unit={val2}\r\n />\r\n\r\n
\r\n
\r\n setVal1(e.target.checked)} type='checkbox' />\r\n alwaysShowTaskBar \u662f\u5426\u6c38\u8fdc\u5c55\u793a\u5de6\u53f3\u4fa7\u6587\u6848\r\n
\r\n
\r\n unit \u5f53\u524d\u89c6\u56fe\r\n {sightList.map((s: Gantt.Sight) => (\r\n \r\n ))}\r\n
\r\n
\r\n unit \u5f53\u524d\u89c6\u56fe\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\nexport default App",m="import dayjs from 'dayjs'\r\nimport RcGantt from 'rc-gantt'\r\nimport React, { useState } from 'react'\r\n\r\ninterface Data {\r\n id: number\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nfunction createData(len: number) {\r\n const result: Data[] = []\r\n for (let i = 0; i < len; i++) {\r\n result.push({\r\n id: i,\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().subtract(-i, 'day').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(i, 'day').format('YYYY-MM-DD'),\r\n })\r\n }\r\n return result\r\n}\r\n\r\nconst App = () => {\r\n const [data, setData] = useState(createData(20))\r\n console.log('data', data)\r\n return (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n setData(prev => {\r\n const newList = [...prev]\r\n const index = newList.findIndex(val => val.id === row.id)\r\n newList[index] = {\r\n ...row,\r\n startDate: dayjs(startDate).format('YYYY-MM-DD'),\r\n endDate: dayjs(endDate).format('YYYY-MM-DD'),\r\n }\r\n return newList\r\n })\r\n return true\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default App",v="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n return true\r\n }}\r\n />\r\n
\r\n)\r\n\r\nexport default App",g={"website-basic.en-us":{component:n("pibB").default,previewerProps:{sources:{_:{tsx:u}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-basic.en-us"}},"website-add.en-us":{component:n("KZJK").default,previewerProps:{sources:{_:{tsx:l}},dependencies:{"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-add.en-us"}},"website-child":{component:n("RPcR").default,previewerProps:{sources:{_:{tsx:c}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-child"}},"website-column":{component:n("qwRQ").default,previewerProps:{sources:{_:{tsx:s}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-column"}},"website-dependence":{component:n("Jigo").default,previewerProps:{sources:{_:{tsx:f}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-dependence"}},"website-render":{component:n("NCUv").default,previewerProps:{sources:{_:{tsx:d}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-render"}},"website-filterunit":{component:n("/5y1").default,previewerProps:{sources:{_:{tsx:p}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-filterunit"}},"website-custom":{component:n("anYt").default,previewerProps:{sources:{_:{tsx:h}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-custom"}},"website-basic":{component:n("Oe+o").default,previewerProps:{sources:{_:{tsx:m}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-basic"}},"website-add":{component:n("IRoW").default,previewerProps:{sources:{_:{tsx:v}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"}},identifier:"website-add"}}},y=n("x2v5"),b=n("j+of"),w=n.n(b);t["default"]=e=>o.a.createElement(w.a,Object(r["a"])({},e,{config:i,demos:g,apis:y}))},ahVg:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{every:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},anYt:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("Vhn3"),o=n("/r+8"),i=n("vCPc"),u=n("NUIj"),l=n.n(u),c=n("0+H2"),s=n.n(c),f=n("2YZa"),d=n("1QO0"),p=n.n(d),h=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0",startDate:s()().format("YYYY-MM-DD"),endDate:s()().add(1,"week").format("YYYY-MM-DD")}),m=e=>{var t=e.active,n=e.children,r=e.onClick,a=Object(i["a"])(e,["active","children","onClick"]);return p.a.createElement("button",Object(o["a"])({onClick:r,style:t?{background:"#096dd9",color:"#fff"}:{}},a),n)},v=()=>{var e=Object(d["useState"])(!0),t=Object(a["a"])(e,2),n=t[0],o=t[1],i=Object(d["useState"])(!1),u=Object(a["a"])(i,2),c=u[0],s=u[1],v=Object(d["useState"])("day"),g=Object(a["a"])(v,2),y=g[0],b=g[1],w=Object(d["useRef"])(),E=["day","halfYear","month","quarter","week"],O=()=>{w&&w.current&&w.current.backToday()};return p.a.createElement("div",{style:{width:"100%",height:600}},p.a.createElement("div",{style:{width:"100%",height:500}},p.a.createElement(f["b"],{data:h,innerRef:w,columns:[{name:"name",label:"\u540d\u79f0",width:100}],tableIndent:0,onUpdate:Object(r["a"])(l.a.mark((function e(){return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),getBarColor:()=>({backgroundColor:"red",borderColor:"yellow"}),hideTable:c,alwaysShowTaskBar:n,unit:y}),p.a.createElement("div",{style:{display:"flex",flexDirection:"column"}},p.a.createElement("div",null,p.a.createElement("input",{checked:n,onChange:e=>o(e.target.checked),type:"checkbox"}),"alwaysShowTaskBar \u662f\u5426\u6c38\u8fdc\u5c55\u793a\u5de6\u53f3\u4fa7\u6587\u6848"),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement("span",{style:{marginRight:20}},"unit \u5f53\u524d\u89c6\u56fe"),E.map((e=>p.a.createElement(m,{key:e,onClick:()=>b(e),active:e===y},e)))),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement("span",{style:{marginRight:20}},"unit \u5f53\u524d\u89c6\u56fe"),p.a.createElement(m,{active:!0,onClick:()=>s(!c)},"\u662f\u5426\u9690\u85cf\u5de6\u4fa7\u8868\u683c\uff1a",c?"\u9690\u85cf":"\u5c55\u793a")),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement(m,{active:!0,onClick:O},"\u8fd4\u56de\u4eca\u65e5")))))};t["default"]=v},"ax/v":function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("8d12"),i=n("86T+"),u=n("uZx/");r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,c=i((function(){var n=a(t.resolve),o=[],i=0,l=1;u(e,(function(e){var a=i++,u=!1;o.push(void 0),l++,n.call(t,e).then((function(e){u||(u=!0,o[a]={status:"fulfilled",value:e},--l||r(o))}),(function(e){u||(u=!0,o[a]={status:"rejected",reason:e},--l||r(o))}))})),--l||r(o)}));return c.error&&l(c.value),n.promise}})},bCY9:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("12pU"),a=new r["Plugin"]({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu"]})},bHKe:function(e,t,n){var r=n("OOCw"),a=n("6SQG"),o=n("bbNk"),i=!a.setImmediate||!a.clearImmediate;r({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},bIC1:function(e,t,n){(function(t){var n="Expected a function",r=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=s||f||Function("return this")(),p=Object.prototype,h=p.toString,m=Math.max,v=Math.min,g=function(){return d.Date.now()};function y(e,t,r){var a,o,i,u,l,c,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function h(t){var n=a,r=o;return a=o=void 0,s=t,u=e.apply(r,n),u}function y(e){return s=e,l=setTimeout(O,t),f?h(e):u}function b(e){var n=e-c,r=e-s,a=t-n;return d?v(a,i-r):a}function E(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||d&&r>=i}function O(){var e=g();if(E(e))return x(e);l=setTimeout(O,b(e))}function x(e){return l=void 0,p&&a?h(e):(a=o=void 0,u)}function S(){void 0!==l&&clearTimeout(l),s=0,a=c=o=l=void 0}function j(){return void 0===l?u:x(g())}function C(){var e=g(),n=E(e);if(a=arguments,o=this,c=e,n){if(void 0===l)return y(c);if(d)return l=setTimeout(O,t),h(c)}return void 0===l&&(l=setTimeout(O,t)),u}return t=k(t)||0,w(r)&&(f=!!r.leading,d="maxWait"in r,i=d?m(k(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),C.cancel=S,C.flush=j,C}function b(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return w(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),y(e,t,{leading:a,maxWait:t,trailing:o})}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}function O(e){return"symbol"==typeof e||E(e)&&h.call(e)==a}function k(e){if("number"==typeof e)return e;if(O(e))return r;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=b}).call(this,n("j8Of"))},bIgI:function(e,t,n){var r=n("XXwF");function a(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(l)throw i}}}}e.exports=a},bK3N:function(e,t,n){var r=n("+U9+"),a=n("e3zV"),o=n("PWyJ"),i=n("GLf+"),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,f=c.toString,d=s.hasOwnProperty,p=RegExp("^"+f.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){if(!o(e)||a(e))return!1;var t=r(e)?p:l;return t.test(i(e))}e.exports=h},bUaa:function(e,t,n){(function(e){var r=n("yn9n"),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,u=i&&r.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||u&&u.binding&&u.binding("util")}catch(t){}}();e.exports=l}).call(this,n("9nSD")(e))},bbNk:function(e,t,n){var r,a,o,i=n("6SQG"),u=n("h+/6"),l=n("kk5s"),c=n("v3z7"),s=n("RtP/"),f=n("73fw"),d=n("ytxp"),p=i.location,h=i.setImmediate,m=i.clearImmediate,v=i.process,g=i.MessageChannel,y=i.Dispatch,b=0,w={},E="onreadystatechange",O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){O(e)}},x=function(e){O(e.data)},S=function(e){i.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(k(e))}:y&&y.now?r=function(e){y.now(k(e))}:g&&!d?(a=new g,o=a.port2,a.port1.onmessage=x,r=c(o.postMessage,o,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||u(S)||"file:"===p.protocol?r=E in f("script")?function(e){s.appendChild(f("script"))[E]=function(){s.removeChild(this),O(e)}}:function(e){setTimeout(k(e),0)}:(r=S,i.addEventListener("message",x,!1))),e.exports={set:h,clear:m}},beEN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("SD1J"),o=n("z43i"),i=n("TxDi");r({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},brx1:function(e,t,n){var r=n("ct0+");r("Array")},cBkf:function(e,t,n){"use strict";var r=n("OOCw"),a=n("x+sk"),o=n("g0aX"),i=n("erIx"),u=n("upgS"),l=n("684d"),c=n("tmip"),s=n("3Hes"),f=n("THrr"),d=n("7/pz"),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,s,f=l(this),d=u(f.length),p=i(e,d),h=i(void 0===t?d:t,d);if(o(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?a(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),s=0;p1?arguments[1]:void 0,3),a=new(c(t,o("Set"))),d=u(a.add);return f(n,(function(e){d.call(a,r(e,e,t))}),void 0,!1,!0),a}})},cwkm:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="week",t="year";return function(n,r,a){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=a(this).startOf(t).add(1,t).date(r),i=a(this).endOf(e);if(o.isBefore(i))return 1}var u=a(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(u,e,!0);return l<0?a(this).startOf("week").week():Math.ceil(l)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},cxb8:function(e,t,n){},"d+E4":function(e,t,n){"use strict";var r=n("OOCw"),a=n("8d12"),o=n("86T+");r({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},d8EH:function(e,t,n){var r=n("sErw"),a=n("6jqD");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},dQB0:function(e,t,n){},dfcU:function(e,t,n){var r=n("D7Bi"),a=n("7zK7"),o=Object.prototype,i=o.hasOwnProperty;function u(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=u},diEk:function(e,t,n){var r=n("Zjmp"),a=n("0Ifp"),o=1,i=2;function u(e,t,n,u){var l=n.length,c=l,s=!u;if(null==e)return!c;e=Object(e);while(l--){var f=n[l];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}while(++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n, mountNode);"),t}var b=function(e){var t=(0,o().useState)(),n=c(t,2),i=n[0],l=n[1],s=g();return(0,o().useEffect)((function(){if(e&&s&&1===Object.keys(e.sources).length){var t,n=document.createElement("form"),o=document.createElement("input");return n.method="POST",n.target="_blank",n.style.display="none",n.action=v,n.appendChild(o),n.setAttribute("data-demo",e.title||""),o.name="data",o.value=JSON.stringify({title:e.titlle,js:y(e),css:Object.entries(e.dependencies).filter((function(e){var t=a(e,2),n=t[1];return n.css})).map((function(e){var t=a(e,2),n=t[0],r=t[1],o=r.version,i=r.css;return"@import '~".concat(i.replace(new RegExp("^(".concat(n,")")),"$1@".concat(o)),"';")})).concat(e.background?"body {\n background: ".concat(e.background,";\n}"):"").join("\n"),json:JSON.stringify({description:e.description,dependencies:Object.entries(e.dependencies).reduce((function(e,t){var n=a(t,2),o=n[0],i=n[1].version;return u(u({},e),{},r({},o,i))}),{"react-dom":(null===(t=e.dependencies.react)||void 0===t?void 0:t.version)||"latest"})},null,2)}),document.body.appendChild(n),l((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e,s]),i};t["default"]=b},dwb6:function(e,t,n){var r=n("3Hes"),a=n("AnAv"),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},dz2h:function(e,t,n){"use strict";var r=n("WkS0").IteratorPrototype,a=n("QWtl"),o=n("ZVkV"),i=n("nBeg"),u=n("AnAv"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=a(r,{next:o(1,n)}),i(e,c,!1,!0),u[c]=l,e}},e38J:function(e,t,n){var r=n("OOCw"),a=n("eyaU"),o=n("lkgX"),i=n("sErw"),u=n("h+/6"),l=a("Reflect","apply"),c=Function.apply,s=!u((function(){l((function(){}))}));r({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return o(e),i(n),l?l(e,t,n):c.call(e,t,n)}})},e3zV:function(e,t,n){var r=n("I99e"),a=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!a&&a in e}e.exports=o},eHdO:function(e,t){function n(e){return e}e.exports=n},eKcC:function(e,t){function n(){return[]}e.exports=n},eOjw:function(e,t,n){var r=n("OOCw"),a=Math.hypot,o=Math.abs,i=Math.sqrt,u=!!a&&a(1/0,NaN)!==1/0;r({target:"Math",stat:!0,forced:u},{hypot:function(e,t){var n,r,a=0,u=0,l=arguments.length,c=0;while(u0?(r=n/c,a+=r*r):a+=n;return c===1/0?1/0:c*i(a)}})},eR7F:function(e,t,n){},eW2S:function(e,t,n){var r=n("3Hes"),a=r("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[a]=function(){return this},Array.from(u,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},ecma:function(e,t,n){var r=n("GXoa");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},ediS:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=n("zesz"),u=a.has,l=a.get,c=a.toKey,s=function(e,t,n){var r=u(e,t,n);if(r)return l(e,t,n);var a=i(t);return null!==a?s(e,a,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return s(e,o(t),n)}})},elB0:function(e,t,n){var r=n("5yEw"),a=n("kk5s"),o=n("3Hes"),i=o("toStringTag"),u="Arguments"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),i))?n:u?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},em2R:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.toKey,u=a.getMap,l=a.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=u(o(t),n,!1);if(void 0===r||!r["delete"](e))return!1;if(r.size)return!0;var a=l.get(t);return a["delete"](n),!!a.size||l["delete"](t)}})},eoSM:function(e,t){var n=Array.isArray;e.exports=n},erIx:function(e,t,n){var r=n("ANLo"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},eyaU:function(e,t,n){var r=n("4uZn"),a=n("6SQG"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},eyew:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("JSMs"),l=n("zesz"),c=n("6ssM").f;a&&r({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},fkhx:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},foqJ:function(e,t,n){var r=n("67Yi"),a="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},"g/mA":function(e,t,n){var r=n("0Ifp"),a=n("k4Sg"),o=n("JDKm"),i=n("Qyvd"),u=n("nlRv"),l=n("HxYL"),c=n("OD7W"),s=1,f=2;function d(e,t){return i(e)&&u(t)?l(c(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,s|f)}}e.exports=d},g0aX:function(e,t,n){var r=n("kk5s");e.exports=Array.isArray||function(e){return"Array"==r(e)}},g0pg:function(e,t,n){"use strict";var r,a=n("78S/"),o=n("r+6h"),i=n("6SQG"),u=n("x+sk"),l=n("oEsY"),c=n("elB0"),s=n("MZA9"),f=n("uF/W"),d=n("0JbB").f,p=n("zesz"),h=n("d8EH"),m=n("3Hes"),v=n("KgcE"),g=i.Int8Array,y=g&&g.prototype,b=i.Uint8ClampedArray,w=b&&b.prototype,E=g&&p(g),O=y&&p(y),k=Object.prototype,x=k.isPrototypeOf,S=m("toStringTag"),j=v("TYPED_ARRAY_TAG"),C=a&&!!h&&"Opera"!==c(i.opera),_=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T=function(e){var t=c(e);return"DataView"===t||l(A,t)},R=function(e){return u(e)&&l(A,c(e))},M=function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},P=function(e){if(h){if(x.call(E,e))return e}else for(var t in A)if(l(A,r)){var n=i[t];if(n&&(e===n||x.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,n){if(o){if(n)for(var r in A){var a=i[r];a&&l(a.prototype,e)&&delete a.prototype[e]}O[e]&&!n||f(O,e,n?t:C&&y[e]||t)}},N=function(e,t,n){var r,a;if(o){if(h){if(n)for(r in A)a=i[r],a&&l(a,e)&&delete a[e];if(E[e]&&!n)return;try{return f(E,e,n?t:C&&g[e]||t)}catch(u){}}for(r in A)a=i[r],!a||a[e]&&!n||f(a,e,t)}};for(r in A)i[r]||(C=!1);if((!C||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},C))for(r in A)i[r]&&h(i[r],E);if((!C||!O||O===k)&&(O=E.prototype,C))for(r in A)i[r]&&h(i[r].prototype,O);if(C&&p(w)!==O&&h(w,O),o&&!l(O,S))for(r in _=!0,d(O,S,{get:function(){return u(this)?this[j]:void 0}}),A)i[r]&&s(i[r],j,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:_&&j,aTypedArray:M,aTypedArrayConstructor:P,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:N,isView:T,isTypedArray:R,TypedArray:E,TypedArrayPrototype:O}},g8ur:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"===typeof t?t():t,o=n?a+": "+n:a;throw new Error(o)}}},gArs:function(e,t,n){var r=n("Y3cF"),a=n("x+sk"),o=n("oEsY"),i=n("0JbB").f,u=n("KgcE"),l=n("Y4d4"),c=u("meta"),s=0,f=Object.isExtensible||function(){return!0},d=function(e){i(e,c,{value:{objectID:"O"+ ++s,weakData:{}}})},p=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,c)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[c].objectID},h=function(e,t){if(!o(e,c)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[c].weakData},m=function(e){return l&&v.REQUIRED&&f(e)&&!o(e,c)&&d(e),e},v=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:m};r[c]=!0},gGOj:function(e,t,n){"use strict";var r=n("IYc2"),a=n("bIgI"),o=n("DbXJ"),i=n("1uVM"),u=n("/sHi"),l=n("mDdX"),c=n("jrV3"),s=function(e){return null===e||void 0===e};function f(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[[h(t,e),"[",a,"]"].join("")]:[[h(t,e),"[",h(a,e),"]=",h(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[[h(t,e),"[]"].join("")]:[[h(t,e),"[]=",h(r,e)].join("")])}};case"comma":case"separator":return function(t){return function(n,r){return null===r||void 0===r||0===r.length?n:0===n.length?[[h(t,e),"=",h(r,e)].join("")]:[[n,h(r,e)].join(e.arrayFormatSeparator)]}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[h(t,e)]:[[h(t,e),"=",h(r,e)].join("")])}}}}function d(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var a="string"===typeof n&&n.includes(e.arrayFormatSeparator),o="string"===typeof n&&!a&&m(n,e).includes(e.arrayFormatSeparator);n=o?m(n,e):n;var i=a||o?n.split(e.arrayFormatSeparator).map((function(t){return m(t,e)})):null===n?n:m(n,e);r[t]=i};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}function p(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function h(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function m(e,t){return t.decode?u(e):e}function v(e){return Array.isArray(e)?e.sort():"object"===typeof e?v(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function g(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}function b(e){e=g(e);var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function w(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function E(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),p(t.arrayFormatSeparator);var n=d(t),o=Object.create(null);if("string"!==typeof e)return o;if(e=e.trim().replace(/^[?#&]/,""),!e)return o;var i,u=a(e.split("&"));try{for(u.s();!(i=u.n()).done;){var c=i.value;if(""!==c){var s=l(t.decode?c.replace(/\+/g," "):c,"="),f=r(s,2),h=f[0],g=f[1];g=void 0===g?null:["comma","separator"].includes(t.arrayFormat)?g:m(g,t),n(m(h,t),g,o)}}}catch(j){u.e(j)}finally{u.f()}for(var y=0,b=Object.keys(o);y0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=l(e,"#"),a=r(n,2),o=a[0],i=a[1];return Object.assign({url:o.split("?")[0]||"",query:E(b(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:m(i,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=g(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query),u=t.stringify(i,n);u&&(u="?".concat(u));var l=y(e.url);return e.fragmentIdentifier&&(l="#".concat(h(e.fragmentIdentifier,n))),"".concat(r).concat(u).concat(l)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var a=t.parseUrl(e,r),o=a.url,i=a.query,u=a.fragmentIdentifier;return t.stringifyUrl({url:o,query:c(i,n),fragmentIdentifier:u},r)},t.exclude=function(e,n,r){var a=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,a,r)}},gTJW:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"Set",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},"gem+":function(e,t,n){},"h+/6":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},h9Wi:function(e,t,n){var r=n("OOCw"),a=n("2hel"),o=Math.acosh,i=Math.log,u=Math.sqrt,l=Math.LN2,c=!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0;r({target:"Math",stat:!0,forced:c},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?i(e)+l:a(e-1+u(e-1)*u(e+1))}})},hIti:function(e,t,n){"use strict";var r=n("1QO0"),a=n("SHha"),o=n("Mi9W");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function b(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){w[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];w[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){w[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){w[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){w[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){w[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){w[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){w[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){w[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var E=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}function k(e,t,n,r){var a=w.hasOwnProperty(t)?w[t]:null,o=null!==a?0===a.type:!r&&(2u||a[i]!==o[u])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=u);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function q(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=X(e.type,!1),e;case 11:return e=X(e.type.render,!1),e;case 22:return e=X(e.type._render,!1),e;case 1:return e=X(e.type,!0),e;default:return""}}function K(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case j:return"Portal";case A:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case N:return K(e.type);case L:return K(e._render);case I:t=e._payload,e=e._init;try{return K(e(t))}catch(n){}}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ee(e){e._valueTracker||(e._valueTracker=J(e))}function te(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ne(e){if(e=e||("undefined"!==typeof document?document:void 0),"undefined"===typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}function re(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ae(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function oe(e,t){t=t.checked,null!=t&&k(e,"checked",t,!1)}function ie(e,t){oe(e,t);var n=Q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?le(e,t.type,n):t.hasOwnProperty("defaultValue")&&le(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ue(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function le(e,t,n){"number"===t&&ne(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ce(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function se(e,t){return e=a({children:void 0},t),(t=ce(t.children))&&(e.children=t),e}function fe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function he(e,t){var n=Q(t.value),r=Q(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ve={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ge(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ye(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ge(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var be,we=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,a)}))}:e}((function(e,t){if(e.namespaceURI!==ve.svg||"innerHTML"in e)e.innerHTML=t;else{for(be=be||document.createElement("div"),be.innerHTML=""+t.valueOf().toString()+"",t=be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ee(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ke=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(Oe).forEach((function(e){ke.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oe[t]=Oe[e]}))}));var je=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(je[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ae(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Re=null,Me=null;function Pe(e){if(e=Sa(e)){if("function"!==typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=Ca(t),Te(e.stateNode,e.type,t))}}function De(e){Re?Me?Me.push(e):Me=[e]:Re=e}function Ne(){if(Re){var e=Re,t=Me;if(Me=Re=null,Pe(e),t)for(e=0;er?0:1<n;n++)t.push(e);return t}function Jt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-en(t),e[t]=n}var en=Math.clz32?Math.clz32:rn,tn=Math.log,nn=Math.LN2;function rn(e){return 0===e?32:31-(tn(e)/nn|0)|0}var an=o.unstable_UserBlockingPriority,on=o.unstable_runWithPriority,un=!0;function ln(e,t,n,r){Ue||Be();var a=sn,o=Ue;Ue=!0;try{Le(a,e,t,n,r)}finally{(Ue=o)||Ye()}}function cn(e,t,n,r){on(an,sn.bind(null,e,t,n,r))}function sn(e,t,n,r){var a;if(un)if((a=0===(4&t))&&0=nr),or=String.fromCharCode(32),ir=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lr(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var cr=!1;function sr(e,t){switch(e){case"compositionend":return lr(t);case"keypress":return 32!==t.which?null:(ir=!0,or);case"textInput":return e=t.data,e===or&&ir?null:e;default:return null}}function fr(e,t){if(cr)return"compositionend"===e||!tr&&ur(e,t)?(e=mn(),hn=pn=dn=null,cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Dr(r)}}function Ir(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ir(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Lr(){for(var e=window,t=ne();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=t.contentWindow,t=ne(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Fr=f&&"documentMode"in document&&11>=document.documentMode,Ur=null,zr=null,Yr=null,Wr=!1;function Gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Wr||null==Ur||Ur!==ne(r)||(r=Ur,"selectionStart"in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yr&&Pr(Yr,r)||(Yr=r,r=aa(zr,"onSelect"),0Ta||(e.current=Aa[Ta],Aa[Ta]=null,Ta--)}function Pa(e,t){Ta++,Aa[Ta]=e.current,e.current=t}var Da={},Na=Ra(Da),Ia=Ra(!1),La=Da;function Ba(e,t){var n=e.type.contextTypes;if(!n)return Da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fa(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Ua(){Ma(Ia),Ma(Na)}function za(e,t,n){if(Na.current!==Da)throw Error(i(168));Pa(Na,t),Pa(Ia,n)}function Ya(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in e))throw Error(i(108,K(t)||"Unknown",o));return a({},n,r)}function Wa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Da,La=Na.current,Pa(Na,e),Pa(Ia,Ia.current),!0}function Ga(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ya(e,t,La),r.__reactInternalMemoizedMergedChildContext=e,Ma(Ia),Ma(Na),Pa(Na,e)):Ma(Ia),Pa(Ia,n)}var Ha=null,Va=null,$a=o.unstable_runWithPriority,Xa=o.unstable_scheduleCallback,qa=o.unstable_cancelCallback,Ka=o.unstable_shouldYield,Qa=o.unstable_requestPaint,Za=o.unstable_now,Ja=o.unstable_getCurrentPriorityLevel,eo=o.unstable_ImmediatePriority,to=o.unstable_UserBlockingPriority,no=o.unstable_NormalPriority,ro=o.unstable_LowPriority,ao=o.unstable_IdlePriority,oo={},io=void 0!==Qa?Qa:function(){},uo=null,lo=null,co=!1,so=Za(),fo=1e4>so?Za:function(){return Za()-so};function po(){switch(Ja()){case eo:return 99;case to:return 98;case no:return 97;case ro:return 96;case ao:return 95;default:throw Error(i(332))}}function ho(e){switch(e){case 99:return eo;case 98:return to;case 97:return no;case 96:return ro;case 95:return ao;default:throw Error(i(332))}}function mo(e,t){return e=ho(e),$a(e,t)}function vo(e,t,n){return e=ho(e),Xa(e,t,n)}function go(){if(null!==lo){var e=lo;lo=null,qa(e)}yo()}function yo(){if(!co&&null!==uo){co=!0;var e=0;try{var t=uo;mo(99,(function(){for(;em?(v=f,f=null):v=f.sibling;var g=p(a,f,u[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(a,f),i=o(g,i,m),null===s?c=g:s.sibling=g,s=g,f=v}if(m===u.length)return n(a,f),c;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),u=o(b,u,v),null===f?s=b:f.sibling=b,f=b,m=g}if(y.done)return n(a,m),s;if(null===m){for(;!y.done;v++,y=l.next())y=d(a,y.value,c),null!==y&&(u=o(y,u,v),null===f?s=y:f.sibling=y,f=y);return s}for(m=r(a,m);!y.done;v++,y=l.next())y=h(m,a,v,y.value,c),null!==y&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=o(y,u,v),null===f?s=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(a,e)})),s}return function(e,r,o,l){var c="object"===typeof o&&null!==o&&o.type===C&&null===o.key;c&&(o=o.props.children);var s="object"===typeof o&&null!==o;if(s)switch(o.$$typeof){case S:e:{for(s=o.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(o.type===C){n(e,c.sibling),r=a(c,o.props.children),r.return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),r=a(c,o.props),r.ref=Vo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===C?(r=bc(o.props.children,e.mode,l,o.key),r.return=e,e=r):(l=yc(o.type,o.key,o.props,null,e.mode,l),l.ref=Vo(e,r,o),l.return=e,e=l)}return u(e);case j:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),r=a(r,o.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Oc(o,e.mode,l),r.return=e,e=r}return u(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),r=a(r,o),r.return=e,e=r):(n(e,r),r=Ec(o,e.mode,l),r.return=e,e=r),u(e);if(Ho(o))return m(e,r,o,l);if(H(o))return v(e,r,o,l);if(s&&$o(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,K(e.type)||"Component"))}return n(e,r)}}var qo=Xo(!0),Ko=Xo(!1),Qo={},Zo=Ra(Qo),Jo=Ra(Qo),ei=Ra(Qo);function ti(e){if(e===Qo)throw Error(i(174));return e}function ni(e,t){switch(Pa(ei,t),Pa(Jo,e),Pa(Zo,Qo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ye(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ye(t,e)}Ma(Zo),Pa(Zo,t)}function ri(){Ma(Zo),Ma(Jo),Ma(ei)}function ai(e){ti(ei.current);var t=ti(Zo.current),n=ye(t,e.type);t!==n&&(Pa(Jo,e),Pa(Zo,n))}function oi(e){Jo.current===e&&(Ma(Zo),Ma(Jo))}var ii=Ra(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var li=null,ci=null,si=!1;function fi(e,t){var n=hc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function di(e,t){switch(e.tag){case 5:var n=e.type;return t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,null!==t&&(e.stateNode=t,!0);case 6:return t=""===e.pendingProps||3!==t.nodeType?null:t,null!==t&&(e.stateNode=t,!0);case 13:return!1;default:return!1}}function pi(e){if(si){var t=ci;if(t){var n=t;if(!di(e,t)){if(t=ma(n.nextSibling),!t||!di(e,t))return e.flags=-1025&e.flags|2,si=!1,void(li=e);fi(li,n)}li=e,ci=ma(t.firstChild)}else e.flags=-1025&e.flags|2,si=!1,li=e}}function hi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;li=e}function mi(e){if(e!==li)return!1;if(!si)return hi(e),si=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!fa(t,e.memoizedProps))for(t=ci;t;)fi(e,t),t=ma(t.nextSibling);if(hi(e),13===e.tag){if(e=e.memoizedState,e=null!==e?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ci=ma(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ci=null}}else ci=li?ma(e.stateNode.nextSibling):null;return!0}function vi(){ci=li=null,si=!1}var gi=[];function yi(){for(var e=0;eo))throw Error(i(301));o+=1,xi=ki=null,t.updateQueue=null,bi.current=ru,e=n(r,a)}while(ji)}if(bi.current=eu,t=null!==ki&&null!==ki.next,Ei=0,xi=ki=Oi=null,Si=!1,t)throw Error(i(300));return e}function Ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===xi?Oi.memoizedState=xi=e:xi=xi.next=e,xi}function Ri(){if(null===ki){var e=Oi.alternate;e=null!==e?e.memoizedState:null}else e=ki.next;var t=null===xi?Oi.memoizedState:xi.next;if(null!==t)xi=t,ki=e;else{if(null===e)throw Error(i(310));ki=e,e={memoizedState:ki.memoizedState,baseState:ki.baseState,baseQueue:ki.baseQueue,queue:ki.queue,next:null},null===xi?Oi.memoizedState=xi=e:xi=xi.next=e}return xi}function Mi(e,t){return"function"===typeof t?t(e):t}function Pi(e){var t=Ri(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ki,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=u=o=null,c=a;do{var s=c.lane;if((Ei&s)===s)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,o=r):l=l.next=f,Oi.lanes|=s,sl|=s}c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=u,Rr(r,t.memoizedState)||(ou=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Di(e){var t=Ri(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);Rr(o,t.memoizedState)||(ou=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ni(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Ei&e)===e)&&(t._workInProgressVersionPrimary=r,gi.push(t))),e)return n(t._source);throw gi.push(t),Error(i(350))}function Ii(e,t,n,r){var a=nl;if(null===a)throw Error(i(349));var o=t._getVersion,u=o(t._source),l=bi.current,c=l.useState((function(){return Ni(a,t,n)})),s=c[1],f=c[0];c=xi;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var v=Oi;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=o(t._source);if(!Rr(u,e)){e=n(t._source),Rr(f,e)||(s(e),e=Il(v),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0n?98:n,(function(){e(!0)})),mo(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[wa]=t,e[Ea]=r,vu(e,t,!1,!1),t.stateNode=e,c=_e(n,r),n){case"dialog":Qr("cancel",e),Qr("close",e),o=r;break;case"iframe":case"object":case"embed":Qr("load",e),o=r;break;case"video":case"audio":for(o=0;o<$r.length;o++)Qr($r[o],e);o=r;break;case"source":Qr("error",e),o=r;break;case"img":case"image":case"link":Qr("error",e),Qr("load",e),o=r;break;case"details":Qr("toggle",e),o=r;break;case"input":ae(e,r),o=re(e,r),Qr("invalid",e);break;case"option":o=se(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Qr("invalid",e);break;case"textarea":pe(e,r),o=de(e,r),Qr("invalid",e);break;default:o=r}Ce(n,o);var s=o;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?Se(e,f):"dangerouslySetInnerHTML"===u?(f=f?f.__html:void 0,null!=f&&we(e,f)):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&Ee(e,f):"number"===typeof f&&Ee(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Qr("scroll",e):null!=f&&k(e,u,f,c))}switch(n){case"input":ee(e),ue(e,r,!1);break;case"textarea":ee(e),me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Q(r.value));break;case"select":e.multiple=!!r.multiple,u=r.value,null!=u?fe(e,!!r.multiple,u,!1):null!=r.defaultValue&&fe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=ua)}sa(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)bu(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));n=ti(ei.current),ti(Zo.current),mi(t)?(r=t.stateNode,n=t.memoizedProps,r[wa]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r),r[wa]=t,t.stateNode=r)}return null;case 13:return Ma(ii),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&mi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&ii.current)?0===ul&&(ul=3):(0!==ul&&3!==ul||(ul=4),null===nl||0===(134217727&sl)&&0===(134217727&fl)||zl(nl,al))),(r||n)&&(t.flags|=4),null);case 4:return ri(),gu(t),null===e&&Jr(t.stateNode.containerInfo),null;case 10:return jo(t),null;case 17:return Fa(t.type)&&Ua(),null;case 19:if(Ma(ii),r=t.memoizedState,null===r)return null;if(u=0!==(64&t.flags),c=r.rendering,null===c)if(u)Au(r,!1);else{if(0!==ul||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(c=ui(e),null!==c){for(t.flags|=64,Au(r,!1),u=c.updateQueue,null!==u&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,c=u.alternate,null===c?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pa(ii,1&ii.current|2),t.child}e=e.sibling}null!==r.tail&&fo()>ml&&(t.flags|=64,u=!0,Au(r,!1),t.lanes=33554432)}else{if(!u)if(e=ui(c),null!==e){if(t.flags|=64,u=!0,n=e.updateQueue,null!==n&&(t.updateQueue=n,t.flags|=4),Au(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!si)return t=t.lastEffect=r.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*fo()-r.renderingStartTime>ml&&1073741824!==n&&(t.flags|=64,u=!0,Au(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(n=r.last,null!==n?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=fo(),n.sibling=null,t=ii.current,Pa(ii,u?1&t|2:1&t),n):null;case 23:case 24:return $l(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function Ru(e){switch(e.tag){case 1:Fa(e.type)&&Ua();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(ri(),Ma(Ia),Ma(Na),yi(),t=e.flags,0!==(64&t))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return oi(e),null;case 13:return Ma(ii),t=e.flags,4096&t?(e.flags=-4097&t|64,e):null;case 19:return Ma(ii),null;case 4:return ri(),null;case 10:return jo(e),null;case 23:case 24:return $l(),null;default:return null}}function Mu(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function Pu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}vu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},gu=function(){},yu=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ti(Zo.current);var i,u=null;switch(n){case"input":o=re(e,o),r=re(e,r),u=[];break;case"option":o=se(e,o),r=se(e,r),u=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),u=[];break;case"textarea":o=de(e,o),r=de(e,r),u=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=ua)}for(f in Ce(n,r),n=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var s=r[f];if(c=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&s!==c&&(null!=s||null!=c))if("style"===f)if(c){for(i in c)!c.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&c[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(u||(u=[]),u.push(f,n)),n=s;else"dangerouslySetInnerHTML"===f?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(u=u||[]).push(f,s)):"children"===f?"string"!==typeof s&&"number"!==typeof s||(u=u||[]).push(f,""+s):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=s&&"onScroll"===f&&Qr("scroll",e),u||c===s||(u=[])):"object"===typeof s&&null!==s&&s.$$typeof===B?s.toString():(u=u||[]).push(f,s))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},bu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Du="function"===typeof WeakMap?WeakMap:Map;function Nu(e,t,n){n=Po(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){bl||(bl=!0,wl=r),Pu(e,t)},n}function Iu(e,t,n){n=Po(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return Pu(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===El?El=new Set([this]):El.add(this),Pu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Lu="function"===typeof WeakSet?WeakSet:Set;function Bu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){sc(e,n)}else t.current=null}function Fu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:wo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ha(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function Uu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{var a=e;r=a.next,a=a.tag,0!==(4&a)&&0!==(1&a)&&(uc(n,e),ic(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:wo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,void(null!==t&&Lo(n,t,e));case 3:if(t=n.updateQueue,null!==t){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Lo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&sa(n.type,n.memoizedProps)&&e.focus());case 6:return;case 4:return;case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function zu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r=r.style,"function"===typeof r.setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=void 0!==a&&null!==a&&a.hasOwnProperty("display")?a.display:null,r.style.display=xe("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Yu(e,t){if(Va&&"function"===typeof Va.onCommitFiberUnmount)try{Va.onCommitFiberUnmount(Ha,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,null!==e&&(e=e.lastEffect,null!==e)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!==(4&r))uc(t,n);else{r=t;try{a()}catch(o){sc(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Bu(t),e=t.stateNode,"function"===typeof e.componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){sc(t,o)}break;case 5:Bu(t);break;case 4:Xu(e,t)}}function Wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Gu(e){return 5===e.tag||3===e.tag||4===e.tag}function Hu(e){e:{for(var t=e.return;null!==t;){if(Gu(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(Ee(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Gu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Vu(e,n,t):$u(e,n,t)}function Vu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,null!==n&&void 0!==n||null!==t.onclick||(t.onclick=ua));else if(4!==r&&(e=e.child,null!==e))for(Vu(e,t,n),e=e.sibling;null!==e;)Vu(e,t,n),e=e.sibling}function $u(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(e=e.child,null!==e))for($u(e,t,n),e=e.sibling;null!==e;)$u(e,t,n),e=e.sibling}function Xu(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:n=n.containerInfo,r=!0;break e;case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var u=e,l=a,c=l;;)if(Yu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,l=a.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(Yu(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;a=a.return,4===a.tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function qu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=null!==n?n.lastEffect:null,null!==n){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,null!=n){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Ea]=r,"input"===e&&"radio"===r.type&&null!=r.name&&oe(n,r),_e(e,a),t=_e(e,r),a=0;aa&&(a=u),n&=~o}if(n=a,n=fo()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Zu(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==ul&&(ul=2),l=Mu(l,u),d=i;do{switch(d.tag){case 3:o=l,d.flags|=4096,t&=-t,d.lanes|=t;var E=Nu(d,o,t);No(d,E);break e;case 1:o=l;var O=d.type,k=d.stateNode;if(0===(64&d.flags)&&("function"===typeof O.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===El||!El.has(k)))){d.flags|=4096,t&=-t,d.lanes|=t;var x=Iu(d,o,t);No(d,x);break e}}d=d.return}while(null!==d)}tc(n)}catch(S){t=S,rl===n&&null!==n&&(rl=n=n.return);continue}break}while(1)}function Kl(){var e=Ju.current;return Ju.current=eu,null===e?eu:e}function Ql(e,t){var n=tl;tl|=16;var r=Kl();nl===e&&al===t||Xl(e,t);do{try{Zl();break}catch(a){ql(e,a)}}while(1);if(So(),tl=n,Ju.current=r,null!==rl)throw Error(i(261));return nl=null,al=0,ul}function Zl(){for(;null!==rl;)ec(rl)}function Jl(){for(;null!==rl&&!Ka();)ec(rl)}function ec(e){var t=gl(e.alternate,e,ol);e.memoizedProps=e.pendingProps,null===t?tc(e):rl=t,el.current=null}function tc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(n=Tu(n,t,ol),null!==n)return void(rl=n);if(n=t,24!==n.tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&ol)||0===(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1u&&(l=u,u=O,O=l),l=Nr(b,O),o=Nr(b,u),l&&o&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==o.node||E.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),E.removeAllRanges(),O>u?(E.addRange(w),E.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),E.addRange(w)))))),w=[];for(E=b;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;bfo()-hl?Xl(e,0):dl|=n),Fl(e,t)}function dc(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=0,0===t&&(t=e.mode,0===(2&t)?t=1:0===(4&t)?t=99===po()?1:2:(0===Rl&&(Rl=cl),t=Qt(62914560&~Rl),0===t&&(t=4194304))),n=Nl(),e=Bl(e,t),null!==e&&(Jt(e,t,n),Fl(e,n))}function pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function hc(e,t,n,r){return new pc(e,t,n,r)}function mc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vc(e){if("function"===typeof e)return mc(e)?1:0;if(void 0!==e&&null!==e){if(e=e.$$typeof,e===M)return 11;if(e===N)return 14}return 2}function gc(e,t){var n=e.alternate;return null===n?(n=hc(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yc(e,t,n,r,a,o){var u=2;if(r=e,"function"===typeof e)mc(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case C:return bc(n.children,a,o,t);case F:u=8,a|=16;break;case _:u=8,a|=1;break;case A:return e=hc(12,n,t,8|a),e.elementType=A,e.type=A,e.lanes=o,e;case P:return e=hc(13,n,t,a),e.type=P,e.elementType=P,e.lanes=o,e;case D:return e=hc(19,n,t,a),e.elementType=D,e.lanes=o,e;case U:return wc(n,a,o,t);case z:return e=hc(24,n,t,a),e.elementType=z,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:u=10;break e;case R:u=9;break e;case M:u=11;break e;case N:u=14;break e;case I:u=16,r=null;break e;case L:u=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return t=hc(u,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function bc(e,t,n,r){return e=hc(7,e,r,t),e.lanes=n,e}function wc(e,t,n,r){return e=hc(23,e,r,t),e.elementType=U,e.lanes=n,e}function Ec(e,t,n){return e=hc(6,e,null,t),e.lanes=n,e}function Oc(e,t,n){return t=hc(4,null!==e.children?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Zt(0),this.expirationTimes=Zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zt(0),this.mutableSourceEagerHydrationData=null}function xc(e,t,n){var r=31&&(i=l(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},hx6P:function(e,t,n){var r=n("D2QY"),a=1/0,o=17976931348623157e292;function i(e){if(!e)return 0===e?e:0;if(e=r(e),e===a||e===-a){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=i},i3On:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"WeakSet",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},i53q:function(e,t,n){"use strict";var r={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(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t["a"]=r},iBNQ:function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},iIWa:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"WeakSet",stat:!0},{from:a})},iJ36:function(e,t,n){var r=n("GXoa");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},iLo9:function(e,t,n){"use strict";var r=n("r+6h"),a=n("ZGY3"),o=n("OdMF"),i=n("upgS"),u=n("0JbB").f;r&&!("lastIndex"in[])&&(u(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?0:t-1}}),a("lastIndex"))},iRtw:function(e,t,n){var r=n("36PR"),a=n("M42/"),o=n("Qyvd"),i=n("OD7W");function u(e){return o(e)?r(i(e)):a(e)}e.exports=u},"iS+J":function(e,t,n){var r=n("OOCw"),a=n("N+aw").values;r({target:"Object",stat:!0},{values:function(e){return a(e)}})},ig3D:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6ssM").f,o=n("upgS"),i=n("SD1J"),u=n("z43i"),l=n("TxDi"),c=n("qyeh"),s="".startsWith,f=Math.min,d=l("startsWith"),p=!c&&!d&&!!function(){var e=a(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(e){var t=String(u(this));i(e);var n=o(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},"io+V":function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("zesz"),i=n("d8EH"),u=n("QWtl"),l=n("0JbB"),c=n("ZVkV"),s=n("uZx/"),f=n("MZA9"),d=n("uJNS"),p=d.set,h=d.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);i&&(n=i(new Error(t),o(n)));var r=[];return s(e,r.push,r),a?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&f(n,"message",String(t)),n};m.prototype=u(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),a&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},iwOu:function(e,t,n){"use strict";var r=n("OOCw"),a=n("jssG").left,o=n("rUEg"),i=n("7/pz"),u=o("reduce"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"j+of":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=l(n("1QO0")),o=i(n("L7kM"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(a,i,l):a[i]=e[i]}return a["default"]=e,n&&n.set(e,a),a}function c(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function s(e,t){return m(e)||h(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;i-=1){var u=a[i],l=[u].concat(u.children).filter(Boolean),c=l.find((function(e){return e.path&&new RegExp("^".concat(e.path.replace(/\.html$/,""),"(/|.|$)")).test(n[2])}));if(c){o=c.path;break}}return(null===(e=n[0].menus[n[1]])||void 0===e?void 0:e[o])||[]},o=(0,a.useState)(r(e,t,n)),i=s(o,2),u=i[0],l=i[1];return(0,a.useLayoutEffect)((function(){l(r(e,t,n))}),[e.navs,e.menus,t,n]),u},O=function(e,t,n){var r=function(){for(var t=arguments.length,r=new Array(t),a=0;a0&&r(d))p=i(e,t,d,a(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=i},"j/sL":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("aBnV");function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r["a"])(e,t)}},j2YP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("j/ks"),o=n("OdMF"),i=n("upgS"),u=n("ANLo"),l=n("63eO");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=i(t.length),r=l(t,0);return r.length=a(r,t,t,n,0,void 0===e?1:u(e)),r}})},j8Of:function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"===typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var a=n[t]={exports:{}},o=!0;try{e[t](a,a.exports,r),o=!1}finally{o&&delete n[t]}return a.exports}return r.ab=t+"/",r(873)}()}).call(this,"/")},jCBa:function(e,t,n){var r=n("diEk"),a=n("t2nn"),o=n("HxYL");function i(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}e.exports=i},jETf:function(e,t,n){"use strict";var r=n("TxBV"),a=n("gArs").getWeakData,o=n("sErw"),i=n("x+sk"),u=n("CZSf"),l=n("uZx/"),c=n("M+Sl"),s=n("oEsY"),f=n("uJNS"),d=f.set,p=f.getterFor,h=c.find,m=c.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){u(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),i=a(o(t),!0);return!0===i?g(r).set(t,n):i[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!i(e))return!1;var n=a(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!i(e))return!1;var n=a(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(i(e)){var n=a(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},jHOP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{findKey:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},jMzh:function(e,t,n){var r=n("PWyJ"),a=n("14tm"),o=n("D2QY"),i="Expected a function",u=Math.max,l=Math.min;function c(e,t,n){var c,s,f,d,p,h,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(i);function b(t){var n=c,r=s;return c=s=void 0,m=t,d=e.apply(r,n),d}function w(e){return m=e,p=setTimeout(k,t),v?b(e):d}function E(e){var n=e-h,r=e-m,a=t-n;return g?l(a,f-r):a}function O(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||g&&r>=f}function k(){var e=a();if(O(e))return x(e);p=setTimeout(k,E(e))}function x(e){return p=void 0,y&&c?b(e):(c=s=void 0,d)}function S(){void 0!==p&&clearTimeout(p),m=0,c=h=s=p=void 0}function j(){return void 0===p?d:x(a())}function C(){var e=a(),n=O(e);if(c=arguments,s=this,h=e,n){if(void 0===p)return w(h);if(g)return clearTimeout(p),p=setTimeout(k,t),b(h)}return void 0===p&&(p=setTimeout(k,t)),d}return t=o(t)||0,r(n)&&(v=!!n.leading,g="maxWait"in n,f=g?u(o(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),C.cancel=S,C.flush=j,C}e.exports=c},jYqw:function(e,t,n){"use strict";var r=n("OOCw"),a=n("A2zS");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},jZl0:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=function(e){return+setTimeout(e,16)},a=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},a=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function u(e){i["delete"](e)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;o+=1;var n=o;function a(t){if(0===t)u(n),e();else{var o=r((function(){a(t-1)}));i.set(n,o)}}return a(t),n}l.cancel=function(e){var t=i.get(e);return u(t),a(t)}},jax1:function(e,t,n){"use strict";var r=n("ANLo"),a=n("z43i");e.exports="".repeat||function(e){var t=String(a(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"jht+":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},jhzO:function(e,t){function n(e,t){for(var n=0;n=0:f>d;d+=p)d in s&&(l=n(l,s[d],d,c));return l}};e.exports={left:u(!1),right:u(!0)}},jukf:function(e,t,n){var r=n("6SQG"),a=n("MZA9");e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},"k+Mg":function(e,t,n){var r=n("DT1c"),a=n("qjyY"),o=r(a);e.exports=o},k4Sg:function(e,t,n){var r=n("capL");function a(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}e.exports=a},kDJY:function(e,t,n){"use strict";var r=n("VdqM"),a=n("jhzO");function o(){var e=n("1QO0");return o=function(){return e},e}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=[];return a.a.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):Object(o["isFragment"])(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},mnt4:function(e,t,n){"use strict";var r=n("OOCw"),a=n("uZx/"),o=n("lkgX");r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;o(t);var r=o(n.has),i=o(n.get),u=o(n.set);return a(e,(function(e){var a=t(e);r.call(n,a)?i.call(n,a).push(e):u.call(n,a,[e])})),n}})},muZu:function(e,t){function n(e,t){var n=-1,r=t.length,a=e.length;while(++n]*>)/g,m=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,r){var a=l(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!g&&y||"string"===typeof r&&-1===r.indexOf(b)){var o=n(t,e,this,r);if(o.done)return o.value}var l=a(e),p=String(this),h="function"===typeof r;h||(r=String(r));var m=l.global;if(m){var E=l.unicode;l.lastIndex=0}var O=[];while(1){var k=s(l,p);if(null===k)break;if(O.push(k),!m)break;var x=String(k[0]);""===x&&(l.lastIndex=c(p,i(l.lastIndex),E))}for(var S="",j=0,C=0;C=j&&(S+=p.slice(j,A)+D,j=A+_.length)}return S+p.slice(j)}];function w(e,n,r,a,i,u){var l=r+e.length,c=a.length,s=m;return void 0!==i&&(i=o(i),s=h),t.call(u,s,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=i[o.slice(1,-1)];break;default:var s=+o;if(0===s)return t;if(s>c){var f=p(s/10);return 0===f?t:f<=c?void 0===a[f-1]?o.charAt(1):a[f-1]+o.charAt(1):t}u=a[s-1]}return void 0===u?"":u}))}}))},nXRf:function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},nlRv:function(e,t,n){var r=n("PWyJ");function a(e){return e===e&&!r(e)}e.exports=a},nndC:function(e,t,n){var r=n("OOCw"),a=n("CBsr");r({target:"WeakMap",stat:!0},{of:a})},nyXu:function(e,t,n){},o1x9:function(e,t,n){"use strict";var r=n("vfR7").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},oA63:function(e,t,n){var r=n("58gk"),a=n("eKcC"),o=Object.prototype,i=o.propertyIsEnumerable,u=Object.getOwnPropertySymbols,l=u?function(e){return null==e?[]:(e=Object(e),r(u(e),(function(t){return i.call(e,t)})))}:a;e.exports=l},oEsY:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},oSdA:function(e,t,n){var r=n("KZF9");r("toPrimitive")},ohzl:function(e,t){var n=Object.prototype,r=n.toString;function a(e){return r.call(e)}e.exports=a},opL2:function(e,t,n){var r=n("r+6h"),a=n("0JbB"),o=n("rfqm"),i=n("kj2u").UNSUPPORTED_Y;r&&("g"!=/./g.flags||i)&&a.f(RegExp.prototype,"flags",{configurable:!0,get:o})},orhk:function(e,t){var n="__lodash_hash_undefined__";function r(e){return this.__data__.set(e,n),this}e.exports=r},"p/Qk":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var a=e>>>0,o=t>>>0,i=n>>>0;return o+(r>>>0)+((a&i|(a|i)&~(a+i>>>0))>>>31)|0}})},p1yP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("JSMs"),l=n("zesz"),c=n("6ssM").f;a&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},p3eN:function(e,t,n){var r=n("r+6h"),a=n("h+/6"),o=n("73fw");e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},pADs:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},pDCl:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"Map",stat:!0},{from:a})},pKuQ:function(e,t,n){var r=n("sErw");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(i){var o=e["return"];throw void 0!==o&&r(o.call(e)),i}}},pVp3:function(e,t,n){var r=n("kk5s");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},paFN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:function(e){var t=o(this),n=i(t.has);return!u(e,(function(e){if(!1===n.call(t,e))return u.stop()})).stopped}})},pgBP:function(e,t,n){var r=n("DQ/D"),a=n("1Grl"),o=n("eoSM"),i=n("Zsrj"),u=n("Txlo"),l=n("GC0I"),c=Object.prototype,s=c.hasOwnProperty;function f(e,t){var n=o(e),c=!n&&a(e),f=!n&&!c&&i(e),d=!n&&!c&&!f&&l(e),p=n||c||f||d,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,m))||h.push(v);return h}e.exports=f},piBM:function(e,t,n){var r=n("l9Lh"),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},pibB:function(e,t,n){"use strict";n.r(t);var r=n("ULjY"),a=n("tGGB"),o=n("Vhn3"),i=n("NUIj"),u=n.n(i),l=n("0+H2"),c=n.n(l),s=n("2YZa"),f=n("1QO0"),d=n.n(f);function p(e){for(var t=[],n=0;n{var e=Object(f["useState"])(p(20)),t=Object(o["a"])(e,2),n=t[0],i=t[1];return console.log("data",n),d.a.createElement("div",{style:{width:"100%",height:500}},d.a.createElement(s["b"],{data:n,columns:[{name:"name",label:"Custom Title",width:100}],locale:s["c"],onUpdate:function(){var e=Object(a["a"])(u.a.mark((function e(t,n,a){return u.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,a),i((e=>{var o=[...e],i=o.findIndex((e=>e.id===t.id));return o[i]=Object(r["a"])(Object(r["a"])({},t),{},{startDate:c()(n).format("YYYY-MM-DD"),endDate:c()(a).format("YYYY-MM-DD")}),o})),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}))};t["default"]=h},pj1d:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},ppRt:function(e,t,n){"use strict";var r=n("sErw"),a=n("lkgX");e.exports=function(){for(var e=r(this),t=a(e.add),n=0,o=arguments.length;n=0;d--){var p=i[d];"."===p?o(i,d):".."===p?(o(i,d),f++):f&&(o(i,d),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}var u=i;function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function c(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return c(e,t[n])}));if("object"===typeof e||"object"===typeof t){var n=l(e),r=l(t);return n!==e||r!==t?c(n,r):Object.keys(Object.assign({},e,t)).every((function(n){return c(e[n],t[n])}))}return!1}var s=c,f=n("gGOj"),d=n.n(f),p=n("g8ur");function h(e){return"/"===e.charAt(0)?e:"/"+e}function m(e){return"/"===e.charAt(0)?e.substr(1):e}function v(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}function g(e,t){return v(e,t)?e.substr(t.length):e}function y(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function w(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function E(e,t,n,a){var o;"string"===typeof e?(o=b(e),o.query=o.search?d.a.parse(o.search):{},o.state=t):(o=Object(r["a"])({},e),void 0===o.pathname&&(o.pathname=""),o.search?("?"!==o.search.charAt(0)&&(o.search="?"+o.search),o.query=d.a.parse(o.search)):(o.search=o.query?d.a.stringify(o.query):"",o.query=o.query||{}),o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=u(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function O(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function k(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,a){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)}var r=[];function a(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter((function(e){return e!==n}))}}function o(){for(var e=arguments.length,t=new Array(e),n=0;nn?o.splice(n,o.length-n,a):o.push(a),f({action:r,location:a,index:n,entries:o})}}))}function g(e,t){var r="REPLACE",a=E(e,t,d(),C.location);s.confirmTransitionTo(a,r,n,(function(e){e&&(C.entries[C.index]=a,f({action:r,location:a}))}))}function y(e){var t=z(C.index+e,0,C.entries.length-1),r="POP",a=C.entries[t];s.confirmTransitionTo(a,r,n,(function(e){e?f({action:r,location:a,index:t}):f()}))}function b(){y(-1)}function O(){y(1)}function x(e){var t=C.index+e;return t>=0&&t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function c(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}var s=function(e){return function(t){var n=t.to,a=l(t,o),i=/^(\w+:)?\/\/|^(mailto|tel):/.test(n)||!n,c=r["default"].isValidElement(a.children);return r["default"].createElement(e,u({to:n||"",component:i?function(){return r["default"].createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n},a.children,n&&!c&&r["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15",className:"__dumi-default-external-link-icon"},r["default"].createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r["default"].createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})))}:void 0},a,i?{}:{onClick:function(){var e;window.scrollTo({top:0});for(var t=arguments.length,n=new Array(t),r=0;ru.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:200},{name:"startDate",label:"\u5f00\u59cb\u65f6\u95f4"},{name:"endDate",label:"\u7ed3\u675f\u65f6\u95f4",render:e=>u.a.createElement("span",null,e.endDate)}],tableIndent:0,onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=d},qyeh:function(e,t){e.exports=!1},"r+6h":function(e,t,n){var r=n("h+/6");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},rCLu:function(e,t,n){var r=n("sErw"),a=n("x+sk"),o=n("8d12");e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e),i=n.resolve;return i(t),n.promise}},rDMZ:function(e,t,n){var r=n("0Ifp");function a(e,t){return r(e,t)}e.exports=a},rHUP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("jssG").right,o=n("rUEg"),i=n("7/pz"),u=o("reduceRight"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduceRight:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},rUEg:function(e,t,n){"use strict";var r=n("h+/6");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},rVbH:function(e,t,n){"use strict";e.exports=n("BZ8O")},rfqm:function(e,t,n){"use strict";var r=n("sErw");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},rjd2:function(e,t,n){"use strict";var r=n("OOCw"),a=n("uZx/"),o=n("lkgX");r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;o(t);var r=o(n.set);return a(e,(function(e){r.call(n,t(e),e)})),n}})},rkJ6:function(e,t,n){var r=n("fkhx");function a(e,t){var n=e.length;while(n--)if(r(e[n][0],t))return n;return-1}e.exports=a},ry2H:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("R8Xy"),l=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{reduce:function(e){var t=o(this),n=u(t),r=arguments.length<2,a=r?void 0:arguments[1];if(i(e),l(n,(function(n){r?(r=!1,a=n):a=e(a,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return a}})},ry6q:function(e,t,n){var r=n("7HYU"),a=n("Oax0"),o=n("1DF2"),i=n("UtSM"),u=n("TDWY");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t1||"".split(/.?/).length?function(e,n){var r=String(i(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);var u,l,c,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,d+"g");while(u=f.call(v,r)){if(l=v.lastIndex,l>h&&(s.push(r.slice(h,u.index)),u.length>1&&u.index=o))break;v.lastIndex===u.index&&v.lastIndex++}return h===r.length?!c&&v.test("")||s.push(""):s.push(r.slice(h)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=i(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var f=o(e),d=String(this),p=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new p(v?f:"^(?:"+f.source+")",y),w=void 0===a?m:a>>>0;if(0===w)return[];if(0===d.length)return null===s(b,d)?[d]:[];var E=0,O=0,k=[];while(O{var t=n("1QO0"),r=n("XwlI"),a=r.default,o=n("6wQi"),i=o.default,l=n("hPYS"),c=l.usePrefersColor,s=l.context,f=t.useContext(s),d=f.demos,p=t.useState([]),h=Object(u["a"])(p,2),m=h[0],v=h[1];switch(t.useLayoutEffect((()=>{v(a(e,d))}),[e.match.params.uuid,e.location.query.wrapper,e.location.query.capture]),c(),m.length){case 1:return m[0];case 2:return t.createElement(i,m[0],m[1]);default:return"Demo ".concat(e.match.params.uuid," not found :(")}}},{path:"/_demos/:uuid",redirect:"/~demos/:uuid"},{__dumiRoot:!0,layout:!1,path:"/",wrappers:[n("afA6").default,n("LsWz").default],routes:[{path:"/en-US/component",component:n("4Svt").default,exact:!0,meta:{filePath:"website/component.en-US.md",updatedTime:1685880874e3,title:"Component",nav:{path:"/en-US/component",title:"Component",order:1},slugs:[{depth:2,value:"Component",heading:"component"},{depth:3,value:"Basic Component",heading:"basic-component"},{depth:3,value:"Add Task Bar",heading:"add-task-bar"},{depth:3,value:"Multi-level structure",heading:"multi-level-structure"},{depth:3,value:"Customizing table columns",heading:"customizing-table-columns"},{depth:3,value:"Dependency Structure",heading:"dependency-structure"},{depth:3,value:"Custom Rendering",heading:"custom-rendering"},{depth:3,value:"Customized filtering",heading:"customized-filtering"},{depth:3,value:"Advanced Usage",heading:"advanced-usage"},{depth:2,value:"Type Definition",heading:"type-definition"},{depth:3,value:"Column Definition",heading:"column-definition"},{depth:3,value:"data Definition",heading:"data-definition"},{depth:3,value:"Dependence Definition",heading:"dependence-definition"},{depth:3,value:"Bar Definition",heading:"bar-definition"},{depth:3,value:"Sight Definition",heading:"sight-definition"},{depth:2,value:"API",heading:"api"},{depth:2,value:"Methods",heading:"methods"}],hasPreviewer:!0,locale:"en-US"},title:"Component - "},{path:"/component",component:n("ycKn").default,exact:!0,meta:{filePath:"website/component.md",updatedTime:1685880874e3,title:"\u7ec4\u4ef6",nav:{path:"/component",title:"\u7ec4\u4ef6\u603b\u89c8",order:1},slugs:[{depth:2,value:"\u7ec4\u4ef6",heading:"\u7ec4\u4ef6"},{depth:3,value:"\u57fa\u7840\u4f7f\u7528",heading:"\u57fa\u7840\u4f7f\u7528"},{depth:3,value:"\u65b0\u589e\u4efb\u52a1",heading:"\u65b0\u589e\u4efb\u52a1"},{depth:3,value:"\u591a\u7ea7\u7ed3\u6784",heading:"\u591a\u7ea7\u7ed3\u6784"},{depth:3,value:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217",heading:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"},{depth:3,value:"\u4f9d\u8d56\u7ed3\u6784",heading:"\u4f9d\u8d56\u7ed3\u6784"},{depth:3,value:"\u81ea\u5b9a\u4e49\u6e32\u67d3",heading:"\u81ea\u5b9a\u4e49\u6e32\u67d3"},{depth:3,value:"\u81ea\u5b9a\u4e49\u7b5b\u9009",heading:"\u81ea\u5b9a\u4e49\u7b5b\u9009"},{depth:3,value:"\u9ad8\u7ea7\u7528\u6cd5",heading:"\u9ad8\u7ea7\u7528\u6cd5"},{depth:2,value:"\u7c7b\u578b\u5b9a\u4e49",heading:"\u7c7b\u578b\u5b9a\u4e49"},{depth:3,value:"Column \u5b9a\u4e49",heading:"column-\u5b9a\u4e49"},{depth:3,value:"data \u5b9a\u4e49",heading:"data-\u5b9a\u4e49"},{depth:3,value:"Dependence \u5b9a\u4e49",heading:"dependence-\u5b9a\u4e49"},{depth:3,value:"Bar \u5b9a\u4e49",heading:"bar-\u5b9a\u4e49"},{depth:3,value:"Sight \u5b9a\u4e49",heading:"sight-\u5b9a\u4e49"},{depth:2,value:"API",heading:"api"},{depth:2,value:"\u65b9\u6cd5",heading:"\u65b9\u6cd5"}],hasPreviewer:!0},title:"\u7ec4\u4ef6 - "},{path:"/en-US",component:n("GJFw").default,exact:!0,meta:{filePath:"website/index.en-US.md",updatedTime:1685880874e3,title:"React Gantt Component",hero:{title:"rc-gantt",desc:'

Gantt Component

',actions:[{text:"Quick Start \u2192",link:"/component"}]},footer:'

Open-source MIT Licensed | Copyright \xa9 2021

',slugs:[{depth:2,value:"Getting Started",heading:"getting-started"},{depth:2,value:"\ud83d\udce6 Install dependencies",heading:"-install-dependencies"},{depth:2,value:"\ud83d\udd28 Demo",heading:"-demo"},{depth:2,value:"Feedback",heading:"feedback"}],locale:"en-US"},title:"React Gantt Component - "},{path:"/",component:n("/Fx+").default,exact:!0,meta:{filePath:"website/index.md",updatedTime:1685880874e3,title:"React Gantt Component",hero:{title:"rc-gantt",desc:'

Gantt\u7ec4\u4ef6

',actions:[{text:"\u5feb\u901f\u4e0a\u624b \u2192",link:"/component"}]},footer:'

Open-source MIT Licensed | Copyright \xa9 2021

',slugs:[{depth:2,value:"\u5feb\u901f\u4f7f\u7528",heading:"\u5feb\u901f\u4f7f\u7528"},{depth:2,value:"\ud83d\udce6 \u5b89\u88c5\u4f9d\u8d56",heading:"-\u5b89\u88c5\u4f9d\u8d56"},{depth:2,value:"\ud83d\udd28 \u5feb\u901f\u5f00\u59cb",heading:"-\u5feb\u901f\u5f00\u59cb"},{depth:2,value:"\u95ee\u9898\u53cd\u9988",heading:"\u95ee\u9898\u53cd\u9988"}]},title:"React Gantt Component - "}],title:" ",component:e=>e.children}];return r["a"].applyPlugins({key:"patchRoutes",type:o["ApplyPluginsType"].event,args:{routes:e}}),e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r["a"].applyPlugins({key:"render",type:o["ApplyPluginsType"].compose,initialValue:()=>{var t=r["a"].applyPlugins({key:"modifyClientRenderOpts",type:o["ApplyPluginsType"].modify,initialValue:{routes:e.routes||l(),plugin:r["a"],history:Object(a["a"])(e.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,rootElement:"root",defaultTitle:" "}});return Object(i["renderClient"])(t)},args:e})},s=c();t["default"]=s();window.g_umi={version:"3.5.24"}},tDGd:function(e,t,n){var r,a,o=n("6SQG"),i=n("7EYs"),u=o.process,l=u&&u.versions,c=l&&l.v8;c?(r=c.split("."),a=r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(a=r[1]))),e.exports=a&&+a},tGGB:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function u(e){r(i,a,o,u,l,"next",e)}function l(e){r(i,a,o,u,l,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return a}))},tOwT:function(e,t,n){"use strict";var r=n("BUyj"),a=n("jETf");r("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},tSbI:function(e,t,n){"use strict";e.exports=n("Swb/")},tSnU:function(e,t,n){var r=n("h+/6"),a=n("Vg85"),o="\u200b\x85\u180e";e.exports=function(e){return r((function(){return!!a[e]()||o[e]()!=o||a[e].name!==e}))}},tW6U:function(e,t,n){"use strict";var r=n("1QO0"),a=n.n(r),o=n("bIC1"),i=n.n(o);n("LyR7");function u(e,t){return d(e)||f(e,t)||c(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0),h(e.scrollLefte.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n128||n===e.anchors.length-1})),n=this.anchors[Math.max(0,t-1)],r=n.parentElement.id;this.listeners.forEach((function(e){return e(r)}))}},{key:"watch",value:function(e){0===this.anchors.length&&"undefined"!==typeof window&&window.addEventListener("scroll",this.listener),this.anchors.push(e),this.listener()}},{key:"unwatch",value:function(e){this.anchors.splice(this.anchors.findIndex((function(t){return t===e})),1),0===this.anchors.length&&"undefined"!==typeof window&&window.removeEventListener("scroll",this.listener)}},{key:"listen",value:function(e){this.listeners.push(e)}},{key:"unlisten",value:function(e){this.listeners.splice(this.listeners.findIndex((function(t){return t===e})),1)}}]),e}());function E(e){return e.offsetTop+(e.offsetParent?E(e.offsetParent):0)}var O=function e(t){var n,r=(null===(n=t.to.match(/(#[^&?]*)/))||void 0===n?void 0:n[1])||"",i=(0,a.useRef)(null),u=(0,a.useState)(!1),l=f(u,2),c=l[0],d=l[1];return(0,a.useEffect)((function(){var e,t;if(["H1","H2","H3"].includes(null===(e=i.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.tagName)&&i.current.parentElement.id){var n=i.current;return w.watch(n),function(){w.unwatch(n)}}var a=function(e){d(r==="#".concat(e))};return w.listen(a),function(){return w.unlisten(a)}}),[]),a["default"].createElement(o.NavLink,s({},t,{ref:i,onClick:function(){return e.scrollToAnchor(r.substring(1))},isActive:function(){return c}}))};O.scrollToAnchor=function(e){window.requestAnimationFrame((function(){var t=document.getElementById(decodeURIComponent(e));t&&window.scrollTo(0,E(t)-100)}))};var k=O;t["default"]=k},"uZx/":function(e,t,n){var r=n("sErw"),a=n("dwb6"),o=n("upgS"),i=n("v3z7"),u=n("MI4T"),l=n("pKuQ"),c=function(e,t){this.stopped=e,this.result=t},s=e.exports=function(e,t,n,s,f){var d,p,h,m,v,g,y,b=i(t,n,s?2:1);if(f)d=e;else{if(p=u(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(a(p)){for(h=0,m=o(e.length);m>h;h++)if(v=s?b(r(y=e[h])[0],y[1]):b(e[h]),v&&v instanceof c)return v;return new c(!1)}d=p.call(e)}g=d.next;while(!(y=g.call(d)).done)if(v=l(d,b,y.value,s),"object"==typeof v&&v&&v instanceof c)return v;return new c(!1)};s.stop=function(e){return new c(!0,e)}},upgS:function(e,t,n){var r=n("ANLo"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},v1go:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6ssM").f,o=n("upgS"),i=n("SD1J"),u=n("z43i"),l=n("TxDi"),c=n("qyeh"),s="".endsWith,f=Math.min,d=l("endsWith"),p=!c&&!d&&!!function(){var e=a(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=String(u(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),a=void 0===n?r:f(o(n),r),l=String(e);return s?s.call(t,l,a):t.slice(a-l.length,a)===l}})},v3z7:function(e,t,n){var r=n("lkgX");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},vCPc:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}function a(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return a}))},vEbx:function(e,t,n){var r=n("oEsY"),a=n("684d"),o=n("YfbA").indexOf,i=n("Y3cF");e.exports=function(e,t){var n,u=a(e),l=0,c=[];for(n in u)!r(i,n)&&r(u,n)&&c.push(n);while(t.length>l)r(u,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"vFD/":function(e,t,n){var r=n("foqJ"),a=500;function o(e){var t=r(e,(function(e){return n.size===a&&n.clear(),e})),n=t.cache;return t}e.exports=o},vMeL:function(e,t,n){var r=n("6SQG"),a=n("h+/6"),o=n("eW2S"),i=n("g0pg").NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,l=r.Int8Array;e.exports=!i||!a((function(){l(1)}))||!a((function(){new l(-1)}))||!o((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||a((function(){return 1!==new l(new u(2),1,void 0).length}))},vRqM:function(e,t,n){"use strict";var r=n("OOCw"),a=n("CsJM").trim,o=n("tSnU");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return a(this)}})},vSpU:function(e,t,n){"use strict";var r=n("OOCw"),a=n("dz2h"),o=n("zesz"),i=n("d8EH"),u=n("nBeg"),l=n("MZA9"),c=n("uF/W"),s=n("3Hes"),f=n("qyeh"),d=n("AnAv"),p=n("WkS0"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=s("iterator"),g="keys",y="values",b="entries",w=function(){return this};e.exports=function(e,t,n,s,p,E,O){a(n,t,s);var k,x,S,j=function(e){if(e===p&&R)return R;if(!m&&e in A)return A[e];switch(e){case g:return function(){return new n(this,e)};case y:return function(){return new n(this,e)};case b:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",_=!1,A=e.prototype,T=A[v]||A["@@iterator"]||p&&A[p],R=!m&&T||j(p),M="Array"==t&&A.entries||T;if(M&&(k=o(M.call(new e)),h!==Object.prototype&&k.next&&(f||o(k)===h||(i?i(k,h):"function"!=typeof k[v]&&l(k,v,w)),u(k,C,!0,!0),f&&(d[C]=w))),p==y&&T&&T.name!==y&&(_=!0,R=function(){return T.call(this)}),f&&!O||A[v]===R||l(A,v,R),d[t]=R,p)if(x={values:j(y),keys:E?R:j(g),entries:j(b)},O)for(S in x)(m||_||!(S in A))&&c(A,S,x[S]);else r({target:t,proto:!0,forced:m||_},x);return x}},vTOu:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=c?e?"":void 0:(o=u.charCodeAt(l),o<55296||o>56319||l+1===c||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):o:e?u.slice(l,l+2):i-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},vqhe:function(e,t,n){"use strict";var r=n("OOCw"),a=n("YfbA").indexOf,o=n("rUEg"),i=n("7/pz"),u=[].indexOf,l=!!u&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),s=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!s},{indexOf:function(e){return l?u.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},w7O4:function(e,t,n){var r=n("F71Q");function a(e){return r(this,e).has(e)}e.exports=a},w9fO:function(e,t,n){"use strict";var r={};function a(e,t){0}function o(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function i(e,t){o(a,e,t)}t["a"]=i},wU1a:function(e,t){function n(e,t,n,r){var a=e.length,o=n+(r?1:-1);while(r?o--:++o1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},xiuu:function(e,t,n){"use strict";var r=n("vMeL"),a=n("g0pg").exportTypedArrayStaticMethod,o=n("N0ls");a("from",o,r)},xuOn:function(e,t,n){var r=n("QzCP"),a="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function u(e){var t=this.__data__;if(r){var n=t[e];return n===a?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=u},"xy/A":function(e,t,n){"use strict";var r=n("6SQG"),a=n("r+6h"),o=n("78S/"),i=n("MZA9"),u=n("TxBV"),l=n("h+/6"),c=n("CZSf"),s=n("ANLo"),f=n("upgS"),d=n("G2F8"),p=n("/fpf"),h=n("zesz"),m=n("d8EH"),v=n("lFeU").f,g=n("0JbB").f,y=n("5ilB"),b=n("nBeg"),w=n("uJNS"),E=w.get,O=w.set,k="ArrayBuffer",x="DataView",S="prototype",j="Wrong length",C="Wrong index",_=r[k],A=_,T=r[x],R=T&&T[S],M=Object.prototype,P=r.RangeError,D=p.pack,N=p.unpack,I=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},B=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},F=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},U=function(e){return D(e,23,4)},z=function(e){return D(e,52,8)},Y=function(e,t){g(e[S],t,{get:function(){return E(this)[t]}})},W=function(e,t,n,r){var a=d(n),o=E(e);if(a+t>o.byteLength)throw P(C);var i=E(o.buffer).bytes,u=a+o.byteOffset,l=i.slice(u,u+t);return r?l:l.reverse()},G=function(e,t,n,r,a,o){var i=d(n),u=E(e);if(i+t>u.byteLength)throw P(C);for(var l=E(u.buffer).bytes,c=i+u.byteOffset,s=r(+a),f=0;fX;)(H=$[X++])in A||i(A,H,_[H]);V.constructor=A}m&&h(R)!==M&&m(R,M);var q=new T(new A(2)),K=R.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||u(R,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else A=function(e){c(this,A,k);var t=d(e);O(this,{bytes:y.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},T=function(e,t,n){c(this,T,x),c(e,A,x);var r=E(e).byteLength,o=s(t);if(o<0||o>r)throw P("Wrong offset");if(n=void 0===n?r-o:f(n),o+n>r)throw P(j);O(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(Y(A,"byteLength"),Y(T,"buffer"),Y(T,"byteLength"),Y(T,"byteOffset")),u(T[S],{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return F(W(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return F(W(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return N(W(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return N(W(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){G(this,1,e,I,t)},setUint8:function(e,t){G(this,1,e,I,t)},setInt16:function(e,t){G(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){G(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){G(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){G(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){G(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){G(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});b(A,k),b(T,x),e.exports={ArrayBuffer:A,DataView:T}},xytd:function(e,t,n){},"y2+G":function(e,t,n){var r=n("684d"),a=n("lFeU").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?u(e):a(r(e))}},y24P:function(e,t,n){var r=n("eoSM"),a=n("Qyvd"),o=n("Zgy7"),i=n("WsPr");function u(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}e.exports=u},y3he:function(e,t,n){"use strict";var r=n("OOCw"),a=n("CsJM").end,o=n("tSnU"),i=o("trimEnd"),u=i?function(){return a(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:u,trimRight:u})},yFoN:function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},yJKb:function(e,t,n){var r=n("eyaU"),a=n("lFeU"),o=n("AG0a"),i=n("sErw");e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},yPwS:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))},ycKn:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("6wQi"),u=n("VOZC"),l=n("tW6U"),c=a.a.memo((e=>{var t=e.demos,n=t["website-basic"].component,r=t["website-add"].component,c=t["website-child"].component,s=t["website-column"].component,f=t["website-dependence"].component,d=t["website-render"].component,p=t["website-filterunit"].component,h=t["website-custom"].component;return a.a.createElement(a.a.Fragment,null,a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u7ec4\u4ef6"},a.a.createElement(o["AnchorLink"],{to:"#\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u7ec4\u4ef6"),a.a.createElement("h3",{id:"\u57fa\u7840\u4f7f\u7528"},a.a.createElement(o["AnchorLink"],{to:"#\u57fa\u7840\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u7840\u4f7f\u7528"),a.a.createElement("p",null,"\u53ea\u9700\u8981\u914d\u7f6e ",a.a.createElement("code",null,"data")," ",a.a.createElement("code",null,"columns")," ",a.a.createElement("code",null,"onUpdate")," \u5373\u53ef\u5c55\u793a\u4e00\u4e2a\u6700\u7b80\u7518\u7279\u56fe")),a.a.createElement(i["default"],t["website-basic"].previewerProps,a.a.createElement(n,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u65b0\u589e\u4efb\u52a1"},a.a.createElement(o["AnchorLink"],{to:"#\u65b0\u589e\u4efb\u52a1","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u65b0\u589e\u4efb\u52a1"),a.a.createElement("p",null,"\u70b9\u51fb\u5373\u53ef\u65b0\u5efa ",a.a.createElement("code",null,"bar"))),a.a.createElement(i["default"],t["website-add"].previewerProps,a.a.createElement(r,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u591a\u7ea7\u7ed3\u6784"},a.a.createElement(o["AnchorLink"],{to:"#\u591a\u7ea7\u7ed3\u6784","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u591a\u7ea7\u7ed3\u6784"),a.a.createElement("p",null,"\u786e\u4fdd\u6bcf\u4e2a\u8282\u70b9\u4e2d\u5305\u542b ",a.a.createElement("code",null,"children")," \u5c5e\u6027\uff0c\u5373\u53ef\u5b9e\u73b0\u591a\u7ea7\u7ed3\u6784"),a.a.createElement("p",null,"\u53ef\u4ee5\u901a\u8fc7 ",a.a.createElement("code",null,"onExpand")," \u83b7\u53d6\u5f53\u524d\u5c55\u5f00\u7684\u72b6\u6001")),a.a.createElement(i["default"],t["website-child"].previewerProps,a.a.createElement(c,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u8868\u683c\u5217","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"),a.a.createElement("p",null,a.a.createElement("code",null,"columns")," \u7c7b\u578b\u5b9a\u4e49\u89c1\u7c7b\u578b\u5b9a\u4e49"),a.a.createElement("p",null,"\u5176\u4e2d\uff0c\u5982\u679c\u6bcf\u5217\u90fd\u914d\u7f6e ",a.a.createElement("code",null,"width")," \u5c5e\u6027\u3002\u7ec4\u4ef6\u5185\u90e8\u4f1a\u8ba1\u7b97\u603b\u5bbd\u5ea6\u3002\u9ed8\u8ba4\u521d\u59cb\u5316\u8868\u683c\u5bbd\u5ea6\u4e3a\u603b\u5bbd\u5ea6")),a.a.createElement(i["default"],t["website-column"].previewerProps,a.a.createElement(s,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u4f9d\u8d56\u7ed3\u6784"},a.a.createElement(o["AnchorLink"],{to:"#\u4f9d\u8d56\u7ed3\u6784","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4f9d\u8d56\u7ed3\u6784")),a.a.createElement(i["default"],t["website-dependence"].previewerProps,a.a.createElement(f,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u6e32\u67d3"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u6e32\u67d3","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u6e32\u67d3")),a.a.createElement(i["default"],t["website-render"].previewerProps,a.a.createElement(d,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u7b5b\u9009"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u7b5b\u9009","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u7b5b\u9009"),a.a.createElement("p",null,"\u9ed8\u8ba4\u5f53\u524d\u65e5\u671f\u7b5b\u9009\u652f\u6301 \u65e5\u3001\u5468\u3001\u6708\u3001\u5b63\u3001\u5e74\u3002\u652f\u6301\u4f20\u5165\u914d\u7f6e\uff0c\u81ea\u5b9a\u4e49\u7b5b\u9009\u7ef4\u5ea6")),a.a.createElement(i["default"],t["website-filterunit"].previewerProps,a.a.createElement(p,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u9ad8\u7ea7\u7528\u6cd5"},a.a.createElement(o["AnchorLink"],{to:"#\u9ad8\u7ea7\u7528\u6cd5","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u9ad8\u7ea7\u7528\u6cd5"),a.a.createElement("p",null,"\u4e3b\u8981\u4ecb\u7ecd ",a.a.createElement("code",null,"alwaysShowTaskBar")," ",a.a.createElement("code",null,"unit")," \u4ee5\u53ca ",a.a.createElement("code",null,"innerRef")," \u4e0a\u5185\u7f6e\u65b9\u6cd5\u7684\u4f7f\u7528")),a.a.createElement(i["default"],t["website-custom"].previewerProps,a.a.createElement(h,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u7c7b\u578b\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#\u7c7b\u578b\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u7c7b\u578b\u5b9a\u4e49"),a.a.createElement("h3",{id:"column-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#column-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Column")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type ColumnAlign = 'center' | 'right' | 'left'\r\nexport interface Column {\r\n width?: number\r\n minWidth?: number\r\n maxWidth?: number\r\n flex?: number\r\n name: string\r\n label: string\r\n style?: Object\r\n render?: (item: Record) => React.ReactNode\r\n align?: ColumnAlign\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"data-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#data-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"data")," \u5b9a\u4e49"),a.a.createElement("p",null,"\u5176\u4e2d\u5185\u7f6e\u4e86\u5982\u4e0b\u51e0\u4e2a\u5b57\u6bb5\uff0c\u5982\u679c\u6570\u636e\u4e2d\u5305\u542b\u5982\u4e0b\u5c5e\u6027\u4f1a\u505a\u7279\u6b8a\u5904\u7406"),a.a.createElement(u["a"],{code:"export type Record = RecordType & {\r\n group?: boolean\r\n borderColor?: string\r\n backgroundColor?: string\r\n collapsed?: boolean\r\n children?: Record[]\r\n disabled?: boolean\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"dependence-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#dependence-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Dependence")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type DependenceType = 'start_finish' | 'finish_start' | 'start_start' | 'finish_finish'\r\nexport interface Dependence {\r\n from: string\r\n to: string\r\n type: DependenceType\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"bar-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#bar-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Bar")," \u5b9a\u4e49"),a.a.createElement("p",null,"\u5728\u6211\u4eec\u9700\u8981\u4f7f\u7528\u4e00\u4e9b\u81ea\u5b9a\u4e49\u51fd\u6570\u65f6\uff0c\u4f1a\u7ed9\u6211\u4eec\u8fd4\u56de\u5982\u4e0b\u7c7b\u578b\u6570\u636e\uff0c\u5176\u4e2d ",a.a.createElement("code",null,"record")," \u4e3a\u6e90\u6570\u636e"),a.a.createElement(u["a"],{code:"export interface Bar {\r\n key: React.Key\r\n label: string\r\n width: number\r\n translateX: number\r\n translateY: number\r\n stepGesture: string\r\n invalidDateRange: boolean\r\n dateTextFormat: (startX: number) => string\r\n getDateWidth: (startX: number, endX: number) => string\r\n task: Item\r\n record: Record\r\n loading: boolean\r\n _group?: boolean\r\n _collapsed: boolean\r\n _depth: number\r\n _index?: number\r\n _childrenCount: number\r\n _parent?: Item\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"sight-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#sight-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Sight")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type Sight = 'day' | 'week' | 'month' | 'quarter' | 'halfYear'",lang:"typescript"}),a.a.createElement("h2",{id:"api"},a.a.createElement(o["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"API"),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"data"),a.a.createElement("td",null,"\u6570\u636e\u6e90"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Record[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"columns"),a.a.createElement("td",null,"\u6570\u636e\u5217"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Column[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"dependencies"),a.a.createElement("td",null,"\u4f9d\u8d56\u6570\u7ec4"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Dependence[]")),a.a.createElement("td",null,a.a.createElement("code",null,"[]"))),a.a.createElement("tr",null,a.a.createElement("td",null,"onUpdate"),a.a.createElement("td",null,"\u66f4\u65b0\u56de\u8c03"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record, startDate: string, endDate: string) => Promise")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"startDateKey"),a.a.createElement("td",null,"\u5f00\u59cb\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"endDateKey"),a.a.createElement("td",null,"\u7ed3\u675f\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"isRestDay"),a.a.createElement("td",null,"\u8fd4\u56de\u662f\u5426\u662f\u8282\u5047\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"(date: string) => boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"unit"),a.a.createElement("td",null,"\u5f53\u524d\u89c6\u56fe"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Sight")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"rowHeight"),a.a.createElement("td",null,"\u884c\u9ad8"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getBarColor"),a.a.createElement("td",null,"\u8fd4\u56de\u9ed8\u8ba4\u6761\u6837\u5f0f"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => ","{","backgroundColor: string;borderColor: string","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showBackToday"),a.a.createElement("td",null,"\u5c55\u793a\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showUnitSwitch"),a.a.createElement("td",null,"\u5c55\u793a\u89c6\u56fe\u5207\u6362"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onRow"),a.a.createElement("td",null,"\u884c\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"{","onClick: (record: Gantt.Record) => void","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"tableIndent"),a.a.createElement("td",null,"\u8868\u683c\u7f29\u8fdb"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null,a.a.createElement("code",null,"30"))),a.a.createElement("tr",null,a.a.createElement("td",null,"expandIcon"),a.a.createElement("td",null,"\u5c55\u5f00\u5b50\u8282\u70b9\u56fe\u8868"),a.a.createElement("td",null,"``"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3 bar"),a.a.createElement("td",null,a.a.createElement("code",null,"renderBar?: (barInfo: Gantt.Bar, ","{"," width, height ","}",": ","{"," width: number; height: number ","}",") => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderGroupBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u7ec4"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderInvalidBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u62d6\u62fd"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBarThumb"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7f29\u7565\u6e32\u67d3"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onBarClick"),a.a.createElement("td",null,"\u884c\u70b9\u51fb\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => void")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"alwaysShowTaskBar"),a.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5de6\u53f3\u4fa7\u5185\u5bb9"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"true"))),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528\u56fe\u8868"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"false"))),a.a.createElement("tr",null,a.a.createElement("td",null,"renderLeftText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u5de6\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderRightText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u53f3\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onExpand"),a.a.createElement("td",null,"\u70b9\u51fb\u5c55\u5f00\u56fe\u6807\u65f6\u89e6\u53d1"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record,collapsed:boolean) => void")),a.a.createElement("td",null)))),a.a.createElement("h2",{id:"\u65b9\u6cd5"},a.a.createElement(o["AnchorLink"],{to:"#\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u65b9\u6cd5"),a.a.createElement("p",null,"\u5bf9\u5916\u629b\u51fa ",a.a.createElement("code",null,"innerRef")),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,"\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,"\u8fd4\u56de\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)))))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(c,{demos:n})}},yh5m:function(e,t,n){var r=n("OOCw"),a=n("eyaU"),o=n("lkgX"),i=n("sErw"),u=n("x+sk"),l=n("QWtl"),c=n("Wldj"),s=n("h+/6"),f=a("Reflect","construct"),d=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!s((function(){f((function(){}))})),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){o(e),i(t);var n=arguments.length<3?e:o(arguments[2]);if(p&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var a=n.prototype,s=l(u(a)?a:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},yjmR:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("R8Gd");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;o--){var i=o>=0?arguments[o]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return e=n(a(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),o=r(n.split("/")),i=Math.min(a.length,o.length),u=i,l=0;l=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){r=o;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,o=0,i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(47!==u)-1===r&&(a=!1,r=i+1),46===u?-1===t?t=i:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=i+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("BBhR"))},ytxp:function(e,t,n){var r=n("7EYs");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},z43i:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},zZ4V:function(e,t,n){var r=n("KZF9");r("patternMatch")},zesz:function(e,t,n){var r=n("oEsY"),a=n("OdMF"),o=n("8i6t"),i=n("VA8o"),u=o("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=a(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},zqEY:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{some:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},zyZy:function(e,t,n){"use strict";var r=n("tSbI"),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return r.isMemo(e)?u:l[e["$$typeof"]]||a}l[r.ForwardRef]=i,l[r.Memo]=u;var s=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;function v(e,t,n){if("string"!==typeof t){if(m){var r=h(t);r&&r!==m&&v(e,r,n)}var a=f(t);d&&(a=a.concat(d(t)));for(var i=c(e),u=c(t),l=0;l1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop(e)}),void 0,!1,!0).result}})},"+Hgx":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return u}));var r=n("yPwS"),a=n("tSbI");n("x0RL");function o(e,t){"function"===typeof e?e(t):"object"===Object(r["a"])(e)&&e&&"current"in e&&(e.current=t)}function i(){for(var e=arguments.length,t=new Array(e),n=0;n1?arguments[1]:void 0)}})},"/3Cb":function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return l}));var o=n("yPwS"),i=n("R6PQ");function u(e,t){if(t&&("object"===Object(o["a"])(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(i["a"])(e)}function l(e){var t=a();return function(){var n,a=r(e);if(t){var o=r(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return u(this,n)}}},"/5AF":function(e,t,n){var r=n("ZGY3");r("flat")},"/5y1":function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("0+H2"),u=n.n(i),l=n("2YZa"),c=n("1QO0"),s=n.n(c),f=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0",startDate:u()().format("YYYY-MM-DD"),endDate:u()().add(1,"week").format("YYYY-MM-DD")}),d=[{label:"\u81ea\u5b9a\u4e49\u65e5",value:l["a"].ESightValues.day,type:"day"},{label:"\u81ea\u5b9a\u4e49\u5468",value:l["a"].ESightValues.week,type:"week"}],p=()=>s.a.createElement("div",{style:{width:"100%",height:500}},s.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:100}],customSights:d,onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=p},"/6W8":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="month",t="quarter";return function(n,r){var a=r.prototype;a.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var o=a.add;a.add=function(n,r){return n=Number(n),this.$utils().p(r)===t?this.add(3*n,e):o.bind(this)(n,r)};var i=a.startOf;a.startOf=function(n,r){var a=this.$utils(),o=!!a.u(r)||r;if(a.p(n)===t){var u=this.quarter()-1;return o?this.month(3*u).startOf(e).startOf("day"):this.month(3*u+2).endOf(e).endOf("day")}return i.bind(this)(n,r)}}}))},"/Fx+":function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("VOZC"),u=a.a.memo((e=>{e.demos;return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u5feb\u901f\u4f7f\u7528"},a.a.createElement(o["AnchorLink"],{to:"#\u5feb\u901f\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u5feb\u901f\u4f7f\u7528"),a.a.createElement("h2",{id:"-\u5b89\u88c5\u4f9d\u8d56"},a.a.createElement(o["AnchorLink"],{to:"#-\u5b89\u88c5\u4f9d\u8d56","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udce6 \u5b89\u88c5\u4f9d\u8d56"),a.a.createElement(i["a"],{code:"$ yarn add rc-gantt # or npm i rc-gantt -S",lang:"shell"}),a.a.createElement("h2",{id:"-\u5feb\u901f\u5f00\u59cb"},a.a.createElement(o["AnchorLink"],{to:"#-\u5feb\u901f\u5f00\u59cb","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udd28 \u5feb\u901f\u5f00\u59cb"),a.a.createElement(i["a"],{code:"import RcGantt from 'rc-gantt'\n\n// in react page\nreturn (\n {\n return true\n }}\n />\n)",lang:"tsx"}),a.a.createElement("p",null,"\u67e5\u770b\u66f4\u591a\uff1a",a.a.createElement(o["AnchorLink"],{to:"/component#%E5%9F%BA%E7%A1%80%E4%BD%BF%E7%94%A8"},"\u57fa\u7840\u4f7f\u7528")),a.a.createElement("h2",{id:"\u95ee\u9898\u53cd\u9988"},a.a.createElement(o["AnchorLink"],{to:"#\u95ee\u9898\u53cd\u9988","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u95ee\u9898\u53cd\u9988"),a.a.createElement("p",null,"\u8bf7\u8bbf\u95ee ",a.a.createElement(o["Link"],{to:"https://github.com/ahwgs/react-gantt/issues"},"Github")," \u6216\u52a0\u5fae\u4fe1\uff0c\u5907\u6ce8 ",a.a.createElement("code",null,"rc-gantt")),a.a.createElement("img",{src:"https://static.ahwgs.cn/wp-content/uploads/2020/03/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20200311210541.jpg",style:{width:"200px"}})))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(u,{demos:n})}},"/fpf":function(e,t){var n=1/0,r=Math.abs,a=Math.pow,o=Math.floor,i=Math.log,u=Math.LN2,l=function(e,t,l){var c,s,f,d=new Array(l),p=8*l-t-1,h=(1<>1,v=23===t?a(2,-24)-a(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for(e=r(e),e!=e||e===n?(s=e!=e?1:0,c=h):(c=o(i(e)/u),e*(f=a(2,-c))<1&&(c--,f*=2),e+=c+m>=1?v/f:v*a(2,1-m),e*f>=2&&(c++,f/=2),c+m>=h?(s=0,c=h):c+m>=1?(s=(e*f-1)*a(2,t),c+=m):(s=e*a(2,m-1)*a(2,t),c=0));t>=8;d[y++]=255&s,s/=256,t-=8);for(c=c<0;d[y++]=255&c,c/=256,p-=8);return d[--y]|=128*g,d},c=function(e,t){var r,o=e.length,i=8*o-t-1,u=(1<>1,c=i-7,s=o-1,f=e[s--],d=127&f;for(f>>=7;c>0;d=256*d+e[s],s--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;r=256*r+e[s],s--,c-=8);if(0===d)d=1-l;else{if(d===u)return r?NaN:f?-n:n;r+=a(2,t),d-=l}return(f?-1:1)*r*a(2,d-t)};e.exports={pack:l,unpack:c}},"/gJP":function(e,t,n){var r=n("r+6h"),a=n("6SQG"),o=n("RzMS"),i=n("aRba"),u=n("0JbB").f,l=n("lFeU").f,c=n("q43B"),s=n("rfqm"),f=n("kj2u"),d=n("uF/W"),p=n("h+/6"),h=n("uJNS").set,m=n("ct0+"),v=n("3Hes"),g=v("match"),y=a.RegExp,b=y.prototype,w=/a/g,E=/a/g,O=new y(w)!==w,k=f.UNSUPPORTED_Y,x=r&&o("RegExp",!O||k||p((function(){return E[g]=!1,y(w)!=w||y(E)==E||"/a/i"!=y(w,"i")})));if(x){var S=function(e,t){var n,r=this instanceof S,a=c(e),o=void 0===t;if(!r&&a&&e.constructor===S&&o)return e;O?a&&!o&&(e=e.source):e instanceof S&&(o&&(t=s.call(e)),e=e.source),k&&(n=!!t&&t.indexOf("y")>-1,n&&(t=t.replace(/y/g,"")));var u=i(O?new y(e,t):y(e,t),r?this:b,S);return k&&n&&h(u,{sticky:n}),u},j=function(e){e in S||u(S,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},C=l(y),_=0;while(C.length>_)j(C[_++]);b.constructor=S,S.prototype=b,d(a,"RegExp",S)}m("RegExp")},"/lsV":function(e,t,n){"use strict";e.exports=n("u4MB")},"/r+8":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?e:""+Array(t+1-r.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(a,2,"0")},m:function e(t,n){if(t.date()1)return e(i[0])}else{var u=t.name;w[u]=t,a=u}return!r&&a&&(b=a),a||!r&&b},k=function(e,t){if(E(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},x=y;x.l=O,x.i=E,x.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=O(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var a=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return x},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},"0zpI":function(e,t,n){var r=n("cBxx"),a=n("MyUB"),o=n("fkhx"),i=n("RtFG"),u=n("wWVk"),l=n("9rFP"),c=1,s=2,f="[object Boolean]",d="[object Date]",p="[object Error]",h="[object Map]",m="[object Number]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",w="[object ArrayBuffer]",E="[object DataView]",O=r?r.prototype:void 0,k=O?O.valueOf:void 0;function x(e,t,n,r,O,x,S){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!x(new a(e),new a(t)));case f:case d:case m:return o(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case y:return e==t+"";case h:var j=u;case g:var C=r&c;if(j||(j=l),e.size!=t.size&&!C)return!1;var _=S.get(e);if(_)return _==t;r|=s,S.set(e,t);var A=i(j(e),j(t),r,O,x,S);return S["delete"](e),A;case b:if(k)return k.call(e)==k.call(t)}return!1}e.exports=x},"12pU":function(e,t,n){"use strict";n.r(t),n.d(t,"ApplyPluginsType",(function(){return z})),n.d(t,"Plugin",(function(){return H})),n.d(t,"dynamic",(function(){return F})),n.d(t,"isBrowser",(function(){return Y}));var r=n("NUIj"),a=n.n(r),o=n("ptaF");n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]}));var i=n("Bm2L");n.d(t,"__RouterContext",(function(){return i["h"]}));var u=n("QwZf");n.d(t,"Link",(function(){return u["a"]})),n.d(t,"MemoryRouter",(function(){return i["a"]})),n.d(t,"NavLink",(function(){return u["b"]})),n.d(t,"Prompt",(function(){return i["b"]})),n.d(t,"Redirect",(function(){return i["c"]})),n.d(t,"Route",(function(){return i["d"]})),n.d(t,"Router",(function(){return i["e"]})),n.d(t,"StaticRouter",(function(){return i["f"]})),n.d(t,"Switch",(function(){return i["g"]})),n.d(t,"matchPath",(function(){return i["i"]})),n.d(t,"useHistory",(function(){return i["j"]})),n.d(t,"useLocation",(function(){return i["k"]})),n.d(t,"useParams",(function(){return i["l"]})),n.d(t,"useRouteMatch",(function(){return i["m"]})),n.d(t,"withRouter",(function(){return i["n"]}));var l=n("1QO0"),c=n("rVbH");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}var j=Object(l["createContext"])(null),C=[],_=[],A=!1;function T(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function R(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=T(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function M(e){return e&&e.__esModule?e["default"]:e}function P(e,t){return Object(l["createElement"])(M(e),t)}function D(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:P,webpack:null,modules:null},t),r=null;function a(){if(!r){var t=new N(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&C.push(a),!A&&"undefined"!==typeof window&&"function"===typeof n.webpack){var o=n.webpack();_.push((function(e){var t,n=S(o);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return a()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){a();var o=Object(l["useContext"])(j),i=Object(c["useSubscription"])(r);return Object(l["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),o&&Array.isArray(n.modules)&&n.modules.forEach((function(e){o(e)})),i.loading||i.error?Object(l["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},u=Object(l["forwardRef"])(i);return u.preload=function(){return a()},u.displayName="LoadableComponent",u}var N=function(){function e(t,n){m(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return g(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=f(f({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return f(f({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function I(e){return D(T,e)}function L(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return D(R,e)}function B(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return B(e,t)}))}function F(e){var t=I,n={loading:function(e){e.error,e.isLoading;return Object(l["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==d(e))throw new Error("Unexpect arguments ".concat(e));n=f(f({},n),e)}return t(n)}function U(e,t){if(!e)throw new Error(t)}I.Map=L,I.preloadAll=function(){return new Promise((function(e,t){B(C).then(e,t)}))},I.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return A=!0,t()};B(_,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=I.preloadReady);var z,Y=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function W(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function G(e){return!!e&&"object"===d(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(z||(z={}));var H=function(){function e(t){m(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return g(e,[{key:"register",value:function(e){var t=this;U(!!e.apply,"register failed, plugin.apply must supplied"),U(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){U(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=b(t),r=n[0],a=n.slice(1),o=this.hooks[r]||[];return a.length&&(o=o.map((function(e){try{var t,n=e,r=S(a);try{for(r.s();!(t=r.n()).done;){var o=t.value;n=n[o]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),o}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,u=this.getHooks(t)||[];switch(o&&U("object"===d(o),"applyPlugins failed, args must be plain object."),n){case z.modify:return i?u.reduce(function(){var e=h(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(U("function"===typeof r||"object"===d(r)||G(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!G(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof r){e.next=16;break}if(i=r(n,o),!G(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!G(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",f(f({},n),r));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),G(r)?r:Promise.resolve(r)):u.reduce((function(e,n){return U("function"===typeof n||"object"===d(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,o):f(f({},e),n)}),r);case z.event:return u.forEach((function(e){U("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(o)}));case z.compose:return function(){return W({fns:u.concat(r),args:o})()}}}}]),e}()},"14tm":function(e,t,n){var r=n("O4yA"),a=function(){return r.Date.now()};e.exports=a},"1ChE":function(e,t,n){"use strict";(function(e){var r=n("1QO0"),a=n.n(r),o=n("Srxv"),i=n("BA5g"),u=n.n(i),l=1073741823,c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function s(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}function f(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function d(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}function p(e){return Array.isArray(e)?e[0]:e}function h(e,t){var n,a,i="__create-react-context-"+s()+"__",c=function(e){function n(){var t;return t=e.apply(this,arguments)||this,t.emitter=d(t.props.value),t}Object(o["a"])(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return e={},e[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;f(r,a)?n=0:(n="function"===typeof t?t(r,a):l,n|=0,0!==n&&this.emitter.set(e.value,n))}},r.render=function(){return this.props.children},n}(r["Component"]);c.childContextTypes=(n={},n[i]=u.a.object.isRequired,n);var h=function(t){function n(){var e;return e=t.apply(this,arguments)||this,e.state={value:e.getValue()},e.onUpdate=function(t,n){var r=0|e.observedBits;0!==(r&n)&&e.setState({value:e.getValue()})},e}Object(o["a"])(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?l:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?l:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return p(this.props.children)(this.state.value)},n}(r["Component"]);return h.contextTypes=(a={},a[i]=u.a.object,a),{Provider:c,Consumer:h}}var m=a.a.createContext||h;t["a"]=m}).call(this,n("j8Of"))},"1DF2":function(e,t,n){var r=n("rkJ6");function a(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=a},"1Grl":function(e,t,n){var r=n("7TNV"),a=n("lf6h"),o=Object.prototype,i=o.hasOwnProperty,u=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!u.call(e,"callee")};e.exports=l},"1KG/":function(e,t,n){var r,a=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function a(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(t){if(null===t||void 0===t)return o.decompress(t);for(var n=new Array(t.length/2),r=0,a=n.length;r>=1}else{for(a=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(a=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++),i[c]=d++,s=String(l)}if(""!==s){if(Object.prototype.hasOwnProperty.call(u,s)){if(s.charCodeAt(0)<256){for(r=0;r>=1}else{for(a=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete u[s]}else for(a=i[s],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++)}for(a=2,r=0;r>=1;while(1){if(m<<=1,v==t-1){h.push(n(m));break}v++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:o._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(t,n,r){var a,o,i,u,l,c,s,f=[],d=4,p=4,h=3,m="",v=[],g={val:r(0),position:n,index:1};for(a=0;a<3;a+=1)f[a]=a;i=0,l=Math.pow(2,2),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;s=e(i);break;case 2:return""}f[3]=s,o=s,v.push(s);while(1){if(g.index>t)return"";i=0,l=Math.pow(2,h),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;switch(s=i){case 0:i=0,l=Math.pow(2,8),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 1:i=0,l=Math.pow(2,16),c=1;while(c!=l)u=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),i|=(u>0?1:0)*c,c<<=1;f[p++]=e(i),s=p-1,d--;break;case 2:return v.join("")}if(0==d&&(d=Math.pow(2,h),h++),f[s])m=f[s];else{if(s!==p)return null;m=o+o.charAt(0)}v.push(m),f[p++]=o+m.charAt(0),d--,o=m,0==d&&(d=Math.pow(2,h),h++)}}};return o}();r=function(){return a}.call(t,n,t,e),void 0===r||(e.exports=r)},"1QO0":function(e,t,n){"use strict";e.exports=n("WSIO")},"1RDt":function(e,t,n){},"1Sp3":function(e,t,n){var r=n("mRlv"),a=n("Ox3h"),o=n("WAeE"),i=o("metadata"),u=i.store||(i.store=new a),l=function(e,t,n){var a=u.get(e);if(!a){if(!n)return;u.set(e,a=new r)}var o=a.get(t);if(!o){if(!n)return;a.set(t,o=new r)}return o},c=function(e,t,n){var r=l(t,n,!1);return void 0!==r&&r.has(e)},s=function(e,t,n){var r=l(t,n,!1);return void 0===r?void 0:r.get(e)},f=function(e,t,n,r){l(n,r,!0).set(e,t)},d=function(e,t){var n=l(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},p=function(e){return void 0===e||"symbol"==typeof e?e:String(e)};e.exports={store:u,getMap:l,has:c,get:s,set:f,keys:d,toKey:p}},"1a2d":function(e,t,n){"use strict";var r=n("OOCw");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},"1aCi":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{imulh:function(e,t){var n=65535,r=+e,a=+t,o=r&n,i=a&n,u=r>>16,l=a>>16,c=(u*i>>>0)+(o*i>>>16);return u*l+(c>>16)+((o*l>>>0)+(c&n)>>16)}})},"1aIJ":function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n'},a[l]={content:"/**\n* This is an auto-generated demo by dumi\n* if you think it is not working as expected,\n* please report the issue at\n* https://github.com/umijs/dumi/issues\n**/\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\n".concat(i.map((function(e){var t=e.css;return"import '".concat(t,"';")})).join("\n"),"\nimport App from './App';\n\nReactDOM.render(\n ,\n document.getElementById('root'),\n);")},Object.entries(e.sources).forEach((function(e){var t=r(e,2),n=t[0],o=t[1],i=o.tsx,l=o.jsx,c=o.content;a["_"===n?u:n]={content:i||l||c}})),h({files:a})}var g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=(0,a().useState)(),r=u(n,2),o=r[0],i=r[1];return(0,a().useEffect)((function(){if(e){var n=document.createElement("form"),r=document.createElement("input"),a=v(e);return n.method="POST",n.target="_blank",n.style.display="none",n.action=t,n.appendChild(r),n.setAttribute("data-demo",e.title||""),r.name="parameters",r.value=a,document.body.appendChild(n),i((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e]),o};t["default"]=g},"1cq2":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{find:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(n)}),void 0,!0,!0).result}})},"1mu+":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("QHn5"),u=n("F/PV"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{includes:function(e){return l(i(o(this)),(function(t,n){if(u(n,e))return l.stop()}),void 0,!0,!0).stopped}})},"1rhD":function(e,t,n){"use strict";var r=n("OOCw"),a=n("dz2h"),o=n("z43i"),i=n("uJNS"),u=n("vfR7"),l=u.codeAt,c=u.charAt,s="String Iterator",f=i.set,d=i.getterFor(s),p=a((function(e){f(this,{type:s,string:e,index:0})}),"String",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=c(n,r),t.index+=e.length,{value:{codePoint:l(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new p(String(o(this)))}})},"1uVM":function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},"1wx2":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"1x+Y":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("mxPn"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isSubsetOf:function(e){var t=l(this),n=i(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=u(n.has)),!c(t,(function(e){if(!1===r.call(n,e))return c.stop()}),void 0,!1,!0).stopped}})},"1zyx":function(e,t,n){"use strict";n.r(t),n.d(t,"ApplyPluginsType",(function(){return z})),n.d(t,"Plugin",(function(){return H})),n.d(t,"dynamic",(function(){return F})),n.d(t,"isBrowser",(function(){return Y}));var r=n("NUIj"),a=n.n(r),o=n("ptaF");n.d(t,"createBrowserHistory",(function(){return o["a"]})),n.d(t,"createHashHistory",(function(){return o["b"]})),n.d(t,"createMemoryHistory",(function(){return o["d"]}));var i=n("Bm2L");n.d(t,"__RouterContext",(function(){return i["h"]}));var u=n("QwZf");n.d(t,"Link",(function(){return u["a"]})),n.d(t,"MemoryRouter",(function(){return i["a"]})),n.d(t,"NavLink",(function(){return u["b"]})),n.d(t,"Prompt",(function(){return i["b"]})),n.d(t,"Redirect",(function(){return i["c"]})),n.d(t,"Route",(function(){return i["d"]})),n.d(t,"Router",(function(){return i["e"]})),n.d(t,"StaticRouter",(function(){return i["f"]})),n.d(t,"Switch",(function(){return i["g"]})),n.d(t,"matchPath",(function(){return i["i"]})),n.d(t,"useHistory",(function(){return i["j"]})),n.d(t,"useLocation",(function(){return i["k"]})),n.d(t,"useParams",(function(){return i["l"]})),n.d(t,"useRouteMatch",(function(){return i["m"]})),n.d(t,"withRouter",(function(){return i["n"]}));var l=n("1QO0"),c=n("/lsV");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}var j=Object(l["createContext"])(null),C=[],_=[],A=!1;function T(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e}))["catch"]((function(e){throw n.loading=!1,n.error=e,e})),n}function R(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=T(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e}))["catch"]((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e}))["catch"]((function(e){throw t.loading=!1,e})),t}function M(e){return e&&e.__esModule?e["default"]:e}function P(e,t){return Object(l["createElement"])(M(e),t)}function D(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:P,webpack:null,modules:null},t),r=null;function a(){if(!r){var t=new N(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if("undefined"===typeof window&&C.push(a),!A&&"undefined"!==typeof window&&"function"===typeof n.webpack){var o=n.webpack();_.push((function(e){var t,n=S(o);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return a()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){a();var o=Object(l["useContext"])(j),i=Object(c["useSubscription"])(r);return Object(l["useImperativeHandle"])(t,(function(){return{retry:r.retry}})),o&&Array.isArray(n.modules)&&n.modules.forEach((function(e){o(e)})),i.loading||i.error?Object(l["createElement"])(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:r.retry}):i.loaded?n.render(i.loaded,e):null},u=Object(l["forwardRef"])(i);return u.preload=function(){return a()},u.displayName="LoadableComponent",u}var N=function(){function e(t,n){m(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return g(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()}))["catch"]((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=f(f({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return f(f({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks["delete"](e)}}}]),e}();function I(e){return D(T,e)}function L(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return D(R,e)}function B(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return B(e,t)}))}function F(e){var t=I,n={loading:function(e){e.error,e.isLoading;return Object(l["createElement"])("p",null,"loading...")}};if("function"===typeof e)n.loader=e;else{if("object"!==d(e))throw new Error("Unexpect arguments ".concat(e));n=f(f({},n),e)}return t(n)}function U(e,t){if(!e)throw new Error(t)}I.Map=L,I.preloadAll=function(){return new Promise((function(e,t){B(C).then(e,t)}))},I.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return A=!0,t()};B(_,e).then(n,n)}))},"undefined"!==typeof window&&(window.__NEXT_PRELOADREADY=I.preloadReady);var z,Y=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement};function W(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function G(e){return!!e&&"object"===d(e)&&"function"===typeof e.then}(function(e){e["compose"]="compose",e["modify"]="modify",e["event"]="event"})(z||(z={}));var H=function(){function e(t){m(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return g(e,[{key:"register",value:function(e){var t=this;U(!!e.apply,"register failed, plugin.apply must supplied"),U(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){U(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=e.split("."),n=b(t),r=n[0],a=n.slice(1),o=this.hooks[r]||[];return a.length&&(o=o.map((function(e){try{var t,n=e,r=S(a);try{for(r.s();!(t=r.n()).done;){var o=t.value;n=n[o]}}catch(i){r.e(i)}finally{r.f()}return n}catch(u){return null}})).filter(Boolean)),o}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,u=this.getHooks(t)||[];switch(o&&U("object"===d(o),"applyPlugins failed, args must be plain object."),n){case z.modify:return i?u.reduce(function(){var e=h(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(U("function"===typeof r||"object"===d(r)||G(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!G(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!==typeof r){e.next=16;break}if(i=r(n,o),!G(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!G(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",f(f({},n),r));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),G(r)?r:Promise.resolve(r)):u.reduce((function(e,n){return U("function"===typeof n||"object"===d(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"===typeof n?n(e,o):f(f({},e),n)}),r);case z.event:return u.forEach((function(e){U("function"===typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(o)}));case z.compose:return function(){return W({fns:u.concat(r),args:o})()}}}}]),e}()},"2Roc":function(e,t,n){var r=n("3Hes");t.f=r},"2Vjj":function(e,t,n){},"2YZa":function(e,t,n){"use strict";n.d(t,"a",(function(){return ye})),n.d(t,"c",(function(){return Fr}));var r=n("ULjY"),a=n("1QO0"),o=n.n(a),i=n("QQXB");function u(e,t){return e?(n="function"===typeof e?e():"current"in e?e.current:e,n):t;var n}function l(e){var t=Object(a["useRef"])(e);t.current=e;var n=Object(a["useRef"])();return n.current||(n.current=function(){for(var e=[],n=0;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i},h=function(e){var t=Object(a["useRef"])(0),n=p(Object(a["useState"])(e),2),r=n[0],o=n[1],i=Object(a["useCallback"])((function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame((function(){o(e)}))}),[]);return d((function(){cancelAnimationFrame(t.current)})),[r,i]},m=h,v=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{while((void 0===t||t-- >0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i};function g(e){var t=v(m((function(){var t=u(e);return{width:(t||{}).clientWidth,height:(t||{}).clientHeight}})),2),n=t[0],r=t[1];return Object(a["useLayoutEffect"])((function(){var t=u(e);if(!t)return function(){};var n=new i["a"]((function(e){e.forEach((function(e){r({width:e.target.clientWidth,height:e.target.clientHeight})}))}));return n.observe(t),function(){n.disconnect()}}),[e]),n}var y=g,b=n("4Yrd");if(!a["useState"])throw new Error("mobx-react-lite requires React with Hooks support");if(!b["h"])throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var w=!1;function E(){return w}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i}function x(e){return e.current?Object(b["e"])(e.current):""}var S=[];function j(e){Object(a["useEffect"])((function(){return e}),S)}function C(){var e=k(Object(a["useState"])(0),2),t=e[1],n=Object(a["useCallback"])((function(){t((function(e){return e+1}))}),[]);return n}var _={};function A(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=_),E())return e();var r=n.useForceUpdate||C,o=r(),i=Object(a["useRef"])(null);i.current||(i.current=new b["a"]("observer("+t+")",(function(){o()})));var u,l,c=function(){i.current&&!i.current.isDisposed&&(i.current.dispose(),i.current=null)};if(Object(a["useDebugValue"])(i,x),j((function(){c()})),i.current.track((function(){try{u=e()}catch(t){l=t}})),l)throw c(),l;return u}function T(e,t){if(E())return e;var n,r=O({forwardRef:!1},t),o=e.displayName||e.name,i=function(t,n){return A((function(){return e(t,n)}),o)};return i.displayName=o,n=r.forwardRef?Object(a["memo"])(Object(a["forwardRef"])(i)):Object(a["memo"])(i),M(e,n),n.displayName=o,n}var R={$$typeof:!0,render:!0,compare:!0,type:!0};function M(e,t){Object.keys(e).forEach((function(n){e.hasOwnProperty(n)&&!R[n]&&Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}function P(e){var t=e.children,n=e.render,r=t||n;return"function"!==typeof r?null:A(r)}function D(e,t,n,r,a){var o="children"===t?"render":"children",i="function"===typeof e[t],u="function"===typeof e[o];return i&&u?new Error("MobX Observer: Do not use children and render in the same time in`"+n):i||u?null:new Error("Invalid prop `"+a+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}P.propTypes={children:D,render:D},P.displayName="Observer";var N=Object(a["createContext"])({}),I=N,L=n("Ebyb"),B=n.n(L),F=n("401X");function U(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(F["a"])(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=0;return e.reduce(((e,a)=>(a._depth=t,a._parent=n,a._index=r,r+=1,[...e,a,...a.children&&!a.collapsed?z(a.children,t+1,a):[]])),[])}function Y(e){var t=0,n=0,r=[e];while(r.length>0){var a=r.shift();if(a){var o=a.translateX,i=void 0===o?0:o,u=a.width,l=void 0===u?0:u;if(0===t&&(t=i||0),i&&(t=Math.min(i,t),n=Math.max(i+l,n)),a.task.children&&a.task.children.length>0){var c,s=U(a.task.children);try{for(s.s();!(c=s.n()).done;){var f=c.value;f._bar&&r.push(f._bar)}}catch(d){s.e(d)}finally{s.f()}}}}return{translateX:t,width:n-t}}var W=(()=>{var e=0;return function(){return e++}})();function G(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=[],o=U(t);try{for(o.s();!(e=o.n()).done;){var i=e.value,u={key:W(),record:i,content:"",group:i.group,startDate:i[n]||"",endDate:i[r]||"",collapsed:i.collapsed||!1,children:G(i.children||[],n,r)};a.push(u)}}catch(l){o.e(l)}finally{o.f()}return a}n("2Vjj");var H=8,V=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.prefixCls,i=n.renderGroupBar,u=t.translateY,l=Y(t),c=l.translateX,s=l.width;return o.a.createElement("div",{role:"none",className:B()("".concat(r,"-group-bar")),style:{transform:"translate(".concat(c,"px, ").concat(u,"px)")}},o.a.createElement("div",null,o.a.createElement("div",{className:"".concat(r,"-bar")},i?i(t,{width:s,height:H}):o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:s+1,height:H+8,viewBox:"0 0 ".concat(s+1," ").concat(H+8)},o.a.createElement("path",{fill:t.record.background||"#7B809E",d:"\n M".concat(s-2,",0.5\n l-").concat(s-4,",0\n c-0.41421,0 -0.78921,0.16789 -1.06066,0.43934\n c-0.27145,0.27145 -0.43934,0.64645 -0.43934,1.06066\n l0,13.65\n l6,-7\n l").concat(s-12,",0\n l6,7\n l0,-13.65\n c-0.03256,-0.38255 -0.20896,-0.724 -0.47457,-0.97045\n c-0.26763,-0.24834 -0.62607,-0.40013 -1.01995,-0.40013z\n ")})))))},$=T(V),X=n("Vhn3"),q=n("/r+8"),K=n("vCPc"),Q=n("qkOA");class Z{constructor(e){var t=e.scroller,n=e.rate,r=void 0===n?5:n,a=e.space,o=void 0===a?50:a,i=e.onAutoScroll,u=e.reachEdge;this.rate=void 0,this.space=void 0,this.scroller=null,this.autoScrollPos=0,this.clientX=null,this.scrollTimer=null,this.onAutoScroll=void 0,this.reachEdge=void 0,this.handleDraggingMouseMove=e=>{this.clientX=e.clientX},this.handleScroll=e=>{this.reachEdge(e)||("left"===e?(this.autoScrollPos-=this.rate,this.onAutoScroll(-this.rate)):"right"===e&&(this.autoScrollPos+=this.rate,this.onAutoScroll(this.rate)))},this.start=()=>{this.autoScrollPos=0,document.addEventListener("mousemove",this.handleDraggingMouseMove);var e=()=>{var t,n;this.scroller&&null!==this.clientX&&(this.clientX+this.space>(null===(t=this.scroller)||void 0===t?void 0:t.getBoundingClientRect().right)?this.handleScroll("right"):this.clientX-this.space<(null===(n=this.scroller)||void 0===n?void 0:n.getBoundingClientRect().left)&&this.handleScroll("left"));this.scrollTimer=requestAnimationFrame(e)};this.scrollTimer=requestAnimationFrame(e)},this.stop=()=>{document.removeEventListener("mousemove",this.handleDraggingMouseMove),this.scrollTimer&&cancelAnimationFrame(this.scrollTimer)},this.scroller=t||null,this.rate=r,this.space=o,this.onAutoScroll=i,this.reachEdge=u}}var J=Z,ee=(e,t)=>Math.round(e/t)*t,te=e=>{var t=e.type,n=e.onBeforeResize,r=e.onResize,i=e.onResizeEnd,u=e.minWidth,l=void 0===u?0:u,s=e.grid,f=e.defaultSize,d=f.x,p=f.width,h=e.scroller,m=e.autoScroll,v=void 0===m||m,g=e.onAutoScroll,y=e.reachEdge,b=void 0===y?()=>!1:y,w=e.clickStart,E=void 0!==w&&w,O=e.children,k=e.disabled,x=void 0!==k&&k,S=Object(K["a"])(e,["type","onBeforeResize","onResize","onResizeEnd","minWidth","grid","defaultSize","scroller","autoScroll","onAutoScroll","reachEdge","clickStart","children","disabled"]),j=Object(a["useState"])(!1),C=Object(X["a"])(j,2),_=C[0],A=C[1],T=c((e=>{D(),g(e)})),R=Object(a["useMemo"])((()=>new J({scroller:h,onAutoScroll:T,reachEdge:b})),[T,h,b]),M=Object(a["useRef"])({clientX:0,width:p,x:d}),P=Object(a["useRef"])({clientX:0}),D=c((()=>{if(!x){var e=P.current.clientX-M.current.clientX+R.autoScrollPos;switch(t){case"left":var n=M.current.width-e;void 0!==l&&(n=Math.max(n,l)),s&&(n=ee(n,s));var a=n-M.current.width,o=M.current.x-a;r({width:n,x:o});break;case"right":var i=M.current.width+e;void 0!==l&&(i=Math.max(i,l)),s&&(i=ee(i,s));var u=M.current.x;r({width:i,x:u});break;case"move":var c=M.current.width,f=e;s&&(f=ee(e,s));var d=M.current.x+f;r({width:c,x:d});break}}})),N=c((e=>{x||(_||(A(!0),E||n&&n()),P.current.clientX=e.clientX,D())})),I=c((()=>{x||(R.stop(),window.removeEventListener("mousemove",N),window.removeEventListener("mouseup",I),_&&(A(!1),i&&i({x:M.current.x,width:M.current.width})))})),L=c((e=>{x||(e.stopPropagation(),v&&h&&R.start(),E&&(n&&n(),A(!0)),M.current.clientX=e.clientX,M.current.x=d,M.current.width=p,window.addEventListener("mousemove",N),window.addEventListener("mouseup",I))}));return o.a.createElement("div",Object(q["a"])({role:"none",onMouseDown:L},S),_&&Object(Q["createPortal"])(o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:x?"not-allowed":"col-resize"}}),document.body),O)},ne=T(te),re=(n("xytd"),8),ae=0,oe=e=>e,ie=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.prefixCls,u=n.renderInvalidBar,l=void 0===u?oe:u,s=Object(a["useRef"])(null),f=t.translateY,d=t.translateX,p=t.width,h=t.dateTextFormat,m=t.record,v=Object(a["useState"])(!1),g=Object(X["a"])(v,2),y=g[0],b=g[1],w=m||{},E=w.disabled,O=void 0!==E&&E,k=r.translateX,x=r.rowHeight,S=f,j="".concat(i,"-invalid-task-bar"),C=Object(a["useCallback"])((()=>{var e,n;"moving"!==t.stepGesture&&(ae=(null===(e=s.current)||void 0===e||null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.left)||0,b(!0))}),[t.stepGesture]),_=Object(a["useCallback"])((()=>{"moving"!==t.stepGesture&&(b(!1),r.handleInvalidBarLeave())}),[t.stepGesture,r]),A=Object(a["useCallback"])((e=>{if("moving"!==t.stepGesture){var n=k+(e.clientX-ae),a=r.startXRectBar(n),o=a.left,i=a.width;r.handleInvalidBarHover(t,o,Math.ceil(i))}}),[t,r,k]),T=()=>{r.handleInvalidBarDragStart(t)},R=Object(a["useCallback"])((e=>{var n=e.width,a=e.x;r.updateBarSize(t,{width:n,x:a})}),[t,r]),M=Object(a["useCallback"])((e=>{r.handleInvalidBarDragEnd(t,e)}),[t,r]),P=Object(a["useCallback"])((e=>{r.setTranslateX(r.translateX+e)}),[r]),D=c((e=>"left"===e&&r.translateX<=0));return O?null:o.a.createElement(ne,{onMouseMove:A,onMouseEnter:C,onMouseLeave:_,onResize:R,onResizeEnd:M,defaultSize:{x:d,width:p},minWidth:30,grid:30,type:"right",scroller:r.chartElementRef.current||void 0,onAutoScroll:P,reachEdge:D,onBeforeResize:T,clickStart:!0},o.a.createElement("div",{ref:s,className:j,style:{left:k,height:x,transform:"translateY(".concat(S-(x-re)/2,"px")}}),y&&l(o.a.createElement("div",{className:"".concat(j,"-block"),"aria-haspopup":"true","aria-expanded":"false",style:{left:d,width:Math.ceil(p),transform:"translateY(".concat(S,"px)"),backgroundColor:"#7B90FF",borderColor:"#7B90FF"}},o.a.createElement("div",{className:"".concat(j,"-date"),style:{right:Math.ceil(p+6)}},h(d)),o.a.createElement("div",{className:"".concat(j,"-date"),style:{left:Math.ceil(p+6)}},h(d+p-p/r.pxUnitAmp))),t))},ue=T(ie),le=n("0+H2"),ce=n.n(le),se=40,fe=56,de=8,pe=0,he=30,me=n("tGGB");function ve(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function ge(e,t,n,r,a){var o={};return Object.keys(r).forEach((function(e){o[e]=r[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),o),a&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(a):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}var ye,be,we,Ee,Oe,ke,xe,Se,je,Ce,_e,Ae,Te,Re,Me,Pe,De,Ne,Ie,Le,Be,Fe,Ue,ze,Ye,We,Ge,He,Ve,$e,Xe,qe,Ke,Qe,Ze,Je,et,tt,nt,rt,at,ot,it,ut,lt,ct,st,ft,dt,pt,ht,mt,vt,gt,yt,bt,wt,Et,Ot,kt,xt,St,jt,Ct,_t,At,Tt,Rt,Mt,Pt,Dt,Nt,It,Lt,Bt,Ft,Ut,zt,Yt,Wt,Gt,Ht,Vt,$t,Xt,qt,Kt,Qt,Zt,Jt,en,tn,nn,rn,an,on,un,ln,cn,sn,fn,dn,pn,hn,mn,vn,gn,yn=n("NUIj"),bn=n.n(yn),wn=n("Qcf6"),En=n.n(wn),On=n("aEZQ"),kn=n.n(On),xn=n("OChd"),Sn=n.n(xn),jn=n("/6W8"),Cn=n.n(jn),_n=n("2xkX"),An=n.n(_n),Tn=n("cwkm"),Rn=n.n(Tn),Mn=n("jMzh"),Pn=n.n(Mn),Dn=n("k+Mg"),Nn=n.n(Dn),In=n("Z5y8"),Ln=n.n(In);(function(e){var t;(function(e){e[e["day"]=2880]="day",e[e["week"]=3600]="week",e[e["month"]=14400]="month",e[e["quarter"]=86400]="quarter",e[e["halfYear"]=115200]="halfYear"})(t||(t={})),e.ESightValues=t})(ye||(ye={})),ce.a.extend(An.a),ce.a.extend(Rn.a),ce.a.extend(Cn.a),ce.a.extend(En.a),ce.a.extend(kn.a),ce.a.extend(Sn.a);var Bn=864e5,Fn=e=>[{type:"day",label:e.day,value:ye.ESightValues.day},{type:"week",label:e.week,value:ye.ESightValues.week},{type:"month",label:e.month,value:ye.ESightValues.month},{type:"quarter",label:e.quarter,value:ye.ESightValues.quarter},{type:"halfYear",label:e.halfYear,value:ye.ESightValues.halfYear}];function Un(e){var t=[0,6];return t.includes(ce()(e).weekday())}var zn=(be=Reflect.metadata("design:type",Array),we=Reflect.metadata("design:type",Array),Ee=Reflect.metadata("design:type",Array),Oe=Reflect.metadata("design:type",Array),ke=Reflect.metadata("design:type",Number),xe=Reflect.metadata("design:type",Number),Se=Reflect.metadata("design:type",Number),je=Reflect.metadata("design:type",Number),Ce=Reflect.metadata("design:type",Number),_e=Reflect.metadata("design:type",Number),Ae=Reflect.metadata("design:type","undefined"===typeof ye.SightConfig?Object:ye.SightConfig),Te=Reflect.metadata("design:type","undefined"===typeof ye.Bar?Object:ye.Bar),Re=Reflect.metadata("design:type","undefined"===typeof ye.MoveType?Object:ye.MoveType),Me=Reflect.metadata("design:type",Function),Pe=Reflect.metadata("design:paramtypes",[Array,String,String]),De=Reflect.metadata("design:type",Function),Ne=Reflect.metadata("design:paramtypes",[]),Ie=Reflect.metadata("design:type",Function),Le=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Item?Object:ye.Item,Boolean]),Be=Reflect.metadata("design:type",Function),Fe=Reflect.metadata("design:paramtypes",[Object]),Ue=Reflect.metadata("design:type",Function),ze=Reflect.metadata("design:paramtypes",[Array]),Ye=Reflect.metadata("design:type",Function),We=Reflect.metadata("design:paramtypes",[Array]),Ge=Reflect.metadata("design:type",Function),He=Reflect.metadata("design:paramtypes",[void 0]),Ve=Reflect.metadata("design:type",Function),$e=Reflect.metadata("design:paramtypes",[Number]),Xe=Reflect.metadata("design:type",Function),qe=Reflect.metadata("design:paramtypes",[]),Ke=Reflect.metadata("design:type",Function),Qe=Reflect.metadata("design:paramtypes",[Object]),Ze=Reflect.metadata("design:type",Function),Je=Reflect.metadata("design:paramtypes",[Number]),et=Reflect.metadata("design:type",Function),tt=Reflect.metadata("design:paramtypes",[]),nt=Reflect.metadata("design:type",Function),rt=Reflect.metadata("design:paramtypes",[Number]),at=Reflect.metadata("design:type",Function),ot=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Sight?Object:ye.Sight]),it=Reflect.metadata("design:type",Function),ut=Reflect.metadata("design:paramtypes",[]),lt=Reflect.metadata("design:type",Function),ct=Reflect.metadata("design:paramtypes",[]),st=Reflect.metadata("design:type",Function),ft=Reflect.metadata("design:paramtypes",[]),dt=Reflect.metadata("design:type",Function),pt=Reflect.metadata("design:paramtypes",[]),ht=Reflect.metadata("design:type",Function),mt=Reflect.metadata("design:paramtypes",[]),vt=Reflect.metadata("design:type",Function),gt=Reflect.metadata("design:paramtypes",[]),yt=Reflect.metadata("design:type",Function),bt=Reflect.metadata("design:paramtypes",[]),wt=Reflect.metadata("design:type",Function),Et=Reflect.metadata("design:paramtypes",[]),Ot=Reflect.metadata("design:type",Function),kt=Reflect.metadata("design:paramtypes",[]),xt=Reflect.metadata("design:type",Function),St=Reflect.metadata("design:paramtypes",[]),jt=Reflect.metadata("design:type",Function),Ct=Reflect.metadata("design:paramtypes",[]),_t=Reflect.metadata("design:type",Function),At=Reflect.metadata("design:paramtypes",[]),Tt=Reflect.metadata("design:type",Function),Rt=Reflect.metadata("design:paramtypes",[]),Mt=Reflect.metadata("design:type",Function),Pt=Reflect.metadata("design:paramtypes",["undefined"===typeof MouseEvent?Object:MouseEvent]),Dt=Reflect.metadata("design:type",Function),Nt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,"undefined"===typeof ye.MoveType?Object:ye.MoveType]),It=Reflect.metadata("design:type",Function),Lt=Reflect.metadata("design:paramtypes",[]),Bt=Reflect.metadata("design:type",Function),Ft=Reflect.metadata("design:paramtypes",[]),Ut=Reflect.metadata("design:type",Function),zt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Number,Number]),Yt=Reflect.metadata("design:type",Function),Wt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar]),Gt=Reflect.metadata("design:type",Function),Ht=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object]),Vt=Reflect.metadata("design:type",Function),$t=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object]),Xt=Reflect.metadata("design:type",Function),qt=Reflect.metadata("design:paramtypes",["undefined"===typeof ye.Bar?Object:ye.Bar,Object,String]),Kt=class{constructor(e){var t=e.rowHeight,n=e.disabled,o=void 0!==n&&n,i=e.customSights,u=e.locale;this.locale=Object(r["a"])({},Wr),this._wheelTimer=void 0,this.scrollTimer=void 0,ve(this,"data",Qt,this),ve(this,"originData",Zt,this),ve(this,"columns",Jt,this),ve(this,"dependencies",en,this),ve(this,"scrolling",tn,this),ve(this,"scrollTop",nn,this),ve(this,"collapse",rn,this),ve(this,"tableWidth",an,this),ve(this,"viewWidth",on,this),ve(this,"width",un,this),ve(this,"height",ln,this),ve(this,"bodyWidth",cn,this),ve(this,"translateX",sn,this),ve(this,"sightConfig",fn,this),ve(this,"showSelectionIndicator",dn,this),ve(this,"selectionIndicatorTop",pn,this),ve(this,"dragging",hn,this),ve(this,"draggingType",mn,this),ve(this,"disabled",vn,this),this.viewTypeList=Fn(this.locale),this.gestureKeyPress=!1,this.mainElementRef=Object(a["createRef"])(),this.chartElementRef=Object(a["createRef"])(),this.isPointerPress=!1,this.startDateKey="startDate",this.endDateKey="endDate",this.autoScrollPos=0,this.clientX=0,this.rowHeight=void 0,this.onUpdate=()=>Promise.resolve(!0),this.isRestDay=Un,this.getWidthByDate=(e,t)=>(t.valueOf()-e.valueOf())/this.pxUnitAmp,this.startXRectBar=e=>{var t=ce()(e*this.pxUnitAmp),n=()=>{var e=t.startOf("day"),n=t.endOf("day"),r=e/this.pxUnitAmp,a=(n-e)/this.pxUnitAmp;return{left:r,width:a}},r=()=>{0===t.weekday()&&(t=t.add(-1,"week"));var e=t.weekday(1).startOf("day").valueOf()/this.pxUnitAmp,n=604799e3/this.pxUnitAmp;return{left:e,width:n}},a=()=>{var e=t.startOf("month").valueOf(),n=t.endOf("month").valueOf(),r=e/this.pxUnitAmp,a=(n-e)/this.pxUnitAmp;return{left:r,width:a}},o={day:n,week:r,month:r,quarter:a,halfYear:a};return o[this.sightConfig.type]()},ve(this,"handleWheel",gn,this),this.handleScroll=e=>{var t=e.currentTarget.scrollTop;this.scrollY(t)},this.scrollY=Ln()((e=>{this.scrollTop=e}),100),this.handleMouseMove=Pn()((e=>{this.isPointerPress||this.showSelectionBar(e)}),5),this.getHovered=e=>{var t=e-e%this.rowHeight;return this.selectionIndicatorTop>=t&&this.selectionIndicatorTop<=t+this.rowHeight},this.width=1320,this.height=418,this.viewTypeList=i.length?i:Fn(u);var l=i.length?i[0]:Fn(u)[0],c=ce()(this.getStartDate()).valueOf()/(1e3*l.value),s=this.width,f=704,d=500;this.viewWidth=f,this.tableWidth=d,this.translateX=c,this.sightConfig=l,this.bodyWidth=s,this.rowHeight=t,this.disabled=o,this.locale=u}getStartDate(){return ce()().subtract(10,"day").toString()}setIsRestDay(e){this.isRestDay=e||Un}setData(e,t,n){this.startDateKey=t,this.endDateKey=n,this.originData=e,this.data=G(e,t,n)}toggleCollapse(){this.tableWidth>0?(this.tableWidth=0,this.viewWidth=this.width-this.tableWidth):this.initWidth()}setRowCollapse(e,t){e.collapsed=t}setOnUpdate(e){this.onUpdate=e}setColumns(e){this.columns=e}setDependencies(e){this.dependencies=e}setHideTable(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?(this.tableWidth=0,this.viewWidth=this.width-this.tableWidth):this.initWidth()}handlePanMove(e){this.scrolling=!0,this.setTranslateX(e)}handlePanEnd(){this.scrolling=!1}syncSize(e){if(e.height&&e.width){var t=e.width,n=e.height;this.height!==n&&(this.height=n),this.width!==t&&(this.width=t,this.initWidth())}}handleResizeTableWidth(e){var t=this.columns.filter((e=>e.width>0));this.columns.length!==t.length&&(this.tableWidth=e,this.viewWidth=this.width-this.tableWidth)}initWidth(){this.tableWidth=this.totalColumnWidth||250,this.viewWidth=this.width-this.tableWidth,this.viewWidth<200&&(this.viewWidth=200,this.tableWidth=this.width-this.viewWidth)}setTranslateX(e){this.translateX=Math.max(e,0)}switchSight(e){var t=Nn()(this.viewTypeList,{type:e});t&&(this.sightConfig=t,this.setTranslateX(ce()(this.getStartDate()).valueOf()/(1e3*t.value)))}scrollToToday(){var e=this.todayTranslateX-this.viewWidth/2;this.setTranslateX(e)}getTranslateXByDate(e){return ce()(e).startOf("day").valueOf()/this.pxUnitAmp}get todayTranslateX(){return ce()().startOf("day").valueOf()/this.pxUnitAmp}get scrollBarWidth(){var e=30;return Math.max(this.viewWidth/this.scrollWidth*160,e)}get scrollLeft(){var e=this.viewWidth/this.scrollWidth,t=ce()(this.translateAmp).toString(),n=(this.viewWidth-this.scrollBarWidth)/2,r=n+e*(this.getTranslateXByDate(t)-this.getTranslateXByDate(this.getStartDate()));return Math.min(Math.max(r,0),this.viewWidth-this.scrollBarWidth)}get scrollWidth(){var e=this.viewWidth+200;return Math.max(Math.abs(this.viewWidth+this.translateX-this.getTranslateXByDate(this.getStartDate())),e)}get bodyClientHeight(){return this.height-fe-1}get getColumnsWidth(){var e;if(1===this.columns.length&&(null===(e=this.columns[0])||void 0===e?void 0:e.width)<200)return[200];var t=this.columns.reduce(((e,t)=>e+(t.width||0)),0),n=this.columns.reduce(((e,t)=>e+(t.width?0:t.flex||1)),0),r=this.tableWidth-t;return this.columns.map((e=>e.width?e.width:e.flex?r*(e.flex/n):r*(1/n)))}get totalColumnWidth(){return this.getColumnsWidth.reduce(((e,t)=>e+(t||0)),0)}get bodyScrollHeight(){var e=this.getBarList.length*this.rowHeight+pe;return e"day"===r||"week"===r?e.add(1,"month"):e.add(1,"year"),i=e=>"day"===r||"week"===r?e.startOf("month"):e.startOf("year"),u=e=>"day"===r||"week"===r?e.endOf("month"):e.endOf("year"),l=ce()(t),c=[];while(l.isBetween(t-1,n+1)){var s=l.format(a),f=l,d=u(f);c.length>0&&(f=i(l)),c.push({label:s,startDate:f,endDate:d}),f=i(l),l=o(f)}return this.majorAmp2Px(c)}majorAmp2Px(e){var t=this.pxUnitAmp;return e.map((e=>{var n=e.startDate,r=e.endDate,a=e.label,o=n.valueOf()/t,i=(r.valueOf()-n.valueOf())/t;return{label:a,left:o,width:i,key:n.format("YYYY-MM-DD HH:mm:ss")}}))}getMinorList(){var e={day:this.locale.minorFormat.day,week:this.locale.minorFormat.week,month:this.locale.minorFormat.month,quarter:this.locale.minorFormat.quarter,halfYear:this.locale.minorFormat.halfYear},t=new Set([0,1,2,3,4,5]),n=this.translateAmp,r=n+this.getDurationAmp(),a=e[this.sightConfig.type],o=e=>{var t={day(){return e.add(1,"day")},week(){return e.add(1,"week")},month(){return e.add(1,"month")},quarter(){return e.add(1,"quarter")},halfYear(){return e.add(6,"month")}};return t[this.sightConfig.type]()},i=e=>{var n={day(){return e.startOf("day")},week(){return e.weekday(1).hour(0).minute(0).second(0)},month(){return e.startOf("month")},quarter(){return e.startOf("quarter")},halfYear(){return t.has(e.month())?e.month(0).startOf("month"):e.month(6).startOf("month")}};return n[this.sightConfig.type]()},u=e=>{var n={day(){return e.endOf("day")},week(){return e.weekday(7).hour(23).minute(59).second(59)},month(){return e.endOf("month")},quarter(){return e.endOf("quarter")},halfYear(){return t.has(e.month())?e.month(5).endOf("month"):e.month(11).endOf("month")}};return n[this.sightConfig.type]()},l=e=>"halfYear"===this.sightConfig.type?e.format(a)+(t.has(e.month())?this.locale.firstHalf:this.locale.secondHalf):e.format(a),c=ce()(n),s=[];while(c.isBetween(n-1,r+1)){var f=l(c),d=i(c),p=u(d);s.push({label:f.split("-").pop(),startDate:d,endDate:p}),c=o(d)}return this.minorAmp2Px(s)}minorAmp2Px(e){var t=this.pxUnitAmp;return e.map((e=>{var n=e.startDate,r=e.endDate,a=e.label,o=n.valueOf()/t,i=(r.valueOf()-n.valueOf())/t,u=!1;return"day"===this.sightConfig.type&&(u=this.isRestDay(n.toString())),{label:a,left:o,width:i,isWeek:u,key:n.format("YYYY-MM-DD HH:mm:ss")}}))}getTaskBarThumbVisible(e){var t=e.width,n=e.translateX,r=e.invalidDateRange;if(r)return!1;var a=this.translateX+this.viewWidth;return n+t0}scrollToBar(e,t){var n=e.translateX,r=e.width,a=this.translateX+this.viewWidth/2,o=n+r,i=Math.abs(o-a),u=this.translateX+i;"left"===t&&(u=this.translateX-i),this.setTranslateX(u)}get getBarList(){var e=this.pxUnitAmp,t=this.data,n=11*e,a=8,o=pe+this.rowHeight/2-a/2,i=this.rowHeight,u=t=>ce()(t*e).format("YYYY-MM-DD"),l=(t,n)=>{var r=ce()(t*e),a=ce()(n*e);return"".concat(r.diff(a,"day")+1)},c=z(t),s=c.map(((t,a)=>{var c=t.startDate&&t.endDate,s=ce()(t.startDate||0).startOf("day").valueOf(),f=ce()(t.endDate||0).endOf("day").valueOf();Math.abs(f-s)pe)this.showSelectionIndicator=!1;else{var l=Math.floor((u-pe)/this.rowHeight)*this.rowHeight+pe;this.showSelectionIndicator=!0,this.selectionIndicatorTop=l}}handleDragStart(e,t){this.dragging=e,this.draggingType=t,e.stepGesture="start",this.isPointerPress=!0}handleDragEnd(){this.dragging&&(this.dragging.stepGesture="end",this.dragging=null),this.draggingType=null,this.isPointerPress=!1}handleInvalidBarLeave(){this.handleDragEnd()}handleInvalidBarHover(e,t,n){e.translateX=t,e.width=n,this.handleDragStart(e,"create")}handleInvalidBarDragStart(e){e.stepGesture="moving"}handleInvalidBarDragEnd(e,t){e.invalidDateRange=!1,this.handleDragEnd(),this.updateTaskDate(e,t,"create")}updateBarSize(e,t){var n=t.width,r=t.x;e.width=n,e.translateX=Math.max(r,0),e.stepGesture="moving"}getMovedDay(e){return Math.round(e/Bn)}updateTaskDate(e,t,n){var r=this;return Object(me["a"])(bn.a.mark((function a(){var o,i,u,l,c,s,f,d,p,h,m,v;return bn.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(o=e.translateX,i=e.width,u=e.task,l=e.record,c=e.task.startDate,s=e.task.endDate,f=c,d=s,"move"===n?(p=r.getMovedDay((o-t.x)*r.pxUnitAmp),f=ce()(c).add(p,"day").format("YYYY-MM-DD HH:mm:ss"),d=ce()(s).add(p,"day").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")):"left"===n?(h=r.getMovedDay((o-t.x)*r.pxUnitAmp),f=ce()(c).add(h,"day").format("YYYY-MM-DD HH:mm:ss")):"right"===n?(m=r.getMovedDay((i-t.width)*r.pxUnitAmp),d=ce()(s).add(m,"day").hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")):"create"===n&&(f=ce()(o*r.pxUnitAmp).format("YYYY-MM-DD HH:mm:ss"),d=ce()((o+i)*r.pxUnitAmp).subtract(1).hour(23).minute(59).second(59).format("YYYY-MM-DD HH:mm:ss")),f!==c||d!==s){a.next=8;break}return a.abrupt("return");case 8:return Object(b["g"])((()=>{e.loading=!0})),a.next=11,r.onUpdate(Object(b["i"])(l),f,d);case 11:v=a.sent,v?Object(b["g"])((()=>{u.startDate=f,u.endDate=d})):(e.width=t.width,e.translateX=t.x);case 13:case"end":return a.stop()}}),a)})))()}isToday(e){var t=ce()().format("YYYY-MM-DD"),n=ce()(e).format("YYYY-MM-DD");return n===t}},Qt=ge(Kt.prototype,"data",[b["f"],be],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Zt=ge(Kt.prototype,"originData",[b["f"],we],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Jt=ge(Kt.prototype,"columns",[b["f"],Ee],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),en=ge(Kt.prototype,"dependencies",[b["f"],Oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),tn=ge(Kt.prototype,"scrolling",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),nn=ge(Kt.prototype,"scrollTop",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),rn=ge(Kt.prototype,"collapse",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),an=ge(Kt.prototype,"tableWidth",[b["f"],ke],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),on=ge(Kt.prototype,"viewWidth",[b["f"],xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),un=ge(Kt.prototype,"width",[b["f"],Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ln=ge(Kt.prototype,"height",[b["f"],je],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),cn=ge(Kt.prototype,"bodyWidth",[b["f"],Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),sn=ge(Kt.prototype,"translateX",[b["f"],_e],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fn=ge(Kt.prototype,"sightConfig",[b["f"],Ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dn=ge(Kt.prototype,"showSelectionIndicator",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pn=ge(Kt.prototype,"selectionIndicatorTop",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),hn=ge(Kt.prototype,"dragging",[b["f"],Te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mn=ge(Kt.prototype,"draggingType",[b["f"],Re],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vn=ge(Kt.prototype,"disabled",[b["f"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ge(Kt.prototype,"setData",[b["b"],Me,Pe],Object.getOwnPropertyDescriptor(Kt.prototype,"setData"),Kt.prototype),ge(Kt.prototype,"toggleCollapse",[b["b"],De,Ne],Object.getOwnPropertyDescriptor(Kt.prototype,"toggleCollapse"),Kt.prototype),ge(Kt.prototype,"setRowCollapse",[b["b"],Ie,Le],Object.getOwnPropertyDescriptor(Kt.prototype,"setRowCollapse"),Kt.prototype),ge(Kt.prototype,"setOnUpdate",[b["b"],Be,Fe],Object.getOwnPropertyDescriptor(Kt.prototype,"setOnUpdate"),Kt.prototype),ge(Kt.prototype,"setColumns",[b["b"],Ue,ze],Object.getOwnPropertyDescriptor(Kt.prototype,"setColumns"),Kt.prototype),ge(Kt.prototype,"setDependencies",[b["b"],Ye,We],Object.getOwnPropertyDescriptor(Kt.prototype,"setDependencies"),Kt.prototype),ge(Kt.prototype,"setHideTable",[b["b"],Ge,He],Object.getOwnPropertyDescriptor(Kt.prototype,"setHideTable"),Kt.prototype),ge(Kt.prototype,"handlePanMove",[b["b"],Ve,$e],Object.getOwnPropertyDescriptor(Kt.prototype,"handlePanMove"),Kt.prototype),ge(Kt.prototype,"handlePanEnd",[b["b"],Xe,qe],Object.getOwnPropertyDescriptor(Kt.prototype,"handlePanEnd"),Kt.prototype),ge(Kt.prototype,"syncSize",[b["b"],Ke,Qe],Object.getOwnPropertyDescriptor(Kt.prototype,"syncSize"),Kt.prototype),ge(Kt.prototype,"handleResizeTableWidth",[b["b"],Ze,Je],Object.getOwnPropertyDescriptor(Kt.prototype,"handleResizeTableWidth"),Kt.prototype),ge(Kt.prototype,"initWidth",[b["b"],et,tt],Object.getOwnPropertyDescriptor(Kt.prototype,"initWidth"),Kt.prototype),ge(Kt.prototype,"setTranslateX",[b["b"],nt,rt],Object.getOwnPropertyDescriptor(Kt.prototype,"setTranslateX"),Kt.prototype),ge(Kt.prototype,"switchSight",[b["b"],at,ot],Object.getOwnPropertyDescriptor(Kt.prototype,"switchSight"),Kt.prototype),ge(Kt.prototype,"scrollToToday",[b["b"],it,ut],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollToToday"),Kt.prototype),ge(Kt.prototype,"todayTranslateX",[b["c"],lt,ct],Object.getOwnPropertyDescriptor(Kt.prototype,"todayTranslateX"),Kt.prototype),ge(Kt.prototype,"scrollBarWidth",[b["c"],st,ft],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollBarWidth"),Kt.prototype),ge(Kt.prototype,"scrollLeft",[b["c"],dt,pt],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollLeft"),Kt.prototype),ge(Kt.prototype,"scrollWidth",[b["c"],ht,mt],Object.getOwnPropertyDescriptor(Kt.prototype,"scrollWidth"),Kt.prototype),ge(Kt.prototype,"bodyClientHeight",[b["c"],vt,gt],Object.getOwnPropertyDescriptor(Kt.prototype,"bodyClientHeight"),Kt.prototype),ge(Kt.prototype,"getColumnsWidth",[b["c"],yt,bt],Object.getOwnPropertyDescriptor(Kt.prototype,"getColumnsWidth"),Kt.prototype),ge(Kt.prototype,"totalColumnWidth",[b["c"],wt,Et],Object.getOwnPropertyDescriptor(Kt.prototype,"totalColumnWidth"),Kt.prototype),ge(Kt.prototype,"bodyScrollHeight",[b["c"],Ot,kt],Object.getOwnPropertyDescriptor(Kt.prototype,"bodyScrollHeight"),Kt.prototype),ge(Kt.prototype,"pxUnitAmp",[b["c"],xt,St],Object.getOwnPropertyDescriptor(Kt.prototype,"pxUnitAmp"),Kt.prototype),ge(Kt.prototype,"translateAmp",[b["c"],jt,Ct],Object.getOwnPropertyDescriptor(Kt.prototype,"translateAmp"),Kt.prototype),ge(Kt.prototype,"getBarList",[b["c"],_t,At],Object.getOwnPropertyDescriptor(Kt.prototype,"getBarList"),Kt.prototype),gn=ge(Kt.prototype,"handleWheel",[b["b"]],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return e=>{0!==e.deltaX&&(e.preventDefault(),e.stopPropagation()),this._wheelTimer&&clearTimeout(this._wheelTimer),Math.abs(e.deltaX)>0&&(this.scrolling=!0,this.setTranslateX(this.translateX+e.deltaX)),this._wheelTimer=window.setTimeout((()=>{this.scrolling=!1}),100)}}}),ge(Kt.prototype,"getVisibleRows",[b["c"],Tt,Rt],Object.getOwnPropertyDescriptor(Kt.prototype,"getVisibleRows"),Kt.prototype),ge(Kt.prototype,"showSelectionBar",[b["b"],Mt,Pt],Object.getOwnPropertyDescriptor(Kt.prototype,"showSelectionBar"),Kt.prototype),ge(Kt.prototype,"handleDragStart",[b["b"],Dt,Nt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleDragStart"),Kt.prototype),ge(Kt.prototype,"handleDragEnd",[b["b"],It,Lt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleDragEnd"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarLeave",[b["b"],Bt,Ft],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarLeave"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarHover",[b["b"],Ut,zt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarHover"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarDragStart",[b["b"],Yt,Wt],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarDragStart"),Kt.prototype),ge(Kt.prototype,"handleInvalidBarDragEnd",[b["b"],Gt,Ht],Object.getOwnPropertyDescriptor(Kt.prototype,"handleInvalidBarDragEnd"),Kt.prototype),ge(Kt.prototype,"updateBarSize",[b["b"],Vt,$t],Object.getOwnPropertyDescriptor(Kt.prototype,"updateBarSize"),Kt.prototype),ge(Kt.prototype,"updateTaskDate",[b["b"],Xt,qt],Object.getOwnPropertyDescriptor(Kt.prototype,"updateTaskDate"),Kt.prototype),Kt),Yn=zn,Wn=(n("mP0f"),e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.getBarColor,u=n.renderBar,l=n.onBarClick,s=n.prefixCls,f=n.barHeight,d=n.alwaysShowTaskBar,p=n.renderLeftText,h=n.renderRightText,m=t.width,v=t.translateX,g=t.translateY,y=t.invalidDateRange,b=t.stepGesture,w=t.dateTextFormat,E=t.record,O=t.loading,k=t.getDateWidth,x=E||{},S=x.disabled,j=void 0!==S&&S,C="".concat(s,"-task-bar"),_=r.selectionIndicatorTop,A=r.showSelectionIndicator,T=r.rowHeight,R=r.locale,M=Object(a["useMemo"])((()=>{if(!A)return!1;var e=pe+T/2-f/2;return _===g-e}),[A,_,g,T,f]),P=Object(a["useMemo"])((()=>v+m>=ce()().valueOf()/r.pxUnitAmp?["#95DDFF","#64C7FE"]:["#FD998F","#F96B5D"]),[r.pxUnitAmp,v,m]),D=e=>()=>{j||r.handleDragStart(t,e)},N=Object(a["useCallback"])((e=>{var n=e.width,a=e.x;j||r.updateBarSize(t,{width:n,x:a})}),[t,r,j]),L=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"left")}),[t,r]),F=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"right")}),[t,r]),U=Object(a["useCallback"])((e=>{r.handleDragEnd(),r.updateTaskDate(t,e,"move")}),[t,r]),z=Object(a["useCallback"])((e=>{r.setTranslateX(r.translateX+e)}),[r]),Y=M&&!O,W=Object(a["useCallback"])((e=>{e.stopPropagation(),l&&l(t.record)}),[t.record,l]),G=c((e=>"left"===e&&r.translateX<=0)),H=Object(a["useMemo"])((()=>Bn/r.pxUnitAmp),[r.pxUnitAmp]),V=-m/r.pxUnitAmp,$=Object(a["useMemo"])((()=>{var e=Number(k(v+m+V,v));return"".concat(e," ").concat(e>1?R.days:R.day)}),[v,m,V,v]);return o.a.createElement("div",{role:"none",className:B()(C,{["".concat(C,"-invalid-date-range")]:y,["".concat(C,"-overdue")]:!y}),style:{transform:"translate(".concat(v,"px, ").concat(g,"px)")},onClick:W},O&&o.a.createElement("div",{className:"".concat(C,"-loading")}),o.a.createElement("div",null,Y&&o.a.createElement(o.a.Fragment,null,o.a.createElement(ne,{className:B()("".concat(C,"-resize-handle"),"".concat(C,"-resize-handle-left"),{["".concat(C,"-resize-handle-disabled")]:j}),style:{left:-14},onResize:N,onResizeEnd:L,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"left",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("left"),disabled:j}),o.a.createElement(ne,{className:B()("".concat(C,"-resize-handle"),"".concat(C,"-resize-handle-right"),{["".concat(C,"-resize-handle-disabled")]:j}),style:{left:m+1},onResize:N,onResizeEnd:F,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"right",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("right"),disabled:j}),o.a.createElement("div",{className:B()("".concat(C,"-resize-bg"),"".concat(C,"-resize-bg-compact")),style:{width:m+30,left:-14}})),o.a.createElement(ne,{className:"".concat(C,"-bar"),onResize:N,onResizeEnd:U,defaultSize:{x:v,width:m},minWidth:30,grid:H,type:"move",scroller:r.chartElementRef.current||void 0,onAutoScroll:z,reachEdge:G,onBeforeResize:D("move")},u?u(t,{width:m+1,height:f+1}):o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:m+1,height:f+1,viewBox:"0 0 ".concat(m+1," ").concat(f+1)},o.a.createElement("path",{fill:E.backgroundColor||i&&i(E).backgroundColor||P[0],stroke:E.borderColor||i&&i(E).borderColor||P[1],d:"\n M".concat(m-2,",0.5\n l-").concat(m-5,",0\n c-0.41421,0 -0.78921,0.16789 -1.06066,0.43934\n c-0.27145,0.27145 -0.43934,0.64645 -0.43934,1.06066\n l0,5.3\n\n c0.03256,0.38255 0.20896,0.724 0.47457,0.97045\n c0.26763,0.24834 0.62607,0.40013 1.01995,0.40013\n l4,0\n\n l").concat(m-12,",0\n\n l4,0\n c0.41421,0 0.78921,-0.16789 1.06066,-0.43934\n c0.27145,-0.27145 0.43934,-0.64645 0.43934,-1.06066\n\n l0,-5.3\n c-0.03256,-0.38255 -0.20896,-0.724 -0.47457,-0.97045\n c-0.26763,-0.24834 -0.62607,-0.40013 -1.01995,-0.40013z\n ")})))),(Y||j||d)&&o.a.createElement("div",{className:"".concat(C,"-label"),style:{left:m/2-10}},$),("moving"===b||Y||d)&&o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"".concat(C,"-date-text"),style:{left:m+16}},h?h(t):w(v+m+V)),o.a.createElement("div",{className:"".concat(C,"-date-text"),style:{right:16}},p?p(t):w(v))))}),Gn=T(Wn),Hn=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.getBarList,r=t.getVisibleRows,i=r.count,u=r.start;return o.a.createElement(o.a.Fragment,null,n.slice(u,u+i).map((e=>e._group?o.a.createElement($,{key:e.key,data:e}):e.invalidDateRange?o.a.createElement(ue,{key:e.key,data:e}):o.a.createElement(Gn,{key:e.key,data:e}))))},Vn=T(Hn),$n=(n("cxb8"),e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.renderBarThumb,u=n.prefixCls,l=n.getBarColor,c="".concat(u,"-task-bar-thumb"),s=r.translateX,f=r.viewWidth,d=t.translateX,p=t.translateY,h=t.label,m=t.record,v=Object(a["useMemo"])((()=>{var e=s+f;return d-e>0?"right":"left"}),[d,s,f]),g=Object(a["useMemo"])((()=>"right"===v?s+f-5:s+2),[v,s,f]),y=Object(a["useCallback"])((e=>{e.stopPropagation(),r.scrollToBar(t,v)}),[t,r,v]),b=Object(a["useMemo"])((()=>m.backgroundColor||l&&l(m).backgroundColor),[m]);return o.a.createElement("div",{role:"none",className:B()(c,{["".concat(c,"-left")]:"left"===v,["".concat(c,"-right")]:"right"===v}),style:{left:g,top:p-5},onClick:y},"left"===v&&o.a.createElement("div",{className:"".concat(c,"-circle-left"),style:{backgroundColor:b}}),i?i(t.record,v):h,"right"===v&&o.a.createElement("div",{className:"".concat(c,"-circle-right"),style:{backgroundColor:b}}))}),Xn=T($n),qn=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.getBarList,r=t.getVisibleRows,i=r.count,u=r.start;return o.a.createElement(o.a.Fragment,null,n.slice(u,u+i).map((e=>t.getTaskBarThumbVisible(e)?o.a.createElement(Xn,{data:e,key:e.key}):null)))},Kn=T(qn),Qn=n("MhuM"),Zn=n.n(Qn),Jn=10,er=10;function tr(e,t,n){var r=e.x,a=e.y,o=t.x,i=t.y,u="finish_finish"===n||"start_start"===n;return u?"start_start"===n?[{x:Math.min(r-Jn,o-Jn),y:a},{x:Math.min(r-Jn,o-Jn),y:i}]:[{x:Math.max(r+Jn,o+Jn),y:a},{x:Math.max(r+Jn,o+Jn),y:i}]:[{x:"finish_start"===n?r+Jn:r-Jn,y:a},{x:"finish_start"===n?r+Jn:r-Jn,y:i-er},{x:"finish_start"===n?o-Jn:o+Jn,y:i-er},{x:"finish_start"===n?o-Jn:o+Jn,y:i}]}var nr=e=>{var t=e.data,n=Object(a["useContext"])(I),r=n.store,i=n.barHeight,u=t.from,l=t.to,c=t.type,s=t.color,f=void 0===s?"#f87872":s,d=r.getBarList,p=Nn()(d,(e=>e.record.id===u)),h=Nn()(d,(e=>e.record.id===l));if(!p||!h)return null;var m=i/2,v=(()=>[{x:"finish_finish"===c||"finish_start"===c?p.translateX+p.width:p.translateX,y:p.translateY+m},{x:"finish_finish"===c||"start_finish"===c?h.translateX+h.width:h.translateX,y:h.translateY+m}])(),g=Object(X["a"])(v,2),y=g[0],b=g[1],w=[...tr(y,b,c),b],E="start_finish"===c||"finish_finish"===c?-1:1;return o.a.createElement("g",{stroke:f,className:Zn.a["task-dependency-line"]},o.a.createElement("path",{style:{stroke:f},d:"\n M".concat(y.x,",").concat(y.y,"\n ").concat(w.map((e=>"L".concat(e.x,",").concat(e.y))).join("\n"),"\n L").concat(b.x,",").concat(b.y,"\n "),strokeWidth:"1",fill:"none"}),o.a.createElement("path",{name:"arrow",strokeWidth:"1",fill:f,d:"\n M".concat(b.x,",").concat(b.y," \n L").concat(b.x-4*E,",").concat(b.y-3*E," \n L").concat(b.x-4*E,",").concat(b.y+3*E," \n Z")}))},rr=T(nr),ar=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.dependencies;return o.a.createElement(o.a.Fragment,null,n.map((e=>o.a.createElement(rr,{key:JSON.stringify(e),data:e}))))},or=T(ar),ir=()=>{var e=Object(a["useContext"])(I),t=e.store,n=t.dragging,r=t.draggingType,i=t.bodyScrollHeight;if(!n)return null;var u=n.width,l=n.translateX,c=l,s=l+u,f="left"===r||"move"===r,d="right"===r||"move"===r;return o.a.createElement("g",{fill:"#DAE0FF",stroke:"#7B90FF"},f&&o.a.createElement("path",{d:"M".concat(c,",0 L").concat(c,",").concat(i)}),o.a.createElement("rect",{x:c,y:"0",width:u,height:i,strokeWidth:"0"}),d&&o.a.createElement("path",{d:"M".concat(s,",0 L").concat(s,",").concat(i)}))},ur=T(ir),lr=(n("6USC"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls;return o.a.createElement("div",{className:"".concat(n,"-today"),style:{transform:"translate(".concat(t.todayTranslateX,"px)")}},o.a.createElement("div",{className:"".concat(n,"-today_line"),style:{height:t.bodyScrollHeight}}))}),cr=T(lr),sr=(n("P92K"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.tableWidth,i=t.viewWidth,u=t.bodyScrollHeight,l=t.translateX,c=t.chartElementRef,s=t.getMinorList(),f=Object(a["useCallback"])((e=>{e.persist(),t.handleMouseMove(e)}),[t]),d=Object(a["useCallback"])((()=>{t.handleMouseLeave()}),[t]);return Object(a["useEffect"])((()=>{var e=c.current;return e&&e.addEventListener("wheel",t.handleWheel),()=>{e&&e.removeEventListener("wheel",t.handleWheel)}}),[c,t]),o.a.createElement("div",{ref:c,className:"".concat(n,"-chart"),onMouseMove:f,onMouseLeave:d,style:{left:r,width:i,height:u}},o.a.createElement("svg",{className:"".concat(n,"-chart-svg-renderer"),xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:i,height:u,viewBox:"".concat(l," 0 ").concat(i," ").concat(u)},o.a.createElement("defs",null,o.a.createElement("pattern",{id:"repeat",width:"4.5",height:"10",patternUnits:"userSpaceOnUse",patternTransform:"rotate(70 50 50)"},o.a.createElement("line",{stroke:"#c6c6c6",strokeWidth:"1px",y2:"10"}))),s.map((e=>e.isWeek?o.a.createElement("g",{key:e.key,stroke:"#f0f0f0"},o.a.createElement("path",{d:"M".concat(e.left,",0 L").concat(e.left,",").concat(u)}),o.a.createElement("rect",{fill:"url(#repeat)",opacity:"0.5",strokeWidth:"0",x:e.left,y:0,width:e.width,height:u})):o.a.createElement("g",{key:e.key,stroke:"#f0f0f0"},o.a.createElement("path",{d:"M".concat(e.left,",0 L").concat(e.left,",").concat(u)})))),o.a.createElement(ur,null),o.a.createElement(or,null)),o.a.createElement("div",{className:"".concat(n,"-render-chunk"),style:{height:u,transform:"translateX(-".concat(l,"px")}},o.a.createElement(Kn,null),o.a.createElement(Vn,null),o.a.createElement(cr,null)))}),fr=Object(a["memo"])(T(sr));function dr(e,t){var n=t.initSize,r=t.minWidth,o=t.maxWidth,i=Object(a["useState"])(!1),u=Object(X["a"])(i,2),l=u[0],s=u[1],f=Object(a["useRef"])({left:0}),d=Object(a["useRef"])(n),p=c(function(){var t=Object(me["a"])(bn.a.mark((function t(n){var a,i;return bn.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=n.clientX-f.current.left,i=d.current.width+a,void 0!==r&&(i=Math.max(i,r)),void 0!==o&&(i=Math.min(i,o)),e({width:i});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),h=Object(a["useCallback"])((()=>{window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",h),s(!1)}),[p]),m=Object(a["useCallback"])((e=>{f.current.left=e.clientX,d.current=n,window.addEventListener("mousemove",p),window.addEventListener("mouseup",h),s(!0)}),[p,h,n]);return[m,l]}n("YH2X");var pr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.tableCollapseAble,r=e.prefixCls,i="".concat(r,"-divider"),u=t.tableWidth,l=Object(a["useCallback"])((e=>{e.stopPropagation(),t.toggleCollapse()}),[t]),c=u,s=Object(a["useCallback"])((e=>{var n=e.width;t.handleResizeTableWidth(n)}),[t]),f=dr(s,{initSize:{width:u},minWidth:200,maxWidth:.6*t.width}),d=Object(X["a"])(f,2),p=d[0],h=d[1];return o.a.createElement("div",{role:"none",className:B()(i,{["".concat(i,"_only")]:!n}),style:{left:c-1},onMouseDown:0===u?void 0:p},h&&o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:"col-resize"}}),o.a.createElement("hr",null),n&&o.a.createElement("div",{className:"".concat(i,"-icon-wrapper"),role:"none",onMouseDown:e=>e.stopPropagation(),onClick:l},o.a.createElement("i",{className:B()("".concat(i,"-arrow"),{["".concat(i,"-reverse")]:c<=0})})))},hr=T(pr),mr=(n("NERh"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.tableWidth,i=t.viewWidth,u=t.scrollBarWidth,l="".concat(n,"-scroll_bar"),s=Object(a["useState"])(!1),f=Object(X["a"])(s,2),d=f[0],p=f[1],h=Object(a["useRef"])({scrollLeft:0,left:0,translateX:0}),m=c((e=>{var n=e.clientX-h.current.left;t.setTranslateX(n*(t.viewWidth/t.scrollBarWidth)+h.current.translateX)})),v=Object(a["useCallback"])((()=>{window.removeEventListener("mousemove",m),window.removeEventListener("mouseup",v),p(!1)}),[m]),g=Object(a["useCallback"])((e=>{h.current.left=e.clientX,h.current.translateX=t.translateX,h.current.scrollLeft=t.scrollLeft,window.addEventListener("mousemove",m),window.addEventListener("mouseup",v),p(!0)}),[m,v,t.scrollLeft,t.translateX]);return o.a.createElement("div",{role:"none",className:l,style:{left:r,width:i},onMouseDown:g},d&&o.a.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,zIndex:9999,cursor:"col-resize"}}),o.a.createElement("div",{className:"".concat(l,"-thumb"),style:{width:u,left:t.scrollLeft}}))}),vr=Object(a["memo"])(T(mr)),gr=(n("N5wQ"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.scrollTop,r=e.prefixCls,i=t.scrollTop,u=Object(a["useCallback"])((()=>{t.mainElementRef.current&&(t.mainElementRef.current.scrollTop=0)}),[t.mainElementRef]);if(i<=100||!t.mainElementRef.current)return null;var l="".concat(r,"-scroll_top");return o.a.createElement("div",{className:l,style:n instanceof Object?n:void 0,onClick:u})}),yr=T(gr),br=(n("YvcH"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.showSelectionIndicator,i=t.selectionIndicatorTop,u=t.rowHeight,l="".concat(n,"-selection-indicator");return r?o.a.createElement("div",{className:l,style:{height:u,top:i}}):null}),wr=T(br),Er=(n("dQB0"),e=>{var t=e.onClick,n=e.collapsed,r=e.level,a=e.prefixCls,i=void 0===a?"":a,u="".concat(i,"-row-toggler");return o.a.createElement("div",{role:"none",onClick:t,className:u},o.a.createElement("div",{className:B()(u,{["".concat(u,"-collapsed")]:n})},o.a.createElement("i",{"data-level":r},o.a.createElement("svg",{viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M296.704 409.6a14.9504 14.9504 0 0 0-10.752 4.608 15.5648 15.5648 0 0 0 0.1536 21.7088l210.8416 212.0704a24.832 24.832 0 0 0 35.584-0.256l205.5168-211.968a15.5136 15.5136 0 0 0 4.352-10.752c0-8.4992-6.7584-15.4112-15.104-15.4112h-430.592z"})))))}),Or=Er,kr=(n("cpSw"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.onRow,i=e.tableIndent,u=e.expandIcon,l=e.prefixCls,c=e.onExpand,s=t.columns,f=t.rowHeight,d=t.getColumnsWidth,p=t.getBarList,h=t.getVisibleRows,m=h.count,v=h.start,g="".concat(l,"-table-body");return 0===p.length?o.a.createElement("div",{style:{textAlign:"center",color:" rgba(0,0,0,0.65)",marginTop:30}},"\u6682\u65e0\u6570\u636e"):o.a.createElement(o.a.Fragment,null,p.slice(v,v+m).map(((e,a)=>{var p=e._parent,h=null===p||void 0===p?void 0:p._parent,m=!1;return null!==h&&void 0!==h&&h.children&&h.children[h.children.length-1]===e._parent&&(m=!0),o.a.createElement("div",{key:e.key,role:"none",className:"".concat(g,"-row"),style:{height:f,top:(a+v)*f+pe},onClick:()=>{null===n||void 0===n||n.onClick(e.record)}},s.map(((n,a)=>o.a.createElement("div",{key:n.name,className:"".concat(g,"-cell"),style:Object(r["a"])({width:d[a],minWidth:n.minWidth,maxWidth:n.maxWidth,textAlign:n.align?n.align:"left",paddingLeft:0===a?i*(e._depth+1)+10:12},n.style)},0===a&&new Array(e._depth).fill(0).map(((t,n)=>o.a.createElement("div",{key:n,className:B()("".concat(g,"-row-indentation"),{["".concat(g,"-row-indentation-hidden")]:m&&n===e._depth-2,["".concat(g,"-row-indentation-both")]:n===e._depth-1}),style:{top:-f/2+1,left:i*n+15,width:1.5*i+5}}))),0===a&&e._childrenCount>0&&o.a.createElement("div",{style:{position:"absolute",left:i*e._depth+15,background:"white",zIndex:9,transform:"translateX(-52%)",padding:1}},u?u({level:e._depth,collapsed:e._collapsed,onClick:n=>{n.stopPropagation(),c&&c(e.task.record,!e._collapsed),t.setRowCollapse(e.task,!e._collapsed)}}):o.a.createElement(Or,{prefixCls:l,level:e._depth,collapsed:e._collapsed,onClick:n=>{n.stopPropagation(),c&&c(e.task.record,!e._collapsed),t.setRowCollapse(e.task,!e._collapsed)}})),o.a.createElement("span",{className:"".concat(g,"-ellipsis")},n.render?n.render(e.record):e.record[n.name])))))})))}),xr=T(kr),Sr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,i=t.columns,u=t.getColumnsWidth,l=t.getBarList;if(0===l.length)return null;var c="".concat(n,"-table-body");return o.a.createElement("div",{role:"none",className:"".concat(c,"-border_row")},i.map(((e,t)=>o.a.createElement("div",{key:e.name,className:"".concat(c,"-cell"),style:Object(r["a"])({width:u[t],minWidth:e.minWidth,maxWidth:e.maxWidth,textAlign:e.align?e.align:"left"},e.style)}))))},jr=T(Sr),Cr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=Object(a["useCallback"])((e=>{e.persist(),t.handleMouseMove(e)}),[t]),i=Object(a["useCallback"])((()=>{t.handleMouseLeave()}),[t]),u="".concat(n,"-table-body");return o.a.createElement("div",{className:u,style:{width:t.tableWidth,height:t.bodyScrollHeight},onMouseMove:r,onMouseLeave:i},o.a.createElement(jr,null),o.a.createElement(xr,null))},_r=T(Cr),Ar=(n("39ZV"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,i=t.columns,u=t.tableWidth,l=u,c=t.getColumnsWidth,s="".concat(n,"-table-header");return o.a.createElement("div",{className:s,style:{width:l,height:56}},o.a.createElement("div",{className:"".concat(s,"-head"),style:{width:l,height:56}},o.a.createElement("div",{className:"".concat(s,"-row"),style:{height:56}},i.map(((e,t)=>o.a.createElement("div",{key:e.name,className:"".concat(s,"-cell"),style:Object(r["a"])({width:c[t],minWidth:e.minWidth,maxWidth:e.maxWidth,textAlign:e.align?e.align:"left"},e.style)},o.a.createElement("div",{className:"".concat(s,"-head-cell")},o.a.createElement("span",{className:"".concat(s,"-ellipsis")},e.label))))))))}),Tr=T(Ar),Rr=(n("FDiJ"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r="".concat(n,"-time-axis"),i=t.sightConfig,u=t.isToday,l=t.getMajorList(),c=t.getMinorList(),s=Object(a["useCallback"])((e=>{var n=e.x;t.handlePanMove(-n)}),[t]),f=Object(a["useCallback"])((()=>{t.handlePanEnd()}),[t]),d=Object(a["useCallback"])((e=>{var t=e.key,n=i.type;return"day"===n&&u(t)}),[i,u]);return o.a.createElement(ne,{onResize:s,onResizeEnd:f,defaultSize:{x:-t.translateX,width:0},type:"move"},o.a.createElement("div",{className:r,style:{left:t.tableWidth,width:t.viewWidth}},o.a.createElement("div",{className:"".concat(r,"-render-chunk"),style:{transform:"translateX(-".concat(t.translateX,"px")}},l.map((e=>o.a.createElement("div",{key:e.key,className:"".concat(r,"-major"),style:{width:e.width,left:e.left}},o.a.createElement("div",{className:"".concat(r,"-major-label")},e.label)))),c.map((e=>o.a.createElement("div",{key:e.key,className:B()("".concat(r,"-minor")),style:{width:e.width,left:e.left}},o.a.createElement("div",{className:B()("".concat(r,"-minor-label"),{["".concat(r,"-today")]:d(e)})},e.label)))))))}),Mr=T(Rr),Pr="click";function Dr(e,t,n){void 0===n&&(n=Pr);var r=Object(a["useRef"])(e);r.current=e,Object(a["useEffect"])((function(){var e=function(e){var n=Array.isArray(t)?t:[t];n.some((function(t){var n=u(t);return!n||(null===n||void 0===n?void 0:n.contains(e.target))}))||r.current(e)};return document.addEventListener(n,e),function(){document.removeEventListener(n,e)}}),[t,n])}n("eR7F");var Nr=()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.sightConfig,i=t.scrolling,u=t.viewTypeList,l=Object(a["useState"])(!1),c=Object(X["a"])(l,2),s=c[0],f=c[1],d=Object(a["useRef"])(null);Dr((()=>{f(!1)}),d);var p=Object(a["useCallback"])((()=>{f(!0)}),[]),h=Object(a["useCallback"])((e=>{t.switchSight(e.type),f(!1)}),[t]),m=r.type,v=Object(a["useCallback"])((e=>e===m),[m]);return o.a.createElement("div",{className:"".concat(n,"-time-axis-scale-select"),ref:d},o.a.createElement("div",{role:"none",className:"".concat(n,"-trigger"),onClick:p},o.a.createElement("div",{className:"".concat(n,"-text")},r.label),o.a.createElement("span",{className:"dropdown-icon"},o.a.createElement("svg",{id:"at-triangle-down-s",viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M296.704 409.6a14.9504 14.9504 0 0 0-10.752 4.608 15.5648 15.5648 0 0 0 0.1536 21.7088l210.8416 212.0704a24.832 24.832 0 0 0 35.584-0.256l205.5168-211.968a15.5136 15.5136 0 0 0 4.352-10.752c0-8.4992-6.7584-15.4112-15.104-15.4112h-430.592z"})))),o.a.createElement("div",{className:B()("".concat(n,"-shadow"),{["".concat(n,"-scrolling")]:i})}),s&&o.a.createElement("div",{className:B()("next-overlay-wrapper","opened")},o.a.createElement("div",{className:B()("next-overlay-inner"),"aria-hidden":"false",style:{position:"absolute",right:15,top:60}},o.a.createElement("div",{className:"next-loading-wrap"},o.a.createElement("ul",{role:"listbox",className:B()("next-menu"),"aria-multiselectable":"false"},u.map((e=>o.a.createElement("li",{key:e.type,role:"none",onClick:()=>{h(e)},className:B()("next-menu-item",{"next-selected":v(e.type)})},v(e.type)&&o.a.createElement("i",{className:"".concat(n,"-selected_icon")},o.a.createElement("svg",{viewBox:"0 0 1024 1024"},o.a.createElement("path",{d:"M413.7472 768a29.5936 29.5936 0 0 1-21.6576-9.472l-229.5296-241.152a33.3824 33.3824 0 0 1 0-45.5168 29.696 29.696 0 0 1 43.4176 0l207.7696 218.368 404.2752-424.7552a29.5936 29.5936 0 0 1 43.4176 0 33.3824 33.3824 0 0 1 0 45.568l-425.984 447.488A29.5936 29.5936 0 0 1 413.696 768"}))),o.a.createElement("span",{className:"next-menu-item-text","aria-selected":"true"},e.label)))))))))},Ir=T(Nr),Lr=(n("nyXu"),()=>{var e=Object(a["useContext"])(I),t=e.store,n=e.prefixCls,r=t.scrolling,i=t.translateX,u=t.tableWidth,l=t.viewWidth,c=t.todayTranslateX,s=t.locale,f="".concat(n,"-time-indicator"),d=c{var e=ci+l;return e||t?"block":"none"}),[c,i,l]),v=Object(a["useCallback"])((()=>{t.scrollToToday()}),[t]);return o.a.createElement("button",{onClick:v,className:B()(f,{["".concat(f,"-scrolling")]:r}),type:"button","data-role":"button",style:{left:p,right:h,display:m}},o.a.createElement("span",null,s.today))}),Br=T(Lr),Fr=(n("1RDt"),Object.freeze({today:"Today",day:"Day",days:"Days",week:"Week",month:"Month",quarter:"Quarter",halfYear:"Half year",firstHalf:"First half",secondHalf:"Second half",majorFormat:{day:"YYYY, MMMM",week:"YYYY, MMMM",month:"YYYY",quarter:"YYYY",halfYear:"YYYY"},minorFormat:{day:"D",week:"wo [week]",month:"MMMM",quarter:"[Q]Q",halfYear:"YYYY-"}})),Ur=Object.freeze({today:"\u4eca\u5929",day:"\u65e5\u89c6\u56fe",days:"\u5929\u6570",week:"\u5468\u89c6\u56fe",month:"\u6708\u89c6\u56fe",quarter:"\u5b63\u89c6\u56fe",halfYear:"\u5e74\u89c6\u56fe",firstHalf:"\u4e0a\u534a\u5e74",secondHalf:"\u4e0b\u534a\u5e74",majorFormat:{day:"YYYY\u5e74MM\u6708",week:"YYYY\u5e74MM\u6708",month:"YYYY\u5e74",quarter:"YYYY\u5e74",halfYear:"YYYY\u5e74"},minorFormat:{day:"YYYY-MM-D",week:"YYYY-w\u5468",month:"YYYY-MM\u6708",quarter:"YYYY-\u7b2cQ\u5b63",halfYear:"YYYY-"}}),zr="gantt",Yr=e=>{var t=e.children,n=Object(a["useContext"])(I),r=n.store,i=Object(a["useRef"])(null),u=y(i);return Object(a["useEffect"])((()=>{r.syncSize(u)}),[u,r]),o.a.createElement("div",{className:"".concat(zr,"-body"),ref:i},t)},Wr=Object(r["a"])({},Ur),Gr=e=>{var t=e.data,n=e.columns,i=e.dependencies,u=void 0===i?[]:i,l=e.onUpdate,c=e.startDateKey,s=void 0===c?"startDate":c,f=e.endDateKey,d=void 0===f?"endDate":f,p=e.isRestDay,h=e.getBarColor,m=e.showBackToday,v=void 0===m||m,g=e.showUnitSwitch,y=void 0===g||g,b=e.unit,w=e.onRow,E=e.tableIndent,O=void 0===E?he:E,k=e.expandIcon,x=e.renderBar,S=e.renderInvalidBar,j=e.renderGroupBar,C=e.onBarClick,_=e.tableCollapseAble,A=void 0===_||_,T=e.renderBarThumb,R=e.scrollTop,M=void 0===R||R,P=e.rowHeight,D=void 0===P?se:P,N=e.innerRef,L=e.disabled,B=void 0!==L&&L,F=e.alwaysShowTaskBar,U=void 0===F||F,z=e.renderLeftText,Y=e.renderRightText,W=e.onExpand,G=e.customSights,H=void 0===G?[]:G,V=e.locale,$=void 0===V?Object(r["a"])({},Wr):V,X=e.hideTable,q=void 0!==X&&X,K=Object(a["useMemo"])((()=>new Yn({rowHeight:D,disabled:B,customSights:H,locale:$})),[D]);Object(a["useEffect"])((()=>{K.setData(t,s,d)}),[t,d,s,K]),Object(a["useEffect"])((()=>{K.setColumns(n)}),[n,K]),Object(a["useEffect"])((()=>{K.setOnUpdate(l)}),[l,K]),Object(a["useEffect"])((()=>{K.setDependencies(u)}),[u,K]),Object(a["useEffect"])((()=>{K.setHideTable(q)}),[q]),Object(a["useEffect"])((()=>{p&&K.setIsRestDay(p)}),[p,K]),Object(a["useEffect"])((()=>{b&&K.switchSight(b)}),[b,K]),Object(a["useImperativeHandle"])(N,(()=>({backToday:()=>K.scrollToToday(),getWidthByDate:K.getWidthByDate})));var Q=o.a.useMemo((()=>({prefixCls:zr,store:K,getBarColor:h,showBackToday:v,showUnitSwitch:y,onRow:w,tableIndent:O,expandIcon:k,renderBar:x,renderInvalidBar:S,renderGroupBar:j,onBarClick:C,tableCollapseAble:A,renderBarThumb:T,scrollTop:M,barHeight:de,alwaysShowTaskBar:U,renderLeftText:z,renderRightText:Y,onExpand:W,hideTable:q})),[K,h,v,y,w,O,k,x,S,j,C,A,T,M,U,z,Y,W,q]);return o.a.createElement(I.Provider,{value:Q},o.a.createElement(Yr,null,o.a.createElement("header",null,!q&&o.a.createElement(Tr,null),o.a.createElement(Mr,null)),o.a.createElement("main",{ref:K.mainElementRef,onScroll:K.handleScroll},o.a.createElement(wr,null),!q&&o.a.createElement(_r,null),o.a.createElement(fr,null)),!q&&o.a.createElement(hr,null),v&&o.a.createElement(Br,null),y&&o.a.createElement(Ir,null),o.a.createElement(vr,null),M&&o.a.createElement(yr,null)))},Hr=Gr;t["b"]=Hr},"2Yex":function(e,t,n){"use strict";var r=n("OOCw"),a=n("YfbA").includes,o=n("ZGY3"),i=n("7/pz"),u=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!u},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},"2fm6":function(e,t,n){"use strict";var r=n("sErw"),a=n("lkgX");e.exports=function(){for(var e,t=r(this),n=a(t["delete"]),o=!0,i=0,u=arguments.length;i-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},"2lI5":function(e,t,n){var r=n("67Yi"),a=n("orhk"),o=n("zzA2");function i(e){var t=-1,n=null==e?0:e.length;this.__data__=new r;while(++te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var t=e.demos,n=t["website-basic.en-us"].component,r=t["website-add.en-us"].component,c=t["website-child"].component,s=t["website-column"].component,f=t["website-dependence"].component,d=t["website-render"].component,p=t["website-filterunit"].component,h=t["website-custom"].component;return a.a.createElement(a.a.Fragment,null,a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"component"},a.a.createElement(o["AnchorLink"],{to:"#component","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Component"),a.a.createElement("h3",{id:"basic-component"},a.a.createElement(o["AnchorLink"],{to:"#basic-component","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Basic Component"),a.a.createElement("p",null,"use ",a.a.createElement("code",null,"data")," ",a.a.createElement("code",null,"columns")," ",a.a.createElement("code",null,"onUpdate")," config, Show a basic Gantt chart")),a.a.createElement(i["default"],t["website-basic.en-us"].previewerProps,a.a.createElement(n,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"add-task-bar"},a.a.createElement(o["AnchorLink"],{to:"#add-task-bar","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Add Task Bar"),a.a.createElement("p",null,"click to create task",a.a.createElement("code",null,"bar"))),a.a.createElement(i["default"],t["website-add.en-us"].previewerProps,a.a.createElement(r,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"multi-level-structure"},a.a.createElement(o["AnchorLink"],{to:"#multi-level-structure","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Multi-level structure"),a.a.createElement("p",null,"Ensure that each node contains the ",a.a.createElement("code",null,"children")," attribute to achieve a multi-level structure"),a.a.createElement("p",null,"You can get the current expanded status with ",a.a.createElement("code",null,"onExpand"))),a.a.createElement(i["default"],t["website-child"].previewerProps,a.a.createElement(c,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"customizing-table-columns"},a.a.createElement(o["AnchorLink"],{to:"#customizing-table-columns","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Customizing table columns"),a.a.createElement("p",null,a.a.createElement("code",null,"columns")," type definition see Type Definition"),a.a.createElement("p",null,"where if each column is configured with the ",a.a.createElement("code",null,"width")," property. The total width is calculated internally by the component. The default initialized table width is the total width")),a.a.createElement(i["default"],t["website-column"].previewerProps,a.a.createElement(s,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"dependency-structure"},a.a.createElement(o["AnchorLink"],{to:"#dependency-structure","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Dependency Structure")),a.a.createElement(i["default"],t["website-dependence"].previewerProps,a.a.createElement(f,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"custom-rendering"},a.a.createElement(o["AnchorLink"],{to:"#custom-rendering","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Custom Rendering")),a.a.createElement(i["default"],t["website-render"].previewerProps,a.a.createElement(d,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"customized-filtering"},a.a.createElement(o["AnchorLink"],{to:"#customized-filtering","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Customized filtering"),a.a.createElement("p",null,"Default current date filtering support Day, Week, Month, Quarter, Year. Support incoming configuration to customize the filtering dimension")),a.a.createElement(i["default"],t["website-filterunit"].previewerProps,a.a.createElement(p,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"advanced-usage"},a.a.createElement(o["AnchorLink"],{to:"#advanced-usage","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Advanced Usage"),a.a.createElement("p",null,"Introducing the use of the built-in methods on ",a.a.createElement("code",null,"alwaysShowTaskBar"),", ",a.a.createElement("code",null,"unit")," and ",a.a.createElement("code",null,"innerRef"),".")),a.a.createElement(i["default"],t["website-custom"].previewerProps,a.a.createElement(h,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"type-definition"},a.a.createElement(o["AnchorLink"],{to:"#type-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Type Definition"),a.a.createElement("h3",{id:"column-definition"},a.a.createElement(o["AnchorLink"],{to:"#column-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Column")," Definition"),a.a.createElement(u["a"],{code:"export type ColumnAlign = 'center' | 'right' | 'left'\r\nexport interface Column {\r\n width?: number\r\n minWidth?: number\r\n maxWidth?: number\r\n flex?: number\r\n name: string\r\n label: string\r\n style?: Object\r\n render?: (item: Record) => React.ReactNode\r\n align?: ColumnAlign\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"data-definition"},a.a.createElement(o["AnchorLink"],{to:"#data-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"data")," Definition"),a.a.createElement("p",null,"The following fields are built in, and special treatment will be done if the data contains the following attributes"),a.a.createElement(u["a"],{code:"export type Record = RecordType & {\r\n group?: boolean\r\n borderColor?: string\r\n backgroundColor?: string\r\n collapsed?: boolean\r\n children?: Record[]\r\n disabled?: boolean\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"dependence-definition"},a.a.createElement(o["AnchorLink"],{to:"#dependence-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Dependence")," Definition"),a.a.createElement(u["a"],{code:"export type DependenceType = 'start_finish' | 'finish_start' | 'start_start' | 'finish_finish'\r\nexport interface Dependence {\r\n from: string\r\n to: string\r\n type: DependenceType\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"bar-definition"},a.a.createElement(o["AnchorLink"],{to:"#bar-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Bar")," Definition"),a.a.createElement("p",null,"When we need to use some custom functions, we will be returned the following type of data, where ",a.a.createElement("code",null,"record")," is the source data"),a.a.createElement(u["a"],{code:"export interface Bar {\r\n key: React.Key\r\n label: string\r\n width: number\r\n translateX: number\r\n translateY: number\r\n stepGesture: string\r\n invalidDateRange: boolean\r\n dateTextFormat: (startX: number) => string\r\n getDateWidth: (startX: number, endX: number) => string\r\n task: Item\r\n record: Record\r\n loading: boolean\r\n _group?: boolean\r\n _collapsed: boolean\r\n _depth: number\r\n _index?: number\r\n _childrenCount: number\r\n _parent?: Item\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"sight-definition"},a.a.createElement(o["AnchorLink"],{to:"#sight-definition","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Sight")," Definition"),a.a.createElement(u["a"],{code:"export type Sight = 'day' | 'week' | 'month' | 'quarter' | 'halfYear'",lang:"typescript"}),a.a.createElement("h2",{id:"api"},a.a.createElement(o["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"API"),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"data"),a.a.createElement("td",null,"\u6570\u636e\u6e90"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Record[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"columns"),a.a.createElement("td",null,"\u6570\u636e\u5217"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Column[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"dependencies"),a.a.createElement("td",null,"\u4f9d\u8d56\u6570\u7ec4"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Dependence[]")),a.a.createElement("td",null,a.a.createElement("code",null,"[]"))),a.a.createElement("tr",null,a.a.createElement("td",null,"onUpdate"),a.a.createElement("td",null,"\u66f4\u65b0\u56de\u8c03"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record, startDate: string, endDate: string) => Promise")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"startDateKey"),a.a.createElement("td",null,"\u5f00\u59cb\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"endDateKey"),a.a.createElement("td",null,"\u7ed3\u675f\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"isRestDay"),a.a.createElement("td",null,"\u8fd4\u56de\u662f\u5426\u662f\u8282\u5047\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"(date: string) => boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"unit"),a.a.createElement("td",null,"\u5f53\u524d\u89c6\u56fe"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Sight")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"rowHeight"),a.a.createElement("td",null,"\u884c\u9ad8"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getBarColor"),a.a.createElement("td",null,"\u8fd4\u56de\u9ed8\u8ba4\u6761\u6837\u5f0f"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => ","{","backgroundColor: string;borderColor: string","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showBackToday"),a.a.createElement("td",null,"\u5c55\u793a\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showUnitSwitch"),a.a.createElement("td",null,"\u5c55\u793a\u89c6\u56fe\u5207\u6362"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onRow"),a.a.createElement("td",null,"\u884c\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"{","onClick: (record: Gantt.Record) => void","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"tableIndent"),a.a.createElement("td",null,"\u8868\u683c\u7f29\u8fdb"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null,a.a.createElement("code",null,"30"))),a.a.createElement("tr",null,a.a.createElement("td",null,"expandIcon"),a.a.createElement("td",null,"\u5c55\u5f00\u5b50\u8282\u70b9\u56fe\u8868"),a.a.createElement("td",null,"``"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3 bar"),a.a.createElement("td",null,a.a.createElement("code",null,"renderBar?: (barInfo: Gantt.Bar, ","{"," width, height ","}",": ","{"," width: number; height: number ","}",") => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderGroupBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u7ec4"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderInvalidBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u62d6\u62fd"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBarThumb"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7f29\u7565\u6e32\u67d3"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onBarClick"),a.a.createElement("td",null,"\u884c\u70b9\u51fb\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => void")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"alwaysShowTaskBar"),a.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5de6\u53f3\u4fa7\u5185\u5bb9"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"true"))),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528\u56fe\u8868"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"false"))),a.a.createElement("tr",null,a.a.createElement("td",null,"renderLeftText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u5de6\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderRightText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u53f3\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onExpand"),a.a.createElement("td",null,"\u70b9\u51fb\u5c55\u5f00\u56fe\u6807\u65f6\u89e6\u53d1"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record,collapsed:boolean) => void")),a.a.createElement("td",null)))),a.a.createElement("h2",{id:"methods"},a.a.createElement(o["AnchorLink"],{to:"#methods","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Methods"),a.a.createElement("p",null,"has ",a.a.createElement("code",null,"innerRef")),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)))))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(c,{demos:n})}},"4Whr":function(e,t,n){"use strict";var r=n("OOCw"),a=n("h+/6"),o=n("g0aX"),i=n("x+sk"),u=n("OdMF"),l=n("upgS"),c=n("tmip"),s=n("63eO"),f=n("THrr"),d=n("3Hes"),p=n("tDGd"),h=d("isConcatSpreadable"),m=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),b=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)},w=!g||!y;r({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,r,a,o,i=u(this),f=s(i,0),d=0;for(t=-1,r=arguments.length;tm)throw TypeError(v);for(n=0;n=m)throw TypeError(v);c(f,d++,o)}return f.length=d,f}})},"4Yrd":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return hn})),n.d(t,"h",(function(){return w})),n.d(t,"j",(function(){return Ye})),n.d(t,"f",(function(){return Me})),n.d(t,"c",(function(){return we})),n.d(t,"b",(function(){return R})),n.d(t,"g",(function(){return M})),n.d(t,"d",(function(){return On})),n.d(t,"i",(function(){return jn})),n.d(t,"e",(function(){return zt}));var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(r=o.next()).done)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(a)throw a.error}}return i}function l(){for(var e=[],t=0;t0)for(var l=0;l",e):2===arguments.length&&"function"===typeof t?E(e,t):1===arguments.length&&"string"===typeof e?_(e):!0!==r?_(t).apply(null,arguments):void(e[t]=E(e.name||t,n.value))};function M(e,t){var n="string"===typeof e?e:e.name||"",r="function"===typeof e?e:t;return O(n,r,this,void 0)}function P(e,t,n){xt(e,t,E(t,n.bind(e)))}R.bound=T;var D=Object.prototype.toString;function N(e,t){return I(e,t)}function I(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var a=typeof e;return("function"===a||"object"===a||"object"==typeof t)&&L(e,t,n,r)}function L(e,t,n,r){e=B(e),t=B(t);var a=D.call(e);if(a!==D.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e===""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!==typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var o="[object Array]"===a;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var i=e.constructor,u=t.constructor;if(i!==u&&!("function"===typeof i&&i instanceof i&&"function"===typeof u&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];var l=n.length;while(l--)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),o){if(l=e.length,l!==t.length)return!1;while(l--)if(!I(e[l],t[l],n,r))return!1}else{var c,s=Object.keys(e);if(l=s.length,Object.keys(t).length!==l)return!1;while(l--)if(c=s[l],!F(t,c)||!I(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0}function B(e){return st(e)?e.peek():At(e)||$e(e)?Rt(e.entries()):e}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function U(e,t){return e===t}function z(e,t){return N(e,t)}function Y(e,t){return _t(e,t)||U(e,t)}var W={identity:U,structural:z,default:Y};function G(e,t){void 0===t&&(t=pt);var n,r=t&&t.name||e.name||"Autorun@"+mt(),a=!t.scheduler&&!t.delay;if(a)n=new hn(r,(function(){this.track(u)}),t.onError);else{var o=V(t),i=!1;n=new hn(r,(function(){i||(i=!0,o((function(){i=!1,n.isDisposed||n.track(u)})))}),t.onError)}function u(){e(n)}return n.schedule(),n.getDisposer()}var H=function(e){return e()};function V(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:H}var $=function(){function e(e){this.dependenciesState=Dt.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Dt.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+mt(),this.value=new en(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Nt.NONE,this.derivation=e.get,this.name=e.name||"ComputedValue@"+mt(),e.set&&(this.setter=E(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?W.structural:W["default"]),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){Qt(this)},e.prototype.onBecomeUnobserved=function(){},e.prototype.onBecomeObserved=function(){},e.prototype.get=function(){this.isComputing&&vt("Cycle detected in computation "+this.name+": "+this.derivation),0!==Ft.inBatch||0!==this.observers.length||this.keepAlive?(Xt(this),nn(this)&&this.trackAndCompute()&&Kt(this)):nn(this)&&(this.warnAboutUntrackedRead(),Vt(),this.value=this.computeValue(!1),$t());var e=this.value;if(tn(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(tn(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){gt(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else gt(!1,!1)},e.prototype.trackAndCompute=function(){m()&&v({object:this.scope,type:"compute",name:this.name});var e=this.value,t=this.dependenciesState===Dt.NOT_TRACKING,n=this.computeValue(!0),r=t||tn(e)||tn(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Ft.computationDepth++,e)t=an(this,this.derivation,this.scope);else if(!0===Ft.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(n){t=new en(n)}return Ft.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(un(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,a=void 0;return G((function(){var o=n.get();if(!r||t){var i=cn();e({type:"update",object:n,newValue:o,oldValue:a}),sn(i)}r=!1,a=o}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return Pt(this.get())},e}();$.prototype[Mt()]=$.prototype.valueOf;var X=Ct("ComputedValue",$);function q(e){return void 0!==e.interceptors&&e.interceptors.length>0}function K(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),bt((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Q(e,t){var n=cn();try{var r=e.interceptors;if(r)for(var a=0,o=r.length;a0}function J(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),bt((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ee(e,t){var n=cn(),r=e.changeListeners;if(r){r=r.slice();for(var a=0,o=r.length;a2&&Pe("box");var n=xe(t);return new te(e,Se(n),n.name)},shallowBox:function(e,t){return arguments.length>2&&Pe("shallowBox"),yt("observable.shallowBox","observable.box(value, { deep: false })"),Me.box(e,{name:t,deep:!1})},array:function(e,t){arguments.length>2&&Pe("array");var n=xe(t);return new at(e,Se(n),n.name)},shallowArray:function(e,t){return arguments.length>2&&Pe("shallowArray"),yt("observable.shallowArray","observable.array(values, { deep: false })"),Me.array(e,{name:t,deep:!1})},map:function(e,t){arguments.length>2&&Pe("map");var n=xe(t);return new Ge(e,Se(n),n.name)},shallowMap:function(e,t){return arguments.length>2&&Pe("shallowMap"),yt("observable.shallowMap","observable.map(values, { deep: false })"),Me.map(e,{name:t,deep:!1})},object:function(e,t,n){"string"===typeof arguments[1]&&Pe("object");var r=xe(n);return Ee({},e,t,r)},shallowObject:function(e,t){return"string"===typeof arguments[1]&&Pe("shallowObject"),yt("observable.shallowObject","observable.object(values, {}, { deep: false })"),Me.object(e,{},{name:t,deep:!1})},ref:_e,shallow:Ce,deep:je,struct:Ae},Me=Te;function Pe(e){vt("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function De(e,t,n){return ge(e)?e:Array.isArray(e)?Me.array(e,{name:n}):Ot(e)?Me.object(e,void 0,{name:n}):At(e)?Me.map(e,{name:n}):e}function Ne(e,t,n){return void 0===e||null===e||he(e)||st(e)||$e(e)?e:Array.isArray(e)?Me.array(e,{name:n,deep:!1}):Ot(e)?Me.object(e,void 0,{name:n,deep:!1}):At(e)?Me.map(e,{name:n,deep:!1}):vt(!1)}function Ie(e){return e}function Le(e,t,n){return N(e,t)?t:e}function Be(){return"function"===typeof Symbol&&Symbol.iterator||"@@iterator"}function Fe(e,t){St(e,Be(),t)}function Ue(e){return e[Be()]=ze,e}function ze(){return this}function Ye(e,t){void 0===t&&(t=void 0),Vt();try{return e.apply(t)}finally{$t()}}Object.keys(Re).forEach((function(e){return Me[e]=Re[e]}));var We={},Ge=function(){function e(e,t,n){if(void 0===t&&(t=De),void 0===n&&(n="ObservableMap@"+mt()),this.enhancer=t,this.name=n,this.$mobx=We,this._keys=new at(void 0,Ie,this.name+".keys()",!0),"function"!==typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return e.prototype._has=function(e){return this._data.has(e)},e.prototype.has=function(e){return this._hasMap.has(e)?this._hasMap.get(e).get():this._updateHasMapEntry(e,!1).get()},e.prototype.set=function(e,t){var n=this._has(e);if(q(this)){var r=Q(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype["delete"]=function(e){var t=this;if(q(this)){var n=Q(this,{type:"delete",object:this,name:e});if(!n)return!1}if(this._has(e)){var r=m(),a=Z(this);n=a||r?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return r&&g(i({},n,{name:this.name,key:e})),Ye((function(){t._keys.remove(e),t._updateHasMapEntry(e,!1);var n=t._data.get(e);n.setNewValue(void 0),t._data["delete"](e)})),a&&ee(this,n),r&&b(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap.get(e);return n?n.setNewValue(t):(n=new te(t,Ie,this.name+"."+e+"?",!1),this._hasMap.set(e,n)),n},e.prototype._updateValue=function(e,t){var n=this._data.get(e);if(t=n.prepareNewValue(t),t!==Ft.UNCHANGED){var r=m(),a=Z(this),o=a||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&g(i({},o,{name:this.name,key:e})),n.setNewValue(t),a&&ee(this,o),r&&b()}},e.prototype._addValue=function(e,t){var n=this;Ye((function(){var r=new te(t,n.enhancer,n.name+"."+e,!1);n._data.set(e,r),t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)}));var r=m(),a=Z(this),o=a||r?{type:"add",object:this,name:e,newValue:t}:null;r&&g(i({},o,{name:this.name,key:e})),a&&ee(this,o),r&&b()},e.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return this._keys[Be()]()},e.prototype.values=function(){var e=this,t=0;return Ue({next:function(){return t0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return K(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),J(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!==typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r0&&e+t+1>et&<(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var r=this;rn(this.atom);var a=this.values.length;if(void 0===e?e=0:e>a?e=a:e<0&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:void 0===t||null===t?0:Math.max(0,Math.min(t,a-e)),void 0===n&&(n=dt),q(this)){var o=Q(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!o)return dt;t=o.removedCount,n=o.added}n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}));var i=n.length-t;this.updateArrayLength(a,i);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(e<0)throw new Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw new Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(yt("observableArray.move is deprecated, use .slice() & .replace() instead"),n.call(this,e),n.call(this,t),e!==t){var r,a=this.$mobx.values;r=e0&&!e.__mobxGlobals&&(Lt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new It).version&&(Lt=!1),Lt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new It):(setTimeout((function(){Bt||vt("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new It)}();function Ut(){(Ft.pendingReactions.length||Ft.inBatch||Ft.isRunningReactions)&&vt("isolateGlobalState should be called before MobX is running any reactions"),Bt=!0,Lt&&(0===--ht().__mobxInstanceCount&&(ht().__mobxGlobals=void 0),Ft=new It)}function zt(e,t){return Yt(Xe(e,t))}function Yt(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=wt(e.observing).map(Yt)),t}function Wt(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Gt(e,t){if(1===e.observers.length)e.observers.length=0,Ht(e);else{var n=e.observers,r=e.observersIndexes,a=n.pop();if(a!==t){var o=r[t.__mapid]||0;o?r[a.__mapid]=o:delete r[a.__mapid],n[o]=a}delete r[t.__mapid]}}function Ht(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ft.pendingUnobservations.push(e))}function Vt(){Ft.inBatch++}function $t(){if(0===--Ft.inBatch){gn();for(var e=Ft.pendingUnobservations,t=0;t0&&Ht(e),!1)}function qt(e){if(e.lowestObserverState!==Dt.STALE){e.lowestObserverState=Dt.STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.UP_TO_DATE&&(r.isTracing!==Nt.NONE&&Zt(r,e),r.onBecomeStale()),r.dependenciesState=Dt.STALE}}}function Kt(e){if(e.lowestObserverState!==Dt.STALE){e.lowestObserverState=Dt.STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.POSSIBLY_STALE?r.dependenciesState=Dt.STALE:r.dependenciesState===Dt.UP_TO_DATE&&(e.lowestObserverState=Dt.UP_TO_DATE)}}}function Qt(e){if(e.lowestObserverState===Dt.UP_TO_DATE){e.lowestObserverState=Dt.POSSIBLY_STALE;var t=e.observers,n=t.length;while(n--){var r=t[n];r.dependenciesState===Dt.UP_TO_DATE&&(r.dependenciesState=Dt.POSSIBLY_STALE,r.isTracing!==Nt.NONE&&Zt(r,e),r.onBecomeStale())}}}function Zt(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Nt.BREAK){var n=[];Jt(zt(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof $?e.derivation.toString():"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Jt(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Jt(e,t,n+1)})))}(function(e){e[e["NOT_TRACKING"]=-1]="NOT_TRACKING",e[e["UP_TO_DATE"]=0]="UP_TO_DATE",e[e["POSSIBLY_STALE"]=1]="POSSIBLY_STALE",e[e["STALE"]=2]="STALE"})(Dt||(Dt={})),function(e){e[e["NONE"]=0]="NONE",e[e["LOG"]=1]="LOG",e[e["BREAK"]=2]="BREAK"}(Nt||(Nt={}));var en=function(){function e(e){this.cause=e}return e}();function tn(e){return e instanceof en}function nn(e){switch(e.dependenciesState){case Dt.UP_TO_DATE:return!1;case Dt.NOT_TRACKING:case Dt.STALE:return!0;case Dt.POSSIBLY_STALE:for(var t=cn(),n=e.observing,r=n.length,a=0;a0;Ft.computationDepth>0&&t&&vt(!1),Ft.allowStateChanges||!t&&"strict"!==Ft.enforceActions||vt(!1)}function an(e,t,n){fn(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Ft.runId;var r,a=Ft.trackingDerivation;if(Ft.trackingDerivation=e,!0===Ft.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(o){r=new en(o)}return Ft.trackingDerivation=a,on(e),r}function on(e){for(var t=e.observing,n=e.observing=e.newObserving,r=Dt.UP_TO_DATE,a=0,o=e.unboundDepsCount,i=0;ir&&(r=u.dependenciesState)}n.length=a,e.newObserving=null,o=t.length;while(o--){u=t[o];0===u.diffValue&&Gt(u,e),u.diffValue=0}while(a--){u=n[a];1===u.diffValue&&(u.diffValue=0,Wt(u,e))}r!==Dt.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}function un(e){var t=e.observing;e.observing=[];var n=t.length;while(n--)Gt(t[n],e);e.dependenciesState=Dt.NOT_TRACKING}function ln(e){var t=cn(),n=e();return sn(t),n}function cn(){var e=Ft.trackingDerivation;return Ft.trackingDerivation=null,e}function sn(e){Ft.trackingDerivation=e}function fn(e){if(e.dependenciesState!==Dt.UP_TO_DATE){e.dependenciesState=Dt.UP_TO_DATE;var t=e.observing,n=t.length;while(n--)t[n].lowestObserverState=Dt.UP_TO_DATE}}function dn(){for(var e=[],t=0;t0||Ft.isRunningReactions||vn(yn)}function yn(){Ft.isRunningReactions=!0;var e=Ft.pendingReactions,t=0;while(e.length>0){++t===mn&&(console.error("Reaction doesn't converge to a stable state after "+mn+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,a=n.length;r '\"never\"', 'true' => '\"observed\"', '\"strict\"' => \"'always'\" instead");var i=void 0;switch(t){case!0:case"observed":i=!0;break;case!1:case"never":i=!1;break;case"strict":case"always":i="strict";break;default:fail("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Ft.enforceActions=i,Ft.allowStateChanges=!0!==i&&"strict"!==i}void 0!==n&&(Ft.computedRequiresReaction=!!n),!0===e.isolateGlobalState&&Ut(),void 0!==r&&(!0===r&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors if this is on."),Ft.disableErrorBoundaries=!!r),"number"===typeof a&<(a),o&&wn(o)}var kn={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function xn(e,t,n,r){return r.detectCycles&&e.set(t,n),n}function Sn(e,t,n){if(!t.recurseEverything&&!ge(e))return e;if("object"!==typeof e)return e;if(null===e)return null;if(e instanceof Date)return e;if(ne(e))return Sn(e.get(),t,n);ge(e)&&En(e);var r=!0===t.detectCycles;if(r&&null!==e&&n.has(e))return n.get(e);if(st(e)||Array.isArray(e)){var a=xn(n,e,[],t),o=e.map((function(e){return Sn(e,t,n)}));a.length=o.length;for(var i=0,u=o.length;i1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=void 0===l?n:a(l,n);while(c>u)t[u++]=e;return t}},"5jZn":function(e,t,n){var r=n("OOCw"),a=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*a}})},"5yEw":function(e,t,n){var r=n("3Hes"),a=r("toStringTag"),o={};o[a]="z",e.exports="[object z]"===String(o)},"63eO":function(e,t,n){var r=n("x+sk"),a=n("g0aX"),o=n("3Hes"),i=o("species");e.exports=function(e,t){var n;return a(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!a(n.prototype)?r(n)&&(n=n[i],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},"67Yi":function(e,t,n){var r=n("K29s"),a=n("AU2x"),o=n("u7Ge"),i=n("w7O4"),u=n("GRr6");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0)}},"6jqD":function(e,t,n){var r=n("x+sk");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"6ssM":function(e,t,n){var r=n("r+6h"),a=n("UQib"),o=n("ZVkV"),i=n("684d"),u=n("JSMs"),l=n("oEsY"),c=n("p3eN"),s=Object.getOwnPropertyDescriptor;t.f=r?s:function(e,t){if(e=i(e),t=u(t,!0),c)try{return s(e,t)}catch(n){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},"6vUj":function(e,t,n){var r=n("pgBP"),a=n("dfcU"),o=n("Zjj6");function i(e){return o(e)?r(e):a(e)}e.exports=i},"6wQi":function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("lCDx"),i=n("R8Gd"),u=n("OUyb"),l=n("yPwS"),c=n("VUwz"),s=n("yjmR"),f=n("Ebyb"),d=n.n(f),p=n("mgR2"),h=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=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(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))},m=n("9012");function v(e,t){var n=t||{},a=n.defaultValue,o=n.value,i=n.onChange,l=n.postState,c=Object(m["a"])((function(){return void 0!==o?o:void 0!==a?"function"===typeof a?a():a:"function"===typeof e?e():e})),s=Object(u["a"])(c,2),f=s[0],d=s[1],p=void 0!==o?o:f;l&&(p=l(p));var h=r["useRef"](i);h.current=i;var v=r["useCallback"]((function(e,t){d(e,t),p!==e&&h.current&&h.current(e,p)}),[p,h]),g=r["useRef"](o);return r["useEffect"]((function(){void 0===o&&o!==g.current&&d(o),g.current=o}),[o]),[p,v]}var g=n("UbNf"),y=n("jZl0"),b=n("nLPW");function w(e){var t=Object(r["useRef"])(),n=Object(r["useRef"])(!1);function a(){for(var r=arguments.length,a=new Array(r),o=0;od&&pl+m){n=r-1;break}}for(var o=0,s=t-1;s>=0;s-=1){var f=e.get(c[s].key)||C;if(f[u]E,je=Object(r["useMemo"])((function(){var e=l;return ke?e=null===N&&R?l:l.slice(0,Math.min(l.length,F/v)):"number"===typeof E&&(e=l.slice(0,E)),e}),[l,v,N,E,ke]),Ce=Object(r["useMemo"])((function(){return ke?l.slice(me+1):l.slice(je.length)}),[l,je,ke,me]),_e=Object(r["useCallback"])((function(e,t){var n;return"function"===typeof h?h(e):null!==(n=h&&(null===e||void 0===e?void 0:e[h]))&&void 0!==n?n:t}),[h]),Ae=Object(r["useCallback"])(f||function(e){return e},[f]);function Te(e,t){he(e),t||(be(eF){Te(r-1),se(e-a-oe+te);break}}x&&Ne(0)+oe>F&&se(null)}}),[F,Y,te,oe,_e,je]);var Ie=ye&&!!Ce.length,Le={};null!==ce&&ke&&(Le={position:"absolute",left:ce,top:0});var Be,Fe={prefixCls:we,responsive:ke,component:C,invalidate:xe},Ue=p?function(e,t){var n=_e(e,t);return r["createElement"](V.Provider,{key:n,value:Object(s["a"])(Object(s["a"])({},Fe),{},{order:t,item:e,itemKey:n,registerSize:Me,display:t<=me})},p(e,t))}:function(e,t){var n=_e(e,t);return r["createElement"](L,Object(o["a"])({},Fe,{order:t,key:n,item:e,renderItem:Ae,itemKey:n,registerSize:Me,display:t<=me}))},ze={order:Ie?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:Pe,display:Ie};if(k)k&&(Be=r["createElement"](V.Provider,{value:Object(s["a"])(Object(s["a"])({},Fe),ze)},k(Ce)));else{var Ye=O||q;Be=r["createElement"](L,Object(o["a"])({},Fe,ze),"function"===typeof Ye?Ye(Ce):Ye)}var We=r["createElement"](j,Object(o["a"])({className:d()(!xe&&a,w),style:y,ref:t},A),je.map(Ue),Se?Be:null,x&&r["createElement"](L,Object(o["a"])({},Fe,{responsive:Oe,responsiveDisabled:!ke,order:me,className:"".concat(we,"-suffix"),registerSize:De,display:!0,style:Le}),x));return Oe&&(We=r["createElement"](b["a"],{onResize:Re,disabled:!ke},We)),We}var Q=r["forwardRef"](K);Q.displayName="Overflow",Q.Item=G,Q.RESPONSIVE=$,Q.INVALIDATE=X;var Z=Q,J=Z,ee=n("l6qj"),te=n("4rHh"),ne=n("j/sL"),re=n("/3Cb"),ae=n("KLPW"),oe=n("x0RL"),ie=["children","locked"],ue=r["createContext"](null);function le(e,t){var n=Object(s["a"])({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}function ce(e){var t=e.children,n=e.locked,a=Object(c["a"])(e,ie),o=r["useContext"](ue),i=Object(oe["a"])((function(){return le(o,a)}),[o,a],(function(e,t){return!n&&(e[0]!==t[0]||!T()(e[1],t[1]))}));return r["createElement"](ue.Provider,{value:i},t)}function se(e,t,n,a){var o=r["useContext"](ue),i=o.activeKey,u=o.onActive,l=o.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),u(e)},c.onMouseLeave=function(t){null===a||void 0===a||a({key:e,domEvent:t}),l(e)}),c}var fe=["item"];function de(e){var t=e.item,n=Object(c["a"])(e,fe);return Object.defineProperty(n,"item",{get:function(){return Object(R["a"])(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function pe(e){var t,n=e.icon,a=e.props,o=e.children;return t="function"===typeof n?r["createElement"](n,Object(s["a"])({},a)):n,t||o||null}function he(e){var t=r["useContext"](ue),n=t.mode,a=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;var i=e;return a?{paddingRight:i*o}:{paddingLeft:i*o}}var me=[],ve=r["createContext"](null);function ge(){return r["useContext"](ve)}var ye=r["createContext"](me);function be(e){var t=r["useContext"](ye);return r["useMemo"]((function(){return void 0!==e?[].concat(Object(g["a"])(t),[e]):t}),[t,e])}var we=r["createContext"](null),Ee=r["createContext"](null);function Oe(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function ke(e){var t=r["useContext"](Ee);return Oe(t,e)}var xe=r["createContext"]({}),Se=xe,je=["title","attribute","elementRef"],Ce=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_e=["active"],Ae=function(e){Object(ne["a"])(n,e);var t=Object(re["a"])(n);function n(){return Object(ee["a"])(this,n),t.apply(this,arguments)}return Object(te["a"])(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,a=e.elementRef,i=Object(c["a"])(e,je),u=Object(ae["a"])(i,["eventKey"]);return Object(R["a"])(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r["createElement"](J.Item,Object(o["a"])({},n,{title:"string"===typeof t?t:void 0},u,{ref:a}))}}]),n}(r["Component"]),Te=function(e){var t,n=e.style,a=e.className,u=e.eventKey,l=(e.warnKey,e.disabled),f=e.itemIcon,p=e.children,h=e.role,m=e.onMouseEnter,v=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=Object(c["a"])(e,Ce),k=ke(u),x=r["useContext"](ue),S=x.prefixCls,j=x.onItemClick,C=x.disabled,_=x.overflowDisabled,A=x.itemIcon,T=x.selectedKeys,R=x.onActive,M=r["useContext"](Se),P=M._internalRenderMenuItem,D="".concat(S,"-item"),N=r["useRef"](),I=r["useRef"](),L=C||l,B=be(u);var F=function(e){return{key:u,keyPath:Object(g["a"])(B).reverse(),item:N.current,domEvent:e}},U=f||A,z=se(u,L,m,v),Y=z.active,W=Object(c["a"])(z,_e),G=T.includes(u),H=he(B.length),V=function(e){if(!L){var t=F(e);null===y||void 0===y||y(de(t)),j(t)}},$=function(e){if(null===b||void 0===b||b(e),e.which===O["a"].ENTER){var t=F(e);null===y||void 0===y||y(de(t)),j(t)}},X=function(e){R(u),null===w||void 0===w||w(e)},q={};"option"===e.role&&(q["aria-selected"]=G);var K=r["createElement"](Ae,Object(o["a"])({ref:N,elementRef:I,role:null===h?"none":h||"menuitem",tabIndex:l?null:-1,"data-menu-id":_&&k?null:k},E,W,q,{component:"li","aria-disabled":l,style:Object(s["a"])(Object(s["a"])({},H),n),className:d()(D,(t={},Object(i["a"])(t,"".concat(D,"-active"),Y),Object(i["a"])(t,"".concat(D,"-selected"),G),Object(i["a"])(t,"".concat(D,"-disabled"),L),t),a),onClick:V,onKeyDown:$,onFocus:X}),p,r["createElement"](pe,{props:Object(s["a"])(Object(s["a"])({},e),{},{isSelected:G}),icon:U}));return P&&(K=P(K,e,{selected:G})),K};function Re(e){var t=e.eventKey,n=ge(),a=be(t);return r["useEffect"]((function(){if(n)return n.registerPath(t,a),function(){n.unregisterPath(t,a)}}),[a]),n?null:r["createElement"](Te,e)}var Me=Re,Pe=["label","children","key","type"];function De(e,t){return Object(p["a"])(e).map((function(e,n){if(r["isValidElement"](e)){var a,o,i=e.key,u=null!==(a=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==a?a:i,l=null===u||void 0===u;l&&(u="tmp_key-".concat([].concat(Object(g["a"])(t),[n]).join("-")));var c={key:u,eventKey:u};return r["cloneElement"](e,c)}return e}))}function Ne(e){return(e||[]).map((function(e,t){if(e&&"object"===Object(l["a"])(e)){var n=e.label,a=e.children,i=e.key,u=e.type,s=Object(c["a"])(e,Pe),f=null!==i&&void 0!==i?i:"tmp-".concat(t);return a||"group"===u?"group"===u?r["createElement"](Zr,Object(o["a"])({key:f},s,{title:n}),Ne(a)):r["createElement"](yr,Object(o["a"])({key:f},s,{title:n}),Ne(a)):"divider"===u?r["createElement"](Jr,Object(o["a"])({key:f},s)):r["createElement"](Me,Object(o["a"])({key:f},s),n)}return null})).filter((function(e){return e}))}function Ie(e,t,n){var r=e;return t&&(r=Ne(t)),De(r,n)}function Le(e){var t=r["useRef"](e);t.current=e;var n=r["useCallback"]((function(){for(var e,n=arguments.length,r=new Array(n),a=0;a=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function dn(e,t,n,r){var a=on.clone(e),o={width:t.width,height:t.height};return r.adjustX&&a.left=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),on.mix(a,o)}function pn(e){var t,n,r;if(on.isWindow(e)||9===e.nodeType){var a=on.getWindow(e);t={left:on.getWindowScrollLeft(a),top:on.getWindowScrollTop(a)},n=on.viewportWidth(a),r=on.viewportHeight(a)}else t=on.offset(e),n=on.outerWidth(e),r=on.outerHeight(e);return t.width=n,t.height=r,t}function hn(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,u=e.top;return"c"===n?u+=o/2:"b"===n&&(u+=o),"c"===r?i+=a/2:"r"===r&&(i+=a),{left:i,top:u}}function mn(e,t,n,r,a){var o=hn(t,n[1]),i=hn(e,n[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+r[0]-a[0]),top:Math.round(e.top-u[1]+r[1]-a[1])}}function vn(e,t,n){return e.leftn.right}function gn(e,t,n){return e.topn.bottom}function yn(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function jn(e,t,n){var r=n.target||t,a=pn(r),o=!Sn(r,n.overflow&&n.overflow.alwaysByViewport);return xn(e,a,n,o)}function Cn(e,t,n){var r,a,o=on.getDocument(e),i=o.defaultView||o.parentWindow,u=on.getWindowScrollLeft(i),l=on.getWindowScrollTop(i),c=on.viewportWidth(i),s=on.viewportHeight(i);r="pageX"in t?t.pageX:u+t.clientX,a="pageY"in t?t.pageY:l+t.clientY;var f={left:r,top:a,width:0,height:0},d=r>=0&&r<=u+c&&a>=0&&a<=l+s,p=[n.points[0],"cc"];return xn(e,f,ut(ut({},n),{},{points:p}),d)}jn.__getOffsetParent=ln,jn.__getVisibleRectForElement=fn;var _n=n("rDMZ"),An=n.n(_n),Tn=n("QQXB");function Rn(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function Mn(e,t){e!==document.activeElement&&He(t,e)&&"function"===typeof e.focus&&e.focus()}function Pn(e,t){var n=null,r=null;function a(e){var a=Object(u["a"])(e,1),o=a[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),l=i.width,c=i.height,s=Math.floor(l),f=Math.floor(c);n===s&&r===f||Promise.resolve().then((function(){t({width:s,height:f})})),n=s,r=f}}var o=new Tn["a"](a);return e&&o.observe(e),function(){o.disconnect()}}var Dn=function(e,t){var n=a.a.useRef(!1),r=a.a.useRef(null);function o(){window.clearTimeout(r.current)}function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}}return[i,function(){n.current=!1,o()}]};function Nn(e){return"function"!==typeof e?null:e()}function In(e){return"object"===Object(l["a"])(e)&&e?e:null}var Ln=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,l=e.onAlign,c=e.monitorWindowResize,s=e.monitorBufferTime,f=void 0===s?0:s,d=a.a.useRef({}),p=a.a.useRef(),h=a.a.Children.only(n),m=a.a.useRef({});m.current.disabled=r,m.current.target=o,m.current.align=i,m.current.onAlign=l;var v=Dn((function(){var e=m.current,t=e.disabled,n=e.target,r=e.align,a=e.onAlign;if(!t&&n){var o,i=p.current,u=Nn(n),l=In(n);d.current.element=u,d.current.point=l,d.current.align=r;var c=document,s=c.activeElement;return u&&ot(u)?o=jn(i,u,r):l&&(o=Cn(i,l,r)),Mn(s,i),a&&o&&a(i,o),!0}return!1}),f),g=Object(u["a"])(v,2),y=g[0],b=g[1],w=a.a.useRef({cancel:function(){}}),E=a.a.useRef({cancel:function(){}});a.a.useEffect((function(){var e=Nn(o),t=In(o);p.current!==E.current.element&&(E.current.cancel(),E.current.element=p.current,E.current.cancel=Pn(p.current,y)),d.current.element===e&&Rn(d.current.point,t)&&An()(d.current.align,i)||(y(),w.current.element!==e&&(w.current.cancel(),w.current.element=e,w.current.cancel=Pn(e,y)))})),a.a.useEffect((function(){r?b():y()}),[r]);var O=a.a.useRef(null);return a.a.useEffect((function(){c?O.current||(O.current=Xe(window,"resize",y)):O.current&&(O.current.remove(),O.current=null)}),[c]),a.a.useEffect((function(){return function(){w.current.cancel(),E.current.cancel(),O.current&&O.current.remove(),b()}}),[]),a.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return y(!0)}}})),a.a.isValidElement(h)&&(h=a.a.cloneElement(h,{ref:Object($e["a"])(h.ref,p)})),h},Bn=a.a.forwardRef(Ln);Bn.displayName="Align";var Fn=Bn,Un=Fn;function zn(){zn=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),i=new x(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return j()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var u=E(i,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=c;var f={};function d(){}function p(){}function h(){}var m={};u(m,a,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(S([])));g&&g!==t&&n.call(g,a)&&(m=g);var y=h.prototype=d.prototype=Object.create(m);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(a,o,i,u){var c=s(e[a],e,o);if("throw"!==c.type){var f=c.arg,d=f.value;return d&&"object"==Object(l["a"])(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(d).then((function(e){f.value=e,i(f)}),(function(e){return r("throw",e,i,u)}))}u(c.arg)}var a;this._invoke=function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator["return"]&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function S(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function Yn(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,a)}function Wn(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Yn(o,r,a,i,u,"next",e)}function u(e){Yn(o,r,a,i,u,"throw",e)}i(void 0)}))}}var Gn=["measure","alignPre","align",null,"motion"],Hn=function(e,t){var n=Object(m["a"])(null),a=Object(u["a"])(n,2),o=a[0],i=a[1],l=Object(r["useRef"])();function c(e){i(e,!0)}function s(){y["a"].cancel(l.current)}function f(e){s(),l.current=Object(y["a"])((function(){c((function(e){switch(o){case"align":return"motion";case"motion":return"stable";default:}return e})),null===e||void 0===e||e()}))}return Object(r["useEffect"])((function(){c("measure")}),[e]),Object(r["useEffect"])((function(){switch(o){case"measure":t();break;default:}o&&(l.current=Object(y["a"])(Wn(zn().mark((function e(){var t,n;return zn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=Gn.indexOf(o),n=Gn[t+1],n&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),Object(r["useEffect"])((function(){return function(){s()}}),[]),[o,f]},Vn=function(e){var t=r["useState"]({width:0,height:0}),n=Object(u["a"])(t,2),a=n[0],o=n[1];function i(e){o({width:e.offsetWidth,height:e.offsetHeight})}var l=r["useMemo"]((function(){var t={};if(e){var n=a.width,r=a.height;-1!==e.indexOf("height")&&r?t.height=r:-1!==e.indexOf("minHeight")&&r&&(t.minHeight=r),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,a]);return[l,i]},$n=r["forwardRef"]((function(e,t){var n=e.visible,a=e.prefixCls,i=e.className,l=e.style,c=e.children,f=e.zIndex,p=e.stretch,h=e.destroyPopupOnHide,m=e.forceRender,v=e.align,g=e.point,y=e.getRootDomNode,b=e.getClassNameFromAlign,w=e.onAlign,E=e.onMouseEnter,O=e.onMouseLeave,k=e.onMouseDown,x=e.onTouchStart,S=e.onClick,j=Object(r["useRef"])(),C=Object(r["useRef"])(),_=Object(r["useState"])(),A=Object(u["a"])(_,2),T=A[0],R=A[1],P=Vn(p),D=Object(u["a"])(P,2),N=D[0],I=D[1];function L(){p&&I(y())}var B=Hn(n,L),F=Object(u["a"])(B,2),U=F[0],z=F[1],Y=Object(r["useState"])(0),W=Object(u["a"])(Y,2),G=W[0],H=W[1],V=Object(r["useRef"])();function $(){return g||y}function X(){var e;null===(e=j.current)||void 0===e||e.forceAlign()}function q(e,t){var n=b(t);T!==n&&R(n),H((function(e){return e+1})),"align"===U&&(null===w||void 0===w||w(e,t))}Object(M["a"])((function(){"alignPre"===U&&H(0)}),[U]),Object(M["a"])((function(){"align"===U&&(G<2?X():z((function(){var e;null===(e=V.current)||void 0===e||e.call(V)})))}),[G]);var K=Object(s["a"])({},nt(e));function Q(){return new Promise((function(e){V.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=K[e];K[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),r["useEffect"]((function(){K.motionName||"motion"!==U||z()}),[K.motionName,U]),r["useImperativeHandle"](t,(function(){return{forceAlign:X,getElement:function(){return C.current}}}));var Z=Object(s["a"])(Object(s["a"])({},N),{},{zIndex:f,opacity:"motion"!==U&&"stable"!==U&&n?0:void 0,pointerEvents:n||"stable"===U?void 0:"none"},l),J=!0;!(null===v||void 0===v?void 0:v.points)||"align"!==U&&"stable"!==U||(J=!1);var ee=c;return r["Children"].count(c)>1&&(ee=r["createElement"]("div",{className:"".concat(a,"-content")},c)),r["createElement"](tt["a"],Object(o["a"])({visible:n,ref:C,leavedClassName:"".concat(a,"-hidden")},K,{onAppearPrepare:Q,onEnterPrepare:Q,removeOnLeave:h,forceRender:m}),(function(e,t){var n=e.className,o=e.style,u=d()(a,i,T,n);return r["createElement"](Un,{target:$(),key:"popup",ref:j,monitorWindowResize:!0,disabled:J,align:v,onAlign:q},r["createElement"]("div",{ref:t,className:u,onMouseEnter:E,onMouseLeave:O,onMouseDownCapture:k,onTouchStartCapture:x,onClick:S,style:Object(s["a"])(Object(s["a"])({},o),Z)},ee))}))}));$n.displayName="PopupInner";var Xn=$n,qn=r["forwardRef"]((function(e,t){var n=e.prefixCls,a=e.visible,i=e.zIndex,u=e.children,l=e.mobile;l=void 0===l?{}:l;var c=l.popupClassName,f=l.popupStyle,p=l.popupMotion,h=void 0===p?{}:p,m=l.popupRender,v=e.onClick,g=r["useRef"]();r["useImperativeHandle"](t,(function(){return{forceAlign:function(){},getElement:function(){return g.current}}}));var y=Object(s["a"])({zIndex:i},f),b=u;return r["Children"].count(u)>1&&(b=r["createElement"]("div",{className:"".concat(n,"-content")},u)),m&&(b=m(b)),r["createElement"](tt["a"],Object(o["a"])({visible:a,ref:g,removeOnLeave:!0},h),(function(e,t){var a=e.className,o=e.style,i=d()(n,c,a);return r["createElement"]("div",{ref:t,className:i,onClick:v,style:Object(s["a"])(Object(s["a"])({},o),y)},b)}))}));qn.displayName="MobilePopupInner";var Kn=qn,Qn=["visible","mobile"],Zn=r["forwardRef"]((function(e,t){var n=e.visible,a=e.mobile,i=Object(c["a"])(e,Qn),l=Object(r["useState"])(n),f=Object(u["a"])(l,2),d=f[0],p=f[1],m=Object(r["useState"])(!1),v=Object(u["a"])(m,2),g=v[0],y=v[1],b=Object(s["a"])(Object(s["a"])({},i),{},{visible:d});Object(r["useEffect"])((function(){p(n),n&&a&&y(h())}),[n,a]);var w=g?r["createElement"](Kn,Object(o["a"])({},b,{mobile:a,ref:t})):r["createElement"](Xn,Object(o["a"])({},b,{ref:t}));return r["createElement"]("div",null,r["createElement"](rt,b),w)}));Zn.displayName="Popup";var Jn=Zn,er=r["createContext"](null),tr=er;function nr(){}function rr(){return""}function ar(e){return e?e.ownerDocument:window.document}var or=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function ir(e){var t=function(t){Object(ne["a"])(a,t);var n=Object(re["a"])(a);function a(e){var t,i;return Object(ee["a"])(this,a),t=n.call(this,e),t.popupRef=r["createRef"](),t.triggerRef=r["createRef"](),t.portalContainer=void 0,t.attachId=void 0,t.clickOutsideHandler=void 0,t.touchOutsideHandler=void 0,t.contextMenuOutsideHandler1=void 0,t.contextMenuOutsideHandler2=void 0,t.mouseDownTimeout=void 0,t.focusTime=void 0,t.preClickTime=void 0,t.preTouchTime=void 0,t.delayTimer=void 0,t.hasPopupMouseDown=void 0,t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&He(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),a=t.getPopupDomNode();He(r,n)&&!t.isContextMenuOnly()||He(a,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(Ve["a"])(t.triggerRef.current);if(n)return n}catch(r){}return Ge.a.findDOMNode(Object(Ye["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,a=r.popupPlacement,o=r.builtinPlacements,i=r.prefixCls,u=r.alignPoint,l=r.getPopupClassNameFromAlign;return a&&o&&n.push(et(o,i,e,u)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,a=e.destroyPopupOnHide,i=e.popupClassName,u=e.onPopupAlign,l=e.popupMotion,c=e.popupAnimation,s=e.popupTransitionName,f=e.popupStyle,d=e.mask,p=e.maskAnimation,h=e.maskTransitionName,m=e.maskMotion,v=e.zIndex,g=e.popup,y=e.stretch,b=e.alignPoint,w=e.mobile,E=e.forceRender,O=e.onPopupClick,k=t.state,x=k.popupVisible,S=k.point,j=t.getPopupAlign(),C={};return t.isMouseEnterToShow()&&(C.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(C.onMouseLeave=t.onPopupMouseLeave),C.onMouseDown=t.onPopupMouseDown,C.onTouchStart=t.onPopupMouseDown,r["createElement"](Jn,Object(o["a"])({prefixCls:n,destroyPopupOnHide:a,visible:x,point:b&&S,className:i,align:j,onAlign:u,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign},C,{stretch:y,getRootDomNode:t.getRootDomNode,style:f,mask:d,zIndex:v,transitionName:s,maskAnimation:p,maskTransitionName:h,maskMotion:m,ref:t.popupRef,motion:l,mobile:w,forceRender:E,onClick:O}),"function"===typeof g?g():g)},t.attachParent=function(e){y["a"].cancel(t.attachId);var n,r=t.props,a=r.getPopupContainer,o=r.getDocument,i=t.getRootDomNode();a?(i||0===a.length)&&(n=a(i)):n=o(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=Object(y["a"])((function(){t.attachParent(e)}))},t.getContainer=function(){if(!t.portalContainer){var e=t.props.getDocument,n=e(t.getRootDomNode()).createElement("div");n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",t.portalContainer=n}return t.attachParent(t.portalContainer),t.portalContainer},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},t.triggerContextValue={onPopupMouseDown:t.onPopupMouseDown},i="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:i,popupVisible:i},or.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(te["a"])(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Xe(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Xe(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Xe(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xe(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),y["a"].cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?Je(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,a=1e3*t;if(this.clearDelayTimer(),a){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),a)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,a=n.children,o=n.forceRender,i=n.alignPoint,u=n.className,l=n.autoDestroy,c=r["Children"].only(a),f={key:"trigger"};this.isContextMenuToShow()?f.onContextMenu=this.onContextMenu:f.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(f.onClick=this.onClick,f.onMouseDown=this.onMouseDown,f.onTouchStart=this.onTouchStart):(f.onClick=this.createTwoChains("onClick"),f.onMouseDown=this.createTwoChains("onMouseDown"),f.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(f.onMouseEnter=this.onMouseEnter,i&&(f.onMouseMove=this.onMouseMove)):f.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?f.onMouseLeave=this.onMouseLeave:f.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(f.onFocus=this.onFocus,f.onBlur=this.onBlur):(f.onFocus=this.createTwoChains("onFocus"),f.onBlur=this.createTwoChains("onBlur"));var p=d()(c&&c.props&&c.props.className,u);p&&(f.className=p);var h=Object(s["a"])({},f);Object($e["c"])(c)&&(h.ref=Object($e["a"])(this.triggerRef,c.ref));var m,v=r["cloneElement"](c,h);return(t||this.popupRef.current||o)&&(m=r["createElement"](e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&l&&(m=null),r["createElement"](tr.Provider,{value:this.triggerContextValue},v,m)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),a}(r["Component"]);return t.contextType=tr,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:rr,getDocument:ar,onPopupVisibleChange:nr,afterPopupVisibleChange:nr,onPopupAlign:nr,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var ur=ir(Qe),lr={adjustX:1,adjustY:1},cr={topLeft:{points:["bl","tl"],overflow:lr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:lr,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:lr,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:lr,offset:[4,0]}},sr={topLeft:{points:["bl","tl"],overflow:lr,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:lr,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:lr,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:lr,offset:[4,0]}};function fr(e,t,n){return t||(n?n[e]||n.other:void 0)}var dr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function pr(e){var t=e.prefixCls,n=e.visible,a=e.children,o=e.popup,l=e.popupClassName,c=e.popupOffset,f=e.disabled,p=e.mode,h=e.onVisibleChange,m=r["useContext"](ue),v=m.getPopupContainer,g=m.rtl,b=m.subMenuOpenDelay,w=m.subMenuCloseDelay,E=m.builtinPlacements,O=m.triggerSubMenuAction,k=m.forceSubMenuRender,x=m.rootClassName,S=m.motion,j=m.defaultMotions,C=r["useState"](!1),_=Object(u["a"])(C,2),A=_[0],T=_[1],R=g?Object(s["a"])(Object(s["a"])({},sr),E):Object(s["a"])(Object(s["a"])({},cr),E),M=dr[p],P=fr(p,S,j),D=Object(s["a"])(Object(s["a"])({},P),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),N=r["useRef"]();return r["useEffect"]((function(){return N.current=Object(y["a"])((function(){T(n)})),function(){y["a"].cancel(N.current)}}),[n]),r["createElement"](ur,{prefixCls:t,popupClassName:d()("".concat(t,"-popup"),Object(i["a"])({},"".concat(t,"-rtl"),g),l,x),stretch:"horizontal"===p?"minWidth":null,getPopupContainer:v,builtinPlacements:R,popupPlacement:M,popupVisible:A,popup:o,popupAlign:c&&{offset:c},action:f?[]:[O],mouseEnterDelay:b,mouseLeaveDelay:w,onPopupVisibleChange:h,forceRender:k,popupMotion:D},a)}function hr(e){var t=e.id,n=e.open,a=e.keyPath,i=e.children,l="inline",c=r["useContext"](ue),f=c.prefixCls,d=c.forceSubMenuRender,p=c.motion,h=c.defaultMotions,m=c.mode,v=r["useRef"](!1);v.current=m===l;var g=r["useState"](!v.current),y=Object(u["a"])(g,2),b=y[0],w=y[1],E=!!v.current&&n;r["useEffect"]((function(){v.current&&w(!1)}),[m]);var O=Object(s["a"])({},fr(l,p,h));a.length>1&&(O.motionAppear=!1);var k=O.onVisibleChanged;return O.onVisibleChanged=function(e){return v.current||e||w(!0),null===k||void 0===k?void 0:k(e)},b?null:r["createElement"](ce,{mode:l,locked:!v.current},r["createElement"](tt["a"],Object(o["a"])({visible:E},O,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){var n=e.className,a=e.style;return r["createElement"](ze,{id:t,className:n,style:a},i)})))}var mr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],vr=["active"],gr=function(e){var t,n=e.style,a=e.className,l=e.title,f=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,v=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,w=e.onClick,E=e.onMouseEnter,O=e.onMouseLeave,k=e.onTitleClick,x=e.onTitleMouseEnter,S=e.onTitleMouseLeave,j=Object(c["a"])(e,mr),C=ke(f),_=r["useContext"](ue),A=_.prefixCls,T=_.mode,R=_.openKeys,M=_.disabled,P=_.overflowDisabled,D=_.activeKey,N=_.selectedKeys,I=_.itemIcon,L=_.expandIcon,B=_.onItemClick,F=_.onOpenChange,U=_.onActive,z=r["useContext"](Se),Y=z._internalRenderSubMenuItem,W=r["useContext"](we),G=W.isSubPathKey,H=be(),V="".concat(A,"-submenu"),$=M||p,X=r["useRef"](),q=r["useRef"]();var K=v||I,Q=g||L,Z=R.includes(f),ee=!P&&Z,te=G(N,f),ne=se(f,$,x,S),re=ne.active,ae=Object(c["a"])(ne,vr),oe=r["useState"](!1),ie=Object(u["a"])(oe,2),le=ie[0],fe=ie[1],me=function(e){$||fe(e)},ve=function(e){me(!0),null===E||void 0===E||E({key:f,domEvent:e})},ge=function(e){me(!1),null===O||void 0===O||O({key:f,domEvent:e})},ye=r["useMemo"]((function(){return re||"inline"!==T&&(le||G([D],f))}),[T,re,D,le,f,G]),Ee=he(H.length),Oe=function(e){$||(null===k||void 0===k||k({key:f,domEvent:e}),"inline"===T&&F(f,!Z))},xe=Le((function(e){null===w||void 0===w||w(de(e)),B(e)})),je=function(e){"inline"!==T&&F(f,e)},Ce=function(){U(f)},_e=C&&"".concat(C,"-popup"),Ae=r["createElement"]("div",Object(o["a"])({role:"menuitem",style:Ee,className:"".concat(V,"-title"),tabIndex:$?null:-1,ref:X,title:"string"===typeof l?l:null,"data-menu-id":P&&C?null:C,"aria-expanded":ee,"aria-haspopup":!0,"aria-controls":_e,"aria-disabled":$,onClick:Oe,onFocus:Ce},ae),l,r["createElement"](pe,{icon:"horizontal"!==T?Q:null,props:Object(s["a"])(Object(s["a"])({},e),{},{isOpen:ee,isSubMenu:!0})},r["createElement"]("i",{className:"".concat(V,"-arrow")}))),Te=r["useRef"](T);if("inline"!==T&&(Te.current=H.length>1?"vertical":T),!P){var Re=Te.current;Ae=r["createElement"](pr,{mode:Re,prefixCls:V,visible:!h&&ee&&"inline"!==T,popupClassName:y,popupOffset:b,popup:r["createElement"](ce,{mode:"horizontal"===Re?"vertical":Re},r["createElement"](ze,{id:_e,ref:q},m)),disabled:$,onVisibleChange:je},Ae)}var Me=r["createElement"](J.Item,Object(o["a"])({role:"none"},j,{component:"li",style:n,className:d()(V,"".concat(V,"-").concat(T),a,(t={},Object(i["a"])(t,"".concat(V,"-open"),ee),Object(i["a"])(t,"".concat(V,"-active"),ye),Object(i["a"])(t,"".concat(V,"-selected"),te),Object(i["a"])(t,"".concat(V,"-disabled"),$),t)),onMouseEnter:ve,onMouseLeave:ge}),Ae,!P&&r["createElement"](hr,{id:_e,open:ee,keyPath:H},m));return Y&&(Me=Y(Me,e,{selected:te,active:ye,open:ee,disabled:$})),r["createElement"](ce,{onItemClick:xe,mode:"horizontal"===T?"vertical":T,itemIcon:K,expandIcon:Q},Me)};function yr(e){var t,n=e.eventKey,a=e.children,o=be(n),i=De(a,o),u=ge();return r["useEffect"]((function(){if(u)return u.registerPath(n,o),function(){u.unregisterPath(n,o)}}),[o]),t=u?i:r["createElement"](gr,e,i),r["createElement"](ye.Provider,{value:o},t)}function br(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ot(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function wr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(g["a"])(e.querySelectorAll("*")).filter((function(e){return br(e,t)}));return br(e,t)&&n.unshift(e),n}var Er=O["a"].LEFT,Or=O["a"].RIGHT,kr=O["a"].UP,xr=O["a"].DOWN,Sr=O["a"].ENTER,jr=O["a"].ESC,Cr=O["a"].HOME,_r=O["a"].END,Ar=[kr,xr,Er,Or];function Tr(e,t,n,r){var a,o,u,l,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===Sr)return{inlineTrigger:!0};var p=(a={},Object(i["a"])(a,kr,c),Object(i["a"])(a,xr,s),a),h=(o={},Object(i["a"])(o,Er,n?s:c),Object(i["a"])(o,Or,n?c:s),Object(i["a"])(o,xr,f),Object(i["a"])(o,Sr,f),o),m=(u={},Object(i["a"])(u,kr,c),Object(i["a"])(u,xr,s),Object(i["a"])(u,Sr,f),Object(i["a"])(u,jr,d),Object(i["a"])(u,Er,n?f:d),Object(i["a"])(u,Or,n?d:f),u),v={inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m},g=null===(l=v["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r];switch(g){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}function Rr(e){var t=e;while(t){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Mr(e,t){var n=e||document.activeElement;while(n){if(t.has(n))return n;n=n.parentElement}return null}function Pr(e,t){var n=wr(e,!0);return n.filter((function(e){return t.has(e)}))}function Dr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var a=Pr(e,t),o=a.length,i=a.findIndex((function(e){return n===e}));return r<0?-1===i?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}function Nr(e,t,n,a,o,i,u,l,c,s){var f=r["useRef"](),d=r["useRef"]();d.current=t;var p=function(){y["a"].cancel(f.current)};return r["useEffect"]((function(){return function(){p()}}),[]),function(r){var h=r.which;if([].concat(Ar,[Sr,jr,Cr,_r]).includes(h)){var m,v,g,b=function(){m=new Set,v=new Map,g=new Map;var e=i();return e.forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Oe(a,e),"']"));t&&(m.add(t),g.set(t,e),v.set(e,t))})),m};b();var w=v.get(t),E=Mr(w,m),O=g.get(E),k=Tr(e,1===u(O,!0).length,n,h);if(!k&&h!==Cr&&h!==_r)return;(Ar.includes(h)||[Cr,_r].includes(h))&&r.preventDefault();var x=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=g.get(e);l(r),p(),f.current=Object(y["a"])((function(){d.current===r&&t.focus()}))}};if([Cr,_r].includes(h)||k.sibling||!E){var S,j;S=E&&"inline"!==e?Rr(E):o.current;var C=Pr(S,m);j=h===Cr?C[0]:h===_r?C[C.length-1]:Dr(S,m,E,k.offset),x(j)}else if(k.inlineTrigger)c(O);else if(k.offset>0)c(O,!0),p(),f.current=Object(y["a"])((function(){b();var e=E.getAttribute("aria-controls"),t=document.getElementById(e),n=Dr(t,m);x(n)}),5);else if(k.offset<0){var _=u(O,!0),A=_[_.length-2],T=v.get(A);c(A,!1),x(T)}}null===s||void 0===s||s(r)}}var Ir=Math.random().toFixed(5).toString().slice(2),Lr=0;function Br(e){var t=v(e,{value:e}),n=Object(u["a"])(t,2),a=n[0],o=n[1];return r["useEffect"]((function(){Lr+=1;var e="".concat(Ir,"-").concat(Lr);o("rc-menu-uuid-".concat(e))}),[]),a}function Fr(e){Promise.resolve().then(e)}var Ur="__RC_UTIL_PATH_SPLIT__",zr=function(e){return e.join(Ur)},Yr=function(e){return e.split(Ur)},Wr="rc-menu-more";function Gr(){var e=r["useState"]({}),t=Object(u["a"])(e,2),n=t[1],a=Object(r["useRef"])(new Map),o=Object(r["useRef"])(new Map),i=r["useState"]([]),l=Object(u["a"])(i,2),c=l[0],s=l[1],f=Object(r["useRef"])(0),d=Object(r["useRef"])(!1),p=function(){d.current||n({})},h=Object(r["useCallback"])((function(e,t){var n=zr(t);o.current.set(n,e),a.current.set(e,n),f.current+=1;var r=f.current;Fr((function(){r===f.current&&p()}))}),[]),m=Object(r["useCallback"])((function(e,t){var n=zr(t);o.current["delete"](n),a.current["delete"](e)}),[]),v=Object(r["useCallback"])((function(e){s(e)}),[]),y=Object(r["useCallback"])((function(e,t){var n=a.current.get(e)||"",r=Yr(n);return t&&c.includes(r[0])&&r.unshift(Wr),r}),[c]),b=Object(r["useCallback"])((function(e,t){return e.some((function(e){var n=y(e,!0);return n.includes(t)}))}),[y]),w=function(){var e=Object(g["a"])(a.current.keys());return c.length&&e.push(Wr),e},E=Object(r["useCallback"])((function(e){var t="".concat(a.current.get(e)).concat(Ur),n=new Set;return Object(g["a"])(o.current.keys()).forEach((function(e){e.startsWith(t)&&n.add(o.current.get(e))})),n}),[]);return r["useEffect"]((function(){return function(){d.current=!0}}),[]),{registerPath:h,unregisterPath:m,refreshOverflowKeys:v,isSubPathKey:b,getKeyPath:y,getKeys:w,getSubPathKeys:E}}var Hr=["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"],Vr=[],$r=r["forwardRef"]((function(e,t){var n,a,l=e.prefixCls,f=void 0===l?"rc-menu":l,p=e.rootClassName,h=e.style,m=e.className,y=e.tabIndex,b=void 0===y?0:y,w=e.items,E=e.children,O=e.direction,k=e.id,x=e.mode,S=void 0===x?"vertical":x,j=e.inlineCollapsed,C=e.disabled,_=e.disabledOverflow,A=e.subMenuOpenDelay,R=void 0===A?.1:A,M=e.subMenuCloseDelay,P=void 0===M?.1:M,D=e.forceSubMenuRender,N=e.defaultOpenKeys,I=e.openKeys,L=e.activeKey,B=e.defaultActiveFirst,F=e.selectable,U=void 0===F||F,z=e.multiple,Y=void 0!==z&&z,W=e.defaultSelectedKeys,G=e.selectedKeys,H=e.onSelect,V=e.onDeselect,$=e.inlineIndent,X=void 0===$?24:$,q=e.motion,K=e.defaultMotions,Q=e.triggerSubMenuAction,Z=void 0===Q?"hover":Q,ee=e.builtinPlacements,te=e.itemIcon,ne=e.expandIcon,re=e.overflowedIndicator,ae=void 0===re?"...":re,oe=e.overflowedIndicatorPopupClassName,ie=e.getPopupContainer,ue=e.onClick,le=e.onOpenChange,se=e.onKeyDown,fe=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),pe=e._internalRenderSubMenuItem,he=Object(c["a"])(e,Hr),me=r["useMemo"]((function(){return Ie(E,w,Vr)}),[E,w]),ge=r["useState"](!1),ye=Object(u["a"])(ge,2),be=ye[0],ke=ye[1],xe=r["useRef"](),je=Br(k),Ce="rtl"===O;var _e=r["useMemo"]((function(){return"inline"!==S&&"vertical"!==S||!j?[S,!1]:["vertical",j]}),[S,j]),Ae=Object(u["a"])(_e,2),Te=Ae[0],Re=Ae[1],Pe=r["useState"](0),De=Object(u["a"])(Pe,2),Ne=De[0],Be=De[1],Fe=Ne>=me.length-1||"horizontal"!==Te||_,Ue=v(N,{value:I,postState:function(e){return e||Vr}}),ze=Object(u["a"])(Ue,2),Ye=ze[0],We=ze[1],Ge=function(e){We(e),null===le||void 0===le||le(e)},He=r["useState"](Ye),Ve=Object(u["a"])(He,2),$e=Ve[0],Xe=Ve[1],qe="inline"===Te,Ke=r["useRef"](!1);r["useEffect"]((function(){qe&&Xe(Ye)}),[Ye]),r["useEffect"]((function(){Ke.current?qe?We($e):Ge(Vr):Ke.current=!0}),[qe]);var Qe=Gr(),Ze=Qe.registerPath,Je=Qe.unregisterPath,et=Qe.refreshOverflowKeys,tt=Qe.isSubPathKey,nt=Qe.getKeyPath,rt=Qe.getKeys,at=Qe.getSubPathKeys,ot=r["useMemo"]((function(){return{registerPath:Ze,unregisterPath:Je}}),[Ze,Je]),it=r["useMemo"]((function(){return{isSubPathKey:tt}}),[tt]);r["useEffect"]((function(){et(Fe?Vr:me.slice(Ne+1).map((function(e){return e.key})))}),[Ne,Fe]);var ut=v(L||B&&(null===(n=me[0])||void 0===n?void 0:n.key),{value:L}),lt=Object(u["a"])(ut,2),ct=lt[0],st=lt[1],ft=Le((function(e){st(e)})),dt=Le((function(){st(void 0)}));Object(r["useImperativeHandle"])(t,(function(){return{list:xe.current,focus:function(e){var t,n,r,a,o=null!==ct&&void 0!==ct?ct:null===(t=me.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;o&&(null===(n=xe.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Oe(je,o),"']")))||void 0===r||null===(a=r.focus)||void 0===a||a.call(r,e))}}}));var pt=v(W||[],{value:G,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Vr:[e]}}),ht=Object(u["a"])(pt,2),mt=ht[0],vt=ht[1],gt=function(e){if(U){var t,n=e.key,r=mt.includes(n);t=Y?r?mt.filter((function(e){return e!==n})):[].concat(Object(g["a"])(mt),[n]):[n],vt(t);var a=Object(s["a"])(Object(s["a"])({},e),{},{selectedKeys:t});r?null===V||void 0===V||V(a):null===H||void 0===H||H(a)}!Y&&Ye.length&&"inline"!==Te&&Ge(Vr)},yt=Le((function(e){null===ue||void 0===ue||ue(de(e)),gt(e)})),bt=Le((function(e,t){var n=Ye.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Te){var r=at(e);n=n.filter((function(e){return!r.has(e)}))}T()(Ye,n)||Ge(n)})),wt=Le(ie),Et=function(e,t){var n=null!==t&&void 0!==t?t:!Ye.includes(e);bt(e,n)},Ot=Nr(Te,ct,Ce,je,xe,rt,nt,st,Et,se);r["useEffect"]((function(){ke(!0)}),[]);var kt=r["useMemo"]((function(){return{_internalRenderMenuItem:fe,_internalRenderSubMenuItem:pe}}),[fe,pe]),xt="horizontal"!==Te||_?me:me.map((function(e,t){return r["createElement"](ce,{key:e.key,overflowDisabled:t>Ne},e)})),St=r["createElement"](J,Object(o["a"])({id:k,ref:xe,prefixCls:"".concat(f,"-overflow"),component:"ul",itemComponent:Me,className:d()(f,"".concat(f,"-root"),"".concat(f,"-").concat(Te),m,(a={},Object(i["a"])(a,"".concat(f,"-inline-collapsed"),Re),Object(i["a"])(a,"".concat(f,"-rtl"),Ce),a),p),dir:O,style:h,role:"menu",tabIndex:b,data:xt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?me.slice(-t):null;return r["createElement"](yr,{eventKey:Wr,title:ae,disabled:Fe,internalPopupClose:0===t,popupClassName:oe},n)},maxCount:"horizontal"!==Te||_?J.INVALIDATE:J.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Be(e)},onKeyDown:Ot},he));return r["createElement"](Se.Provider,{value:kt},r["createElement"](Ee.Provider,{value:je},r["createElement"](ce,{prefixCls:f,rootClassName:p,mode:Te,openKeys:Ye,rtl:Ce,disabled:C,motion:be?q:null,defaultMotions:be?K:null,activeKey:ct,onActive:ft,onInactive:dt,selectedKeys:mt,inlineIndent:X,subMenuOpenDelay:R,subMenuCloseDelay:P,forceSubMenuRender:D,builtinPlacements:ee,triggerSubMenuAction:Z,getPopupContainer:wt,itemIcon:te,expandIcon:ne,onItemClick:yt,onOpenChange:bt},r["createElement"](we.Provider,{value:it},St),r["createElement"]("div",{style:{display:"none"},"aria-hidden":!0},r["createElement"](ve.Provider,{value:ot},me)))))})),Xr=$r,qr=["className","title","eventKey","children"],Kr=["children"],Qr=function(e){var t=e.className,n=e.title,a=(e.eventKey,e.children),i=Object(c["a"])(e,qr),u=r["useContext"](ue),l=u.prefixCls,s="".concat(l,"-item-group");return r["createElement"]("li",Object(o["a"])({},i,{onClick:function(e){return e.stopPropagation()},className:d()(s,t)}),r["createElement"]("div",{className:"".concat(s,"-title"),title:"string"===typeof n?n:void 0},n),r["createElement"]("ul",{className:"".concat(s,"-list")},a))};function Zr(e){var t=e.children,n=Object(c["a"])(e,Kr),a=be(n.eventKey),o=De(t,a),i=ge();return i?o:r["createElement"](Qr,Object(ae["a"])(n,["warnKey"]),o)}function Jr(e){var t=e.className,n=e.style,a=r["useContext"](ue),o=a.prefixCls,i=ge();return i?null:r["createElement"]("li",{className:d()("".concat(o,"-item-divider"),t),style:n})}var ea=Xr;ea.Item=Me,ea.SubMenu=yr,ea.ItemGroup=Zr,ea.Divider=Jr;var ta=ea,na={adjustX:1,adjustY:1},ra=[0,0],aa={topLeft:{points:["bl","tl"],overflow:na,offset:[0,-4],targetOffset:ra},topCenter:{points:["bc","tc"],overflow:na,offset:[0,-4],targetOffset:ra},topRight:{points:["br","tr"],overflow:na,offset:[0,-4],targetOffset:ra},bottomLeft:{points:["tl","bl"],overflow:na,offset:[0,4],targetOffset:ra},bottomCenter:{points:["tc","bc"],overflow:na,offset:[0,4],targetOffset:ra},bottomRight:{points:["tr","br"],overflow:na,offset:[0,4],targetOffset:ra}},oa=aa,ia=O["a"].ESC,ua=O["a"].TAB;function la(e){var t=e.visible,n=e.setTriggerVisible,a=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,u=r["useRef"](!1),l=function(){var e,r,i,u;t&&a.current&&(null===(e=a.current)||void 0===e||null===(r=e.triggerRef)||void 0===r||null===(i=r.current)||void 0===i||null===(u=i.focus)||void 0===u||u.call(i),n(!1),"function"===typeof o&&o(!1))},c=function(){var e,t,n,r,o=wr(null===(e=a.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(r=n.getElement)||void 0===r?void 0:r.call(n)),i=o[0];return!!(null===i||void 0===i?void 0:i.focus)&&(i.focus(),u.current=!0,!0)},s=function(e){switch(e.keyCode){case ia:l();break;case ua:var t=!1;u.current||(t=c()),t?e.preventDefault():l();break}};r["useEffect"]((function(){return t?(window.addEventListener("keydown",s),i&&Object(y["a"])(c,3),function(){window.removeEventListener("keydown",s),u.current=!1}):function(){u.current=!1}}),[t])}var ca=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function sa(e,t){var n=e.arrow,a=void 0!==n&&n,o=e.prefixCls,l=void 0===o?"rc-dropdown":o,f=e.transitionName,p=e.animation,h=e.align,m=e.placement,v=void 0===m?"bottomLeft":m,g=e.placements,y=void 0===g?oa:g,b=e.getPopupContainer,w=e.showAction,E=e.hideAction,O=e.overlayClassName,k=e.overlayStyle,x=e.visible,S=e.trigger,j=void 0===S?["hover"]:S,C=e.autoFocus,_=Object(c["a"])(e,ca),A=r["useState"](),T=Object(u["a"])(A,2),R=T[0],M=T[1],P="visible"in e?x:R,D=r["useRef"](null);r["useImperativeHandle"](t,(function(){return D.current})),la({visible:P,setTriggerVisible:M,triggerRef:D,onVisibleChange:e.onVisibleChange,autoFocus:C});var N=function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t},I=function(t){var n=e.onOverlayClick;M(!1),console.log("!!!!!!!!!!!!",n),n&&n(t)},L=function(t){var n=e.onVisibleChange;M(t),"function"===typeof n&&n(t)},B=function(){var e=N();return r["createElement"](r["Fragment"],null,a&&r["createElement"]("div",{className:"".concat(l,"-arrow")}),e)},F=function(){var t=e.overlay;return"function"===typeof t?B:B()},U=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(l,"-open")},Y=function(){var t=e.children,n=t.props?t.props:{},a=d()(n.className,z());return P&&t?r["cloneElement"](t,{className:a}):t},W=E;return W||-1===j.indexOf("contextMenu")||(W=["click"]),r["createElement"](ur,Object(s["a"])(Object(s["a"])({builtinPlacements:y},_),{},{prefixCls:l,ref:D,popupClassName:d()(O,Object(i["a"])({},"".concat(l,"-show-arrow"),a)),popupStyle:k,action:j,showAction:w,hideAction:W||[],popupPlacement:v,popupAlign:h,popupTransitionName:f,popupAnimation:p,popupVisible:P,stretch:U()?"minWidth":"",popup:F(),onPopupVisibleChange:L,onPopupClick:I,getPopupContainer:b}),Y())}var fa=r["forwardRef"](sa),da=fa;function pa(e,t){var n=e.prefixCls,a=e.editable,o=e.locale,i=e.style;return a&&!1!==a.showAdd?r["createElement"]("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null===o||void 0===o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}var ha=r["forwardRef"](pa);function ma(e,t){var n=e.prefixCls,a=e.id,o=e.tabs,l=e.locale,c=e.mobile,s=e.moreIcon,f=void 0===s?"More":s,p=e.moreTransitionName,h=e.style,m=e.className,v=e.editable,g=e.tabBarGutter,y=e.rtl,b=e.removeAriaLabel,w=e.onTabClick,E=Object(r["useState"])(!1),k=Object(u["a"])(E,2),x=k[0],S=k[1],j=Object(r["useState"])(null),C=Object(u["a"])(j,2),_=C[0],A=C[1],T="".concat(a,"-more-popup"),R="".concat(n,"-dropdown"),M=null!==_?"".concat(T,"-").concat(_):null,P=null===l||void 0===l?void 0:l.dropdownAriaLabel;function D(e,t){e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:t,event:e})}var N=r["createElement"](ta,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),S(!1)},prefixCls:"".concat(R,"-menu"),id:T,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[_],"aria-label":void 0!==P?P:"expanded dropdown"},o.map((function(e){var t=v&&!1!==e.closable&&!e.disabled;return r["createElement"](Me,{key:e.key,id:"".concat(T,"-").concat(e.key),role:"option","aria-controls":a&&"".concat(a,"-panel-").concat(e.key),disabled:e.disabled},r["createElement"]("span",null,e.tab),t&&r["createElement"]("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(R,"-menu-item-remove"),onClick:function(t){t.stopPropagation(),D(t,e.key)}},e.closeIcon||v.removeIcon||"\xd7"))})));function I(e){for(var t=o.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===_}))||0,r=t.length,a=0;ai?(a=n,x.current="x"):(a=r,x.current="y"),t(-a,-a)&&e.preventDefault()}var j=Object(r["useRef"])(null);j.current={onTouchStart:E,onTouchMove:O,onTouchEnd:k,onWheel:S},r["useEffect"]((function(){function t(e){j.current.onTouchStart(e)}function n(e){j.current.onTouchMove(e)}function r(e){j.current.onTouchEnd(e)}function a(e){j.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",a),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}}),[])}function ka(){var e=Object(r["useRef"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,r["createRef"]()),e.current.get(t)}function n(t){e.current["delete"](t)}return[t,n]}function xa(e,t){var n=r["useRef"](e),a=r["useState"]({}),o=Object(u["a"])(a,2),i=o[1];function l(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}return[n.current,l]}var Sa=function(e){var t,n=e.position,a=e.prefixCls,o=e.extra;if(!o)return null;var i={};return o&&"object"===Object(l["a"])(o)&&!r["isValidElement"](o)?i=o:i.right=o,"right"===n&&(t=i.right),"left"===n&&(t=i.left),t?r["createElement"]("div",{className:"".concat(a,"-extra-content")},t):null};function ja(e,t){var n,a=r["useContext"](ga),l=a.prefixCls,c=a.tabs,f=e.className,p=e.style,h=e.id,m=e.animated,v=e.activeKey,O=e.rtl,k=e.extra,S=e.editable,C=e.locale,A=e.tabPosition,T=e.tabBarGutter,R=e.children,M=e.onTabClick,P=e.onTabScroll,D=Object(r["useRef"])(),N=Object(r["useRef"])(),I=Object(r["useRef"])(),L=Object(r["useRef"])(),B=ka(),F=Object(u["a"])(B,2),U=F[0],z=F[1],Y="top"===A||"bottom"===A,W=xa(0,(function(e,t){Y&&P&&P({direction:e>t?"left":"right"})})),G=Object(u["a"])(W,2),H=G[0],V=G[1],$=xa(0,(function(e,t){!Y&&P&&P({direction:e>t?"top":"bottom"})})),X=Object(u["a"])($,2),q=X[0],K=X[1],Q=Object(r["useState"])(0),Z=Object(u["a"])(Q,2),J=Z[0],ee=Z[1],te=Object(r["useState"])(0),ne=Object(u["a"])(te,2),re=ne[0],ae=ne[1],oe=Object(r["useState"])(null),ie=Object(u["a"])(oe,2),ue=ie[0],le=ie[1],ce=Object(r["useState"])(null),se=Object(u["a"])(ce,2),fe=se[0],de=se[1],pe=Object(r["useState"])(0),he=Object(u["a"])(pe,2),me=he[0],ve=he[1],ge=Object(r["useState"])(0),ye=Object(u["a"])(ge,2),be=ye[0],we=ye[1],Ee=E(new Map),Oe=Object(u["a"])(Ee,2),ke=Oe[0],xe=Oe[1],Se=j(c,ke,J),je="".concat(l,"-nav-operations-hidden"),Ce=0,_e=0;function Ae(e){return e_e?_e:e}Y?O?(Ce=0,_e=Math.max(0,J-ue)):(Ce=Math.min(0,ue-J),_e=0):(Ce=Math.min(0,fe-re),_e=0);var Te=Object(r["useRef"])(),Re=Object(r["useState"])(),Me=Object(u["a"])(Re,2),Pe=Me[0],De=Me[1];function Ne(){De(Date.now())}function Ie(){window.clearTimeout(Te.current)}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=Se.get(e)||{width:0,height:0,left:0,right:0,top:0};if(Y){var n=H;O?t.rightH+ue&&(n=t.right+t.width-ue):t.left<-H?n=-t.left:t.left+t.width>-H+ue&&(n=-(t.left+t.width-ue)),K(0),V(Ae(n))}else{var r=q;t.top<-q?r=-t.top:t.top+t.height>-q+fe&&(r=-(t.top+t.height-fe)),V(0),K(Ae(r))}}Oa(D,(function(e,t){function n(e,t){e((function(e){var n=Ae(e+t);return n}))}if(Y){if(ue>=J)return!1;n(V,e)}else{if(fe>=re)return!1;n(K,t)}return Ie(),Ne(),!0})),Object(r["useEffect"])((function(){return Ie(),Pe&&(Te.current=window.setTimeout((function(){De(0)}),100)),Ie}),[Pe]);var Be=_(Se,{width:ue,height:fe,left:H,top:q},{width:J,height:re},{width:me,height:be},Object(s["a"])(Object(s["a"])({},e),{},{tabs:c})),Fe=Object(u["a"])(Be,2),Ue=Fe[0],ze=Fe[1],Ye={};"top"===A||"bottom"===A?Ye[O?"marginRight":"marginLeft"]=T:Ye.marginTop=T;var We=c.map((function(e,t){var n=e.key;return r["createElement"](x,{id:h,prefixCls:l,key:n,tab:e,style:0===t?void 0:Ye,closable:e.closable,editable:S,active:n===v,renderWrapper:R,removeAriaLabel:null===C||void 0===C?void 0:C.removeAriaLabel,ref:U(n),onClick:function(e){M(n,e)},onRemove:function(){z(n)},onFocus:function(){Le(n),Ne(),D.current&&(O||(D.current.scrollLeft=0),D.current.scrollTop=0)}})})),Ge=w((function(){var e,t,n,r,a,o,i=(null===(e=D.current)||void 0===e?void 0:e.offsetWidth)||0,u=(null===(t=D.current)||void 0===t?void 0:t.offsetHeight)||0,l=(null===(n=L.current)||void 0===n?void 0:n.offsetWidth)||0,s=(null===(r=L.current)||void 0===r?void 0:r.offsetHeight)||0;le(i),de(u),ve(l),we(s);var f=((null===(a=N.current)||void 0===a?void 0:a.offsetWidth)||0)-l,d=((null===(o=N.current)||void 0===o?void 0:o.offsetHeight)||0)-s;ee(f),ae(d),xe((function(){var e=new Map;return c.forEach((function(t){var n=t.key,r=U(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),He=c.slice(0,Ue),Ve=c.slice(ze+1),$e=[].concat(Object(g["a"])(He),Object(g["a"])(Ve)),Xe=Object(r["useState"])(),qe=Object(u["a"])(Xe,2),Ke=qe[0],Qe=qe[1],Ze=Se.get(v),Je=Object(r["useRef"])();function et(){y["a"].cancel(Je.current)}Object(r["useEffect"])((function(){var e={};return Ze&&(Y?(O?e.right=Ze.right:e.left=Ze.left,e.width=Ze.width):(e.top=Ze.top,e.height=Ze.height)),et(),Je.current=Object(y["a"])((function(){Qe(e)})),et}),[Ze,Y,O]),Object(r["useEffect"])((function(){Le()}),[v,Ze,Se,Y]),Object(r["useEffect"])((function(){Ge()}),[O,T,v,c.map((function(e){return e.key})).join("_")]);var tt,nt,rt,at,ot=!!$e.length,it="".concat(l,"-nav-wrap");return Y?O?(nt=H>0,tt=H+uee.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0,y=void 0!==g,b=c(h),w=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&i(b))for(t=u(h.length),n=new m(t);t>w;w++)p=y?g(h[w],w):h[w],l(n,w,p);else for(f=b.call(h),d=f.next,n=new m;!(s=d.call(f)).done;w++)p=y?o(f,g,[s.value,w],!0):s.value,l(n,w,p);return n.length=w,n}},"7HYU":function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},"7NTl":function(e,t,n){"use strict";var r=n("g0pg"),a=n("vMeL"),o=r.aTypedArrayConstructor,i=r.exportTypedArrayStaticMethod;i("of",(function(){var e=0,t=arguments.length,n=new(o(this))(t);while(t>e)n[e]=arguments[e++];return n}),a)},"7PoB":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("v3z7"),c=n("ZT9G"),s=n("QHn5"),f=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{mapValues:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){d.call(a,e,r(n,e,t))}),void 0,!0,!0),a}})},"7TNV":function(e,t,n){var r=n("PORw"),a=n("lf6h"),o="[object Arguments]";function i(e){return a(e)&&r(e)==o}e.exports=i},"7Xfv":function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("lkgX"),l=n("0JbB");a&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(e,t){l.f(i(this),e,{set:u(t),enumerable:!0,configurable:!0})}})},"7wbt":function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isDisjointFrom:function(e){var t=o(this),n=i(t.has);return!u(e,(function(e){if(!0===n.call(t,e))return u.stop()})).stopped}})},"7xa0":function(e,t,n){var r=n("3rdh"),a=n("Q69t"),o=n("xuOn"),i=n("ZsxT"),u=n("lUrU");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),s&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=f.lastIndex),a=o.call(d?n:f,v),d?a?(a.input=a.input.slice(m),a[0]=a[0].slice(m),a.index=f.lastIndex,f.lastIndex+=a[0].length):f.lastIndex=0:l&&a&&(f.lastIndex=f.global?a.index+a[0].length:t),s&&a&&a.length>1&&i.call(a[0],n,(function(){for(u=1;u0?r:n)(e)}},AU2x:function(e,t,n){var r=n("F71Q");function a(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=a},AnAv:function(e,t){e.exports={}},AqOu:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"B+gL":function(e,t,n){"use strict";var r=2147483647,a=36,o=1,i=26,u=38,l=700,c=72,s=128,f="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=a-o,v=Math.floor,g=String.fromCharCode,y=function(e){var t=[],n=0,r=e.length;while(n=55296&&a<=56319&&n>1,e+=v(e/t);e>m*i>>1;r+=a)e=v(e/m);return v(r+(m+1)*e/(e+u))},E=function(e){var t=[];e=y(e);var n,u,l=e.length,d=s,p=0,m=c;for(n=0;n=d&&uv((r-p)/x))throw RangeError(h);for(p+=(k-d)*x,d=k,n=0;nr)throw RangeError(h);if(u==d){for(var S=p,j=a;;j+=a){var C=j<=m?o:j>=m+i?i:j-m;if(S0?arguments[0]:void 0,s=this,p=[];if(C(s,{type:S,entries:p,updateURL:function(){},updateSearchParams:U}),void 0!==c)if(v(c))if(e=w(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(r=n.call(t)).done){if(a=b(m(r.value)),o=a.next,(i=o.call(a)).done||(u=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:i.value+"",value:u.value+""})}}else for(l in c)d(c,l)&&p.push({key:l,value:c[l]+""});else F(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},G=W.prototype;u(G,{append:function(e,t){z(arguments.length,2);var n=_(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=_(this),n=t.entries,r=e+"",a=0;while(ae.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){var t,n=_(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;while(a1&&(t=arguments[1],v(t)&&(n=t.body,h(n)===S&&(r=t.headers?new k(t.headers):new k,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),a.push(t)),O.apply(this,a)}}),e.exports={URLSearchParams:W,getState:_}},BLCN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("Us7a").start,o=n("SRer");r({target:"String",proto:!0,forced:o},{padStart:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},BUyj:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("RzMS"),i=n("uF/W"),u=n("gArs"),l=n("uZx/"),c=n("CZSf"),s=n("x+sk"),f=n("h+/6"),d=n("eW2S"),p=n("nBeg"),h=n("aRba");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=a[e],b=y&&y.prototype,w=y,E={},O=function(e){var t=b[e];i(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof y||!(v||b.forEach&&!f((function(){(new y).entries().next()})))))w=n.getConstructor(t,e,m,g),u.REQUIRED=!0;else if(o(e,!0)){var k=new w,x=k[g](v?{}:-0,1)!=k,S=f((function(){k.has(1)})),j=d((function(e){new y(e)})),C=!v&&f((function(){var e=new y,t=5;while(t--)e[g](t,t);return!e.has(-0)}));j||(w=t((function(t,n){c(t,w,e);var r=h(new y,t,w);return void 0!=n&&l(n,r[g],r,m),r})),w.prototype=b,b.constructor=w),(S||C)&&(O("delete"),O("has"),m&&O("get")),(C||x)&&O(g),v&&b.clear&&delete b.clear}return E[e]=w,r({global:!0,forced:w!=y},E),p(w,e),v||n.setStrong(w,e,m),w}},BZ8O:function(e,t,n){"use strict";var r=n("SHha"),a=n("1QO0");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},Bm2L:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return D})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return Y})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return P})),n.d(t,"j",(function(){return H})),n.d(t,"k",(function(){return V})),n.d(t,"l",(function(){return $})),n.d(t,"m",(function(){return X})),n.d(t,"n",(function(){return W}));var r=n("Srxv"),a=n("1QO0"),o=n.n(a),i=n("ptaF"),u=n("1ChE"),l=n("g8ur"),c=n("lCDx"),s=n("aaHa"),f=n.n(s),d=(n("tSbI"),n("pj1d")),p=n("zyZy"),h=n.n(p),m=function(e){var t=Object(u["a"])();return t.displayName=e,t},v=m("Router-History"),g=function(e){var t=Object(u["a"])();return t.displayName=e,t},y=g("Router"),b=function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r["a"])(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return o.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.a.Component);var w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a>>16,l=a>>>16,c=(u*i>>>0)+(o*i>>>16);return u*l+(c>>>16)+((o*l>>>0)+(c&n)>>>16)}})},CZSf:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},CZpw:function(e,t,n){"use strict";var r,a,o,i,u=n("OOCw"),l=n("qyeh"),c=n("6SQG"),s=n("eyaU"),f=n("N59M"),d=n("uF/W"),p=n("TxBV"),h=n("nBeg"),m=n("ct0+"),v=n("x+sk"),g=n("lkgX"),y=n("CZSf"),b=n("kk5s"),w=n("piBM"),E=n("uZx/"),O=n("eW2S"),k=n("ZT9G"),x=n("bbNk").set,S=n("OtMc"),j=n("rCLu"),C=n("Cqy2"),_=n("8d12"),A=n("86T+"),T=n("uJNS"),R=n("RzMS"),M=n("3Hes"),P=n("tDGd"),D=M("species"),N="Promise",I=T.get,L=T.set,B=T.getterFor(N),F=f,U=c.TypeError,z=c.document,Y=c.process,W=s("fetch"),G=_.f,H=G,V="process"==b(Y),$=!!(z&&z.createEvent&&c.dispatchEvent),X="unhandledrejection",q="rejectionhandled",K=0,Q=1,Z=2,J=1,ee=2,te=R(N,(function(){var e=w(F)!==String(F);if(!e){if(66===P)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!F.prototype["finally"])return!0;if(P>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[D]=n,!(t.then((function(){}))instanceof n)})),ne=te||!O((function(e){F.all(e)["catch"]((function(){}))})),re=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},ae=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){var a=t.value,o=t.state==Q,i=0;while(r.length>i){var u,l,c,s=r[i++],f=o?s.ok:s.fail,d=s.resolve,p=s.reject,h=s.domain;try{f?(o||(t.rejection===ee&&le(e,t),t.rejection=J),!0===f?u=a:(h&&h.enter(),u=f(a),h&&(h.exit(),c=!0)),u===s.promise?p(U("Promise-chain cycle")):(l=re(u))?l.call(u,d,p):d(u)):p(a)}catch(m){h&&!c&&h.exit(),p(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ie(e,t)}))}},oe=function(e,t,n){var r,a;$?(r=z.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(a=c["on"+e])?a(r):e===X&&C("Unhandled promise rejection",n)},ie=function(e,t){x.call(c,(function(){var n,r=t.value,a=ue(t);if(a&&(n=A((function(){V?Y.emit("unhandledRejection",r,e):oe(X,e,r)})),t.rejection=V||ue(t)?ee:J,n.error))throw n.value}))},ue=function(e){return e.rejection!==J&&!e.parent},le=function(e,t){x.call(c,(function(){V?Y.emit("rejectionHandled",e):oe(q,e,t.value)}))},ce=function(e,t,n,r){return function(a){e(t,n,a,r)}},se=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=Z,ae(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var a=re(n);a?S((function(){var r={done:!1};try{a.call(n,ce(fe,e,r,t),ce(se,e,r,t))}catch(o){se(e,r,o,t)}})):(t.value=n,t.state=Q,ae(e,t,!1))}catch(o){se(e,{done:!1},o,t)}}};te&&(F=function(e){y(this,F,N),g(e),r.call(this);var t=I(this);try{e(ce(fe,this,t),ce(se,this,t))}catch(n){se(this,t,n)}},r=function(e){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(F.prototype,{then:function(e,t){var n=B(this),r=G(k(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=V?Y.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ae(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=I(e);this.promise=e,this.resolve=ce(fe,e,t),this.reject=ce(se,e,t)},_.f=G=function(e){return e===F||e===o?new a(e):H(e)},l||"function"!=typeof f||(i=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return j(F,W.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:te},{Promise:F}),h(F,N,!1,!0),m(N),o=s(N),u({target:N,stat:!0,forced:te},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),u({target:N,stat:!0,forced:l||te},{resolve:function(e){return j(l&&this===o?F:this,e)}}),u({target:N,stat:!0,forced:ne},{all:function(e){var t=this,n=G(t),r=n.resolve,a=n.reject,o=A((function(){var n=g(t.resolve),o=[],i=0,u=1;E(e,(function(e){var l=i++,c=!1;o.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--u||r(o))}),a)})),--u||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,a=A((function(){var a=g(t.resolve);E(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},CpWJ:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("v3z7"),c=n("ZT9G"),s=n("QHn5"),f=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{filter:function(e){var t=i(this),n=s(t),r=l(e,arguments.length>1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){r(n,e,t)&&d.call(a,e,n)}),void 0,!0,!0),a}})},Cqy2:function(e,t,n){var r=n("6SQG");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},CsJM:function(e,t,n){var r=n("z43i"),a=n("Vg85"),o="["+a+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(u,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},Ctpf:function(e,t,n){"use strict";var r=n("NUIj");Object.defineProperty(t,"__esModule",{value:!0});var a=n("12pU"),o=n("1QO0"),i=n("qkOA"),u=n("M/TJ");function l(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var c=l(o);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t=0||(a[n]=e[n]);return a}function g(e,t){if(null==e)return{};var n,r,a=v(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function y(e,t){return b(e)||w(e,t)||E(e,t)||k()}function b(e){if(Array.isArray(e))return e}function w(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(o.push(r.value),t&&o.length===t)break}catch(l){u=!0,a=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}return o}}function E(e,t){if(e){if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function S(e){return c["default"].createElement(a.__RouterContext.Consumer,null,(function(t){var n=e.location||t.location,r=e.computedMatch,o=f(f({},t),{},{location:n,match:r}),i=e.render;return c["default"].createElement(a.__RouterContext.Provider,{value:o},o.match?i(f(f({},e.layoutProps),o)):null)}))}var j=["children"];function C(e){return c["default"].createElement(a.__RouterContext.Consumer,null,(function(t){var n,r=e.children,i=g(e,j),u=e.location||t.location,l=null;return o.Children.forEach(r,(function(e){if(null===l&&o.isValidElement(e)){n=e;var r=e.props.path||e.props.from;l=r?a.matchPath(u.pathname,f(f({},e.props),{},{path:r})):t.match}})),l?o.cloneElement(n,{location:u,computedMatch:l,layoutProps:i}):null}))}var _=["component"];function A(e,t){e.component;var n=g(e,_),i=e.component;function u(u){var l=o.useState((function(){return window.g_initialProps})),s=y(l,2),d=s[0],h=s[1];return o.useEffect((function(){var o=function(){var o=p(r.mark((function o(){var l,c,s,d,p;return r.wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(c=i,!i.preload){r.next=6;break}return r.next=4,i.preload();case 4:c=r.sent,c=c["default"]||c;case 6:if(s=f(f({isServer:!1,match:null===u||void 0===u?void 0:u.match,history:null===u||void 0===u?void 0:u.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(l=c)||void 0===l?void 0:l.getInitialProps)){r.next=15;break}return r.next=10,t.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:a.ApplyPluginsType.modify,initialValue:s,async:!0});case 10:return d=r.sent,r.next=13,c.getInitialProps(d||s);case 13:p=r.sent,h(p);case 15:case"end":return r.stop()}}),o)})));return function(){return o.apply(this,arguments)}}();window.g_initialProps||o()}),[window.location.pathname,window.location.search]),c["default"].createElement(i,m({},u,d))}return u.wrapInitialPropsLoaded=!0,u.displayName="ComponentWithInitialPropsFetch",u}function T(e){var t=e.route,n=e.opts,r=e.props,a=M(f(f({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),i=t.component,u=t.wrappers;if(i){var l=n.isServer?{}:window.g_initialProps,s=f(f(f(f({},r),n.extraProps),n.pageInitialProps||l),{},{route:t,routes:n.rootRoutes}),d=c["default"].createElement(i,s,a);if(u){var p=u.length-1;while(p>=0)d=o.createElement(u[p],s,d),p-=1}return d}return a}function R(e){var t,n,r,o=e.route,i=e.index,u=e.opts,l={key:o.key||i,exact:o.exact,strict:o.strict,sensitive:o.sensitive,path:o.path};return o.redirect?c["default"].createElement(a.Redirect,m({},l,{from:o.path,to:o.redirect})):(!u.ssrProps||u.isServer||(null===(t=o.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=o.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(r=o.component)||void 0===r?void 0:r.preload)||(o.component=A(o,u)),c["default"].createElement(S,m({},l,{render:function(e){return T({route:o,opts:u,props:e})}})))}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?c["default"].createElement(C,t,e.routes.map((function(t,n){return R({route:t,index:n,opts:f(f({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var P=["history"];function D(e){var t=e.history,n=g(e,P);return o.useEffect((function(){function r(t,r){var o=u.matchRoutes(e.routes,t.pathname);"undefined"!==typeof document&&void 0!==n.defaultTitle&&(document.title=o.length&&o[o.length-1].route.title||n.defaultTitle||""),e.plugin.applyPlugins({key:"onRouteChange",type:a.ApplyPluginsType.event,args:{routes:e.routes,matchedRoutes:o,location:t,action:r}})}return window.g_useSSR&&(window.g_initialProps=null),r(t.location,"POP"),t.listen(r)}),[t]),c["default"].createElement(a.Router,{history:t},M(n))}function N(e){return e.plugin.applyPlugins({type:a.ApplyPluginsType.modify,key:"rootContainer",initialValue:c["default"].createElement(D,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}})}function I(e){return L.apply(this,arguments)}function L(){return L=p(r.mark((function e(t){var n,a,o,i,l,c,s,f,d=arguments;return r.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=d.length>1&&void 0!==d[1]?d[1]:window.location.pathname,a=u.matchRoutes(t,n),o=x(a),e.prev=3,o.s();case 5:if((i=o.n()).done){e.next=19;break}if(c=i.value,s=c.route,"string"===typeof s.component||!(null===(l=s.component)||void 0===l?void 0:l.preload)){e.next=13;break}return e.next=11,s.component.preload();case 11:f=e.sent,s.component=f["default"]||f;case 13:if(!s.routes){e.next=17;break}return e.next=16,I(s.routes,n);case 16:s.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e["catch"](3),o.e(e.t0);case 24:return e.prev=24,o.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27]])}))),L.apply(this,arguments)}function B(e){var t=N(e);if(!e.rootElement)return t;var n="string"===typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?I(e.routes).then((function(){i.hydrate(t,n,r)})):i.hydrate(t,n,r):i.render(t,n,r)}t.renderClient=B,t.renderRoutes=M},Czbz:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"WeakMap",stat:!0},{from:a})},D0rO:function(e,t,n){"use strict";var r=n("OOCw"),a=n("h+/6"),o=n("xy/A"),i=n("sErw"),u=n("erIx"),l=n("upgS"),c=n("ZT9G"),s=o.ArrayBuffer,f=o.DataView,d=s.prototype.slice,p=a((function(){return!new s(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(i(this),e);var n=i(this).byteLength,r=u(e,n),a=u(void 0===t?n:t,n),o=new(c(this,s))(l(a-r)),p=new f(this),h=new f(o),m=0;while(rl)a.f(e,n=r[l++],t[n]);return e}},DT1c:function(e,t,n){var r=n("Kkyq"),a=n("Zjj6"),o=n("6vUj");function i(e){return function(t,n,i){var u=Object(t);if(!a(t)){var l=r(n,3);t=o(t),n=function(e){return l(u[e],e,u)}}var c=e(t,n,i);return c>-1?u[l?t[c]:c]:void 0}}e.exports=i},DbXJ:function(e,t,n){var r=n("ta0t"),a=n("W6X5"),o=n("XXwF"),i=n("Ysk6");function u(e){return r(e)||a(e)||o(e)||i()}e.exports=u},Dkad:function(e,t,n){var r=n("GXoa");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},EA9V:function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},EN7L:function(e,t,n){"use strict";n("M2ND");var r,a=n("OOCw"),o=n("r+6h"),i=n("Hy9b"),u=n("6SQG"),l=n("DS72"),c=n("uF/W"),s=n("CZSf"),f=n("oEsY"),d=n("NWlk"),p=n("7F/w"),h=n("vfR7").codeAt,m=n("B+gL"),v=n("nBeg"),g=n("BC4x"),y=n("uJNS"),b=u.URL,w=g.URLSearchParams,E=g.getState,O=y.set,k=y.getterFor("URL"),x=Math.floor,S=Math.pow,j="Invalid authority",C="Invalid scheme",_="Invalid host",A="Invalid port",T=/[A-Za-z]/,R=/[\d+-.A-Za-z]/,M=/\d/,P=/^(0x|0X)/,D=/^[0-7]+$/,N=/^\d+$/,I=/^[\dA-Fa-f]+$/,L=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,B=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,F=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,U=/[\u0009\u000A\u000D]/g,z=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return _;if(n=W(t.slice(1,-1)),!n)return _;e.host=n}else if(Z(e)){if(t=m(t),L.test(t))return _;if(n=Y(t),null===n)return _;e.host=n}else{if(B.test(t))return _;for(n="",r=p(t),a=0;a4)return e;for(n=[],r=0;r1&&"0"==a.charAt(0)&&(o=P.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?N:8==o?D:I).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r=S(256,5-t))return null}else if(i>255)return null;for(u=n.pop(),r=0;r6)return;r=0;while(d()){if(a=null,r>0){if(!("."==d()&&r<4))return;f++}if(!M.test(d()))return;while(M.test(d())){if(o=parseInt(d(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;f++}l[c]=256*l[c]+a,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[c++]=t}else{if(null!==s)return;f++,c++,s=c}}if(null!==s){i=c-s,c=7;while(0!=c&&i>0)u=l[c],l[c--]=l[s+i-1],l[s+--i]=u}else if(8!=c)return;return l},G=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t},H=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=G(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},$=d({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),X=d({},$,{"#":1,"?":1,"{":1,"}":1}),q=d({},X,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},Q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return f(Q,e.scheme)},J=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ae=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},ue={},le={},ce={},se={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},we={},Ee={},Oe={},ke={},xe={},Se={},je={},Ce=function(e,t,n,a){var o,i,u,l,c=n||ie,s=0,d="",h=!1,m=!1,v=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(F,"")),t=t.replace(U,""),o=p(t);while(s<=o.length){switch(i=o[s],c){case ie:if(!i||!T.test(i)){if(n)return C;c=le;continue}d+=i.toLowerCase(),c=ue;break;case ue:if(i&&(R.test(i)||"+"==i||"-"==i||"."==i))d+=i.toLowerCase();else{if(":"!=i){if(n)return C;d="",c=le,s=0;continue}if(n&&(Z(e)!=f(Q,d)||"file"==d&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(Z(e)&&Q[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?c=be:Z(e)&&a&&a.scheme==e.scheme?c=ce:Z(e)?c=pe:"/"==o[s+1]?(c=se,s++):(e.cannotBeABaseURL=!0,e.path.push(""),c=xe)}break;case le:if(!a||a.cannotBeABaseURL&&"#"!=i)return C;if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=je;break}c="file"==a.scheme?be:fe;continue;case ce:if("/"!=i||"/"!=o[s+1]){c=fe;continue}c=he,s++;break;case se:if("/"==i){c=me;break}c=ke;continue;case fe:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&Z(e))c=de;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=ke;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=je}break;case de:if(!Z(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=ke;continue}c=me}else c=he;break;case pe:if(c=he,"/"!=i||"/"!=d.charAt(s+1))continue;s++;break;case he:if("/"!=i&&"\\"!=i){c=me;continue}break;case me:if("@"==i){h&&(d="%40"+d),h=!0,u=p(d);for(var g=0;g65535)return A;e.port=Z(e)&&w===Q[e.scheme]?null:w,d=""}if(n)return;c=Oe;continue}return A}d+=i;break;case be:if(e.scheme="file","/"==i||"\\"==i)c=we;else{if(!a||"file"!=a.scheme){c=ke;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=i){ne(o.slice(s).join(""))||(e.host=a.host,e.path=a.path.slice(),re(e)),c=ke;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=je}}break;case we:if("/"==i||"\\"==i){c=Ee;break}a&&"file"==a.scheme&&!ne(o.slice(s).join(""))&&(te(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=ke;continue;case Ee:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&te(d))c=ke;else if(""==d){if(e.host="",n)return;c=Oe}else{if(l=z(e,d),l)return l;if("localhost"==e.host&&(e.host=""),n)return;d="",c=Oe}continue}d+=i;break;case Oe:if(Z(e)){if(c=ke,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(c=ke,"/"!=i))continue}else e.fragment="",c=je;else e.query="",c=Se;break;case ke:if(i==r||"/"==i||"\\"==i&&Z(e)||!n&&("?"==i||"#"==i)){if(oe(d)?(re(e),"/"==i||"\\"==i&&Z(e)||e.path.push("")):ae(d)?"/"==i||"\\"==i&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",c=Se):"#"==i&&(e.fragment="",c=je)}else d+=K(i,X);break;case xe:"?"==i?(e.query="",c=Se):"#"==i?(e.fragment="",c=je):i!=r&&(e.path[0]+=K(i,V));break;case Se:n||"#"!=i?i!=r&&("'"==i&&Z(e)?e.query+="%27":e.query+="#"==i?"%23":K(i,V)):(e.fragment="",c=je);break;case je:i!=r&&(e.fragment+=K(i,$));break}s++}},_e=function(e){var t,n,r=s(this,_e,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),u=O(r,{type:"URL"});if(void 0!==a)if(a instanceof _e)t=k(a);else if(n=Ce(t={},String(a)),n)throw TypeError(n);if(n=Ce(u,i,null,t),n)throw TypeError(n);var l=u.searchParams=new w,c=E(l);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(l)||null},o||(r.href=Te.call(r),r.origin=Re.call(r),r.protocol=Me.call(r),r.username=Pe.call(r),r.password=De.call(r),r.host=Ne.call(r),r.hostname=Ie.call(r),r.port=Le.call(r),r.pathname=Be.call(r),r.search=Fe.call(r),r.searchParams=Ue.call(r),r.hash=ze.call(r))},Ae=_e.prototype,Te=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,u=e.query,l=e.fragment,c=t+":";return null!==a?(c+="//",J(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==u&&(c+="?"+u),null!==l&&(c+="#"+l),c},Re=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Me=function(){return k(this).scheme+":"},Pe=function(){return k(this).username},De=function(){return k(this).password},Ne=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Ie=function(){var e=k(this).host;return null===e?"":H(e)},Le=function(){var e=k(this).port;return null===e?"":String(e)},Be=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=k(this).query;return e?"?"+e:""},Ue=function(){return k(this).searchParams},ze=function(){var e=k(this).fragment;return e?"#"+e:""},Ye=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(Ae,{href:Ye(Te,(function(e){var t=k(this),n=String(e),r=Ce(t,n);if(r)throw TypeError(r);E(t.searchParams).updateSearchParams(t.query)})),origin:Ye(Re),protocol:Ye(Me,(function(e){var t=k(this);Ce(t,String(e)+":",ie)})),username:Ye(Pe,(function(e){var t=k(this),n=p(String(e));if(!ee(t)){t.username="";for(var r=0;r2?arguments[2]:void 0)(e,n);return n.set(e,t(u,e,n)),n}})},"F/PV":function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},F6gM:function(e,t,n){var r=n("PORw"),a=n("lf6h"),o="[object Symbol]";function i(e){return"symbol"==typeof e||a(e)&&r(e)==o}e.exports=i},F71Q:function(e,t,n){var r=n("pADs");function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=a},FDiJ:function(e,t,n){},FHCv:function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),i=new _(r||[]);return o._invoke=x(e,n,i),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var s="suspendedStart",f="suspendedYield",d="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&r.call(w,o)&&(y=w);var E=g.prototype=m.prototype=Object.create(y);function O(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e,t){function n(a,o,i,u){var l=c(e[a],e,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,u)}),(function(e){n("throw",e,i,u)})):t.resolve(f).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,u)}))}u(l.arg)}var a;function o(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}this._invoke=o}function x(e,t,n){var r=s;return function(a,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===a)throw o;return T()}n.method=a,n.arg=o;while(1){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?p:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=c(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){while(++a=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(a){Function("r","regeneratorRuntime = r")(r)}},FbU2:function(e,t,n){var r=n("muZu"),a=n("eoSM");function o(e,t,n){var o=t(e);return a(e)?o:r(o,n(e))}e.exports=o},FfOG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("ptaF"),a={basename:"/"};window.routerBase&&(a.basename=window.routerBase);var o=Object({NODE_ENV:"production"}).__IS_SERVER?null:Object(r["b"])(a),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(o=Object(r["b"])(a)),o}},FlI8:function(e,t,n){var r=n("OOCw"),a=n("7F/w"),o=n("eW2S"),i=!o((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:i},{from:a})},Ft2i:function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("OdMF"),i=n("h+/6"),u=n("rUEg"),l=[],c=l.sort,s=i((function(){l.sort(void 0)})),f=i((function(){l.sort(null)})),d=u("sort"),p=s||!f||!d;r({target:"Array",proto:!0,forced:p},{sort:function(e){return void 0===e?c.call(o(this)):c.call(o(this),a(e))}})},G2F8:function(e,t,n){var r=n("ANLo"),a=n("upgS");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length or index");return n}},G51k:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("ppRt");r({target:"Set",proto:!0,real:!0,forced:a},{addAll:function(){return o.apply(this,arguments)}})},G6hb:function(e,t,n){var r=n("OOCw"),a=n("sErw"),o=n("x+sk"),i=n("oEsY"),u=n("h+/6"),l=n("0JbB"),c=n("6ssM"),s=n("zesz"),f=n("ZVkV");function d(e,t,n){var r,u,p=arguments.length<4?e:arguments[3],h=c.f(a(e),t);if(!h){if(o(u=s(e)))return d(u,t,n,p);h=f(0)}if(i(h,"value")){if(!1===h.writable||!o(p))return!1;if(r=c.f(p,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,l.f(p,t,r)}else l.f(p,t,f(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var p=u((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(s(e),"a",1,e)}));r({target:"Reflect",stat:!0,forced:p},{set:d})},G7Wg:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{difference:function(e){var t=i(this),n=new(l(t,o("Set")))(t),r=u(n["delete"]);return c(e,(function(e){r.call(n,e)})),n}})},GC0I:function(e,t,n){var r=n("IuL+"),a=n("NTsA"),o=n("bUaa"),i=o&&o.isTypedArray,u=i?a(i):r;e.exports=u},GDDI:function(e,t,n){var r=n("MZA9"),a=n("KUi+"),o=n("3Hes"),i=o("toPrimitive"),u=Date.prototype;i in u||r(u,i,a)},GJFw:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("VOZC"),u=a.a.memo((e=>{e.demos;return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"getting-started"},a.a.createElement(o["AnchorLink"],{to:"#getting-started","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Getting Started"),a.a.createElement("h2",{id:"-install-dependencies"},a.a.createElement(o["AnchorLink"],{to:"#-install-dependencies","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udce6 Install dependencies"),a.a.createElement(i["a"],{code:"$ yarn add rc-gantt # or npm i rc-gantt -S",lang:"shell"}),a.a.createElement("h2",{id:"-demo"},a.a.createElement(o["AnchorLink"],{to:"#-demo","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\ud83d\udd28 Demo"),a.a.createElement(i["a"],{code:"import RcGantt, { enUS } from 'rc-gantt'\n\n// in react page\nreturn (\n {\n return true\n }}\n />\n)",lang:"tsx"}),a.a.createElement("h2",{id:"feedback"},a.a.createElement(o["AnchorLink"],{to:"#feedback","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Feedback"),a.a.createElement("p",null,"Please visit ",a.a.createElement(o["Link"],{to:"https://github.com/ahwgs/react-gantt/issues"},"Github"))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(u,{demos:n})}},GLQI:function(e,t,n){var r=n("cBxx"),a=Object.prototype,o=a.hasOwnProperty,i=a.toString,u=r?r.toStringTag:void 0;function l(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(l){}var a=i.call(e);return r&&(t?e[u]=n:delete e[u]),a}e.exports=l},"GLf+":function(e,t){var n=Function.prototype,r=n.toString;function a(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=a},GQDD:function(e,t,n){var r=n("t+TA"),a=n("O4yA"),o=r(a,"Map");e.exports=o},GRr6:function(e,t,n){var r=n("F71Q");function a(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}e.exports=a},GXoa:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("r+6h"),i=n("vMeL"),u=n("g0pg"),l=n("xy/A"),c=n("CZSf"),s=n("ZVkV"),f=n("MZA9"),d=n("upgS"),p=n("G2F8"),h=n("vViN"),m=n("JSMs"),v=n("oEsY"),g=n("elB0"),y=n("x+sk"),b=n("QWtl"),w=n("d8EH"),E=n("lFeU").f,O=n("N0ls"),k=n("M+Sl").forEach,x=n("ct0+"),S=n("0JbB"),j=n("6ssM"),C=n("uJNS"),_=n("aRba"),A=C.get,T=C.set,R=S.f,M=j.f,P=Math.round,D=a.RangeError,N=l.ArrayBuffer,I=l.DataView,L=u.NATIVE_ARRAY_BUFFER_VIEWS,B=u.TYPED_ARRAY_TAG,F=u.TypedArray,U=u.TypedArrayPrototype,z=u.aTypedArrayConstructor,Y=u.isTypedArray,W="BYTES_PER_ELEMENT",G="Wrong length",H=function(e,t){var n=0,r=t.length,a=new(z(e))(r);while(r>n)a[n]=t[n++];return a},V=function(e,t){R(e,t,{get:function(){return A(this)[t]}})},$=function(e){var t;return e instanceof N||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},X=function(e,t){return Y(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},q=function(e,t){return X(e,t=m(t,!0))?s(2,e[t]):M(e,t)},K=function(e,t,n){return!(X(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};o?(L||(j.f=q,S.f=K,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:q,defineProperty:K}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,s="set"+e,m=a[u],v=m,g=v&&v.prototype,S={},j=function(e,t){var n=A(e);return n.view[l](t*o+n.byteOffset,!0)},C=function(e,t,r){var a=A(e);n&&(r=(r=P(r))<0?0:r>255?255:255&r),a.view[s](t*o+a.byteOffset,r,!0)},M=function(e,t){R(e,t,{get:function(){return j(this,t)},set:function(e){return C(this,t,e)},enumerable:!0})};L?i&&(v=t((function(e,t,n,r){return c(e,v,u),_(function(){return y(t)?$(t)?void 0!==r?new m(t,h(n,o),r):void 0!==n?new m(t,h(n,o)):new m(t):Y(t)?H(v,t):O.call(v,t):new m(p(t))}(),e,v)})),w&&w(v,F),k(E(m),(function(e){e in v||f(v,e,m[e])})),v.prototype=g):(v=t((function(e,t,n,r){c(e,v,u);var a,i,l,s=0,f=0;if(y(t)){if(!$(t))return Y(t)?H(v,t):O.call(v,t);a=t,f=h(n,o);var m=t.byteLength;if(void 0===r){if(m%o)throw D(G);if(i=m-f,i<0)throw D(G)}else if(i=d(r)*o,i+f>m)throw D(G);l=i/o}else l=p(t),i=l*o,a=new N(i);T(e,{buffer:a,byteOffset:f,byteLength:i,length:l,view:new I(a)});while(so)a.push(arguments[o++]);if(r=t,(p(t)||void 0!==e)&&!ue(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ue(t))return t}),a[1]=t,$.apply(null,a)}})}V[z][Y]||C(V[z],Y,V[z].valueOf),I(V,U),R[F]=!0},GnHn:function(e,t,n){"use strict";var r=n("QkOx"),a=n("sErw"),o=n("z43i"),i=n("1wx2"),u=n("OR72");r("search",1,(function(e,t,n){return[function(t){var n=o(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=a(e),l=String(this),c=o.lastIndex;i(c,0)||(o.lastIndex=0);var s=u(o,l);return i(o.lastIndex,c)||(o.lastIndex=c),null===s?-1:s.index}]}))},Gs6S:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("R8Xy"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{join:function(e){var t=o(this),n=i(t),r=void 0===e?",":String(e),a=[];return u(n,a.push,a,!1,!0),a.join(r)}})},HRbj:function(e,t,n){"use strict";var r=n("lkgX"),a=n("v3z7"),o=n("uZx/");e.exports=function(e){var t,n,i,u,l=arguments.length,c=l>1?arguments[1]:void 0;return r(this),t=void 0!==c,t&&r(c),void 0==e?new this:(n=[],t?(i=0,u=a(c,l>2?arguments[2]:void 0,2),o(e,(function(e){n.push(u(e,i++))}))):o(e,n.push,n),new this(n))}},HU7W:function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},HVkW:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("ct0+"),i=n("lkgX"),u=n("sErw"),l=n("x+sk"),c=n("CZSf"),s=n("0JbB").f,f=n("MZA9"),d=n("TxBV"),p=n("mxPn"),h=n("uZx/"),m=n("Cqy2"),v=n("3Hes"),g=n("uJNS"),y=v("observable"),b=g.get,w=g.set,E=function(e){return null==e?void 0:i(e)},O=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(n){m(n)}}},k=function(e){return void 0===e.observer},x=function(e,t){if(!a){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},S=function(e,t){var n,r=w(this,{cleanup:void 0,observer:u(e),subscriptionObserver:void 0});a||(this.closed=!1);try{(n=E(e.start))&&n.call(e,this)}catch(s){m(s)}if(!k(r)){var o=r.subscriptionObserver=new j(this);try{var l=t(o),c=l;null!=l&&(r.cleanup="function"===typeof l.unsubscribe?function(){c.unsubscribe()}:i(l))}catch(s){return void o.error(s)}k(r)&&O(r)}};S.prototype=d({},{unsubscribe:function(){var e=b(this);k(e)||(x(this,e),O(e))}}),a&&s(S.prototype,"closed",{configurable:!0,get:function(){return k(b(this))}});var j=function(e){w(this,{subscription:e}),a||(this.closed=!1)};j.prototype=d({},{next:function(e){var t=b(b(this).subscription);if(!k(t)){var n=t.observer;try{var r=E(n.next);r&&r.call(n,e)}catch(a){m(a)}}},error:function(e){var t=b(this).subscription,n=b(t);if(!k(n)){var r=n.observer;x(t,n);try{var a=E(r.error);a?a.call(r,e):m(e)}catch(o){m(o)}O(n)}},complete:function(){var e=b(this).subscription,t=b(e);if(!k(t)){var n=t.observer;x(e,t);try{var r=E(n.complete);r&&r.call(n)}catch(a){m(a)}O(t)}}}),a&&s(j.prototype,"closed",{configurable:!0,get:function(){return k(b(b(this).subscription))}});var C=function(e){c(this,C,"Observable"),w(this,{subscriber:i(e)})};d(C.prototype,{subscribe:function(e){var t=arguments.length;return new S("function"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},b(this).subscriber)}}),d(C,{from:function(e){var t="function"===typeof this?this:C,n=E(u(e)[y]);if(n){var r=u(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var a=p(e);return new t((function(e){h(a,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){var e="function"===typeof this?this:C,t=arguments.length,n=new Array(t),r=0;while(r>>0,o=t>>>0,i=n>>>0;return o-(r>>>0)-((~a&i|~(a^i)&a-i>>>0)>>>31)|0}})},HxYL:function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},Hy9b:function(e,t,n){var r=n("h+/6"),a=n("3Hes"),o=n("qyeh"),i=a("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},HznY:function(e,t,n){"use strict";var r=n("g0pg"),a=n("YfbA").includes,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},I99e:function(e,t,n){var r=n("O4yA"),a=r["__core-js_shared__"];e.exports=a},IRoW:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("1QO0"),u=n.n(i),l=n("2YZa"),c=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0"}),s=()=>u.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:c,columns:[{name:"name",label:"\u540d\u79f0",width:100}],onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=s},IXH5:function(e,t,n){"use strict";function r(){var e=n("1QO0");return r=function(){return e},e}function a(){var e=o(n("1KG/"));return a=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ns.a.createElement("div",{style:{width:"100%",height:500}},s.a.createElement(l["b"],{dependencies:d,data:f,columns:[{name:"name",label:"\u540d\u79f0"}],onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=p},K1I0:function(e,t,n){"use strict";var r,a,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var u=performance;t.unstable_now=function(){return u.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,f=null,d=function e(){if(null!==s)try{var n=t.unstable_now();s(!0,n),s=null}catch(r){throw setTimeout(e,0),r}};r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(d,0))},a=function(e,t){f=setTimeout(e,t)},o=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,g=null,y=-1,b=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(!(void 0!==a&&0j(i,n))void 0!==l&&0>j(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==l&&0>j(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function j(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],_=[],A=1,T=null,R=3,M=!1,P=!1,D=!1;function N(e){for(var t=x(_);null!==t;){if(null===t.callback)S(_);else{if(!(t.startTime<=e))break;S(_),t.sortIndex=t.expirationTime,k(C,t)}t=x(_)}}function I(e){if(D=!1,N(e),!P)if(null!==x(C))P=!0,r(L);else{var t=x(_);null!==t&&a(I,t.startTime-e)}}function L(e,n){P=!1,D&&(D=!1,o()),M=!0;var r=R;try{for(N(n),T=x(C);null!==T&&(!(T.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=T.callback;if("function"===typeof i){T.callback=null,R=T.priorityLevel;var u=i(T.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?T.callback=u:T===x(C)&&S(C),N(n)}else S(C);T=x(C)}if(null!==T)var l=!0;else{var c=x(_);null!==c&&a(I,c.startTime-n),l=!1}return l}finally{T=null,R=r,M=!1}}var B=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||M||(P=!0,r(L))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(C)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,i){var u=t.unstable_now();switch("object"===typeof i&&null!==i?(i=i.delay,i="number"===typeof i&&0u?(e.sortIndex=i,k(_,e),null===x(C)&&e===x(_)&&(D?o():D=!0,a(I,i-u))):(e.sortIndex=l,k(C,e),P||M||(P=!0,r(L))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},K29s:function(e,t,n){var r=n("7xa0"),a=n("ry6q"),o=n("GQDD");function i(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}e.exports=i},K3fz:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?arguments[1]:void 0),t}})},KLPW:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("yjmR");function a(e,t){var n=Object(r["a"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},KSsz:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},KTM1:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"Set",stat:!0},{from:a})},KUb8:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("QHn5"),u=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{keyOf:function(e){return u(i(o(this)),(function(t,n){if(n===e)return u.stop(t)}),void 0,!0,!0).result}})},"KUi+":function(e,t,n){"use strict";var r=n("sErw"),a=n("JSMs");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return a(r(this),"number"!==e)}},KZF9:function(e,t,n){var r=n("4uZn"),a=n("oEsY"),o=n("2Roc"),i=n("0JbB").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)})}},KZJK:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("NUIj"),o=n.n(a),i=n("2YZa"),u=n("1QO0"),l=n.n(u),c=Array.from({length:100}).fill({name:"Title"}),s=()=>l.a.createElement("div",{style:{width:"100%",height:500}},l.a.createElement(i["b"],{locale:i["c"],data:c,columns:[{name:"name",label:"Title",width:100}],onUpdate:function(){var e=Object(r["a"])(o.a.mark((function e(t,n,r){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,r),e.abrupt("return",!0);case 2:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}));t["default"]=s},KZPF:function(e,t,n){var r=n("OOCw"),a=n("SlEr"),o=n("1Sp3"),i=n("sErw"),u=n("zesz"),l=n("uZx/"),c=o.keys,s=o.toKey,f=function(e){var t=[];return l(e,t.push,t),t},d=function(e,t){var n=c(e,t),r=u(e);if(null===r)return n;var o=d(r,t);return o.length?n.length?f(new a(n.concat(o))):o:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return d(i(e),t)}})},KgcE:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},Kk74:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.get,u=a.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,o(t),n)}})},Kkyq:function(e,t,n){var r=n("jCBa"),a=n("g/mA"),o=n("eHdO"),i=n("eoSM"),u=n("iRtw");function l(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):u(e)}e.exports=l},KuRq:function(e,t,n){var r=n("6SQG"),a=n("nBeg");a(r.JSON,"JSON",!0)},L7kM:function(e,t,n){"use strict";function r(){var e=a(n("1QO0"));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=r()["default"].createContext({config:{mode:"doc",title:"",navs:{},menus:{},locales:[],repository:{branch:"master"},theme:{}},meta:{title:""},menu:[],nav:[],base:"",routes:[],apis:{},demos:{}});t["default"]=o},LoA3:function(e,t,n){var r=n("+WEc"),a=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(a,""):e}e.exports=o},LsWz:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("9kvl"),u=(n("lIGE"),function(e){var t=e.location,n=Object(r["useContext"])(o["context"]),u=n.base,l=n.locale,c=n.config.locales,s=c.find((function(e){var t=e.name;return t!==l}));function f(e){var n=u.replace("/".concat(l),""),r=t.pathname.replace(new RegExp("^".concat(u,"(/|$)")),"".concat(n,"$1"))||"/";if(e!==c[0].name){var a="".concat(n,"/").concat(e).replace(/\/\//,"/"),o=t.pathname.replace(u.replace(/^\/$/,"//"),"");return"".concat(a).concat(o).replace(/\/$/,"")}return r}return s?a.a.createElement("div",{className:"__dumi-default-locale-select","data-locale-count":c.length},c.length>2?a.a.createElement("select",{value:l,onChange:function(e){return i["a"].push(f(e.target.value))}},c.map((function(e){return a.a.createElement("option",{value:e.name,key:e.name},e.label)}))):a.a.createElement(o["Link"],{to:f(s.name)},s.label)):null}),l=u,c=(n("gem+"),function(e){var t=e.onMobileMenuClick,n=e.navPrefix,i=e.location,u=e.darkPrefix,c=Object(r["useContext"])(o["context"]),s=c.base,f=c.config,d=f.mode,p=f.title,h=f.logo,m=c.nav;return a.a.createElement("div",{className:"__dumi-default-navbar","data-mode":d},a.a.createElement("button",{className:"__dumi-default-navbar-toggle",onClick:t}),a.a.createElement(o["Link"],{className:"__dumi-default-navbar-logo",style:{backgroundImage:h&&"url('".concat(h,"')")},to:s,"data-plaintext":!1===h||void 0},p),a.a.createElement("nav",null,n,m.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path},a.a.createElement(o["NavLink"],{to:e.path},e.title))})));return a.a.createElement("span",{key:e.title||e.path},e.path?a.a.createElement(o["NavLink"],{to:e.path,key:e.path},e.title):e.title,n)})),a.a.createElement("div",{className:"__dumi-default-navbar-tool"},a.a.createElement(l,{location:i}),u)))}),s=c,f=(n("Tk/C"),["slugs"]);function d(){return d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}var m=function(e){var t=e.slugs,n=p(e,f);return a.a.createElement("ul",d({role:"slug-list"},n),t.filter((function(e){var t=e.depth;return t>1&&t<4})).map((function(e){return a.a.createElement("li",{key:e.heading,title:e.value,"data-depth":e.depth},a.a.createElement(o["AnchorLink"],{to:"#".concat(e.heading)},a.a.createElement("span",null,e.value)))})))},v=m,g=(n("uBSk"),function(e){var t=e.mobileMenuCollapsed,n=e.location,i=e.darkPrefix,u=Object(r["useContext"])(o["context"]),c=u.config,s=c.logo,f=c.title,d=c.description,p=c.mode,h=c.repository.url,m=u.menu,g=u.nav,y=u.base,b=u.meta,w=Boolean((b.hero||b.features||b.gapless)&&"site"===p)||!1===b.sidemenu||void 0;return a.a.createElement("div",{className:"__dumi-default-menu","data-mode":p,"data-hidden":w,"data-mobile-show":!t||void 0},a.a.createElement("div",{className:"__dumi-default-menu-inner"},a.a.createElement("div",{className:"__dumi-default-menu-header"},a.a.createElement(o["Link"],{to:y,className:"__dumi-default-menu-logo",style:{backgroundImage:s&&"url('".concat(s,"')")}}),a.a.createElement("h1",null,f),a.a.createElement("p",null,d),/github\.com/.test(h)&&"doc"===p&&a.a.createElement("p",null,a.a.createElement("object",{type:"image/svg+xml",data:"https://img.shields.io/github/stars".concat(h.match(/((\/[^\/]+){2})$/)[1],"?style=social")}))),a.a.createElement("div",{className:"__dumi-default-menu-mobile-area"},!!g.length&&a.a.createElement("ul",{className:"__dumi-default-menu-nav-list"},g.map((function(e){var t,n=Boolean(null===(t=e.children)||void 0===t?void 0:t.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path||e.title},a.a.createElement(o["NavLink"],{to:e.path},e.title))})));return a.a.createElement("li",{key:e.path||e.title},e.path?a.a.createElement(o["NavLink"],{to:e.path},e.title):e.title,n)}))),a.a.createElement(l,{location:n}),i),a.a.createElement("ul",{className:"__dumi-default-menu-list"},!w&&m.map((function(e){var t,r=Boolean(null===(t=b.slugs)||void 0===t?void 0:t.length),i=e.children&&Boolean(e.children.length),u="menu"===b.toc&&!i&&r&&e.path===n.pathname.replace(/([^^])\/$/,"$1"),l=i?e.children.map((function(e){return e.path})):[e.path,n.pathname.startsWith("".concat(e.path,"/"))&&b.title===e.title?n.pathname:null];return a.a.createElement("li",{key:e.path||e.title},a.a.createElement(o["NavLink"],{to:e.path,isActive:function(){return l.includes(n.pathname)}},e.title),Boolean(e.children&&e.children.length)&&a.a.createElement("ul",null,e.children.map((function(e){return a.a.createElement("li",{key:e.path},a.a.createElement(o["NavLink"],{to:e.path,exact:!0},a.a.createElement("span",null,e.title)),Boolean("menu"===b.toc&&"undefined"!==typeof window&&e.path===n.pathname&&r)&&a.a.createElement(v,{slugs:b.slugs}))}))),u&&a.a.createElement(v,{slugs:b.slugs}))})))))}),y=g;n("6B/L");function b(){return b=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&c.map((function(e){var t;return a.a.createElement("li",{key:e.path,onClick:function(){return i("")}},a.a.createElement(o["AnchorLink"],{to:e.path},(null===(t=e.parent)||void 0===t?void 0:t.title)&&a.a.createElement("span",null,e.parent.title),j(n,e.title)))})),0===c.length&&n&&a.a.createElement("li",{style:{textAlign:"center"}},p)))};n("8NKu");function _(e,t){return P(e)||M(e,t)||T(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){if(e){if("string"===typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nk;k++)if((d||k in w)&&(g=w[k],y=E(g,k,b),e))if(t)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:l.call(S,g)}else if(s)return!1;return f?-1:c||s?s:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},"M/TJ":function(e,t,n){"use strict";n.r(t),n.d(t,"matchRoutes",(function(){return u})),n.d(t,"renderRoutes",(function(){return l}));var r=n("Bm2L"),a=n("lCDx"),o=n("1QO0"),i=n.n(o);function u(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?Object(r["i"])(t,e):n.length?n[n.length-1].match:r["e"].computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&u(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?i.a.createElement(r["g"],n,e.map((function(e,n){return i.a.createElement(r["d"],{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(a["a"])({},n,{},t,{route:e})):i.a.createElement(e.component,Object(a["a"])({},n,t,{route:e}))}})}))):null}},M2ND:function(e,t,n){"use strict";var r=n("vfR7").charAt,a=n("uJNS"),o=n("vSpU"),i="String Iterator",u=a.set,l=a.getterFor(i);o(String,"String",(function(e){u(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},"M42/":function(e,t,n){var r=n("capL");function a(e){return function(t){return r(t,e)}}e.exports=a},M5mG:function(e,t,n){var r=n("6SQG"),a=n("mVlO"),o=n("0pkz"),i=n("MZA9"),u=n("3Hes"),l=u("iterator"),c=u("toStringTag"),s=o.values;for(var f in a){var d=r[f],p=d&&d.prototype;if(p){if(p[l]!==s)try{i(p,l,s)}catch(m){p[l]=s}if(p[c]||i(p,c,f),a[f])for(var h in o)if(p[h]!==o[h])try{i(p,h,o[h])}catch(m){p[h]=o[h]}}}},M9kN:function(e,t,n){var r=n("ry6q"),a=n("GQDD"),o=n("67Yi"),i=200;function u(e,t){var n=this.__data__;if(n instanceof r){var u=n.__data__;if(!a||u.lengthf)n=a(r,t=c[f++]),void 0!==n&&l(s,t,n);return s}})},MULs:function(e,t,n){var r=n("Zjmp"),a=n("RtFG"),o=n("0zpI"),i=n("NRXl"),u=n("Vc2o"),l=n("eoSM"),c=n("Zsrj"),s=n("GC0I"),f=1,d="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype,v=m.hasOwnProperty;function g(e,t,n,m,g,y){var b=l(e),w=l(t),E=b?p:u(e),O=w?p:u(t);E=E==d?h:E,O=O==d?h:O;var k=E==h,x=O==h,S=E==O;if(S&&c(e)){if(!c(t))return!1;b=!0,k=!1}if(S&&!k)return y||(y=new r),b||s(e)?a(e,t,n,m,g,y):o(e,t,E,n,m,g,y);if(!(n&f)){var j=k&&v.call(e,"__wrapped__"),C=x&&v.call(t,"__wrapped__");if(j||C){var _=j?e.value():e,A=C?t.value():t;return y||(y=new r),g(_,A,n,m,y)}}return!!S&&(y||(y=new r),i(e,t,n,m,g,y))}e.exports=g},MZA9:function(e,t,n){var r=n("r+6h"),a=n("0JbB"),o=n("ZVkV");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},MdxV:function(e,t,n){var r=n("h+/6"),a=n("kk5s"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},Mfbz:function(e,t,n){var r=n("FbU2"),a=n("oA63"),o=n("6vUj");function i(e){return r(e,o,a)}e.exports=i},MhuM:function(e,t,n){e.exports={"task-dependency-line":"task-dependency-line___2M0K6",line:"line___3jymp"}},Mi9W:function(e,t,n){"use strict";e.exports=n("K1I0")},MyUB:function(e,t,n){var r=n("O4yA"),a=r.Uint8Array;e.exports=a},"N+aw":function(e,t,n){var r=n("r+6h"),a=n("3s2x"),o=n("684d"),i=n("UQib").f,u=function(e){return function(t){var n,u=o(t),l=a(u),c=l.length,s=0,f=[];while(c>s)n=l[s++],r&&!i.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},"N/7o":function(e,t,n){"use strict";var r=n("OOCw"),a=n("ANLo"),o=n("pVp3"),i=n("jax1"),u=n("h+/6"),l=1..toFixed,c=Math.floor,s=function(e,t,n){return 0===t?n:t%2===1?s(e,t-1,n*e):s(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){l.call({})}));r({target:"Number",proto:!0,forced:d},{toFixed:function(e){var t,n,r,u,l=o(this),d=a(e),p=[0,0,0,0,0,0],h="",m="0",v=function(e,t){var n=-1,r=t;while(++n<6)r+=e*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(e){var t=6,n=0;while(--t>=0)n+=p[t],p[t]=c(n/e),n=n%e*1e7},y=function(){var e=6,t="";while(--e>=0)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(t=f(l*s(2,69,1))-69,n=t<0?l*s(2,-t,1):l/s(2,t,1),n*=4503599627370496,t=52-t,t>0){v(0,n),r=d;while(r>=7)v(1e7,0),r-=7;v(s(10,r,1),0),r=t-1;while(r>=23)g(1<<23),r-=23;g(1<0?(u=m.length,m=h+(u<=d?"0."+i.call("0",d-u)+m:m.slice(0,u-d)+"."+m.slice(u-d))):m=h+m,m}})},N0ls:function(e,t,n){var r=n("OdMF"),a=n("upgS"),o=n("MI4T"),i=n("dwb6"),u=n("v3z7"),l=n("g0pg").aTypedArrayConstructor;e.exports=function(e){var t,n,c,s,f,d,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=o(p);if(void 0!=g&&!i(g)){f=g.call(p),d=f.next,p=[];while(!(s=d.call(f)).done)p.push(s.value)}for(v&&h>2&&(m=u(m,arguments[2],2)),n=a(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=v?m(p[t],t):p[t];return c}},N2ls:function(e,t,n){"use strict";var r=n("IYc2");function a(){var e=n("1QO0");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=i(n("L7kM"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return d(e)||f(e,t)||c(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nu.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:100}],tableIndent:0,renderLeftText:()=>u.a.createElement("span",null,"\u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3"),renderRightText:()=>u.a.createElement("span",null,"\u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3"),onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),getBarColor:()=>({backgroundColor:"red",borderColor:"yellow"}),renderBar:(e,t)=>{var n=t.width,r=t.height;return u.a.createElement("div",{style:{width:n,height:r,backgroundColor:"red"}},"renderBar",e.label)}}));t["default"]=d},NERh:function(e,t,n){},NRXl:function(e,t,n){var r=n("Mfbz"),a=1,o=Object.prototype,i=o.hasOwnProperty;function u(e,t,n,o,u,l){var c=n&a,s=r(e),f=s.length,d=r(t),p=d.length;if(f!=p&&!c)return!1;var h=f;while(h--){var m=s[h];if(!(c?m in t:i.call(t,m)))return!1}var v=l.get(e),g=l.get(t);if(v&&g)return v==t&&g==e;var y=!0;l.set(e,t),l.set(t,e);var b=c;while(++hs){var p,h=c(arguments[s++]),m=f?o(h).concat(f(h)):o(h),v=m.length,g=0;while(v>g)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:s},NlHq:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{intersection:function(e){var t=i(this),n=new(l(t,o("Set"))),r=u(t.has),a=u(n.add);return c(e,(function(e){r.call(t,e)&&a.call(n,e)})),n}})},Nvne:function(e,t,n){var r=n("GXoa");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},O4yA:function(e,t,n){var r=n("yn9n"),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},O8qS:function(e,t,n){var r=n("h+/6");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},OChd:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}}))},OD7W:function(e,t,n){var r=n("F6gM"),a=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}e.exports=o},OOCw:function(e,t,n){var r=n("6SQG"),a=n("6ssM").f,o=n("MZA9"),i=n("uF/W"),u=n("jukf"),l=n("mult"),c=n("RzMS");e.exports=function(e,t){var n,s,f,d,p,h,m=e.target,v=e.global,g=e.stat;if(s=v?r:g?r[m]||u(m,{}):(r[m]||{}).prototype,s)for(f in t){if(p=t[f],e.noTargetGet?(h=a(s,f),d=h&&h.value):d=s[f],n=c(v?f:m+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(s,f,p,e)}}},OR72:function(e,t,n){var r=n("kk5s"),a=n("A2zS");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},OUyb:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function a(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done);i=!0)if(o.push(r.value),t&&o.length===t)break}catch(l){u=!0,a=l}finally{try{i||null==n["return"]||n["return"]()}finally{if(u)throw a}}return o}}n.d(t,"a",(function(){return u}));var o=n("OXLs");function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return r(e)||a(e,t)||Object(o["a"])(e,t)||i()}},OXLs:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("K3fz");function a(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},Oax0:function(e,t,n){var r=n("rkJ6"),a=Array.prototype,o=a.splice;function i(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var a=t.length-1;return n==a?t.pop():o.call(t,n,1),--this.size,!0}e.exports=i},Obug:function(e,t,n){"use strict";var r=n("OOCw"),a=n("ANLo"),o=n("VqGX"),i="Invalid number representation",u="Invalid radix",l=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,c=1;if("string"!=typeof e)throw TypeError(i);if(!e.length)throw SyntaxError(i);if("-"==e.charAt(0)&&(c=-1,e=e.slice(1),!e.length))throw SyntaxError(i);if(n=void 0===t?10:a(t),n<2||n>36)throw RangeError(u);if(!l.test(e)||(r=o(e,n)).toString(n)!==e)throw SyntaxError(i);return c*r}})},OcJn:function(e,t,n){var r=n("KZF9");r("isConcatSpreadable")},OdMF:function(e,t,n){var r=n("z43i");e.exports=function(e){return Object(r(e))}},"Oe+o":function(e,t,n){"use strict";n.r(t);var r=n("ULjY"),a=n("tGGB"),o=n("Vhn3"),i=n("NUIj"),u=n.n(i),l=n("0+H2"),c=n.n(l),s=n("2YZa"),f=n("1QO0"),d=n.n(f);function p(e){for(var t=[],n=0;n{var e=Object(f["useState"])(p(20)),t=Object(o["a"])(e,2),n=t[0],i=t[1];return console.log("data",n),d.a.createElement("div",{style:{width:"100%",height:500}},d.a.createElement(s["b"],{data:n,columns:[{name:"name",label:"\u540d\u79f0",width:100}],onUpdate:function(){var e=Object(a["a"])(u.a.mark((function e(t,n,a){return u.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,a),i((e=>{var o=[...e],i=o.findIndex((e=>e.id===t.id));return o[i]=Object(r["a"])(Object(r["a"])({},t),{},{startDate:c()(n).format("YYYY-MM-DD"),endDate:c()(a).format("YYYY-MM-DD")}),o})),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}))};t["default"]=h},OtMc:function(e,t,n){var r,a,o,i,u,l,c,s,f=n("6SQG"),d=n("6ssM").f,p=n("kk5s"),h=n("bbNk").set,m=n("ytxp"),v=f.MutationObserver||f.WebKitMutationObserver,g=f.process,y=f.Promise,b="process"==p(g),w=d(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var e,t;b&&(e=g.domain)&&e.exit();while(a){t=a.fn,a=a.next;try{t()}catch(n){throw a?i():o=void 0,n}}o=void 0,e&&e.enter()},b?i=function(){g.nextTick(r)}:v&&!m?(u=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),i=function(){l.data=u=!u}):y&&y.resolve?(c=y.resolve(void 0),s=c.then,i=function(){s.call(c,r)}):i=function(){h.call(f,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},Ox3h:function(e,t,n){"use strict";var r,a=n("6SQG"),o=n("TxBV"),i=n("gArs"),u=n("BUyj"),l=n("jETf"),c=n("x+sk"),s=n("uJNS").enforce,f=n("qbEc"),d=!a.ActiveXObject&&"ActiveXObject"in a,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=u("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),i.REQUIRED=!0;var v=m.prototype,g=v["delete"],y=v.has,b=v.get,w=v.set;o(v,{delete:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new r),y.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},"P+rD":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("qkOA"),a=n.n(r);function o(e){return e instanceof HTMLElement?e:a.a.findDOMNode(e)}},"P1/K":function(e,t,n){},P92K:function(e,t,n){},PIOI:function(e,t,n){"use strict";function r(){var e=n("1QO0");return r=function(){return e},e}function a(e,t){return c(e)||l(e,t)||i(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]?arguments[3]:0;if(o1?arguments[1]:void 0)}})},PynX:function(e,t,n){var r=n("KZF9");r("dispose")},Q69t:function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},QHn5:function(e,t,n){var r=n("qyeh"),a=n("mxPn");e.exports=r?a:function(e){return Map.prototype.entries.call(e)}},QKCj:function(e,t,n){n("ax/v")},QQXB:function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype["delete"]=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),_="undefined"!==typeof WeakMap?new WeakMap:new n,A=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new C(t,n,this);_.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){A.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));var T=function(){return"undefined"!==typeof a.ResizeObserver?a.ResizeObserver:A}();t["a"]=T}).call(this,n("j8Of"))},QWtl:function(e,t,n){var r,a=n("sErw"),o=n("DS72"),i=n("AqOu"),u=n("Y3cF"),l=n("RtP/"),c=n("73fw"),s=n("8i6t"),f=">",d="<",p="prototype",h="script",m=s("IE_PROTO"),v=function(){},g=function(e){return d+h+f+e+d+"/"+h+f},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=c("iframe"),n="java"+h+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},w=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=r?y(r):b();var e=i.length;while(e--)delete w[p][i[e]];return w()};u[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=a(e),n=new v,v[p]=null,n[m]=e):n=w(),void 0===t?n:o(n,t)}},QZNO:function(e,t,n){var r=n("OOCw"),a=n("6SQG");r({global:!0},{globalThis:a})},Qcf6:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r=t.prototype,a=r.format;n.en.ordinal=function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"},r.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return a.bind(this)(e);var r=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return r.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return r.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return r.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return a.bind(this)(o)}}}))},QiOl:function(e,t,n){"use strict";var r=n("5yEw"),a=n("elB0");e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},QkOx:function(e,t,n){"use strict";n("jYqw");var r=n("uF/W"),a=n("h+/6"),o=n("3Hes"),i=n("A2zS"),u=n("MZA9"),l=o("species"),c=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$
")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),f=o("replace"),d=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=o(e),m=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!v||"replace"===e&&(!c||!s||d)||"split"===e&&!p){var g=/./[h],y=n(h,""[e],(function(e,t,n,r,a){return t.exec===i?m&&!a?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],w=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},Qkfr:function(e,t,n){"use strict";var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?document.body:n,a=document.createElement("textarea"),o=document.activeElement;a.value=e,a.setAttribute("readonly",""),a.style.contain="strict",a.style.position="absolute",a.style.left="-9999px",a.style.fontSize="12pt";var i=document.getSelection(),u=!1;i.rangeCount>0&&(u=i.getRangeAt(0)),r.append(a),a.select(),a.selectionStart=0,a.selectionEnd=e.length;var l=!1;try{l=document.execCommand("copy")}catch(c){}return a.remove(),u&&(i.removeAllRanges(),i.addRange(u)),o&&o.focus(),l};e.exports=r,e.exports["default"]=r},QkpR:function(e,t,n){"use strict";var r=n("R8Gd"),a=n("yjmR"),o=n("OUyb"),i=n("yPwS"),u=n("1QO0"),l=n("P+rD"),c=n("+Hgx"),s=n("Ebyb"),f=n.n(s),d=n("8SKh");function p(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function h(e,t){var n={animationend:p("Animation","AnimationEnd"),transitionend:p("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var m=h(Object(d["a"])(),"undefined"!==typeof window?window:{}),v={};if(Object(d["a"])()){var g=document.createElement("div");v=g.style}var y={};function b(e){if(y[e])return y[e];var t=m[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&void 0!==arguments[1]?arguments[1]:2;t();var o=Object(I["a"])((function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)}));e.current=o}return u["useEffect"]((function(){return function(){t()}}),[]),[n,t]},B=Object(d["a"])()?u["useLayoutEffect"]:u["useEffect"],F=B,U=[R,M,P,D],z=!1,Y=!0;function W(e){return e===P||e===D}var G=function(e,t){var n=Object(N["a"])(T),r=Object(o["a"])(n,2),a=r[0],i=r[1],l=L(),c=Object(o["a"])(l,2),s=c[0],f=c[1];function d(){i(R,!0)}return F((function(){if(a!==T&&a!==D){var e=U.indexOf(a),n=U[e+1],r=t(a);r===z?i(n,!0):s((function(e){function t(){e.isCanceled()||i(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,a]),u["useEffect"]((function(){return function(){f()}}),[]),[d,a]},H=function(e){var t=Object(u["useRef"])(),n=Object(u["useRef"])(e);n.current=e;var r=u["useCallback"]((function(e){n.current(e)}),[]);function a(e){e&&(e.removeEventListener(x,r),e.removeEventListener(k,r))}function o(e){t.current&&t.current!==e&&a(t.current),e&&e!==t.current&&(e.addEventListener(x,r),e.addEventListener(k,r),t.current=e)}return u["useEffect"]((function(){return function(){a(t.current)}}),[]),[o,a]};function V(e,t,n,i){var l=i.motionEnter,c=void 0===l||l,s=i.motionAppear,f=void 0===s||s,d=i.motionLeave,p=void 0===d||d,h=i.motionDeadline,m=i.motionLeaveImmediately,v=i.onAppearPrepare,g=i.onEnterPrepare,y=i.onLeavePrepare,b=i.onAppearStart,w=i.onEnterStart,E=i.onLeaveStart,O=i.onAppearActive,k=i.onEnterActive,x=i.onLeaveActive,S=i.onAppearEnd,T=i.onEnterEnd,D=i.onLeaveEnd,I=i.onVisibleChanged,L=Object(N["a"])(),B=Object(o["a"])(L,2),U=B[0],V=B[1],$=Object(N["a"])(j),X=Object(o["a"])($,2),q=X[0],K=X[1],Q=Object(N["a"])(null),Z=Object(o["a"])(Q,2),J=Z[0],ee=Z[1],te=Object(u["useRef"])(!1),ne=Object(u["useRef"])(null);function re(){return n()}var ae=Object(u["useRef"])(!1);function oe(e){var t=re();if(!e||e.deadline||e.target===t){var n,r=ae.current;q===C&&r?n=null===S||void 0===S?void 0:S(t,e):q===_&&r?n=null===T||void 0===T?void 0:T(t,e):q===A&&r&&(n=null===D||void 0===D?void 0:D(t,e)),q!==j&&r&&!1!==n&&(K(j,!0),ee(null,!0))}}var ie=H(oe),ue=Object(o["a"])(ie,1),le=ue[0],ce=u["useMemo"]((function(){var e,t,n;switch(q){case C:return e={},Object(r["a"])(e,R,v),Object(r["a"])(e,M,b),Object(r["a"])(e,P,O),e;case _:return t={},Object(r["a"])(t,R,g),Object(r["a"])(t,M,w),Object(r["a"])(t,P,k),t;case A:return n={},Object(r["a"])(n,R,y),Object(r["a"])(n,M,E),Object(r["a"])(n,P,x),n;default:return{}}}),[q]),se=G(q,(function(e){if(e===R){var t=ce[R];return t?t(re()):z}var n;pe in ce&&ee((null===(n=ce[pe])||void 0===n?void 0:n.call(ce,re(),null))||null);return pe===P&&(le(re()),h>0&&(clearTimeout(ne.current),ne.current=setTimeout((function(){oe({deadline:!0})}),h))),Y})),fe=Object(o["a"])(se,2),de=fe[0],pe=fe[1],he=W(pe);ae.current=he,F((function(){V(t);var n,r=te.current;(te.current=!0,e)&&(!r&&t&&f&&(n=C),r&&t&&c&&(n=_),(r&&!t&&p||!r&&m&&!t&&p)&&(n=A),n&&(K(n),de()))}),[t]),Object(u["useEffect"])((function(){(q===C&&!f||q===_&&!c||q===A&&!p)&&K(j)}),[f,c,p]),Object(u["useEffect"])((function(){return function(){te.current=!1,clearTimeout(ne.current)}}),[]),Object(u["useEffect"])((function(){void 0!==U&&q===j&&(null===I||void 0===I||I(U))}),[U,q]);var me=J;return ce[R]&&pe===M&&(me=Object(a["a"])({transition:"none"},me)),[q,pe,me,null!==U&&void 0!==U?U:t]}var $=n("l6qj"),X=n("4rHh"),q=n("j/sL"),K=n("/3Cb"),Q=function(e){Object(q["a"])(n,e);var t=Object(K["a"])(n);function n(){return Object($["a"])(this,n),t.apply(this,arguments)}return Object(X["a"])(n,[{key:"render",value:function(){return this.props.children}}]),n}(u["Component"]),Z=Q;function J(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===Object(i["a"])(e)&&(t=e.transitionSupport);var s=u["forwardRef"]((function(e,t){var i=e.visible,s=void 0===i||i,d=e.removeOnLeave,p=void 0===d||d,h=e.forceRender,m=e.children,v=e.motionName,g=e.leavedClassName,y=e.eventProps,b=n(e),w=Object(u["useRef"])(),E=Object(u["useRef"])();function O(){try{return w.current instanceof HTMLElement?w.current:Object(l["a"])(E.current)}catch(e){return null}}var k=V(b,s,O,e),x=Object(o["a"])(k,4),C=x[0],_=x[1],A=x[2],T=x[3],P=u["useRef"](T);T&&(P.current=!0);var D,N=u["useCallback"]((function(e){w.current=e,Object(c["b"])(t,e)}),[t]),I=Object(a["a"])(Object(a["a"])({},y),{},{visible:s});if(m)if(C!==j&&n(e)){var L,B;_===R?B="prepare":W(_)?B="active":_===M&&(B="start"),D=m(Object(a["a"])(Object(a["a"])({},I),{},{className:f()(S(v,C),(L={},Object(r["a"])(L,S(v,"".concat(C,"-").concat(B)),B),Object(r["a"])(L,v,"string"===typeof v),L)),style:A}),N)}else D=T?m(Object(a["a"])({},I),N):!p&&P.current?m(Object(a["a"])(Object(a["a"])({},I),{},{className:g}),N):h?m(Object(a["a"])(Object(a["a"])({},I),{},{style:{display:"none"}}),N):null;else D=null;if(u["isValidElement"](D)&&Object(c["c"])(D)){var F=D,U=F.ref;U||(D=u["cloneElement"](D,{ref:N}))}return u["createElement"](Z,{ref:E},D)}));return s.displayName="CSSMotion",s}var ee=J(O),te=n("lCDx"),ne=n("VUwz"),re="add",ae="keep",oe="remove",ie="removed";function ue(e){var t;return t=e&&"object"===Object(i["a"])(e)&&"key"in e?e:{key:e},Object(a["a"])(Object(a["a"])({},t),{},{key:String(t.key)})}function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ue)}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=le(e),u=le(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return c.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==oe})),n.forEach((function(t){t.key===e&&(t.status=ae)}))})),n}var se=["component","children","onVisibleChanged","onAllRemoved"],fe=["status"],de=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,n=function(e){Object(q["a"])(r,e);var n=Object(K["a"])(r);function r(){var e;Object($["a"])(this,r);for(var t=arguments.length,o=new Array(t),i=0;i{console.log("onExpand",e,t)},v=()=>l.a.createElement("div",{style:{width:"100%",height:500}},l.a.createElement(c["b"],{data:h,onExpand:m,columns:[{name:"name",label:"\u540d\u79f0"}],onUpdate:Object(r["a"])(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=v},RSL4:function(e,t,n){n("QZNO")},RfhN:function(e,t){function n(){return!1}e.exports=n},RtFG:function(e,t,n){var r=n("2lI5"),a=n("1aIJ"),o=n("l3mM"),i=1,u=2;function l(e,t,n,l,c,s){var f=n&i,d=e.length,p=t.length;if(d!=p&&!(f&&p>d))return!1;var h=s.get(e),m=s.get(t);if(h&&m)return h==t&&m==e;var v=-1,g=!0,y=n&u?new r:void 0;s.set(e,t),s.set(t,e);while(++vv)throw TypeError(g);for(s=l(y,r),f=0;fb-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>w;f--)d=f+r-1,p=f+n-1,d in y?y[p]=y[d]:delete y[p];for(f=0;f1?arguments[1]:void 0,3),a=new(c(t,o("Map"))),d=u(a.set);return f(n,(function(e,n){d.call(a,r(n,e,t),n)}),void 0,!0,!0),a}})},SHha:function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function u(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(o){return!1}}e.exports=u()?Object.assign:function(e,t){for(var n,u,l=i(e),c=1;c=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},THzI:function(e,t,n){"use strict";var r=n("qyeh"),a=n("6SQG"),o=n("h+/6");e.exports=r||!o((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete a[e]}))},TMNz:function(e,t,n){"use strict";var r=n("OOCw"),a=n("M+Sl").map,o=n("THrr"),i=n("7/pz"),u=o("map"),l=i("map");r({target:"Array",proto:!0,forced:!u||!l},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},Tf8M:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("1zyx"),a=n("qrGX"),o=(0,a.LinkWrapper)(r.NavLink);t["default"]=o},"Tk/C":function(e,t,n){},TxBV:function(e,t,n){var r=n("uF/W");e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},TxDi:function(e,t,n){var r=n("3Hes"),a=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,"/./"[e](t)}catch(r){}}return!1}},Txlo:function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function a(e,t){var a=typeof e;return t=null==t?n:t,!!t&&("number"==a||"symbol"!=a&&r.test(e))&&e>-1&&e%1==0&&e1?arguments[1]:void 0,3),a=new(c(t,o("Set"))),d=u(a.add);return f(n,(function(e){r(e,e,t)&&d.call(a,e)}),void 0,!1,!0),a}})},UQib:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},UbNf:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("K3fz");function a(e){if(Array.isArray(e))return Object(r["a"])(e)}function o(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var i=n("OXLs");function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){return a(e)||o(e)||Object(i["a"])(e)||u()}},Us7a:function(e,t,n){var r=n("upgS"),a=n("jax1"),o=n("z43i"),i=Math.ceil,u=function(e){return function(t,n,u){var l,c,s=String(o(t)),f=s.length,d=void 0===u?" ":String(u),p=r(n);return p<=f||""==d?s:(l=p-f,c=a.call(d,i(l/d.length)),c.length>l&&(c=c.slice(0,l)),e?s+c:c+s)}};e.exports={start:u(!1),end:u(!0)}},UtSM:function(e,t,n){var r=n("rkJ6");function a(e){return r(this.__data__,e)>-1}e.exports=a},Uv1i:function(e,t,n){var r=n("GXoa");r("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},UzFB:function(e,t,n){},V0hj:function(e,t,n){var r=n("O8qS");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},V96g:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{union:function(e){var t=i(this),n=new(l(t,o("Set")))(t);return c(e,u(n.add),n),n}})},VA8o:function(e,t,n){var r=n("h+/6");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},VJj2:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},VOZC:function(e,t,n){"use strict";var r=n("1QO0"),a=n.n(r),o=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=f.reach)break;var x=O.value;if(t.length>e.length)return;if(!(x instanceof a)){var S,j=1;if(y){if(S=o(E,k,e,g),!S||S.index>=e.length)break;var C=S.index,_=S.index+S[0].length,A=k;A+=O.value.length;while(C>=A)O=O.next,A+=O.value.length;if(A-=O.value.length,k=A,O.value instanceof a)continue;for(var T=O;T!==t.tail&&(A<_||"string"===typeof T.value);T=T.next)j++,A+=T.value.length;j--,x=e.slice(k,A),S.index-=k}else if(S=o(E,0,x,g),!S)continue;C=S.index;var R=S[0],M=x.slice(0,C),P=x.slice(C+R.length),D=k+x.length;f&&D>f.reach&&(f.reach=D);var N=O.prev;M&&(N=l(t,N,M),k+=M.length),c(t,N,j);var I=new a(d,v?r.tokenize(R,v):R,b,R);if(O=l(t,N,I),P&&l(t,O,P),j>1){var L={cause:d+","+h,reach:D};i(e,t,n,O.prev,k,L),f&&L.reach>f.reach&&(f.reach=L.reach)}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),i=o;o["default"]=o,i.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup["tag"].inside["attr-value"].inside["entity"]=i.languages.markup["entity"],i.languages.markup["doctype"].inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:i.languages[t]},n["cdata"]=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),i.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c["string"]],char:i.languages.c["char"],comment:i.languages.c["comment"],"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}}}),i.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete i.languages.c["boolean"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css["atrule"].inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css["atrule"].inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){function t(e){if(e&&"string"!==typeof e)for(var n=0,r=e.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function c(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if(t=t.toLowerCase(),"#"===t[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=u[t];return r||e})),t}e.languages.md=e.languages.markdown}(i),i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},i.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!==typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var u=d(/^\{$/,/^\}$/);if(-1===u)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function s(e){return t[n+e]}function f(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside["interpolation"],a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function u(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function s(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,s={},f=a.map((function(e){if("string"===typeof e)return e;var n,a=e.content;while(-1!==t.indexOf(n=u(i++,r)));return s[n]=a,n})).join(""),d=l(f,n,r),p=Object.keys(s);function h(e){for(var t=0;t=p.length)return;var n=e[t];if("string"===typeof n||"string"===typeof n.content){var r=p[i],a="string"===typeof n?n:n.content,o=a.indexOf(r);if(-1!==o){++i;var u=a.substring(0,o),l=c(s[r]),f=a.substring(o+r.length),d=[];if(u&&d.push(u),d.push(l),f){var m=[f];h(m),d.push.apply(d,m)}"string"===typeof n?(e.splice.apply(e,[t,1].concat(d)),t+=d.length-1):n.content=d}}else{var v=n.content;Array.isArray(v)?h(v):h([v])}}}return i=0,h(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"===typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){function n(t){for(var r=0,a=t.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript["parameter"],delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function"].source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript["keyword"].unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside["comment"]=t["comment"],e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""},u=function t(n){for(var r=[],a=0;a0&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:u=!0),(u||"string"===typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=i(o);a0&&("string"===typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)}o.content&&"string"!==typeof o.content&&t(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),i.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete i.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"===typeof o&&!o(e))return e;var a,u=i.length;while(-1!==n.code.indexOf(a=t(r,u)))++u;return i[u]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);i(n.tokens)}function i(u){for(var l=0;l=o.length)break;var c=u[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var s=o[a],f=n.tokenStack[s],d="string"===typeof c?c:c.content,p=t(r,s),h=d.indexOf(p);if(h>-1){++a;var m=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),g=d.substring(h+p.length),y=[];m&&y.push.apply(y,i([m])),y.push(v),g&&y.push.apply(y,i([g])),"string"===typeof c?u.splice.apply(u,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return u}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(i),i.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},i.languages.objectivec=i.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside["interpolation"].inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),i.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason["function"],function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),i.languages.scss["atrule"].inside.rest=i.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r["interpolation"]={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r["func"]={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx["parameter"],delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};var u=i,l={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},c=l,s={Prism:u,theme:c};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},v=function(e){var t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,u=[],l=[u];while(i>-1){while((o=r[i]++)0?s:["plain"],c=d):(s=m(s,d.type),d.alias&&(s=m(s,d.alias)),c=d.content),"string"===typeof c){var v=c.split(p),g=v.length;u.push({types:s,content:v[0]});for(var y=1;ye.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},Vc2o:function(e,t,n){var r=n("t+GO"),a=n("GQDD"),o=n("megh"),i=n("NSh6"),u=n("PVOi"),l=n("PORw"),c=n("GLf+"),s="[object Map]",f="[object Object]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=c(r),g=c(a),y=c(o),b=c(i),w=c(u),E=l;(r&&E(new r(new ArrayBuffer(1)))!=m||a&&E(new a)!=s||o&&E(o.resolve())!=d||i&&E(new i)!=p||u&&E(new u)!=h)&&(E=function(e){var t=l(e),n=t==f?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return m;case g:return s;case y:return d;case b:return p;case w:return h}return t}),e.exports=E},VdqM:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},Vg85:function(e,t){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},Vhn3:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}function a(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done);r=!0)if(n.push(i.value),t&&n.length===t)break}catch(l){a=!0,o=l}finally{try{r||null==u["return"]||u["return"]()}finally{if(a)throw o}}return n}}n.d(t,"a",(function(){return u}));var o=n("401X");function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return r(e)||a(e,t)||Object(o["a"])(e,t)||i()}},VnLQ:function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("eyaU"),i=n("8d12"),u=n("86T+"),l=n("uZx/"),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,f=u((function(){var n=a(t.resolve),i=[],u=0,f=1,d=!1;l(e,(function(e){var a=u++,l=!1;i.push(void 0),f++,n.call(t,e).then((function(e){l||d||(d=!0,r(e))}),(function(e){l||d||(l=!0,i[a]=e,--f||s(new(o("AggregateError"))(i,c)))}))})),--f||s(new(o("AggregateError"))(i,c))}));return f.error&&s(f.value),n.promise}})},VqGX:function(e,t,n){var r=n("6SQG"),a=n("CsJM").trim,o=n("Vg85"),i=r.parseInt,u=/^[+-]?0[Xx]/,l=8!==i(o+"08")||22!==i(o+"0x16");e.exports=l?function(e,t){var n=a(String(e));return i(n,t>>>0||(u.test(n)?16:10))}:i},W6X5:function(e,t){function n(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}e.exports=n},WAeE:function(e,t,n){var r=n("qyeh"),a=n("l9Lh");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},WJ2W:function(e,t,n){var r=n("KZF9");r("hasInstance")},WSIO:function(e,t,n){"use strict";var r=n("SHha"),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,u=60110,l=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),i=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){return null===e||"object"!==typeof e?null:(e=d&&e[d]||e["@@iterator"],"function"===typeof e?e:null)}function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;ns)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},YjQ9:function(e,t,n){"use strict";var r=n("1QO0"),a=n("8SKh"),o=Object(a["a"])()?r["useLayoutEffect"]:r["useEffect"];t["a"]=o},Ysk6:function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},YvcH:function(e,t,n){},Yxqv:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("eyaU"),i=n("sErw"),u=n("lkgX"),l=n("ZT9G"),c=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{symmetricDifference:function(e){var t=i(this),n=new(l(t,o("Set")))(t),r=u(n["delete"]),a=u(n.add);return c(e,(function(e){r.call(n,e)||a.call(n,e)})),n}})},Z5y8:function(e,t,n){var r=n("jMzh"),a=n("PWyJ"),o="Expected a function";function i(e,t,n){var i=!0,u=!0;if("function"!=typeof e)throw new TypeError(o);return a(n)&&(i="leading"in n?!!n.leading:i,u="trailing"in n?!!n.trailing:u),r(e,t,{leading:i,maxWait:t,trailing:u})}e.exports=i},Z67V:function(e,t,n){"use strict";var r=n("r+6h"),a=n("ZGY3"),o=n("OdMF"),i=n("upgS"),u=n("0JbB").f;r&&!("lastItem"in[])&&(u(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=o(this),n=i(t.length);return t[0==n?0:n-1]=e}}),a("lastItem"))},ZGY3:function(e,t,n){var r=n("3Hes"),a=n("QWtl"),o=n("0JbB"),i=r("unscopables"),u=Array.prototype;void 0==u[i]&&o.f(u,i,{configurable:!0,value:a(null)}),e.exports=function(e){u[i][e]=!0}},ZIdP:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.toKey,u=a.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);u(e,t,o(n),r)}})},ZT9G:function(e,t,n){var r=n("sErw"),a=n("lkgX"),o=n("3Hes"),i=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[i])?t:a(n)}},ZTVF:function(e,t,n){"use strict";var r=n("DbXJ");function a(){var e=n("1QO0");return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n("hPYS");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1&&n.push(f[r]);v(n)}else v([])}),[e,f.length]),m},v=function(){var e=(0,a().useContext)(o.context),t=e.config.algolia,n=(0,a().useCallback)((function(e){window.docsearch(u({inputSelector:e},t))}),[t]);return n},g=function(e){var t=(0,a().useContext)(o.context),n=t.config,r=m(e),i=v();return n.algolia?i:r};t["default"]=g},ZVkV:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},ZYMV:function(e,t,n){var r=n("ZwOi"),a=Math.abs,o=Math.pow,i=o(2,-52),u=o(2,-23),l=o(2,127)*(2-u),c=o(2,-126),s=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,o=a(e),f=r(e);return ol||n!=n?f*(1/0):f*n)}},Zgy7:function(e,t,n){var r=n("vFD/"),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)})),t}));e.exports=i},Zjj6:function(e,t,n){var r=n("+U9+"),a=n("VJj2");function o(e){return null!=e&&a(e.length)&&!r(e)}e.exports=o},Zjmp:function(e,t,n){var r=n("ry6q"),a=n("mIaV"),o=n("EA9V"),i=n("nXRf"),u=n("KSsz"),l=n("M9kN");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=a,c.prototype["delete"]=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=l,e.exports=c},ZmXH:function(e,t,n){"use strict";var r=n("0JbB").f,a=n("QWtl"),o=n("TxBV"),i=n("v3z7"),u=n("CZSf"),l=n("uZx/"),c=n("vSpU"),s=n("ct0+"),f=n("r+6h"),d=n("gArs").fastKey,p=n("uJNS"),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,c){var s=e((function(e,r){u(e,s,t),h(e,{type:t,index:a(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&l(r,e[c],e,n)})),p=m(t),v=function(e,t,n){var r,a,o=p(e),i=g(e,t);return i?i.value=n:(o.last=i={index:a=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),f?o.size++:e.size++,"F"!==a&&(o.index[a]=i)),e},g=function(e,t){var n,r=p(e),a=d(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(s.prototype,{clear:function(){var e=this,t=p(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=g(t,e);if(r){var a=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=a),a&&(a.previous=o),n.first==r&&(n.first=a),n.last==r&&(n.last=o),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=p(this),r=i(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!g(this,e)}}),o(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(s.prototype,"size",{get:function(){return p(this).size}}),s},setStrong:function(e,t,n){var r=t+" Iterator",a=m(t),o=m(r);c(e,t,(function(e,t){h(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){var e=o(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},Zsrj:function(e,t,n){(function(e){var r=n("O4yA"),a=n("RfhN"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=i&&i.exports===o,l=u?r.Buffer:void 0,c=l?l.isBuffer:void 0,s=c||a;e.exports=s}).call(this,n("9nSD")(e))},ZsxT:function(e,t,n){var r=n("QzCP"),a=Object.prototype,o=a.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=i},ZwOi:function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},ZxN6:function(e,t,n){var r=n("OOCw"),a=n("CBsr");r({target:"WeakSet",stat:!0},{of:a})},aBnV:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,"a",(function(){return r}))},aEZQ:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,a){var o=n(e),i=n(t),u="("===(a=a||"()")[0],l=")"===a[1];return(u?this.isAfter(o,r):!this.isBefore(o,r))&&(l?this.isBefore(i,r):!this.isAfter(i,r))||(u?this.isBefore(o,r):!this.isAfter(o,r))&&(l?this.isAfter(i,r):!this.isBefore(i,r))}}}))},aRba:function(e,t,n){var r=n("x+sk"),a=n("d8EH");e.exports=function(e,t,n){var o,i;return a&&"function"==typeof(o=t.constructor)&&o!==n&&r(i=o.prototype)&&i!==n.prototype&&a(e,i),e}},aTTI:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("R8Xy"),l=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{every:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e){if(!r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},aUZo:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6SQG"),o=n("xy/A"),i=n("ct0+"),u="ArrayBuffer",l=o[u],c=a[u];r({global:!0,forced:c!==l},{ArrayBuffer:l}),i(u)},aVyU:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"Map",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},aaHa:function(e,t,n){var r=n("Y30u");e.exports=y,e.exports.parse=o,e.exports.compile=i,e.exports.tokensToFunction=c,e.exports.tokensToRegExp=g;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){var n,r=[],o=0,i=0,u="",l=t&&t.delimiter||"/";while(null!=(n=a.exec(e))){var c=n[0],d=n[1],p=n.index;if(u+=e.slice(i,p),i=p+c.length,d)u+=d[1];else{var h=e[i],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],w=n[7];u&&(r.push(u),u="");var E=null!=m&&null!=h&&h!==m,O="+"===b||"*"===b,k="?"===b||"*"===b,x=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:x,optional:k,repeat:O,partial:E,asterisk:!!w,pattern:S?f(S):w?".*":"[^"+s(x)+"]+?"})}}return i {\r\n const [data, setData] = useState(createData(20))\r\n console.log('data', data)\r\n return (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: 'Custom Title',\r\n width: 100,\r\n },\r\n ]}\r\n locale={enUS}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n setData(prev => {\r\n const newList = [...prev]\r\n const index = newList.findIndex(val => val.id === row.id)\r\n newList[index] = {\r\n ...row,\r\n startDate: dayjs(startDate).format('YYYY-MM-DD'),\r\n endDate: dayjs(endDate).format('YYYY-MM-DD'),\r\n }\r\n return newList\r\n })\r\n return true\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default App",l="import RcGantt, { enUS } from 'rc-gantt'\r\nimport React from 'react'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: 'Title',\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n locale={enUS}\r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: 'Title',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n return true\r\n }}\r\n />\r\n
\r\n)\r\n\r\nexport default App",c="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst node = {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n collapsed: true,\r\n}\r\n\r\nconst childList = [\r\n {\r\n ...node,\r\n children: [{ ...node, children: [{ ...node }] }],\r\n },\r\n {\r\n ...node,\r\n },\r\n]\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n ...node,\r\n children: childList,\r\n}) as Data[]\r\n\r\nconst onExpand = (record, collapsed) => {\r\n console.log('onExpand', record, collapsed)\r\n}\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n onExpand={onExpand}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n },\r\n ]}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",s="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 200,\r\n },\r\n {\r\n name: 'startDate',\r\n label: '\u5f00\u59cb\u65f6\u95f4',\r\n },\r\n {\r\n name: 'endDate',\r\n label: '\u7ed3\u675f\u65f6\u95f4',\r\n render: record => {record.endDate},\r\n },\r\n ]}\r\n tableIndent={0}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",f="import dayjs from 'dayjs'\r\nimport RcGantt, { Gantt } from 'rc-gantt'\r\nimport React from 'react'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = [\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n id: '1',\r\n },\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(2, 'week').format('YYYY-MM-DD'),\r\n id: '2',\r\n },\r\n {\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().add(2, 'week').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(3, 'week').format('YYYY-MM-DD'),\r\n id: '3',\r\n },\r\n]\r\n\r\nconst dependencies: Gantt.Dependence[] = [\r\n {\r\n from: '1',\r\n to: '2',\r\n type: 'finish_start',\r\n color: 'blue',\r\n },\r\n {\r\n from: '2',\r\n to: '3',\r\n type: 'finish_start',\r\n },\r\n]\r\n\r\nconst App = () => (\r\n
\r\n \r\n dependencies={dependencies}\r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n },\r\n ]}\r\n onUpdate={async () => true}\r\n />\r\n
\r\n)\r\n\r\nexport default App",d="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\nimport dayjs from 'dayjs'\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n})\r\n\r\nconst App = () => (\r\n
\r\n \u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3}\r\n renderRightText={() => \u5de6\u4fa7\u81ea\u5b9a\u4e49\u6e32\u67d3}\r\n onUpdate={async () => true}\r\n getBarColor={() => ({\r\n backgroundColor: 'red',\r\n borderColor: 'yellow',\r\n })}\r\n renderBar={(barInfo, { width, height }) => (\r\n
renderBar{barInfo.label}
\r\n )}\r\n />\r\n
\r\n)\r\n\r\nexport default App",p="import dayjs from 'dayjs'\nimport RcGantt, { Gantt } from 'rc-gantt'\nimport React from 'react'\n\ninterface Data {\n name: string\n startDate: string\n endDate: string\n}\n\nconst data = Array.from({ length: 100 }).fill({\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\n startDate: dayjs().format('YYYY-MM-DD'),\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\n}) as Data[]\n\nconst customSights: Gantt.SightConfig[] = [\n {\n label: '\u81ea\u5b9a\u4e49\u65e5',\n value: Gantt.ESightValues.day,\n type: 'day',\n },\n {\n label: '\u81ea\u5b9a\u4e49\u5468',\n value: Gantt.ESightValues.week,\n type: 'week',\n },\n]\n\nconst App = () => (\n
\n \n data={data}\n columns={[\n {\n name: 'name',\n label: '\u540d\u79f0',\n width: 100,\n },\n ]}\n customSights={customSights}\n onUpdate={async (row, startDate, endDate) => {\n console.log('update', row, startDate, endDate)\n return true\n }}\n />\n
\n)\n\nexport default App",h="import dayjs from 'dayjs'\r\nimport RcGantt, { Gantt, GanttRef } from 'rc-gantt'\r\nimport React, { useRef, useState } from 'react'\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().format('YYYY-MM-DD'),\r\n endDate: dayjs().add(1, 'week').format('YYYY-MM-DD'),\r\n})\r\n\r\nconst Button = ({\r\n active,\r\n children,\r\n onClick,\r\n ...resetProps\r\n}: {\r\n active: boolean\r\n children: React.ReactNode\r\n onClick: React.MouseEventHandler\r\n}) => (\r\n \r\n)\r\n\r\nconst App = () => {\r\n const [val1, setVal1] = useState(true)\r\n\r\n const [val3, setVal3] = useState(false)\r\n\r\n const [val2, setVal2] = useState('day')\r\n\r\n const ref = useRef()\r\n\r\n const sightList: Gantt.Sight[] = ['day', 'halfYear', 'month', 'quarter', 'week']\r\n\r\n const onBackToday = () => {\r\n if (ref && ref.current) ref.current.backToday()\r\n }\r\n\r\n return (\r\n
\r\n
\r\n true}\r\n getBarColor={() => ({\r\n backgroundColor: 'red',\r\n borderColor: 'yellow',\r\n })}\r\n hideTable={val3}\r\n alwaysShowTaskBar={val1}\r\n unit={val2}\r\n />\r\n\r\n
\r\n
\r\n setVal1(e.target.checked)} type='checkbox' />\r\n alwaysShowTaskBar \u662f\u5426\u6c38\u8fdc\u5c55\u793a\u5de6\u53f3\u4fa7\u6587\u6848\r\n
\r\n
\r\n unit \u5f53\u524d\u89c6\u56fe\r\n {sightList.map((s: Gantt.Sight) => (\r\n \r\n ))}\r\n
\r\n
\r\n unit \u5f53\u524d\u89c6\u56fe\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\nexport default App",m="import dayjs from 'dayjs'\r\nimport RcGantt from 'rc-gantt'\r\nimport React, { useState } from 'react'\r\n\r\ninterface Data {\r\n id: number\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nfunction createData(len: number) {\r\n const result: Data[] = []\r\n for (let i = 0; i < len; i++) {\r\n result.push({\r\n id: i,\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n startDate: dayjs().subtract(-i, 'day').format('YYYY-MM-DD'),\r\n endDate: dayjs().add(i, 'day').format('YYYY-MM-DD'),\r\n })\r\n }\r\n return result\r\n}\r\n\r\nconst App = () => {\r\n const [data, setData] = useState(createData(20))\r\n console.log('data', data)\r\n return (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n setData(prev => {\r\n const newList = [...prev]\r\n const index = newList.findIndex(val => val.id === row.id)\r\n newList[index] = {\r\n ...row,\r\n startDate: dayjs(startDate).format('YYYY-MM-DD'),\r\n endDate: dayjs(endDate).format('YYYY-MM-DD'),\r\n }\r\n return newList\r\n })\r\n return true\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default App",v="import React from 'react'\r\nimport RcGantt from 'rc-gantt'\r\n\r\ninterface Data {\r\n name: string\r\n startDate: string\r\n endDate: string\r\n}\r\n\r\nconst data = Array.from({ length: 100 }).fill({\r\n name: '\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0',\r\n}) as Data[]\r\n\r\nconst App = () => (\r\n
\r\n \r\n data={data}\r\n columns={[\r\n {\r\n name: 'name',\r\n label: '\u540d\u79f0',\r\n width: 100,\r\n },\r\n ]}\r\n onUpdate={async (row, startDate, endDate) => {\r\n console.log('update', row, startDate, endDate)\r\n return true\r\n }}\r\n />\r\n
\r\n)\r\n\r\nexport default App",g={"website-basic.en-us":{component:n("pibB").default,previewerProps:{sources:{_:{tsx:u}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-basic.en-us"}},"website-add.en-us":{component:n("KZJK").default,previewerProps:{sources:{_:{tsx:l}},dependencies:{"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-add.en-us"}},"website-child":{component:n("RPcR").default,previewerProps:{sources:{_:{tsx:c}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-child"}},"website-column":{component:n("qwRQ").default,previewerProps:{sources:{_:{tsx:s}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-column"}},"website-dependence":{component:n("Jigo").default,previewerProps:{sources:{_:{tsx:f}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-dependence"}},"website-render":{component:n("NCUv").default,previewerProps:{sources:{_:{tsx:d}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"},dayjs:{version:"1.11.2"}},identifier:"website-render"}},"website-filterunit":{component:n("/5y1").default,previewerProps:{sources:{_:{tsx:p}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-filterunit"}},"website-custom":{component:n("anYt").default,previewerProps:{sources:{_:{tsx:h}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-custom"}},"website-basic":{component:n("Oe+o").default,previewerProps:{sources:{_:{tsx:m}},dependencies:{dayjs:{version:"1.11.2"},"rc-gantt":{version:"0.3.1"},react:{version:">=16"}},identifier:"website-basic"}},"website-add":{component:n("IRoW").default,previewerProps:{sources:{_:{tsx:v}},dependencies:{react:{version:">=16"},"rc-gantt":{version:"0.3.1"}},identifier:"website-add"}}},y=n("x2v5"),b=n("j+of"),w=n.n(b);t["default"]=e=>o.a.createElement(w.a,Object(r["a"])({},e,{config:i,demos:g,apis:y}))},ahVg:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{every:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(e,n){if(!r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},anYt:function(e,t,n){"use strict";n.r(t);var r=n("tGGB"),a=n("Vhn3"),o=n("/r+8"),i=n("vCPc"),u=n("NUIj"),l=n.n(u),c=n("0+H2"),s=n.n(c),f=n("2YZa"),d=n("1QO0"),p=n.n(d),h=Array.from({length:100}).fill({name:"\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0\u4e00\u4e2a\u540d\u79f0",startDate:s()().format("YYYY-MM-DD"),endDate:s()().add(1,"week").format("YYYY-MM-DD")}),m=e=>{var t=e.active,n=e.children,r=e.onClick,a=Object(i["a"])(e,["active","children","onClick"]);return p.a.createElement("button",Object(o["a"])({onClick:r,style:t?{background:"#096dd9",color:"#fff"}:{}},a),n)},v=()=>{var e=Object(d["useState"])(!0),t=Object(a["a"])(e,2),n=t[0],o=t[1],i=Object(d["useState"])(!1),u=Object(a["a"])(i,2),c=u[0],s=u[1],v=Object(d["useState"])("day"),g=Object(a["a"])(v,2),y=g[0],b=g[1],w=Object(d["useRef"])(),E=["day","halfYear","month","quarter","week"],O=()=>{w&&w.current&&w.current.backToday()};return p.a.createElement("div",{style:{width:"100%",height:600}},p.a.createElement("div",{style:{width:"100%",height:500}},p.a.createElement(f["b"],{data:h,innerRef:w,columns:[{name:"name",label:"\u540d\u79f0",width:100}],tableIndent:0,onUpdate:Object(r["a"])(l.a.mark((function e(){return l.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)}))),getBarColor:()=>({backgroundColor:"red",borderColor:"yellow"}),hideTable:c,alwaysShowTaskBar:n,unit:y}),p.a.createElement("div",{style:{display:"flex",flexDirection:"column"}},p.a.createElement("div",null,p.a.createElement("input",{checked:n,onChange:e=>o(e.target.checked),type:"checkbox"}),"alwaysShowTaskBar \u662f\u5426\u6c38\u8fdc\u5c55\u793a\u5de6\u53f3\u4fa7\u6587\u6848"),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement("span",{style:{marginRight:20}},"unit \u5f53\u524d\u89c6\u56fe"),E.map((e=>p.a.createElement(m,{key:e,onClick:()=>b(e),active:e===y},e)))),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement("span",{style:{marginRight:20}},"unit \u5f53\u524d\u89c6\u56fe"),p.a.createElement(m,{active:!0,onClick:()=>s(!c)},"\u662f\u5426\u9690\u85cf\u5de6\u4fa7\u8868\u683c\uff1a",c?"\u9690\u85cf":"\u5c55\u793a")),p.a.createElement("div",{style:{display:"flex",marginTop:10}},p.a.createElement(m,{active:!0,onClick:O},"\u8fd4\u56de\u4eca\u65e5")))))};t["default"]=v},"ax/v":function(e,t,n){"use strict";var r=n("OOCw"),a=n("lkgX"),o=n("8d12"),i=n("86T+"),u=n("uZx/");r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,c=i((function(){var n=a(t.resolve),o=[],i=0,l=1;u(e,(function(e){var a=i++,u=!1;o.push(void 0),l++,n.call(t,e).then((function(e){u||(u=!0,o[a]={status:"fulfilled",value:e},--l||r(o))}),(function(e){u||(u=!0,o[a]={status:"rejected",reason:e},--l||r(o))}))})),--l||r(o)}));return c.error&&l(c.value),n.promise}})},bCY9:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("12pU"),a=new r["Plugin"]({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu"]})},bHKe:function(e,t,n){var r=n("OOCw"),a=n("6SQG"),o=n("bbNk"),i=!a.setImmediate||!a.clearImmediate;r({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},bIC1:function(e,t,n){(function(t){var n="Expected a function",r=NaN,a="[object Symbol]",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,d=s||f||Function("return this")(),p=Object.prototype,h=p.toString,m=Math.max,v=Math.min,g=function(){return d.Date.now()};function y(e,t,r){var a,o,i,u,l,c,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function h(t){var n=a,r=o;return a=o=void 0,s=t,u=e.apply(r,n),u}function y(e){return s=e,l=setTimeout(O,t),f?h(e):u}function b(e){var n=e-c,r=e-s,a=t-n;return d?v(a,i-r):a}function E(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||d&&r>=i}function O(){var e=g();if(E(e))return x(e);l=setTimeout(O,b(e))}function x(e){return l=void 0,p&&a?h(e):(a=o=void 0,u)}function S(){void 0!==l&&clearTimeout(l),s=0,a=c=o=l=void 0}function j(){return void 0===l?u:x(g())}function C(){var e=g(),n=E(e);if(a=arguments,o=this,c=e,n){if(void 0===l)return y(c);if(d)return l=setTimeout(O,t),h(c)}return void 0===l&&(l=setTimeout(O,t)),u}return t=k(t)||0,w(r)&&(f=!!r.leading,d="maxWait"in r,i=d?m(k(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p),C.cancel=S,C.flush=j,C}function b(e,t,r){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return w(r)&&(a="leading"in r?!!r.leading:a,o="trailing"in r?!!r.trailing:o),y(e,t,{leading:a,maxWait:t,trailing:o})}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}function O(e){return"symbol"==typeof e||E(e)&&h.call(e)==a}function k(e){if("number"==typeof e)return e;if(O(e))return r;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):i.test(e)?r:+e}e.exports=b}).call(this,n("j8Of"))},bIgI:function(e,t,n){var r=n("XXwF");function a(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n["return"]||n["return"]()}finally{if(l)throw i}}}}e.exports=a},bK3N:function(e,t,n){var r=n("+U9+"),a=n("e3zV"),o=n("PWyJ"),i=n("GLf+"),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,f=c.toString,d=s.hasOwnProperty,p=RegExp("^"+f.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){if(!o(e)||a(e))return!1;var t=r(e)?p:l;return t.test(i(e))}e.exports=h},bUaa:function(e,t,n){(function(e){var r=n("yn9n"),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,u=i&&r.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||u&&u.binding&&u.binding("util")}catch(t){}}();e.exports=l}).call(this,n("9nSD")(e))},bbNk:function(e,t,n){var r,a,o,i=n("6SQG"),u=n("h+/6"),l=n("kk5s"),c=n("v3z7"),s=n("RtP/"),f=n("73fw"),d=n("ytxp"),p=i.location,h=i.setImmediate,m=i.clearImmediate,v=i.process,g=i.MessageChannel,y=i.Dispatch,b=0,w={},E="onreadystatechange",O=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},k=function(e){return function(){O(e)}},x=function(e){O(e.data)},S=function(e){i.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},"process"==l(v)?r=function(e){v.nextTick(k(e))}:y&&y.now?r=function(e){y.now(k(e))}:g&&!d?(a=new g,o=a.port2,a.port1.onmessage=x,r=c(o.postMessage,o,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||u(S)||"file:"===p.protocol?r=E in f("script")?function(e){s.appendChild(f("script"))[E]=function(){s.removeChild(this),O(e)}}:function(e){setTimeout(k(e),0)}:(r=S,i.addEventListener("message",x,!1))),e.exports={set:h,clear:m}},beEN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("SD1J"),o=n("z43i"),i=n("TxDi");r({target:"String",proto:!0,forced:!i("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},brx1:function(e,t,n){var r=n("ct0+");r("Array")},cBkf:function(e,t,n){"use strict";var r=n("OOCw"),a=n("x+sk"),o=n("g0aX"),i=n("erIx"),u=n("upgS"),l=n("684d"),c=n("tmip"),s=n("3Hes"),f=n("THrr"),d=n("7/pz"),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=s("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,s,f=l(this),d=u(f.length),p=i(e,d),h=i(void 0===t?d:t,d);if(o(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?a(n)&&(n=n[m],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),s=0;p1?arguments[1]:void 0,3),a=new(c(t,o("Set"))),d=u(a.add);return f(n,(function(e){d.call(a,r(e,e,t))}),void 0,!1,!0),a}})},cwkm:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="week",t="year";return function(n,r,a){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=a(this).startOf(t).add(1,t).date(r),i=a(this).endOf(e);if(o.isBefore(i))return 1}var u=a(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(u,e,!0);return l<0?a(this).startOf("week").week():Math.ceil(l)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},cxb8:function(e,t,n){},"d+E4":function(e,t,n){"use strict";var r=n("OOCw"),a=n("8d12"),o=n("86T+");r({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},d8EH:function(e,t,n){var r=n("sErw"),a=n("6jqD");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},dQB0:function(e,t,n){},dfcU:function(e,t,n){var r=n("D7Bi"),a=n("7zK7"),o=Object.prototype,i=o.hasOwnProperty;function u(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=u},diEk:function(e,t,n){var r=n("Zjmp"),a=n("0Ifp"),o=1,i=2;function u(e,t,n,u){var l=n.length,c=l,s=!u;if(null==e)return!c;e=Object(e);while(l--){var f=n[l];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}while(++le.length)&&(t=e.length);for(var n=0,r=new Array(t);n, mountNode);"),t}var b=function(e){var t=(0,o().useState)(),n=c(t,2),i=n[0],l=n[1],s=g();return(0,o().useEffect)((function(){if(e&&s&&1===Object.keys(e.sources).length){var t,n=document.createElement("form"),o=document.createElement("input");return n.method="POST",n.target="_blank",n.style.display="none",n.action=v,n.appendChild(o),n.setAttribute("data-demo",e.title||""),o.name="data",o.value=JSON.stringify({title:e.titlle,js:y(e),css:Object.entries(e.dependencies).filter((function(e){var t=a(e,2),n=t[1];return n.css})).map((function(e){var t=a(e,2),n=t[0],r=t[1],o=r.version,i=r.css;return"@import '~".concat(i.replace(new RegExp("^(".concat(n,")")),"$1@".concat(o)),"';")})).concat(e.background?"body {\n background: ".concat(e.background,";\n}"):"").join("\n"),json:JSON.stringify({description:e.description,dependencies:Object.entries(e.dependencies).reduce((function(e,t){var n=a(t,2),o=n[0],i=n[1].version;return u(u({},e),{},r({},o,i))}),{"react-dom":(null===(t=e.dependencies.react)||void 0===t?void 0:t.version)||"latest"})},null,2)}),document.body.appendChild(n),l((function(){return function(){return n.submit()}})),function(){return n.remove()}}}),[e,s]),i};t["default"]=b},dwb6:function(e,t,n){var r=n("3Hes"),a=n("AnAv"),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},dz2h:function(e,t,n){"use strict";var r=n("WkS0").IteratorPrototype,a=n("QWtl"),o=n("ZVkV"),i=n("nBeg"),u=n("AnAv"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=a(r,{next:o(1,n)}),i(e,c,!1,!0),u[c]=l,e}},e38J:function(e,t,n){var r=n("OOCw"),a=n("eyaU"),o=n("lkgX"),i=n("sErw"),u=n("h+/6"),l=a("Reflect","apply"),c=Function.apply,s=!u((function(){l((function(){}))}));r({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return o(e),i(n),l?l(e,t,n):c.call(e,t,n)}})},e3zV:function(e,t,n){var r=n("I99e"),a=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!a&&a in e}e.exports=o},eHdO:function(e,t){function n(e){return e}e.exports=n},eKcC:function(e,t){function n(){return[]}e.exports=n},eOjw:function(e,t,n){var r=n("OOCw"),a=Math.hypot,o=Math.abs,i=Math.sqrt,u=!!a&&a(1/0,NaN)!==1/0;r({target:"Math",stat:!0,forced:u},{hypot:function(e,t){var n,r,a=0,u=0,l=arguments.length,c=0;while(u0?(r=n/c,a+=r*r):a+=n;return c===1/0?1/0:c*i(a)}})},eR7F:function(e,t,n){},eW2S:function(e,t,n){var r=n("3Hes"),a=r("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[a]=function(){return this},Array.from(u,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},ecma:function(e,t,n){var r=n("GXoa");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},ediS:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=n("zesz"),u=a.has,l=a.get,c=a.toKey,s=function(e,t,n){var r=u(e,t,n);if(r)return l(e,t,n);var a=i(t);return null!==a?s(e,a,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return s(e,o(t),n)}})},elB0:function(e,t,n){var r=n("5yEw"),a=n("kk5s"),o=n("3Hes"),i=o("toStringTag"),u="Arguments"==a(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),i))?n:u?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},em2R:function(e,t,n){var r=n("OOCw"),a=n("1Sp3"),o=n("sErw"),i=a.toKey,u=a.getMap,l=a.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=u(o(t),n,!1);if(void 0===r||!r["delete"](e))return!1;if(r.size)return!0;var a=l.get(t);return a["delete"](n),!!a.size||l["delete"](t)}})},eoSM:function(e,t){var n=Array.isArray;e.exports=n},erIx:function(e,t,n){var r=n("ANLo"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},eyaU:function(e,t,n){var r=n("4uZn"),a=n("6SQG"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},eyew:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("JSMs"),l=n("zesz"),c=n("6ssM").f;a&&r({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.set}while(n=l(n))}})},fkhx:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},foqJ:function(e,t,n){var r=n("67Yi"),a="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},"g/mA":function(e,t,n){var r=n("0Ifp"),a=n("k4Sg"),o=n("JDKm"),i=n("Qyvd"),u=n("nlRv"),l=n("HxYL"),c=n("OD7W"),s=1,f=2;function d(e,t){return i(e)&&u(t)?l(c(e),t):function(n){var i=a(n,e);return void 0===i&&i===t?o(n,e):r(t,i,s|f)}}e.exports=d},g0aX:function(e,t,n){var r=n("kk5s");e.exports=Array.isArray||function(e){return"Array"==r(e)}},g0pg:function(e,t,n){"use strict";var r,a=n("78S/"),o=n("r+6h"),i=n("6SQG"),u=n("x+sk"),l=n("oEsY"),c=n("elB0"),s=n("MZA9"),f=n("uF/W"),d=n("0JbB").f,p=n("zesz"),h=n("d8EH"),m=n("3Hes"),v=n("KgcE"),g=i.Int8Array,y=g&&g.prototype,b=i.Uint8ClampedArray,w=b&&b.prototype,E=g&&p(g),O=y&&p(y),k=Object.prototype,x=k.isPrototypeOf,S=m("toStringTag"),j=v("TYPED_ARRAY_TAG"),C=a&&!!h&&"Opera"!==c(i.opera),_=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T=function(e){var t=c(e);return"DataView"===t||l(A,t)},R=function(e){return u(e)&&l(A,c(e))},M=function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},P=function(e){if(h){if(x.call(E,e))return e}else for(var t in A)if(l(A,r)){var n=i[t];if(n&&(e===n||x.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},D=function(e,t,n){if(o){if(n)for(var r in A){var a=i[r];a&&l(a.prototype,e)&&delete a.prototype[e]}O[e]&&!n||f(O,e,n?t:C&&y[e]||t)}},N=function(e,t,n){var r,a;if(o){if(h){if(n)for(r in A)a=i[r],a&&l(a,e)&&delete a[e];if(E[e]&&!n)return;try{return f(E,e,n?t:C&&g[e]||t)}catch(u){}}for(r in A)a=i[r],!a||a[e]&&!n||f(a,e,t)}};for(r in A)i[r]||(C=!1);if((!C||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},C))for(r in A)i[r]&&h(i[r],E);if((!C||!O||O===k)&&(O=E.prototype,C))for(r in A)i[r]&&h(i[r].prototype,O);if(C&&p(w)!==O&&h(w,O),o&&!l(O,S))for(r in _=!0,d(O,S,{get:function(){return u(this)?this[j]:void 0}}),A)i[r]&&s(i[r],j,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:_&&j,aTypedArray:M,aTypedArrayConstructor:P,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:N,isView:T,isTypedArray:R,TypedArray:E,TypedArrayPrototype:O}},g8ur:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"===typeof t?t():t,o=n?a+": "+n:a;throw new Error(o)}}},gArs:function(e,t,n){var r=n("Y3cF"),a=n("x+sk"),o=n("oEsY"),i=n("0JbB").f,u=n("KgcE"),l=n("Y4d4"),c=u("meta"),s=0,f=Object.isExtensible||function(){return!0},d=function(e){i(e,c,{value:{objectID:"O"+ ++s,weakData:{}}})},p=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,c)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[c].objectID},h=function(e,t){if(!o(e,c)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[c].weakData},m=function(e){return l&&v.REQUIRED&&f(e)&&!o(e,c)&&d(e),e},v=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:m};r[c]=!0},gGOj:function(e,t,n){"use strict";var r=n("IYc2"),a=n("bIgI"),o=n("DbXJ"),i=n("1uVM"),u=n("/sHi"),l=n("mDdX"),c=n("jrV3"),s=function(e){return null===e||void 0===e};function f(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var a=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[[h(t,e),"[",a,"]"].join("")]:[[h(t,e),"[",h(a,e),"]=",h(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[[h(t,e),"[]"].join("")]:[[h(t,e),"[]=",h(r,e)].join("")])}};case"comma":case"separator":return function(t){return function(n,r){return null===r||void 0===r||0===r.length?n:0===n.length?[[h(t,e),"=",h(r,e)].join("")]:[[n,h(r,e)].join(e.arrayFormatSeparator)]}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(o(n),null===r?[h(t,e)]:[[h(t,e),"=",h(r,e)].join("")])}}}}function d(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var a="string"===typeof n&&n.includes(e.arrayFormatSeparator),o="string"===typeof n&&!a&&m(n,e).includes(e.arrayFormatSeparator);n=o?m(n,e):n;var i=a||o?n.split(e.arrayFormatSeparator).map((function(t){return m(t,e)})):null===n?n:m(n,e);r[t]=i};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}function p(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function h(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function m(e,t){return t.decode?u(e):e}function v(e){return Array.isArray(e)?e.sort():"object"===typeof e?v(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function g(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}function b(e){e=g(e);var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function w(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function E(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),p(t.arrayFormatSeparator);var n=d(t),o=Object.create(null);if("string"!==typeof e)return o;if(e=e.trim().replace(/^[?#&]/,""),!e)return o;var i,u=a(e.split("&"));try{for(u.s();!(i=u.n()).done;){var c=i.value;if(""!==c){var s=l(t.decode?c.replace(/\+/g," "):c,"="),f=r(s,2),h=f[0],g=f[1];g=void 0===g?null:["comma","separator"].includes(t.arrayFormat)?g:m(g,t),n(m(h,t),g,o)}}}catch(j){u.e(j)}finally{u.f()}for(var y=0,b=Object.keys(o);y0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=l(e,"#"),a=r(n,2),o=a[0],i=a[1];return Object.assign({url:o.split("?")[0]||"",query:E(b(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:m(i,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=g(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query),u=t.stringify(i,n);u&&(u="?".concat(u));var l=y(e.url);return e.fragmentIdentifier&&(l="#".concat(h(e.fragmentIdentifier,n))),"".concat(r).concat(u).concat(l)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var a=t.parseUrl(e,r),o=a.url,i=a.query,u=a.fragmentIdentifier;return t.stringifyUrl({url:o,query:c(i,n),fragmentIdentifier:u},r)},t.exclude=function(e,n,r){var a=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,a,r)}},gTJW:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"Set",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},"gem+":function(e,t,n){},"h+/6":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},h9Wi:function(e,t,n){var r=n("OOCw"),a=n("2hel"),o=Math.acosh,i=Math.log,u=Math.sqrt,l=Math.LN2,c=!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0;r({target:"Math",stat:!0,forced:c},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?i(e)+l:a(e-1+u(e-1)*u(e+1))}})},hIti:function(e,t,n){"use strict";var r=n("1QO0"),a=n("SHha"),o=n("Mi9W");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function b(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){w[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];w[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){w[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){w[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){w[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){w[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){w[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){w[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){w[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var E=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}function k(e,t,n,r){var a=w.hasOwnProperty(t)?w[t]:null,o=null!==a?0===a.type:!r&&(2u||a[i]!==o[u])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=u);break}}}finally{$=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function q(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=X(e.type,!1),e;case 11:return e=X(e.type.render,!1),e;case 22:return e=X(e.type._render,!1),e;case 1:return e=X(e.type,!0),e;default:return""}}function K(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case j:return"Portal";case A:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case N:return K(e.type);case L:return K(e._render);case I:t=e._payload,e=e._init;try{return K(e(t))}catch(n){}}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ee(e){e._valueTracker||(e._valueTracker=J(e))}function te(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ne(e){if(e=e||("undefined"!==typeof document?document:void 0),"undefined"===typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}function re(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ae(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function oe(e,t){t=t.checked,null!=t&&k(e,"checked",t,!1)}function ie(e,t){oe(e,t);var n=Q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?le(e,t.type,n):t.hasOwnProperty("defaultValue")&&le(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ue(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function le(e,t,n){"number"===t&&ne(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ce(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function se(e,t){return e=a({children:void 0},t),(t=ce(t.children))&&(e.children=t),e}function fe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function he(e,t){var n=Q(t.value),r=Q(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function me(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var ve={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ge(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ye(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ge(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var be,we=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,a)}))}:e}((function(e,t){if(e.namespaceURI!==ve.svg||"innerHTML"in e)e.innerHTML=t;else{for(be=be||document.createElement("div"),be.innerHTML=""+t.valueOf().toString()+"",t=be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ee(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ke=["Webkit","ms","Moz","O"];function xe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(""+t).trim():t+"px"}function Se(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=xe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(Oe).forEach((function(e){ke.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oe[t]=Oe[e]}))}));var je=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(e,t){if(t){if(je[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function _e(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ae(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Re=null,Me=null;function Pe(e){if(e=Sa(e)){if("function"!==typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=Ca(t),Te(e.stateNode,e.type,t))}}function De(e){Re?Me?Me.push(e):Me=[e]:Re=e}function Ne(){if(Re){var e=Re,t=Me;if(Me=Re=null,Pe(e),t)for(e=0;er?0:1<n;n++)t.push(e);return t}function Jt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-en(t),e[t]=n}var en=Math.clz32?Math.clz32:rn,tn=Math.log,nn=Math.LN2;function rn(e){return 0===e?32:31-(tn(e)/nn|0)|0}var an=o.unstable_UserBlockingPriority,on=o.unstable_runWithPriority,un=!0;function ln(e,t,n,r){Ue||Be();var a=sn,o=Ue;Ue=!0;try{Le(a,e,t,n,r)}finally{(Ue=o)||Ye()}}function cn(e,t,n,r){on(an,sn.bind(null,e,t,n,r))}function sn(e,t,n,r){var a;if(un)if((a=0===(4&t))&&0=nr),or=String.fromCharCode(32),ir=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lr(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var cr=!1;function sr(e,t){switch(e){case"compositionend":return lr(t);case"keypress":return 32!==t.which?null:(ir=!0,or);case"textInput":return e=t.data,e===or&&ir?null:e;default:return null}}function fr(e,t){if(cr)return"compositionend"===e||!tr&&ur(e,t)?(e=mn(),hn=pn=dn=null,cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Dr(r)}}function Ir(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ir(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Lr(){for(var e=window,t=ne();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=t.contentWindow,t=ne(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Fr=f&&"documentMode"in document&&11>=document.documentMode,Ur=null,zr=null,Yr=null,Wr=!1;function Gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Wr||null==Ur||Ur!==ne(r)||(r=Ur,"selectionStart"in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yr&&Pr(Yr,r)||(Yr=r,r=aa(zr,"onSelect"),0Ta||(e.current=Aa[Ta],Aa[Ta]=null,Ta--)}function Pa(e,t){Ta++,Aa[Ta]=e.current,e.current=t}var Da={},Na=Ra(Da),Ia=Ra(!1),La=Da;function Ba(e,t){var n=e.type.contextTypes;if(!n)return Da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fa(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Ua(){Ma(Ia),Ma(Na)}function za(e,t,n){if(Na.current!==Da)throw Error(i(168));Pa(Na,t),Pa(Ia,n)}function Ya(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in e))throw Error(i(108,K(t)||"Unknown",o));return a({},n,r)}function Wa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Da,La=Na.current,Pa(Na,e),Pa(Ia,Ia.current),!0}function Ga(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ya(e,t,La),r.__reactInternalMemoizedMergedChildContext=e,Ma(Ia),Ma(Na),Pa(Na,e)):Ma(Ia),Pa(Ia,n)}var Ha=null,Va=null,$a=o.unstable_runWithPriority,Xa=o.unstable_scheduleCallback,qa=o.unstable_cancelCallback,Ka=o.unstable_shouldYield,Qa=o.unstable_requestPaint,Za=o.unstable_now,Ja=o.unstable_getCurrentPriorityLevel,eo=o.unstable_ImmediatePriority,to=o.unstable_UserBlockingPriority,no=o.unstable_NormalPriority,ro=o.unstable_LowPriority,ao=o.unstable_IdlePriority,oo={},io=void 0!==Qa?Qa:function(){},uo=null,lo=null,co=!1,so=Za(),fo=1e4>so?Za:function(){return Za()-so};function po(){switch(Ja()){case eo:return 99;case to:return 98;case no:return 97;case ro:return 96;case ao:return 95;default:throw Error(i(332))}}function ho(e){switch(e){case 99:return eo;case 98:return to;case 97:return no;case 96:return ro;case 95:return ao;default:throw Error(i(332))}}function mo(e,t){return e=ho(e),$a(e,t)}function vo(e,t,n){return e=ho(e),Xa(e,t,n)}function go(){if(null!==lo){var e=lo;lo=null,qa(e)}yo()}function yo(){if(!co&&null!==uo){co=!0;var e=0;try{var t=uo;mo(99,(function(){for(;em?(v=f,f=null):v=f.sibling;var g=p(a,f,u[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(a,f),i=o(g,i,m),null===s?c=g:s.sibling=g,s=g,f=v}if(m===u.length)return n(a,f),c;if(null===f){for(;mv?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),u=o(b,u,v),null===f?s=b:f.sibling=b,f=b,m=g}if(y.done)return n(a,m),s;if(null===m){for(;!y.done;v++,y=l.next())y=d(a,y.value,c),null!==y&&(u=o(y,u,v),null===f?s=y:f.sibling=y,f=y);return s}for(m=r(a,m);!y.done;v++,y=l.next())y=h(m,a,v,y.value,c),null!==y&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),u=o(y,u,v),null===f?s=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(a,e)})),s}return function(e,r,o,l){var c="object"===typeof o&&null!==o&&o.type===C&&null===o.key;c&&(o=o.props.children);var s="object"===typeof o&&null!==o;if(s)switch(o.$$typeof){case S:e:{for(s=o.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(o.type===C){n(e,c.sibling),r=a(c,o.props.children),r.return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),r=a(c,o.props),r.ref=Vo(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===C?(r=bc(o.props.children,e.mode,l,o.key),r.return=e,e=r):(l=yc(o.type,o.key,o.props,null,e.mode,l),l.ref=Vo(e,r,o),l.return=e,e=l)}return u(e);case j:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),r=a(r,o.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Oc(o,e.mode,l),r.return=e,e=r}return u(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),r=a(r,o),r.return=e,e=r):(n(e,r),r=Ec(o,e.mode,l),r.return=e,e=r),u(e);if(Ho(o))return m(e,r,o,l);if(H(o))return v(e,r,o,l);if(s&&$o(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,K(e.type)||"Component"))}return n(e,r)}}var qo=Xo(!0),Ko=Xo(!1),Qo={},Zo=Ra(Qo),Jo=Ra(Qo),ei=Ra(Qo);function ti(e){if(e===Qo)throw Error(i(174));return e}function ni(e,t){switch(Pa(ei,t),Pa(Jo,e),Pa(Zo,Qo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ye(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ye(t,e)}Ma(Zo),Pa(Zo,t)}function ri(){Ma(Zo),Ma(Jo),Ma(ei)}function ai(e){ti(ei.current);var t=ti(Zo.current),n=ye(t,e.type);t!==n&&(Pa(Jo,e),Pa(Zo,n))}function oi(e){Jo.current===e&&(Ma(Zo),Ma(Jo))}var ii=Ra(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var li=null,ci=null,si=!1;function fi(e,t){var n=hc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function di(e,t){switch(e.tag){case 5:var n=e.type;return t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,null!==t&&(e.stateNode=t,!0);case 6:return t=""===e.pendingProps||3!==t.nodeType?null:t,null!==t&&(e.stateNode=t,!0);case 13:return!1;default:return!1}}function pi(e){if(si){var t=ci;if(t){var n=t;if(!di(e,t)){if(t=ma(n.nextSibling),!t||!di(e,t))return e.flags=-1025&e.flags|2,si=!1,void(li=e);fi(li,n)}li=e,ci=ma(t.firstChild)}else e.flags=-1025&e.flags|2,si=!1,li=e}}function hi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;li=e}function mi(e){if(e!==li)return!1;if(!si)return hi(e),si=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!fa(t,e.memoizedProps))for(t=ci;t;)fi(e,t),t=ma(t.nextSibling);if(hi(e),13===e.tag){if(e=e.memoizedState,e=null!==e?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ci=ma(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ci=null}}else ci=li?ma(e.stateNode.nextSibling):null;return!0}function vi(){ci=li=null,si=!1}var gi=[];function yi(){for(var e=0;eo))throw Error(i(301));o+=1,xi=ki=null,t.updateQueue=null,bi.current=ru,e=n(r,a)}while(ji)}if(bi.current=eu,t=null!==ki&&null!==ki.next,Ei=0,xi=ki=Oi=null,Si=!1,t)throw Error(i(300));return e}function Ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===xi?Oi.memoizedState=xi=e:xi=xi.next=e,xi}function Ri(){if(null===ki){var e=Oi.alternate;e=null!==e?e.memoizedState:null}else e=ki.next;var t=null===xi?Oi.memoizedState:xi.next;if(null!==t)xi=t,ki=e;else{if(null===e)throw Error(i(310));ki=e,e={memoizedState:ki.memoizedState,baseState:ki.baseState,baseQueue:ki.baseQueue,queue:ki.queue,next:null},null===xi?Oi.memoizedState=xi=e:xi=xi.next=e}return xi}function Mi(e,t){return"function"===typeof t?t(e):t}function Pi(e){var t=Ri(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ki,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var l=u=o=null,c=a;do{var s=c.lane;if((Ei&s)===s)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,o=r):l=l.next=f,Oi.lanes|=s,sl|=s}c=c.next}while(null!==c&&c!==a);null===l?o=r:l.next=u,Rr(r,t.memoizedState)||(ou=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Di(e){var t=Ri(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);Rr(o,t.memoizedState)||(ou=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ni(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Ei&e)===e)&&(t._workInProgressVersionPrimary=r,gi.push(t))),e)return n(t._source);throw gi.push(t),Error(i(350))}function Ii(e,t,n,r){var a=nl;if(null===a)throw Error(i(349));var o=t._getVersion,u=o(t._source),l=bi.current,c=l.useState((function(){return Ni(a,t,n)})),s=c[1],f=c[0];c=xi;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var v=Oi;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=o(t._source);if(!Rr(u,e)){e=n(t._source),Rr(f,e)||(s(e),e=Il(v),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0n?98:n,(function(){e(!0)})),mo(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[wa]=t,e[Ea]=r,vu(e,t,!1,!1),t.stateNode=e,c=_e(n,r),n){case"dialog":Qr("cancel",e),Qr("close",e),o=r;break;case"iframe":case"object":case"embed":Qr("load",e),o=r;break;case"video":case"audio":for(o=0;o<$r.length;o++)Qr($r[o],e);o=r;break;case"source":Qr("error",e),o=r;break;case"img":case"image":case"link":Qr("error",e),Qr("load",e),o=r;break;case"details":Qr("toggle",e),o=r;break;case"input":ae(e,r),o=re(e,r),Qr("invalid",e);break;case"option":o=se(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Qr("invalid",e);break;case"textarea":pe(e,r),o=de(e,r),Qr("invalid",e);break;default:o=r}Ce(n,o);var s=o;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?Se(e,f):"dangerouslySetInnerHTML"===u?(f=f?f.__html:void 0,null!=f&&we(e,f)):"children"===u?"string"===typeof f?("textarea"!==n||""!==f)&&Ee(e,f):"number"===typeof f&&Ee(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Qr("scroll",e):null!=f&&k(e,u,f,c))}switch(n){case"input":ee(e),ue(e,r,!1);break;case"textarea":ee(e),me(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Q(r.value));break;case"select":e.multiple=!!r.multiple,u=r.value,null!=u?fe(e,!!r.multiple,u,!1):null!=r.defaultValue&&fe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=ua)}sa(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)bu(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));n=ti(ei.current),ti(Zo.current),mi(t)?(r=t.stateNode,n=t.memoizedProps,r[wa]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r),r[wa]=t,t.stateNode=r)}return null;case 13:return Ma(ii),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&mi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&ii.current)?0===ul&&(ul=3):(0!==ul&&3!==ul||(ul=4),null===nl||0===(134217727&sl)&&0===(134217727&fl)||zl(nl,al))),(r||n)&&(t.flags|=4),null);case 4:return ri(),gu(t),null===e&&Jr(t.stateNode.containerInfo),null;case 10:return jo(t),null;case 17:return Fa(t.type)&&Ua(),null;case 19:if(Ma(ii),r=t.memoizedState,null===r)return null;if(u=0!==(64&t.flags),c=r.rendering,null===c)if(u)Au(r,!1);else{if(0!==ul||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(c=ui(e),null!==c){for(t.flags|=64,Au(r,!1),u=c.updateQueue,null!==u&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)u=n,e=r,u.flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,c=u.alternate,null===c?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pa(ii,1&ii.current|2),t.child}e=e.sibling}null!==r.tail&&fo()>ml&&(t.flags|=64,u=!0,Au(r,!1),t.lanes=33554432)}else{if(!u)if(e=ui(c),null!==e){if(t.flags|=64,u=!0,n=e.updateQueue,null!==n&&(t.updateQueue=n,t.flags|=4),Au(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!si)return t=t.lastEffect=r.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*fo()-r.renderingStartTime>ml&&1073741824!==n&&(t.flags|=64,u=!0,Au(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(n=r.last,null!==n?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=fo(),n.sibling=null,t=ii.current,Pa(ii,u?1&t|2:1&t),n):null;case 23:case 24:return $l(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function Ru(e){switch(e.tag){case 1:Fa(e.type)&&Ua();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(ri(),Ma(Ia),Ma(Na),yi(),t=e.flags,0!==(64&t))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return oi(e),null;case 13:return Ma(ii),t=e.flags,4096&t?(e.flags=-4097&t|64,e):null;case 19:return Ma(ii),null;case 4:return ri(),null;case 10:return jo(e),null;case 23:case 24:return $l(),null;default:return null}}function Mu(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function Pu(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}vu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},gu=function(){},yu=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ti(Zo.current);var i,u=null;switch(n){case"input":o=re(e,o),r=re(e,r),u=[];break;case"option":o=se(e,o),r=se(e,r),u=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),u=[];break;case"textarea":o=de(e,o),r=de(e,r),u=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=ua)}for(f in Ce(n,r),n=null,o)if(!r.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var s=r[f];if(c=null!=o?o[f]:void 0,r.hasOwnProperty(f)&&s!==c&&(null!=s||null!=c))if("style"===f)if(c){for(i in c)!c.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&c[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(u||(u=[]),u.push(f,n)),n=s;else"dangerouslySetInnerHTML"===f?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(u=u||[]).push(f,s)):"children"===f?"string"!==typeof s&&"number"!==typeof s||(u=u||[]).push(f,""+s):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=s&&"onScroll"===f&&Qr("scroll",e),u||c===s||(u=[])):"object"===typeof s&&null!==s&&s.$$typeof===B?s.toString():(u=u||[]).push(f,s))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},bu=function(e,t,n,r){n!==r&&(t.flags|=4)};var Du="function"===typeof WeakMap?WeakMap:Map;function Nu(e,t,n){n=Po(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){bl||(bl=!0,wl=r),Pu(e,t)},n}function Iu(e,t,n){n=Po(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return Pu(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===El?El=new Set([this]):El.add(this),Pu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Lu="function"===typeof WeakSet?WeakSet:Set;function Bu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){sc(e,n)}else t.current=null}function Fu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:wo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ha(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(i(163))}function Uu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{var a=e;r=a.next,a=a.tag,0!==(4&a)&&0!==(1&a)&&(uc(n,e),ic(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:wo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,void(null!==t&&Lo(n,t,e));case 3:if(t=n.updateQueue,null!==t){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Lo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&sa(n.type,n.memoizedProps)&&e.focus());case 6:return;case 4:return;case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&At(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(i(163))}function zu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r=r.style,"function"===typeof r.setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=void 0!==a&&null!==a&&a.hasOwnProperty("display")?a.display:null,r.style.display=xe("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Yu(e,t){if(Va&&"function"===typeof Va.onCommitFiberUnmount)try{Va.onCommitFiberUnmount(Ha,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,null!==e&&(e=e.lastEffect,null!==e)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!==(4&r))uc(t,n);else{r=t;try{a()}catch(o){sc(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Bu(t),e=t.stateNode,"function"===typeof e.componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){sc(t,o)}break;case 5:Bu(t);break;case 4:Xu(e,t)}}function Wu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Gu(e){return 5===e.tag||3===e.tag||4===e.tag}function Hu(e){e:{for(var t=e.return;null!==t;){if(Gu(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(Ee(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Gu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Vu(e,n,t):$u(e,n,t)}function Vu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,null!==n&&void 0!==n||null!==t.onclick||(t.onclick=ua));else if(4!==r&&(e=e.child,null!==e))for(Vu(e,t,n),e=e.sibling;null!==e;)Vu(e,t,n),e=e.sibling}function $u(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(e=e.child,null!==e))for($u(e,t,n),e=e.sibling;null!==e;)$u(e,t,n),e=e.sibling}function Xu(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:n=n.containerInfo,r=!0;break e;case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var u=e,l=a,c=l;;)if(Yu(u,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(u=n,l=a.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(Yu(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;a=a.return,4===a.tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function qu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=null!==n?n.lastEffect:null,null!==n){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,null!=n){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Ea]=r,"input"===e&&"radio"===r.type&&null!=r.name&&oe(n,r),_e(e,a),t=_e(e,r),a=0;aa&&(a=u),n&=~o}if(n=a,n=fo()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Zu(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==ul&&(ul=2),l=Mu(l,u),d=i;do{switch(d.tag){case 3:o=l,d.flags|=4096,t&=-t,d.lanes|=t;var E=Nu(d,o,t);No(d,E);break e;case 1:o=l;var O=d.type,k=d.stateNode;if(0===(64&d.flags)&&("function"===typeof O.getDerivedStateFromError||null!==k&&"function"===typeof k.componentDidCatch&&(null===El||!El.has(k)))){d.flags|=4096,t&=-t,d.lanes|=t;var x=Iu(d,o,t);No(d,x);break e}}d=d.return}while(null!==d)}tc(n)}catch(S){t=S,rl===n&&null!==n&&(rl=n=n.return);continue}break}while(1)}function Kl(){var e=Ju.current;return Ju.current=eu,null===e?eu:e}function Ql(e,t){var n=tl;tl|=16;var r=Kl();nl===e&&al===t||Xl(e,t);do{try{Zl();break}catch(a){ql(e,a)}}while(1);if(So(),tl=n,Ju.current=r,null!==rl)throw Error(i(261));return nl=null,al=0,ul}function Zl(){for(;null!==rl;)ec(rl)}function Jl(){for(;null!==rl&&!Ka();)ec(rl)}function ec(e){var t=gl(e.alternate,e,ol);e.memoizedProps=e.pendingProps,null===t?tc(e):rl=t,el.current=null}function tc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(n=Tu(n,t,ol),null!==n)return void(rl=n);if(n=t,24!==n.tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&ol)||0===(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1u&&(l=u,u=O,O=l),l=Nr(b,O),o=Nr(b,u),l&&o&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==o.node||E.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),E.removeAllRanges(),O>u?(E.addRange(w),E.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),E.addRange(w)))))),w=[];for(E=b;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;bfo()-hl?Xl(e,0):dl|=n),Fl(e,t)}function dc(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=0,0===t&&(t=e.mode,0===(2&t)?t=1:0===(4&t)?t=99===po()?1:2:(0===Rl&&(Rl=cl),t=Qt(62914560&~Rl),0===t&&(t=4194304))),n=Nl(),e=Bl(e,t),null!==e&&(Jt(e,t,n),Fl(e,n))}function pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function hc(e,t,n,r){return new pc(e,t,n,r)}function mc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vc(e){if("function"===typeof e)return mc(e)?1:0;if(void 0!==e&&null!==e){if(e=e.$$typeof,e===M)return 11;if(e===N)return 14}return 2}function gc(e,t){var n=e.alternate;return null===n?(n=hc(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yc(e,t,n,r,a,o){var u=2;if(r=e,"function"===typeof e)mc(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case C:return bc(n.children,a,o,t);case F:u=8,a|=16;break;case _:u=8,a|=1;break;case A:return e=hc(12,n,t,8|a),e.elementType=A,e.type=A,e.lanes=o,e;case P:return e=hc(13,n,t,a),e.type=P,e.elementType=P,e.lanes=o,e;case D:return e=hc(19,n,t,a),e.elementType=D,e.lanes=o,e;case U:return wc(n,a,o,t);case z:return e=hc(24,n,t,a),e.elementType=z,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case T:u=10;break e;case R:u=9;break e;case M:u=11;break e;case N:u=14;break e;case I:u=16,r=null;break e;case L:u=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return t=hc(u,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function bc(e,t,n,r){return e=hc(7,e,r,t),e.lanes=n,e}function wc(e,t,n,r){return e=hc(23,e,r,t),e.elementType=U,e.lanes=n,e}function Ec(e,t,n){return e=hc(6,e,null,t),e.lanes=n,e}function Oc(e,t,n){return t=hc(4,null!==e.children?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Zt(0),this.expirationTimes=Zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zt(0),this.mutableSourceEagerHydrationData=null}function xc(e,t,n){var r=31&&(i=l(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},hx6P:function(e,t,n){var r=n("D2QY"),a=1/0,o=17976931348623157e292;function i(e){if(!e)return 0===e?e:0;if(e=r(e),e===a||e===-a){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=i},i3On:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("2fm6");r({target:"WeakSet",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},i53q:function(e,t,n){"use strict";var r={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(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t["a"]=r},iBNQ:function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},iIWa:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"WeakSet",stat:!0},{from:a})},iJ36:function(e,t,n){var r=n("GXoa");r("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},iLo9:function(e,t,n){"use strict";var r=n("r+6h"),a=n("ZGY3"),o=n("OdMF"),i=n("upgS"),u=n("0JbB").f;r&&!("lastIndex"in[])&&(u(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?0:t-1}}),a("lastIndex"))},iRtw:function(e,t,n){var r=n("36PR"),a=n("M42/"),o=n("Qyvd"),i=n("OD7W");function u(e){return o(e)?r(i(e)):a(e)}e.exports=u},"iS+J":function(e,t,n){var r=n("OOCw"),a=n("N+aw").values;r({target:"Object",stat:!0},{values:function(e){return a(e)}})},ig3D:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6ssM").f,o=n("upgS"),i=n("SD1J"),u=n("z43i"),l=n("TxDi"),c=n("qyeh"),s="".startsWith,f=Math.min,d=l("startsWith"),p=!c&&!d&&!!function(){var e=a(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(e){var t=String(u(this));i(e);var n=o(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},"io+V":function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("zesz"),i=n("d8EH"),u=n("QWtl"),l=n("0JbB"),c=n("ZVkV"),s=n("uZx/"),f=n("MZA9"),d=n("uJNS"),p=d.set,h=d.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);i&&(n=i(new Error(t),o(n)));var r=[];return s(e,r.push,r),a?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&f(n,"message",String(t)),n};m.prototype=u(Error.prototype,{constructor:c(5,m),message:c(5,""),name:c(5,"AggregateError")}),a&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},iwOu:function(e,t,n){"use strict";var r=n("OOCw"),a=n("jssG").left,o=n("rUEg"),i=n("7/pz"),u=o("reduce"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"j+of":function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var a=l(n("1QO0")),o=i(n("L7kM"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(a,i,l):a[i]=e[i]}return a["default"]=e,n&&n.set(e,a),a}function c(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(u)throw o}}}}function s(e,t){return m(e)||h(e,t)||d(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;i-=1){var u=a[i],l=[u].concat(u.children).filter(Boolean),c=l.find((function(e){return e.path&&new RegExp("^".concat(e.path.replace(/\.html$/,""),"(/|.|$)")).test(n[2])}));if(c){o=c.path;break}}return(null===(e=n[0].menus[n[1]])||void 0===e?void 0:e[o])||[]},o=(0,a.useState)(r(e,t,n)),i=s(o,2),u=i[0],l=i[1];return(0,a.useLayoutEffect)((function(){l(r(e,t,n))}),[e.navs,e.menus,t,n]),u},O=function(e,t,n){var r=function(){for(var t=arguments.length,r=new Array(t),a=0;a0&&r(d))p=i(e,t,d,a(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=i},"j/sL":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("aBnV");function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r["a"])(e,t)}},j2YP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("j/ks"),o=n("OdMF"),i=n("upgS"),u=n("ANLo"),l=n("63eO");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=i(t.length),r=l(t,0);return r.length=a(r,t,t,n,0,void 0===e?1:u(e)),r}})},j8Of:function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"===typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var a=n[t]={exports:{}},o=!0;try{e[t](a,a.exports,r),o=!1}finally{o&&delete n[t]}return a.exports}return r.ab=t+"/",r(873)}()}).call(this,"/")},jCBa:function(e,t,n){var r=n("diEk"),a=n("t2nn"),o=n("HxYL");function i(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}e.exports=i},jETf:function(e,t,n){"use strict";var r=n("TxBV"),a=n("gArs").getWeakData,o=n("sErw"),i=n("x+sk"),u=n("CZSf"),l=n("uZx/"),c=n("M+Sl"),s=n("oEsY"),f=n("uJNS"),d=f.set,p=f.getterFor,h=c.find,m=c.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,r){u(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[c],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),i=a(o(t),!0);return!0===i?g(r).set(t,n):i[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!i(e))return!1;var n=a(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!i(e))return!1;var n=a(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(i(e)){var n=a(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},jHOP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{findKey:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop(e)}),void 0,!0,!0).result}})},jMzh:function(e,t,n){var r=n("PWyJ"),a=n("14tm"),o=n("D2QY"),i="Expected a function",u=Math.max,l=Math.min;function c(e,t,n){var c,s,f,d,p,h,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(i);function b(t){var n=c,r=s;return c=s=void 0,m=t,d=e.apply(r,n),d}function w(e){return m=e,p=setTimeout(k,t),v?b(e):d}function E(e){var n=e-h,r=e-m,a=t-n;return g?l(a,f-r):a}function O(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||g&&r>=f}function k(){var e=a();if(O(e))return x(e);p=setTimeout(k,E(e))}function x(e){return p=void 0,y&&c?b(e):(c=s=void 0,d)}function S(){void 0!==p&&clearTimeout(p),m=0,c=h=s=p=void 0}function j(){return void 0===p?d:x(a())}function C(){var e=a(),n=O(e);if(c=arguments,s=this,h=e,n){if(void 0===p)return w(h);if(g)return clearTimeout(p),p=setTimeout(k,t),b(h)}return void 0===p&&(p=setTimeout(k,t)),d}return t=o(t)||0,r(n)&&(v=!!n.leading,g="maxWait"in n,f=g?u(o(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),C.cancel=S,C.flush=j,C}e.exports=c},jYqw:function(e,t,n){"use strict";var r=n("OOCw"),a=n("A2zS");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},jZl0:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=function(e){return+setTimeout(e,16)},a=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},a=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function u(e){i["delete"](e)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;o+=1;var n=o;function a(t){if(0===t)u(n),e();else{var o=r((function(){a(t-1)}));i.set(n,o)}}return a(t),n}l.cancel=function(e){var t=i.get(e);return u(t),a(t)}},jax1:function(e,t,n){"use strict";var r=n("ANLo"),a=n("z43i");e.exports="".repeat||function(e){var t=String(a(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"jht+":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},jhzO:function(e,t){function n(e,t){for(var n=0;n=0:f>d;d+=p)d in s&&(l=n(l,s[d],d,c));return l}};e.exports={left:u(!1),right:u(!0)}},jukf:function(e,t,n){var r=n("6SQG"),a=n("MZA9");e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},"k+Mg":function(e,t,n){var r=n("DT1c"),a=n("qjyY"),o=r(a);e.exports=o},k4Sg:function(e,t,n){var r=n("capL");function a(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}e.exports=a},kDJY:function(e,t,n){"use strict";var r=n("VdqM"),a=n("jhzO");function o(){var e=n("1QO0");return o=function(){return e},e}function i(e,t){return f(e)||s(e,t)||l(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=[];return a.a.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):Object(o["isFragment"])(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},mnt4:function(e,t,n){"use strict";var r=n("OOCw"),a=n("uZx/"),o=n("lkgX");r({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;o(t);var r=o(n.has),i=o(n.get),u=o(n.set);return a(e,(function(e){var a=t(e);r.call(n,a)?i.call(n,a).push(e):u.call(n,a,[e])})),n}})},muZu:function(e,t){function n(e,t){var n=-1,r=t.length,a=e.length;while(++n]*>)/g,m=/\$([$&'`]|\d\d?)/g,v=function(e){return void 0===e?e:String(e)};r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,r){var a=l(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!g&&y||"string"===typeof r&&-1===r.indexOf(b)){var o=n(t,e,this,r);if(o.done)return o.value}var l=a(e),p=String(this),h="function"===typeof r;h||(r=String(r));var m=l.global;if(m){var E=l.unicode;l.lastIndex=0}var O=[];while(1){var k=s(l,p);if(null===k)break;if(O.push(k),!m)break;var x=String(k[0]);""===x&&(l.lastIndex=c(p,i(l.lastIndex),E))}for(var S="",j=0,C=0;C=j&&(S+=p.slice(j,A)+D,j=A+_.length)}return S+p.slice(j)}];function w(e,n,r,a,i,u){var l=r+e.length,c=a.length,s=m;return void 0!==i&&(i=o(i),s=h),t.call(u,s,(function(t,o){var u;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":u=i[o.slice(1,-1)];break;default:var s=+o;if(0===s)return t;if(s>c){var f=p(s/10);return 0===f?t:f<=c?void 0===a[f-1]?o.charAt(1):a[f-1]+o.charAt(1):t}u=a[s-1]}return void 0===u?"":u}))}}))},nXRf:function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},nlRv:function(e,t,n){var r=n("PWyJ");function a(e){return e===e&&!r(e)}e.exports=a},nndC:function(e,t,n){var r=n("OOCw"),a=n("CBsr");r({target:"WeakMap",stat:!0},{of:a})},nyXu:function(e,t,n){},o1x9:function(e,t,n){"use strict";var r=n("vfR7").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},oA63:function(e,t,n){var r=n("58gk"),a=n("eKcC"),o=Object.prototype,i=o.propertyIsEnumerable,u=Object.getOwnPropertySymbols,l=u?function(e){return null==e?[]:(e=Object(e),r(u(e),(function(t){return i.call(e,t)})))}:a;e.exports=l},oEsY:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},oSdA:function(e,t,n){var r=n("KZF9");r("toPrimitive")},ohzl:function(e,t){var n=Object.prototype,r=n.toString;function a(e){return r.call(e)}e.exports=a},opL2:function(e,t,n){var r=n("r+6h"),a=n("0JbB"),o=n("rfqm"),i=n("kj2u").UNSUPPORTED_Y;r&&("g"!=/./g.flags||i)&&a.f(RegExp.prototype,"flags",{configurable:!0,get:o})},orhk:function(e,t){var n="__lodash_hash_undefined__";function r(e){return this.__data__.set(e,n),this}e.exports=r},"p/Qk":function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var a=e>>>0,o=t>>>0,i=n>>>0;return o+(r>>>0)+((a&i|(a|i)&~(a+i>>>0))>>>31)|0}})},p1yP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("r+6h"),o=n("THzI"),i=n("OdMF"),u=n("JSMs"),l=n("zesz"),c=n("6ssM").f;a&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(e){var t,n=i(this),r=u(e,!0);do{if(t=c(n,r))return t.get}while(n=l(n))}})},p3eN:function(e,t,n){var r=n("r+6h"),a=n("h+/6"),o=n("73fw");e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},pADs:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},pDCl:function(e,t,n){var r=n("OOCw"),a=n("HRbj");r({target:"Map",stat:!0},{from:a})},pKuQ:function(e,t,n){var r=n("sErw");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(i){var o=e["return"];throw void 0!==o&&r(o.call(e)),i}}},pVp3:function(e,t,n){var r=n("kk5s");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},paFN:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:function(e){var t=o(this),n=i(t.has);return!u(e,(function(e){if(!1===n.call(t,e))return u.stop()})).stopped}})},pgBP:function(e,t,n){var r=n("DQ/D"),a=n("1Grl"),o=n("eoSM"),i=n("Zsrj"),u=n("Txlo"),l=n("GC0I"),c=Object.prototype,s=c.hasOwnProperty;function f(e,t){var n=o(e),c=!n&&a(e),f=!n&&!c&&i(e),d=!n&&!c&&!f&&l(e),p=n||c||f||d,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,m))||h.push(v);return h}e.exports=f},piBM:function(e,t,n){var r=n("l9Lh"),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},pibB:function(e,t,n){"use strict";n.r(t);var r=n("ULjY"),a=n("tGGB"),o=n("Vhn3"),i=n("NUIj"),u=n.n(i),l=n("0+H2"),c=n.n(l),s=n("2YZa"),f=n("1QO0"),d=n.n(f);function p(e){for(var t=[],n=0;n{var e=Object(f["useState"])(p(20)),t=Object(o["a"])(e,2),n=t[0],i=t[1];return console.log("data",n),d.a.createElement("div",{style:{width:"100%",height:500}},d.a.createElement(s["b"],{data:n,columns:[{name:"name",label:"Custom Title",width:100}],locale:s["c"],onUpdate:function(){var e=Object(a["a"])(u.a.mark((function e(t,n,a){return u.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("update",t,n,a),i((e=>{var o=[...e],i=o.findIndex((e=>e.id===t.id));return o[i]=Object(r["a"])(Object(r["a"])({},t),{},{startDate:c()(n).format("YYYY-MM-DD"),endDate:c()(a).format("YYYY-MM-DD")}),o})),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()}))};t["default"]=h},pj1d:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},ppRt:function(e,t,n){"use strict";var r=n("sErw"),a=n("lkgX");e.exports=function(){for(var e=r(this),t=a(e.add),n=0,o=arguments.length;n=0;d--){var p=i[d];"."===p?o(i,d):".."===p?(o(i,d),f++):f&&(o(i,d),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}var u=i;function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function c(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return c(e,t[n])}));if("object"===typeof e||"object"===typeof t){var n=l(e),r=l(t);return n!==e||r!==t?c(n,r):Object.keys(Object.assign({},e,t)).every((function(n){return c(e[n],t[n])}))}return!1}var s=c,f=n("gGOj"),d=n.n(f),p=n("g8ur");function h(e){return"/"===e.charAt(0)?e:"/"+e}function m(e){return"/"===e.charAt(0)?e.substr(1):e}function v(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}function g(e,t){return v(e,t)?e.substr(t.length):e}function y(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function w(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function E(e,t,n,a){var o;"string"===typeof e?(o=b(e),o.query=o.search?d.a.parse(o.search):{},o.state=t):(o=Object(r["a"])({},e),void 0===o.pathname&&(o.pathname=""),o.search?("?"!==o.search.charAt(0)&&(o.search="?"+o.search),o.query=d.a.parse(o.search)):(o.search=o.query?d.a.stringify(o.query):"",o.query=o.query||{}),o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=u(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function O(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function k(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,a){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)}var r=[];function a(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter((function(e){return e!==n}))}}function o(){for(var e=arguments.length,t=new Array(e),n=0;nn?o.splice(n,o.length-n,a):o.push(a),f({action:r,location:a,index:n,entries:o})}}))}function g(e,t){var r="REPLACE",a=E(e,t,d(),C.location);s.confirmTransitionTo(a,r,n,(function(e){e&&(C.entries[C.index]=a,f({action:r,location:a}))}))}function y(e){var t=z(C.index+e,0,C.entries.length-1),r="POP",a=C.entries[t];s.confirmTransitionTo(a,r,n,(function(e){e?f({action:r,location:a,index:t}):f()}))}function b(){y(-1)}function O(){y(1)}function x(e){var t=C.index+e;return t>=0&&t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function c(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}var s=function(e){return function(t){var n=t.to,a=l(t,o),i=/^(\w+:)?\/\/|^(mailto|tel):/.test(n)||!n,c=r["default"].isValidElement(a.children);return r["default"].createElement(e,u({to:n||"",component:i?function(){return r["default"].createElement("a",{target:"_blank",rel:"noopener noreferrer",href:n},a.children,n&&!c&&r["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15",className:"__dumi-default-external-link-icon"},r["default"].createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r["default"].createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})))}:void 0},a,i?{}:{onClick:function(){var e;window.scrollTo({top:0});for(var t=arguments.length,n=new Array(t),r=0;ru.a.createElement("div",{style:{width:"100%",height:500}},u.a.createElement(l["b"],{data:f,columns:[{name:"name",label:"\u540d\u79f0",width:200},{name:"startDate",label:"\u5f00\u59cb\u65f6\u95f4"},{name:"endDate",label:"\u7ed3\u675f\u65f6\u95f4",render:e=>u.a.createElement("span",null,e.endDate)}],tableIndent:0,onUpdate:Object(r["a"])(o.a.mark((function e(){return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),e)})))}));t["default"]=d},qyeh:function(e,t){e.exports=!1},"r+6h":function(e,t,n){var r=n("h+/6");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},rCLu:function(e,t,n){var r=n("sErw"),a=n("x+sk"),o=n("8d12");e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e),i=n.resolve;return i(t),n.promise}},rDMZ:function(e,t,n){var r=n("0Ifp");function a(e,t){return r(e,t)}e.exports=a},rHUP:function(e,t,n){"use strict";var r=n("OOCw"),a=n("jssG").right,o=n("rUEg"),i=n("7/pz"),u=o("reduceRight"),l=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l},{reduceRight:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},rUEg:function(e,t,n){"use strict";var r=n("h+/6");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},rVbH:function(e,t,n){"use strict";e.exports=n("BZ8O")},rfqm:function(e,t,n){"use strict";var r=n("sErw");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},rjd2:function(e,t,n){"use strict";var r=n("OOCw"),a=n("uZx/"),o=n("lkgX");r({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;o(t);var r=o(n.set);return a(e,(function(e){r.call(n,t(e),e)})),n}})},rkJ6:function(e,t,n){var r=n("fkhx");function a(e,t){var n=e.length;while(n--)if(r(e[n][0],t))return n;return-1}e.exports=a},ry2H:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("lkgX"),u=n("R8Xy"),l=n("uZx/");r({target:"Set",proto:!0,real:!0,forced:a},{reduce:function(e){var t=o(this),n=u(t),r=arguments.length<2,a=r?void 0:arguments[1];if(i(e),l(n,(function(n){r?(r=!1,a=n):a=e(a,n,n,t)}),void 0,!1,!0),r)throw TypeError("Reduce of empty set with no initial value");return a}})},ry6q:function(e,t,n){var r=n("7HYU"),a=n("Oax0"),o=n("1DF2"),i=n("UtSM"),u=n("TDWY");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t1||"".split(/.?/).length?function(e,n){var r=String(i(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);var u,l,c,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,d+"g");while(u=f.call(v,r)){if(l=v.lastIndex,l>h&&(s.push(r.slice(h,u.index)),u.length>1&&u.index=o))break;v.lastIndex===u.index&&v.lastIndex++}return h===r.length?!c&&v.test("")||s.push(""):s.push(r.slice(h)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=i(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var f=o(e),d=String(this),p=u(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new p(v?f:"^(?:"+f.source+")",y),w=void 0===a?m:a>>>0;if(0===w)return[];if(0===d.length)return null===s(b,d)?[d]:[];var E=0,O=0,k=[];while(O{var t=n("1QO0"),r=n("XwlI"),a=r.default,o=n("6wQi"),i=o.default,l=n("hPYS"),c=l.usePrefersColor,s=l.context,f=t.useContext(s),d=f.demos,p=t.useState([]),h=Object(u["a"])(p,2),m=h[0],v=h[1];switch(t.useLayoutEffect((()=>{v(a(e,d))}),[e.match.params.uuid,e.location.query.wrapper,e.location.query.capture]),c(),m.length){case 1:return m[0];case 2:return t.createElement(i,m[0],m[1]);default:return"Demo ".concat(e.match.params.uuid," not found :(")}}},{path:"/_demos/:uuid",redirect:"/~demos/:uuid"},{__dumiRoot:!0,layout:!1,path:"/",wrappers:[n("afA6").default,n("LsWz").default],routes:[{path:"/en-US/component",component:n("4Svt").default,exact:!0,meta:{filePath:"website/component.en-US.md",updatedTime:1716741461e3,title:"Component",nav:{path:"/en-US/component",title:"Component",order:1},slugs:[{depth:2,value:"Component",heading:"component"},{depth:3,value:"Basic Component",heading:"basic-component"},{depth:3,value:"Add Task Bar",heading:"add-task-bar"},{depth:3,value:"Multi-level structure",heading:"multi-level-structure"},{depth:3,value:"Customizing table columns",heading:"customizing-table-columns"},{depth:3,value:"Dependency Structure",heading:"dependency-structure"},{depth:3,value:"Custom Rendering",heading:"custom-rendering"},{depth:3,value:"Customized filtering",heading:"customized-filtering"},{depth:3,value:"Advanced Usage",heading:"advanced-usage"},{depth:2,value:"Type Definition",heading:"type-definition"},{depth:3,value:"Column Definition",heading:"column-definition"},{depth:3,value:"data Definition",heading:"data-definition"},{depth:3,value:"Dependence Definition",heading:"dependence-definition"},{depth:3,value:"Bar Definition",heading:"bar-definition"},{depth:3,value:"Sight Definition",heading:"sight-definition"},{depth:2,value:"API",heading:"api"},{depth:2,value:"Methods",heading:"methods"}],hasPreviewer:!0,locale:"en-US"},title:"Component - "},{path:"/component",component:n("ycKn").default,exact:!0,meta:{filePath:"website/component.md",updatedTime:1716741461e3,title:"\u7ec4\u4ef6",nav:{path:"/component",title:"\u7ec4\u4ef6\u603b\u89c8",order:1},slugs:[{depth:2,value:"\u7ec4\u4ef6",heading:"\u7ec4\u4ef6"},{depth:3,value:"\u57fa\u7840\u4f7f\u7528",heading:"\u57fa\u7840\u4f7f\u7528"},{depth:3,value:"\u65b0\u589e\u4efb\u52a1",heading:"\u65b0\u589e\u4efb\u52a1"},{depth:3,value:"\u591a\u7ea7\u7ed3\u6784",heading:"\u591a\u7ea7\u7ed3\u6784"},{depth:3,value:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217",heading:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"},{depth:3,value:"\u4f9d\u8d56\u7ed3\u6784",heading:"\u4f9d\u8d56\u7ed3\u6784"},{depth:3,value:"\u81ea\u5b9a\u4e49\u6e32\u67d3",heading:"\u81ea\u5b9a\u4e49\u6e32\u67d3"},{depth:3,value:"\u81ea\u5b9a\u4e49\u7b5b\u9009",heading:"\u81ea\u5b9a\u4e49\u7b5b\u9009"},{depth:3,value:"\u9ad8\u7ea7\u7528\u6cd5",heading:"\u9ad8\u7ea7\u7528\u6cd5"},{depth:2,value:"\u7c7b\u578b\u5b9a\u4e49",heading:"\u7c7b\u578b\u5b9a\u4e49"},{depth:3,value:"Column \u5b9a\u4e49",heading:"column-\u5b9a\u4e49"},{depth:3,value:"data \u5b9a\u4e49",heading:"data-\u5b9a\u4e49"},{depth:3,value:"Dependence \u5b9a\u4e49",heading:"dependence-\u5b9a\u4e49"},{depth:3,value:"Bar \u5b9a\u4e49",heading:"bar-\u5b9a\u4e49"},{depth:3,value:"Sight \u5b9a\u4e49",heading:"sight-\u5b9a\u4e49"},{depth:2,value:"API",heading:"api"},{depth:2,value:"\u65b9\u6cd5",heading:"\u65b9\u6cd5"}],hasPreviewer:!0},title:"\u7ec4\u4ef6 - "},{path:"/en-US",component:n("GJFw").default,exact:!0,meta:{filePath:"website/index.en-US.md",updatedTime:1716741461e3,title:"React Gantt Component",hero:{title:"rc-gantt",desc:'

Gantt Component

',actions:[{text:"Quick Start \u2192",link:"/component"}]},footer:'

Open-source MIT Licensed | Copyright \xa9 2021

',slugs:[{depth:2,value:"Getting Started",heading:"getting-started"},{depth:2,value:"\ud83d\udce6 Install dependencies",heading:"-install-dependencies"},{depth:2,value:"\ud83d\udd28 Demo",heading:"-demo"},{depth:2,value:"Feedback",heading:"feedback"}],locale:"en-US"},title:"React Gantt Component - "},{path:"/",component:n("/Fx+").default,exact:!0,meta:{filePath:"website/index.md",updatedTime:1716741461e3,title:"React Gantt Component",hero:{title:"rc-gantt",desc:'

Gantt\u7ec4\u4ef6

',actions:[{text:"\u5feb\u901f\u4e0a\u624b \u2192",link:"/component"}]},footer:'

Open-source MIT Licensed | Copyright \xa9 2021

',slugs:[{depth:2,value:"\u5feb\u901f\u4f7f\u7528",heading:"\u5feb\u901f\u4f7f\u7528"},{depth:2,value:"\ud83d\udce6 \u5b89\u88c5\u4f9d\u8d56",heading:"-\u5b89\u88c5\u4f9d\u8d56"},{depth:2,value:"\ud83d\udd28 \u5feb\u901f\u5f00\u59cb",heading:"-\u5feb\u901f\u5f00\u59cb"},{depth:2,value:"\u95ee\u9898\u53cd\u9988",heading:"\u95ee\u9898\u53cd\u9988"}]},title:"React Gantt Component - "}],title:" ",component:e=>e.children}];return r["a"].applyPlugins({key:"patchRoutes",type:o["ApplyPluginsType"].event,args:{routes:e}}),e}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r["a"].applyPlugins({key:"render",type:o["ApplyPluginsType"].compose,initialValue:()=>{var t=r["a"].applyPlugins({key:"modifyClientRenderOpts",type:o["ApplyPluginsType"].modify,initialValue:{routes:e.routes||l(),plugin:r["a"],history:Object(a["a"])(e.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,rootElement:"root",defaultTitle:" "}});return Object(i["renderClient"])(t)},args:e})},s=c();t["default"]=s();window.g_umi={version:"3.5.24"}},tDGd:function(e,t,n){var r,a,o=n("6SQG"),i=n("7EYs"),u=o.process,l=u&&u.versions,c=l&&l.v8;c?(r=c.split("."),a=r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(a=r[1]))),e.exports=a&&+a},tGGB:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function u(e){r(i,a,o,u,l,"next",e)}function l(e){r(i,a,o,u,l,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return a}))},tOwT:function(e,t,n){"use strict";var r=n("BUyj"),a=n("jETf");r("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},tSbI:function(e,t,n){"use strict";e.exports=n("Swb/")},tSnU:function(e,t,n){var r=n("h+/6"),a=n("Vg85"),o="\u200b\x85\u180e";e.exports=function(e){return r((function(){return!!a[e]()||o[e]()!=o||a[e].name!==e}))}},tW6U:function(e,t,n){"use strict";var r=n("1QO0"),a=n.n(r),o=n("bIC1"),i=n.n(o);n("LyR7");function u(e,t){return d(e)||f(e,t)||c(e,t)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0),h(e.scrollLefte.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n128||n===e.anchors.length-1})),n=this.anchors[Math.max(0,t-1)],r=n.parentElement.id;this.listeners.forEach((function(e){return e(r)}))}},{key:"watch",value:function(e){0===this.anchors.length&&"undefined"!==typeof window&&window.addEventListener("scroll",this.listener),this.anchors.push(e),this.listener()}},{key:"unwatch",value:function(e){this.anchors.splice(this.anchors.findIndex((function(t){return t===e})),1),0===this.anchors.length&&"undefined"!==typeof window&&window.removeEventListener("scroll",this.listener)}},{key:"listen",value:function(e){this.listeners.push(e)}},{key:"unlisten",value:function(e){this.listeners.splice(this.listeners.findIndex((function(t){return t===e})),1)}}]),e}());function E(e){return e.offsetTop+(e.offsetParent?E(e.offsetParent):0)}var O=function e(t){var n,r=(null===(n=t.to.match(/(#[^&?]*)/))||void 0===n?void 0:n[1])||"",i=(0,a.useRef)(null),u=(0,a.useState)(!1),l=f(u,2),c=l[0],d=l[1];return(0,a.useEffect)((function(){var e,t;if(["H1","H2","H3"].includes(null===(e=i.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.tagName)&&i.current.parentElement.id){var n=i.current;return w.watch(n),function(){w.unwatch(n)}}var a=function(e){d(r==="#".concat(e))};return w.listen(a),function(){return w.unlisten(a)}}),[]),a["default"].createElement(o.NavLink,s({},t,{ref:i,onClick:function(){return e.scrollToAnchor(r.substring(1))},isActive:function(){return c}}))};O.scrollToAnchor=function(e){window.requestAnimationFrame((function(){var t=document.getElementById(decodeURIComponent(e));t&&window.scrollTo(0,E(t)-100)}))};var k=O;t["default"]=k},"uZx/":function(e,t,n){var r=n("sErw"),a=n("dwb6"),o=n("upgS"),i=n("v3z7"),u=n("MI4T"),l=n("pKuQ"),c=function(e,t){this.stopped=e,this.result=t},s=e.exports=function(e,t,n,s,f){var d,p,h,m,v,g,y,b=i(t,n,s?2:1);if(f)d=e;else{if(p=u(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(a(p)){for(h=0,m=o(e.length);m>h;h++)if(v=s?b(r(y=e[h])[0],y[1]):b(e[h]),v&&v instanceof c)return v;return new c(!1)}d=p.call(e)}g=d.next;while(!(y=g.call(d)).done)if(v=l(d,b,y.value,s),"object"==typeof v&&v&&v instanceof c)return v;return new c(!1)};s.stop=function(e){return new c(!0,e)}},upgS:function(e,t,n){var r=n("ANLo"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},v1go:function(e,t,n){"use strict";var r=n("OOCw"),a=n("6ssM").f,o=n("upgS"),i=n("SD1J"),u=n("z43i"),l=n("TxDi"),c=n("qyeh"),s="".endsWith,f=Math.min,d=l("endsWith"),p=!c&&!d&&!!function(){var e=a(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!p&&!d},{endsWith:function(e){var t=String(u(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),a=void 0===n?r:f(o(n),r),l=String(e);return s?s.call(t,l,a):t.slice(a-l.length,a)===l}})},v3z7:function(e,t,n){var r=n("lkgX");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},vCPc:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}function a(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return a}))},vEbx:function(e,t,n){var r=n("oEsY"),a=n("684d"),o=n("YfbA").indexOf,i=n("Y3cF");e.exports=function(e,t){var n,u=a(e),l=0,c=[];for(n in u)!r(i,n)&&r(u,n)&&c.push(n);while(t.length>l)r(u,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"vFD/":function(e,t,n){var r=n("foqJ"),a=500;function o(e){var t=r(e,(function(e){return n.size===a&&n.clear(),e})),n=t.cache;return t}e.exports=o},vMeL:function(e,t,n){var r=n("6SQG"),a=n("h+/6"),o=n("eW2S"),i=n("g0pg").NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,l=r.Int8Array;e.exports=!i||!a((function(){l(1)}))||!a((function(){new l(-1)}))||!o((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||a((function(){return 1!==new l(new u(2),1,void 0).length}))},vRqM:function(e,t,n){"use strict";var r=n("OOCw"),a=n("CsJM").trim,o=n("tSnU");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return a(this)}})},vSpU:function(e,t,n){"use strict";var r=n("OOCw"),a=n("dz2h"),o=n("zesz"),i=n("d8EH"),u=n("nBeg"),l=n("MZA9"),c=n("uF/W"),s=n("3Hes"),f=n("qyeh"),d=n("AnAv"),p=n("WkS0"),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=s("iterator"),g="keys",y="values",b="entries",w=function(){return this};e.exports=function(e,t,n,s,p,E,O){a(n,t,s);var k,x,S,j=function(e){if(e===p&&R)return R;if(!m&&e in A)return A[e];switch(e){case g:return function(){return new n(this,e)};case y:return function(){return new n(this,e)};case b:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",_=!1,A=e.prototype,T=A[v]||A["@@iterator"]||p&&A[p],R=!m&&T||j(p),M="Array"==t&&A.entries||T;if(M&&(k=o(M.call(new e)),h!==Object.prototype&&k.next&&(f||o(k)===h||(i?i(k,h):"function"!=typeof k[v]&&l(k,v,w)),u(k,C,!0,!0),f&&(d[C]=w))),p==y&&T&&T.name!==y&&(_=!0,R=function(){return T.call(this)}),f&&!O||A[v]===R||l(A,v,R),d[t]=R,p)if(x={values:j(y),keys:E?R:j(g),entries:j(b)},O)for(S in x)(m||_||!(S in A))&&c(A,S,x[S]);else r({target:t,proto:!0,forced:m||_},x);return x}},vTOu:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=c?e?"":void 0:(o=u.charCodeAt(l),o<55296||o>56319||l+1===c||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):o:e?u.slice(l,l+2):i-56320+(o-55296<<10)+65536)}};e.exports={codeAt:o(!1),charAt:o(!0)}},vqhe:function(e,t,n){"use strict";var r=n("OOCw"),a=n("YfbA").indexOf,o=n("rUEg"),i=n("7/pz"),u=[].indexOf,l=!!u&&1/[1].indexOf(1,-0)<0,c=o("indexOf"),s=i("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!c||!s},{indexOf:function(e){return l?u.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},w7O4:function(e,t,n){var r=n("F71Q");function a(e){return r(this,e).has(e)}e.exports=a},w9fO:function(e,t,n){"use strict";var r={};function a(e,t){0}function o(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function i(e,t){o(a,e,t)}t["a"]=i},wU1a:function(e,t){function n(e,t,n,r){var a=e.length,o=n+(r?1:-1);while(r?o--:++o1?arguments[1]:void 0,3);return l(n,(function(e){if(r(e,e,t))return l.stop()}),void 0,!1,!0).stopped}})},xiuu:function(e,t,n){"use strict";var r=n("vMeL"),a=n("g0pg").exportTypedArrayStaticMethod,o=n("N0ls");a("from",o,r)},xuOn:function(e,t,n){var r=n("QzCP"),a="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function u(e){var t=this.__data__;if(r){var n=t[e];return n===a?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=u},"xy/A":function(e,t,n){"use strict";var r=n("6SQG"),a=n("r+6h"),o=n("78S/"),i=n("MZA9"),u=n("TxBV"),l=n("h+/6"),c=n("CZSf"),s=n("ANLo"),f=n("upgS"),d=n("G2F8"),p=n("/fpf"),h=n("zesz"),m=n("d8EH"),v=n("lFeU").f,g=n("0JbB").f,y=n("5ilB"),b=n("nBeg"),w=n("uJNS"),E=w.get,O=w.set,k="ArrayBuffer",x="DataView",S="prototype",j="Wrong length",C="Wrong index",_=r[k],A=_,T=r[x],R=T&&T[S],M=Object.prototype,P=r.RangeError,D=p.pack,N=p.unpack,I=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},B=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},F=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},U=function(e){return D(e,23,4)},z=function(e){return D(e,52,8)},Y=function(e,t){g(e[S],t,{get:function(){return E(this)[t]}})},W=function(e,t,n,r){var a=d(n),o=E(e);if(a+t>o.byteLength)throw P(C);var i=E(o.buffer).bytes,u=a+o.byteOffset,l=i.slice(u,u+t);return r?l:l.reverse()},G=function(e,t,n,r,a,o){var i=d(n),u=E(e);if(i+t>u.byteLength)throw P(C);for(var l=E(u.buffer).bytes,c=i+u.byteOffset,s=r(+a),f=0;fX;)(H=$[X++])in A||i(A,H,_[H]);V.constructor=A}m&&h(R)!==M&&m(R,M);var q=new T(new A(2)),K=R.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||u(R,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else A=function(e){c(this,A,k);var t=d(e);O(this,{bytes:y.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},T=function(e,t,n){c(this,T,x),c(e,A,x);var r=E(e).byteLength,o=s(t);if(o<0||o>r)throw P("Wrong offset");if(n=void 0===n?r-o:f(n),o+n>r)throw P(j);O(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(Y(A,"byteLength"),Y(T,"buffer"),Y(T,"byteLength"),Y(T,"byteOffset")),u(T[S],{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return F(W(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return F(W(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return N(W(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return N(W(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){G(this,1,e,I,t)},setUint8:function(e,t){G(this,1,e,I,t)},setInt16:function(e,t){G(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){G(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){G(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){G(this,4,e,B,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){G(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){G(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});b(A,k),b(T,x),e.exports={ArrayBuffer:A,DataView:T}},xytd:function(e,t,n){},"y2+G":function(e,t,n){var r=n("684d"),a=n("lFeU").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?u(e):a(r(e))}},y24P:function(e,t,n){var r=n("eoSM"),a=n("Qyvd"),o=n("Zgy7"),i=n("WsPr");function u(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}e.exports=u},y3he:function(e,t,n){"use strict";var r=n("OOCw"),a=n("CsJM").end,o=n("tSnU"),i=o("trimEnd"),u=i?function(){return a(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:u,trimRight:u})},yFoN:function(e,t,n){var r=n("OOCw");r({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},yJKb:function(e,t,n){var r=n("eyaU"),a=n("lFeU"),o=n("AG0a"),i=n("sErw");e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},yPwS:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))},ycKn:function(e,t,n){"use strict";n.r(t);var r=n("1QO0"),a=n.n(r),o=n("hPYS"),i=n("6wQi"),u=n("VOZC"),l=n("tW6U"),c=a.a.memo((e=>{var t=e.demos,n=t["website-basic"].component,r=t["website-add"].component,c=t["website-child"].component,s=t["website-column"].component,f=t["website-dependence"].component,d=t["website-render"].component,p=t["website-filterunit"].component,h=t["website-custom"].component;return a.a.createElement(a.a.Fragment,null,a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u7ec4\u4ef6"},a.a.createElement(o["AnchorLink"],{to:"#\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u7ec4\u4ef6"),a.a.createElement("h3",{id:"\u57fa\u7840\u4f7f\u7528"},a.a.createElement(o["AnchorLink"],{to:"#\u57fa\u7840\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u7840\u4f7f\u7528"),a.a.createElement("p",null,"\u53ea\u9700\u8981\u914d\u7f6e ",a.a.createElement("code",null,"data")," ",a.a.createElement("code",null,"columns")," ",a.a.createElement("code",null,"onUpdate")," \u5373\u53ef\u5c55\u793a\u4e00\u4e2a\u6700\u7b80\u7518\u7279\u56fe")),a.a.createElement(i["default"],t["website-basic"].previewerProps,a.a.createElement(n,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u65b0\u589e\u4efb\u52a1"},a.a.createElement(o["AnchorLink"],{to:"#\u65b0\u589e\u4efb\u52a1","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u65b0\u589e\u4efb\u52a1"),a.a.createElement("p",null,"\u70b9\u51fb\u5373\u53ef\u65b0\u5efa ",a.a.createElement("code",null,"bar"))),a.a.createElement(i["default"],t["website-add"].previewerProps,a.a.createElement(r,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u591a\u7ea7\u7ed3\u6784"},a.a.createElement(o["AnchorLink"],{to:"#\u591a\u7ea7\u7ed3\u6784","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u591a\u7ea7\u7ed3\u6784"),a.a.createElement("p",null,"\u786e\u4fdd\u6bcf\u4e2a\u8282\u70b9\u4e2d\u5305\u542b ",a.a.createElement("code",null,"children")," \u5c5e\u6027\uff0c\u5373\u53ef\u5b9e\u73b0\u591a\u7ea7\u7ed3\u6784"),a.a.createElement("p",null,"\u53ef\u4ee5\u901a\u8fc7 ",a.a.createElement("code",null,"onExpand")," \u83b7\u53d6\u5f53\u524d\u5c55\u5f00\u7684\u72b6\u6001")),a.a.createElement(i["default"],t["website-child"].previewerProps,a.a.createElement(c,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u8868\u683c\u5217","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u8868\u683c\u5217"),a.a.createElement("p",null,a.a.createElement("code",null,"columns")," \u7c7b\u578b\u5b9a\u4e49\u89c1\u7c7b\u578b\u5b9a\u4e49"),a.a.createElement("p",null,"\u5176\u4e2d\uff0c\u5982\u679c\u6bcf\u5217\u90fd\u914d\u7f6e ",a.a.createElement("code",null,"width")," \u5c5e\u6027\u3002\u7ec4\u4ef6\u5185\u90e8\u4f1a\u8ba1\u7b97\u603b\u5bbd\u5ea6\u3002\u9ed8\u8ba4\u521d\u59cb\u5316\u8868\u683c\u5bbd\u5ea6\u4e3a\u603b\u5bbd\u5ea6")),a.a.createElement(i["default"],t["website-column"].previewerProps,a.a.createElement(s,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u4f9d\u8d56\u7ed3\u6784"},a.a.createElement(o["AnchorLink"],{to:"#\u4f9d\u8d56\u7ed3\u6784","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4f9d\u8d56\u7ed3\u6784")),a.a.createElement(i["default"],t["website-dependence"].previewerProps,a.a.createElement(f,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u6e32\u67d3"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u6e32\u67d3","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u6e32\u67d3")),a.a.createElement(i["default"],t["website-render"].previewerProps,a.a.createElement(d,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u7b5b\u9009"},a.a.createElement(o["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u7b5b\u9009","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u7b5b\u9009"),a.a.createElement("p",null,"\u9ed8\u8ba4\u5f53\u524d\u65e5\u671f\u7b5b\u9009\u652f\u6301 \u65e5\u3001\u5468\u3001\u6708\u3001\u5b63\u3001\u5e74\u3002\u652f\u6301\u4f20\u5165\u914d\u7f6e\uff0c\u81ea\u5b9a\u4e49\u7b5b\u9009\u7ef4\u5ea6")),a.a.createElement(i["default"],t["website-filterunit"].previewerProps,a.a.createElement(p,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u9ad8\u7ea7\u7528\u6cd5"},a.a.createElement(o["AnchorLink"],{to:"#\u9ad8\u7ea7\u7528\u6cd5","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u9ad8\u7ea7\u7528\u6cd5"),a.a.createElement("p",null,"\u4e3b\u8981\u4ecb\u7ecd ",a.a.createElement("code",null,"alwaysShowTaskBar")," ",a.a.createElement("code",null,"unit")," \u4ee5\u53ca ",a.a.createElement("code",null,"innerRef")," \u4e0a\u5185\u7f6e\u65b9\u6cd5\u7684\u4f7f\u7528")),a.a.createElement(i["default"],t["website-custom"].previewerProps,a.a.createElement(h,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"\u7c7b\u578b\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#\u7c7b\u578b\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u7c7b\u578b\u5b9a\u4e49"),a.a.createElement("h3",{id:"column-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#column-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Column")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type ColumnAlign = 'center' | 'right' | 'left'\r\nexport interface Column {\r\n width?: number\r\n minWidth?: number\r\n maxWidth?: number\r\n flex?: number\r\n name: string\r\n label: string\r\n style?: Object\r\n render?: (item: Record) => React.ReactNode\r\n align?: ColumnAlign\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"data-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#data-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"data")," \u5b9a\u4e49"),a.a.createElement("p",null,"\u5176\u4e2d\u5185\u7f6e\u4e86\u5982\u4e0b\u51e0\u4e2a\u5b57\u6bb5\uff0c\u5982\u679c\u6570\u636e\u4e2d\u5305\u542b\u5982\u4e0b\u5c5e\u6027\u4f1a\u505a\u7279\u6b8a\u5904\u7406"),a.a.createElement(u["a"],{code:"export type Record = RecordType & {\r\n group?: boolean\r\n borderColor?: string\r\n backgroundColor?: string\r\n collapsed?: boolean\r\n children?: Record[]\r\n disabled?: boolean\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"dependence-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#dependence-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Dependence")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type DependenceType = 'start_finish' | 'finish_start' | 'start_start' | 'finish_finish'\r\nexport interface Dependence {\r\n from: string\r\n to: string\r\n type: DependenceType\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"bar-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#bar-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Bar")," \u5b9a\u4e49"),a.a.createElement("p",null,"\u5728\u6211\u4eec\u9700\u8981\u4f7f\u7528\u4e00\u4e9b\u81ea\u5b9a\u4e49\u51fd\u6570\u65f6\uff0c\u4f1a\u7ed9\u6211\u4eec\u8fd4\u56de\u5982\u4e0b\u7c7b\u578b\u6570\u636e\uff0c\u5176\u4e2d ",a.a.createElement("code",null,"record")," \u4e3a\u6e90\u6570\u636e"),a.a.createElement(u["a"],{code:"export interface Bar {\r\n key: React.Key\r\n label: string\r\n width: number\r\n translateX: number\r\n translateY: number\r\n stepGesture: string\r\n invalidDateRange: boolean\r\n dateTextFormat: (startX: number) => string\r\n getDateWidth: (startX: number, endX: number) => string\r\n task: Item\r\n record: Record\r\n loading: boolean\r\n _group?: boolean\r\n _collapsed: boolean\r\n _depth: number\r\n _index?: number\r\n _childrenCount: number\r\n _parent?: Item\r\n}",lang:"typescript"}),a.a.createElement("h3",{id:"sight-\u5b9a\u4e49"},a.a.createElement(o["AnchorLink"],{to:"#sight-\u5b9a\u4e49","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),a.a.createElement("code",null,"Sight")," \u5b9a\u4e49"),a.a.createElement(u["a"],{code:"export type Sight = 'day' | 'week' | 'month' | 'quarter' | 'halfYear'",lang:"typescript"}),a.a.createElement("h2",{id:"api"},a.a.createElement(o["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"API"),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"data"),a.a.createElement("td",null,"\u6570\u636e\u6e90"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Record[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"columns"),a.a.createElement("td",null,"\u6570\u636e\u5217"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Column[]")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"dependencies"),a.a.createElement("td",null,"\u4f9d\u8d56\u6570\u7ec4"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Dependence[]")),a.a.createElement("td",null,a.a.createElement("code",null,"[]"))),a.a.createElement("tr",null,a.a.createElement("td",null,"onUpdate"),a.a.createElement("td",null,"\u66f4\u65b0\u56de\u8c03"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record, startDate: string, endDate: string) => Promise")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"startDateKey"),a.a.createElement("td",null,"\u5f00\u59cb\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"endDateKey"),a.a.createElement("td",null,"\u7ed3\u675f\u65f6\u95f4\u5c5e\u6027 key"),a.a.createElement("td",null,a.a.createElement("code",null,"string")),a.a.createElement("td",null,a.a.createElement("code",null,"startDate"))),a.a.createElement("tr",null,a.a.createElement("td",null,"isRestDay"),a.a.createElement("td",null,"\u8fd4\u56de\u662f\u5426\u662f\u8282\u5047\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"(date: string) => boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"unit"),a.a.createElement("td",null,"\u5f53\u524d\u89c6\u56fe"),a.a.createElement("td",null,a.a.createElement("code",null,"Gantt.Sight")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"rowHeight"),a.a.createElement("td",null,"\u884c\u9ad8"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getBarColor"),a.a.createElement("td",null,"\u8fd4\u56de\u9ed8\u8ba4\u6761\u6837\u5f0f"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => ","{","backgroundColor: string;borderColor: string","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showBackToday"),a.a.createElement("td",null,"\u5c55\u793a\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"showUnitSwitch"),a.a.createElement("td",null,"\u5c55\u793a\u89c6\u56fe\u5207\u6362"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onRow"),a.a.createElement("td",null,"\u884c\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"{","onClick: (record: Gantt.Record) => void","}")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"tableIndent"),a.a.createElement("td",null,"\u8868\u683c\u7f29\u8fdb"),a.a.createElement("td",null,a.a.createElement("code",null,"number")),a.a.createElement("td",null,a.a.createElement("code",null,"30"))),a.a.createElement("tr",null,a.a.createElement("td",null,"expandIcon"),a.a.createElement("td",null,"\u5c55\u5f00\u5b50\u8282\u70b9\u56fe\u8868"),a.a.createElement("td",null,"``"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3 bar"),a.a.createElement("td",null,a.a.createElement("code",null,"renderBar?: (barInfo: Gantt.Bar, ","{"," width, height ","}",": ","{"," width: number; height: number ","}",") => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderGroupBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u7ec4"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderInvalidBar"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u62d6\u62fd"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderBarThumb"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7f29\u7565\u6e32\u67d3"),a.a.createElement("td",null),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onBarClick"),a.a.createElement("td",null,"\u884c\u70b9\u51fb\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record) => void")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"alwaysShowTaskBar"),a.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5de6\u53f3\u4fa7\u5185\u5bb9"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"true"))),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528\u56fe\u8868"),a.a.createElement("td",null,a.a.createElement("code",null,"boolean")),a.a.createElement("td",null,a.a.createElement("code",null,"false"))),a.a.createElement("tr",null,a.a.createElement("td",null,"renderLeftText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u5de6\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"renderRightText"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u6e32\u67d3\u53f3\u4fa7\u5185\u5bb9\u533a"),a.a.createElement("td",null,a.a.createElement("code",null,"(barInfo: Gantt.Bar) => React.ReactNode")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onExpand"),a.a.createElement("td",null,"\u70b9\u51fb\u5c55\u5f00\u56fe\u6807\u65f6\u89e6\u53d1"),a.a.createElement("td",null,a.a.createElement("code",null,"(record: Gantt.Record,collapsed:boolean) => void")),a.a.createElement("td",null)))),a.a.createElement("h2",{id:"\u65b9\u6cd5"},a.a.createElement(o["AnchorLink"],{to:"#\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u65b9\u6cd5"),a.a.createElement("p",null,"\u5bf9\u5916\u629b\u51fa ",a.a.createElement("code",null,"innerRef")),a.a.createElement(l["a"],null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"backToday"),a.a.createElement("td",null,"\u8fd4\u56de\u4eca\u65e5"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"getWidthByDate"),a.a.createElement("td",null,"\u8fd4\u56de\u4e8b\u4ef6"),a.a.createElement("td",null,a.a.createElement("code",null,"Function")),a.a.createElement("td",null)))))))}));t["default"]=e=>{var t=a.a.useContext(o["context"]),n=t.demos;return a.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&o["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),a.a.createElement(c,{demos:n})}},yh5m:function(e,t,n){var r=n("OOCw"),a=n("eyaU"),o=n("lkgX"),i=n("sErw"),u=n("x+sk"),l=n("QWtl"),c=n("Wldj"),s=n("h+/6"),f=a("Reflect","construct"),d=s((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!s((function(){f((function(){}))})),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){o(e),i(t);var n=arguments.length<3?e:o(arguments[2]);if(p&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var a=n.prototype,s=l(u(a)?a:Object.prototype),h=Function.apply.call(e,s,t);return u(h)?h:s}})},yjmR:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("R8Gd");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;o--){var i=o>=0?arguments[o]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return e=n(a(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),o=r(n.split("/")),i=Math.min(a.length,o.length),u=i,l=0;l=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){r=o;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,o=0,i=e.length-1;i>=0;--i){var u=e.charCodeAt(i);if(47!==u)-1===r&&(a=!1,r=i+1),46===u?-1===t?t=i:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=i+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("BBhR"))},ytxp:function(e,t,n){var r=n("7EYs");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},z43i:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},zZ4V:function(e,t,n){var r=n("KZF9");r("patternMatch")},zesz:function(e,t,n){var r=n("oEsY"),a=n("OdMF"),o=n("8i6t"),i=n("VA8o"),u=o("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=a(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},zqEY:function(e,t,n){"use strict";var r=n("OOCw"),a=n("qyeh"),o=n("sErw"),i=n("v3z7"),u=n("QHn5"),l=n("uZx/");r({target:"Map",proto:!0,real:!0,forced:a},{some:function(e){var t=o(this),n=u(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(e,n){if(r(n,e,t))return l.stop()}),void 0,!0,!0).stopped}})},zyZy:function(e,t,n){"use strict";var r=n("tSbI"),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return r.isMemo(e)?u:l[e["$$typeof"]]||a}l[r.ForwardRef]=i,l[r.Memo]=u;var s=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;function v(e,t,n){if("string"!==typeof t){if(m){var r=h(t);r&&r!==m&&v(e,r,n)}var a=f(t);d&&(a=a.concat(d(t)));for(var i=c(e),u=c(t),l=0;l