From 6021df078d113d53de49783a6088f5348e3fdef5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 19 Dec 2022 16:40:06 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../_next/static/chunks/1943-6310cc9ae4d0ffc3.js | 1 - .../_next/static/chunks/1943-6d1cab809126a603.js | 1 + ...5012847917b76df.js => 2069-d9f139bc73aea8db.js} | 6 +++--- .../_next/static/chunks/2206-53aea32a26a350a8.js | 1 + .../_next/static/chunks/2206-8da9006b177e3283.js | 1 - .../_next/static/chunks/2934-c96a01cbf005d5a7.js | 1 - ...7c1af34070ecbf4.js => 3903-40ef42f3e9eb46b5.js} | 2 +- .../_next/static/chunks/5122.62b94021bcff0430.js | 1 + .../_next/static/chunks/5122.79b201ce99890c5d.js | 1 - .../_next/static/chunks/5360-e33fd95511650040.js | 1 + .../_next/static/chunks/5360-fbeb63371734b066.js | 1 - .../_next/static/chunks/5577-80194f897feb81a1.js | 1 + .../_next/static/chunks/5577-ce77da4314c60f70.js | 1 - .../_next/static/chunks/6962-30cefca99d7f1bf3.js | 1 + .../_next/static/chunks/6962-f197cc126c73fb7f.js | 1 - .../_next/static/chunks/7022-3b2d41956634908e.js | 1 - .../_next/static/chunks/7022-4af2eaa76070d1d8.js | 1 + .../_next/static/chunks/7629-3524bc15ef1263f2.js | 1 + ...7f6f9f7aaae2bbf.js => 7830-6644d220e129b921.js} | 2 +- ...d59cce6f69e27ae.js => 8909-9e37133224b99d43.js} | 2 +- .../_next/static/chunks/911-399167d1ade77b97.js | 1 + .../_next/static/chunks/911-9156415c36038fd8.js | 1 - .../_next/static/chunks/9550-1a77c14173cd266e.js | 1 + .../_next/static/chunks/9550-db4a457e5e1bbbcf.js | 1 - .../static/chunks/pages/_app-5882a683fda1d28b.js | 14 -------------- .../static/chunks/pages/_app-64ae60cced1bff75.js | 14 ++++++++++++++ .../pages/admin/access-tokens-65cf6bb4a10c6e80.js | 1 + .../pages/admin/access-tokens-91177ddb58bd90ee.js | 1 - .../chunks/pages/admin/actions-7483f9b4cbcfc09b.js | 1 - .../chunks/pages/admin/actions-d9309f58f1f5175c.js | 1 + .../admin/config-social-items-b791a665eeb4c2aa.js | 1 - .../admin/config-social-items-ca552bb055306b51.js | 1 + .../admin/config/streamkeys-493b4188771aca21.js | 1 + .../admin/config/streamkeys-6a3f2badc0712b01.js | 1 - .../admin/federation/actions-759df0cfb5d1a5a6.js | 1 + .../admin/federation/actions-d79f77b8b18148ad.js | 1 - .../admin/federation/followers-8c2d451ee44fb398.js | 1 - .../admin/federation/followers-b5b53d29e7ef7c2c.js | 1 + .../pages/admin/hardware-info-37aa2ee7e2d842bc.js | 1 + .../pages/admin/hardware-info-afa06ef51937f55f.js | 1 - ...39722e.js => stream-health-e664baf5ae77ae63.js} | 2 +- .../pages/admin/webhooks-19849a2f5ac98960.js | 1 + .../pages/admin/webhooks-852ecc4a76a501ad.js | 1 - .../pages/embed/chat/readonly-1d789cb2de5c6857.js | 1 - .../pages/embed/chat/readonly-4ce261d4a618552c.js | 1 + ...316652d3032e.js => webpack-c09eb886013d18fa.js} | 2 +- .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/index.html | 2 +- static/web/admin/chat/emojis/index.html | 2 +- static/web/admin/chat/messages/index.html | 2 +- static/web/admin/chat/users/index.html | 2 +- static/web/admin/config-chat/index.html | 2 +- static/web/admin/config-federation/index.html | 2 +- static/web/admin/config-notify/index.html | 2 +- static/web/admin/config-public-details/index.html | 2 +- static/web/admin/config-server-details/index.html | 2 +- static/web/admin/config-social-items/index.html | 2 +- static/web/admin/config-storage/index.html | 2 +- static/web/admin/config-video/index.html | 2 +- static/web/admin/config/appearance/index.html | 2 +- static/web/admin/config/streamkeys/index.html | 2 +- static/web/admin/federation/actions/index.html | 2 +- static/web/admin/federation/followers/index.html | 2 +- static/web/admin/hardware-info/index.html | 2 +- static/web/admin/help/index.html | 2 +- static/web/admin/index.html | 2 +- static/web/admin/logs/index.html | 2 +- static/web/admin/stream-health/index.html | 2 +- static/web/admin/upgrade/index.html | 2 +- static/web/admin/viewer-info/index.html | 2 +- static/web/admin/webhooks/index.html | 2 +- static/web/embed/chat/readonly/index.html | 2 +- static/web/embed/chat/readwrite/index.html | 2 +- static/web/embed/video/index.html | 2 +- static/web/index.html | 4 ++-- 79 files changed, 76 insertions(+), 76 deletions(-) delete mode 100644 static/web/_next/static/chunks/1943-6310cc9ae4d0ffc3.js create mode 100644 static/web/_next/static/chunks/1943-6d1cab809126a603.js rename static/web/_next/static/chunks/{2069-c5012847917b76df.js => 2069-d9f139bc73aea8db.js} (92%) create mode 100644 static/web/_next/static/chunks/2206-53aea32a26a350a8.js delete mode 100644 static/web/_next/static/chunks/2206-8da9006b177e3283.js delete mode 100644 static/web/_next/static/chunks/2934-c96a01cbf005d5a7.js rename static/web/_next/static/chunks/{3903-37c1af34070ecbf4.js => 3903-40ef42f3e9eb46b5.js} (99%) create mode 100644 static/web/_next/static/chunks/5122.62b94021bcff0430.js delete mode 100644 static/web/_next/static/chunks/5122.79b201ce99890c5d.js create mode 100644 static/web/_next/static/chunks/5360-e33fd95511650040.js delete mode 100644 static/web/_next/static/chunks/5360-fbeb63371734b066.js create mode 100644 static/web/_next/static/chunks/5577-80194f897feb81a1.js delete mode 100644 static/web/_next/static/chunks/5577-ce77da4314c60f70.js create mode 100644 static/web/_next/static/chunks/6962-30cefca99d7f1bf3.js delete mode 100644 static/web/_next/static/chunks/6962-f197cc126c73fb7f.js delete mode 100644 static/web/_next/static/chunks/7022-3b2d41956634908e.js create mode 100644 static/web/_next/static/chunks/7022-4af2eaa76070d1d8.js create mode 100644 static/web/_next/static/chunks/7629-3524bc15ef1263f2.js rename static/web/_next/static/chunks/{7830-37f6f9f7aaae2bbf.js => 7830-6644d220e129b921.js} (99%) rename static/web/_next/static/chunks/{8909-6d59cce6f69e27ae.js => 8909-9e37133224b99d43.js} (77%) create mode 100644 static/web/_next/static/chunks/911-399167d1ade77b97.js delete mode 100644 static/web/_next/static/chunks/911-9156415c36038fd8.js create mode 100644 static/web/_next/static/chunks/9550-1a77c14173cd266e.js delete mode 100644 static/web/_next/static/chunks/9550-db4a457e5e1bbbcf.js delete mode 100644 static/web/_next/static/chunks/pages/_app-5882a683fda1d28b.js create mode 100644 static/web/_next/static/chunks/pages/_app-64ae60cced1bff75.js create mode 100644 static/web/_next/static/chunks/pages/admin/access-tokens-65cf6bb4a10c6e80.js delete mode 100644 static/web/_next/static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js delete mode 100644 static/web/_next/static/chunks/pages/admin/actions-7483f9b4cbcfc09b.js create mode 100644 static/web/_next/static/chunks/pages/admin/actions-d9309f58f1f5175c.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-social-items-b791a665eeb4c2aa.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-social-items-ca552bb055306b51.js create mode 100644 static/web/_next/static/chunks/pages/admin/config/streamkeys-493b4188771aca21.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js create mode 100644 static/web/_next/static/chunks/pages/admin/federation/actions-759df0cfb5d1a5a6.js delete mode 100644 static/web/_next/static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js delete mode 100644 static/web/_next/static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js create mode 100644 static/web/_next/static/chunks/pages/admin/federation/followers-b5b53d29e7ef7c2c.js create mode 100644 static/web/_next/static/chunks/pages/admin/hardware-info-37aa2ee7e2d842bc.js delete mode 100644 static/web/_next/static/chunks/pages/admin/hardware-info-afa06ef51937f55f.js rename static/web/_next/static/chunks/pages/admin/{stream-health-26c387527539722e.js => stream-health-e664baf5ae77ae63.js} (99%) create mode 100644 static/web/_next/static/chunks/pages/admin/webhooks-19849a2f5ac98960.js delete mode 100644 static/web/_next/static/chunks/pages/admin/webhooks-852ecc4a76a501ad.js delete mode 100644 static/web/_next/static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js create mode 100644 static/web/_next/static/chunks/pages/embed/chat/readonly-4ce261d4a618552c.js rename static/web/_next/static/chunks/{webpack-fec4316652d3032e.js => webpack-c09eb886013d18fa.js} (96%) rename static/web/_next/static/{pgO_dCEG6ksRzmGL_PJKC => o7W0TEEqP0MmaGPxXDXRs}/_buildManifest.js (61%) rename static/web/_next/static/{pgO_dCEG6ksRzmGL_PJKC => o7W0TEEqP0MmaGPxXDXRs}/_ssgManifest.js (100%) diff --git a/static/web/404.html b/static/web/404.html index 2cbd0b166..3b0dd9fa8 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index 2cbd0b166..3b0dd9fa8 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/chunks/1943-6310cc9ae4d0ffc3.js b/static/web/_next/static/chunks/1943-6310cc9ae4d0ffc3.js deleted file mode 100644 index b4c1b429b..000000000 --- a/static/web/_next/static/chunks/1943-6310cc9ae4d0ffc3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1943],{58909:function(e,t,n){n.d(t,{F:function(){return a}});var i=n(87462),r=n(35524),s=n(47421),o=n(59119),l=e=>{var{theme:t,settings:n,styles:i}=e,r={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(r[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(r[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(r[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(r[".cm-content"]={caretColor:n.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),r[".cm-activeLineGutter"]=l,n.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=s.tk.theme(r,{dark:"dark"===t}),h=o.Qf.define(i);return[a,(0,o.nF)(h)]},a=(e=>{var{theme:t="light",settings:n={},styles:s=[]}={};return l({theme:t,settings:(0,i.Z)({background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",gutterBorder:"transparent",lineHighlight:"#00000012"},n),styles:[{tag:[r.pJ.meta,r.pJ.comment],color:"#804000"},{tag:[r.pJ.keyword,r.pJ.strong],color:"#0000FF"},{tag:[r.pJ.number],color:"#FF0080"},{tag:[r.pJ.string],color:"#FF0080"},{tag:[r.pJ.variableName],color:"#006600"},{tag:[r.pJ.escape],color:"#33CC33"},{tag:[r.pJ.tagName],color:"#1C02FF"},{tag:[r.pJ.heading],color:"#0C07FF"},{tag:[r.pJ.quote],color:"#000000"},{tag:[r.pJ.list],color:"#B90690"},{tag:[r.pJ.documentMeta],color:"#888888"},{tag:[r.pJ.function(r.pJ.variableName)],color:"#0000A2"},{tag:[r.pJ.definition(r.pJ.typeName),r.pJ.typeName],color:"#6D79DE"},...s]})})()},87685:function(e,t,n){n.d(t,{ZP:function(){return nF}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),l=n(47421),a=n(59119),h=n(41113);let c=e=>{let t=m(e.state);return t.line?f(e):!!t.block&&p(e)};function u(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let f=u(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let l=i.length,a=1e9;for(let h=s;h<=o;){let c=t.doc.lineAt(h);if(c.from>r&&(s==o||o>c.from)){r=c.from;let u=m(t,h).line;if(!u)continue;let f=/^\s*/.exec(c.text)[0].length,d=f==c.length,p=c.text.slice(f,f+u.length)==u?f:-1;fe.comment<0&&(!e.empty||e.single))){let k=[];for(let{line:y,token:v,indent:b,empty:O,single:x}of i)(x||!O)&&k.push({from:y.from+b,insert:v+" "});let w=t.changes(k);return{changes:w,selection:t.selection.map(w,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let S=[];for(let{line:P,comment:C,token:A}of i)if(C>=0){let Q=P.from+C,T=Q+A.length;" "==P.text[T-P.from]&&T++,S.push({from:Q,to:T})}return{changes:S}}return null},0),d=u(g,0),p=u((e,t)=>g(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function m(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function g(e,t,n=t.selection.ranges){let i=n.map(e=>m(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,l=e.sliceDoc(i-50,i),a=e.sliceDoc(r,r+50),h=/\s*$/.exec(l)[0].length,c=/^\s*/.exec(a)[0].length,u=l.length-h;if(l.slice(u-t.length,u)==t&&a.slice(c,c+n.length)==n)return{open:{pos:i-h,margin:h&&1},close:{pos:r+c,margin:c&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let f=/^\s*/.exec(s)[0].length,d=/\s*$/.exec(o)[0].length,p=o.length-d-n.length;return s.slice(f,f+t.length)==t&&o.slice(p,p+n.length)==n?{open:{pos:i+f+t.length,margin:/\s/.test(s.charAt(f+t.length))?1:0},close:{pos:r-d-n.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,l;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),O=o.QQ.define({create:()=>$.empty,update(e,t){let n=t.state.facet(b),i=t.annotation(k);if(i){var r;let s;let l=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,a=A.fromTransaction(t,l),h=i.side,c=0==h?e.undone:e.done;return c=a?Q(c,c.length,n.minDepth,a):D(c,t.startState.selection),new $(0==h?i.rest:c,0==h?c:i.rest)}let u=t.annotation(y);if(("full"==u||"before"==u)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let f=A.fromTransaction(t),d=t.annotation(o.YW.time),p=t.annotation(o.YW.userEvent);return f?e=e.addChanges(f,d,p,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,d,p,n.newGroupDelay)),("full"==u||"after"==u)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new $(e.done.map(A.fromJSON),e.undone.map(A.fromJSON))});function x(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(O,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let w=x(0,!1),S=x(1,!1),P=x(0,!0),C=x(1,!0);class A{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new A(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new A(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=I;for(let i of e.startState.facet(v)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new A(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,I)}static selection(e){return new A(void 0,I,void 0,void 0,e)}}function Q(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function T(e,t){return e.length?t.length?e.concat(t):e:t}let I=[];function D(e,t){if(!e.length)return[A.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),Q(e,e.length-1,1e9,n.setSelAfter(i)))}}function R(e,t){if(!e.length)return e;let n=e.length,i=I;for(;n;){let r=function(e,t,n){let i=T(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):I,n);if(!e.changes)return A.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),l=e.mapped?e.mapped.composeDesc(s):s;return new A(r,o.Py.mapEffects(e.effects,t),l,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[A.selection(i)]:I}let M=/^(input\.type|delete)($|\.)/;class ${constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new $(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let l,a,h=this.done,c=h[h.length-1];return h=c&&c.changes&&!c.changes.empty&&e.changes&&(!n||M.test(n))&&(!c.selectionsAfter.length&&t-this.prevTimel.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(a=!0)}}),a)||"input.type.compose"==n)?Q(h,h.length-1,r,new A(e.changes.compose(c.changes),T(e.effects,c.effects),c.mapped,c.startSelection,I)):Q(h,h.length,r,e),new $(h,I,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:I;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new $(D(this.done,e),this.undone,t,n)}addMapping(e){return new $(R(this.done,e),R(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,l;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:k.of({side:e,rest:(o=(s=i)[s.length-1],(l=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),l)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let a=1==i.length?I:i.slice(0,i.length-1);return r.mapped&&(a=R(a,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:k.of({side:e,rest:a}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}$.empty=new $(I,I);let N=[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:S,preventDefault:!0},{linux:"Ctrl-Shift-z",run:S,preventDefault:!0},{key:"Mod-u",run:P,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:C,preventDefault:!0}];function E(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function z(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function B({state:e,dispatch:t},n){let i=E(e.selection,n);return!i.eq(e.selection)&&(t(z(e,i)),!0)}function W(e,t){return o.jT.cursor(t?e.to:e.from)}function J(e,t){return B(e,n=>n.empty?e.moveByChar(n,t):W(n,t))}function L(e){return e.textDirectionAt(e.state.selection.main.head)==l.Nm.LTR}let j=e=>J(e,!L(e)),F=e=>J(e,L(e));function _(e,t){return B(e,n=>n.empty?e.moveByGroup(n,t):W(n,t))}let U=e=>_(e,!L(e)),X=e=>_(e,L(e));function q(e,t,n){let i,r,s=(0,a.qz)(e).resolveInner(t.head),l=n?h.md.closedBy:h.md.openedBy;for(let c=t.head;;){let u=n?s.childAfter(c):s.childBefore(c);if(!u)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,u,l)?c=n?u.to:u.from:s=u}return r=s.type.prop(l)&&(i=n?(0,a.Um)(e,s.from,1):(0,a.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>B(e,t=>q(e.state,t,!L(e))),G=e=>B(e,t=>q(e.state,t,L(e)));function Z(e,t){return B(e,n=>{if(!n.empty)return W(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let Y=e=>Z(e,!1),K=e=>Z(e,!0);function H(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=E(i.selection,n=>n.empty?e.moveVertically(n,t,H(e)):W(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>B(e,t=>ei(e,t,!0)),es=e=>B(e,t=>ei(e,t,!1)),eo=e=>B(e,t=>ei(e,t,!L(e))),el=e=>B(e,t=>ei(e,t,L(e))),ea=e=>B(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),eh=e=>B(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),ec=({state:e,dispatch:t})=>{let n,i;return n=!1,i=E(e.selection,t=>{let i=(0,a.Um)(e,t.head,-1)||(0,a.Um)(e,t.head,1)||t.head>0&&(0,a.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(z(e.state,n)),!0)}function ef(e,t){return eu(e,n=>e.moveByChar(n,t))}let ed=e=>ef(e,!L(e)),ep=e=>ef(e,L(e));function em(e,t){return eu(e,n=>e.moveByGroup(n,t))}let eg=e=>em(e,!L(e)),ek=e=>em(e,L(e)),ey=e=>eu(e,t=>q(e.state,t,!L(e))),ev=e=>eu(e,t=>q(e.state,t,L(e)));function eb(e,t){return eu(e,n=>e.moveVertically(n,t))}let eO=e=>eb(e,!1),ex=e=>eb(e,!0);function ew(e,t){return eu(e,n=>e.moveVertically(n,t,H(e)))}let eS=e=>ew(e,!1),eP=e=>ew(e,!0),eC=e=>eu(e,t=>ei(e,t,!0)),eA=e=>eu(e,t=>ei(e,t,!1)),eQ=e=>eu(e,t=>ei(e,t,!L(e))),eT=e=>eu(e,t=>ei(e,t,L(e))),eI=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eD=e=>eu(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eR=({state:e,dispatch:t})=>(t(z(e,{anchor:0})),!0),eM=({state:e,dispatch:t})=>(t(z(e,{anchor:e.doc.length})),!0),e$=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:0})),!0),eN=({state:e,dispatch:t})=>(t(z(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),eE=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),ez=({state:e,dispatch:t})=>{let n=eK(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},eB=({state:e,dispatch:t})=>{let n=E(e.selection,t=>{var n;let i=(0,a.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(z(e,n)),!0},eW=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(z(e,i)),!0)};function eJ(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let l=t(r);lr&&(n="delete.forward",l=eL(e,l,!0)),r=Math.min(r,l),s=Math.max(s,l)}else r=eL(e,r,!1),s=eL(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?l.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eL(e,t,n){if(e instanceof l.tk)for(let i of e.state.facet(l.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let ej=(e,t)=>eJ(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,l;if(!t&&n>r.from&&nej(e,!1),e_=e=>ej(e,!0),eU=(e,t)=>eJ(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let a=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let h=(0,o.cp)(s.text,i-s.from,t)+s.from,c=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),u=l(c);if(null!=a&&u!=a)break;(" "!=c||i!=n)&&(a=u),i=h}return i}),eX=e=>eU(e,!1),eq=e=>eU(e,!0),eV=e=>eJ(e,t=>{let n=e.lineBlockAt(t).to;return teJ(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eZ=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eK(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eH(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eK(e)){if(n?s.to==e.doc.length:0==s.from)continue;let l=e.doc.lineAt(n?s.to+1:s.from-1),a=l.length+1;if(n)for(let h of(i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,h.anchor+a),Math.min(e.doc.length,h.head+a)));else for(let c of(i.push({from:l.from,to:s.from},{from:s.to,insert:e.lineBreak+l.text}),s.ranges))r.push(o.jT.range(c.anchor-a,c.head-a))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eH(e,t,!1),e1=({state:e,dispatch:t})=>eH(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eK(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e3=({state:e,dispatch:t})=>e2(e,t,!0),e4=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eK(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e9=e8(!1),e6=e8(!0);function e8(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),l=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,a.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(h.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let c=new a.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!l}),u=(0,a.K0)(c,i);for(null==u&&(u=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let l=e.doc.lineAt(s);l.number>n&&(i.empty||i.to>l.from)&&(t(l,r,i),n=l.number),s=l.to+1}let a=e.changes(r);return{changes:r,range:o.jT.range(a.mapPos(i.anchor,1),a.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new a.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e7(e,(t,r,s)=>{let o=(0,a.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let l=/^\s*/.exec(t.text)[0],h=(0,a.SS)(e,o);(l!=h||s.from!e.readOnly&&(t(e.update(e7(e,(t,n)=>{n.push({from:t.from,insert:e.facet(a.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e7(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,l=(0,a.SS)(e,Math.max(0,r-(0,a.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:ey},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:G,shift:ev},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e3},{key:"Escape",run:eW},{key:"Mod-Enter",run:e6},{key:"Alt-l",mac:"Ctrl-l",run:ez},{key:"Mod-i",run:eB,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e4},{key:"Shift-Mod-\\",run:ec},{key:"Mod-/",run:c},{key:"Alt-A",run:d}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class ta{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(tl(e)):tl,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let l=i.charCodeAt(r),a=this.match(l,s);if(a)return this.value=a,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tm(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new td(t,e.sliceString(t,n));return tf.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tm(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=td.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tm(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tg(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tk.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,l,a,h]=n,c=a?+a.slice(1):0,u=l?+l:r.number;if(l&&h){let f=u/100;s&&(f=f*("-"==s?-1:1)+r.number/i.doc.lines),u=Math.round(i.doc.lines*f)}else l&&s&&(u=u*("-"==s?-1:1)+r.number);let d=i.doc.line(Math.max(1,Math.min(i.doc.lines,u)));e.dispatch({effects:tk.of(!1),selection:o.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tu.prototype[Symbol.iterator]=tp.prototype[Symbol.iterator]=function(){return this});let tk=o.Py.define(),ty=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tk)&&(e=n.value);return e},provide:e=>l.mH.from(e,e=>e?tg:null)}),tv=e=>{let t=(0,l.Sd)(e,tg);if(!t){let n=[tk.of(!0)];null==e.state.field(ty,!1)&&n.push(o.Py.appendConfig.of([ty,tb])),e.dispatch({effects:n}),t=(0,l.Sd)(e,tg)}return t&&t.dom.querySelector("input").focus(),!0},tb=l.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tO={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},tx=o.r$.define({combine:e=>(0,o.BO)(e,tO,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tw=l.p.mark({class:"cm-selectionMatch"}),tS=l.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tP(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tC=l.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(tx),{state:n}=e,i=n.selection;if(i.ranges.length>1)return l.p.none;let r=i.main,s,a=null;if(r.empty){if(!t.highlightWordAroundCursor)return l.p.none;let h=n.wordAt(r.head);if(!h)return l.p.none;a=n.charCategorizer(r.head),s=n.sliceDoc(h.from,h.to)}else{let c=r.to-r.from;if(c200)return l.p.none;if(t.wholeWords){var u,f,d;if(s=n.sliceDoc(r.from,r.to),!(tP(a=n.charCategorizer(r.head),n,r.from,r.to)&&(u=a,f=r.from,d=r.to,u(n.sliceDoc(f,f+1))==o.D0.Word&&u(n.sliceDoc(d-1,d))==o.D0.Word)))return l.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return l.p.none}let p=[];for(let m of e.visibleRanges){let g=new ta(n.doc,s,m.from,m.to);for(;!g.next().done;){let{from:k,to:y}=g.value;if((!a||tP(a,n,k,y))&&(r.empty&&k<=r.from&&y>=r.to?p.push(tS.range(k,y)):(k>=r.to||y<=r.from)&&p.push(tw.range(k,y)),p.length>t.maxMatches))return l.p.none}}return l.p.set(p)}},{decorations:e=>e.decorations}),tA=l.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tQ=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tT=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tQ({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,l=new ta(e.doc,t,i[i.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new ta(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==l.value.from))continue;if(s){let a=e.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:l.tk.scrollIntoView(r.to)})),!0)},tI=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t3(e)})});class tD{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,tc),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tB(this):new t$(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tN(this,i,t,n):tM(this,i,t,n)}}class tR{constructor(e){this.spec=e}}function tM(e,t,n,i){var r,s;return new ta(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tM(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tN(e,t,n,i){var r;return new tu(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(tE(n.input,n.index))!=o.D0.Word||r(tz(n.input,n.index))!=o.D0.Word)&&(r(tz(n.input,n.index+n[0].length))!=o.D0.Word||r(tE(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function tE(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tz(e,t){return e.slice(t,(0,o.cp)(e,t))}class tB extends tR{nextMatch(e,t,n){let i=tN(this.spec,e,n,e.doc.length).next();return i.done&&(i=tN(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tN(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tN(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tW=o.Py.define(),tJ=o.Py.define(),tL=o.QQ.define({create:e=>new tj(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tW)?e=new tj(n.value.create(),e.panel):n.is(tJ)&&(e=new tj(e.query,n.value?tH:null));return e},provide:e=>l.mH.from(e,e=>e.panel)});class tj{constructor(e,t){this.query=e,this.panel=t}}let tF=l.p.mark({class:"cm-searchMatch"}),t_=l.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=l.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tL))}update(e){let t=e.state.field(tL);(t!=e.startState.field(tL)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return l.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,a=s.length;rs[r+1].from-500;)c=s[++r].to;e.highlight(n.state,h,c,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?t_:tF)})}return i.finish()}},{decorations:e=>e.decorations});function tX(e){return t=>{let n=t.state.field(tL,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tq=tX((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t6(e,i),userEvent:"select.search"}),!0)}),tV=tX((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t6(e,r),userEvent:"select.search"}),!0)}),tG=tX((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tZ=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],l=0;for(let a=new ta(e.doc,e.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(l=s.length),s.push(o.jT.range(a.value.from,a.value.to))}return t(e.update({selection:o.jT.create(s,l),userEvent:"select.search.matches"})),!0},tY=tX((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],a,h,c=[];if(s.from==i&&s.to==r&&(h=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:h}),s=t.nextMatch(n,s.from,s.to),c.push(l.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=0==o.length||o[0].from>=s.to?0:s.to-s.from-h.length;a={anchor:s.from-u,head:s.to-u},c.push(t6(e,s))}return e.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),tK=tX((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:l.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tH(e){return e.state.facet(tI).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,l=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!l)return t;let a=e.facet(tI);return new tD({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:a.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:a.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:a.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:a.wholeWord})}let t1=e=>{let t=e.state.field(tL,!1);if(t&&t.panel){let n=(0,l.Sd)(e,tH);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tW.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tJ.of(!0),t?tW.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t7)]});return!0},t2=e=>{let t=e.state.field(tL,!1);if(!t||!t.panel)return!1;let n=(0,l.Sd)(e,tH);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tJ.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tq,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tq,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tZ},{key:"Alt-g",run:tv},{key:"Mod-d",run:tT,preventDefault:!0}];class t3{constructor(e){this.view=e;let t=this.query=e.state.field(tL).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t4(e,"Find"),"aria-label":t4(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t4(e,"Replace"),"aria-label":t4(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tq(e),[t4(e,"next")]),n("prev",()=>tV(e),[t4(e,"previous")]),n("select",()=>tG(e),[t4(e,"all")]),to("label",null,[this.caseField,t4(e,"match case")]),to("label",null,[this.reField,t4(e,"regexp")]),to("label",null,[this.wordField,t4(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tY(e),[t4(e,"replace")]),n("replaceAll",()=>tK(e),[t4(e,"replace all")])],to("button",{name:"close",onclick:()=>t2(e),"aria-label":t4(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new tD({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tW.of(e)}))}keydown(e){(0,l.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tq)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tY(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tW)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tI).top}}function t4(e,t){return e.state.phrase(t)}let t9=/[\s\.,:;?!]/;function t6(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),a=e.state.sliceDoc(s,o);if(s!=i.from){for(let h=0;h<30;h++)if(!t9.test(a[h+1])&&t9.test(a[h])){a=a.slice(h);break}}if(o!=r){for(let c=a.length-1;c>a.length-30;c--)if(!t9.test(a[c-1])&&t9.test(a[c])){a=a.slice(0,c);break}}return l.tk.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${i.number}.`)}let t8=l.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t7=[tL,o.Wl.lowest(tU),t8];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(nk).markerFilter;r&&(i=r(i));let s=l.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?l.p.widget({widget:new nb(e),diagnostic:e}).range(e.from):l.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nh,!1)?t:t.concat(o.Py.appendConfig.of([nh,l.tk.decorations.compute([nh],e=>{let{selected:t,panel:n}=e.field(nh);return t&&n&&t.from!=t.to?l.p.set([nc.range(t.from,t.to)]):l.p.none}),(0,l.bF)(nu,{hideOn:nr}),nS]))}let no=o.Py.define(),nl=o.Py.define(),na=o.Py.define(),nh=o.QQ.define({create:()=>new nn(l.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(nl)?e=new nn(e.diagnostics,s.value?nx.open:null,e.selected):s.is(na)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[l.mH.from(e,e=>e.panel),l.tk.decorations.from(e,e=>e.diagnostics)]}),nc=l.p.mark({class:"cm-lintRange cm-lintRange-active"});function nu(e,t,n){let{diagnostics:i}=e.state.field(nh),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:l})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nv(e,t,!1)))}(e,r)})}:null}let nf=e=>{let t=e.state.field(nh,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[nl.of(!0)])});let n=(0,l.Sd)(e,nx.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nd=e=>{let t=e.state.field(nh,!1);return!!t&&!!t.panel&&(e.dispatch({effects:nl.of(!1)}),!0)},np=e=>{let t=e.state.field(nh,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},nm=[{key:"Mod-Shift-m",run:nf,preventDefault:!0},{key:"F8",run:np}],ng=l.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(nk);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,l.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(nk);(e.docChanged||t!=e.startState.facet(nk))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),nk=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:ng});function ny(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nv(e,t,n){var i;let r=n?ny(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nh).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,l=r[i]?o.indexOf(r[i]):-1,a=l<0?o:[o.slice(0,l),to("u",o.slice(l,l+1)),o.slice(l+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${l<0?"":` (access key "${r[i]})"`}.`},a)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nb extends l.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nO{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nv(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nx{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nd(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=ny(n.actions);for(let r=0;r{for(let t=0;tnd(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nh).selected;if(!e)return -1;for(let t=0;t{let l=-1,a;for(let h=n;hn&&(this.items.splice(n,l-n),i=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nh).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:na.of(t)})}static open(e){return new nx(e)}}function nw(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let nS=l.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nw("#d11")},".cm-lintRange-warning":{backgroundImage:nw("orange")},".cm-lintRange-info":{backgroundImage:nw("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});l.SJ;let nP=o.Py.define();var nC=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(N)),!1!==e.foldKeymap&&(n=n.concat(a.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(nm));var i=[];if(!1!==e.lineNumbers&&i.push((0,l.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,l.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,l.AE)()),!1!==e.history&&i.push(function(e={}){return[O,b.of(e),l.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?w:"historyRedo"==e.inputType?S:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,a.mi)()),!1!==e.drawSelection&&i.push((0,l.Uw)()),!1!==e.dropCursor&&i.push((0,l.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,a.nY)()),!1!==e.syntaxHighlighting&&i.push((0,a.nF)(a.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,a.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,l.Zs)()),!1!==e.crosshairCursor&&i.push((0,l.S2)()),!1!==e.highlightActiveLine&&i.push((0,l.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tA,tC],t&&r.push(tx.of(t)),r))}return e.tabSize&&"number"==typeof e.tabSize&&i.push(a.c.of(" ".repeat(e.tabSize))),i.concat([l.$f.of(n.flat())]).filter(Boolean)},nA=n(35524);let nQ="#e06c75",nT="#abb2bf",nI="#7d8799",nD="#d19a66",nR="#2c313a",nM="#282c34",n$="#353a42",nN="#528bff",nE=l.tk.theme({"&":{color:nT,backgroundColor:nM},".cm-content":{caretColor:nN},".cm-cursor, .cm-dropCursor":{borderLeftColor:nN},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nT},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nM,color:nI,border:"none"},".cm-activeLineGutter":{backgroundColor:nR},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n$},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n$,borderBottomColor:n$},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nR,color:nT}}},{dark:!0}),nz=a.Qf.define([{tag:nA.pJ.keyword,color:"#c678dd"},{tag:[nA.pJ.name,nA.pJ.deleted,nA.pJ.character,nA.pJ.propertyName,nA.pJ.macroName],color:nQ},{tag:[nA.pJ.function(nA.pJ.variableName),nA.pJ.labelName],color:"#61afef"},{tag:[nA.pJ.color,nA.pJ.constant(nA.pJ.name),nA.pJ.standard(nA.pJ.name)],color:nD},{tag:[nA.pJ.definition(nA.pJ.name),nA.pJ.separator],color:nT},{tag:[nA.pJ.typeName,nA.pJ.className,nA.pJ.number,nA.pJ.changed,nA.pJ.annotation,nA.pJ.modifier,nA.pJ.self,nA.pJ.namespace],color:"#e5c07b"},{tag:[nA.pJ.operator,nA.pJ.operatorKeyword,nA.pJ.url,nA.pJ.escape,nA.pJ.regexp,nA.pJ.link,nA.pJ.special(nA.pJ.string)],color:"#56b6c2"},{tag:[nA.pJ.meta,nA.pJ.comment],color:nI},{tag:nA.pJ.strong,fontWeight:"bold"},{tag:nA.pJ.emphasis,fontStyle:"italic"},{tag:nA.pJ.strikethrough,textDecoration:"line-through"},{tag:nA.pJ.link,color:nI,textDecoration:"underline"},{tag:nA.pJ.heading,fontWeight:"bold",color:nQ},{tag:[nA.pJ.atom,nA.pJ.bool,nA.pJ.special(nA.pJ.variableName)],color:nD},{tag:[nA.pJ.processingInstruction,nA.pJ.string,nA.pJ.inserted],color:"#98c379"},{tag:nA.pJ.invalid,color:"#ffffff"}]),nB=[nE,(0,a.nF)(nz)];var nW=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nJ=n(85893),nL=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nj=(0,s.forwardRef)((e,t)=>{var{className:n,value:a="",selection:h,extensions:c=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,root:Q,initialState:T}=e,I=(0,r.Z)(e,nL),D=(0,s.useRef)(null),{state:R,view:M,container:$,setContainer:N}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:a,onUpdate:h,extensions:c=[],autoFocus:u,theme:f="light",height:d="",minHeight:p="",maxHeight:m="",placeholder:g="",width:k="",minWidth:y="",maxWidth:v="",editable:b=!0,readOnly:O=!1,indentWithTab:x=!0,basicSetup:w=!0,root:S,initialState:P}=e,[C,A]=(0,s.useState)(),[Q,T]=(0,s.useState)(),[I,D]=(0,s.useState)(),R=l.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),M=l.tk.theme({"&":{height:d,minHeight:p,maxHeight:m,width:k,minWidth:y,maxWidth:v}}),$=[l.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nW(e))}),M];switch(x&&$.unshift(l.$f.of([ts])),w&&("boolean"==typeof w?$.unshift(nC()):$.unshift(nC(w))),g&&$.unshift((0,l.W$)(g)),f){case"light":$.push(R);break;case"dark":$.push(nB);break;case"none":break;default:$.push(f)}return!1===b&&$.push(l.tk.editable.of(!1)),O&&$.push(o.yy.readOnly.of(!0)),h&&"function"==typeof h&&$.push(l.tk.updateListener.of(h)),$=$.concat(c),(0,s.useEffect)(()=>{if(C&&!I){var e={doc:t,selection:n,extensions:$},i=P?o.yy.fromJSON(P.json,e,P.fields):o.yy.create(e);if(D(i),!Q){var r=new l.tk({state:i,parent:C,root:S});T(r),a&&a(r,i)}}return()=>{Q&&(D(void 0),T(void 0))}},[C,I]),(0,s.useEffect)(()=>A(e.container),[e.container]),(0,s.useEffect)(()=>()=>{Q&&(Q.destroy(),T(void 0))},[Q]),(0,s.useEffect)(()=>{u&&Q&&Q.focus()},[u,Q]),(0,s.useEffect)(()=>{Q&&Q.dispatch({effects:o.Py.reconfigure.of($)})},[f,c,d,p,m,k,y,v,g,b,O,x,w,i,h]),(0,s.useEffect)(()=>{var e=Q?Q.state.doc.toString():"";Q&&t!==e&&Q.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,Q]),{state:I,setState:D,view:Q,setView:T,container:C,setContainer:A}}({container:D.current,root:Q,value:a,autoFocus:m,theme:g,height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,selection:h,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:c,initialState:T});if((0,s.useImperativeHandle)(t,()=>({editor:D.current,state:R,view:M}),[D,$,R,M]),"string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);return(0,nJ.jsx)("div",(0,i.Z)({ref:D,className:("string"==typeof g?"cm-theme-"+g:"cm-theme")+(n?" "+n:"")},I))});nj.displayName="CodeMirror";var nF=nj},34790:function(e,t,n){n.d(t,{B1:function(){return eP},GA:function(){return ev},Gn:function(){return es},Mb:function(){return a},eC:function(){return h},vQ:function(){return ef},ys:function(){return eS}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(f(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function l(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function a(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function h(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class c{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function u(e){return e.selection.main.head}function f(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}let d=i.q6.define();function p(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,l;e.dispatch(Object.assign(Object.assign({},(s=e.state,o=r.from,l=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:l,insert:n},range:i.jT.cursor(o+n.length)};let t=l-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,l)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"}))),{annotations:d.of(t.completion)}))}else n(e,t.completion,r.from,r.to)}let m=new WeakMap;function g(e){if(!Array.isArray(e))return e;let t=m.get(e);return t||m.set(e,t=a(e)),t}class k{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&P<=57||P>=97&&P<=122?2:P>=65&&P<=90?1:0:(C=(0,i.bg)(P))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!x||1==A&&b||0==S&&0!=A)&&(t[m]==P||n[m]==P&&(g=!0)?o[m++]=x:o.length&&(O=!1)),S=A,x+=(0,i.nZ)(P)}return m==h&&0==o[0]&&O?this.result(-100+(g?-200:0),o,e):k==h&&0==y?[-200-e.length,0,v]:a>-1?[-700-e.length,a,a+this.pattern.length]:k==h?[-900-e.length,y,v]:m==h?this.result(-100+(g?-200:0)+-700+(O?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let l=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return r}}let y=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function v(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class b{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this},this.space=null;let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(y);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,l)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(r.slice(l,a))),h.className="cm-completionMatchedText",s=a}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=v(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,n,i;let r=e.state.field(this.stateField),s=e.startState.field(this.stateField);r!=s&&(this.updateSel(),(null===(t=r.open)||void 0===t?void 0:t.disabled)!=(null===(n=s.open)||void 0===n?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(null===(i=r.open)||void 0===i?void 0:i.disabled)))}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=v(t.options.length,t.selected,this.view.state.facet(y).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,l=this.range.from;o;o=o.nextSibling,l++)l==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}if(i.top>Math.min(s.bottom,t.bottom)-10||i.bottom=n.height||m>t.top?u=i.bottom-t.top+"px":f=t.bottom-i.top+"px"}return{top:u,bottom:f,maxWidth:c,class:h?l?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new x(this.options,P(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let l=[1e9-i++];if(s)for(let a of s(o))l.push(a);n.push(new c(o,r,l))}}else{let h=new k(t.sliceDoc(r.from,r.to)),u;for(let f of r.result.options)(u=h.match(f.label))&&(null!=f.boost&&(u[0]+=f.boost),n.push(new c(f,r,u)))}}let d=[],p=null,m=t.facet(y).compareCompletions;for(let g of n.sort((e,t)=>t.match[0]-e.match[0]||m(e.completion,t.completion)))p&&p.label==g.completion.label&&p.detail==g.completion.detail&&(null==p.type||null==g.completion.type||p.type==g.completion.type)&&p.apply==g.completion.apply?O(g.completion)>O(p)&&(d[d.length-1]=g):d.push(g),p=g.completion;return d}(e,t);if(!s.length)return i&&e.some(e=>1==e.state)?new x(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=t.facet(y).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let l=i.options[i.selected].completion;for(let a=0;at.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new b(e,$),above:r.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(e){return new x(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class w{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new w(C,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(y),i=(n.override||t.languageDataAt("autocomplete",u(t)).map(g)).map(t=>(this.active.find(e=>e.source==t)||new Q(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=this.open;for(let s of(e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1==e.state)?r=null:r&&e.docChanged&&(r=r.map(e.changes)),!r&&i.every(e=>1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new Q(e.source,0):e)),e.effects))s.is(M)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new w(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:S}}let S={"aria-autocomplete":"list"};function P(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let C=[];function A(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class Q{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=A(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new Q(i.source,0)),e.effects))if(r.is(I))i=new Q(i.source,1,r.value?u(e.state):-1);else if(r.is(D))i=new Q(i.source,0);else if(r.is(R))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new Q(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(u(e.startState))?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Q(this.source,this.state,e.mapPos(this.explicitPos))}}class T extends Q{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),l=u(e.state);if((this.explicitPos<0?l<=r:ls||"delete"==t&&u(e.startState)==this.from)return new Q(this.source,"input"==t&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),h;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):f(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(h=this.result.update(this.result,r,s,new o(e.state,l,a>=0)))?new T(this.source,a,h,h.from,null!==(i=h.to)&&void 0!==i?i:u(e.state)):new Q(this.source,1,a):new T(this.source,a,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Q(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new T(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let I=i.Py.define(),D=i.Py.define(),R=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),M=i.Py.define(),$=i.QQ.define({create:()=>w.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function N(e,t="option"){return n=>{let i=n.state.field($,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:l-1;return a<0?a="page"==t?0:l-1:a>=l&&(a="page"==t?l-1:0),n.dispatch({effects:M.of(a)}),!0}}let E=e=>{let t=e.state.field($,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field($,!1)&&(e.dispatch({effects:I.of(!0)}),!0),B=e=>{let t=e.state.field($,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:D.of(null)}),!0)};class W{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let J=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field($).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field($);if(!e.selectionSet&&!e.docChanged&&e.startState.field($)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!A(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(l){(0,r.OO)(this.view.state,l)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let a of e.transactions)"input"==A(a)?this.composing=2:2==this.composing&&a.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view;for(let t of e.field($).active)1!=t.state||this.running.some(e=>e.active.source==t.source)||this.startQuery(t)}startQuery(e){let{state:t}=this.view,n=u(t),i=new o(t,n,e.explicitPos==n),s=new W(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:D.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(y);for(let i=0;ie.source==r.active.source);if(l&&1==l.state){if(null==r.done){let a=new Q(r.active.source,0);for(let h of r.updates)a=a.update(h,n);1!=a.state&&t.push(a)}else this.startQuery(l)}}t.length&&this.view.dispatch({effects:R.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field($,!1);e&&e.tooltip&&this.view.state.facet(y).closeOnBlur&&this.view.dispatch({effects:D.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:I.of(!1)}),20),this.composing=0}}}),L=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class j{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class F{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new F(this.field,t,n)}}class _{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let a=o,h=/^\t*/.exec(l)[0].length;for(let c=0;cnew F(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:u}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,l=r[2]||r[3]||"",a=-1;for(let h=0;h=a&&u.field++}i.push(new j(a,n.length,r.index,r.index+l.length)),s=s.slice(0,r.index)+l+s.slice(r.index+r[0].length)}for(let f;f=/\\([{}])/.exec(s);)for(let d of(s=s.slice(0,f.index)+f[1]+s.slice(f.index+f[0].length),i))d.line==n.length&&d.from>f.index&&(d.from--,d.to--);n.push(s)}return new _(n,i)}}let U=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),X=r.p.mark({class:"cm-snippetField"});class q{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?U:X).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new q(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let V=i.Py.define({map:(e,t)=>e&&e.map(t)}),G=i.Py.define(),Z=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(V))return n.value;if(n.is(G)&&e)return new q(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function K(e){return({state:t,dispatch:n})=>{let i=t.field(Z,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:V.of(s?null:new q(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(Z,!1)&&(t(e.update({effects:V.of(null)})),!0),ee=K(1),et=K(-1),en=[{key:"Tab",run:ee,shift:et},{key:"Escape",run:H}],ei=i.r$.define({combine:e=>e.length?e[0]:en}),er=i.Wl.highest(r.$f.compute([ei],e=>e.facet(ei)));function es(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=_.parse(e),(e,t,r,s)=>{let{text:o,ranges:l}=n.instantiate(e.state,r),a={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(l.length&&(a.selection=Y(l,0)),l.length>1){let h=new q(l,0),c=a.effects=[V.of(h)];void 0===e.state.field(Z,!1)&&c.push(i.Py.appendConfig.of([Z,er,eo,L]))}e.dispatch(e.state.update(a))})})}let eo=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(Z,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:V.of(n.ranges.some(e=>e.field>r.field)?new q(n.ranges,r.field):null)}),!0)}}),el={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),eh=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eu=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(eh)&&(e=e.update({filter:e=>e!=s.value}));return e}});function ef(){return[ek,eu]}let ed="()[]{}<>";function ep(e){for(let t=0;t{if((eg?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let l=function(e,t){let n=em(e,e.selection.main.head),r=n.brackets||el.brackets;for(let o of r){let l=ep((0,i.gm)(o,0));if(t==o)return l==o?function(e,t,n,r){let o=r.stringPrefixes||el.stringPrefixes,l=null,a=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let a=r.head,h=eO(e.doc,a),c;if(h==t){if(ex(e,a))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};if(eb(e,a)){let u=n&&e.sliceDoc(a,a+3*t.length)==t+t+t;return{range:i.jT.cursor(a+t.length*(u?3:1)),effects:eh.of(a)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(c=ew(e,a-2*t.length,o))>-1&&ex(e,c))return{changes:{insert:t+t+t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};else if(e.charCategorizer(a)(h)!=i.D0.Word&&ew(e,a,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let l=0;l<5;l++){let a=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),h=a.indexOf(n);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let c=r.firstChild;for(;c&&c.from==r.from&&c.to-c.from>n.length+h;){if(e.sliceDoc(c.to-n.length,c.to)==n)return!1;c=c.firstChild}return!0}let u=r.to==t&&r.parent;if(!u)break;r=u}return!1}(e,a,t,o))return{changes:{insert:t+t,from:a},effects:ea.of(a+t.length),range:i.jT.cursor(a+t.length)};return{range:l=r}});return l?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let l=eO(e.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,l,n.before||el.before);if(t==l&&eb(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&eO(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>eh.of(e))})}(e,0,l)}return null}(e.state,r);return!!l&&(e.dispatch(l),!0)}),ey=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||el.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let l;let a=(s=e.doc,o=t.head,l=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(l,0))==l.length?l:l.slice(1));for(let h of n)if(h==a&&eO(e.doc,t.head)==ep((0,i.gm)(h,0)))return{changes:{from:t.head-h.length,to:t.head+h.length},range:i.jT.cursor(t.head-h.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},ev=[{key:"Backspace",run:ey}];function eb(e,t){let n=!1;return e.field(eu).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eO(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ex(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ew(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function eS(e={}){return[$,y.of(e),J,eC,L]}let eP=[{key:"Ctrl-Space",run:z},{key:"Escape",run:B},{key:"ArrowDown",run:N(!0)},{key:"ArrowUp",run:N(!1)},{key:"PageDown",run:N(!0,"page")},{key:"PageUp",run:N(!1,"page")},{key:"Enter",run:E}],eC=i.Wl.highest(r.$f.computeN([y],e=>e.facet(y).defaultKeymap?[eP]:[]))},61426:function(e,t,n){n.r(t),n.d(t,{css:function(){return S},cssCompletionSource:function(){return x},cssLanguage:function(){return w}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let l=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:l}=e;if(o(l)||45==l||95==l||n&&(s=l)>=48&&s<=57)!n&&(45!=l||r>0)&&(n=!0),i===r&&45==l&&i++,e.advance();else{n&&e.acceptToken(40==l?95:2==i&&t.canShift(2)?2:96);break}}}),a=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(94)}}),h=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),c=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),u={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},f={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},d={__proto__:null,not:128,only:128,from:158,to:160},p=i.WQ.deserialize({version:14,states:"7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[a,h,l,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:95,get:e=>u[e]||-1},{term:56,get:e=>f[e]||-1},{term:96,get:e=>d[e]||-1}],tokenPrec:1123});var m=n(59119);let g=null;function k(){if(!g&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);g=e.sort().map(e=>({type:"property",label:e}))}return g||[]}let y=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),v=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),b=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),O=/^[\w-]*/,x=e=>{let{state:t,pos:n}=e,i=(0,m.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:k(),validFor:O};if("ValueName"==i.name)return{from:i.from,options:v,validFor:O};if("PseudoClassName"==i.name)return{from:i.from,options:y,validFor:O};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:k(),validFor:O};return{from:i.from,options:b,validFor:O}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:y,validFor:O}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:v,validFor:O}:"Block"==s.name?{from:n,options:k(),validFor:O}:null},w=m.qp.define({name:"css",parser:p.configure({props:[m.uj.add({Declaration:(0,m.tC)()}),m.x0.add({Block:m.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function S(){return new m.ri(w,w.data.of({autocomplete:x}))}},59119:function(e,t,n){n.d(t,{Be:function(){return k},Dv:function(){return F},Gn:function(){return D},K0:function(){return I},Qf:function(){return ef},R_:function(){return ey},SQ:function(){return u},SS:function(){return T},Um:function(){return eT},c:function(){return A},c6:function(){return P},e7:function(){return ei},il:function(){return eM},kU:function(){return c},mi:function(){return ec},n$:function(){return eA},nF:function(){return eg},nY:function(){return J},pp:function(){return h},qp:function(){return d},qz:function(){return p},ri:function(){return S},tC:function(){return W},uj:function(){return R},vw:function(){return E},x0:function(){return j},y1:function(){return Q},ze:function(){return B}});var i,r=n(41113),s=n(78120),o=n(47421),l=n(35524),a=n(28699);let h=new r.md;function c(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class u{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return p(this)}}),this.parser=t,this.extension=[w.of(this),s.yy.languageData.of((e,t,n)=>e.facet(f(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n)==this.data}findRegions(e){let t=e.facet(w);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(h)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(h)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let l=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>l)return}}for(let a=0;ae.isTop?t:void 0)]}),e.name)}configure(e,t){return new d(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(e){let t=e.field(u.state,!1);return t?t.tree:r.mp.empty}class m{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let g=null;class k{constructor(e,t,n=[],i,r,s,o,l){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new k(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=g;g=this;try{return e()}finally{g=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=y(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((e,t,n,i)=>a.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,a),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let h of(l=[],this.skipped)){let c=e.mapPos(h.from,1),u=e.mapPos(h.to,-1);ce.from&&(this.fragments=y(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=g;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return g}}function y(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class v{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new v(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=k.create(e.facet(w).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new v(n)}}u.state=s.QQ.define({create:v.init,update(e,t){for(let n of t.effects)if(n.is(u.setState))return n.value;return t.startState.facet(w)!=t.state.facet(w)?v.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let O="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,l=r.context.work(()=>O&&O()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(l||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new v(r.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),w=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,x,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class S{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class P{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let C=s.r$.define(),A=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function Q(e){let t=e.facet(A);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function T(e,t){let n="",i=e.tabSize;if(9==e.facet(A).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let R=new r.md;function M(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(R);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>z(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?$:null}(e);if(i)return i(N.create(n,t,e))}return null}function $(){return 0}class N extends D{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new N(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?M(e,this.pos,this.base):0}}function E({closing:e,align:t=!0,units:n=1}){return i=>z(i,t,n,e)}function z(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,l=i&&s.slice(o,o+i.length)==i||r==e.pos+o,a=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let l=n.to;;){let a=t.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.frome.baseIndent;function W({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function J(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,l=-1,a=[];for(let{head:h}of o.selection.ranges){let c=o.doc.lineAt(h);if(c.from==l)continue;l=c.from;let u=I(o,c.from);if(null==u)continue;let f=/^\s*/.exec(c.text)[0],d=T(o,u);f!=d&&a.push({from:c.from,to:c.from+f.length,insert:d})}return a.length?[e,{changes:a,sequential:!0}]:e})}let L=s.r$.define(),j=new r.md;function F(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&a.to>n&&(s=a)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let X=s.Py.define({map:U}),q=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let G=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(X)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[el.range(n.value.from,n.value.to)]}):n.is(q)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function Y(e,t){return e.field(G,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let K=e=>{for(let t of V(e)){let n=_(e.state,t.from,t.to);if(n)return e.dispatch({effects:Y(e.state,[X.of(n),ee(e,n)])}),!0}return!1},H=e=>{if(!e.state.field(G,!1))return!1;let t=[];for(let n of V(e)){let i=Z(e.state,n.from,n.to);i&&t.push(q.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(G,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(q.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:K},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:H},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[G,eu];return e&&t.push(es.of(e)),t}let el=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Z(e.state,n.from,n.to);i&&e.dispatch({effects:q.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),ea={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class eh extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function ec(e={}){let t=Object.assign(Object.assign({},ea),e),n=new eh(t,!0),i=new eh(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(w)!=e.state.facet(w)||e.startState.field(G,!1)!=e.state.field(G,!1)||p(e.startState)!=p(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Z(e.state,r.from,r.to)?i:_(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:l}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new eh(t,!1),domEventHandlers:Object.assign(Object.assign({},l),{click(e,t,n){if(l.click&&l.click(e,t,n))return!0;let i=Z(e.state,t.from,t.to);if(i)return e.dispatch({effects:q.of(i)}),!0;let r=_(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:X.of(r)}),!0)}})}),eo()]}let eu=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ef{constructor(e,t){let n;function i(e){let t=a.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(h)==s.data:s?e=>e==s:void 0,this.style=(0,l.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new a.V(n):null,this.themeType=t.themeType}static define(e,t){return new ef(e,t||{})}}let ed=s.r$.define(),ep=s.r$.define({combine:e=>e.length?[e[0]]:null});function em(e){let t=e.facet(ed);return t.length?t:e.facet(ep)}function eg(e,t){let n=[ek],i;return e instanceof ef&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):i?n.push(ed.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ed.of(e)),n}let ek=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=p(e.state),this.decorations=this.buildDeco(e,em(e.state))}update(e){let t=p(e.state),n=em(e.state),i=n!=em(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),ey=ef.define([{tag:l.pJ.meta,color:"#7a757a"},{tag:l.pJ.link,textDecoration:"underline"},{tag:l.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l.pJ.emphasis,fontStyle:"italic"},{tag:l.pJ.strong,fontWeight:"bold"},{tag:l.pJ.strikethrough,textDecoration:"line-through"},{tag:l.pJ.keyword,color:"#708"},{tag:[l.pJ.atom,l.pJ.bool,l.pJ.url,l.pJ.contentSeparator,l.pJ.labelName],color:"#219"},{tag:[l.pJ.literal,l.pJ.inserted],color:"#164"},{tag:[l.pJ.string,l.pJ.deleted],color:"#a11"},{tag:[l.pJ.regexp,l.pJ.escape,l.pJ.special(l.pJ.string)],color:"#e40"},{tag:l.pJ.definition(l.pJ.variableName),color:"#00f"},{tag:l.pJ.local(l.pJ.variableName),color:"#30a"},{tag:[l.pJ.typeName,l.pJ.namespace],color:"#085"},{tag:l.pJ.className,color:"#167"},{tag:[l.pJ.special(l.pJ.variableName),l.pJ.macroName],color:"#256"},{tag:l.pJ.definition(l.pJ.propertyName),color:"#00c"},{tag:l.pJ.comment,color:"#940"},{tag:l.pJ.invalid,color:"#f00"}]),ev=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),eb="()[]{}",eO=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:eb,maxScanDistance:1e4,renderMatch:eS})}),ex=o.p.mark({class:"cm-matchingBracket"}),ew=o.p.mark({class:"cm-nonmatchingBracket"});function eS(e){let t=[],n=e.matched?ex:ew;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eP=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(eO);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eT(t.state,r.head,-1,i)||r.head>0&&eT(t.state,r.head-1,1,i)||i.afterCursor&&(eT(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),eC=[eP,ev];function eA(e={}){return[eO.of(e),eC]}function eQ(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eT(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||eb,o=p(e),l=o.resolveInner(t,n);for(let a=l;a;a=a.parent){let h=eQ(a.type,n,s);if(h&&a.from=i.to){if(0==a&&r.indexOf(h.type.name)>-1&&h.from0)return null;let h={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;n<0&&(f+=d.length);let p=t+f*n;for(let m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){let k=o.indexOf(d[m]);if(!(k<0)&&i.resolveInner(p+m,1).type==r){if(k%2==0==n>0)u++;else{if(1==u)return{start:h,end:{from:p+m,to:p+m+1},matched:k>>1==a>>1};u--}}}n>0&&(f+=d.length)}return c.done?{start:h,matched:!1}:null}(e,t,n,o,l.type,r,s)}function eI(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eR(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class eM extends u{constructor(e){let t,n=c(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eR,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||ez},s;super(n,new class extends r._b{createParse(e,t,n){return new eN(s,e,t,n)}},[C.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:eB.length,name:"Document",props:[h.add(()=>n)]}),eB.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new e_(i.tokenTable):eU}static define(e){return new eM(e)}getIndent(e,t){let n=p(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=e$(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let l=t.children.length-1;l>=0;l--){let a=t.children[l],h=n+t.positions[l],c=a instanceof r.mp&&hn&&e$(e,s.tree,0-s.offset,n,l),h;if(a&&(h=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let l=n.children.length-1;l>=0;l--){let a=n.positions[l],h=n.children[l],c;if(a=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eD(t,e?e.state.tabSize:4,e?Q(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=eE(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let ez=Object.create(null),eB=[r.Jq.none],eW=new r.Lj(eB),eJ=[],eL=Object.create(null);for(let[ej,eF]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eL[ej]=eq(ez,eF);class e_{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eL)}resolve(e){return e?this.table[e]||(this.table[e]=eq(this.extra,e)):0}}let eU=new e_(ez);function eX(e,t){eJ.indexOf(e)>-1||(eJ.push(e),console.warn(t))}function eq(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||l.pJ[i];s?"function"==typeof s?n?n=s(n):eX(i,`Modifier ${i} used at start of tag`):n?eX(i,`Tag ${i} used as modifier`):n=s:eX(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),a=r.Jq.define({id:eB.length,name:o,props:[(0,l.Gv)({[o]:n})]});return eB.push(a),a.id}},78120:function(e,t,n){let i;n.d(t,{BO:function(){return eO},D0:function(){return ek},Gz:function(){return eW},IS:function(){return eB},Py:function(){return eu},QQ:function(){return U},Wl:function(){return V},Xs:function(){return eC},YW:function(){return ef},as:function(){return Q},bg:function(){return O},cp:function(){return m},f_:function(){return eA},gc:function(){return C},gm:function(){return b},jT:function(){return E},n0:function(){return A},nZ:function(){return x},q6:function(){return ea},r$:function(){return W},uU:function(){return ex},xv:function(){return r},yy:function(){return eb}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new a(this),r=new a(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new a(this,e)}iterRange(e,t=this.length){return new h(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new u(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(l(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),a=l(r.text,o.text.slice(),0,r.length);if(a.length<=32)n.push(new s(a,o.length+r.length));else{let h=a.length>>1;n.push(new s(a.slice(0,h)),new s(a.slice(h)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=l(this.text,l(n.text,l(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=l+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,l=n+s.lines-1;if((t?l:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=l+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let a=i&((s<=e?1:0)|(l>=t?2:0));s>=e&&l<=t&&!a?n.push(o):o.decompose(e-s,t-s,n,a)}s=l+1}}replace(e,t,n){if(n.lines=r&&t<=l){let a=s.replace(e-r,t-r,n),h=this.lines-s.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[i]=a,new o(c,this.length-(t-e)+n.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=l+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==l)return n;let a=this.children[i],h=e.children[r];if(a!=h)return n+a.scanIdentical(h,t);n+=a.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let l of e)l.flatten(r);return new s(r,t)}let a=Math.max(32,n>>5),h=a<<1,c=a>>1,u=[],f=0,d=-1,p=[];function m(){0!=f&&(u.push(1==p.length?p[0]:o.from(p,d)),d=-1,f=p.length=0)}for(let g of e)!function e(t){let n;if(t.lines>h&&t instanceof o)for(let i of t.children)e(i);else t.lines>c&&(f>c||!f)?(m(),u.push(t)):t instanceof s&&f&&(n=p[p.length-1])instanceof s&&t.lines+n.lines<=32?(f+=t.lines,d+=t.length+1,p[p.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(f+t.lines>a&&m(),f+=t.lines,d+=t.length+1,p.push(t))}(g);return m(),1==u.length?u[0]:new o(u,t)}}function l(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(a>i&&(l=l.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,l=i instanceof s?i.text.length:i.children.length;if(o==(t>0?l:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let a=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,a.length>Math.max(0,e))return this.value=0==e?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let h=i.children[o+(t<0?-1:0)];e>h.length?(e-=h.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(h),this.offsets.push(t>0?1:(h instanceof s?h.text.length:h.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class h{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new a(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class c{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},a.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this});class u{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let f="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let d=1;d=127462&&e<=127487}function m(e,t,n=!0,i=!0){return(n?g:k)(e,t,i)}function g(e,t,n){if(t==e.length)return t;t&&y(e.charCodeAt(t))&&v(e.charCodeAt(t-1))&&t--;let i=b(e,t);for(t+=x(i);te)return f[t-1]<=e;return!1}(r))t+=x(r),i=r;else if(p(r)){let s=0,o=t-2;for(;o>=0&&p(b(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function k(e,t,n){for(;t>0;){let i=g(e,t-2,n);if(i=56320&&e<57344}function v(e){return e>=55296&&e<56320}function b(e,t){let n=e.charCodeAt(t);if(!v(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return y(i)?(n-55296<<10)+(i-56320)+65536:n}function O(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function x(e){return e<65536?1:2}let w=/\r\n?|\n/;var S,P,C=((S=C||(C={}))[S.Simple=0]="Simple",S[S.TrackDel=1]="TrackDel",S[S.TrackBefore=2]="TrackBefore",S[S.TrackAfter=3]="TrackAfter",S);class A{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=C.Simple&&a>=e&&(n==C.TrackDel&&ie||n==C.TrackBefore&&ie))return null;if(a>e||a==e&&t<0&&!o)return e==i||t<0?r:r+l;r+=l}i=a}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new A(e)}static create(e){return new A(e)}}class Q extends A{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return D(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return R(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=l,t[i+1]=o;let a=i>>1;for(;n.length0&&I(n,t,r.text),r.forward(a),o+=a}let c=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,l=null;function a(e=!1){if(!e&&!i.length)return;of||u<0||f>t)throw RangeError(`Invalid change range ${u} to ${f} (in doc of length ${t})`);let p=d?"string"==typeof d?r.of(d.split(n||w)):d:r.empty,m=p.length;if(u==f&&0==m)return;uo&&T(i,u-o,-1),T(i,f-u,m),I(s,i,p),o=f}}(e),a(!l),l}static empty(e){return new Q(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function I(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&l!=e.sections.length&&!(e.sections[l+1]<0);)a=e.sections[l++],h=e.sections[l++];t(s,c,o,u,f),s=c,o=u}}}function R(e,t,n,i=!1){let r=[],s=i?[]:null,o=new $(e),l=new $(t);for(let a=-1;;)if(-1==o.ins&&-1==l.ins){let h=Math.min(o.len,l.len);T(r,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||0==o.off&&(l.len=0&&a=0){let f=0,d=o.len;for(;d;)if(-1==l.ins){let p=Math.min(d,l.len);f+=p,d-=p,l.forward(p)}else if(0==l.ins&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),s.forward2(a),o.forward(a)}}else T(i,0,o.ins,l),r&&I(r,i,o.text),o.next()}}class ${constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class N{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new N(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return E.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return E.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return E.range(e.anchor,e.head)}static create(e,t,n){return new N(e,t,n)}}class E{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:E.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new E(e.ranges.map(e=>N.fromJSON(e)),e.main)}static single(e,t=e){return new E([E.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?E.range(l,o):E.range(o,l))}}return new E(e,t)}}function z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let B=0;class W{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=B++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new W(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:J),!!e.static,e.enables)}of(e){return new L([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new L(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function J(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class L{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=B++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,l=!1,a=!1,h=[];for(let c of this.dependencies)"doc"==c?l=!0:"selection"==c?a=!0:((null!==(t=e[c.id])&&void 0!==t?t:1)&1)==0&&h.push(e[c.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(l&&t.docChanged||a&&(t.docChanged||t.selection)||F(e,h)){let r=n(e);if(o?!j(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let l,a=t.config.address[r];if(null!=a){let h=ee(t,a);if(this.dependencies.every(n=>n instanceof W?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?j(l=n(e),h,i):i(l=n(e),h)))return e.values[s]=h,0}else l=n(e);return e.values[s]=l,1}}}}function j(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(_).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,_.of({field:this,create:e})]}get extension(){return this}}let X={lowest:4,low:3,default:2,high:1,highest:0};function q(e){return t=>new G(t,e)}let V={highest:q(X.highest),high:q(X.high),default:q(X.default),low:q(X.low),lowest:q(X.lowest)};class G{constructor(e,t){this.inner=e,this.prec=t}}class Z{of(e){return new Y(this,e)}reconfigure(e){return Z.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Y{constructor(e,t){this.compartment=e,this.inner=t}}class K{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),l=new Map;for(let a of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let a=i[o].indexOf(n);a>-1&&i[o].splice(a,1),n instanceof Y&&l.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let h of n)e(h,s);else if(n instanceof Y){if(l.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let c=t.get(n.compartment)||n.inner;l.set(n.compartment,c),e(c,s)}else if(n instanceof G)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof L)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,X.default);else{let u=n.extension;if(!u)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(u,s)}}(e,X.default),i.reduce((e,t)=>e.concat(t))))a instanceof U?s.push(a):(o[a.facet.id]||(o[a.facet.id]=[])).push(a);let h=Object.create(null),c=[],u=[];for(let f of s)h[f.id]=u.length<<1,u.push(e=>f.slot(e));let d=null==n?void 0:n.config.facets;for(let p in o){let m=o[p],g=m[0].facet,k=d&&d[p]||[];if(m.every(e=>0==e.type)){if(h[g.id]=c.length<<1|1,J(k,m))c.push(n.facet(g));else{let y=g.combine(m.map(e=>e.value));c.push(n&&g.compare(y,n.facet(g))?n.facet(g):y)}}else{for(let v of m)0==v.type?(h[v.id]=c.length<<1|1,c.push(v.value)):(h[v.id]=u.length<<1,u.push(e=>v.dynamicSlot(e)));h[g.id]=u.length<<1,u.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function l(e){let n=[];for(let s=0;se(h));return new K(e,l,b,h,c,o)}}function H(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=W.define(),en=W.define({combine:e=>e.some(e=>e),static:!0}),ei=W.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=W.define(),es=W.define(),eo=W.define(),el=W.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new eh}}class eh{of(e){return new ea(this,e)}}class ec{constructor(e){this.map=e}of(e){return new eu(this,e)}}class eu{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eu(this.type,t)}is(e){return this.type==e}static define(e={}){return new ec(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eu.reconfigure=eu.define(),eu.appendConfig=eu.define();class ef{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&z(n,t.newLength),r.some(e=>e.type==ef.time)||(this.annotations=r.concat(ef.time.of(Date.now())))}static create(e,t,n,i,r,s){return new ef(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(ef.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ed(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=Q.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eu.mapEffects(e.effects,r).concat(eu.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let i=t.selection,r=eg(t.annotations);return t.userEvent&&(r=r.concat(ef.userEvent.of(t.userEvent))),{changes:t.changes instanceof Q?t.changes:Q.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof E?i:E.single(i.anchor,i.head)),effects:eg(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}ef.time=ea.define(),ef.userEvent=ea.define(),ef.addToHistory=ea.define(),ef.remote=ea.define();let em=[];function eg(e){return null==e?em:Array.isArray(e)?e:[e]}var ek=((P=ek||(ek={}))[P.Word=0]="Word",P[P.Space=1]="Space",P[P.Other=2]="Other",P);let ey=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(ev){}class eb{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ed(i,ep(t,s,e.changes.newLength),!0))}return i==e?e:ef.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;c--){let u=h[c](t);t=u instanceof ef?u:Array.isArray(u)&&1==u.length&&u[0]instanceof ef?u[0]:e(n,eg(u),!1)}return t}(l):l)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Z.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eu.reconfigure)?(n=null,i=s.value):s.is(eu.appendConfig)&&(n=null,i=eg(i).concat(s.value));n?t=e.startState.values.slice():(n=K.resolve(i,r,this),t=new eb(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new eb(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:E.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=eg(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return eb.create({doc:e.doc,selection:E.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=K.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(eb.lineSeparator)||w)),i=e.selection?e.selection instanceof E?e.selection:E.single(e.selection.anchor,e.selection.head):E.single(0);return z(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new eb(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(eb.tabSize)}get lineBreak(){return this.facet(eb.lineSeparator)||"\n"}get readOnly(){return this.facet(el)}phrase(e,...t){for(let n of this.facet(eb.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return ek.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ey.test(n)))return!0}return!1}(e))return ek.Word;for(let n=0;n-1)return ek.Word;return ek.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let l=m(t,s,!1);if(r(t.slice(l,s))!=ek.Word)break;s=l}for(;oe.length?e[0]:4}),eb.lineSeparator=ei,eb.readOnly=el,eb.phrases=W.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),eb.languageData=et,eb.changeFilter=er,eb.transactionFilter=es,eb.transactionExtender=eo,Z.reconfigure=eu.define();class ex{eq(e){return this==e}range(e,t=e){return ew.create(e,t,this)}}ex.prototype.startSide=ex.prototype.endSide=0,ex.prototype.point=!1,ex.prototype.mapMode=C.TrackDel;class ew{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ew(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eP{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let l=s+o>>1,a=r[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-t;if(l==s)return a>=0?s:o;a>=0?o=l:s=l+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(f=t.mapPos(c,a.endSide))||u==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-u||a.endSide-a.startSide)||(s<0&&(s=u),a.point&&(o=Math.max(o,f-u)),n.push(a),i.push(u-s),r.push(f-s))}return{mapped:n.length?new eP(i,r,n,o):null,pos:s}}}class eC{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new eC(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let o=new eT(this,null,-1).goto(0),l=0,a=[],h=new eA;for(;o.value||l=0){let c=t[l++];h.addInner(c.from,c.to,c.value)||a.push(c)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eI.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eI.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),l=eQ(s,o,n),a=new eR(s,l,r),h=new eR(o,l,r);n.iterGaps((e,t,n)=>eM(a,e,h,t,n,i)),n.empty&&0==n.length&&eM(a,0,h,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=999999999);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eQ(r,s),l=new eR(r,o,0).goto(n),a=new eR(s,o,0).goto(n);for(;;){if(l.to!=a.to||!e$(l.active,a.active)||l.point&&(!a.point||!l.point.eq(a.point)))return!1;if(l.to>i)return!0;l.next(),a.next()}}static spans(e,t,n,i,r=-1){let s=new eR(e,null,r).goto(t),o=t,l=s.openStart;for(;;){let a=Math.min(s.to,n);if(s.point){let h=s.activeForPoint(s.to),c=s.pointFromo&&(i.span(o,a,s.active,l),l=s.openEnd(a));if(s.to>n)return l+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(e,t=!1){let n=new eA;for(let i of e instanceof ew?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(eS);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eA{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eA)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eQ(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eT(s,t,n,r));return 1==i.length?i[0]:new eI(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eD(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eD(this.heap,0)}}}function eD(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eR{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eI.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eN(this.active,e),eN(this.activeTo,e),eN(this.activeRank,e),this.minActive=ez(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&eN(n,i)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let r=this.cursor.value;if(r.point){if(t&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eM(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,l=i,a=i-t;for(;;){let h=e.to+a-n.to||e.endSide-n.endSide,c=h<0?e.to+a:n.to,u=Math.min(c,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&e$(e.activeForPoint(e.to+a),n.activeForPoint(n.to))||s.comparePoint(l,u,e.point,n.point):u>l&&!e$(e.active,n.active)&&s.compareRange(l,u,e.active,n.active),c>o)break;l=c,h<=0&&e.next(),h>=0&&n.next()}}function e$(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function ez(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function eB(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=m(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){var i,r;n.d(t,{FE:function(){return N},Jq:function(){return u},L3:function(){return s},Lj:function(){return f},_b:function(){return M},hr:function(){return D},i9:function(){return R},md:function(){return a},mp:function(){return m},vj:function(){return i}});let s=1024,o=0;class l{constructor(e,t){this.from=e,this.to=t}}class a{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:e=>e.split(" ")}),a.openedBy=new a({deserialize:e=>e.split(" ")}),a.group=new a({deserialize:e=>e.split(" ")}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class h{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let c=Object.create(null);class u{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):c,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new u(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(a.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(a.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}u.none=new u("",Object.create(null),0,8);class f{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;l=!0}for(;l&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;l=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:I(u.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new m(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new m(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:l=i.types.length}=e,h=Array.isArray(n)?new g(n,n.length):n,c=i.types,u=0,f=0;function d(e,t,n,r,s,o,l,a){let h=[],c=[];for(;e.length>r;)h.push(e.pop()),c.push(t.pop()+n-s);e.push(p(i.types[l],h,c,o-s,a-o)),t.push(s-n)}function p(e,t,n,i,r=0,s){if(u){let o=[a.contextHash,u];s=s?[o].concat(s):[o]}if(r>25){let l=[a.lookAhead,r];s=s?[l].concat(s):[l]}return new m(e,t,n,i,s)}let y=[],v=[];for(;h.pos>0;)!function e(t,n,s,g,y){let{id:v,start:b,end:O,size:x}=h,w=f;for(;x<0;){if(h.next(),-1==x){let S=o[v];s.push(S),g.push(b-t);return}if(-3==x){u=v;return}if(-4==x){f=v;return}throw RangeError(`Unrecognized record size: ${x}`)}let P=c[v],C,A,Q=b-t;if(O-b<=r&&(A=function(e,t){let n=h.fork(),i=0,s=0,o=0,a=n.end-r,c={size:0,start:0,skip:0};n:for(let u=n.pos-e;n.pos>u;){let f=n.size;if(n.id==t&&f>=0){c.size=i,c.start=s,c.skip=o,o+=4,i+=4,n.next();continue}let d=n.pos-f;if(f<0||d=l?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3==n.size)p+=4;else break n}else n.id>=l&&(p+=4);n.next()}s=m,i+=f,o+=p}return(t<0||i==e)&&(c.size=i,c.start=s,c.skip=o),c.size>4?c:void 0}(h.pos-n,y))){let T=new Uint16Array(A.size-A.skip),D=h.pos-A.size,R=T.length;for(;h.pos>D;)R=function e(t,n,i){let{id:r,start:s,end:o,size:a}=h;if(h.next(),a>=0&&r4){let d=h.pos-(a-4);for(;h.pos>d;)i=e(t,n,i)}n[--i]=c,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==a?u=r:-4==a&&(f=r);return i}(A.start,T,R);C=new k(T,O-A.start,i),Q=A.start-t}else{let M=h.pos-x;h.next();let $=[],N=[],E=v>=l?v:-1,z=0,B=O;for(;h.pos>M;)E>=0&&h.id==E&&h.size>=0?(h.end<=B-r&&(d($,N,b,z,h.end,B,E,w),z=$.length,B=h.end),h.next()):e(b,M,$,N,E);if(E>=0&&z>0&&z<$.length&&d($,N,b,z,b,B,E,w),$.reverse(),N.reverse(),E>-1&&z>0){let W=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,l;if(s>=0&&(o=t[s])instanceof m){if(!s&&o.type==e&&o.length==i)return o;(l=o.prop(a.lookAhead))&&(r=n[s]+o.length+l)}return p(e,t,n,i,r)}}(P);C=I(P,$,N,0,$.length,0,O-b,W,W)}else C=p(P,$,N,O-b,w-O)}s.push(C),g.push(Q)}(e.start||0,e.bufferStart||0,y,v,-1);let b=null!==(t=e.length)&&void 0!==t?t:y.length?v[0]+y[0].length:0;return new m(c[e.topID],y.reverse(),v.reverse(),b)}(e)}}m.empty=new m(u.none,[],[],0);class g{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class k{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t0)));l=s[l+3]);return o}slice(e,t,n){let i=this.buffer,r=new Uint16Array(t-e),s=0;for(let o=e,l=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function v(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function b(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?l.length:-1;e!=c;e+=t){let u=l[e],f=h[e]+o.from;if(y(r,n,f,f+u.length)){if(u instanceof k){if(s&i.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,t,n-f,r);if(d>-1)return new P(new S(o,u,e,f),null,d)}else if(s&i.IncludeAnonymous||!u.type.isAnonymous||A(u)){let p;if(!(s&i.IgnoreMounts)&&u.props&&(p=u.prop(a.mounted))&&!p.overlay)return new O(p.tree,f,e,o);let m=new O(u,f,e,o);return s&i.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(t<0?u.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(a.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((t>0?o<=s:o=s:l>s))return new O(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new C(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return v(this,e)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return w(this,e)}}function x(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function w(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class S{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class P{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new P(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new P(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new P(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new P(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new C(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];e.push(n.slice(i,r,s)),t.push(0)}return new m(this.type,e,t,this.to-this.from)}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return v(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=x(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return x(this,e,t,n)}get node(){return this}matchContext(e){return w(this,e)}}class C{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof O)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof O?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,l=e<0?-1:n._tree.children.length;o!=l;o+=e){let a=n._tree.children[o];if(this.mode&i.IncludeAnonymous||a instanceof k||!a.type.isAnonymous||A(a))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break n}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return w(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function A(e){return e.children.some(e=>e instanceof k||!e.type.isAnonymous||A(e))}let Q=new WeakMap;function T(e,t){if(!e.isAnonymous||t instanceof k||t.type!=e)return 1;let n=Q.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof m)){n=1;break}n+=T(e,i)}Q.set(t,n)}return n}function I(e,t,n,i,r,s,o,l,a){let h=0;for(let c=i;c=u)break;m+=g}if(h==c+1){if(m>u){let k=n[c];t(k.children,k.positions,0,k.children.length,i[c]+l);continue}f.push(n[c])}else{let y=i[h-1]+n[h-1].length-p;f.push(I(e,n,i,c,h,p,y,null,a))}d.push(p+l-s)}}(t,n,i,r,0),(l||a)(f,d,o)}class D{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof P?this.setBuffer(e.context.buffer,e.index,t):e instanceof O&&this.map.set(e.tree,t)}get(e){return e instanceof P?this.getBuffer(e.context.buffer,e.index):e instanceof O?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class R{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new R(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,l=0,a=0;;o++){let h=o=n)for(;s&&s.from=u.from||c<=u.to||a){let f=Math.max(u.from,l)-a,d=Math.min(u.to,c)-a;u=f>=d?null:new R(f,d,u.tree,u.offset+a,o>0,!!h)}if(u&&i.push(u),s.to>c)break;s=rnew l(e.from,e.to)):[new l(0,0)]:[new l(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class ${constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function N(e){return(t,n,i,r)=>new W(t,e,n,i,r)}class E{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class z{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let B=new a({perNode:!0});class W{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new m(n.type,n.children,n.positions,n.length,n.propValues.concat([[B,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[a.mounted.id]=new h(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(c)for(let f of c.mount.overlay){let d=f.from+c.pos,p=f.to+c.pos;d>=r.from&&p<=r.to&&!t.ranges.some(e=>e.fromd)&&t.ranges.push({from:d,to:p})}}a=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))a=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],l=o.buffer;r.children[i]=function e(n,i,r,a,h){let c=n;for(;l[c+2]+s<=t.from;)c=l[c+3];let u=[],f=[];J(o,n,c,u,f,a);let d=l[c+1],p=l[c+2],g=d+s==t.from&&p+s==t.to&&l[c]==t.type.id;return u.push(g?t.toTree():e(c+4,l[c+3],o.set.types[l[c]],d,p-d)),f.push(d-a),J(o,l[c+3],i,u,f,a),new m(r,u,f,h)}(0,l.length,u.none,0,o.length);for(let a=0;a<=n;a++)e.childAfter(t.from)}(r);let g=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new z(s.parser,s.overlay,g,this.inner.length,r.from,r.tree,t);else{let k=F(this.ranges,s.overlay||[new l(r.from,r.to)]);k.length&&this.inner.push(new E(s.parser,s.parser.startParse(this.input,_(g,k),k),s.overlay?s.overlay.map(e=>new l(e.from-r.from,e.to-r.from)):null,r.tree,k)),s.overlay?k.length&&(n={ranges:k,depth:0,prev:n}):a=!1}}else t&&(h=t.predicate(r))&&(!0===h&&(h=new l(r.from,r.to)),h.fromnew l(e.from-t.start,e.to-t.start)),t.target,y)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function J(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof m)t=t.children[0];else break}return!1}}class j{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(B))&&void 0!==t?t:n.to,this.inner=new L(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(B))&&void 0!==e?e:t.to,this.inner=new L(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(a.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:r.from-l.offset,mount:s})}}}return i}}function F(e,t){let n=null,i=t;for(let r=1,s=0;r=a)break;!(h.to<=o)&&(n||(i=n=t.slice()),h.froma&&n.splice(s+1,0,new l(a,h.to))):h.to>a?n[s--]=new l(a,h.to):n.splice(s--,1))}}return i}function _(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),a=o+r.tree.length,h=Math.max(s.from,o),c=Math.min(s.to,a);if(r.overlay){let u=function(e,t,n,i){let r=0,s=0,o=!1,a=!1,h=-1e9,c=[];for(;;){let u=r==e.length?1e9:o?e[r].to:e[r].from,f=s==t.length?1e9:a?t[s].to:t[s].from;if(o!=a){let d=Math.max(h,n),p=Math.min(u,f,i);dnew l(e.from+i,e.to+i)),h,c);for(let f=0,d=h;;f++){let p=f==u.length,m=p?c:u[f].from;if(m>d&&n.push(new R(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=u[f].to}}else n.push(new R(h,c,r.tree,-o,s.from>=o||s.openStart,s.to<=a||s.openEnd))}return n}},35524:function(e,t,n){n.d(t,{Gv:function(){return a},QR:function(){return u},Vp:function(){return s},bW:function(){return f},pJ:function(){return T}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new l;return t=>t.modified.indexOf(e)>-1?t:l.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class l{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let a=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let h of e.set)if(!h.modified.length)for(let c of a)i.push(l.get(h,c));return r}}function a(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,l=r;for(let a=0;;){if("..."==l&&a>0&&a+3==r.length){o=1;break}let u=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!u)throw RangeError("Invalid path: "+r);if(s.push("*"==u[0]?"":'"'==u[0][0]?JSON.parse(u[0]):u[0]),(a+=u[0].length)==r.length)break;let f=r[a++];if(a==r.length&&"!"==f){o=0;break}if("/"!=f)throw RangeError("Invalid path: "+r);l=r.slice(a)}let d=s.length-1,p=s[d];if(!p)throw RangeError("Invalid path: "+r);let m=new c(i,o,d>0?s.slice(0,d):null);t[p]=m.sort(t[p])}}return h.add(t)}let h=new i.md;class c{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let u=r,f=function(e){let t=e.type.prop(h);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||c.empty,d=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(r+=(r?" ":"")+d)),this.startSpan(e.from,u),f.opaque)return;let p=e.tree&&e.tree.prop(i.md.mounted);if(p&&p.overlay){let m=e.node.enter(p.overlay[0].from+l,1),g=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),k=e.firstChild();for(let y=0,v=l;;y++){let b=y=O)&&e.nextSibling()););if(!b||O>n)break;(v=b.to+l)>t&&(this.highlightRange(m.cursor(),Math.max(t,b.from+l),Math.min(n,v),r,g),this.startSpan(v,u))}k&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}let p=s.define,m=p(),g=p(),k=p(g),y=p(g),v=p(),b=p(v),O=p(v),x=p(),w=p(x),S=p(),P=p(),C=p(),A=p(C),Q=p(),T={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:k,tagName:p(k),propertyName:y,attributeName:p(y),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:v,string:b,docString:p(b),character:p(b),attributeValue:p(b),number:O,integer:p(O),float:p(O),bool:p(v),regexp:p(v),escape:p(v),color:p(v),url:p(v),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:P,derefOperator:p(P),arithmeticOperator:p(P),logicOperator:p(P),bitwiseOperator:p(P),compareOperator:p(P),updateOperator:p(P),definitionOperator:p(P),typeOperator:p(P),controlOperator:p(P),punctuation:C,separator:p(C),bracket:A,angleBracket:p(A),squareBracket:p(A),paren:p(A),brace:p(A),content:x,heading:w,heading1:p(w),heading2:p(w),heading3:p(w),heading4:p(w),heading5:p(w),heading6:p(w),contentSeparator:p(x),list:p(x),quote:p(x),emphasis:p(x),strong:p(x),link:p(x),monospace:p(x),strikethrough:p(x),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:Q,documentMeta:p(Q),annotation:p(Q),processingInstruction:p(Q),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};u([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){n.d(t,{IK:function(){return I},Jq:function(){return v},WQ:function(){return D}});var i,r,s,o,l,a,h=n(41113),c=n(34155);class u{constructor(e,t,n,i,r,s,o,l,a,h=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=l,this.curContext=a,this.lookAhead=h,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new u(e,[],t,n,n,0,[],0,i?new f(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let l=this.buffer.length;if(l>0&&0!=this.buffer[l-4])for(;l>0&&this.buffer[l-2]>n;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,i>4&&(i-=4);this.buffer[l]=e,this.buffer[l+1]=t,this.buffer[l+2]=n,this.buffer[l+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new u(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new d(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let l=[];for(let a=0;a>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class f{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class d{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class p{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new p(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new p(this.stack,this.pos,this.index)}}class m{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let g=new m;class k{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=g,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=g,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class y{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let c=e[h];if(l.allows(c)&&(-1==t.token.value||t.token.value==c||o.overrides(c,t.token.value))){t.acceptToken(c);break}}let u=t.next,f=0,d=e[r+2];if(t.next<0&&d>f&&65535==e[a+3*d-3]&&65535==e[a+3*d-3]){r=e[a+3*d-1];continue n}for(;f>1,m=a+p+(p<<1),g=e[m],k=e[m+1]||65536;if(u=k)f=p+1;else{r=e[m+2],t.advance();continue n}}break}}(this.data,e,t,this.id)}}y.prototype.contextual=y.prototype.fallback=y.prototype.extend=!1;class v{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function b(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let O=void 0!==c&&c.env&&/\bparse\b/.test(c.env.LOG),x=null;function w(e,t,n){let i=e.cursor(h.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=l||(l={}))[r.Margin=25]="Margin";class S{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?w(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?w(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof h.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class P{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new m)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,l=0;for(let a=0;ac.end+25&&(l=Math.max(c.lookAhead,l)),0!=c.value)){let u=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!h.extend&&(n=c,t>u))break}}for(;this.actions.length>t;)this.actions.pop();return l&&e.setLookAhead(l),n||e.pos!=this.stream.end||((n=new m).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new m,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new S(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let l=this.tokens.getMainToken(o);t.push(l.value,l.end)}break}}if(!r.length){let a=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(h)return this.stackToTree(h.forceAll())}if(this.recovering){let c=1==this.recovering?1:3*this.recovering;if(r.length>c)for(r.sort((e,t)=>t.score-e.score);r.length>c;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let u=0;u500&&p.buffer.length>500){if((f.score-p.score||f.buffer.length-p.buffer.length)>0)r.splice(d--,1);else{r.splice(u--,1);continue i}}}}this.minStackPos=r[0].pos;for(let m=1;m ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,l=o?e.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let c=this.parser.nodeSet.types[a.type.id]==a.type?r.getGoto(e.state,a.type.id):-1;if(c>-1&&a.length&&(!o||(a.prop(h.md.contextHash)||0)==l))return e.useNode(a,c),O&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(a.type.id)})`),!0;if(!(a instanceof h.mp)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(u instanceof h.mp&&0==a.positions[0])a=u;else break}}let f=r.stateSlot(e.state,4);if(f>0)return e.reduce(f),O&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&f)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let d=this.tokens.getActions(e);for(let p=0;pi?t.push(v):n.push(v)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return A(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),O&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),u=h;for(let f=0;c.forceReduce()&&f<10&&(O&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));f++)O&&(u=this.stackID(c)+" -> ");for(let d of o.recoverByInsert(l))O&&console.log(h+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>o.pos?(a==o.pos&&(a++,l=0),o.recoverByDelete(l,a),O&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),A(o,n)):(!i||i.scoree;class I{constructor(e){this.start=e.start,this.shift=e.shift||T,this.reduce=e.reduce||T,this.reuse=e.reuse||T,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class D extends h._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(u,a,l[c++]);else{let f=l[c+-u];for(let d=-u;d>0;d--)o(l[c++],a,f);c++}}}this.nodeSet=new h.Lj(t.map((t,n)=>h.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=h.L3;let p=b(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let m=0;m"number"==typeof e?new y(p,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new C(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,l=i[r++];if(o&&n)return l;for(let a=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=R(this.data,n+2)}if(t==R(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=R(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=M(this.data,this.tokenPrecTable,t);return n<0||M(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=$(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let l=[],a=/^@(\w+)\b/.exec(t[0]),h=a&&"keyframes"==a[1];if(a&&null==r)return s.push(t[0]+";");for(let c in r){let u=r[c];if(/&/.test(c))e(c.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),u,s);else if(u&&"object"==typeof u){if(!a)throw RangeError("The value of a property ("+c+") should be a primitive value.");e(i(c),u,l,h)}else null!=u&&l.push(c.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+u+";")}(l.length||h)&&s.push((!n||a||o?t:t.map(n)).join(", ")+" {"+l.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new a(e)).mount(Array.isArray(t)?t:[t])}}let l=null;class a{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(l)return e.adoptedStyleSheets=[l.sheet].concat(e.adoptedStyleSheets),e[r]=l;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),l=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=o||s&&57>+s[1],h=0;h<10;h++)i[48+h]=i[96+h]=String(h);for(var h=1;h<=24;h++)i[h+111]="F"+h;for(var h=65;h<=90;h++)i[h]=String.fromCharCode(h+32),r[h]=String.fromCharCode(h);for(var c in i)r.hasOwnProperty(c)||(r[c]=i[c]);function u(e){var t=!(a&&(e.ctrlKey||e.altKey||e.metaKey)||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1943-6d1cab809126a603.js b/static/web/_next/static/chunks/1943-6d1cab809126a603.js new file mode 100644 index 000000000..5994a4e8d --- /dev/null +++ b/static/web/_next/static/chunks/1943-6d1cab809126a603.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1943],{58909:function(t,e,n){n.d(e,{F:function(){return a}});var i=n(87462),r=n(35524),s=n(47421),o=n(59119),l=t=>{var{theme:e,settings:n,styles:i}=t,r={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(r[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(r[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(r[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(r[".cm-content"]={caretColor:n.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var l={};n.gutterActiveForeground&&(l.color=n.gutterActiveForeground),n.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:n.lineHighlight},l.backgroundColor=n.lineHighlight),r[".cm-activeLineGutter"]=l,n.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=s.tk.theme(r,{dark:"dark"===e}),h=o.Qf.define(i);return[a,(0,o.nF)(h)]},a=(t=>{var{theme:e="light",settings:n={},styles:s=[]}={};return l({theme:e,settings:(0,i.Z)({background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",gutterBorder:"transparent",lineHighlight:"#00000012"},n),styles:[{tag:[r.pJ.meta,r.pJ.comment],color:"#804000"},{tag:[r.pJ.keyword,r.pJ.strong],color:"#0000FF"},{tag:[r.pJ.number],color:"#FF0080"},{tag:[r.pJ.string],color:"#FF0080"},{tag:[r.pJ.variableName],color:"#006600"},{tag:[r.pJ.escape],color:"#33CC33"},{tag:[r.pJ.tagName],color:"#1C02FF"},{tag:[r.pJ.heading],color:"#0C07FF"},{tag:[r.pJ.quote],color:"#000000"},{tag:[r.pJ.list],color:"#B90690"},{tag:[r.pJ.documentMeta],color:"#888888"},{tag:[r.pJ.function(r.pJ.variableName)],color:"#0000A2"},{tag:[r.pJ.definition(r.pJ.typeName),r.pJ.typeName],color:"#6D79DE"},...s]})})()},87685:function(t,e,n){n.d(e,{ZP:function(){return nF}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),l=n(47421),a=n(59119),h=n(41113);let c=t=>{let e=m(t.state);return e.line?f(t):!!e.block&&p(t)};function u(t,e){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=t(e,n);return!!r&&(i(n.update(r)),!0)}}let f=u(function(t,e,n=e.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let l=i.length,a=1e9;for(let h=s;h<=o;){let c=e.doc.lineAt(h);if(c.from>r&&(s==o||o>c.from)){r=c.from;let u=m(e,h).line;if(!u)continue;let f=/^\s*/.exec(c.text)[0].length,d=f==c.length,p=c.text.slice(f,f+u.length)==u?f:-1;ft.comment<0&&(!t.empty||t.single))){let k=[];for(let{line:y,token:v,indent:b,empty:O,single:x}of i)(x||!O)&&k.push({from:y.from+b,insert:v+" "});let w=e.changes(k);return{changes:w,selection:e.selection.map(w,1)}}if(1!=t&&i.some(t=>t.comment>=0)){let S=[];for(let{line:P,comment:C,token:A}of i)if(C>=0){let Q=P.from+C,T=Q+A.length;" "==P.text[T-P.from]&&T++,S.push({from:Q,to:T})}return{changes:S}}return null},0),d=u(g,0),p=u((t,e)=>g(t,e,function(t){let e=[];for(let n of t.selection.ranges){let i=t.doc.lineAt(n.from),r=n.to<=i.to?i:t.doc.lineAt(n.to),s=e.length-1;s>=0&&e[s].to>i.from?e[s].to=r.to:e.push({from:i.from,to:r.to})}return e}(e)),0);function m(t,e=t.selection.main.head){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}function g(t,e,n=e.selection.ranges){let i=n.map(t=>m(e,t.from).block);if(!i.every(t=>t))return null;let r=n.map((t,n)=>(function(t,{open:e,close:n},i,r){let s,o,l=t.sliceDoc(i-50,i),a=t.sliceDoc(r,r+50),h=/\s*$/.exec(l)[0].length,c=/^\s*/.exec(a)[0].length,u=l.length-h;if(l.slice(u-e.length,u)==e&&a.slice(c,c+n.length)==n)return{open:{pos:i-h,margin:h&&1},close:{pos:r+c,margin:c&&1}};r-i<=100?s=o=t.sliceDoc(i,r):(s=t.sliceDoc(i,i+50),o=t.sliceDoc(r-50,r));let f=/^\s*/.exec(s)[0].length,d=/\s*$/.exec(o)[0].length,p=o.length-d-n.length;return s.slice(f,f+e.length)==e&&o.slice(p,p+n.length)==n?{open:{pos:i+f+e.length,margin:/\s/.test(s.charAt(f+e.length))?1:0},close:{pos:r-d-n.length,margin:/\s/.test(o.charAt(p-1))?1:0}}:null})(e,i[n],t.from,t.to));if(2!=t&&!r.every(t=>t))return{changes:e.changes(n.map((t,e)=>r[e]?[]:[{from:t.from,insert:i[e].open+" "},{from:t.to,insert:" "+i[e].close}]))};if(1!=t&&r.some(t=>t)){let s=[];for(let o=0,l;o(0,o.BO)(t,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),O=o.QQ.define({create:()=>$.empty,update(t,e){let n=e.state.facet(b),i=e.annotation(k);if(i){var r;let s;let l=e.docChanged?o.jT.single((r=e.changes,s=0,r.iterChangedRanges((t,e)=>s=e),s)):void 0,a=A.fromTransaction(e,l),h=i.side,c=0==h?t.undone:t.done;return c=a?Q(c,c.length,n.minDepth,a):D(c,e.startState.selection),new $(0==h?i.rest:c,0==h?c:i.rest)}let u=e.annotation(y);if(("full"==u||"before"==u)&&(t=t.isolate()),!1===e.annotation(o.YW.addToHistory))return e.changes.empty?t:t.addMapping(e.changes.desc);let f=A.fromTransaction(e),d=e.annotation(o.YW.time),p=e.annotation(o.YW.userEvent);return f?t=t.addChanges(f,d,p,n.newGroupDelay,n.minDepth):e.selection&&(t=t.addSelection(e.startState.selection,d,p,n.newGroupDelay)),("full"==u||"after"==u)&&(t=t.isolate()),t},toJSON:t=>({done:t.done.map(t=>t.toJSON()),undone:t.undone.map(t=>t.toJSON())}),fromJSON:t=>new $(t.done.map(A.fromJSON),t.undone.map(A.fromJSON))});function x(t,e){return function({state:n,dispatch:i}){if(!e&&n.readOnly)return!1;let r=n.field(O,!1);if(!r)return!1;let s=r.pop(t,n,e);return!!s&&(i(s),!0)}}let w=x(0,!1),S=x(1,!1),P=x(0,!0),C=x(1,!0);class A{constructor(t,e,n,i,r){this.changes=t,this.effects=e,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(t){return new A(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,e,n;return{changes:null===(t=this.changes)||void 0===t?void 0:t.toJSON(),mapped:null===(e=this.mapped)||void 0===e?void 0:e.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(t=>t.toJSON())}}static fromJSON(t){return new A(t.changes&&o.as.fromJSON(t.changes),[],t.mapped&&o.n0.fromJSON(t.mapped),t.startSelection&&o.jT.fromJSON(t.startSelection),t.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(t,e){let n=I;for(let i of t.startState.facet(v)){let r=i(t);r.length&&(n=n.concat(r))}return!n.length&&t.changes.empty?null:new A(t.changes.invert(t.startState.doc),n,void 0,e||t.startState.selection,I)}static selection(t){return new A(void 0,I,void 0,void 0,t)}}function Q(t,e,n,i){let r=t.slice(e+1>n+20?e-n-1:0,e);return r.push(i),r}function T(t,e){return t.length?e.length?t.concat(e):t:e}let I=[];function D(t,e){if(!t.length)return[A.selection([e])];{let n=t[t.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),Q(t,t.length-1,1e9,n.setSelAfter(i)))}}function R(t,e){if(!t.length)return t;let n=t.length,i=I;for(;n;){let r=function(t,e,n){let i=T(t.selectionsAfter.length?t.selectionsAfter.map(t=>t.map(e)):I,n);if(!t.changes)return A.selection(i);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),l=t.mapped?t.mapped.composeDesc(s):s;return new A(r,o.Py.mapEffects(t.effects,e),l,t.startSelection.map(s),i)}(t[n-1],e,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,n);return s[n-1]=r,s}e=r.mapped,n--,i=r.selectionsAfter}return i.length?[A.selection(i)]:I}let M=/^(input\.type|delete)($|\.)/;class ${constructor(t,e,n=0,i){this.done=t,this.undone=e,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new $(this.done,this.undone):this}addChanges(t,e,n,i,r){var s,o;let l,a,h=this.done,c=h[h.length-1];return h=c&&c.changes&&!c.changes.empty&&t.changes&&(!n||M.test(n))&&(!c.selectionsAfter.length&&e-this.prevTimel.push(t,e)),o.iterChangedRanges((t,e,n,i)=>{for(let r=0;r=s&&n<=o&&(a=!0)}}),a)||"input.type.compose"==n)?Q(h,h.length-1,r,new A(t.changes.compose(c.changes),T(t.effects,c.effects),c.mapped,c.startSelection,I)):Q(h,h.length,r,t),new $(h,I,e,n)}addSelection(t,e,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:I;return s.length>0&&e-this.prevTimee.empty!=t.ranges[n].empty).length?this:new $(D(this.done,t),this.undone,e,n)}addMapping(t){return new $(R(this.done,t),R(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,e,n){let i=0==t?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,l;return e.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:k.of({side:t,rest:(o=(s=i)[s.length-1],(l=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),l)}),userEvent:0==t?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let a=1==i.length?I:i.slice(0,i.length-1);return r.mapped&&(a=R(a,r.mapped)),e.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:k.of({side:t,rest:a}),filter:!1,userEvent:0==t?"undo":"redo",scrollIntoView:!0})}}}$.empty=new $(I,I);let N=[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:S,preventDefault:!0},{linux:"Ctrl-Shift-z",run:S,preventDefault:!0},{key:"Mod-u",run:P,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:C,preventDefault:!0}];function E(t,e){return o.jT.create(t.ranges.map(e),t.mainIndex)}function z(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function B({state:t,dispatch:e},n){let i=E(t.selection,n);return!i.eq(t.selection)&&(e(z(t,i)),!0)}function W(t,e){return o.jT.cursor(e?t.to:t.from)}function J(t,e){return B(t,n=>n.empty?t.moveByChar(n,e):W(n,e))}function L(t){return t.textDirectionAt(t.state.selection.main.head)==l.Nm.LTR}let j=t=>J(t,!L(t)),F=t=>J(t,L(t));function _(t,e){return B(t,n=>n.empty?t.moveByGroup(n,e):W(n,e))}let U=t=>_(t,!L(t)),X=t=>_(t,L(t));function q(t,e,n){let i,r,s=(0,a.qz)(t).resolveInner(e.head),l=n?h.md.closedBy:h.md.openedBy;for(let c=e.head;;){let u=n?s.childAfter(c):s.childBefore(c);if(!u)break;!function(t,e,n){if(e.type.prop(n))return!0;let i=e.to-e.from;return i&&(i>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}(t,u,l)?c=n?u.to:u.from:s=u}return r=s.type.prop(l)&&(i=n?(0,a.Um)(t,s.from,1):(0,a.Um)(t,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=t=>B(t,e=>q(t.state,e,!L(t))),G=t=>B(t,e=>q(t.state,e,L(t)));function Z(t,e){return B(t,n=>{if(!n.empty)return W(n,e);let i=t.moveVertically(n,e);return i.head!=n.head?i:t.moveToLineBoundary(n,e)})}let Y=t=>Z(t,!1),K=t=>Z(t,!0);function H(t){return Math.max(t.defaultLineHeight,Math.min(t.dom.clientHeight,innerHeight)-5)}function tt(t,e){let n,{state:i}=t,r=E(i.selection,n=>n.empty?t.moveVertically(n,e,H(t)):W(n,e));if(r.eq(i.selection))return!1;let s=t.coordsAtPos(i.selection.main.head),o=t.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomtt(t,!1),tn=t=>tt(t,!0);function ti(t,e,n){let i=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,n);if(r.head==e.head&&r.head!=(n?i.to:i.from)&&(r=t.moveToLineBoundary(e,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(t.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&e.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let tr=t=>B(t,e=>ti(t,e,!0)),ts=t=>B(t,e=>ti(t,e,!1)),to=t=>B(t,e=>ti(t,e,!L(t))),tl=t=>B(t,e=>ti(t,e,L(t))),ta=t=>B(t,e=>o.jT.cursor(t.lineBlockAt(e.head).from,1)),th=t=>B(t,e=>o.jT.cursor(t.lineBlockAt(e.head).to,-1)),tc=({state:t,dispatch:e})=>{let n,i;return n=!1,i=E(t.selection,e=>{let i=(0,a.Um)(t,e.head,-1)||(0,a.Um)(t,e.head,1)||e.head>0&&(0,a.Um)(t,e.head-1,1)||e.head{let n=e(t);return o.jT.range(t.anchor,n.head,n.goalColumn)});return!n.eq(t.state.selection)&&(t.dispatch(z(t.state,n)),!0)}function tf(t,e){return tu(t,n=>t.moveByChar(n,e))}let td=t=>tf(t,!L(t)),tp=t=>tf(t,L(t));function tm(t,e){return tu(t,n=>t.moveByGroup(n,e))}let tg=t=>tm(t,!L(t)),tk=t=>tm(t,L(t)),ty=t=>tu(t,e=>q(t.state,e,!L(t))),tv=t=>tu(t,e=>q(t.state,e,L(t)));function tb(t,e){return tu(t,n=>t.moveVertically(n,e))}let tO=t=>tb(t,!1),tx=t=>tb(t,!0);function tw(t,e){return tu(t,n=>t.moveVertically(n,e,H(t)))}let tS=t=>tw(t,!1),tP=t=>tw(t,!0),tC=t=>tu(t,e=>ti(t,e,!0)),tA=t=>tu(t,e=>ti(t,e,!1)),tQ=t=>tu(t,e=>ti(t,e,!L(t))),tT=t=>tu(t,e=>ti(t,e,L(t))),tI=t=>tu(t,e=>o.jT.cursor(t.lineBlockAt(e.head).from)),tD=t=>tu(t,e=>o.jT.cursor(t.lineBlockAt(e.head).to)),tR=({state:t,dispatch:e})=>(e(z(t,{anchor:0})),!0),tM=({state:t,dispatch:e})=>(e(z(t,{anchor:t.doc.length})),!0),t$=({state:t,dispatch:e})=>(e(z(t,{anchor:t.selection.main.anchor,head:0})),!0),tN=({state:t,dispatch:e})=>(e(z(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),tE=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),tz=({state:t,dispatch:e})=>{let n=tK(t).map(({from:e,to:n})=>o.jT.range(e,Math.min(n+1,t.doc.length)));return e(t.update({selection:o.jT.create(n),userEvent:"select"})),!0},tB=({state:t,dispatch:e})=>{let n=E(t.selection,e=>{var n;let i=(0,a.qz)(t).resolveInner(e.head,1);for(;!(i.from=e.to||i.to>e.to&&i.from<=e.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return e(z(t,n)),!0},tW=({state:t,dispatch:e})=>{let n=t.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(e(z(t,i)),!0)};function tJ(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:i}=t,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let l=e(r);lr&&(n="delete.forward",l=tL(t,l,!0)),r=Math.min(r,l),s=Math.max(s,l)}else r=tL(t,r,!1),s=tL(t,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(t.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?l.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function tL(t,e,n){if(t instanceof l.tk)for(let i of t.state.facet(l.tk.atomicRanges).map(e=>e(t)))i.between(e,e,(t,i)=>{te&&(e=n?i:t)});return e}let tj=(t,e)=>tJ(t,n=>{let{state:i}=t,r=i.doc.lineAt(n),s,l;if(!e&&n>r.from&&ntj(t,!1),t_=t=>tj(t,!0),tU=(t,e)=>tJ(t,n=>{let i=n,{state:r}=t,s=r.doc.lineAt(i),l=r.charCategorizer(i);for(let a=null;;){if(i==(e?s.to:s.from)){i==n&&s.number!=(e?r.doc.lines:1)&&(i+=e?1:-1);break}let h=(0,o.cp)(s.text,i-s.from,e)+s.from,c=s.text.slice(Math.min(i,h)-s.from,Math.max(i,h)-s.from),u=l(c);if(null!=a&&u!=a)break;(" "!=c||i!=n)&&(a=u),i=h}return i}),tX=t=>tU(t,!1),tq=t=>tU(t,!0),tV=t=>tJ(t,e=>{let n=t.lineBlockAt(e).to;return etJ(t,e=>{let n=t.lineBlockAt(e).from;return e>n?n:Math.max(0,e-1)}),tZ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:o.xv.of(["",""])},range:o.jT.cursor(t.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},tY=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(e=>{if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};let n=e.from,i=t.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:t.doc.slice(n,s).append(t.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function tK(t){let e=[],n=-1;for(let i of t.selection.ranges){let r=t.doc.lineAt(i.from),s=t.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=t.doc.lineAt(i.to-1)),n>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(i)}else e.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return e}function tH(t,e,n){if(t.readOnly)return!1;let i=[],r=[];for(let s of tK(t)){if(n?s.to==t.doc.length:0==s.from)continue;let l=t.doc.lineAt(n?s.to+1:s.from-1),a=l.length+1;if(n)for(let h of(i.push({from:s.to,to:l.to},{from:s.from,insert:l.text+t.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(t.doc.length,h.anchor+a),Math.min(t.doc.length,h.head+a)));else for(let c of(i.push({from:l.from,to:s.from},{from:s.to,insert:t.lineBreak+l.text}),s.ranges))r.push(o.jT.range(c.anchor-a,c.head-a))}return!!i.length&&(e(t.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0)}let t0=({state:t,dispatch:e})=>tH(t,e,!1),t1=({state:t,dispatch:e})=>tH(t,e,!0);function t2(t,e,n){if(t.readOnly)return!1;let i=[];for(let r of tK(t))n?i.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):i.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let t5=({state:t,dispatch:e})=>t2(t,e,!1),t3=({state:t,dispatch:e})=>t2(t,e,!0),t4=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(tK(e).map(({from:t,to:n})=>(t>0?t--:nt.moveVertically(e,!0)).map(n);return t.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},t9=t8(!1),t6=t8(!0);function t8(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let i=e.changeByRange(n=>{let{from:i,to:r}=n,s=e.doc.lineAt(i),l=!t&&i==r&&function(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=(0,a.qz)(t).resolveInner(e),i=n.childBefore(e),r=n.childAfter(e),s;return i&&r&&i.to<=e&&r.from>=e&&(s=i.type.prop(h.md.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(i.to).from==t.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(e,i);t&&(i=r=(r<=s.to?s:e.doc.lineAt(r)).to);let c=new a.Gn(e,{simulateBreak:i,simulateDoubleBreak:!!l}),u=(0,a.K0)(c,i);for(null==u&&(u=/^\s*/.exec(e.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let l=t.doc.lineAt(s);l.number>n&&(i.empty||i.to>l.from)&&(e(l,r,i),n=l.number),s=l.to+1}let a=t.changes(r);return{changes:r,range:o.jT.range(a.mapPos(i.anchor,1),a.mapPos(i.head,1))}})}let et=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),i=new a.Gn(t,{overrideIndentation(t){let e=n[t];return null==e?-1:e}}),r=t7(t,(e,r,s)=>{let o=(0,a.K0)(i,e.from);if(null==o)return;/\S/.test(e.text)||(o=0);let l=/^\s*/.exec(e.text)[0],h=(0,a.SS)(t,o);(l!=h||s.from!t.readOnly&&(e(t.update(t7(t,(e,n)=>{n.push({from:e.from,insert:t.facet(a.c)})}),{userEvent:"input.indent"})),!0),en=({state:t,dispatch:e})=>!t.readOnly&&(e(t.update(t7(t,(e,n)=>{let i=/^\s*/.exec(e.text)[0];if(!i)return;let r=(0,o.IS)(i,t.tabSize),s=0,l=(0,a.SS)(t,Math.max(0,r-(0,a.y1)(t)));for(;s({mac:t.key,run:t.run,shift:t.shift}))),er=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:ty},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:G,shift:tv},{key:"Alt-ArrowUp",run:t0},{key:"Shift-Alt-ArrowUp",run:t5},{key:"Alt-ArrowDown",run:t1},{key:"Shift-Alt-ArrowDown",run:t3},{key:"Escape",run:tW},{key:"Mod-Enter",run:t6},{key:"Alt-l",mac:"Ctrl-l",run:tz},{key:"Mod-i",run:tB,preventDefault:!0},{key:"Mod-[",run:en},{key:"Mod-]",run:ee},{key:"Mod-Alt-\\",run:et},{key:"Shift-Mod-k",run:t4},{key:"Shift-Mod-\\",run:tc},{key:"Mod-/",run:c},{key:"Alt-A",run:d}].concat(ei),es={key:"Tab",run:ee,shift:en};function eo(){var t=arguments[0];"string"==typeof t&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?t.setAttribute(i,r):null!=r&&(t[i]=r)}e++}for(;et.normalize("NFKD"):t=>t;class ea{constructor(t,e,n=0,i=t.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(n,i),this.bufferStart=n,this.normalize=r?t=>r(el(t)):el,this.query=this.normalize(e)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let e=(0,o.bg)(t),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(t);let i=this.normalize(e);for(let r=0,s=n;;r++){let l=i.charCodeAt(r),a=this.match(l,s);if(a)return this.value=a,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let e=this.matchPos<=this.to&&this.re.exec(this.curLine);if(e){let n=this.curLineStart+e.index,i=n+e[0].length;if(this.matchPos=em(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,e)))return this.value={from:n,to:i,match:e},this;t=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=e){let r=new ed(e,t.sliceString(e,n));return ef.set(t,r),r}if(i.from==e&&i.to==n)return i;let{text:s,from:o}=i;return o>e&&(s=t.sliceString(e,o)+s,o=e),i.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,e=this.re.exec(this.flat.text);if(e&&!e[0]&&e.index==t&&(this.re.lastIndex=t+1,e=this.re.exec(this.flat.text)),e){let n=this.flat.from+e.index,i=n+e[0].length;if((this.flat.to>=this.to||e.index+e[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,e)))return this.value={from:n,to:i,match:e},this.matchPos=em(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=ed.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function em(t,e){if(e>=t.length)return e;let n=t.lineAt(e),i;for(;e=56320&&i<57344;)e++;return e}function eg(t){let e=eo("input",{class:"cm-textfield",name:"line"}),n=eo("form",{class:"cm-gotoLine",onkeydown(e){27==e.keyCode?(e.preventDefault(),t.dispatch({effects:ek.of(!1)}),t.focus()):13==e.keyCode&&(e.preventDefault(),i())},onsubmit(t){t.preventDefault(),i()}},eo("label",t.state.phrase("Go to line"),": ",e)," ",eo("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!n)return;let{state:i}=t,r=i.doc.lineAt(i.selection.main.head),[,s,l,a,h]=n,c=a?+a.slice(1):0,u=l?+l:r.number;if(l&&h){let f=u/100;s&&(f=f*("-"==s?-1:1)+r.number/i.doc.lines),u=Math.round(i.doc.lines*f)}else l&&s&&(u=u*("-"==s?-1:1)+r.number);let d=i.doc.line(Math.max(1,Math.min(i.doc.lines,u)));t.dispatch({effects:ek.of(!1),selection:o.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),t.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(eu.prototype[Symbol.iterator]=ep.prototype[Symbol.iterator]=function(){return this});let ek=o.Py.define(),ey=o.QQ.define({create:()=>!0,update(t,e){for(let n of e.effects)n.is(ek)&&(t=n.value);return t},provide:t=>l.mH.from(t,t=>t?eg:null)}),ev=t=>{let e=(0,l.Sd)(t,eg);if(!e){let n=[ek.of(!0)];null==t.state.field(ey,!1)&&n.push(o.Py.appendConfig.of([ey,eb])),t.dispatch({effects:n}),e=(0,l.Sd)(t,eg)}return e&&e.dom.querySelector("input").focus(),!0},eb=l.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),eO={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ex=o.r$.define({combine:t=>(0,o.BO)(t,eO,{highlightWordAroundCursor:(t,e)=>t||e,minSelectionLength:Math.min,maxMatches:Math.min})}),ew=l.p.mark({class:"cm-selectionMatch"}),eS=l.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function eP(t,e,n,i){return(0==n||t(e.sliceDoc(n-1,n))!=o.D0.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=o.D0.Word)}let eC=l.lg.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(ex),{state:n}=t,i=n.selection;if(i.ranges.length>1)return l.p.none;let r=i.main,s,a=null;if(r.empty){if(!e.highlightWordAroundCursor)return l.p.none;let h=n.wordAt(r.head);if(!h)return l.p.none;a=n.charCategorizer(r.head),s=n.sliceDoc(h.from,h.to)}else{let c=r.to-r.from;if(c200)return l.p.none;if(e.wholeWords){var u,f,d;if(s=n.sliceDoc(r.from,r.to),!(eP(a=n.charCategorizer(r.head),n,r.from,r.to)&&(u=a,f=r.from,d=r.to,u(n.sliceDoc(f,f+1))==o.D0.Word&&u(n.sliceDoc(d-1,d))==o.D0.Word)))return l.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return l.p.none}let p=[];for(let m of t.visibleRanges){let g=new ea(n.doc,s,m.from,m.to);for(;!g.next().done;){let{from:k,to:y}=g.value;if((!a||eP(a,n,k,y))&&(r.empty&&k<=r.from&&y>=r.to?p.push(eS.range(k,y)):(k>=r.to||y<=r.from)&&p.push(ew.range(k,y)),p.length>e.maxMatches))return l.p.none}}return l.p.set(p)}},{decorations:t=>t.decorations}),eA=l.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),eQ=({state:t,dispatch:e})=>{let{selection:n}=t,i=o.jT.create(n.ranges.map(e=>t.wordAt(e.head)||o.jT.cursor(e.head)),n.mainIndex);return!i.eq(n)&&(e(t.update({selection:i})),!0)},eT=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(t=>t.from===t.to))return eQ({state:t,dispatch:e});let i=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(e=>t.sliceDoc(e.from,e.to)!=i))return!1;let r=function(t,e){let{main:n,ranges:i}=t.selection,r=t.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,l=new ea(t.doc,e,i[i.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new ea(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(t=>t.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}(t,i);return!!r&&(e(t.update({selection:t.selection.addRange(o.jT.range(r.from,r.to),!1),effects:l.tk.scrollIntoView(r.to)})),!0)},eI=o.r$.define({combine:t=>(0,o.BO)(t,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:t=>new e3(t)})});class eD{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||function(t){try{return RegExp(t,ec),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(t,e)=>"n"==e?"\n":"r"==e?"\r":"t"==e?" ":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new eB(this):new e$(this)}getCursor(t,e=0,n){let i=t.doc?t:o.yy.create({doc:t});return null==n&&(n=i.doc.length),this.regexp?eN(this,i,e,n):eM(this,i,e,n)}}class eR{constructor(t){this.spec=t}}function eM(t,e,n,i){var r,s;return new ea(e.doc,t.unquoted,n,i,t.caseSensitive?void 0:t=>t.toLowerCase(),t.wholeWord?(r=e.doc,s=e.charCategorizer(e.selection.main.head),(t,e,n,i)=>((i>t||i+n.length=e)return null;i.push(n.value)}return i}highlight(t,e,n,i){let r=eM(this.spec,t,Math.max(0,e-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,t.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function eN(t,e,n,i){var r;return new eu(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?(r=e.charCategorizer(e.selection.main.head),(t,e,n)=>!n[0].length||(r(eE(n.input,n.index))!=o.D0.Word||r(ez(n.input,n.index))!=o.D0.Word)&&(r(ez(n.input,n.index+n[0].length))!=o.D0.Word||r(eE(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function eE(t,e){return t.slice((0,o.cp)(t,e,!1),e)}function ez(t,e){return t.slice(e,(0,o.cp)(t,e))}class eB extends eR{nextMatch(t,e,n){let i=eN(this.spec,t,n,t.doc.length).next();return i.done&&(i=eN(this.spec,t,0,e).next()),i.done?null:i.value}prevMatchInRange(t,e,n){for(let i=1;;i++){let r=Math.max(e,n-1e4*i),s=eN(this.spec,t,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==e||o.from>r+10))return o;if(r==e)return null}}prevMatch(t,e,n){return this.prevMatchInRange(t,0,e)||this.prevMatchInRange(t,n,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(e,n)=>"$"==n?"$":"&"==n?t.match[0]:"0"!=n&&+n=e)return null;i.push(n.value)}return i}highlight(t,e,n,i){let r=eN(this.spec,t,Math.max(0,e-250),Math.min(n+250,t.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let eW=o.Py.define(),eJ=o.Py.define(),eL=o.QQ.define({create:t=>new ej(e0(t).create(),null),update(t,e){for(let n of e.effects)n.is(eW)?t=new ej(n.value.create(),t.panel):n.is(eJ)&&(t=new ej(t.query,n.value?eH:null));return t},provide:t=>l.mH.from(t,t=>t.panel)});class ej{constructor(t,e){this.query=t,this.panel=e}}let eF=l.p.mark({class:"cm-searchMatch"}),e_=l.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),eU=l.lg.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(eL))}update(t){let e=t.state.field(eL);(e!=t.startState.field(eL)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return l.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,a=s.length;rs[r+1].from-500;)c=s[++r].to;t.highlight(n.state,h,c,(t,e)=>{let r=n.state.selection.ranges.some(n=>n.from==t&&n.to==e);i.add(t,e,r?e_:eF)})}return i.finish()}},{decorations:t=>t.decorations});function eX(t){return e=>{let n=e.state.field(eL,!1);return n&&n.query.spec.valid?t(e,n):e1(e)}}let eq=eX((t,{query:e})=>{let{to:n}=t.state.selection.main,i=e.nextMatch(t.state,n,n);return!!i&&(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:e6(t,i),userEvent:"select.search"}),!0)}),eV=eX((t,{query:e})=>{let{state:n}=t,{from:i}=n.selection.main,r=e.prevMatch(n,i,i);return!!r&&(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:e6(t,r),userEvent:"select.search"}),!0)}),eG=eX((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!!n&&!!n.length&&(t.dispatch({selection:o.jT.create(n.map(t=>o.jT.range(t.from,t.to))),userEvent:"select.search.matches"}),!0)}),eZ=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],l=0;for(let a=new ea(t.doc,t.sliceDoc(i,r));!a.next().done;){if(s.length>1e3)return!1;a.value.from==i&&(l=s.length),s.push(o.jT.range(a.value.from,a.value.to))}return e(t.update({selection:o.jT.create(s,l),userEvent:"select.search.matches"})),!0},eY=eX((t,{query:e})=>{let{state:n}=t,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=e.nextMatch(n,i,i);if(!s)return!1;let o=[],a,h,c=[];if(s.from==i&&s.to==r&&(h=n.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:h}),s=e.nextMatch(n,s.from,s.to),c.push(l.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let u=0==o.length||o[0].from>=s.to?0:s.to-s.from-h.length;a={anchor:s.from-u,head:s.to-u},c.push(e6(t,s))}return t.dispatch({changes:o,selection:a,scrollIntoView:!!a,effects:c,userEvent:"input.replace"}),!0}),eK=eX((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map(t=>{let{from:n,to:i}=t;return{from:n,to:i,insert:e.getReplacement(t)}});if(!n.length)return!1;let i=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:l.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function eH(t){return t.state.facet(eI).createPanel(t)}function e0(t,e){var n,i,r,s;let o=t.selection.main,l=o.empty||o.to>o.from+100?"":t.sliceDoc(o.from,o.to);if(e&&!l)return e;let a=t.facet(eI);return new eD({search:(null!==(n=null==e?void 0:e.literal)&&void 0!==n?n:a.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==e?void 0:e.caseSensitive)&&void 0!==i?i:a.caseSensitive,literal:null!==(r=null==e?void 0:e.literal)&&void 0!==r?r:a.literal,wholeWord:null!==(s=null==e?void 0:e.wholeWord)&&void 0!==s?s:a.wholeWord})}let e1=t=>{let e=t.state.field(eL,!1);if(e&&e.panel){let n=(0,l.Sd)(t,eH);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=t.root.activeElement){let r=e0(t.state,e.query.spec);r.valid&&t.dispatch({effects:eW.of(r)}),i.focus(),i.select()}}else t.dispatch({effects:[eJ.of(!0),e?eW.of(e0(t.state,e.query.spec)):o.Py.appendConfig.of(e7)]});return!0},e2=t=>{let e=t.state.field(eL,!1);if(!e||!e.panel)return!1;let n=(0,l.Sd)(t,eH);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:eJ.of(!1)}),!0},e5=[{key:"Mod-f",run:e1,scope:"editor search-panel"},{key:"F3",run:eq,shift:eV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:eq,shift:eV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:e2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:eZ},{key:"Alt-g",run:ev},{key:"Mod-d",run:eT,preventDefault:!0}];class e3{constructor(t){this.view=t;let e=this.query=t.state.field(eL).query.spec;function n(t,e,n){return eo("button",{class:"cm-button",name:t,onclick:e,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=eo("input",{value:e.search,placeholder:e4(t,"Find"),"aria-label":e4(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=eo("input",{value:e.replace,placeholder:e4(t,"Replace"),"aria-label":e4(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=eo("input",{type:"checkbox",name:"case",form:"",checked:e.caseSensitive,onchange:this.commit}),this.reField=eo("input",{type:"checkbox",name:"re",form:"",checked:e.regexp,onchange:this.commit}),this.wordField=eo("input",{type:"checkbox",name:"word",form:"",checked:e.wholeWord,onchange:this.commit}),this.dom=eo("div",{onkeydown:t=>this.keydown(t),class:"cm-search"},[this.searchField,n("next",()=>eq(t),[e4(t,"next")]),n("prev",()=>eV(t),[e4(t,"previous")]),n("select",()=>eG(t),[e4(t,"all")]),eo("label",null,[this.caseField,e4(t,"match case")]),eo("label",null,[this.reField,e4(t,"regexp")]),eo("label",null,[this.wordField,e4(t,"by word")]),...t.state.readOnly?[]:[eo("br"),this.replaceField,n("replace",()=>eY(t),[e4(t,"replace")]),n("replaceAll",()=>eK(t),[e4(t,"replace all")])],eo("button",{name:"close",onclick:()=>e2(t),"aria-label":e4(t,"close"),type:"button"},["\xd7"])])}commit(){let t=new eD({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:eW.of(t)}))}keydown(t){(0,l.$1)(this.view,t,"search-panel")?t.preventDefault():13==t.keyCode&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?eV:eq)(this.view)):13==t.keyCode&&t.target==this.replaceField&&(t.preventDefault(),eY(this.view))}update(t){for(let e of t.transactions)for(let n of e.effects)n.is(eW)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(eI).top}}function e4(t,e){return t.state.phrase(e)}let e9=/[\s\.,:;?!]/;function e6(t,{from:e,to:n}){let i=t.state.doc.lineAt(e),r=t.state.doc.lineAt(n).to,s=Math.max(i.from,e-30),o=Math.min(r,n+30),a=t.state.sliceDoc(s,o);if(s!=i.from){for(let h=0;h<30;h++)if(!e9.test(a[h+1])&&e9.test(a[h])){a=a.slice(h);break}}if(o!=r){for(let c=a.length-1;c>a.length-30;c--)if(!e9.test(a[c-1])&&e9.test(a[c])){a=a.slice(0,c);break}}return l.tk.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${i.number}.`)}let e8=l.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),e7=[eL,o.Wl.lowest(eU),e8];var nt=n(34790);class ne{constructor(t,e,n){this.from=t,this.to=e,this.diagnostic=n}}class nn{constructor(t,e,n){this.diagnostics=t,this.panel=e,this.selected=n}static init(t,e,n){let i=t,r=n.facet(nk).markerFilter;r&&(i=r(i));let s=l.p.set(i.map(t=>t.from==t.to||t.from==t.to-1&&n.doc.lineAt(t.from).to==t.from?l.p.widget({widget:new nb(t),diagnostic:t}).range(t.from):l.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+t.severity},diagnostic:t}).range(t.from,t.to)),!0);return new nn(s,e,ni(s))}}function ni(t,e=null,n=0){let i=null;return t.between(n,1e9,(t,n,{spec:r})=>{if(!e||r.diagnostic==e)return i=new ne(t,n,r.diagnostic),!1}),i}function nr(t,e){return!!(t.effects.some(t=>t.is(no))||t.changes.touchesRange(e.pos))}function ns(t,e){return t.field(nh,!1)?e:e.concat(o.Py.appendConfig.of([nh,l.tk.decorations.compute([nh],t=>{let{selected:e,panel:n}=t.field(nh);return e&&n&&e.from!=e.to?l.p.set([nc.range(e.from,e.to)]):l.p.none}),(0,l.bF)(nu,{hideOn:nr}),nS]))}let no=o.Py.define(),nl=o.Py.define(),na=o.Py.define(),nh=o.QQ.define({create:()=>new nn(l.p.none,null,null),update(t,e){if(e.docChanged){let n=t.diagnostics.map(e.changes),i=null;if(t.selected){let r=e.changes.mapPos(t.selected.from,1);i=ni(n,t.selected.diagnostic,r)||ni(n,null,r)}t=new nn(n,t.panel,i)}for(let s of e.effects)s.is(no)?t=nn.init(s.value,t.panel,e.state):s.is(nl)?t=new nn(t.diagnostics,s.value?nx.open:null,t.selected):s.is(na)&&(t=new nn(t.diagnostics,t.panel,s.value));return t},provide:t=>[l.mH.from(t,t=>t.panel),l.tk.decorations.from(t,t=>t.diagnostics)]}),nc=l.p.mark({class:"cm-lintRange cm-lintRange-active"});function nu(t,e,n){let{diagnostics:i}=t.state.field(nh),r=[],s=2e8,o=0;i.between(e-(n<0?1:0),e+(n>0?1:0),(t,i,{spec:l})=>{e>=t&&e<=i&&(t==i||(e>t||n>0)&&(e({dom:function(t,e){return eo("ul",{class:"cm-tooltip-lint"},e.map(e=>nv(t,e,!1)))}(t,r)})}:null}let nf=t=>{let e=t.state.field(nh,!1);e&&e.panel||t.dispatch({effects:ns(t.state,[nl.of(!0)])});let n=(0,l.Sd)(t,nx.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nd=t=>{let e=t.state.field(nh,!1);return!!e&&!!e.panel&&(t.dispatch({effects:nl.of(!1)}),!0)},np=t=>{let e=t.state.field(nh,!1);if(!e)return!1;let n=t.state.selection.main,i=e.diagnostics.iter(n.to+1);return(!!i.value||!!(i=e.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},nm=[{key:"Mod-Shift-m",run:nf,preventDefault:!0},{key:"F8",run:np}],ng=l.lg.fromClass(class{constructor(t){this.view=t,this.timeout=-1,this.set=!0;let{delay:e}=t.state.facet(nk);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let t=Date.now();if(tPromise.resolve(t(this.view)))).then(t=>{let n=t.reduce((t,e)=>t.concat(e));this.view.state.doc==e.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},t=>{(0,l.OO)(this.view.state,t)})}}update(t){let e=t.state.facet(nk);(t.docChanged||e!=t.startState.facet(nk))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),nk=o.r$.define({combine:t=>Object.assign({sources:t.map(t=>t.source)},(0,o.BO)(t.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:ng});function ny(t){let e=[];if(t)t:for(let{name:n}of t){for(let i=0;it.toLowerCase()==r.toLowerCase())){e.push(r);continue t}}e.push("")}return e}function nv(t,e,n){var i;let r=n?ny(e.actions):[];return eo("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},eo("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),null===(i=e.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(t.state.field(nh).diagnostics,e);r&&n.apply(t,r.from,r.to)},{name:o}=n,l=r[i]?o.indexOf(r[i]):-1,a=l<0?o:[o.slice(0,l),eo("u",o.slice(l,l+1)),o.slice(l+1)];return eo("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${l<0?"":` (access key "${r[i]})"`}.`},a)}),e.source&&eo("div",{class:"cm-diagnosticSource"},e.source))}class nb extends l.l9{constructor(t){super(),this.diagnostic=t}eq(t){return t.diagnostic==this.diagnostic}toDOM(){return eo("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nO{constructor(t,e){this.diagnostic=e,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nv(t,e,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nx{constructor(t){this.view=t,this.items=[];let e=e=>{if(27==e.keyCode)nd(this.view),this.view.focus();else if(38==e.keyCode||33==e.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==e.keyCode||34==e.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==e.keyCode)this.moveSelection(0);else if(35==e.keyCode)this.moveSelection(this.items.length-1);else if(13==e.keyCode)this.view.focus();else{if(!(e.keyCode>=65)||!(e.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=ny(n.actions);for(let r=0;r{for(let e=0;end(this.view)},"\xd7")),this.update()}get selectedIndex(){let t=this.view.state.field(nh).selected;if(!t)return -1;for(let e=0;e{let l=-1,a;for(let h=n;hn&&(this.items.splice(n,l-n),i=!0)),e&&a.diagnostic==e.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:t,panel:e})=>{t.tope.bottom&&(this.list.scrollTop+=t.bottom-e.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let t=this.list.firstChild;function e(){let e=t;t=e.nextSibling,e.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;t!=n.dom;)e();t=n.dom.nextSibling}else this.list.insertBefore(n.dom,t);for(;t;)e()}moveSelection(t){if(this.selectedIndex<0)return;let e=ni(this.view.state.field(nh).diagnostics,this.items[t].diagnostic);e&&this.view.dispatch({selection:{anchor:e.from,head:e.to},scrollIntoView:!0,effects:na.of(e)})}static open(t){return new nx(t)}}function nw(t){return function(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}(``,'width="6" height="3"')}let nS=l.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nw("#d11")},".cm-lintRange-warning":{backgroundImage:nw("orange")},".cm-lintRange-info":{backgroundImage:nw("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});l.SJ;let nP=o.Py.define();var nC=function(t){void 0===t&&(t={});var e,n=[];!1!==t.closeBracketsKeymap&&(n=n.concat(nt.GA)),!1!==t.defaultKeymap&&(n=n.concat(er)),!1!==t.searchKeymap&&(n=n.concat(e5)),!1!==t.historyKeymap&&(n=n.concat(N)),!1!==t.foldKeymap&&(n=n.concat(a.e7)),!1!==t.completionKeymap&&(n=n.concat(nt.B1)),!1!==t.lintKeymap&&(n=n.concat(nm));var i=[];if(!1!==t.lineNumbers&&i.push((0,l.Eu)()),!1!==t.highlightActiveLineGutter&&i.push((0,l.HQ)()),!1!==t.highlightSpecialChars&&i.push((0,l.AE)()),!1!==t.history&&i.push(function(t={}){return[O,b.of(t),l.tk.domEventHandlers({beforeinput(t,e){let n="historyUndo"==t.inputType?w:"historyRedo"==t.inputType?S:null;return!!n&&(t.preventDefault(),n(e))}})]}()),!1!==t.foldGutter&&i.push((0,a.mi)()),!1!==t.drawSelection&&i.push((0,l.Uw)()),!1!==t.dropCursor&&i.push((0,l.qr)()),!1!==t.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==t.indentOnInput&&i.push((0,a.nY)()),!1!==t.syntaxHighlighting&&i.push((0,a.nF)(a.R_,{fallback:!0})),!1!==t.bracketMatching&&i.push((0,a.n$)()),!1!==t.closeBrackets&&i.push((0,nt.vQ)()),!1!==t.autocompletion&&i.push((0,nt.ys)()),!1!==t.rectangularSelection&&i.push((0,l.Zs)()),!1!==t.crosshairCursor&&i.push((0,l.S2)()),!1!==t.highlightActiveLine&&i.push((0,l.ZO)()),!1!==t.highlightSelectionMatches){let r;i.push((r=[eA,eC],e&&r.push(ex.of(e)),r))}return t.tabSize&&"number"==typeof t.tabSize&&i.push(a.c.of(" ".repeat(t.tabSize))),i.concat([l.$f.of(n.flat())]).filter(Boolean)},nA=n(35524);let nQ="#e06c75",nT="#abb2bf",nI="#7d8799",nD="#d19a66",nR="#2c313a",nM="#282c34",n$="#353a42",nN="#528bff",nE=l.tk.theme({"&":{color:nT,backgroundColor:nM},".cm-content":{caretColor:nN},".cm-cursor, .cm-dropCursor":{borderLeftColor:nN},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nT},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nM,color:nI,border:"none"},".cm-activeLineGutter":{backgroundColor:nR},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:n$},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:n$,borderBottomColor:n$},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nR,color:nT}}},{dark:!0}),nz=a.Qf.define([{tag:nA.pJ.keyword,color:"#c678dd"},{tag:[nA.pJ.name,nA.pJ.deleted,nA.pJ.character,nA.pJ.propertyName,nA.pJ.macroName],color:nQ},{tag:[nA.pJ.function(nA.pJ.variableName),nA.pJ.labelName],color:"#61afef"},{tag:[nA.pJ.color,nA.pJ.constant(nA.pJ.name),nA.pJ.standard(nA.pJ.name)],color:nD},{tag:[nA.pJ.definition(nA.pJ.name),nA.pJ.separator],color:nT},{tag:[nA.pJ.typeName,nA.pJ.className,nA.pJ.number,nA.pJ.changed,nA.pJ.annotation,nA.pJ.modifier,nA.pJ.self,nA.pJ.namespace],color:"#e5c07b"},{tag:[nA.pJ.operator,nA.pJ.operatorKeyword,nA.pJ.url,nA.pJ.escape,nA.pJ.regexp,nA.pJ.link,nA.pJ.special(nA.pJ.string)],color:"#56b6c2"},{tag:[nA.pJ.meta,nA.pJ.comment],color:nI},{tag:nA.pJ.strong,fontWeight:"bold"},{tag:nA.pJ.emphasis,fontStyle:"italic"},{tag:nA.pJ.strikethrough,textDecoration:"line-through"},{tag:nA.pJ.link,color:nI,textDecoration:"underline"},{tag:nA.pJ.heading,fontWeight:"bold",color:nQ},{tag:[nA.pJ.atom,nA.pJ.bool,nA.pJ.special(nA.pJ.variableName)],color:nD},{tag:[nA.pJ.processingInstruction,nA.pJ.string,nA.pJ.inserted],color:"#98c379"},{tag:nA.pJ.invalid,color:"#ffffff"}]),nB=[nE,(0,a.nF)(nz)];var nW=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(t=>!t.empty)}),nJ=n(85893),nL=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nj=(0,s.forwardRef)((t,e)=>{var{className:n,value:a="",selection:h,extensions:c=[],onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,autoFocus:m,theme:g="light",height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,root:Q,initialState:T}=t,I=(0,r.Z)(t,nL),D=(0,s.useRef)(null),{state:R,view:M,container:$,setContainer:N}=function(t){var{value:e,selection:n,onChange:i,onStatistics:r,onCreateEditor:a,onUpdate:h,extensions:c=[],autoFocus:u,theme:f="light",height:d="",minHeight:p="",maxHeight:m="",placeholder:g="",width:k="",minWidth:y="",maxWidth:v="",editable:b=!0,readOnly:O=!1,indentWithTab:x=!0,basicSetup:w=!0,root:S,initialState:P}=t,[C,A]=(0,s.useState)(),[Q,T]=(0,s.useState)(),[I,D]=(0,s.useState)(),R=l.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),M=l.tk.theme({"&":{height:d,minHeight:p,maxHeight:m,width:k,minWidth:y,maxWidth:v}}),$=[l.tk.updateListener.of(t=>{t.docChanged&&"function"==typeof i&&i(t.state.doc.toString(),t),r&&r(nW(t))}),M];switch(x&&$.unshift(l.$f.of([es])),w&&("boolean"==typeof w?$.unshift(nC()):$.unshift(nC(w))),g&&$.unshift((0,l.W$)(g)),f){case"light":$.push(R);break;case"dark":$.push(nB);break;case"none":break;default:$.push(f)}return!1===b&&$.push(l.tk.editable.of(!1)),O&&$.push(o.yy.readOnly.of(!0)),h&&"function"==typeof h&&$.push(l.tk.updateListener.of(h)),$=$.concat(c),(0,s.useEffect)(()=>{if(C&&!I){var t={doc:e,selection:n,extensions:$},i=P?o.yy.fromJSON(P.json,t,P.fields):o.yy.create(t);if(D(i),!Q){var r=new l.tk({state:i,parent:C,root:S});T(r),a&&a(r,i)}}return()=>{Q&&(D(void 0),T(void 0))}},[C,I]),(0,s.useEffect)(()=>A(t.container),[t.container]),(0,s.useEffect)(()=>()=>{Q&&(Q.destroy(),T(void 0))},[Q]),(0,s.useEffect)(()=>{u&&Q&&Q.focus()},[u,Q]),(0,s.useEffect)(()=>{Q&&Q.dispatch({effects:o.Py.reconfigure.of($)})},[f,c,d,p,m,k,y,v,g,b,O,x,w,i,h]),(0,s.useEffect)(()=>{var t=Q?Q.state.doc.toString():"";Q&&e!==t&&Q.dispatch({changes:{from:0,to:t.length,insert:e||""}})},[e,Q]),{state:I,setState:D,view:Q,setView:T,container:C,setContainer:A}}({container:D.current,root:Q,value:a,autoFocus:m,theme:g,height:k,minHeight:y,maxHeight:v,width:b,minWidth:O,maxWidth:x,basicSetup:w,placeholder:S,indentWithTab:P,editable:C,readOnly:A,selection:h,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:c,initialState:T});if((0,s.useImperativeHandle)(e,()=>({editor:D.current,state:R,view:M}),[D,$,R,M]),"string"!=typeof a)throw Error("value must be typeof string but got "+typeof a);return(0,nJ.jsx)("div",(0,i.Z)({ref:D,className:("string"==typeof g?"cm-theme-"+g:"cm-theme")+(n?" "+n:"")},I))});nj.displayName="CodeMirror";var nF=nj},34790:function(t,e,n){n.d(e,{B1:function(){return tC},GA:function(){return tb},Gn:function(){return to},Mb:function(){return a},eC:function(){return h},vQ:function(){return td},ys:function(){return tP}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(t,e,n){this.state=t,this.pos=e,this.explicit=n,this.abortListeners=[]}tokenBefore(t){let e=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;e&&0>t.indexOf(e.name);)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos),n=Math.max(e.from,this.pos-250),i=e.text.slice(n-e.from,this.pos-e.from),r=i.search(f(t,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(t,e){"abort"==t&&this.abortListeners&&this.abortListeners.push(e)}}function l(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function a(t){let e=t.map(t=>"string"==typeof t?{label:t}:t),[n,i]=e.every(t=>/^\w+$/.test(t.label))?[/\w*$/,/\w+$/]:function(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let r=1;r{let r=t.matchBefore(i);return r||t.explicit?{from:r?r.from:t.pos,options:e,validFor:n}:null}}function h(t,e){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(t.indexOf(i.name)>-1)return null;return e(n)}}class c{constructor(t,e,n){this.completion=t,this.source=e,this.match=n}}function u(t){return t.selection.main.head}function f(t,e){var n;let{source:i}=t,r=e&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=t.flags)&&void 0!==n?n:t.ignoreCase?"i":""):t}let d=i.q6.define();function p(t,e){let n=e.completion.apply||e.completion.label,r=e.source;if("string"==typeof n){var s,o,l;t.dispatch(Object.assign(Object.assign({},(s=t.state,o=r.from,l=r.to,Object.assign(Object.assign({},s.changeByRange(t=>{if(t==s.selection.main)return{changes:{from:o,to:l,insert:n},range:i.jT.cursor(o+n.length)};let e=l-o;return!t.empty||e&&s.sliceDoc(t.from-e,t.from)!=s.sliceDoc(o,l)?{range:t}:{changes:{from:t.from-e,to:t.from,insert:n},range:i.jT.cursor(t.from-e+n.length)}})),{userEvent:"input.complete"}))),{annotations:d.of(e.completion)}))}else n(t,e.completion,r.from,r.to)}let m=new WeakMap;function g(t){if(!Array.isArray(t))return t;let e=m.get(t);return e||m.set(t,e=a(t)),e}class k{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let e=0;e=48&&P<=57||P>=97&&P<=122?2:P>=65&&P<=90?1:0:(C=(0,i.bg)(P))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!x||1==A&&b||0==S&&0!=A)&&(e[m]==P||n[m]==P&&(g=!0)?o[m++]=x:o.length&&(O=!1)),S=A,x+=(0,i.nZ)(P)}return m==h&&0==o[0]&&O?this.result(-100+(g?-200:0),o,t):k==h&&0==y?[-200-t.length,0,v]:a>-1?[-700-t.length,a,a+this.pattern.length]:k==h?[-900-t.length,y,v]:m==h?this.result(-100+(g?-200:0)+-700+(O?0:-1100),o,t):2==e.length?null:this.result((r[0]?-700:0)+-200+-1100,r,t)}result(t,e,n){let r=[t-n.length],s=1;for(let o of e){let l=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return r}}let y=i.r$.define({combine:t=>(0,i.BO)(t,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>n=>v(t(n),e(n)),optionClass:(t,e)=>n=>v(t(n),e(n)),addToOptions:(t,e)=>t.concat(e)})});function v(t,e){return t?e?t+" "+e:t:e}function b(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}class O{constructor(t,e){let n;this.view=t,this.stateField=e,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:t=>this.positionInfo(t),key:this},this.space=null,this.currentClass="";let i=t.state.field(e),{options:r,selected:s}=i.open,o=t.state.facet(y);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(t){let e=document.createElement("div");return e.classList.add("cm-completionIcon"),t.type&&e.classList.add(...t.type.split(/\s+/g).map(t=>"cm-completionIcon-"+t)),e.setAttribute("aria-hidden","true"),e},position:20}),n.push({render(t,e,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=t,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,l)));let h=i.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(r.slice(l,a))),h.className="cm-completionMatchedText",s=a}return st.position-e.position).map(t=>t.render)),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=b(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",e=>{for(let n=e.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(t){var e,n,i;let r=t.state.field(this.stateField),s=t.startState.field(this.stateField);this.updateTooltipClass(t.state),r!=s&&(this.updateSel(),(null===(e=r.open)||void 0===e?void 0:e.disabled)!=(null===(n=s.open)||void 0===n?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(null===(i=r.open)||void 0===i?void 0:i.disabled)))}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let i of e.split(" "))i&&this.dom.classList.add(i);this.currentClass=e}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if((e.selected>-1&&e.selected=this.range.to)&&(this.range=b(e.options.length,e.selected,this.view.state.facet(y).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e.options,t.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(e.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=e.options[e.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(e=>{e&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(e)}).catch(t=>(0,r.OO)(this.view.state,t,"completion info")):this.addInfoPane(s)}}addInfoPane(t){let e=this.info=document.createElement("div");e.className="cm-tooltip cm-completionInfo",e.appendChild(t),this.dom.appendChild(e),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(t){var e,n;let i,r,s=null;for(let o=this.list.firstChild,l=this.range.from;o;o=o.nextSibling,l++)l==t?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(e=this.list,n=s,i=e.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(e.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=t.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}if(i.top>Math.min(s.bottom,e.bottom)-10||i.bottom=n.height||m>e.top?u=i.bottom-e.top+"px":f=e.bottom-i.top+"px"}return{top:u,bottom:f,maxWidth:c,class:h?l?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(t){this.info&&(t?(this.info.style.top=t.top,this.info.style.bottom=t.bottom,this.info.style.maxWidth=t.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+t.class):this.info.style.top="-1e6px")}createListBox(t,e,n){let i=document.createElement("ul");i.id=e,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new w(this.options,C(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,n,i,r){let s=function(t,e){let n=[],i=0;for(let r of t)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let l=[1e9-i++];if(s)for(let a of s(o))l.push(a);n.push(new c(o,r,l))}}else{let h=new k(e.sliceDoc(r.from,r.to)),u;for(let f of r.result.options)(u=h.match(f.label))&&(null!=f.boost&&(u[0]+=f.boost),n.push(new c(f,r,u)))}}let d=[],p=null,m=e.facet(y).compareCompletions;for(let g of n.sort((t,e)=>e.match[0]-t.match[0]||m(t.completion,e.completion)))p&&p.label==g.completion.label&&p.detail==g.completion.detail&&(null==p.type||null==g.completion.type||p.type==g.completion.type)&&p.apply==g.completion.apply?x(g.completion)>x(p)&&(d[d.length-1]=g):d.push(g),p=g.completion;return d}(t,e);if(!s.length)return i&&t.some(t=>1==t.state)?new w(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=e.facet(y).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let l=i.options[i.selected].completion;for(let a=0;ae.hasResult()?Math.min(t,e.from):t,1e8),create:t=>new O(t,N),above:r.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(t){return new w(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class S{constructor(t,e,n){this.active=t,this.id=e,this.open=n}static start(){return new S(A,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:e}=t,n=e.facet(y),i=(n.override||e.languageDataAt("autocomplete",u(e)).map(g)).map(e=>(this.active.find(t=>t.source==e)||new T(e,this.active.some(t=>0!=t.state)?1:0)).update(t,n));i.length==this.active.length&&i.every((t,e)=>t==this.active[e])&&(i=this.active);let r=this.open;for(let s of(r&&t.docChanged&&(r=r.map(t.changes)),t.selection||i.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!function(t,e){if(t==e)return!0;for(let n=0,i=0;;){for(;n1==t.state)&&(r=null),!r&&i.every(t=>1!=t.state)&&i.some(t=>t.hasResult())&&(i=i.map(t=>t.hasResult()?new T(t.source,0):t)),t.effects))s.is($)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new S(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:P}}let P={"aria-autocomplete":"list"};function C(t,e){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(n["aria-activedescendant"]=t+"-"+e),n}let A=[];function Q(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class T{constructor(t,e,n=-1){this.source=t,this.state=e,this.explicitPos=n}hasResult(){return!1}update(t,e){let n=Q(t),i=this;for(let r of(n?i=i.handleUserEvent(t,n,e):t.docChanged?i=i.handleChange(t):t.selection&&0!=i.state&&(i=new T(i.source,0)),t.effects))if(r.is(D))i=new T(i.source,1,r.value?u(t.state):-1);else if(r.is(R))i=new T(i.source,0);else if(r.is(M))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(t,e,n){return"delete"!=e&&n.activateOnTyping?new T(this.source,1):this.map(t.changes)}handleChange(t){return t.changes.touchesRange(u(t.startState))?new T(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new T(this.source,this.state,t.mapPos(this.explicitPos))}}class I extends T{constructor(t,e,n,i,r){super(t,2,e),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(t,e,n){var i;let r=t.changes.mapPos(this.from),s=t.changes.mapPos(this.to,1),l=u(t.state);if((this.explicitPos<0?l<=r:ls||"delete"==e&&u(t.startState)==this.from)return new T(this.source,"input"==e&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos),h;return!function(t,e,n,i){if(!t)return!1;let r=e.sliceDoc(n,i);return"function"==typeof t?t(r,n,i,e):f(t,!0).test(r)}(this.result.validFor,t.state,r,s)?this.result.update&&(h=this.result.update(this.result,r,s,new o(t.state,l,a>=0)))?new I(this.source,a,h,h.from,null!==(i=h.to)&&void 0!==i?i:u(t.state)):new T(this.source,1,a):new I(this.source,a,this.result,r,s)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new T(this.source,0):this.map(t.changes)}map(t){return t.empty?this:new I(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}}let D=i.Py.define(),R=i.Py.define(),M=i.Py.define({map:(t,e)=>t.map(t=>t.map(e))}),$=i.Py.define(),N=i.QQ.define({create:()=>S.start(),update:(t,e)=>t.update(e),provide:t=>[r.hJ.from(t,t=>t.tooltip),r.tk.contentAttributes.from(t,t=>t.attrs)]});function E(t,e="option"){return n=>{let i=n.state.field(N,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+s*(t?1:-1):t?0:l-1;return a<0?a="page"==e?0:l-1:a>=l&&(a="page"==e?l-1:0),n.dispatch({effects:$.of(a)}),!0}}let z=t=>{let e=t.state.field(N,!1);return!(t.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestamp!!t.state.field(N,!1)&&(t.dispatch({effects:D.of(!0)}),!0),W=t=>{let e=t.state.field(N,!1);return!!(e&&e.active.some(t=>0!=t.state))&&(t.dispatch({effects:R.of(null)}),!0)};class J{constructor(t,e){this.active=t,this.context=e,this.time=Date.now(),this.updates=[],this.done=void 0}}let L=r.lg.fromClass(class{constructor(t){for(let e of(this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,t.state.field(N).active))1==e.state&&this.startQuery(e)}update(t){let e=t.state.field(N);if(!t.selectionSet&&!t.docChanged&&t.startState.field(N)==e)return;let n=t.transactions.some(t=>(t.selection||t.docChanged)&&!Q(t));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(l){(0,r.OO)(this.view.state,l)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...t.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(t=>1==t.state&&!this.running.some(e=>e.active.source==t.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let a of t.transactions)"input"==Q(a)?this.composing=2:2==this.composing&&a.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:t}=this.view;for(let e of t.field(N).active)1!=e.state||this.running.some(t=>t.active.source==e.source)||this.startQuery(e)}startQuery(t){let{state:e}=this.view,n=u(e),i=new o(e,n,t.explicitPos==n),s=new J(t,i);this.running.push(s),Promise.resolve(t.source(i)).then(t=>{s.context.aborted||(s.done=t||null,this.scheduleAccept())},t=>{this.view.dispatch({effects:R.of(null)}),(0,r.OO)(this.view.state,t)})}scheduleAccept(){this.running.every(t=>void 0!==t.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(y);for(let i=0;it.source==r.active.source);if(l&&1==l.state){if(null==r.done){let a=new T(r.active.source,0);for(let h of r.updates)a=a.update(h,n);1!=a.state&&e.push(a)}else this.startQuery(l)}}e.length&&this.view.dispatch({effects:M.of(e)})}},{eventHandlers:{blur(){let t=this.view.state.field(N,!1);t&&t.tooltip&&this.view.state.facet(y).closeOnBlur&&this.view.dispatch({effects:R.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:D.of(!1)}),20),this.composing=0}}}),j=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class F{constructor(t,e,n,i){this.field=t,this.line=e,this.from=n,this.to=i}}class _{constructor(t,e,n){this.field=t,this.from=e,this.to=n}map(t){let e=t.mapPos(this.from,-1,i.gc.TrackDel),n=t.mapPos(this.to,1,i.gc.TrackDel);return null==e||null==n?null:new _(this.field,e,n)}}class U{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate(t,e){let n=[],i=[e],r=t.doc.lineAt(e),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let a=o,h=/^\t*/.exec(l)[0].length;for(let c=0;cnew _(t.field,i[t.line]+t.from,i[t.line]+t.to));return{text:n,ranges:u}}static parse(t){let e=[],n=[],i=[],r;for(let s of t.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,l=r[2]||r[3]||"",a=-1;for(let h=0;h=a&&u.field++}i.push(new F(a,n.length,r.index,r.index+l.length)),s=s.slice(0,r.index)+l+s.slice(r.index+r[0].length)}for(let f;f=/\\([{}])/.exec(s);)for(let d of(s=s.slice(0,f.index)+f[1]+s.slice(f.index+f[0].length),i))d.line==n.length&&d.from>f.index&&(d.from--,d.to--);n.push(s)}return new U(n,i)}}let X=r.p.widget({widget:new class extends r.l9{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),q=r.p.mark({class:"cm-snippetField"});class V{constructor(t,e){this.ranges=t,this.active=e,this.deco=r.p.set(t.map(t=>(t.from==t.to?X:q).range(t.from,t.to)))}map(t){let e=[];for(let n of this.ranges){let i=n.map(t);if(!i)return null;e.push(i)}return new V(e,this.active)}selectionInsideField(t){return t.ranges.every(t=>this.ranges.some(e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))}}let G=i.Py.define({map:(t,e)=>t&&t.map(e)}),Z=i.Py.define(),Y=i.QQ.define({create:()=>null,update(t,e){for(let n of e.effects){if(n.is(G))return n.value;if(n.is(Z)&&t)return new V(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>r.tk.decorations.from(t,t=>t?t.deco:r.p.none)});function K(t,e){return i.jT.create(t.filter(t=>t.field==e).map(t=>i.jT.range(t.from,t.to)))}function H(t){return({state:e,dispatch:n})=>{let i=e.field(Y,!1);if(!i||t<0&&0==i.active)return!1;let r=i.active+t,s=t>0&&!i.ranges.some(e=>e.field==r+t);return n(e.update({selection:K(i.ranges,r),effects:G.of(s?null:new V(i.ranges,r))})),!0}}let tt=({state:t,dispatch:e})=>!!t.field(Y,!1)&&(e(t.update({effects:G.of(null)})),!0),te=H(1),tn=H(-1),ti=[{key:"Tab",run:te,shift:tn},{key:"Escape",run:tt}],tr=i.r$.define({combine:t=>t.length?t[0]:ti}),ts=i.Wl.highest(r.$f.compute([tr],t=>t.facet(tr)));function to(t,e){let n;return Object.assign(Object.assign({},e),{apply:(n=U.parse(t),(t,e,r,s)=>{let{text:o,ranges:l}=n.instantiate(t.state,r),a={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(l.length&&(a.selection=K(l,0)),l.length>1){let h=new V(l,0),c=a.effects=[G.of(h)];void 0===t.state.field(Y,!1)&&c.push(i.Py.appendConfig.of([Y,ts,tl,j]))}t.dispatch(t.state.update(a))})})}let tl=r.tk.domEventHandlers({mousedown(t,e){let n=e.state.field(Y,!1),i;if(!n||null==(i=e.posAtCoords({x:t.clientX,y:t.clientY})))return!1;let r=n.ranges.find(t=>t.from<=i&&t.to>=i);return!!r&&r.field!=n.active&&(e.dispatch({selection:K(n.ranges,r.field),effects:G.of(n.ranges.some(t=>t.field>r.field)?new V(n.ranges,r.field):null)}),!0)}}),ta={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},th=i.Py.define({map(t,e){let n=e.mapPos(t,-1,i.gc.TrackAfter);return null==n?void 0:n}}),tc=i.Py.define({map:(t,e)=>e.mapPos(t)}),tu=new class extends i.uU{};tu.startSide=1,tu.endSide=-1;let tf=i.QQ.define({create:()=>i.Xs.empty,update(t,e){if(e.selection){let n=e.state.doc.lineAt(e.selection.main.head).from,r=e.startState.doc.lineAt(e.startState.selection.main.head).from;n!=e.changes.mapPos(r,-1)&&(t=i.Xs.empty)}for(let s of(t=t.map(e.changes),e.effects))s.is(th)?t=t.update({add:[tu.range(s.value,s.value+1)]}):s.is(tc)&&(t=t.update({filter:t=>t!=s.value}));return t}});function td(){return[ty,tf]}let tp="()[]{}<>";function tm(t){for(let e=0;e{if((tk?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let o=t.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||e!=o.from||n!=o.to)return!1;let l=function(t,e){let n=tg(t,t.selection.main.head),r=n.brackets||ta.brackets;for(let o of r){let l=tm((0,i.gm)(o,0));if(e==o)return l==o?function(t,e,n,r){let o=r.stringPrefixes||ta.stringPrefixes,l=null,a=t.changeByRange(r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:e,from:r.to}],effects:th.of(r.to+e.length),range:i.jT.range(r.anchor+e.length,r.head+e.length)};let a=r.head,h=tx(t.doc,a),c;if(h==e){if(tw(t,a))return{changes:{insert:e+e,from:a},effects:th.of(a+e.length),range:i.jT.cursor(a+e.length)};if(tO(t,a)){let u=n&&t.sliceDoc(a,a+3*e.length)==e+e+e;return{range:i.jT.cursor(a+e.length*(u?3:1)),effects:tc.of(a)}}}else if(n&&t.sliceDoc(a-2*e.length,a)==e+e&&(c=tS(t,a-2*e.length,o))>-1&&tw(t,c))return{changes:{insert:e+e+e+e,from:a},effects:th.of(a+e.length),range:i.jT.cursor(a+e.length)};else if(t.charCategorizer(a)(h)!=i.D0.Word&&tS(t,a,o)>-1&&!function(t,e,n,i){let r=(0,s.qz)(t).resolveInner(e,-1),o=i.reduce((t,e)=>Math.max(t,e.length),0);for(let l=0;l<5;l++){let a=t.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),h=a.indexOf(n);if(!h||h>-1&&i.indexOf(a.slice(0,h))>-1){let c=r.firstChild;for(;c&&c.from==r.from&&c.to-c.from>n.length+h;){if(t.sliceDoc(c.to-n.length,c.to)==n)return!1;c=c.firstChild}return!0}let u=r.to==e&&r.parent;if(!u)break;r=u}return!1}(t,a,e,o))return{changes:{insert:e+e,from:a},effects:th.of(a+e.length),range:i.jT.cursor(a+e.length)};return{range:l=r}});return l?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(t,o,r.indexOf(o+o+o)>-1,n):function(t,e,n,r){let s=null,o=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:n,from:o.to}],effects:th.of(o.to+e.length),range:i.jT.range(o.anchor+e.length,o.head+e.length)};let l=tx(t.doc,o.head);return!l||/\s/.test(l)||r.indexOf(l)>-1?{changes:{insert:e+n,from:o.head},effects:th.of(o.head+e.length),range:i.jT.cursor(o.head+e.length)}:{range:s=o}});return s?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(t,o,l,n.before||ta.before);if(e==l&&tO(t,t.selection.main.from))return function(t,e,n){let r=null,s=t.selection.ranges.map(e=>e.empty&&tx(t.doc,e.head)==n?i.jT.cursor(e.head+n.length):r=e);return r?null:t.update({selection:i.jT.create(s,t.selection.mainIndex),scrollIntoView:!0,effects:t.selection.ranges.map(({from:t})=>tc.of(t))})}(t,0,l)}return null}(t.state,r);return!!l&&(t.dispatch(l),!0)}),tv=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=tg(t,t.selection.main.head).brackets||ta.brackets,r=null,s=t.changeByRange(e=>{if(e.empty){var s,o;let l;let a=(s=t.doc,o=e.head,l=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(l,0))==l.length?l:l.slice(1));for(let h of n)if(h==a&&tx(t.doc,e.head)==tm((0,i.gm)(h,0)))return{changes:{from:e.head-h.length,to:e.head+h.length},range:i.jT.cursor(e.head-h.length)}}return{range:r=e}});return r||e(t.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},tb=[{key:"Backspace",run:tv}];function tO(t,e){let n=!1;return t.field(tf).between(0,t.doc.length,t=>{t==e&&(n=!0)}),n}function tx(t,e){let n=t.sliceString(e,e+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function tw(t,e){let n=(0,s.qz)(t).resolveInner(e+1);return n.parent&&n.from==e}function tS(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=i.D0.Word)return e;for(let s of n){let o=e-s.length;if(t.sliceDoc(o,e)==s&&r(t.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function tP(t={}){return[N,y.of(t),L,tA,j]}let tC=[{key:"Ctrl-Space",run:B},{key:"Escape",run:W},{key:"ArrowDown",run:E(!0)},{key:"ArrowUp",run:E(!1)},{key:"PageDown",run:E(!0,"page")},{key:"PageUp",run:E(!1,"page")},{key:"Enter",run:z}],tA=i.Wl.highest(r.$f.computeN([y],t=>t.facet(y).defaultKeymap?[tC]:[]))},61426:function(t,e,n){n.r(e),n.d(e,{css:function(){return S},cssCompletionSource:function(){return x},cssLanguage:function(){return w}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}let l=new i.Jq((t,e)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:l}=t;if(o(l)||45==l||95==l||n&&(s=l)>=48&&s<=57)!n&&(45!=l||r>0)&&(n=!0),i===r&&45==l&&i++,t.advance();else{n&&t.acceptToken(40==l?95:2==i&&e.canShift(2)?2:96);break}}}),a=new i.Jq(t=>{if(s.includes(t.peek(-1))){let{next:e}=t;(o(e)||95==e||35==e||46==e||91==e||58==e||45==e)&&t.acceptToken(94)}}),h=new i.Jq(t=>{if(!s.includes(t.peek(-1))){let{next:e}=t;if(37==e&&(t.advance(),t.acceptToken(1)),o(e)){do t.advance();while(o(t.next));t.acceptToken(1)}}}),c=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),u={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},f={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},d={__proto__:null,not:128,only:128,from:158,to:160},p=i.WQ.deserialize({version:14,states:"7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[a,h,l,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:95,get:t=>u[t]||-1},{term:56,get:t=>f[t]||-1},{term:96,get:t=>d[t]||-1}],tokenPrec:1123});var m=n(59119);let g=null;function k(){if(!g&&"object"==typeof document&&document.body){let t=[];for(let e in document.body.style)/[A-Z]|^-|^(item|length)$/.test(e)||t.push(e);g=t.sort().map(t=>({type:"property",label:t}))}return g||[]}let y=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),v=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","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","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),b=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),O=/^[\w-]*/,x=t=>{let{state:e,pos:n}=t,i=(0,m.qz)(e).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:k(),validFor:O};if("ValueName"==i.name)return{from:i.from,options:v,validFor:O};if("PseudoClassName"==i.name)return{from:i.from,options:y,validFor:O};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:k(),validFor:O};return{from:i.from,options:b,validFor:O}}if(!t.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:y,validFor:O}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:v,validFor:O}:"Block"==s.name?{from:n,options:k(),validFor:O}:null},w=m.qp.define({name:"css",parser:p.configure({props:[m.uj.add({Declaration:(0,m.tC)()}),m.x0.add({Block:m.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function S(){return new m.ri(w,w.data.of({autocomplete:x}))}},59119:function(t,e,n){n.d(e,{Be:function(){return k},Dv:function(){return F},Gn:function(){return D},K0:function(){return I},Qf:function(){return tf},R_:function(){return ty},SQ:function(){return u},SS:function(){return T},Um:function(){return tT},c:function(){return A},c6:function(){return P},e7:function(){return ti},il:function(){return tM},kU:function(){return c},mi:function(){return tc},n$:function(){return tA},nF:function(){return tg},nY:function(){return J},pp:function(){return h},qp:function(){return d},qz:function(){return p},ri:function(){return S},tC:function(){return W},uj:function(){return R},vw:function(){return E},x0:function(){return j},y1:function(){return Q},ze:function(){return B}});var i,r=n(41113),s=n(78120),o=n(47421),l=n(35524),a=n(28699);let h=new r.md;function c(t){return s.r$.define({combine:t?e=>e.concat(t):void 0})}class u{constructor(t,e,n=[],i=""){this.data=t,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return p(this)}}),this.parser=e,this.extension=[w.of(this),s.yy.languageData.of((t,e,n)=>t.facet(f(t,e,n)))].concat(n)}isActiveAt(t,e,n=-1){return f(t,e,n)==this.data}findRegions(t){let e=t.facet(w);if((null==e?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[],i=(t,e)=>{if(t.prop(h)==this.data){n.push({from:e,to:e+t.length});return}let s=t.prop(r.md.mounted);if(s){if(s.tree.prop(h)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+e,to:o.to+e});else n.push({from:e,to:e+t.length});return}if(s.overlay){let l=n.length;if(i(s.tree,s.overlay[0].from+e),n.length>l)return}}for(let a=0;at.isTop?e:void 0)]}),t.name)}configure(t,e){return new d(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(t){let e=t.field(u.state,!1);return e?e.tree:r.mp.empty}class m{constructor(t,e=t.length){this.doc=t,this.length=e,this.cursorPos=0,this.string="",this.cursor=t.iter()}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,e){let n=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,e):this.string.slice(t-n,e-n)}}let g=null;class k{constructor(t,e,n=[],i,r,s,o,l){this.parser=t,this.state=e,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,e,n){return new k(t,e,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(t,e){return(null!=e&&e>=this.state.doc.length&&(e=void 0),this.tree!=r.mp.empty&&this.isDone(null!=e?e:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof t){let i=Date.now()+t;t=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=e&&(null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&e=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(e=this.parse.advance()););}),this.treeLen=t,this.tree=e,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let e=g;g=this;try{return t()}finally{g=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=y(t,e.from,e.to);return t}changes(t,e){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!t.empty){let a=[];if(t.iterChangedRanges((t,e,n,i)=>a.push({fromA:t,toA:e,fromB:n,toB:i})),n=r.i9.applyChanges(n,a),i=r.mp.empty,s=0,o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)},this.skipped.length)for(let h of(l=[],this.skipped)){let c=t.mapPos(h.from,1),u=t.mapPos(h.to,-1);ct.from&&(this.fragments=y(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=e)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends r._b{createParse(e,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let e=g;if(e){for(let n of i)e.tempSkipped.push(n);t&&(e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&0==e[0].from&&e[0].to>=t}static get(){return g}}function y(t,e,n){return r.i9.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class v{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state),n=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);return e.work(20,n)||e.takeTree(),new v(e)}static init(t){let e=Math.min(3e3,t.doc.length),n=k.create(t.facet(w).parser,t,{from:0,to:e});return n.work(20,e)||n.takeTree(),new v(n)}}u.state=s.QQ.define({create:v.init,update(t,e){for(let n of e.effects)if(n.is(u.setState))return n.value;return e.startState.facet(w)!=e.state.facet(w)?v.init(e.state):t.apply(e)}});let b=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};"undefined"!=typeof requestIdleCallback&&(b=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});let O="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=o.lg.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let e=this.view.state.field(u.state).context;(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)&&this.scheduleWork(),t.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(u.state);e.tree==e.context.tree&&e.context.isDone(t.doc.length)||(this.working=b(this.work))}work(t){this.working=null;let e=Date.now();if(this.chunkEndi+1e3,l=r.context.work(()=>O&&O()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-e,(l||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new v(r.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(t=>(0,o.OO)(this.view.state,t)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),w=s.r$.define({combine:t=>t.length?t[0]:null,enables:t=>[u.state,x,o.tk.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]});class S{constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]}}class P{constructor(t,e,n,i,r,s){this.name=t,this.alias=e,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(t=>this.support=t,t=>{throw this.loading=null,t}))}static of(t){let{load:e,support:n}=t;if(!e){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");e=()=>Promise.resolve(n)}return new P(t.name,(t.alias||[]).concat(t.name).map(t=>t.toLowerCase()),t.extensions||[],t.filename,e,n)}static matchFilename(t,e){for(let n of t)if(n.filename&&n.filename.test(e))return n;let i=/\.([^.]+)$/.exec(e);if(i){for(let r of t)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(t,e,n=!0){for(let i of(e=e.toLowerCase(),t))if(i.alias.some(t=>t==e))return i;if(n)for(let r of t)for(let s of r.alias){let o=e.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(e[o-1])&&!/\w/.test(e[o+s.length])))return r}return null}}let C=s.r$.define(),A=s.r$.define({combine(t){if(!t.length)return" ";if(!/^(?: +|\t+)$/.test(t[0]))throw Error("Invalid indent unit: "+JSON.stringify(t[0]));return t[0]}});function Q(t){let e=t.facet(A);return 9==e.charCodeAt(0)?t.tabSize*e.length:e.length}function T(t,e){let n="",i=t.tabSize;if(9==t.facet(A).charCodeAt(0))for(;e>=i;)n+=" ",e-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==t?{text:"",from:t}:(e<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(t,e=t.length){return(0,s.IS)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:n,from:i}=this.lineAt(t,e),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let R=new r.md;function M(t,e,n){for(;t;t=t.parent){let i=function(t){let e=t.type.prop(R);if(e)return e;let n=t.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=t.lastChild,o=s&&i.indexOf(s.name)>-1;return t=>z(t,!0,1,void 0,o&&!(t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak)?s.from:void 0)}return null==t.parent?$:null}(t);if(i)return i(N.create(n,e,t))}return null}function $(){return 0}class N extends D{constructor(t,e,n){super(t.state,t.options),this.base=t,this.pos=e,this.node=n}static create(t,e,n){return new N(t,e,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let t=this.state.doc.lineAt(this.node.from);for(;;){let e=this.node.resolve(t.from);for(;e.parent&&e.parent.from==e.from;)e=e.parent;if(function(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}(e,this.node))break;t=this.state.doc.lineAt(e.from)}return this.lineIndent(t.from)}continue(){let t=this.node.parent;return t?M(t,this.pos,this.base):0}}function E({closing:t,align:e=!0,units:n=1}){return i=>z(i,e,n,t)}function z(t,e,n,i,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=i&&s.slice(o,o+i.length)==i||r==t.pos+o,a=e?function(t){let e=t.node,n=e.childAfter(e.from),i=e.lastChild;if(!n)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let l=n.to;;){let a=e.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.fromt.baseIndent;function W({except:t,units:e=1}={}){return n=>{let i=t&&t.test(n.textAfter);return n.baseIndent+(i?0:e*n.unit)}}function J(){return s.yy.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:i}=t.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return t;let s=n.sliceString(r.from,i);if(!e.some(t=>t.test(s)))return t;let{state:o}=t,l=-1,a=[];for(let{head:h}of o.selection.ranges){let c=o.doc.lineAt(h);if(c.from==l)continue;l=c.from;let u=I(o,c.from);if(null==u)continue;let f=/^\s*/.exec(c.text)[0],d=T(o,u);f!=d&&a.push({from:c.from,to:c.from+f.length,insert:d})}return a.length?[t,{changes:a,sequential:!0}]:t})}let L=s.r$.define(),j=new r.md;function F(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(s&&o.from=e&&a.to>n&&(s=a)}}return s}(t,e,n)}function U(t,e){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return n>=i?void 0:{from:n,to:i}}let X=s.Py.define({map:U}),q=s.Py.define({map:U});function V(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(t=>t.from<=n&&t.to>=n)||e.push(t.lineBlockAt(n));return e}let G=s.QQ.define({create:()=>o.p.none,update(t,e){for(let n of(t=t.map(e.changes),e.effects))n.is(X)&&!function(t,e,n){let i=!1;return t.between(e,e,(t,r)=>{t==e&&r==n&&(i=!0)}),i}(t,n.value.from,n.value.to)?t=t.update({add:[tl.range(n.value.from,n.value.to)]}):n.is(q)&&(t=t.update({filter:(t,e)=>n.value.from!=t||n.value.to!=e,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let i=!1,{head:r}=e.selection.main;t.between(r,r,(t,e)=>{tr&&(i=!0)}),i&&(t=t.update({filterFrom:r,filterTo:r,filter:(t,e)=>e<=r||t>=r}))}return t},provide:t=>o.tk.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(t,e)=>{n.push(t,e)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!r||r.from>t)&&(r={from:t,to:e})}),r}function Y(t,e){return t.field(G,!1)?e:e.concat(s.Py.appendConfig.of(to()))}let K=t=>{for(let e of V(t)){let n=_(t.state,e.from,e.to);if(n)return t.dispatch({effects:Y(t.state,[X.of(n),tt(t,n)])}),!0}return!1},H=t=>{if(!t.state.field(G,!1))return!1;let e=[];for(let n of V(t)){let i=Z(t.state,n.from,n.to);i&&e.push(q.of(i),tt(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function tt(t,e,n=!0){let i=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return o.tk.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${r}.`)}let te=t=>{let{state:e}=t,n=[];for(let i=0;i{let e=t.state.field(G,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(t,e)=>{n.push(q.of({from:t,to:e}))}),t.dispatch({effects:n}),!0},ti=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:K},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:H},{key:"Ctrl-Alt-[",run:te},{key:"Ctrl-Alt-]",run:tn}],tr={placeholderDOM:null,placeholderText:"…"},ts=s.r$.define({combine:t=>(0,s.BO)(t,tr)});function to(t){let e=[G,tu];return t&&e.push(ts.of(t)),e}let tl=o.p.replace({widget:new class extends o.l9{toDOM(t){let{state:e}=t,n=e.facet(ts),i=e=>{let n=t.lineBlockAt(t.posAtDOM(e.target)),i=Z(t.state,n.from,n.to);i&&t.dispatch({effects:q.of(i)}),e.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",e.phrase("folded code")),r.title=e.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),ta={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class th extends o.SJ{constructor(t,e){super(),this.config=t,this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");return e.textContent=this.open?this.config.openText:this.config.closedText,e.title=t.state.phrase(this.open?"Fold line":"Unfold line"),e}}function tc(t={}){let e=Object.assign(Object.assign({},ta),t),n=new th(e,!0),i=new th(e,!1),r=o.lg.fromClass(class{constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)}update(t){(t.docChanged||t.viewportChanged||t.startState.facet(w)!=t.state.facet(w)||t.startState.field(G,!1)!=t.state.field(G,!1)||p(t.startState)!=p(t.state)||e.foldingChanged(t))&&(this.markers=this.buildMarkers(t.view))}buildMarkers(t){let e=new s.f_;for(let r of t.viewportLineBlocks){let o=Z(t.state,r.from,r.to)?i:_(t.state,r.from,r.to)?n:null;o&&e.add(r.from,r.from,o)}return e.finish()}}),{domEventHandlers:l}=e;return[r,(0,o.v5)({class:"cm-foldGutter",markers(t){var e;return(null===(e=t.plugin(r))||void 0===e?void 0:e.markers)||s.Xs.empty},initialSpacer:()=>new th(e,!1),domEventHandlers:Object.assign(Object.assign({},l),{click(t,e,n){if(l.click&&l.click(t,e,n))return!0;let i=Z(t.state,e.from,e.to);if(i)return t.dispatch({effects:q.of(i)}),!0;let r=_(t.state,e.from,e.to);return!!r&&(t.dispatch({effects:X.of(r)}),!0)}})}),to()]}let tu=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class tf{constructor(t,e){let n;function i(t){let e=a.V.newName();return(n||(n=Object.create(null)))["."+e]=t,e}this.specs=t;let r="string"==typeof e.all?e.all:e.all?i(e.all):void 0,s=e.scope;this.scope=s instanceof u?t=>t.prop(h)==s.data:s?t=>t==s:void 0,this.style=(0,l.QR)(t.map(t=>({tag:t.tag,class:t.class||i(Object.assign({},t,{tag:null}))})),{all:r}).style,this.module=n?new a.V(n):null,this.themeType=e.themeType}static define(t,e){return new tf(t,e||{})}}let td=s.r$.define(),tp=s.r$.define({combine:t=>t.length?[t[0]]:null});function tm(t){let e=t.facet(td);return e.length?e:t.facet(tp)}function tg(t,e){let n=[tk],i;return t instanceof tf&&(t.module&&n.push(o.tk.styleModule.of(t.module)),i=t.themeType),(null==e?void 0:e.fallback)?n.push(tp.of(t)):i?n.push(td.computeN([o.tk.darkTheme],e=>e.facet(o.tk.darkTheme)==("dark"==i)?[t]:[])):n.push(td.of(t)),n}let tk=s.Wl.high(o.lg.fromClass(class{constructor(t){this.markCache=Object.create(null),this.tree=p(t.state),this.decorations=this.buildDeco(t,tm(t.state))}update(t){let e=p(t.state),n=tm(t.state),i=n!=tm(t.startState);e.length{n.add(t,e,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:t=>t.decorations})),ty=tf.define([{tag:l.pJ.meta,color:"#404740"},{tag:l.pJ.link,textDecoration:"underline"},{tag:l.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:l.pJ.emphasis,fontStyle:"italic"},{tag:l.pJ.strong,fontWeight:"bold"},{tag:l.pJ.strikethrough,textDecoration:"line-through"},{tag:l.pJ.keyword,color:"#708"},{tag:[l.pJ.atom,l.pJ.bool,l.pJ.url,l.pJ.contentSeparator,l.pJ.labelName],color:"#219"},{tag:[l.pJ.literal,l.pJ.inserted],color:"#164"},{tag:[l.pJ.string,l.pJ.deleted],color:"#a11"},{tag:[l.pJ.regexp,l.pJ.escape,l.pJ.special(l.pJ.string)],color:"#e40"},{tag:l.pJ.definition(l.pJ.variableName),color:"#00f"},{tag:l.pJ.local(l.pJ.variableName),color:"#30a"},{tag:[l.pJ.typeName,l.pJ.namespace],color:"#085"},{tag:l.pJ.className,color:"#167"},{tag:[l.pJ.special(l.pJ.variableName),l.pJ.macroName],color:"#256"},{tag:l.pJ.definition(l.pJ.propertyName),color:"#00c"},{tag:l.pJ.comment,color:"#940"},{tag:l.pJ.invalid,color:"#f00"}]),tv=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),tb="()[]{}",tO=s.r$.define({combine:t=>(0,s.BO)(t,{afterCursor:!0,brackets:tb,maxScanDistance:1e4,renderMatch:tS})}),tx=o.p.mark({class:"cm-matchingBracket"}),tw=o.p.mark({class:"cm-nonmatchingBracket"});function tS(t){let e=[],n=t.matched?tx:tw;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}let tP=s.QQ.define({create:()=>o.p.none,update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],i=e.state.facet(tO);for(let r of e.state.selection.ranges){if(!r.empty)continue;let s=tT(e.state,r.head,-1,i)||r.head>0&&tT(e.state,r.head-1,1,i)||i.afterCursor&&(tT(e.state,r.head,1,i)||r.heado.tk.decorations.from(t)}),tC=[tP,tv];function tA(t={}){return[tO.of(t),tC]}function tQ(t,e,n){let i=t.prop(e<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==t.name.length){let s=n.indexOf(t.name);if(s>-1&&s%2==(e<0?1:0))return[n[s+e]]}return null}function tT(t,e,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||tb,o=p(t),l=o.resolveInner(e,n);for(let a=l;a;a=a.parent){let h=tQ(a.type,n,s);if(h&&a.from=i.to){if(0==a&&r.indexOf(h.type.name)>-1&&h.from0)return null;let h={from:n<0?e-1:e,to:n>0?e+1:e},c=t.doc.iterRange(e,n>0?t.doc.length:0),u=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;n<0&&(f+=d.length);let p=e+f*n;for(let m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){let k=o.indexOf(d[m]);if(!(k<0)&&i.resolveInner(p+m,1).type==r){if(k%2==0==n>0)u++;else{if(1==u)return{start:h,end:{from:p+m,to:p+m+1},matched:k>>1==a>>1};u--}}}n>0&&(f+=d.length)}return c.done?{start:h,matched:!1}:null}(t,e,n,o,l.type,r,s)}function tI(t,e,n,i=0,r=0){null==e&&-1==(e=t.search(/[^\s\u00a0]/))&&(e=t.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pose}eatSpace(){let t=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let e=this.string.indexOf(t,this.pos);if(e>-1)return this.pos=e,!0}backUp(t){this.pos-=t}column(){return this.lastColumnPosn?t.toLowerCase():t;return i(this.string.substr(this.pos,t.length))==i(t)?(!1!==e&&(this.pos+=t.length),!0):null}{let r=this.string.slice(this.pos).match(t);return r&&r.index>0?null:(r&&!1!==e&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function tR(t){if("object"!=typeof t)return t;let e={};for(let n in t){let i=t[n];e[n]=i instanceof Array?i.slice():i}return e}class tM extends u{constructor(t){let e,n=c(t.languageData),i={name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||tR,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||tz},s;super(n,new class extends r._b{createParse(t,e,n){return new tN(s,t,e,n)}},[C.of((t,e)=>this.getIndent(t,e))],t.name),this.topNode=(e=r.Jq.define({id:tB.length,name:"Document",props:[h.add(()=>n)]}),tB.push(e),e),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=t.tokenTable?new t_(i.tokenTable):tU}static define(t){return new tM(t)}getIndent(t,e){let n=p(t.state),i=n.resolve(e);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=t$(this,n,0,i.from,e),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(t.unit),s=0),e-s>1e4)return null;for(;s=i&&n+e.length<=s&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:n+e.length};for(let l=e.children.length-1;l>=0;l--){let a=e.children[l],h=n+e.positions[l],c=a instanceof r.mp&&hn&&t$(t,s.tree,0-s.offset,n,l),h;if(a&&(h=function t(e,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=e.topNode||(o=!0);for(let l=n.children.length-1;l>=0;l--){let a=n.positions[l],h=n.children[l],c;if(a=e)?this.finish():t&&this.parsedPos>=t.viewport.to?(t.skipUntilInView(this.parsedPos,e),this.finish()):null}stopAt(t){this.stoppedAt=t}lineAfter(t){let e=this.input.chunk(t);if(this.input.lineChunks)"\n"==e&&(e="");else{let n=e.indexOf("\n");n>-1&&(e=e.slice(0,n))}return t+e.length<=this.to?e:e.slice(0,this.to-t)}nextLine(){let t=this.parsedPos,e=this.lineAfter(t),n=t+e.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(e=e.slice(0,r-(n-e.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);e+=o,n=s+o.length}return{line:e,end:n}}skipGapsTo(t,e,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=t+e;if(n>0?i>r:i>=r)break;e+=this.ranges[++this.rangeIndex].from-i}return e}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(e,r,1),e+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(t,e,n,i),r}parseLine(t){let{line:e,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new tD(e,t?t.state.tabSize:4,t?Q(t.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=tE(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw Error("Stream parser failed to advance stream.")}let tz=Object.create(null),tB=[r.Jq.none],tW=new r.Lj(tB),tJ=[],tL=Object.create(null);for(let[tj,tF]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])tL[tj]=tq(tz,tF);class t_{constructor(t){this.extra=t,this.table=Object.assign(Object.create(null),tL)}resolve(t){return t?this.table[t]||(this.table[t]=tq(this.extra,t)):0}}let tU=new t_(tz);function tX(t,e){tJ.indexOf(t)>-1||(tJ.push(t),console.warn(e))}function tq(t,e){let n=null;for(let i of e.split(".")){let s=t[i]||l.pJ[i];s?"function"==typeof s?n?n=s(n):tX(i,`Modifier ${i} used at start of tag`):n?tX(i,`Tag ${i} used as modifier`):n=s:tX(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=e.replace(/ /g,"_"),a=r.Jq.define({id:tB.length,name:o,props:[(0,l.Gv)({[o]:n})]});return tB.push(a),a.id}},78120:function(t,e,n){let i;n.d(e,{BO:function(){return tO},D0:function(){return tk},Gz:function(){return tW},IS:function(){return tB},Py:function(){return tu},QQ:function(){return U},Wl:function(){return V},Xs:function(){return tC},YW:function(){return tf},as:function(){return Q},bg:function(){return O},cp:function(){return m},f_:function(){return tA},gc:function(){return C},gm:function(){return b},jT:function(){return E},n0:function(){return A},nZ:function(){return x},q6:function(){return ta},r$:function(){return W},uU:function(){return tx},xv:function(){return r},yy:function(){return tb}});class r{constructor(){}lineAt(t){if(t<0||t>this.length)throw RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,n){let i=[];return this.decompose(0,t,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(e,this.length,i,1),o.from(i,this.length-(e-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){let n=[];return this.decompose(t,e,n,0),o.from(n,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1),i=new a(this),r=new a(t);for(let s=e,o=e;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(t=1){return new a(this,t)}iterRange(t,e=this.length){return new h(this,t,e)}iterLines(t,e){let n;if(null==t)n=this.iter();else{null==e&&(e=this.lines+1);let i=this.line(t).from;n=this.iterRange(i,Math.max(i,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}static of(t){if(0==t.length)throw RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new s(t):o.from(s.split(t,[])):r.empty}}class s extends r{constructor(t,e=function(t){let e=-1;for(let n of t)e+=n.length+1;return e}(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((e?n:o)>=t)return new u(i,o,n,s);i=o+1,n++}}decompose(t,e,n,i){let r=t<=0&&e>=this.length?this:new s(l(this.text,[""],t,e),Math.min(e,this.length)-Math.max(0,t));if(1&i){let o=n.pop(),a=l(r.text,o.text.slice(),0,r.length);if(a.length<=32)n.push(new s(a,o.length+r.length));else{let h=a.length>>1;n.push(new s(a.slice(0,h)),new s(a.slice(h)))}}else n.push(r)}replace(t,e,n){if(!(n instanceof s))return super.replace(t,e,n);let i=l(this.text,l(n.text,l(this.text,[""],0,t)),e),r=this.length+n.length-(e-t);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(t,e=this.length,n="\n"){let i="";for(let r=0,s=0;r<=e&&st&&s&&(i+=n),tr&&(i+=o.slice(Math.max(0,t-r),e-r)),r=l+1}return i}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let n=[],i=-1;for(let r of t)n.push(r),i+=r.length+1,32==n.length&&(e.push(new s(n,i)),n=[],i=-1);return i>-1&&e.push(new s(n,i)),e}}class o extends r{constructor(t,e){for(let n of(super(),this.children=t,this.length=e,this.lines=0,t))this.lines+=n.lines}lineInner(t,e,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,l=n+s.lines-1;if((e?l:o)>=t)return s.lineInner(t,e,n,i);i=o+1,n=l+1}}decompose(t,e,n,i){for(let r=0,s=0;s<=e&&r=s){let a=i&((s<=t?1:0)|(l>=e?2:0));s>=t&&l<=e&&!a?n.push(o):o.decompose(t-s,e-s,n,a)}s=l+1}}replace(t,e,n){if(n.lines=r&&e<=l){let a=s.replace(t-r,e-r,n),h=this.lines-s.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[i]=a,new o(c,this.length-(e-t)+n.length)}return super.replace(r,l,a)}r=l+1}return super.replace(t,e,n)}sliceString(t,e=this.length,n="\n"){let i="";for(let r=0,s=0;rt&&r&&(i+=n),ts&&(i+=o.sliceString(t-s,e-s,n)),s=l+1}return i}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof o))return 0;let n=0,[i,r,s,l]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=e,r+=e){if(i==s||r==l)return n;let a=this.children[i],h=t.children[r];if(a!=h)return n+a.scanIdentical(h,e);n+=a.length+1}}static from(t,e=t.reduce((t,e)=>t+e.length+1,-1)){let n=0;for(let i of t)n+=i.lines;if(n<32){let r=[];for(let l of t)l.flatten(r);return new s(r,e)}let a=Math.max(32,n>>5),h=a<<1,c=a>>1,u=[],f=0,d=-1,p=[];function m(){0!=f&&(u.push(1==p.length?p[0]:o.from(p,d)),d=-1,f=p.length=0)}for(let g of t)!function t(e){let n;if(e.lines>h&&e instanceof o)for(let i of e.children)t(i);else e.lines>c&&(f>c||!f)?(m(),u.push(e)):e instanceof s&&f&&(n=p[p.length-1])instanceof s&&e.lines+n.lines<=32?(f+=e.lines,d+=e.length+1,p[p.length-1]=new s(n.text.concat(e.text),n.length+1+e.length)):(f+e.lines>a&&m(),f+=e.lines,d+=e.length+1,p.push(e))}(g);return m(),1==u.length?u[0]:new o(u,e)}}function l(t,e,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(a>i&&(l=l.slice(0,i-r)),r0?1:(t instanceof s?t.text.length:t.children.length)<<1]}nextInner(t,e){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,l=i instanceof s?i.text.length:i.children.length;if(o==(e>0?l:0)){if(0==n)return this.done=!0,this.value="",this;e>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(e>0?0:1)){if(this.offsets[n]+=e,0==t)return this.lineBreak=!0,this.value="\n",this;t--}else if(i instanceof s){let a=i.text[o+(e<0?-1:0)];if(this.offsets[n]+=e,a.length>Math.max(0,t))return this.value=0==t?a:e>0?a.slice(t):a.slice(0,a.length-t),this;t-=a.length}else{let h=i.children[o+(e<0?-1:0)];t>h.length?(t-=h.length,this.offsets[n]+=e):(e<0&&this.offsets[n]--,this.nodes.push(h),this.offsets.push(e>0?1:(h instanceof s?h.text.length:h.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class h{constructor(t,e,n){this.value="",this.done=!1,this.cursor=new a(t,e>n?-1:1),this.pos=e>n?t.length:0,this.from=Math.min(e,n),this.to=Math.max(e,n)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let n=e<0?this.pos-this.from:this.to-this.pos;t>n&&(t=n),n-=t;let{value:i}=this.cursor.next(t);return this.pos+=(i.length+t)*e,this.value=i.length<=n?i:e<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class c{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:e,lineBreak:n,value:i}=this.inner.next(t);return e?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},a.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this});class u{constructor(t,e,n,i){this.from=t,this.to=e,this.number=n,this.text=i}get length(){return this.to-this.from}}let f="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let d=1;d=127462&&t<=127487}function m(t,e,n=!0,i=!0){return(n?g:k)(t,e,i)}function g(t,e,n){if(e==t.length)return e;e&&y(t.charCodeAt(e))&&v(t.charCodeAt(e-1))&&e--;let i=b(t,e);for(e+=x(i);et)return f[e-1]<=t;return!1}(r))e+=x(r),i=r;else if(p(r)){let s=0,o=e-2;for(;o>=0&&p(b(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function k(t,e,n){for(;e>0;){let i=g(t,e-2,n);if(i=56320&&t<57344}function v(t){return t>=55296&&t<56320}function b(t,e){let n=t.charCodeAt(e);if(!v(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);return y(i)?(n-55296<<10)+(i-56320)+65536:n}function O(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,(1023&t)+56320)}function x(t){return t<65536?1:2}let w=/\r\n?|\n/;var S,P,C=((S=C||(C={}))[S.Simple=0]="Simple",S[S.TrackDel=1]="TrackDel",S[S.TrackBefore=2]="TrackBefore",S[S.TrackAfter=3]="TrackAfter",S);class A{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;et)return r+(t-i);r+=o}else{if(n!=C.Simple&&a>=t&&(n==C.TrackDel&&it||n==C.TrackBefore&&it))return null;if(a>t||a==t&&e<0&&!o)return t==i||e<0?r:r+l;r+=l}i=a}if(t>i)throw RangeError(`Position ${t} is out of range for changeset of length ${i}`);return r}touchesRange(t,e=t){for(let n=0,i=0;n=0&&i<=e&&o>=t)return!(ie)||"cover";i=o}return!1}toString(){let t="";for(let e=0;e=0?":"+i:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(t=>"number"!=typeof t))throw RangeError("Invalid JSON representation of ChangeDesc");return new A(t)}static create(t){return new A(t)}}class Q extends A{constructor(t,e){super(t),this.inserted=e}apply(t){if(this.length!=t.length)throw RangeError("Applying change set to a document with the wrong length");return D(this,(e,n,i,r,s)=>t=t.replace(i,i+(n-e),s),!1),t}mapDesc(t,e=!1){return R(this,t,e,!0)}invert(t){let e=this.sections.slice(),n=[];for(let i=0,s=0;i=0){e[i]=l,e[i+1]=o;let a=i>>1;for(;n.length0&&I(n,e,r.text),r.forward(a),o+=a}let c=t[s++];for(;o>1].toJSON()))}return t}static of(t,e,n){let i=[],s=[],o=0,l=null;function a(t=!1){if(!t&&!i.length)return;of||u<0||f>e)throw RangeError(`Invalid change range ${u} to ${f} (in doc of length ${e})`);let p=d?"string"==typeof d?r.of(d.split(n||w)):d:r.empty,m=p.length;if(u==f&&0==m)return;uo&&T(i,u-o,-1),T(i,f-u,m),I(s,i,p),o=f}}(t),a(!l),l}static empty(t){return new Q(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw RangeError("Invalid JSON representation of ChangeSet");let e=[],n=[];for(let i=0;ie&&"string"!=typeof t))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)e.push(s[0],0);else{for(;n.length=0&&n<=0&&n==t[r+1]?t[r]+=e:0==e&&0==t[r]?t[r+1]+=n:i?(t[r]+=e,t[r+1]+=n):t.push(e,n)}function I(t,e,n){if(0==n.length)return;let i=e.length-2>>1;if(i>1])),!n&&l!=t.sections.length&&!(t.sections[l+1]<0);)a=t.sections[l++],h=t.sections[l++];e(s,c,o,u,f),s=c,o=u}}}function R(t,e,n,i=!1){let r=[],s=i?[]:null,o=new $(t),l=new $(e);for(let a=-1;;)if(-1==o.ins&&-1==l.ins){let h=Math.min(o.len,l.len);T(r,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||0==o.off&&(l.len=0&&a=0){let f=0,d=o.len;for(;d;)if(-1==l.ins){let p=Math.min(d,l.len);f+=p,d-=p,l.forward(p)}else if(0==l.ins&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),s.forward2(a),o.forward(a)}}else T(i,0,o.ins,l),r&&I(r,i,o.text),o.next()}}class ${constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return e>=t.length?r.empty:t[e]}textBit(t){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length&&!t?r.empty:e[n].slice(this.off,null==t?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class N{constructor(t,e,n){this.from=t,this.to=e,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let t=3&this.flags;return 3==t?null:t}get goalColumn(){let t=this.flags>>5;return 33554431==t?void 0:t}map(t,e=-1){let n,i;return this.empty?n=i=t.mapPos(this.from,e):(n=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new N(n,i,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return E.range(t,e);let n=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return E.range(this.anchor,n)}eq(t){return this.anchor==t.anchor&&this.head==t.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof t.head)throw RangeError("Invalid JSON representation for SelectionRange");return E.range(t.anchor,t.head)}static create(t,e,n){return new N(t,e,n)}}class E{constructor(t,e){this.ranges=t,this.mainIndex=e}map(t,e=-1){return t.empty?this:E.create(this.ranges.map(n=>n.map(t,e)),this.mainIndex)}eq(t){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let e=0;et.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new E(t.ranges.map(t=>N.fromJSON(t)),t.main)}static single(t,e=t){return new E([E.range(t,e)],0)}static create(t,e=0){if(0==t.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;it?4:0))}static normalized(t,e=0){let n=t[e];t.sort((t,e)=>t.from-e.from),e=t.indexOf(n);for(let i=1;ir.head?E.range(l,o):E.range(o,l))}}return new E(t,e)}}function z(t,e){for(let n of t.ranges)if(n.to>e)throw RangeError("Selection points outside of document")}let B=0;class W{constructor(t,e,n,i,r){this.combine=t,this.compareInput=e,this.compare=n,this.isStatic=i,this.id=B++,this.default=t([]),this.extensions="function"==typeof r?r(this):r}static define(t={}){return new W(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(t.combine?(t,e)=>t===e:J),!!t.static,t.enables)}of(t){return new L([],this,0,t)}compute(t,e){if(this.isStatic)throw Error("Can't compute a static facet");return new L(t,this,1,e)}computeN(t,e){if(this.isStatic)throw Error("Can't compute a static facet");return new L(t,this,2,e)}from(t,e){return e||(e=t=>t),this.compute([t],n=>e(n.field(t)))}}function J(t,e){return t==e||t.length==e.length&&t.every((t,n)=>t===e[n])}class L{constructor(t,e,n,i){this.dependencies=t,this.facet=e,this.type=n,this.value=i,this.id=B++}dynamicSlot(t){var e;let n=this.value,i=this.facet.compareInput,r=this.id,s=t[r]>>1,o=2==this.type,l=!1,a=!1,h=[];for(let c of this.dependencies)"doc"==c?l=!0:"selection"==c?a=!0:((null!==(e=t[c.id])&&void 0!==e?e:1)&1)==0&&h.push(t[c.id]);return{create:t=>(t.values[s]=n(t),1),update(t,e){if(l&&e.docChanged||a&&(e.docChanged||e.selection)||F(t,h)){let r=n(t);if(o?!j(r,t.values[s],i):!i(r,t.values[s]))return t.values[s]=r,1}return 0},reconfigure:(t,e)=>{let l,a=e.config.address[r];if(null!=a){let h=tt(e,a);if(this.dependencies.every(n=>n instanceof W?e.facet(n)===t.facet(n):!(n instanceof U)||e.field(n,!1)==t.field(n,!1))||(o?j(l=n(t),h,i):i(l=n(t),h)))return t.values[s]=h,0}else l=n(t);return t.values[s]=l,1}}}}function j(t,e,n){if(t.length!=e.length)return!1;for(let i=0;it===e),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(_).find(t=>t.field==this);return((null==e?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:t=>(t.values[e]=this.create(t),1),update:(t,n)=>{let i=t.values[e],r=this.updateF(i,n);return this.compareF(i,r)?0:(t.values[e]=r,1)},reconfigure:(t,n)=>null!=n.config.address[this.id]?(t.values[e]=n.field(this),0):(t.values[e]=this.create(t),1)}}init(t){return[this,_.of({field:this,create:t})]}get extension(){return this}}let X={lowest:4,low:3,default:2,high:1,highest:0};function q(t){return e=>new G(e,t)}let V={highest:q(X.highest),high:q(X.high),default:q(X.default),low:q(X.low),lowest:q(X.lowest)};class G{constructor(t,e){this.inner=t,this.prec=e}}class Z{of(t){return new Y(this,t)}reconfigure(t){return Z.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class Y{constructor(t,e){this.compartment=t,this.inner=e}}class K{constructor(t,e,n,i,r,s){for(this.base=t,this.compartments=e,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,e,n){let i,r,s=[],o=Object.create(null),l=new Map;for(let a of(i=[[],[],[],[],[]],r=new Map,!function t(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let a=i[o].indexOf(n);a>-1&&i[o].splice(a,1),n instanceof Y&&l.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let h of n)t(h,s);else if(n instanceof Y){if(l.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let c=e.get(n.compartment)||n.inner;l.set(n.compartment,c),t(c,s)}else if(n instanceof G)t(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&t(n.provides,s);else if(n instanceof L)i[s].push(n),n.facet.extensions&&t(n.facet.extensions,X.default);else{let u=n.extension;if(!u)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);t(u,s)}}(t,X.default),i.reduce((t,e)=>t.concat(e))))a instanceof U?s.push(a):(o[a.facet.id]||(o[a.facet.id]=[])).push(a);let h=Object.create(null),c=[],u=[];for(let f of s)h[f.id]=u.length<<1,u.push(t=>f.slot(t));let d=null==n?void 0:n.config.facets;for(let p in o){let m=o[p],g=m[0].facet,k=d&&d[p]||[];if(m.every(t=>0==t.type)){if(h[g.id]=c.length<<1|1,J(k,m))c.push(n.facet(g));else{let y=g.combine(m.map(t=>t.value));c.push(n&&g.compare(y,n.facet(g))?n.facet(g):y)}}else{for(let v of m)0==v.type?(h[v.id]=c.length<<1|1,c.push(v.value)):(h[v.id]=u.length<<1,u.push(t=>v.dynamicSlot(t)));h[g.id]=u.length<<1,u.push(t=>(function(t,e,n){let i=n.map(e=>t[e.id]),r=n.map(t=>t.type),s=i.filter(t=>!(1&t)),o=t[e.id]>>1;function l(t){let n=[];for(let s=0;st(h));return new K(t,l,b,h,c,o)}}function H(t,e){if(1&e)return 2;let n=e>>1,i=t.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;t.status[n]=4;let r=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|r}function tt(t,e){return 1&e?t.config.staticValues[e>>1]:t.values[e>>1]}let te=W.define(),tn=W.define({combine:t=>t.some(t=>t),static:!0}),ti=W.define({combine:t=>t.length?t[0]:void 0,static:!0}),tr=W.define(),ts=W.define(),to=W.define(),tl=W.define({combine:t=>!!t.length&&t[0]});class ta{constructor(t,e){this.type=t,this.value=e}static define(){return new th}}class th{of(t){return new ta(this,t)}}class tc{constructor(t){this.map=t}of(t){return new tu(this,t)}}class tu{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.type.map(this.value,t);return void 0===e?void 0:e==this.value?this:new tu(this.type,e)}is(t){return this.type==t}static define(t={}){return new tc(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let n=[];for(let i of t){let r=i.map(e);r&&n.push(r)}return n}}tu.reconfigure=tu.define(),tu.appendConfig=tu.define();class tf{constructor(t,e,n,i,r,s){this.startState=t,this.changes=e,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&z(n,e.newLength),r.some(t=>t.type==tf.time)||(this.annotations=r.concat(tf.time.of(Date.now())))}static create(t,e,n,i,r,s){return new tf(t,e,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(tf.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&"."==e[t.length]))}}function td(t,e,n){var i;let r,s,o;return n?(r=e.changes,s=Q.empty(e.changes.length),o=t.changes.compose(e.changes)):(r=e.changes.map(t.changes),s=t.changes.mapDesc(e.changes,!0),o=t.changes.compose(r)),{changes:o,selection:e.selection?e.selection.map(s):null===(i=t.selection)||void 0===i?void 0:i.map(r),effects:tu.mapEffects(t.effects,r).concat(tu.mapEffects(e.effects,s)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function tp(t,e,n){let i=e.selection,r=tg(e.annotations);return e.userEvent&&(r=r.concat(tf.userEvent.of(e.userEvent))),{changes:e.changes instanceof Q?e.changes:Q.of(e.changes||[],n,t.facet(ti)),selection:i&&(i instanceof E?i:E.single(i.anchor,i.head)),effects:tg(e.effects),annotations:r,scrollIntoView:!!e.scrollIntoView}}tf.time=ta.define(),tf.userEvent=ta.define(),tf.addToHistory=ta.define(),tf.remote=ta.define();let tm=[];function tg(t){return null==t?tm:Array.isArray(t)?t:[t]}var tk=((P=tk||(tk={}))[P.Word=0]="Word",P[P.Space=1]="Space",P[P.Other=2]="Other",P);let ty=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(tv){}class tb{constructor(t,e,n,i,r,s){this.config=t,this.doc=e,this.selection=n,this.values=i,this.status=t.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](t);s&&Object.keys(s).length&&(i=td(i,tp(e,s,t.changes.newLength),!0))}return i==t?t:tf.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(e){let n=e.startState,i=!0;for(let r of n.facet(tr)){let s=r(e);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(t,e){let n=[];for(let i=0,r=0;;){let s,o;if(i=t[i]))s=t[i++],o=t[i++];else{if(!(r=0;c--){let u=h[c](e);e=u instanceof tf?u:Array.isArray(u)&&1==u.length&&u[0]instanceof tf?u[0]:t(n,tg(u),!1)}return e}(l):l)}(this,t,!0)}applyTransaction(t){let e,n=this.config,{base:i,compartments:r}=n;for(let s of t.effects)s.is(Z.reconfigure)?(n&&(r=new Map,n.compartments.forEach((t,e)=>r.set(e,t)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(tu.reconfigure)?(n=null,i=s.value):s.is(tu.appendConfig)&&(n=null,i=tg(i).concat(s.value));n?e=t.startState.values.slice():(n=K.resolve(i,r,this),e=new tb(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(t,e)=>e.reconfigure(t,this),null).values),new tb(n,t.newDoc,t.newSelection,e,(e,n)=>n.update(e,t),t)}replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:t},range:E.cursor(e.from+t.length)}))}changeByRange(t){let e=this.selection,n=t(e.ranges[0]),i=this.changes(n.changes),r=[n.range],s=tg(n.effects);for(let o=1;os.spec.fromJSON(o,t)))}}return tb.create({doc:t.doc,selection:E.fromJSON(t.selection),extensions:e.extensions?i.concat([e.extensions]):i})}static create(t={}){let e=K.resolve(t.extensions||[],new Map),n=t.doc instanceof r?t.doc:r.of((t.doc||"").split(e.staticFacet(tb.lineSeparator)||w)),i=t.selection?t.selection instanceof E?t.selection:E.single(t.selection.anchor,t.selection.head):E.single(0);return z(i,n.length),e.staticFacet(tn)||(i=i.asSingle()),new tb(e,n,i,e.dynamicSlots.map(()=>null),(t,e)=>e.create(t),null)}get tabSize(){return this.facet(tb.tabSize)}get lineBreak(){return this.facet(tb.lineSeparator)||"\n"}get readOnly(){return this.facet(tl)}phrase(t,...e){for(let n of this.facet(tb.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return e.length&&(t=t.replace(/\$(\$|\d*)/g,(t,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>e.length?t:e[i-1]})),t}languageDataAt(t,e,n=-1){let i=[];for(let r of this.facet(te))for(let s of r(this,e,n))Object.prototype.hasOwnProperty.call(s,t)&&i.push(s[t]);return i}charCategorizer(t){var e;return e=this.languageDataAt("wordChars",t).join(""),t=>{if(!/\S/.test(t))return tk.Space;if(function(t){if(i)return i.test(t);for(let e=0;e"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ty.test(n)))return!0}return!1}(t))return tk.Word;for(let n=0;n-1)return tk.Word;return tk.Other}}wordAt(t){let{text:e,from:n,length:i}=this.doc.lineAt(t),r=this.charCategorizer(t),s=t-n,o=t-n;for(;s>0;){let l=m(e,s,!1);if(r(e.slice(l,s))!=tk.Word)break;s=l}for(;ot.length?t[0]:4}),tb.lineSeparator=ti,tb.readOnly=tl,tb.phrases=W.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every(n=>t[n]==e[n])}}),tb.languageData=te,tb.changeFilter=tr,tb.transactionFilter=ts,tb.transactionExtender=to,Z.reconfigure=tu.define();class tx{eq(t){return this==t}range(t,e=t){return tw.create(t,e,this)}}tx.prototype.startSide=tx.prototype.endSide=0,tx.prototype.point=!1,tx.prototype.mapMode=C.TrackDel;class tw{constructor(t,e,n){this.from=t,this.to=e,this.value=n}static create(t,e,n){return new tw(t,e,n)}}function tS(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class tP{constructor(t,e,n,i){this.from=t,this.to=e,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(t,e,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let l=s+o>>1,a=r[l]-t||(n?this.value[l].endSide:this.value[l].startSide)-e;if(l==s)return a>=0?s:o;a>=0?o=l:s=l+1}}between(t,e,n,i){for(let r=this.findIndex(e,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(f=e.mapPos(c,a.endSide))||u==f&&a.startSide>0&&a.endSide<=0)continue;0>(f-u||a.endSide-a.startSide)||(s<0&&(s=u),a.point&&(o=Math.max(o,f-u)),n.push(a),i.push(u-s),r.push(f-s))}return{mapped:n.length?new tP(i,r,n,o):null,pos:s}}}class tC{constructor(t,e,n,i){this.chunkPos=t,this.chunk=e,this.nextLayer=n,this.maxPoint=i}static create(t,e,n,i){return new tC(t,e,n,i)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=t,s=t.filter;if(0==e.length&&!s)return this;if(n&&(e=e.slice().sort(tS)),this.isEmpty)return e.length?tC.of(e):this;let o=new tT(this,null,-1).goto(0),l=0,a=[],h=new tA;for(;o.value||l=0){let c=e[l++];h.addInner(c.from,c.to,c.value)||a.push(c)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&t<=r+s.length&&!1===s.between(r,t-r,e-r,n))return}this.nextLayer.between(t,e,n)}}iter(t=0){return tI.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return tI.from(t).goto(e)}static compare(t,e,n,i,r=-1){let s=t.filter(t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r),o=e.filter(t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=r),l=tQ(s,o,n),a=new tR(s,l,r),h=new tR(o,l,r);n.iterGaps((t,e,n)=>tM(a,t,h,e,n,i)),n.empty&&0==n.length&&tM(a,0,h,0,0,i)}static eq(t,e,n=0,i){null==i&&(i=999999999);let r=t.filter(t=>!t.isEmpty&&0>e.indexOf(t)),s=e.filter(e=>!e.isEmpty&&0>t.indexOf(e));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=tQ(r,s),l=new tR(r,o,0).goto(n),a=new tR(s,o,0).goto(n);for(;;){if(l.to!=a.to||!t$(l.active,a.active)||l.point&&(!a.point||!l.point.eq(a.point)))return!1;if(l.to>i)return!0;l.next(),a.next()}}static spans(t,e,n,i,r=-1){let s=new tR(t,null,r).goto(e),o=e,l=s.openStart;for(;;){let a=Math.min(s.to,n);if(s.point){let h=s.activeForPoint(s.to),c=s.pointFromo&&(i.span(o,a,s.active,l),l=s.openEnd(a));if(s.to>n)return l+(s.point&&s.to>n?1:0);o=s.to,s.next()}}static of(t,e=!1){let n=new tA;for(let i of t instanceof tw?[t]:e?function(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(tS);e=i}return t}(t):t)n.add(i.from,i.to,i.value);return n.finish()}}tC.empty=new tC([],[],null,-1),tC.empty.nextLayer=tC.empty;class tA{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(t){this.chunks.push(new tP(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}add(t,e,n){this.addInner(t,e,n)||(this.nextLayer||(this.nextLayer=new tA)).add(t,e,n)}addInner(t,e,n){let i=t-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(t-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(e-this.chunkStart),this.last=n,this.lastFrom=t,this.lastTo=e,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,e-t)),!0)}addChunk(t,e){if(0>(t-this.lastTo||e.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint),this.chunks.push(e),this.chunkPos.push(t);let n=e.value.length-1;return this.last=e.value[n],this.lastFrom=e.from[n]+t,this.lastTo=e.to[n]+t,!0}finish(){return this.finishInner(tC.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return t;let e=tC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,e}}function tQ(t,e,n){let i=new Map;for(let r of t)for(let s=0;s(this.to-t||this.endSide-e)&&this.gotoInner(t,e,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let t=this.layer.chunkPos[this.chunkIndex],e=this.layer.chunk[this.chunkIndex],n=t+e.from[this.rangeIndex];if(this.from=n,this.to=t+e.to[this.rangeIndex],this.value=e.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new tT(s,e,n,r));return 1==i.length?i[0]:new tI(i)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let n of this.heap)n.goto(t,e);for(let i=this.heap.length>>1;i>=0;i--)tD(this.heap,i);return this.next(),this}forward(t,e){for(let n of this.heap)n.forward(t,e);for(let i=this.heap.length>>1;i>=0;i--)tD(this.heap,i);0>(this.to-t||this.value.endSide-e)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),tD(this.heap,0)}}}function tD(t,e){for(let n=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let r=t[i];if(i+1=0&&(r=t[i+1],i++),0>n.compare(r))break;t[i]=n,t[e]=r,e=i}}class tR{constructor(t,e,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=tI.from(t,e,n)}goto(t,e=-1e9){return this.cursor.goto(t,e),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=e,this.openStart=-1,this.next(),this}forward(t,e){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e);)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){tN(this.active,t),tN(this.activeTo,t),tN(this.activeRank,t),this.minActive=tz(this.active,this.activeTo)}addActive(t){let e=0,{value:n,to:i,rank:r}=this.cursor;for(;e-1&&0>(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)){if(this.activeTo[i]>t){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&tN(n,i)}else if(this.cursor.value){if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let r=this.cursor.value;if(r.point){if(e&&this.cursor.to==this.to&&this.cursor.from=0&&n[s]=0&&!(this.activeRank[n]t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)&&e.push(this.active[n]);return e.reverse()}openEnd(t){let e=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)e++;return e}}function tM(t,e,n,i,r,s){t.goto(e),n.goto(i);let o=i+r,l=i,a=i-e;for(;;){let h=t.to+a-n.to||t.endSide-n.endSide,c=h<0?t.to+a:n.to,u=Math.min(c,o);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&t$(t.activeForPoint(t.to+a),n.activeForPoint(n.to))||s.comparePoint(l,u,t.point,n.point):u>l&&!t$(t.active,n.active)&&s.compareRange(l,u,t.active,n.active),c>o)break;l=c,h<=0&&t.next(),h>=0&&n.next()}}function t$(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;i--)t[i+1]=t[i];t[e]=n}function tz(t,e){let n=-1,i=1e9;for(let r=0;r(e[r]-i||t[r].endSide-t[n].endSide)&&(n=r,i=e[r]);return n}function tB(t,e,n=t.length){let i=0;for(let r=0;r=e)return r;if(r==t.length)break;s+=9==t.charCodeAt(r)?n-s%n:1,r=m(t,r)}return!0===i?-1:t.length}},41113:function(t,e,n){var i,r;n.d(e,{FE:function(){return N},Jq:function(){return u},L3:function(){return s},Lj:function(){return f},_b:function(){return M},hr:function(){return D},i9:function(){return R},md:function(){return a},mp:function(){return m},vj:function(){return i}});let s=1024,o=0;class l{constructor(t,e){this.from=t,this.to=e}}class a{constructor(t={}){this.id=o++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof t&&(t=u.match(t)),e=>{let n=t(e);return void 0===n?null:[this,n]}}}a.closedBy=new a({deserialize:t=>t.split(" ")}),a.openedBy=new a({deserialize:t=>t.split(" ")}),a.group=new a({deserialize:t=>t.split(" ")}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class h{constructor(t,e,n){this.tree=t,this.overlay=e,this.parser=n}}let c=Object.create(null);class u{constructor(t,e,n,i=0){this.name=t,this.props=e,this.id=n,this.flags=i}static define(t){let e=t.props&&t.props.length?Object.create(null):c,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),i=new u(t.name||"",e,t.id,n);if(t.props){for(let r of t.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");e[r[0].id]=r[1]}}return i}prop(t){return this.props[t.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(t){if("string"==typeof t){if(this.name==t)return!0;let e=this.prop(a.group);return!!e&&e.indexOf(t)>-1}return this.id==t}static match(t){let e=Object.create(null);for(let n in t)for(let i of n.split(" "))e[i]=t[n];return t=>{for(let n=t.prop(a.group),i=-1;i<(n?n.length:0);i++){let r=e[i<0?t.name:n[i]];if(r)return r}}}}u.none=new u("",Object.create(null),0,8);class f{constructor(t){this.types=t;for(let e=0;e=r&&(o.type.isAnonymous||!1!==e(o))){if(o.firstChild())continue;l=!0}for(;l&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;l=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let e in this.props)t.push([+e,this.props[e]]);return t}balance(t={}){return this.children.length<=8?this:I(u.none,this.children,this.positions,0,this.children.length,0,this.length,(t,e,n)=>new m(this.type,t,e,n,this.propValues),t.makeTree||((t,e,n)=>new m(u.none,t,e,n)))}static build(t){return function(t){var e;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:l=i.types.length}=t,h=Array.isArray(n)?new g(n,n.length):n,c=i.types,u=0,f=0;function d(t,e,n,r,s,o,l,a){let h=[],c=[];for(;t.length>r;)h.push(t.pop()),c.push(e.pop()+n-s);t.push(p(i.types[l],h,c,o-s,a-o)),e.push(s-n)}function p(t,e,n,i,r=0,s){if(u){let o=[a.contextHash,u];s=s?[o].concat(s):[o]}if(r>25){let l=[a.lookAhead,r];s=s?[l].concat(s):[l]}return new m(t,e,n,i,s)}let y=[],v=[];for(;h.pos>0;)!function t(e,n,s,g,y){let{id:v,start:b,end:O,size:x}=h,w=f;for(;x<0;){if(h.next(),-1==x){let S=o[v];s.push(S),g.push(b-e);return}if(-3==x){u=v;return}if(-4==x){f=v;return}throw RangeError(`Unrecognized record size: ${x}`)}let P=c[v],C,A,Q=b-e;if(O-b<=r&&(A=function(t,e){let n=h.fork(),i=0,s=0,o=0,a=n.end-r,c={size:0,start:0,skip:0};n:for(let u=n.pos-t;n.pos>u;){let f=n.size;if(n.id==e&&f>=0){c.size=i,c.start=s,c.skip=o,o+=4,i+=4,n.next();continue}let d=n.pos-f;if(f<0||d=l?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3==n.size)p+=4;else break n}else n.id>=l&&(p+=4);n.next()}s=m,i+=f,o+=p}return(e<0||i==t)&&(c.size=i,c.start=s,c.skip=o),c.size>4?c:void 0}(h.pos-n,y))){let T=new Uint16Array(A.size-A.skip),D=h.pos-A.size,R=T.length;for(;h.pos>D;)R=function t(e,n,i){let{id:r,start:s,end:o,size:a}=h;if(h.next(),a>=0&&r4){let d=h.pos-(a-4);for(;h.pos>d;)i=t(e,n,i)}n[--i]=c,n[--i]=o-e,n[--i]=s-e,n[--i]=r}else -3==a?u=r:-4==a&&(f=r);return i}(A.start,T,R);C=new k(T,O-A.start,i),Q=A.start-e}else{let M=h.pos-x;h.next();let $=[],N=[],E=v>=l?v:-1,z=0,B=O;for(;h.pos>M;)E>=0&&h.id==E&&h.size>=0?(h.end<=B-r&&(d($,N,b,z,h.end,B,E,w),z=$.length,B=h.end),h.next()):t(b,M,$,N,E);if(E>=0&&z>0&&z<$.length&&d($,N,b,z,b,B,E,w),$.reverse(),N.reverse(),E>-1&&z>0){let W=function(t){return(e,n,i)=>{let r=0,s=e.length-1,o,l;if(s>=0&&(o=e[s])instanceof m){if(!s&&o.type==t&&o.length==i)return o;(l=o.prop(a.lookAhead))&&(r=n[s]+o.length+l)}return p(t,e,n,i,r)}}(P);C=I(P,$,N,0,$.length,0,O-b,W,W)}else C=p(P,$,N,O-b,w-O)}s.push(C),g.push(Q)}(t.start||0,t.bufferStart||0,y,v,-1);let b=null!==(e=t.length)&&void 0!==e?e:y.length?v[0]+y[0].length:0;return new m(c[t.topID],y.reverse(),v.reverse(),b)}(t)}}m.empty=new m(u.none,[],[],0);class g{constructor(t,e){this.buffer=t,this.index=e}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class k{constructor(t,e,n){this.buffer=t,this.length=e,this.set=n}get type(){return u.none}toString(){let t=[];for(let e=0;e0)));l=s[l+3]);return o}slice(t,e,n){let i=this.buffer,r=new Uint16Array(e-t),s=0;for(let o=t,l=0;o=e&&ne;case 1:return n<=e&&i>e;case 2:return i>e;case 4:return!0}}function v(t,e){let n=t.childBefore(e);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(t=n,n=i.prevSibling):n=i}return t}function b(t,e,n,r){for(var s;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?l.length:-1;t!=c;t+=e){let u=l[t],f=h[t]+o.from;if(y(r,n,f,f+u.length)){if(u instanceof k){if(s&i.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,e,n-f,r);if(d>-1)return new P(new S(o,u,t,f),null,d)}else if(s&i.IncludeAnonymous||!u.type.isAnonymous||A(u)){let p;if(!(s&i.IgnoreMounts)&&u.props&&(p=u.prop(a.mounted))&&!p.overlay)return new O(p.tree,f,t,o);let m=new O(u,f,t,o);return s&i.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(e<0?u.children.length-1:0,e,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(t=o.index>=0?o.index+e:e<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,e,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(a.mounted))&&r.overlay){let s=t-this.from;for(let{from:o,to:l}of r.overlay)if((e>0?o<=s:o=s:l>s))return new O(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,e,n)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(t=0){return new C(this,t)}get tree(){return this._tree}toTree(){return this._tree}resolve(t,e=0){return b(this,t,e,!1)}resolveInner(t,e=0){return b(this,t,e,!0)}enterUnfinishedNodesBefore(t){return v(this,t)}getChild(t,e=null,n=null){let i=x(this,t,e,n);return i.length?i[0]:null}getChildren(t,e=null,n=null){return x(this,t,e,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(t){return w(this,t)}}function x(t,e,n,i){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function w(t,e,n=e.length-1){for(let i=t.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[n]&&e[n]!=i.name)return!1;n--}}return!0}class S{constructor(t,e,n,i){this.parent=t,this.buffer=e,this.index=n,this.start=i}}class P{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,e,n){this.context=t,this._parent=e,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,e,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],t,e-this.context.start,n);return r<0?null:new P(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,e,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e>0?1:-1,t-this.context.start,e);return s<0?null:new P(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,e=t.buffer[this.index+3];return e<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new P(this.context,this._parent,e):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,e=this._parent?this._parent.index+4:0;return this.index==e?this.externalSibling(-1):new P(this.context,this._parent,t.findChild(e,this.index,-1,0,4))}cursor(t=0){return new C(this,t)}get tree(){return null}toTree(){let t=[],e=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1];t.push(n.slice(i,r,s)),e.push(0)}return new m(this.type,t,e,this.to-this.from)}resolve(t,e=0){return b(this,t,e,!1)}resolveInner(t,e=0){return b(this,t,e,!0)}enterUnfinishedNodesBefore(t){return v(this,t)}toString(){return this.context.buffer.childString(this.index)}getChild(t,e=null,n=null){let i=x(this,t,e,n);return i.length?i[0]:null}getChildren(t,e=null,n=null){return x(this,t,e,n)}get node(){return this}matchContext(t){return w(this,t)}}class C{get name(){return this.type.name}constructor(t,e=0){if(this.mode=e,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof O)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let n=t._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return!!t&&(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0)}yieldBuf(t,e){this.index=t;let{start:n,buffer:i}=this.buffer;return this.type=e||i.set.types[i.buffer[t]],this.from=n+i.buffer[t+1],this.to=n+i.buffer[t+2],!0}yield(t){return!!t&&(t instanceof O?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,e,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,e,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],t,e-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,e,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,t,e):this.yield(this._tree.enter(t,e,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode));let{buffer:e}=this.buffer,n=this.stack.length-1;if(t<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(e.findChild(i,this.index,-1,0,4))}else{let r=e.buffer[this.index+3];if(r<(n<0?e.buffer.length:e.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let e,n,{buffer:r}=this;if(r){if(t>0){if(this.index-1)for(let o=e+t,l=t<0?-1:n._tree.children.length;o!=l;o+=t){let a=n._tree.children[o];if(this.mode&i.IncludeAnonymous||a instanceof k||!a.type.isAnonymous||A(a))return!1}return!0}move(t,e){if(e&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,e=0){for(;(this.from==this.to||(e<1?this.from>=t:this.from>t)||(e>-1?this.to<=t:this.to=0;){for(let s=t;s;s=s._parent)if(s.index==i){if(i==this.index)return s;e=s,n=r+1;break n}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return w(this.node,t,i);let s=n[e.buffer[this.stack[r]]];if(!s.isAnonymous){if(t[i]&&t[i]!=s.name)return!1;i--}}return!0}}function A(t){return t.children.some(t=>t instanceof k||!t.type.isAnonymous||A(t))}let Q=new WeakMap;function T(t,e){if(!t.isAnonymous||e instanceof k||e.type!=t)return 1;let n=Q.get(e);if(null==n){for(let i of(n=1,e.children)){if(i.type!=t||!(i instanceof m)){n=1;break}n+=T(t,i)}Q.set(e,n)}return n}function I(t,e,n,i,r,s,o,l,a){let h=0;for(let c=i;c=u)break;m+=g}if(h==c+1){if(m>u){let k=n[c];e(k.children,k.positions,0,k.children.length,i[c]+l);continue}f.push(n[c])}else{let y=i[h-1]+n[h-1].length-p;f.push(I(t,n,i,c,h,p,y,null,a))}d.push(p+l-s)}}(e,n,i,r,0),(l||a)(f,d,o)}class D{constructor(){this.map=new WeakMap}setBuffer(t,e,n){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(e,n)}getBuffer(t,e){let n=this.map.get(t);return n&&n.get(e)}set(t,e){t instanceof P?this.setBuffer(t.context.buffer,t.index,e):t instanceof O&&this.map.set(t.tree,e)}get(t){return t instanceof P?this.getBuffer(t.context.buffer,t.index):t instanceof O?this.map.get(t.tree):void 0}cursorSet(t,e){t.buffer?this.setBuffer(t.buffer.buffer,t.index,e):this.map.set(t.tree,e)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class R{constructor(t,e,n,i,r=!1,s=!1){this.from=t,this.to=e,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(t,e=[],n=!1){let i=[new R(0,t.length,t,0,!1,n)];for(let r of e)r.to>t.length&&i.push(r);return i}static applyChanges(t,e,n=128){if(!e.length)return t;let i=[],r=1,s=t.length?t[0]:null;for(let o=0,l=0,a=0;;o++){let h=o=n)for(;s&&s.from=u.from||c<=u.to||a){let f=Math.max(u.from,l)-a,d=Math.min(u.to,c)-a;u=f>=d?null:new R(f,d,u.tree,u.offset+a,o>0,!!h)}if(u&&i.push(u),s.to>c)break;s=rnew l(t.from,t.to)):[new l(0,0)]:[new l(0,t.length)],this.createParse(t,e||[],n)}parse(t,e,n){let i=this.startParse(t,e,n);for(;;){let r=i.advance();if(r)return r}}}class ${constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,e){return this.string.slice(t,e)}}function N(t){return(e,n,i,r)=>new W(e,t,n,i,r)}class E{constructor(t,e,n,i,r){this.parser=t,this.parse=e,this.overlay=n,this.target=i,this.ranges=r}}class z{constructor(t,e,n,i,r,s,o){this.parser=t,this.predicate=e,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let B=new a({perNode:!0});class W{constructor(t,e,n,i,r){this.nest=e,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let t=this.baseParse.advance();if(!t)return null;if(this.baseParse=null,this.baseTree=t,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new m(n.type,n.children,n.positions,n.length,n.propValues.concat([[B,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[a.mounted.id]=new h(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let e=this.innerDone;et.frag.from<=r.from&&t.frag.to>=r.to&&t.mount.overlay);if(c)for(let f of c.mount.overlay){let d=f.from+c.pos,p=f.to+c.pos;d>=r.from&&p<=r.to&&!e.ranges.some(t=>t.fromd)&&e.ranges.push({from:d,to:p})}}a=!1}else if(n&&(o=function(t,e,n){for(let i of t){if(i.from>=n)break;if(i.to>e)return i.from<=e&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))a=2!=o;else if(!r.type.isAnonymous&&r.from=e.to);i++);let o=r.children[i],l=o.buffer;r.children[i]=function t(n,i,r,a,h){let c=n;for(;l[c+2]+s<=e.from;)c=l[c+3];let u=[],f=[];J(o,n,c,u,f,a);let d=l[c+1],p=l[c+2],g=d+s==e.from&&p+s==e.to&&l[c]==e.type.id;return u.push(g?e.toTree():t(c+4,l[c+3],o.set.types[l[c]],d,p-d)),f.push(d-a),J(o,l[c+3],i,u,f,a),new m(r,u,f,h)}(0,l.length,u.none,0,o.length);for(let a=0;a<=n;a++)t.childAfter(e.from)}(r);let g=t.findMounts(r.from,s.parser);if("function"==typeof s.overlay)e=new z(s.parser,s.overlay,g,this.inner.length,r.from,r.tree,e);else{let k=F(this.ranges,s.overlay||[new l(r.from,r.to)]);k.length&&this.inner.push(new E(s.parser,s.parser.startParse(this.input,_(g,k),k),s.overlay?s.overlay.map(t=>new l(t.from-r.from,t.to-r.from)):null,r.tree,k)),s.overlay?k.length&&(n={ranges:k,depth:0,prev:n}):a=!1}}else e&&(h=e.predicate(r))&&(!0===h&&(h=new l(r.from,r.to)),h.fromnew l(t.from-e.start,t.to-e.start)),e.target,y)),e=e.prev}!n||--n.depth||(n=n.prev)}}}}function J(t,e,n,i,r,s){if(e=t&&e.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||e.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let e=this.cursor.tree;;){if(e==t.tree)return!0;if(e.children.length&&0==e.positions[0]&&e.children[0]instanceof m)e=e.children[0];else break}return!1}}class j{constructor(t){var e;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let n=this.curFrag=t[0];this.curTo=null!==(e=n.tree.prop(B))&&void 0!==e?e:n.to,this.inner=new L(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(t=e.tree.prop(B))&&void 0!==t?t:e.to,this.inner=new L(e.tree,-e.offset)}}findMounts(t,e){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(a.mounted);if(s&&s.parser==e)for(let o=this.fragI;o=r.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:r.from-l.offset,mount:s})}}}return i}}function F(t,e){let n=null,i=e;for(let r=1,s=0;r=a)break;!(h.to<=o)&&(n||(i=n=e.slice()),h.froma&&n.splice(s+1,0,new l(a,h.to))):h.to>a?n[s--]=new l(a,h.to):n.splice(s--,1))}}return i}function _(t,e){let n=[];for(let{pos:i,mount:r,frag:s}of t){let o=i+(r.overlay?r.overlay[0].from:0),a=o+r.tree.length,h=Math.max(s.from,o),c=Math.min(s.to,a);if(r.overlay){let u=function(t,e,n,i){let r=0,s=0,o=!1,a=!1,h=-1e9,c=[];for(;;){let u=r==t.length?1e9:o?t[r].to:t[r].from,f=s==e.length?1e9:a?e[s].to:e[s].from;if(o!=a){let d=Math.max(h,n),p=Math.min(u,f,i);dnew l(t.from+i,t.to+i)),h,c);for(let f=0,d=h;;f++){let p=f==u.length,m=p?c:u[f].from;if(m>d&&n.push(new R(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=u[f].to}}else n.push(new R(h,c,r.tree,-o,s.from>=o||s.openStart,s.to<=a||s.openEnd))}return n}},35524:function(t,e,n){n.d(e,{Gv:function(){return a},QR:function(){return u},Vp:function(){return s},bW:function(){return f},pJ:function(){return T}});var i=n(41113);let r=0;class s{constructor(t,e,n){this.set=t,this.base=e,this.modified=n,this.id=r++}static define(t){if(null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let e=new s([],null,[]);if(e.set.push(e),t)for(let n of t.set)e.set.push(n);return e}static defineModifier(){let t=new l;return e=>e.modified.indexOf(t)>-1?e:l.get(e.base||e,e.modified.concat(t).sort((t,e)=>t.id-e.id))}}let o=0;class l{constructor(){this.instances=[],this.id=o++}static get(t,e){if(!e.length)return t;let n=e[0].instances.find(n=>{var i;return n.base==t&&(i=n.modified,e.length==i.length&&e.every((t,e)=>t==i[e]))});if(n)return n;let i=[],r=new s(i,t,e);for(let o of e)o.instances.push(r);let a=function(t){let e=[[]];for(let n=0;ne.length-t.length)}(e);for(let h of t.set)if(!h.modified.length)for(let c of a)i.push(l.get(h,c));return r}}function a(t){let e=Object.create(null);for(let n in t){let i=t[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,l=r;for(let a=0;;){if("..."==l&&a>0&&a+3==r.length){o=1;break}let u=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!u)throw RangeError("Invalid path: "+r);if(s.push("*"==u[0]?"":'"'==u[0][0]?JSON.parse(u[0]):u[0]),(a+=u[0].length)==r.length)break;let f=r[a++];if(a==r.length&&"!"==f){o=0;break}if("/"!=f)throw RangeError("Invalid path: "+r);l=r.slice(a)}let d=s.length-1,p=s[d];if(!p)throw RangeError("Invalid path: "+r);let m=new c(i,o,d>0?s.slice(0,d):null);e[p]=m.sort(e[p])}}return h.add(e)}let h=new i.md;class c{constructor(t,e,n,i){this.tags=t,this.mode=e,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(t){return!t||t.depththis.at&&(this.at=t),this.class=e)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,e,n,r,s){let{type:o,from:l,to:a}=t;if(l>=n||a<=e)return;o.isTop&&(s=this.highlighters.filter(t=>!t.scope||t.scope(o)));let u=r,f=function(t){let e=t.type.prop(h);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}(t)||c.empty,d=function(t,e){let n=null;for(let i of t){let r=i.style(e);r&&(n=n?n+" "+r:r)}return n}(s,f.tags);if(d&&(u&&(u+=" "),u+=d,1==f.mode&&(r+=(r?" ":"")+d)),this.startSpan(t.from,u),f.opaque)return;let p=t.tree&&t.tree.prop(i.md.mounted);if(p&&p.overlay){let m=t.node.enter(p.overlay[0].from+l,1),g=this.highlighters.filter(t=>!t.scope||t.scope(p.tree.type)),k=t.firstChild();for(let y=0,v=l;;y++){let b=y=O)&&t.nextSibling()););if(!b||O>n)break;(v=b.to+l)>e&&(this.highlightRange(m.cursor(),Math.max(e,b.from+l),Math.min(n,v),r,g),this.startSpan(v,u))}k&&t.parent()}else if(t.firstChild()){do{if(t.to<=e)continue;if(t.from>=n)break;this.highlightRange(t,e,n,r,s),this.startSpan(Math.min(n,t.to),u)}while(t.nextSibling());t.parent()}}}let p=s.define,m=p(),g=p(),k=p(g),y=p(g),v=p(),b=p(v),O=p(v),x=p(),w=p(x),S=p(),P=p(),C=p(),A=p(C),Q=p(),T={comment:m,lineComment:p(m),blockComment:p(m),docComment:p(m),name:g,variableName:p(g),typeName:k,tagName:p(k),propertyName:y,attributeName:p(y),className:p(g),labelName:p(g),namespace:p(g),macroName:p(g),literal:v,string:b,docString:p(b),character:p(b),attributeValue:p(b),number:O,integer:p(O),float:p(O),bool:p(v),regexp:p(v),escape:p(v),color:p(v),url:p(v),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:P,derefOperator:p(P),arithmeticOperator:p(P),logicOperator:p(P),bitwiseOperator:p(P),compareOperator:p(P),updateOperator:p(P),definitionOperator:p(P),typeOperator:p(P),controlOperator:p(P),punctuation:C,separator:p(C),bracket:A,angleBracket:p(A),squareBracket:p(A),paren:p(A),brace:p(A),content:x,heading:w,heading1:p(w),heading2:p(w),heading3:p(w),heading4:p(w),heading5:p(w),heading6:p(w),contentSeparator:p(x),list:p(x),quote:p(x),emphasis:p(x),strong:p(x),link:p(x),monospace:p(x),strikethrough:p(x),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:Q,documentMeta:p(Q),annotation:p(Q),processingInstruction:p(Q),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};u([{tag:T.link,class:"tok-link"},{tag:T.heading,class:"tok-heading"},{tag:T.emphasis,class:"tok-emphasis"},{tag:T.strong,class:"tok-strong"},{tag:T.keyword,class:"tok-keyword"},{tag:T.atom,class:"tok-atom"},{tag:T.bool,class:"tok-bool"},{tag:T.url,class:"tok-url"},{tag:T.labelName,class:"tok-labelName"},{tag:T.inserted,class:"tok-inserted"},{tag:T.deleted,class:"tok-deleted"},{tag:T.literal,class:"tok-literal"},{tag:T.string,class:"tok-string"},{tag:T.number,class:"tok-number"},{tag:[T.regexp,T.escape,T.special(T.string)],class:"tok-string2"},{tag:T.variableName,class:"tok-variableName"},{tag:T.local(T.variableName),class:"tok-variableName tok-local"},{tag:T.definition(T.variableName),class:"tok-variableName tok-definition"},{tag:T.special(T.variableName),class:"tok-variableName2"},{tag:T.definition(T.propertyName),class:"tok-propertyName tok-definition"},{tag:T.typeName,class:"tok-typeName"},{tag:T.namespace,class:"tok-namespace"},{tag:T.className,class:"tok-className"},{tag:T.macroName,class:"tok-macroName"},{tag:T.propertyName,class:"tok-propertyName"},{tag:T.operator,class:"tok-operator"},{tag:T.comment,class:"tok-comment"},{tag:T.meta,class:"tok-meta"},{tag:T.invalid,class:"tok-invalid"},{tag:T.punctuation,class:"tok-punctuation"}])},53105:function(t,e,n){n.d(e,{IK:function(){return I},Jq:function(){return v},WQ:function(){return D}});var i,r,s,o,l,a,h=n(41113),c=n(34155);class u{constructor(t,e,n,i,r,s,o,l,a,h=0,c){this.p=t,this.stack=e,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=l,this.curContext=a,this.lookAhead=h,this.parent=c}toString(){return`[${this.stack.filter((t,e)=>e%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,n=0){let i=t.parser.context;return new u(t,[],e,n,n,0,[],0,i?new f(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length),this.state=t}reduce(t){let e=t>>19,n=65535&t,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==e){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(t,e,n,i=4,r=!1){if(0==t&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(e==n)return;if(s.buffer[o-2]>=e){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let l=this.buffer.length;if(l>0&&0!=this.buffer[l-4])for(;l>0&&this.buffer[l-2]>n;)this.buffer[l]=this.buffer[l-4],this.buffer[l+1]=this.buffer[l-3],this.buffer[l+2]=this.buffer[l-2],this.buffer[l+3]=this.buffer[l-1],l-=4,i>4&&(i-=4);this.buffer[l]=t,this.buffer[l+1]=e,this.buffer[l+2]=n,this.buffer[l+3]=i}else this.buffer.push(t,e,n,i)}shift(t,e,n){let i=this.pos;if(131072&t)this.pushState(65535&t,this.pos);else if((262144&t)==0){let{parser:r}=this.p;(n>this.pos||e<=r.maxNode)&&(this.pos=n,r.stateFlag(t,1)||(this.reducePos=n)),this.pushState(t,i),this.shiftContext(e,i),e<=r.maxNode&&this.buffer.push(e,i,n,4)}else this.pos=n,this.shiftContext(e,i),e<=this.p.parser.maxNode&&this.buffer.push(e,i,n,4)}apply(t,e,n){65536&t?this.reduce(t):this.shift(t,e,n)}useNode(t,e){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(e,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,e=t.buffer.length;for(;e>0&&t.buffer[e-2]>t.reducePos;)e-=4;let n=t.buffer.slice(e),i=t.bufferBase+e;for(;t&&i==t.bufferBase;)t=t.parent;return new u(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,e,4),this.storeNode(0,this.pos,e,n?8:4),this.pos=this.reducePos=e,this.score-=190}canShift(t){for(let e=new d(this);;){let n=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(0==n)return!1;if((65536&n)==0)return!0;e.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&e&&t==o)||n.push(e[s],o)}e=n}let l=[];for(let a=0;a>19);if(n<0||0>e.getGoto(this.stack[n],65535&t,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:t}=this.p;return 65535==t.data[t.stateSlot(this.state,1)]&&!t.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let e=0;ethis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class f{constructor(t,e){this.tracker=t,this.context=e,this.hash=t.strict?t.hash(e):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class d{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let e=t>>19;0==e?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(e-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&t,!0);this.state=n}}class p{constructor(t,e,n){this.stack=t,this.pos=e,this.index=n,this.buffer=t.buffer,0==this.index&&this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new p(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;null!=t&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new p(this.stack,this.pos,this.index)}}class m{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let g=new m;class k{constructor(t,e){this.input=t,this.ranges=e,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=g,this.rangeIndex=0,this.pos=this.chunkPos=e[0].from,this.range=e[0],this.end=e[e.length-1].to,this.readNext()}resolveOffset(t,e){let n=this.range,i=this.rangeIndex,r=this.pos+t;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,e.from);return this.end}peek(t){let e=this.chunkOff+t,n,i;if(e>=0&&e=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(t,e=0){let n=e?this.resolveOffset(e,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,e){if(e?(this.token=e,e.start=t,e.lookAhead=t+1,e.value=e.extended=-1):this.token=g,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let n="";for(let i of this.ranges){if(i.from>=e)break;i.to>t&&(n+=this.input.read(Math.max(i.from,t),Math.min(i.to,e)))}return n}}class y{constructor(t,e){this.data=t,this.id=e}token(t,e){!function(t,e,n,i){let r=0,s=1<0){let c=t[h];if(l.allows(c)&&(-1==e.token.value||e.token.value==c||o.overrides(c,e.token.value))){e.acceptToken(c);break}}let u=e.next,f=0,d=t[r+2];if(e.next<0&&d>f&&65535==t[a+3*d-3]&&65535==t[a+3*d-3]){r=t[a+3*d-1];continue n}for(;f>1,m=a+p+(p<<1),g=t[m],k=t[m+1]||65536;if(u=k)f=p+1;else{r=t[m+2],e.advance();continue n}}break}}(this.data,t,e,this.id)}}y.prototype.contextual=y.prototype.fallback=y.prototype.extend=!1;class v{constructor(t,e={}){this.token=t,this.contextual=!!e.contextual,this.fallback=!!e.fallback,this.extend=!!e.extend}}function b(t,e=Uint16Array){if("string"!=typeof t)return t;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}n?n[r++]=s:n=new e(s)}return n}let O=void 0!==c&&c.env&&/\bparse\b/.test(c.env.LOG),x=null;function w(t,e,n){let i=t.cursor(h.vj.IncludeAnonymous);for(i.moveTo(e);;)if(!(n<0?i.childBefore(e):i.childAfter(e)))for(;;){if((n<0?i.toe)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(t.length,Math.max(i.from+1,e+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:t.length}}(r=l||(l={}))[r.Margin=25]="Margin";class S{constructor(t,e){this.fragments=t,this.nodeSet=e,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?w(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?w(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=s,null;if(r instanceof h.mp){if(s==t){if(s=Math.max(this.safeFrom,t)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[e]++,this.nextStart=s+r.length}}}class P{constructor(t,e){this.stream=e,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(t=>new m)}getActions(t){let e=0,n=null,{parser:i}=t.p,{tokenizers:r}=i,s=i.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,l=0;for(let a=0;ac.end+25&&(l=Math.max(c.lookAhead,l)),0!=c.value)){let u=e;if(c.extended>-1&&(e=this.addActions(t,c.extended,c.end,e)),e=this.addActions(t,c.value,c.end,e),!h.extend&&(n=c,e>u))break}}for(;this.actions.length>e;)this.actions.pop();return l&&t.setLookAhead(l),n||t.pos!=this.stream.end||((n=new m).value=t.p.parser.eofTerm,n.start=n.end=t.pos,e=this.addActions(t,n.value,n.end,e)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new m,{pos:n,p:i}=t;return e.start=n,e.end=Math.min(n+1,i.stream.end),e.value=n==i.stream.end?i.parser.eofTerm:0,e}updateCachedToken(t,e,n){let i=this.stream.clipPos(n.pos);if(e.token(this.stream.reset(i,t),n),t.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?t.value=o>>1:t.extended=o>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,e,n,i){for(let r=0;r4*t.bufferLength?new S(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t,e,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;t||(t=[],e=[]),t.push(o);let l=this.tokens.getMainToken(o);e.push(l.value,l.end)}break}}if(!r.length){let a=t&&function(t){let e=null;for(let n of t){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scorethis.stoppedAt?t[0]:this.runRecovery(t,e,r);if(h)return this.stackToTree(h.forceAll())}if(this.recovering){let c=1==this.recovering?1:3*this.recovering;if(r.length>c)for(r.sort((t,e)=>e.score-t.score);r.length>c;)r.pop();r.some(t=>t.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let u=0;u500&&p.buffer.length>500){if((f.score-p.score||f.buffer.length-p.buffer.length)>0)r.splice(d--,1);else{r.splice(u--,1);continue i}}}}this.minStackPos=r[0].pos;for(let m=1;m ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let o=t.curContext&&t.curContext.tracker.strict,l=o?t.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let c=this.parser.nodeSet.types[a.type.id]==a.type?r.getGoto(t.state,a.type.id):-1;if(c>-1&&a.length&&(!o||(a.prop(h.md.contextHash)||0)==l))return t.useNode(a,c),O&&console.log(s+this.stackID(t)+` (via reuse of ${r.getName(a.type.id)})`),!0;if(!(a instanceof h.mp)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(u instanceof h.mp&&0==a.positions[0])a=u;else break}}let f=r.stateSlot(t.state,4);if(f>0)return t.reduce(f),O&&console.log(s+this.stackID(t)+` (via always-reduce ${r.getName(65535&f)})`),!0;if(t.stack.length>=15e3)for(;t.stack.length>9e3&&t.forceReduce(););let d=this.tokens.getActions(t);for(let p=0;pi?e.push(v):n.push(v)}return!1}advanceFully(t,e){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return A(t,e),!0}}runRecovery(t,e,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),O&&console.log(h+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let c=o.split(),u=h;for(let f=0;c.forceReduce()&&f<10&&(O&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));f++)O&&(u=this.stackID(c)+" -> ");for(let d of o.recoverByInsert(l))O&&console.log(h+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>o.pos?(a==o.pos&&(a++,l=0),o.recoverByDelete(l,a),O&&console.log(h+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),A(o,n)):(!i||i.scoret;class I{constructor(t){this.start=t.start,this.shift=t.shift||T,this.reduce=t.reduce||T,this.reuse=t.reuse||T,this.hash=t.hash||(()=>0),this.strict=!1!==t.strict}}class D extends h._b{constructor(t){if(super(),this.wrappers=[],14!=t.version)throw RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let n=0;nt.topRules[e][1]),r=[];for(let s=0;s=0)o(u,a,l[c++]);else{let f=l[c+-u];for(let d=-u;d>0;d--)o(l[c++],a,f);c++}}}this.nodeSet=new h.Lj(e.map((e,n)=>h.Jq.define({name:n>=this.minRepeatTerm?void 0:e,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:t.skippedNodes&&t.skippedNodes.indexOf(n)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=h.L3;let p=b(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let m=0;m"number"==typeof t?new y(p,t):t),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,n){let i=new C(this,t,e,n);for(let r of this.wrappers)i=r(i,t,e,n);return i}getGoto(t,e,n=!1){let i=this.goto;if(e>=i[0])return -1;for(let r=i[e+1];;){let s=i[r++],o=1&s,l=i[r++];if(o&&n)return l;for(let a=r+(s>>1);r0}validAction(t,e){if(e==this.stateSlot(t,4))return!0;for(let n=this.stateSlot(t,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=R(this.data,n+2)}if(e==R(this.data,n+1))return!0}}nextStates(t){let e=[];for(let n=this.stateSlot(t,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=R(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];e.some((t,e)=>1&e&&t==i)||e.push(this.data[n],i)}}return e}overrides(t,e){let n=M(this.data,this.tokenPrecTable,e);return n<0||M(this.data,this.tokenPrecTable,t){let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(e.specializers=this.specializers.slice(),e.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=t.specializers.find(t=>t.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return e.specializers[i]=$(s),s})),t.contextTracker&&(e.context=t.contextTracker),t.dialect&&(e.dialect=this.parseDialect(t.dialect)),null!=t.strict&&(e.strict=t.strict),t.wrap&&(e.wrappers=e.wrappers.concat(t.wrap)),null!=t.bufferLength&&(e.bufferLength=t.bufferLength),e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return null==e?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),n=e.map(()=>!1);if(t)for(let i of t.split(" ")){let r=e.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;ot.external(n,i)<<1|e}return t.get}},28699:function(t,e,n){n.d(e,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(t,e){this.rules=[];let{finish:n}=e||{};function i(t){return/^@/.test(t)?[t]:t.split(/,\s*/)}for(let r in t)!function t(e,r,s,o){let l=[],a=/^@(\w+)\b/.exec(e[0]),h=a&&"keyframes"==a[1];if(a&&null==r)return s.push(e[0]+";");for(let c in r){let u=r[c];if(/&/.test(c))t(c.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((t,e)=>t.concat(e)),u,s);else if(u&&"object"==typeof u){if(!a)throw RangeError("The value of a property ("+c+") should be a primitive value.");t(i(c),u,l,h)}else null!=u&&l.push(c.replace(/_.*/,"").replace(/[A-Z]/g,t=>"-"+t.toLowerCase())+": "+u+";")}(l.length||h)&&s.push((!n||a||o?e:e.map(n)).join(", ")+" {"+l.join(" ")+"}")}(i(r),t[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let t=s[i]||1;return s[i]=t+1,"ͼ"+t.toString(36)}static mount(t,e){(t[r]||new a(t)).mount(Array.isArray(e)?e:[e])}}let l=null;class a{constructor(t){if(!t.head&&t.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(l)return t.adoptedStyleSheets=[l.sheet].concat(t.adoptedStyleSheets),t[r]=l;this.sheet=new CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat(t.adoptedStyleSheets),l=this}else{this.styleTag=(t.ownerDocument||t).createElement("style");let e=t.head||t;e.insertBefore(this.styleTag,e.firstChild)}this.modules=[],t[r]=this}mount(t){let e=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),e)for(let l=0;l",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=o||s&&57>+s[1],h=0;h<10;h++)i[48+h]=i[96+h]=String(h);for(var h=1;h<=24;h++)i[h+111]="F"+h;for(var h=65;h<=90;h++)i[h]=String.fromCharCode(h+32),r[h]=String.fromCharCode(h);for(var c in i)r.hasOwnProperty(c)||(r[c]=i[c]);function u(t){var e=!(a&&(t.ctrlKey||t.altKey||t.metaKey)||l&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?r:i)[t.keyCode]||t.key||"Unidentified";return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2069-c5012847917b76df.js b/static/web/_next/static/chunks/2069-d9f139bc73aea8db.js similarity index 92% rename from static/web/_next/static/chunks/2069-c5012847917b76df.js rename to static/web/_next/static/chunks/2069-d9f139bc73aea8db.js index 9d3f02a9d..bd4212408 100644 --- a/static/web/_next/static/chunks/2069-c5012847917b76df.js +++ b/static/web/_next/static/chunks/2069-d9f139bc73aea8db.js @@ -1,9 +1,9 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2069],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,l=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!i)return!1;for(r in e);return void 0===r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(l)return l(e,t).value}return e[t]};e.exports=function e(){var n,t,r,l,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p * @license MIT - */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},27561:function(e,n,t){var r=t(67990),l=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(l,""):e}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),l=t(7771),i=t(14841),o=Math.max,u=Math.min;e.exports=function(e,n,t){var a,s,c,f,p,d,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function k(n){var t=a,r=s;return a=s=void 0,h=n,f=e.apply(r,t)}function x(e){var t=e-d,r=e-h;return void 0===d||t>=n||t<0||g&&r>=c}function v(){var e,t,r,i=l();if(x(i))return b(i);p=setTimeout(v,(e=i-d,t=i-h,r=n-e,g?u(r,c-t):r))}function b(e){return(p=void 0,y&&a)?k(e):(a=s=void 0,f)}function S(){var e,t=l(),r=x(t);if(a=arguments,s=this,d=t,r){if(void 0===p)return h=e=d,p=setTimeout(v,n),m?k(e):f;if(g)return clearTimeout(p),p=setTimeout(v,n),k(d)}return void 0===p&&(p=setTimeout(v,n)),f}return n=i(n)||0,r(t)&&(m=!!t.leading,c=(g="maxWait"in t)?o(i(t.maxWait)||0,n):c,y="trailing"in t?!!t.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,a=d=s=p=void 0},S.flush=function(){return void 0===p?f:b(l())},S}},33448:function(e,n,t){var r=t(44239),l=t(37005);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),l=t(13218),i=t(33448),o=0/0,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(l(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=l(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||s.test(e)?c(e.slice(2),t?2:8):u.test(e)?o:+e}},71471:function(e,n){"use strict";/** + */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},62705:function(e,n,t){var r=t(55639).Symbol;e.exports=r},44239:function(e,n,t){var r=t(62705),l=t(89607),i=t(2333),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?l(e):i(e)}},27561:function(e,n,t){var r=t(67990),l=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(l,""):e}},31957:function(e,n,t){var r="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g;e.exports=r},89607:function(e,n,t){var r=t(62705),l=Object.prototype,i=l.hasOwnProperty,o=l.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var n=i.call(e,u),t=e[u];try{e[u]=void 0;var r=!0}catch(l){}var a=o.call(e);return r&&(n?e[u]=t:delete e[u]),a}},2333:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},55639:function(e,n,t){var r=t(31957),l="object"==typeof self&&self&&self.Object===Object&&self,i=r||l||Function("return this")();e.exports=i},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),l=t(7771),i=t(14841),o=Math.max,u=Math.min;e.exports=function(e,n,t){var a,s,c,f,p,d,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(n){var t=a,r=s;return a=s=void 0,h=n,f=e.apply(r,t)}function k(e){var t=e-d,r=e-h;return void 0===d||t>=n||t<0||g&&r>=c}function v(){var e,t,r,i=l();if(k(i))return b(i);p=setTimeout(v,(e=i-d,t=i-h,r=n-e,g?u(r,c-t):r))}function b(e){return(p=void 0,y&&a)?x(e):(a=s=void 0,f)}function S(){var e,t=l(),r=k(t);if(a=arguments,s=this,d=t,r){if(void 0===p)return h=e=d,p=setTimeout(v,n),m?x(e):f;if(g)return clearTimeout(p),p=setTimeout(v,n),x(d)}return void 0===p&&(p=setTimeout(v,n)),f}return n=i(n)||0,r(t)&&(m=!!t.leading,c=(g="maxWait"in t)?o(i(t.maxWait)||0,n):c,y="trailing"in t?!!t.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,a=d=s=p=void 0},S.flush=function(){return void 0===p?f:b(l())},S}},13218:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,n,t){var r=t(44239),l=t(37005);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),l=t(13218),i=t(33448),o=0/0,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(l(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=l(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||s.test(e)?c(e.slice(2),t?2:8):u.test(e)?o:+e}},71471:function(e,n){"use strict";/** * @license React * react-is.production.min.js * @@ -11,4 +11,4 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var t,r=Symbol.for("react.element"),l=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case o:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case l:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=l,n.Profiler=u,n.StrictMode=o,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===l},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===o},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===o||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,l,i,o=null;if(!e||"string"!=typeof e)return o;for(var u=r(e),a="function"==typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1);return l<0?"":e.slice(r,l)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(l=i):(u=-1,l=o));return r===l?l=o:l<0&&(l=e.length),e.slice(r,l)},dirname:function(e){let n;if(d(e),0===e.length)return".";let t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){let n;d(e);let t=e.length,r=-1,l=0,i=-1,o=0;for(;t--;){let u=e.charCodeAt(t);if(47===u){if(n){l=t+1;break}continue}r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===l+1?"":e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",i=0):i=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),o=a,u=0;continue}}else if(l.length>0){l="",i=0,o=a,u=0;continue}}n&&(l=l.length>0?l+"/..":"..",i=2)}else l.length>0?l+="/"+e.slice(o+1,a):l=e.slice(o+1,a),i=a-o-1;o=a,u=0}else 46===t&&u>-1?u++:u=-1}return l}(e,!n);return 0!==t.length||n||(t="."),t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/"),n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let g=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let n,t;n=e?"string"==typeof e||o(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++rn.length;o&&n.push(r);try{i=e.apply(this,n)}catch(u){if(o&&t)throw u;return r(u)}o||(i instanceof Promise?i.then(l,r):i instanceof Error?r(i):l(i))};function r(e,...r){t||(t=!0,n(e,...r))}function l(e){r(null,e)}})(u,l)(...o):r(null,...o)}(null,...n)},use:function(t){if("function"!=typeof t)throw TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}(),r=[],l={},i=-1;return u.data=function(e,t){return"string"==typeof e?2==arguments.length?(P("data",n),l[e]=t,u):E.call(l,e)&&l[e]||null:e?(P("data",n),l=e,u):l},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(n)return u;for(;++i{if(!e&&n&&t){let r=u.stringify(n,t);null==r||("string"==typeof r||o(r)?t.value=r:t.result=r),i(e,t)}else i(e)})}t(null,n)},u.processSync=function(e){let n;u.freeze(),F("processSync",u.Parser),T("processSync",u.Compiler);let t=I(e);return u.process(t,function(e){n=!0,b(e)}),L("processSync","process",n),t},u;function u(){let n=e(),t=-1;for(;++ti?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)(l=Array.from(r)).unshift(n,t),[].splice.apply(e,l);else for(t&&[].splice.apply(e,[n,t]);o0?(M(e,e.length,0,n),e):n}let B={}.hasOwnProperty,j=X(/[A-Za-z]/),_=X(/\d/),N=X(/[\dA-Fa-f]/),H=X(/[\dA-Za-z]/),U=X(/[!-/:-@[-`{-~]/),V=X(/[#-'*+\--9=?A-Z^-~]/);function q(e){return null!==e&&(e<32||127===e)}function $(e){return null!==e&&(e<0||32===e)}function W(e){return null!==e&&e<-2}function Q(e){return -2===e||-1===e||32===e}let Y=X(/\s/),K=X(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function X(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function Z(e,n,t,r){let l=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return Q(r)?(e.enter(t),function r(o){return Q(o)&&i++r))return;let f=l.events.length,p=f;for(;p--;)if("exit"===l.events[p][0]&&"chunkFlow"===l.events[p][1].type){if(a){s=l.events[p][1].end;break}a=!0}for(g(o),c=f;cn;){let r=i[t];l.containerState=r[1],r[0].exit.call(l,e)}i.length=n}function y(){n.write([null]),t=void 0,n=void 0,l.containerState._closeFlow=void 0}}},ee={tokenize:function(e,n,t){return Z(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},en={tokenize:function(e,n,t){return Z(e,function(e){return null===e||W(e)?n(e):t(e)},"linePrefix")},partial:!0};function et(e){let n,t,r,l,i,o,u;let a={},s=-1;for(;++s=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}},partial:!0},ei={tokenize:function(e){let n=this,t=e.attempt(en,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t},e.attempt(this.parser.constructs.flowInitial,r,Z(e,e.attempt(this.parser.constructs.flow,r,e.attempt(er,r)),"linePrefix")));return t;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t}}},eo={resolveAll:ec()},eu=es("string"),ea=es("text");function es(e){return{tokenize:function(n){let t=this,r=this.parser.constructs[e],l=n.attempt(r,i,o);return i;function i(e){return a(e)?l(e):o(e)}function o(e){if(null===e){n.consume(e);return}return n.enter("data"),n.consume(e),u}function u(e){return a(e)?(n.exit("data"),l(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;let n=r[e],l=-1;if(n)for(;++ls?t(l):(e.consume(l),h):41===l?c--?(e.consume(l),h):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):null===l||$(l)?c?t(l):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):q(l)?t(l):(e.consume(l),92===l?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function ex(e,n,t,r,l,i){let o;let u=this,a=0;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!o||94===f&&!a&&"_hiddenFootnoteSupport"in u.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(l),e.consume(f),e.exit(l),e.exit(r),n):W(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||W(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),o=o||!Q(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function ev(e,n,t,r,l,i){let o;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),o=40===n?41:n,u};function u(t){return t===o?(e.enter(l),e.consume(t),e.exit(l),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===o?(e.exit(i),u(o)):null===n?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===o||null===n||W(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===o||92===n?(e.consume(n),s):s(n)}}function eb(e,n){let t;return function r(l){return W(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t=!0,r):Q(l)?Z(e,r,t?"linePrefix":"lineSuffix")(l):n(l)}}function eS(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let ew={tokenize:function(e,n,t){return function(n){return $(n)?eb(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?ev(e,Z(e,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function l(e){return null===e||W(e)?n(e):t(e)}},partial:!0},eC={name:"codeIndented",tokenize:function(e,n,t){let r=this;return function(n){return e.enter("codeIndented"),Z(e,l,"linePrefix",5)(n)};function l(n){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function n(t){return null===t?i(t):W(t)?e.attempt(eE,n,i)(t):(e.enter("codeFlowValue"),function t(r){return null===r||W(r)?(e.exit("codeFlowValue"),n(r)):(e.consume(r),t)}(t))}(n):t(n)}function i(t){return e.exit("codeIndented"),n(t)}}},eE={tokenize:function(e,n,t){let r=this;return l;function l(n){return r.parser.lazy[r.now().line]?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),l):Z(e,i,"linePrefix",5)(n)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):W(e)?l(e):t(e)}},partial:!0},eA={name:"setextUnderline",tokenize:function(e,n,t){let r;let l=this,i=l.events.length;for(;i--;)if("lineEnding"!==l.events[i][1].type&&"linePrefix"!==l.events[i][1].type&&"content"!==l.events[i][1].type){r="paragraph"===l.events[i][1].type;break}return function(n){return!l.parser.lazy[l.now().line]&&(l.interrupt||r)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),Z(e,o,"lineSuffix")(r))}(n)):t(n)};function o(r){return null===r||W(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,l,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),l||"definition"!==e[i][1].type||(l=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",o,n]),e.splice(l+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[l][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},eF=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eT=["pre","script","style","textarea"],eP={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(en,n,t)}},partial:!0},eO={name:"codeFenced",tokenize:function(e,n,t){let r;let l=this,i={tokenize:function(e,n,t){let l=0;return Z(e,function(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function n(o){return o===r?(e.consume(o),l++,n):l1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);eV(f,-u),eV(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=R(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=R(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",l,n]]),a=R(a,ep(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=R(a,[["exit",l,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=R(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,M(e,t-1,c-t+3,a),c=t+a.length-s-2;break}}for(c=-1;++ci&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},M(e,i,l-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},42:ed,45:[eA,ed],60:{name:"htmlFlow",tokenize:function(e,n,t){let r,l,i,o,u;let a=this;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),d):63===o?(e.consume(o),r=3,a.interrupt?n:L):j(o)?(e.consume(o),i=String.fromCharCode(o),l=!0,h):t(o)}function c(l){return 45===l?(e.consume(l),r=2,f):91===l?(e.consume(l),r=5,i="CDATA[",o=0,p):j(l)?(e.consume(l),r=4,a.interrupt?n:L):t(l)}function f(r){return 45===r?(e.consume(r),a.interrupt?n:L):t(r)}function p(r){return r===i.charCodeAt(o++)?(e.consume(r),o===i.length?a.interrupt?n:C:p):t(r)}function d(n){return j(n)?(e.consume(n),i=String.fromCharCode(n),h):t(n)}function h(o){return null===o||47===o||62===o||$(o)?47!==o&&l&&eT.includes(i.toLowerCase())?(r=1,a.interrupt?n(o):C(o)):eF.includes(i.toLowerCase())?(r=6,47===o)?(e.consume(o),m):a.interrupt?n(o):C(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(o):l?g(o):function n(t){return Q(t)?(e.consume(t),n):S(t)}(o)):45===o||H(o)?(e.consume(o),i+=String.fromCharCode(o),h):t(o)}function m(r){return 62===r?(e.consume(r),a.interrupt?n:C):t(r)}function g(n){return 47===n?(e.consume(n),S):58===n||95===n||j(n)?(e.consume(n),y):Q(n)?(e.consume(n),g):S(n)}function y(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),y):k(n)}function k(n){return 61===n?(e.consume(n),x):Q(n)?(e.consume(n),k):g(n)}function x(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),u=n,v):Q(n)?(e.consume(n),x):(u=null,function n(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||$(t)?k(t):(e.consume(t),n)}(n))}function v(n){return null===n||W(n)?t(n):n===u?(e.consume(n),b):(e.consume(n),v)}function b(e){return 47===e||62===e||Q(e)?g(e):t(e)}function S(n){return 62===n?(e.consume(n),w):t(n)}function w(n){return Q(n)?(e.consume(n),w):null===n||W(n)?C(n):t(n)}function C(n){return 45===n&&2===r?(e.consume(n),F):60===n&&1===r?(e.consume(n),T):62===n&&4===r?(e.consume(n),I):63===n&&3===r?(e.consume(n),L):93===n&&5===r?(e.consume(n),O):W(n)&&(6===r||7===r)?e.check(eP,I,E)(n):null===n||W(n)?E(n):(e.consume(n),C)}function E(n){return e.exit("htmlFlowData"),function n(t){return null===t?D(t):W(t)?e.attempt({tokenize:A,partial:!0},n,D)(t):(e.enter("htmlFlowData"),C(t))}(n)}function A(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r};function r(e){return a.parser.lazy[a.now().line]?t(e):n(e)}}function F(n){return 45===n?(e.consume(n),L):C(n)}function T(n){return 47===n?(e.consume(n),i="",P):C(n)}function P(n){return 62===n&&eT.includes(i.toLowerCase())?(e.consume(n),I):j(n)&&i.length<8?(e.consume(n),i+=String.fromCharCode(n),P):C(n)}function O(n){return 93===n?(e.consume(n),L):C(n)}function L(n){return 62===n?(e.consume(n),I):45===n&&2===r?(e.consume(n),L):C(n)}function I(n){return null===n||W(n)?(e.exit("htmlFlowData"),D(n)):(e.consume(n),I)}function D(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},61:eA,95:ed,96:eO,126:eO},eK={38:eD,92:ez},eX={[-5]:eM,[-4]:eM,[-3]:eM,33:eN,38:eD,42:eU,60:[{name:"autolink",tokenize:function(e,n,t){let r=1;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(n){return j(n)?(e.consume(n),i):V(n)?u(n):t(n)}function i(n){return 43===n||45===n||46===n||H(n)?function n(t){return 58===t?(e.consume(t),o):(43===t||45===t||46===t||H(t))&&r++<32?(e.consume(t),n):u(t)}(n):u(n)}function o(n){return 62===n?(e.exit("autolinkProtocol"),s(n)):null===n||32===n||60===n||q(n)?t(n):(e.consume(n),o)}function u(n){return 64===n?(e.consume(n),r=0,a):V(n)?(e.consume(n),u):t(n)}function a(n){return H(n)?function n(l){return 46===l?(e.consume(l),r=0,a):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",s(l)):function l(i){return(45===i||H(i))&&r++<63?(e.consume(i),45===i?l:n):t(i)}(l)}(n):t(n)}function s(t){return e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n}}},{name:"htmlText",tokenize:function(e,n,t){let r,l,i,o;let u=this;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),S):63===n?(e.consume(n),v):j(n)?(e.consume(n),C):t(n)}function s(n){return 45===n?(e.consume(n),c):91===n?(e.consume(n),l="CDATA[",i=0,m):j(n)?(e.consume(n),x):t(n)}function c(n){return 45===n?(e.consume(n),f):t(n)}function f(n){return null===n||62===n?t(n):45===n?(e.consume(n),p):d(n)}function p(e){return null===e||62===e?t(e):d(e)}function d(n){return null===n?t(n):45===n?(e.consume(n),h):W(n)?(o=d,L(n)):(e.consume(n),d)}function h(n){return 45===n?(e.consume(n),D):d(n)}function m(n){return n===l.charCodeAt(i++)?(e.consume(n),i===l.length?g:m):t(n)}function g(n){return null===n?t(n):93===n?(e.consume(n),y):W(n)?(o=g,L(n)):(e.consume(n),g)}function y(n){return 93===n?(e.consume(n),k):g(n)}function k(n){return 62===n?D(n):93===n?(e.consume(n),k):g(n)}function x(n){return null===n||62===n?D(n):W(n)?(o=x,L(n)):(e.consume(n),x)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):W(n)?(o=v,L(n)):(e.consume(n),v)}function b(e){return 62===e?D(e):v(e)}function S(n){return j(n)?(e.consume(n),w):t(n)}function w(n){return 45===n||H(n)?(e.consume(n),w):function n(t){return W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):D(t)}(n)}function C(n){return 45===n||H(n)?(e.consume(n),C):47===n||62===n||$(n)?E(n):t(n)}function E(n){return 47===n?(e.consume(n),D):58===n||95===n||j(n)?(e.consume(n),A):W(n)?(o=E,L(n)):Q(n)?(e.consume(n),E):D(n)}function A(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),A):function n(t){return 61===t?(e.consume(t),F):W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):E(t)}(n)}function F(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),r=n,T):W(n)?(o=F,L(n)):Q(n)?(e.consume(n),F):(e.consume(n),r=void 0,O)}function T(n){return n===r?(e.consume(n),P):null===n?t(n):W(n)?(o=T,L(n)):(e.consume(n),T)}function P(e){return 62===e||47===e||$(e)?E(e):t(e)}function O(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):62===n||$(n)?E(n):(e.consume(n),O)}function L(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,I,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(n){return e.enter("htmlTextData"),o(n)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}}}],91:eq,92:[{name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(n),r};function r(r){return W(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(r)):t(r)}}},ez],93:eR,95:eU,96:{name:"codeText",tokenize:function(e,n,t){let r,l,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),function n(t){return 96===t?(e.consume(t),i++,n):(e.exit("codeTextSequence"),o(t))}(n)};function o(a){return null===a?t(a):96===a?(l=e.enter("codeTextSequence"),r=0,function t(o){return 96===o?(e.consume(o),r++,t):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(o)):(l.type="codeTextData",u(o))}(a)):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(a))}function u(n){return null===n||32===n||96===n||W(n)?(e.exit("codeTextData"),o(n)):(e.consume(n),u)}},resolve:function(e){let n,t,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(n=l;++n13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(65535&t)==65535||(65535&t)==65534||t>1114111?"�":String.fromCharCode(t)}let e2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e4(e,n,t){if(n)return n;let r=t.charCodeAt(0);if(35===r){let l=t.charCodeAt(1),i=120===l||88===l;return e0(t.slice(i?2:1),i?16:10)}return eI(t)||e}let e3={}.hasOwnProperty,e6=function(e,n,t){let l,i,o,a;return"string"!=typeof n&&(t=n,n=void 0),(function(e={}){let n=function e(n,t){let r=-1;for(;++r0){let y=u[u.length-1],k=y[1]||e5;k.call(d,void 0,y[0])}for(t.position={start:i(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:i(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h-1&&(t[0]=t[0].slice(l)),o>0&&t.push(e[i].slice(0,o))),t}(o,e)}function p(){return Object.assign({},r)}function d(e,n){n.restore()}function h(e,n){return function(t,l,i){let o,c,f,d;return Array.isArray(t)?h(t):"tokenize"in t?h([t]):function(e){let n=null!==e&&t[e],r=null!==e&&t.null,l=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(l)(e)};function h(e){return(o=e,c=0,0===e.length)?i:m(e[c])}function m(e){return function(t){return(d=function(){let e=p(),n=s.previous,t=s.currentConstruct,l=s.events.length,i=Array.from(u);return{restore:function(){r=e,s.previous=n,s.currentConstruct=t,s.events.length=l,u=i,g()},from:l}}(),f=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?k(t):e.tokenize.call(n?Object.assign(Object.create(s),n):s,a,y,k)(t)}}function y(n){return e(f,d),l}function k(e){return(d.restore(),++c{let t=this.data("settings");return e6(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:n})},e7=function(e,n,t){var r={type:String(e)};return null==t&&("string"==typeof n||Array.isArray(n))?t=n:Object.assign(r,n),Array.isArray(t)?r.children=t:null!=t&&(r.value=String(t)),r};let e8=function(e){if(null==e)return nn;if("string"==typeof e)return ne(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f-1?t.offset:null}}}let nu={}.hasOwnProperty;function na(e){return String(e||"").toUpperCase()}let ns={}.hasOwnProperty;function nc(e,n){let t=n.data||{};return"value"in n&&!(ns.call(t,"hName")||ns.call(t,"hProperties")||ns.call(t,"hChildren"))?e.augment(n,e7("text",n.value)):e(n,"div",nd(e,n))}function nf(e,n,t){let r;let l=n&&n.type;if(!l)throw Error("Expected node, got `"+n+"`");return("function"==typeof(r=ns.call(e.handlers,l)?e.handlers[l]:e.passThrough&&e.passThrough.includes(l)?np:e.unknownHandler)?r:nc)(e,n,t)}function np(e,n){return"children"in n?{...n,children:nd(e,n)}:n}function nd(e,n){let t=[];if("children"in n){let r=n.children,l=-1;for(;++l55295&&i<57344){let u=e.charCodeAt(t+1);i<56320&&u>56319&&u<57344?(o=String.fromCharCode(i,u),l=1):o="�"}else o=String.fromCharCode(i);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+l+1,o=""),l&&(t+=l,l=0)}return n.join("")+e.slice(r)}function nm(e,n){let t=[],r=-1;for(n&&t.push(e7("text","\n"));++r0&&t.push(e7("text","\n")),t}function ng(e,n){let t;let r=String(n.identifier),l=nh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,t=e.footnoteOrder.length):(e.footnoteCounts[r]++,t=i+1);let o=e.footnoteCounts[r];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+l,id:e.clobberPrefix+"fnref-"+l+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[e7("text",String(t))])])}function ny(e,n){let t=n.referenceType,r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return e7("text","!["+n.alt+r);let l=nd(e,n),i=l[0];i&&"text"===i.type?i.value="["+i.value:l.unshift(e7("text","["));let o=l[l.length-1];return o&&"text"===o.type?o.value+=r:l.push(e7("text",r)),l}function nk(e){let n=e.spread;return null==n?e.children.length>1:n}function nx(e,n,t){let r=0,l=e.length;if(n){let i=e.codePointAt(r);for(;9===i||32===i;)r++,i=e.codePointAt(r)}if(t){let o=e.codePointAt(l-1);for(;9===o||32===o;)l--,o=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let nv={blockquote:function(e,n){return e(n,"blockquote",nm(nd(e,n),!0))},break:function(e,n){return[e(n,"br"),e7("text","\n")]},code:function(e,n){let t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),l={};r&&(l.className=["language-"+r]);let i=e(n,"code",l,[e7("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",nd(e,n))},emphasis:function(e,n){return e(n,"em",nd(e,n))},footnoteReference:ng,footnote:function(e,n){let t=e.footnoteById,r=1;for(;(r in t);)r++;let l=String(r);return t[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:n.children}],position:n.position},ng(e,{type:"footnoteReference",identifier:l,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,nd(e,n))},html:function(e,n){return e.dangerous?e.augment(n,e7("raw",n.value)):null},imageReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={src:nh(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){let t={src:nh(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[e7("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={href:nh(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,nd(e,n))},link:function(e,n){let t={href:nh(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,nd(e,n))},listItem:function(e,n,t){let r=nd(e,n),l=t?function(e){let n=e.spread,t=e.children,r=-1;for(;!n&&++r0&&u.children.unshift(e7("text"," ")),u.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let a=-1;for(;++a0,!0),r[0]),l=r.index+r[0].length,r=t.exec(n);return i.push(nx(n.slice(l),l>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:nb,yaml:nb,definition:nb,footnoteDefinition:nb};function nb(){return null}let nS={}.hasOwnProperty;function nw(e,n){let t=function(e,n){let t=n||{},r=t.allowDangerousHtml||!1,l={};return o.dangerous=r,o.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,o.footnoteLabel=t.footnoteLabel||"Footnotes",o.footnoteLabelTagName=t.footnoteLabelTagName||"h2",o.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=t.footnoteBackLabel||"Back to content",o.definition=function(e){let n=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return nr(e,"definition",e=>{let t=na(e.identifier);t&&!nu.call(n,t)&&(n[t]=e)}),function(e){let t=na(e);return t&&nu.call(n,t)?n[t]:null}}(e),o.footnoteById=l,o.footnoteOrder=[],o.footnoteCounts={},o.augment=i,o.handlers={...nv,...t.handlers},o.unknownHandler=t.unknownHandler,o.passThrough=t.passThrough,nr(e,"footnoteDefinition",e=>{let n=String(e.identifier).toUpperCase();nS.call(l,n)||(l[n]=e)}),o;function i(e,n){if(e&&"data"in e&&e.data){let t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){let r="type"in e?e:{position:e};!r||!r.position||!r.position.start||!r.position.start.line||!r.position.start.column||!r.position.end||!r.position.end.line||!r.position.end.column||(n.position={start:nl(r),end:ni(r)})}return n}function o(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=nf(t,e,null),l=function(e){let n=-1,t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};u>1&&s.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(s)}let c=l[l.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let f=c.children[c.children.length-1];f&&"text"===f.type?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...a)}else l.push(...a);let p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:nm(l,!0)};r.position&&(p.position=r.position),t.push(p)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[e7("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:nm(t,!0)},{type:"text",value:"\n"}]}}(t);return l&&r.children.push(e7("text","\n"),l),Array.isArray(r)?{type:"root",children:r}:r}var nC=function(e,n){var t;return e&&"run"in e?(t,r,l)=>{e.run(nw(t,n),r,e=>{l(e)})}:(t=e||n,e=>nw(e,t))},nE=t(45697);class nA{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function nF(e,n){let t={},r={},l=-1;for(;++l"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),nq=nU({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n$(e,n){return n in e?e[n]:n}function nW(e,n){return n$(e,n.toLowerCase())}let nQ=nU({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nW,properties:{xmlns:null,xmlnsXLink:null}}),nY=nU({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:nI,ariaAutoComplete:null,ariaBusy:nI,ariaChecked:nI,ariaColCount:nz,ariaColIndex:nz,ariaColSpan:nz,ariaControls:nM,ariaCurrent:null,ariaDescribedBy:nM,ariaDetails:null,ariaDisabled:nI,ariaDropEffect:nM,ariaErrorMessage:null,ariaExpanded:nI,ariaFlowTo:nM,ariaGrabbed:nI,ariaHasPopup:null,ariaHidden:nI,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nM,ariaLevel:nz,ariaLive:null,ariaModal:nI,ariaMultiLine:nI,ariaMultiSelectable:nI,ariaOrientation:null,ariaOwns:nM,ariaPlaceholder:null,ariaPosInSet:nz,ariaPressed:nI,ariaReadOnly:nI,ariaRelevant:null,ariaRequired:nI,ariaRoleDescription:nM,ariaRowCount:nz,ariaRowIndex:nz,ariaRowSpan:nz,ariaSelected:nI,ariaSetSize:nz,ariaSort:null,ariaValueMax:nz,ariaValueMin:nz,ariaValueNow:nz,ariaValueText:null,role:null}}),nK=nU({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nW,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nR,acceptCharset:nM,accessKey:nM,action:null,allow:null,allowFullScreen:nL,allowPaymentRequest:nL,allowUserMedia:nL,alt:null,as:null,async:nL,autoCapitalize:null,autoComplete:nM,autoFocus:nL,autoPlay:nL,capture:nL,charSet:null,checked:nL,cite:null,className:nM,cols:nz,colSpan:null,content:null,contentEditable:nI,controls:nL,controlsList:nM,coords:nz|nR,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nL,defer:nL,dir:null,dirName:null,disabled:nL,download:nD,draggable:nI,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nL,formTarget:null,headers:nM,height:nz,hidden:nL,high:nz,href:null,hrefLang:null,htmlFor:nM,httpEquiv:nM,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:nL,itemId:null,itemProp:nM,itemRef:nM,itemScope:nL,itemType:nM,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nL,low:nz,manifest:null,max:null,maxLength:nz,media:null,method:null,min:null,minLength:nz,multiple:nL,muted:nL,name:null,nonce:null,noModule:nL,noValidate:nL,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:nL,optimum:nz,pattern:null,ping:nM,placeholder:null,playsInline:nL,poster:null,preload:null,readOnly:nL,referrerPolicy:null,rel:nM,required:nL,reversed:nL,rows:nz,rowSpan:nz,sandbox:nM,scope:null,scoped:nL,seamless:nL,selected:nL,shape:null,size:nz,sizes:null,slot:null,span:nz,spellCheck:nI,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nz,step:null,style:null,tabIndex:nz,target:null,title:null,translate:null,type:null,typeMustMatch:nL,useMap:null,value:nI,width:nz,wrap:null,align:null,aLink:null,archive:nM,axis:null,background:null,bgColor:null,border:nz,borderColor:null,bottomMargin:nz,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nL,declare:nL,event:null,face:null,frame:null,frameBorder:null,hSpace:nz,leftMargin:nz,link:null,longDesc:null,lowSrc:null,marginHeight:nz,marginWidth:nz,noResize:nL,noHref:nL,noShade:nL,noWrap:nL,object:null,profile:null,prompt:null,rev:null,rightMargin:nz,rules:null,scheme:null,scrolling:nI,standby:null,summary:null,text:null,topMargin:nz,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nz,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nL,disableRemotePlayback:nL,prefix:null,property:null,results:nz,security:null,unselectable:null}}),nX=nU({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:n$,properties:{about:nB,accentHeight:nz,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nz,amplitude:nz,arabicForm:null,ascent:nz,attributeName:null,attributeType:null,azimuth:nz,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nz,by:null,calcMode:null,capHeight:nz,className:nM,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nz,diffuseConstant:nz,direction:null,display:null,dur:null,divisor:nz,dominantBaseline:null,download:nL,dx:null,dy:null,edgeMode:null,editable:null,elevation:nz,enableBackground:null,end:null,event:null,exponent:nz,externalResourcesRequired:null,fill:null,fillOpacity:nz,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nR,g2:nR,glyphName:nR,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nz,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nz,horizOriginX:nz,horizOriginY:nz,id:null,ideographic:nz,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nz,k:nz,k1:nz,k2:nz,k3:nz,k4:nz,kernelMatrix:nB,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nz,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nz,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nz,overlineThickness:nz,paintOrder:null,panose1:null,path:null,pathLength:nz,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nM,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nz,pointsAtY:nz,pointsAtZ:nz,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nB,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nB,rev:nB,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nB,requiredFeatures:nB,requiredFonts:nB,requiredFormats:nB,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nz,specularExponent:nz,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nz,strikethroughThickness:nz,string:null,stroke:null,strokeDashArray:nB,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nz,strokeOpacity:nz,strokeWidth:null,style:null,surfaceScale:nz,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nB,tabIndex:nz,tableValues:null,target:null,targetX:nz,targetY:nz,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nB,to:null,transform:null,u1:null,u2:null,underlinePosition:nz,underlineThickness:nz,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nz,values:null,vAlphabetic:nz,vMathematical:nz,vectorEffect:null,vHanging:nz,vIdeographic:nz,version:null,vertAdvY:nz,vertOriginX:nz,vertOriginY:nz,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nz,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nZ=nF([nq,nV,nQ,nY,nK],"html"),nJ=nF([nq,nV,nQ,nY,nX],"svg"),nG=function(e){if(null==e)return n0;if("string"==typeof e)return n1(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f{n4(n,"element",(n,t,r)=>{let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&"number"==typeof t&&(l=!e.allowElement(n,t,r)),l&&"number"==typeof t)return e.unwrapDisallowed&&n.children?r.children.splice(t,1,...n.children):r.children.splice(t,1),t})}}let n6=["http","https","mailto","tel"];var n5=t(82143);let n9=/^data[-\w.:]+$/i,n7=/-[a-z]/g,n8=/[A-Z]/g;function te(e){return"-"+e.toLowerCase()}function tn(e){return e.charAt(1).toUpperCase()}let tt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tr=t(57848);let tl={}.hasOwnProperty,ti=new Set(["table","thead","tbody","tfoot","tr"]);function to(e,n){let t=-1,r=0;for(;++t for more info)`),delete ts[n]}let r=C().use(e9).use(e.remarkPlugins||[]).use(nC,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(n3,e),l=new y;"string"==typeof e.children?l.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let o=r.runSync(r.parse(l),l);if("root"!==o.type)throw TypeError("Expected a `root` node");let u=i.createElement(i.Fragment,{},function e(n,t){let r;let l=[],o=-1;for(;++o4&&"data"===t.slice(0,4)&&n9.test(n)){if("-"===n.charAt(4)){let i=n.slice(5).replace(n7,tn);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{let o=n.slice(4);if(!n7.test(o)){let u=o.replace(n8,te);"-"!==u.charAt(0)&&(u="-"+u),n="data"+u}}l=nN}return new l(r,n)}(r.schema,n),i=t;null!=i&&i==i&&(Array.isArray(i)&&(i=l.commaSeparated?function(e,n){let t={},r=""===e[e.length-1]?[...e,""]:e;return r.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===l.property&&"string"==typeof i&&(i=function(e){let n={};try{tr(e,function(e,t){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,tu)]=t})}catch{}return n}(i)),l.space&&l.property?e[tl.call(tt,l.property)?tt[l.property]:l.property]=i:l.attribute&&(e[l.attribute]=i))}(c,o,t.properties[o],n);("ol"===s||"ul"===s)&&n.listDepth++;let p=e(n,t);("ol"===s||"ul"===s)&&n.listDepth--,n.schema=a;let d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=u.components&&tl.call(u.components,s)?u.components[s]:s,m="string"==typeof h||h===i.Fragment;if(!n5.isValidElementType(h))throw TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(c.key=[s,d.start.line,d.start.column,r].join("-"),"a"===s&&u.linkTarget&&(c.target="function"==typeof u.linkTarget?u.linkTarget(String(c.href||""),t.children,"string"==typeof c.title?c.title:null):u.linkTarget),"a"===s&&u.transformLinkUri&&(c.href=u.transformLinkUri(String(c.href||""),t.children,"string"==typeof c.title?c.title:null)),m||"code"!==s||"element"!==l.type||"pre"===l.tagName||(c.inline=!0),m||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&u.transformImageUri&&(c.src=u.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!m&&"li"===s&&"element"===l.type){let g=function(e){let n=-1;for(;++n0?i.createElement(h,c,p):i.createElement(h,c)}(n,r,o,t)):"text"===r.type?"element"===t.type&&ti.has(t.tagName)&&function(e){var n=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}(r)||l.push(r.value):"raw"!==r.type||n.options.skipHtml||l.push(r.value);return l}({options:e,schema:nZ,listDepth:0},o));return e.className&&(u=i.createElement("div",{className:e.className},u)),u}tc.defaultProps={transformLinkUri:function(e){let n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;let r=n.indexOf(":");if(-1===r)return n;let l=-1;for(;++ll||-1!==(l=n.indexOf("#"))&&r>l?n:"javascript:void(0)"}},tc.propTypes={children:nE.string,className:nE.string,allowElement:nE.func,allowedElements:nE.arrayOf(nE.string),disallowedElements:nE.arrayOf(nE.string),unwrapDisallowed:nE.bool,remarkPlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),rehypePlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),sourcePos:nE.bool,rawSourcePos:nE.bool,skipHtml:nE.bool,includeElementIndex:nE.bool,transformLinkUri:nE.oneOfType([nE.func,nE.bool]),linkTarget:nE.oneOfType([nE.func,nE.string]),transformImageUri:nE.func,components:nE.object}}}]); \ No newline at end of file + */ var t,r=Symbol.for("react.element"),l=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case o:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case l:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=l,n.Profiler=u,n.StrictMode=o,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===l},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===o},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===o||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,l,i,o=null;if(!e||"string"!=typeof e)return o;for(var u=r(e),a="function"==typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1);return l<0?"":e.slice(r,l)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(l=i):(u=-1,l=o));return r===l?l=o:l<0&&(l=e.length),e.slice(r,l)},dirname:function(e){let n;if(d(e),0===e.length)return".";let t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){let n;d(e);let t=e.length,r=-1,l=0,i=-1,o=0;for(;t--;){let u=e.charCodeAt(t);if(47===u){if(n){l=t+1;break}continue}r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===l+1?"":e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",i=0):i=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),o=a,u=0;continue}}else if(l.length>0){l="",i=0,o=a,u=0;continue}}n&&(l=l.length>0?l+"/..":"..",i=2)}else l.length>0?l+="/"+e.slice(o+1,a):l=e.slice(o+1,a),i=a-o-1;o=a,u=0}else 46===t&&u>-1?u++:u=-1}return l}(e,!n);return 0!==t.length||n||(t="."),t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/"),n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let g=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let n,t;n=e?"string"==typeof e||o(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++rn.length;o&&n.push(r);try{i=e.apply(this,n)}catch(u){if(o&&t)throw u;return r(u)}o||(i instanceof Promise?i.then(l,r):i instanceof Error?r(i):l(i))};function r(e,...r){t||(t=!0,n(e,...r))}function l(e){r(null,e)}})(u,l)(...o):r(null,...o)}(null,...n)},use:function(t){if("function"!=typeof t)throw TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}(),r=[],l={},i=-1;return u.data=function(e,t){return"string"==typeof e?2==arguments.length?(P("data",n),l[e]=t,u):E.call(l,e)&&l[e]||null:e?(P("data",n),l=e,u):l},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(n)return u;for(;++i{if(!e&&n&&t){let r=u.stringify(n,t);null==r||("string"==typeof r||o(r)?t.value=r:t.result=r),i(e,t)}else i(e)})}t(null,n)},u.processSync=function(e){let n;u.freeze(),F("processSync",u.Parser),T("processSync",u.Compiler);let t=I(e);return u.process(t,function(e){n=!0,b(e)}),L("processSync","process",n),t},u;function u(){let n=e(),t=-1;for(;++ti?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)(l=Array.from(r)).unshift(n,t),[].splice.apply(e,l);else for(t&&[].splice.apply(e,[n,t]);o0?(M(e,e.length,0,n),e):n}let R={}.hasOwnProperty,B=X(/[A-Za-z]/),_=X(/\d/),N=X(/[\dA-Fa-f]/),H=X(/[\dA-Za-z]/),U=X(/[!-/:-@[-`{-~]/),V=X(/[#-'*+\--9=?A-Z^-~]/);function q(e){return null!==e&&(e<32||127===e)}function $(e){return null!==e&&(e<0||32===e)}function W(e){return null!==e&&e<-2}function Q(e){return -2===e||-1===e||32===e}let Y=X(/\s/),K=X(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function X(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function Z(e,n,t,r){let l=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return Q(r)?(e.enter(t),function r(o){return Q(o)&&i++r))return;let f=l.events.length,p=f;for(;p--;)if("exit"===l.events[p][0]&&"chunkFlow"===l.events[p][1].type){if(a){s=l.events[p][1].end;break}a=!0}for(g(o),c=f;cn;){let r=i[t];l.containerState=r[1],r[0].exit.call(l,e)}i.length=n}function y(){n.write([null]),t=void 0,n=void 0,l.containerState._closeFlow=void 0}}},ee={tokenize:function(e,n,t){return Z(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},en={tokenize:function(e,n,t){return Z(e,function(e){return null===e||W(e)?n(e):t(e)},"linePrefix")},partial:!0};function et(e){let n,t,r,l,i,o,u;let a={},s=-1;for(;++s=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}},partial:!0},ei={tokenize:function(e){let n=this,t=e.attempt(en,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t},e.attempt(this.parser.constructs.flowInitial,r,Z(e,e.attempt(this.parser.constructs.flow,r,e.attempt(er,r)),"linePrefix")));return t;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t}}},eo={resolveAll:ec()},eu=es("string"),ea=es("text");function es(e){return{tokenize:function(n){let t=this,r=this.parser.constructs[e],l=n.attempt(r,i,o);return i;function i(e){return a(e)?l(e):o(e)}function o(e){if(null===e){n.consume(e);return}return n.enter("data"),n.consume(e),u}function u(e){return a(e)?(n.exit("data"),l(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;let n=r[e],l=-1;if(n)for(;++ls?t(l):(e.consume(l),h):41===l?c--?(e.consume(l),h):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):null===l||$(l)?c?t(l):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):q(l)?t(l):(e.consume(l),92===l?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function ek(e,n,t,r,l,i){let o;let u=this,a=0;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!o||94===f&&!a&&"_hiddenFootnoteSupport"in u.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(l),e.consume(f),e.exit(l),e.exit(r),n):W(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||W(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),o=o||!Q(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function ev(e,n,t,r,l,i){let o;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),o=40===n?41:n,u};function u(t){return t===o?(e.enter(l),e.consume(t),e.exit(l),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===o?(e.exit(i),u(o)):null===n?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===o||null===n||W(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===o||92===n?(e.consume(n),s):s(n)}}function eb(e,n){let t;return function r(l){return W(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t=!0,r):Q(l)?Z(e,r,t?"linePrefix":"lineSuffix")(l):n(l)}}function eS(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let ew={tokenize:function(e,n,t){return function(n){return $(n)?eb(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?ev(e,Z(e,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function l(e){return null===e||W(e)?n(e):t(e)}},partial:!0},eC={name:"codeIndented",tokenize:function(e,n,t){let r=this;return function(n){return e.enter("codeIndented"),Z(e,l,"linePrefix",5)(n)};function l(n){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function n(t){return null===t?i(t):W(t)?e.attempt(eE,n,i)(t):(e.enter("codeFlowValue"),function t(r){return null===r||W(r)?(e.exit("codeFlowValue"),n(r)):(e.consume(r),t)}(t))}(n):t(n)}function i(t){return e.exit("codeIndented"),n(t)}}},eE={tokenize:function(e,n,t){let r=this;return l;function l(n){return r.parser.lazy[r.now().line]?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),l):Z(e,i,"linePrefix",5)(n)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):W(e)?l(e):t(e)}},partial:!0},eA={name:"setextUnderline",tokenize:function(e,n,t){let r;let l=this,i=l.events.length;for(;i--;)if("lineEnding"!==l.events[i][1].type&&"linePrefix"!==l.events[i][1].type&&"content"!==l.events[i][1].type){r="paragraph"===l.events[i][1].type;break}return function(n){return!l.parser.lazy[l.now().line]&&(l.interrupt||r)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),Z(e,o,"lineSuffix")(r))}(n)):t(n)};function o(r){return null===r||W(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,l,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),l||"definition"!==e[i][1].type||(l=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",o,n]),e.splice(l+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[l][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},eF=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eT=["pre","script","style","textarea"],eP={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(en,n,t)}},partial:!0},eO={name:"codeFenced",tokenize:function(e,n,t){let r;let l=this,i={tokenize:function(e,n,t){let l=0;return Z(e,function(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function n(o){return o===r?(e.consume(o),l++,n):l1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);eV(f,-u),eV(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=j(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=j(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",l,n]]),a=j(a,ep(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=j(a,[["exit",l,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=j(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,M(e,t-1,c-t+3,a),c=t+a.length-s-2;break}}for(c=-1;++ci&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},M(e,i,l-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},42:ed,45:[eA,ed],60:{name:"htmlFlow",tokenize:function(e,n,t){let r,l,i,o,u;let a=this;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),d):63===o?(e.consume(o),r=3,a.interrupt?n:L):B(o)?(e.consume(o),i=String.fromCharCode(o),l=!0,h):t(o)}function c(l){return 45===l?(e.consume(l),r=2,f):91===l?(e.consume(l),r=5,i="CDATA[",o=0,p):B(l)?(e.consume(l),r=4,a.interrupt?n:L):t(l)}function f(r){return 45===r?(e.consume(r),a.interrupt?n:L):t(r)}function p(r){return r===i.charCodeAt(o++)?(e.consume(r),o===i.length?a.interrupt?n:C:p):t(r)}function d(n){return B(n)?(e.consume(n),i=String.fromCharCode(n),h):t(n)}function h(o){return null===o||47===o||62===o||$(o)?47!==o&&l&&eT.includes(i.toLowerCase())?(r=1,a.interrupt?n(o):C(o)):eF.includes(i.toLowerCase())?(r=6,47===o)?(e.consume(o),m):a.interrupt?n(o):C(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(o):l?g(o):function n(t){return Q(t)?(e.consume(t),n):S(t)}(o)):45===o||H(o)?(e.consume(o),i+=String.fromCharCode(o),h):t(o)}function m(r){return 62===r?(e.consume(r),a.interrupt?n:C):t(r)}function g(n){return 47===n?(e.consume(n),S):58===n||95===n||B(n)?(e.consume(n),y):Q(n)?(e.consume(n),g):S(n)}function y(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),y):x(n)}function x(n){return 61===n?(e.consume(n),k):Q(n)?(e.consume(n),x):g(n)}function k(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),u=n,v):Q(n)?(e.consume(n),k):(u=null,function n(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||$(t)?x(t):(e.consume(t),n)}(n))}function v(n){return null===n||W(n)?t(n):n===u?(e.consume(n),b):(e.consume(n),v)}function b(e){return 47===e||62===e||Q(e)?g(e):t(e)}function S(n){return 62===n?(e.consume(n),w):t(n)}function w(n){return Q(n)?(e.consume(n),w):null===n||W(n)?C(n):t(n)}function C(n){return 45===n&&2===r?(e.consume(n),F):60===n&&1===r?(e.consume(n),T):62===n&&4===r?(e.consume(n),I):63===n&&3===r?(e.consume(n),L):93===n&&5===r?(e.consume(n),O):W(n)&&(6===r||7===r)?e.check(eP,I,E)(n):null===n||W(n)?E(n):(e.consume(n),C)}function E(n){return e.exit("htmlFlowData"),function n(t){return null===t?D(t):W(t)?e.attempt({tokenize:A,partial:!0},n,D)(t):(e.enter("htmlFlowData"),C(t))}(n)}function A(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r};function r(e){return a.parser.lazy[a.now().line]?t(e):n(e)}}function F(n){return 45===n?(e.consume(n),L):C(n)}function T(n){return 47===n?(e.consume(n),i="",P):C(n)}function P(n){return 62===n&&eT.includes(i.toLowerCase())?(e.consume(n),I):B(n)&&i.length<8?(e.consume(n),i+=String.fromCharCode(n),P):C(n)}function O(n){return 93===n?(e.consume(n),L):C(n)}function L(n){return 62===n?(e.consume(n),I):45===n&&2===r?(e.consume(n),L):C(n)}function I(n){return null===n||W(n)?(e.exit("htmlFlowData"),D(n)):(e.consume(n),I)}function D(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},61:eA,95:ed,96:eO,126:eO},eK={38:eD,92:ez},eX={[-5]:eM,[-4]:eM,[-3]:eM,33:eN,38:eD,42:eU,60:[{name:"autolink",tokenize:function(e,n,t){let r=1;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(n){return B(n)?(e.consume(n),i):V(n)?u(n):t(n)}function i(n){return 43===n||45===n||46===n||H(n)?function n(t){return 58===t?(e.consume(t),o):(43===t||45===t||46===t||H(t))&&r++<32?(e.consume(t),n):u(t)}(n):u(n)}function o(n){return 62===n?(e.exit("autolinkProtocol"),s(n)):null===n||32===n||60===n||q(n)?t(n):(e.consume(n),o)}function u(n){return 64===n?(e.consume(n),r=0,a):V(n)?(e.consume(n),u):t(n)}function a(n){return H(n)?function n(l){return 46===l?(e.consume(l),r=0,a):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",s(l)):function l(i){return(45===i||H(i))&&r++<63?(e.consume(i),45===i?l:n):t(i)}(l)}(n):t(n)}function s(t){return e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n}}},{name:"htmlText",tokenize:function(e,n,t){let r,l,i,o;let u=this;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),S):63===n?(e.consume(n),v):B(n)?(e.consume(n),C):t(n)}function s(n){return 45===n?(e.consume(n),c):91===n?(e.consume(n),l="CDATA[",i=0,m):B(n)?(e.consume(n),k):t(n)}function c(n){return 45===n?(e.consume(n),f):t(n)}function f(n){return null===n||62===n?t(n):45===n?(e.consume(n),p):d(n)}function p(e){return null===e||62===e?t(e):d(e)}function d(n){return null===n?t(n):45===n?(e.consume(n),h):W(n)?(o=d,L(n)):(e.consume(n),d)}function h(n){return 45===n?(e.consume(n),D):d(n)}function m(n){return n===l.charCodeAt(i++)?(e.consume(n),i===l.length?g:m):t(n)}function g(n){return null===n?t(n):93===n?(e.consume(n),y):W(n)?(o=g,L(n)):(e.consume(n),g)}function y(n){return 93===n?(e.consume(n),x):g(n)}function x(n){return 62===n?D(n):93===n?(e.consume(n),x):g(n)}function k(n){return null===n||62===n?D(n):W(n)?(o=k,L(n)):(e.consume(n),k)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):W(n)?(o=v,L(n)):(e.consume(n),v)}function b(e){return 62===e?D(e):v(e)}function S(n){return B(n)?(e.consume(n),w):t(n)}function w(n){return 45===n||H(n)?(e.consume(n),w):function n(t){return W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):D(t)}(n)}function C(n){return 45===n||H(n)?(e.consume(n),C):47===n||62===n||$(n)?E(n):t(n)}function E(n){return 47===n?(e.consume(n),D):58===n||95===n||B(n)?(e.consume(n),A):W(n)?(o=E,L(n)):Q(n)?(e.consume(n),E):D(n)}function A(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),A):function n(t){return 61===t?(e.consume(t),F):W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):E(t)}(n)}function F(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),r=n,T):W(n)?(o=F,L(n)):Q(n)?(e.consume(n),F):(e.consume(n),r=void 0,O)}function T(n){return n===r?(e.consume(n),P):null===n?t(n):W(n)?(o=T,L(n)):(e.consume(n),T)}function P(e){return 62===e||47===e||$(e)?E(e):t(e)}function O(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):62===n||$(n)?E(n):(e.consume(n),O)}function L(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,I,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(n){return e.enter("htmlTextData"),o(n)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}}}],91:eq,92:[{name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(n),r};function r(r){return W(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(r)):t(r)}}},ez],93:ej,95:eU,96:{name:"codeText",tokenize:function(e,n,t){let r,l,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),function n(t){return 96===t?(e.consume(t),i++,n):(e.exit("codeTextSequence"),o(t))}(n)};function o(a){return null===a?t(a):96===a?(l=e.enter("codeTextSequence"),r=0,function t(o){return 96===o?(e.consume(o),r++,t):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(o)):(l.type="codeTextData",u(o))}(a)):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(a))}function u(n){return null===n||32===n||96===n||W(n)?(e.exit("codeTextData"),o(n)):(e.consume(n),u)}},resolve:function(e){let n,t,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(n=l;++n13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(65535&t)==65535||(65535&t)==65534||t>1114111?"�":String.fromCharCode(t)}let e2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e4(e,n,t){if(n)return n;let r=t.charCodeAt(0);if(35===r){let l=t.charCodeAt(1),i=120===l||88===l;return e0(t.slice(i?2:1),i?16:10)}return eI(t)||e}let e3={}.hasOwnProperty,e6=function(e,n,t){let l,i,o,a;return"string"!=typeof n&&(t=n,n=void 0),(function(e={}){let n=function e(n,t){let r=-1;for(;++r0){let y=u[u.length-1],x=y[1]||e5;x.call(d,void 0,y[0])}for(t.position={start:i(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:i(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h-1&&(t[0]=t[0].slice(l)),o>0&&t.push(e[i].slice(0,o))),t}(o,e)}function p(){return Object.assign({},r)}function d(e,n){n.restore()}function h(e,n){return function(t,l,i){let o,c,f,d;return Array.isArray(t)?h(t):"tokenize"in t?h([t]):function(e){let n=null!==e&&t[e],r=null!==e&&t.null,l=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(l)(e)};function h(e){return(o=e,c=0,0===e.length)?i:m(e[c])}function m(e){return function(t){return(d=function(){let e=p(),n=s.previous,t=s.currentConstruct,l=s.events.length,i=Array.from(u);return{restore:function(){r=e,s.previous=n,s.currentConstruct=t,s.events.length=l,u=i,g()},from:l}}(),f=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?x(t):e.tokenize.call(n?Object.assign(Object.create(s),n):s,a,y,x)(t)}}function y(n){return e(f,d),l}function x(e){return(d.restore(),++c{let t=this.data("settings");return e6(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:n})},e7=function(e,n,t){var r={type:String(e)};return null==t&&("string"==typeof n||Array.isArray(n))?t=n:Object.assign(r,n),Array.isArray(t)?r.children=t:null!=t&&(r.value=String(t)),r};let e8=function(e){if(null==e)return nn;if("string"==typeof e)return ne(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f-1?t.offset:null}}}let nu={}.hasOwnProperty;function na(e){return String(e||"").toUpperCase()}let ns={}.hasOwnProperty;function nc(e,n){let t=n.data||{};return"value"in n&&!(ns.call(t,"hName")||ns.call(t,"hProperties")||ns.call(t,"hChildren"))?e.augment(n,e7("text",n.value)):e(n,"div",nd(e,n))}function nf(e,n,t){let r;let l=n&&n.type;if(!l)throw Error("Expected node, got `"+n+"`");return("function"==typeof(r=ns.call(e.handlers,l)?e.handlers[l]:e.passThrough&&e.passThrough.includes(l)?np:e.unknownHandler)?r:nc)(e,n,t)}function np(e,n){return"children"in n?{...n,children:nd(e,n)}:n}function nd(e,n){let t=[];if("children"in n){let r=n.children,l=-1;for(;++l55295&&i<57344){let u=e.charCodeAt(t+1);i<56320&&u>56319&&u<57344?(o=String.fromCharCode(i,u),l=1):o="�"}else o=String.fromCharCode(i);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+l+1,o=""),l&&(t+=l,l=0)}return n.join("")+e.slice(r)}function nm(e,n){let t=[],r=-1;for(n&&t.push(e7("text","\n"));++r0&&t.push(e7("text","\n")),t}function ng(e,n){let t;let r=String(n.identifier),l=nh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,t=e.footnoteOrder.length):(e.footnoteCounts[r]++,t=i+1);let o=e.footnoteCounts[r];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+l,id:e.clobberPrefix+"fnref-"+l+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[e7("text",String(t))])])}function ny(e,n){let t=n.referenceType,r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return e7("text","!["+n.alt+r);let l=nd(e,n),i=l[0];i&&"text"===i.type?i.value="["+i.value:l.unshift(e7("text","["));let o=l[l.length-1];return o&&"text"===o.type?o.value+=r:l.push(e7("text",r)),l}function nx(e){let n=e.spread;return null==n?e.children.length>1:n}function nk(e,n,t){let r=0,l=e.length;if(n){let i=e.codePointAt(r);for(;9===i||32===i;)r++,i=e.codePointAt(r)}if(t){let o=e.codePointAt(l-1);for(;9===o||32===o;)l--,o=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let nv={blockquote:function(e,n){return e(n,"blockquote",nm(nd(e,n),!0))},break:function(e,n){return[e(n,"br"),e7("text","\n")]},code:function(e,n){let t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),l={};r&&(l.className=["language-"+r]);let i=e(n,"code",l,[e7("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",nd(e,n))},emphasis:function(e,n){return e(n,"em",nd(e,n))},footnoteReference:ng,footnote:function(e,n){let t=e.footnoteById,r=1;for(;(r in t);)r++;let l=String(r);return t[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:n.children}],position:n.position},ng(e,{type:"footnoteReference",identifier:l,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,nd(e,n))},html:function(e,n){return e.dangerous?e.augment(n,e7("raw",n.value)):null},imageReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={src:nh(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){let t={src:nh(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[e7("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={href:nh(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,nd(e,n))},link:function(e,n){let t={href:nh(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,nd(e,n))},listItem:function(e,n,t){let r=nd(e,n),l=t?function(e){let n=e.spread,t=e.children,r=-1;for(;!n&&++r0&&u.children.unshift(e7("text"," ")),u.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let a=-1;for(;++a0,!0),r[0]),l=r.index+r[0].length,r=t.exec(n);return i.push(nk(n.slice(l),l>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:nb,yaml:nb,definition:nb,footnoteDefinition:nb};function nb(){return null}let nS={}.hasOwnProperty;function nw(e,n){let t=function(e,n){let t=n||{},r=t.allowDangerousHtml||!1,l={};return o.dangerous=r,o.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,o.footnoteLabel=t.footnoteLabel||"Footnotes",o.footnoteLabelTagName=t.footnoteLabelTagName||"h2",o.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=t.footnoteBackLabel||"Back to content",o.definition=function(e){let n=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return nr(e,"definition",e=>{let t=na(e.identifier);t&&!nu.call(n,t)&&(n[t]=e)}),function(e){let t=na(e);return t&&nu.call(n,t)?n[t]:null}}(e),o.footnoteById=l,o.footnoteOrder=[],o.footnoteCounts={},o.augment=i,o.handlers={...nv,...t.handlers},o.unknownHandler=t.unknownHandler,o.passThrough=t.passThrough,nr(e,"footnoteDefinition",e=>{let n=String(e.identifier).toUpperCase();nS.call(l,n)||(l[n]=e)}),o;function i(e,n){if(e&&"data"in e&&e.data){let t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){let r="type"in e?e:{position:e};!r||!r.position||!r.position.start||!r.position.start.line||!r.position.start.column||!r.position.end||!r.position.end.line||!r.position.end.column||(n.position={start:nl(r),end:ni(r)})}return n}function o(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=nf(t,e,null),l=function(e){let n=-1,t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};u>1&&s.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(s)}let c=l[l.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let f=c.children[c.children.length-1];f&&"text"===f.type?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...a)}else l.push(...a);let p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:nm(l,!0)};r.position&&(p.position=r.position),t.push(p)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[e7("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:nm(t,!0)},{type:"text",value:"\n"}]}}(t);return l&&r.children.push(e7("text","\n"),l),Array.isArray(r)?{type:"root",children:r}:r}var nC=function(e,n){var t;return e&&"run"in e?(t,r,l)=>{e.run(nw(t,n),r,e=>{l(e)})}:(t=e||n,e=>nw(e,t))},nE=t(45697);class nA{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function nF(e,n){let t={},r={},l=-1;for(;++l"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),nq=nU({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n$(e,n){return n in e?e[n]:n}function nW(e,n){return n$(e,n.toLowerCase())}let nQ=nU({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nW,properties:{xmlns:null,xmlnsXLink:null}}),nY=nU({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:nI,ariaAutoComplete:null,ariaBusy:nI,ariaChecked:nI,ariaColCount:nz,ariaColIndex:nz,ariaColSpan:nz,ariaControls:nM,ariaCurrent:null,ariaDescribedBy:nM,ariaDetails:null,ariaDisabled:nI,ariaDropEffect:nM,ariaErrorMessage:null,ariaExpanded:nI,ariaFlowTo:nM,ariaGrabbed:nI,ariaHasPopup:null,ariaHidden:nI,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nM,ariaLevel:nz,ariaLive:null,ariaModal:nI,ariaMultiLine:nI,ariaMultiSelectable:nI,ariaOrientation:null,ariaOwns:nM,ariaPlaceholder:null,ariaPosInSet:nz,ariaPressed:nI,ariaReadOnly:nI,ariaRelevant:null,ariaRequired:nI,ariaRoleDescription:nM,ariaRowCount:nz,ariaRowIndex:nz,ariaRowSpan:nz,ariaSelected:nI,ariaSetSize:nz,ariaSort:null,ariaValueMax:nz,ariaValueMin:nz,ariaValueNow:nz,ariaValueText:null,role:null}}),nK=nU({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nW,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nj,acceptCharset:nM,accessKey:nM,action:null,allow:null,allowFullScreen:nL,allowPaymentRequest:nL,allowUserMedia:nL,alt:null,as:null,async:nL,autoCapitalize:null,autoComplete:nM,autoFocus:nL,autoPlay:nL,capture:nL,charSet:null,checked:nL,cite:null,className:nM,cols:nz,colSpan:null,content:null,contentEditable:nI,controls:nL,controlsList:nM,coords:nz|nj,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nL,defer:nL,dir:null,dirName:null,disabled:nL,download:nD,draggable:nI,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nL,formTarget:null,headers:nM,height:nz,hidden:nL,high:nz,href:null,hrefLang:null,htmlFor:nM,httpEquiv:nM,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:nL,itemId:null,itemProp:nM,itemRef:nM,itemScope:nL,itemType:nM,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nL,low:nz,manifest:null,max:null,maxLength:nz,media:null,method:null,min:null,minLength:nz,multiple:nL,muted:nL,name:null,nonce:null,noModule:nL,noValidate:nL,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:nL,optimum:nz,pattern:null,ping:nM,placeholder:null,playsInline:nL,poster:null,preload:null,readOnly:nL,referrerPolicy:null,rel:nM,required:nL,reversed:nL,rows:nz,rowSpan:nz,sandbox:nM,scope:null,scoped:nL,seamless:nL,selected:nL,shape:null,size:nz,sizes:null,slot:null,span:nz,spellCheck:nI,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nz,step:null,style:null,tabIndex:nz,target:null,title:null,translate:null,type:null,typeMustMatch:nL,useMap:null,value:nI,width:nz,wrap:null,align:null,aLink:null,archive:nM,axis:null,background:null,bgColor:null,border:nz,borderColor:null,bottomMargin:nz,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nL,declare:nL,event:null,face:null,frame:null,frameBorder:null,hSpace:nz,leftMargin:nz,link:null,longDesc:null,lowSrc:null,marginHeight:nz,marginWidth:nz,noResize:nL,noHref:nL,noShade:nL,noWrap:nL,object:null,profile:null,prompt:null,rev:null,rightMargin:nz,rules:null,scheme:null,scrolling:nI,standby:null,summary:null,text:null,topMargin:nz,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nz,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nL,disableRemotePlayback:nL,prefix:null,property:null,results:nz,security:null,unselectable:null}}),nX=nU({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:n$,properties:{about:nR,accentHeight:nz,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nz,amplitude:nz,arabicForm:null,ascent:nz,attributeName:null,attributeType:null,azimuth:nz,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nz,by:null,calcMode:null,capHeight:nz,className:nM,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nz,diffuseConstant:nz,direction:null,display:null,dur:null,divisor:nz,dominantBaseline:null,download:nL,dx:null,dy:null,edgeMode:null,editable:null,elevation:nz,enableBackground:null,end:null,event:null,exponent:nz,externalResourcesRequired:null,fill:null,fillOpacity:nz,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nj,g2:nj,glyphName:nj,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nz,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nz,horizOriginX:nz,horizOriginY:nz,id:null,ideographic:nz,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nz,k:nz,k1:nz,k2:nz,k3:nz,k4:nz,kernelMatrix:nR,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nz,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nz,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nz,overlineThickness:nz,paintOrder:null,panose1:null,path:null,pathLength:nz,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nM,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nz,pointsAtY:nz,pointsAtZ:nz,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nR,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nR,rev:nR,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nR,requiredFeatures:nR,requiredFonts:nR,requiredFormats:nR,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nz,specularExponent:nz,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nz,strikethroughThickness:nz,string:null,stroke:null,strokeDashArray:nR,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nz,strokeOpacity:nz,strokeWidth:null,style:null,surfaceScale:nz,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nR,tabIndex:nz,tableValues:null,target:null,targetX:nz,targetY:nz,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nR,to:null,transform:null,u1:null,u2:null,underlinePosition:nz,underlineThickness:nz,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nz,values:null,vAlphabetic:nz,vMathematical:nz,vectorEffect:null,vHanging:nz,vIdeographic:nz,version:null,vertAdvY:nz,vertOriginX:nz,vertOriginY:nz,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nz,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nZ=nF([nq,nV,nQ,nY,nK],"html"),nJ=nF([nq,nV,nQ,nY,nX],"svg"),nG=function(e){if(null==e)return n0;if("string"==typeof e)return n1(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f{n4(n,"element",(n,t,r)=>{let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&"number"==typeof t&&(l=!e.allowElement(n,t,r)),l&&"number"==typeof t)return e.unwrapDisallowed&&n.children?r.children.splice(t,1,...n.children):r.children.splice(t,1),t})}}let n6=["http","https","mailto","tel"];var n5=t(82143);let n9=/^data[-\w.:]+$/i,n7=/-[a-z]/g,n8=/[A-Z]/g;function te(e){return"-"+e.toLowerCase()}function tn(e){return e.charAt(1).toUpperCase()}let tt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tr=t(57848);let tl={}.hasOwnProperty,ti=new Set(["table","thead","tbody","tfoot","tr"]);function to(e,n){let t=-1,r=0;for(;++t for more info)`),delete ts[n]}let r=C().use(e9).use(e.remarkPlugins||[]).use(nC,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(n3,e),l=new y;"string"==typeof e.children?l.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let o=r.runSync(r.parse(l),l);if("root"!==o.type)throw TypeError("Expected a `root` node");let u=i.createElement(i.Fragment,{},function e(n,t){let r;let l=[],o=-1;for(;++o4&&"data"===t.slice(0,4)&&n9.test(n)){if("-"===n.charAt(4)){let i=n.slice(5).replace(n7,tn);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{let o=n.slice(4);if(!n7.test(o)){let u=o.replace(n8,te);"-"!==u.charAt(0)&&(u="-"+u),n="data"+u}}l=nN}return new l(r,n)}(r.schema,n),i=t;null!=i&&i==i&&(Array.isArray(i)&&(i=l.commaSeparated?function(e,n){let t={},r=""===e[e.length-1]?[...e,""]:e;return r.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===l.property&&"string"==typeof i&&(i=function(e){let n={};try{tr(e,function(e,t){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,tu)]=t})}catch{}return n}(i)),l.space&&l.property?e[tl.call(tt,l.property)?tt[l.property]:l.property]=i:l.attribute&&(e[l.attribute]=i))}(c,o,t.properties[o],n);("ol"===s||"ul"===s)&&n.listDepth++;let p=e(n,t);("ol"===s||"ul"===s)&&n.listDepth--,n.schema=a;let d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=u.components&&tl.call(u.components,s)?u.components[s]:s,m="string"==typeof h||h===i.Fragment;if(!n5.isValidElementType(h))throw TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(c.key=[s,d.start.line,d.start.column,r].join("-"),"a"===s&&u.linkTarget&&(c.target="function"==typeof u.linkTarget?u.linkTarget(String(c.href||""),t.children,"string"==typeof c.title?c.title:null):u.linkTarget),"a"===s&&u.transformLinkUri&&(c.href=u.transformLinkUri(String(c.href||""),t.children,"string"==typeof c.title?c.title:null)),m||"code"!==s||"element"!==l.type||"pre"===l.tagName||(c.inline=!0),m||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&u.transformImageUri&&(c.src=u.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!m&&"li"===s&&"element"===l.type){let g=function(e){let n=-1;for(;++n0?i.createElement(h,c,p):i.createElement(h,c)}(n,r,o,t)):"text"===r.type?"element"===t.type&&ti.has(t.tagName)&&function(e){var n=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}(r)||l.push(r.value):"raw"!==r.type||n.options.skipHtml||l.push(r.value);return l}({options:e,schema:nZ,listDepth:0},o));return e.className&&(u=i.createElement("div",{className:e.className},u)),u}tc.defaultProps={transformLinkUri:function(e){let n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;let r=n.indexOf(":");if(-1===r)return n;let l=-1;for(;++ll||-1!==(l=n.indexOf("#"))&&r>l?n:"javascript:void(0)"}},tc.propTypes={children:nE.string,className:nE.string,allowElement:nE.func,allowedElements:nE.arrayOf(nE.string),disallowedElements:nE.arrayOf(nE.string),unwrapDisallowed:nE.bool,remarkPlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),rehypePlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),sourcePos:nE.bool,rawSourcePos:nE.bool,skipHtml:nE.bool,includeElementIndex:nE.bool,transformLinkUri:nE.oneOfType([nE.func,nE.bool]),linkTarget:nE.oneOfType([nE.func,nE.string]),transformImageUri:nE.func,components:nE.object}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2206-53aea32a26a350a8.js b/static/web/_next/static/chunks/2206-53aea32a26a350a8.js new file mode 100644 index 000000000..05312a84c --- /dev/null +++ b/static/web/_next/static/chunks/2206-53aea32a26a350a8.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2206],{10010:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},i=t(42135),l=function(e,n){return o.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};l.displayName="CaretUpOutlined";var c=o.forwardRef(l)},32808:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(4942),o=t(87462),a=t(94184),i=t.n(a),l=t(50132),c=t(67294),s=t(53124),u=t(65223),d=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},h=c.createContext(null),y=c.forwardRef(function(e,n){var t=e.defaultValue,a=e.children,l=e.options,u=void 0===l?[]:l,y=e.prefixCls,m=e.className,g=e.style,x=e.onChange,E=v(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),b=c.useContext(s.E_),k=b.getPrefixCls,Z=b.direction,w=c.useState(E.value||t||[]),N=(0,f.Z)(w,2),S=N[0],K=N[1],O=c.useState([]),P=(0,f.Z)(O,2),D=P[0],_=P[1];c.useEffect(function(){"value"in E&&K(E.value||[])},[E.value]);var R=function(){return u.map(function(e){return"string"==typeof e||"number"==typeof e?{label:e,value:e}:e})},M=k("checkbox",y),L="".concat(M,"-group"),T=(0,p.Z)(E,["value","disabled"]);u&&u.length>0&&(a=R().map(function(e){return c.createElement(C,{prefixCls:M,key:e.value.toString(),disabled:"disabled"in e?e.disabled:E.disabled,value:e.value,checked:S.includes(e.value),onChange:e.onChange,className:"".concat(L,"-item"),style:e.style},e.label)}));var I={toggleOption:function(e){var n=S.indexOf(e.value),t=(0,d.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in E||K(t);var r=R();null==x||x(t.filter(function(e){return D.includes(e)}).sort(function(e,n){return r.findIndex(function(n){return n.value===e})-r.findIndex(function(e){return e.value===n})}))},value:S,disabled:E.disabled,name:E.name,registerValue:function(e){_(function(n){return[].concat((0,d.Z)(n),[e])})},cancelValue:function(e){_(function(n){return n.filter(function(n){return n!==e})})}},j=i()(L,(0,r.Z)({},"".concat(L,"-rtl"),"rtl"===Z),m);return c.createElement("div",(0,o.Z)({className:j,style:g},T,{ref:n}),c.createElement(h.Provider,{value:I},a))}),m=c.memo(y),g=t(98866),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},C=c.forwardRef(function(e,n){var t,a,d=e.prefixCls,f=e.className,p=e.children,v=e.indeterminate,y=void 0!==v&&v,m=e.style,C=e.onMouseEnter,E=e.onMouseLeave,b=e.skipGroup,k=void 0!==b&&b,Z=e.disabled,w=x(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),N=c.useContext(s.E_),S=N.getPrefixCls,K=N.direction,O=c.useContext(h),P=(0,c.useContext)(u.aM).isFormItemInput,D=(0,c.useContext)(g.Z),_=null!==(a=(null==O?void 0:O.disabled)||Z)&&void 0!==a?a:D,R=c.useRef(w.value);c.useEffect(function(){null==O||O.registerValue(w.value)},[]),c.useEffect(function(){if(!k)return w.value!==R.current&&(null==O||O.cancelValue(R.current),null==O||O.registerValue(w.value),R.current=w.value),function(){return null==O?void 0:O.cancelValue(w.value)}},[w.value]);var M=S("checkbox",d),L=(0,o.Z)({},w);O&&!k&&(L.onChange=function(){w.onChange&&w.onChange.apply(w,arguments),O.toggleOption&&O.toggleOption({label:p,value:w.value})},L.name=O.name,L.checked=O.value.includes(w.value));var T=i()((t={},(0,r.Z)(t,"".concat(M,"-wrapper"),!0),(0,r.Z)(t,"".concat(M,"-rtl"),"rtl"===K),(0,r.Z)(t,"".concat(M,"-wrapper-checked"),L.checked),(0,r.Z)(t,"".concat(M,"-wrapper-disabled"),_),(0,r.Z)(t,"".concat(M,"-wrapper-in-form-item"),P),t),f),I=i()((0,r.Z)({},"".concat(M,"-indeterminate"),y));return c.createElement("label",{className:T,style:m,onMouseEnter:C,onMouseLeave:E},c.createElement(l.Z,(0,o.Z)({"aria-checked":y?"mixed":void 0},L,{prefixCls:M,className:I,disabled:_,ref:n})),void 0!==p&&c.createElement("span",null,p))}),E=C;E.Group=m,E.__ANT_CHECKBOX=!0;var b=E},52206:function(e,n,t){"use strict";t.d(n,{Z:function(){return t2}});var r,o,a,i=t(71002),l=t(4942),c=t(87462),s=t(97685),u=t(94184),d=t.n(u),f=t(1413),p=t(74902),v=t(67294),h=t(5110),y=t(64217),m=t(79370),g=t(96774),x=t.n(g),C=t(80334),E=t(48555),b=t(74204),k=t(45987),Z=t(42550);function w(e){return null==e?[]:Array.isArray(e)?e:[e]}function N(e,n){if(!n&&"number"!=typeof n)return e;for(var t=w(n),r=e,o=0;o=n);return{onHover:null==e?void 0:e.onHover,hovering:t}}),a=(o=(r=v.useContext(null==D?void 0:D.Context))||{}).listeners,i=o.getValue,l=v.useState(function(){return t(r?i():null)}),d=(u=(0,s.Z)(l,2))[0],f=u[1],(0,O.Z)(function(){if(r)return a.add(e),function(){a.delete(e)};function e(e){f(function(n){var r=t(e);return x()(n,r)?n:r})}},[r]),d),Z=k.onHover,w=k.hovering;return v.createElement(j,(0,c.Z)({},e,{colSpan:null!=m?m:C,rowSpan:b,hovering:w,ref:n,onHover:Z}))});A.displayName="WrappedCell";var z=v.createContext(null);function H(e,n,t,r,o){var a,i,l=t[e]||{},c=t[n]||{};"left"===l.fixed?a=r.left[e]:"right"===c.fixed&&(i=r.right[n]);var s=!1,u=!1,d=!1,f=!1,p=t[n+1],v=t[e-1];return"rtl"===o?void 0!==a?f=!(v&&"left"===v.fixed):void 0!==i&&(d=!(p&&"right"===p.fixed)):void 0!==a?s=!(p&&"left"===p.fixed):void 0!==i&&(u=!(v&&"right"===v.fixed)),{fixLeft:a,fixRight:i,lastFixLeft:s,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}function F(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,i=e.cellComponent,l=e.onHeaderRow,s=e.index,u=v.useContext(z),d=u.prefixCls,f=u.direction;l&&(n=l(t.map(function(e){return e.column}),s));var p=S(t.map(function(e){return e.column}));return v.createElement(a,n,t.map(function(e,n){var t,a=e.column,l=H(e.colStart,e.colEnd,o,r,f);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),v.createElement(A,(0,c.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:i,prefixCls:d,key:p[n]},l,{additionalProps:t,rowType:"header"}))}))}F.displayName="HeaderRow";var B=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=v.useContext(z),i=a.prefixCls,l=a.getComponent,c=v.useMemo(function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map(function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},i=1,l=t.children;return l&&l.length>0&&(i=e(l,a,o+1).reduce(function(e,n){return e+n},0),r.hasSubColumns=!0),"colSpan"in t&&(i=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=i,r.colEnd=r.colStart+i-1,n[o].push(r),a+=i,i})}(e,0);for(var t=n.length,r=function(e){n[e].forEach(function(n){("rowSpan"in n)||n.hasSubColumns||(n.rowSpan=t-e)})},o=0;o1?t-1:0),o=1;o0?[].concat((0,p.Z)(e),(0,p.Z)(eo(o).map(function(e){return(0,f.Z)({fixed:r},e)}))):[].concat((0,p.Z)(e),[(0,f.Z)((0,f.Z)({},n),{},{fixed:r})])},[])}var ea=function(e,n){var t=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,i=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,p=e.rowExpandable,h=e.expandIconColumnIndex,y=e.direction,m=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=v.useMemo(function(){return r||er(o)},[r,o]),E=v.useMemo(function(){if(a){var e,n,r=C.slice();if(!r.includes(ee)){var o=h||0;o>=0&&r.splice(o,0,ee)}var f=r.indexOf(ee);r=r.filter(function(e,n){return e!==ee||n===f});var y=C[f];n=("left"===x||x)&&!h?"left":("right"===x||x)&&h===C.length?"right":y?y.fixed:null;var E=(e={},(0,l.Z)(e,Q,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,l.Z)(e,"title",c),(0,l.Z)(e,"fixed",n),(0,l.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,l.Z)(e,"width",g),(0,l.Z)(e,"render",function(e,n,r){var o=s(n,r),a=d({prefixCls:t,expanded:i.has(o),expandable:!p||p(n),record:n,onExpand:u});return m?v.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return r.map(function(e){return e===ee?E:e})}return C.filter(function(e){return e!==ee})},[a,C,s,i,d,y]),b=v.useMemo(function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e},[n,E,y]),Z=v.useMemo(function(){return"rtl"===y?eo(b).map(function(e){var n=e.fixed,t=(0,k.Z)(e,et),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,f.Z)({fixed:r},t)}):eo(b)},[b,y]);return[b,Z]};function ei(e){var n=(0,v.useRef)(e),t=(0,v.useState)({}),r=(0,s.Z)(t,2)[1],o=(0,v.useRef)(null),a=(0,v.useRef)([]);return(0,v.useEffect)(function(){return function(){o.current=null}},[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then(function(){if(o.current===t){var e=a.current,i=n.current;a.current=[],e.forEach(function(e){n.current=e(n.current)}),o.current=null,i!==n.current&&r({})}})}]}var el=["columnType"],ec=function(e){for(var n=e.colWidths,t=e.columns,r=e.columCount,o=[],a=r||t.length,i=!1,l=a-1;l>=0;l-=1){var s=n[l],u=t&&t[l],d=u&&u[Q];if(s||d||i){var f=d||{},p=(f.columnType,(0,k.Z)(f,el));o.unshift(v.createElement("col",(0,c.Z)({key:l,style:{width:s}},p))),i=!0}}return v.createElement("colgroup",null,o)},es=function(e){var n=e.className,t=e.children;return v.createElement("div",{className:n},t)},eu=v.createContext({}),ed=["children"];function ef(e){return e.children}ef.Row=function(e){var n=e.children,t=(0,k.Z)(e,ed);return v.createElement("tr",t,n)},ef.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,i=e.rowSpan,l=e.align,s=v.useContext(z),u=s.prefixCls,d=s.direction,f=v.useContext(eu),p=f.scrollColumnIndex,h=f.stickyOffsets,y=f.flattenColumns,m=t+a-1+1===p?a+1:a,g=H(t,t+m-1,y,h,d);return v.createElement(A,(0,c.Z)({className:n,index:t,component:"td",prefixCls:u,record:null,dataIndex:null,align:l,colSpan:m,rowSpan:i,render:function(){return r}},g))};var ep=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=v.useContext(z).prefixCls,a=r.length-1,i=r[a],l=v.useMemo(function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null==i?void 0:i.scrollbar)?a:null}},[i,r,a,t]);return v.createElement(eu.Provider,{value:l},v.createElement("tfoot",{className:"".concat(o,"-summary")},n))};function ev(e){var n,t=e.prefixCls,r=e.record,o=e.onExpand,a=e.expanded,i=e.expandable,c="".concat(t,"-row-expand-icon");return i?v.createElement("span",{className:d()(c,(n={},(0,l.Z)(n,"".concat(t,"-row-expanded"),a),(0,l.Z)(n,"".concat(t,"-row-collapsed"),!a),n)),onClick:function(e){o(r,e),e.stopPropagation()}}):v.createElement("span",{className:d()(c,"".concat(t,"-row-spaced"))})}var eh=t(64019),ey=t(27678),em=v.forwardRef(function(e,n){var t,r,o=e.scrollBodyRef,a=e.onScroll,i=e.offsetScroll,c=e.container,u=v.useContext(z).prefixCls,p=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,h=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,y=p&&h*(h/p),m=v.useRef(),g=ei({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,s.Z)(g,2),C=x[0],E=x[1],k=v.useRef({delta:0,x:0}),Z=v.useState(!1),w=(0,s.Z)(Z,2),N=w[0],S=w[1],K=function(){S(!1)},O=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(!N||0===t){N&&S(!1);return}var r=k.current.x+e.pageX-k.current.x-k.current.delta;r<=0&&(r=0),r+y>=h&&(r=h-y),a({scrollLeft:r/h*(p+2)}),k.current.x=e.pageX},P=function(){if(o.current){var e=(0,ey.os)(o.current).top,n=e+o.current.offsetHeight,t=c===window?document.documentElement.scrollTop+window.innerHeight:(0,ey.os)(c).top+c.clientHeight;n-(0,b.Z)()<=t||e>=t-i?E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!0})}):E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!1})})}},D=function(e){E(function(n){return(0,f.Z)((0,f.Z)({},n),{},{scrollLeft:e/p*h||0})})};return(v.useImperativeHandle(n,function(){return{setScrollLeft:D}}),v.useEffect(function(){var e=(0,eh.Z)(document.body,"mouseup",K,!1),n=(0,eh.Z)(document.body,"mousemove",O,!1);return P(),function(){e.remove(),n.remove()}},[y,N]),v.useEffect(function(){var e=(0,eh.Z)(c,"scroll",P,!1),n=(0,eh.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}},[c]),v.useEffect(function(){C.isHiddenScrollBar||E(function(e){var n=o.current;return n?(0,f.Z)((0,f.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e})},[C.isHiddenScrollBar]),p<=h||!y||C.isHiddenScrollBar)?null:v.createElement("div",{style:{height:(0,b.Z)(),width:h,bottom:i},className:"".concat(u,"-sticky-scroll")},v.createElement("div",{onMouseDown:function(e){e.persist(),k.current.delta=e.pageX-C.scrollLeft,k.current.x=0,S(!0),e.preventDefault()},ref:m,className:d()("".concat(u,"-sticky-scroll-bar"),(0,l.Z)({},"".concat(u,"-sticky-scroll-bar-active"),N)),style:{width:"".concat(y,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))}),eg=(0,t(98924).Z)()?window:null,ex=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eC=v.forwardRef(function(e,n){var t=e.className,r=e.noData,o=e.columns,a=e.flattenColumns,i=e.colWidths,c=e.columCount,s=e.stickyOffsets,u=e.direction,h=e.fixHeader,y=e.stickyTopOffset,m=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,b=(0,k.Z)(e,ex),w=v.useContext(z),N=w.prefixCls,S=w.scrollbarSize,K=w.isSticky,O=K&&!h?0:S,P=v.useRef(null),D=v.useCallback(function(e){(0,Z.mH)(n,e),(0,Z.mH)(P,e)},[]);v.useEffect(function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=P.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=P.current)||void 0===e||e.removeEventListener("wheel",n)}},[]);var _=v.useMemo(function(){return a.every(function(e){return e.width>=0})},[a]),R=a[a.length-1],M={fixed:R?R.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},L=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(o),[M]):o},[O,o]),T=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(a),[M]):a},[O,a]),I=(0,v.useMemo)(function(){var e=s.right,n=s.left;return(0,f.Z)((0,f.Z)({},s),{},{left:"rtl"===u?[].concat((0,p.Z)(n.map(function(e){return e+O})),[0]):n,right:"rtl"===u?e:[].concat((0,p.Z)(e.map(function(e){return e+O})),[0]),isSticky:K})},[O,s,K]),j=(0,v.useMemo)(function(){for(var e=[],n=0;n0)):(e0(o>0),e3(on.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},e5=v.forwardRef(function(e,n){var t,r=v.useContext(eQ),o=v.useContext(e1),a=v.useContext(eS.E_),i=a.getPrefixCls,s=a.direction,u=v.useRef(),f=(0,Z.sQ)(n,u),p=(0,v.useContext)(e6.aM).isFormItemInput,h=e.prefixCls,y=e.className,m=e.children,g=e.style,x=e.disabled,C=e8(e,["prefixCls","className","children","style","disabled"]),E=i("radio",h),b="button"===((null==r?void 0:r.optionType)||o)?"".concat(E,"-button"):E,k=(0,c.Z)({},C),w=v.useContext(e3.Z);k.disabled=x||w,r&&(k.name=r.name,k.onChange=function(n){var t,o;null===(t=e.onChange)||void 0===t||t.call(e,n),null===(o=null==r?void 0:r.onChange)||void 0===o||o.call(r,n)},k.checked=e.value===r.value,k.disabled=k.disabled||r.disabled);var N=d()("".concat(b,"-wrapper"),(t={},(0,l.Z)(t,"".concat(b,"-wrapper-checked"),k.checked),(0,l.Z)(t,"".concat(b,"-wrapper-disabled"),k.disabled),(0,l.Z)(t,"".concat(b,"-wrapper-rtl"),"rtl"===s),(0,l.Z)(t,"".concat(b,"-wrapper-in-form-item"),p),t),y);return v.createElement("label",{className:N,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},v.createElement(e4.Z,(0,c.Z)({},k,{type:"radio",prefixCls:b,ref:f})),void 0!==m?v.createElement("span",null,m):null)}),e7=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,i=v.useContext(eO.Z),u=(0,eY.Z)(e.defaultValue,{value:e.value}),f=(0,s.Z)(u,2),p=f[0],h=f[1],y=e.prefixCls,m=e.className,g=e.options,x=e.buttonStyle,C=e.disabled,E=e.children,b=e.size,k=e.style,Z=e.id,w=e.onMouseEnter,N=e.onMouseLeave,S=e.onFocus,K=e.onBlur,O=o("radio",y),P="".concat(O,"-group"),D=E;g&&g.length>0&&(D=g.map(function(e){return"string"==typeof e||"number"==typeof e?v.createElement(e5,{key:e.toString(),prefixCls:O,disabled:C,value:e,checked:p===e},e):v.createElement(e5,{key:"radio-group-value-options-".concat(e.value),prefixCls:O,disabled:e.disabled||C,value:e.value,checked:p===e.value,style:e.style},e.label)}));var _=b||i,R=d()(P,"".concat(P,"-").concat(void 0===x?"outline":x),(t={},(0,l.Z)(t,"".concat(P,"-").concat(_),_),(0,l.Z)(t,"".concat(P,"-rtl"),"rtl"===a),t),void 0===m?"":m);return v.createElement("div",(0,c.Z)({},(0,eJ.Z)(e),{className:R,style:k,onMouseEnter:w,onMouseLeave:N,onFocus:S,onBlur:K,id:Z,ref:n}),v.createElement(e0,{value:{onChange:function(n){var t=n.target.value;"value"in e||h(t);var r=e.onChange;r&&t!==p&&r(n)},value:p,disabled:e.disabled,name:e.name,optionType:e.optionType}},D))}),e9=v.memo(e7),ne=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nn=v.forwardRef(function(e,n){var t=v.useContext(eS.E_).getPrefixCls,r=e.prefixCls,o=ne(e,["prefixCls"]),a=t("radio",r);return v.createElement(e2,{value:"button"},v.createElement(e5,(0,c.Z)({prefixCls:a},o,{type:"radio",ref:n})))}),nt=e5;nt.Button=nn,nt.Group=e9,nt.__ANT_RADIO=!0;var nr=t(15671),no=t(43144),na=t(97326),ni=t(60136),nl=t(33643),nc=t(15105),ns=v.createContext(null),nu=v.memo(function(e){for(var n,t=e.prefixCls,r=e.level,o=e.isStart,a=e.isEnd,i="".concat(t,"-indent-unit"),c=[],s=0;s1&&void 0!==arguments[1]?arguments[1]:null;return t.map(function(s,u){for(var d,v=nS(r?r.pos:"0",u),h=nf(s[a],v),y=0;y1&&void 0!==arguments[1]?arguments[1]:{},v=f.initWrapper,h=f.processEntity,y=f.onProcessFinished,m=f.externalGetKey,g=f.childrenPropName,x=f.fieldNames,C=arguments.length>2?arguments[2]:void 0,E={},b={},k={posEntities:E,keyEntities:b};return v&&(k=v(k)||k),n=function(e){var n=e.node,t=e.index,r=e.pos,o=e.key,a=e.parentPos,i=e.level,l={node:n,nodes:e.nodes,index:t,key:o,pos:r,level:i},c=nf(o,r);E[r]=l,b[c]=l,l.parent=E[a],l.parent&&(l.parent.children=l.parent.children||[],l.parent.children.push(l)),h&&h(l,k)},t={externalGetKey:m||C,childrenPropName:g,fieldNames:x},a=(o=("object"===(0,i.Z)(t)?t:{externalGetKey:t})||{}).childrenPropName,l=o.externalGetKey,s=(c=np(o.fieldNames)).key,u=c.children,d=a||u,l?"string"==typeof l?r=function(e){return e[l]}:"function"==typeof l&&(r=function(e){return l(e)}):r=function(e,n){return nf(e[s],n)},function t(o,a,i,l){var c=o?o[d]:e,s=o?nS(i.pos,a):"0",u=o?[].concat((0,p.Z)(l),[o]):[];if(o){var f=r(o,s);n({node:o,index:a,pos:s,key:f,parentPos:i.node?i.pos:null,level:i.level+1,nodes:u})}c&&c.forEach(function(e,n){t(e,n,{node:o,pos:s,level:i?i.level+1:-1},u)})}(null),y&&y(k),k}function nm(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,i=n.checkedKeys,l=n.halfCheckedKeys,c=n.dragOverNodeKey,s=n.dropPosition,u=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(u?u.pos:""),dragOver:c===e&&0===s,dragOverGapTop:c===e&&-1===s,dragOverGapBottom:c===e&&1===s}}function ng(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,i=e.loading,l=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,u=e.dragOverGapBottom,d=e.pos,p=e.active,v=e.eventKey,h=(0,f.Z)((0,f.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:d,active:p,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var nx=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],nC="open",nE="close",nb=function(e){(0,ni.Z)(t,e);var n=(0,nl.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a=0&&t.splice(r,1),t}function nw(e,n){var t=(e||[]).slice();return -1===t.indexOf(n)&&t.push(n),t}function nN(e){return e.split("-")}function nS(e,n){return"".concat(e,"-").concat(n)}function nK(e,n,t,r,o,a,i,l,c,s){var u,d,f=e.clientX,p=e.clientY,v=e.target.getBoundingClientRect(),h=v.top,y=v.height,m=(("rtl"===s?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,g=l[t.props.eventKey];if(p-1.5?a({dragNode:N,dropNode:S,dropPosition:1})?k=1:K=!1:a({dragNode:N,dropNode:S,dropPosition:0})?k=0:a({dragNode:N,dropNode:S,dropPosition:1})?k=1:K=!1:a({dragNode:N,dropNode:S,dropPosition:1})?k=1:K=!1,{dropPosition:k,dropLevelOffset:Z,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:b,dropContainerKey:0===k?null:(null===(d=g.parent)||void 0===d?void 0:d.key)||null,dropAllowed:K}}function nO(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function nP(e){var n;if(!e)return null;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,i.Z)(e))return(0,C.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function nD(e,n){var t=new Set;return(e||[]).forEach(function(e){!function e(r){if(!t.has(r)){var o=n[r];if(o){t.add(r);var a=o.parent;!o.node.disabled&&a&&e(a.key)}}}(e)}),(0,p.Z)(t)}function n_(e){if(null==e)throw TypeError("Cannot destructure "+e)}nk.displayName="TreeNode",nk.defaultProps={title:"---"},nk.isTreeNode=1;var nR=t(73453),nM=t(62874),nL=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nT=function(e,n){var t=e.className,r=e.style,o=e.motion,a=e.motionNodes,i=e.motionType,l=e.onMotionStart,u=e.onMotionEnd,f=e.active,p=e.treeNodeRequiredProps,h=(0,k.Z)(e,nL),y=v.useState(!0),m=(0,s.Z)(y,2),g=m[0],x=m[1],C=v.useContext(ns).prefixCls,E=v.useRef(!1),b=function(){E.current||u(),E.current=!0};return((0,v.useEffect)(function(){a&&"hide"===i&&g&&x(!1)},[a]),(0,v.useEffect)(function(){return a&&l(),function(){a&&b()}},[]),a)?v.createElement(nM.Z,(0,c.Z)({ref:n,visible:g},o,{motionAppear:"show"===i,onAppearEnd:b,onLeaveEnd:b}),function(e,n){var t=e.className,r=e.style;return v.createElement("div",{ref:n,className:d()("".concat(C,"-treenode-motion"),t),style:r},a.map(function(e){var n=(0,c.Z)({},(n_(e.data),e.data)),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var i=nm(r,p);return v.createElement(nk,(0,c.Z)({},n,i,{title:t,active:f,data:e.data,key:r,isStart:o,isEnd:a}))}))}):v.createElement(nk,(0,c.Z)({domRef:n,className:t,style:r},h,{active:f}))};nT.displayName="MotionTreeNode";var nI=v.forwardRef(nT);function nj(e,n,t){var r=e[e.findIndex(function(e){return e.key===t})+1],o=n.findIndex(function(e){return e.key===t});if(r){var a=n.findIndex(function(e){return e.key===r.key});return n.slice(o+1,a)}return n.slice(o+1)}var nA=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],nz={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nH=function(){},nF="RC_TREE_MOTION_".concat(Math.random()),nB={key:nF},nV={key:nF,level:0,index:0,pos:"0",node:nB,nodes:[nB]},nW={parent:null,children:[],pos:nV.pos,data:nB,title:null,key:nF,isStart:[],isEnd:[]};function nU(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function nG(e){return nf(e.key,e.pos)}var nq=v.forwardRef(function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,i=e.checkedKeys,l=e.loadedKeys,u=e.loadingKeys,d=e.halfCheckedKeys,f=e.keyEntities,p=e.disabled,h=e.dragging,y=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,b=e.focusable,Z=e.activeItem,w=e.focused,N=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,P=e.onActiveChange,D=e.onListChangeStart,_=e.onListChangeEnd,R=(0,k.Z)(e,nA),M=v.useRef(null),L=v.useRef(null);v.useImperativeHandle(n,function(){return{scrollTo:function(e){M.current.scrollTo(e)},getIndentWidth:function(){return L.current.offsetWidth}}});var T=v.useState(o),I=(0,s.Z)(T,2),j=I[0],A=I[1],z=v.useState(r),H=(0,s.Z)(z,2),F=H[0],B=H[1],V=v.useState(r),W=(0,s.Z)(V,2),U=W[0],G=W[1],q=v.useState([]),X=(0,s.Z)(q,2),$=X[0],Y=X[1],J=v.useState(null),Q=(0,s.Z)(J,2),ee=Q[0],en=Q[1],et=v.useRef(r);function er(){var e=et.current;B(e),G(e),Y([]),en(null),_()}et.current=r,v.useEffect(function(){A(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach(function(e){t.set(e,!0)});var r=n.filter(function(e){return!t.has(e)});return 1===r.length?r[0]:null}return t ").concat(n);return n}(Z)),v.createElement("div",null,v.createElement("input",{style:nz,disabled:!1===b||p,tabIndex:!1!==b?N:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:nH,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(t,"-indent")},v.createElement("div",{ref:L,className:"".concat(t,"-indent-unit")}))),v.createElement(nR.Z,(0,c.Z)({},R,{data:g?U:r,itemKey:nG,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:M,onVisibleChange:function(e,n){var t=new Set(e);n.filter(function(e){return!t.has(e)}).some(function(e){return nG(e)===nF})&&er()}}),function(e){var n=e.pos,t=(0,c.Z)({},(n_(e.data),e.data)),r=e.title,o=e.key,a=e.isStart,i=e.isEnd,l=nf(o,n);delete t.key,delete t.children;var s=nm(l,eo);return v.createElement(nI,(0,c.Z)({},t,s,{title:r,active:!!Z&&o===Z.key,pos:n,data:e.data,isStart:a,isEnd:i,motion:g,motionNodes:o===nF?$:null,motionType:ee,onMotionStart:D,onMotionEnd:er,treeNodeRequiredProps:eo,onMouseMove:function(){P(null)}}))}))});function nX(e,n){var t=new Set;return e.forEach(function(e){n.has(e)||t.add(e)}),t}function n$(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!!(t||r)||!1===o}function nY(e,n,t,r){var o,a=[];o=r||n$;var i=new Set(e.filter(function(e){var n=!!t[e];return n||a.push(e),n})),l=new Map,c=0;return Object.keys(t).forEach(function(e){var n=t[e],r=n.level,o=l.get(r);o||(o=new Set,l.set(r,o)),o.add(n),c=Math.max(c,r)}),(0,C.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,i=0;i<=t;i+=1)(n.get(i)||new Set).forEach(function(e){var n=e.key,t=e.node,a=e.children,i=void 0===a?[]:a;o.has(n)&&!r(t)&&i.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var l=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var n=e.parent;if(!(r(e.node)||!e.parent||l.has(e.parent.key))){if(r(e.parent.node)){l.add(n.key);return}var t=!0,i=!1;(n.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var n=e.key,r=o.has(n);t&&!r&&(t=!1),!i&&(r||a.has(n))&&(i=!0)}),t&&o.add(n.key),i&&a.add(n.key),l.add(n.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(nX(a,o))}}(i,l,c,o):function(e,n,t,r,o){for(var a=new Set(e),i=new Set(n),l=0;l<=r;l+=1)(t.get(l)||new Set).forEach(function(e){var n=e.key,t=e.node,r=e.children,l=void 0===r?[]:r;a.has(n)||i.has(n)||o(t)||l.filter(function(e){return!o(e.node)}).forEach(function(e){a.delete(e.key)})});i=new Set;for(var c=new Set,s=r;s>=0;s-=1)(t.get(s)||new Set).forEach(function(e){var n=e.parent;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(n.key);return}var t=!0,r=!1;(n.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var n=e.key,o=a.has(n);t&&!o&&(t=!1),!r&&(o||i.has(n))&&(r=!0)}),t||a.delete(n.key),r&&i.add(n.key),c.add(n.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(nX(i,a))}}(i,n.halfCheckedKeys,l,c,o)}nq.displayName="NodeList";var nJ=function(e){(0,ni.Z)(t,e);var n=(0,nl.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];n.forEach(function(n){var t=n.key,o=n.children;r.push(t),e(o)})}(i[c].children),r),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(s),window.addEventListener("dragend",e.onWindowDragEnd),null==l||l({event:n,node:ng(t.props)})},e.onNodeDragEnter=function(n,t){var r=e.state,o=r.expandedKeys,a=r.keyEntities,i=r.dragChildrenKeys,l=r.flattenNodes,c=r.indent,s=e.props,u=s.onDragEnter,d=s.onExpand,f=s.allowDrop,v=s.direction,h=t.props,y=h.pos,m=h.eventKey,g=(0,na.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==m&&(e.currentMouseOverDroppableNodeKey=m),!g){e.resetDragState();return}var x=nK(n,g,t,c,e.dragStartMousePosition,f,l,a,o,v),C=x.dropPosition,E=x.dropLevelOffset,b=x.dropTargetKey,k=x.dropContainerKey,Z=x.dropTargetPos,w=x.dropAllowed,N=x.dragOverNodeKey;if(-1!==i.indexOf(b)||!w||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(n){clearTimeout(e.delayedDragEnterLogic[n])}),g.props.eventKey!==t.props.eventKey&&(n.persist(),e.delayedDragEnterLogic[y]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,p.Z)(o),i=a[t.props.eventKey];i&&(i.children||[]).length&&(r=nw(o,t.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==d||d(r,{node:ng(t.props),expanded:!0,nativeEvent:n.nativeEvent})}},800)),g.props.eventKey===b&&0===E)){e.resetDragState();return}e.setState({dragOverNodeKey:N,dropPosition:C,dropLevelOffset:E,dropTargetKey:b,dropContainerKey:k,dropTargetPos:Z,dropAllowed:w}),null==u||u({event:n,node:ng(t.props),expandedKeys:o})},e.onNodeDragOver=function(n,t){var r=e.state,o=r.dragChildrenKeys,a=r.flattenNodes,i=r.keyEntities,l=r.expandedKeys,c=r.indent,s=e.props,u=s.onDragOver,d=s.allowDrop,f=s.direction,p=(0,na.Z)(e).dragNode;if(p){var v=nK(n,p,t,c,e.dragStartMousePosition,d,a,i,l,f),h=v.dropPosition,y=v.dropLevelOffset,m=v.dropTargetKey,g=v.dropContainerKey,x=v.dropAllowed,C=v.dropTargetPos,E=v.dragOverNodeKey;-1===o.indexOf(m)&&x&&(p.props.eventKey===m&&0===y?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&y===e.state.dropLevelOffset&&m===e.state.dropTargetKey&&g===e.state.dropContainerKey&&C===e.state.dropTargetPos&&x===e.state.dropAllowed&&E===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:y,dropTargetKey:m,dropContainerKey:g,dropTargetPos:C,dropAllowed:x,dragOverNodeKey:E}),null==u||u({event:n,node:ng(t.props)}))}},e.onNodeDragLeave=function(n,t){e.currentMouseOverDroppableNodeKey!==t.props.eventKey||n.currentTarget.contains(n.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:n,node:ng(t.props)})},e.onWindowDragEnd=function(n){e.onNodeDragEnd(n,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(n,t){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:n,node:ng(t.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(n,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,l=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos;if(a.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var d=(0,f.Z)((0,f.Z)({},nm(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),p=-1!==i.indexOf(c);(0,C.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var v=nN(s),h={event:n,node:ng(d),dragNode:e.dragNode?ng(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==l,dropPosition:l+Number(v[v.length-1])};o||null==u||u(h),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,t){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,i=t.expanded,l=t.key;if(!t.isLeaf&&!n.shiftKey&&!n.metaKey&&!n.ctrlKey){var c=a.filter(function(e){return e.key===l})[0],s=ng((0,f.Z)((0,f.Z)({},nm(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?nZ(o,l):nw(o,l)),e.onNodeExpand(n,s)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,i=o.fieldNames,l=e.props,c=l.onSelect,s=l.multiple,u=t.selected,d=t[i.key],f=!u,p=(r=f?s?nw(r,d):[d]:nZ(r,d)).map(function(e){var n=a[e];return n?n.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,i=a.keyEntities,l=a.checkedKeys,c=a.halfCheckedKeys,s=e.props,u=s.checkStrictly,d=s.onCheck,f=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(u){var h=r?nw(l,f):nZ(l,f);o={checked:h,halfChecked:nZ(c,f)},v.checkedNodes=h.map(function(e){return i[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var y=nY([].concat((0,p.Z)(l),[f]),!0,i),m=y.checkedKeys,g=y.halfCheckedKeys;if(!r){var x=new Set(m);x.delete(f);var C=nY(Array.from(x),{checked:!1,halfCheckedKeys:g},i);m=C.checkedKeys,g=C.halfCheckedKeys}o=m,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,m.forEach(function(e){var n=i[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}}),e.setUncontrolledState({checkedKeys:m},!1,{halfCheckedKeys:g})}null==d||d(o,v)},e.onNodeLoad=function(n){var t=n.key,r=new Promise(function(r,o){e.setState(function(a){var i=a.loadedKeys,l=a.loadingKeys,c=void 0===l?[]:l,s=e.props,u=s.loadData,d=s.onLoad;return u&&-1===(void 0===i?[]:i).indexOf(t)&&-1===c.indexOf(t)?(u(n).then(function(){var o=nw(e.state.loadedKeys,t);null==d||d(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:nZ(e.loadingKeys,t)}}),r()}).catch(function(n){if(e.setState(function(e){return{loadingKeys:nZ(e.loadingKeys,t)}}),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,C.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:nw(a,t)}),r()}o(n)}),{loadingKeys:nw(c,t)}):null})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null==r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null==r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,i={};Object.keys(n).forEach(function(t){if(t in e.props){a=!1;return}o=!0,i[t]=n[t]}),o&&(!t||a)&&e.setState((0,f.Z)((0,f.Z)({},i),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,no.Z)(t,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,r=t.focused,o=t.flattenNodes,a=t.keyEntities,s=t.draggingNodeKey,u=t.activeKey,f=t.dropLevelOffset,p=t.dropContainerKey,h=t.dropTargetKey,m=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,b=C.className,k=C.style,Z=C.showLine,w=C.focusable,N=C.tabIndex,S=C.selectable,K=C.showIcon,O=C.icon,P=C.switcherIcon,D=C.draggable,_=C.checkable,R=C.checkStrictly,M=C.disabled,L=C.motion,T=C.loadData,I=C.filterTreeNode,j=C.height,A=C.itemHeight,z=C.virtual,H=C.titleRender,F=C.dropIndicatorRender,B=C.onContextMenu,V=C.onScroll,W=C.direction,U=C.rootClassName,G=C.rootStyle,q=(0,y.Z)(this.props,{aria:!0,data:!0});return D&&(n="object"===(0,i.Z)(D)?D:"function"==typeof D?{nodeDraggable:D}:{}),v.createElement(ns.Provider,{value:{prefixCls:E,selectable:S,showIcon:K,icon:O,switcherIcon:P,draggable:n,draggingNodeKey:s,checkable:_,checkStrictly:R,disabled:M,keyEntities:a,dropLevelOffset:f,dropContainerKey:p,dropTargetKey:h,dropPosition:m,dragOverNodeKey:g,indent:x,direction:W,dropIndicatorRender:F,loadData:T,filterTreeNode:I,titleRender:H,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},v.createElement("div",{role:"tree",className:d()(E,b,U,(e={},(0,l.Z)(e,"".concat(E,"-show-line"),Z),(0,l.Z)(e,"".concat(E,"-focused"),r),(0,l.Z)(e,"".concat(E,"-active-focused"),null!==u),e)),style:G},v.createElement(nq,(0,c.Z)({ref:this.listRef,prefixCls:E,style:k,data:o,disabled:M,selectable:S,checkable:!!_,motion:L,dragging:null!==s,height:j,itemHeight:A,virtual:z,focusable:w,focused:r,tabIndex:void 0===N?0:N,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:V},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r,o=n.prevProps,a={prevProps:e};function i(n){return!o&&n in e||o&&o[n]!==e[n]}var c=n.fieldNames;if(i("fieldNames")&&(c=np(e.fieldNames),a.fieldNames=c),i("treeData")?t=e.treeData:i("children")&&((0,C.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=nv(e.children)),t){a.treeData=t;var s=ny(t,{fieldNames:c});a.keyEntities=(0,f.Z)((0,l.Z)({},nF,nV),s.keyEntities)}var u=a.keyEntities||n.keyEntities;if(i("expandedKeys")||o&&i("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?nD(e.expandedKeys,u):e.expandedKeys;else if(!o&&e.defaultExpandAll){var d=(0,f.Z)({},u);delete d[nF],a.expandedKeys=Object.keys(d).map(function(e){return d[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?nD(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=nh(t||n.treeData,a.expandedKeys||n.expandedKeys,c);a.flattenNodes=p}if(e.selectable&&(i("selectedKeys")?a.selectedKeys=nO(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=nO(e.defaultSelectedKeys,e))),e.checkable&&(i("checkedKeys")?r=nP(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=nP(e.defaultCheckedKeys)||{}:t&&(r=nP(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),r)){var v=r,h=v.checkedKeys,y=void 0===h?[]:h,m=v.halfCheckedKeys,g=void 0===m?[]:m;if(!e.checkStrictly){var x=nY(y,!0,u);y=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=y,a.halfCheckedKeys=g}return i("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(v.Component);nJ.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case -1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return v.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},nJ.TreeNode=nk;var nQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},n0=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:nQ}))};n0.displayName="HolderOutlined";var n1=v.forwardRef(n0),n2=t(33603);function n4(e){var n,t=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,a=e.indent,i=e.direction,c=void 0===i?"ltr":i,s="ltr"===c?"left":"right",u=(n={},(0,l.Z)(n,s,-r*a+4),(0,l.Z)(n,"ltr"===c?"right":"left",0),n);switch(t){case -1:u.top=-3;break;case 1:u.bottom=-3;break;default:u.bottom=-3,u[s]=a+4}return v.createElement("div",{style:u,className:"".concat(o,"-drop-indicator")})}var n3={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},n6=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n3}))};n6.displayName="CaretDownFilled";var n8=v.forwardRef(n6),n5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},n7=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n5}))};n7.displayName="FileOutlined";var n9=v.forwardRef(n7),te=t(50888),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},tt=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tn}))};tt.displayName="MinusSquareOutlined";var tr=v.forwardRef(tt),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ta=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:to}))};ta.displayName="PlusSquareOutlined";var ti=v.forwardRef(ta),tl=t(96159),tc=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,s=r.virtual,u=e.prefixCls,f=e.className,p=e.showIcon,h=void 0!==p&&p,y=e.showLine,m=e.switcherIcon,g=e.blockNode,x=void 0!==g&&g,C=e.children,E=e.checkable,b=void 0!==E&&E,k=e.selectable,Z=void 0===k||k,w=e.draggable,N=e.motion,S=void 0===N?(0,c.Z)((0,c.Z)({},n2.ZP),{motionAppear:!1}):N,K=o("tree",u),O=(0,c.Z)((0,c.Z)({},e),{checkable:b,selectable:Z,showIcon:h,motion:S,blockNode:x,showLine:Boolean(y),dropIndicatorRender:n4}),P=v.useMemo(function(){if(!w)return!1;var e={};switch((0,i.Z)(w)){case"function":e.nodeDraggable=w;break;case"object":e=(0,c.Z)({},w)}return!1!==e.icon&&(e.icon=e.icon||v.createElement(n1,null)),e},[w]);return v.createElement(nJ,(0,c.Z)({itemHeight:20,ref:n,virtual:s},O,{prefixCls:K,className:d()((t={},(0,l.Z)(t,"".concat(K,"-icon-hide"),!h),(0,l.Z)(t,"".concat(K,"-block-node"),x),(0,l.Z)(t,"".concat(K,"-unselectable"),!Z),(0,l.Z)(t,"".concat(K,"-rtl"),"rtl"===a),t),f),direction:a,checkable:b?v.createElement("span",{className:"".concat(K,"-checkbox-inner")}):b,selectable:Z,switcherIcon:function(e){return function(e,n,t,r){var o,a=r.isLeaf,l=r.expanded;if(r.loading)return v.createElement(te.Z,{className:"".concat(e,"-switcher-loading-icon")});if(t&&"object"===(0,i.Z)(t)&&(o=t.showLeafIcon),a){if(!t)return null;if("boolean"!=typeof o&&o){var c="function"==typeof o?o(r):o;return(0,tl.l$)(c)?(0,tl.Tm)(c,{className:d()(c.props.className||"","".concat(e,"-switcher-line-custom-icon"))}):c}return o?v.createElement(n9,{className:"".concat(e,"-switcher-line-icon")}):v.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var s="".concat(e,"-switcher-icon"),u="function"==typeof n?n(r):n;return(0,tl.l$)(u)?(0,tl.Tm)(u,{className:d()(u.props.className||"",s)}):u||(t?l?v.createElement(tr,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(ti,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(n8,{className:s}))}(K,m,y,e)},draggable:P}),C)}),ts={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},tu=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:ts}))};tu.displayName="FolderOpenOutlined";var td=v.forwardRef(tu),tf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},tp=function(e,n){return v.createElement(ez.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tf}))};tp.displayName="FolderOutlined";var tv=v.forwardRef(tp);function th(e,n){e.forEach(function(e){var t=e.key,r=e.children;!1!==n(t,e)&&th(r||[],n)})}function ty(e,n){var t=(0,p.Z)(n),r=[];return th(e,function(e,n){var o=t.indexOf(e);return -1!==o&&(r.push(n),t.splice(o,1)),!!t.length}),r}(o=a||(a={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var tm=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function tg(e){var n=e.isLeaf,t=e.expanded;return n?v.createElement(n9,null):t?v.createElement(td,null):v.createElement(tv,null)}function tx(e){var n=e.treeData,t=e.children;return n||nv(t)}var tC=v.forwardRef(function(e,n){var t=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,i=tm(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),u=v.useRef(),f=v.useRef(),h=function(){var e=ny(tx(i)).keyEntities;return t?Object.keys(e):r?nD(i.expandedKeys||o||[],e):i.expandedKeys||o},y=v.useState(i.selectedKeys||i.defaultSelectedKeys||[]),m=(0,s.Z)(y,2),g=m[0],x=m[1],C=v.useState(function(){return h()}),E=(0,s.Z)(C,2),b=E[0],k=E[1];v.useEffect(function(){"selectedKeys"in i&&x(i.selectedKeys)},[i.selectedKeys]),v.useEffect(function(){"expandedKeys"in i&&k(i.expandedKeys)},[i.expandedKeys]);var Z=v.useContext(eS.E_),w=Z.getPrefixCls,N=Z.direction,S=i.prefixCls,K=i.className,O=i.showIcon,P=i.expandAction,D=tm(i,["prefixCls","className","showIcon","expandAction"]),_=w("tree",S),R=d()("".concat(_,"-directory"),(0,l.Z)({},"".concat(_,"-directory-rtl"),"rtl"===N),K);return v.createElement(tc,(0,c.Z)({icon:tg,ref:n,blockNode:!0},D,{showIcon:void 0===O||O,expandAction:void 0===P?"click":P,prefixCls:_,className:R,expandedKeys:b,selectedKeys:g,onSelect:function(e,n){var t,r,o,l,s,d,v,h,y,m=i.multiple,g=n.node,C=n.nativeEvent,E=g.key,k=void 0===E?"":E,Z=tx(i),w=(0,c.Z)((0,c.Z)({},n),{selected:!0}),N=(null==C?void 0:C.ctrlKey)||(null==C?void 0:C.metaKey),S=null==C?void 0:C.shiftKey;m&&N?(y=e,u.current=k,f.current=y,w.selectedNodes=ty(Z,y)):m&&S?(y=Array.from(new Set([].concat((0,p.Z)(f.current||[]),(0,p.Z)((r=(t={treeData:Z,expandedKeys:b,startKey:k,endKey:u.current}).treeData,o=t.expandedKeys,l=t.startKey,s=t.endKey,d=[],v=a.None,l&&l===s?[l]:l&&s?(th(r,function(e){if(v===a.End)return!1;if(e===l||e===s){if(d.push(e),v===a.None)v=a.Start;else if(v===a.Start)return v=a.End,!1}else v===a.Start&&d.push(e);return o.includes(e)}),d):[]))))),w.selectedNodes=ty(Z,y)):(y=[k],u.current=k,f.current=y,w.selectedNodes=ty(Z,y)),null===(h=i.onSelect)||void 0===h||h.call(i,y,w),"selectedKeys"in i||x(y)},onExpand:function(e,n){var t;return"expandedKeys"in i||k(e),null===(t=i.onExpand)||void 0===t?void 0:t.call(i,e,n)}}))}),tE=tc;tE.DirectoryTree=tC,tE.TreeNode=nk;var tb=t(57838),tk=t(68795),tZ=t(69677),tw=function(e){var n=e.value,t=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,a=e.locale;return r?v.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},v.createElement(tZ.Z,{prefix:v.createElement(tk.Z,null),placeholder:a.filterSearchPlaceholder,onChange:t,value:n,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},tN=function(e){e.keyCode===nc.Z.ENTER&&e.stopPropagation()},tS=function(e){return v.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:tN},e.children)};function tK(e,n){return("string"==typeof n||"number"==typeof n)&&(null==n?void 0:n.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tO=function(e){var n,t,r,o,a,i,u=e.tablePrefixCls,f=e.prefixCls,p=e.column,h=e.dropdownPrefixCls,y=e.columnKey,m=e.filterMultiple,g=e.filterMode,x=e.filterSearch,C=void 0!==x&&x,E=e.filterState,b=e.triggerFilter,k=e.locale,Z=e.children,w=e.getPopupContainer,N=p.filterDropdownOpen,S=p.onFilterDropdownOpenChange,K=p.filterDropdownVisible,O=p.onFilterDropdownVisibleChange,P=p.filterResetToDefaultFilteredValue,D=p.defaultFilteredValue,_=v.useState(!1),R=(0,s.Z)(_,2),M=R[0],L=R[1],T=!!(E&&((null===(r=E.filteredKeys)||void 0===r?void 0:r.length)||E.forceFiltered)),I=function(e){L(e),null==S||S(e),null==O||O(e)};o="boolean"==typeof N?N:"boolean"==typeof K?K:M;var j=null==E?void 0:E.filteredKeys,A=(n=v.useRef(j||[]),t=(0,tb.Z)(),[function(){return n.current},function(e){n.current=e,t()}]),z=(0,s.Z)(A,2),H=z[0],F=z[1],B=function(e){F(e.selectedKeys)};v.useEffect(function(){M&&B({selectedKeys:j||[]})},[j]);var V=v.useState([]),W=(0,s.Z)(V,2),U=W[0],G=W[1],q=v.useState(""),X=(0,s.Z)(q,2),$=X[0],Y=X[1],J=function(e){Y(e.target.value)};v.useEffect(function(){M||Y("")},[M]);var Q=function(e){var n=e&&e.length?e:null;if(null===n&&(!E||!E.filteredKeys)||eV()(n,null==E?void 0:E.filteredKeys))return null;b({column:p,key:y,filteredKeys:n})},ee=function(){I(!1),Q(H())},en=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&I(!1),Y(""),P?F((D||[]).map(function(e){return String(e)})):F([])},et=d()((0,l.Z)({},"".concat(h,"-menu-without-submenu"),!(p.filters||[]).some(function(e){return e.children}))),er=function e(n){var t;return(0,c.Z)((0,c.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map(function(n){return e(n)}))||[]})};if("function"==typeof p.filterDropdown)a=p.filterDropdown({prefixCls:"".concat(h,"-custom"),setSelectedKeys:function(e){return B({selectedKeys:e})},selectedKeys:H(),confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e.closeDropdown&&I(!1),Q(H())},clearFilters:en,filters:p.filters,visible:o,close:function(){I(!1)}});else if(p.filterDropdown)a=p.filterDropdown;else{var eo=H()||[];a=v.createElement(v.Fragment,null,0===(p.filters||[]).length?v.createElement(eq.Z,{image:eq.Z.PRESENTED_IMAGE_SIMPLE,description:k.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===(void 0===g?"menu":g)?v.createElement(v.Fragment,null,v.createElement(tw,{filterSearch:C,value:$,onChange:J,tablePrefixCls:u,locale:k}),v.createElement("div",{className:"".concat(u,"-filter-dropdown-tree")},m?v.createElement(eU.Z,{checked:eo.length===tD(p.filters).length,indeterminate:eo.length>0&&eo.lengthn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},tT=t(84506),tI=t(80882),tj={},tA="SELECT_ALL",tz="SELECT_INVERT",tH="SELECT_NONE",tF=[],tB=t(39398),tV=t(10010),tW=t(94199),tU="ascend",tG="descend";function tq(e){return"object"===(0,i.Z)(e.sorter)&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function tX(e){return"function"==typeof e?e:!!e&&"object"===(0,i.Z)(e)&&!!e.compare&&e.compare}function t$(e,n,t){var r=[];function o(e,n){r.push({column:e,key:eT(e,n),multiplePriority:tq(e),sortOrder:e.sortOrder})}return(e||[]).forEach(function(e,a){var i=eI(a,t);e.children?("sortOrder"in e&&o(e,i),r=[].concat((0,p.Z)(r),(0,p.Z)(t$(e.children,n,i)))):e.sorter&&("sortOrder"in e?o(e,i):n&&e.defaultSortOrder&&r.push({column:e,key:eT(e,i),multiplePriority:tq(e),sortOrder:e.defaultSortOrder}))}),r}function tY(e){var n=e.column;return{column:n,order:e.sortOrder,field:n.dataIndex,columnKey:n.key}}function tJ(e){var n=e.filter(function(e){return e.sortOrder}).map(tY);return 0===n.length&&e.length?(0,c.Z)((0,c.Z)({},tY(e[e.length-1])),{column:void 0}):n.length<=1?n[0]||{}:n}function tQ(e,n,t){var r=n.slice().sort(function(e,n){return n.multiplePriority-e.multiplePriority}),o=e.slice(),a=r.filter(function(e){var n=e.column.sorter,t=e.sortOrder;return tX(n)&&t});return a.length?o.sort(function(e,n){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=(0,c.Z)((0,c.Z)({},eu),e);t&&(eu.resetPagination(),r.pagination.current&&(r.pagination.current=1),m&&m.onChange&&m.onChange(1,r.pagination.pageSize)),R&&!1!==R.scrollToFirstRowOnChange&&ei.body.current&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=n.callback,o=n.duration,a=void 0===o?450:o,i=(void 0===t?function(){return window}:t)(),l=function(e,n){if("undefined"==typeof window)return 0;var t,r,o=n?"scrollTop":"scrollLeft",a=0;return eL(e)?a=e[n?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!eL(e)&&"number"!=typeof a&&(a=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r[o]),a}(i,!0),c=Date.now();(0,eM.Z)(function e(){var n,t,o=Date.now()-c,s=(n=o>a?a:o,t=0-l,(n/=a/2)<1?t/2*n*n*n+l:t/2*((n-=2)*n*n+2)+l);eL(i)?i.scrollTo(window.pageXOffset,s):i instanceof Document||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=s:i.scrollTop=s,o0?e5:e4}),na=Math.ceil((e5||e4)/no.pageSize),no.current>na&&(no.current=na||1),ni=function(e,n){nr({current:null!=e?e:1,pageSize:n||no.pageSize})},!1===m?[{},function(){}]:[(0,c.Z)((0,c.Z)({},no),{onChange:function(e,n){var t;m&&(null===(t=m.onChange)||void 0===t||t.call(m,e,n)),ni(e,n),e3(e,n||(null==no?void 0:no.pageSize))}}),ni]),eB=(0,s.Z)(eF,2),eV=eB[0],eW=eB[1];eu.pagination=!1===m?{}:(nl=m,nu={current:(ns=eV).current,pageSize:ns.pageSize},Object.keys(nl&&"object"===(0,i.Z)(nl)?nl:{}).forEach(function(e){var n=ns[e];"function"!=typeof n&&(nu[e]=n)}),nu),eu.resetPagination=eW;var eq=v.useMemo(function(){if(!1===m||!eV.pageSize)return eA;var e=eV.current,n=void 0===e?1:e,t=eV.total,r=eV.pageSize,o=void 0===r?10:r;return eA.lengtho?eA.slice((n-1)*o,n*o):eA:eA.slice((n-1)*o,n*o)},[!!m,eA,eV&&eV.current,eV&&eV.pageSize,eV&&eV.total]),eX=(nd={prefixCls:J,data:eA,pageData:eq,getRowKey:el,getRecordByKey:es,expandType:ea,childrenColumnName:eo,locale:X,getPopupContainer:N},np=(nf=g||{}).preserveSelectedRowKeys,nv=nf.selectedRowKeys,nh=nf.defaultSelectedRowKeys,nm=nf.getCheckboxProps,ng=nf.onChange,nx=nf.onSelect,nC=nf.onSelectAll,nE=nf.onSelectInvert,nb=nf.onSelectNone,nk=nf.onSelectMultiple,nN=nf.columnWidth,nS=nf.type,nK=nf.selections,nO=nf.fixed,nP=nf.renderCell,nD=nf.hideSelectAll,nR=void 0===(n_=nf.checkStrictly)||n_,nM=nd.prefixCls,nL=nd.data,nT=nd.pageData,nI=nd.getRecordByKey,nj=nd.getRowKey,nA=nd.expandType,nz=nd.childrenColumnName,nH=nd.locale,nF=nd.getPopupContainer,nB=(0,eY.Z)(nv||nh||tF,{value:nv}),nW=(nV=(0,s.Z)(nB,2))[0],nU=nV[1],nG=v.useRef(new Map),nq=(0,v.useCallback)(function(e){if(np){var n=new Map;e.forEach(function(e){var t=nI(e);!t&&nG.current.has(e)&&(t=nG.current.get(e)),n.set(e,t)}),nG.current=n}},[nI,np]),v.useEffect(function(){nq(nW)},[nW]),nX=(0,v.useMemo)(function(){return nR?{keyEntities:null}:ny(nL,{externalGetKey:nj,childrenPropName:nz})},[nL,nj,nR,nz]).keyEntities,n$=(0,v.useMemo)(function(){return function e(n,t){var r=[];return(n||[]).forEach(function(n){r.push(n),n&&"object"===(0,i.Z)(n)&&t in n&&(r=[].concat((0,p.Z)(r),(0,p.Z)(e(n[t],t))))}),r}(nT,nz)},[nT,nz]),nJ=(0,v.useMemo)(function(){var e=new Map;return n$.forEach(function(n,t){var r=nj(n,t),o=(nm?nm(n):null)||{};e.set(r,o)}),e},[n$,nj,nm]),nQ=(0,v.useCallback)(function(e){var n;return!!(null===(n=nJ.get(nj(e)))||void 0===n?void 0:n.disabled)},[nJ,nj]),n0=(0,v.useMemo)(function(){if(nR)return[nW||[],[]];var e=nY(nW,!0,nX,nQ);return[e.checkedKeys||[],e.halfCheckedKeys]},[nW,nR,nX,nQ]),n2=(n1=(0,s.Z)(n0,2))[0],n4=n1[1],n3=(0,v.useMemo)(function(){var e="radio"===nS?n2.slice(0,1):n2;return new Set(e)},[n2,nS]),n6=(0,v.useMemo)(function(){return"radio"===nS?new Set:new Set(n4)},[n4,nS]),n8=(0,v.useState)(null),n7=(n5=(0,s.Z)(n8,2))[0],n9=n5[1],v.useEffect(function(){g||nU(tF)},[!!g]),te=(0,v.useCallback)(function(e,n){var t,r;nq(e),np?(t=e,r=e.map(function(e){return nG.current.get(e)})):(t=[],r=[],e.forEach(function(e){var n=nI(e);void 0!==n&&(t.push(e),r.push(n))})),nU(t),null==ng||ng(t,r,{type:n})},[nU,nI,ng,np]),tn=(0,v.useCallback)(function(e,n,t,r){if(nx){var o=t.map(function(e){return nI(e)});nx(nI(e),n,o,r)}te(t,"single")},[nx,nI,te]),tt=(0,v.useMemo)(function(){return!nK||nD?null:(!0===nK?[tA,tz,tH]:nK).map(function(e){return e===tA?{key:"all",text:nH.selectionAll,onSelect:function(){te(nL.map(function(e,n){return nj(e,n)}).filter(function(e){var n=nJ.get(e);return!(null==n?void 0:n.disabled)||n3.has(e)}),"all")}}:e===tz?{key:"invert",text:nH.selectInvert,onSelect:function(){var e=new Set(n3);nT.forEach(function(n,t){var r=nj(n,t),o=nJ.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});var n=Array.from(e);nE&&nE(n),te(n,"invert")}}:e===tH?{key:"none",text:nH.selectNone,onSelect:function(){null==nb||nb(),te(Array.from(n3).filter(function(e){var n=nJ.get(e);return null==n?void 0:n.disabled}),"none")}}:e}).map(function(e){return(0,c.Z)((0,c.Z)({},e),{onSelect:function(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&g&&(en.expandIconColumnIndex-=1),"number"!=typeof en.indentSize&&(en.indentSize="number"==typeof _?_:15);var e0=v.useCallback(function(e){return eH(eJ(eE(ev(e))))},[ev,eE,eJ]);if(!1!==m&&(null==eV?void 0:eV.total)){tl=eV.size?eV.size:"small"===q||"middle"===q?"small":void 0;var e1,e2,e4,e3,e6,e8,e5,e7,e9,ne,nn,nr,no,na,ni,nl,ns,nu,nd,nf,np,nv,nh,nm,ng,nx,nC,nE,nb,nk,nN,nS,nK,nO,nP,nD,n_,nR,nM,nL,nT,nI,nj,nA,nz,nH,nF,nB,nV,nW,nU,nG,nq,nX,n$,nJ,nQ,n0,n1,n2,n4,n3,n6,n8,n5,n7,n9,te,tn,tt,tr,to,ta,ti,tl,tc=function(e){return v.createElement(e_.Z,(0,c.Z)({},eV,{className:d()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),eV.className),size:tl}))},ts="rtl"===G?"left":"right",tu=eV.position;if(null!==tu&&Array.isArray(tu)){var td=tu.find(function(e){return e.includes("top")}),tf=tu.find(function(e){return e.includes("bottom")}),tp=tu.every(function(e){return"none"==="".concat(e)});td||tf||tp||(ti=tc(ts)),td&&(ta=tc(td.toLowerCase().replace("top",""))),tf&&(ti=tc(tf.toLowerCase().replace("bottom","")))}else ti=tc(ts)}"boolean"==typeof S?t={spinning:S}:"object"===(0,i.Z)(S)&&(t=(0,c.Z)({spinning:!0},S));var tv=d()("".concat(J,"-wrapper"),(0,l.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),o);return v.createElement("div",{ref:n,className:tv,style:a},v.createElement(eR.Z,(0,c.Z)({spinning:!1},t),ta,v.createElement(ew,(0,c.Z)({},H,{columns:z,direction:G,expandable:en,prefixCls:J,className:d()((to={},(0,l.Z)(to,"".concat(J,"-middle"),"middle"===q),(0,l.Z)(to,"".concat(J,"-small"),"small"===q),(0,l.Z)(to,"".concat(J,"-bordered"),f),(0,l.Z)(to,"".concat(J,"-empty"),0===$.length),to)),data:eq,rowKey:el,rowClassName:function(e,n,t){var r;return r="function"==typeof E?d()(E(e,n,t)):d()(E),d()((0,l.Z)({},"".concat(J,"-row-selected"),eQ.has(el(e,n))),r)},emptyText:L&&L.emptyText||(U||eK.Z)("Table"),internalHooks:ek,internalRefs:ei,transformColumns:e0})),ti))});t1.SELECTION_COLUMN=tj,t1.EXPAND_COLUMN=ew.EXPAND_COLUMN,t1.SELECTION_ALL=tA,t1.SELECTION_INVERT=tz,t1.SELECTION_NONE=tH,t1.Column=function(e){return null},t1.ColumnGroup=function(e){return null},t1.Summary=ef;var t2=t1},18552:function(e,n,t){var r=t(10852)(t(55639),"DataView");e.exports=r},1989:function(e,n,t){var r=t(51789),o=t(80401),a=t(57667),i=t(21327),l=t(81866);function c(e){var n=-1,t=null==e?0:e.length;for(this.clear();++nu))return!1;var f=c.get(e),p=c.get(n);if(f&&p)return f==n&&p==e;var v=-1,h=!0,y=2&t?new r:void 0;for(c.set(e,n),c.set(n,e);++v-1&&e%1==0&&e-1}},54705:function(e,n,t){var r=t(18470);e.exports=function(e,n){var t=this.__data__,o=r(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this}},24785:function(e,n,t){var r=t(1989),o=t(38407),a=t(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},11285:function(e,n,t){var r=t(45050);e.exports=function(e){var n=r(this,e).delete(e);return this.size-=n?1:0,n}},96e3:function(e,n,t){var r=t(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,n,t){var r=t(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,n,t){var r=t(45050);e.exports=function(e,n){var t=r(this,e),o=t.size;return t.set(e,n),this.size+=t.size==o?0:1,this}},68776:function(e){e.exports=function(e){var n=-1,t=Array(e.size);return e.forEach(function(e,r){t[++n]=[r,e]}),t}},94536:function(e,n,t){var r=t(10852)(Object,"create");e.exports=r},86916:function(e,n,t){var r=t(5569)(Object.keys,Object);e.exports=r},31167:function(e,n,t){e=t.nmd(e);var r=t(31957),o=n&&!n.nodeType&&n,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return i&&i.binding&&i.binding("util")}catch(n){}}();e.exports=l},5569:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var n=-1,t=Array(e.size);return e.forEach(function(e){t[++n]=e}),t}},37465:function(e,n,t){var r=t(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,n,t){var r=t(38407),o=t(57071),a=t(83369);e.exports=function(e,n){var t=this.__data__;if(t instanceof r){var i=t.__data__;if(!o||i.length<199)return i.push([e,n]),this.size=++t.size,this;t=this.__data__=new a(i)}return t.set(e,n),this.size=t.size,this}},80346:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(r){}}return""}},77813:function(e){e.exports=function(e,n){return e===n||e!=e&&n!=n}},35694:function(e,n,t){var r=t(9454),o=t(37005),a=Object.prototype,i=a.hasOwnProperty,l=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=c},1469:function(e){var n=Array.isArray;e.exports=n},98612:function(e,n,t){var r=t(23560),o=t(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,n,t){e=t.nmd(e);var r=t(55639),o=t(95062),a=n&&!n.nodeType&&n,i=a&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=l?l.isBuffer:void 0;e.exports=c||o},18446:function(e,n,t){var r=t(90939);e.exports=function(e,n){return r(e,n)}},23560:function(e,n,t){var r=t(44239),o=t(13218);e.exports=function(e){if(!o(e))return!1;var n=r(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},36719:function(e,n,t){var r=t(38749),o=t(7518),a=t(31167),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},3674:function(e,n,t){var r=t(14636),o=t(280),a=t(98612);e.exports=function(e){return a(e)?r(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},50132:function(e,n,t){"use strict";var r=t(87462),o=t(4942),a=t(45987),i=t(1413),l=t(15671),c=t(43144),s=t(60136),u=t(33643),d=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,s.Z)(t,e);var n=(0,u.Z)(t);function t(e){(0,l.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;!t&&("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,i.Z)((0,i.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var r,o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,i=n.className,l=n.style,c=n.name,s=n.id,u=n.type,f=n.disabled,v=n.readOnly,h=n.tabIndex,y=n.onClick,m=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,b=n.autoFocus,k=n.value,Z=n.required,w=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),N=Object.keys(w).reduce(function(e,n){return("aria-"===n.substr(0,5)||"data-"===n.substr(0,5)||"role"===n)&&(e[n]=w[n]),e},{}),S=this.state.checked,K=p()(t,i,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return d.createElement("span",{className:K,style:l},d.createElement("input",(0,r.Z)({name:c,id:s,type:u,required:Z,readOnly:v,disabled:f,tabIndex:h,className:"".concat(t,"-input"),checked:!!S,onClick:y,onFocus:m,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:b,ref:this.saveInput,value:k},N)),d.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,i.Z)((0,i.Z)({},n),{},{checked:e.checked}):null}}]),t}(d.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2206-8da9006b177e3283.js b/static/web/_next/static/chunks/2206-8da9006b177e3283.js deleted file mode 100644 index 29229c4f6..000000000 --- a/static/web/_next/static/chunks/2206-8da9006b177e3283.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2206],{10010:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},l=t(42135),i=function(e,n){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};i.displayName="CaretUpOutlined";var c=o.forwardRef(i)},32808:function(e,n,t){t.d(n,{Z:function(){return k}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},h=c.createContext(null),m=c.forwardRef(function(e,n){var t=e.defaultValue,a=e.children,i=e.options,s=void 0===i?[]:i,m=e.prefixCls,y=e.className,g=e.style,x=e.onChange,E=v(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),k=c.useContext(d.E_),Z=k.getPrefixCls,N=k.direction,b=c.useState(E.value||t||[]),w=(0,f.Z)(b,2),S=w[0],K=w[1],O=c.useState([]),D=(0,f.Z)(O,2),P=D[0],R=D[1];c.useEffect(function(){"value"in E&&K(E.value||[])},[E.value]);var M=function(){return s.map(function(e){return"string"==typeof e||"number"==typeof e?{label:e,value:e}:e})},L=Z("checkbox",m),T="".concat(L,"-group"),I=(0,p.Z)(E,["value","disabled"]);s&&s.length>0&&(a=M().map(function(e){return c.createElement(C,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:E.disabled,value:e.value,checked:S.includes(e.value),onChange:e.onChange,className:"".concat(T,"-item"),style:e.style},e.label)}));var A={toggleOption:function(e){var n=S.indexOf(e.value),t=(0,u.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in E||K(t);var r=M();null==x||x(t.filter(function(e){return P.includes(e)}).sort(function(e,n){return r.findIndex(function(n){return n.value===e})-r.findIndex(function(e){return e.value===n})}))},value:S,disabled:E.disabled,name:E.name,registerValue:function(e){R(function(n){return[].concat((0,u.Z)(n),[e])})},cancelValue:function(e){R(function(n){return n.filter(function(n){return n!==e})})}},H=l()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===N),y);return c.createElement("div",(0,o.Z)({className:H,style:g},I,{ref:n}),c.createElement(h.Provider,{value:A},a))}),y=c.memo(m),g=t(98866),x=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},C=c.forwardRef(function(e,n){var t,a,u=e.prefixCls,f=e.className,p=e.children,v=e.indeterminate,m=void 0!==v&&v,y=e.style,C=e.onMouseEnter,E=e.onMouseLeave,k=e.skipGroup,Z=void 0!==k&&k,N=e.disabled,b=x(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),w=c.useContext(d.E_),S=w.getPrefixCls,K=w.direction,O=c.useContext(h),D=(0,c.useContext)(s.aM).isFormItemInput,P=(0,c.useContext)(g.Z),R=null!==(a=(null==O?void 0:O.disabled)||N)&&void 0!==a?a:P,M=c.useRef(b.value);c.useEffect(function(){null==O||O.registerValue(b.value)},[]),c.useEffect(function(){if(!Z)return b.value!==M.current&&(null==O||O.cancelValue(M.current),null==O||O.registerValue(b.value),M.current=b.value),function(){return null==O?void 0:O.cancelValue(b.value)}},[b.value]);var L=S("checkbox",u),T=(0,o.Z)({},b);O&&!Z&&(T.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),O.toggleOption&&O.toggleOption({label:p,value:b.value})},T.name=O.name,T.checked=O.value.includes(b.value));var I=l()((t={},(0,r.Z)(t,"".concat(L,"-wrapper"),!0),(0,r.Z)(t,"".concat(L,"-rtl"),"rtl"===K),(0,r.Z)(t,"".concat(L,"-wrapper-checked"),T.checked),(0,r.Z)(t,"".concat(L,"-wrapper-disabled"),R),(0,r.Z)(t,"".concat(L,"-wrapper-in-form-item"),D),t),f),A=l()((0,r.Z)({},"".concat(L,"-indeterminate"),m));return c.createElement("label",{className:I,style:y,onMouseEnter:C,onMouseLeave:E},c.createElement(i.Z,(0,o.Z)({"aria-checked":m?"mixed":void 0},T,{prefixCls:L,className:A,disabled:R,ref:n})),void 0!==p&&c.createElement("span",null,p))}),E=C;E.Group=y,E.__ANT_CHECKBOX=!0;var k=E},52206:function(e,n,t){t.d(n,{Z:function(){return t2}});var r,o,a,l=t(71002),i=t(4942),c=t(87462),d=t(97685),s=t(94184),u=t.n(s),f=t(1413),p=t(74902),v=t(67294),h=t(5110),m=t(64217),y=t(79370),g=t(96774),x=t.n(g),C=t(80334),E=t(48555),k=t(74204),Z=t(45987),N=t(42550);function b(e){return null==e?[]:Array.isArray(e)?e:[e]}function w(e,n){if(!n&&"number"!=typeof n)return e;for(var t=b(n),r=e,o=0;o=n);return{onHover:null==e?void 0:e.onHover,hovering:t}}),a=(o=(r=v.useContext(null==P?void 0:P.Context))||{}).listeners,l=o.getValue,i=v.useState(function(){return t(r?l():null)}),u=(s=(0,d.Z)(i,2))[0],f=s[1],(0,O.Z)(function(){if(r)return a.add(e),function(){a.delete(e)};function e(e){f(function(n){var r=t(e);return x()(n,r)?n:r})}},[r]),u),N=Z.onHover,b=Z.hovering;return v.createElement(H,(0,c.Z)({},e,{colSpan:null!=y?y:C,rowSpan:k,hovering:b,ref:n,onHover:N}))});z.displayName="WrappedCell";var F=v.createContext(null);function _(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];return"rtl"===o?void 0!==a?f=!(v&&"left"===v.fixed):void 0!==l&&(u=!(p&&"right"===p.fixed)):void 0!==a?d=!(p&&"left"===p.fixed):void 0!==l&&(s=!(v&&"right"===v.fixed)),{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function j(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,l=e.cellComponent,i=e.onHeaderRow,d=e.index,s=v.useContext(F),u=s.prefixCls,f=s.direction;i&&(n=i(t.map(function(e){return e.column}),d));var p=S(t.map(function(e){return e.column}));return v.createElement(a,n,t.map(function(e,n){var t,a=e.column,i=_(e.colStart,e.colEnd,o,r,f);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),v.createElement(z,(0,c.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:l,prefixCls:u,key:p[n]},i,{additionalProps:t,rowType:"header"}))}))}j.displayName="HeaderRow";var B=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=v.useContext(F),l=a.prefixCls,i=a.getComponent,c=v.useMemo(function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map(function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce(function(e,n){return e+n},0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l})}(e,0);for(var t=n.length,r=function(e){n[e].forEach(function(n){("rowSpan"in n)||n.hasSubColumns||(n.rowSpan=t-e)})},o=0;o1?t-1:0),o=1;o0?[].concat((0,p.Z)(e),(0,p.Z)(eo(o).map(function(e){return(0,f.Z)({fixed:r},e)}))):[].concat((0,p.Z)(e),[(0,f.Z)((0,f.Z)({},n),{},{fixed:r})])},[])}var ea=function(e,n){var t=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,l=e.expandedKeys,c=e.columnTitle,d=e.getRowKey,s=e.onTriggerExpand,u=e.expandIcon,p=e.rowExpandable,h=e.expandIconColumnIndex,m=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=v.useMemo(function(){return r||er(o)},[r,o]),E=v.useMemo(function(){if(a){var e,n,r=C.slice();if(!r.includes(ee)){var o=h||0;o>=0&&r.splice(o,0,ee)}var f=r.indexOf(ee);r=r.filter(function(e,n){return e!==ee||n===f});var m=C[f];n=("left"===x||x)&&!h?"left":("right"===x||x)&&h===C.length?"right":m?m.fixed:null;var E=(e={},(0,i.Z)(e,Q,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,i.Z)(e,"title",c),(0,i.Z)(e,"fixed",n),(0,i.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,i.Z)(e,"width",g),(0,i.Z)(e,"render",function(e,n,r){var o=d(n,r),a=u({prefixCls:t,expanded:l.has(o),expandable:!p||p(n),record:n,onExpand:s});return y?v.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return r.map(function(e){return e===ee?E:e})}return C.filter(function(e){return e!==ee})},[a,C,d,l,u,m]),k=v.useMemo(function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e},[n,E,m]),N=v.useMemo(function(){return"rtl"===m?eo(k).map(function(e){var n=e.fixed,t=(0,Z.Z)(e,et),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,f.Z)({fixed:r},t)}):eo(k)},[k,m]);return[k,N]};function el(e){var n=(0,v.useRef)(e),t=(0,v.useState)({}),r=(0,d.Z)(t,2)[1],o=(0,v.useRef)(null),a=(0,v.useRef)([]);return(0,v.useEffect)(function(){return function(){o.current=null}},[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then(function(){if(o.current===t){var e=a.current,l=n.current;a.current=[],e.forEach(function(e){n.current=e(n.current)}),o.current=null,l!==n.current&&r({})}})}]}var ei=["columnType"],ec=function(e){for(var n=e.colWidths,t=e.columns,r=e.columCount,o=[],a=r||t.length,l=!1,i=a-1;i>=0;i-=1){var d=n[i],s=t&&t[i],u=s&&s[Q];if(d||u||l){var f=u||{},p=(f.columnType,(0,Z.Z)(f,ei));o.unshift(v.createElement("col",(0,c.Z)({key:i,style:{width:d}},p))),l=!0}}return v.createElement("colgroup",null,o)},ed=function(e){var n=e.className,t=e.children;return v.createElement("div",{className:n},t)},es=v.createContext({}),eu=["children"];function ef(e){return e.children}ef.Row=function(e){var n=e.children,t=(0,Z.Z)(e,eu);return v.createElement("tr",t,n)},ef.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,l=e.rowSpan,i=e.align,d=v.useContext(F),s=d.prefixCls,u=d.direction,f=v.useContext(es),p=f.scrollColumnIndex,h=f.stickyOffsets,m=f.flattenColumns,y=t+a-1+1===p?a+1:a,g=_(t,t+y-1,m,h,u);return v.createElement(z,(0,c.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:i,colSpan:y,rowSpan:l,render:function(){return r}},g))};var ep=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=v.useContext(F).prefixCls,a=r.length-1,l=r[a],i=v.useMemo(function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null==l?void 0:l.scrollbar)?a:null}},[l,r,a,t]);return v.createElement(es.Provider,{value:i},v.createElement("tfoot",{className:"".concat(o,"-summary")},n))};function ev(e){var n,t=e.prefixCls,r=e.record,o=e.onExpand,a=e.expanded,l=e.expandable,c="".concat(t,"-row-expand-icon");return l?v.createElement("span",{className:u()(c,(n={},(0,i.Z)(n,"".concat(t,"-row-expanded"),a),(0,i.Z)(n,"".concat(t,"-row-collapsed"),!a),n)),onClick:function(e){o(r,e),e.stopPropagation()}}):v.createElement("span",{className:u()(c,"".concat(t,"-row-spaced"))})}var eh=t(64019),em=t(27678),ey=v.forwardRef(function(e,n){var t,r,o=e.scrollBodyRef,a=e.onScroll,l=e.offsetScroll,c=e.container,s=v.useContext(F).prefixCls,p=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,h=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,m=p&&h*(h/p),y=v.useRef(),g=el({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,d.Z)(g,2),C=x[0],E=x[1],Z=v.useRef({delta:0,x:0}),N=v.useState(!1),b=(0,d.Z)(N,2),w=b[0],S=b[1],K=function(){S(!1)},O=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(!w||0===t){w&&S(!1);return}var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+m>=h&&(r=h-m),a({scrollLeft:r/h*(p+2)}),Z.current.x=e.pageX},D=function(){if(o.current){var e=(0,em.os)(o.current).top,n=e+o.current.offsetHeight,t=c===window?document.documentElement.scrollTop+window.innerHeight:(0,em.os)(c).top+c.clientHeight;n-(0,k.Z)()<=t||e>=t-l?E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!0})}):E(function(e){return(0,f.Z)((0,f.Z)({},e),{},{isHiddenScrollBar:!1})})}},P=function(e){E(function(n){return(0,f.Z)((0,f.Z)({},n),{},{scrollLeft:e/p*h||0})})};return(v.useImperativeHandle(n,function(){return{setScrollLeft:P}}),v.useEffect(function(){var e=(0,eh.Z)(document.body,"mouseup",K,!1),n=(0,eh.Z)(document.body,"mousemove",O,!1);return D(),function(){e.remove(),n.remove()}},[m,w]),v.useEffect(function(){var e=(0,eh.Z)(c,"scroll",D,!1),n=(0,eh.Z)(window,"resize",D,!1);return function(){e.remove(),n.remove()}},[c]),v.useEffect(function(){C.isHiddenScrollBar||E(function(e){var n=o.current;return n?(0,f.Z)((0,f.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e})},[C.isHiddenScrollBar]),p<=h||!m||C.isHiddenScrollBar)?null:v.createElement("div",{style:{height:(0,k.Z)(),width:h,bottom:l},className:"".concat(s,"-sticky-scroll")},v.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-C.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:u()("".concat(s,"-sticky-scroll-bar"),(0,i.Z)({},"".concat(s,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))}),eg=(0,t(98924).Z)()?window:null,ex=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eC=v.forwardRef(function(e,n){var t=e.className,r=e.noData,o=e.columns,a=e.flattenColumns,l=e.colWidths,c=e.columCount,d=e.stickyOffsets,s=e.direction,h=e.fixHeader,m=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,k=(0,Z.Z)(e,ex),b=v.useContext(F),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!h?0:S,D=v.useRef(null),P=v.useCallback(function(e){(0,N.mH)(n,e),(0,N.mH)(D,e)},[]);v.useEffect(function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}},[]);var R=v.useMemo(function(){return a.every(function(e){return e.width>=0})},[a]),M=a[a.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(o),[L]):o},[O,o]),I=(0,v.useMemo)(function(){return O?[].concat((0,p.Z)(a),[L]):a},[O,a]),A=(0,v.useMemo)(function(){var e=d.right,n=d.left;return(0,f.Z)((0,f.Z)({},d),{},{left:"rtl"===s?[].concat((0,p.Z)(n.map(function(e){return e+O})),[0]):n,right:"rtl"===s?e:[].concat((0,p.Z)(e.map(function(e){return e+O})),[0]),isSticky:K})},[O,d,K]),H=(0,v.useMemo)(function(){for(var e=[],n=0;n0)):(e0(o>0),e4(on.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},e5=v.forwardRef(function(e,n){var t,r=v.useContext(eQ),o=v.useContext(e1),a=v.useContext(eS.E_),l=a.getPrefixCls,d=a.direction,s=v.useRef(),f=(0,N.sQ)(n,s),p=(0,v.useContext)(e8.aM).isFormItemInput,h=e.prefixCls,m=e.className,y=e.children,g=e.style,x=e.disabled,C=e6(e,["prefixCls","className","children","style","disabled"]),E=l("radio",h),k="button"===((null==r?void 0:r.optionType)||o)?"".concat(E,"-button"):E,Z=(0,c.Z)({},C),b=v.useContext(e4.Z);Z.disabled=x||b,r&&(Z.name=r.name,Z.onChange=function(n){var t,o;null===(t=e.onChange)||void 0===t||t.call(e,n),null===(o=null==r?void 0:r.onChange)||void 0===o||o.call(r,n)},Z.checked=e.value===r.value,Z.disabled=Z.disabled||r.disabled);var w=u()("".concat(k,"-wrapper"),(t={},(0,i.Z)(t,"".concat(k,"-wrapper-checked"),Z.checked),(0,i.Z)(t,"".concat(k,"-wrapper-disabled"),Z.disabled),(0,i.Z)(t,"".concat(k,"-wrapper-rtl"),"rtl"===d),(0,i.Z)(t,"".concat(k,"-wrapper-in-form-item"),p),t),m);return v.createElement("label",{className:w,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},v.createElement(e3.Z,(0,c.Z)({},Z,{type:"radio",prefixCls:k,ref:f})),void 0!==y?v.createElement("span",null,y):null)}),e7=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,l=v.useContext(eO.Z),s=(0,e$.Z)(e.defaultValue,{value:e.value}),f=(0,d.Z)(s,2),p=f[0],h=f[1],m=e.prefixCls,y=e.className,g=e.options,x=e.buttonStyle,C=e.disabled,E=e.children,k=e.size,Z=e.style,N=e.id,b=e.onMouseEnter,w=e.onMouseLeave,S=e.onFocus,K=e.onBlur,O=o("radio",m),D="".concat(O,"-group"),P=E;g&&g.length>0&&(P=g.map(function(e){return"string"==typeof e||"number"==typeof e?v.createElement(e5,{key:e.toString(),prefixCls:O,disabled:C,value:e,checked:p===e},e):v.createElement(e5,{key:"radio-group-value-options-".concat(e.value),prefixCls:O,disabled:e.disabled||C,value:e.value,checked:p===e.value,style:e.style},e.label)}));var R=k||l,M=u()(D,"".concat(D,"-").concat(void 0===x?"outline":x),(t={},(0,i.Z)(t,"".concat(D,"-").concat(R),R),(0,i.Z)(t,"".concat(D,"-rtl"),"rtl"===a),t),void 0===y?"":y);return v.createElement("div",(0,c.Z)({},(0,eJ.Z)(e),{className:M,style:Z,onMouseEnter:b,onMouseLeave:w,onFocus:S,onBlur:K,id:N,ref:n}),v.createElement(e0,{value:{onChange:function(n){var t=n.target.value;"value"in e||h(t);var r=e.onChange;r&&t!==p&&r(n)},value:p,disabled:e.disabled,name:e.name,optionType:e.optionType}},P))}),e9=v.memo(e7),ne=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nn=v.forwardRef(function(e,n){var t=v.useContext(eS.E_).getPrefixCls,r=e.prefixCls,o=ne(e,["prefixCls"]),a=t("radio",r);return v.createElement(e2,{value:"button"},v.createElement(e5,(0,c.Z)({prefixCls:a},o,{type:"radio",ref:n})))}),nt=e5;nt.Button=nn,nt.Group=e9,nt.__ANT_RADIO=!0;var nr=t(15671),no=t(43144),na=t(97326),nl=t(60136),ni=t(33643),nc=t(15105),nd=v.createContext(null),ns=v.memo(function(e){for(var n,t=e.prefixCls,r=e.level,o=e.isStart,a=e.isEnd,l="".concat(t,"-indent-unit"),c=[],d=0;d1&&void 0!==arguments[1]?arguments[1]:null;return t.map(function(d,s){for(var u,v=nS(r?r.pos:"0",s),h=nf(d[a],v),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},v=f.initWrapper,h=f.processEntity,m=f.onProcessFinished,y=f.externalGetKey,g=f.childrenPropName,x=f.fieldNames,C=arguments.length>2?arguments[2]:void 0,E={},k={},Z={posEntities:E,keyEntities:k};return v&&(Z=v(Z)||Z),n=function(e){var n=e.node,t=e.index,r=e.pos,o=e.key,a=e.parentPos,l=e.level,i={node:n,nodes:e.nodes,index:t,key:o,pos:r,level:l},c=nf(o,r);E[r]=i,k[c]=i,i.parent=E[a],i.parent&&(i.parent.children=i.parent.children||[],i.parent.children.push(i)),h&&h(i,Z)},t={externalGetKey:y||C,childrenPropName:g,fieldNames:x},a=(o=("object"===(0,l.Z)(t)?t:{externalGetKey:t})||{}).childrenPropName,i=o.externalGetKey,d=(c=np(o.fieldNames)).key,s=c.children,u=a||s,i?"string"==typeof i?r=function(e){return e[i]}:"function"==typeof i&&(r=function(e){return i(e)}):r=function(e,n){return nf(e[d],n)},function t(o,a,l,i){var c=o?o[u]:e,d=o?nS(l.pos,a):"0",s=o?[].concat((0,p.Z)(i),[o]):[];if(o){var f=r(o,d);n({node:o,index:a,pos:d,key:f,parentPos:l.node?l.pos:null,level:l.level+1,nodes:s})}c&&c.forEach(function(e,n){t(e,n,{node:o,pos:d,level:l?l.level+1:-1},s)})}(null),m&&m(Z),Z}function ny(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function ng(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,d=e.dragOverGapTop,s=e.dragOverGapBottom,u=e.pos,p=e.active,v=e.eventKey,h=(0,f.Z)((0,f.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:d,dragOverGapBottom:s,pos:u,active:p,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var nx=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],nC="open",nE="close",nk=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a=0&&t.splice(r,1),t}function nb(e,n){var t=(e||[]).slice();return -1===t.indexOf(n)&&t.push(n),t}function nw(e){return e.split("-")}function nS(e,n){return"".concat(e,"-").concat(n)}function nK(e,n,t,r,o,a,l,i,c,d){var s,u,f=e.clientX,p=e.clientY,v=e.target.getBoundingClientRect(),h=v.top,m=v.height,y=(("rtl"===d?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,g=i[t.props.eventKey];if(p-1.5?a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:0})?Z=0:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1,{dropPosition:Z,dropLevelOffset:N,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(u=g.parent)||void 0===u?void 0:u.key)||null,dropAllowed:K}}function nO(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function nD(e){var n;if(!e)return null;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,l.Z)(e))return(0,C.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function nP(e,n){var t=new Set;return(e||[]).forEach(function(e){!function e(r){if(!t.has(r)){var o=n[r];if(o){t.add(r);var a=o.parent;!o.node.disabled&&a&&e(a.key)}}}(e)}),(0,p.Z)(t)}function nR(e){if(null==e)throw TypeError("Cannot destructure "+e)}nZ.displayName="TreeNode",nZ.defaultProps={title:"---"},nZ.isTreeNode=1;var nM=t(73453),nL=t(62874),nT=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nI=function(e,n){var t=e.className,r=e.style,o=e.motion,a=e.motionNodes,l=e.motionType,i=e.onMotionStart,s=e.onMotionEnd,f=e.active,p=e.treeNodeRequiredProps,h=(0,Z.Z)(e,nT),m=v.useState(!0),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useContext(nd).prefixCls,E=v.useRef(!1),k=function(){E.current||s(),E.current=!0};return((0,v.useEffect)(function(){a&&"hide"===l&&g&&x(!1)},[a]),(0,v.useEffect)(function(){return a&&i(),function(){a&&k()}},[]),a)?v.createElement(nL.Z,(0,c.Z)({ref:n,visible:g},o,{motionAppear:"show"===l,onAppearEnd:k,onLeaveEnd:k}),function(e,n){var t=e.className,r=e.style;return v.createElement("div",{ref:n,className:u()("".concat(C,"-treenode-motion"),t),style:r},a.map(function(e){var n=(0,c.Z)({},(nR(e.data),e.data)),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var l=ny(r,p);return v.createElement(nZ,(0,c.Z)({},n,l,{title:t,active:f,data:e.data,key:r,isStart:o,isEnd:a}))}))}):v.createElement(nZ,(0,c.Z)({domRef:n,className:t,style:r},h,{active:f}))};nI.displayName="MotionTreeNode";var nA=v.forwardRef(nI);function nH(e,n,t){var r=e[e.findIndex(function(e){return e.key===t})+1],o=n.findIndex(function(e){return e.key===t});if(r){var a=n.findIndex(function(e){return e.key===r.key});return n.slice(o+1,a)}return n.slice(o+1)}var nz=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],nF={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},n_=function(){},nj="RC_TREE_MOTION_".concat(Math.random()),nB={key:nj},nV={key:nj,level:0,index:0,pos:"0",node:nB,nodes:[nB]},nW={parent:null,children:[],pos:nV.pos,data:nB,title:null,key:nj,isStart:[],isEnd:[]};function nU(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function nG(e){return nf(e.key,e.pos)}var nX=v.forwardRef(function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,l=e.checkedKeys,i=e.loadedKeys,s=e.loadingKeys,u=e.halfCheckedKeys,f=e.keyEntities,p=e.disabled,h=e.dragging,m=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,k=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,D=e.onActiveChange,P=e.onListChangeStart,R=e.onListChangeEnd,M=(0,Z.Z)(e,nz),L=v.useRef(null),T=v.useRef(null);v.useImperativeHandle(n,function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}});var I=v.useState(o),A=(0,d.Z)(I,2),H=A[0],z=A[1],F=v.useState(r),_=(0,d.Z)(F,2),j=_[0],B=_[1],V=v.useState(r),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState([]),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=v.useState(null),Q=(0,d.Z)(J,2),ee=Q[0],en=Q[1],et=v.useRef(r);function er(){var e=et.current;B(e),G(e),$([]),en(null),R()}et.current=r,v.useEffect(function(){z(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach(function(e){t.set(e,!0)});var r=n.filter(function(e){return!t.has(e)});return 1===r.length?r[0]:null}return t ").concat(n);return n}(N)),v.createElement("div",null,v.createElement("input",{style:nF,disabled:!1===k||p,tabIndex:!1!==k?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:n_,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(t,"-indent")},v.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),v.createElement(nM.Z,(0,c.Z)({},M,{data:g?U:r,itemKey:nG,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:L,onVisibleChange:function(e,n){var t=new Set(e);n.filter(function(e){return!t.has(e)}).some(function(e){return nG(e)===nj})&&er()}}),function(e){var n=e.pos,t=(0,c.Z)({},(nR(e.data),e.data)),r=e.title,o=e.key,a=e.isStart,l=e.isEnd,i=nf(o,n);delete t.key,delete t.children;var d=ny(i,eo);return v.createElement(nA,(0,c.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:a,isEnd:l,motion:g,motionNodes:o===nj?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:er,treeNodeRequiredProps:eo,onMouseMove:function(){D(null)}}))}))});function nq(e,n){var t=new Set;return e.forEach(function(e){n.has(e)||t.add(e)}),t}function nY(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!!(t||r)||!1===o}function n$(e,n,t,r){var o,a=[];o=r||nY;var l=new Set(e.filter(function(e){var n=!!t[e];return n||a.push(e),n})),i=new Map,c=0;return Object.keys(t).forEach(function(e){var n=t[e],r=n.level,o=i.get(r);o||(o=new Set,i.set(r,o)),o.add(n),c=Math.max(c,r)}),(0,C.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach(function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var n=e.parent;if(!(r(e.node)||!e.parent||i.has(e.parent.key))){if(r(e.parent.node)){i.add(n.key);return}var t=!0,l=!1;(n.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var n=e.key,r=o.has(n);t&&!r&&(t=!1),!l&&(r||a.has(n))&&(l=!0)}),t&&o.add(n.key),l&&a.add(n.key),i.add(n.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(nq(a,o))}}(l,i,c,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach(function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter(function(e){return!o(e.node)}).forEach(function(e){a.delete(e.key)})});l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach(function(e){var n=e.parent;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(n.key);return}var t=!0,r=!1;(n.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var n=e.key,o=a.has(n);t&&!o&&(t=!1),!r&&(o||l.has(n))&&(r=!0)}),t||a.delete(n.key),r&&l.add(n.key),c.add(n.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(nq(l,a))}}(l,n.halfCheckedKeys,i,c,o)}nX.displayName="NodeList";var nJ=function(e){(0,nl.Z)(t,e);var n=(0,ni.Z)(t);function t(){var e;(0,nr.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];n.forEach(function(n){var t=n.key,o=n.children;r.push(t),e(o)})}(l[c].children),r),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(d),window.addEventListener("dragend",e.onWindowDragEnd),null==i||i({event:n,node:ng(t.props)})},e.onNodeDragEnter=function(n,t){var r=e.state,o=r.expandedKeys,a=r.keyEntities,l=r.dragChildrenKeys,i=r.flattenNodes,c=r.indent,d=e.props,s=d.onDragEnter,u=d.onExpand,f=d.allowDrop,v=d.direction,h=t.props,m=h.pos,y=h.eventKey,g=(0,na.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==y&&(e.currentMouseOverDroppableNodeKey=y),!g){e.resetDragState();return}var x=nK(n,g,t,c,e.dragStartMousePosition,f,i,a,o,v),C=x.dropPosition,E=x.dropLevelOffset,k=x.dropTargetKey,Z=x.dropContainerKey,N=x.dropTargetPos,b=x.dropAllowed,w=x.dragOverNodeKey;if(-1!==l.indexOf(k)||!b||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(n){clearTimeout(e.delayedDragEnterLogic[n])}),g.props.eventKey!==t.props.eventKey&&(n.persist(),e.delayedDragEnterLogic[m]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,p.Z)(o),l=a[t.props.eventKey];l&&(l.children||[]).length&&(r=nb(o,t.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==u||u(r,{node:ng(t.props),expanded:!0,nativeEvent:n.nativeEvent})}},800)),g.props.eventKey===k&&0===E)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:C,dropLevelOffset:E,dropTargetKey:k,dropContainerKey:Z,dropTargetPos:N,dropAllowed:b}),null==s||s({event:n,node:ng(t.props),expandedKeys:o})},e.onNodeDragOver=function(n,t){var r=e.state,o=r.dragChildrenKeys,a=r.flattenNodes,l=r.keyEntities,i=r.expandedKeys,c=r.indent,d=e.props,s=d.onDragOver,u=d.allowDrop,f=d.direction,p=(0,na.Z)(e).dragNode;if(p){var v=nK(n,p,t,c,e.dragStartMousePosition,u,a,l,i,f),h=v.dropPosition,m=v.dropLevelOffset,y=v.dropTargetKey,g=v.dropContainerKey,x=v.dropAllowed,C=v.dropTargetPos,E=v.dragOverNodeKey;-1===o.indexOf(y)&&x&&(p.props.eventKey===y&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&m===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&g===e.state.dropContainerKey&&C===e.state.dropTargetPos&&x===e.state.dropAllowed&&E===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:m,dropTargetKey:y,dropContainerKey:g,dropTargetPos:C,dropAllowed:x,dragOverNodeKey:E}),null==s||s({event:n,node:ng(t.props)}))}},e.onNodeDragLeave=function(n,t){e.currentMouseOverDroppableNodeKey!==t.props.eventKey||n.currentTarget.contains(n.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:n,node:ng(t.props)})},e.onWindowDragEnd=function(n){e.onNodeDragEnd(n,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(n,t){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:n,node:ng(t.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(n,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,d=a.dropTargetPos;if(a.dropAllowed){var s=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,f.Z)((0,f.Z)({},ny(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),p=-1!==l.indexOf(c);(0,C.ZP)(!p,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var v=nw(d),h={event:n,node:ng(u),dragNode:e.dragNode?ng(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(v[v.length-1])};o||null==s||s(h),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,t){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,l=t.expanded,i=t.key;if(!t.isLeaf&&!n.shiftKey&&!n.metaKey&&!n.ctrlKey){var c=a.filter(function(e){return e.key===i})[0],d=ng((0,f.Z)((0,f.Z)({},ny(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?nN(o,i):nb(o,i)),e.onNodeExpand(n,d)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?nb(r,u):[u]:nN(r,u)).map(function(e){var n=a[e];return n?n.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,l=a.keyEntities,i=a.checkedKeys,c=a.halfCheckedKeys,d=e.props,s=d.checkStrictly,u=d.onCheck,f=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(s){var h=r?nb(i,f):nN(i,f);o={checked:h,halfChecked:nN(c,f)},v.checkedNodes=h.map(function(e){return l[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var m=n$([].concat((0,p.Z)(i),[f]),!0,l),y=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(f);var C=n$(Array.from(x),{checked:!1,halfCheckedKeys:g},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.forEach(function(e){var n=l[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null==u||u(o,v)},e.onNodeLoad=function(n){var t=n.key,r=new Promise(function(r,o){e.setState(function(a){var l=a.loadedKeys,i=a.loadingKeys,c=void 0===i?[]:i,d=e.props,s=d.loadData,u=d.onLoad;return s&&-1===(void 0===l?[]:l).indexOf(t)&&-1===c.indexOf(t)?(s(n).then(function(){var o=nb(e.state.loadedKeys,t);null==u||u(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),r()}).catch(function(n){if(e.setState(function(e){return{loadingKeys:nN(e.loadingKeys,t)}}),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,C.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:nb(a,t)}),r()}o(n)}),{loadingKeys:nb(c,t)}):null})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null==r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null==r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,l={};Object.keys(n).forEach(function(t){if(t in e.props){a=!1;return}o=!0,l[t]=n[t]}),o&&(!t||a)&&e.setState((0,f.Z)((0,f.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,no.Z)(t,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,r=t.focused,o=t.flattenNodes,a=t.keyEntities,d=t.draggingNodeKey,s=t.activeKey,f=t.dropLevelOffset,p=t.dropContainerKey,h=t.dropTargetKey,y=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,k=C.className,Z=C.style,N=C.showLine,b=C.focusable,w=C.tabIndex,S=C.selectable,K=C.showIcon,O=C.icon,D=C.switcherIcon,P=C.draggable,R=C.checkable,M=C.checkStrictly,L=C.disabled,T=C.motion,I=C.loadData,A=C.filterTreeNode,H=C.height,z=C.itemHeight,F=C.virtual,_=C.titleRender,j=C.dropIndicatorRender,B=C.onContextMenu,V=C.onScroll,W=C.direction,U=C.rootClassName,G=C.rootStyle,X=(0,m.Z)(this.props,{aria:!0,data:!0});return P&&(n="object"===(0,l.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),v.createElement(nd.Provider,{value:{prefixCls:E,selectable:S,showIcon:K,icon:O,switcherIcon:D,draggable:n,draggingNodeKey:d,checkable:R,checkStrictly:M,disabled:L,keyEntities:a,dropLevelOffset:f,dropContainerKey:p,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:W,dropIndicatorRender:j,loadData:I,filterTreeNode:A,titleRender:_,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},v.createElement("div",{role:"tree",className:u()(E,k,U,(e={},(0,i.Z)(e,"".concat(E,"-show-line"),N),(0,i.Z)(e,"".concat(E,"-focused"),r),(0,i.Z)(e,"".concat(E,"-active-focused"),null!==s),e)),style:G},v.createElement(nX,(0,c.Z)({ref:this.listRef,prefixCls:E,style:Z,data:o,disabled:L,selectable:S,checkable:!!R,motion:T,dragging:null!==d,height:H,itemHeight:z,virtual:F,focusable:b,focused:r,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:V},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r,o=n.prevProps,a={prevProps:e};function l(n){return!o&&n in e||o&&o[n]!==e[n]}var c=n.fieldNames;if(l("fieldNames")&&(c=np(e.fieldNames),a.fieldNames=c),l("treeData")?t=e.treeData:l("children")&&((0,C.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=nv(e.children)),t){a.treeData=t;var d=nm(t,{fieldNames:c});a.keyEntities=(0,f.Z)((0,i.Z)({},nj,nV),d.keyEntities)}var s=a.keyEntities||n.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?nP(e.expandedKeys,s):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,f.Z)({},s);delete u[nj],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?nP(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=nh(t||n.treeData,a.expandedKeys||n.expandedKeys,c);a.flattenNodes=p}if(e.selectable&&(l("selectedKeys")?a.selectedKeys=nO(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=nO(e.defaultSelectedKeys,e))),e.checkable&&(l("checkedKeys")?r=nD(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=nD(e.defaultCheckedKeys)||{}:t&&(r=nD(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),r)){var v=r,h=v.checkedKeys,m=void 0===h?[]:h,y=v.halfCheckedKeys,g=void 0===y?[]:y;if(!e.checkStrictly){var x=n$(m,!0,s);m=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=m,a.halfCheckedKeys=g}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(v.Component);nJ.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case -1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return v.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},nJ.TreeNode=nZ;var nQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},n0=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:nQ}))};n0.displayName="HolderOutlined";var n1=v.forwardRef(n0),n2=t(33603);function n3(e){var n,t=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,a=e.indent,l=e.direction,c=void 0===l?"ltr":l,d="ltr"===c?"left":"right",s=(n={},(0,i.Z)(n,d,-r*a+4),(0,i.Z)(n,"ltr"===c?"right":"left",0),n);switch(t){case -1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[d]=a+4}return v.createElement("div",{style:s,className:"".concat(o,"-drop-indicator")})}var n4={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},n8=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n4}))};n8.displayName="CaretDownFilled";var n6=v.forwardRef(n8),n5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},n7=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:n5}))};n7.displayName="FileOutlined";var n9=v.forwardRef(n7),te=t(50888),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},tt=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tn}))};tt.displayName="MinusSquareOutlined";var tr=v.forwardRef(tt),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ta=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:to}))};ta.displayName="PlusSquareOutlined";var tl=v.forwardRef(ta),ti=t(96159),tc=v.forwardRef(function(e,n){var t,r=v.useContext(eS.E_),o=r.getPrefixCls,a=r.direction,d=r.virtual,s=e.prefixCls,f=e.className,p=e.showIcon,h=void 0!==p&&p,m=e.showLine,y=e.switcherIcon,g=e.blockNode,x=void 0!==g&&g,C=e.children,E=e.checkable,k=void 0!==E&&E,Z=e.selectable,N=void 0===Z||Z,b=e.draggable,w=e.motion,S=void 0===w?(0,c.Z)((0,c.Z)({},n2.ZP),{motionAppear:!1}):w,K=o("tree",s),O=(0,c.Z)((0,c.Z)({},e),{checkable:k,selectable:N,showIcon:h,motion:S,blockNode:x,showLine:Boolean(m),dropIndicatorRender:n3}),D=v.useMemo(function(){if(!b)return!1;var e={};switch((0,l.Z)(b)){case"function":e.nodeDraggable=b;break;case"object":e=(0,c.Z)({},b)}return!1!==e.icon&&(e.icon=e.icon||v.createElement(n1,null)),e},[b]);return v.createElement(nJ,(0,c.Z)({itemHeight:20,ref:n,virtual:d},O,{prefixCls:K,className:u()((t={},(0,i.Z)(t,"".concat(K,"-icon-hide"),!h),(0,i.Z)(t,"".concat(K,"-block-node"),x),(0,i.Z)(t,"".concat(K,"-unselectable"),!N),(0,i.Z)(t,"".concat(K,"-rtl"),"rtl"===a),t),f),direction:a,checkable:k?v.createElement("span",{className:"".concat(K,"-checkbox-inner")}):k,selectable:N,switcherIcon:function(e){return function(e,n,t,r){var o,a=r.isLeaf,i=r.expanded;if(r.loading)return v.createElement(te.Z,{className:"".concat(e,"-switcher-loading-icon")});if(t&&"object"===(0,l.Z)(t)&&(o=t.showLeafIcon),a){if(!t)return null;if("boolean"!=typeof o&&o){var c="function"==typeof o?o(r):o;return(0,ti.l$)(c)?(0,ti.Tm)(c,{className:u()(c.props.className||"","".concat(e,"-switcher-line-custom-icon"))}):c}return o?v.createElement(n9,{className:"".concat(e,"-switcher-line-icon")}):v.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var d="".concat(e,"-switcher-icon"),s="function"==typeof n?n(r):n;return(0,ti.l$)(s)?(0,ti.Tm)(s,{className:u()(s.props.className||"",d)}):s||(t?i?v.createElement(tr,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(tl,{className:"".concat(e,"-switcher-line-icon")}):v.createElement(n6,{className:d}))}(K,y,m,e)},draggable:D}),C)}),td={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ts=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:td}))};ts.displayName="FolderOpenOutlined";var tu=v.forwardRef(ts),tf={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},tp=function(e,n){return v.createElement(eF.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:n,icon:tf}))};tp.displayName="FolderOutlined";var tv=v.forwardRef(tp);function th(e,n){e.forEach(function(e){var t=e.key,r=e.children;!1!==n(t,e)&&th(r||[],n)})}function tm(e,n){var t=(0,p.Z)(n),r=[];return th(e,function(e,n){var o=t.indexOf(e);return -1!==o&&(r.push(n),t.splice(o,1)),!!t.length}),r}(o=a||(a={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var ty=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function tg(e){var n=e.isLeaf,t=e.expanded;return n?v.createElement(n9,null):t?v.createElement(tu,null):v.createElement(tv,null)}function tx(e){var n=e.treeData,t=e.children;return n||nv(t)}var tC=v.forwardRef(function(e,n){var t=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,l=ty(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),s=v.useRef(),f=v.useRef(),h=function(){var e=nm(tx(l)).keyEntities;return t?Object.keys(e):r?nP(l.expandedKeys||o||[],e):l.expandedKeys||o},m=v.useState(l.selectedKeys||l.defaultSelectedKeys||[]),y=(0,d.Z)(m,2),g=y[0],x=y[1],C=v.useState(function(){return h()}),E=(0,d.Z)(C,2),k=E[0],Z=E[1];v.useEffect(function(){"selectedKeys"in l&&x(l.selectedKeys)},[l.selectedKeys]),v.useEffect(function(){"expandedKeys"in l&&Z(l.expandedKeys)},[l.expandedKeys]);var N=v.useContext(eS.E_),b=N.getPrefixCls,w=N.direction,S=l.prefixCls,K=l.className,O=l.showIcon,D=l.expandAction,P=ty(l,["prefixCls","className","showIcon","expandAction"]),R=b("tree",S),M=u()("".concat(R,"-directory"),(0,i.Z)({},"".concat(R,"-directory-rtl"),"rtl"===w),K);return v.createElement(tc,(0,c.Z)({icon:tg,ref:n,blockNode:!0},P,{showIcon:void 0===O||O,expandAction:void 0===D?"click":D,prefixCls:R,className:M,expandedKeys:k,selectedKeys:g,onSelect:function(e,n){var t,r,o,i,d,u,v,h,m,y=l.multiple,g=n.node,C=n.nativeEvent,E=g.key,Z=void 0===E?"":E,N=tx(l),b=(0,c.Z)((0,c.Z)({},n),{selected:!0}),w=(null==C?void 0:C.ctrlKey)||(null==C?void 0:C.metaKey),S=null==C?void 0:C.shiftKey;y&&w?(m=e,s.current=Z,f.current=m,b.selectedNodes=tm(N,m)):y&&S?(m=Array.from(new Set([].concat((0,p.Z)(f.current||[]),(0,p.Z)((r=(t={treeData:N,expandedKeys:k,startKey:Z,endKey:s.current}).treeData,o=t.expandedKeys,i=t.startKey,d=t.endKey,u=[],v=a.None,i&&i===d?[i]:i&&d?(th(r,function(e){if(v===a.End)return!1;if(e===i||e===d){if(u.push(e),v===a.None)v=a.Start;else if(v===a.Start)return v=a.End,!1}else v===a.Start&&u.push(e);return o.includes(e)}),u):[]))))),b.selectedNodes=tm(N,m)):(m=[Z],s.current=Z,f.current=m,b.selectedNodes=tm(N,m)),null===(h=l.onSelect)||void 0===h||h.call(l,m,b),"selectedKeys"in l||x(m)},onExpand:function(e,n){var t;return"expandedKeys"in l||Z(e),null===(t=l.onExpand)||void 0===t?void 0:t.call(l,e,n)}}))}),tE=tc;tE.DirectoryTree=tC,tE.TreeNode=nZ;var tk=t(57838),tZ=t(68795),tN=t(69677),tb=function(e){var n=e.value,t=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,a=e.locale;return r?v.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},v.createElement(tN.Z,{prefix:v.createElement(tZ.Z,null),placeholder:a.filterSearchPlaceholder,onChange:t,value:n,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},tw=function(e){e.keyCode===nc.Z.ENTER&&e.stopPropagation()},tS=function(e){return v.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:tw},e.children)};function tK(e,n){return("string"==typeof n||"number"==typeof n)&&(null==n?void 0:n.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tO=function(e){var n,t,r,o,a,l,s=e.tablePrefixCls,f=e.prefixCls,p=e.column,h=e.dropdownPrefixCls,m=e.columnKey,y=e.filterMultiple,g=e.filterMode,x=e.filterSearch,C=void 0!==x&&x,E=e.filterState,k=e.triggerFilter,Z=e.locale,N=e.children,b=e.getPopupContainer,w=p.filterDropdownOpen,S=p.onFilterDropdownOpenChange,K=p.filterDropdownVisible,O=p.onFilterDropdownVisibleChange,D=p.filterResetToDefaultFilteredValue,P=p.defaultFilteredValue,R=v.useState(!1),M=(0,d.Z)(R,2),L=M[0],T=M[1],I=!!(E&&((null===(r=E.filteredKeys)||void 0===r?void 0:r.length)||E.forceFiltered)),A=function(e){T(e),null==S||S(e),null==O||O(e)};o="boolean"==typeof w?w:"boolean"==typeof K?K:L;var H=null==E?void 0:E.filteredKeys,z=(n=v.useRef(H||[]),t=(0,tk.Z)(),[function(){return n.current},function(e){n.current=e,t()}]),F=(0,d.Z)(z,2),_=F[0],j=F[1],B=function(e){j(e.selectedKeys)};v.useEffect(function(){L&&B({selectedKeys:H||[]})},[H]);var V=v.useState([]),W=(0,d.Z)(V,2),U=W[0],G=W[1],X=v.useState(""),q=(0,d.Z)(X,2),Y=q[0],$=q[1],J=function(e){$(e.target.value)};v.useEffect(function(){L||$("")},[L]);var Q=function(e){var n=e&&e.length?e:null;if(null===n&&(!E||!E.filteredKeys)||eV()(n,null==E?void 0:E.filteredKeys))return null;k({column:p,key:m,filteredKeys:n})},ee=function(){A(!1),Q(_())},en=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&A(!1),$(""),D?j((P||[]).map(function(e){return String(e)})):j([])},et=u()((0,i.Z)({},"".concat(h,"-menu-without-submenu"),!(p.filters||[]).some(function(e){return e.children}))),er=function e(n){var t;return(0,c.Z)((0,c.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map(function(n){return e(n)}))||[]})};if("function"==typeof p.filterDropdown)a=p.filterDropdown({prefixCls:"".concat(h,"-custom"),setSelectedKeys:function(e){return B({selectedKeys:e})},selectedKeys:_(),confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e.closeDropdown&&A(!1),Q(_())},clearFilters:en,filters:p.filters,visible:o,close:function(){A(!1)}});else if(p.filterDropdown)a=p.filterDropdown;else{var eo=_()||[];a=v.createElement(v.Fragment,null,0===(p.filters||[]).length?v.createElement(eX.Z,{image:eX.Z.PRESENTED_IMAGE_SIMPLE,description:Z.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===(void 0===g?"menu":g)?v.createElement(v.Fragment,null,v.createElement(tb,{filterSearch:C,value:Y,onChange:J,tablePrefixCls:s,locale:Z}),v.createElement("div",{className:"".concat(s,"-filter-dropdown-tree")},y?v.createElement(eU.Z,{checked:eo.length===tP(p.filters).length,indeterminate:eo.length>0&&eo.lengthn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},tI=t(84506),tA=t(80882),tH={},tz="SELECT_ALL",tF="SELECT_INVERT",t_="SELECT_NONE",tj=[],tB=t(39398),tV=t(10010),tW=t(94199),tU="ascend",tG="descend";function tX(e){return"object"===(0,l.Z)(e.sorter)&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function tq(e){return"function"==typeof e?e:!!e&&"object"===(0,l.Z)(e)&&!!e.compare&&e.compare}function tY(e,n,t){var r=[];function o(e,n){r.push({column:e,key:eI(e,n),multiplePriority:tX(e),sortOrder:e.sortOrder})}return(e||[]).forEach(function(e,a){var l=eA(a,t);e.children?("sortOrder"in e&&o(e,l),r=[].concat((0,p.Z)(r),(0,p.Z)(tY(e.children,n,l)))):e.sorter&&("sortOrder"in e?o(e,l):n&&e.defaultSortOrder&&r.push({column:e,key:eI(e,l),multiplePriority:tX(e),sortOrder:e.defaultSortOrder}))}),r}function t$(e){var n=e.column;return{column:n,order:e.sortOrder,field:n.dataIndex,columnKey:n.key}}function tJ(e){var n=e.filter(function(e){return e.sortOrder}).map(t$);return 0===n.length&&e.length?(0,c.Z)((0,c.Z)({},t$(e[e.length-1])),{column:void 0}):n.length<=1?n[0]||{}:n}function tQ(e,n,t){var r=n.slice().sort(function(e,n){return n.multiplePriority-e.multiplePriority}),o=e.slice(),a=r.filter(function(e){var n=e.column.sorter,t=e.sortOrder;return tq(n)&&t});return a.length?o.sort(function(e,n){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=(0,c.Z)((0,c.Z)({},es),e);t&&(es.resetPagination(),r.pagination.current&&(r.pagination.current=1),y&&y.onChange&&y.onChange(1,r.pagination.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&el.body.current&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=n.callback,o=n.duration,a=void 0===o?450:o,l=(void 0===t?function(){return window}:t)(),i=function(e,n){if("undefined"==typeof window)return 0;var t,r,o=n?"scrollTop":"scrollLeft",a=0;return eT(e)?a=e[n?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!eT(e)&&"number"!=typeof a&&(a=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r[o]),a}(l,!0),c=Date.now();(0,eL.Z)(function e(){var n,t,o=Date.now()-c,d=(n=o>a?a:o,t=0-i,(n/=a/2)<1?t/2*n*n*n+i:t/2*((n-=2)*n*n+2)+i);eT(l)?l.scrollTo(window.pageXOffset,d):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=d:l.scrollTop=d,o0?e5:e3}),na=Math.ceil((e5||e3)/no.pageSize),no.current>na&&(no.current=na||1),nl=function(e,n){nr({current:null!=e?e:1,pageSize:n||no.pageSize})},!1===y?[{},function(){}]:[(0,c.Z)((0,c.Z)({},no),{onChange:function(e,n){var t;y&&(null===(t=y.onChange)||void 0===t||t.call(y,e,n)),nl(e,n),e4(e,n||(null==no?void 0:no.pageSize))}}),nl]),eB=(0,d.Z)(ej,2),eV=eB[0],eW=eB[1];es.pagination=!1===y?{}:(ni=y,ns={current:(nd=eV).current,pageSize:nd.pageSize},Object.keys(ni&&"object"===(0,l.Z)(ni)?ni:{}).forEach(function(e){var n=nd[e];"function"!=typeof n&&(ns[e]=n)}),ns),es.resetPagination=eW;var eX=v.useMemo(function(){if(!1===y||!eV.pageSize)return ez;var e=eV.current,n=void 0===e?1:e,t=eV.total,r=eV.pageSize,o=void 0===r?10:r;return ez.lengtho?ez.slice((n-1)*o,n*o):ez:ez.slice((n-1)*o,n*o)},[!!y,ez,eV&&eV.current,eV&&eV.pageSize,eV&&eV.total]),eq=(nu={prefixCls:J,data:ez,pageData:eX,getRowKey:ei,getRecordByKey:ed,expandType:ea,childrenColumnName:eo,locale:q,getPopupContainer:w},np=(nf=g||{}).preserveSelectedRowKeys,nv=nf.selectedRowKeys,nh=nf.defaultSelectedRowKeys,ny=nf.getCheckboxProps,ng=nf.onChange,nx=nf.onSelect,nC=nf.onSelectAll,nE=nf.onSelectInvert,nk=nf.onSelectNone,nZ=nf.onSelectMultiple,nw=nf.columnWidth,nS=nf.type,nK=nf.selections,nO=nf.fixed,nD=nf.renderCell,nP=nf.hideSelectAll,nM=void 0===(nR=nf.checkStrictly)||nR,nL=nu.prefixCls,nT=nu.data,nI=nu.pageData,nA=nu.getRecordByKey,nH=nu.getRowKey,nz=nu.expandType,nF=nu.childrenColumnName,n_=nu.locale,nj=nu.getPopupContainer,nB=(0,e$.Z)(nv||nh||tj,{value:nv}),nW=(nV=(0,d.Z)(nB,2))[0],nU=nV[1],nG=v.useRef(new Map),nX=(0,v.useCallback)(function(e){if(np){var n=new Map;e.forEach(function(e){var t=nA(e);!t&&nG.current.has(e)&&(t=nG.current.get(e)),n.set(e,t)}),nG.current=n}},[nA,np]),v.useEffect(function(){nX(nW)},[nW]),nq=(0,v.useMemo)(function(){return nM?{keyEntities:null}:nm(nT,{externalGetKey:nH,childrenPropName:nF})},[nT,nH,nM,nF]).keyEntities,nY=(0,v.useMemo)(function(){return function e(n,t){var r=[];return(n||[]).forEach(function(n){r.push(n),n&&"object"===(0,l.Z)(n)&&t in n&&(r=[].concat((0,p.Z)(r),(0,p.Z)(e(n[t],t))))}),r}(nI,nF)},[nI,nF]),nJ=(0,v.useMemo)(function(){var e=new Map;return nY.forEach(function(n,t){var r=nH(n,t),o=(ny?ny(n):null)||{};e.set(r,o)}),e},[nY,nH,ny]),nQ=(0,v.useCallback)(function(e){var n;return!!(null===(n=nJ.get(nH(e)))||void 0===n?void 0:n.disabled)},[nJ,nH]),n0=(0,v.useMemo)(function(){if(nM)return[nW||[],[]];var e=n$(nW,!0,nq,nQ);return[e.checkedKeys||[],e.halfCheckedKeys]},[nW,nM,nq,nQ]),n2=(n1=(0,d.Z)(n0,2))[0],n3=n1[1],n4=(0,v.useMemo)(function(){var e="radio"===nS?n2.slice(0,1):n2;return new Set(e)},[n2,nS]),n8=(0,v.useMemo)(function(){return"radio"===nS?new Set:new Set(n3)},[n3,nS]),n6=(0,v.useState)(null),n7=(n5=(0,d.Z)(n6,2))[0],n9=n5[1],v.useEffect(function(){g||nU(tj)},[!!g]),te=(0,v.useCallback)(function(e,n){var t,r;nX(e),np?(t=e,r=e.map(function(e){return nG.current.get(e)})):(t=[],r=[],e.forEach(function(e){var n=nA(e);void 0!==n&&(t.push(e),r.push(n))})),nU(t),null==ng||ng(t,r,{type:n})},[nU,nA,ng,np]),tn=(0,v.useCallback)(function(e,n,t,r){if(nx){var o=t.map(function(e){return nA(e)});nx(nA(e),n,o,r)}te(t,"single")},[nx,nA,te]),tt=(0,v.useMemo)(function(){return!nK||nP?null:(!0===nK?[tz,tF,t_]:nK).map(function(e){return e===tz?{key:"all",text:n_.selectionAll,onSelect:function(){te(nT.map(function(e,n){return nH(e,n)}).filter(function(e){var n=nJ.get(e);return!(null==n?void 0:n.disabled)||n4.has(e)}),"all")}}:e===tF?{key:"invert",text:n_.selectInvert,onSelect:function(){var e=new Set(n4);nI.forEach(function(n,t){var r=nH(n,t),o=nJ.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});var n=Array.from(e);nE&&nE(n),te(n,"invert")}}:e===t_?{key:"none",text:n_.selectNone,onSelect:function(){null==nk||nk(),te(Array.from(n4).filter(function(e){var n=nJ.get(e);return null==n?void 0:n.disabled}),"none")}}:e}).map(function(e){return(0,c.Z)((0,c.Z)({},e),{onSelect:function(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&g&&(en.expandIconColumnIndex-=1),"number"!=typeof en.indentSize&&(en.indentSize="number"==typeof R?R:15);var e0=v.useCallback(function(e){return e_(eJ(eE(ev(e))))},[ev,eE,eJ]);if(!1!==y&&(null==eV?void 0:eV.total)){ti=eV.size?eV.size:"small"===X||"middle"===X?"small":void 0;var e1,e2,e3,e4,e8,e6,e5,e7,e9,ne,nn,nr,no,na,nl,ni,nd,ns,nu,nf,np,nv,nh,ny,ng,nx,nC,nE,nk,nZ,nw,nS,nK,nO,nD,nP,nR,nM,nL,nT,nI,nA,nH,nz,nF,n_,nj,nB,nV,nW,nU,nG,nX,nq,nY,nJ,nQ,n0,n1,n2,n3,n4,n8,n6,n5,n7,n9,te,tn,tt,tr,to,ta,tl,ti,tc=function(e){return v.createElement(eR.Z,(0,c.Z)({},eV,{className:u()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),eV.className),size:ti}))},td="rtl"===G?"left":"right",ts=eV.position;if(null!==ts&&Array.isArray(ts)){var tu=ts.find(function(e){return e.includes("top")}),tf=ts.find(function(e){return e.includes("bottom")}),tp=ts.every(function(e){return"none"==="".concat(e)});tu||tf||tp||(tl=tc(td)),tu&&(ta=tc(tu.toLowerCase().replace("top",""))),tf&&(tl=tc(tf.toLowerCase().replace("bottom","")))}else tl=tc(td)}"boolean"==typeof S?t={spinning:S}:"object"===(0,l.Z)(S)&&(t=(0,c.Z)({spinning:!0},S));var tv=u()("".concat(J,"-wrapper"),(0,i.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),o);return v.createElement("div",{ref:n,className:tv,style:a},v.createElement(eM.Z,(0,c.Z)({spinning:!1},t),ta,v.createElement(eb,(0,c.Z)({},_,{columns:F,direction:G,expandable:en,prefixCls:J,className:u()((to={},(0,i.Z)(to,"".concat(J,"-middle"),"middle"===X),(0,i.Z)(to,"".concat(J,"-small"),"small"===X),(0,i.Z)(to,"".concat(J,"-bordered"),f),(0,i.Z)(to,"".concat(J,"-empty"),0===Y.length),to)),data:eX,rowKey:ei,rowClassName:function(e,n,t){var r;return r="function"==typeof E?u()(E(e,n,t)):u()(E),u()((0,i.Z)({},"".concat(J,"-row-selected"),eQ.has(ei(e,n))),r)},emptyText:T&&T.emptyText||(U||eK.Z)("Table"),internalHooks:eZ,internalRefs:el,transformColumns:e0})),tl))});t1.SELECTION_COLUMN=tH,t1.EXPAND_COLUMN=eb.EXPAND_COLUMN,t1.SELECTION_ALL=tz,t1.SELECTION_INVERT=tF,t1.SELECTION_NONE=t_,t1.Column=function(e){return null},t1.ColumnGroup=function(e){return null},t1.Summary=ef;var t2=t1},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;!t&&("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var r,o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,h=n.tabIndex,m=n.onClick,y=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,k=n.autoFocus,Z=n.value,N=n.required,b=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),w=Object.keys(b).reduce(function(e,n){return("aria-"===n.substr(0,5)||"data-"===n.substr(0,5)||"role"===n)&&(e[n]=b[n]),e},{}),S=this.state.checked,K=p()(t,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:h,className:"".concat(t,"-input"),checked:!!S,onClick:m,onFocus:y,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:Z},w)),u.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2934-c96a01cbf005d5a7.js b/static/web/_next/static/chunks/2934-c96a01cbf005d5a7.js deleted file mode 100644 index 3cc89327c..000000000 --- a/static/web/_next/static/chunks/2934-c96a01cbf005d5a7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2934],{24019:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="ClockCircleOutlined";var l=i.forwardRef(c)},93069:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="WifiOutlined";var l=i.forwardRef(c)},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(97685),i=n(67294);function o(){var e=i.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var r=n(4942),i=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={};t.ZP={matchHandlers:{},dispatch:function(e){return s=e,c.forEach(function(e){return e(s)}),c.size>=1},subscribe:function(e){return c.size||this.register(),l+=1,c.set(l,e),e(s),l},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],r=e.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),c.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},s),(0,r.Z)({},t,o)))},c=window.matchMedia(n);c.addListener(o),e.matchHandlers[n]={mql:c,listener:o},o(c)})}}},11382:function(e,t,n){"use strict";var r=n(87462),i=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),v=n(96159),d=n(93355),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};(0,d.b)("small","default","large");var g=null,h=function(e){var t=e.spinPrefixCls,n=e.spinning,a=void 0===n||n,l=e.delay,d=e.className,h=e.size,b=void 0===h?"default":h,y=e.tip,w=e.wrapperClassName,x=e.style,C=e.children,Z=m(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return a&&(!a||!l||!!isNaN(Number(l)))}),E=(0,o.Z)(N,2),O=E[0],k=E[1];return f.useEffect(function(){var e=s()(function(){k(a)},l);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[l,a]),f.createElement(p.C,null,function(n){var o,a,l,s=n.direction,p=c()(t,(l={},(0,i.Z)(l,"".concat(t,"-sm"),"small"===b),(0,i.Z)(l,"".concat(t,"-lg"),"large"===b),(0,i.Z)(l,"".concat(t,"-spinning"),O),(0,i.Z)(l,"".concat(t,"-show-text"),!!y),(0,i.Z)(l,"".concat(t,"-rtl"),"rtl"===s),l),d),m=(0,u.Z)(Z,["indicator","prefixCls"]),h=f.createElement("div",(0,r.Z)({},m,{style:x,className:p,"aria-live":"polite","aria-busy":O}),(o=e.indicator,a="".concat(t,"-dot"),null===o?null:(0,v.l$)(o)?(0,v.Tm)(o,{className:c()(o.props.className,a)}):(0,v.l$)(g)?(0,v.Tm)(g,{className:c()(g.props.className,a)}):f.createElement("span",{className:c()(a,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),y?f.createElement("div",{className:"".concat(t,"-text")},y):null);if(void 0!==C){var N=c()("".concat(t,"-container"),(0,i.Z)({},"".concat(t,"-blur"),O));return f.createElement("div",(0,r.Z)({},m,{className:c()("".concat(t,"-nested-loading"),w)}),O&&f.createElement("div",{key:"loading"},h),f.createElement("div",{className:N,key:"container"},C))}return h})},b=function(e){var t=e.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",t),i=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:n});return f.createElement(h,(0,r.Z)({},i))};b.setDefaultIndicator=function(e){g=e},t.Z=b},27561:function(e,t,n){var r=n(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,v,d=0,m=!1,g=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=l,r=s;return l=s=void 0,d=t,f=e.apply(r,n)}function y(e){var n=e-v,r=e-d;return void 0===v||n>=t||n<0||g&&r>=u}function w(){var e,n,r,o=i();if(y(o))return x(o);p=setTimeout(w,(e=o-v,n=o-d,r=t-e,g?c(r,u-n):r))}function x(e){return(p=void 0,h&&l)?b(e):(l=s=void 0,f)}function C(){var e,n=i(),r=y(n);if(l=arguments,s=this,v=n,r){if(void 0===p)return d=e=v,p=setTimeout(w,t),m?b(e):f;if(g)return clearTimeout(p),p=setTimeout(w,t),b(v)}return void 0===p&&(p=setTimeout(w,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==p&&clearTimeout(p),d=0,l=v=s=p=void 0},C.flush=function(){return void 0===p?f:x(i())},C}},33448:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):c.test(e)?a:+e}},60057:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(4942),i=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(81263),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},p=[0,0],v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:p}},d=n(15105),m=n(75164),g=n(88603),h=d.Z.ESC,b=d.Z.TAB,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],w=c.forwardRef(function(e,t){var n,s,f,p,d,w,x,C,Z,N,E,O,k,P,T,z,R=e.arrow,M=void 0!==R&&R,S=e.prefixCls,A=void 0===S?"rc-dropdown":S,j=e.transitionName,V=e.animation,L=e.align,W=e.placement,F=e.placements,H=e.getPopupContainer,$=e.showAction,_=e.hideAction,I=e.overlayClassName,B=e.overlayStyle,D=e.visible,q=e.trigger,X=void 0===q?["hover"]:q,Y=e.autoFocus,G=(0,a.Z)(e,y),J=c.useState(),K=(0,o.Z)(J,2),Q=K[0],U=K[1],ee="visible"in e?D:Q,et=c.useRef(null);c.useImperativeHandle(t,function(){return et.current}),f=(s={visible:ee,setTriggerVisible:U,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,p=s.setTriggerVisible,d=s.triggerRef,w=s.onVisibleChange,x=s.autoFocus,C=c.useRef(!1),Z=function(){if(f&&d.current){var e,t,n,r;null===(e=d.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n),p(!1),"function"==typeof w&&w(!1)}},N=function(){var e,t,n,r,i=(0,g.tS)(null===(e=d.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(r=n.getElement)||void 0===r?void 0:r.call(n))[0];return null!=i&&!!i.focus&&(i.focus(),C.current=!0,!0)},E=function(e){switch(e.keyCode){case h:Z();break;case b:var t=!1;C.current||(t=N()),t?e.preventDefault():Z()}},c.useEffect(function(){return f?(window.addEventListener("keydown",E),x&&(0,m.Z)(N,3),function(){window.removeEventListener("keydown",E),C.current=!1}):function(){C.current=!1}},[f]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},er=function(){var e=en();return c.createElement(c.Fragment,null,M&&c.createElement("div",{className:"".concat(A,"-arrow")}),e)},ei=_;return ei||-1===X.indexOf("contextMenu")||(ei=["click"]),c.createElement(l.Z,(0,i.Z)((0,i.Z)({builtinPlacements:void 0===F?v:F},G),{},{prefixCls:A,ref:et,popupClassName:u()(I,(0,r.Z)({},"".concat(A,"-show-arrow"),M)),popupStyle:B,action:X,showAction:$,hideAction:ei||[],popupPlacement:void 0===W?"bottomLeft":W,popupAlign:L,popupTransitionName:j,popupAnimation:V,popupVisible:ee,stretch:(O=e.minOverlayWidthMatchTrigger,k=e.alignPoint,"minOverlayWidthMatchTrigger"in e?O:!k)?"minWidth":"",popup:"function"==typeof e.overlay?er:er(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;U(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},getPopupContainer:H}),(T=(P=e.children).props?P.props:{},z=u()(T.className,void 0!==(n=e.openClassName)?n:"".concat(A,"-open")),ee&&P?c.cloneElement(P,{className:z}):P))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3903-37c1af34070ecbf4.js b/static/web/_next/static/chunks/3903-40ef42f3e9eb46b5.js similarity index 99% rename from static/web/_next/static/chunks/3903-37c1af34070ecbf4.js rename to static/web/_next/static/chunks/3903-40ef42f3e9eb46b5.js index 785fb8924..c14636c2d 100644 --- a/static/web/_next/static/chunks/3903-37c1af34070ecbf4.js +++ b/static/web/_next/static/chunks/3903-40ef42f3e9eb46b5.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3903],{39398:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},i=n(42135),l=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};l.displayName="CaretDownOutlined";var c=r.forwardRef(l)},38504:function(e,t,n){n.d(t,{Z:function(){return k}});var o=n(87462),r=n(71002),a=n(4942),i=n(97685),l=n(18073),c=n(94184),s=n.n(c),u=n(60057),p=n(66680),f=n(21770),d=n(67294),m=n(66516),v=n(53124),g=n(76529),y=n(80636),b=n(96159),C=n(93355),h=n(89705),w=n(71577),Z=n(4173),E=n(26713),O=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},N=function(e){var t=d.useContext(v.E_),n=t.getPopupContainer,r=t.getPrefixCls,a=t.direction,l=e.prefixCls,c=e.type,u=void 0===c?"default":c,p=e.danger,f=e.disabled,m=e.loading,g=e.onClick,y=e.htmlType,b=e.children,C=e.className,N=e.menu,P=e.arrow,k=e.autoFocus,R=e.overlay,L=e.trigger,A=e.align,T=e.visible,D=e.open,S=e.onVisibleChange,V=e.onOpenChange,_=e.placement,j=e.getPopupContainer,F=e.href,H=e.icon,M=void 0===H?d.createElement(h.Z,null):H,B=e.title,I=e.buttonsRender,z=e.mouseEnterDelay,W=e.mouseLeaveDelay,J=e.overlayClassName,U=e.overlayStyle,X=e.destroyPopupOnHide,Y=O(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","visible","open","onVisibleChange","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),q=r("dropdown-button",l),G={menu:N,arrow:P,autoFocus:k,align:A,disabled:f,trigger:f?[]:L,onOpenChange:V||S,getPopupContainer:j||n,mouseEnterDelay:z,mouseLeaveDelay:W,overlayClassName:J,overlayStyle:U,destroyPopupOnHide:X},K=(0,Z.ri)(q,a),Q=K.compactSize,$=K.compactItemClassnames,ee=s()(q,$,C);"overlay"in e&&(G.overlay=R),"open"in e?G.open=D:"visible"in e&&(G.open=T),"placement"in e?G.placement=_:G.placement="rtl"===a?"bottomLeft":"bottomRight";var et=(void 0===I?function(e){return e}:I)([d.createElement(w.Z,{type:u,danger:p,disabled:f,loading:m,onClick:g,htmlType:y,href:F,title:B},b),d.createElement(w.Z,{type:u,danger:p,icon:M})]),en=(0,i.Z)(et,2),eo=en[0],er=en[1];return d.createElement(E.Z.Compact,(0,o.Z)({className:ee,size:Q,block:!0},Y),eo,d.createElement(x,(0,o.Z)({},G),er))};N.__ANT_BUTTON=!0,(0,C.b)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom");var P=function(e){var t,n,c,C,h,w=d.useContext(v.E_),Z=w.getPopupContainer,E=w.getPrefixCls,O=w.direction,N=e.menu,P=e.arrow,x=e.prefixCls,k=e.children,R=e.trigger,L=e.disabled,A=e.dropdownRender,T=e.getPopupContainer,D=e.overlayClassName,S=e.visible,V=e.open,_=e.onVisibleChange,j=e.onOpenChange,F=e.mouseEnterDelay,H=e.mouseLeaveDelay,M=E("dropdown",x),B=d.Children.only(k),I=(0,b.Tm)(B,{className:s()("".concat(M,"-trigger"),(0,a.Z)({},"".concat(M,"-rtl"),"rtl"===O),B.props.className),disabled:L}),z=L?[]:R;z&&z.includes("contextMenu")&&(h=!0);var W=(0,f.Z)(!1,{value:void 0!==V?V:S}),J=(0,i.Z)(W,2),U=J[0],X=J[1],Y=(0,p.Z)(function(e){null==_||_(e),null==j||j(e),X(e)}),q=s()(D,(0,a.Z)({},"".concat(M,"-rtl"),"rtl"===O)),G=(0,y.Z)({arrowPointAtCenter:"object"===(0,r.Z)(P)&&P.pointAtCenter,autoAdjustOverflow:!0}),K=d.useCallback(function(){X(!1)},[]);return d.createElement(u.Z,(0,o.Z)({alignPoint:h},e,{mouseEnterDelay:void 0===F?.15:F,mouseLeaveDelay:void 0===H?.1:H,visible:U,builtinPlacements:G,arrow:!!P,overlayClassName:q,prefixCls:M,getPopupContainer:T||Z,transitionName:(t=E(),n=e.placement,void 0!==(c=e.transitionName)?c:(void 0===n?"":n).includes("top")?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")),trigger:z,overlay:function(){var t,n=e.overlay;return t=(null==N?void 0:N.items)?d.createElement(m.Z,(0,o.Z)({},N)):"function"==typeof n?n():n,A&&(t=A(t)),t=d.Children.only("string"==typeof t?d.createElement("span",null,t):t),d.createElement(g.J,{prefixCls:"".concat(M,"-menu"),expandIcon:d.createElement("span",{className:"".concat(M,"-menu-submenu-arrow")},d.createElement(l.Z,{className:"".concat(M,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:K,validator:function(e){e.mode}},t)},placement:(C=e.placement)?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:"rtl"===O?"bottomRight":"bottomLeft",onVisibleChange:Y}),I)};P.Button=N;var x=P,k=x},60057:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(4942),r=n(1413),a=n(97685),i=n(45987),l=n(67294),c=n(81263),s=n(94184),u=n.n(s),p={adjustX:1,adjustY:1},f=[0,0],d={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:f}},m=n(15105),v=n(75164),g=n(88603),y=m.Z.ESC,b=m.Z.TAB,C=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],h=l.forwardRef(function(e,t){var n,s,p,f,m,h,w,Z,E,O,N,P,x,k,R,L,A=e.arrow,T=void 0!==A&&A,D=e.prefixCls,S=void 0===D?"rc-dropdown":D,V=e.transitionName,_=e.animation,j=e.align,F=e.placement,H=e.placements,M=e.getPopupContainer,B=e.showAction,I=e.hideAction,z=e.overlayClassName,W=e.overlayStyle,J=e.visible,U=e.trigger,X=void 0===U?["hover"]:U,Y=e.autoFocus,q=(0,i.Z)(e,C),G=l.useState(),K=(0,a.Z)(G,2),Q=K[0],$=K[1],ee="visible"in e?J:Q,et=l.useRef(null);l.useImperativeHandle(t,function(){return et.current}),p=(s={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,f=s.setTriggerVisible,m=s.triggerRef,h=s.onVisibleChange,w=s.autoFocus,Z=l.useRef(!1),E=function(){if(p&&m.current){var e,t,n,o;null===(e=m.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.focus)||void 0===o||o.call(n),f(!1),"function"==typeof h&&h(!1)}},O=function(){var e,t,n,o,r=(0,g.tS)(null===(e=m.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return null!=r&&!!r.focus&&(r.focus(),Z.current=!0,!0)},N=function(e){switch(e.keyCode){case y:E();break;case b:var t=!1;Z.current||(t=O()),t?e.preventDefault():E()}},l.useEffect(function(){return p?(window.addEventListener("keydown",N),w&&(0,v.Z)(O,3),function(){window.removeEventListener("keydown",N),Z.current=!1}):function(){Z.current=!1}},[p]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},eo=function(){var e=en();return l.createElement(l.Fragment,null,T&&l.createElement("div",{className:"".concat(S,"-arrow")}),e)},er=I;return er||-1===X.indexOf("contextMenu")||(er=["click"]),l.createElement(c.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===H?d:H},q),{},{prefixCls:S,ref:et,popupClassName:u()(z,(0,o.Z)({},"".concat(S,"-show-arrow"),T)),popupStyle:W,action:X,showAction:B,hideAction:er||[],popupPlacement:void 0===F?"bottomLeft":F,popupAlign:j,popupTransitionName:V,popupAnimation:_,popupVisible:ee,stretch:(P=e.minOverlayWidthMatchTrigger,x=e.alignPoint,"minOverlayWidthMatchTrigger"in e?P:!x)?"minWidth":"",popup:"function"==typeof e.overlay?eo:eo(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;$(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;$(!1),n&&n(t)},getPopupContainer:M}),(R=(k=e.children).props?k.props:{},L=u()(R.className,void 0!==(n=e.openClassName)?n:"".concat(S,"-open")),ee&&k?l.cloneElement(k,{className:L}):k))})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3903],{39398:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(1413),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},i=n(42135),l=function(e,t){return r.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:a}))};l.displayName="CaretDownOutlined";var c=r.forwardRef(l)},38504:function(e,t,n){n.d(t,{Z:function(){return k}});var o=n(87462),r=n(71002),a=n(4942),i=n(97685),l=n(18073),c=n(94184),s=n.n(c),u=n(60057),p=n(66680),f=n(21770),d=n(67294),m=n(66516),v=n(53124),g=n(76529),y=n(80636),b=n(96159),C=n(93355),h=n(89705),w=n(71577),Z=n(4173),E=n(26713),O=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},N=function(e){var t=d.useContext(v.E_),n=t.getPopupContainer,r=t.getPrefixCls,a=t.direction,l=e.prefixCls,c=e.type,u=void 0===c?"default":c,p=e.danger,f=e.disabled,m=e.loading,g=e.onClick,y=e.htmlType,b=e.children,C=e.className,N=e.menu,P=e.arrow,k=e.autoFocus,R=e.overlay,L=e.trigger,A=e.align,T=e.visible,D=e.open,S=e.onVisibleChange,V=e.onOpenChange,_=e.placement,j=e.getPopupContainer,F=e.href,H=e.icon,M=void 0===H?d.createElement(h.Z,null):H,B=e.title,I=e.buttonsRender,z=e.mouseEnterDelay,W=e.mouseLeaveDelay,J=e.overlayClassName,U=e.overlayStyle,X=e.destroyPopupOnHide,Y=O(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","visible","open","onVisibleChange","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),q=r("dropdown-button",l),G={menu:N,arrow:P,autoFocus:k,align:A,disabled:f,trigger:f?[]:L,onOpenChange:V||S,getPopupContainer:j||n,mouseEnterDelay:z,mouseLeaveDelay:W,overlayClassName:J,overlayStyle:U,destroyPopupOnHide:X},K=(0,Z.ri)(q,a),Q=K.compactSize,$=K.compactItemClassnames,ee=s()(q,$,C);"overlay"in e&&(G.overlay=R),"open"in e?G.open=D:"visible"in e&&(G.open=T),"placement"in e?G.placement=_:G.placement="rtl"===a?"bottomLeft":"bottomRight";var et=(void 0===I?function(e){return e}:I)([d.createElement(w.Z,{type:u,danger:p,disabled:f,loading:m,onClick:g,htmlType:y,href:F,title:B},b),d.createElement(w.Z,{type:u,danger:p,icon:M})]),en=(0,i.Z)(et,2),eo=en[0],er=en[1];return d.createElement(E.Z.Compact,(0,o.Z)({className:ee,size:Q,block:!0},Y),eo,d.createElement(x,(0,o.Z)({},G),er))};N.__ANT_BUTTON=!0,(0,C.b)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom");var P=function(e){var t,n,c,C,h,w=d.useContext(v.E_),Z=w.getPopupContainer,E=w.getPrefixCls,O=w.direction,N=e.menu,P=e.arrow,x=e.prefixCls,k=e.children,R=e.trigger,L=e.disabled,A=e.dropdownRender,T=e.getPopupContainer,D=e.overlayClassName,S=e.visible,V=e.open,_=e.onVisibleChange,j=e.onOpenChange,F=e.mouseEnterDelay,H=e.mouseLeaveDelay,M=E("dropdown",x),B=d.Children.only(k),I=(0,b.Tm)(B,{className:s()("".concat(M,"-trigger"),(0,a.Z)({},"".concat(M,"-rtl"),"rtl"===O),B.props.className),disabled:L}),z=L?[]:R;z&&z.includes("contextMenu")&&(h=!0);var W=(0,f.Z)(!1,{value:void 0!==V?V:S}),J=(0,i.Z)(W,2),U=J[0],X=J[1],Y=(0,p.Z)(function(e){null==_||_(e),null==j||j(e),X(e)}),q=s()(D,(0,a.Z)({},"".concat(M,"-rtl"),"rtl"===O)),G=(0,y.Z)({arrowPointAtCenter:"object"===(0,r.Z)(P)&&P.pointAtCenter,autoAdjustOverflow:!0}),K=d.useCallback(function(){X(!1)},[]);return d.createElement(u.Z,(0,o.Z)({alignPoint:h},e,{mouseEnterDelay:void 0===F?.15:F,mouseLeaveDelay:void 0===H?.1:H,visible:U,builtinPlacements:G,arrow:!!P,overlayClassName:q,prefixCls:M,getPopupContainer:T||Z,transitionName:(t=E(),n=e.placement,void 0!==(c=e.transitionName)?c:(void 0===n?"":n).includes("top")?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")),trigger:z,overlay:function(){var t,n=e.overlay;return t=(null==N?void 0:N.items)?d.createElement(m.Z,(0,o.Z)({},N)):"function"==typeof n?n():n,A&&(t=A(t)),t=d.Children.only("string"==typeof t?d.createElement("span",null,t):t),d.createElement(g.J,{prefixCls:"".concat(M,"-menu"),expandIcon:d.createElement("span",{className:"".concat(M,"-menu-submenu-arrow")},d.createElement(l.Z,{className:"".concat(M,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:K,validator:function(e){e.mode}},t)},placement:(C=e.placement)?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:"rtl"===O?"bottomRight":"bottomLeft",onVisibleChange:Y}),I)};P.Button=N;var x=P,k=x},60057:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(4942),r=n(1413),a=n(97685),i=n(45987),l=n(67294),c=n(53749),s=n(94184),u=n.n(s),p={adjustX:1,adjustY:1},f=[0,0],d={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:f}},m=n(15105),v=n(75164),g=n(88603),y=m.Z.ESC,b=m.Z.TAB,C=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],h=l.forwardRef(function(e,t){var n,s,p,f,m,h,w,Z,E,O,N,P,x,k,R,L,A=e.arrow,T=void 0!==A&&A,D=e.prefixCls,S=void 0===D?"rc-dropdown":D,V=e.transitionName,_=e.animation,j=e.align,F=e.placement,H=e.placements,M=e.getPopupContainer,B=e.showAction,I=e.hideAction,z=e.overlayClassName,W=e.overlayStyle,J=e.visible,U=e.trigger,X=void 0===U?["hover"]:U,Y=e.autoFocus,q=(0,i.Z)(e,C),G=l.useState(),K=(0,a.Z)(G,2),Q=K[0],$=K[1],ee="visible"in e?J:Q,et=l.useRef(null);l.useImperativeHandle(t,function(){return et.current}),p=(s={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,f=s.setTriggerVisible,m=s.triggerRef,h=s.onVisibleChange,w=s.autoFocus,Z=l.useRef(!1),E=function(){if(p&&m.current){var e,t,n,o;null===(e=m.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.focus)||void 0===o||o.call(n),f(!1),"function"==typeof h&&h(!1)}},O=function(){var e,t,n,o,r=(0,g.tS)(null===(e=m.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return null!=r&&!!r.focus&&(r.focus(),Z.current=!0,!0)},N=function(e){switch(e.keyCode){case y:E();break;case b:var t=!1;Z.current||(t=O()),t?e.preventDefault():E()}},l.useEffect(function(){return p?(window.addEventListener("keydown",N),w&&(0,v.Z)(O,3),function(){window.removeEventListener("keydown",N),Z.current=!1}):function(){Z.current=!1}},[p]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},eo=function(){var e=en();return l.createElement(l.Fragment,null,T&&l.createElement("div",{className:"".concat(S,"-arrow")}),e)},er=I;return er||-1===X.indexOf("contextMenu")||(er=["click"]),l.createElement(c.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===H?d:H},q),{},{prefixCls:S,ref:et,popupClassName:u()(z,(0,o.Z)({},"".concat(S,"-show-arrow"),T)),popupStyle:W,action:X,showAction:B,hideAction:er||[],popupPlacement:void 0===F?"bottomLeft":F,popupAlign:j,popupTransitionName:V,popupAnimation:_,popupVisible:ee,stretch:(P=e.minOverlayWidthMatchTrigger,x=e.alignPoint,"minOverlayWidthMatchTrigger"in e?P:!x)?"minWidth":"",popup:"function"==typeof e.overlay?eo:eo(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;$(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;$(!1),n&&n(t)},getPopupContainer:M}),(R=(k=e.children).props?k.props:{},L=u()(R.className,void 0!==(n=e.openClassName)?n:"".concat(S,"-open")),ee&&k?l.cloneElement(k,{className:L}):k))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5122.62b94021bcff0430.js b/static/web/_next/static/chunks/5122.62b94021bcff0430.js new file mode 100644 index 000000000..63a4126ef --- /dev/null +++ b/static/web/_next/static/chunks/5122.62b94021bcff0430.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5122],{5122:function(e,O,t){t.r(O),t.d(O,{completeFromSchema:function(){return W},xml:function(){return C},xmlLanguage:function(){return w}});var n=t(53105),l=t(35524);let a=null,r=null,s=0;function o(e,O){var t;let n=e.pos+O;if(r==e&&s==n)return a;for(;9==(t=e.peek(O))||10==t||13==t||32==t;)O++;let l="";for(;;){let o=e.peek(O);if(!(45==o||46==o||58==o||o>=65&&o<=90||95==o||o>=97&&o<=122||o>=161))break;l+=String.fromCharCode(o),O++}return r=e,s=n,a=l||null}function y(e,O){this.name=e,this.parent=O,this.hash=O?O.hash:0;for(let t=0;t1==O?new y(o(n,1)||"",e):e,reduce:(e,O)=>11==O&&e?e.parent:e,reuse(e,O,t,n){let l=O.type.id;return 1==l||13==l?new y(o(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),p=new n.Jq((e,O)=>{if(60==e.next){if(e.advance(),47==e.next){e.advance();let t=o(e,0);if(!t)return e.acceptToken(5);if(O.context&&t==O.context.name)return e.acceptToken(2);for(let n=O.context;n;n=n.parent)if(n.name==t)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}},{contextual:!0});function $(e,O){return new n.Jq(t=>{for(let n=0,l=0;;l++){if(t.next<0){l&&t.acceptToken(e);break}if(t.next==O.charCodeAt(n)){if(++n==O.length){l>=O.length&&t.acceptToken(e,1-O.length);break}}else n=t.next==O.charCodeAt(0)?1:0;t.advance()}})}let c=$(35,"-->"),S=$(36,"?>"),u=$(37,"]]>"),m=(0,l.Gv)({Text:l.pJ.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":l.pJ.angleBracket,TagName:l.pJ.tagName,"MismatchedCloseTag/Tagname":[l.pJ.tagName,l.pJ.invalid],AttributeName:l.pJ.attributeName,AttributeValue:l.pJ.attributeValue,Is:l.pJ.definitionOperator,"EntityReference CharacterReference":l.pJ.character,Comment:l.pJ.blockComment,ProcessingInst:l.pJ.processingInstruction,DoctypeDecl:l.pJ.documentMeta,Cdata:l.pJ.special(l.pJ.string)}),f=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}}let v=/^[:\-\.\w\u00b7-\uffff]*$/;function T(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function b(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function W(e,O){let t=[],n=[],l=Object.create(null);for(let a of O){let r=T(a);t.push(r),a.global&&n.push(r),a.values&&(l[a.name]=a.values.map(b))}let s=[],o=[],y=Object.create(null);for(let i of e){let p=n,$=l;i.attributes&&(p=p.concat(i.attributes.map(e=>"string"==typeof e?t.find(O=>O.label==e)||{label:e,type:"property"}:(e.values&&($==l&&($=Object.create($)),$[e.name]=e.values.map(b)),T(e)))));let c=new h(i,p,$);y[c.name]=c,s.push(c),i.top&&o.push(c)}o.length||(o=s);for(let S=0;S{var O;let{doc:t}=e.state,a=function(e,O){var t;let n=(0,g.qz)(e).resolveInner(O,-1),l=null;for(let a=n;!l&&a.parent;a=a.parent)("OpenTag"==a.name||"CloseTag"==a.name||"SelfClosingTag"==a.name||"MismatchedCloseTag"==a.name)&&(l=a);if(l&&(l.to>O||l.lastChild.type.isError)){let r=l.parent;if("TagName"==n.name)return"CloseTag"==l.name||"MismatchedCloseTag"==l.name?{type:"closeTag",from:n.from,context:r}:{type:"openTag",from:n.from,context:_(r)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:l};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:l};let s=n==l||"Attribute"==n.name?n.childBefore(O):n;return(null==s?void 0:s.name)=="StartTag"?{type:"openTag",from:O,context:_(r)}:(null==s?void 0:s.name)=="StartCloseTag"&&s.to<=O?{type:"closeTag",from:O,context:r}:(null==s?void 0:s.name)=="Is"?{type:"attrValue",from:O,context:l}:s?{type:"attrName",from:O,context:l}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:O,context:n.parent};for(;n.parent&&n.to==O&&!(null===(t=n.lastChild)||void 0===t?void 0:t.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:O,context:"Element"==n.name?n:_(n)}:null}(e.state,e.pos);if(!a||"tag"==a.type&&!e.explicit)return null;let{type:r,from:i,context:p}=a;if("openTag"==r){let $=o,c=P(t,p);if(c){let S=y[c];$=(null==S?void 0:S.children)||s}return{from:i,options:$.map(e=>e.completion),validFor:v}}if("closeTag"==r){let u=P(t,p);return u?{from:i,to:e.pos+(">"==t.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(O=y[u])||void 0===O?void 0:O.closeNameCompletion)||{label:u+">",type:"type"}],validFor:v}:null}if("attrName"==r){let m=y[d(t,p)];return{from:i,options:(null==m?void 0:m.attrs)||n,validFor:v}}if("attrValue"==r){let f,h;let T=(h=(f=p&&p.getChildren("Attribute").find(e=>e.from<=i&&e.to>=i))&&f.getChild("AttributeName"))?t.sliceString(h.from,h.to):"";if(!T)return null;let b=y[d(t,p)],W=((null==b?void 0:b.attrValues)||l)[T];return W&&W.length?{from:i,to:e.pos+('"'==t.sliceString(e.pos,e.pos+1)?1:0),options:W,validFor:/^"[^"]*"?$/}:null}{if("tag"!=r)return null;let w=P(t,p),C=y[w],V=[],x=p&&p.lastChild;w&&(!x||"CloseTag"!=x.name||d(t,x)!=w)&&V.push(C?C.closeCompletion:{label:"",type:"type",boost:2});let X=V.concat(((null==C?void 0:C.children)||(p?s:o)).map(e=>e.openCompletion));if(p&&(null==C?void 0:C.text.length)){let Q=p.firstChild;Q.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(Q.to,e.pos))&&(X=X.concat(C.text))}return{from:i,options:X,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}let w=g.qp.define({name:"xml",parser:f.configure({props:[g.uj.add({Element(e){let O=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({Element(e){let O=e.firstChild,t=e.lastChild;return O&&"OpenTag"==O.name?{from:O.to,to:"CloseTag"==t.name?t.from:e.to}:null}})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function C(e={}){return new g.ri(w,w.data.of({autocomplete:W(e.elements||[],e.attributes||[])}))}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5122.79b201ce99890c5d.js b/static/web/_next/static/chunks/5122.79b201ce99890c5d.js deleted file mode 100644 index b77e36db6..000000000 --- a/static/web/_next/static/chunks/5122.79b201ce99890c5d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5122],{5122:function(e,t,O){O.r(t),O.d(t,{completeFromSchema:function(){return w},xml:function(){return y},xmlLanguage:function(){return x}});var n=O(53105),r=O(35524);let a=null,s=null,o=0;function l(e,t){var O;let n=e.pos+t;if(s==e&&o==n)return a;for(;9==(O=e.peek(t))||10==O||13==O||32==O;)t++;let r="";for(;;){let l=e.peek(t);if(!(45==l||46==l||58==l||l>=65&&l<=90||95==l||l>=97&&l<=122||l>=161))break;r+=String.fromCharCode(l),t++}return s=e,o=n,a=r||null}function d(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O1==t?new d(l(n,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,O,n){let r=t.type.id;return 1==r||13==r?new d(l(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),p=new n.Jq((e,t)=>{if(60==e.next){if(e.advance(),47==e.next){e.advance();let O=l(e,0);if(!O)return e.acceptToken(5);if(t.context&&O==t.context.name)return e.acceptToken(2);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}},{contextual:!0});function c(e,t){return new n.Jq(O=>{for(let n=0,r=0;;r++){if(O.next<0){r&&O.acceptToken(e);break}if(O.next==t.charCodeAt(n)){if(++n==t.length){r>t.length&&O.acceptToken(e,1-t.length);break}}else n=O.next==t.charCodeAt(0)?1:0;O.advance()}})}let $=c(35,"-->"),u=c(36,"?>"),k=c(37,"]]>"),m=(0,r.Gv)({Text:r.pJ.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/Tagname":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,AttributeValue:r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta,Cdata:r.pJ.special(r.pJ.string)}),f=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<U!a!b>q!b!c$k!c!}+z!}#P$k#P#Q?}#Q#R$k#R#S+z#S#T$k#T#o+z#o%W$k%W%o+z%o%p$k%p&a+z&a&b$k&b1p+z1p4U$k4U4d+z4d4e$k4e$IS+z$IS$I`$k$I`$Ib+z$Ib$Kh$k$Kh%#t+z%#t&/x$k&/x&Et+z&Et&FV$k&FV;'S+z;'S;:j/S;:j?&r$k?&r?Ah+z?Ah?BY$k?BY?Mn+z?Mn~$kX$rUVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kP%ZRVPOv%Uw!^%U!_~%UW%iR{WOr%dsv%dw~%d_%{]VP{WyUOX$kXY%rYZ%rZ]$k]^%r^p$kpq%rqr$krs%Usv$kw!^$k!^!_%d!_~$kZ&{RzYVPOv%Uw!^%U!_~%U~'XTOp'hqs'hst(Pt!]'h!^~'h~'kTOp'hqs'ht!]'h!]!^'z!^~'h~(POW~~(SROp(]q!](]!^~(]~(`SOp(]q!](]!]!^(l!^~(]~(qOX~Z(xWVP{WOr$krs%Usv$kw}$k}!O)b!O!^$k!^!_%d!_~$kZ)iWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!a*R!a~$kZ*[U|QVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k]*uWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!a+_!a~$k]+hUdSVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k_,V}`S^QVP{WOr$krs%Usv$kw}$k}!O+z!O!P+z!P!Q$k!Q![+z![!]+z!]!^$k!^!_%d!_!c$k!c!}+z!}#R$k#R#S+z#S#T$k#T#o+z#o$}$k$}%O+z%O%W$k%W%o+z%o%p$k%p&a+z&a&b$k&b1p+z1p4U+z4U4d+z4d4e$k4e$IS+z$IS$I`$k$I`$Ib+z$Ib$Je$k$Je$Jg+z$Jg$Kh$k$Kh%#t+z%#t&/x$k&/x&Et+z&Et&FV$k&FV;'S+z;'S;:j/S;:j?&r$k?&r?Ah+z?Ah?BY$k?BY?Mn+z?Mn~$k_/ZWVP{WOr$krs%Usv$kw!^$k!^!_%d!_;=`$k;=`<%l+z<%l~$kX/xU{WOq%dqr0[sv%dw!a%d!a!b=X!b~%dX0aZ{WOr%dsv%dw}%d}!O1S!O!f%d!f!g1x!g!}%d!}#O5s#O#W%d#W#X:k#X~%dX1XT{WOr%dsv%dw}%d}!O1h!O~%dX1oR}P{WOr%dsv%dw~%dX1}T{WOr%dsv%dw!q%d!q!r2^!r~%dX2cT{WOr%dsv%dw!e%d!e!f2r!f~%dX2wT{WOr%dsv%dw!v%d!v!w3W!w~%dX3]T{WOr%dsv%dw!{%d!{!|3l!|~%dX3qT{WOr%dsv%dw!r%d!r!s4Q!s~%dX4VT{WOr%dsv%dw!g%d!g!h4f!h~%dX4kV{WOr4frs5Qsv4fvw5Qw!`4f!`!a5c!a~4fP5TRO!`5Q!`!a5^!a~5QP5cOiPX5jRiP{WOr%dsv%dw~%dX5xV{WOr%dsv%dw!e%d!e!f6_!f#V%d#V#W8w#W~%dX6dT{WOr%dsv%dw!f%d!f!g6s!g~%dX6xT{WOr%dsv%dw!c%d!c!d7X!d~%dX7^T{WOr%dsv%dw!v%d!v!w7m!w~%dX7rT{WOr%dsv%dw!c%d!c!d8R!d~%dX8WT{WOr%dsv%dw!}%d!}#O8g#O~%dX8nR{WxPOr%dsv%dw~%dX8|T{WOr%dsv%dw#W%d#W#X9]#X~%dX9bT{WOr%dsv%dw#T%d#T#U9q#U~%dX9vT{WOr%dsv%dw#h%d#h#i:V#i~%dX:[T{WOr%dsv%dw#T%d#T#U8R#U~%dX:pT{WOr%dsv%dw#c%d#c#d;P#d~%dX;UT{WOr%dsv%dw#V%d#V#W;e#W~%dX;jT{WOr%dsv%dw#h%d#h#i;y#i~%dX_U[UVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ>xWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!a?b!a~$kZ?kU!OQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ@UWVP{WOr$krs%Usv$kw!^$k!^!_%d!_#P$k#P#Q@n#Q~$kZ@uWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!aA_!a~$kZAhUwQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k",tokenizers:[p,$,u,k,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});var g=O(59119);function T(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function h(e,t){let O=t&&t.firstChild;return O&&"OpenTag"==O.name?T(e,O):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class v{constructor(e,t,O){this.attrs=t,this.attrValues=O,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}}let b=/^[:\-\.\w\u00b7-\uffff]*$/;function W(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function C(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function w(e,t){let O=[],n=[],r=Object.create(null);for(let a of t){let s=W(a);O.push(s),a.global&&n.push(s),a.values&&(r[a.name]=a.values.map(C))}let o=[],l=[],d=Object.create(null);for(let i of e){let p=n,c=r;i.attributes&&(p=p.concat(i.attributes.map(e=>"string"==typeof e?O.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(c==r&&(c=Object.create(c)),c[e.name]=e.values.map(C)),W(e)))));let $=new v(i,p,c);d[$.name]=$,o.push($),i.top&&l.push($)}l.length||(l=o);for(let u=0;u{var t;let{doc:O}=e.state,a=function(e,t){var O;let n=(0,g.qz)(e).resolveInner(t,-1),r=null;for(let a=n;!r&&a.parent;a=a.parent)("OpenTag"==a.name||"CloseTag"==a.name||"SelfClosingTag"==a.name||"MismatchedCloseTag"==a.name)&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let s=r.parent;if("TagName"==n.name)return"CloseTag"==r.name||"MismatchedCloseTag"==r.name?{type:"closeTag",from:n.from,context:s}:{type:"openTag",from:n.from,context:P(s)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:r};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:r};let o=n==r||"Attribute"==n.name?n.childBefore(t):n;return(null==o?void 0:o.name)=="StartTag"?{type:"openTag",from:t,context:P(s)}:(null==o?void 0:o.name)=="StartCloseTag"&&o.to<=t?{type:"closeTag",from:t,context:s}:(null==o?void 0:o.name)=="Is"?{type:"attrValue",from:t,context:r}:o?{type:"attrName",from:t,context:r}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(null===(O=n.lastChild)||void 0===O?void 0:O.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:t,context:"Element"==n.name?n:P(n)}:null}(e.state,e.pos);if(!a||"tag"==a.type&&!e.explicit)return null;let{type:s,from:i,context:p}=a;if("openTag"==s){let c=l,$=h(O,p);if($){let u=d[$];c=(null==u?void 0:u.children)||o}return{from:i,options:c.map(e=>e.completion),validFor:b}}if("closeTag"==s){let k=h(O,p);return k?{from:i,to:e.pos+(">"==O.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=d[k])||void 0===t?void 0:t.closeNameCompletion)||{label:k+">",type:"type"}],validFor:b}:null}if("attrName"==s){let m=d[T(O,p)];return{from:i,options:(null==m?void 0:m.attrs)||n,validFor:b}}if("attrValue"==s){let f,v;let W=(v=(f=p&&p.getChildren("Attribute").find(e=>e.from<=i&&e.to>=i))&&f.getChild("AttributeName"))?O.sliceString(v.from,v.to):"";if(!W)return null;let C=d[T(O,p)],w=((null==C?void 0:C.attrValues)||r)[W];return w&&w.length?{from:i,to:e.pos+('"'==O.sliceString(e.pos,e.pos+1)?1:0),options:w,validFor:/^"[^"]*"?$/}:null}{if("tag"!=s)return null;let x=h(O,p),y=d[x],S=[],X=p&&p.lastChild;x&&(!X||"CloseTag"!=X.name||T(O,X)!=x)&&S.push(y?y.closeCompletion:{label:"",type:"type",boost:2});let z=S.concat(((null==y?void 0:y.children)||(p?o:l)).map(e=>e.openCompletion));if(p&&(null==y?void 0:y.text.length)){let _=p.firstChild;_.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(_.to,e.pos))&&(z=z.concat(y.text))}return{from:i,options:z,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}let x=g.qp.define({name:"xml",parser:f.configure({props:[g.uj.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({Element(e){let t=e.firstChild,O=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==O.name?O.from:e.to}:null}})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function y(e={}){return new g.ri(x,x.data.of({autocomplete:w(e.elements||[],e.attributes||[])}))}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5360-e33fd95511650040.js b/static/web/_next/static/chunks/5360-e33fd95511650040.js new file mode 100644 index 000000000..95113114a --- /dev/null +++ b/static/web/_next/static/chunks/5360-e33fd95511650040.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var a=r(4942),o=r(87462),n=r(97685),i=r(97937),s=r(94184),u=r.n(s),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),f=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);ot.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(r[a[o]]=e[a[o]]);return r},m=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),g=RegExp("^(".concat(p.E.join("|"),")$")),b=l.forwardRef(function(e,t){var r,s=e.prefixCls,p=e.className,f=e.style,b=e.children,y=e.icon,v=e.color,D=e.onClose,k=e.closeIcon,x=e.closable,F=d(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),w=l.useContext(_.E_),z=w.getPrefixCls,E=w.direction,C=l.useState(!0),j=(0,n.Z)(C,2),A=j[0],O=j[1];l.useEffect(function(){"visible"in F&&O(F.visible)},[F.visible]);var Z=function(){return!!v&&(m.test(v)||g.test(v))},B=(0,o.Z)({backgroundColor:v&&!Z()?v:void 0},f),P=Z(),S=z("tag",s),q=u()(S,(r={},(0,a.Z)(r,"".concat(S,"-").concat(v),P),(0,a.Z)(r,"".concat(S,"-has-color"),v&&!P),(0,a.Z)(r,"".concat(S,"-hidden"),!A),(0,a.Z)(r,"".concat(S,"-rtl"),"rtl"===E),r),p),$=function(e){e.stopPropagation(),null==D||D(e),!e.defaultPrevented&&("visible"in F||O(!1))},T="onClick"in F||b&&"a"===b.type,R=(0,c.Z)(F,["visible"]),I=y||null,M=I?l.createElement(l.Fragment,null,I,l.createElement("span",null,b)):b,N=l.createElement("span",(0,o.Z)({},R,{ref:t,className:q,style:B}),M,void 0!==x&&x?k?l.createElement("span",{className:"".concat(S,"-close-icon"),onClick:$},k):l.createElement(i.Z,{className:"".concat(S,"-close-icon"),onClick:$}):null);return T?l.createElement(h.Z,null,N):N});b.CheckableTag=function(e){var t,r=e.prefixCls,n=e.className,i=e.checked,s=e.onChange,c=e.onClick,p=f(e,["prefixCls","className","checked","onChange","onClick"]),h=(0,l.useContext(_.E_).getPrefixCls)("tag",r),d=u()(h,(t={},(0,a.Z)(t,"".concat(h,"-checkable"),!0),(0,a.Z)(t,"".concat(h,"-checkable-checked"),i),t),n);return l.createElement("span",(0,o.Z)({},p,{className:d,onClick:function(e){null==s||s(!i),null==c||c(e)}}))};var y=b},68337:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function n(e){return"[object Function]"===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a))?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a))?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function l(){return function(e,t){t.normalize(e)}}function _(e){var t,a=e.re=r(36066)(e.__opts__),s=e.__tlds__.slice();function u(e){return e.replace("%TLDS%",a.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(a.src_xn),a.src_tlds=s.join("|"),a.email_fuzzy=RegExp(u(a.tpl_email_fuzzy),"i"),a.link_fuzzy=RegExp(u(a.tpl_link_fuzzy),"i"),a.link_no_ip_fuzzy=RegExp(u(a.tpl_link_no_ip_fuzzy),"i"),a.host_fuzzy_test=RegExp(u(a.tpl_host_fuzzy_test),"i");var c=[];function _(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r,a=e.__schemas__[t];if(null!==a){var i={validate:null,link:null};if(e.__compiled__[t]=i,"[object Object]"===o(a)){"[object RegExp]"===o(a.validate)?i.validate=(r=a.validate,function(e,t){var a=e.slice(t);return r.test(a)?a.match(r)[0].length:0}):n(a.validate)?i.validate=a.validate:_(t,a),n(a.normalize)?i.normalize=a.normalize:a.normalize?_(t,a):i.normalize=l();return}if("[object String]"===o(a)){c.push(t);return}_(t,a)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:l()};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(t=e).__index__=-1,t.__text_cache__=""}function p(e,t){var r=e.__index__,a=e.__last_index__,o=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=o,this.text=o,this.url=o}function h(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=a({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},_(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,_(this),this},f.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},f.prototype.test=function(e){var t,r,a,o,n,i,s,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(n=a.index+a[1].length,i=a.index+a[0].length,(this.__index__<0||nthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=i)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(h(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(h(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),_(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var a="[><|]";return t.src_pseudo_letter="(?:(?!"+a+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+a+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+a+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+a+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},62705:function(e,t,r){var a=r(55639).Symbol;e.exports=a},44239:function(e,t,r){var a=r(62705),o=r(89607),n=r(2333),i=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):n(e)}},27561:function(e,t,r){var a=r(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(o,""):e}},31957:function(e,t,r){var a="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=a},89607:function(e,t,r){var a=r(62705),o=Object.prototype,n=o.hasOwnProperty,i=o.toString,s=a?a.toStringTag:void 0;e.exports=function(e){var t=n.call(e,s),r=e[s];try{e[s]=void 0;var a=!0}catch(o){}var u=i.call(e);return a&&(t?e[s]=r:delete e[s]),u}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var a=r(31957),o="object"==typeof self&&self&&self.Object===Object&&self,n=a||o||Function("return this")();e.exports=n},67990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},23279:function(e,t,r){var a=r(13218),o=r(7771),n=r(14841),i=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,_,p,h,f=0,d=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=u,a=c;return u=c=void 0,f=t,_=e.apply(a,r)}function y(e){var r=e-h,a=e-f;return void 0===h||r>=t||r<0||m&&a>=l}function v(){var e,r,a,n=o();if(y(n))return D(n);p=setTimeout(v,(e=n-h,r=n-f,a=t-e,m?s(a,l-r):a))}function D(e){return(p=void 0,g&&u)?b(e):(u=c=void 0,_)}function k(){var e,r=o(),a=y(r);if(u=arguments,c=this,h=r,a){if(void 0===p)return f=e=h,p=setTimeout(v,t),d?b(e):_;if(m)return clearTimeout(p),p=setTimeout(v,t),b(h)}return void 0===p&&(p=setTimeout(v,t)),_}return t=n(t)||0,a(r)&&(d=!!r.leading,l=(m="maxWait"in r)?i(n(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),k.cancel=function(){void 0!==p&&clearTimeout(p),f=0,u=h=c=p=void 0},k.flush=function(){return void 0===p?_:D(o())},k}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var a=r(44239),o=r(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==a(e)}},7771:function(e,t,r){var a=r(55639);e.exports=function(){return a.Date.now()}},14841:function(e,t,r){var a=r(27561),o=r(13218),n=r(33448),i=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(n(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var r=u.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?i:+e}},36887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;ro&&a.push(e.substring(o,r.index));var i=t.props.hrefDecorator(r.url),s=t.props.textDecorator(r.text),u=t.props.componentDecorator(i,s,n);a.push(u),o=r.lastIndex}),e.length>o&&a.push(e.substring(o)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"==typeof e?this.parseString(e):o.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?o.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map(function(e,r){return t.parse(e,r)}):e}},{key:"render",value:function(){return o.createElement(o.Fragment,null,this.parse(this.props.children))}}]),t}(o.Component);l.defaultProps={componentDecorator:n.default,hrefDecorator:i.default,matchDecorator:s.default,textDecorator:u.default},t.default=l},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(r(68337)),o=n(r(10248));function n(e){return e&&e.__esModule?e:{default:e}}var i=new a.default;i.tlds(o.default),t.default=function(e){return i.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,o=(a=r(36887))&&a.__esModule?a:{default:a};t.Z=o.default},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5360-fbeb63371734b066.js b/static/web/_next/static/chunks/5360-fbeb63371734b066.js deleted file mode 100644 index 107f0de87..000000000 --- a/static/web/_next/static/chunks/5360-fbeb63371734b066.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var a=r(4942),i=r(87462),o=r(97685),n=r(97937),s=r(94184),u=r.n(s),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),m=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);it.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);it.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},f=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),g=RegExp("^(".concat(p.E.join("|"),")$")),b=l.forwardRef(function(e,t){var r,s=e.prefixCls,p=e.className,m=e.style,b=e.children,y=e.icon,v=e.color,D=e.onClose,k=e.closeIcon,x=e.closable,F=d(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),z=l.useContext(_.E_),w=z.getPrefixCls,E=z.direction,C=l.useState(!0),A=(0,o.Z)(C,2),j=A[0],O=A[1];l.useEffect(function(){"visible"in F&&O(F.visible)},[F.visible]);var Z=function(){return!!v&&(f.test(v)||g.test(v))},B=(0,i.Z)({backgroundColor:v&&!Z()?v:void 0},m),P=Z(),q=w("tag",s),S=u()(q,(r={},(0,a.Z)(r,"".concat(q,"-").concat(v),P),(0,a.Z)(r,"".concat(q,"-has-color"),v&&!P),(0,a.Z)(r,"".concat(q,"-hidden"),!j),(0,a.Z)(r,"".concat(q,"-rtl"),"rtl"===E),r),p),$=function(e){e.stopPropagation(),null==D||D(e),!e.defaultPrevented&&("visible"in F||O(!1))},R="onClick"in F||b&&"a"===b.type,T=(0,c.Z)(F,["visible"]),I=y||null,M=I?l.createElement(l.Fragment,null,I,l.createElement("span",null,b)):b,N=l.createElement("span",(0,i.Z)({},T,{ref:t,className:S,style:B}),M,void 0!==x&&x?k?l.createElement("span",{className:"".concat(q,"-close-icon"),onClick:$},k):l.createElement(n.Z,{className:"".concat(q,"-close-icon"),onClick:$}):null);return R?l.createElement(h.Z,null,N):N});b.CheckableTag=function(e){var t,r=e.prefixCls,o=e.className,n=e.checked,s=e.onChange,c=e.onClick,p=m(e,["prefixCls","className","checked","onChange","onClick"]),h=(0,l.useContext(_.E_).getPrefixCls)("tag",r),d=u()(h,(t={},(0,a.Z)(t,"".concat(h,"-checkable"),!0),(0,a.Z)(t,"".concat(h,"-checkable-checked"),n),t),o);return l.createElement("span",(0,i.Z)({},p,{className:d,onClick:function(e){null==s||s(!n),null==c||c(e)}}))};var y=b},68337:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function n(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a))?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a))?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function l(){return function(e,t){t.normalize(e)}}function _(e){var t,a=e.re=r(36066)(e.__opts__),s=e.__tlds__.slice();function u(e){return e.replace("%TLDS%",a.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(a.src_xn),a.src_tlds=s.join("|"),a.email_fuzzy=RegExp(u(a.tpl_email_fuzzy),"i"),a.link_fuzzy=RegExp(u(a.tpl_link_fuzzy),"i"),a.link_no_ip_fuzzy=RegExp(u(a.tpl_link_no_ip_fuzzy),"i"),a.host_fuzzy_test=RegExp(u(a.tpl_host_fuzzy_test),"i");var c=[];function _(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r,a=e.__schemas__[t];if(null!==a){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===i(a)){"[object RegExp]"===i(a.validate)?n.validate=(r=a.validate,function(e,t){var a=e.slice(t);return r.test(a)?a.match(r)[0].length:0}):o(a.validate)?n.validate=a.validate:_(t,a),o(a.normalize)?n.normalize=a.normalize:a.normalize?_(t,a):n.normalize=l();return}if("[object String]"===i(a)){c.push(t);return}_(t,a)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:l()};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(n).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(t=e).__index__=-1,t.__text_cache__=""}function p(e,t){var r=e.__index__,a=e.__last_index__,i=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=i,this.text=i,this.url=i}function h(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function m(e,t){if(!(this instanceof m))return new m(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=a({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},_(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,_(this),this},m.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},m.prototype.test=function(e){var t,r,a,i,o,n,s,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(o=a.index+a[1].length,n=a.index+a[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=n)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},m.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(h(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(h(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},m.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),_(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var a="[><|]";return t.src_pseudo_letter="(?:(?!"+a+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+a+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+a+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+a+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},27561:function(e,t,r){var a=r(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(i,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},23279:function(e,t,r){var a=r(13218),i=r(7771),o=r(14841),n=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,_,p,h,m=0,d=!1,f=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=u,a=c;return u=c=void 0,m=t,_=e.apply(a,r)}function y(e){var r=e-h,a=e-m;return void 0===h||r>=t||r<0||f&&a>=l}function v(){var e,r,a,o=i();if(y(o))return D(o);p=setTimeout(v,(e=o-h,r=o-m,a=t-e,f?s(a,l-r):a))}function D(e){return(p=void 0,g&&u)?b(e):(u=c=void 0,_)}function k(){var e,r=i(),a=y(r);if(u=arguments,c=this,h=r,a){if(void 0===p)return m=e=h,p=setTimeout(v,t),d?b(e):_;if(f)return clearTimeout(p),p=setTimeout(v,t),b(h)}return void 0===p&&(p=setTimeout(v,t)),_}return t=o(t)||0,a(r)&&(d=!!r.leading,l=(f="maxWait"in r)?n(o(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),k.cancel=function(){void 0!==p&&clearTimeout(p),m=0,u=h=c=p=void 0},k.flush=function(){return void 0===p?_:D(i())},k}},33448:function(e,t,r){var a=r(44239),i=r(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==a(e)}},7771:function(e,t,r){var a=r(55639);e.exports=function(){return a.Date.now()}},14841:function(e,t,r){var a=r(27561),i=r(13218),o=r(33448),n=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return n;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=a(e);var r=u.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?n:+e}},36887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;ri&&a.push(e.substring(i,r.index));var n=t.props.hrefDecorator(r.url),s=t.props.textDecorator(r.text),u=t.props.componentDecorator(n,s,o);a.push(u),i=r.lastIndex}),e.length>i&&a.push(e.substring(i)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"==typeof e?this.parseString(e):i.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?i.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map(function(e,r){return t.parse(e,r)}):e}},{key:"render",value:function(){return i.createElement(i.Fragment,null,this.parse(this.props.children))}}]),t}(i.Component);l.defaultProps={componentDecorator:o.default,hrefDecorator:n.default,matchDecorator:s.default,textDecorator:u.default},t.default=l},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(68337)),i=o(r(10248));function o(e){return e&&e.__esModule?e:{default:e}}var n=new a.default;n.tlds(i.default),t.default=function(e){return n.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,i=(a=r(36887))&&a.__esModule?a:{default:a};t.Z=i.default},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5577-80194f897feb81a1.js b/static/web/_next/static/chunks/5577-80194f897feb81a1.js new file mode 100644 index 000000000..480941fec --- /dev/null +++ b/static/web/_next/static/chunks/5577-80194f897feb81a1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5577],{97910:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var o=r(4942),n=r(87462),c=r(89739),s=r(63606),a=r(4340),i=r(97937),l=r(94184),u=r.n(l),p=r(98423),f=r(67294),d=r(53124),v=r(93355),y=r(92138),m=r(45987),k={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,f.useRef)([]),t=(0,f.useRef)(null);return(0,f.useEffect)(function(){var r=Date.now(),o=!1;e.current.forEach(function(e){if(e){o=!0;var n=e.style;n.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(n.transitionDuration="0s, 0s")}}),o&&(t.current=Date.now())}),e.current},g=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],b=function(e){var t=e.className,r=e.percent,o=e.prefixCls,c=e.strokeColor,s=e.strokeLinecap,a=e.strokeWidth,i=e.style,l=e.trailColor,p=e.trailWidth,d=e.transition,v=(0,m.Z)(e,g);delete v.gapPosition;var y=Array.isArray(r)?r:[r],k=Array.isArray(c)?c:[c],b=h(),C=a/2,x="M ".concat("round"===s?C:0,",").concat(C,"\n L ").concat("round"===s?100-a/2:100,",").concat(C),E=0;return f.createElement("svg",(0,n.Z)({className:u()("".concat(o,"-line"),t),viewBox:"0 0 100 ".concat(a),preserveAspectRatio:"none",style:i},v),f.createElement("path",{className:"".concat(o,"-line-trail"),d:x,strokeLinecap:s,stroke:l,strokeWidth:p||a,fillOpacity:"0"}),y.map(function(e,t){var r=1;switch(s){case"round":r=1-a/100;break;case"square":r=1-a/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(E,"px"),transition:d||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},c=k[t]||k[k.length-1];return E+=e,f.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:x,strokeLinecap:s,stroke:c,strokeWidth:a,fillOpacity:"0",ref:function(e){b[t]=e},style:n})}))};b.defaultProps=k,b.displayName="Line";var C=r(71002),x=r(97685),E=r(98924),O=0,j=(0,E.Z)(),N=function(e){var t=f.useState(),r=(0,x.Z)(t,2),o=r[0],n=r[1];return f.useEffect(function(){var e;n("rc_progress_".concat((j?(e=O,O+=1):e="TEST_OR_SSR",e)))},[]),e||o},Z=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function P(e){return+e.replace("%","")}function w(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var W=function(e,t,r,o,n,c,s,a,i,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,p=(100-o)/100*t;return"round"===i&&100!==o&&(p+=l/2)>=t&&(p=t-.01),{stroke:"string"==typeof a?a:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:p+u,transform:"rotate(".concat(n+r/100*360*((360-c)/360)+(0===c?0:({bottom:0,top:180,left:90,right:-90})[s]),"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},S=function(e){var t,r,o,c,s=e.id,a=e.prefixCls,i=e.steps,l=e.strokeWidth,p=e.trailWidth,d=e.gapDegree,v=void 0===d?0:d,y=e.gapPosition,k=e.trailColor,g=e.strokeLinecap,b=e.style,x=e.className,E=e.strokeColor,O=e.percent,j=(0,m.Z)(e,Z),S=N(s),D="".concat(S,"-gradient"),A=50-l/2,L=2*Math.PI*A,I=v>0?90+v/2:-90,_=L*((360-v)/360),R="object"===(0,C.Z)(i)?i:{count:i,space:2},z=R.count,M=R.space,T=W(L,_,0,100,I,v,y,k,g,l),F=w(O),$=w(E),q=$.find(function(e){return e&&"object"===(0,C.Z)(e)}),B=h();return f.createElement("svg",(0,n.Z)({className:u()("".concat(a,"-circle"),x),viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),style:b,id:s,role:"presentation"},j),q&&f.createElement("defs",null,f.createElement("linearGradient",{id:D,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(q).sort(function(e,t){return P(e)-P(t)}).map(function(e,t){return f.createElement("stop",{key:t,offset:e,stopColor:q[e]})}))),!z&&f.createElement("circle",{className:"".concat(a,"-circle-trail"),r:A,cx:0,cy:0,stroke:k,strokeLinecap:g,strokeWidth:p||l,style:T}),z?(t=Math.round(z*(F[0]/100)),r=100/z,o=0,Array(z).fill(null).map(function(e,n){var c=n<=t-1?$[0]:k,s=c&&"object"===(0,C.Z)(c)?"url(#".concat(D,")"):void 0,i=W(L,_,o,r,I,v,y,c,"butt",l,M);return o+=(_-i.strokeDashoffset+M)*100/_,f.createElement("circle",{key:n,className:"".concat(a,"-circle-path"),r:A,cx:0,cy:0,stroke:s,strokeWidth:l,opacity:1,style:i,ref:function(e){B[n]=e}})})):(c=0,F.map(function(e,t){var r=$[t]||$[$.length-1],o=r&&"object"===(0,C.Z)(r)?"url(#".concat(D,")"):void 0,n=W(L,_,c,e,I,v,y,r,g,l);return c+=e,f.createElement("circle",{key:t,className:"".concat(a,"-circle-path"),r:A,cx:0,cy:0,stroke:o,strokeLinecap:g,strokeWidth:l,opacity:0===e?0:1,style:n,ref:function(e){B[t]=e}})}).reverse()))};function D(e){return!e||e<0?0:e>100?100:e}function A(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}S.defaultProps=k,S.displayName="Circle";var L=function(e){var t,r,n,c,s,a=e.prefixCls,i=e.width,l=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,v=e.gapPosition,m=e.gapDegree,k=e.type,h=e.children,g=e.success,b=i||120,C=l||6,x="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=(r=(t={success:g,strokeColor:e.strokeColor}).success,n=t.strokeColor,[(void 0===r?{}:r).strokeColor||y.presetPrimaryColors.green,n||null]),O=u()("".concat(a,"-inner"),(0,o.Z)({},"".concat(a,"-circle-gradient"),x));return f.createElement("div",{className:O,style:{width:b,height:b,fontSize:.15*b+6}},f.createElement(S,{percent:(c=e.percent,[s=D(A({success:e.success,successPercent:e.successPercent})),D(D(c)-s)]),strokeWidth:C,trailWidth:C,strokeColor:E,strokeLinecap:void 0===d?"round":d,trailColor:void 0===p?null:p,prefixCls:a,gapDegree:m||0===m?m:"dashboard"===k?75:void 0,gapPosition:v||"dashboard"===k&&"bottom"||void 0}),h)},I=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nt.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r},_=function(e){var t=[];return Object.keys(e).forEach(function(r){var o=parseFloat(r.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[r]})}),(t=t.sort(function(e,t){return e.key-t.key})).map(function(e){var t=e.key,r=e.value;return"".concat(r," ").concat(t,"%")}).join(", ")},R=function(e,t){var r=e.from,o=void 0===r?y.presetPrimaryColors.blue:r,n=e.to,c=void 0===n?y.presetPrimaryColors.blue:n,s=e.direction,a=void 0===s?"rtl"===t?"to left":"to right":s,i=I(e,["from","to","direction"]);if(0!==Object.keys(i).length){var l=_(i);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(o,", ").concat(c,")")}},z=function(e){var t=e.prefixCls,r=e.direction,o=e.percent,c=e.strokeWidth,s=e.size,a=e.strokeColor,i=e.strokeLinecap,l=void 0===i?"round":i,u=e.children,p=e.trailColor,d=e.success,v=a&&"string"!=typeof a?R(a,r):{background:a},y="square"===l||"butt"===l?0:void 0,m=(0,n.Z)({width:"".concat(D(o),"%"),height:c||("small"===s?6:8),borderRadius:y},v),k=A(e),h={width:"".concat(D(k),"%"),height:c||("small"===s?6:8),borderRadius:y,backgroundColor:null==d?void 0:d.strokeColor},g=void 0!==k?f.createElement("div",{className:"".concat(t,"-success-bg"),style:h}):null;return f.createElement(f.Fragment,null,f.createElement("div",{className:"".concat(t,"-outer")},f.createElement("div",{className:"".concat(t,"-inner"),style:{backgroundColor:(void 0===p?null:p)||void 0,borderRadius:y}},f.createElement("div",{className:"".concat(t,"-bg"),style:m}),g)),u)},M=function(e){for(var t=e.size,r=e.steps,n=e.percent,c=e.strokeWidth,s=void 0===c?8:c,a=e.strokeColor,i=e.trailColor,l=void 0===i?null:i,p=e.prefixCls,d=e.children,v=Math.round(r*((void 0===n?0:n)/100)),y="small"===t?2:14,m=Array(r),k=0;kt.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nt.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};(0,v.b)("line","circle","dashboard");var F=(0,v.b)("normal","exception","active","success"),$=function(e){var t,r,l,v,y=e.prefixCls,m=e.className,k=e.steps,h=e.strokeColor,g=e.percent,b=void 0===g?0:g,C=e.size,x=void 0===C?"default":C,E=e.showInfo,O=void 0===E||E,j=e.type,N=void 0===j?"line":j,Z=T(e,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]),P=f.useContext(d.E_),w=P.getPrefixCls,W=P.direction,S=w("progress",y),I=(t=e.status,!F.includes(t)&&parseInt(void 0!==(r=A(e))?r.toString():b.toString(),10)>=100?"success":t||"normal"),_=function(t,r){var o,n=e.format,l=A(e);if(!O)return null;var u="line"===N;return n||"exception"!==r&&"success"!==r?o=(n||function(e){return"".concat(e,"%")})(D(b),D(l)):"exception"===r?o=u?f.createElement(a.Z,null):f.createElement(i.Z,null):"success"===r&&(o=u?f.createElement(c.Z,null):f.createElement(s.Z,null)),f.createElement("span",{className:"".concat(t,"-text"),title:"string"==typeof o?o:void 0},o)}(S,I),R=Array.isArray(h)?h[0]:h,$="string"==typeof h||Array.isArray(h)?h:void 0;"line"===N?v=k?f.createElement(M,(0,n.Z)({},e,{strokeColor:$,prefixCls:S,steps:k}),_):f.createElement(z,(0,n.Z)({},e,{strokeColor:R,prefixCls:S,direction:W}),_):("circle"===N||"dashboard"===N)&&(v=f.createElement(L,(0,n.Z)({},e,{strokeColor:R,prefixCls:S,progressStatus:I}),_));var q=u()(S,(l={},(0,o.Z)(l,"".concat(S,"-").concat("dashboard"===N&&"circle"||k&&"steps"||N),!0),(0,o.Z)(l,"".concat(S,"-status-").concat(I),!0),(0,o.Z)(l,"".concat(S,"-show-info"),O),(0,o.Z)(l,"".concat(S,"-").concat(x),x),(0,o.Z)(l,"".concat(S,"-rtl"),"rtl"===W),l),m);return f.createElement("div",(0,n.Z)({},(0,p.Z)(Z,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:q,role:"progressbar"}),v)}},62705:function(e,t,r){var o=r(55639).Symbol;e.exports=o},44239:function(e,t,r){var o=r(62705),n=r(89607),c=r(2333),s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?n(e):c(e)}},27561:function(e,t,r){var o=r(67990),n=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(n,""):e}},31957:function(e,t,r){var o="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=o},89607:function(e,t,r){var o=r(62705),n=Object.prototype,c=n.hasOwnProperty,s=n.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=c.call(e,a),r=e[a];try{e[a]=void 0;var o=!0}catch(n){}var i=s.call(e);return o&&(t?e[a]=r:delete e[a]),i}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,r){var o=r(31957),n="object"==typeof self&&self&&self.Object===Object&&self,c=o||n||Function("return this")();e.exports=c},67990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,r){var o=r(44239),n=r(37005);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==o(e)}},14841:function(e,t,r){var o=r(27561),n=r(13218),c=r(33448),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(c(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var r=i.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):a.test(e)?s:+e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5577-ce77da4314c60f70.js b/static/web/_next/static/chunks/5577-ce77da4314c60f70.js deleted file mode 100644 index c8067ed98..000000000 --- a/static/web/_next/static/chunks/5577-ce77da4314c60f70.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5577],{97910:function(e,t,r){"use strict";r.d(t,{Z:function(){return B}});var o=r(4942),n=r(87462),s=r(89739),a=r(63606),c=r(4340),i=r(97937),l=r(94184),u=r.n(l),p=r(98423),f=r(67294),d=r(53124),v=r(93355),y=r(92138),k=r(45987),m={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,f.useRef)([]),t=(0,f.useRef)(null);return(0,f.useEffect)(function(){var r=Date.now(),o=!1;e.current.forEach(function(e){if(e){o=!0;var n=e.style;n.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(n.transitionDuration="0s, 0s")}}),o&&(t.current=Date.now())}),e.current},g=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],b=function(e){var t=e.className,r=e.percent,o=e.prefixCls,s=e.strokeColor,a=e.strokeLinecap,c=e.strokeWidth,i=e.style,l=e.trailColor,p=e.trailWidth,d=e.transition,v=(0,k.Z)(e,g);delete v.gapPosition;var y=Array.isArray(r)?r:[r],m=Array.isArray(s)?s:[s],b=h(),C=c/2,x="M ".concat("round"===a?C:0,",").concat(C,"\n L ").concat("round"===a?100-c/2:100,",").concat(C),E=0;return f.createElement("svg",(0,n.Z)({className:u()("".concat(o,"-line"),t),viewBox:"0 0 100 ".concat(c),preserveAspectRatio:"none",style:i},v),f.createElement("path",{className:"".concat(o,"-line-trail"),d:x,strokeLinecap:a,stroke:l,strokeWidth:p||c,fillOpacity:"0"}),y.map(function(e,t){var r=1;switch(a){case"round":r=1-c/100;break;case"square":r=1-c/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(E,"px"),transition:d||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=m[t]||m[m.length-1];return E+=e,f.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:x,strokeLinecap:a,stroke:s,strokeWidth:c,fillOpacity:"0",ref:function(e){b[t]=e},style:n})}))};b.defaultProps=m,b.displayName="Line";var C=r(71002),x=r(97685),E=r(98924),O=0,N=(0,E.Z)(),Z=function(e){var t=f.useState(),r=(0,x.Z)(t,2),o=r[0],n=r[1];return f.useEffect(function(){var e;n("rc_progress_".concat((N?(e=O,O+=1):e="TEST_OR_SSR",e)))},[]),e||o},P=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function w(e){return+e.replace("%","")}function W(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var j=function(e,t,r,o,n,s,a,c,i,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,p=(100-o)/100*t;return"round"===i&&100!==o&&(p+=l/2)>=t&&(p=t-.01),{stroke:"string"==typeof c?c:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:p+u,transform:"rotate(".concat(n+r/100*360*((360-s)/360)+(0===s?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},D=function(e){var t,r,o,s,a=e.id,c=e.prefixCls,i=e.steps,l=e.strokeWidth,p=e.trailWidth,d=e.gapDegree,v=void 0===d?0:d,y=e.gapPosition,m=e.trailColor,g=e.strokeLinecap,b=e.style,x=e.className,E=e.strokeColor,O=e.percent,N=(0,k.Z)(e,P),D=Z(a),A="".concat(D,"-gradient"),L=50-l/2,S=2*Math.PI*L,I=v>0?90+v/2:-90,_=S*((360-v)/360),R="object"===(0,C.Z)(i)?i:{count:i,space:2},z=R.count,M=R.space,$=j(S,_,0,100,I,v,y,m,g,l),q=W(O),B=W(E),F=B.find(function(e){return e&&"object"===(0,C.Z)(e)}),T=h();return f.createElement("svg",(0,n.Z)({className:u()("".concat(c,"-circle"),x),viewBox:"".concat(-50," ").concat(-50," ").concat(100," ").concat(100),style:b,id:a,role:"presentation"},N),F&&f.createElement("defs",null,f.createElement("linearGradient",{id:A,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(F).sort(function(e,t){return w(e)-w(t)}).map(function(e,t){return f.createElement("stop",{key:t,offset:e,stopColor:F[e]})}))),!z&&f.createElement("circle",{className:"".concat(c,"-circle-trail"),r:L,cx:0,cy:0,stroke:m,strokeLinecap:g,strokeWidth:p||l,style:$}),z?(t=Math.round(z*(q[0]/100)),r=100/z,o=0,Array(z).fill(null).map(function(e,n){var s=n<=t-1?B[0]:m,a=s&&"object"===(0,C.Z)(s)?"url(#".concat(A,")"):void 0,i=j(S,_,o,r,I,v,y,s,"butt",l,M);return o+=(_-i.strokeDashoffset+M)*100/_,f.createElement("circle",{key:n,className:"".concat(c,"-circle-path"),r:L,cx:0,cy:0,stroke:a,strokeWidth:l,opacity:1,style:i,ref:function(e){T[n]=e}})})):(s=0,q.map(function(e,t){var r=B[t]||B[B.length-1],o=r&&"object"===(0,C.Z)(r)?"url(#".concat(A,")"):void 0,n=j(S,_,s,e,I,v,y,r,g,l);return s+=e,f.createElement("circle",{key:t,className:"".concat(c,"-circle-path"),r:L,cx:0,cy:0,stroke:o,strokeLinecap:g,strokeWidth:l,opacity:0===e?0:1,style:n,ref:function(e){T[t]=e}})}).reverse()))};function A(e){return!e||e<0?0:e>100?100:e}function L(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}D.defaultProps=m,D.displayName="Circle";var S=function(e){var t,r,n,s,a,c=e.prefixCls,i=e.width,l=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,v=e.gapPosition,k=e.gapDegree,m=e.type,h=e.children,g=e.success,b=i||120,C=l||6,x="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=(r=(t={success:g,strokeColor:e.strokeColor}).success,n=t.strokeColor,[(void 0===r?{}:r).strokeColor||y.presetPrimaryColors.green,n||null]),O=u()("".concat(c,"-inner"),(0,o.Z)({},"".concat(c,"-circle-gradient"),x));return f.createElement("div",{className:O,style:{width:b,height:b,fontSize:.15*b+6}},f.createElement(D,{percent:(s=e.percent,[a=A(L({success:e.success,successPercent:e.successPercent})),A(A(s)-a)]),strokeWidth:C,trailWidth:C,strokeColor:E,strokeLinecap:void 0===d?"round":d,trailColor:void 0===p?null:p,prefixCls:c,gapDegree:k||0===k?k:"dashboard"===m?75:void 0,gapPosition:v||"dashboard"===m&&"bottom"||void 0}),h)},I=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nt.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r},_=function(e){var t=[];return Object.keys(e).forEach(function(r){var o=parseFloat(r.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[r]})}),(t=t.sort(function(e,t){return e.key-t.key})).map(function(e){var t=e.key,r=e.value;return"".concat(r," ").concat(t,"%")}).join(", ")},R=function(e,t){var r=e.from,o=void 0===r?y.presetPrimaryColors.blue:r,n=e.to,s=void 0===n?y.presetPrimaryColors.blue:n,a=e.direction,c=void 0===a?"rtl"===t?"to left":"to right":a,i=I(e,["from","to","direction"]);if(0!==Object.keys(i).length){var l=_(i);return{backgroundImage:"linear-gradient(".concat(c,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(c,", ").concat(o,", ").concat(s,")")}},z=function(e){var t=e.prefixCls,r=e.direction,o=e.percent,s=e.strokeWidth,a=e.size,c=e.strokeColor,i=e.strokeLinecap,l=void 0===i?"round":i,u=e.children,p=e.trailColor,d=e.success,v=c&&"string"!=typeof c?R(c,r):{background:c},y="square"===l||"butt"===l?0:void 0,k=(0,n.Z)({width:"".concat(A(o),"%"),height:s||("small"===a?6:8),borderRadius:y},v),m=L(e),h={width:"".concat(A(m),"%"),height:s||("small"===a?6:8),borderRadius:y,backgroundColor:null==d?void 0:d.strokeColor},g=void 0!==m?f.createElement("div",{className:"".concat(t,"-success-bg"),style:h}):null;return f.createElement(f.Fragment,null,f.createElement("div",{className:"".concat(t,"-outer")},f.createElement("div",{className:"".concat(t,"-inner"),style:{backgroundColor:(void 0===p?null:p)||void 0,borderRadius:y}},f.createElement("div",{className:"".concat(t,"-bg"),style:k}),g)),u)},M=function(e){for(var t=e.size,r=e.steps,n=e.percent,s=e.strokeWidth,a=void 0===s?8:s,c=e.strokeColor,i=e.trailColor,l=void 0===i?null:i,p=e.prefixCls,d=e.children,v=Math.round(r*((void 0===n?0:n)/100)),y="small"===t?2:14,k=Array(r),m=0;mt.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nt.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};(0,v.b)("line","circle","dashboard");var q=(0,v.b)("normal","exception","active","success"),B=function(e){var t,r,l,v,y=e.prefixCls,k=e.className,m=e.steps,h=e.strokeColor,g=e.percent,b=void 0===g?0:g,C=e.size,x=void 0===C?"default":C,E=e.showInfo,O=void 0===E||E,N=e.type,Z=void 0===N?"line":N,P=$(e,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]),w=f.useContext(d.E_),W=w.getPrefixCls,j=w.direction,D=W("progress",y),I=(t=e.status,!q.includes(t)&&parseInt(void 0!==(r=L(e))?r.toString():b.toString(),10)>=100?"success":t||"normal"),_=function(t,r){var o,n=e.format,l=L(e);if(!O)return null;var u="line"===Z;return n||"exception"!==r&&"success"!==r?o=(n||function(e){return"".concat(e,"%")})(A(b),A(l)):"exception"===r?o=u?f.createElement(c.Z,null):f.createElement(i.Z,null):"success"===r&&(o=u?f.createElement(s.Z,null):f.createElement(a.Z,null)),f.createElement("span",{className:"".concat(t,"-text"),title:"string"==typeof o?o:void 0},o)}(D,I),R=Array.isArray(h)?h[0]:h,B="string"==typeof h||Array.isArray(h)?h:void 0;"line"===Z?v=m?f.createElement(M,(0,n.Z)({},e,{strokeColor:B,prefixCls:D,steps:m}),_):f.createElement(z,(0,n.Z)({},e,{strokeColor:R,prefixCls:D,direction:j}),_):("circle"===Z||"dashboard"===Z)&&(v=f.createElement(S,(0,n.Z)({},e,{strokeColor:R,prefixCls:D,progressStatus:I}),_));var F=u()(D,(l={},(0,o.Z)(l,"".concat(D,"-").concat("dashboard"===Z&&"circle"||m&&"steps"||Z),!0),(0,o.Z)(l,"".concat(D,"-status-").concat(I),!0),(0,o.Z)(l,"".concat(D,"-show-info"),O),(0,o.Z)(l,"".concat(D,"-").concat(x),x),(0,o.Z)(l,"".concat(D,"-rtl"),"rtl"===j),l),k);return f.createElement("div",(0,n.Z)({},(0,p.Z)(P,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:F,role:"progressbar"}),v)}},27561:function(e,t,r){var o=r(67990),n=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(n,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},33448:function(e,t,r){var o=r(44239),n=r(37005);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==o(e)}},14841:function(e,t,r){var o=r(27561),n=r(13218),s=r(33448),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return a;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var r=i.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):c.test(e)?a:+e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6962-30cefca99d7f1bf3.js b/static/web/_next/static/chunks/6962-30cefca99d7f1bf3.js new file mode 100644 index 000000000..9c7319b91 --- /dev/null +++ b/static/web/_next/static/chunks/6962-30cefca99d7f1bf3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6962],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},c=n(42135),u=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};u.displayName="DeleteOutlined";var i=a.forwardRef(u)},15746:function(e,t,n){"use strict";var r=n(21584);t.Z=r.Z},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},21584:function(e,t,n){"use strict";var r=n(4942),a=n(87462),o=n(71002),c=n(94184),u=n.n(c),i=n(67294),l=n(53124),s=n(99134),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},d=["xs","sm","md","lg","xl","xxl"],v=i.forwardRef(function(e,t){var n,c=i.useContext(l.E_),v=c.getPrefixCls,p=c.direction,m=i.useContext(s.Z),h=m.gutter,g=m.wrap,b=m.supportFlexGap,y=e.prefixCls,x=e.span,Z=e.order,C=e.offset,E=e.push,w=e.pull,k=e.className,O=e.children,S=e.flex,M=e.style,j=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),N=v("col",y),P={};d.forEach(function(t){var n,c={},u=e[t];"number"==typeof u?c.span=u:"object"===(0,o.Z)(u)&&(c=u||{}),delete j[t],P=(0,a.Z)((0,a.Z)({},P),(n={},(0,r.Z)(n,"".concat(N,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,r.Z)(n,"".concat(N,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,r.Z)(n,"".concat(N,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,r.Z)(n,"".concat(N,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,r.Z)(n,"".concat(N,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,r.Z)(n,"".concat(N,"-rtl"),"rtl"===p),n))});var R=u()(N,(n={},(0,r.Z)(n,"".concat(N,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(N,"-order-").concat(Z),Z),(0,r.Z)(n,"".concat(N,"-offset-").concat(C),C),(0,r.Z)(n,"".concat(N,"-push-").concat(E),E),(0,r.Z)(n,"".concat(N,"-pull-").concat(w),w),n),k,P),F={};if(h&&h[0]>0){var T=h[0]/2;F.paddingLeft=T,F.paddingRight=T}if(h&&h[1]>0&&!b){var I=h[1]/2;F.paddingTop=I,F.paddingBottom=I}return S&&(F.flex="number"==typeof S?"".concat(S," ").concat(S," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(S)?"0 0 ".concat(S):S,!1!==g||F.minWidth||(F.minWidth=0)),i.createElement("div",(0,a.Z)({},j,{style:(0,a.Z)((0,a.Z)({},F),M),className:R,ref:t}),O)});t.Z=v},92820:function(e,t,n){"use strict";var r=n(87462),a=n(4942),o=n(71002),c=n(97685),u=n(94184),i=n.n(u),l=n(67294),s=n(53124),f=n(98082),d=n(24308),v=n(93355),p=n(99134),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function h(e,t){var n=l.useState("string"==typeof e?e:""),r=(0,c.Z)(n,2),a=r[0],u=r[1],i=function(){if("object"===(0,o.Z)(e))for(var n=0;n0?-(z[0]/2):void 0,X=null!=z[1]&&z[1]>0?-(z[1]/2):void 0;if(W&&(V.marginLeft=W,V.marginRight=W),A){var Y=(0,c.Z)(z,2);V.rowGap=Y[1]}else X&&(V.marginTop=X,V.marginBottom=X);var K=(0,c.Z)(z,2),$=K[0],U=K[1],J=l.useMemo(function(){return{gutter:[$,U],wrap:w,supportFlexGap:A}},[$,U,w,A]);return l.createElement(p.Z.Provider,{value:J},l.createElement("div",(0,r.Z)({},k,{className:G,style:(0,r.Z)((0,r.Z)({},V),x),ref:t}),Z))});t.Z=g},71230:function(e,t,n){"use strict";var r=n(92820);t.Z=r.Z},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(71002),a=n(4942),o=n(87462),c=n(97685),u=n(94184),i=n.n(u),l=n(74902),s=n(67294),f=n(96774),d=n.n(f),v=n(21770),p=n(45987),m=n(1413),h=n(15105),g=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function b(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var x=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],Z=s.forwardRef(function(e,t){var n,r,c=e.prefixCls,u=e.value,l=e.valueIndex,f=e.onStartMove,d=e.style,v=e.render,Z=e.dragging,C=e.onOffsetChange,E=(0,p.Z)(e,x),w=s.useContext(g),k=w.min,O=w.max,S=w.direction,M=w.disabled,j=w.range,N=w.tabIndex,P=w.ariaLabelForHandle,R=w.ariaLabelledByForHandle,F=w.ariaValueTextFormatterForHandle,T="".concat(c,"-handle"),I=function(e){M||f(e,l)},L=b(S,u,k,O),H=s.createElement("div",(0,o.Z)({ref:t,className:i()(T,(n={},(0,a.Z)(n,"".concat(T,"-").concat(l+1),j),(0,a.Z)(n,"".concat(T,"-dragging"),Z),n)),style:(0,m.Z)((0,m.Z)({},L),d),onMouseDown:I,onTouchStart:I,onKeyDown:function(e){if(!M){var t=null;switch(e.which||e.keyCode){case h.Z.LEFT:t="ltr"===S||"btt"===S?-1:1;break;case h.Z.RIGHT:t="ltr"===S||"btt"===S?1:-1;break;case h.Z.UP:t="ttb"!==S?1:-1;break;case h.Z.DOWN:t="ttb"!==S?-1:1;break;case h.Z.HOME:t="min";break;case h.Z.END:t="max";break;case h.Z.PAGE_UP:t=2;break;case h.Z.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),C(t,l))}},tabIndex:M?null:y(N,l),role:"slider","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":u,"aria-disabled":M,"aria-label":y(P,l),"aria-labelledby":y(R,l),"aria-valuetext":null===(r=y(F,l))||void 0===r?void 0:r(u)},E));return v&&(H=v(H,{index:l,prefixCls:c,value:u,dragging:Z})),H}),C=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],E=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,c=e.onOffsetChange,u=e.values,i=e.handleRender,l=e.draggingIndex,f=(0,p.Z)(e,C),d=s.useRef({});return s.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=d.current[e])||void 0===t||t.focus()}}}),s.createElement(s.Fragment,null,u.map(function(e,t){return s.createElement(Z,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:l===t,prefixCls:n,style:y(r,t),key:t,value:e,valueIndex:t,onStartMove:a,onOffsetChange:c,render:i},f))}))});function w(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function k(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(g),l=u.direction,f=u.min,d=u.max,v=u.disabled,p=u.range,h="".concat(t,"-track"),b=(r-f)/(d-f),y=(a-f)/(d-f),x=function(e){!v&&c&&c(e,-1)},Z={};switch(l){case"rtl":Z.right="".concat(100*b,"%"),Z.width="".concat(100*y-100*b,"%");break;case"btt":Z.bottom="".concat(100*b,"%"),Z.height="".concat(100*y-100*b,"%");break;case"ttb":Z.top="".concat(100*b,"%"),Z.height="".concat(100*y-100*b,"%");break;default:Z.left="".concat(100*b,"%"),Z.width="".concat(100*y-100*b,"%")}return s.createElement("div",{className:i()(h,p&&"".concat(h,"-").concat(o+1)),style:(0,m.Z)((0,m.Z)({},Z),n),onMouseDown:x,onTouchStart:x})}function O(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(g),u=c.included,i=c.range,l=c.min,f=s.useMemo(function(){if(!i){if(0===r.length)return[];var e=null!=a?a:l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&eh},[eh,eB]),eG=s.useMemo(function(){return Object.keys(eM||{}).map(function(e){var t=eM[e],n={value:Number(e)};return t&&"object"===(0,r.Z)(t)&&!s.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eM]),eV=(n=void 0===ep||ep,o=s.useCallback(function(e){return isFinite(e),Math.max(eA,Math.min(e_,e))},[eA,e_]),u=s.useCallback(function(e){if(null!==eB){var t=eA+Math.round((o(e)-eA)/eB)*eB,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eB),n(e_),n(eA)),a=Number(t.toFixed(r));return eA<=a&&a<=e_?a:null}return null},[eB,eA,e_,o]),f=s.useCallback(function(e){var t=o(e),n=eG.map(function(e){return e.value});null!==eB&&n.push(u(e)),n.push(eA,e_);var r=n[0],a=e_-eA;return n.forEach(function(e){var n=Math.abs(t-e);n<=a&&(r=e,a=n)}),r},[eA,e_,eG,eB,o,u]),p=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,c=t[r],i=c+n,s=[];eG.forEach(function(e){s.push(e.value)}),s.push(eA,e_),s.push(u(c));var f=n>0?1:-1;"unit"===a?s.push(u(c+f*eB)):s.push(u(i)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=c:e>=c}),"unit"===a&&(s=s.filter(function(e){return e!==c}));var d="unit"===a?c:i,v=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var p=(0,l.Z)(t);return p[r]=o,e(p,n-f,r,a)}return o}return"min"===n?eA:"max"===n?e_:void 0},m=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=p(e,t,n,r);return{value:o,changed:o!==a}},h=function(e){return null===ez&&0===e||"number"==typeof ez&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(f),c=o[r],u=p(o,t,r,a);if(o[r]=u,!1===n){var i=ez||0;r>0&&o[r-1]!==c&&(o[r]=Math.max(o[r],o[r-1]+i)),r0;v-=1)for(var g=!0;h(o[v]-o[v-1])&&g;){var b=m(o,-1,v-1);o[v-1]=b.value,g=b.changed}for(var y=o.length-1;y>0;y-=1)for(var x=!0;h(o[y]-o[y-1])&&x;){var Z=m(o,-1,y-1);o[y-1]=Z.value,x=Z.changed}for(var C=0;C=0?es+1:2;for(n=n.slice(0,a);n.length=0&&eL.current.focus(e)}e7(null)},[e8]);var e9=s.useMemo(function(){return(!eg||null!==eB)&&eg},[eg,eB]),e6=(b=function(){null==ev||ev(e0(eq.current))},y=s.useState(null),Z=(x=(0,c.Z)(y,2))[0],C=x[1],k=s.useState(-1),j=(S=(0,c.Z)(k,2))[0],P=S[1],R=s.useState(eQ),T=(F=(0,c.Z)(R,2))[0],I=F[1],L=s.useState(eQ),D=(H=(0,c.Z)(L,2))[0],A=H[1],_=s.useRef(null),B=s.useRef(null),s.useEffect(function(){-1===j&&I(eQ)},[eQ,j]),s.useEffect(function(){return function(){document.removeEventListener("mousemove",_.current),document.removeEventListener("mouseup",B.current),document.removeEventListener("touchmove",_.current),document.removeEventListener("touchend",B.current)}},[]),z=function(e,t){T.some(function(t,n){return t!==e[n]})&&(void 0!==t&&C(t),I(e),e1(e))},G=function(e,t){if(-1===e){var n=D[0],r=D[D.length-1],a=t*(e_-eA);a=Math.min(a=Math.max(a,eA-n),e_-r),a=eX(n+a)-n,z(D.map(function(e){return e+a}))}else{var o=(0,l.Z)(T);o[e]=D[e];var c=eY(o,(e_-eA)*t,e,"dist");z(c.values,c.value)}},(V=s.useRef(G)).current=G,[j,Z,s.useMemo(function(){var e=(0,l.Z)(eQ).sort(function(e,t){return e-t}),t=(0,l.Z)(T).sort(function(e,t){return e-t});return e.every(function(e,n){return e===t[n]})?T:eQ},[eQ,T]),function(e,t){e.stopPropagation();var n=eQ[t];P(t),C(n),A(eQ);var r=w(e),a=r.pageX,o=r.pageY,c=function(e){e.preventDefault();var n,r=w(e),c=r.pageX,u=r.pageY,i=c-a,l=u-o,s=eH.current.getBoundingClientRect(),f=s.width,d=s.height;switch(eD){case"btt":n=-l/d;break;case"ttb":n=l/d;break;case"rtl":n=-i/f;break;default:n=i/f}V.current(t,n)},u=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",c),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",c),_.current=null,B.current=null,P(-1),b()};document.addEventListener("mouseup",u),document.addEventListener("mousemove",c),document.addEventListener("touchend",u),document.addEventListener("touchmove",c),_.current=c,B.current=u}]),e5=(0,c.Z)(e6,4),te=e5[0],tt=e5[1],tn=e5[2],tr=e5[3],ta=function(e,t){tr(e,t),null==ed||ed(e0(eq.current))},to=-1!==te;s.useEffect(function(){if(!to){var e=eQ.lastIndexOf(tt);eL.current.focus(e)}},[to]);var tc=s.useMemo(function(){return(0,l.Z)(tn).sort(function(e,t){return e-t})},[tn]),tu=s.useMemo(function(){return el?[tc[0],tc[tc.length-1]]:[eA,tc[0]]},[tc,el,eA]),ti=(0,c.Z)(tu,2),tl=ti[0],ts=ti[1];s.useImperativeHandle(t,function(){return{focus:function(){eL.current.focus(0)},blur:function(){var e=document.activeElement;eH.current.contains(e)&&(null==e||e.blur())}}}),s.useEffect(function(){Q&&eL.current.focus(0)},[]);var tf=s.useMemo(function(){return{min:eA,max:e_,direction:eD,disabled:J,step:eB,included:eZ,includedStart:tl,includedEnd:ts,range:el,tabIndex:eR,ariaLabelForHandle:eF,ariaLabelledByForHandle:eT,ariaValueTextFormatterForHandle:eI}},[eA,e_,eD,J,eB,eZ,tl,ts,el,eR,eF,eT,eI]);return s.createElement(g.Provider,{value:tf},s.createElement("div",{ref:eH,className:i()(Y,K,(W={},(0,a.Z)(W,"".concat(Y,"-disabled"),J),(0,a.Z)(W,"".concat(Y,"-vertical"),ey),(0,a.Z)(W,"".concat(Y,"-horizontal"),!ey),(0,a.Z)(W,"".concat(Y,"-with-marks"),eG.length),W)),style:$,onMouseDown:function(e){e.preventDefault();var t,n=eH.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,c=n.top,u=n.bottom,i=n.right,l=e.clientX,s=e.clientY;switch(eD){case"btt":t=(u-s)/a;break;case"ttb":t=(s-c)/a;break;case"rtl":t=(i-l)/r;break;default:t=(l-o)/r}e2(eX(eA+t*(e_-eA)))}},s.createElement("div",{className:"".concat(Y,"-rail"),style:ek}),s.createElement(O,{prefixCls:Y,style:eE,values:tc,startPoint:eC,onStartMove:e9?ta:null}),s.createElement(N,{prefixCls:Y,marks:eG,dots:ej,style:eO,activeStyle:eS}),s.createElement(E,{ref:eL,prefixCls:Y,style:ew,values:tn,draggingIndex:te,onStartMove:ta,onOffsetChange:function(e,t){if(!J){var n=eY(eQ,e,t);null==ed||ed(e0(eQ)),e1(n.values),null==ev||ev(e0(n.values)),e7(n.value)}},onFocus:q,onBlur:ee,handleRender:eN}),s.createElement(M,{prefixCls:Y,marks:eG,onClick:e2})))}),R=n(53124),F=n(75164),T=n(42550),I=n(94199),L=s.forwardRef(function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){F.Z.cancel(a.current),a.current=null}return s.useEffect(function(){return n?a.current=(0,F.Z)(function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null}):c(),c},[n,e.title]),s.createElement(I.Z,(0,o.Z)({ref:(0,T.sQ)(r,t)},e))}),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},D=s.forwardRef(function(e,t){var n=s.useContext(R.E_),u=n.getPrefixCls,l=n.direction,f=n.getPopupContainer,d=s.useState({}),v=(0,c.Z)(d,2),p=v[0],m=v[1],h=function(e,t){m(function(n){return(0,o.Z)((0,o.Z)({},n),(0,a.Z)({},e,t))})},g=e.prefixCls,b=e.range,y=e.className,x=H(e,["prefixCls","range","className"]),Z=u("slider",g),C=i()(y,(0,a.Z)({},"".concat(Z,"-rtl"),"rtl"===l));"rtl"!==l||x.vertical||(x.reverse=!x.reverse);var E=s.useMemo(function(){return b?"object"===(0,r.Z)(b)?[!0,b.draggableTrack]:[!0,!1]:[!1]},[b]),w=(0,c.Z)(E,2),k=w[0],O=w[1];return s.createElement(P,(0,o.Z)({},x,{step:x.step,range:k,draggableTrack:O,className:C,ref:t,prefixCls:Z,handleRender:function(t,n){var r,a=n.index,c=n.dragging,i=u(),d=e.tooltip,v=e.vertical,m=(0,o.Z)({formatter:null!==(r=e.tipFormatter)&&void 0!==r?r:function(e){return"number"==typeof e?e.toString():""},open:e.tooltipVisible,placement:e.tooltipPlacement,getPopupContainer:e.getTooltipPopupContainer},void 0===d?{}:d),g=m.open,b=m.placement,y=m.getPopupContainer,x=m.prefixCls,C=m.formatter,E=!!C&&(p[a]||c),w=(0,o.Z)((0,o.Z)({},t.props),{onMouseEnter:function(){return h(a,!0)},onMouseLeave:function(){return h(a,!1)}}),k=u("tooltip",x);return s.createElement(L,{prefixCls:k,title:C?C(n.value):"",open:g||void 0===g&&E,placement:b||(v?"rtl"===l?"left":"right":"top"),transitionName:"".concat(i,"-zoom-down"),key:a,overlayClassName:"".concat(Z,"-tooltip"),getPopupContainer:y||f},s.cloneElement(t,w))}}))})},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(87462),a=n(4942),o=n(50888),c=n(94184),u=n.n(c),i=n(97685),l=n(45987),s=n(67294),f=n(21770),d=n(15105),v=s.forwardRef(function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,c=e.className,v=e.checked,p=e.defaultChecked,m=e.disabled,h=e.loadingIcon,g=e.checkedChildren,b=e.unCheckedChildren,y=e.onClick,x=e.onChange,Z=e.onKeyDown,C=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),E=(0,f.Z)(!1,{value:v,defaultValue:p}),w=(0,i.Z)(E,2),k=w[0],O=w[1];function S(e,t){var n=k;return m||(O(n=e),null==x||x(n,t)),n}var M=u()(o,c,(n={},(0,a.Z)(n,"".concat(o,"-checked"),k),(0,a.Z)(n,"".concat(o,"-disabled"),m),n));return s.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":k,disabled:m,className:M,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?S(!1,e):e.which===d.Z.RIGHT&&S(!0,e),null==Z||Z(e)},onClick:function(e){var t=S(!k,e);null==y||y(t,e)}}),h,s.createElement("span",{className:"".concat(o,"-inner")},k?g:b))});v.displayName="Switch";var p=n(53124),m=n(98866),h=n(97647),g=n(68349),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},y=s.forwardRef(function(e,t){var n,c=e.prefixCls,i=e.size,l=e.disabled,f=e.loading,d=e.className,y=b(e,["prefixCls","size","disabled","loading","className"]),x=s.useContext(p.E_),Z=x.getPrefixCls,C=x.direction,E=s.useContext(h.Z),w=s.useContext(m.Z),k=Z("switch",c),O=s.createElement("div",{className:"".concat(k,"-handle")},f&&s.createElement(o.Z,{className:"".concat(k,"-loading-icon")})),S=u()((n={},(0,a.Z)(n,"".concat(k,"-small"),"small"===(i||E)),(0,a.Z)(n,"".concat(k,"-loading"),f),(0,a.Z)(n,"".concat(k,"-rtl"),"rtl"===C),n),void 0===d?"":d);return s.createElement(g.Z,{insertExtraNode:!0},s.createElement(v,(0,r.Z)({},y,{prefixCls:k,className:S,disabled:(null!=l?l:w)||f,ref:t,loadingIcon:O})))});y.__ANT_SWITCH=!0;var x=y},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),a=n(89607),o=n(2333),c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?a(e):o(e)}},27561:function(e,t,n){var r=n(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),a=Object.prototype,o=a.hasOwnProperty,c=a.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(a){}var i=c.call(e);return r&&(t?e[u]=n:delete e[u]),i}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),a=n(7771),o=n(14841),c=Math.max,u=Math.min;e.exports=function(e,t,n){var i,l,s,f,d,v,p=0,m=!1,h=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=i,r=l;return i=l=void 0,p=t,f=e.apply(r,n)}function y(e){var n=e-v,r=e-p;return void 0===v||n>=t||n<0||h&&r>=s}function x(){var e,n,r,o=a();if(y(o))return Z(o);d=setTimeout(x,(e=o-v,n=o-p,r=t-e,h?u(r,s-n):r))}function Z(e){return(d=void 0,g&&i)?b(e):(i=l=void 0,f)}function C(){var e,n=a(),r=y(n);if(i=arguments,l=this,v=n,r){if(void 0===d)return p=e=v,d=setTimeout(x,t),m?b(e):f;if(h)return clearTimeout(d),d=setTimeout(x,t),b(v)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,i=v=l=d=void 0},C.flush=function(){return void 0===d?f:Z(a())},C}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),a=n(13218),o=n(33448),c=0/0,u=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return c;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=i.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):u.test(e)?c:+e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6962-f197cc126c73fb7f.js b/static/web/_next/static/chunks/6962-f197cc126c73fb7f.js deleted file mode 100644 index 71553e1a5..000000000 --- a/static/web/_next/static/chunks/6962-f197cc126c73fb7f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6962],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},c=n(42135),u=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};u.displayName="DeleteOutlined";var i=a.forwardRef(u)},15746:function(e,t,n){"use strict";var r=n(21584);t.Z=r.Z},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},21584:function(e,t,n){"use strict";var r=n(4942),a=n(87462),o=n(71002),c=n(94184),u=n.n(c),i=n(67294),l=n(53124),s=n(99134),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},d=["xs","sm","md","lg","xl","xxl"],v=i.forwardRef(function(e,t){var n,c=i.useContext(l.E_),v=c.getPrefixCls,m=c.direction,p=i.useContext(s.Z),h=p.gutter,g=p.wrap,b=p.supportFlexGap,y=e.prefixCls,Z=e.span,x=e.order,C=e.offset,E=e.push,k=e.pull,w=e.className,O=e.children,M=e.flex,S=e.style,N=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=v("col",y),R={};d.forEach(function(t){var n,c={},u=e[t];"number"==typeof u?c.span=u:"object"===(0,o.Z)(u)&&(c=u||{}),delete N[t],R=(0,a.Z)((0,a.Z)({},R),(n={},(0,r.Z)(n,"".concat(P,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,r.Z)(n,"".concat(P,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,r.Z)(n,"".concat(P,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,r.Z)(n,"".concat(P,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,r.Z)(n,"".concat(P,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,r.Z)(n,"".concat(P,"-rtl"),"rtl"===m),n))});var j=u()(P,(n={},(0,r.Z)(n,"".concat(P,"-").concat(Z),void 0!==Z),(0,r.Z)(n,"".concat(P,"-order-").concat(x),x),(0,r.Z)(n,"".concat(P,"-offset-").concat(C),C),(0,r.Z)(n,"".concat(P,"-push-").concat(E),E),(0,r.Z)(n,"".concat(P,"-pull-").concat(k),k),n),w,R),F={};if(h&&h[0]>0){var I=h[0]/2;F.paddingLeft=I,F.paddingRight=I}if(h&&h[1]>0&&!b){var T=h[1]/2;F.paddingTop=T,F.paddingBottom=T}return M&&(F.flex="number"==typeof M?"".concat(M," ").concat(M," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(M)?"0 0 ".concat(M):M,!1!==g||F.minWidth||(F.minWidth=0)),i.createElement("div",(0,a.Z)({},N,{style:(0,a.Z)((0,a.Z)({},F),S),className:j,ref:t}),O)});t.Z=v},92820:function(e,t,n){"use strict";var r=n(87462),a=n(4942),o=n(71002),c=n(97685),u=n(94184),i=n.n(u),l=n(67294),s=n(53124),f=n(98082),d=n(24308),v=n(93355),m=n(99134),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function h(e,t){var n=l.useState("string"==typeof e?e:""),r=(0,c.Z)(n,2),a=r[0],u=r[1],i=function(){if("object"===(0,o.Z)(e))for(var n=0;n0?-(z[0]/2):void 0,X=null!=z[1]&&z[1]>0?-(z[1]/2):void 0;if(W&&(V.marginLeft=W,V.marginRight=W),A){var Y=(0,c.Z)(z,2);V.rowGap=Y[1]}else X&&(V.marginTop=X,V.marginBottom=X);var K=(0,c.Z)(z,2),$=K[0],U=K[1],J=l.useMemo(function(){return{gutter:[$,U],wrap:k,supportFlexGap:A}},[$,U,k,A]);return l.createElement(m.Z.Provider,{value:J},l.createElement("div",(0,r.Z)({},w,{className:G,style:(0,r.Z)((0,r.Z)({},V),Z),ref:t}),x))});t.Z=g},71230:function(e,t,n){"use strict";var r=n(92820);t.Z=r.Z},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(71002),a=n(4942),o=n(87462),c=n(97685),u=n(94184),i=n.n(u),l=n(74902),s=n(67294),f=n(96774),d=n.n(f),v=n(21770),m=n(45987),p=n(1413),h=n(15105),g=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function b(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var Z=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],x=s.forwardRef(function(e,t){var n,r,c=e.prefixCls,u=e.value,l=e.valueIndex,f=e.onStartMove,d=e.style,v=e.render,x=e.dragging,C=e.onOffsetChange,E=(0,m.Z)(e,Z),k=s.useContext(g),w=k.min,O=k.max,M=k.direction,S=k.disabled,N=k.range,P=k.tabIndex,R=k.ariaLabelForHandle,j=k.ariaLabelledByForHandle,F=k.ariaValueTextFormatterForHandle,I="".concat(c,"-handle"),T=function(e){S||f(e,l)},L=b(M,u,w,O),H=s.createElement("div",(0,o.Z)({ref:t,className:i()(I,(n={},(0,a.Z)(n,"".concat(I,"-").concat(l+1),N),(0,a.Z)(n,"".concat(I,"-dragging"),x),n)),style:(0,p.Z)((0,p.Z)({},L),d),onMouseDown:T,onTouchStart:T,onKeyDown:function(e){if(!S){var t=null;switch(e.which||e.keyCode){case h.Z.LEFT:t="ltr"===M||"btt"===M?-1:1;break;case h.Z.RIGHT:t="ltr"===M||"btt"===M?1:-1;break;case h.Z.UP:t="ttb"!==M?1:-1;break;case h.Z.DOWN:t="ttb"!==M?-1:1;break;case h.Z.HOME:t="min";break;case h.Z.END:t="max";break;case h.Z.PAGE_UP:t=2;break;case h.Z.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),C(t,l))}},tabIndex:S?null:y(P,l),role:"slider","aria-valuemin":w,"aria-valuemax":O,"aria-valuenow":u,"aria-disabled":S,"aria-label":y(R,l),"aria-labelledby":y(j,l),"aria-valuetext":null===(r=y(F,l))||void 0===r?void 0:r(u)},E));return v&&(H=v(H,{index:l,prefixCls:c,value:u,dragging:x})),H}),C=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],E=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,c=e.onOffsetChange,u=e.values,i=e.handleRender,l=e.draggingIndex,f=(0,m.Z)(e,C),d=s.useRef({});return s.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=d.current[e])||void 0===t||t.focus()}}}),s.createElement(s.Fragment,null,u.map(function(e,t){return s.createElement(x,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:l===t,prefixCls:n,style:y(r,t),key:t,value:e,valueIndex:t,onStartMove:a,onOffsetChange:c,render:i},f))}))});function k(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function w(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(g),l=u.direction,f=u.min,d=u.max,v=u.disabled,m=u.range,h="".concat(t,"-track"),b=(r-f)/(d-f),y=(a-f)/(d-f),Z=function(e){!v&&c&&c(e,-1)},x={};switch(l){case"rtl":x.right="".concat(100*b,"%"),x.width="".concat(100*y-100*b,"%");break;case"btt":x.bottom="".concat(100*b,"%"),x.height="".concat(100*y-100*b,"%");break;case"ttb":x.top="".concat(100*b,"%"),x.height="".concat(100*y-100*b,"%");break;default:x.left="".concat(100*b,"%"),x.width="".concat(100*y-100*b,"%")}return s.createElement("div",{className:i()(h,m&&"".concat(h,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},x),n),onMouseDown:Z,onTouchStart:Z})}function O(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(g),u=c.included,i=c.range,l=c.min,f=s.useMemo(function(){if(!i){if(0===r.length)return[];var e=null!=a?a:l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&eh},[eh,eB]),eG=s.useMemo(function(){return Object.keys(eS||{}).map(function(e){var t=eS[e],n={value:Number(e)};return t&&"object"===(0,r.Z)(t)&&!s.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eS]),eV=(n=void 0===em||em,o=s.useCallback(function(e){return isFinite(e),Math.max(eA,Math.min(e_,e))},[eA,e_]),u=s.useCallback(function(e){if(null!==eB){var t=eA+Math.round((o(e)-eA)/eB)*eB,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eB),n(e_),n(eA)),a=Number(t.toFixed(r));return eA<=a&&a<=e_?a:null}return null},[eB,eA,e_,o]),f=s.useCallback(function(e){var t=o(e),n=eG.map(function(e){return e.value});null!==eB&&n.push(u(e)),n.push(eA,e_);var r=n[0],a=e_-eA;return n.forEach(function(e){var n=Math.abs(t-e);n<=a&&(r=e,a=n)}),r},[eA,e_,eG,eB,o,u]),m=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,c=t[r],i=c+n,s=[];eG.forEach(function(e){s.push(e.value)}),s.push(eA,e_),s.push(u(c));var f=n>0?1:-1;"unit"===a?s.push(u(c+f*eB)):s.push(u(i)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=c:e>=c}),"unit"===a&&(s=s.filter(function(e){return e!==c}));var d="unit"===a?c:i,v=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var m=(0,l.Z)(t);return m[r]=o,e(m,n-f,r,a)}return o}return"min"===n?eA:"max"===n?e_:void 0},p=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=m(e,t,n,r);return{value:o,changed:o!==a}},h=function(e){return null===ez&&0===e||"number"==typeof ez&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(f),c=o[r],u=m(o,t,r,a);if(o[r]=u,!1===n){var i=ez||0;r>0&&o[r-1]!==c&&(o[r]=Math.max(o[r],o[r-1]+i)),r0;v-=1)for(var g=!0;h(o[v]-o[v-1])&&g;){var b=p(o,-1,v-1);o[v-1]=b.value,g=b.changed}for(var y=o.length-1;y>0;y-=1)for(var Z=!0;h(o[y]-o[y-1])&&Z;){var x=p(o,-1,y-1);o[y-1]=x.value,Z=x.changed}for(var C=0;C=0?es+1:2;for(n=n.slice(0,a);n.length=0&&eL.current.focus(e)}e7(null)},[e8]);var e9=s.useMemo(function(){return(!eg||null!==eB)&&eg},[eg,eB]),e6=(b=function(){null==ev||ev(e0(eq.current))},y=s.useState(null),x=(Z=(0,c.Z)(y,2))[0],C=Z[1],w=s.useState(-1),N=(M=(0,c.Z)(w,2))[0],R=M[1],j=s.useState(eQ),I=(F=(0,c.Z)(j,2))[0],T=F[1],L=s.useState(eQ),D=(H=(0,c.Z)(L,2))[0],A=H[1],_=s.useRef(null),B=s.useRef(null),s.useEffect(function(){-1===N&&T(eQ)},[eQ,N]),s.useEffect(function(){return function(){document.removeEventListener("mousemove",_.current),document.removeEventListener("mouseup",B.current),document.removeEventListener("touchmove",_.current),document.removeEventListener("touchend",B.current)}},[]),z=function(e,t){I.some(function(t,n){return t!==e[n]})&&(void 0!==t&&C(t),T(e),e1(e))},G=function(e,t){if(-1===e){var n=D[0],r=D[D.length-1],a=t*(e_-eA);a=Math.min(a=Math.max(a,eA-n),e_-r),a=eX(n+a)-n,z(D.map(function(e){return e+a}))}else{var o=(0,l.Z)(I);o[e]=D[e];var c=eY(o,(e_-eA)*t,e,"dist");z(c.values,c.value)}},(V=s.useRef(G)).current=G,[N,x,s.useMemo(function(){var e=(0,l.Z)(eQ).sort(function(e,t){return e-t}),t=(0,l.Z)(I).sort(function(e,t){return e-t});return e.every(function(e,n){return e===t[n]})?I:eQ},[eQ,I]),function(e,t){e.stopPropagation();var n=eQ[t];R(t),C(n),A(eQ);var r=k(e),a=r.pageX,o=r.pageY,c=function(e){e.preventDefault();var n,r=k(e),c=r.pageX,u=r.pageY,i=c-a,l=u-o,s=eH.current.getBoundingClientRect(),f=s.width,d=s.height;switch(eD){case"btt":n=-l/d;break;case"ttb":n=l/d;break;case"rtl":n=-i/f;break;default:n=i/f}V.current(t,n)},u=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",c),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",c),_.current=null,B.current=null,R(-1),b()};document.addEventListener("mouseup",u),document.addEventListener("mousemove",c),document.addEventListener("touchend",u),document.addEventListener("touchmove",c),_.current=c,B.current=u}]),e5=(0,c.Z)(e6,4),te=e5[0],tt=e5[1],tn=e5[2],tr=e5[3],ta=function(e,t){tr(e,t),null==ed||ed(e0(eq.current))},to=-1!==te;s.useEffect(function(){if(!to){var e=eQ.lastIndexOf(tt);eL.current.focus(e)}},[to]);var tc=s.useMemo(function(){return(0,l.Z)(tn).sort(function(e,t){return e-t})},[tn]),tu=s.useMemo(function(){return el?[tc[0],tc[tc.length-1]]:[eA,tc[0]]},[tc,el,eA]),ti=(0,c.Z)(tu,2),tl=ti[0],ts=ti[1];s.useImperativeHandle(t,function(){return{focus:function(){eL.current.focus(0)},blur:function(){var e=document.activeElement;eH.current.contains(e)&&(null==e||e.blur())}}}),s.useEffect(function(){Q&&eL.current.focus(0)},[]);var tf=s.useMemo(function(){return{min:eA,max:e_,direction:eD,disabled:J,step:eB,included:ex,includedStart:tl,includedEnd:ts,range:el,tabIndex:ej,ariaLabelForHandle:eF,ariaLabelledByForHandle:eI,ariaValueTextFormatterForHandle:eT}},[eA,e_,eD,J,eB,ex,tl,ts,el,ej,eF,eI,eT]);return s.createElement(g.Provider,{value:tf},s.createElement("div",{ref:eH,className:i()(Y,K,(W={},(0,a.Z)(W,"".concat(Y,"-disabled"),J),(0,a.Z)(W,"".concat(Y,"-vertical"),ey),(0,a.Z)(W,"".concat(Y,"-horizontal"),!ey),(0,a.Z)(W,"".concat(Y,"-with-marks"),eG.length),W)),style:$,onMouseDown:function(e){e.preventDefault();var t,n=eH.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,c=n.top,u=n.bottom,i=n.right,l=e.clientX,s=e.clientY;switch(eD){case"btt":t=(u-s)/a;break;case"ttb":t=(s-c)/a;break;case"rtl":t=(i-l)/r;break;default:t=(l-o)/r}e2(eX(eA+t*(e_-eA)))}},s.createElement("div",{className:"".concat(Y,"-rail"),style:ew}),s.createElement(O,{prefixCls:Y,style:eE,values:tc,startPoint:eC,onStartMove:e9?ta:null}),s.createElement(P,{prefixCls:Y,marks:eG,dots:eN,style:eO,activeStyle:eM}),s.createElement(E,{ref:eL,prefixCls:Y,style:ek,values:tn,draggingIndex:te,onStartMove:ta,onOffsetChange:function(e,t){if(!J){var n=eY(eQ,e,t);null==ed||ed(e0(eQ)),e1(n.values),null==ev||ev(e0(n.values)),e7(n.value)}},onFocus:q,onBlur:ee,handleRender:eP}),s.createElement(S,{prefixCls:Y,marks:eG,onClick:e2})))}),j=n(53124),F=n(75164),I=n(42550),T=n(94199),L=s.forwardRef(function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){F.Z.cancel(a.current),a.current=null}return s.useEffect(function(){return n?a.current=(0,F.Z)(function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null}):c(),c},[n,e.title]),s.createElement(T.Z,(0,o.Z)({ref:(0,I.sQ)(r,t)},e))}),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},D=s.forwardRef(function(e,t){var n=s.useContext(j.E_),u=n.getPrefixCls,l=n.direction,f=n.getPopupContainer,d=s.useState({}),v=(0,c.Z)(d,2),m=v[0],p=v[1],h=function(e,t){p(function(n){return(0,o.Z)((0,o.Z)({},n),(0,a.Z)({},e,t))})},g=e.prefixCls,b=e.range,y=e.className,Z=H(e,["prefixCls","range","className"]),x=u("slider",g),C=i()(y,(0,a.Z)({},"".concat(x,"-rtl"),"rtl"===l));"rtl"!==l||Z.vertical||(Z.reverse=!Z.reverse);var E=s.useMemo(function(){return b?"object"===(0,r.Z)(b)?[!0,b.draggableTrack]:[!0,!1]:[!1]},[b]),k=(0,c.Z)(E,2),w=k[0],O=k[1];return s.createElement(R,(0,o.Z)({},Z,{step:Z.step,range:w,draggableTrack:O,className:C,ref:t,prefixCls:x,handleRender:function(t,n){var r,a=n.index,c=n.dragging,i=u(),d=e.tooltip,v=e.vertical,p=(0,o.Z)({formatter:null!==(r=e.tipFormatter)&&void 0!==r?r:function(e){return"number"==typeof e?e.toString():""},open:e.tooltipVisible,placement:e.tooltipPlacement,getPopupContainer:e.getTooltipPopupContainer},void 0===d?{}:d),g=p.open,b=p.placement,y=p.getPopupContainer,Z=p.prefixCls,C=p.formatter,E=!!C&&(m[a]||c),k=(0,o.Z)((0,o.Z)({},t.props),{onMouseEnter:function(){return h(a,!0)},onMouseLeave:function(){return h(a,!1)}}),w=u("tooltip",Z);return s.createElement(L,{prefixCls:w,title:C?C(n.value):"",open:g||void 0===g&&E,placement:b||(v?"rtl"===l?"left":"right":"top"),transitionName:"".concat(i,"-zoom-down"),key:a,overlayClassName:"".concat(x,"-tooltip"),getPopupContainer:y||f},s.cloneElement(t,k))}}))})},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(87462),a=n(4942),o=n(50888),c=n(94184),u=n.n(c),i=n(97685),l=n(45987),s=n(67294),f=n(21770),d=n(15105),v=s.forwardRef(function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,c=e.className,v=e.checked,m=e.defaultChecked,p=e.disabled,h=e.loadingIcon,g=e.checkedChildren,b=e.unCheckedChildren,y=e.onClick,Z=e.onChange,x=e.onKeyDown,C=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),E=(0,f.Z)(!1,{value:v,defaultValue:m}),k=(0,i.Z)(E,2),w=k[0],O=k[1];function M(e,t){var n=w;return p||(O(n=e),null==Z||Z(n,t)),n}var S=u()(o,c,(n={},(0,a.Z)(n,"".concat(o,"-checked"),w),(0,a.Z)(n,"".concat(o,"-disabled"),p),n));return s.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":w,disabled:p,className:S,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?M(!1,e):e.which===d.Z.RIGHT&&M(!0,e),null==x||x(e)},onClick:function(e){var t=M(!w,e);null==y||y(t,e)}}),h,s.createElement("span",{className:"".concat(o,"-inner")},w?g:b))});v.displayName="Switch";var m=n(53124),p=n(98866),h=n(97647),g=n(68349),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},y=s.forwardRef(function(e,t){var n,c=e.prefixCls,i=e.size,l=e.disabled,f=e.loading,d=e.className,y=b(e,["prefixCls","size","disabled","loading","className"]),Z=s.useContext(m.E_),x=Z.getPrefixCls,C=Z.direction,E=s.useContext(h.Z),k=s.useContext(p.Z),w=x("switch",c),O=s.createElement("div",{className:"".concat(w,"-handle")},f&&s.createElement(o.Z,{className:"".concat(w,"-loading-icon")})),M=u()((n={},(0,a.Z)(n,"".concat(w,"-small"),"small"===(i||E)),(0,a.Z)(n,"".concat(w,"-loading"),f),(0,a.Z)(n,"".concat(w,"-rtl"),"rtl"===C),n),void 0===d?"":d);return s.createElement(g.Z,{insertExtraNode:!0},s.createElement(v,(0,r.Z)({},y,{prefixCls:w,className:M,disabled:(null!=l?l:k)||f,ref:t,loadingIcon:O})))});y.__ANT_SWITCH=!0;var Z=y},27561:function(e,t,n){var r=n(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),a=n(7771),o=n(14841),c=Math.max,u=Math.min;e.exports=function(e,t,n){var i,l,s,f,d,v,m=0,p=!1,h=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=i,r=l;return i=l=void 0,m=t,f=e.apply(r,n)}function y(e){var n=e-v,r=e-m;return void 0===v||n>=t||n<0||h&&r>=s}function Z(){var e,n,r,o=a();if(y(o))return x(o);d=setTimeout(Z,(e=o-v,n=o-m,r=t-e,h?u(r,s-n):r))}function x(e){return(d=void 0,g&&i)?b(e):(i=l=void 0,f)}function C(){var e,n=a(),r=y(n);if(i=arguments,l=this,v=n,r){if(void 0===d)return m=e=v,d=setTimeout(Z,t),p?b(e):f;if(h)return clearTimeout(d),d=setTimeout(Z,t),b(v)}return void 0===d&&(d=setTimeout(Z,t)),f}return t=o(t)||0,r(n)&&(p=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),m=0,i=v=l=d=void 0},C.flush=function(){return void 0===d?f:x(a())},C}},33448:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),a=n(13218),o=n(33448),c=0/0,u=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return c;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=i.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):u.test(e)?c:+e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7022-3b2d41956634908e.js b/static/web/_next/static/chunks/7022-3b2d41956634908e.js deleted file mode 100644 index 046a83a3d..000000000 --- a/static/web/_next/static/chunks/7022-3b2d41956634908e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7022],{88484:function(e,O,t){t.d(O,{Z:function(){return o}});var n=t(1413),a=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=t(42135),s=function(e,O){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:O,icon:i}))};s.displayName="UploadOutlined";var o=a.forwardRef(s)},94594:function(e,O,t){t.d(O,{Z:function(){return b}});var n=t(87462),a=t(4942),i=t(50888),r=t(94184),s=t.n(r),o=t(97685),l=t(45987),Q=t(67294),c=t(21770),p=t(15105),d=Q.forwardRef(function(e,O){var t,n=e.prefixCls,i=void 0===n?"rc-switch":n,r=e.className,d=e.checked,h=e.defaultChecked,f=e.disabled,u=e.loadingIcon,$=e.checkedChildren,m=e.unCheckedChildren,S=e.onClick,b=e.onChange,P=e.onKeyDown,g=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),T=(0,c.Z)(!1,{value:d,defaultValue:h}),X=(0,o.Z)(T,2),x=X[0],Z=X[1];function q(e,O){var t=x;return f||(Z(t=e),null==b||b(t,O)),t}var _=s()(i,r,(t={},(0,a.Z)(t,"".concat(i,"-checked"),x),(0,a.Z)(t,"".concat(i,"-disabled"),f),t));return Q.createElement("button",Object.assign({},g,{type:"button",role:"switch","aria-checked":x,disabled:f,className:_,ref:O,onKeyDown:function(e){e.which===p.Z.LEFT?q(!1,e):e.which===p.Z.RIGHT&&q(!0,e),null==P||P(e)},onClick:function(e){var O=q(!x,e);null==S||S(O,e)}}),u,Q.createElement("span",{className:"".concat(i,"-inner")},x?$:m))});d.displayName="Switch";var h=t(53124),f=t(98866),u=t(97647),$=t(68349),m=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},S=Q.forwardRef(function(e,O){var t,r=e.prefixCls,o=e.size,l=e.disabled,c=e.loading,p=e.className,S=m(e,["prefixCls","size","disabled","loading","className"]),b=Q.useContext(h.E_),P=b.getPrefixCls,g=b.direction,T=Q.useContext(u.Z),X=Q.useContext(f.Z),x=P("switch",r),Z=Q.createElement("div",{className:"".concat(x,"-handle")},c&&Q.createElement(i.Z,{className:"".concat(x,"-loading-icon")})),q=s()((t={},(0,a.Z)(t,"".concat(x,"-small"),"small"===(o||T)),(0,a.Z)(t,"".concat(x,"-loading"),c),(0,a.Z)(t,"".concat(x,"-rtl"),"rtl"===g),t),void 0===p?"":p);return Q.createElement($.Z,{insertExtraNode:!0},Q.createElement(d,(0,n.Z)({},S,{prefixCls:x,className:q,disabled:(null!=l?l:X)||c,ref:O,loadingIcon:Z})))});S.__ANT_SWITCH=!0;var b=S},20550:function(e,O,t){t.d(O,{Z:function(){return S}});var n=t(4942),a=t(87462),i=t(97685),r=t(97937),s=t(94184),o=t.n(s),l=t(98423),Q=t(67294),c=t(53124),p=t(98787),d=t(68349),h=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},f=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},u=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),$=RegExp("^(".concat(p.E.join("|"),")$")),m=Q.forwardRef(function(e,O){var t,s=e.prefixCls,p=e.className,h=e.style,m=e.children,S=e.icon,b=e.color,P=e.onClose,g=e.closeIcon,T=e.closable,X=f(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),x=Q.useContext(c.E_),Z=x.getPrefixCls,q=x.direction,_=Q.useState(!0),y=(0,i.Z)(_,2),k=y[0],V=y[1];Q.useEffect(function(){"visible"in X&&V(X.visible)},[X.visible]);var U=function(){return!!b&&(u.test(b)||$.test(b))},j=(0,a.Z)({backgroundColor:b&&!U()?b:void 0},h),w=U(),v=Z("tag",s),R=o()(v,(t={},(0,n.Z)(t,"".concat(v,"-").concat(b),w),(0,n.Z)(t,"".concat(v,"-has-color"),b&&!w),(0,n.Z)(t,"".concat(v,"-hidden"),!k),(0,n.Z)(t,"".concat(v,"-rtl"),"rtl"===q),t),p),C=function(e){e.stopPropagation(),null==P||P(e),!e.defaultPrevented&&("visible"in X||V(!1))},G="onClick"in X||m&&"a"===m.type,W=(0,l.Z)(X,["visible"]),Y=S||null,A=Y?Q.createElement(Q.Fragment,null,Y,Q.createElement("span",null,m)):m,L=Q.createElement("span",(0,a.Z)({},W,{ref:O,className:R,style:j}),A,void 0!==T&&T?g?Q.createElement("span",{className:"".concat(v,"-close-icon"),onClick:C},g):Q.createElement(r.Z,{className:"".concat(v,"-close-icon"),onClick:C}):null);return G?Q.createElement(d.Z,null,L):L});m.CheckableTag=function(e){var O,t=e.prefixCls,i=e.className,r=e.checked,s=e.onChange,l=e.onClick,p=h(e,["prefixCls","className","checked","onChange","onClick"]),d=(0,Q.useContext(c.E_).getPrefixCls)("tag",t),f=o()(d,(O={},(0,n.Z)(O,"".concat(d,"-checkable"),!0),(0,n.Z)(O,"".concat(d,"-checkable-checked"),r),O),i);return Q.createElement("span",(0,a.Z)({},p,{className:f,onClick:function(e){null==s||s(!r),null==l||l(e)}}))};var S=m},13804:function(e,O,t){t.r(O),t.d(O,{autoCloseTags:function(){return en},html:function(){return et},htmlCompletionSource:function(){return H},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return eO}});var n=t(53105),a=t(35524),i=t(41113);let r={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},s={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},o={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function l(e){return 9==e||10==e||13==e||32==e}let Q=null,c=null,p=0;function d(e,O){var t;let n=e.pos+O;if(p==n&&c==e)return Q;let a=e.peek(O);for(;l(a);)a=e.peek(++O);let i="";for(;45==(t=a)||46==t||58==t||t>=65&&t<=90||95==t||t>=97&&t<=122||t>=161;)i+=String.fromCharCode(a),a=e.peek(++O);return c=e,p=n,Q=i?i.toLowerCase():a==h||a==f?void 0:null}let h=63,f=33;function u(e,O){this.name=e,this.parent=O,this.hash=O?O.hash:0;for(let t=0;t$.indexOf(O)>-1?new u(d(n,1)||"",e):e,reduce:(e,O)=>18==O&&e?e.parent:e,reuse(e,O,t,n){let a=O.type.id;return 4==a||35==a?new u(d(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),S=new n.Jq((e,O)=>{if(60!=e.next){e.next<0&&O.context&&e.acceptToken(57);return}e.advance();let t=47==e.next;t&&e.advance();let n=d(e,0);if(void 0===n)return;if(!n)return e.acceptToken(t?12:4);let a=O.context?O.context.name:null;if(t){if(n==a)return e.acceptToken(9);if(a&&s[a])return e.acceptToken(57,-2);if(O.dialectEnabled(0))return e.acceptToken(10);for(let i=O.context;i;i=i.parent)if(i.name==n)return;e.acceptToken(11)}else{if("script"==n)return e.acceptToken(5);if("style"==n)return e.acceptToken(6);if("textarea"==n)return e.acceptToken(7);if(r.hasOwnProperty(n))return e.acceptToken(8);a&&o[a]&&o[a][n]?e.acceptToken(57,-1):e.acceptToken(4)}},{contextual:!0}),b=new n.Jq(e=>{for(let O=0,t=0;;t++){if(e.next<0){t&&e.acceptToken(58);break}if(45==e.next)O++;else if(62==e.next&&O>=2){t>3&&e.acceptToken(58,-2);break}else O=0;e.advance()}});function P(e,O,t){let a=2+e.length;return new n.Jq(n=>{for(let i=0,r=0,s=0;;s++){if(n.next<0){s&&n.acceptToken(O);break}if(0==i&&60==n.next||1==i&&47==n.next||i>=2&&ir?n.acceptToken(O,-r):n.acceptToken(t,-(r-2));break}else if((10==n.next||13==n.next)&&s){n.acceptToken(O,1);break}else i=r=0;n.advance()}})}let g=P("script",54,1),T=P("style",55,2),X=P("textarea",56,3),x=(0,a.Gv)({"Text RawText":a.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":a.pJ.angleBracket,TagName:a.pJ.tagName,"MismatchedCloseTag/TagName":[a.pJ.tagName,a.pJ.invalid],AttributeName:a.pJ.attributeName,"AttributeValue UnquotedAttributeValue":a.pJ.attributeValue,Is:a.pJ.definitionOperator,"EntityReference CharacterReference":a.pJ.character,Comment:a.pJ.blockComment,ProcessingInst:a.pJ.processingInstruction,DoctypeDecl:a.pJ.documentMeta}),Z=n.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",stateData:"+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:m,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[x],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_{let i=e.type.id;if(27==i)return q(e,O,t);if(30==i)return q(e,O,n);if(33==i)return q(e,O,a);if(o&&21==i){let r=e.node,s;if(s=r.firstChild){let l=o[O.read(s.from,s.to)];if(l)for(let Q of l){if(Q.tagName){if(!tagName){let c=r.parent.getChild(20);tagName=c?O.read(c.from,c.to):" "}if(attrTagName!=tagName)continue}let p=r.lastChild;if(24==p.type.id)return{parser:Q.parser,overlay:[{from:p.from+1,to:p.to-1}]};if(25==p.type.id)return{parser:Q.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}var y=t(61426),k=t(58037),V=t(47421),U=t(78120),j=t(59119);let w=["_blank","_self","_top","_parent"],v=["ascii","utf-8","utf-16","latin1","latin1"],R=["get","post","put","delete"],C=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],G=["true","false"],W={},Y={a:{attrs:{href:null,ping:null,type:null,media:null,target:w,hreflang:null}},abbr:W,address:W,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:W,aside:W,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:W,base:{attrs:{href:null,target:w}},bdi:W,bdo:W,blockquote:{attrs:{cite:null}},body:W,br:W,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:C,formmethod:R,formnovalidate:["novalidate"],formtarget:w,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:W,center:W,cite:W,code:W,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:W,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:W,div:W,dl:W,dt:W,em:W,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:W,figure:W,footer:W,form:{attrs:{action:null,name:null,"accept-charset":v,autocomplete:["on","off"],enctype:C,method:R,novalidate:["novalidate"],target:w}},h1:W,h2:W,h3:W,h4:W,h5:W,h6:W,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:W,hgroup:W,hr:W,html:{attrs:{manifest:null}},i:W,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:C,formmethod:R,formnovalidate:["novalidate"],formtarget:w,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:W,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:W,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:W,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:v,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:W,noscript:W,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:W,param:{attrs:{name:null,value:null}},pre:W,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:W,rt:W,ruby:W,samp:W,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:v}},section:W,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:W,source:{attrs:{src:null,type:null,media:null}},span:W,strong:W,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:W,summary:W,sup:W,table:W,tbody:W,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:W,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:W,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:W,time:{attrs:{datetime:null}},title:W,tr:W,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:W,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:W},A={accesskey:null,class:null,contenteditable:G,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:G,autocorrect:G,autocapitalize:G,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":G,"aria-autocomplete":["inline","list","both","none"],"aria-busy":G,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":G,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":G,"aria-hidden":G,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":G,"aria-multiselectable":G,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":G,"aria-relevant":null,"aria-required":G,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class L{constructor(e,O){this.tags=Object.assign(Object.assign({},Y),e),this.globalAttrs=Object.assign(Object.assign({},A),O),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function E(e,O,t=e.length){if(!O)return"";let n=O.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,t)):""}function J(e,O=!1){for(let t=e.parent;t;t=t.parent)if("Element"==t.name){if(!O)return t;O=!1}return null}function z(e,O,t){let n=t.tags[E(e,J(O,!0))];return(null==n?void 0:n.children)||t.allTags}function I(e,O){let t=[];for(let n=O;n=J(n);){let a=E(e,n);if(a&&"CloseTag"==n.lastChild.name)break;a&&0>t.indexOf(a)&&("EndTag"==O.name||O.from>=n.firstChild.to)&&t.push(a)}return t}L.default=new L;let B=/^[:\-\.\w\u00b7-\uffff]*$/;function M(e,O,t,n,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">";return{from:n,to:a,options:z(e.doc,t,O).map(e=>({label:e,type:"type"})).concat(I(e.doc,t).map((e,O)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-O}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function D(e,O,t,n){let a=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:I(e.doc,O).map((e,O)=>({label:e,apply:e+a,type:"type",boost:99-O})),validFor:B}}function N(e,O){let{state:t,pos:n}=O,a=(0,j.qz)(t).resolveInner(n),i=a.resolve(n,-1);for(let r=n,s;a==i&&(s=i.childBefore(r));){let o=s.lastChild;if(!o||!o.type.isError||o.from({label:e,type:"property"})),validFor:B}}return"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,O,t,n,a){var i;let r=null===(i=t.parent)||void 0===i?void 0:i.getChild("AttributeName"),s=[],o;if(r){let l=e.sliceDoc(r.from,r.to),Q=O.globalAttrs[l];if(!Q){let c=J(t),p=c?O.tags[E(e.doc,c)]:null;Q=(null==p?void 0:p.attrs)&&p.attrs[l]}if(Q){let d=e.sliceDoc(n,a).toLowerCase(),h='"',f='"';for(let u of(/^['"]/.test(d)?(o='"'==d[0]?/^[^"]*$/:/^[^']*$/,h="",f=e.sliceDoc(a,a+1)==d[0]?"":d[0],d=d.slice(1),n++):o=/^[^\s<>='"]*$/,Q))s.push({label:u,apply:h+u+f,type:"constant"})}}return{from:n,to:a,options:s,validFor:o}}(t,e,i,"Is"==i.name?n:i.from,n):O.explicit&&("Element"==a.name||"Text"==a.name||"Document"==a.name)?function(e,O,t,n){let a=[],i=0;for(let r of z(e.doc,t,O))a.push({label:"<"+r,type:"type"});for(let s of I(e.doc,t))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(t,e,i,n):null}function H(e){return N(L.default,e)}function F(e){let{extraTags:O,extraGlobalAttributes:t}=e,n=t||O?new L(O,t):L.default;return e=>N(n,e)}let K=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:k.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:k.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:k.tsxLanguage.parser},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:k.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:y.cssLanguage.parser}],ee=[{name:"style",parser:y.cssLanguage.parser.configure({top:"Styles"})}].concat("beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>({name:"on"+e,parser:k.javascriptLanguage.parser}))),eO=j.qp.define({name:"html",parser:Z.configure({props:[j.uj.add({Element(e){let O=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+O[0].length?e.continue():e.lineIndent(e.node.from)+(O[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function et(e={}){let O="",t;!1===e.matchClosingTags&&(O="noMatch"),!0===e.selfClosingTags&&(O=(O?O+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=_((e.nestedLanguages||[]).concat(K),(e.nestedAttributes||[]).concat(ee)));let n=t||O?eO.configure({dialect:O,wrap:t}):eO;return new j.ri(n,[eO.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?en:[],(0,k.javascript)().support,(0,y.css)().support])}let en=V.tk.inputHandler.of((e,O,t,n)=>{if(e.composing||e.state.readOnly||O!=t||">"!=n&&"/"!=n||!eO.isActiveAt(e.state,O,-1))return!1;let{state:a}=e,i=a.changeByRange(O=>{var t,i,r;let{head:s}=O,o=(0,j.qz)(a).resolveInner(s,-1),l;if(("TagName"==o.name||"StartTag"==o.name)&&(o=o.parent),">"==n&&"OpenTag"==o.name){if((null===(i=null===(t=o.parent)||void 0===t?void 0:t.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(l=E(a.doc,o.parent,s))){let Q=">"===e.state.doc.sliceString(s,s+1),c=`${Q?"":">"}`;return{range:U.jT.cursor(s+1),changes:{from:s+(Q?1:0),insert:c}}}}else if("/"==n&&"OpenTag"==o.name){let p=o.parent,d=null==p?void 0:p.parent;if(p.from==s-1&&(null===(r=d.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(l=E(a.doc,d,s))){let h=">"===e.state.doc.sliceString(s,s+1),f=`/${l}${h?"":">"}`,u=s+f.length+(h?1:0);return{range:U.jT.cursor(u),changes:{from:s,insert:f}}}}return{range:O}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,O,t){t.r(O),t.d(O,{autoCloseTags:function(){return L},completionPath:function(){return U},esLint:function(){return E},javascript:function(){return W},javascriptLanguage:function(){return w},jsxLanguage:function(){return R},localCompletionSource:function(){return k},scopeCompletionSource:function(){return j},snippets:function(){return g},tsxLanguage:function(){return C},typescriptLanguage:function(){return v}});var n=t(53105),a=t(35524);let i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],r=new n.IK({start:!1,shift:(e,O)=>5==O||6==O||299==O?e:300==O,strict:!1}),s=new n.Jq((e,O)=>{let{next:t}=e;(125==t||-1==t||O.context)&&O.canShift(297)&&e.acceptToken(297)},{contextual:!0,fallback:!0}),o=new n.Jq((e,O)=>{let{next:t}=e,n;!(i.indexOf(t)>-1)&&(47!=t||47!=(n=e.peek(1))&&42!=n)&&125!=t&&59!=t&&-1!=t&&!O.context&&O.canShift(294)&&e.acceptToken(294)},{contextual:!0}),l=new n.Jq((e,O)=>{let{next:t}=e;if((43==t||45==t)&&(e.advance(),t==e.next)){e.advance();let n=!O.context&&O.canShift(2);e.acceptToken(n?2:3)}},{contextual:!0}),Q=new n.Jq(e=>{for(let O=!1,t=0;;t++){let{next:n}=e;if(n<0){t&&e.acceptToken(295);break}if(96==n){t?e.acceptToken(295):e.acceptToken(296,1);break}if(123==n&&O){1==t?e.acceptToken(4,1):e.acceptToken(295,-1);break}if(10==n&&t){e.advance(),e.acceptToken(295);break}else 92==n&&e.advance();O=36==n,e.advance()}}),c=new n.Jq((e,O)=>{if(101==e.next&&O.dialectEnabled(1)){e.advance();for(let t=0;t<6;t++){if(e.next!="xtends".charCodeAt(t))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),p=(0,a.Gv)({"get set async static":a.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":a.pJ.controlKeyword,"in of await yield void typeof delete instanceof":a.pJ.operatorKeyword,"let var const function class extends":a.pJ.definitionKeyword,"import export from":a.pJ.moduleKeyword,"with debugger as new":a.pJ.keyword,TemplateString:a.pJ.special(a.pJ.string),super:a.pJ.atom,BooleanLiteral:a.pJ.bool,this:a.pJ.self,null:a.pJ.null,Star:a.pJ.modifier,VariableName:a.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":a.pJ.function(a.pJ.variableName),VariableDefinition:a.pJ.definition(a.pJ.variableName),Label:a.pJ.labelName,PropertyName:a.pJ.propertyName,PrivatePropertyName:a.pJ.special(a.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":a.pJ.function(a.pJ.propertyName),"FunctionDeclaration/VariableDefinition":a.pJ.function(a.pJ.definition(a.pJ.variableName)),"ClassDeclaration/VariableDefinition":a.pJ.definition(a.pJ.className),PropertyDefinition:a.pJ.definition(a.pJ.propertyName),PrivatePropertyDefinition:a.pJ.definition(a.pJ.special(a.pJ.propertyName)),UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,RegExp:a.pJ.regexp,Equals:a.pJ.definitionOperator,Arrow:a.pJ.function(a.pJ.punctuation),": Spread":a.pJ.punctuation,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"InterpolationStart InterpolationEnd":a.pJ.special(a.pJ.brace),".":a.pJ.derefOperator,", ;":a.pJ.separator,"@":a.pJ.meta,TypeName:a.pJ.typeName,TypeDefinition:a.pJ.definition(a.pJ.typeName),"type enum interface implements namespace module declare":a.pJ.definitionKeyword,"abstract global Privacy readonly override":a.pJ.modifier,"is keyof unique infer":a.pJ.operatorKeyword,JSXAttributeValue:a.pJ.attributeValue,JSXText:a.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":a.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":a.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":a.pJ.attributeName,"JSXBuiltin/JSXIdentifier":a.pJ.standard(a.pJ.tagName)}),d={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:50,true:58,false:58,null:68,void:72,typeof:76,super:92,new:126,await:143,yield:145,delete:146,class:156,extends:158,public:213,private:213,protected:213,readonly:215,instanceof:234,satisfies:237,in:238,const:240,import:272,keyof:327,unique:331,infer:337,is:373,abstract:393,implements:395,type:397,let:400,var:402,interface:409,enum:413,namespace:419,module:421,declare:425,global:429,for:450,of:459,while:462,with:466,do:470,if:474,else:476,switch:480,case:486,try:492,catch:496,finally:500,return:504,throw:508,break:512,continue:516,debugger:520},h={__proto__:null,async:113,get:115,set:117,public:175,private:175,protected:175,static:177,abstract:179,override:181,readonly:187,accessor:189,new:377},f={__proto__:null,"<":133},u=n.WQ.deserialize({version:14,states:"$CWO`QdOOO$}QdOOO)WQ(C|O'#ChO)_OWO'#DYO+jQdO'#D_O+zQdO'#DjO$}QdO'#DtO.OQdO'#DzOOQ(C['#ET'#ETO.fQ`O'#EQOOQO'#IW'#IWO.nQ`O'#GgOOQO'#Ee'#EeO.yQ`O'#EdO/OQ`O'#EdO1QQ(C|O'#JQO3nQ(C|O'#JRO4_Q`O'#FSO4dQ!bO'#FkOOQ(C['#F['#F[O4oO#tO'#F[O4}Q&jO'#FrO6bQ`O'#FqOOQ(C['#JR'#JROOQ(CW'#JQ'#JQOOQS'#Jk'#JkO6gQ`O'#H{O6lQ(ChO'#H|OOQS'#Iu'#IuOOQS'#IO'#IOQ`QdOOO$}QdO'#DlO6tQ`O'#GgO6yQ&jO'#CmO7XQ`O'#EcO7dQ`O'#EnO7iQ&jO'#FZO8TQ`O'#GgO8YQ`O'#GkO8eQ`O'#GkO8sQ`O'#GnO8sQ`O'#GoO8sQ`O'#GqO6tQ`O'#GtO9dQ`O'#GwO:uQ`O'#CdO;VQ`O'#HUO;_Q`O'#H[O;_Q`O'#H^O`QdO'#H`O;_Q`O'#HbO;_Q`O'#HeO;dQ`O'#HkO;iQ(CjO'#HqO$}QdO'#HsO;tQ(CjO'#HuOWQpO'#FZO$}QdO'#DZOOOW'#IQ'#IQO>`OWO,59tOOQ(C[,59t,59tO>kQdO'#IRO?OQ`O'#JSOAQQtO'#JSO)jQdO'#JSOAXQ`O,59yOAoQ`O'#EeOA|Q`O'#J`OBXQ`O'#J_OBXQ`O'#J_OBaQ`O,5;ROBfQ`O'#J^OOQ(C[,5:U,5:UOBmQdO,5:UODnQ(C|O,5:`OE_Q`O,5:fOEdQ`O'#J[OF^Q(ChO'#J]O8YQ`O'#J[OFeQ`O'#J[OFmQ`O,5;QOFrQ`O'#J[OOQ(C]'#Ch'#ChO$}QdO'#DzOGfQpO,5:lOOQO'#JX'#JXOOQO-EgOOQS'#Ix'#IxOOQS,5>h,5>hOOQS-E;|-E;|O!.xQ(C|O,5:WOOQ(CX'#Cp'#CpO!/lQ&kO,5=ROOQO'#Cf'#CfO!/}Q(ChO'#IyO6bQ`O'#IyO;dQ`O,59XO!0`Q!bO,59XO!0hQ&jO,59XO6yQ&jO,59XO!0sQ`O,5;OO!0{Q`O'#HTO!1ZQ`O'#JoO$}QdO,5;sO!1cQ,UO,5;uO!1hQ`O,5=nO!1mQ`O,5=nO!1rQ`O,5=nO6lQ(ChO,5=nO!2QQ`O'#EgO!2wQ,UO'#EhOOQ(CW'#J^'#J^O!3OQ(ChO'#JlO6lQ(ChO,5=VO8sQ`O,5=]OOQP'#Cs'#CsO!3ZQ!bO,5=YO!3cQ!cO,5=ZO!3nQ`O,5=]O!3sQpO,5=`O;dQ`O'#GyO6tQ`O'#G{O!3{Q`O'#G{O6yQ&jO'#HOO!4QQ`O'#HOOOQS,5=c,5=cO!4VQ`O'#HPO!4_Q`O'#CmO!4dQ`O,59OO!4nQ`O,59OO!6sQdO,59OOOQS,59O,59OO!7QQ(ChO,59OO$}QdO,59OO!7]QdO'#HWOOQS'#HX'#HXOOQS'#HY'#HYO`QdO,5=pO!7mQ`O,5=pO`QdO,5=vO`QdO,5=xO!7rQ`O,5=zO`QdO,5=|O!7wQ`O,5>PO!7|QdO,5>VOOQS,5>],5>]O$}QdO,5>]O6lQ(ChO,5>_OOQS,5>a,5>aO!aOOQS,5>c,5>cO!cOOQS,5>e,5>eO!mO)jQdO,5>mOOQO,5>s,5>sO!CUQdO'#IROOQO-ExOOQ(CW-E<[-E<[O#5]Q(C}O1G0tOOQ(C[1G0t1G0tO#7hQ(C|O1G1YO#8[Q!bO,5;}O#8dQ!bO,5OQ,UO'#GXOOQ(C],5=Q,5=QOKhQ&jO,5?hOKhQ&jO,5?hO#>TQ`O'#IcO#>`Q`O,5?gO#>hQ`O,59^O#?XQ&kO,59mOOQ(C],59m,59mO#?zQ&kO,5<`O#@mQ&kO,5mO$)XQ`O1G5YO$)aQ`O1G5eO$)iQtO1G5fO8YQ`O,5>sO$)sQ`O1G5bO$)sQ`O1G5bO8YQ`O1G5bO$){Q(C|O1G5cO$}QdO1G5cO$*]Q(ChO1G5cO$*nQ`O,5>uO8YQ`O,5>uOOQO,5>u,5>uO$+SQ`O,5>uOOQO-Ez,5>zO$8rQ`O,5>zOOQ(C]1G2Z1G2ZP$8wQ`O'#I`POQ(C]-E<^-E<^O$9hQ&kO1G2gO$:ZQ&kO1G2iO$:eQqO1G2kOOQ(C]1G2S1G2SO$:lQ`O'#I_O$:zQ`O,5@SO$:zQ`O,5@SO$;SQ`O,5@SO$;_Q`O,5@SOOQO1G2U1G2UO$;mQ&kO1G2TOKhQ&jO1G2TO$;}QMhO'#IaO$<_Q`O,5@TOJRQ&jO,5@TO$|,5>|OOQO-E<`-E<`OOQ(C]1G2]1G2]O!)dQ,UO,5},5>}OOQO-EkQqO'#JjO$(iQ`O7+(XO$>uQ`O7+(XO$>}QqO7+(XO$?XQ(CyO'#ChO$?lQ(CyO,5ROOQS,5>R,5>RO$}QdO'#HhO$EoQ`O'#HjOOQS,5>X,5>XO8YQ`O,5>XOOQS,5>Z,5>ZOOQS7+)]7+)]OOQS7+)c7+)cOOQS7+)g7+)gOOQS7+)i7+)iO$EtQ!bO1G5[O$FYQ!LUO1G0oO$FdQ`O1G0oOOQO1G/k1G/kO$FoQ!LUO1G/kO$FyQ`O,5?pO;dQ`O1G/kOMqQdO'#DeOOQO,5>n,5>nOOQO-Et,5>tOOQO-EoOOQO-EpO$}QdO,5>pOOQO-ExOOOO7+'_7+'_OOOW1G/S1G/SOOQ(C]1G4f1G4fOKhQ&jO7+(VO%7}Q`O,5>yO6tQ`O,5>yOOQO-E<]-E<]O%8]Q`O1G5nO%8]Q`O1G5nO%8eQ`O1G5nO%8pQ&kO7+'oO%9QQqO,5>{O%9[Q`O,5>{OJRQ&jO,5>{OOQO-E<_-E<_O%9aQqO1G5oO%9kQ`O1G5oOOQ(CW1G2_1G2_O$VQdO'#JUO%>^Q,UO'#E[O%>tQ(ChO'#E[O$$sQ(DjO'#E[O$%hQ,UO'#G}OOQO'#Ih'#IhO%?YQ,UO,5=hOOQS,5=h,5=hO%?aQ,UO'#E[O%?rQ,UO'#E[O%@YQ,UO'#E[O%@vQ,UO'#G}O%AXQ`O7+(mO%A^Q`O7+(mO%AfQqO7+(mOOQS7+(m7+(mOJRQ&jO7+(mO$}QdO7+(mOJRQ&jO7+(mO%ApQaO7+(mOOQS7+(p7+(pO6lQ(ChO7+(pO#=PQ`O7+(pO6bQ`O7+(pO!0`Q!bO7+(pO%BOQ`O,5?TOOQO-ESOOQS,5>U,5>UO%CYQ`O1G3sO8YQ`O7+&ZOMqQdO7+&ZOOQ(CW1G5[1G5[OOQO7+%V7+%VO%C_Q!LUO1G5fO;dQ`O7+%VO;dQ`O1G0VOOQO1G0b1G0bO$}QdO1G0bO%CiQ(ChO1G0bO%CtQ(ChO1G0bO!0`Q!bO1G0VO$%_Q,UO1G0VO%DSQ,UO1G0VO%DaQ(DjO1G0bO%D{Q,UO1G0VO$%_Q,UO1G0bO%E]Q,UO1G0bO%EvQ(ChO1G0bOOQO1G0V1G0VO%F[Q(C|O1G0bOOQ(C[<VQdO,5iQ!LVO7+'qO&@_Q&kOG26wOOQO<wAN>wO;dQ`OAN>wO$}QdOAN?SO!0`Q!bOAN>wO&ATQ(ChOAN?SO$%_Q,UOAN>wO&A`Q(ChOAN?SOOQS!$(!P!$(!PO$(iQ`O!$(!PO&AnQ(C}OG26wOOQ(CWG26lG26lOOQO<SO!T+rO!U'wX~O!U+tO~O!_+kO#T+jO!T#]X!U#]X~O!T+uO!U(TX~O!U+wO~O]&VOl&VO{+nO'k$vO's)TO~O!Z+xO![+xO~P!AQO_+}O!U,PO!Y,QO!Z+|O![+|O!u;WO!y,UO!z,SO!{,TO!|,RO#P,VO#Q,VO'|+zO~P!AQOP,[O!V&cO!q,ZO~Oo,aO~O!Q&ua!T&ua~P!-RO!S,eO!Q&uX!T&uX~P$}O!T&rO!Q'va~O!Q'va~P?WO!T&yO!Q(Ra~O{%WO!S,iO!V%XO'j$tO!Q&{X!T&{X~O!T'WO!e(Oa~O{%WO!V%XO#_,lO'j$tO~O#T,nO!T(Pa!e(Pa_(Pa'e(Pa~O!_#UO~P!DvO{%WO!S,qO!V%XO!uXO#^,sO#_,qO'j$tO!T&}X!e&}X~Oy,wO!f#XO~OP,{O!V&cO!q,zO%],yO'n$bO~O_#Wi!T#Wi'e#Wi'a#Wi!Q#Wi!e#Wio#Wi!V#Wi%]#Wi!_#Wi~P!-ROP=mOx(mO{(nO(U(pO(V(rO~O#`#Sa!T#Sa!e#Sa#T#Sa!V#Sa_#Sa'e#Sa!Q#Sa~P!G[O!d#WOP'qXx'qX{'qX(U'qX(V'qXQ'qXZ'qXk'qXy'qX!T'qX!c'qX!f'qX!l'qX#c'qX#d'qX#e'qX#f'qX#g'qX#h'qX#i'qX#j'qX#k'qX#m'qX#o'qX#q'qX#r'qX'r'qX'}'qX~O#`'qX_'qX'e'qX!e'qX!Q'qX'a'qX!V'qX#T'qXo'qX%]'qX!_'qX~P!HZO!T-UOe'yX~P!&VOe-WO~O!T-XO!e'zX~P!-RO!e-[O~O!Q-^O~OQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO'rROZ#bi_#bik#bi!T#bi!c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O#c#bi~P!KrO#c#_O~P!KrOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O'rROZ#bi_#bi!T#bi!c#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~Ok#bi~P!NdOk#aO~P!NdOQ#lOk#aOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO'rRO_#bi!T#bi#m#bi#o#bi#q#bi#r#bi'e#bi'}#bi(U#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~OZ#bi!c#bi#h#bi#i#bi#j#bi#k#bi~P##UOZ#sO!c#cO#h#cO#i#cO#j#rO#k#cO~P##UOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO'rRO_#bi!T#bi#o#bi#q#bi#r#bi'e#bi'}#bi(V#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O(U#bi~P#&VO(U#]O~P#&VOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO#o#fO'rRO(U#]O_#bi!T#bi#q#bi#r#bi'e#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~O(V#bi~P#(wO(V#^O~P#(wOQ#lOZ#sOk#aOx#YOy#ZO{#[O!c#cO!d#WO!f#XO!l#lO#c#_O#d#`O#e#`O#f#`O#g#bO#h#cO#i#cO#j#rO#k#cO#m#dO#o#fO#q#hO'rRO(U#]O(V#^O~O_#bi!T#bi#r#bi'e#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~P#+iOQ[XZ[Xk[Xx[Xy[X{[X!c[X!d[X!f[X!l[X#T[X#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X!T[X!U[X~O#u[X~P#.SOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO#q;hO#r;iO'rRO'}#jO(U#]O(V#^O~O#u-`O~P#0aOQ'uXZ'uXk'uXx'uXy'uX{'uX!c'uX!d'uX!f'uX!l'uX#c'uX#d'uX#e'uX#f'uX#g'uX#h'uX#i'uX#j'uX#m'uX#o'uX#q'uX#r'uX'r'uX'}'uX(U'uX(V'uX!T'uX~O#T;nO#w;nO#k'uX#u'uX!U'uX~P#2_O_'Qa!T'Qa'e'Qa'a'Qa!e'Qao'Qa!Q'Qa!V'Qa%]'Qa!_'Qa~P!-ROQ#biZ#bi_#bik#biy#bi!T#bi!c#bi!d#bi!f#bi!l#bi#c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi'e#bi'r#bi'}#bi'a#bi!Q#bi!e#bio#bi!V#bi%]#bi!_#bi~P!G[O_#vi!T#vi'e#vi'a#vi!Q#vi!e#vio#vi!V#vi%]#vi!_#vi~P!-RO$S-cO$U-cO~O$S-dO$U-dO~O!_(VO#T-eO!V$YX$P$YX$S$YX$U$YX$]$YX~O!S-fO~O!V(YO$P-hO$S(XO$U(XO$]-iO~O!T;jO!U'tX~P#0aO!U-jO~O$]-lO~OS(hO'c(iO'd-oO~O]-rOl-rO!Q-sO~O!TdX!_dX!edX!e$oX'}dX~P!$|O!e-yO~P!G[O!T-zO!_#UO'}'SO!e([X~O!e.PO~O!S(yO'j$tO!e([P~O#`.RO~O!Q$oX!T$oX!_$vX~P!$|O!T.SO!Q(]X~P!G[O!_.UO~O!Q.WO~Ok.[O!_#UO!f$mO'n$bO'}'SO~O'j.^O~O!_)yO~O_$pO!T.bO'e$pO~O!U.dO~P!(wO!Z.eO![.eO'k$vO's)TO~O{.gO's)TO~O#P.hO~O'j%^Oe'VX!T'VX~O!T)dOe'oa~Oe.mO~Ox.nOy.nO{.oOPua(Uua(Vua!Tua#Tua~Oeua#uua~P#>mOx(mO{(nOP$ha(U$ha(V$ha!T$ha#T$ha~Oe$ha#u$ha~P#?cOx(mO{(nOP$ja(U$ja(V$ja!T$ja#T$ja~Oe$ja#u$ja~P#@UO].pO~O#`.qO~Oe$xa!T$xa#T$xa#u$xa~P!&VO#`.tO~OP,{O!V&cO!q,zO%],yO~O]$SOk$TOl$SOm$SOr$dOt$eOv;oO{$[O!V$]O!a=`O!f$XO#_;xO#|$iO$i;rO$k;uO$n$jO'n$bO'r$UO~Oi.{O'j.zO~P#AvO!_)yO!V'ma_'ma!T'ma'e'ma~O#`/RO~OZ[X!TdX!UdX~O!T/SO!U(dX~O!U/UO~OZ/VO~O]/XO'j*RO~O!V%OO'j$tO^'_X!T'_X~O!T*WO^(ca~O!e/[O~P!-RO]/^O~OZ/_O~O^/`O~O!T*dO_(`a'e(`a~O#T/fO~OP/iO!V$]O~O's'lO!U(aP~OP/sO!V/oO!q/rO%]/qO'n$bO~OZ/}O!T/{O!U(bX~O!U0OO~O^0QO_$pO'e$pO~O]0RO~O]0SO'j!|O~O#k0TO%}0UO~P1nO#T#tO#k0TO%}0UO~O_0VO~P$}O_0XO~O&W0]OQ&UiR&UiX&Ui]&Ui_&Uib&Uic&Uii&Uik&Uil&Uim&Uir&Uit&Uiv&Ui{&Ui!O&Ui!P&Ui!V&Ui!a&Ui!f&Ui!i&Ui!j&Ui!k&Ui!l&Ui!m&Ui!p&Ui!u&Ui#l&Ui#|&Ui$Q&Ui%[&Ui%^&Ui%`&Ui%a&Ui%d&Ui%f&Ui%i&Ui%j&Ui%l&Ui%y&Ui&P&Ui&R&Ui&T&Ui&V&Ui&Y&Ui&`&Ui&f&Ui&h&Ui&j&Ui&l&Ui&n&Ui'a&Ui'j&Ui'r&Ui'|&Ui(Z&Ui!U&Ui`&Ui&]&Ui~O`0cO!U0aO&]0bO~P`O!VTO!f0eO~O&d+aOQ&_iR&_iX&_i]&_i_&_ib&_ic&_ii&_ik&_il&_im&_ir&_it&_iv&_i{&_i!O&_i!P&_i!V&_i!a&_i!f&_i!i&_i!j&_i!k&_i!l&_i!m&_i!p&_i!u&_i#l&_i#|&_i$Q&_i%[&_i%^&_i%`&_i%a&_i%d&_i%f&_i%i&_i%j&_i%l&_i%y&_i&P&_i&R&_i&T&_i&V&_i&Y&_i&`&_i&f&_i&h&_i&j&_i&l&_i&n&_i'a&_i'j&_i'r&_i'|&_i(Z&_i!U&_i&W&_i`&_i&]&_i~O!Q0kO~O!T!Xa!U!Xa~P#0aO!S0rO!Y&bO!Z&ZO![&ZO!T&vX!U&vX~P!AQO!T+rO!U'wa~O!T&|X!U&|X~P!2fO!T+uO!U(Ta~O!Y0{O!Z0zO![0zO!u;WO!y1OO!z0}O!{0}O!|0|O#P1PO#Q1PO'|+zO~P!AQO_$pO!_#UO!f$mO!l1UO#T1SO'e$pO'n$bO'}'SO~O]&VOl&VO{+nO's)TO'|+zO~O_+}O!U1XO!Y,QO!Z+|O![+|O!u;WO!y,UO!z,SO!{,TO!|,RO#P,VO#Q,VO'|+zO~P!AQO!Z0zO![0zO'|+zO~P!AQO!Y0{O!Z0zO![0zO'|+zO~P!AQO!VTO!Y0{O!Z0zO![0zO!|0|O#P1PO#Q1PO'|+zO~P!AQO!Y0{O!Z0zO![0zO!z0}O!{0}O!|0|O#P1PO#Q1PO'|+zO~P!AQO!V&cO~O!V&cO~P!G[O!T#pOo$ga~O!Q&ui!T&ui~P!-RO!T&rO!Q'vi~O!T&yO!Q(Ri~O!Q(Si!T(Si~P!-RO!T'WO!e(Oi~O!T(Pi!e(Pi_(Pi'e(Pi~P!-RO#T1eO!T(Pi!e(Pi_(Pi'e(Pi~O{%WO!V%XO!uXO#^1hO#_1gO'j$tO~O{%WO!V%XO#_1gO'j$tO~OP1pO!V&cO!q1oO%]1nO~OP1pO!V&cO!q1oO%]1nO'n$bO~O#`uaQuaZua_uakua!cua!dua!fua!lua#cua#dua#eua#fua#gua#hua#iua#jua#kua#mua#oua#qua#rua'eua'rua'}ua!eua!Qua'aua!Vuaoua%]ua!_ua~P#>mO#`$haQ$haZ$ha_$hak$hay$ha!c$ha!d$ha!f$ha!l$ha#c$ha#d$ha#e$ha#f$ha#g$ha#h$ha#i$ha#j$ha#k$ha#m$ha#o$ha#q$ha#r$ha'e$ha'r$ha'}$ha!e$ha!Q$ha'a$ha!V$hao$ha%]$ha!_$ha~P#?cO#`$jaQ$jaZ$ja_$jak$jay$ja!c$ja!d$ja!f$ja!l$ja#c$ja#d$ja#e$ja#f$ja#g$ja#h$ja#i$ja#j$ja#k$ja#m$ja#o$ja#q$ja#r$ja'e$ja'r$ja'}$ja!e$ja!Q$ja'a$ja!V$jao$ja%]$ja!_$ja~P#@UO#`$xaQ$xaZ$xa_$xak$xay$xa!T$xa!c$xa!d$xa!f$xa!l$xa#c$xa#d$xa#e$xa#f$xa#g$xa#h$xa#i$xa#j$xa#k$xa#m$xa#o$xa#q$xa#r$xa'e$xa'r$xa'}$xa!e$xa!Q$xa'a$xa!V$xa#T$xao$xa%]$xa!_$xa~P!G[O_#Wq!T#Wq'e#Wq'a#Wq!Q#Wq!e#Wqo#Wq!V#Wq%]#Wq!_#Wq~P!-ROe&wX!T&wX~PKhO!T-UOe'ya~O!S1xO!T&xX!e&xX~P$}O!T-XO!e'za~O!T-XO!e'za~P!-RO!Q1{O~O#u!ha!U!ha~PBtO#u!`a!T!`a!U!`a~P#0aO!V2^O$QbO$Z2_O~O!U2cO~Oo2dO~P!G[O_$dq!T$dq'e$dq'a$dq!Q$dq!e$dqo$dq!V$dq%]$dq!_$dq~P!-RO!Q2eO~O]-rOl-rO~Ox(mO{(nO(V(rOP%Ti(U%Ti!T%Ti#T%Ti~Oe%Ti#u%Ti~P$9POx(mO{(nOP%Vi(U%Vi(V%Vi!T%Vi#T%Vi~Oe%Vi#u%Vi~P$9rO'}#jO~P!G[O!S2hO'j$tO!T'RX!e'RX~O!T-zO!e([a~O!T-zO!_#UO!e([a~O!T-zO!_#UO'}'SO!e([a~Oe$qi!T$qi#T$qi#u$qi~P!&VO!S2pO'j)OO!Q'TX!T'TX~P!&tO!T.SO!Q(]a~O!T.SO!Q(]a~P!G[O!_#UO~O!_#UO#k2xO~Ok2{O!_#UO'}'SO~Oe'pi!T'pi~P!&VO#T3OOe'pi!T'pi~P!&VO!e3RO~O_$eq!T$eq'e$eq'a$eq!Q$eq!e$eqo$eq!V$eq%]$eq!_$eq~P!-RO!T3VO!V(^X~P!G[O!V&cO%]1nO~O!V&cO%]1nO~P!G[O!V$oX%Q[X_$oX!T$oX'e$oX~P!$|O%Q3XOPhXxhX{hX!VhX(UhX(VhX_hX!ThX'ehX~O%Q3XO~O]3_O%^3`O'j*RO!T'^X!U'^X~O!T/SO!U(da~OZ3dO~O^3eO~O]3hO~O!Q3iO~O_$pO'e$pO~P!G[O!V$]O~P!G[O!T3nO#T3pO!U(aX~O!U3qO~O]&VOl&VO{3sO!Y4OO!Z3wO![3wO!u;WO!y3}O!z3|O!{3|O#P3{O#Q,VO'k$vO's)TO'|+zO~O!U3zO~P$BTOP4VO!V/oO!q4UO%]4TO~OP4VO!V/oO!q4UO%]4TO'n$bO~O'j!|O!T']X!U']X~O!T/{O!U(ba~O]4aO's4`O~O]4bO~O^4dO~O!e4gO~P$}O_4iO~O_4iO~P$}O#k4kO%}4lO~PExO`0cO!U4pO&]0bO~P`O!_4rO~O!_4tO!T'xi!U'xi!_'xi!f'xi'n'xi~O!T#]i!U#]i~P#0aO#T4uO!T#]i!U#]i~O!T!Xi!U!Xi~P#0aO!Q4vO~O]!tal!ta!Y!ta!Z!ta![!ta!y!ta!z!ta!{!ta!|!ta#P!ta#Q!ta'k!ta's!ta'|!ta~PGQO_$pO!_#UO!f$mO!l5OO#T4|O'e$pO'n$bO'}'SO~O!Z5QO![5QO'|+zO~P!AQO!Y5RO!Z5QO![5QO'|+zO~P!AQO!Y5RO!Z5QO![5QO!|5TO#P5UO#Q5UO'|+zO~P!AQO!Y5RO!Z5QO![5QO!z5VO!{5VO!|5TO#P5UO#Q5UO'|+zO~P!AQO_$pO#T4|O'e$pO~O_$pO!_#UO#T4|O'e$pO~O_$pO!_#UO!l5OO#T4|O'e$pO'}'SO~O!T'WO!e(Oq~O!T(Pq!e(Pq_(Pq'e(Pq~P!-RO{%WO!V%XO#_5aO'j$tO~O!V&cO%]5cO~O!V&cO%]5cO~P!G[OP5hO!V&cO!q5gO%]5cO~O#`%TiQ%TiZ%Ti_%Tik%Tiy%Ti!c%Ti!d%Ti!f%Ti!l%Ti#c%Ti#d%Ti#e%Ti#f%Ti#g%Ti#h%Ti#i%Ti#j%Ti#k%Ti#m%Ti#o%Ti#q%Ti#r%Ti'e%Ti'r%Ti'}%Ti!e%Ti!Q%Ti'a%Ti!V%Tio%Ti%]%Ti!_%Ti~P$9PO#`%ViQ%ViZ%Vi_%Vik%Viy%Vi!c%Vi!d%Vi!f%Vi!l%Vi#c%Vi#d%Vi#e%Vi#f%Vi#g%Vi#h%Vi#i%Vi#j%Vi#k%Vi#m%Vi#o%Vi#q%Vi#r%Vi'e%Vi'r%Vi'}%Vi!e%Vi!Q%Vi'a%Vi!V%Vio%Vi%]%Vi!_%Vi~P$9rO#`$qiQ$qiZ$qi_$qik$qiy$qi!T$qi!c$qi!d$qi!f$qi!l$qi#c$qi#d$qi#e$qi#f$qi#g$qi#h$qi#i$qi#j$qi#k$qi#m$qi#o$qi#q$qi#r$qi'e$qi'r$qi'}$qi!e$qi!Q$qi'a$qi!V$qi#T$qio$qi%]$qi!_$qi~P!G[Oe&wa!T&wa~P!&VO!T&xa!e&xa~P!-RO!T-XO!e'zi~O#u#Wi!T#Wi!U#Wi~P#0aOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO'rROZ#bik#bi!c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~O#c#bi~P%&nO#c;_O~P%&nOQ#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O'rROZ#bi!c#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~Ok#bi~P%(yOk;aO~P%(yOQ#lOk;aOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO'rRO#m#bi#o#bi#q#bi#r#bi#u#bi'}#bi(U#bi(V#bi!T#bi!U#bi~OZ#bi!c#bi#h#bi#i#bi#j#bi#k#bi~P%+UOZ;mO!c;cO#h;cO#i;cO#j;lO#k;cO~P%+UOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO'rRO#o#bi#q#bi#r#bi#u#bi'}#bi(V#bi!T#bi!U#bi~O(U#bi~P%-pO(U#]O~P%-pOQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO'rRO(U#]O#q#bi#r#bi#u#bi'}#bi!T#bi!U#bi~O(V#bi~P%/{O(V#^O~P%/{OQ#lOZ;mOk;aOx#YOy#ZO{#[O!c;cO!d#WO!f#XO!l#lO#c;_O#d;`O#e;`O#f;`O#g;bO#h;cO#i;cO#j;lO#k;cO#m;dO#o;fO#q;hO'rRO(U#]O(V#^O~O#r#bi#u#bi'}#bi!T#bi!U#bi~P%2WO_#sy!T#sy'e#sy'a#sy!Q#sy!e#syo#sy!V#sy%]#sy!_#sy~P!-ROP=oOx(mO{(nO(U(pO(V(rO~OQ#biZ#bik#biy#bi!c#bi!d#bi!f#bi!l#bi#c#bi#d#bi#e#bi#f#bi#g#bi#h#bi#i#bi#j#bi#k#bi#m#bi#o#bi#q#bi#r#bi#u#bi'r#bi'}#bi!T#bi!U#bi~P%5OO#u'qX!U'qX~P!HZO#u#vi!T#vi!U#vi~P#0aO!U5tO~O!T'Qa!U'Qa~P#0aO!_#UO'}'SO!T'Ra!e'Ra~O!T-zO!e([i~O!T-zO!_#UO!e([i~Oe$qq!T$qq#T$qq#u$qq~P!&VO!Q'Ta!T'Ta~P!G[O!_5{O~O!T.SO!Q(]i~P!G[O!T.SO!Q(]i~O!Q6PO~O!_#UO#k6UO~Ok6VO!_#UO'}'SO~O!Q6XO~Oe$sq!T$sq#T$sq#u$sq~P!&VO_$ey!T$ey'e$ey'a$ey!Q$ey!e$eyo$ey!V$ey%]$ey!_$ey~P!-RO!T3VO!V(^a~O_#Wy!T#Wy'e#Wy'a#Wy!Q#Wy!e#Wyo#Wy!V#Wy%]#Wy!_#Wy~P!-ROZ6^O~O]6`O'j*RO~O!T/SO!U(di~O]6cO~O^6dO~O!_4tO~O's'lO!T'YX!U'YX~O!T3nO!U(aa~O!f$mO'n$bO_'xX!_'xX!l'xX#T'xX'e'xX'}'xX~O'j6mO~P,RO!u;WO!y6oO!z6nO!{6nO#P1PO#Q1PO~P$%_O_$pO!_#UO!l1UO#T1SO'e$pO'}'SO~O!U6rO~P$BTO]&VOl&VO{6sO's)TO'|+zO~O!Y6wO!Z6vO![6vO#P1PO#Q1PO'|+zO~P!AQO!Y6wO!Z6vO![6vO!z6xO!{6xO#P1PO#Q1PO'|+zO~P!AQO!Z6vO![6vO'k$vO's)TO'|+zO~O!V/oO~O!V/oO%]6zO~O!V/oO%]6zO~P!G[OP7PO!V/oO!q7OO%]6zO~OZ7UO!T']a!U']a~O!T/{O!U(bi~O]7XO~O!e7YO~O!e7ZO~O!e7[O~O!e7[O~P$}O_7^O~O!_7aO~O!e7bO~O!T(Si!U(Si~P#0aO_$pO#T7iO'e$pO~O_$pO!_#UO#T7iO'e$pO~O!Z7mO![7mO'|+zO~P!AQO_$pO!_#UO!f$mO!l7nO#T7iO'e$pO'n$bO'}'SO~O!Y7oO!Z7mO![7mO'|+zO~P!AQO!Y7oO!Z7mO![7mO!|7rO#P7sO#Q7sO'|+zO~P!AQO_$pO!_#UO!l7nO#T7iO'e$pO'}'SO~O_$pO'e$pO~P!-RO!T'WO!e(Oy~O!T(Py!e(Py_(Py'e(Py~P!-RO!V&cO%]7xO~O!V&cO%]7xO~P!G[O#`$qqQ$qqZ$qq_$qqk$qqy$qq!T$qq!c$qq!d$qq!f$qq!l$qq#c$qq#d$qq#e$qq#f$qq#g$qq#h$qq#i$qq#j$qq#k$qq#m$qq#o$qq#q$qq#r$qq'e$qq'r$qq'}$qq!e$qq!Q$qq'a$qq!V$qq#T$qqo$qq%]$qq!_$qq~P!G[O#`$sqQ$sqZ$sq_$sqk$sqy$sq!T$sq!c$sq!d$sq!f$sq!l$sq#c$sq#d$sq#e$sq#f$sq#g$sq#h$sq#i$sq#j$sq#k$sq#m$sq#o$sq#q$sq#r$sq'e$sq'r$sq'}$sq!e$sq!Q$sq'a$sq!V$sq#T$sqo$sq%]$sq!_$sq~P!G[O!T&xi!e&xi~P!-RO#u#Wq!T#Wq!U#Wq~P#0aOx.nOy.nO{.oOPua(Uua(Vua!Uua~OQuaZuakua!cua!dua!fua!lua#cua#dua#eua#fua#gua#hua#iua#jua#kua#mua#oua#qua#rua#uua'rua'}ua!Tua~P%LmOx(mO{(nOP$ha(U$ha(V$ha!U$ha~OQ$haZ$hak$hay$ha!c$ha!d$ha!f$ha!l$ha#c$ha#d$ha#e$ha#f$ha#g$ha#h$ha#i$ha#j$ha#k$ha#m$ha#o$ha#q$ha#r$ha#u$ha'r$ha'}$ha!T$ha~P%NtOx(mO{(nOP$ja(U$ja(V$ja!U$ja~OQ$jaZ$jak$jay$ja!c$ja!d$ja!f$ja!l$ja#c$ja#d$ja#e$ja#f$ja#g$ja#h$ja#i$ja#j$ja#k$ja#m$ja#o$ja#q$ja#r$ja#u$ja'r$ja'}$ja!T$ja~P&!{OQ$xaZ$xak$xay$xa!c$xa!d$xa!f$xa!l$xa#c$xa#d$xa#e$xa#f$xa#g$xa#h$xa#i$xa#j$xa#k$xa#m$xa#o$xa#q$xa#r$xa#u$xa'r$xa'}$xa!T$xa!U$xa~P%5OO#u$dq!T$dq!U$dq~P#0aO#u$eq!T$eq!U$eq~P#0aO!U8RO~O#u8SO~P!&VO!_#UO!T'Ri!e'Ri~O!_#UO'}'SO!T'Ri!e'Ri~O!T-zO!e([q~O!Q'Ti!T'Ti~P!G[O!T.SO!Q(]q~O!Q8YO~P!G[O!Q8YO~Oe'py!T'py~P!&VO!T'Wa!V'Wa~P!G[O!V%Pq_%Pq!T%Pq'e%Pq~P!G[OZ8_O~O!T/SO!U(dq~O]8bO~O#T8cO!T'Ya!U'Ya~O!T3nO!U(ai~P#0aOQ[XZ[Xk[Xx[Xy[X{[X!Q[X!T[X!c[X!d[X!f[X!l[X#T[X#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X~O!_$}X#k$}X~P&*pO#P5UO#Q5UO~P$%_O!z8gO!{8gO#P5UO#Q5UO~P$%_O!Z8jO![8jO'k$vO's)TO'|+zO~O!Y8mO!Z8jO![8jO#P5UO#Q5UO'|+zO~P!AQO!V/oO%]8pO~O!V/oO%]8pO~P!G[O]8wO's8vO~O!T/{O!U(bq~O!e8yO~O!e8yO~P$}O!e8{O~O!e8|O~O#T9OO!T#]y!U#]y~O!T#]y!U#]y~P#0aO_$pO#T9RO'e$pO~O_$pO!_#UO#T9RO'e$pO~O!Z9WO![9WO'|+zO~P!AQO_$pO!_#UO!l9XO#T9RO'e$pO'}'SO~O!f$mO'n$bO~P&0|O!Y9YO!Z9WO![9WO'|+zO~P!AQO!V&cO%]9^O~O!V&cO%]9^O~P!G[O#u#sy!T#sy!U#sy~P#0aOQ$qiZ$qik$qiy$qi!c$qi!d$qi!f$qi!l$qi#c$qi#d$qi#e$qi#f$qi#g$qi#h$qi#i$qi#j$qi#k$qi#m$qi#o$qi#q$qi#r$qi#u$qi'r$qi'}$qi!T$qi!U$qi~P%5OOx(mO{(nO(V(rOP%Ti(U%Ti!U%Ti~OQ%TiZ%Tik%Tiy%Ti!c%Ti!d%Ti!f%Ti!l%Ti#c%Ti#d%Ti#e%Ti#f%Ti#g%Ti#h%Ti#i%Ti#j%Ti#k%Ti#m%Ti#o%Ti#q%Ti#r%Ti#u%Ti'r%Ti'}%Ti!T%Ti~P&4cOx(mO{(nOP%Vi(U%Vi(V%Vi!U%Vi~OQ%ViZ%Vik%Viy%Vi!c%Vi!d%Vi!f%Vi!l%Vi#c%Vi#d%Vi#e%Vi#f%Vi#g%Vi#h%Vi#i%Vi#j%Vi#k%Vi#m%Vi#o%Vi#q%Vi#r%Vi#u%Vi'r%Vi'}%Vi!T%Vi~P&6jO#u$ey!T$ey!U$ey~P#0aO#u#Wy!T#Wy!U#Wy~P#0aO!_#UO!T'Rq!e'Rq~O!T-zO!e([y~O!Q'Tq!T'Tq~P!G[O!Q9dO~P!G[O!T/SO!U(dy~O!T3nO!U(aq~O#P7sO#Q7sO~P$%_O!Z9nO![9nO'k$vO's)TO'|+zO~O!V/oO%]9qO~O!V/oO%]9qO~P!G[O!e9tO~O_$pO#T9zO'e$pO~O_$pO!_#UO#T9zO'e$pO~O!Z9}O![9}O'|+zO~P!AQO_$pO!_#UO!l:OO#T9zO'e$pO'}'SO~OQ$qqZ$qqk$qqy$qq!c$qq!d$qq!f$qq!l$qq#c$qq#d$qq#e$qq#f$qq#g$qq#h$qq#i$qq#j$qq#k$qq#m$qq#o$qq#q$qq#r$qq#u$qq'r$qq'}$qq!T$qq!U$qq~P%5OOQ$sqZ$sqk$sqy$sq!c$sq!d$sq!f$sq!l$sq#c$sq#d$sq#e$sq#f$sq#g$sq#h$sq#i$sq#j$sq#k$sq#m$sq#o$sq#q$sq#r$sq#u$sq'r$sq'}$sq!T$sq!U$sq~P%5OOe%X!Z!T%X!Z#T%X!Z#u%X!Z~P!&VO!T'Yq!U'Yq~P#0aO!T#]!Z!U#]!Z~P#0aO_$pO#T:aO'e$pO~O_$pO!_#UO#T:aO'e$pO~O#`%X!ZQ%X!ZZ%X!Z_%X!Zk%X!Zy%X!Z!T%X!Z!c%X!Z!d%X!Z!f%X!Z!l%X!Z#c%X!Z#d%X!Z#e%X!Z#f%X!Z#g%X!Z#h%X!Z#i%X!Z#j%X!Z#k%X!Z#m%X!Z#o%X!Z#q%X!Z#r%X!Z'e%X!Z'r%X!Z'}%X!Z!e%X!Z!Q%X!Z'a%X!Z!V%X!Z#T%X!Zo%X!Z%]%X!Z!_%X!Z~P!G[O_$pO#T:oO'e$pO~OP=nOx(mO{(nO(U(pO(V(rO~O]#Sal#Sa!U#Sa!Y#Sa!Z#Sa![#Sa!u#Sa!y#Sa!z#Sa!{#Sa#P#Sa#Q#Sa'k#Sa's#Sa'|#Sa~P&D[OQ%X!ZZ%X!Zk%X!Zy%X!Z!c%X!Z!d%X!Z!f%X!Z!l%X!Z#c%X!Z#d%X!Z#e%X!Z#f%X!Z#g%X!Z#h%X!Z#i%X!Z#j%X!Z#k%X!Z#m%X!Z#o%X!Z#q%X!Z#r%X!Z#u%X!Z'r%X!Z'}%X!Z!T%X!Z!U%X!Z~P%5OO]ualua!Yua!Zua![ua!uua!yua!zua!{ua#Pua#Qua'kua'sua'|ua~P%LmO]$hal$ha!Y$ha!Z$ha![$ha!u$ha!y$ha!z$ha!{$ha#P$ha#Q$ha'k$ha's$ha'|$ha~P%NtO]$jal$ja!Y$ja!Z$ja![$ja!u$ja!y$ja!z$ja!{$ja#P$ja#Q$ja'k$ja's$ja'|$ja~P&!{O]$xal$xa!U$xa!Y$xa!Z$xa![$xa!u$xa!y$xa!z$xa!{$xa#P$xa#Q$xa'k$xa's$xa'|$xa~P&D[O]%Til%Ti!Y%Ti!Z%Ti![%Ti!u%Ti!y%Ti!z%Ti!{%Ti#P%Ti#Q%Ti'k%Ti's%Ti'|%Ti~P&4cO]%Vil%Vi!Y%Vi!Z%Vi![%Vi!u%Vi!y%Vi!z%Vi!{%Vi#P%Vi#Q%Vi'k%Vi's%Vi'|%Vi~P&6jO]$qil$qi!U$qi!Y$qi!Z$qi![$qi!u$qi!y$qi!z$qi!{$qi#P$qi#Q$qi'k$qi's$qi'|$qi~P&D[O]$qql$qq!U$qq!Y$qq!Z$qq![$qq!u$qq!y$qq!z$qq!{$qq#P$qq#Q$qq'k$qq's$qq'|$qq~P&D[O]$sql$sq!U$sq!Y$sq!Z$sq![$sq!u$sq!y$sq!z$sq!{$sq#P$sq#Q$sq'k$sq's$sq'|$sq~P&D[O]%X!Zl%X!Z!U%X!Z!Y%X!Z!Z%X!Z![%X!Z!u%X!Z!y%X!Z!z%X!Z!{%X!Z#P%X!Z#Q%X!Z'k%X!Z's%X!Z'|%X!Z~P&D[Oo'tX~P/WO!QdX!TdX#TdX~P&*pOQ[XZ[Xk[Xx[Xy[X{[X!T[X!TdX!c[X!d[X!f[X!l[X#T[X#TdX#`dX#c[X#d[X#e[X#f[X#g[X#h[X#i[X#j[X#k[X#m[X#o[X#q[X#r[X#w[X'r[X'}[X(U[X(V[X~O!_dX!e[X!edX'}dX~P'$ZOQ;VOR;VO]gOb=ZOc!`OigOk;VOlgOmgOrgOt;VOv;VO{SO!OgO!PgO!VTO!a;YO!fVO!i;VO!j;VO!k;VO!l;VO!m;VO!p!_O#|!bO$QbO'j'|O'rRO'|WO(Z=XO~O]$SOi$cOk$TOl$SOm$SOr$dOt$eOv;pO{$[O!V$]O!a=aO!f$XO#_;yO#|$iO$i;sO$k;vO$n$jO'j'dO'n$bO'r$UO~O!T;jO!U$ga~O]$SOi$cOk$TOl$SOm$SOr$dOt$eOv;qO{$[O!V$]O!a=bO!f$XO#_;zO#|$iO$i;tO$k;wO$n$jO'j'dO'n$bO'r$UO~O#l(TO~P'*^O!U[X!UdX~P'$ZO!_;^O~O#`;]O~O!_#UO#`;]O~O#T;nO~O#k;cO~O#T;{O!T(SX!U(SX~O#T;nO!T(QX!U(QX~O#`;|O~Oe TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression",maxTerm:345,context:r,nodeProps:[["closedBy",4,"InterpolationEnd",43,"]",53,"}",68,")",140,"JSXSelfCloseEndTag JSXEndTag",156,"JSXEndTag"],["group",-26,8,15,17,60,195,199,202,203,205,208,211,222,224,230,232,234,236,239,245,251,253,255,257,259,261,262,"Statement",-30,12,13,25,28,29,34,44,46,47,49,54,62,70,76,77,99,100,109,110,127,130,132,133,134,135,137,138,158,159,161,"Expression",-23,24,26,30,33,35,37,162,164,166,167,169,170,171,173,174,175,177,178,179,189,191,193,194,"Type",-3,81,92,98,"ClassItem"],["openedBy",31,"InterpolationStart",48,"[",52,"{",67,"(",139,"JSXStartTag",151,"JSXStartTag JSXStartCloseTag"]],propSources:[p],skippedNodes:[0,5,6],repeatNodeCount:29,tokenData:"#2k~R!bOX%ZXY%uYZ'kZ[%u[]%Z]^'k^p%Zpq%uqr(Rrs)mst7]tu9guvlxyJcyzJyz{Ka{|Lm|}MW}!OLm!O!PMn!P!Q!$v!Q!R!Er!R![!G_![!]!Nc!]!^!N{!^!_# c!_!`#!`!`!a##d!a!b#%s!b!c#'h!c!}9g!}#O#(O#O#P%Z#P#Q#(f#Q#R#(|#R#S9g#S#T#)g#T#o#)}#o#p#,w#p#q#,|#q#r#-j#r#s#.S#s$f%Z$f$g%u$g#BY9g#BY#BZ#.j#BZ$IS9g$IS$I_#.j$I_$I|9g$I|$I}#1X$I}$JO#1X$JO$JT9g$JT$JU#.j$JU$KV9g$KV$KW#.j$KW&FU9g&FU&FV#.j&FV;'S9g;'S;=`Rw!^%Z!_!`YU$`W#q&lO!^%Z!_!`s]$`W]&ZOY>lYZ?lZw>lwx,jx!^>l!^!_@|!_#O>l#O#PE_#P#o>l#o#p@|#p;'S>l;'S;=`J]<%lO>l,^?qX$`WOw?lwx+_x!^?l!^!_@^!_#o?l#o#p@^#p;'S?l;'S;=`@v<%lO?l,U@aTOw@^wx,Xx;'S@^;'S;=`@p<%lO@^,U@sP;=`<%l@^,^@yP;=`<%l?l1aARX]&ZOY@|YZ@^Zw@|wx-tx#O@|#O#PAn#P;'S@|;'S;=`EX<%lO@|1aAqUOw@|wxBTx;'S@|;'S;=`Dg;=`<%lBt<%lO@|1aB[W$Z,U]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZByW]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt&ZCfRO;'SBt;'S;=`Co;=`OBt&ZCtX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lBt<%lOBt&ZDdP;=`<%lBt1aDlX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l@|<%lOBt1aE[P;=`<%l@|1iEdY$`WOw>lwxFSx!^>l!^!_@|!_#o>l#o#p@|#p;'S>l;'S;=`Ik;=`<%lBt<%lO>l1iF]]$Z,U$`W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cG]]$`W]&ZOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU&cHZW$`WO!^GU!^!_Bt!_#oGU#o#pBt#p;'SGU;'S;=`Hs;=`<%lBt<%lOGU&cHxX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lGU<%lOBt&cIhP;=`<%lGU1iIpX]&ZOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l>l<%lOBt1iJ`P;=`<%l>l,TJjT!f+{$`WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$PKQT!e#w$`WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z)ZKjW$`W'k#e#f&lOz%Zz{LS{!^%Z!_!`q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;l7Z!={[$`WU7ROY!+TYZ%ZZ!^!+T!^!_!)o!_#O!+T#O#P!,O#P#Q!&V#Q#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+T7Z!>vZ$`WOY!;lYZ!.wZz!;lz{!d[e]||-1},{term:311,get:e=>h[e]||-1},{term:65,get:e=>f[e]||-1}],tokenPrec:13429});var $=t(59119),m=t(78120),S=t(47421),b=t(34790),P=t(41113);let g=[(0,b.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,b.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,b.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,b.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,b.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,b.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,b.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,b.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,b.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,b.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,b.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],T=new P.hr,X=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function x(e){return(O,t)=>{let n=O.node.getChild("VariableDefinition");return n&&t(n,e),!0}}let Z=["FunctionDeclaration"],q={FunctionDeclaration:x("function"),ClassDeclaration:x("class"),ClassExpression:()=>!0,EnumDeclaration:x("constant"),TypeAliasDeclaration:x("type"),NamespaceDeclaration:x("namespace"),VariableDefinition(e,O){e.matchContext(Z)||O(e,"variable")},TypeDefinition(e,O){O(e,"type")},__proto__:null},_=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,y=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function k(e){let O=(0,$.qz)(e.state).resolveInner(e.pos,-1);if(y.indexOf(O.name)>-1)return null;let t="VariableName"==O.name||O.to-O.from<20&&_.test(e.state.sliceDoc(O.from,O.to));if(!t&&!e.explicit)return null;let n=[];for(let a=O;a;a=a.parent)X.has(a.name)&&(n=n.concat(function e(O,t){let n=T.get(t);if(n)return n;let a=[],i=!0;function r(e,t){let n=O.sliceString(e.from,e.to);a.push({label:n,type:t})}return t.cursor(P.vj.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let n=q[t.name];if(n&&n(t,r)||X.has(t.name))return!1}else if(t.to-t.from>8192){for(let s of e(O,t.node))a.push(s);return!1}}),T.set(t,a),a}(e.state.doc,a)));return{options:n,from:t?O.from:e.pos,validFor:_}}function V(e,O,t){var n;let a=[];for(;;){let i=O.firstChild,r;if((null==i?void 0:i.name)=="VariableName")return a.push(e(i)),{path:a.reverse(),name:t};if((null==i?void 0:i.name)!="MemberExpression"||(null===(n=r=i.lastChild)||void 0===n?void 0:n.name)!="PropertyName")return null;a.push(e(r)),O=i}}function U(e){let O=O=>e.state.doc.sliceString(O.from,O.to),t=(0,$.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==t.name?V(O,t.parent,O(t)):y.indexOf(t.name)>-1?null:"VariableName"==t.name||t.to-t.from<20&&_.test(O(t))?{path:[],name:O(t)}:("."==t.name||"?."==t.name)&&"MemberExpression"==t.parent.name?V(O,t.parent,""):"MemberExpression"==t.name?V(O,t,""):e.explicit?{path:[],name:""}:null}function j(e){let O=new Map;return t=>{let n=U(t);if(!n)return null;let a=e;for(let i of n.path)if(!(a=a[i]))return null;let r=O.get(a);return r||O.set(a,r=function(e,O){let t=[],n=new Set;for(let a=0;;a++){for(let i of(Object.getOwnPropertyNames||Object.keys)(e)){let r;if(!n.has(i)){n.add(i);try{r=e[i]}catch(s){continue}t.push({label:i,type:"function"==typeof r?/^[A-Z]/.test(i)?"class":O?"function":"method":O?"variable":"property",boost:-a})}}let o=Object.getPrototypeOf(e);if(!o)return t;e=o}}(a,!n.path.length)),{from:t.pos-n.name.length,options:r,validFor:_}}}let w=$.qp.define({name:"javascript",parser:u.configure({props:[$.uj.add({IfStatement:(0,$.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,$.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:$.ze,SwitchBody(e){let O=e.textAfter,t=/^\s*\}/.test(O),n=/^\s*(case|default)\b/.test(O);return e.baseIndent+(t?0:n?1:2)*e.unit},Block:(0,$.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,$.tC)({except:/^{/}),JSXElement(e){let O=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},JSXEscape(e){let O=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),$.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":$.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),v=w.configure({dialect:"ts"},"typescript"),R=w.configure({dialect:"jsx"}),C=w.configure({dialect:"jsx ts"},"typescript"),G="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function W(e={}){let O=e.jsx?e.typescript?C:R:e.typescript?v:w;return new $.ri(O,[w.data.of({autocomplete:(0,b.eC)(y,(0,b.Mb)(g.concat(G)))}),w.data.of({autocomplete:k}),e.jsx?L:[]])}function Y(e,O,t=e.length){for(let n=null==O?void 0:O.firstChild;n;n=n.nextSibling)if("JSXIdentifier"==n.name||"JSXBuiltin"==n.name||"JSXNamespacedName"==n.name||"JSXMemberExpression"==n.name)return e.sliceString(n.from,Math.min(n.to,t));return""}let A="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),L=S.tk.inputHandler.of((e,O,t,n)=>{if((A?e.composing:e.compositionStarted)||e.state.readOnly||O!=t||">"!=n&&"/"!=n||!w.isActiveAt(e.state,O,-1))return!1;let{state:a}=e,i=a.changeByRange(e=>{var O,t;let{head:i}=e,r=(0,$.qz)(a).resolveInner(i,-1),s;if("JSXStartTag"==r.name&&(r=r.parent),">"==n&&"JSXFragmentTag"==r.name)return{range:m.jT.cursor(i+1),changes:{from:i,insert:"><>"}};if("/"==n&&"JSXFragmentTag"==r.name){let o=r.parent,l=null==o?void 0:o.parent;if(o.from==i-1&&(null===(O=l.lastChild)||void 0===O?void 0:O.name)!="JSXEndTag"&&(s=Y(a.doc,null==l?void 0:l.firstChild,i))){let Q=`/${s}>`;return{range:m.jT.cursor(i+Q.length),changes:{from:i,insert:Q}}}}else if(">"==n){let c=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if(!e.parent)return null;e=e.parent}}(r);if(c&&(null===(t=c.lastChild)||void 0===t?void 0:t.name)!="JSXEndTag"&&"`}}}return{range:e}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)});function E(e,O){return O||(O={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,t)=>{e.meta.docs.recommended&&(O.rules[t]=2)})),t=>{let{state:n}=t,a=[];for(let{from:i,to:r}of w.findRegions(n)){let s=n.doc.lineAt(i),o={line:s.number-1,col:i-s.from,pos:i};for(let l of e.verify(n.sliceDoc(i,r),O))a.push(function(e,O,t){let n=J(e.line,e.column,O,t),a={from:n,to:null!=e.endLine&&1!=e.endColumn?J(e.endLine,e.endColumn,O,t):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:i,text:r}=e.fix,s=i[0]+t.pos-n,o=i[1]+t.pos-n;a.actions=[{name:"fix",apply(e,O){e.dispatch({changes:{from:O+s,to:O+o,insert:r},scrollIntoView:!0})}}]}return a}(l,n.doc,o))}return a}}function J(e,O,t,n){return t.line(e+n.line).from+O+(1==e?n.col-1:-1)}},48825:function(e,O,t){t.r(O),t.d(O,{commonmarkLanguage:function(){return eU},deleteMarkupBackward:function(){return eA},insertNewlineContinueMarkup:function(){return eW},markdown:function(){return eJ},markdownKeymap:function(){return eL},markdownLanguage:function(){return ew}});var n,a,i=t(78120),r=t(47421),s=t(59119),o=t(41113),l=t(35524);class Q{constructor(e,O,t,n,a,i,r){this.type=e,this.value=O,this.from=t,this.hash=n,this.end=a,this.children=i,this.positions=r,this.hashProp=[[o.md.contextHash,n]]}static create(e,O,t,n,a){return new Q(e,O,t,n+(n<<8)+e+(O<<4)|0,a,[],[])}addChild(e,O){e.prop(o.md.contextHash)!=this.hash&&(e=new o.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(O)}toTree(e,O=this.end){let t=this.children.length-1;return t>=0&&(O=Math.max(O,this.positions[t]+this.children[t].length+this.from)),new o.mp(e.types[this.type],this.children,this.positions,O-this.from).balance({makeTree:(e,O,t)=>new o.mp(o.Jq.none,e,O,t,this.hashProp)})}}(n=a||(a={}))[n.Document=1]="Document",n[n.CodeBlock=2]="CodeBlock",n[n.FencedCode=3]="FencedCode",n[n.Blockquote=4]="Blockquote",n[n.HorizontalRule=5]="HorizontalRule",n[n.BulletList=6]="BulletList",n[n.OrderedList=7]="OrderedList",n[n.ListItem=8]="ListItem",n[n.ATXHeading1=9]="ATXHeading1",n[n.ATXHeading2=10]="ATXHeading2",n[n.ATXHeading3=11]="ATXHeading3",n[n.ATXHeading4=12]="ATXHeading4",n[n.ATXHeading5=13]="ATXHeading5",n[n.ATXHeading6=14]="ATXHeading6",n[n.SetextHeading1=15]="SetextHeading1",n[n.SetextHeading2=16]="SetextHeading2",n[n.HTMLBlock=17]="HTMLBlock",n[n.LinkReference=18]="LinkReference",n[n.Paragraph=19]="Paragraph",n[n.CommentBlock=20]="CommentBlock",n[n.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",n[n.Escape=22]="Escape",n[n.Entity=23]="Entity",n[n.HardBreak=24]="HardBreak",n[n.Emphasis=25]="Emphasis",n[n.StrongEmphasis=26]="StrongEmphasis",n[n.Link=27]="Link",n[n.Image=28]="Image",n[n.InlineCode=29]="InlineCode",n[n.HTMLTag=30]="HTMLTag",n[n.Comment=31]="Comment",n[n.ProcessingInstruction=32]="ProcessingInstruction",n[n.URL=33]="URL",n[n.HeaderMark=34]="HeaderMark",n[n.QuoteMark=35]="QuoteMark",n[n.ListMark=36]="ListMark",n[n.LinkMark=37]="LinkMark",n[n.EmphasisMark=38]="EmphasisMark",n[n.CodeMark=39]="CodeMark",n[n.CodeText=40]="CodeText",n[n.CodeInfo=41]="CodeInfo",n[n.LinkTitle=42]="LinkTitle",n[n.LinkLabel=43]="LinkLabel";class c{constructor(e,O){this.start=e,this.content=O,this.marks=[],this.parsers=[]}}class p{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return u(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,O=0,t=0){for(let n=O;n=O.stack[t.depth+1].value+t.baseIndent)return!0;if(t.indent>=t.baseIndent+4)return!1;let n=(e.type==a.OrderedList?T:g)(t,O,!1);return n>0&&(e.type!=a.BulletList||0>b(t,O,!1))&&t.text.charCodeAt(t.pos+n-1)==e.value}let h={[a.Blockquote]:(e,O,t)=>62==t.next&&(t.markers.push(N(a.QuoteMark,O.lineStart+t.pos,O.lineStart+t.pos+1)),t.moveBase(t.pos+(f(t.text.charCodeAt(t.pos+1))?2:1)),e.end=O.lineStart+t.text.length,!0),[a.ListItem]:(e,O,t)=>(!(t.indent-1))&&(t.moveBaseColumn(t.baseIndent+e.value),!0),[a.OrderedList]:d,[a.BulletList]:d,[a.Document]:()=>!0};function f(e){return 32==e||9==e||10==e||13==e}function u(e,O=0){for(;Ot&&f(e.charCodeAt(O-1));)O--;return O}function m(e){if(96!=e.next&&126!=e.next)return -1;let O=e.pos+1;for(;O-1&&e.depth==O.stack.length?-1:n<3?-1:1}function P(e,O){for(let t=e.stack.length-1;t>=0;t--)if(e.stack[t].type==O)return!0;return!1}function g(e,O,t){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||f(e.text.charCodeAt(e.pos+1)))&&(!t||P(O,a.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){if(++n==e.text.length)return -1;i=e.text.charCodeAt(n)}return n==e.pos||n>e.pos+9||46!=i&&41!=i||ne.pos+1||49!=e.next)?-1:n+1-e.pos}function X(e){if(35!=e.next)return -1;let O=e.pos+1;for(;O6?-1:t}function x(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let O=e.pos+1;for(;O/,_=/\?>/,y=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(r)return e.append(N(a.Comment,t,t+1+r[0].length));let s=/^\?[^]*?\?>/.exec(n);if(s)return e.append(N(a.ProcessingInstruction,t,t+1+s[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return o?e.append(N(a.HTMLTag,t,t+1+o[0].length)):-1},Emphasis(e,O,t){if(95!=O&&42!=O)return -1;let n=t+1;for(;e.char(n)==O;)n++;let a=e.slice(t-1,t),i=e.slice(n,n+1),r=en.test(a),s=en.test(i),o=/\s|^$/.test(a),l=/\s|^$/.test(i),Q=!l&&(!s||o||r),c=!o&&(!r||l||s);return e.append(new eO(95==O?H:F,t,n,(Q&&(42==O||!c||r)?1:0)|(c&&(42==O||!Q||s)?2:0)))},HardBreak(e,O,t){if(92==O&&10==e.char(t+1))return e.append(N(a.HardBreak,t,t+2));if(32==O){let n=t+1;for(;32==e.char(n);)n++;if(10==e.char(n)&&n>=t+2)return e.append(N(a.HardBreak,t,n+1))}return -1},Link:(e,O,t)=>91==O?e.append(new eO(K,t,t+1,1)):-1,Image:(e,O,t)=>33==O&&91==e.char(t+1)?e.append(new eO(ee,t,t+2,1)):-1,LinkEnd(e,O,t){if(93!=O)return -1;for(let n=e.parts.length-1;n>=0;n--){let i=e.parts[n];if(i instanceof eO&&(i.type==K||i.type==ee)){if(!i.side||e.skipSpace(i.to)==t&&!/[(\[]/.test(e.slice(t+1,t+2)))return e.parts[n]=null,-1;let r=e.takeContent(n),s=e.parts[n]=function(e,O,t,n,i){let{text:r}=e,s=e.char(i),o=i;if(O.unshift(N(a.LinkMark,n,n+(t==a.Image?2:1))),O.push(N(a.LinkMark,i-1,i)),40==s){let l=e.skipSpace(i+1),Q=er(r,l-e.offset,e.offset),c;Q&&(l=e.skipSpace(Q.to),(c=es(r,l-e.offset,e.offset))&&(l=e.skipSpace(c.to))),41==e.char(l)&&(O.push(N(a.LinkMark,i,i+1)),o=l+1,Q&&O.push(Q),c&&O.push(c),O.push(N(a.LinkMark,l,o)))}else if(91==s){let p=eo(r,i-e.offset,e.offset,!1);p&&(O.push(p),o=p.to)}return N(t,n,o,O)}(e,r,i.type==K?a.Link:a.Image,i.from,t+1);if(i.type==K)for(let o=0;oO?N(a.URL,O+t,s+t):s==e.length&&null}}function es(e,O,t){let n=e.charCodeAt(O);if(39!=n&&34!=n&&40!=n)return!1;let i=40==n?41:n;for(let r=O+1,s=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,O){return this.text.slice(e-this.offset,O-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,O,t,n,a){return this.append(new eO(e,O,t,(n?1:0)|(a?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let O=e;O=e;r--){let s=this.parts[r];if(s instanceof eO&&1&s.side&&s.type==t.type&&!(n&&(1&t.side||2&s.side)&&(s.to-s.from+a)%3==0&&((s.to-s.from)%3||a%3))){i=s;break}}if(!i)continue;let o=t.type.resolve,l=[],Q=i.from,c=t.to;if(n){let p=Math.min(2,i.to-i.from,a);Q=i.to-p,c=t.from+p,o=1==p?"Emphasis":"StrongEmphasis"}i.type.mark&&l.push(this.elt(i.type.mark,Q,i.to));for(let d=r+1;d=0;O--){let t=this.parts[O];if(t instanceof eO&&t.type==e)return O}return null}takeContent(e){let O=this.resolveMarkers(e);return this.parts.length=e,O}skipSpace(e){return u(this.text,e-this.offset)+this.offset}elt(e,O,t,n){return"string"==typeof e?N(this.parser.getNodeType(e),O,t,n):new D(e,O)}}function eQ(e,O){if(!O.length)return e;if(!e.length)return O;let t=e.slice(),n=0;for(let a of O){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let t=this.fragment.to;for(;t>0&&"\n"!=this.input.read(t-1,t);)t--;this.fragmentEnd=t?t-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=O;if(!n.childAfter(a))return!1}}matches(e){let O=this.cursor.tree;return O&&O.prop(o.md.contextHash)==e}takeNodes(e){let O=this.cursor,t=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,i=a,r=e.block.children.length,s=i,o=r;for(;;){if(O.to-t>n){if(O.type.isAnonymous&&O.firstChild())continue;break}if(e.dontInject.add(O.tree),e.addNode(O.tree,O.from-t),O.type.is("Block")&&(0>ec.indexOf(O.type.id)?(i=O.to-t,r=e.block.children.length):(i=s,r=o,s=O.to-t,o=e.block.children.length)),!O.nextSibling())break}for(;e.block.children.length>r;)e.block.children.pop(),e.block.positions.pop();return i-a}}let ed=(0,l.Gv)({"Blockquote/...":l.pJ.quote,HorizontalRule:l.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":l.pJ.heading1,"ATXHeading2/... SetextHeading2/...":l.pJ.heading2,"ATXHeading3/...":l.pJ.heading3,"ATXHeading4/...":l.pJ.heading4,"ATXHeading5/...":l.pJ.heading5,"ATXHeading6/...":l.pJ.heading6,"Comment CommentBlock":l.pJ.comment,Escape:l.pJ.escape,Entity:l.pJ.character,"Emphasis/...":l.pJ.emphasis,"StrongEmphasis/...":l.pJ.strong,"Link/... Image/...":l.pJ.link,"OrderedList/... BulletList/...":l.pJ.list,"BlockQuote/...":l.pJ.quote,"InlineCode CodeText":l.pJ.monospace,URL:l.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":l.pJ.processingInstruction,"CodeInfo LinkLabel":l.pJ.labelName,LinkTitle:l.pJ.string,Paragraph:l.pJ.content}),eh=new Y(new o.Lj(E).extend(ed),Object.keys(j).map(e=>j[e]),Object.keys(j).map(e=>C[e]),Object.keys(j),[(e,O)=>X(O)>=0,(e,O)=>m(O)>=0,(e,O)=>S(O)>=0,(e,O)=>g(O,e,!0)>=0,(e,O)=>T(O,e,!0)>=0,(e,O)=>b(O,e,!0)>=0,(e,O)=>k(O,e,!0)>=0],h,Object.keys(ei).map(e=>ei[e]),Object.keys(ei),[]),ef={resolve:"Strikethrough",mark:"StrikethroughMark"},eu={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":l.pJ.strikethrough}},{name:"StrikethroughMark",style:l.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,O,t){if(126!=O||126!=e.char(t+1)||126==e.char(t+2))return -1;let n=e.slice(t-1,t),a=e.slice(t+2,t+3),i=/\s|^$/.test(n),r=/\s|^$/.test(a),s=en.test(n),o=en.test(a);return e.addDelimiter(ef,t,t+2,!r&&(!o||i||s),!i&&(!s||r||o))},after:"Emphasis"}]};function e$(e,O,t=0,n,a=0){let i=0,r=!0,s=-1,o=-1,l=!1,Q=()=>{n.push(e.elt("TableCell",a+s,a+o,e.parser.parseInline(O.slice(s,o),a+s)))};for(let c=t;c-1)&&i++,r=!1,n&&(s>-1&&Q(),n.push(e.elt("TableDelimiter",c+a,c+a+1))),s=o=-1),l=!l&&92==p}return s>-1&&(i++,n&&Q()),i}function em(e,O){for(let t=O;tem(O.content,0)?new eb:null,endLeaf(e,O,t){if(t.parsers.some(e=>e instanceof eb)||!em(O.text,O.basePos))return!1;let n=e.scanLine(e.absoluteLineEnd+1).text;return eS.test(n)&&e$(e,O.text,O.basePos)==e$(e,n,O.basePos)},before:"SetextHeading"}]};class eg{nextLine(){return!1}finish(e,O){return e.addLeafElement(O,e.elt("Task",O.start,O.start+O.content.length,[e.elt("TaskMarker",O.start,O.start+3),...e.parser.parseInline(O.content.slice(3),O.start+3)])),!0}}let eT={defineNodes:[{name:"Task",block:!0,style:l.pJ.list},{name:"TaskMarker",style:l.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,O)=>/^\[[ xX]\]/.test(O.content)&&"ListItem"==e.parentType().name?new eg:null,after:"SetextHeading"}]};function eX(e,O,t){return(n,a,i)=>{if(a!=e||n.char(i+1)==e)return -1;let r=[n.elt(t,i,i+1)];for(let s=i+1;s"}}),ek=eh.configure({props:[s.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,O)=>({from:O.doc.lineAt(e.from).to,to:e.to})}),s.uj.add({Document:()=>null}),s.pp.add({Document:ey})]});function eV(e){return new s.SQ(ey,e,[],"markdown")}let eU=eV(ek),ej=ek.configure([[eP,eT,eu],eZ,ex,eq]),ew=eV(ej);class ev{constructor(e,O,t,n,a,i,r){this.node=e,this.from=O,this.to=t,this.spaceBefore=n,this.spaceAfter=a,this.type=i,this.item=r}blank(e,O=!0){let t=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;t.length0;n--)t+=" ";return t+(O?this.spaceAfter:"")}marker(e,O){let t="OrderedList"==this.node.name?String(+eC(this.item,e)[2]+O):"";return this.spaceBefore+t+this.type+this.spaceAfter}}function eR(e,O){let t=[];for(let n=e;n&&"Document"!=n.name;n=n.parent)("ListItem"==n.name||"Blockquote"==n.name||"FencedCode"==n.name)&&t.push(n);let a=[];for(let i=t.length-1;i>=0;i--){let r=t[i],s,o=O.lineAt(r.from),l=r.from-o.from;if("FencedCode"==r.name)a.push(new ev(r,l,l,"","","",null));else if("Blockquote"==r.name&&(s=/^[ \t]*>( ?)/.exec(o.text.slice(l))))a.push(new ev(r,l,l+s[0].length,"",s[1],">",null));else if("ListItem"==r.name&&"OrderedList"==r.parent.name&&(s=/^([ \t]*)\d+([.)])([ \t]*)/.exec(o.text.slice(l)))){let Q=s[3],c=s[0].length;Q.length>=4&&(Q=Q.slice(0,Q.length-4),c-=4),a.push(new ev(r.parent,l,l+c,s[1],Q,s[2],r))}else if("ListItem"==r.name&&"BulletList"==r.parent.name&&(s=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(o.text.slice(l)))){let p=s[4],d=s[0].length;p.length>4&&(p=p.slice(0,p.length-4),d-=4);let h=s[2];s[3]&&(h+=s[3].replace(/[xX]/," ")),a.push(new ev(r.parent,l,l+d,s[1],p,h,r))}}return a}function eC(e,O){return/^(\s*)(\d+)(?=[.)])/.exec(O.sliceString(e.from,e.from+10))}function eG(e,O,t,n=0){for(let a=-1,i=e;;){if("ListItem"==i.name){let r=eC(i,O),s=+r[2];if(a>=0){if(s!=a+1)return;t.push({from:i.from+r[1].length,to:i.from+r[0].length,insert:String(a+2+n)})}a=s}let o=i.nextSibling;if(!o)break;i=o}}let eW=({state:e,dispatch:O})=>{let t=(0,s.qz)(e),{doc:n}=e,a=null,r=e.changeByRange(O=>{if(!O.empty||!ew.isActiveAt(e,O.from))return a={range:O};let r=O.from,s=n.lineAt(r),o=eR(t.resolveInner(r,-1),n);for(;o.length&&o[o.length-1].from>r-s.from;)o.pop();if(!o.length)return a={range:O};let l=o[o.length-1];if(l.to-l.spaceAfter.length>r-s.from)return a={range:O};let Q=r>=l.to-l.spaceAfter.length&&!/\S/.test(s.text.slice(l.to));if(l.item&&Q){if(l.node.firstChild.to>=r||s.from>0&&!/[^\s>]/.test(n.lineAt(s.from-1).text)){let c=o.length>1?o[o.length-2]:null,p,d="";c&&c.item?(p=s.from+c.from,d=c.marker(n,1)):p=s.from+(c?c.to:0);let h=[{from:p,to:r,insert:d}];return"OrderedList"==l.node.name&&eG(l.item,n,h,-2),c&&"OrderedList"==c.node.name&&eG(c.item,n,h),{range:i.jT.cursor(p+d.length),changes:h}}{let f="";for(let u=0,$=o.length-2;u<=$;u++)f+=o[u].blank(u<$?o[u+1].from-f.length:null,u<$);return f+=e.lineBreak,{range:i.jT.cursor(r+f.length),changes:{from:s.from,insert:f}}}}if("Blockquote"==l.node.name&&Q&&s.from){let m=n.lineAt(s.from-1),S=/>\s*$/.exec(m.text);if(S&&S.index==l.from){let b=e.changes([{from:m.from+S.index,to:m.to},{from:s.from+l.from,to:s.to}]);return{range:O.map(b),changes:b}}}let P=[];"OrderedList"==l.node.name&&eG(l.item,n,P);let g=l.item&&l.item.from]*/.exec(s.text)[0].length>=l.to)for(let X=0,x=o.length-1;X<=x;X++)T+=X!=x||g?o[X].blank(Xs.from&&/\s/.test(s.text.charAt(Z-s.from-1));)Z--;return T=e.lineBreak+T,P.push({from:Z,to:r,insert:T}),{range:i.jT.cursor(Z+T.length),changes:P}});return!a&&(O(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function eY(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eA=({state:e,dispatch:O})=>{let t=(0,s.qz)(e),n=null,a=e.changeByRange(O=>{let a=O.from,{doc:r}=e;if(O.empty&&ew.isActiveAt(e,O.from)){let s=r.lineAt(a),o=eR(function(e,O){let t=e.resolveInner(O,-1),n=O;eY(t)&&(n=t.from,t=t.parent);for(let a;a=t.childBefore(n);)if(eY(a))n=a.from;else if("OrderedList"==a.name||"BulletList"==a.name)n=(t=a.lastChild).to;else break;return t}(t,a),r);if(o.length){let l=o[o.length-1],Q=l.to-l.spaceAfter.length+(l.spaceAfter?1:0);if(a-s.from>Q&&!/\S/.test(s.text.slice(Q,a-s.from)))return{range:i.jT.cursor(s.from+Q),changes:{from:s.from+Q,to:a}};if(a-s.from==Q){let c=s.from+l.from;if(l.item&&l.node.from{if(e&&t){let n=null;if(e=/\S*/.exec(e)[0],(n="function"==typeof t?t(e):s.c6.matchLanguageName(t,e,!0))instanceof s.c6)return n.support?n.support.language.parser:s.Be.getSkippingParser(n.load());if(n)return n.parser}return O?O.parser:null}):void 0;return c.push(function(e){let{codeParser:O,htmlParser:t}=e,n=(0,o.FE)((e,n)=>{let i=e.type.id;if(O&&(i==a.CodeBlock||i==a.FencedCode)){let r="";if(i==a.FencedCode){let s=e.node.getChild(a.CodeInfo);s&&(r=n.read(s.from,s.to))}let o=O(r);if(o)return{parser:o,overlay:e=>e.type.id==a.CodeText}}else if(t&&(i==a.HTMLBlock||i==a.HTMLTag))return{parser:t,overlay:function(e,O,t){let n=[];for(let a=e.firstChild,i=O;;a=a.nextSibling){let r=a?a.from:t;if(r>i&&n.push({from:i,to:r}),!a)break;i=a.to}return n}(e.node,e.from,e.to)};return null});return{wrap:n}}({codeParser:h,htmlParser:eE.language.parser})),l&&p.push(i.Wl.high(r.$f.of(eL))),new s.ri(eV(Q.configure(c)),p)}},76538:function(e,O,t){t.d(O,{M:function(){return r}});var n=t(59119);function a(e){return new n.ri(n.il.define(e))}function i(e){return t.e(1390).then(t.bind(t,21390)).then(O=>O.sql({dialect:O[e]}))}let r=[n.c6.of({name:"C",extensions:["c","h","ino"],load:()=>t.e(2750).then(t.bind(t,12750)).then(e=>e.cpp())}),n.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>t.e(2750).then(t.bind(t,12750)).then(e=>e.cpp())}),n.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>i("Cassandra")}),n.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(t.bind(t,61426)).then(e=>e.css())}),n.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(t.bind(t,13804)).then(e=>e.html())}),n.c6.of({name:"Java",extensions:["java"],load:()=>t.e(4778).then(t.bind(t,44778)).then(e=>e.java())}),n.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript())}),n.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>t.e(4732).then(t.bind(t,44732)).then(e=>e.json())}),n.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({jsx:!0}))}),n.c6.of({name:"MariaDB SQL",load:()=>i("MariaSQL")}),n.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(t.bind(t,48825)).then(e=>e.markdown())}),n.c6.of({name:"MS SQL",load:()=>i("MSSQL")}),n.c6.of({name:"MySQL",load:()=>i("MySQL")}),n.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>t.e(2386).then(t.bind(t,12386)).then(e=>e.php())}),n.c6.of({name:"PLSQL",extensions:["pls"],load:()=>i("PLSQL")}),n.c6.of({name:"PostgreSQL",load:()=>i("PostgreSQL")}),n.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>t.e(8088).then(t.bind(t,28088)).then(e=>e.python())}),n.c6.of({name:"Rust",extensions:["rs"],load:()=>t.e(4920).then(t.bind(t,24920)).then(e=>e.rust())}),n.c6.of({name:"SQL",extensions:["sql"],load:()=>i("StandardSQL")}),n.c6.of({name:"SQLite",load:()=>i("SQLite")}),n.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),n.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({typescript:!0}))}),n.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>t.e(9972).then(t.bind(t,9972)).then(e=>e.wast())}),n.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>t.e(5122).then(t.bind(t,5122)).then(e=>e.xml())}),n.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>t.e(870).then(t.bind(t,90870)).then(e=>a(e.apl))}),n.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>t.e(8029).then(t.bind(t,58029)).then(e=>a(e.asciiArmor))}),n.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>t.e(3203).then(t.bind(t,93203)).then(e=>a(e.asn1({})))}),n.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>t.e(5648).then(t.bind(t,15648)).then(e=>a(e.asterisk))}),n.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>t.e(2675).then(t.bind(t,9521)).then(e=>a(e.brainfuck))}),n.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>t.e(8915).then(t.bind(t,68915)).then(e=>a(e.cobol))}),n.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.csharp))}),n.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.gss))}),n.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>t.e(889).then(t.bind(t,70889)).then(e=>a(e.cmake))}),n.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>t.e(9558).then(t.bind(t,29558)).then(e=>a(e.coffeeScript))}),n.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>t.e(1446).then(t.bind(t,61446)).then(e=>a(e.commonLisp))}),n.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>t.e(673).then(t.bind(t,20673)).then(e=>a(e.cypher))}),n.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>t.e(4323).then(t.bind(t,74323)).then(e=>a(e.cython))}),n.c6.of({name:"Crystal",extensions:["cr"],load:()=>t.e(2602).then(t.bind(t,62602)).then(e=>a(e.crystal))}),n.c6.of({name:"D",extensions:["d"],load:()=>t.e(1660).then(t.bind(t,11660)).then(e=>a(e.d))}),n.c6.of({name:"Dart",extensions:["dart"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.dart))}),n.c6.of({name:"diff",extensions:["diff","patch"],load:()=>t.e(7475).then(t.bind(t,87475)).then(e=>a(e.diff))}),n.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>t.e(4812).then(t.bind(t,34812)).then(e=>a(e.dockerFile))}),n.c6.of({name:"DTD",extensions:["dtd"],load:()=>t.e(6991).then(t.bind(t,76991)).then(e=>a(e.dtd))}),n.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>t.e(4144).then(t.bind(t,24144)).then(e=>a(e.dylan))}),n.c6.of({name:"EBNF",load:()=>t.e(2040).then(t.bind(t,82040)).then(e=>a(e.ebnf))}),n.c6.of({name:"ECL",extensions:["ecl"],load:()=>t.e(7315).then(t.bind(t,37315)).then(e=>a(e.ecl))}),n.c6.of({name:"edn",extensions:["edn"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Eiffel",extensions:["e"],load:()=>t.e(7525).then(t.bind(t,87525)).then(e=>a(e.eiffel))}),n.c6.of({name:"Elm",extensions:["elm"],load:()=>t.e(8770).then(t.bind(t,28770)).then(e=>a(e.elm))}),n.c6.of({name:"Erlang",extensions:["erl"],load:()=>t.e(7590).then(t.bind(t,53482)).then(e=>a(e.erlang))}),n.c6.of({name:"Esper",load:()=>t.e(9607).then(t.bind(t,54050)).then(e=>a(e.esper))}),n.c6.of({name:"Factor",extensions:["factor"],load:()=>t.e(7001).then(t.bind(t,87001)).then(e=>a(e.factor))}),n.c6.of({name:"FCL",load:()=>t.e(7663).then(t.bind(t,77663)).then(e=>a(e.fcl))}),n.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>t.e(8393).then(t.bind(t,68393)).then(e=>a(e.forth))}),n.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>t.e(8283).then(t.bind(t,8283)).then(e=>a(e.fortran))}),n.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.fSharp))}),n.c6.of({name:"Gas",extensions:["s"],load:()=>t.e(9781).then(t.bind(t,39781)).then(e=>a(e.gas))}),n.c6.of({name:"Gherkin",extensions:["feature"],load:()=>t.e(2542).then(t.bind(t,2542)).then(e=>a(e.gherkin))}),n.c6.of({name:"Go",extensions:["go"],load:()=>t.e(8910).then(t.bind(t,48910)).then(e=>a(e.go))}),n.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>t.e(3883).then(t.bind(t,23883)).then(e=>a(e.groovy))}),n.c6.of({name:"Haskell",extensions:["hs"],load:()=>t.e(5372).then(t.bind(t,95372)).then(e=>a(e.haskell))}),n.c6.of({name:"Haxe",extensions:["hx"],load:()=>t.e(3509).then(t.bind(t,63509)).then(e=>a(e.haxe))}),n.c6.of({name:"HXML",extensions:["hxml"],load:()=>t.e(3509).then(t.bind(t,63509)).then(e=>a(e.hxml))}),n.c6.of({name:"HTTP",load:()=>t.e(7558).then(t.bind(t,36395)).then(e=>a(e.http))}),n.c6.of({name:"IDL",extensions:["pro"],load:()=>t.e(2314).then(t.bind(t,22314)).then(e=>a(e.idl))}),n.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>t.e(9296).then(t.bind(t,59296)).then(e=>a(e.jsonld))}),n.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>t.e(1084).then(t.bind(t,41084)).then(e=>a(e.jinja2))}),n.c6.of({name:"Julia",extensions:["jl"],load:()=>t.e(6092).then(t.bind(t,76092)).then(e=>a(e.julia))}),n.c6.of({name:"Kotlin",extensions:["kt"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.kotlin))}),n.c6.of({name:"LESS",extensions:["less"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.less))}),n.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>t.e(402).then(t.bind(t,60402)).then(e=>a(e.liveScript))}),n.c6.of({name:"Lua",extensions:["lua"],load:()=>t.e(3519).then(t.bind(t,3519)).then(e=>a(e.lua))}),n.c6.of({name:"mIRC",extensions:["mrc"],load:()=>t.e(5134).then(t.bind(t,65134)).then(e=>a(e.mirc))}),n.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>t.e(7213).then(t.bind(t,37213)).then(e=>a(e.mathematica))}),n.c6.of({name:"Modelica",extensions:["mo"],load:()=>t.e(305).then(t.bind(t,40305)).then(e=>a(e.modelica))}),n.c6.of({name:"MUMPS",extensions:["mps"],load:()=>t.e(7988).then(t.bind(t,17988)).then(e=>a(e.mumps))}),n.c6.of({name:"Mbox",extensions:["mbox"],load:()=>t.e(9121).then(t.bind(t,29121)).then(e=>a(e.mbox))}),n.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>t.e(8561).then(t.bind(t,78561)).then(e=>a(e.nginx))}),n.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>t.e(7370).then(t.bind(t,67370)).then(e=>a(e.nsis))}),n.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>t.e(3314).then(t.bind(t,43314)).then(e=>a(e.ntriples))}),n.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.objectiveC))}),n.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.objectiveCpp))}),n.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.oCaml))}),n.c6.of({name:"Octave",extensions:["m"],load:()=>t.e(3283).then(t.bind(t,33283)).then(e=>a(e.octave))}),n.c6.of({name:"Oz",extensions:["oz"],load:()=>t.e(4796).then(t.bind(t,94796)).then(e=>a(e.oz))}),n.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>t.e(4163).then(t.bind(t,44163)).then(e=>a(e.pascal))}),n.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>t.e(4293).then(t.bind(t,94293)).then(e=>a(e.perl))}),n.c6.of({name:"Pig",extensions:["pig"],load:()=>t.e(3482).then(t.bind(t,33482)).then(e=>a(e.pig))}),n.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>t.e(7421).then(t.bind(t,37421)).then(e=>a(e.powerShell))}),n.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>t.e(9071).then(t.bind(t,69071)).then(e=>a(e.properties))}),n.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>t.e(8142).then(t.bind(t,78142)).then(e=>a(e.protobuf))}),n.c6.of({name:"Puppet",extensions:["pp"],load:()=>t.e(3993).then(t.bind(t,83993)).then(e=>a(e.puppet))}),n.c6.of({name:"Q",extensions:["q"],load:()=>t.e(228).then(t.bind(t,10228)).then(e=>a(e.q))}),n.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>t.e(7365).then(t.bind(t,57365)).then(e=>a(e.r))}),n.c6.of({name:"RPM Changes",load:()=>t.e(8171).then(t.bind(t,48171)).then(e=>a(e.rpmChanges))}),n.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>t.e(8171).then(t.bind(t,48171)).then(e=>a(e.rpmSpec))}),n.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>t.e(4439).then(t.bind(t,24439)).then(e=>a(e.ruby))}),n.c6.of({name:"SAS",extensions:["sas"],load:()=>t.e(1770).then(t.bind(t,1770)).then(e=>a(e.sas))}),n.c6.of({name:"Sass",extensions:["sass"],load:()=>t.e(9809).then(t.bind(t,49809)).then(e=>a(e.sass))}),n.c6.of({name:"Scala",extensions:["scala"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.scala))}),n.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>t.e(5879).then(t.bind(t,95879)).then(e=>a(e.scheme))}),n.c6.of({name:"SCSS",extensions:["scss"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.sCSS))}),n.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>t.e(4879).then(t.bind(t,44879)).then(e=>a(e.shell))}),n.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>t.e(9713).then(t.bind(t,9713)).then(e=>a(e.sieve))}),n.c6.of({name:"Smalltalk",extensions:["st"],load:()=>t.e(1873).then(t.bind(t,11873)).then(e=>a(e.smalltalk))}),n.c6.of({name:"Solr",load:()=>t.e(7762).then(t.bind(t,17762)).then(e=>a(e.solr))}),n.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.sml))}),n.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>t.e(370).then(t.bind(t,70370)).then(e=>a(e.sparql))}),n.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>t.e(7601).then(t.bind(t,97601)).then(e=>a(e.spreadsheet))}),n.c6.of({name:"Squirrel",extensions:["nut"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.squirrel))}),n.c6.of({name:"Stylus",extensions:["styl"],load:()=>t.e(8007).then(t.bind(t,28007)).then(e=>a(e.stylus))}),n.c6.of({name:"Swift",extensions:["swift"],load:()=>t.e(6062).then(t.bind(t,66062)).then(e=>a(e.swift))}),n.c6.of({name:"sTeX",load:()=>t.e(6732).then(t.bind(t,86732)).then(e=>a(e.stex))}),n.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>t.e(6732).then(t.bind(t,86732)).then(e=>a(e.stex))}),n.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>t.e(2119).then(t.bind(t,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"Tcl",extensions:["tcl"],load:()=>t.e(3465).then(t.bind(t,43465)).then(e=>a(e.tcl))}),n.c6.of({name:"Textile",extensions:["textile"],load:()=>t.e(177).then(t.bind(t,90177)).then(e=>a(e.textile))}),n.c6.of({name:"TiddlyWiki",load:()=>t.e(4511).then(t.bind(t,34511)).then(e=>a(e.tiddlyWiki))}),n.c6.of({name:"Tiki wiki",load:()=>t.e(6471).then(t.bind(t,36471)).then(e=>a(e.tiki))}),n.c6.of({name:"TOML",extensions:["toml"],load:()=>t.e(6443).then(t.bind(t,96443)).then(e=>a(e.toml))}),n.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>t.e(1920).then(t.bind(t,71920)).then(e=>a(e.troff))}),n.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>t.e(6665).then(t.bind(t,66665)).then(e=>a(e.ttcn))}),n.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>t.e(9831).then(t.bind(t,29831)).then(e=>a(e.ttcnCfg))}),n.c6.of({name:"Turtle",extensions:["ttl"],load:()=>t.e(5815).then(t.bind(t,15815)).then(e=>a(e.turtle))}),n.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>t.e(6692).then(t.bind(t,26692)).then(e=>a(e.webIDL))}),n.c6.of({name:"VB.NET",extensions:["vb"],load:()=>t.e(4212).then(t.bind(t,44212)).then(e=>a(e.vb))}),n.c6.of({name:"VBScript",extensions:["vbs"],load:()=>t.e(1650).then(t.bind(t,31650)).then(e=>a(e.vbScript))}),n.c6.of({name:"Velocity",extensions:["vtl"],load:()=>t.e(617).then(t.bind(t,90617)).then(e=>a(e.velocity))}),n.c6.of({name:"Verilog",extensions:["v"],load:()=>t.e(2119).then(t.bind(t,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>t.e(5819).then(t.bind(t,5819)).then(e=>a(e.vhdl))}),n.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>t.e(5753).then(t.bind(t,35753)).then(e=>a(e.xQuery))}),n.c6.of({name:"Yacas",extensions:["ys"],load:()=>t.e(9232).then(t.bind(t,69232)).then(e=>a(e.yacas))}),n.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>t.e(2877).then(t.bind(t,82877)).then(e=>a(e.yaml))}),n.c6.of({name:"Z80",extensions:["z80"],load:()=>t.e(1053).then(t.bind(t,21053)).then(e=>a(e.z80))}),n.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.mscgen))}),n.c6.of({name:"X\xf9",extensions:["xu"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.xu))}),n.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.msgenny))})]}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7022-4af2eaa76070d1d8.js b/static/web/_next/static/chunks/7022-4af2eaa76070d1d8.js new file mode 100644 index 000000000..20dabebaa --- /dev/null +++ b/static/web/_next/static/chunks/7022-4af2eaa76070d1d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7022],{88484:function(e,O,t){t.d(O,{Z:function(){return o}});var n=t(1413),a=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=t(42135),l=function(e,O){return a.createElement(r.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:O,icon:i}))};l.displayName="UploadOutlined";var o=a.forwardRef(l)},94594:function(e,O,t){t.d(O,{Z:function(){return g}});var n=t(87462),a=t(4942),i=t(50888),r=t(94184),l=t.n(r),o=t(97685),s=t(45987),p=t(67294),Q=t(21770),c=t(15105),d=p.forwardRef(function(e,O){var t,n=e.prefixCls,i=void 0===n?"rc-switch":n,r=e.className,d=e.checked,h=e.defaultChecked,f=e.disabled,u=e.loadingIcon,$=e.checkedChildren,m=e.unCheckedChildren,S=e.onClick,g=e.onChange,P=e.onKeyDown,Z=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),T=(0,Q.Z)(!1,{value:d,defaultValue:h}),b=(0,o.Z)(T,2),x=b[0],X=b[1];function W(e,O){var t=x;return f||(X(t=e),null==g||g(t,O)),t}var y=l()(i,r,(t={},(0,a.Z)(t,"".concat(i,"-checked"),x),(0,a.Z)(t,"".concat(i,"-disabled"),f),t));return p.createElement("button",Object.assign({},Z,{type:"button",role:"switch","aria-checked":x,disabled:f,className:y,ref:O,onKeyDown:function(e){e.which===c.Z.LEFT?W(!1,e):e.which===c.Z.RIGHT&&W(!0,e),null==P||P(e)},onClick:function(e){var O=W(!x,e);null==S||S(O,e)}}),u,p.createElement("span",{className:"".concat(i,"-inner")},x?$:m))});d.displayName="Switch";var h=t(53124),f=t(98866),u=t(97647),$=t(68349),m=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},S=p.forwardRef(function(e,O){var t,r=e.prefixCls,o=e.size,s=e.disabled,Q=e.loading,c=e.className,S=m(e,["prefixCls","size","disabled","loading","className"]),g=p.useContext(h.E_),P=g.getPrefixCls,Z=g.direction,T=p.useContext(u.Z),b=p.useContext(f.Z),x=P("switch",r),X=p.createElement("div",{className:"".concat(x,"-handle")},Q&&p.createElement(i.Z,{className:"".concat(x,"-loading-icon")})),W=l()((t={},(0,a.Z)(t,"".concat(x,"-small"),"small"===(o||T)),(0,a.Z)(t,"".concat(x,"-loading"),Q),(0,a.Z)(t,"".concat(x,"-rtl"),"rtl"===Z),t),void 0===c?"":c);return p.createElement($.Z,{insertExtraNode:!0},p.createElement(d,(0,n.Z)({},S,{prefixCls:x,className:W,disabled:(null!=s?s:b)||Q,ref:O,loadingIcon:X})))});S.__ANT_SWITCH=!0;var g=S},20550:function(e,O,t){t.d(O,{Z:function(){return S}});var n=t(4942),a=t(87462),i=t(97685),r=t(97937),l=t(94184),o=t.n(l),s=t(98423),p=t(67294),Q=t(53124),c=t(98787),d=t(68349),h=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},f=function(e,O){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>O.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);aO.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]]);return t},u=RegExp("^(".concat(c.Y.join("|"),")(-inverse)?$")),$=RegExp("^(".concat(c.E.join("|"),")$")),m=p.forwardRef(function(e,O){var t,l=e.prefixCls,c=e.className,h=e.style,m=e.children,S=e.icon,g=e.color,P=e.onClose,Z=e.closeIcon,T=e.closable,b=f(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),x=p.useContext(Q.E_),X=x.getPrefixCls,W=x.direction,y=p.useState(!0),_=(0,i.Z)(y,2),k=_[0],w=_[1];p.useEffect(function(){"visible"in b&&w(b.visible)},[b.visible]);var Y=function(){return!!g&&(u.test(g)||$.test(g))},q=(0,a.Z)({backgroundColor:g&&!Y()?g:void 0},h),V=Y(),v=X("tag",l),C=o()(v,(t={},(0,n.Z)(t,"".concat(v,"-").concat(g),V),(0,n.Z)(t,"".concat(v,"-has-color"),g&&!V),(0,n.Z)(t,"".concat(v,"-hidden"),!k),(0,n.Z)(t,"".concat(v,"-rtl"),"rtl"===W),t),c),j=function(e){e.stopPropagation(),null==P||P(e),!e.defaultPrevented&&("visible"in b||w(!1))},U="onClick"in b||m&&"a"===m.type,R=(0,s.Z)(b,["visible"]),G=S||null,A=G?p.createElement(p.Fragment,null,G,p.createElement("span",null,m)):m,M=p.createElement("span",(0,a.Z)({},R,{ref:O,className:C,style:q}),A,void 0!==T&&T?Z?p.createElement("span",{className:"".concat(v,"-close-icon"),onClick:j},Z):p.createElement(r.Z,{className:"".concat(v,"-close-icon"),onClick:j}):null);return U?p.createElement(d.Z,null,M):M});m.CheckableTag=function(e){var O,t=e.prefixCls,i=e.className,r=e.checked,l=e.onChange,s=e.onClick,c=h(e,["prefixCls","className","checked","onChange","onClick"]),d=(0,p.useContext(Q.E_).getPrefixCls)("tag",t),f=o()(d,(O={},(0,n.Z)(O,"".concat(d,"-checkable"),!0),(0,n.Z)(O,"".concat(d,"-checkable-checked"),r),O),i);return p.createElement("span",(0,a.Z)({},c,{className:f,onClick:function(e){null==l||l(!r),null==s||s(e)}}))};var S=m},13804:function(e,O,t){t.r(O),t.d(O,{autoCloseTags:function(){return ei},html:function(){return ea},htmlCompletionSource:function(){return K},htmlCompletionSourceWith:function(){return ee},htmlLanguage:function(){return en}});var n=t(53105),a=t(35524),i=t(41113);let r={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},l={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},o={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function s(e){return 9==e||10==e||13==e||32==e}let p=null,Q=null,c=0;function d(e,O){var t;let n=e.pos+O;if(c==n&&Q==e)return p;let a=e.peek(O);for(;s(a);)a=e.peek(++O);let i="";for(;45==(t=a)||46==t||58==t||t>=65&&t<=90||95==t||t>=97&&t<=122||t>=161;)i+=String.fromCharCode(a),a=e.peek(++O);return Q=e,c=n,p=i?i.toLowerCase():a==h||a==f?void 0:null}let h=63,f=33;function u(e,O){this.name=e,this.parent=O,this.hash=O?O.hash:0;for(let t=0;t$.indexOf(O)>-1?new u(d(n,1)||"",e):e,reduce:(e,O)=>18==O&&e?e.parent:e,reuse(e,O,t,n){let a=O.type.id;return 4==a||35==a?new u(d(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),S=new n.Jq((e,O)=>{if(60!=e.next){e.next<0&&O.context&&e.acceptToken(57);return}e.advance();let t=47==e.next;t&&e.advance();let n=d(e,0);if(void 0===n)return;if(!n)return e.acceptToken(t?12:4);let a=O.context?O.context.name:null;if(t){if(n==a)return e.acceptToken(9);if(a&&l[a])return e.acceptToken(57,-2);if(O.dialectEnabled(0))return e.acceptToken(10);for(let i=O.context;i;i=i.parent)if(i.name==n)return;e.acceptToken(11)}else{if("script"==n)return e.acceptToken(5);if("style"==n)return e.acceptToken(6);if("textarea"==n)return e.acceptToken(7);if(r.hasOwnProperty(n))return e.acceptToken(8);a&&o[a]&&o[a][n]?e.acceptToken(57,-1):e.acceptToken(4)}},{contextual:!0}),g=new n.Jq(e=>{for(let O=0,t=0;;t++){if(e.next<0){t&&e.acceptToken(58);break}if(45==e.next)O++;else if(62==e.next&&O>=2){t>3&&e.acceptToken(58,-2);break}else O=0;e.advance()}});function P(e,O,t){let a=2+e.length;return new n.Jq(n=>{for(let i=0,r=0,l=0;;l++){if(n.next<0){l&&n.acceptToken(O);break}if(0==i&&60==n.next||1==i&&47==n.next||i>=2&&ir?n.acceptToken(O,-r):n.acceptToken(t,-(r-2));break}else if((10==n.next||13==n.next)&&l){n.acceptToken(O,1);break}else i=r=0;n.advance()}})}let Z=P("script",54,1),T=P("style",55,2),b=P("textarea",56,3),x=(0,a.Gv)({"Text RawText":a.pJ.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":a.pJ.angleBracket,TagName:a.pJ.tagName,"MismatchedCloseTag/TagName":[a.pJ.tagName,a.pJ.invalid],AttributeName:a.pJ.attributeName,"AttributeValue UnquotedAttributeValue":a.pJ.attributeValue,Is:a.pJ.definitionOperator,"EntityReference CharacterReference":a.pJ.character,Comment:a.pJ.blockComment,ProcessingInst:a.pJ.processingInstruction,DoctypeDecl:a.pJ.documentMeta}),X=n.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",stateData:"+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:m,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[x],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_{let i=e.type.id;if(27==i)return _(e,O,t);if(30==i)return _(e,O,n);if(33==i)return _(e,O,a);if(35==i&&r.length){let l=e.node,s=y(l,O),p;for(let Q of r)if(Q.tag==s&&(!Q.attrs||Q.attrs(p||(p=W(l,O))))){let c=l.parent.lastChild;return{parser:Q.parser,overlay:[{from:e.to,to:36==c.type.id?c.from:l.parent.to}]}}}if(o&&21==i){let d=e.node,h;if(h=d.firstChild){let f=o[O.read(h.from,h.to)];if(f)for(let u of f){if(u.tagName&&u.tagName!=y(d.parent,O))continue;let $=d.lastChild;if(24==$.type.id)return{parser:u.parser,overlay:[{from:$.from+1,to:$.to-1}]};if(25==$.type.id)return{parser:u.parser,overlay:[{from:$.from,to:$.to}]}}}}return null})}var w=t(61426),Y=t(58037),q=t(47421),V=t(78120),v=t(59119);let C=["_blank","_self","_top","_parent"],j=["ascii","utf-8","utf-16","latin1","latin1"],U=["get","post","put","delete"],R=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],G=["true","false"],A={},M={a:{attrs:{href:null,ping:null,type:null,media:null,target:C,hreflang:null}},abbr:A,address:A,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:A,aside:A,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:A,base:{attrs:{href:null,target:C}},bdi:A,bdo:A,blockquote:{attrs:{cite:null}},body:A,br:A,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:R,formmethod:U,formnovalidate:["novalidate"],formtarget:C,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:A,center:A,cite:A,code:A,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:A,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:A,div:A,dl:A,dt:A,em:A,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:A,figure:A,footer:A,form:{attrs:{action:null,name:null,"accept-charset":j,autocomplete:["on","off"],enctype:R,method:U,novalidate:["novalidate"],target:C}},h1:A,h2:A,h3:A,h4:A,h5:A,h6:A,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:A,hgroup:A,hr:A,html:{attrs:{manifest:null}},i:A,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:R,formmethod:U,formnovalidate:["novalidate"],formtarget:C,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:A,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:A,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:A,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:j,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:A,noscript:A,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:A,param:{attrs:{name:null,value:null}},pre:A,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:A,rt:A,ruby:A,samp:A,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:j}},section:A,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:A,source:{attrs:{src:null,type:null,media:null}},span:A,strong:A,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:A,summary:A,sup:A,table:A,tbody:A,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:A,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:A,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:A,time:{attrs:{datetime:null}},title:A,tr:A,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:A,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:A},E={accesskey:null,class:null,contenteditable:G,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:G,autocorrect:G,autocapitalize:G,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":G,"aria-autocomplete":["inline","list","both","none"],"aria-busy":G,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":G,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":G,"aria-hidden":G,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":G,"aria-multiselectable":G,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":G,"aria-relevant":null,"aria-required":G,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class J{constructor(e,O){this.tags=Object.assign(Object.assign({},M),e),this.globalAttrs=Object.assign(Object.assign({},E),O),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function I(e,O,t=e.length){if(!O)return"";let n=O.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,t)):""}function L(e,O=!1){for(let t=e.parent;t;t=t.parent)if("Element"==t.name){if(!O)return t;O=!1}return null}function B(e,O,t){let n=t.tags[I(e,L(O,!0))];return(null==n?void 0:n.children)||t.allTags}function z(e,O){let t=[];for(let n=O;n=L(n);){let a=I(e,n);if(a&&"CloseTag"==n.lastChild.name)break;a&&0>t.indexOf(a)&&("EndTag"==O.name||O.from>=n.firstChild.to)&&t.push(a)}return t}J.default=new J;let D=/^[:\-\.\w\u00b7-\uffff]*$/;function N(e,O,t,n,a){let i=/\s*>/.test(e.sliceDoc(a,a+5))?"":">";return{from:n,to:a,options:B(e.doc,t,O).map(e=>({label:e,type:"type"})).concat(z(e.doc,t).map((e,O)=>({label:"/"+e,apply:"/"+e+i,type:"type",boost:99-O}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function F(e,O,t,n){let a=/\s*>/.test(e.sliceDoc(n,n+5))?"":">";return{from:t,to:n,options:z(e.doc,O).map((e,O)=>({label:e,apply:e+a,type:"type",boost:99-O})),validFor:D}}function H(e,O){let{state:t,pos:n}=O,a=(0,v.qz)(t).resolveInner(n),i=a.resolve(n,-1);for(let r=n,l;a==i&&(l=i.childBefore(r));){let o=l.lastChild;if(!o||!o.type.isError||o.from({label:e,type:"property"})),validFor:D}}return"Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name?function(e,O,t,n,a){var i;let r=null===(i=t.parent)||void 0===i?void 0:i.getChild("AttributeName"),l=[],o;if(r){let s=e.sliceDoc(r.from,r.to),p=O.globalAttrs[s];if(!p){let Q=L(t),c=Q?O.tags[I(e.doc,Q)]:null;p=(null==c?void 0:c.attrs)&&c.attrs[s]}if(p){let d=e.sliceDoc(n,a).toLowerCase(),h='"',f='"';for(let u of(/^['"]/.test(d)?(o='"'==d[0]?/^[^"]*$/:/^[^']*$/,h="",f=e.sliceDoc(a,a+1)==d[0]?"":d[0],d=d.slice(1),n++):o=/^[^\s<>='"]*$/,p))l.push({label:u,apply:h+u+f,type:"constant"})}}return{from:n,to:a,options:l,validFor:o}}(t,e,i,"Is"==i.name?n:i.from,n):O.explicit&&("Element"==a.name||"Text"==a.name||"Document"==a.name)?function(e,O,t,n){let a=[],i=0;for(let r of B(e.doc,t,O))a.push({label:"<"+r,type:"type"});for(let l of z(e.doc,t))a.push({label:"",type:"type",boost:99-i++});return{from:n,to:n,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(t,e,i,n):null}function K(e){return H(J.default,e)}function ee(e){let{extraTags:O,extraGlobalAttributes:t}=e,n=t||O?new J(O,t):J.default;return e=>H(n,e)}let eO=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:Y.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:Y.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:Y.tsxLanguage.parser},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:Y.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:w.cssLanguage.parser}],et=[{name:"style",parser:w.cssLanguage.parser.configure({top:"Styles"})}].concat("beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>({name:"on"+e,parser:Y.javascriptLanguage.parser}))),en=v.qp.define({name:"html",parser:X.configure({props:[v.uj.add({Element(e){let O=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+O[0].length?e.continue():e.lineIndent(e.node.from)+(O[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function ea(e={}){let O="",t;!1===e.matchClosingTags&&(O="noMatch"),!0===e.selfClosingTags&&(O=(O?O+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=k((e.nestedLanguages||[]).concat(eO),(e.nestedAttributes||[]).concat(et)));let n=t||O?en.configure({dialect:O,wrap:t}):en;return new v.ri(n,[en.data.of({autocomplete:ee(e)}),!1!==e.autoCloseTags?ei:[],(0,Y.javascript)().support,(0,w.css)().support])}let ei=q.tk.inputHandler.of((e,O,t,n)=>{if(e.composing||e.state.readOnly||O!=t||">"!=n&&"/"!=n||!en.isActiveAt(e.state,O,-1))return!1;let{state:a}=e,i=a.changeByRange(O=>{var t,i,r;let{head:l}=O,o=(0,v.qz)(a).resolveInner(l,-1),s;if(("TagName"==o.name||"StartTag"==o.name)&&(o=o.parent),">"==n&&"OpenTag"==o.name){if((null===(i=null===(t=o.parent)||void 0===t?void 0:t.lastChild)||void 0===i?void 0:i.name)!="CloseTag"&&(s=I(a.doc,o.parent,l))){let p=">"===e.state.doc.sliceString(l,l+1),Q=`${p?"":">"}`;return{range:V.jT.cursor(l+1),changes:{from:l+(p?1:0),insert:Q}}}}else if("/"==n&&"OpenTag"==o.name){let c=o.parent,d=null==c?void 0:c.parent;if(c.from==l-1&&(null===(r=d.lastChild)||void 0===r?void 0:r.name)!="CloseTag"&&(s=I(a.doc,d,l))){let h=">"===e.state.doc.sliceString(l,l+1),f=`/${s}${h?"":">"}`,u=l+f.length+(h?1:0);return{range:V.jT.cursor(u),changes:{from:l,insert:f}}}}return{range:O}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,O,t){t.r(O),t.d(O,{autoCloseTags:function(){return A},completionPath:function(){return w},esLint:function(){return M},javascript:function(){return U},javascriptLanguage:function(){return q},jsxLanguage:function(){return v},localCompletionSource:function(){return _},scopeCompletionSource:function(){return Y},snippets:function(){return P},tsxLanguage:function(){return C},typescriptLanguage:function(){return V}});var n=t(53105),a=t(35524);let i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],r=new n.IK({start:!1,shift:(e,O)=>4==O||5==O||298==O?e:299==O,strict:!1}),l=new n.Jq((e,O)=>{let{next:t}=e;(125==t||-1==t||O.context)&&O.canShift(296)&&e.acceptToken(296)},{contextual:!0,fallback:!0}),o=new n.Jq((e,O)=>{let{next:t}=e,n;!(i.indexOf(t)>-1)&&(47!=t||47!=(n=e.peek(1))&&42!=n)&&125!=t&&59!=t&&-1!=t&&!O.context&&O.canShift(293)&&e.acceptToken(293)},{contextual:!0}),s=new n.Jq((e,O)=>{let{next:t}=e;if((43==t||45==t)&&(e.advance(),t==e.next)){e.advance();let n=!O.context&&O.canShift(1);e.acceptToken(n?1:2)}},{contextual:!0}),p=new n.Jq(e=>{for(let O=!1,t=0;;t++){let{next:n}=e;if(n<0){t&&e.acceptToken(294);break}if(96==n){t?e.acceptToken(294):e.acceptToken(295,1);break}if(123==n&&O){1==t?e.acceptToken(3,1):e.acceptToken(294,-1);break}if(10==n&&t){e.advance(),e.acceptToken(294);break}else 92==n&&e.advance();O=36==n,e.advance()}}),Q=(0,a.Gv)({"get set async static":a.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":a.pJ.controlKeyword,"in of await yield void typeof delete instanceof":a.pJ.operatorKeyword,"let var const function class extends":a.pJ.definitionKeyword,"import export from":a.pJ.moduleKeyword,"with debugger as new":a.pJ.keyword,TemplateString:a.pJ.special(a.pJ.string),super:a.pJ.atom,BooleanLiteral:a.pJ.bool,this:a.pJ.self,null:a.pJ.null,Star:a.pJ.modifier,VariableName:a.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":a.pJ.function(a.pJ.variableName),VariableDefinition:a.pJ.definition(a.pJ.variableName),Label:a.pJ.labelName,PropertyName:a.pJ.propertyName,PrivatePropertyName:a.pJ.special(a.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":a.pJ.function(a.pJ.propertyName),"FunctionDeclaration/VariableDefinition":a.pJ.function(a.pJ.definition(a.pJ.variableName)),"ClassDeclaration/VariableDefinition":a.pJ.definition(a.pJ.className),PropertyDefinition:a.pJ.definition(a.pJ.propertyName),PrivatePropertyDefinition:a.pJ.definition(a.pJ.special(a.pJ.propertyName)),UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,RegExp:a.pJ.regexp,Equals:a.pJ.definitionOperator,Arrow:a.pJ.function(a.pJ.punctuation),": Spread":a.pJ.punctuation,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"InterpolationStart InterpolationEnd":a.pJ.special(a.pJ.brace),".":a.pJ.derefOperator,", ;":a.pJ.separator,"@":a.pJ.meta,TypeName:a.pJ.typeName,TypeDefinition:a.pJ.definition(a.pJ.typeName),"type enum interface implements namespace module declare":a.pJ.definitionKeyword,"abstract global Privacy readonly override":a.pJ.modifier,"is keyof unique infer":a.pJ.operatorKeyword,JSXAttributeValue:a.pJ.attributeValue,JSXText:a.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":a.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":a.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":a.pJ.attributeName,"JSXBuiltin/JSXIdentifier":a.pJ.standard(a.pJ.tagName)}),c={__proto__:null,export:16,as:21,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:68,void:72,typeof:76,super:92,new:126,await:143,yield:145,delete:146,class:156,public:211,private:211,protected:211,readonly:213,instanceof:232,satisfies:235,in:236,const:238,import:270,keyof:325,unique:329,infer:335,is:371,abstract:391,implements:393,type:395,let:398,var:400,interface:407,enum:411,namespace:417,module:419,declare:423,global:427,for:448,of:457,while:460,with:464,do:468,if:472,else:474,switch:478,case:484,try:490,catch:494,finally:498,return:502,throw:506,break:510,continue:514,debugger:518},d={__proto__:null,async:113,get:115,set:117,public:173,private:173,protected:173,static:175,abstract:177,override:179,readonly:185,accessor:187,new:375},h={__proto__:null,"<":133},f=n.WQ.deserialize({version:14,states:"$>YO`QYOOO$}QYOOO)WQ(CjO'#CgO)_OSO'#DYO+jQYO'#D_O+zQYO'#DjO$}QYO'#DtO.OQYO'#DzOOQ(CY'#ES'#ESO.fQWO'#EPOOQO'#IV'#IVO.nQWO'#GfOOQO'#Ed'#EdO.yQWO'#EcO/OQWO'#EcO1QQ(CjO'#JPO3qQ(CjO'#JQO4_QWO'#FRO4dQpO'#FjOOQ(CY'#FZ'#FZO4oO!bO'#FZO4}Q#tO'#FqO6bQWO'#FpOOQ(CY'#JQ'#JQOOQ(CW'#JP'#JPOOQQ'#Jj'#JjO6gQWO'#HzO6lQ(C`O'#H{OOQQ'#It'#ItOOQQ'#H}'#H}Q`QYOOO$}QYO'#DlO6tQWO'#GfO6yQ#tO'#ClO7XQWO'#EbO7dQWO'#EmO7iQ#tO'#FYO8TQWO'#GfO8YQWO'#GjO8eQWO'#GjO8sQWO'#GmO8sQWO'#GnO8sQWO'#GpO6tQWO'#GsO9dQWO'#GvO:uQWO'#CcO;VQWO'#HTO;_QWO'#HZO;_QWO'#H]O`QYO'#H_O;_QWO'#HaO;_QWO'#HdO;dQWO'#HjO;iQ(CaO'#HpO$}QYO'#HrO;tQ(CaO'#HtOTQ`O'#FYO$}QYO'#DZOOOS'#IP'#IPO>]OSO,59tOOQ(CY,59t,59tO>hQYO'#IQO>{QWO'#JRO@}QbO'#JRO)jQYO'#JROAUQWO,59yOAlQWO'#EdOAyQWO'#J_OBUQWO'#J^OBUQWO'#J^OB^QWO,5;QOBcQWO'#J]OOQ(CY,5:U,5:UOBjQYO,5:UODkQ(CjO,5:`OE[QWO,5:fOEaQWO'#JZOFZQ(C`O'#J[O8YQWO'#JZOFbQWO'#JZOFjQWO,5;POFoQWO'#JZOOQ(CY'#Cg'#CgO$}QYO'#DzOGcQ`O,5:kOOQO'#JW'#JWOOQO-EfOOQQ'#Iw'#IwOOQQ,5>g,5>gOOQQ-E;{-E;{O!-vQ(CjO,5:WOOQ(CW'#Co'#CoO!.jQ#tO,5=QOOQO'#Ce'#CeO!.xQ(C`O'#IxO6bQWO'#IxO;dQWO,59WO!/ZQpO,59WO!/cQ#tO,59WO6yQ#tO,59WO!/nQWO,5:}O!/vQWO'#HSO!0UQWO'#JnO$}QYO,5;rO!0^Q&jO,5;tO!0cQWO,5=mO!0hQWO,5=mO!0mQWO,5=mO6lQ(C`O,5=mO!0{QWO'#EfO!1rQ&jO'#EgOOQ(CW'#J]'#J]O!1yQ(C`O'#JkO6lQ(C`O,5=UO8sQWO,5=[OOQO'#Cr'#CrO!2UQpO,5=XO!2^Q#tO,5=YO!2iQWO,5=[O!2nQ`O,5=_O;dQWO'#GxO6tQWO'#GzO!2vQWO'#GzO6yQ#tO'#G}O!2{QWO'#G}OOQQ,5=b,5=bO!3QQWO'#HOO!3YQWO'#ClO!3_QWO,58}O!3iQWO,58}O!5nQYO,58}OOQQ,58},58}O!5{Q(C`O,58}O$}QYO,58}O!6WQYO'#HVOOQQ'#HW'#HWOOQQ'#HX'#HXO`QYO,5=oO!6hQWO,5=oO`QYO,5=uO`QYO,5=wO!6mQWO,5=yO`QYO,5={O!6rQWO,5>OO!6wQYO,5>UOOQQ,5>[,5>[O$}QYO,5>[O6lQ(C`O,5>^OOQQ,5>`,5>`O!:{QWO,5>`OOQQ,5>b,5>bO!:{QWO,5>bOOQQ,5>d,5>dO!;QQpO'#DWOOQ(CW'#JT'#JTO$}QYO'#JTO!;oQpO'#JTO!<^QpO'#DeO!zQYO'#DeO!?RQWO'#JSO!?ZQWO,5:OO!?`QWO'#EhO!?nQWO'#J`O!?vQWO,5;RO!@^Q&jO'#DeO!@hQ&jO'#D}OOQ(CY,5:g,5:gO$}QYO,5:gO!AeQWO,5:gO;dQWO,5:|O!/ZQpO,5:|O!/cQ#tO,5:|O6yQ#tO,5:|O!AmQ`O,59uOOOS-E;}-E;}OOQ(CY1G/`1G/`O!ArQbO,5>lO)jQYO,5>lOOQO,5>r,5>rO!A|QYO'#IQOOQO-EwOOQ(CW-ETQ#tO,5<_O#>vQ#tO,5lO$'_QWO1G5XO$'gQWO1G5dO$'oQbO1G5eO8YQWO,5>rO$'yQWO1G5aO$'yQWO1G5aO8YQWO1G5aO$(RQ(CjO1G5bO$}QYO1G5bO$(cQ(C`O1G5bO$(tQWO,5>tO8YQWO,5>tOOQO,5>t,5>tO$)YQWO,5>tOOQO-Ey,5>yO$6rQWO,5>yOOQ(CY1G2Y1G2YP$6wQWO'#I_POQ(CY-E<]-E<]O$7hQ#tO1G2fO$8ZQ#tO1G2hO$8eQ`O1G2jOOQ(CY1G2R1G2RO$8lQWO'#I^O$8zQWO,5@RO$8zQWO,5@RO$9SQWO,5@RO$9_QWO,5@ROOQO1G2T1G2TO$9mQ#tO1G2SOKeQ#tO1G2SO$9}Q7[O'#I`O$:_QWO,5@SOJOQ#tO,5@SO$:gQ`O,5@SOOQ(CY1G2W1G2WOOQ(CW,5{,5>{OOQO-E<_-E<_OOQ(CY1G2[1G2[O!)aQ&jO,5|,5>|OOQO-E<`-E<`OOQO1G.w1G.wO!0^Q&jO,59oO$}QYO,59oO$;rQWO1G1}OKeQ#tO1G2UO$;wQ(CjO7+'bOOQ(CY7+'b7+'bOHOQYO7+'bOOQ(CY7+%^7+%^O$RQWO,5WQWO'#IiO$>iQWO,5@ZOOQO1G3Y1G3YO6tQWO,5@ZO$>iQWO,5@ZO$>qQWO,5@ZOOQO,5?U,5?UOOQO-EvQWO7+(sO6lQ(C`O7+(sO6tQWO7+(sO$>{QWO7+(sO$?QQWO,5;SOOQ(CW,5?O,5?OOOQ(CW-EQOOQQ,5>Q,5>QO$}QYO'#HgO$CaQWO'#HiOOQQ,5>W,5>WO8YQWO,5>WOOQQ,5>Y,5>YOOQQ7+)[7+)[OOQQ7+)b7+)bOOQQ7+)f7+)fOOQQ7+)h7+)hO$CfQpO1G5ZO$CzQMjO1G0nO$DUQWO1G0nOOQO1G/k1G/kO$DaQMjO1G/kO$DkQWO,5?oO;dQWO1G/kOMnQYO'#DeOOQO,5>m,5>mOOQO-Es,5>sOOQO-EnOOQO-EoO$}QYO,5>oOOQO-EwOOOO7+'^7+'^OOOS1G/S1G/SOOQ(CY1G4e1G4eOKeQ#tO7+(UO%7aQWO,5>xO6tQWO,5>xOOQO-E<[-E<[O%7oQWO1G5mO%7oQWO1G5mO%7wQWO1G5mO%8SQ#tO7+'nO%8dQ`O,5>zO%8nQWO,5>zOJOQ#tO,5>zOOQO-E<^-E<^O%8sQ`O1G5nO%8}QWO1G5nOOQ(CW1G2^1G2^O$:qQWO1G2^OOQ(CW1G2]1G2]O%9VQWO1G2_OJOQ#tO1G2_OOQ(CW1G2d1G2dO!/ZQpO1G2]O#;OQWO1G2^O%9[QWO1G2_O%9dQWO1G2^OKeQ#tO7+*mOOQ(CY1G/Z1G/ZO%9oQWO1G/ZOOQ(CY7+'i7+'iO%9tQ#tO7+'pO%:UQ(CjO<ZQ(C`O'#EZO$#PQ(CxO'#EZO$#tQ&jO'#G|OOQO'#Ig'#IgO6lQ(C`O'#IgO%>oQ&jO,5=gOOQQ,5=g,5=gO%>vQ&jO'#EZO%>PQ&jO'#EZO%?XQ&jO'#EZO%?rQ&jO'#EZO%@cQ&jO'#G|O%@tQWO7+(lO%@yQWO7+(lOOQQ7+(l7+(lOJOQ#tO7+(lO$}QYO7+(lO%ARQWO7+(lOOQQ7+(o7+(oO6lQ(C`O7+(oO#;YQWO7+(oO6bQWO7+(oO!/ZQpO7+(oO%A^QWO,5?SOOQO-EROOQQ,5>T,5>TO%BhQWO1G3rO8YQWO7+&YOMnQYO7+&YOOQ(CW1G5Z1G5ZOOQO7+%V7+%VO%BmQMjO1G5eO;dQWO7+%VO;dQWO1G0UOOQO1G0a1G0aO$}QYO1G0aO%BwQ(C`O1G0aO%CSQ(C`O1G0aO!/ZQpO1G0UO$#kQ&jO1G0UO%CbQ(CxO1G0aO%C|Q&jO1G0UO$#kQ&jO1G0aO%DZQ&jO1G0aO%DqQ&jO1G0aO%E[Q(C`O1G0aOOQO1G0U1G0UO%EpQ(CjO1G0aOOQ(CY<}OOQO-EvAN>vO$}QYOAN?RO;dQWOAN>vO&@oQ(C`OAN?RO!/ZQpOAN>vO&@zQ(C`OAN?RO$#kQ&jOAN>vO&AYQ(C`OAN?ROOQQ!$(!O!$(!OO!AhQWO!$(!OOJOQ#tO!$(!OO&AnQ(CjOG26vOOQ(CWG26kG26kOOQO<_O[.kO~O#_.lO~Od$wa!T$wa#S$wa#t$wa~P!&SO#_.oO~Og,vO!V&cO%[,uO~O[$SOk$TOl$SOm$SOr$dOt$eOv;gO{$[O!V$]O!a_O#_$waP$waY$wa^$wak$way$wa!T$wa!c$wa!d$wa!f$wa!l$wa#b$wa#c$wa#d$wa#e$wa#f$wa#g$wa#h$wa#i$wa#j$wa#l$wa#n$wa#p$wa#q$wa'd$wa'q$wa'|$wa!e$wa!Q$wa'`$wa#S$wao$wa!V$wa%[$wa!_$wa~P!FPO^#Vq!T#Vq'd#Vq'`#Vq!Q#Vq!e#Vqo#Vq!V#Vq%[#Vq!_#Vq~P!,POd&vX!T&vX~PKeO!T-POd'xa~O!S1pO!T&wX!e&wX~P$}O!T-SO!e'ya~O!T-SO!e'ya~P!,PO!Q1sO~O#t!ha!U!ha~PBqO#t!`a!T!`a!U!`a~P#.jO!V2UO$PbO$Y2VO~O!U2ZO~Oo2[O~P!FPO^$cq!T$cq'd$cq'`$cq!Q$cq!e$cqo$cq!V$cq%[$cq!_$cq~P!,PO!Q2]O~O[-mOl-mO~Ox(lO{(mO(U(qOg%Si(T%Si!T%Si#S%Si~Od%Si#t%Si~P$7POx(lO{(mOg%Ui(T%Ui(U%Ui!T%Ui#S%Ui~Od%Ui#t%Ui~P$7rO'|#jO~P!FPO!S2`O'i$tO!T'QX!e'QX~O!T-uO!e(Za~O!T-uO!_#UO!e(Za~O!T-uO!_#UO'|'RO!e(Za~Od$pi!T$pi#S$pi#t$pi~P!&SO!S2hO'i(}O!Q'SX!T'SX~P!&qO!T-}O!Q([a~O!T-}O!Q([a~P!FPO!_#UO~O!_#UO#j2pO~Ok2sO!_#UO'|'RO~Od'oi!T'oi~P!&SO#S2vOd'oi!T'oi~P!&SO!e2yO~O^$dq!T$dq'd$dq'`$dq!Q$dq!e$dqo$dq!V$dq%[$dq!_$dq~P!,PO!T2}O!V(]X~P!FPO!d#WO~P1nO!V$nX%PZX^$nX!T$nX'd$nX~P!$yO%P3POghXxhX{hX!VhX(ThX(UhX^hX!ThX'dhX~O%P3PO~O[3VO%]3WO'i*PO!T']X!U']X~O!T.}O!U(ca~OY3[O~O]3]O~O[3`O~O!Q3aO~O^$pO'd$pO~P!FPO!V$]O~P!FPO!T3fO#S3hO!U(`X~O!U3iO~O[&VOl&VO{3kO!Y3xO!Z3oO![3oO!t;PO!x3wO!y3vO!z3vO!{3uO#O3tO#P,TO'j$vO'r)SO'{+xO~O!U3sO~P$?xOg3}O!V/jO%[3|O~Og3}O!V/jO%[3|O'm$bO~O'i!|O!T'[X!U'[X~O!T/uO!U(aa~O[4XO'r4WO~O[4YO~O]4[O~O!e4_O~P$}O^4aO~O^4aO~P$}O#j4cO%|4dO~PEuO_0]O!U4hO&[0[O~P`O!_4jO~O!_4lO!T'wi!U'wi!_'wi!f'wi'm'wi~O!T#[i!U#[i~P#.jO#S4mO!T#[i!U#[i~O!T!Xi!U!Xi~P#.jO!Q4nO~O[!sal!sa!Y!sa!Z!sa![!sa!x!sa!y!sa!z!sa!{!sa#O!sa#P!sa'j!sa'r!sa'{!sa~PF}O^$pO!_#UO!f$mO!l4vO#S4tO'd$pO'm$bO'|'RO~O!Z4xO![4xO'{+xO~P!?{O!Y4zO!Z4xO![4xO#O4{O#P4{O'{+xO~P!?{O!Y4zO!Z4xO![4xO!{4|O#O4{O#P4{O'{+xO~P!?{O!Y4zO!Z4xO![4xO!y4}O!z4}O!{4|O#O4{O#P4{O'{+xO~P!?{O^$pO#S4tO'd$pO~O^$pO!_#UO#S4tO'd$pO~O^$pO!_#UO!l4vO#S4tO'd$pO'|'RO~O!T'VO!e'}q~O!T(Oq!e(Oq^(Oq'd(Oq~P!,PO{%WO!V%XO#^5XO'i$tO~O!V&cO%[5[O~Og5_O!V&cO%[5[O~O#_%SiP%SiY%Si^%Sik%Siy%Si!c%Si!d%Si!f%Si!l%Si#b%Si#c%Si#d%Si#e%Si#f%Si#g%Si#h%Si#i%Si#j%Si#l%Si#n%Si#p%Si#q%Si'd%Si'q%Si'|%Si!e%Si!Q%Si'`%Sio%Si!V%Si%[%Si!_%Si~P$7PO#_%UiP%UiY%Ui^%Uik%Uiy%Ui!c%Ui!d%Ui!f%Ui!l%Ui#b%Ui#c%Ui#d%Ui#e%Ui#f%Ui#g%Ui#h%Ui#i%Ui#j%Ui#l%Ui#n%Ui#p%Ui#q%Ui'd%Ui'q%Ui'|%Ui!e%Ui!Q%Ui'`%Uio%Ui!V%Ui%[%Ui!_%Ui~P$7rO#_$piP$piY$pi^$pik$piy$pi!T$pi!c$pi!d$pi!f$pi!l$pi#b$pi#c$pi#d$pi#e$pi#f$pi#g$pi#h$pi#i$pi#j$pi#l$pi#n$pi#p$pi#q$pi'd$pi'q$pi'|$pi!e$pi!Q$pi'`$pi#S$pio$pi!V$pi%[$pi!_$pi~P!FPOd&va!T&va~P!&SO!T&wa!e&wa~P!,PO!T-SO!e'yi~O#t#Vi!T#Vi!U#Vi~P#.jOP#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO'qROY#aik#ai!c#ai#c#ai#d#ai#e#ai#f#ai#g#ai#h#ai#i#ai#j#ai#l#ai#n#ai#p#ai#q#ai#t#ai'|#ai(T#ai(U#ai!T#ai!U#ai~O#b#ai~P%$XO#b;VO~P%$XOP#lOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#b;VO#c;WO#d;WO#e;WO'qROY#ai!c#ai#f#ai#g#ai#h#ai#i#ai#j#ai#l#ai#n#ai#p#ai#q#ai#t#ai'|#ai(T#ai(U#ai!T#ai!U#ai~Ok#ai~P%&dOk;XO~P%&dOP#lOk;XOx#YOy#ZO{#[O!d#WO!f#XO!l#lO#b;VO#c;WO#d;WO#e;WO#f;YO'qRO#l#ai#n#ai#p#ai#q#ai#t#ai'|#ai(T#ai(U#ai!T#ai!U#ai~OY#ai!c#ai#g#ai#h#ai#i#ai#j#ai~P%(oOY;eO!c;ZO#g;ZO#h;ZO#i;dO#j;ZO~P%(oOP#lOY;eOk;XOx#YOy#ZO{#[O!c;ZO!d#WO!f#XO!l#lO#b;VO#c;WO#d;WO#e;WO#f;YO#g;ZO#h;ZO#i;dO#j;ZO#l;[O'qRO#n#ai#p#ai#q#ai#t#ai'|#ai(U#ai!T#ai!U#ai~O(T#ai~P%+ZO(T#]O~P%+ZOP#lOY;eOk;XOx#YOy#ZO{#[O!c;ZO!d#WO!f#XO!l#lO#b;VO#c;WO#d;WO#e;WO#f;YO#g;ZO#h;ZO#i;dO#j;ZO#l;[O#n;^O'qRO(T#]O#p#ai#q#ai#t#ai'|#ai!T#ai!U#ai~O(U#ai~P%-fO(U#^O~P%-fOP#lOY;eOk;XOx#YOy#ZO{#[O!c;ZO!d#WO!f#XO!l#lO#b;VO#c;WO#d;WO#e;WO#f;YO#g;ZO#h;ZO#i;dO#j;ZO#l;[O#n;^O#p;`O'qRO(T#]O(U#^O~O#q#ai#t#ai'|#ai!T#ai!U#ai~P%/qO^#ry!T#ry'd#ry'`#ry!Q#ry!e#ryo#ry!V#ry%[#ry!_#ry~P!,POgRPP@Z!?cP@ZP@Z@Z@Z@ZP@Z!@xPP!C{P!FzP!GO!GW!G[!G[P!CxP!G`!G`P!J_P!Jc@Z@Z!Ji!Mg9TP9TP9T9TP!Nq9T9T#!k9T#$x9T#&l9T9T#'Y#)U#)U#)Y#)b#)U#)jP#)UP9T#*f9T#+n9T9T.rPPP#,yPP#-c#-cP#-cP#-x#-cPP#.OP#-uP#-u#.b!(r#-u#.|#/S#/V(h#/Y(hP#/a#/a#/aP(hP(hP(hP(hPP(hP#/g#/jP#/j(hP#/nP#/qP(hP(hP(hP(hP(hP(h(hP#/w#0R#0X#0_#0m#0s#0y#1T#1Z#2U#2e#2k#2}#3T#3Z#3i#4O#5`#5n#5t#5z#6Q#6W#6b#6h#6n#6x#7[#7bPPPPPPPP#7hPP#8[#;vP#=c#=j#=rPP#A|#Dr#KO#KR#KU#MQ#MT#MWPP#M^#Mb#NZ$ Z$ _$ sPP$ w$ }$!RP$!U$!Y$!]$#R$#i$#n$#q$#t$#z$#}$$R$$VmlOTn!R!s$o%t%v%w%y+V+[0V0YQ${qQ%StQ%l}S&Z!]+pQ&i!`S)U$])ZQ)}$|Q*[%UQ*v%fQ+v&bS+z&c+|Q,[&jQ.`)]Q/t*w[0t+w,O,P,Q,R,SS3o/j3rW4x0u0v0w0xU6o3v3w3xU7e4z4|4}S8b6p6qS9O7h7jQ9i8eR9y9R$z`OPSTUVno!R!W!c!g!j!s!}#T#X#[#_#`#a#b#c#d#e#f#g#h#i#p#t$o%Q%m%p%t%v%w%y%}&W&e&o&q&w'S'e'i'm(k)n*a+R+V+[+l,W,a,j-S-Z.j.o.|/m/}0O0P0R0V0Y0[0|1^1p3k3}4a4c4d4t6l6v7T7`8x9t:]:l:wS#PX;P!l'}#k#|&[(a+h+k-a0l2U3h4m8Y8u;O;R;U;V;W;X;Y;Z;[;];^;_;`;a;b;f;o;p;r;y;z TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression",maxTerm:344,context:r,nodeProps:[["closedBy",3,"InterpolationEnd",43,"]",53,"}",68,")",139,"JSXSelfCloseEndTag JSXEndTag",155,"JSXEndTag"],["group",-26,7,14,16,60,194,198,201,202,204,207,210,221,223,229,231,233,235,238,244,250,252,254,256,258,260,261,"Statement",-30,11,12,25,28,29,34,44,46,47,49,54,62,70,76,77,98,99,108,109,126,129,131,132,133,134,136,137,157,158,160,"Expression",-23,24,26,30,33,35,37,161,163,165,166,168,169,170,172,173,174,176,177,178,188,190,192,193,"Type",-3,80,91,97,"ClassItem"],["openedBy",31,"InterpolationStart",48,"[",52,"{",67,"(",138,"JSXStartTag",150,"JSXStartTag JSXStartCloseTag"]],propSources:[Q],skippedNodes:[0,4,5],repeatNodeCount:29,tokenData:"#2k~R!bOX%ZXY%uYZ'kZ[%u[]%Z]^'k^p%Zpq%uqr(Rrs)mst7]tu9guvlxyJcyzJyz{Ka{|Lm|}MW}!OLm!O!PMn!P!Q!$v!Q!R!Er!R![!G_![!]!Nc!]!^!N{!^!_# c!_!`#!`!`!a##d!a!b#%s!b!c#'h!c!}9g!}#O#(O#O#P%Z#P#Q#(f#Q#R#(|#R#S9g#S#T#)g#T#o#)}#o#p#,w#p#q#,|#q#r#-j#r#s#.S#s$f%Z$f$g%u$g#BY9g#BY#BZ#.j#BZ$IS9g$IS$I_#.j$I_$I|9g$I|$I}#1X$I}$JO#1X$JO$JT9g$JT$JU#.j$JU$KV9g$KV$KW#.j$KW&FU9g&FU&FV#.j&FV;'S9g;'S;=`Rw!^%Z!_!`YU$_W#p&lO!^%Z!_!`s]$_W[;TOY>lYZ?lZw>lwx,jx!^>l!^!_@|!_#O>l#O#PE_#P#o>l#o#p@|#p;'S>l;'S;=`J]<%lO>l,^?qX$_WOw?lwx+_x!^?l!^!_@^!_#o?l#o#p@^#p;'S?l;'S;=`@v<%lO?l,U@aTOw@^wx,Xx;'S@^;'S;=`@p<%lO@^,U@sP;=`<%l@^,^@yP;=`<%l?lFZARX[;TOY@|YZ@^Zw@|wx-tx#O@|#O#PAn#P;'S@|;'S;=`EX<%lO@|FZAqUOw@|wxBTx;'S@|;'S;=`Dg;=`<%lBt<%lO@|FZB[W$Y,U[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt;TByW[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da<%lOBt;TCfRO;'SBt;'S;=`Co;=`OBt;TCtX[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lBt<%lOBt;TDdP;=`<%lBtFZDlX[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l@|<%lOBtFZE[P;=`<%l@|FcEdY$_WOw>lwxFSx!^>l!^!_@|!_#o>l#o#p@|#p;'S>l;'S;=`Ik;=`<%lBt<%lO>lFcF]]$Y,U$_W[;TOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU;]G]]$_W[;TOYGUYZ%ZZwGUwx4hx!^GU!^!_Bt!_#OGU#O#PHU#P#oGU#o#pBt#p;'SGU;'S;=`Ie<%lOGU;]HZW$_WO!^GU!^!_Bt!_#oGU#o#pBt#p;'SGU;'S;=`Hs;=`<%lBt<%lOGU;]HxX[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%lGU<%lOBt;]IhP;=`<%lGUFcIpX[;TOYBtZwBtwx/px#OBt#O#PCc#P;'SBt;'S;=`Da;=`<%l>l<%lOBtFcJ`P;=`<%l>l@}JjT!f@u$_WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$PKQT!e#w$_WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z>TKjW$_W'j8_#e&lOz%Zz{LS{!^%Z!_!`pO!O%Z!O!PNb!P!Q%Z!Q![! d![!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$oNgV$_WO!O%Z!O!PN|!P!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z$o! TT!S$g$_WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z;]! k]$_Wl;TO!Q%Z!Q![! d![!^%Z!_!g%Z!g!h!!d!h#R%Z#R#S! d#S#X%Z#X#Y!!d#Y#o%Z#p;'S%Z;'S;=`%o<%lO%Z;]!!i]$_WO{%Z{|!#b|}%Z}!O!#b!O!Q%Z!Q![!$S![!^%Z!_#R%Z#R#S!$S#S#o%Z#p;'S%Z;'S;=`%o<%lO%Z;]!#gX$_WO!Q%Z!Q![!$S![!^%Z!_#R%Z#R#S!$S#S#o%Z#p;'S%Z;'S;=`%o<%lO%Z;]!$ZX$_Wl;TO!Q%Z!Q![!$S![!^%Z!_#R%Z#R#S!$S#S#o%Z#p;'S%Z;'S;=`%o<%lO%ZMg!$}b$_W#c&lOY!&VYZ%ZZz!&Vz{!-n{!P!&V!P!Q!BV!Q!^!&V!^!_!(f!_!`!Ch!`!a!Dm!a!}!&V!}#O!+T#O#P!,v#P#o!&V#o#p!(f#p;'S!&V;'S;=`!-h<%lO!&VX!&^^$_W!PPOY!&VYZ%ZZ!P!&V!P!Q!'Y!Q!^!&V!^!_!(f!_!}!&V!}#O!+T#O#P!,v#P#o!&V#o#p!(f#p;'S!&V;'S;=`!-h<%lO!&VX!'aa$_W!PPO!^%Z!_#Z%Z#Z#[!'Y#[#]%Z#]#^!'Y#^#a%Z#a#b!'Y#b#g%Z#g#h!'Y#h#i%Z#i#j!'Y#j#m%Z#m#n!'Y#n#o%Z#p;'S%Z;'S;=`%o<%lO%ZP!(kX!PPOY!(fZ!P!(f!P!Q!)W!Q!}!(f!}#O!)o#O#P!*n#P;'S!(f;'S;=`!*}<%lO!(fP!)]U!PP#Z#[!)W#]#^!)W#a#b!)W#g#h!)W#i#j!)W#m#n!)WP!)rVOY!)oZ#O!)o#O#P!*X#P#Q!(f#Q;'S!)o;'S;=`!*h<%lO!)oP!*[SOY!)oZ;'S!)o;'S;=`!*h<%lO!)oP!*kP;=`<%l!)oP!*qSOY!(fZ;'S!(f;'S;=`!*}<%lO!(fP!+QP;=`<%l!(fX!+Y[$_WOY!+TYZ%ZZ!^!+T!^!_!)o!_#O!+T#O#P!,O#P#Q!&V#Q#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+TX!,TX$_WOY!+TYZ%ZZ!^!+T!^!_!)o!_#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+TX!,sP;=`<%l!+TX!,{X$_WOY!&VYZ%ZZ!^!&V!^!_!(f!_#o!&V#o#p!(f#p;'S!&V;'S;=`!-h<%lO!&VX!-kP;=`<%l!&VMg!-u`$_W!PPOY!-nYZ!.wZz!-nz{!2U{!P!-n!P!Q!@m!Q!^!-n!^!_!4m!_!}!-n!}#O!;l#O#P!?o#P#o!-n#o#p!4m#p;'S!-n;'S;=`!@g<%lO!-nMg!.|X$_WOz!.wz{!/i{!^!.w!^!_!0w!_#o!.w#o#p!0w#p;'S!.w;'S;=`!2O<%lO!.wMg!/nZ$_WOz!.wz{!/i{!P!.w!P!Q!0a!Q!^!.w!^!_!0w!_#o!.w#o#p!0w#p;'S!.w;'S;=`!2O<%lO!.wMg!0hT$_WTM_O!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%ZM_!0zTOz!0wz{!1Z{;'S!0w;'S;=`!1x<%lO!0wM_!1^VOz!0wz{!1Z{!P!0w!P!Q!1s!Q;'S!0w;'S;=`!1x<%lO!0wM_!1xOTM_M_!1{P;=`<%l!0wMg!2RP;=`<%l!.wMg!2]`$_W!PPOY!-nYZ!.wZz!-nz{!2U{!P!-n!P!Q!3_!Q!^!-n!^!_!4m!_!}!-n!}#O!;l#O#P!?o#P#o!-n#o#p!4m#p;'S!-n;'S;=`!@g<%lO!-nMg!3ha$_WTM_!PPO!^%Z!_#Z%Z#Z#[!'Y#[#]%Z#]#^!'Y#^#a%Z#a#b!'Y#b#g%Z#g#h!'Y#h#i%Z#i#j!'Y#j#m%Z#m#n!'Y#n#o%Z#p;'S%Z;'S;=`%o<%lO%ZM_!4r[!PPOY!4mYZ!0wZz!4mz{!5h{!P!4m!P!Q!:b!Q!}!4m!}#O!6|#O#P!9r#P;'S!4m;'S;=`!:[<%lO!4mM_!5m[!PPOY!4mYZ!0wZz!4mz{!5h{!P!4m!P!Q!6c!Q!}!4m!}#O!6|#O#P!9r#P;'S!4m;'S;=`!:[<%lO!4mM_!6jUTM_!PP#Z#[!)W#]#^!)W#a#b!)W#g#h!)W#i#j!)W#m#n!)WM_!7PYOY!6|YZ!0wZz!6|z{!7o{#O!6|#O#P!9S#P#Q!4m#Q;'S!6|;'S;=`!9l<%lO!6|M_!7r[OY!6|YZ!0wZz!6|z{!7o{!P!6|!P!Q!8h!Q#O!6|#O#P!9S#P#Q!4m#Q;'S!6|;'S;=`!9l<%lO!6|M_!8mVTM_OY!)oZ#O!)o#O#P!*X#P#Q!(f#Q;'S!)o;'S;=`!*h<%lO!)oM_!9VVOY!6|YZ!0wZz!6|z{!7o{;'S!6|;'S;=`!9l<%lO!6|M_!9oP;=`<%l!6|M_!9uVOY!4mYZ!0wZz!4mz{!5h{;'S!4m;'S;=`!:[<%lO!4mM_!:_P;=`<%l!4mM_!:ga!PPOz!0wz{!1Z{#Z!0w#Z#[!:b#[#]!0w#]#^!:b#^#a!0w#a#b!:b#b#g!0w#g#h!:b#h#i!0w#i#j!:b#j#m!0w#m#n!:b#n;'S!0w;'S;=`!1x<%lO!0wMg!;q^$_WOY!;lYZ!.wZz!;lz{!q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;lMg!q#P#Q!-n#Q#o!;l#o#p!6|#p;'S!;l;'S;=`!?i<%lO!;lMg!={[$_WTM_OY!+TYZ%ZZ!^!+T!^!_!)o!_#O!+T#O#P!,O#P#Q!&V#Q#o!+T#o#p!)o#p;'S!+T;'S;=`!,p<%lO!+TMg!>vZ$_WOY!;lYZ!.wZz!;lz{![$P,_(YP!P!Q# w!^!_# |!_!`#!ZW# |O$aW&l#!RP#f&l!_!`#!U&l#!ZO#v&l&l#!`O#g&l(m#!gV#S(e$_WO!^%Z!_!`(l!`!a#!|!a#o%Z#p;'S%Z;'S;=`%o<%lO%Z&u##TT#_&m$_WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z(m##oVd!s#g&l$[S$_WO!^%Z!_!`#$U!`!a#$l!a#o%Z#p;'S%Z;'S;=`%o<%lO%Z&t#$]T#g&l$_WO!^%Z!_#o%Z#p;'S%Z;'S;=`%o<%lO%Z&t#$sV#f&l$_WO!^%Z!_!`c[e]||-1},{term:310,get:e=>d[e]||-1},{term:65,get:e=>h[e]||-1}],tokenPrec:12784});var u=t(59119),$=t(78120),m=t(47421),S=t(34790),g=t(41113);let P=[(0,S.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,S.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,S.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,S.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,S.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,S.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,S.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,S.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,S.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,S.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,S.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Z=new g.hr,T=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function b(e){return(O,t)=>{let n=O.node.getChild("VariableDefinition");return n&&t(n,e),!0}}let x=["FunctionDeclaration"],X={FunctionDeclaration:b("function"),ClassDeclaration:b("class"),ClassExpression:()=>!0,EnumDeclaration:b("constant"),TypeAliasDeclaration:b("type"),NamespaceDeclaration:b("namespace"),VariableDefinition(e,O){e.matchContext(x)||O(e,"variable")},TypeDefinition(e,O){O(e,"type")},__proto__:null},W=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,y=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function _(e){let O=(0,u.qz)(e.state).resolveInner(e.pos,-1);if(y.indexOf(O.name)>-1)return null;let t="VariableName"==O.name||O.to-O.from<20&&W.test(e.state.sliceDoc(O.from,O.to));if(!t&&!e.explicit)return null;let n=[];for(let a=O;a;a=a.parent)T.has(a.name)&&(n=n.concat(function e(O,t){let n=Z.get(t);if(n)return n;let a=[],i=!0;function r(e,t){let n=O.sliceString(e.from,e.to);a.push({label:n,type:t})}return t.cursor(g.vj.IncludeAnonymous).iterate(t=>{if(i)i=!1;else if(t.name){let n=X[t.name];if(n&&n(t,r)||T.has(t.name))return!1}else if(t.to-t.from>8192){for(let l of e(O,t.node))a.push(l);return!1}}),Z.set(t,a),a}(e.state.doc,a)));return{options:n,from:t?O.from:e.pos,validFor:W}}function k(e,O,t){var n;let a=[];for(;;){let i=O.firstChild,r;if((null==i?void 0:i.name)=="VariableName")return a.push(e(i)),{path:a.reverse(),name:t};if((null==i?void 0:i.name)!="MemberExpression"||(null===(n=r=i.lastChild)||void 0===n?void 0:n.name)!="PropertyName")return null;a.push(e(r)),O=i}}function w(e){let O=O=>e.state.doc.sliceString(O.from,O.to),t=(0,u.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==t.name?k(O,t.parent,O(t)):y.indexOf(t.name)>-1?null:"VariableName"==t.name||t.to-t.from<20&&W.test(O(t))?{path:[],name:O(t)}:("."==t.name||"?."==t.name)&&"MemberExpression"==t.parent.name?k(O,t.parent,""):"MemberExpression"==t.name?k(O,t,""):e.explicit?{path:[],name:""}:null}function Y(e){let O=new Map;return t=>{let n=w(t);if(!n)return null;let a=e;for(let i of n.path)if(!(a=a[i]))return null;let r=O.get(a);return r||O.set(a,r=function(e,O){let t=[],n=new Set;for(let a=0;;a++){for(let i of(Object.getOwnPropertyNames||Object.keys)(e)){let r;if(!n.has(i)){n.add(i);try{r=e[i]}catch(l){continue}t.push({label:i,type:"function"==typeof r?/^[A-Z]/.test(i)?"class":O?"function":"method":O?"variable":"property",boost:-a})}}let o=Object.getPrototypeOf(e);if(!o)return t;e=o}}(a,!n.path.length)),{from:t.pos-n.name.length,options:r,validFor:W}}}let q=u.qp.define({name:"javascript",parser:f.configure({props:[u.uj.add({IfStatement:(0,u.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,u.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:u.ze,SwitchBody(e){let O=e.textAfter,t=/^\s*\}/.test(O),n=/^\s*(case|default)\b/.test(O);return e.baseIndent+(t?0:n?1:2)*e.unit},Block:(0,u.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,u.tC)({except:/^{/}),JSXElement(e){let O=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},JSXEscape(e){let O=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(O?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),u.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":u.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),V=q.configure({dialect:"ts"},"typescript"),v=q.configure({dialect:"jsx"}),C=q.configure({dialect:"jsx ts"},"typescript"),j="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function U(e={}){let O=e.jsx?e.typescript?C:v:e.typescript?V:q;return new u.ri(O,[q.data.of({autocomplete:(0,S.eC)(y,(0,S.Mb)(P.concat(j)))}),q.data.of({autocomplete:_}),e.jsx?A:[]])}function R(e,O,t=e.length){for(let n=null==O?void 0:O.firstChild;n;n=n.nextSibling)if("JSXIdentifier"==n.name||"JSXBuiltin"==n.name||"JSXNamespacedName"==n.name||"JSXMemberExpression"==n.name)return e.sliceString(n.from,Math.min(n.to,t));return""}let G="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),A=m.tk.inputHandler.of((e,O,t,n)=>{if((G?e.composing:e.compositionStarted)||e.state.readOnly||O!=t||">"!=n&&"/"!=n||!q.isActiveAt(e.state,O,-1))return!1;let{state:a}=e,i=a.changeByRange(e=>{var O,t;let{head:i}=e,r=(0,u.qz)(a).resolveInner(i,-1),l;if("JSXStartTag"==r.name&&(r=r.parent),">"==n&&"JSXFragmentTag"==r.name)return{range:$.jT.cursor(i+1),changes:{from:i,insert:"><>"}};if("/"==n&&"JSXFragmentTag"==r.name){let o=r.parent,s=null==o?void 0:o.parent;if(o.from==i-1&&(null===(O=s.lastChild)||void 0===O?void 0:O.name)!="JSXEndTag"&&(l=R(a.doc,null==s?void 0:s.firstChild,i))){let p=`/${l}>`;return{range:$.jT.cursor(i+p.length),changes:{from:i,insert:p}}}}else if(">"==n){let Q=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if(!e.parent)return null;e=e.parent}}(r);if(Q&&(null===(t=Q.lastChild)||void 0===t?void 0:t.name)!="JSXEndTag"&&"`}}}return{range:e}});return!i.changes.empty&&(e.dispatch(i,{userEvent:"input.type",scrollIntoView:!0}),!0)});function M(e,O){return O||(O={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,t)=>{e.meta.docs.recommended&&(O.rules[t]=2)})),t=>{let{state:n}=t,a=[];for(let{from:i,to:r}of q.findRegions(n)){let l=n.doc.lineAt(i),o={line:l.number-1,col:i-l.from,pos:i};for(let s of e.verify(n.sliceDoc(i,r),O))a.push(function(e,O,t){let n=E(e.line,e.column,O,t),a={from:n,to:null!=e.endLine&&1!=e.endColumn?E(e.endLine,e.endColumn,O,t):n,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:i,text:r}=e.fix,l=i[0]+t.pos-n,o=i[1]+t.pos-n;a.actions=[{name:"fix",apply(e,O){e.dispatch({changes:{from:O+l,to:O+o,insert:r},scrollIntoView:!0})}}]}return a}(s,n.doc,o))}return a}}function E(e,O,t,n){return t.line(e+n.line).from+O+(1==e?n.col-1:-1)}},48825:function(e,O,t){t.r(O),t.d(O,{commonmarkLanguage:function(){return eY},deleteMarkupBackward:function(){return eA},insertNewlineContinueMarkup:function(){return eR},markdown:function(){return eJ},markdownKeymap:function(){return eM},markdownLanguage:function(){return eV}});var n,a,i=t(78120),r=t(47421),l=t(59119),o=t(41113),s=t(35524);class p{constructor(e,O,t,n,a,i,r){this.type=e,this.value=O,this.from=t,this.hash=n,this.end=a,this.children=i,this.positions=r,this.hashProp=[[o.md.contextHash,n]]}static create(e,O,t,n,a){return new p(e,O,t,n+(n<<8)+e+(O<<4)|0,a,[],[])}addChild(e,O){e.prop(o.md.contextHash)!=this.hash&&(e=new o.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(O)}toTree(e,O=this.end){let t=this.children.length-1;return t>=0&&(O=Math.max(O,this.positions[t]+this.children[t].length+this.from)),new o.mp(e.types[this.type],this.children,this.positions,O-this.from).balance({makeTree:(e,O,t)=>new o.mp(o.Jq.none,e,O,t,this.hashProp)})}}(n=a||(a={}))[n.Document=1]="Document",n[n.CodeBlock=2]="CodeBlock",n[n.FencedCode=3]="FencedCode",n[n.Blockquote=4]="Blockquote",n[n.HorizontalRule=5]="HorizontalRule",n[n.BulletList=6]="BulletList",n[n.OrderedList=7]="OrderedList",n[n.ListItem=8]="ListItem",n[n.ATXHeading1=9]="ATXHeading1",n[n.ATXHeading2=10]="ATXHeading2",n[n.ATXHeading3=11]="ATXHeading3",n[n.ATXHeading4=12]="ATXHeading4",n[n.ATXHeading5=13]="ATXHeading5",n[n.ATXHeading6=14]="ATXHeading6",n[n.SetextHeading1=15]="SetextHeading1",n[n.SetextHeading2=16]="SetextHeading2",n[n.HTMLBlock=17]="HTMLBlock",n[n.LinkReference=18]="LinkReference",n[n.Paragraph=19]="Paragraph",n[n.CommentBlock=20]="CommentBlock",n[n.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",n[n.Escape=22]="Escape",n[n.Entity=23]="Entity",n[n.HardBreak=24]="HardBreak",n[n.Emphasis=25]="Emphasis",n[n.StrongEmphasis=26]="StrongEmphasis",n[n.Link=27]="Link",n[n.Image=28]="Image",n[n.InlineCode=29]="InlineCode",n[n.HTMLTag=30]="HTMLTag",n[n.Comment=31]="Comment",n[n.ProcessingInstruction=32]="ProcessingInstruction",n[n.URL=33]="URL",n[n.HeaderMark=34]="HeaderMark",n[n.QuoteMark=35]="QuoteMark",n[n.ListMark=36]="ListMark",n[n.LinkMark=37]="LinkMark",n[n.EmphasisMark=38]="EmphasisMark",n[n.CodeMark=39]="CodeMark",n[n.CodeText=40]="CodeText",n[n.CodeInfo=41]="CodeInfo",n[n.LinkTitle=42]="LinkTitle",n[n.LinkLabel=43]="LinkLabel";class Q{constructor(e,O){this.start=e,this.content=O,this.marks=[],this.parsers=[]}}class c{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return u(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,O=0,t=0){for(let n=O;n=O.stack[t.depth+1].value+t.baseIndent)return!0;if(t.indent>=t.baseIndent+4)return!1;let n=(e.type==a.OrderedList?T:Z)(t,O,!1);return n>0&&(e.type!=a.BulletList||0>g(t,O,!1))&&t.text.charCodeAt(t.pos+n-1)==e.value}let h={[a.Blockquote]:(e,O,t)=>62==t.next&&(t.markers.push(N(a.QuoteMark,O.lineStart+t.pos,O.lineStart+t.pos+1)),t.moveBase(t.pos+(f(t.text.charCodeAt(t.pos+1))?2:1)),e.end=O.lineStart+t.text.length,!0),[a.ListItem]:(e,O,t)=>(!(t.indent-1))&&(t.moveBaseColumn(t.baseIndent+e.value),!0),[a.OrderedList]:d,[a.BulletList]:d,[a.Document]:()=>!0};function f(e){return 32==e||9==e||10==e||13==e}function u(e,O=0){for(;Ot&&f(e.charCodeAt(O-1));)O--;return O}function m(e){if(96!=e.next&&126!=e.next)return -1;let O=e.pos+1;for(;O-1&&e.depth==O.stack.length?-1:n<3?-1:1}function P(e,O){for(let t=e.stack.length-1;t>=0;t--)if(e.stack[t].type==O)return!0;return!1}function Z(e,O,t){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||f(e.text.charCodeAt(e.pos+1)))&&(!t||P(O,a.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){if(++n==e.text.length)return -1;i=e.text.charCodeAt(n)}return n==e.pos||n>e.pos+9||46!=i&&41!=i||ne.pos+1||49!=e.next)?-1:n+1-e.pos}function b(e){if(35!=e.next)return -1;let O=e.pos+1;for(;O6?-1:t}function x(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let O=e.pos+1;for(;O/,y=/\?>/,_=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(r)return e.append(N(a.Comment,t,t+1+r[0].length));let l=/^\?[^]*?\?>/.exec(n);if(l)return e.append(N(a.ProcessingInstruction,t,t+1+l[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return o?e.append(N(a.HTMLTag,t,t+1+o[0].length)):-1},Emphasis(e,O,t){if(95!=O&&42!=O)return -1;let n=t+1;for(;e.char(n)==O;)n++;let a=e.slice(t-1,t),i=e.slice(n,n+1),r=en.test(a),l=en.test(i),o=/\s|^$/.test(a),s=/\s|^$/.test(i),p=!s&&(!l||o||r),Q=!o&&(!r||s||l);return e.append(new eO(95==O?F:H,t,n,(p&&(42==O||!Q||r)?1:0)|(Q&&(42==O||!p||l)?2:0)))},HardBreak(e,O,t){if(92==O&&10==e.char(t+1))return e.append(N(a.HardBreak,t,t+2));if(32==O){let n=t+1;for(;32==e.char(n);)n++;if(10==e.char(n)&&n>=t+2)return e.append(N(a.HardBreak,t,n+1))}return -1},Link:(e,O,t)=>91==O?e.append(new eO(K,t,t+1,1)):-1,Image:(e,O,t)=>33==O&&91==e.char(t+1)?e.append(new eO(ee,t,t+2,1)):-1,LinkEnd(e,O,t){if(93!=O)return -1;for(let n=e.parts.length-1;n>=0;n--){let i=e.parts[n];if(i instanceof eO&&(i.type==K||i.type==ee)){if(!i.side||e.skipSpace(i.to)==t&&!/[(\[]/.test(e.slice(t+1,t+2)))return e.parts[n]=null,-1;let r=e.takeContent(n),l=e.parts[n]=function(e,O,t,n,i){let{text:r}=e,l=e.char(i),o=i;if(O.unshift(N(a.LinkMark,n,n+(t==a.Image?2:1))),O.push(N(a.LinkMark,i-1,i)),40==l){let s=e.skipSpace(i+1),p=er(r,s-e.offset,e.offset),Q;p&&(s=e.skipSpace(p.to),(Q=el(r,s-e.offset,e.offset))&&(s=e.skipSpace(Q.to))),41==e.char(s)&&(O.push(N(a.LinkMark,i,i+1)),o=s+1,p&&O.push(p),Q&&O.push(Q),O.push(N(a.LinkMark,s,o)))}else if(91==l){let c=eo(r,i-e.offset,e.offset,!1);c&&(O.push(c),o=c.to)}return N(t,n,o,O)}(e,r,i.type==K?a.Link:a.Image,i.from,t+1);if(i.type==K)for(let o=0;oO?N(a.URL,O+t,l+t):l==e.length&&null}}function el(e,O,t){let n=e.charCodeAt(O);if(39!=n&&34!=n&&40!=n)return!1;let i=40==n?41:n;for(let r=O+1,l=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,O){return this.text.slice(e-this.offset,O-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,O,t,n,a){return this.append(new eO(e,O,t,(n?1:0)|(a?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let O=e;O=e;r--){let l=this.parts[r];if(l instanceof eO&&1&l.side&&l.type==t.type&&!(n&&(1&t.side||2&l.side)&&(l.to-l.from+a)%3==0&&((l.to-l.from)%3||a%3))){i=l;break}}if(!i)continue;let o=t.type.resolve,s=[],p=i.from,Q=t.to;if(n){let c=Math.min(2,i.to-i.from,a);p=i.to-c,Q=t.from+c,o=1==c?"Emphasis":"StrongEmphasis"}i.type.mark&&s.push(this.elt(i.type.mark,p,i.to));for(let d=r+1;d=0;O--){let t=this.parts[O];if(t instanceof eO&&t.type==e)return O}return null}takeContent(e){let O=this.resolveMarkers(e);return this.parts.length=e,O}skipSpace(e){return u(this.text,e-this.offset)+this.offset}elt(e,O,t,n){return"string"==typeof e?N(this.parser.getNodeType(e),O,t,n):new D(e,O)}}function ep(e,O){if(!O.length)return e;if(!e.length)return O;let t=e.slice(),n=0;for(let a of O){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let t=this.fragment.to;for(;t>0&&"\n"!=this.input.read(t-1,t);)t--;this.fragmentEnd=t?t-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let a=e+this.fragment.offset;for(;n.to<=a;)if(!n.parent())return!1;for(;;){if(n.from>=a)return this.fragment.from<=O;if(!n.childAfter(a))return!1}}matches(e){let O=this.cursor.tree;return O&&O.prop(o.md.contextHash)==e}takeNodes(e){let O=this.cursor,t=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),a=e.absoluteLineStart,i=a,r=e.block.children.length,l=i,o=r;for(;;){if(O.to-t>n){if(O.type.isAnonymous&&O.firstChild())continue;break}if(e.dontInject.add(O.tree),e.addNode(O.tree,O.from-t),O.type.is("Block")&&(0>eQ.indexOf(O.type.id)?(i=O.to-t,r=e.block.children.length):(i=l,r=o,l=O.to-t,o=e.block.children.length)),!O.nextSibling())break}for(;e.block.children.length>r;)e.block.children.pop(),e.block.positions.pop();return i-a}}let ed=(0,s.Gv)({"Blockquote/...":s.pJ.quote,HorizontalRule:s.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":s.pJ.heading1,"ATXHeading2/... SetextHeading2/...":s.pJ.heading2,"ATXHeading3/...":s.pJ.heading3,"ATXHeading4/...":s.pJ.heading4,"ATXHeading5/...":s.pJ.heading5,"ATXHeading6/...":s.pJ.heading6,"Comment CommentBlock":s.pJ.comment,Escape:s.pJ.escape,Entity:s.pJ.character,"Emphasis/...":s.pJ.emphasis,"StrongEmphasis/...":s.pJ.strong,"Link/... Image/...":s.pJ.link,"OrderedList/... BulletList/...":s.pJ.list,"BlockQuote/...":s.pJ.quote,"InlineCode CodeText":s.pJ.monospace,URL:s.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":s.pJ.processingInstruction,"CodeInfo LinkLabel":s.pJ.labelName,LinkTitle:s.pJ.string,Paragraph:s.pJ.content}),eh=new G(new o.Lj(E).extend(ed),Object.keys(q).map(e=>q[e]),Object.keys(q).map(e=>j[e]),Object.keys(q),[(e,O)=>b(O)>=0,(e,O)=>m(O)>=0,(e,O)=>S(O)>=0,(e,O)=>Z(O,e,!0)>=0,(e,O)=>T(O,e,!0)>=0,(e,O)=>g(O,e,!0)>=0,(e,O)=>k(O,e,!0)>=0],h,Object.keys(ei).map(e=>ei[e]),Object.keys(ei),[]),ef={resolve:"Strikethrough",mark:"StrikethroughMark"},eu={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":s.pJ.strikethrough}},{name:"StrikethroughMark",style:s.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,O,t){if(126!=O||126!=e.char(t+1)||126==e.char(t+2))return -1;let n=e.slice(t-1,t),a=e.slice(t+2,t+3),i=/\s|^$/.test(n),r=/\s|^$/.test(a),l=en.test(n),o=en.test(a);return e.addDelimiter(ef,t,t+2,!r&&(!o||i||l),!i&&(!l||r||o))},after:"Emphasis"}]};function e$(e,O,t=0,n,a=0){let i=0,r=!0,l=-1,o=-1,s=!1,p=()=>{n.push(e.elt("TableCell",a+l,a+o,e.parser.parseInline(O.slice(l,o),a+l)))};for(let Q=t;Q-1)&&i++,r=!1,n&&(l>-1&&p(),n.push(e.elt("TableDelimiter",Q+a,Q+a+1))),l=o=-1),s=!s&&92==c}return l>-1&&(i++,n&&p()),i}function em(e,O){for(let t=O;tem(O.content,0)?new eg:null,endLeaf(e,O,t){if(t.parsers.some(e=>e instanceof eg)||!em(O.text,O.basePos))return!1;let n=e.scanLine(e.absoluteLineEnd+1).text;return eS.test(n)&&e$(e,O.text,O.basePos)==e$(e,n,O.basePos)},before:"SetextHeading"}]};class eZ{nextLine(){return!1}finish(e,O){return e.addLeafElement(O,e.elt("Task",O.start,O.start+O.content.length,[e.elt("TaskMarker",O.start,O.start+3),...e.parser.parseInline(O.content.slice(3),O.start+3)])),!0}}let eT={defineNodes:[{name:"Task",block:!0,style:s.pJ.list},{name:"TaskMarker",style:s.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,O)=>/^\[[ xX]\]/.test(O.content)&&"ListItem"==e.parentType().name?new eZ:null,after:"SetextHeading"}]};function eb(e,O,t){return(n,a,i)=>{if(a!=e||n.char(i+1)==e)return -1;let r=[n.elt(t,i,i+1)];for(let l=i+1;l"}}),ek=eh.configure({props:[l.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,O)=>({from:O.doc.lineAt(e.from).to,to:e.to})}),l.uj.add({Document:()=>null}),l.pp.add({Document:e_})]});function ew(e){return new l.SQ(e_,e,[],"markdown")}let eY=ew(ek),eq=ek.configure([[eP,eT,eu],eX,ex,eW]),eV=ew(eq);class ev{constructor(e,O,t,n,a,i,r){this.node=e,this.from=O,this.to=t,this.spaceBefore=n,this.spaceAfter=a,this.type=i,this.item=r}blank(e,O=!0){let t=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;t.length0;n--)t+=" ";return t+(O?this.spaceAfter:"")}marker(e,O){let t="OrderedList"==this.node.name?String(+ej(this.item,e)[2]+O):"";return this.spaceBefore+t+this.type+this.spaceAfter}}function eC(e,O){let t=[];for(let n=e;n&&"Document"!=n.name;n=n.parent)("ListItem"==n.name||"Blockquote"==n.name||"FencedCode"==n.name)&&t.push(n);let a=[];for(let i=t.length-1;i>=0;i--){let r=t[i],l,o=O.lineAt(r.from),s=r.from-o.from;if("FencedCode"==r.name)a.push(new ev(r,s,s,"","","",null));else if("Blockquote"==r.name&&(l=/^[ \t]*>( ?)/.exec(o.text.slice(s))))a.push(new ev(r,s,s+l[0].length,"",l[1],">",null));else if("ListItem"==r.name&&"OrderedList"==r.parent.name&&(l=/^([ \t]*)\d+([.)])([ \t]*)/.exec(o.text.slice(s)))){let p=l[3],Q=l[0].length;p.length>=4&&(p=p.slice(0,p.length-4),Q-=4),a.push(new ev(r.parent,s,s+Q,l[1],p,l[2],r))}else if("ListItem"==r.name&&"BulletList"==r.parent.name&&(l=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(o.text.slice(s)))){let c=l[4],d=l[0].length;c.length>4&&(c=c.slice(0,c.length-4),d-=4);let h=l[2];l[3]&&(h+=l[3].replace(/[xX]/," ")),a.push(new ev(r.parent,s,s+d,l[1],c,h,r))}}return a}function ej(e,O){return/^(\s*)(\d+)(?=[.)])/.exec(O.sliceString(e.from,e.from+10))}function eU(e,O,t,n=0){for(let a=-1,i=e;;){if("ListItem"==i.name){let r=ej(i,O),l=+r[2];if(a>=0){if(l!=a+1)return;t.push({from:i.from+r[1].length,to:i.from+r[0].length,insert:String(a+2+n)})}a=l}let o=i.nextSibling;if(!o)break;i=o}}let eR=({state:e,dispatch:O})=>{let t=(0,l.qz)(e),{doc:n}=e,a=null,r=e.changeByRange(O=>{if(!O.empty||!eV.isActiveAt(e,O.from))return a={range:O};let r=O.from,l=n.lineAt(r),o=eC(t.resolveInner(r,-1),n);for(;o.length&&o[o.length-1].from>r-l.from;)o.pop();if(!o.length)return a={range:O};let s=o[o.length-1];if(s.to-s.spaceAfter.length>r-l.from)return a={range:O};let p=r>=s.to-s.spaceAfter.length&&!/\S/.test(l.text.slice(s.to));if(s.item&&p){if(s.node.firstChild.to>=r||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let Q=o.length>1?o[o.length-2]:null,c,d="";Q&&Q.item?(c=l.from+Q.from,d=Q.marker(n,1)):c=l.from+(Q?Q.to:0);let h=[{from:c,to:r,insert:d}];return"OrderedList"==s.node.name&&eU(s.item,n,h,-2),Q&&"OrderedList"==Q.node.name&&eU(Q.item,n,h),{range:i.jT.cursor(c+d.length),changes:h}}{let f="";for(let u=0,$=o.length-2;u<=$;u++)f+=o[u].blank(u<$?o[u+1].from-f.length:null,u<$);return f+=e.lineBreak,{range:i.jT.cursor(r+f.length),changes:{from:l.from,insert:f}}}}if("Blockquote"==s.node.name&&p&&l.from){let m=n.lineAt(l.from-1),S=/>\s*$/.exec(m.text);if(S&&S.index==s.from){let g=e.changes([{from:m.from+S.index,to:m.to},{from:l.from+s.from,to:l.to}]);return{range:O.map(g),changes:g}}}let P=[];"OrderedList"==s.node.name&&eU(s.item,n,P);let Z=s.item&&s.item.from]*/.exec(l.text)[0].length>=s.to)for(let b=0,x=o.length-1;b<=x;b++)T+=b!=x||Z?o[b].blank(bl.from&&/\s/.test(l.text.charAt(X-l.from-1));)X--;return T=e.lineBreak+T,P.push({from:X,to:r,insert:T}),{range:i.jT.cursor(X+T.length),changes:P}});return!a&&(O(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eA=({state:e,dispatch:O})=>{let t=(0,l.qz)(e),n=null,a=e.changeByRange(O=>{let a=O.from,{doc:r}=e;if(O.empty&&eV.isActiveAt(e,O.from)){let l=r.lineAt(a),o=eC(function(e,O){let t=e.resolveInner(O,-1),n=O;eG(t)&&(n=t.from,t=t.parent);for(let a;a=t.childBefore(n);)if(eG(a))n=a.from;else if("OrderedList"==a.name||"BulletList"==a.name)n=(t=a.lastChild).to;else break;return t}(t,a),r);if(o.length){let s=o[o.length-1],p=s.to-s.spaceAfter.length+(s.spaceAfter?1:0);if(a-l.from>p&&!/\S/.test(l.text.slice(p,a-l.from)))return{range:i.jT.cursor(l.from+p),changes:{from:l.from+p,to:a}};if(a-l.from==p){let Q=l.from+s.from;if(s.item&&s.node.from{if(e&&t){let n=null;if(e=/\S*/.exec(e)[0],(n="function"==typeof t?t(e):l.c6.matchLanguageName(t,e,!0))instanceof l.c6)return n.support?n.support.language.parser:l.Be.getSkippingParser(n.load());if(n)return n.parser}return O?O.parser:null}):void 0;return Q.push(function(e){let{codeParser:O,htmlParser:t}=e,n=(0,o.FE)((e,n)=>{let i=e.type.id;if(O&&(i==a.CodeBlock||i==a.FencedCode)){let r="";if(i==a.FencedCode){let l=e.node.getChild(a.CodeInfo);l&&(r=n.read(l.from,l.to))}let o=O(r);if(o)return{parser:o,overlay:e=>e.type.id==a.CodeText}}else if(t&&(i==a.HTMLBlock||i==a.HTMLTag))return{parser:t,overlay:function(e,O,t){let n=[];for(let a=e.firstChild,i=O;;a=a.nextSibling){let r=a?a.from:t;if(r>i&&n.push({from:i,to:r}),!a)break;i=a.to}return n}(e.node,e.from,e.to)};return null});return{wrap:n}}({codeParser:h,htmlParser:eE.language.parser})),s&&c.push(i.Wl.high(r.$f.of(eM))),new l.ri(ew(p.configure(Q)),c)}},76538:function(e,O,t){t.d(O,{M:function(){return r}});var n=t(59119);function a(e){return new n.ri(n.il.define(e))}function i(e){return t.e(1390).then(t.bind(t,21390)).then(O=>O.sql({dialect:O[e]}))}let r=[n.c6.of({name:"C",extensions:["c","h","ino"],load:()=>t.e(2750).then(t.bind(t,12750)).then(e=>e.cpp())}),n.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>t.e(2750).then(t.bind(t,12750)).then(e=>e.cpp())}),n.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>i("Cassandra")}),n.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(t.bind(t,61426)).then(e=>e.css())}),n.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(t.bind(t,13804)).then(e=>e.html())}),n.c6.of({name:"Java",extensions:["java"],load:()=>t.e(4778).then(t.bind(t,44778)).then(e=>e.java())}),n.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript())}),n.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>t.e(4732).then(t.bind(t,44732)).then(e=>e.json())}),n.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({jsx:!0}))}),n.c6.of({name:"MariaDB SQL",load:()=>i("MariaSQL")}),n.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(t.bind(t,48825)).then(e=>e.markdown())}),n.c6.of({name:"MS SQL",load:()=>i("MSSQL")}),n.c6.of({name:"MySQL",load:()=>i("MySQL")}),n.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>t.e(2386).then(t.bind(t,12386)).then(e=>e.php())}),n.c6.of({name:"PLSQL",extensions:["pls"],load:()=>i("PLSQL")}),n.c6.of({name:"PostgreSQL",load:()=>i("PostgreSQL")}),n.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>t.e(8088).then(t.bind(t,28088)).then(e=>e.python())}),n.c6.of({name:"Rust",extensions:["rs"],load:()=>t.e(4920).then(t.bind(t,24920)).then(e=>e.rust())}),n.c6.of({name:"SQL",extensions:["sql"],load:()=>i("StandardSQL")}),n.c6.of({name:"SQLite",load:()=>i("SQLite")}),n.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),n.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(t.bind(t,58037)).then(e=>e.javascript({typescript:!0}))}),n.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>t.e(9972).then(t.bind(t,9972)).then(e=>e.wast())}),n.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>t.e(5122).then(t.bind(t,5122)).then(e=>e.xml())}),n.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>t.e(870).then(t.bind(t,90870)).then(e=>a(e.apl))}),n.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>t.e(8029).then(t.bind(t,58029)).then(e=>a(e.asciiArmor))}),n.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>t.e(3203).then(t.bind(t,93203)).then(e=>a(e.asn1({})))}),n.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>t.e(5648).then(t.bind(t,15648)).then(e=>a(e.asterisk))}),n.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>t.e(2675).then(t.bind(t,9521)).then(e=>a(e.brainfuck))}),n.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>t.e(8915).then(t.bind(t,68915)).then(e=>a(e.cobol))}),n.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.csharp))}),n.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.gss))}),n.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>t.e(889).then(t.bind(t,70889)).then(e=>a(e.cmake))}),n.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>t.e(9558).then(t.bind(t,29558)).then(e=>a(e.coffeeScript))}),n.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>t.e(1446).then(t.bind(t,61446)).then(e=>a(e.commonLisp))}),n.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>t.e(673).then(t.bind(t,20673)).then(e=>a(e.cypher))}),n.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>t.e(4323).then(t.bind(t,74323)).then(e=>a(e.cython))}),n.c6.of({name:"Crystal",extensions:["cr"],load:()=>t.e(2602).then(t.bind(t,62602)).then(e=>a(e.crystal))}),n.c6.of({name:"D",extensions:["d"],load:()=>t.e(1660).then(t.bind(t,11660)).then(e=>a(e.d))}),n.c6.of({name:"Dart",extensions:["dart"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.dart))}),n.c6.of({name:"diff",extensions:["diff","patch"],load:()=>t.e(7475).then(t.bind(t,87475)).then(e=>a(e.diff))}),n.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>t.e(4812).then(t.bind(t,34812)).then(e=>a(e.dockerFile))}),n.c6.of({name:"DTD",extensions:["dtd"],load:()=>t.e(6991).then(t.bind(t,76991)).then(e=>a(e.dtd))}),n.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>t.e(4144).then(t.bind(t,24144)).then(e=>a(e.dylan))}),n.c6.of({name:"EBNF",load:()=>t.e(2040).then(t.bind(t,82040)).then(e=>a(e.ebnf))}),n.c6.of({name:"ECL",extensions:["ecl"],load:()=>t.e(7315).then(t.bind(t,37315)).then(e=>a(e.ecl))}),n.c6.of({name:"edn",extensions:["edn"],load:()=>t.e(2406).then(t.bind(t,72406)).then(e=>a(e.clojure))}),n.c6.of({name:"Eiffel",extensions:["e"],load:()=>t.e(7525).then(t.bind(t,87525)).then(e=>a(e.eiffel))}),n.c6.of({name:"Elm",extensions:["elm"],load:()=>t.e(8770).then(t.bind(t,28770)).then(e=>a(e.elm))}),n.c6.of({name:"Erlang",extensions:["erl"],load:()=>t.e(7590).then(t.bind(t,53482)).then(e=>a(e.erlang))}),n.c6.of({name:"Esper",load:()=>t.e(9607).then(t.bind(t,54050)).then(e=>a(e.esper))}),n.c6.of({name:"Factor",extensions:["factor"],load:()=>t.e(7001).then(t.bind(t,87001)).then(e=>a(e.factor))}),n.c6.of({name:"FCL",load:()=>t.e(7663).then(t.bind(t,77663)).then(e=>a(e.fcl))}),n.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>t.e(8393).then(t.bind(t,68393)).then(e=>a(e.forth))}),n.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>t.e(8283).then(t.bind(t,8283)).then(e=>a(e.fortran))}),n.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.fSharp))}),n.c6.of({name:"Gas",extensions:["s"],load:()=>t.e(9781).then(t.bind(t,39781)).then(e=>a(e.gas))}),n.c6.of({name:"Gherkin",extensions:["feature"],load:()=>t.e(2542).then(t.bind(t,2542)).then(e=>a(e.gherkin))}),n.c6.of({name:"Go",extensions:["go"],load:()=>t.e(8910).then(t.bind(t,48910)).then(e=>a(e.go))}),n.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>t.e(3883).then(t.bind(t,23883)).then(e=>a(e.groovy))}),n.c6.of({name:"Haskell",extensions:["hs"],load:()=>t.e(5372).then(t.bind(t,95372)).then(e=>a(e.haskell))}),n.c6.of({name:"Haxe",extensions:["hx"],load:()=>t.e(3509).then(t.bind(t,63509)).then(e=>a(e.haxe))}),n.c6.of({name:"HXML",extensions:["hxml"],load:()=>t.e(3509).then(t.bind(t,63509)).then(e=>a(e.hxml))}),n.c6.of({name:"HTTP",load:()=>t.e(7558).then(t.bind(t,36395)).then(e=>a(e.http))}),n.c6.of({name:"IDL",extensions:["pro"],load:()=>t.e(2314).then(t.bind(t,22314)).then(e=>a(e.idl))}),n.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>t.e(9296).then(t.bind(t,59296)).then(e=>a(e.jsonld))}),n.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>t.e(1084).then(t.bind(t,41084)).then(e=>a(e.jinja2))}),n.c6.of({name:"Julia",extensions:["jl"],load:()=>t.e(6092).then(t.bind(t,76092)).then(e=>a(e.julia))}),n.c6.of({name:"Kotlin",extensions:["kt"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.kotlin))}),n.c6.of({name:"LESS",extensions:["less"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.less))}),n.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>t.e(402).then(t.bind(t,60402)).then(e=>a(e.liveScript))}),n.c6.of({name:"Lua",extensions:["lua"],load:()=>t.e(3519).then(t.bind(t,3519)).then(e=>a(e.lua))}),n.c6.of({name:"mIRC",extensions:["mrc"],load:()=>t.e(5134).then(t.bind(t,65134)).then(e=>a(e.mirc))}),n.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>t.e(7213).then(t.bind(t,37213)).then(e=>a(e.mathematica))}),n.c6.of({name:"Modelica",extensions:["mo"],load:()=>t.e(305).then(t.bind(t,40305)).then(e=>a(e.modelica))}),n.c6.of({name:"MUMPS",extensions:["mps"],load:()=>t.e(7988).then(t.bind(t,17988)).then(e=>a(e.mumps))}),n.c6.of({name:"Mbox",extensions:["mbox"],load:()=>t.e(9121).then(t.bind(t,29121)).then(e=>a(e.mbox))}),n.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>t.e(8561).then(t.bind(t,78561)).then(e=>a(e.nginx))}),n.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>t.e(7370).then(t.bind(t,67370)).then(e=>a(e.nsis))}),n.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>t.e(3314).then(t.bind(t,43314)).then(e=>a(e.ntriples))}),n.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.objectiveC))}),n.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.objectiveCpp))}),n.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.oCaml))}),n.c6.of({name:"Octave",extensions:["m"],load:()=>t.e(3283).then(t.bind(t,33283)).then(e=>a(e.octave))}),n.c6.of({name:"Oz",extensions:["oz"],load:()=>t.e(4796).then(t.bind(t,94796)).then(e=>a(e.oz))}),n.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>t.e(4163).then(t.bind(t,44163)).then(e=>a(e.pascal))}),n.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>t.e(4293).then(t.bind(t,94293)).then(e=>a(e.perl))}),n.c6.of({name:"Pig",extensions:["pig"],load:()=>t.e(3482).then(t.bind(t,33482)).then(e=>a(e.pig))}),n.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>t.e(7421).then(t.bind(t,37421)).then(e=>a(e.powerShell))}),n.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>t.e(9071).then(t.bind(t,69071)).then(e=>a(e.properties))}),n.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>t.e(8142).then(t.bind(t,78142)).then(e=>a(e.protobuf))}),n.c6.of({name:"Puppet",extensions:["pp"],load:()=>t.e(3993).then(t.bind(t,83993)).then(e=>a(e.puppet))}),n.c6.of({name:"Q",extensions:["q"],load:()=>t.e(228).then(t.bind(t,10228)).then(e=>a(e.q))}),n.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>t.e(7365).then(t.bind(t,57365)).then(e=>a(e.r))}),n.c6.of({name:"RPM Changes",load:()=>t.e(8171).then(t.bind(t,48171)).then(e=>a(e.rpmChanges))}),n.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>t.e(8171).then(t.bind(t,48171)).then(e=>a(e.rpmSpec))}),n.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>t.e(4439).then(t.bind(t,24439)).then(e=>a(e.ruby))}),n.c6.of({name:"SAS",extensions:["sas"],load:()=>t.e(1770).then(t.bind(t,1770)).then(e=>a(e.sas))}),n.c6.of({name:"Sass",extensions:["sass"],load:()=>t.e(9809).then(t.bind(t,49809)).then(e=>a(e.sass))}),n.c6.of({name:"Scala",extensions:["scala"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.scala))}),n.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>t.e(5879).then(t.bind(t,95879)).then(e=>a(e.scheme))}),n.c6.of({name:"SCSS",extensions:["scss"],load:()=>t.e(2136).then(t.bind(t,62136)).then(e=>a(e.sCSS))}),n.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>t.e(4879).then(t.bind(t,44879)).then(e=>a(e.shell))}),n.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>t.e(9713).then(t.bind(t,9713)).then(e=>a(e.sieve))}),n.c6.of({name:"Smalltalk",extensions:["st"],load:()=>t.e(1873).then(t.bind(t,11873)).then(e=>a(e.smalltalk))}),n.c6.of({name:"Solr",load:()=>t.e(7762).then(t.bind(t,17762)).then(e=>a(e.solr))}),n.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>t.e(6121).then(t.bind(t,96121)).then(e=>a(e.sml))}),n.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>t.e(370).then(t.bind(t,70370)).then(e=>a(e.sparql))}),n.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>t.e(7601).then(t.bind(t,97601)).then(e=>a(e.spreadsheet))}),n.c6.of({name:"Squirrel",extensions:["nut"],load:()=>t.e(7917).then(t.bind(t,63821)).then(e=>a(e.squirrel))}),n.c6.of({name:"Stylus",extensions:["styl"],load:()=>t.e(8007).then(t.bind(t,28007)).then(e=>a(e.stylus))}),n.c6.of({name:"Swift",extensions:["swift"],load:()=>t.e(6062).then(t.bind(t,66062)).then(e=>a(e.swift))}),n.c6.of({name:"sTeX",load:()=>t.e(6732).then(t.bind(t,86732)).then(e=>a(e.stex))}),n.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>t.e(6732).then(t.bind(t,86732)).then(e=>a(e.stex))}),n.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>t.e(2119).then(t.bind(t,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"Tcl",extensions:["tcl"],load:()=>t.e(3465).then(t.bind(t,43465)).then(e=>a(e.tcl))}),n.c6.of({name:"Textile",extensions:["textile"],load:()=>t.e(177).then(t.bind(t,90177)).then(e=>a(e.textile))}),n.c6.of({name:"TiddlyWiki",load:()=>t.e(4511).then(t.bind(t,34511)).then(e=>a(e.tiddlyWiki))}),n.c6.of({name:"Tiki wiki",load:()=>t.e(6471).then(t.bind(t,36471)).then(e=>a(e.tiki))}),n.c6.of({name:"TOML",extensions:["toml"],load:()=>t.e(6443).then(t.bind(t,96443)).then(e=>a(e.toml))}),n.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>t.e(1920).then(t.bind(t,71920)).then(e=>a(e.troff))}),n.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>t.e(6665).then(t.bind(t,66665)).then(e=>a(e.ttcn))}),n.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>t.e(9831).then(t.bind(t,29831)).then(e=>a(e.ttcnCfg))}),n.c6.of({name:"Turtle",extensions:["ttl"],load:()=>t.e(5815).then(t.bind(t,15815)).then(e=>a(e.turtle))}),n.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>t.e(6692).then(t.bind(t,26692)).then(e=>a(e.webIDL))}),n.c6.of({name:"VB.NET",extensions:["vb"],load:()=>t.e(4212).then(t.bind(t,44212)).then(e=>a(e.vb))}),n.c6.of({name:"VBScript",extensions:["vbs"],load:()=>t.e(1650).then(t.bind(t,31650)).then(e=>a(e.vbScript))}),n.c6.of({name:"Velocity",extensions:["vtl"],load:()=>t.e(617).then(t.bind(t,90617)).then(e=>a(e.velocity))}),n.c6.of({name:"Verilog",extensions:["v"],load:()=>t.e(2119).then(t.bind(t,52119)).then(e=>a(e.verilog))}),n.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>t.e(5819).then(t.bind(t,5819)).then(e=>a(e.vhdl))}),n.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>t.e(5753).then(t.bind(t,35753)).then(e=>a(e.xQuery))}),n.c6.of({name:"Yacas",extensions:["ys"],load:()=>t.e(9232).then(t.bind(t,69232)).then(e=>a(e.yacas))}),n.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>t.e(2877).then(t.bind(t,82877)).then(e=>a(e.yaml))}),n.c6.of({name:"Z80",extensions:["z80"],load:()=>t.e(1053).then(t.bind(t,21053)).then(e=>a(e.z80))}),n.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.mscgen))}),n.c6.of({name:"X\xf9",extensions:["xu"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.xu))}),n.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>t.e(758).then(t.bind(t,30758)).then(e=>a(e.msgenny))})]}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7629-3524bc15ef1263f2.js b/static/web/_next/static/chunks/7629-3524bc15ef1263f2.js new file mode 100644 index 000000000..e9b88c8eb --- /dev/null +++ b/static/web/_next/static/chunks/7629-3524bc15ef1263f2.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7629],{24019:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},a=n(42135),c=function(t,e){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:o}))};c.displayName="ClockCircleOutlined";var l=i.forwardRef(c)},93069:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},a=n(42135),c=function(t,e){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:o}))};c.displayName="WifiOutlined";var l=i.forwardRef(c)},57838:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(97685),i=n(67294);function o(){var t=i.useReducer(function(t){return t+1},0);return(0,r.Z)(t,2)[1]}},24308:function(t,e,n){"use strict";n.d(e,{c4:function(){return o}});var r=n(4942),i=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={};e.ZP={matchHandlers:{},dispatch:function(t){return s=t,c.forEach(function(t){return t(s)}),c.size>=1},subscribe:function(t){return c.size||this.register(),l+=1,c.set(l,t),t(s),l},unsubscribe:function(t){c.delete(t),c.size||this.unregister()},unregister:function(){var t=this;Object.keys(a).forEach(function(e){var n=a[e],r=t.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)}),c.clear()},register:function(){var t=this;Object.keys(a).forEach(function(e){var n=a[e],o=function(n){var o=n.matches;t.dispatch((0,i.Z)((0,i.Z)({},s),(0,r.Z)({},e,o)))},c=window.matchMedia(n);c.addListener(o),t.matchHandlers[n]={mql:c,listener:o},o(c)})}}},11382:function(t,e,n){"use strict";var r=n(87462),i=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),v=n(96159),d=n(93355),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);ie.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n};(0,d.b)("small","default","large");var g=null,h=function(t){var e=t.spinPrefixCls,n=t.spinning,a=void 0===n||n,l=t.delay,d=t.className,h=t.size,b=void 0===h?"default":h,y=t.tip,x=t.wrapperClassName,w=t.style,C=t.children,Z=m(t,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return a&&(!a||!l||!!isNaN(Number(l)))}),E=(0,o.Z)(N,2),O=E[0],j=E[1];return f.useEffect(function(){var t=s()(function(){j(a)},l);return t(),function(){var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}},[l,a]),f.createElement(p.C,null,function(n){var o,a,l,s=n.direction,p=c()(e,(l={},(0,i.Z)(l,"".concat(e,"-sm"),"small"===b),(0,i.Z)(l,"".concat(e,"-lg"),"large"===b),(0,i.Z)(l,"".concat(e,"-spinning"),O),(0,i.Z)(l,"".concat(e,"-show-text"),!!y),(0,i.Z)(l,"".concat(e,"-rtl"),"rtl"===s),l),d),m=(0,u.Z)(Z,["indicator","prefixCls"]),h=f.createElement("div",(0,r.Z)({},m,{style:w,className:p,"aria-live":"polite","aria-busy":O}),(o=t.indicator,a="".concat(e,"-dot"),null===o?null:(0,v.l$)(o)?(0,v.Tm)(o,{className:c()(o.props.className,a)}):(0,v.l$)(g)?(0,v.Tm)(g,{className:c()(g.props.className,a)}):f.createElement("span",{className:c()(a,"".concat(e,"-dot-spin"))},f.createElement("i",{className:"".concat(e,"-dot-item")}),f.createElement("i",{className:"".concat(e,"-dot-item")}),f.createElement("i",{className:"".concat(e,"-dot-item")}),f.createElement("i",{className:"".concat(e,"-dot-item")}))),y?f.createElement("div",{className:"".concat(e,"-text")},y):null);if(void 0!==C){var N=c()("".concat(e,"-container"),(0,i.Z)({},"".concat(e,"-blur"),O));return f.createElement("div",(0,r.Z)({},m,{className:c()("".concat(e,"-nested-loading"),x)}),O&&f.createElement("div",{key:"loading"},h),f.createElement("div",{className:N,key:"container"},C))}return h})},b=function(t){var e=t.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",e),i=(0,r.Z)((0,r.Z)({},t),{spinPrefixCls:n});return f.createElement(h,(0,r.Z)({},i))};b.setDefaultIndicator=function(t){g=t},e.Z=b},62705:function(t,e,n){var r=n(55639).Symbol;t.exports=r},44239:function(t,e,n){var r=n(62705),i=n(89607),o=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},27561:function(t,e,n){var r=n(67990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},31957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},89607:function(t,e,n){var r=n(62705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(i){}var l=a.call(t);return r&&(e?t[c]=n:delete t[c]),l}},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},55639:function(t,e,n){var r=n(31957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),i=n(7771),o=n(14841),a=Math.max,c=Math.min;t.exports=function(t,e,n){var l,s,u,f,p,v,d=0,m=!1,g=!1,h=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var n=l,r=s;return l=s=void 0,d=e,f=t.apply(r,n)}function y(t){var n=t-v,r=t-d;return void 0===v||n>=e||n<0||g&&r>=u}function x(){var t,n,r,o=i();if(y(o))return w(o);p=setTimeout(x,(t=o-v,n=o-d,r=e-t,g?c(r,u-n):r))}function w(t){return(p=void 0,h&&l)?b(t):(l=s=void 0,f)}function C(){var t,n=i(),r=y(n);if(l=arguments,s=this,v=n,r){if(void 0===p)return d=t=v,p=setTimeout(x,e),m?b(t):f;if(g)return clearTimeout(p),p=setTimeout(x,e),b(v)}return void 0===p&&(p=setTimeout(x,e)),f}return e=o(e)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,e):u,h="trailing"in n?!!n.trailing:h),C.cancel=function(){void 0!==p&&clearTimeout(p),d=0,l=v=s=p=void 0},C.flush=function(){return void 0===p?f:w(i())},C}},1469:function(t){var e=Array.isArray;t.exports=e},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var r=n(44239),i=n(37005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},14841:function(t,e,n){var r=n(27561),i=n(13218),o=n(33448),a=0/0,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=l.test(t);return n||s.test(t)?u(t.slice(2),n?2:8):c.test(t)?a:+t}},60057:function(t,e,n){"use strict";n.d(e,{Z:function(){return x}});var r=n(4942),i=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(53749),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},p=[0,0],v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:p}},d=n(15105),m=n(75164),g=n(88603),h=d.Z.ESC,b=d.Z.TAB,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],x=c.forwardRef(function(t,e){var n,s,f,p,d,x,w,C,Z,N,E,O,j,k,P,T,S=t.arrow,z=void 0!==S&&S,A=t.prefixCls,R=void 0===A?"rc-dropdown":A,M=t.transitionName,V=t.animation,L=t.align,F=t.placement,W=t.placements,H=t.getPopupContainer,$=t.showAction,_=t.hideAction,I=t.overlayClassName,B=t.overlayStyle,D=t.visible,q=t.trigger,U=void 0===q?["hover"]:q,X=t.autoFocus,Y=(0,a.Z)(t,y),G=c.useState(),J=(0,o.Z)(G,2),K=J[0],Q=J[1],tt="visible"in t?D:K,te=c.useRef(null);c.useImperativeHandle(e,function(){return te.current}),f=(s={visible:tt,setTriggerVisible:Q,triggerRef:te,onVisibleChange:t.onVisibleChange,autoFocus:X}).visible,p=s.setTriggerVisible,d=s.triggerRef,x=s.onVisibleChange,w=s.autoFocus,C=c.useRef(!1),Z=function(){if(f&&d.current){var t,e,n,r;null===(t=d.current)||void 0===t||null===(e=t.triggerRef)||void 0===e||null===(n=e.current)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n),p(!1),"function"==typeof x&&x(!1)}},N=function(){var t,e,n,r,i=(0,g.tS)(null===(t=d.current)||void 0===t?void 0:null===(e=t.popupRef)||void 0===e?void 0:null===(n=e.current)||void 0===n?void 0:null===(r=n.getElement)||void 0===r?void 0:r.call(n))[0];return null!=i&&!!i.focus&&(i.focus(),C.current=!0,!0)},E=function(t){switch(t.keyCode){case h:Z();break;case b:var e=!1;C.current||(e=N()),e?t.preventDefault():Z()}},c.useEffect(function(){return f?(window.addEventListener("keydown",E),w&&(0,m.Z)(N,3),function(){window.removeEventListener("keydown",E),C.current=!1}):function(){C.current=!1}},[f]);var tn=function(){var e=t.overlay;return"function"==typeof e?e():e},tr=function(){var t=tn();return c.createElement(c.Fragment,null,z&&c.createElement("div",{className:"".concat(R,"-arrow")}),t)},ti=_;return ti||-1===U.indexOf("contextMenu")||(ti=["click"]),c.createElement(l.Z,(0,i.Z)((0,i.Z)({builtinPlacements:void 0===W?v:W},Y),{},{prefixCls:R,ref:te,popupClassName:u()(I,(0,r.Z)({},"".concat(R,"-show-arrow"),z)),popupStyle:B,action:U,showAction:$,hideAction:ti||[],popupPlacement:void 0===F?"bottomLeft":F,popupAlign:L,popupTransitionName:M,popupAnimation:V,popupVisible:tt,stretch:(O=t.minOverlayWidthMatchTrigger,j=t.alignPoint,"minOverlayWidthMatchTrigger"in t?O:!j)?"minWidth":"",popup:"function"==typeof t.overlay?tr:tr(),onPopupVisibleChange:function(e){var n=t.onVisibleChange;Q(e),"function"==typeof n&&n(e)},onPopupClick:function(e){var n=t.onOverlayClick;Q(!1),n&&n(e)},getPopupContainer:H}),(P=(k=t.children).props?k.props:{},T=u()(P.className,void 0!==(n=t.openClassName)?n:"".concat(R,"-open")),tt&&k?c.cloneElement(k,{className:T}):k))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7830-37f6f9f7aaae2bbf.js b/static/web/_next/static/chunks/7830-6644d220e129b921.js similarity index 99% rename from static/web/_next/static/chunks/7830-37f6f9f7aaae2bbf.js rename to static/web/_next/static/chunks/7830-6644d220e129b921.js index af9d68fd6..8aad4ea7d 100644 --- a/static/web/_next/static/chunks/7830-37f6f9f7aaae2bbf.js +++ b/static/web/_next/static/chunks/7830-6644d220e129b921.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7830],{99906:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="ApiTwoTone";var i=r.forwardRef(o)},80869:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="BugTwoTone";var i=r.forwardRef(o)},38958:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="CameraTwoTone";var i=r.forwardRef(o)},30925:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="DatabaseTwoTone";var i=r.forwardRef(o)},65987:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="EditTwoTone";var i=r.forwardRef(o)},17502:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="Html5TwoTone";var i=r.forwardRef(o)},29158:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="LinkOutlined";var i=r.forwardRef(o)},43439:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="QuestionCircleTwoTone";var i=r.forwardRef(o)},90543:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z",fill:e}}]}},name:"setting",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="SettingTwoTone";var i=r.forwardRef(o)},99767:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="SlidersTwoTone";var i=r.forwardRef(o)},27049:function(e,t,a){var l=a(87462),r=a(4942),n=a(94184),c=a.n(n),o=a(67294),i=a(53124),s=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(a[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(a[l[r]]=e[l[r]]);return a};t.Z=function(e){var t,a=o.useContext(i.E_),n=a.getPrefixCls,d=a.direction,h=e.prefixCls,f=e.type,m=void 0===f?"horizontal":f,p=e.orientation,u=void 0===p?"center":p,M=e.orientationMargin,E=e.className,k=e.children,v=e.dashed,F=e.plain,L=s(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),g=n("divider",h),z=u.length>0?"-".concat(u):u,C=!!k,B="left"===u&&null!=M,w="right"===u&&null!=M,A=c()(g,"".concat(g,"-").concat(m),(t={},(0,r.Z)(t,"".concat(g,"-with-text"),C),(0,r.Z)(t,"".concat(g,"-with-text").concat(z),C),(0,r.Z)(t,"".concat(g,"-dashed"),!!v),(0,r.Z)(t,"".concat(g,"-plain"),!!F),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===d),(0,r.Z)(t,"".concat(g,"-no-default-orientation-margin-left"),B),(0,r.Z)(t,"".concat(g,"-no-default-orientation-margin-right"),w),t),E),D=(0,l.Z)((0,l.Z)({},B&&{marginLeft:M}),w&&{marginRight:M});return o.createElement("div",(0,l.Z)({className:A},L,{role:"separator"}),k&&"vertical"!==m&&o.createElement("span",{className:"".concat(g,"-inner-text"),style:D},k))}},33859:function(e,t,a){a.d(t,{ZP:function(){return g}});var l=a(4942),r=a(89739),n=a(4340),c=a(21640),o=a(1413),i=a(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},d=a(42135),h=function(e,t){return i.createElement(d.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:s}))};h.displayName="WarningFilled";var f=i.forwardRef(h),m=a(94184),p=a.n(m),u=a(53124),M={success:r.Z,error:n.Z,info:c.Z,warning:f},E={404:function(){return i.createElement("svg",{width:"252",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .012)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),i.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),i.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),i.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),i.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),i.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),i.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),i.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),i.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),i.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),i.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),i.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),i.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),i.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),i.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),i.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),i.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),i.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),i.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),i.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),i.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),i.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),i.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),i.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),i.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),i.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),i.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),i.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),i.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),i.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),i.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),i.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),i.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),i.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),i.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},500:function(){return i.createElement("svg",{width:"254",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),i.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .067)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),i.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),i.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),i.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),i.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),i.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),i.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),i.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),i.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),i.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),i.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),i.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),i.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),i.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),i.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),i.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),i.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),i.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),i.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),i.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),i.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),i.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),i.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),i.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),i.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),i.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),i.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),i.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),i.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),i.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),i.createElement("mask",{fill:"#fff"}),i.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),i.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),i.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),i.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},403:function(){return i.createElement("svg",{width:"251",height:"294"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),i.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),i.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),i.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),i.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),i.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),i.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),i.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),i.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),i.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),i.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),i.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),i.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),i.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),i.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),i.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),i.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),i.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),i.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),i.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),i.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),i.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),i.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),i.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),i.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),i.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),i.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),i.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),i.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),i.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),i.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),i.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),i.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))}},k=Object.keys(E),v=function(e){var t=e.prefixCls,a=e.icon,l=e.status,r=p()("".concat(t,"-icon"));if(k.includes("".concat(l))){var n=E[l];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(n,null))}var c=i.createElement(M[l]);return null===a||!1===a?null:i.createElement("div",{className:r},a||c)},F=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},L=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,n=e.title,c=e.style,o=e.children,s=e.status,d=void 0===s?"info":s,h=e.icon,f=e.extra,m=i.useContext(u.E_),M=m.getPrefixCls,E=m.direction,k=M("result",t),L=p()(k,"".concat(k,"-").concat(d),a,(0,l.Z)({},"".concat(k,"-rtl"),"rtl"===E));return i.createElement("div",{className:L,style:c},i.createElement(v,{prefixCls:k,status:d,icon:h}),i.createElement("div",{className:"".concat(k,"-title")},n),r&&i.createElement("div",{className:"".concat(k,"-subtitle")},r),i.createElement(F,{prefixCls:k,extra:f}),o&&i.createElement("div",{className:"".concat(k,"-content")},o))};L.PRESENTED_IMAGE_403=E["403"],L.PRESENTED_IMAGE_404=E["404"],L.PRESENTED_IMAGE_500=E["500"];var g=L},89281:function(e,t,a){var l=a(75263).default,r=a(64836).default;t.Z=void 0;var n=r(a(10434)),c=r(a(94184)),o=l(a(67294)),i=a(31929),s=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(a[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(a[l[r]]=e[l[r]]);return a};t.Z=function(e){return o.createElement(i.ConfigConsumer,null,function(t){var a=t.getPrefixCls,l=e.prefixCls,r=e.className,i=e.avatar,d=e.title,h=e.description,f=s(e,["prefixCls","className","avatar","title","description"]),m=a("card",l),p=(0,c.default)("".concat(m,"-meta"),r),u=i?o.createElement("div",{className:"".concat(m,"-meta-avatar")},i):null,M=d?o.createElement("div",{className:"".concat(m,"-meta-title")},d):null,E=h?o.createElement("div",{className:"".concat(m,"-meta-description")},h):null,k=M||E?o.createElement("div",{className:"".concat(m,"-meta-detail")},M,E):null;return o.createElement("div",(0,n.default)({},f,{className:p}),u,k)})}},60057:function(e,t,a){a.d(t,{Z:function(){return F}});var l=a(4942),r=a(1413),n=a(97685),c=a(45987),o=a(67294),i=a(81263),s=a(94184),d=a.n(s),h={adjustX:1,adjustY:1},f=[0,0],m={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:f}},p=a(15105),u=a(75164),M=a(88603),E=p.Z.ESC,k=p.Z.TAB,v=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],F=o.forwardRef(function(e,t){var a,s,h,f,p,F,L,g,z,C,B,w,A,D,Z,j,W=e.arrow,b=void 0!==W&&W,y=e.prefixCls,N=void 0===y?"rc-dropdown":y,H=e.transitionName,V=e.animation,x=e.align,O=e.placement,T=e.placements,R=e.getPopupContainer,P=e.showAction,S=e.hideAction,_=e.overlayClassName,I=e.overlayStyle,G=e.visible,q=e.trigger,Q=void 0===q?["hover"]:q,X=e.autoFocus,Y=(0,c.Z)(e,v),J=o.useState(),K=(0,n.Z)(J,2),U=K[0],$=K[1],ee="visible"in e?G:U,et=o.useRef(null);o.useImperativeHandle(t,function(){return et.current}),h=(s={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:X}).visible,f=s.setTriggerVisible,p=s.triggerRef,F=s.onVisibleChange,L=s.autoFocus,g=o.useRef(!1),z=function(){if(h&&p.current){var e,t,a,l;null===(e=p.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(a=t.current)||void 0===a||null===(l=a.focus)||void 0===l||l.call(a),f(!1),"function"==typeof F&&F(!1)}},C=function(){var e,t,a,l,r=(0,M.tS)(null===(e=p.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(a=t.current)||void 0===a?void 0:null===(l=a.getElement)||void 0===l?void 0:l.call(a))[0];return null!=r&&!!r.focus&&(r.focus(),g.current=!0,!0)},B=function(e){switch(e.keyCode){case E:z();break;case k:var t=!1;g.current||(t=C()),t?e.preventDefault():z()}},o.useEffect(function(){return h?(window.addEventListener("keydown",B),L&&(0,u.Z)(C,3),function(){window.removeEventListener("keydown",B),g.current=!1}):function(){g.current=!1}},[h]);var ea=function(){var t=e.overlay;return"function"==typeof t?t():t},el=function(){var e=ea();return o.createElement(o.Fragment,null,b&&o.createElement("div",{className:"".concat(N,"-arrow")}),e)},er=S;return er||-1===Q.indexOf("contextMenu")||(er=["click"]),o.createElement(i.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===T?m:T},Y),{},{prefixCls:N,ref:et,popupClassName:d()(_,(0,l.Z)({},"".concat(N,"-show-arrow"),b)),popupStyle:I,action:Q,showAction:P,hideAction:er||[],popupPlacement:void 0===O?"bottomLeft":O,popupAlign:x,popupTransitionName:H,popupAnimation:V,popupVisible:ee,stretch:(w=e.minOverlayWidthMatchTrigger,A=e.alignPoint,"minOverlayWidthMatchTrigger"in e?w:!A)?"minWidth":"",popup:"function"==typeof e.overlay?el:el(),onPopupVisibleChange:function(t){var a=e.onVisibleChange;$(t),"function"==typeof a&&a(t)},onPopupClick:function(t){var a=e.onOverlayClick;$(!1),a&&a(t)},getPopupContainer:R}),(Z=(D=e.children).props?D.props:{},j=d()(Z.className,void 0!==(a=e.openClassName)?a:"".concat(N,"-open")),ee&&D?o.cloneElement(D,{className:j}):D))})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7830],{99906:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="ApiTwoTone";var i=r.forwardRef(o)},80869:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="BugTwoTone";var i=r.forwardRef(o)},38958:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="CameraTwoTone";var i=r.forwardRef(o)},30925:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="DatabaseTwoTone";var i=r.forwardRef(o)},65987:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="EditTwoTone";var i=r.forwardRef(o)},17502:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="Html5TwoTone";var i=r.forwardRef(o)},29158:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="LinkOutlined";var i=r.forwardRef(o)},43439:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="QuestionCircleTwoTone";var i=r.forwardRef(o)},90543:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z",fill:e}}]}},name:"setting",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="SettingTwoTone";var i=r.forwardRef(o)},99767:function(e,t,a){a.d(t,{Z:function(){return i}});var l=a(1413),r=a(67294),n={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},c=a(42135),o=function(e,t){return r.createElement(c.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:n}))};o.displayName="SlidersTwoTone";var i=r.forwardRef(o)},27049:function(e,t,a){var l=a(87462),r=a(4942),n=a(94184),c=a.n(n),o=a(67294),i=a(53124),s=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(a[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(a[l[r]]=e[l[r]]);return a};t.Z=function(e){var t,a=o.useContext(i.E_),n=a.getPrefixCls,d=a.direction,h=e.prefixCls,f=e.type,m=void 0===f?"horizontal":f,p=e.orientation,u=void 0===p?"center":p,M=e.orientationMargin,E=e.className,k=e.children,v=e.dashed,F=e.plain,L=s(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),g=n("divider",h),z=u.length>0?"-".concat(u):u,C=!!k,B="left"===u&&null!=M,w="right"===u&&null!=M,A=c()(g,"".concat(g,"-").concat(m),(t={},(0,r.Z)(t,"".concat(g,"-with-text"),C),(0,r.Z)(t,"".concat(g,"-with-text").concat(z),C),(0,r.Z)(t,"".concat(g,"-dashed"),!!v),(0,r.Z)(t,"".concat(g,"-plain"),!!F),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===d),(0,r.Z)(t,"".concat(g,"-no-default-orientation-margin-left"),B),(0,r.Z)(t,"".concat(g,"-no-default-orientation-margin-right"),w),t),E),D=(0,l.Z)((0,l.Z)({},B&&{marginLeft:M}),w&&{marginRight:M});return o.createElement("div",(0,l.Z)({className:A},L,{role:"separator"}),k&&"vertical"!==m&&o.createElement("span",{className:"".concat(g,"-inner-text"),style:D},k))}},33859:function(e,t,a){a.d(t,{ZP:function(){return g}});var l=a(4942),r=a(89739),n=a(4340),c=a(21640),o=a(1413),i=a(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},d=a(42135),h=function(e,t){return i.createElement(d.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:s}))};h.displayName="WarningFilled";var f=i.forwardRef(h),m=a(94184),p=a.n(m),u=a(53124),M={success:r.Z,error:n.Z,info:c.Z,warning:f},E={404:function(){return i.createElement("svg",{width:"252",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .012)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),i.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),i.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),i.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),i.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),i.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),i.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),i.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),i.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),i.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),i.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),i.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),i.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),i.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),i.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),i.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),i.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),i.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),i.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),i.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),i.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),i.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),i.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),i.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),i.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),i.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),i.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),i.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),i.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),i.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),i.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),i.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),i.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),i.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),i.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},500:function(){return i.createElement("svg",{width:"254",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),i.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .067)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),i.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),i.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),i.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),i.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),i.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),i.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),i.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),i.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),i.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),i.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),i.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),i.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),i.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),i.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),i.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),i.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),i.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),i.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),i.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),i.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),i.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),i.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),i.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),i.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),i.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),i.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),i.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),i.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),i.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),i.createElement("mask",{fill:"#fff"}),i.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),i.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),i.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),i.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},403:function(){return i.createElement("svg",{width:"251",height:"294"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),i.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),i.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),i.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),i.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),i.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),i.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),i.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),i.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),i.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),i.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),i.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),i.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),i.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),i.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),i.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),i.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),i.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),i.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),i.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),i.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),i.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),i.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),i.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),i.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),i.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),i.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),i.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),i.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),i.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),i.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),i.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),i.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))}},k=Object.keys(E),v=function(e){var t=e.prefixCls,a=e.icon,l=e.status,r=p()("".concat(t,"-icon"));if(k.includes("".concat(l))){var n=E[l];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(n,null))}var c=i.createElement(M[l]);return null===a||!1===a?null:i.createElement("div",{className:r},a||c)},F=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},L=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,n=e.title,c=e.style,o=e.children,s=e.status,d=void 0===s?"info":s,h=e.icon,f=e.extra,m=i.useContext(u.E_),M=m.getPrefixCls,E=m.direction,k=M("result",t),L=p()(k,"".concat(k,"-").concat(d),a,(0,l.Z)({},"".concat(k,"-rtl"),"rtl"===E));return i.createElement("div",{className:L,style:c},i.createElement(v,{prefixCls:k,status:d,icon:h}),i.createElement("div",{className:"".concat(k,"-title")},n),r&&i.createElement("div",{className:"".concat(k,"-subtitle")},r),i.createElement(F,{prefixCls:k,extra:f}),o&&i.createElement("div",{className:"".concat(k,"-content")},o))};L.PRESENTED_IMAGE_403=E["403"],L.PRESENTED_IMAGE_404=E["404"],L.PRESENTED_IMAGE_500=E["500"];var g=L},89281:function(e,t,a){var l=a(75263).default,r=a(64836).default;t.Z=void 0;var n=r(a(10434)),c=r(a(94184)),o=l(a(67294)),i=a(31929),s=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(a[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);rt.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(a[l[r]]=e[l[r]]);return a};t.Z=function(e){return o.createElement(i.ConfigConsumer,null,function(t){var a=t.getPrefixCls,l=e.prefixCls,r=e.className,i=e.avatar,d=e.title,h=e.description,f=s(e,["prefixCls","className","avatar","title","description"]),m=a("card",l),p=(0,c.default)("".concat(m,"-meta"),r),u=i?o.createElement("div",{className:"".concat(m,"-meta-avatar")},i):null,M=d?o.createElement("div",{className:"".concat(m,"-meta-title")},d):null,E=h?o.createElement("div",{className:"".concat(m,"-meta-description")},h):null,k=M||E?o.createElement("div",{className:"".concat(m,"-meta-detail")},M,E):null;return o.createElement("div",(0,n.default)({},f,{className:p}),u,k)})}},60057:function(e,t,a){a.d(t,{Z:function(){return F}});var l=a(4942),r=a(1413),n=a(97685),c=a(45987),o=a(67294),i=a(53749),s=a(94184),d=a.n(s),h={adjustX:1,adjustY:1},f=[0,0],m={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:f}},p=a(15105),u=a(75164),M=a(88603),E=p.Z.ESC,k=p.Z.TAB,v=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],F=o.forwardRef(function(e,t){var a,s,h,f,p,F,L,g,z,C,B,w,A,D,Z,j,W=e.arrow,b=void 0!==W&&W,y=e.prefixCls,N=void 0===y?"rc-dropdown":y,H=e.transitionName,V=e.animation,x=e.align,O=e.placement,T=e.placements,R=e.getPopupContainer,P=e.showAction,S=e.hideAction,_=e.overlayClassName,I=e.overlayStyle,G=e.visible,q=e.trigger,Q=void 0===q?["hover"]:q,X=e.autoFocus,Y=(0,c.Z)(e,v),J=o.useState(),K=(0,n.Z)(J,2),U=K[0],$=K[1],ee="visible"in e?G:U,et=o.useRef(null);o.useImperativeHandle(t,function(){return et.current}),h=(s={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:X}).visible,f=s.setTriggerVisible,p=s.triggerRef,F=s.onVisibleChange,L=s.autoFocus,g=o.useRef(!1),z=function(){if(h&&p.current){var e,t,a,l;null===(e=p.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(a=t.current)||void 0===a||null===(l=a.focus)||void 0===l||l.call(a),f(!1),"function"==typeof F&&F(!1)}},C=function(){var e,t,a,l,r=(0,M.tS)(null===(e=p.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(a=t.current)||void 0===a?void 0:null===(l=a.getElement)||void 0===l?void 0:l.call(a))[0];return null!=r&&!!r.focus&&(r.focus(),g.current=!0,!0)},B=function(e){switch(e.keyCode){case E:z();break;case k:var t=!1;g.current||(t=C()),t?e.preventDefault():z()}},o.useEffect(function(){return h?(window.addEventListener("keydown",B),L&&(0,u.Z)(C,3),function(){window.removeEventListener("keydown",B),g.current=!1}):function(){g.current=!1}},[h]);var ea=function(){var t=e.overlay;return"function"==typeof t?t():t},el=function(){var e=ea();return o.createElement(o.Fragment,null,b&&o.createElement("div",{className:"".concat(N,"-arrow")}),e)},er=S;return er||-1===Q.indexOf("contextMenu")||(er=["click"]),o.createElement(i.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===T?m:T},Y),{},{prefixCls:N,ref:et,popupClassName:d()(_,(0,l.Z)({},"".concat(N,"-show-arrow"),b)),popupStyle:I,action:Q,showAction:P,hideAction:er||[],popupPlacement:void 0===O?"bottomLeft":O,popupAlign:x,popupTransitionName:H,popupAnimation:V,popupVisible:ee,stretch:(w=e.minOverlayWidthMatchTrigger,A=e.alignPoint,"minOverlayWidthMatchTrigger"in e?w:!A)?"minWidth":"",popup:"function"==typeof e.overlay?el:el(),onPopupVisibleChange:function(t){var a=e.onVisibleChange;$(t),"function"==typeof a&&a(t)},onPopupClick:function(t){var a=e.onOverlayClick;$(!1),a&&a(t)},getPopupContainer:R}),(Z=(D=e.children).props?D.props:{},j=d()(Z.className,void 0!==(a=e.openClassName)?a:"".concat(N,"-open")),ee&&D?o.cloneElement(D,{className:j}):D))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js b/static/web/_next/static/chunks/8909-9e37133224b99d43.js similarity index 77% rename from static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js rename to static/web/_next/static/chunks/8909-9e37133224b99d43.js index fc15b4aed..571dae2dc 100644 --- a/static/web/_next/static/chunks/8909-6d59cce6f69e27ae.js +++ b/static/web/_next/static/chunks/8909-9e37133224b99d43.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8909],{24308:function(e,t,n){n.d(t,{c4:function(){return a}});var o=n(4942),r=n(87462),a=["xxl","xl","lg","md","sm","xs"],i={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,u=-1,c={};t.ZP={matchHandlers:{},dispatch:function(e){return c=e,l.forEach(function(e){return e(c)}),l.size>=1},subscribe:function(e){return l.size||this.register(),u+=1,l.set(u,e),e(c),u},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],o=e.matchHandlers[n];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),l.clear()},register:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],a=function(n){var a=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},c),(0,o.Z)({},t,a)))},l=window.matchMedia(n);l.addListener(a),e.matchHandlers[n]={mql:l,listener:a},a(l)})}}},88258:function(e,t,n){var o=n(67294),r=n(53124),a=n(62986);t.Z=function(e){return o.createElement(r.C,null,function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(a.Z,null)}})}},62986:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=n(23715),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},f=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),d=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},null),p=function(e){var t=e.className,n=e.prefixCls,a=e.image,p=void 0===a?f:a,v=e.description,m=e.children,h=e.imageStyle,g=s(e,["className","prefixCls","image","description","children","imageStyle"]),b=l.useContext(u.E_),E=b.getPrefixCls,w=b.direction;return l.createElement(c.Z,{componentName:"Empty"},function(e){var a,u=E("empty",n),c=void 0!==v?v:e.description,s=null;return s="string"==typeof p?l.createElement("img",{alt:"string"==typeof c?c:"empty",src:p}):p,l.createElement("div",(0,r.Z)({className:i()(u,(a={},(0,o.Z)(a,"".concat(u,"-normal"),p===d),(0,o.Z)(a,"".concat(u,"-rtl"),"rtl"===w),a),t)},g),l.createElement("div",{className:"".concat(u,"-image"),style:h},s),c&&l.createElement("div",{className:"".concat(u,"-description")},c),m&&l.createElement("div",{className:"".concat(u,"-footer")},m))})};p.PRESENTED_IMAGE_DEFAULT=f,p.PRESENTED_IMAGE_SIMPLE=d;var v=p},38939:function(e,t,n){n.d(t,{Z:function(){return eD}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(74902),u=n(1413),c=n(97685),s=n(45987),f=n(71002),d=n(21770),p=n(80334),v=n(67294),m=n(8410),h=n(31131),g=n(15105),b=n(42550),E=v.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);return v.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(64217),y=n(34243),C=function(e){var t,n=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,l=e.onClick,u=e.children;return t="function"==typeof o?o(r):o,v.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==t?t:v.createElement("span",{className:i()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},u))},S=v.forwardRef(function(e,t){var n,o,r=e.prefixCls,a=e.id,l=e.inputElement,c=e.disabled,s=e.tabIndex,f=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,E=e.maxLength,w=e.onKeyDown,Z=e.onMouseDown,y=e.onChange,C=e.onPaste,S=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,I=e.attrs,N=l||v.createElement("input",null),R=N,D=R.ref,T=R.props,O=T.onKeyDown,P=T.onChange,k=T.onMouseDown,L=T.onCompositionStart,V=T.onCompositionEnd,H=T.style;return(0,p.Kp)(!("maxLength"in N.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),N=v.cloneElement(N,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},T),{},{id:a,ref:(0,b.sQ)(t,D),disabled:c,tabIndex:s,autoComplete:d||"off",autoFocus:f,className:i()("".concat(r,"-selection-search-input"),null===(n=N)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},I),{},{value:m?g:"",maxLength:E,readOnly:!m,unselectable:m?null:"on",style:(0,u.Z)((0,u.Z)({},H),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),O&&O(e)},onMouseDown:function(e){Z(e),k&&k(e)},onChange:function(e){y(e),P&&P(e)},onCompositionStart:function(e){S(e),L&&L(e)},onCompositionEnd:function(e){x(e),V&&V(e)},onPaste:C}))});function x(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}S.displayName="Input";var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function I(e){return["string","number"].includes((0,f.Z)(e))}function N(e){var t=void 0;return e&&(I(e.title)?t=e.title.toString():I(e.label)&&(t=e.label.toString())),t}function R(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},T=function(e){var t,n,r=e.id,a=e.prefixCls,l=e.values,u=e.open,s=e.searchValue,f=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,E=e.autoComplete,w=e.activeDescendantId,x=e.tabIndex,I=e.removeIcon,T=e.maxTagCount,O=e.maxTagTextLength,P=e.maxTagPlaceholder,k=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,L=e.tagRender,V=e.onToggleOpen,H=e.onRemove,_=e.onInputChange,A=e.onInputPaste,F=e.onInputKeyDown,z=e.onInputMouseDown,K=e.onInputCompositionStart,j=e.onInputCompositionEnd,W=v.useRef(null),U=(0,v.useState)(0),Y=(0,c.Z)(U,2),B=Y[0],G=Y[1],X=(0,v.useState)(!1),q=(0,c.Z)(X,2),Q=q[0],J=q[1],$="".concat(a,"-selection"),ee=u||"multiple"===h&&!1===f||"tags"===h?s:"";function et(e,t,n,r,a){return v.createElement("span",{className:i()("".concat($,"-item"),(0,o.Z)({},"".concat($,"-item-disabled"),n)),title:N(e)},v.createElement("span",{className:"".concat($,"-item-content")},t),r&&v.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:D,onClick:a,customizeIcon:I},"\xd7"))}t=function(){G(W.current.scrollWidth)},n=[ee],M?v.useLayoutEffect(t,n):v.useEffect(t,n);var en=v.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},v.createElement(S,{ref:d,open:u,prefixCls:a,id:r,inputElement:null,disabled:m,autoFocus:b,autoComplete:E,editable:"tags"===h||"multiple"===h&&!1===f||g&&(u||Q),activeDescendantId:w,value:ee,onKeyDown:F,onMouseDown:z,onChange:_,onPaste:A,onCompositionStart:K,onCompositionEnd:j,tabIndex:x,attrs:(0,Z.Z)(e,!0)}),v.createElement("span",{ref:W,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),eo=v.createElement(y.Z,{prefixCls:"".concat($,"-overflow"),data:l,renderItem:function(e){var t,n=e.disabled,o=e.label,r=e.value,a=!m&&!n,i=o;if("number"==typeof O&&("string"==typeof o||"number"==typeof o)){var l=String(i);l.length>O&&(i="".concat(l.slice(0,O),"..."))}var c=function(t){t&&t.stopPropagation(),H(e)};return"function"==typeof L?(t=i,v.createElement("span",{onMouseDown:function(e){D(e),V(!u)}},L({label:t,value:r,disabled:n,closable:a,onClose:c}))):et(e,i,n,a,c)},renderRest:function(e){var t="function"==typeof k?k(e):k;return et({title:t},t,!1)},suffix:en,itemKey:R,maxCount:T});return v.createElement(v.Fragment,null,eo,!l.length&&!ee&&v.createElement("span",{className:"".concat($,"-placeholder")},p))},O=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,C=e.onInputChange,x=e.onInputPaste,M=e.onInputCompositionStart,I=e.onInputCompositionEnd,R=v.useState(!1),D=(0,c.Z)(R,2),T=D[0],O=D[1],P="combobox"===s,k=d[0],L=g||"";P&&b&&!T&&(L=b),v.useEffect(function(){P&&O(!1)},[P,b]);var V=("combobox"===s||!!f||!!h)&&!!L,H=N(k);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(S,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:l,editable:P||h,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:y,onChange:function(e){O(!0),C(e)},onPaste:x,onCompositionStart:M,onCompositionEnd:I,tabIndex:m,attrs:(0,Z.Z)(e,!0),maxLength:P?E:void 0})),!P&&k&&!V&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:H},k.label),k?null:v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},p))},P=v.forwardRef(function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.autoClearSearchValue,d=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;v.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var E=w(0),Z=(0,c.Z)(E,2),y=Z[0],C=Z[1],S=(0,v.useRef)(null),x=function(e){!1!==d(e,!0,o.current)&&m(!0)},M={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===g.Z.UP||t===g.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==p||p(e.target.value),[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(t)||m(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,x(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");S.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&x(e.target.value)}},I="multiple"===l||"tags"===l?v.createElement(T,(0,r.Z)({},e,M)):v.createElement(O,(0,r.Z)({},e,M));return v.createElement("div",{ref:b,className:"".concat(a,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=y();e.target===n.current||t||"combobox"===l||e.preventDefault(),("combobox"===l||u&&t)&&i||(i&&!1!==f&&d("",!0,!1),m())}},I)});P.displayName="Selector";var k=n(81263),L=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},H=v.forwardRef(function(e,t){var n=e.prefixCls,a=(e.disabled,e.visible),l=e.children,c=e.popupElement,f=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=e.placement,E=e.dropdownMatchSelectWidth,w=e.dropdownRender,Z=e.dropdownAlign,y=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,M=e.onPopupMouseEnter,I=(0,s.Z)(e,L),N="".concat(n,"-dropdown"),R=c;w&&(R=w(c));var D=v.useMemo(function(){return V(E)},[E]),T=d?"".concat(N,"-").concat(d):p,O=v.useRef(null);v.useImperativeHandle(t,function(){return{getPopupElement:function(){return O.current}}});var P=(0,u.Z)({minWidth:f},m);return"number"==typeof E?P.width=E:E&&(P.width=f),v.createElement(k.Z,(0,r.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:b||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:N,popupTransitionName:T,popup:v.createElement("div",{ref:O,onMouseEnter:M},R),popupAlign:Z,popupVisible:a,getPopupContainer:y,popupClassName:i()(h,(0,o.Z)({},"".concat(N,"-empty"),C)),popupStyle:P,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)});H.displayName="SelectTrigger";var _=n(84506);function A(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function z(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var K=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],j=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function W(e){return"tags"===e||"multiple"===e}var U=v.forwardRef(function(e,t){var n,a,p,Z,y,S,x,M,I=e.id,N=e.prefixCls,R=e.className,D=e.showSearch,T=e.tagRender,O=e.direction,k=e.omitDomProps,L=e.displayValues,V=e.onDisplayValuesChange,A=e.emptyOptions,F=e.notFoundContent,z=void 0===F?"Not Found":F,U=e.onClear,Y=e.mode,B=e.disabled,G=e.loading,X=e.getInputElement,q=e.getRawInputElement,Q=e.open,J=e.defaultOpen,$=e.onDropdownVisibleChange,ee=e.activeValue,et=e.onActiveValueChange,en=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ea=e.onSearch,ei=e.onSearchSplit,el=e.tokenSeparators,eu=e.allowClear,ec=e.showArrow,es=e.inputIcon,ef=e.clearIcon,ed=e.OptionList,ep=e.animation,ev=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eE=e.dropdownAlign,ew=e.placement,eZ=e.getPopupContainer,ey=e.showAction,eC=void 0===ey?[]:ey,eS=e.onFocus,ex=e.onBlur,eM=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eR=(0,s.Z)(e,K),eD=W(Y),eT=(void 0!==D?D:eD)||"combobox"===Y,eO=(0,u.Z)({},eR);j.forEach(function(e){delete eO[e]}),null==k||k.forEach(function(e){delete eO[e]});var eP=v.useState(!1),ek=(0,c.Z)(eP,2),eL=ek[0],eV=ek[1];v.useEffect(function(){eV((0,h.Z)())},[]);var eH=v.useRef(null),e_=v.useRef(null),eA=v.useRef(null),eF=v.useRef(null),ez=v.useRef(null),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=v.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],a=v.useRef(null),i=function(){window.clearTimeout(a.current)};return v.useEffect(function(){return i},[]),[o,function(t,n){i(),a.current=window.setTimeout(function(){r(t),n&&n()},e)},i]}(),ej=(0,c.Z)(eK,3),eW=ej[0],eU=ej[1],eY=ej[2];v.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)}}});var eB=v.useMemo(function(){if("combobox"!==Y)return eo;var e,t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[eo,Y,L]),eG="combobox"===Y&&"function"==typeof X&&X()||null,eX="function"==typeof q&&q(),eq=(0,b.x1)(e_,null==eX?void 0:null===(p=eX.props)||void 0===p?void 0:p.ref),eQ=(0,d.Z)(void 0,{defaultValue:J,value:Q}),eJ=(0,c.Z)(eQ,2),e$=eJ[0],e0=eJ[1],e1=e$,e2=!z&&A;(B||e2&&e1&&"combobox"===Y)&&(e1=!1);var e4=!e2&&e1,e3=v.useCallback(function(e){var t=void 0!==e?e:!e1;B||(e0(t),e1!==t&&(null==$||$(t)))},[B,e1,e0,$]),e5=v.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),e7=function(e,t,n){var o=!0,r=e;null==et||et(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,o=function e(t,o){var r=(0,_.Z)(o),a=r[0],i=r.slice(1);if(!a)return[t];var u=t.split(a);return n=n||u.length>1,u.reduce(function(t,n){return[].concat((0,l.Z)(t),(0,l.Z)(e(n,i)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,el);return"combobox"!==Y&&a&&(r="",null==ei||ei(a),e3(!1),o=!1),ea&&eB!==r&&ea(r,{source:t?"typing":"effect"}),o};v.useEffect(function(){e1||eD||"combobox"===Y||e7("",!1,!1)},[e1]),v.useEffect(function(){e$&&B&&e0(!1),B&&eU(!1)},[B]);var e6=w(),e9=(0,c.Z)(e6,2),e8=e9[0],te=e9[1],tt=v.useRef(!1),tn=[];v.useEffect(function(){return function(){tn.forEach(function(e){return clearTimeout(e)}),tn.splice(0,tn.length)}},[]);var to=v.useState(null),tr=(0,c.Z)(to,2),ta=tr[0],ti=tr[1],tl=v.useState({}),tu=(0,c.Z)(tl,2)[1];(0,m.Z)(function(){if(e4){var e,t=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.offsetWidth);ta===t||Number.isNaN(t)||ti(t)}},[e4]),eX&&(y=function(e){e3(e)}),n=function(){var e;return[eH.current,null===(e=eA.current)||void 0===e?void 0:e.getPopupElement()]},(a=v.useRef(null)).current={open:e4,triggerOpen:e3,customizedTrigger:!!eX},v.useEffect(function(){function e(e){if(null===(t=a.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),a.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tc=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:z,open:e1,triggerOpen:e4,id:I,showSearch:eT,multiple:eD,toggleOpen:e3})},[e,z,e4,e1,I,eT,eD,e3]),ts=void 0!==ec?ec:G||!eD&&"combobox"!==Y;ts&&(S=v.createElement(C,{className:i()("".concat(N,"-arrow"),(0,o.Z)({},"".concat(N,"-arrow-loading"),G)),customizeIcon:es,customizeIconProps:{loading:G,searchValue:eB,open:e1,focused:eW,showSearch:eT}})),!B&&eu&&(L.length||eB)&&!("combobox"===Y&&""===eB)&&(x=v.createElement(C,{className:"".concat(N,"-clear"),onMouseDown:function(){var e;null==U||U(),null===(e=eF.current)||void 0===e||e.focus(),V([],{type:"clear",values:L}),e7("",!1,!1)},customizeIcon:ef},"\xd7"));var tf=v.createElement(ed,{ref:ez}),td=i()(N,R,(Z={},(0,o.Z)(Z,"".concat(N,"-focused"),eW),(0,o.Z)(Z,"".concat(N,"-multiple"),eD),(0,o.Z)(Z,"".concat(N,"-single"),!eD),(0,o.Z)(Z,"".concat(N,"-allow-clear"),eu),(0,o.Z)(Z,"".concat(N,"-show-arrow"),ts),(0,o.Z)(Z,"".concat(N,"-disabled"),B),(0,o.Z)(Z,"".concat(N,"-loading"),G),(0,o.Z)(Z,"".concat(N,"-open"),e1),(0,o.Z)(Z,"".concat(N,"-customize-input"),eG),(0,o.Z)(Z,"".concat(N,"-show-search"),eT),Z)),tp=v.createElement(H,{ref:eA,disabled:B,prefixCls:N,visible:e4,popupElement:tf,containerWidth:ta,animation:ep,transitionName:ev,dropdownStyle:em,dropdownClassName:eh,direction:O,dropdownMatchSelectWidth:eg,dropdownRender:eb,dropdownAlign:eE,placement:ew,getPopupContainer:eZ,empty:A,getTriggerDOMNode:function(){return e_.current},onPopupVisibleChange:y,onPopupMouseEnter:function(){tu({})}},eX?v.cloneElement(eX,{ref:eq}):v.createElement(P,(0,r.Z)({},e,{domRef:e_,prefixCls:N,inputElement:eG,ref:eF,id:I,showSearch:eT,autoClearSearchValue:er,mode:Y,activeDescendantId:en,tagRender:T,values:L,open:e1,onToggleOpen:e3,activeValue:ee,searchValue:eB,onSearch:e7,onSearchSubmit:function(e){e&&e.trim()&&ea(e,{source:"submit"})},onRemove:function(e){V(L.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:e5})));return M=eX?tp:v.createElement("div",(0,r.Z)({className:td},eO,{ref:eH,onMouseDown:function(e){var t,n=e.target,o=null===(t=eA.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tn.indexOf(r);-1!==t&&tn.splice(t,1),eY(),eL||o.contains(document.activeElement)||null===(e=eF.current)||void 0===e||e.focus()});tn.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&V(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=Array(c>1?c-1:0),f=1;f1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];j(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){x(null,-1,n);return}x(o.value,e,n)};(0,v.useEffect)(function(){W(!1!==M?A(0):-1)},[L.length,m]);var U=v.useCallback(function(e){return R.has(e)&&"combobox"!==p},[p,(0,l.Z)(R).toString(),R.size]);(0,v.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&f&&1===R.size){var e=Array.from(R)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(W(t),_(t))}});return f&&(null===(e=V.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,m]);var Y=function(e){void 0!==e&&I(e,{selected:!R.has(e)}),d||h(!1)};if(v.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var o=0;if(t===g.Z.UP?o=-1:t===g.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===g.Z.N?o=1:t===g.Z.P&&(o=-1)),0!==o){var r=A(K+o,o);_(r),W(r,!0)}break;case g.Z.ENTER:var a=L[K];a&&!a.data.disabled?Y(a.value):Y(void 0),f&&e.preventDefault();break;case g.Z.ESC:h(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){_(e)}}}),0===L.length)return v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:H},b);var B=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label},X=function(e){var t=L[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,Z.Z)(n,!0),l=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(K-1),X(K),X(K+1)),v.createElement(ea.Z,{itemKey:"key",ref:V,data:L,height:O,itemHeight:P,fullHeight:!1,onMouseDown:H,onScroll:w,virtual:T},function(e,t){var n=e.group,a=e.groupOption,l=e.data,u=e.label,c=e.value,f=l.key;if(n){var d,p,m=null!==(p=l.title)&&void 0!==p?p:eu(u)?u.toString():void 0;return v.createElement("div",{className:i()(k,"".concat(k,"-group")),title:m},void 0!==u?u:f)}var h=l.disabled,g=l.title,b=(l.children,l.style),E=l.className,w=(0,s.Z)(l,el),y=(0,eo.Z)(w,B),S=U(c),x="".concat(k,"-option"),M=i()(k,x,E,(d={},(0,o.Z)(d,"".concat(x,"-grouped"),a),(0,o.Z)(d,"".concat(x,"-active"),K===t&&!h),(0,o.Z)(d,"".concat(x,"-disabled"),h),(0,o.Z)(d,"".concat(x,"-selected"),S),d)),I=G(e),R="number"==typeof I?I:I||c,D=eu(R)?R.toString():void 0;return void 0!==g&&(D=g),v.createElement("div",(0,r.Z)({},(0,Z.Z)(y),{"aria-selected":S,className:M,title:D,onMouseMove:function(){K===t||h||W(t)},onClick:function(){h||Y(c)},style:b}),v.createElement("div",{className:"".concat(x,"-content")},R),v.isValidElement(N)||S,(!N||"function"==typeof N||S)&&v.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:N,customizeIconProps:{isSelected:S}},S?"✓":null))}))});ec.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],ed=v.forwardRef(function(e,t){var n,a,i,p,m,h=e.id,g=e.mode,b=e.prefixCls,E=e.backfill,w=e.fieldNames,Z=e.inputValue,y=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,M=void 0===S||S,I=e.onSelect,N=e.onDeselect,R=e.dropdownMatchSelectWidth,D=void 0===R||R,T=e.filterOption,O=e.filterSort,P=e.optionFilterProp,k=e.optionLabelProp,L=e.options,V=e.children,H=e.defaultActiveFirstOption,_=e.menuItemSelectedIcon,K=e.virtual,j=e.listHeight,G=void 0===j?200:j,et=e.listItemHeight,en=void 0===et?20:et,eo=e.value,er=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,s.Z)(e,es),ed=(n=v.useState(),i=(a=(0,c.Z)(n,2))[0],p=a[1],v.useEffect(function(){var e;p("rc_select_".concat((q?(e=X,X+=1):e="TEST_OR_SSR",e)))},[]),h||i),ep=W(g),ev=!!(!L&&V),em=v.useMemo(function(){return(void 0!==T||"combobox"!==g)&&T},[T,g]),eh=v.useMemo(function(){return F(w,ev)},[JSON.stringify(w),ev]),eg=(0,d.Z)("",{value:void 0!==y?y:Z,postState:function(e){return e||""}}),eb=(0,c.Z)(eg,2),eE=eb[0],ew=eb[1],eZ=v.useMemo(function(){var e=L;L||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(t).map(function(t,o){if(!v.isValidElement(t)||!t.type)return null;var r,a,i,l,c,f=t.type.isSelectOptGroup,d=t.key,p=t.props,m=p.children,h=(0,s.Z)(p,$);return n||!f?(r=t.key,i=(a=t.props).children,l=a.value,c=(0,s.Z)(a,J),(0,u.Z)({key:r,value:void 0!==l?l:r,children:i},c)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},h),{},{options:e(m)})}).filter(function(e){return e})}(V));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=F(n,!1),i=a.label,l=a.value,u=a.options;return!function e(t,n){t.forEach(function(t){var a=t[i];if(!n&&u in t){var c=a;void 0===c&&o&&(c=t.label),r.push({key:A(t,r.length),group:!0,data:t,label:c}),e(t[u],!0)}else{var s=t[l];r.push({key:A(t,r.length),groupOption:n,data:t,label:a,value:s})}})}(e,!1),r}(eA,{fieldNames:eh,childrenAsData:ev})},[eA,eh,ev]),ez=function(e){var t=ex(e);if(eR(t),el&&(t.length!==eO.length||t.some(function(e,t){var n;return(null===(n=eO[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return z(eP(e.value))});el(ep?n:n[0],ep?o:o[0])}},eK=v.useState(null),ej=(0,c.Z)(eK,2),eW=ej[0],eU=ej[1],eY=v.useState(0),eB=(0,c.Z)(eY,2),eG=eB[0],eX=eB[1],eq=void 0!==H?H:"combobox"!==g,eQ=v.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eX(t),E&&"combobox"===g&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[E,g]),eJ=function(e,t,n){var o=function(){var t,n=eP(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,z(n)]};if(t&&I){var r=o(),a=(0,c.Z)(r,2);I(a[0],a[1])}else if(!t&&N&&"clear"!==n){var i=o(),l=(0,c.Z)(i,2);N(l[0],l[1])}},e$=ee(function(e,t){var n=!ep||t.selected;ez(n?ep?[].concat((0,l.Z)(eO),[e]):[e]:eO.filter(function(t){return t.value!==e})),eJ(e,n),"combobox"===g?eU(""):(!W||M)&&(ew(""),eU(""))}),e0=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},eZ),{},{flattenOptions:eF,onActiveValue:eQ,defaultActiveFirstOption:eq,onSelect:e$,menuItemSelectedIcon:_,rawValues:eL,fieldNames:eh,virtual:!1!==K&&!1!==D,listHeight:G,listItemHeight:en,childrenAsData:ev})},[eZ,eF,eQ,eq,e$,_,eL,eh,K,D,G,en,ev]);return v.createElement(ei.Provider,{value:e0},v.createElement(U,(0,r.Z)({},eu,{id:ed,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ef,mode:g,displayValues:ek,onDisplayValuesChange:function(e,t){ez(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eJ(e.value,!1,n)})},searchValue:eE,onSearch:function(e,t){if(ew(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,l.Z)(eL),[n])))),eJ(n,!0),ew(""));return}"blur"!==t.source&&("combobox"===g&&ez(e),null==C||C(e))},autoClearSearchValue:M,onSearchSplit:function(e){var t=e;"tags"!==g&&(t=e.map(function(e){var t=eC.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,l.Z)(eL),(0,l.Z)(t))));ez(n),n.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:D,OptionList:ec,emptyOptions:!eF.length,activeValue:eW,activeDescendantId:"".concat(ed,"_list_").concat(eG)})))});ed.Option=en,ed.OptGroup=et;var ep=n(53124),ev=n(88258),em=n(98866),eh=n(97647),eg=n(65223),eb=n(33603),eE=n(9708),ew=n(63606),eZ=n(4340),ey=n(97937),eC=n(80882),eS=n(50888),ex=n(68795),eM=n(4173),eI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eN="SECRET_COMBOBOX_MODE_DO_NOT_USE",eR=v.forwardRef(function(e,t){var n,a,l=e.prefixCls,u=e.bordered,c=e.className,s=e.getPopupContainer,f=e.dropdownClassName,d=e.popupClassName,p=e.listHeight,m=e.placement,h=e.listItemHeight,g=e.size,b=e.disabled,E=e.notFoundContent,w=e.status,Z=e.showArrow,y=eI(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),C=v.useContext(ep.E_),S=C.getPopupContainer,x=C.getPrefixCls,M=C.renderEmpty,I=C.direction,N=C.virtual,R=C.dropdownMatchSelectWidth,D=v.useContext(eh.Z),T=x("select",l),O=x(),P=(0,eM.ri)(T,I),k=P.compactSize,L=P.compactItemClassnames,V=v.useMemo(function(){var e=y.mode;return"combobox"===e?void 0:e===eN?"combobox":e},[y.mode]),H="multiple"===V||"tags"===V,_=void 0!==Z?Z:y.loading||!(H||"combobox"===V),A=(0,v.useContext)(eg.aM),F=A.status,z=A.hasFeedback,K=A.isFormItemInput,j=A.feedbackIcon,W=(0,eE.F)(F,w);a=void 0!==E?E:"combobox"===V?null:(M||ev.Z)("Select");var U=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,r=e.removeIcon,a=e.loading,i=e.multiple,l=e.hasFeedback,u=e.prefixCls,c=e.showArrow,s=e.feedbackIcon,f=null!=n?n:v.createElement(eZ.Z,null),d=function(e){return v.createElement(v.Fragment,null,!1!==c&&e,l&&s)},p=null;if(void 0!==t)p=d(t);else if(a)p=d(v.createElement(eS.Z,{spin:!0}));else{var m="".concat(u,"-suffix");p=function(e){var t=e.open,n=e.showSearch;return t&&n?d(v.createElement(ex.Z,{className:m})):d(v.createElement(eC.Z,{className:m}))}}var h=null;return h=void 0!==o?o:i?v.createElement(ew.Z,null):null,{clearIcon:f,suffixIcon:p,itemIcon:h,removeIcon:void 0!==r?r:v.createElement(ey.Z,null)}}((0,r.Z)((0,r.Z)({},y),{multiple:H,hasFeedback:z,feedbackIcon:j,showArrow:_,prefixCls:T})),Y=U.suffixIcon,B=U.itemIcon,G=U.removeIcon,X=U.clearIcon,q=(0,eo.Z)(y,["suffixIcon","itemIcon"]),Q=i()(d||f,(0,o.Z)({},"".concat(T,"-dropdown-").concat(I),"rtl"===I)),J=k||g||D,$=v.useContext(em.Z),ee=i()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===J),(0,o.Z)(n,"".concat(T,"-sm"),"small"===J),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===I),(0,o.Z)(n,"".concat(T,"-borderless"),!(void 0===u||u)),(0,o.Z)(n,"".concat(T,"-in-form-item"),K),n),(0,eE.Z)(T,W,z),L,c);return v.createElement(ed,(0,r.Z)({ref:t,virtual:N,dropdownMatchSelectWidth:R},q,{transitionName:(0,eb.mL)(O,(0,eb.q0)(m),y.transitionName),listHeight:void 0===p?256:p,listItemHeight:void 0===h?24:h,mode:V,prefixCls:T,placement:void 0!==m?m:"rtl"===I?"bottomRight":"bottomLeft",direction:I,inputIcon:Y,menuItemSelectedIcon:B,removeIcon:G,clearIcon:X,notFoundContent:a,className:ee,getPopupContainer:s||S,dropdownClassName:Q,showArrow:z||Z,disabled:null!=b?b:$}))});eR.SECRET_COMBOBOX_MODE_DO_NOT_USE=eN,eR.Option=en,eR.OptGroup=et;var eD=eR},73453:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(87462),r=n(4942),a=n(1413),i=n(97685),l=n(45987),u=n(67294),c=n(94184),s=n.n(c),f=n(48555),d=u.forwardRef(function(e,t){var n=e.height,o=e.offset,i=e.children,l=e.prefixCls,c=e.onInnerResize,d={},p={display:"flex",flexDirection:"column"};return void 0!==o&&(d={height:n,position:"relative",overflow:"hidden"},p=(0,a.Z)((0,a.Z)({},p),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),u.createElement("div",{style:d},u.createElement(f.default,{onResize:function(e){e.offsetHeight&&c&&c()}},u.createElement("div",{style:p,className:s()((0,r.Z)({},"".concat(l,"-holder-inner"),l)),ref:t},i)))});d.displayName="Filler";var p=n(15671),v=n(43144),m=n(60136),h=n(33643),g=n(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var E=function(e){(0,m.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;an},e}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),i=this.getTop(),l=this.showScroll();return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:l&&n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(u.Component);function w(e){var t=e.children,n=e.setRef,o=u.useCallback(function(e){n(e)},[]);return u.cloneElement(t,{ref:o})}var Z=n(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,v.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),C=n(71002),S=("undefined"==typeof navigator?"undefined":(0,C.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),x=function(e,t){var n=(0,u.useRef)(!1),o=(0,u.useRef)(null),r=(0,u.useRef)({top:e,bottom:t});return r.current.top=e,r.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&r.current.top||e>0&&r.current.bottom;return t&&a?(clearTimeout(o.current),n.current=!1):(!a||n.current)&&(clearTimeout(o.current),n.current=!0,o.current=setTimeout(function(){n.current=!1},50)),!n.current&&a}},M=n(8410),I=14/15,N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],R=[],D={overflowY:"auto",overflowAnchor:"none"},T=u.forwardRef(function(e,t){var n,c,f,p,v,m,h,b,T,O,P,k,L,V,H,_,A,F,z,K,j,W,U,Y,B,G,X=e.prefixCls,q=void 0===X?"rc-virtual-list":X,Q=e.className,J=e.height,$=e.itemHeight,ee=e.fullHeight,et=e.style,en=e.data,eo=e.children,er=e.itemKey,ea=e.virtual,ei=e.component,el=e.onScroll,eu=e.onVisibleChange,ec=(0,l.Z)(e,N),es=!!(!1!==ea&&J&&$),ef=es&&en&&$*en.length>J,ed=(0,u.useState)(0),ep=(0,i.Z)(ed,2),ev=ep[0],em=ep[1],eh=(0,u.useState)(!1),eg=(0,i.Z)(eh,2),eb=eg[0],eE=eg[1],ew=s()(q,Q),eZ=en||R,ey=(0,u.useRef)(),eC=(0,u.useRef)(),eS=(0,u.useRef)(),ex=u.useCallback(function(e){return"function"==typeof er?er(e):null==e?void 0:e[er]},[er]);function eM(e){em(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(ej.current)||(n=Math.min(n,ej.current)),n=Math.max(n,0));return ey.current.scrollTop=o,o})}var eI=(0,u.useRef)({start:0,end:eZ.length}),eN=(0,u.useRef)(),eR=(c=u.useState(eZ),p=(f=(0,i.Z)(c,2))[0],v=f[1],m=u.useState(null),b=(h=(0,i.Z)(m,2))[0],T=h[1],u.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=ev&&void 0===t&&(t=i,n=r),c>ev+J&&void 0===o&&(o=i),r=c}return void 0===t&&(t=0,n=0,o=Math.ceil(J/$)),void 0===o&&(o=eZ.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,eZ.length),offset:n}},[ef,es,ev,eZ,eV,J]),e_=eH.scrollHeight,eA=eH.start,eF=eH.end,ez=eH.offset;eI.current.start=eA,eI.current.end=eF;var eK=e_-J,ej=(0,u.useRef)(eK);ej.current=eK;var eW=ev<=0,eU=ev>=eK,eY=x(eW,eU),eB=(O=function(e){eM(function(t){return t+e})},P=(0,u.useRef)(0),k=(0,u.useRef)(null),L=(0,u.useRef)(null),V=(0,u.useRef)(!1),H=x(eW,eU),[function(e){if(es){g.Z.cancel(k.current);var t=e.deltaY;P.current+=t,L.current=t,H(t)||(S||e.preventDefault(),k.current=(0,g.Z)(function(){var e=V.current?10:1;O(P.current*e),P.current=0}))}},function(e){es&&(V.current=e.detail===L.current)}]),eG=(0,i.Z)(eB,2),eX=eG[0],eq=eG[1];_=function(e,t){return!eY(e,t)&&(eX({preventDefault:function(){},deltaY:e}),!0)},F=(0,u.useRef)(!1),z=(0,u.useRef)(0),K=(0,u.useRef)(null),j=(0,u.useRef)(null),W=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),n=z.current-t;z.current=t,_(n)&&e.preventDefault(),clearInterval(j.current),j.current=setInterval(function(){(!_(n*=I,!0)||.1>=Math.abs(n))&&clearInterval(j.current)},16)}},U=function(){F.current=!1,A()},Y=function(e){A(),1!==e.touches.length||F.current||(F.current=!0,z.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",W),K.current.addEventListener("touchend",U))},A=function(){K.current&&(K.current.removeEventListener("touchmove",W),K.current.removeEventListener("touchend",U))},(0,M.Z)(function(){return es&&ey.current.addEventListener("touchstart",Y),function(){var e;null===(e=ey.current)||void 0===e||e.removeEventListener("touchstart",Y),A(),clearInterval(j.current)}},[es]),(0,M.Z)(function(){function e(e){es&&e.preventDefault()}return ey.current.addEventListener("wheel",eX),ey.current.addEventListener("DOMMouseScroll",eq),ey.current.addEventListener("MozMousePixelScroll",e),function(){ey.current&&(ey.current.removeEventListener("wheel",eX),ey.current.removeEventListener("DOMMouseScroll",eq),ey.current.removeEventListener("MozMousePixelScroll",e))}},[es]);var eQ=(B=function(){var e;null===(e=eS.current)||void 0===e||e.delayHidden()},G=u.useRef(),function(e){if(null==e){B();return}if(g.Z.cancel(G.current),"number"==typeof e)eM(e);else if(e&&"object"===(0,C.Z)(e)){var t,n=e.align;t="index"in e?e.index:eZ.findIndex(function(t){return ex(t)===e.key});var o=e.offset,r=void 0===o?0:o;!function e(o,a){if(!(o<0)&&ey.current){var i=ey.current.clientHeight,l=!1,u=a;if(i){for(var c=0,s=0,f=0,d=Math.min(eZ.length,t),p=0;p<=d;p+=1){var v=ex(eZ[p]);s=c;var m=eL.get(v);c=f=s+(void 0===m?$:m),p===t&&void 0===m&&(l=!0)}var h=null;switch(a||n){case"top":h=s-r;break;case"bottom":h=f-i+r;break;default:var b=ey.current.scrollTop;sb+i&&(u="bottom")}null!==h&&h!==ey.current.scrollTop&&eM(h)}G.current=(0,g.Z)(function(){l&&ek(),e(o-1,u)})}}(3)}});u.useImperativeHandle(t,function(){return{scrollTo:eQ}}),(0,M.Z)(function(){eu&&eu(eZ.slice(eA,eF+1),eZ)},[eA,eF,eZ]);var eJ=eZ.slice(eA,eF+1).map(function(e,t){var n=eo(e,eA+t,{}),o=ex(e);return u.createElement(w,{key:o,setRef:function(t){return eP(e,t)}},n)}),e$=null;return J&&(e$=(0,a.Z)((0,r.Z)({},void 0===ee||ee?"height":"maxHeight",J),D),es&&(e$.overflowY="hidden",eb&&(e$.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},et),{},{position:"relative"}),className:ew},ec),u.createElement(void 0===ei?"div":ei,{className:"".concat(q,"-holder"),style:e$,ref:ey,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&eM(t),null==el||el(e)}},u.createElement(d,{prefixCls:q,height:e_,offset:ez,onInnerResize:ek,ref:eC},eJ)),es&&u.createElement(E,{ref:eS,prefixCls:q,scrollTop:ev,height:J,scrollHeight:e_,count:eZ.length,onScroll:function(e){eM(e)},onStartMove:function(){eE(!0)},onStopMove:function(){eE(!1)}}))});T.displayName="List";var O=T}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8909],{24308:function(e,t,n){n.d(t,{c4:function(){return a}});var o=n(4942),r=n(87462),a=["xxl","xl","lg","md","sm","xs"],i={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,u=-1,c={};t.ZP={matchHandlers:{},dispatch:function(e){return c=e,l.forEach(function(e){return e(c)}),l.size>=1},subscribe:function(e){return l.size||this.register(),u+=1,l.set(u,e),e(c),u},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],o=e.matchHandlers[n];null==o||o.mql.removeListener(null==o?void 0:o.listener)}),l.clear()},register:function(){var e=this;Object.keys(i).forEach(function(t){var n=i[t],a=function(n){var a=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},c),(0,o.Z)({},t,a)))},l=window.matchMedia(n);l.addListener(a),e.matchHandlers[n]={mql:l,listener:a},a(l)})}}},88258:function(e,t,n){var o=n(67294),r=n(53124),a=n(62986);t.Z=function(e){return o.createElement(r.C,null,function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(a.Z,null)}})}},62986:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=n(23715),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},f=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),d=l.createElement(function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},null),p=function(e){var t=e.className,n=e.prefixCls,a=e.image,p=void 0===a?f:a,v=e.description,m=e.children,h=e.imageStyle,g=s(e,["className","prefixCls","image","description","children","imageStyle"]),b=l.useContext(u.E_),E=b.getPrefixCls,w=b.direction;return l.createElement(c.Z,{componentName:"Empty"},function(e){var a,u=E("empty",n),c=void 0!==v?v:e.description,s=null;return s="string"==typeof p?l.createElement("img",{alt:"string"==typeof c?c:"empty",src:p}):p,l.createElement("div",(0,r.Z)({className:i()(u,(a={},(0,o.Z)(a,"".concat(u,"-normal"),p===d),(0,o.Z)(a,"".concat(u,"-rtl"),"rtl"===w),a),t)},g),l.createElement("div",{className:"".concat(u,"-image"),style:h},s),c&&l.createElement("div",{className:"".concat(u,"-description")},c),m&&l.createElement("div",{className:"".concat(u,"-footer")},m))})};p.PRESENTED_IMAGE_DEFAULT=f,p.PRESENTED_IMAGE_SIMPLE=d;var v=p},38939:function(e,t,n){n.d(t,{Z:function(){return eD}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),l=n(74902),u=n(1413),c=n(97685),s=n(45987),f=n(71002),d=n(21770),p=n(80334),v=n(67294),m=n(8410),h=n(31131),g=n(15105),b=n(42550),E=v.createContext(null);function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);return v.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var Z=n(64217),y=n(34243),C=function(e){var t,n=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,l=e.onClick,u=e.children;return t="function"==typeof o?o(r):o,v.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==t?t:v.createElement("span",{className:i()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},u))},S=v.forwardRef(function(e,t){var n,o,r=e.prefixCls,a=e.id,l=e.inputElement,c=e.disabled,s=e.tabIndex,f=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,g=e.value,E=e.maxLength,w=e.onKeyDown,Z=e.onMouseDown,y=e.onChange,C=e.onPaste,S=e.onCompositionStart,x=e.onCompositionEnd,M=e.open,I=e.attrs,N=l||v.createElement("input",null),R=N,D=R.ref,T=R.props,O=T.onKeyDown,P=T.onChange,k=T.onMouseDown,L=T.onCompositionStart,V=T.onCompositionEnd,H=T.style;return(0,p.Kp)(!("maxLength"in N.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),N=v.cloneElement(N,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},T),{},{id:a,ref:(0,b.sQ)(t,D),disabled:c,tabIndex:s,autoComplete:d||"off",autoFocus:f,className:i()("".concat(r,"-selection-search-input"),null===(n=N)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},I),{},{value:m?g:"",maxLength:E,readOnly:!m,unselectable:m?null:"on",style:(0,u.Z)((0,u.Z)({},H),{},{opacity:m?null:0}),onKeyDown:function(e){w(e),O&&O(e)},onMouseDown:function(e){Z(e),k&&k(e)},onChange:function(e){y(e),P&&P(e)},onCompositionStart:function(e){S(e),L&&L(e)},onCompositionEnd:function(e){x(e),V&&V(e)},onPaste:C}))});function x(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}S.displayName="Input";var M="undefined"!=typeof window&&window.document&&window.document.documentElement;function I(e){return["string","number"].includes((0,f.Z)(e))}function N(e){var t=void 0;return e&&(I(e.title)?t=e.title.toString():I(e.label)&&(t=e.label.toString())),t}function R(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var D=function(e){e.preventDefault(),e.stopPropagation()},T=function(e){var t,n,r=e.id,a=e.prefixCls,l=e.values,u=e.open,s=e.searchValue,f=e.autoClearSearchValue,d=e.inputRef,p=e.placeholder,m=e.disabled,h=e.mode,g=e.showSearch,b=e.autoFocus,E=e.autoComplete,w=e.activeDescendantId,x=e.tabIndex,I=e.removeIcon,T=e.maxTagCount,O=e.maxTagTextLength,P=e.maxTagPlaceholder,k=void 0===P?function(e){return"+ ".concat(e.length," ...")}:P,L=e.tagRender,V=e.onToggleOpen,H=e.onRemove,_=e.onInputChange,A=e.onInputPaste,F=e.onInputKeyDown,z=e.onInputMouseDown,K=e.onInputCompositionStart,j=e.onInputCompositionEnd,W=v.useRef(null),U=(0,v.useState)(0),Y=(0,c.Z)(U,2),B=Y[0],G=Y[1],X=(0,v.useState)(!1),q=(0,c.Z)(X,2),Q=q[0],J=q[1],$="".concat(a,"-selection"),ee=u||"multiple"===h&&!1===f||"tags"===h?s:"";function et(e,t,n,r,a){return v.createElement("span",{className:i()("".concat($,"-item"),(0,o.Z)({},"".concat($,"-item-disabled"),n)),title:N(e)},v.createElement("span",{className:"".concat($,"-item-content")},t),r&&v.createElement(C,{className:"".concat($,"-item-remove"),onMouseDown:D,onClick:a,customizeIcon:I},"\xd7"))}t=function(){G(W.current.scrollWidth)},n=[ee],M?v.useLayoutEffect(t,n):v.useEffect(t,n);var en=v.createElement("div",{className:"".concat($,"-search"),style:{width:B},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},v.createElement(S,{ref:d,open:u,prefixCls:a,id:r,inputElement:null,disabled:m,autoFocus:b,autoComplete:E,editable:"tags"===h||"multiple"===h&&!1===f||g&&(u||Q),activeDescendantId:w,value:ee,onKeyDown:F,onMouseDown:z,onChange:_,onPaste:A,onCompositionStart:K,onCompositionEnd:j,tabIndex:x,attrs:(0,Z.Z)(e,!0)}),v.createElement("span",{ref:W,className:"".concat($,"-search-mirror"),"aria-hidden":!0},ee,"\xa0")),eo=v.createElement(y.Z,{prefixCls:"".concat($,"-overflow"),data:l,renderItem:function(e){var t,n=e.disabled,o=e.label,r=e.value,a=!m&&!n,i=o;if("number"==typeof O&&("string"==typeof o||"number"==typeof o)){var l=String(i);l.length>O&&(i="".concat(l.slice(0,O),"..."))}var c=function(t){t&&t.stopPropagation(),H(e)};return"function"==typeof L?(t=i,v.createElement("span",{onMouseDown:function(e){D(e),V(!u)}},L({label:t,value:r,disabled:n,closable:a,onClose:c}))):et(e,i,n,a,c)},renderRest:function(e){var t="function"==typeof k?k(e):k;return et({title:t},t,!1)},suffix:en,itemKey:R,maxCount:T});return v.createElement(v.Fragment,null,eo,!l.length&&!ee&&v.createElement("span",{className:"".concat($,"-placeholder")},p))},O=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,w=e.onInputKeyDown,y=e.onInputMouseDown,C=e.onInputChange,x=e.onInputPaste,M=e.onInputCompositionStart,I=e.onInputCompositionEnd,R=v.useState(!1),D=(0,c.Z)(R,2),T=D[0],O=D[1],P="combobox"===s,k=d[0],L=g||"";P&&b&&!T&&(L=b),v.useEffect(function(){P&&O(!1)},[P,b]);var V=("combobox"===s||!!f||!!h)&&!!L,H=N(k);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(S,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:l,editable:P||h,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:y,onChange:function(e){O(!0),C(e)},onPaste:x,onCompositionStart:M,onCompositionEnd:I,tabIndex:m,attrs:(0,Z.Z)(e,!0),maxLength:P?E:void 0})),!P&&k&&!V&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:H},k.label),k?null:v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},p))},P=v.forwardRef(function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.autoClearSearchValue,d=e.onSearch,p=e.onSearchSubmit,m=e.onToggleOpen,h=e.onInputKeyDown,b=e.domRef;v.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var E=w(0),Z=(0,c.Z)(E,2),y=Z[0],C=Z[1],S=(0,v.useRef)(null),x=function(e){!1!==d(e,!0,o.current)&&m(!0)},M={inputRef:n,onInputKeyDown:function(e){var t=e.which;(t===g.Z.UP||t===g.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==g.Z.ENTER||"tags"!==l||o.current||i||null==p||p(e.target.value),[g.Z.ESC,g.Z.SHIFT,g.Z.BACKSPACE,g.Z.TAB,g.Z.WIN_KEY,g.Z.ALT,g.Z.META,g.Z.WIN_KEY_RIGHT,g.Z.CTRL,g.Z.SEMICOLON,g.Z.EQUALS,g.Z.CAPS_LOCK,g.Z.CONTEXT_MENU,g.Z.F1,g.Z.F2,g.Z.F3,g.Z.F4,g.Z.F5,g.Z.F6,g.Z.F7,g.Z.F8,g.Z.F9,g.Z.F10,g.Z.F11,g.Z.F12].includes(t)||m(!0)},onInputMouseDown:function(){C(!0)},onInputChange:function(e){var t=e.target.value;if(s&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,x(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");S.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&x(e.target.value)}},I="multiple"===l||"tags"===l?v.createElement(T,(0,r.Z)({},e,M)):v.createElement(O,(0,r.Z)({},e,M));return v.createElement("div",{ref:b,className:"".concat(a,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},onMouseDown:function(e){var t=y();e.target===n.current||t||"combobox"===l||e.preventDefault(),("combobox"===l||u&&t)&&i||(i&&!1!==f&&d("",!0,!1),m())}},I)});P.displayName="Selector";var k=n(53749),L=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],V=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},H=v.forwardRef(function(e,t){var n=e.prefixCls,a=(e.disabled,e.visible),l=e.children,c=e.popupElement,f=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=e.placement,E=e.dropdownMatchSelectWidth,w=e.dropdownRender,Z=e.dropdownAlign,y=e.getPopupContainer,C=e.empty,S=e.getTriggerDOMNode,x=e.onPopupVisibleChange,M=e.onPopupMouseEnter,I=(0,s.Z)(e,L),N="".concat(n,"-dropdown"),R=c;w&&(R=w(c));var D=v.useMemo(function(){return V(E)},[E]),T=d?"".concat(N,"-").concat(d):p,O=v.useRef(null);v.useImperativeHandle(t,function(){return{getPopupElement:function(){return O.current}}});var P=(0,u.Z)({minWidth:f},m);return"number"==typeof E?P.width=E:E&&(P.width=f),v.createElement(k.Z,(0,r.Z)({},I,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:b||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:D,prefixCls:N,popupTransitionName:T,popup:v.createElement("div",{ref:O,onMouseEnter:M},R),popupAlign:Z,popupVisible:a,getPopupContainer:y,popupClassName:i()(h,(0,o.Z)({},"".concat(N,"-empty"),C)),popupStyle:P,getTriggerDOMNode:S,onPopupVisibleChange:x}),l)});H.displayName="SelectTrigger";var _=n(84506);function A(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function F(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function z(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var K=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],j=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function W(e){return"tags"===e||"multiple"===e}var U=v.forwardRef(function(e,t){var n,a,p,Z,y,S,x,M,I=e.id,N=e.prefixCls,R=e.className,D=e.showSearch,T=e.tagRender,O=e.direction,k=e.omitDomProps,L=e.displayValues,V=e.onDisplayValuesChange,A=e.emptyOptions,F=e.notFoundContent,z=void 0===F?"Not Found":F,U=e.onClear,Y=e.mode,B=e.disabled,G=e.loading,X=e.getInputElement,q=e.getRawInputElement,Q=e.open,J=e.defaultOpen,$=e.onDropdownVisibleChange,ee=e.activeValue,et=e.onActiveValueChange,en=e.activeDescendantId,eo=e.searchValue,er=e.autoClearSearchValue,ea=e.onSearch,ei=e.onSearchSplit,el=e.tokenSeparators,eu=e.allowClear,ec=e.showArrow,es=e.inputIcon,ef=e.clearIcon,ed=e.OptionList,ep=e.animation,ev=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eE=e.dropdownAlign,ew=e.placement,eZ=e.getPopupContainer,ey=e.showAction,eC=void 0===ey?[]:ey,eS=e.onFocus,ex=e.onBlur,eM=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eR=(0,s.Z)(e,K),eD=W(Y),eT=(void 0!==D?D:eD)||"combobox"===Y,eO=(0,u.Z)({},eR);j.forEach(function(e){delete eO[e]}),null==k||k.forEach(function(e){delete eO[e]});var eP=v.useState(!1),ek=(0,c.Z)(eP,2),eL=ek[0],eV=ek[1];v.useEffect(function(){eV((0,h.Z)())},[]);var eH=v.useRef(null),e_=v.useRef(null),eA=v.useRef(null),eF=v.useRef(null),ez=v.useRef(null),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=v.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],a=v.useRef(null),i=function(){window.clearTimeout(a.current)};return v.useEffect(function(){return i},[]),[o,function(t,n){i(),a.current=window.setTimeout(function(){r(t),n&&n()},e)},i]}(),ej=(0,c.Z)(eK,3),eW=ej[0],eU=ej[1],eY=ej[2];v.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)}}});var eB=v.useMemo(function(){if("combobox"!==Y)return eo;var e,t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[eo,Y,L]),eG="combobox"===Y&&"function"==typeof X&&X()||null,eX="function"==typeof q&&q(),eq=(0,b.x1)(e_,null==eX?void 0:null===(p=eX.props)||void 0===p?void 0:p.ref),eQ=(0,d.Z)(void 0,{defaultValue:J,value:Q}),eJ=(0,c.Z)(eQ,2),e$=eJ[0],e0=eJ[1],e1=e$,e2=!z&&A;(B||e2&&e1&&"combobox"===Y)&&(e1=!1);var e4=!e2&&e1,e3=v.useCallback(function(e){var t=void 0!==e?e:!e1;B||(e0(t),e1!==t&&(null==$||$(t)))},[B,e1,e0,$]),e5=v.useMemo(function(){return(el||[]).some(function(e){return["\n","\r\n"].includes(e)})},[el]),e7=function(e,t,n){var o=!0,r=e;null==et||et(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,o=function e(t,o){var r=(0,_.Z)(o),a=r[0],i=r.slice(1);if(!a)return[t];var u=t.split(a);return n=n||u.length>1,u.reduce(function(t,n){return[].concat((0,l.Z)(t),(0,l.Z)(e(n,i)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,el);return"combobox"!==Y&&a&&(r="",null==ei||ei(a),e3(!1),o=!1),ea&&eB!==r&&ea(r,{source:t?"typing":"effect"}),o};v.useEffect(function(){e1||eD||"combobox"===Y||e7("",!1,!1)},[e1]),v.useEffect(function(){e$&&B&&e0(!1),B&&eU(!1)},[B]);var e6=w(),e9=(0,c.Z)(e6,2),e8=e9[0],te=e9[1],tt=v.useRef(!1),tn=[];v.useEffect(function(){return function(){tn.forEach(function(e){return clearTimeout(e)}),tn.splice(0,tn.length)}},[]);var to=v.useState(null),tr=(0,c.Z)(to,2),ta=tr[0],ti=tr[1],tl=v.useState({}),tu=(0,c.Z)(tl,2)[1];(0,m.Z)(function(){if(e4){var e,t=Math.ceil(null===(e=eH.current)||void 0===e?void 0:e.offsetWidth);ta===t||Number.isNaN(t)||ti(t)}},[e4]),eX&&(y=function(e){e3(e)}),n=function(){var e;return[eH.current,null===(e=eA.current)||void 0===e?void 0:e.getPopupElement()]},(a=v.useRef(null)).current={open:e4,triggerOpen:e3,customizedTrigger:!!eX},v.useEffect(function(){function e(e){if(null===(t=a.current)||void 0===t||!t.customizedTrigger){var t,o=e.target;o.shadowRoot&&e.composed&&(o=e.composedPath()[0]||o),a.current.open&&n().filter(function(e){return e}).every(function(e){return!e.contains(o)&&e!==o})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}},[]);var tc=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:z,open:e1,triggerOpen:e4,id:I,showSearch:eT,multiple:eD,toggleOpen:e3})},[e,z,e4,e1,I,eT,eD,e3]),ts=void 0!==ec?ec:G||!eD&&"combobox"!==Y;ts&&(S=v.createElement(C,{className:i()("".concat(N,"-arrow"),(0,o.Z)({},"".concat(N,"-arrow-loading"),G)),customizeIcon:es,customizeIconProps:{loading:G,searchValue:eB,open:e1,focused:eW,showSearch:eT}})),!B&&eu&&(L.length||eB)&&!("combobox"===Y&&""===eB)&&(x=v.createElement(C,{className:"".concat(N,"-clear"),onMouseDown:function(){var e;null==U||U(),null===(e=eF.current)||void 0===e||e.focus(),V([],{type:"clear",values:L}),e7("",!1,!1)},customizeIcon:ef},"\xd7"));var tf=v.createElement(ed,{ref:ez}),td=i()(N,R,(Z={},(0,o.Z)(Z,"".concat(N,"-focused"),eW),(0,o.Z)(Z,"".concat(N,"-multiple"),eD),(0,o.Z)(Z,"".concat(N,"-single"),!eD),(0,o.Z)(Z,"".concat(N,"-allow-clear"),eu),(0,o.Z)(Z,"".concat(N,"-show-arrow"),ts),(0,o.Z)(Z,"".concat(N,"-disabled"),B),(0,o.Z)(Z,"".concat(N,"-loading"),G),(0,o.Z)(Z,"".concat(N,"-open"),e1),(0,o.Z)(Z,"".concat(N,"-customize-input"),eG),(0,o.Z)(Z,"".concat(N,"-show-search"),eT),Z)),tp=v.createElement(H,{ref:eA,disabled:B,prefixCls:N,visible:e4,popupElement:tf,containerWidth:ta,animation:ep,transitionName:ev,dropdownStyle:em,dropdownClassName:eh,direction:O,dropdownMatchSelectWidth:eg,dropdownRender:eb,dropdownAlign:eE,placement:ew,getPopupContainer:eZ,empty:A,getTriggerDOMNode:function(){return e_.current},onPopupVisibleChange:y,onPopupMouseEnter:function(){tu({})}},eX?v.cloneElement(eX,{ref:eq}):v.createElement(P,(0,r.Z)({},e,{domRef:e_,prefixCls:N,inputElement:eG,ref:eF,id:I,showSearch:eT,autoClearSearchValue:er,mode:Y,activeDescendantId:en,tagRender:T,values:L,open:e1,onToggleOpen:e3,activeValue:ee,searchValue:eB,onSearch:e7,onSearchSubmit:function(e){e&&e.trim()&&ea(e,{source:"submit"})},onRemove:function(e){V(L.filter(function(t){return t!==e}),{type:"remove",values:[e]})},tokenWithEnter:e5})));return M=eX?tp:v.createElement("div",(0,r.Z)({className:td},eO,{ref:eH,onMouseDown:function(e){var t,n=e.target,o=null===(t=eA.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout(function(){var e,t=tn.indexOf(r);-1!==t&&tn.splice(t,1),eY(),eL||o.contains(document.activeElement)||null===(e=eF.current)||void 0===e||e.focus()});tn.push(r)}for(var a=arguments.length,i=Array(a>1?a-1:0),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&V(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=Array(c>1?c-1:0),f=1;f1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];j(e);var n={source:t?"keyboard":"mouse"},o=L[e];if(!o){x(null,-1,n);return}x(o.value,e,n)};(0,v.useEffect)(function(){W(!1!==M?A(0):-1)},[L.length,m]);var U=v.useCallback(function(e){return R.has(e)&&"combobox"!==p},[p,(0,l.Z)(R).toString(),R.size]);(0,v.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&f&&1===R.size){var e=Array.from(R)[0],t=L.findIndex(function(t){return t.data.value===e});-1!==t&&(W(t),_(t))}});return f&&(null===(e=V.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,m]);var Y=function(e){void 0!==e&&I(e,{selected:!R.has(e)}),d||h(!1)};if(v.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case g.Z.N:case g.Z.P:case g.Z.UP:case g.Z.DOWN:var o=0;if(t===g.Z.UP?o=-1:t===g.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===g.Z.N?o=1:t===g.Z.P&&(o=-1)),0!==o){var r=A(K+o,o);_(r),W(r,!0)}break;case g.Z.ENTER:var a=L[K];a&&!a.data.disabled?Y(a.value):Y(void 0),f&&e.preventDefault();break;case g.Z.ESC:h(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){_(e)}}}),0===L.length)return v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(k,"-empty"),onMouseDown:H},b);var B=Object.keys(D).map(function(e){return D[e]}),G=function(e){return e.label},X=function(e){var t=L[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,Z.Z)(n,!0),l=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(K-1),X(K),X(K+1)),v.createElement(ea.Z,{itemKey:"key",ref:V,data:L,height:O,itemHeight:P,fullHeight:!1,onMouseDown:H,onScroll:w,virtual:T},function(e,t){var n=e.group,a=e.groupOption,l=e.data,u=e.label,c=e.value,f=l.key;if(n){var d,p,m=null!==(p=l.title)&&void 0!==p?p:eu(u)?u.toString():void 0;return v.createElement("div",{className:i()(k,"".concat(k,"-group")),title:m},void 0!==u?u:f)}var h=l.disabled,g=l.title,b=(l.children,l.style),E=l.className,w=(0,s.Z)(l,el),y=(0,eo.Z)(w,B),S=U(c),x="".concat(k,"-option"),M=i()(k,x,E,(d={},(0,o.Z)(d,"".concat(x,"-grouped"),a),(0,o.Z)(d,"".concat(x,"-active"),K===t&&!h),(0,o.Z)(d,"".concat(x,"-disabled"),h),(0,o.Z)(d,"".concat(x,"-selected"),S),d)),I=G(e),R="number"==typeof I?I:I||c,D=eu(R)?R.toString():void 0;return void 0!==g&&(D=g),v.createElement("div",(0,r.Z)({},(0,Z.Z)(y),{"aria-selected":S,className:M,title:D,onMouseMove:function(){K===t||h||W(t)},onClick:function(){h||Y(c)},style:b}),v.createElement("div",{className:"".concat(x,"-content")},R),v.isValidElement(N)||S,(!N||"function"==typeof N||S)&&v.createElement(C,{className:"".concat(k,"-option-state"),customizeIcon:N,customizeIconProps:{isSelected:S}},S?"✓":null))}))});ec.displayName="OptionList";var es=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ef=["inputValue"],ed=v.forwardRef(function(e,t){var n,a,i,p,m,h=e.id,g=e.mode,b=e.prefixCls,E=e.backfill,w=e.fieldNames,Z=e.inputValue,y=e.searchValue,C=e.onSearch,S=e.autoClearSearchValue,M=void 0===S||S,I=e.onSelect,N=e.onDeselect,R=e.dropdownMatchSelectWidth,D=void 0===R||R,T=e.filterOption,O=e.filterSort,P=e.optionFilterProp,k=e.optionLabelProp,L=e.options,V=e.children,H=e.defaultActiveFirstOption,_=e.menuItemSelectedIcon,K=e.virtual,j=e.listHeight,G=void 0===j?200:j,et=e.listItemHeight,en=void 0===et?20:et,eo=e.value,er=e.defaultValue,ea=e.labelInValue,el=e.onChange,eu=(0,s.Z)(e,es),ed=(n=v.useState(),i=(a=(0,c.Z)(n,2))[0],p=a[1],v.useEffect(function(){var e;p("rc_select_".concat((q?(e=X,X+=1):e="TEST_OR_SSR",e)))},[]),h||i),ep=W(g),ev=!!(!L&&V),em=v.useMemo(function(){return(void 0!==T||"combobox"!==g)&&T},[T,g]),eh=v.useMemo(function(){return F(w,ev)},[JSON.stringify(w),ev]),eg=(0,d.Z)("",{value:void 0!==y?y:Z,postState:function(e){return e||""}}),eb=(0,c.Z)(eg,2),eE=eb[0],ew=eb[1],eZ=v.useMemo(function(){var e=L;L||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Q.Z)(t).map(function(t,o){if(!v.isValidElement(t)||!t.type)return null;var r,a,i,l,c,f=t.type.isSelectOptGroup,d=t.key,p=t.props,m=p.children,h=(0,s.Z)(p,$);return n||!f?(r=t.key,i=(a=t.props).children,l=a.value,c=(0,s.Z)(a,J),(0,u.Z)({key:r,value:void 0!==l?l:r,children:i},c)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},h),{},{options:e(m)})}).filter(function(e){return e})}(V));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=F(n,!1),i=a.label,l=a.value,u=a.options;return!function e(t,n){t.forEach(function(t){var a=t[i];if(!n&&u in t){var c=a;void 0===c&&o&&(c=t.label),r.push({key:A(t,r.length),group:!0,data:t,label:c}),e(t[u],!0)}else{var s=t[l];r.push({key:A(t,r.length),groupOption:n,data:t,label:a,value:s})}})}(e,!1),r}(eA,{fieldNames:eh,childrenAsData:ev})},[eA,eh,ev]),ez=function(e){var t=ex(e);if(eR(t),el&&(t.length!==eO.length||t.some(function(e,t){var n;return(null===(n=eO[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return z(eP(e.value))});el(ep?n:n[0],ep?o:o[0])}},eK=v.useState(null),ej=(0,c.Z)(eK,2),eW=ej[0],eU=ej[1],eY=v.useState(0),eB=(0,c.Z)(eY,2),eG=eB[0],eX=eB[1],eq=void 0!==H?H:"combobox"!==g,eQ=v.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eX(t),E&&"combobox"===g&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[E,g]),eJ=function(e,t,n){var o=function(){var t,n=eP(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,z(n)]};if(t&&I){var r=o(),a=(0,c.Z)(r,2);I(a[0],a[1])}else if(!t&&N&&"clear"!==n){var i=o(),l=(0,c.Z)(i,2);N(l[0],l[1])}},e$=ee(function(e,t){var n=!ep||t.selected;ez(n?ep?[].concat((0,l.Z)(eO),[e]):[e]:eO.filter(function(t){return t.value!==e})),eJ(e,n),"combobox"===g?eU(""):(!W||M)&&(ew(""),eU(""))}),e0=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},eZ),{},{flattenOptions:eF,onActiveValue:eQ,defaultActiveFirstOption:eq,onSelect:e$,menuItemSelectedIcon:_,rawValues:eL,fieldNames:eh,virtual:!1!==K&&!1!==D,listHeight:G,listItemHeight:en,childrenAsData:ev})},[eZ,eF,eQ,eq,e$,_,eL,eh,K,D,G,en,ev]);return v.createElement(ei.Provider,{value:e0},v.createElement(U,(0,r.Z)({},eu,{id:ed,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:ef,mode:g,displayValues:ek,onDisplayValuesChange:function(e,t){ez(e);var n=t.type,o=t.values;("remove"===n||"clear"===n)&&o.forEach(function(e){eJ(e.value,!1,n)})},searchValue:eE,onSearch:function(e,t){if(ew(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,l.Z)(eL),[n])))),eJ(n,!0),ew(""));return}"blur"!==t.source&&("combobox"===g&&ez(e),null==C||C(e))},autoClearSearchValue:M,onSearchSplit:function(e){var t=e;"tags"!==g&&(t=e.map(function(e){var t=eC.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,l.Z)(eL),(0,l.Z)(t))));ez(n),n.forEach(function(e){eJ(e,!0)})},dropdownMatchSelectWidth:D,OptionList:ec,emptyOptions:!eF.length,activeValue:eW,activeDescendantId:"".concat(ed,"_list_").concat(eG)})))});ed.Option=en,ed.OptGroup=et;var ep=n(53124),ev=n(88258),em=n(98866),eh=n(97647),eg=n(65223),eb=n(33603),eE=n(9708),ew=n(63606),eZ=n(4340),ey=n(97937),eC=n(80882),eS=n(50888),ex=n(68795),eM=n(4173),eI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eN="SECRET_COMBOBOX_MODE_DO_NOT_USE",eR=v.forwardRef(function(e,t){var n,a,l=e.prefixCls,u=e.bordered,c=e.className,s=e.getPopupContainer,f=e.dropdownClassName,d=e.popupClassName,p=e.listHeight,m=e.placement,h=e.listItemHeight,g=e.size,b=e.disabled,E=e.notFoundContent,w=e.status,Z=e.showArrow,y=eI(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),C=v.useContext(ep.E_),S=C.getPopupContainer,x=C.getPrefixCls,M=C.renderEmpty,I=C.direction,N=C.virtual,R=C.dropdownMatchSelectWidth,D=v.useContext(eh.Z),T=x("select",l),O=x(),P=(0,eM.ri)(T,I),k=P.compactSize,L=P.compactItemClassnames,V=v.useMemo(function(){var e=y.mode;return"combobox"===e?void 0:e===eN?"combobox":e},[y.mode]),H="multiple"===V||"tags"===V,_=void 0!==Z?Z:y.loading||!(H||"combobox"===V),A=(0,v.useContext)(eg.aM),F=A.status,z=A.hasFeedback,K=A.isFormItemInput,j=A.feedbackIcon,W=(0,eE.F)(F,w);a=void 0!==E?E:"combobox"===V?null:(M||ev.Z)("Select");var U=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,r=e.removeIcon,a=e.loading,i=e.multiple,l=e.hasFeedback,u=e.prefixCls,c=e.showArrow,s=e.feedbackIcon,f=null!=n?n:v.createElement(eZ.Z,null),d=function(e){return v.createElement(v.Fragment,null,!1!==c&&e,l&&s)},p=null;if(void 0!==t)p=d(t);else if(a)p=d(v.createElement(eS.Z,{spin:!0}));else{var m="".concat(u,"-suffix");p=function(e){var t=e.open,n=e.showSearch;return t&&n?d(v.createElement(ex.Z,{className:m})):d(v.createElement(eC.Z,{className:m}))}}var h=null;return h=void 0!==o?o:i?v.createElement(ew.Z,null):null,{clearIcon:f,suffixIcon:p,itemIcon:h,removeIcon:void 0!==r?r:v.createElement(ey.Z,null)}}((0,r.Z)((0,r.Z)({},y),{multiple:H,hasFeedback:z,feedbackIcon:j,showArrow:_,prefixCls:T})),Y=U.suffixIcon,B=U.itemIcon,G=U.removeIcon,X=U.clearIcon,q=(0,eo.Z)(y,["suffixIcon","itemIcon"]),Q=i()(d||f,(0,o.Z)({},"".concat(T,"-dropdown-").concat(I),"rtl"===I)),J=k||g||D,$=v.useContext(em.Z),ee=i()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===J),(0,o.Z)(n,"".concat(T,"-sm"),"small"===J),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===I),(0,o.Z)(n,"".concat(T,"-borderless"),!(void 0===u||u)),(0,o.Z)(n,"".concat(T,"-in-form-item"),K),n),(0,eE.Z)(T,W,z),L,c);return v.createElement(ed,(0,r.Z)({ref:t,virtual:N,dropdownMatchSelectWidth:R},q,{transitionName:(0,eb.mL)(O,(0,eb.q0)(m),y.transitionName),listHeight:void 0===p?256:p,listItemHeight:void 0===h?24:h,mode:V,prefixCls:T,placement:void 0!==m?m:"rtl"===I?"bottomRight":"bottomLeft",direction:I,inputIcon:Y,menuItemSelectedIcon:B,removeIcon:G,clearIcon:X,notFoundContent:a,className:ee,getPopupContainer:s||S,dropdownClassName:Q,showArrow:z||Z,disabled:null!=b?b:$}))});eR.SECRET_COMBOBOX_MODE_DO_NOT_USE=eN,eR.Option=en,eR.OptGroup=et;var eD=eR},73453:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(87462),r=n(4942),a=n(1413),i=n(97685),l=n(45987),u=n(67294),c=n(94184),s=n.n(c),f=n(48555),d=u.forwardRef(function(e,t){var n=e.height,i=e.offset,l=e.children,c=e.prefixCls,d=e.onInnerResize,p=e.innerProps,v={},m={display:"flex",flexDirection:"column"};return void 0!==i&&(v={height:n,position:"relative",overflow:"hidden"},m=(0,a.Z)((0,a.Z)({},m),{},{transform:"translateY(".concat(i,"px)"),position:"absolute",left:0,right:0,top:0})),u.createElement("div",{style:v},u.createElement(f.default,{onResize:function(e){e.offsetHeight&&d&&d()}},u.createElement("div",(0,o.Z)({style:m,className:s()((0,r.Z)({},"".concat(c,"-holder-inner"),c)),ref:t},p),l)))});d.displayName="Filler";var p=n(15671),v=n(43144),m=n(60136),h=n(33643),g=n(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var E=function(e){(0,m.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;an},e}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),i=this.getTop(),l=this.showScroll();return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:l&&n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(u.Component);function w(e){var t=e.children,n=e.setRef,o=u.useCallback(function(e){n(e)},[]);return u.cloneElement(t,{ref:o})}var Z=n(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,v.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),C=n(71002),S=("undefined"==typeof navigator?"undefined":(0,C.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),x=function(e,t){var n=(0,u.useRef)(!1),o=(0,u.useRef)(null),r=(0,u.useRef)({top:e,bottom:t});return r.current.top=e,r.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&r.current.top||e>0&&r.current.bottom;return t&&a?(clearTimeout(o.current),n.current=!1):(!a||n.current)&&(clearTimeout(o.current),n.current=!0,o.current=setTimeout(function(){n.current=!1},50)),!n.current&&a}},M=n(8410),I=14/15,N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],R=[],D={overflowY:"auto",overflowAnchor:"none"},T=u.forwardRef(function(e,t){var n,c,f,p,v,m,h,b,T,O,P,k,L,V,H,_,A,F,z,K,j,W,U,Y,B,G,X=e.prefixCls,q=void 0===X?"rc-virtual-list":X,Q=e.className,J=e.height,$=e.itemHeight,ee=e.fullHeight,et=e.style,en=e.data,eo=e.children,er=e.itemKey,ea=e.virtual,ei=e.component,el=e.onScroll,eu=e.onVisibleChange,ec=e.innerProps,es=(0,l.Z)(e,N),ef=!!(!1!==ea&&J&&$),ed=ef&&en&&$*en.length>J,ep=(0,u.useState)(0),ev=(0,i.Z)(ep,2),em=ev[0],eh=ev[1],eg=(0,u.useState)(!1),eb=(0,i.Z)(eg,2),eE=eb[0],ew=eb[1],eZ=s()(q,Q),ey=en||R,eC=(0,u.useRef)(),eS=(0,u.useRef)(),ex=(0,u.useRef)(),eM=u.useCallback(function(e){return"function"==typeof er?er(e):null==e?void 0:e[er]},[er]);function eI(e){eh(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(eW.current)||(n=Math.min(n,eW.current)),n=Math.max(n,0));return eC.current.scrollTop=o,o})}var eN=(0,u.useRef)({start:0,end:ey.length}),eR=(0,u.useRef)(),eD=(c=u.useState(ey),p=(f=(0,i.Z)(c,2))[0],v=f[1],m=u.useState(null),b=(h=(0,i.Z)(m,2))[0],T=h[1],u.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,i=t.length;if(0===a&&0===i)return null;a=em&&void 0===t&&(t=i,n=r),c>em+J&&void 0===o&&(o=i),r=c}return void 0===t&&(t=0,n=0,o=Math.ceil(J/$)),void 0===o&&(o=ey.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,ey.length),offset:n}},[ed,ef,em,ey,eH,J]),eA=e_.scrollHeight,eF=e_.start,ez=e_.end,eK=e_.offset;eN.current.start=eF,eN.current.end=ez;var ej=eA-J,eW=(0,u.useRef)(ej);eW.current=ej;var eU=em<=0,eY=em>=ej,eB=x(eU,eY),eG=(O=function(e){eI(function(t){return t+e})},P=(0,u.useRef)(0),k=(0,u.useRef)(null),L=(0,u.useRef)(null),V=(0,u.useRef)(!1),H=x(eU,eY),[function(e){if(ef){g.Z.cancel(k.current);var t=e.deltaY;P.current+=t,L.current=t,H(t)||(S||e.preventDefault(),k.current=(0,g.Z)(function(){var e=V.current?10:1;O(P.current*e),P.current=0}))}},function(e){ef&&(V.current=e.detail===L.current)}]),eX=(0,i.Z)(eG,2),eq=eX[0],eQ=eX[1];_=function(e,t){return!eB(e,t)&&(eq({preventDefault:function(){},deltaY:e}),!0)},F=(0,u.useRef)(!1),z=(0,u.useRef)(0),K=(0,u.useRef)(null),j=(0,u.useRef)(null),W=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),n=z.current-t;z.current=t,_(n)&&e.preventDefault(),clearInterval(j.current),j.current=setInterval(function(){(!_(n*=I,!0)||.1>=Math.abs(n))&&clearInterval(j.current)},16)}},U=function(){F.current=!1,A()},Y=function(e){A(),1!==e.touches.length||F.current||(F.current=!0,z.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",W),K.current.addEventListener("touchend",U))},A=function(){K.current&&(K.current.removeEventListener("touchmove",W),K.current.removeEventListener("touchend",U))},(0,M.Z)(function(){return ef&&eC.current.addEventListener("touchstart",Y),function(){var e;null===(e=eC.current)||void 0===e||e.removeEventListener("touchstart",Y),A(),clearInterval(j.current)}},[ef]),(0,M.Z)(function(){function e(e){ef&&e.preventDefault()}return eC.current.addEventListener("wheel",eq),eC.current.addEventListener("DOMMouseScroll",eQ),eC.current.addEventListener("MozMousePixelScroll",e),function(){eC.current&&(eC.current.removeEventListener("wheel",eq),eC.current.removeEventListener("DOMMouseScroll",eQ),eC.current.removeEventListener("MozMousePixelScroll",e))}},[ef]);var eJ=(B=function(){var e;null===(e=ex.current)||void 0===e||e.delayHidden()},G=u.useRef(),function(e){if(null==e){B();return}if(g.Z.cancel(G.current),"number"==typeof e)eI(e);else if(e&&"object"===(0,C.Z)(e)){var t,n=e.align;t="index"in e?e.index:ey.findIndex(function(t){return eM(t)===e.key});var o=e.offset,r=void 0===o?0:o;!function e(o,a){if(!(o<0)&&eC.current){var i=eC.current.clientHeight,l=!1,u=a;if(i){for(var c=0,s=0,f=0,d=Math.min(ey.length,t),p=0;p<=d;p+=1){var v=eM(ey[p]);s=c;var m=eV.get(v);c=f=s+(void 0===m?$:m),p===t&&void 0===m&&(l=!0)}var h=null;switch(a||n){case"top":h=s-r;break;case"bottom":h=f-i+r;break;default:var b=eC.current.scrollTop;sb+i&&(u="bottom")}null!==h&&h!==eC.current.scrollTop&&eI(h)}G.current=(0,g.Z)(function(){l&&eL(),e(o-1,u)},2)}}(3)}});u.useImperativeHandle(t,function(){return{scrollTo:eJ}}),(0,M.Z)(function(){eu&&eu(ey.slice(eF,ez+1),ey)},[eF,ez,ey]);var e$=ey.slice(eF,ez+1).map(function(e,t){var n=eo(e,eF+t,{}),o=eM(e);return u.createElement(w,{key:o,setRef:function(t){return ek(e,t)}},n)}),e0=null;return J&&(e0=(0,a.Z)((0,r.Z)({},void 0===ee||ee?"height":"maxHeight",J),D),ef&&(e0.overflowY="hidden",eE&&(e0.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},et),{},{position:"relative"}),className:eZ},es),u.createElement(void 0===ei?"div":ei,{className:"".concat(q,"-holder"),style:e0,ref:eC,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==em&&eI(t),null==el||el(e)}},u.createElement(d,{prefixCls:q,height:eA,offset:eK,onInnerResize:eL,ref:eS,innerProps:ec},e$)),ef&&u.createElement(E,{ref:ex,prefixCls:q,scrollTop:em,height:J,scrollHeight:eA,count:ey.length,onScroll:function(e){eI(e)},onStartMove:function(){ew(!0)},onStopMove:function(){ew(!1)}}))});T.displayName="List";var O=T}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/911-399167d1ade77b97.js b/static/web/_next/static/chunks/911-399167d1ade77b97.js new file mode 100644 index 000000000..ed9315204 --- /dev/null +++ b/static/web/_next/static/chunks/911-399167d1ade77b97.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[911],{94149:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LockOutlined";var c=o.forwardRef(l)},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="UserOutlined";var c=o.forwardRef(l)},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(4942),o=n(87462),i=n(97685),a=n(97937),l=n(94184),c=n.n(l),u=n(98423),s=n(67294),f=n(53124),d=n(98787),p=n(68349),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),m=RegExp("^(".concat(d.E.join("|"),")$")),b=s.forwardRef(function(e,t){var n,l=e.prefixCls,d=e.className,y=e.style,b=e.children,g=e.icon,_=e.color,O=e.onClose,k=e.closeIcon,w=e.closable,x=h(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),C=s.useContext(f.E_),E=C.getPrefixCls,j=C.direction,P=s.useState(!0),S=(0,i.Z)(P,2),T=S[0],Z=S[1];s.useEffect(function(){"visible"in x&&Z(x.visible)},[x.visible]);var K=function(){return!!_&&(v.test(_)||m.test(_))},N=(0,o.Z)({backgroundColor:_&&!K()?_:void 0},y),A=K(),M=E("tag",l),L=c()(M,(n={},(0,r.Z)(n,"".concat(M,"-").concat(_),A),(0,r.Z)(n,"".concat(M,"-has-color"),_&&!A),(0,r.Z)(n,"".concat(M,"-hidden"),!T),(0,r.Z)(n,"".concat(M,"-rtl"),"rtl"===j),n),d),R=function(e){e.stopPropagation(),null==O||O(e),!e.defaultPrevented&&("visible"in x||Z(!1))},D="onClick"in x||b&&"a"===b.type,I=(0,u.Z)(x,["visible"]),V=g||null,z=V?s.createElement(s.Fragment,null,V,s.createElement("span",null,b)):b,B=s.createElement("span",(0,o.Z)({},I,{ref:t,className:L,style:N}),z,void 0!==w&&w?k?s.createElement("span",{className:"".concat(M,"-close-icon"),onClick:R},k):s.createElement(a.Z,{className:"".concat(M,"-close-icon"),onClick:R}):null);return D?s.createElement(p.Z,null,B):B});b.CheckableTag=function(e){var t,n=e.prefixCls,i=e.className,a=e.checked,l=e.onChange,u=e.onClick,d=y(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,s.useContext(f.E_).getPrefixCls)("tag",n),h=c()(p,(t={},(0,r.Z)(t,"".concat(p,"-checkable"),!0),(0,r.Z)(t,"".concat(p,"-checkable-checked"),a),t),i);return s.createElement("span",(0,o.Z)({},d,{className:h,onClick:function(e){null==l||l(!a),null==u||u(e)}}))};var g=b},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(o){}var c=a.call(e);return r&&(t?e[l]=n:delete e[l]),c}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,l=Math.min;e.exports=function(e,t,n){var c,u,s,f,d,p,y=0,h=!1,v=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=c,r=u;return c=u=void 0,y=t,f=e.apply(r,n)}function g(e){var n=e-p,r=e-y;return void 0===p||n>=t||n<0||v&&r>=s}function _(){var e,n,r,i=o();if(g(i))return O(i);d=setTimeout(_,(e=i-p,n=i-y,r=t-e,v?l(r,s-n):r))}function O(e){return(d=void 0,m&&c)?b(e):(c=u=void 0,f)}function k(){var e,n=o(),r=g(n);if(c=arguments,u=this,p=n,r){if(void 0===d)return y=e=p,d=setTimeout(_,t),h?b(e):f;if(v)return clearTimeout(d),d=setTimeout(_,t),b(p)}return void 0===d&&(d=setTimeout(_,t)),f}return t=i(t)||0,r(n)&&(h=!!n.leading,s=(v="maxWait"in n)?a(i(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),k.cancel=function(){void 0!==d&&clearTimeout(d),y=0,c=p=u=d=void 0},k.flush=function(){return void 0===d?f:O(o())},k}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):l.test(e)?a:+e}},37645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=i.default,o=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:n,pastDelay:r}=e;return null}};if(e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o=r({},o,e)),(o=r({},o,t)).suspense&&(delete o.ssr,delete o.loading),o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated)).loadableGenerated,"boolean"==typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,a(n,o);delete o.ssr}return n(o)},t.noSSR=a;var r=n(6495).Z,o=n(92648).Z,i=(o(n(67294)),o(n(14588)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294));let o=r.default.createContext(null);t.LoadableContext=o},14588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6495).Z,o=(0,n(91598).Z)(n(67294)),i=n(33644);let a=[],l=[],c=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=o.default.lazy(n.loader));let a=null;function u(){if(!a){let t=new s(e,n);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!c){let f=n.webpack?n.webpack():n.modules;f&&l.push(e=>{for(let t of f)if(-1!==e.indexOf(t))return u()})}function d(){u();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}let p=n.suspense?function(e,t){return d(),o.default.createElement(n.lazy,r({},e,{ref:t}))}:function(e,t){d();let r=o.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),o.default.useMemo(()=>{var t;return r.loading||r.error?o.default.createElement(n.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:a.retry}):r.loaded?o.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])};return p.preload=()=>u(),p.displayName="LoadableComponent",o.default.forwardRef(p)}(u,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let n=()=>(c=!0,t());d(l,e).then(n,n)})},window.__NEXT_PRELOADREADY=f.preloadReady,t.default=f},5152:function(e,t,n){e.exports=n(37645)},49218:function(e,t,n){"use strict";n.d(t,{y1:function(){return S}});var r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function i(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var l={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},c={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)l["f".concat(d)]=111+d;var p=[],y=!1,h="all",v=[],m=function(e){return l[e.toLowerCase()]||c[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function b(e){h=e||"all"}function g(){return h||"all"}var _=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,l=void 0===o?"+":o;a(t).forEach(function(e){var t=e.split(l),o=t.length,a=t[o-1],u="*"===a?"*":m(a);if(f[u]){n||(n=g());var s=o>1?i(c,t):[];f[u]=f[u].filter(function(e){return!((!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&t.mods.indexOf(+i)>-1||s[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function k(e,t){var n=f["*"],r=e.keyCode||e.which||e.charCode;if(w.filter.call(this,e)){if((93===r||224===r)&&(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var n=u[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(p=p.slice(p.indexOf(n)))}),r in s){for(var o in s[r]=!0,c)c[o]===r&&(w[o]=!0);if(!n)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[u[i]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=g();if(n)for(var l=0;l1&&(u=i(c,e)),(e="*"===(e=e[e.length-1])?"*":m(e))in f||(f[e]=[]),f[e].push({keyup:g,keydown:_,scope:d,mods:u,shortcut:l[b],method:n,key:l[b],splitKey:O,element:h});void 0!==h&&(r=h,!(v.indexOf(r)>-1))&&window&&(v.push(h),o(h,"keydown",function(e){k(e,h)},x),y||(y=!0,o(window,"focus",function(){p=[]},x)),o(h,"keyup",function(e){k(e,h),function(e){var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n>=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),(93===t||224===t)&&(t=91),t in s)for(var r in s[t]=!1,c)c[r]===t&&(w[r]=!1)}(e)},x))}var x={setScope:b,getScope:g,deleteScope:function(e,t){var n,r;for(var o in e||(e=g()),f)if(Object.prototype.hasOwnProperty.call(f,o))for(r=0,n=f[o];r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach(function(n){var r=f[n].find(function(n){return n.scope===t&&n.shortcut===e});r&&r.method&&r.method()})},unbind:function(e){if(void 0===e)Object.keys(f).forEach(function(e){return delete f[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&_(e)});else if("object"==typeof e)e.key&&_(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),v=RegExp("^(".concat(d.E.join("|"),")$")),g=s.forwardRef(function(e,t){var n,l=e.prefixCls,d=e.className,y=e.style,g=e.children,b=e.icon,_=e.color,k=e.onClose,w=e.closeIcon,O=e.closable,C=h(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),E=s.useContext(f.E_),x=E.getPrefixCls,j=E.direction,P=s.useState(!0),Z=(0,i.Z)(P,2),T=Z[0],K=Z[1];s.useEffect(function(){"visible"in C&&K(C.visible)},[C.visible]);var S=function(){return!!_&&(m.test(_)||v.test(_))},A=(0,o.Z)({backgroundColor:_&&!S()?_:void 0},y),M=S(),N=x("tag",l),L=u()(N,(n={},(0,r.Z)(n,"".concat(N,"-").concat(_),M),(0,r.Z)(n,"".concat(N,"-has-color"),_&&!M),(0,r.Z)(n,"".concat(N,"-hidden"),!T),(0,r.Z)(n,"".concat(N,"-rtl"),"rtl"===j),n),d),R=function(e){e.stopPropagation(),null==k||k(e),!e.defaultPrevented&&("visible"in C||K(!1))},D="onClick"in C||g&&"a"===g.type,I=(0,c.Z)(C,["visible"]),V=b||null,z=V?s.createElement(s.Fragment,null,V,s.createElement("span",null,g)):g,B=s.createElement("span",(0,o.Z)({},I,{ref:t,className:L,style:A}),z,void 0!==O&&O?w?s.createElement("span",{className:"".concat(N,"-close-icon"),onClick:R},w):s.createElement(a.Z,{className:"".concat(N,"-close-icon"),onClick:R}):null);return D?s.createElement(p.Z,null,B):B});g.CheckableTag=function(e){var t,n=e.prefixCls,i=e.className,a=e.checked,l=e.onChange,c=e.onClick,d=y(e,["prefixCls","className","checked","onChange","onClick"]),p=(0,s.useContext(f.E_).getPrefixCls)("tag",n),h=u()(p,(t={},(0,r.Z)(t,"".concat(p,"-checkable"),!0),(0,r.Z)(t,"".concat(p,"-checkable-checked"),a),t),i);return s.createElement("span",(0,o.Z)({},d,{className:h,onClick:function(e){null==l||l(!a),null==c||c(e)}}))};var b=g},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,l=Math.min;e.exports=function(e,t,n){var u,c,s,f,d,p,y=0,h=!1,m=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=u,r=c;return u=c=void 0,y=t,f=e.apply(r,n)}function b(e){var n=e-p,r=e-y;return void 0===p||n>=t||n<0||m&&r>=s}function _(){var e,n,r,i=o();if(b(i))return k(i);d=setTimeout(_,(e=i-p,n=i-y,r=t-e,m?l(r,s-n):r))}function k(e){return(d=void 0,v&&u)?g(e):(u=c=void 0,f)}function w(){var e,n=o(),r=b(n);if(u=arguments,c=this,p=n,r){if(void 0===d)return y=e=p,d=setTimeout(_,t),h?g(e):f;if(m)return clearTimeout(d),d=setTimeout(_,t),g(p)}return void 0===d&&(d=setTimeout(_,t)),f}return t=i(t)||0,r(n)&&(h=!!n.leading,s=(m="maxWait"in n)?a(i(n.maxWait)||0,t):s,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==d&&clearTimeout(d),y=0,u=p=c=d=void 0},w.flush=function(){return void 0===d?f:k(o())},w}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):l.test(e)?a:+e}},37645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=i.default,o=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:n,pastDelay:r}=e;return null}};if(e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o=r({},o,e)),(o=r({},o,t)).suspense&&(delete o.ssr,delete o.loading),o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated)).loadableGenerated,"boolean"==typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,a(n,o);delete o.ssr}return n(o)},t.noSSR=a;var r=n(6495).Z,o=n(92648).Z,i=(o(n(67294)),o(n(14588)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294));let o=r.default.createContext(null);t.LoadableContext=o},14588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6495).Z,o=(0,n(91598).Z)(n(67294)),i=n(33644);let a=[],l=[],u=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=o.default.lazy(n.loader));let a=null;function c(){if(!a){let t=new s(e,n);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!u){let f=n.webpack?n.webpack():n.modules;f&&l.push(e=>{for(let t of f)if(-1!==e.indexOf(t))return c()})}function d(){c();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}let p=n.suspense?function(e,t){return d(),o.default.createElement(n.lazy,r({},e,{ref:t}))}:function(e,t){d();let r=o.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),o.default.useMemo(()=>{var t;return r.loading||r.error?o.default.createElement(n.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:a.retry}):r.loaded?o.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])};return p.preload=()=>c(),p.displayName="LoadableComponent",o.default.forwardRef(p)}(c,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let n=()=>(u=!0,t());d(l,e).then(n,n)})},window.__NEXT_PRELOADREADY=f.preloadReady,t.default=f},5152:function(e,t,n){e.exports=n(37645)},49218:function(e,t,n){"use strict";n.d(t,{y1:function(){return Z}});var r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function i(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var l={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},u={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},c={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)l["f".concat(d)]=111+d;var p=[],y=!1,h="all",m=[],v=function(e){return l[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){h=e||"all"}function b(){return h||"all"}var _=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,l=void 0===o?"+":o;a(t).forEach(function(e){var t=e.split(l),o=t.length,a=t[o-1],c="*"===a?"*":v(a);if(f[c]){n||(n=b());var s=o>1?i(u,t):[];f[c]=f[c].filter(function(e){return!((!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&t.mods.indexOf(+i)>-1||s[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function w(e,t){var n=f["*"],r=e.keyCode||e.which||e.charCode;if(O.filter.call(this,e)){if((93===r||224===r)&&(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var n=c[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(p=p.slice(p.indexOf(n)))}),r in s){for(var o in s[r]=!0,u)u[o]===r&&(O[o]=!0);if(!n)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[c[i]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=b();if(n)for(var l=0;l1&&(c=i(u,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in f||(f[e]=[]),f[e].push({keyup:b,keydown:_,scope:d,mods:c,shortcut:l[g],method:n,key:l[g],splitKey:k,element:h});void 0!==h&&(r=h,!(m.indexOf(r)>-1))&&window&&(m.push(h),o(h,"keydown",function(e){w(e,h)},C),y||(y=!0,o(window,"focus",function(){p=[]},C)),o(h,"keyup",function(e){w(e,h),function(e){var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n>=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),(93===t||224===t)&&(t=91),t in s)for(var r in s[t]=!1,u)u[r]===t&&(O[r]=!1)}(e)},C))}var C={setScope:g,getScope:b,deleteScope:function(e,t){var n,r;for(var o in e||(e=b()),f)if(Object.prototype.hasOwnProperty.call(f,o))for(r=0,n=f[o];r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach(function(n){var r=f[n].find(function(n){return n.scope===t&&n.shortcut===e});r&&r.method&&r.method()})},unbind:function(e){if(void 0===e)Object.keys(f).forEach(function(e){return delete f[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&_(e)});else if("object"==typeof e)e.key&&_(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;re.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};e.Z=function(t){var e,n=i.useContext(l.E_),c=n.getPrefixCls,s=n.direction,u=t.prefixCls,p=t.type,v=void 0===p?"horizontal":p,d=t.orientation,m=void 0===d?"center":d,g=t.orientationMargin,y=t.className,Z=t.children,h=t.dashed,x=t.plain,b=f(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),O=c("divider",u),w=m.length>0?"-".concat(m):m,j=!!Z,C="left"===m&&null!=g,E="right"===m&&null!=g,S=a()(O,"".concat(O,"-").concat(v),(e={},(0,o.Z)(e,"".concat(O,"-with-text"),j),(0,o.Z)(e,"".concat(O,"-with-text").concat(w),j),(0,o.Z)(e,"".concat(O,"-dashed"),!!h),(0,o.Z)(e,"".concat(O,"-plain"),!!x),(0,o.Z)(e,"".concat(O,"-rtl"),"rtl"===s),(0,o.Z)(e,"".concat(O,"-no-default-orientation-margin-left"),C),(0,o.Z)(e,"".concat(O,"-no-default-orientation-margin-right"),E),e),y),N=(0,r.Z)((0,r.Z)({},C&&{marginLeft:g}),E&&{marginRight:g});return i.createElement("div",(0,r.Z)({className:S},b,{role:"separator"}),Z&&"vertical"!==v&&i.createElement("span",{className:"".concat(O,"-inner-text"),style:N},Z))}},99134:function(t,e,n){"use strict";var r=(0,n(67294).createContext)({});e.Z=r},21584:function(t,e,n){"use strict";var r=n(4942),o=n(87462),c=n(71002),a=n(94184),i=n.n(a),l=n(67294),f=n(53124),s=n(99134),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},p=["xs","sm","md","lg","xl","xxl"],v=l.forwardRef(function(t,e){var n,a=l.useContext(f.E_),v=a.getPrefixCls,d=a.direction,m=l.useContext(s.Z),g=m.gutter,y=m.wrap,Z=m.supportFlexGap,h=t.prefixCls,x=t.span,b=t.order,O=t.offset,w=t.push,j=t.pull,C=t.className,E=t.children,S=t.flex,N=t.style,P=u(t,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),T=v("col",h),M={};p.forEach(function(e){var n,a={},i=t[e];"number"==typeof i?a.span=i:"object"===(0,c.Z)(i)&&(a=i||{}),delete P[e],M=(0,o.Z)((0,o.Z)({},M),(n={},(0,r.Z)(n,"".concat(T,"-").concat(e,"-").concat(a.span),void 0!==a.span),(0,r.Z)(n,"".concat(T,"-").concat(e,"-order-").concat(a.order),a.order||0===a.order),(0,r.Z)(n,"".concat(T,"-").concat(e,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,r.Z)(n,"".concat(T,"-").concat(e,"-push-").concat(a.push),a.push||0===a.push),(0,r.Z)(n,"".concat(T,"-").concat(e,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,r.Z)(n,"".concat(T,"-rtl"),"rtl"===d),n))});var z=i()(T,(n={},(0,r.Z)(n,"".concat(T,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(T,"-order-").concat(b),b),(0,r.Z)(n,"".concat(T,"-offset-").concat(O),O),(0,r.Z)(n,"".concat(T,"-push-").concat(w),w),(0,r.Z)(n,"".concat(T,"-pull-").concat(j),j),n),C,M),L={};if(g&&g[0]>0){var R=g[0]/2;L.paddingLeft=R,L.paddingRight=R}if(g&&g[1]>0&&!Z){var A=g[1]/2;L.paddingTop=A,L.paddingBottom=A}return S&&(L.flex="number"==typeof S?"".concat(S," ").concat(S," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(S)?"0 0 ".concat(S):S,!1!==y||L.minWidth||(L.minWidth=0)),l.createElement("div",(0,o.Z)({},P,{style:(0,o.Z)((0,o.Z)({},L),N),className:z,ref:e}),E)});e.Z=v},92820:function(t,e,n){"use strict";var r=n(87462),o=n(4942),c=n(71002),a=n(97685),i=n(94184),l=n.n(i),f=n(67294),s=n(53124),u=n(98082),p=n(24308),v=n(93355),d=n(99134),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};function g(t,e){var n=f.useState("string"==typeof t?t:""),r=(0,a.Z)(n,2),o=r[0],i=r[1],l=function(){if("object"===(0,c.Z)(t))for(var n=0;n0?-(W[0]/2):void 0,q=null!=W[1]&&W[1]>0?-(W[1]/2):void 0;if(H&&(G.marginLeft=H,G.marginRight=H),V){var D=(0,a.Z)(W,2);G.rowGap=D[1]}else q&&(G.marginTop=q,G.marginBottom=q);var J=(0,a.Z)(W,2),Q=J[0],U=J[1],K=f.useMemo(function(){return{gutter:[Q,U],wrap:j,supportFlexGap:V}},[Q,U,j,V]);return f.createElement(d.Z.Provider,{value:K},f.createElement("div",(0,r.Z)({},C,{className:$,style:(0,r.Z)((0,r.Z)({},G),x),ref:e}),b))});e.Z=y},71230:function(t,e,n){"use strict";var r=n(92820);e.Z=r.Z},62705:function(t,e,n){var r=n(55639).Symbol;t.exports=r},44239:function(t,e,n){var r=n(62705),o=n(89607),c=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):c(t)}},27561:function(t,e,n){var r=n(67990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},31957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},89607:function(t,e,n){var r=n(62705),o=Object.prototype,c=o.hasOwnProperty,a=o.toString,i=r?r.toStringTag:void 0;t.exports=function(t){var e=c.call(t,i),n=t[i];try{t[i]=void 0;var r=!0}catch(o){}var l=a.call(t);return r&&(e?t[i]=n:delete t[i]),l}},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},55639:function(t,e,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,c=r||o||Function("return this")();t.exports=c},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),o=n(7771),c=n(14841),a=Math.max,i=Math.min;t.exports=function(t,e,n){var l,f,s,u,p,v,d=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw TypeError("Expected a function");function Z(e){var n=l,r=f;return l=f=void 0,d=e,u=t.apply(r,n)}function h(t){var n=t-v,r=t-d;return void 0===v||n>=e||n<0||g&&r>=s}function x(){var t,n,r,c=o();if(h(c))return b(c);p=setTimeout(x,(t=c-v,n=c-d,r=e-t,g?i(r,s-n):r))}function b(t){return(p=void 0,y&&l)?Z(t):(l=f=void 0,u)}function O(){var t,n=o(),r=h(n);if(l=arguments,f=this,v=n,r){if(void 0===p)return d=t=v,p=setTimeout(x,e),m?Z(t):u;if(g)return clearTimeout(p),p=setTimeout(x,e),Z(v)}return void 0===p&&(p=setTimeout(x,e)),u}return e=c(e)||0,r(n)&&(m=!!n.leading,s=(g="maxWait"in n)?a(c(n.maxWait)||0,e):s,y="trailing"in n?!!n.trailing:y),O.cancel=function(){void 0!==p&&clearTimeout(p),d=0,l=v=f=p=void 0},O.flush=function(){return void 0===p?u:b(o())},O}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var r=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},14841:function(t,e,n){var r=n(27561),o=n(13218),c=n(33448),a=0/0,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(c(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=l.test(t);return n||f.test(t)?s(t.slice(2),n?2:8):i.test(t)?a:+t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9550-db4a457e5e1bbbcf.js b/static/web/_next/static/chunks/9550-db4a457e5e1bbbcf.js deleted file mode 100644 index a5d320190..000000000 --- a/static/web/_next/static/chunks/9550-db4a457e5e1bbbcf.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9550],{82911:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="QuestionCircleFilled";var l=o.forwardRef(i)},24478:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:function(t,e){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z",fill:e}},{tag:"path",attrs:{d:"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z",fill:t}}]}},name:"safety-certificate",theme:"twotone"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="SafetyCertificateTwoTone";var l=o.forwardRef(i)},84674:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:function(t,e){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z",fill:e}}]}},name:"stop",theme:"twotone"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="StopTwoTone";var l=o.forwardRef(i)},15746:function(t,e,n){"use strict";var r=n(21584);e.Z=r.Z},27049:function(t,e,n){"use strict";var r=n(87462),o=n(4942),c=n(94184),a=n.n(c),i=n(67294),l=n(53124),s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};e.Z=function(t){var e,n=i.useContext(l.E_),c=n.getPrefixCls,f=n.direction,u=t.prefixCls,p=t.type,d=void 0===p?"horizontal":p,v=t.orientation,m=void 0===v?"center":v,Z=t.orientationMargin,h=t.className,y=t.children,g=t.dashed,x=t.plain,b=s(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),w=c("divider",u),O=m.length>0?"-".concat(m):m,C=!!y,E="left"===m&&null!=Z,j="right"===m&&null!=Z,N=a()(w,"".concat(w,"-").concat(d),(e={},(0,o.Z)(e,"".concat(w,"-with-text"),C),(0,o.Z)(e,"".concat(w,"-with-text").concat(O),C),(0,o.Z)(e,"".concat(w,"-dashed"),!!g),(0,o.Z)(e,"".concat(w,"-plain"),!!x),(0,o.Z)(e,"".concat(w,"-rtl"),"rtl"===f),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-left"),E),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-right"),j),e),h),P=(0,r.Z)((0,r.Z)({},E&&{marginLeft:Z}),j&&{marginRight:Z});return i.createElement("div",(0,r.Z)({className:N},b,{role:"separator"}),y&&"vertical"!==d&&i.createElement("span",{className:"".concat(w,"-inner-text"),style:P},y))}},99134:function(t,e,n){"use strict";var r=(0,n(67294).createContext)({});e.Z=r},21584:function(t,e,n){"use strict";var r=n(4942),o=n(87462),c=n(71002),a=n(94184),i=n.n(a),l=n(67294),s=n(53124),f=n(99134),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},p=["xs","sm","md","lg","xl","xxl"],d=l.forwardRef(function(t,e){var n,a=l.useContext(s.E_),d=a.getPrefixCls,v=a.direction,m=l.useContext(f.Z),Z=m.gutter,h=m.wrap,y=m.supportFlexGap,g=t.prefixCls,x=t.span,b=t.order,w=t.offset,O=t.push,C=t.pull,E=t.className,j=t.children,N=t.flex,P=t.style,S=u(t,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),M=d("col",g),T={};p.forEach(function(e){var n,a={},i=t[e];"number"==typeof i?a.span=i:"object"===(0,c.Z)(i)&&(a=i||{}),delete S[e],T=(0,o.Z)((0,o.Z)({},T),(n={},(0,r.Z)(n,"".concat(M,"-").concat(e,"-").concat(a.span),void 0!==a.span),(0,r.Z)(n,"".concat(M,"-").concat(e,"-order-").concat(a.order),a.order||0===a.order),(0,r.Z)(n,"".concat(M,"-").concat(e,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,r.Z)(n,"".concat(M,"-").concat(e,"-push-").concat(a.push),a.push||0===a.push),(0,r.Z)(n,"".concat(M,"-").concat(e,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,r.Z)(n,"".concat(M,"-rtl"),"rtl"===v),n))});var z=i()(M,(n={},(0,r.Z)(n,"".concat(M,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(M,"-order-").concat(b),b),(0,r.Z)(n,"".concat(M,"-offset-").concat(w),w),(0,r.Z)(n,"".concat(M,"-push-").concat(O),O),(0,r.Z)(n,"".concat(M,"-pull-").concat(C),C),n),E,T),L={};if(Z&&Z[0]>0){var R=Z[0]/2;L.paddingLeft=R,L.paddingRight=R}if(Z&&Z[1]>0&&!y){var A=Z[1]/2;L.paddingTop=A,L.paddingBottom=A}return N&&(L.flex="number"==typeof N?"".concat(N," ").concat(N," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(N)?"0 0 ".concat(N):N,!1!==h||L.minWidth||(L.minWidth=0)),l.createElement("div",(0,o.Z)({},S,{style:(0,o.Z)((0,o.Z)({},L),P),className:z,ref:e}),j)});e.Z=d},92820:function(t,e,n){"use strict";var r=n(87462),o=n(4942),c=n(71002),a=n(97685),i=n(94184),l=n.n(i),s=n(67294),f=n(53124),u=n(98082),p=n(24308),d=n(93355),v=n(99134),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};function Z(t,e){var n=s.useState("string"==typeof t?t:""),r=(0,a.Z)(n,2),o=r[0],i=r[1],l=function(){if("object"===(0,c.Z)(t))for(var n=0;n0?-($[0]/2):void 0,q=null!=$[1]&&$[1]>0?-($[1]/2):void 0;if(H&&(G.marginLeft=H,G.marginRight=H),V){var D=(0,a.Z)($,2);G.rowGap=D[1]}else q&&(G.marginTop=q,G.marginBottom=q);var J=(0,a.Z)($,2),Q=J[0],K=J[1],U=s.useMemo(function(){return{gutter:[Q,K],wrap:C,supportFlexGap:V}},[Q,K,C,V]);return s.createElement(v.Z.Provider,{value:U},s.createElement("div",(0,r.Z)({},E,{className:F,style:(0,r.Z)((0,r.Z)({},G),x),ref:e}),b))});e.Z=h},71230:function(t,e,n){"use strict";var r=n(92820);e.Z=r.Z},27561:function(t,e,n){var r=n(67990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),o=n(7771),c=n(14841),a=Math.max,i=Math.min;t.exports=function(t,e,n){var l,s,f,u,p,d,v=0,m=!1,Z=!1,h=!0;if("function"!=typeof t)throw TypeError("Expected a function");function y(e){var n=l,r=s;return l=s=void 0,v=e,u=t.apply(r,n)}function g(t){var n=t-d,r=t-v;return void 0===d||n>=e||n<0||Z&&r>=f}function x(){var t,n,r,c=o();if(g(c))return b(c);p=setTimeout(x,(t=c-d,n=c-v,r=e-t,Z?i(r,f-n):r))}function b(t){return(p=void 0,h&&l)?y(t):(l=s=void 0,u)}function w(){var t,n=o(),r=g(n);if(l=arguments,s=this,d=n,r){if(void 0===p)return v=t=d,p=setTimeout(x,e),m?y(t):u;if(Z)return clearTimeout(p),p=setTimeout(x,e),y(d)}return void 0===p&&(p=setTimeout(x,e)),u}return e=c(e)||0,r(n)&&(m=!!n.leading,f=(Z="maxWait"in n)?a(c(n.maxWait)||0,e):f,h="trailing"in n?!!n.trailing:h),w.cancel=function(){void 0!==p&&clearTimeout(p),v=0,l=d=s=p=void 0},w.flush=function(){return void 0===p?u:b(o())},w}},33448:function(t,e,n){var r=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639);t.exports=function(){return r.Date.now()}},14841:function(t,e,n){var r=n(27561),o=n(13218),c=n(33448),a=0/0,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(c(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=l.test(t);return n||s.test(t)?f(t.slice(2),n?2:8):i.test(t)?a:+t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-5882a683fda1d28b.js b/static/web/_next/static/chunks/pages/_app-5882a683fda1d28b.js deleted file mode 100644 index fcc19265b..000000000 --- a/static/web/_next/static/chunks/pages/_app-5882a683fda1d28b.js +++ /dev/null @@ -1,14 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return C},cyan:function(){return E},geekblue:function(){return Z},generate:function(){return f},gold:function(){return g},green:function(){return x},grey:function(){return N},lime:function(){return w},magenta:function(){return k},orange:function(){return y},presetDarkPalettes:function(){return h},presetPalettes:function(){return p},presetPrimaryColors:function(){return d},purple:function(){return S},red:function(){return m},volcano:function(){return v},yellow:function(){return b}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function c(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function s(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:c(d,f,!0),s:s(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var m=a(r),v=l((0,o.uA)({h:c(m,h),s:s(m,h),v:u(m,h)}));n.push(v)}return"dark"===t.theme?i.map(function(e){var r,i,a,c=e.index,s=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[c]),a=100*s/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]});var m=p.red,v=p.volcano,g=p.gold,y=p.orange,b=p.yellow,w=p.lime,x=p.green,E=p.cyan,C=p.blue,Z=p.geekblue,S=p.purple,k=p.magenta,N=p.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),l=n(67294),c=n(94184),s=n.n(c),u=n(63017),f=n(71002),d=n(92138),p=n(80334),h=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"==typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t},{})}function g(e){return(0,d.generate)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",t=(0,l.useContext)(u.Z).csp;(0,l.useEffect)(function(){(0,h.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,n=e.icon,o=e.className,i=e.onClick,c=e.style,s=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),d=x;if(s&&(d={primaryColor:s,secondaryColor:u||g(s)}),b(),t=m(n),(0,p.ZP)(t,"[@ant-design/icons] ".concat("icon should be icon definiton, but got ".concat(n))),!m(n))return null;var h=n;return h&&"function"==typeof h.icon&&(h=(0,r.Z)((0,r.Z)({},h),{},{icon:h.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,o){return o?l.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},v(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,r.Z)({key:n},v(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(h.icon,"svg-".concat(h.name),(0,r.Z)({className:o,onClick:i,style:c,"data-icon":h.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f))};function C(e){var t=y(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return E.setTwoToneColors({primaryColor:r,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,r.Z)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||g(t),x.calculated=!!n};var Z=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var S=l.forwardRef(function(e,t){var n,c=e.className,f=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,m=e.onClick,v=e.twoToneColor,g=(0,a.Z)(e,Z),b=l.useContext(u.Z),w=b.prefixCls,x=void 0===w?"anticon":w,C=b.rootClassName,S=s()(C,x,(n={},(0,i.Z)(n,"".concat(x,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(x,"-spin"),!!d||"loading"===f.name),n),c),k=h;void 0===k&&m&&(k=-1);var N=y(v),_=(0,o.Z)(N,2),T=_[0],O=_[1];return l.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:k,onClick:m,className:S}),l.createElement(E,{icon:f,primaryColor:T,secondaryColor:O,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=C;var k=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleFilled";var c=o.forwardRef(l)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckCircleOutlined";var c=o.forwardRef(l)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CheckOutlined";var c=o.forwardRef(l)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleFilled";var c=o.forwardRef(l)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseCircleOutlined";var c=o.forwardRef(l)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CloseOutlined";var c=o.forwardRef(l)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CopyOutlined";var c=o.forwardRef(l)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="DownOutlined";var c=o.forwardRef(l)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EditOutlined";var c=o.forwardRef(l)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EllipsisOutlined";var c=o.forwardRef(l)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleFilled";var c=o.forwardRef(l)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="ExclamationCircleOutlined";var c=o.forwardRef(l)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeInvisibleOutlined";var c=o.forwardRef(l)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EyeOutlined";var c=o.forwardRef(l)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleFilled";var c=o.forwardRef(l)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="InfoCircleOutlined";var c=o.forwardRef(l)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LeftOutlined";var c=o.forwardRef(l)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LoadingOutlined";var c=o.forwardRef(l)},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="MessageOutlined";var c=o.forwardRef(l)},25035:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="QuestionCircleOutlined";var c=o.forwardRef(l)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="RightOutlined";var c=o.forwardRef(l)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="SearchOutlined";var c=o.forwardRef(l)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="WarningOutlined";var c=o.forwardRef(l)},86500:function(e,t,n){"use strict";n.d(t,{GC:function(){return d},T6:function(){return h},VD:function(){return m},WE:function(){return s},Wl:function(){return p},Yt:function(){return v},lC:function(){return i},py:function(){return c},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,c=(o+i)/2;if(o===i)l=0,a=0;else{var s=o-i;switch(l=c>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,c=n<.5?n*(1+t):n+t-n*t,s=2*n-c;o=a(s,c,e+1/3),i=a(s,c,e),l=a(s,c,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function c(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{ky:function(){return d},uA:function(){return a},uz:function(){return f}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,l=null,c=!1,s=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),c=!0,s="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),l=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,l),c=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:RegExp(l),rgb:RegExp("rgb"+c),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+c),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+c),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l},H:function(){return c}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924),l=n(42550),c=o.createContext(null),s=n(74902),u=n(8410),f=[],d=n(44958),p=n(74204),h="rc-util-locker-".concat(Date.now()),m=0,v=!1,g=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},y=o.forwardRef(function(e,t){var n,y,b,w,x=e.open,E=e.autoLock,C=e.getContainer,Z=(e.debug,e.autoDestroy),S=void 0===Z||Z,k=e.children,N=o.useState(x),_=(0,r.Z)(N,2),T=_[0],O=_[1],P=T||x;o.useEffect(function(){(S||x)&&O(x)},[x,S]);var A=o.useState(function(){return g(C)}),R=(0,r.Z)(A,2),M=R[0],j=R[1];o.useEffect(function(){var e=g(C);j(null!=e?e:null)});var L=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useContext(c),d=o.useState(f),p=(0,r.Z)(d,2),h=p[0],m=p[1];function v(){i.parentElement||document.body.appendChild(i)}function g(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i)}return(0,u.Z)(function(){return e?l?l(v):v():g(),g},[e]),(0,u.Z)(function(){h.length&&(h.forEach(function(e){return e()}),m(f))},[h]),[i,l||function(e){m(function(t){return[e].concat((0,s.Z)(t))})}]}(P&&!M,0),F=(0,r.Z)(L,2),I=F[0],V=F[1],D=null!=M?M:I;n=!!(E&&x&&(0,a.Z)()&&(D===I||D===document.body)),y=o.useState(function(){return m+=1,"".concat(h,"_").concat(m)}),b=(0,r.Z)(y,1)[0],(0,u.Z)(function(){if(n){var e=(0,p.Z)(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,d.jL)(b);return function(){(0,d.jL)(b)}},[n,b]);var z=null;k&&(0,l.Yr)(k)&&t&&(z=k.ref);var U=(0,l.x1)(z,t);if(!P||!(0,a.Z)()||void 0===M)return null;var B=!1===D||("boolean"==typeof w&&(v=w),v),H=k;return t&&(H=o.cloneElement(k,{ref:U})),o.createElement(c.Provider,{value:V},B?H:(0,i.createPortal)(H,D))})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(30470),a=n(67294),l=n(71577),c=n(6134);t.Z=function(e){var t=a.useRef(!1),n=a.useRef(null),s=(0,i.Z)(!1),u=(0,o.Z)(s,2),f=u[0],d=u[1],p=e.close,h=function(){null==p||p.apply(void 0,arguments)};a.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;null===(e=n.current)||void 0===e||e.focus()})),function(){t&&clearTimeout(t)}},[]);var m=function(e){e&&e.then&&(d(!0),e.then(function(){d(!1,!0),h.apply(void 0,arguments),t.current=!1},function(e){console.error(e),d(!1,!0),t.current=!1}))},v=e.type,g=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(l.Z,(0,r.Z)({},(0,c.n)(v),{onClick:function(n){var r,o,i=e.actionFn;if(!t.current){if(t.current=!0,!i){h();return}if(e.emitEvent){if(o=i(n),e.quitOnNullishReturnValue&&!((r=o)&&r.then)){t.current=!1,h(n);return}}else if(i.length)o=i(p),t.current=!1;else if(!(o=i())){h();return}m(o)}},loading:f,prefixCls:y},b,{ref:n}),g)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce(function(t,n){return(n.startsWith("data-")||n.startsWith("aria-")||"role"===n)&&!n.startsWith("data-__")&&(t[n]=e[n]),t},{})}n.d(t,{Z:function(){return r}})},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"==typeof e?e():e:null}},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect(function(){a((0,i.fk)())},[]),n}},33603:function(e,t,n){"use strict";n.d(t,{mL:function(){return c},q0:function(){return l}});var r=n(93355),o=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,r.b)("bottomLeft","bottomRight","topLeft","topRight");var l=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"},c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:o,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},l=[0,0];function c(e){return"boolean"==typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function s(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,s=e.verticalArrowShift,u=void 0===s?8:s,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(u+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(u+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,u+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,u+n]}};return Object.keys(p).forEach(function(e){p[e]=d?(0,r.Z)((0,r.Z)({},p[e]),{overflow:c(f),targetOffset:l}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:c(f)}),p[e].ignoreShake=!0}),p}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return l},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e){return e&&o(e)&&e.type===r.Fragment}function a(e,t,n){return o(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}function l(e,t){return a(e,e,t)}},9708:function(e,t,n){"use strict";n.d(t,{F:function(){return l},Z:function(){return a}});var r=n(4942),o=n(94184),i=n.n(o);function a(e,t,n){var o;return i()((o={},(0,r.Z)(o,"".concat(e,"-status-success"),"success"===t),(0,r.Z)(o,"".concat(e,"-status-warning"),"warning"===t),(0,r.Z)(o,"".concat(e,"-status-error"),"error"===t),(0,r.Z)(o,"".concat(e,"-status-validating"),"validating"===t),(0,r.Z)(o,"".concat(e,"-has-feedback"),n),o))}(0,n(93355).b)("warning","error","");var l=function(e,t){return t||e}},31808:function(e,t,n){"use strict";n.d(t,{fk:function(){return a},jD:function(){return i}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{a:function(){return o},b:function(){return r}});var r=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;return m[n]=(0,p.Z)(function t(){(r-=1)<=0?(e(),delete m[n]):m[n]=(0,p.Z)(t)}),n}v.cancel=function(e){void 0!==e&&(p.Z.cancel(m[e]),delete m[e])},v.ids=m;var g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}var b=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,o.Z)(this,n),e=t.apply(this,arguments),e.containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var o,i,l=e.props,c=l.insertExtraNode;if(!(l.disabled||!t||y(t)||t.className.includes("-leave"))){e.extraNode=document.createElement("div");var u=(0,a.Z)(e).extraNode,f=e.context.getPrefixCls;u.className="".concat(f(""),"-click-animating-node");var d=e.getAttributeName();if(t.setAttribute(d,"true"),n&&"#fff"!==n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&"rgba(255, 255, 255, 1)"!==n&&(!(p=(n||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/))||!p[1]||!p[2]||!p[3]||!(p[1]===p[2]&&p[2]===p[3]))&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var p,h=(null===(o=t.getRootNode)||void 0===o?void 0:o.call(t))||t.ownerDocument,m=null!==(i=h instanceof Document?h.body:Array.from(h.childNodes).find(function(e){return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE}))&&void 0!==i?i:h;r=(0,s.hq)("\n [".concat(f(""),"-click-animating-without-extra-node='true']::after, .").concat(f(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:m})}c&&t.appendChild(u),["transition","animation"].forEach(function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)})}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(!(!t||!t.getAttribute||t.getAttribute("disabled")||t.className.includes("disabled"))){var n=function(n){if(!("INPUT"===n.target.tagName||y(n.target))){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout(function(){return e.onClick(t,r)},0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v(function(){e.animationStart=!1},10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!f.isValidElement(r))return r;var o=e.containerRef;return(0,u.Yr)(r)&&(o=(0,u.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls;return this.props.insertExtraNode?"".concat(e(""),"-click-animating"):"".concat(e(""),"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,o=this.getAttributeName();e.setAttribute(o,"false"),r&&(r.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach(function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)})}}},{key:"render",value:function(){return f.createElement(d.C,null,this.renderWave)}}]),n}(f.Component);b.contextType=d.E_;var w=b},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(87462),o=n(97685),i=n(4942),a=n(89739),l=n(8751),c=n(4340),s=n(18429),u=n(97937),f=n(21640),d=n(11475),p=n(78860),h=n(45605),m=n(94184),v=n.n(m),g=n(62874),y=n(67294),b=n(53124),w=n(5467),x=n(96159),E=n(15671),C=n(43144),Z=n(60136),S=n(33643),k=function(e){(0,Z.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;return(0,E.Z)(this,n),e=t.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,C.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,a=o.info,l=a&&a.componentStack?a.componentStack:null,c=void 0===t?(i||"").toString():t;return i?y.createElement(R,{type:"error",message:c,description:y.createElement("pre",null,void 0===n?l:n)}):r}}]),n}(y.Component),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_={success:a.Z,info:p.Z,error:c.Z,warning:f.Z},T={success:l.Z,info:h.Z,error:s.Z,warning:d.Z},O=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=(t?T:_)[e.type]||null;return n?(0,x.wm)(n,y.createElement("span",{className:"".concat(r,"-icon")},n),function(){return{className:v()("".concat(r,"-icon"),(0,i.Z)({},n.props.className,n.props.className))}}):y.createElement(o,{className:"".concat(r,"-icon")})},P=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,i=e.handleClose;return t?y.createElement("button",{type:"button",onClick:i,className:"".concat(r,"-close-icon"),tabIndex:0},n?y.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},A=function(e){var t,n,a=e.description,l=e.prefixCls,c=e.message,s=e.banner,f=e.className,d=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,x=e.afterClose,E=e.showIcon,C=e.closable,Z=e.closeText,S=e.closeIcon,k=void 0===S?y.createElement(u.Z,null):S,_=e.action,T=N(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),A=y.useState(!1),R=(0,o.Z)(A,2),M=R[0],j=R[1],L=y.useRef(),F=y.useContext(b.E_),I=F.getPrefixCls,V=F.direction,D=I("alert",l),z=function(e){var t;j(!0),null===(t=T.onClose)||void 0===t||t.call(T,e)},U=!!Z||C,B=void 0!==(t=T.type)?t:s?"warning":"info",H=!!s&&void 0===E||E,W=v()(D,"".concat(D,"-").concat(B),(n={},(0,i.Z)(n,"".concat(D,"-with-description"),!!a),(0,i.Z)(n,"".concat(D,"-no-icon"),!H),(0,i.Z)(n,"".concat(D,"-banner"),!!s),(0,i.Z)(n,"".concat(D,"-rtl"),"rtl"===V),n),void 0===f?"":f),q=(0,w.Z)(T);return y.createElement(g.Z,{visible:!M,motionName:"".concat(D,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:x},function(e){var t=e.className,n=e.style;return y.createElement("div",(0,r.Z)({ref:L,"data-show":!M,className:v()(W,t),style:(0,r.Z)((0,r.Z)({},d),n),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},q),H?y.createElement(O,{description:a,icon:T.icon,prefixCls:D,type:B}):null,y.createElement("div",{className:"".concat(D,"-content")},c?y.createElement("div",{className:"".concat(D,"-message")},c):null,a?y.createElement("div",{className:"".concat(D,"-description")},a):null),_?y.createElement("div",{className:"".concat(D,"-action")},_):null,y.createElement(P,{isClosable:!!U,closeText:Z,prefixCls:D,closeIcon:k,handleClose:z}))})};A.ErrorBoundary=k;var R=A},6134:function(e,t,n){"use strict";n.d(t,{n:function(){return T},Z:function(){return P}});var r=n(87462),o=n(4942),i=n(97685),a=n(71002),l=n(94184),c=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98866),p=n(97647),h=n(4173),m=n(96159),v=n(93355),g=n(68349),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=u.createContext(void 0),w=n(50888),x=n(62874),E=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}},Z=function(e){var t=e.prefixCls,n=e.loading;return e.existIcon?u.createElement("span",{className:"".concat(t,"-loading-icon")},u.createElement(w.Z,null)):u.createElement(x.Z,{visible:!!n,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:E,onAppearActive:C,onEnterStart:E,onEnterActive:C,onLeaveStart:C,onLeaveActive:E},function(e,n){var r=e.className,o=e.style;return u.createElement("span",{className:"".concat(t,"-loading-icon"),style:o,ref:n},u.createElement(w.Z,{className:r}))})},S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},k=/^[\u4e00-\u9fa5]{2}$/,N=k.test.bind(k);function _(e){return"text"===e||"link"===e}function T(e){return"danger"===e?{danger:!0}:{type:e}}(0,v.b)("default","primary","ghost","dashed","link","text"),(0,v.b)("default","circle","round"),(0,v.b)("submit","button","reset");var O=u.forwardRef(function(e,t){var n,l,v,y,w=e.loading,x=void 0!==w&&w,E=e.prefixCls,C=e.type,k=void 0===C?"default":C,T=e.danger,O=e.shape,P=void 0===O?"default":O,A=e.size,R=e.disabled,M=e.className,j=e.children,L=e.icon,F=e.ghost,I=e.block,V=e.htmlType,D=S(e,["loading","prefixCls","type","danger","shape","size","disabled","className","children","icon","ghost","block","htmlType"]),z=u.useContext(p.Z),U=u.useContext(d.Z),B=null!=R?R:U,H=u.useContext(b),W=u.useState(!!x),q=(0,i.Z)(W,2),$=q[0],K=q[1],G=u.useState(!1),Y=(0,i.Z)(G,2),Q=Y[0],X=Y[1],J=u.useContext(f.E_),ee=J.getPrefixCls,et=J.autoInsertSpaceInButton,en=J.direction,er=t||u.createRef(),eo=function(){return 1===u.Children.count(j)&&!L&&!_(k)},ei="boolean"==typeof x?x:(null==x?void 0:x.delay)||!0;u.useEffect(function(){var e=null;return"number"==typeof ei?e=window.setTimeout(function(){e=null,K(ei)},ei):K(ei),function(){e&&(window.clearTimeout(e),e=null)}},[ei]),u.useEffect(function(){if(er&&er.current&&!1!==et){var e=er.current.textContent;eo()&&N(e)?Q||X(!0):Q&&X(!1)}},[er]);var ea=function(t){var n=e.onClick;if($||B){t.preventDefault();return}null==n||n(t)},el=ee("btn",E),ec=!1!==et,es=(0,h.ri)(el,en),eu=es.compactSize,ef=es.compactItemClassnames,ed=eu||H||A||z,ep=ed&&({large:"lg",small:"sm",middle:void 0})[ed]||"",eh=(0,s.Z)(D,["navigate"]),em=c()(el,(y={},(0,o.Z)(y,"".concat(el,"-").concat(P),"default"!==P&&P),(0,o.Z)(y,"".concat(el,"-").concat(k),k),(0,o.Z)(y,"".concat(el,"-").concat(ep),ep),(0,o.Z)(y,"".concat(el,"-icon-only"),!j&&0!==j&&!!($?"loading":L)),(0,o.Z)(y,"".concat(el,"-background-ghost"),void 0!==F&&F&&!_(k)),(0,o.Z)(y,"".concat(el,"-loading"),$),(0,o.Z)(y,"".concat(el,"-two-chinese-chars"),Q&&ec&&!$),(0,o.Z)(y,"".concat(el,"-block"),void 0!==I&&I),(0,o.Z)(y,"".concat(el,"-dangerous"),!!T),(0,o.Z)(y,"".concat(el,"-rtl"),"rtl"===en),(0,o.Z)(y,"".concat(el,"-disabled"),void 0!==eh.href&&B),y),ef,M),ev=L&&!$?L:u.createElement(Z,{existIcon:!!L,prefixCls:el,loading:!!$}),eg=j||0===j?(n=eo()&&ec,l=!1,v=[],u.Children.forEach(j,function(e){var t=(0,a.Z)(e),n="string"===t||"number"===t;if(l&&n){var r=v.length-1,o=v[r];v[r]="".concat(o).concat(e)}else v.push(e);l=n}),u.Children.map(v,function(e){return function(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&N(e.props.children)?(0,m.Tm)(e,{children:e.props.children.split("").join(n)}):"string"==typeof e?N(e)?u.createElement("span",null,e.split("").join(n)):u.createElement("span",null,e):(0,m.M2)(e)?u.createElement("span",null,e):e}}(e,n)})):null;if(void 0!==eh.href)return u.createElement("a",(0,r.Z)({},eh,{className:em,onClick:ea,ref:er}),ev,eg);var ey=u.createElement("button",(0,r.Z)({},D,{type:void 0===V?"button":V,className:em,onClick:ea,disabled:B,ref:er}),ev,eg);return _(k)?ey:u.createElement(g.Z,{disabled:!!$},ey)});O.Group=function(e){var t,n=u.useContext(f.E_),i=n.getPrefixCls,a=n.direction,l=e.prefixCls,s=e.size,d=e.className,p=y(e,["prefixCls","size","className"]),h=i("btn-group",l),m="";switch(s){case"large":m="lg";break;case"small":m="sm"}var v=c()(h,(t={},(0,o.Z)(t,"".concat(h,"-").concat(m),m),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===a),t),d);return u.createElement(b.Provider,{value:s},u.createElement("div",(0,r.Z)({},p,{className:v})))},O.__ANT_BUTTON=!0;var P=O},71577:function(e,t,n){"use strict";var r=n(6134);t.Z=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294),o=r.createContext(!1),i=function(e){var t=e.children,n=e.disabled,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,function(e){return r.createElement(o.Provider,{value:n||e},t)})};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{C:function(){return a},E_:function(){return i},PG:function(){return l}});var r=n(87462),o=n(67294),i=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}}),a=i.Consumer;function l(e){return function(t){var n=t.constructor;return n&&n.displayName||t.name,function(n){return o.createElement(a,null,function(i){var a=e.prefixCls,l=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:l}))})}}}},38080:function(e,t,n){"use strict";n.d(t,{ZP:function(){return et},w6:function(){return X}});var r,o,i,a,l,c=n(87462),s=n(63017),u=n(71990),f=n(56982),d=n(67294),p=n(83008),h=n(67178),m=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__,d.useEffect(function(){return(0,p.f)(n&&n.Modal),function(){(0,p.f)()}},[n]);var o=d.useMemo(function(){return(0,c.Z)((0,c.Z)({},n),{exist:!0})},[n]);return d.createElement(h.Z.Provider,{value:o},r)},v=n(23715),g=n(6213),y=n(12461),b=n(4942),w=n(8751),x=n(18429),E=n(97937),C=n(11475),Z=n(45605),S=n(94184),k=n.n(S),N=n(91127),_=n(97685),T=n(51550),O=n(53124),P={},A=4.5,R=24,M=24,j="",L="topRight",F=!1;function I(e,t){var n=e.placement,o=void 0===n?L:n,a=e.top,l=e.bottom,c=e.getContainer,s=void 0===c?r:c,u=e.prefixCls,f=X(),d=f.getPrefixCls,p=f.getIconPrefixCls,h=d("notification",u||j),m=p(),v="".concat(h,"-").concat(o),g=P[v];if(g){Promise.resolve(g).then(function(e){t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:e})});return}var y=k()("".concat(h,"-").concat(o),(0,b.Z)({},"".concat(h,"-rtl"),!0===F));P[v]=new Promise(function(e){N.default.newInstance({prefixCls:h,className:y,style:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}(o,a,l),getContainer:s,maxCount:i},function(n){e(n),t({prefixCls:"".concat(h,"-notice"),iconPrefixCls:m,instance:n})})})}var V={success:w.Z,info:Z.Z,error:x.Z,warning:C.Z};function D(e,t,n){var r=e.duration,i=e.icon,a=e.type,l=e.description,c=e.message,s=e.btn,u=e.onClose,f=e.onClick,p=e.key,h=e.style,m=e.className,v=e.closeIcon,g=e.props,y=void 0===r?A:r,w=null;i?w=d.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(w=d.createElement(V[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var x=d.createElement("span",{className:"".concat(t,"-close-x")},(void 0===v?o:v)||d.createElement(E.Z,{className:"".concat(t,"-close-icon")})),C=!l&&w?d.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:d.createElement(et,{iconPrefixCls:n},d.createElement("div",{className:w?"".concat(t,"-with-icon"):"",role:"alert"},w,d.createElement("div",{className:"".concat(t,"-message")},C,c),d.createElement("div",{className:"".concat(t,"-description")},l),s?d.createElement("span",{className:"".concat(t,"-btn")},s):null)),duration:y,closable:!0,closeIcon:x,onClose:u,onClick:f,key:p,style:h||{},className:k()(m,(0,b.Z)({},"".concat(t,"-").concat(a),!!a)),props:g}}var z={open:function(e){I(e,function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(D(e,n,r))})},close:function(e){Object.keys(P).forEach(function(t){return Promise.resolve(P[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,a=e.bottom,l=e.top,c=e.getContainer,s=e.closeIcon,u=e.prefixCls;void 0!==u&&(j=u),void 0!==t&&(A=t),void 0!==n?L=n:e.rtl&&(L="topLeft"),void 0!==a&&(M=a),void 0!==l&&(R=l),void 0!==c&&(r=c),void 0!==s&&(o=s),void 0!==e.rtl&&(F=e.rtl),void 0!==e.maxCount&&(i=e.maxCount)},destroy:function(){Object.keys(P).forEach(function(e){Promise.resolve(P[e]).then(function(e){e.destroy()}),delete P[e]})}};["success","info","warning","error"].forEach(function(e){z[e]=function(t){return z.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),z.warn=z.warning,z.useNotification=function(){var e,t=null,n=(0,T.Z)({add:function(e,n){null==t||t.component.add(e,n)}}),r=(0,_.Z)(n,2),o=r[0],i=r[1],a=d.useRef({});return a.current.open=function(n){var r=e("notification",n.prefixCls);I((0,c.Z)((0,c.Z)({},n),{prefixCls:r}),function(e){var r=e.prefixCls;t=e.instance,o(D(n,r))})},["success","info","warning","error"].forEach(function(e){a.current[e]=function(t){return a.current.open((0,c.Z)((0,c.Z)({},t),{type:e}))}}),[a.current,d.createElement(O.C,{key:"holder"},function(t){return e=t.getPrefixCls,i})]};var U=n(92138),B=n(10274),H=n(98924),W=n(44958),q="-ant-".concat(Date.now(),"-").concat(Math.random()),$=n(98866),K=n(97647),G=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function Y(){return a||"ant"}function Q(){return l||"anticon"}var X=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(Y(),"-").concat(e):Y())},getIconPrefixCls:Q,getRootPrefixCls:function(e,t){return e||a||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):Y())}}},J=function(e){var t,n,r=e.children,o=e.csp,i=e.autoInsertSpaceInButton,a=e.form,l=e.locale,p=e.componentSize,h=e.direction,v=e.space,y=e.virtual,b=e.dropdownMatchSelectWidth,w=e.legacyLocale,x=e.parentContext,E=e.iconPrefixCls,C=e.componentDisabled,Z=d.useCallback(function(t,n){var r=e.prefixCls;if(n)return n;var o=r||x.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[x.getPrefixCls,e.prefixCls]),S=(0,c.Z)((0,c.Z)({},x),{csp:o,autoInsertSpaceInButton:i,locale:l||w,direction:h,space:v,virtual:y,dropdownMatchSelectWidth:b,getPrefixCls:Z});G.forEach(function(t){var n=e[t];n&&(S[t]=n)});var k=(0,f.Z)(function(){return S},S,function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(function(n){return e[n]!==t[n]})}),N=d.useMemo(function(){return{prefixCls:E,csp:o}},[E,o]),_=r,T={};return l&&(T=(null===(t=l.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=g.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),a&&a.validateMessages&&(T=(0,c.Z)((0,c.Z)({},T),a.validateMessages)),Object.keys(T).length>0&&(_=d.createElement(u.FormProvider,{validateMessages:T},r)),l&&(_=d.createElement(m,{locale:l,_ANT_MARK__:"internalMark"},_)),(E||o)&&(_=d.createElement(s.Z.Provider,{value:N},_)),p&&(_=d.createElement(K.q,{size:p},_)),void 0!==C&&(_=d.createElement($.n,{disabled:C},_)),d.createElement(O.E_.Provider,{value:k},_)},ee=function(e){return d.useEffect(function(){e.direction&&(y.ZP.config({rtl:"rtl"===e.direction}),z.config({rtl:"rtl"===e.direction}))},[e.direction]),d.createElement(v.Z,null,function(t,n,r){return d.createElement(O.C,null,function(t){return d.createElement(J,(0,c.Z)({parentContext:t,legacyLocale:r},e))})})};ee.ConfigContext=O.E_,ee.SizeContext=K.Z,ee.config=function(e){var t,n=e.prefixCls,r=e.iconPrefixCls,o=e.theme;void 0!==n&&(a=n),void 0!==r&&(l=r),o&&(t=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new B.C(e),i=(0,U.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[6],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[0],n["".concat(t,"-color-deprecated-border")]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new B.C(t.primaryColor),a=(0,U.generate)(i.toRgbString());a.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(i,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=r(i,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=r(i,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=r(i,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=r(i,function(e){return e.setAlpha(.12*e.getAlpha())});var l=new B.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(l,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=r(l,function(e){return e.darken(2)})}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var c=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(c.join("\n"),"\n }\n ").trim()}(Y(),o),(0,H.Z)()&&(0,W.hq)(t,"".concat(q,"-dynamic-theme")))};var et=ee},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return s},Rk:function(){return u},Ux:function(){return d},aM:function(){return f},q3:function(){return l},qI:function(){return c}});var r=n(87462),o=n(71990),i=n(98423),a=n(67294),l=a.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=a.createContext(null),s=function(e){var t=(0,i.Z)(e,["prefixCls"]);return a.createElement(o.FormProvider,(0,r.Z)({},t))},u=a.createContext({prefixCls:""}),f=a.createContext({}),d=function(e){var t=e.children,n=e.status,o=e.override,i=(0,a.useContext)(f),l=(0,a.useMemo)(function(){var e=(0,r.Z)({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,o,i]);return a.createElement(f.Provider,{value:l},t)}},82586:function(e,t,n){"use strict";n.d(t,{ZP:function(){return C},D7:function(){return w},rJ:function(){return x},nH:function(){return E}});var r=n(4942),o=n(87462),i=n(71002),a=n(4340),l=n(94184),c=n.n(l),s=n(59775),u=n(42550),f=n(67294),d=n(53124),p=n(98866),h=n(97647),m=n(65223),v=n(4173),g=n(9708),y=n(72922),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function w(e){return null==e?"":String(e)}function x(e,t,n,r){if(n){var o=t;if("click"===t.type){var i=e.cloneNode(!0);o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",n(o);return}if(void 0!==r){o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(o);return}n(o)}}function E(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}var C=(0,f.forwardRef)(function(e,t){var n,l,w,x,E=e.prefixCls,C=e.bordered,Z=void 0===C||C,S=e.status,k=e.size,N=e.disabled,_=e.onBlur,T=e.onFocus,O=e.suffix,P=e.allowClear,A=e.addonAfter,R=e.addonBefore,M=e.className,j=e.onChange,L=b(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","onChange"]),F=f.useContext(d.E_),I=F.getPrefixCls,V=F.direction,D=F.input,z=I("input",E),U=(0,f.useRef)(null),B=(0,v.ri)(z,V),H=B.compactSize,W=B.compactItemClassnames,q=f.useContext(h.Z),$=H||k||q,K=f.useContext(p.Z),G=(0,f.useContext)(m.aM),Y=G.status,Q=G.hasFeedback,X=G.feedbackIcon,J=(0,g.F)(Y,S),ee=!!(e.prefix||e.suffix||e.allowClear)||!!Q,et=(0,f.useRef)(ee);(0,f.useEffect)(function(){ee&&et.current,et.current=ee},[ee]);var en=(0,y.Z)(U,!0),er=(Q||O)&&f.createElement(f.Fragment,null,O,Q&&X);return"object"===(0,i.Z)(P)&&(null==P?void 0:P.clearIcon)?x=P:P&&(x={clearIcon:f.createElement(a.Z,null)}),f.createElement(s.default,(0,o.Z)({ref:(0,u.sQ)(t,U),prefixCls:z,autoComplete:null==D?void 0:D.autoComplete},L,{disabled:(null!=N?N:K)||void 0,onBlur:function(e){en(),null==_||_(e)},onFocus:function(e){en(),null==T||T(e)},suffix:er,allowClear:x,className:c()(M,W),onChange:function(e){en(),null==j||j(e)},addonAfter:A&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},A)),addonBefore:R&&f.createElement(v.BR,null,f.createElement(m.Ux,{override:!0,status:!0},R)),inputClassName:c()((n={},(0,r.Z)(n,"".concat(z,"-sm"),"small"===$),(0,r.Z)(n,"".concat(z,"-lg"),"large"===$),(0,r.Z)(n,"".concat(z,"-rtl"),"rtl"===V),(0,r.Z)(n,"".concat(z,"-borderless"),!Z),n),!ee&&(0,g.Z)(z,J)),affixWrapperClassName:c()((l={},(0,r.Z)(l,"".concat(z,"-affix-wrapper-sm"),"small"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-lg"),"large"===$),(0,r.Z)(l,"".concat(z,"-affix-wrapper-rtl"),"rtl"===V),(0,r.Z)(l,"".concat(z,"-affix-wrapper-borderless"),!Z),l),(0,g.Z)("".concat(z,"-affix-wrapper"),J,Q)),wrapperClassName:c()((0,r.Z)({},"".concat(z,"-group-rtl"),"rtl"===V)),groupClassName:c()((w={},(0,r.Z)(w,"".concat(z,"-group-wrapper-sm"),"small"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-lg"),"large"===$),(0,r.Z)(w,"".concat(z,"-group-wrapper-rtl"),"rtl"===V),w),(0,g.Z)("".concat(z,"-group-wrapper"),J,Q))}))})},80173:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(71002),o=n(4942),i=n(87462),a=n(97685),l=n(74902),c=n(94184),s=n.n(c),u=n(57239),f=n(21770),d=n(98423),p=n(67294),h=n(53124),m=n(98866),v=n(97647),g=n(65223),y=n(9708),b=n(15671),w=n(43144),x=n(60136),E=n(33643),C=n(4340),Z=n(96159),S=(0,n(93355).b)("text","input"),k=function(e){(0,x.Z)(n,e);var t=(0,E.Z)(n);function n(){return(0,b.Z)(this,n),t.apply(this,arguments)}return(0,w.Z)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,i=n.disabled,a=n.readOnly,l=n.handleReset,c=n.suffix,u="".concat(e,"-clear-icon");return p.createElement(C.Z,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:s()((t={},(0,o.Z)(t,"".concat(u,"-hidden"),!(!i&&!a&&r)),(0,o.Z)(t,"".concat(u,"-has-suffix"),!!c),t),u),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,i,a=this.props,l=a.value,c=a.allowClear,u=a.className,f=a.style,d=a.direction,h=a.bordered,m=a.hidden,v=a.status,g=n.status,b=n.hasFeedback;if(!c)return(0,Z.Tm)(t,{value:l});var w=s()("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,y.Z)("".concat(e,"-affix-wrapper"),(0,y.F)(g,v),b),(i={},(0,o.Z)(i,"".concat(e,"-affix-wrapper-rtl"),"rtl"===d),(0,o.Z)(i,"".concat(e,"-affix-wrapper-borderless"),!h),(0,o.Z)(i,"".concat(u),!((r=this.props).addonBefore||r.addonAfter)&&u),i));return p.createElement("span",{className:w,style:f,hidden:m},(0,Z.Tm)(t,{style:null,value:l}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return p.createElement(g.aM.Consumer,null,function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===S[0])return e.renderTextAreaWithClearIcon(r,i,t)})}}]),n}(p.Component),N=n(82586),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function T(e,t){return(0,l.Z)(e||"").slice(0,t).join("")}function O(e,t,n,r){var o=n;return e?o=T(n,r):(0,l.Z)(t||"").lengthr&&(o=t),o}var P=p.forwardRef(function(e,t){var n=e.prefixCls,c=e.bordered,b=void 0===c||c,w=e.showCount,x=void 0!==w&&w,E=e.maxLength,C=e.className,Z=e.style,S=e.size,P=e.disabled,A=e.onCompositionStart,R=e.onCompositionEnd,M=e.onChange,j=e.status,L=_(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),F=p.useContext(h.E_),I=F.getPrefixCls,V=F.direction,D=p.useContext(v.Z),z=p.useContext(m.Z),U=null!=P?P:z,B=p.useContext(g.aM),H=B.status,W=B.hasFeedback,q=B.isFormItemInput,$=B.feedbackIcon,K=(0,y.F)(H,j),G=p.useRef(null),Y=p.useRef(null),Q=p.useState(!1),X=(0,a.Z)(Q,2),J=X[0],ee=X[1],et=p.useRef(),en=p.useRef(0),er=(0,f.Z)(L.defaultValue,{value:L.value}),eo=(0,a.Z)(er,2),ei=eo[0],ea=eo[1],el=L.hidden,ec=function(e,t){void 0===L.value&&(ea(e),null==t||t())},es=Number(E)>0,eu=I("input",n);p.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=G.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,N.nH)(null===(n=null===(t=G.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=G.current)||void 0===e?void 0:e.blur()}}});var ef=p.createElement(u.default,(0,i.Z)({},(0,d.Z)(L,["allowClear"]),{disabled:U,className:s()((eh={},(0,o.Z)(eh,"".concat(eu,"-borderless"),!b),(0,o.Z)(eh,C,C&&!x),(0,o.Z)(eh,"".concat(eu,"-sm"),"small"===D||"small"===S),(0,o.Z)(eh,"".concat(eu,"-lg"),"large"===D||"large"===S),eh),(0,y.Z)(eu,K)),style:x?{resize:null==Z?void 0:Z.resize}:Z,prefixCls:eu,onCompositionStart:function(e){ee(!0),et.current=ei,en.current=e.currentTarget.selectionStart,null==A||A(e)},onChange:function(e){var t=e.target.value;!J&&es&&(t=O(e.target.selectionStart>=E+1||e.target.selectionStart===t.length||!e.target.selectionStart,ei,t,E)),ec(t),(0,N.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;es&&(n=O(en.current>=E+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,E)),n!==ei&&(ec(n),(0,N.rJ)(e.currentTarget,e,M,n)),null==R||R(e)},ref:G})),ed=(0,N.D7)(ei);!J&&es&&(null===L.value||void 0===L.value)&&(ed=T(ed,E));var ep=p.createElement(k,(0,i.Z)({disabled:U},L,{prefixCls:eu,direction:V,inputType:"text",value:ed,element:ef,handleReset:function(e){var t,n,r;ec(""),null===(t=G.current)||void 0===t||t.focus(),(0,N.rJ)(null===(r=null===(n=G.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,M)},ref:Y,bordered:b,status:j,style:x?void 0:Z}));if(x||W){var eh,em,ev=(0,l.Z)(ed).length,eg="";return eg="object"===(0,r.Z)(x)?x.formatter({value:ed,count:ev,maxLength:E}):"".concat(ev).concat(es?" / ".concat(E):""),p.createElement("div",{hidden:el,className:s()("".concat(eu,"-textarea"),(em={},(0,o.Z)(em,"".concat(eu,"-textarea-rtl"),"rtl"===V),(0,o.Z)(em,"".concat(eu,"-textarea-show-count"),x),(0,o.Z)(em,"".concat(eu,"-textarea-in-form-item"),q),em),(0,y.Z)("".concat(eu,"-textarea"),K,W),C),style:Z,"data-count":eg},ep,W&&p.createElement("span",{className:"".concat(eu,"-textarea-suffix")},$))}return ep})},72922:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){var n=(0,r.useRef)([]),o=function(){n.current.push(setTimeout(function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))}))};return(0,r.useEffect)(function(){return t&&o(),function(){return n.current.forEach(function(e){e&&clearTimeout(e)})}},[]),o}},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(67294),c=n(53124),s=n(65223),u=n(82586),f=n(97685),d=n(71002),p=n(90420),h=n(99611),m=n(98423),v=n(42550),g=n(72922),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},b=function(e){return e?l.createElement(h.Z,null):l.createElement(p.Z,null)},w={click:"onClick",hover:"onMouseOver"},x=l.forwardRef(function(e,t){var n=e.visibilityToggle,i=void 0===n||n,s="object"===(0,d.Z)(i)&&void 0!==i.visible,p=(0,l.useState)(function(){return!!s&&i.visible}),h=(0,f.Z)(p,2),x=h[0],E=h[1],C=(0,l.useRef)(null);l.useEffect(function(){s&&E(i.visible)},[s,i]);var Z=(0,g.Z)(C),S=function(){e.disabled||(x&&Z(),E(function(e){var t,n=!e;return"object"===(0,d.Z)(i)&&(null===(t=i.onVisibleChange)||void 0===t||t.call(i,n)),n}))},k=function(t){var n,r=e.action,i=e.iconRender,a=w[void 0===r?"click":r]||"",c=(void 0===i?b:i)(x),s=(n={},(0,o.Z)(n,a,S),(0,o.Z)(n,"className","".concat(t,"-icon")),(0,o.Z)(n,"key","passwordIcon"),(0,o.Z)(n,"onMouseDown",function(e){e.preventDefault()}),(0,o.Z)(n,"onMouseUp",function(e){e.preventDefault()}),n);return l.cloneElement(l.isValidElement(c)?c:l.createElement("span",null,c),s)};return l.createElement(c.C,null,function(n){var c=n.getPrefixCls,s=e.className,f=e.prefixCls,d=e.inputPrefixCls,p=e.size,h=y(e,["className","prefixCls","inputPrefixCls","size"]),g=c("input",d),b=c("input-password",f),w=i&&k(b),E=a()(b,s,(0,o.Z)({},"".concat(b,"-").concat(p),!!p)),Z=(0,r.Z)((0,r.Z)({},(0,m.Z)(h,["suffix","iconRender","visibilityToggle"])),{type:x?"text":"password",className:E,prefixCls:g,suffix:w});return p&&(Z.size=p),l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(t,C)},Z))})}),E=n(68795),C=n(71577),Z=n(97647),S=n(4173),k=n(96159),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},_=l.forwardRef(function(e,t){var n,i,s=e.prefixCls,f=e.inputPrefixCls,d=e.className,p=e.size,h=e.suffix,m=e.enterButton,g=void 0!==m&&m,y=e.addonAfter,b=e.loading,w=e.disabled,x=e.onSearch,_=e.onChange,T=e.onCompositionStart,O=e.onCompositionEnd,P=N(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),A=l.useContext(c.E_),R=A.getPrefixCls,M=A.direction,j=l.useContext(Z.Z),L=l.useRef(!1),F=R("input-search",s),I=R("input",f),V=(0,S.ri)(F,M).compactSize||p||j,D=l.useRef(null),z=function(e){var t;document.activeElement===(null===(t=D.current)||void 0===t?void 0:t.input)&&e.preventDefault()},U=function(e){var t,n;x&&x(null===(n=null===(t=D.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},B="boolean"==typeof g?l.createElement(E.Z,null):null,H="".concat(F,"-button"),W=g||{},q=W.type&&!0===W.type.__ANT_BUTTON;i=q||"button"===W.type?(0,k.Tm)(W,(0,r.Z)({onMouseDown:z,onClick:function(e){var t,n;null===(n=null===(t=null==W?void 0:W.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),U(e)},key:"enterButton"},q?{className:H,size:V}:{})):l.createElement(C.Z,{className:H,type:g?"primary":void 0,size:V,disabled:w,key:"enterButton",onMouseDown:z,onClick:U,loading:b,icon:B},g),y&&(i=[i,(0,k.Tm)(y,{key:"addonAfter"})]);var $=a()(F,(n={},(0,o.Z)(n,"".concat(F,"-rtl"),"rtl"===M),(0,o.Z)(n,"".concat(F,"-").concat(V),!!V),(0,o.Z)(n,"".concat(F,"-with-button"),!!g),n),d);return l.createElement(u.ZP,(0,r.Z)({ref:(0,v.sQ)(D,t),onPressEnter:function(e){L.current||b||U(e)}},P,{size:V,onCompositionStart:function(e){L.current=!0,null==T||T(e)},onCompositionEnd:function(e){L.current=!1,null==O||O(e)},prefixCls:I,addonAfter:i,suffix:h,onChange:function(e){e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),_&&_(e)},className:$,disabled:w}))}),T=n(80173),O=u.ZP;O.Group=function(e){var t,n=(0,l.useContext)(c.E_),i=n.getPrefixCls,u=n.direction,f=e.prefixCls,d=e.className,p=i("input-group",f),h=a()(p,(t={},(0,o.Z)(t,"".concat(p,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(p,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(p,"-compact"),e.compact),(0,o.Z)(t,"".concat(p,"-rtl"),"rtl"===u),t),void 0===d?"":d),m=(0,l.useContext)(s.aM),v=(0,l.useMemo)(function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})},[m]);return l.createElement("span",{className:h,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(s.aM.Provider,{value:v},e.children))},O.Search=_,O.TextArea=T.Z,O.Password=x;var P=O},7293:function(e,t,n){"use strict";n.d(t,{D:function(){return E},Z:function(){return Z}});var r,o=n(4942),i=n(87462),a=n(97685),l=n(1413),c=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},u=n(42135),f=function(e,t){return c.createElement(u.Z,(0,l.Z)((0,l.Z)({},e),{},{ref:t,icon:s}))};f.displayName="BarsOutlined";var d=c.forwardRef(f),p=n(6171),h=n(18073),m=n(94184),v=n.n(m),g=n(98423),y=n(53124),b=n(2897),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=c.createContext({}),C=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),Z=c.forwardRef(function(e,t){var n,r,l,s,u,f,m,Z,S,k,N,_=e.prefixCls,T=e.className,O=e.trigger,P=e.children,A=e.defaultCollapsed,R=e.theme,M=e.style,j=e.collapsible,L=void 0!==j&&j,F=e.reverseArrow,I=void 0!==F&&F,V=e.width,D=e.collapsedWidth,z=void 0===D?80:D,U=e.zeroWidthTriggerStyle,B=e.breakpoint,H=e.onCollapse,W=e.onBreakpoint,q=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),$=(0,c.useContext)(b.Gs).siderHook,K=(0,c.useState)("collapsed"in q?q.collapsed:void 0!==A&&A),G=(0,a.Z)(K,2),Y=G[0],Q=G[1],X=(0,c.useState)(!1),J=(0,a.Z)(X,2),ee=J[0],et=J[1];(0,c.useEffect)(function(){"collapsed"in q&&Q(q.collapsed)},[q.collapsed]);var en=function(e,t){"collapsed"in q||Q(e),null==H||H(e,t)},er=(0,c.useRef)();er.current=function(e){et(e.matches),null==W||W(e.matches),Y!==e.matches&&en(e.matches,"responsive")},(0,c.useEffect)(function(){function e(e){return er.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&B&&B in x){t=n("(max-width: ".concat(x[B],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[B]),(0,c.useEffect)(function(){var e=C("ant-sider-");return $.addSider(e),function(){return $.removeSider(e)}},[]);var eo=function(){en(!Y,"clickTrigger")},ei=(0,c.useContext)(y.E_).getPrefixCls,ea=c.useMemo(function(){return{siderCollapsed:Y}},[Y]);return c.createElement(E.Provider,{value:ea},(r=ei("layout-sider",_),l=(0,g.Z)(q,["collapsed"]),f=!isNaN(parseFloat(u=s=Y?z:void 0===V?200:V))&&isFinite(u)?"".concat(s,"px"):String(s),m=0===parseFloat(String(z||0))?c.createElement("span",{onClick:eo,className:v()("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(I?"right":"left")),style:U},O||c.createElement(d,null)):null,Z=({expanded:I?c.createElement(h.Z,null):c.createElement(p.Z,null),collapsed:I?c.createElement(p.Z,null):c.createElement(h.Z,null)})[Y?"collapsed":"expanded"],S=null!==O?m||c.createElement("div",{className:"".concat(r,"-trigger"),onClick:eo,style:{width:f}},O||Z):null,k=(0,i.Z)((0,i.Z)({},void 0===M?{}:M),{flex:"0 0 ".concat(f),maxWidth:f,minWidth:f,width:f}),N=v()(r,"".concat(r,"-").concat(void 0===R?"dark":R),(n={},(0,o.Z)(n,"".concat(r,"-collapsed"),!!Y),(0,o.Z)(n,"".concat(r,"-has-trigger"),L&&null!==O&&!m),(0,o.Z)(n,"".concat(r,"-below"),!!ee),(0,o.Z)(n,"".concat(r,"-zero-width"),0===parseFloat(f)),n),T),c.createElement("aside",(0,i.Z)({className:N},l,{style:k,ref:t}),c.createElement("div",{className:"".concat(r,"-children")},P),L||ee&&m?S:null)))})},97183:function(e,t,n){"use strict";var r=n(2897),o=n(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=o.Z,t.Z=i},2897:function(e,t,n){"use strict";n.d(t,{$_:function(){return y},Gs:function(){return d},VY:function(){return b},h4:function(){return g}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),l=n(94184),c=n.n(l),s=n(67294),u=n(53124),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=s.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return s.forwardRef(function(r,o){var i=(0,s.useContext(u.E_).getPrefixCls)(t,r.prefixCls);return s.createElement(e,(0,a.Z)({ref:o,prefixCls:i,tagName:n},r))})}}var h=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,l=f(e,["prefixCls","className","children","tagName"]),u=c()(n,r);return s.createElement(i,(0,a.Z)((0,a.Z)({className:u},l),{ref:t}),o)}),m=s.forwardRef(function(e,t){var n,l=s.useContext(u.E_).direction,p=s.useState([]),h=(0,i.Z)(p,2),m=h[0],v=h[1],g=e.prefixCls,y=e.className,b=e.children,w=e.hasSider,x=e.tagName,E=f(e,["prefixCls","className","children","hasSider","tagName"]),C=c()(g,(n={},(0,o.Z)(n,"".concat(g,"-has-sider"),"boolean"==typeof w?w:m.length>0),(0,o.Z)(n,"".concat(g,"-rtl"),"rtl"===l),n),y),Z=s.useMemo(function(){return{siderHook:{addSider:function(e){v(function(t){return[].concat((0,r.Z)(t),[e])})},removeSider:function(e){v(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return s.createElement(d.Provider,{value:Z},s.createElement(x,(0,a.Z)({ref:t,className:C},E),b))}),v=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(m),g=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(h),y=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(h),b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(h);t.ZP=v},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},E:function(){return c}});var r=n(87462),o=n(67294),i=n(67178),a=n(6213).Z,l=function(e){var t=e.componentName,n=void 0===t?"global":t,l=e.defaultLocale,c=e.children,s=o.useContext(i.Z);return c(o.useMemo(function(){var e,t=l||a[n],o=null!==(e=null==s?void 0:s[n])&&void 0!==e?e:{};return(0,r.Z)((0,r.Z)({},t instanceof Function?t():t),o||{})},[n,l,s]),o.useMemo(function(){var e=s&&s.locale;return s&&s.exist&&!e?a.locale:e},[s]),s)},c=function(e,t){var n=o.useContext(i.Z);return[o.useMemo(function(){var o,i=t||a[e],l=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:{};return(0,r.Z)((0,r.Z)({},"function"==typeof i?i():i),l||{})},[e,t,n])]}},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(62906),o=n(87462),i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:(0,o.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:(0,o.Z)({},i)},l="${label} is not a valid ${type}",c={locale:"en",Pagination:r.Z,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:l,method:l,array:l,object:l,number:l,date:l,boolean:l,integer:l,float:l,regexp:l,email:l,url:l,hex:l},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}}},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(87462),o=n(67294),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},a=o.createContext(null),l=function(e){var t=e.children,n=i(e,["children"]),l=o.useContext(a),c=o.useMemo(function(){return(0,r.Z)((0,r.Z)({},l),n)},[l,n.prefixCls,n.mode,n.selectable]);return o.createElement(a.Provider,{value:c},t)};t.Z=a},66516:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(15671),o=n(43144),i=n(60136),a=n(33643),l=n(87462),c=n(89705),s=n(94184),u=n.n(s),f=n(97868),d=n(66680),p=n(98423),h=n(67294),m=n(53124),v=n(7293),g=n(33603),y=n(96159),b=n(71002),w=n(4942),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},E=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=x(e,["prefixCls","className","dashed"]),i=(0,h.useContext(m.E_).getPrefixCls)("menu",t),a=u()((0,w.Z)({},"".concat(i,"-item-divider-dashed"),!!r),n);return h.createElement(f.iz,(0,l.Z)({className:a},o))},C=n(50344),Z=n(94199),S=(0,h.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},N=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,c=i.firstLevel,s=i.inlineCollapsed,d=i.direction,p=i.disableMenuItemTitleTooltip,m=e.props,v=m.className,g=m.children,b=e.props,x=b.title,E=b.icon,S=b.danger,N=k(b,["title","icon","danger"]),_=x;void 0===x?_=c?g:"":!1===x&&(_="");var T={title:_};o||s||(T.title=null,T.open=!1);var O=(0,C.Z)(g).length,P=h.createElement(f.ck,(0,l.Z)({},N,{className:u()((n={},(0,w.Z)(n,"".concat(a,"-item-danger"),S),(0,w.Z)(n,"".concat(a,"-item-only-child"),(E?O+1:O)===1),n),v),title:"string"==typeof x?x:void 0}),(0,y.Tm)(E,{className:u()((0,y.l$)(E)?null===(r=E.props)||void 0===r?void 0:r.className:"","".concat(a,"-item-icon"))}),e.renderItemChildren(s));return p||(P=h.createElement(Z.Z,(0,l.Z)({},T,{placement:"rtl"===d?"left":"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),P)),P},e}return(0,o.Z)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,l=h.createElement("span",{className:"".concat(n,"-title-content")},a);return(!i||(0,y.l$)(a)&&"span"===a.type)&&a&&e&&r&&"string"==typeof a?h.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},a.charAt(0)):l}},{key:"render",value:function(){return h.createElement(v.D.Consumer,null,this.renderItem)}}]),n}(h.Component);N.contextType=S;var _=function(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,c=h.useContext(S),s=c.prefixCls,d=c.inlineCollapsed,m=c.antdMenuTheme,v=(0,f.Xl)();if(o){var g=(0,y.l$)(i)&&"span"===i.type;n=h.createElement(h.Fragment,null,(0,y.Tm)(o,{className:u()((0,y.l$)(o)?null===(t=o.props)||void 0===t?void 0:t.className:"","".concat(s,"-item-icon"))}),g?i:h.createElement("span",{className:"".concat(s,"-title-content")},i))}else n=d&&!v.length&&i&&"string"==typeof i?h.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},i.charAt(0)):h.createElement("span",{className:"".concat(s,"-title-content")},i);var b=h.useMemo(function(){return(0,l.Z)((0,l.Z)({},c),{firstLevel:!1})},[c]);return h.createElement(S.Provider,{value:b},h.createElement(f.Wd,(0,l.Z)({},(0,p.Z)(e,["icon"]),{title:n,popupClassName:u()(s,"".concat(s,"-").concat(a||m),r)})))},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},O=n(76529),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},A=(0,h.forwardRef)(function(e,t){var n,r,o=h.useContext(O.Z)||{},i=h.useContext(m.E_),a=i.getPrefixCls,s=i.getPopupContainer,v=i.direction,w=a(),x=e.prefixCls,C=e.className,Z=e.theme,k=void 0===Z?"light":Z,A=e.expandIcon,R=e._internalDisableMenuItemTitleTooltip,M=e.inlineCollapsed,j=e.siderCollapsed,L=e.items,F=e.children,I=e.mode,V=e.selectable,D=e.onClick,z=P(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),U=(0,p.Z)(z,["collapsedWidth"]),B=h.useMemo(function(){return L?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,b.Z)(t)){var r=t.label,o=t.children,i=t.key,a=t.type,c=T(t,["label","children","key","type"]),s=null!=i?i:"tmp-".concat(n);return o||"group"===a?"group"===a?h.createElement(f.BW,(0,l.Z)({key:s},c,{title:r}),e(o)):h.createElement(_,(0,l.Z)({key:s},c,{title:r}),e(o)):"divider"===a?h.createElement(E,(0,l.Z)({key:s},c)):h.createElement(N,(0,l.Z)({key:s},c),r)}return null}).filter(function(e){return e})}(L):L},[L])||F;null===(n=o.validator)||void 0===n||n.call(o,{mode:I});var H=(0,d.Z)(function(){var e;null==D||D.apply(void 0,arguments),null===(e=null==o?void 0:o.onClick)||void 0===e||e.call(o)}),W=o.mode||I,q=null!=V?V:o.selectable,$=h.useMemo(function(){return void 0!==j?j:M},[M,j]),K={horizontal:{motionName:"".concat(w,"-slide-up")},inline:g.ZP,other:{motionName:"".concat(w,"-zoom-big")}},G=a("menu",x||o.prefixCls),Y=u()("".concat(G,"-").concat(k),C);r="function"==typeof A?A:(0,y.Tm)(A||o.expandIcon,{className:"".concat(G,"-submenu-expand-icon")});var Q=h.useMemo(function(){return{prefixCls:G,inlineCollapsed:$||!1,antdMenuTheme:k,direction:v,firstLevel:!0,disableMenuItemTitleTooltip:R}},[G,$,k,v,R]);return h.createElement(O.Z.Provider,{value:null},h.createElement(S.Provider,{value:Q},h.createElement(f.ZP,(0,l.Z)({getPopupContainer:s,overflowedIndicator:h.createElement(c.Z,null),overflowedIndicatorPopupClassName:"".concat(G,"-").concat(k),mode:W,selectable:q,onClick:H},U,{inlineCollapsed:$,className:Y,prefixCls:G,direction:v,defaultMotions:K,expandIcon:r,ref:t}),B)))}),R=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,r.Z)(this,n),e=t.apply(this,arguments),e.focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return(0,o.Z)(n,[{key:"render",value:function(){var e=this;return h.createElement(v.D.Consumer,null,function(t){return h.createElement(A,(0,l.Z)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(h.Component);R.Divider=E,R.Item=N,R.SubMenu=_,R.ItemGroup=f.BW;var M=R},12461:function(e,t,n){"use strict";n.d(t,{Df:function(){return M},ZP:function(){return j},S$:function(){return _},z$:function(){return P}});var r,o,i,a,l=n(87462),c=n(4942),s=n(89739),u=n(4340),f=n(21640),d=n(78860),p=n(50888),h=n(94184),m=n.n(h),v=n(91127),g=n(67294),y=n(38080),b=n(97685),w=n(51550),x=n(53124),E=3,C=1,Z="",S="move-up",k=!1,N=!1;function _(){return C++}function T(e,t){var n=e.prefixCls,l=e.getPopupContainer,c=(0,y.w6)(),s=c.getPrefixCls,u=c.getRootPrefixCls,f=c.getIconPrefixCls,d=s("message",n||Z),p=u(e.rootPrefixCls,d),h=f();if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}var m={prefixCls:d,transitionName:k?S:"".concat(p,"-").concat(S),style:{top:o},getContainer:i||l,maxCount:a};v.default.newInstance(m,function(e){if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:r});return}r=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:h,instance:e})})}var O={info:d.Z,success:s.Z,error:u.Z,warning:f.Z,loading:p.Z},P=Object.keys(O);function A(e,t,n){var r,o=void 0!==e.duration?e.duration:E,i=O[e.type],a=m()("".concat(t,"-custom-content"),(r={},(0,c.Z)(r,"".concat(t,"-").concat(e.type),e.type),(0,c.Z)(r,"".concat(t,"-rtl"),!0===N),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(y.ZP,{iconPrefixCls:n},g.createElement("div",{className:a},e.icon||i&&g.createElement(i,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var R={open:function(e){var t=e.key||_(),n=new Promise(function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};T(e,function(n){var o=n.prefixCls,i=n.iconPrefixCls;n.instance.notice(A((0,l.Z)((0,l.Z)({},e),{key:t,onClose:r}),o,i))})}),o=function(){r&&r.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(o=e.top,r=null),void 0!==e.duration&&(E=e.duration),void 0!==e.prefixCls&&(Z=e.prefixCls),void 0!==e.getContainer&&(i=e.getContainer,r=null),void 0!==e.transitionName&&(S=e.transitionName,r=null,k=!0),void 0!==e.maxCount&&(a=e.maxCount,r=null),void 0!==e.rtl&&(N=e.rtl)},destroy:function(e){r&&(e?(0,r.removeNotice)(e):((0,r.destroy)(),r=null))}};function M(e,t){e[t]=function(n,r,o){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,l.Z)((0,l.Z)({},n),{type:t})):("function"==typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}P.forEach(function(e){return M(R,e)}),R.warn=R.warning,R.useMessage=function(){var e,t,n=null,r=(0,w.Z)({add:function(e,t){null==n||n.component.add(e,t)}}),o=(0,b.Z)(r,2),i=o[0],a=o[1],c=g.useRef({});return c.current.open=function(r){var o=e("message",r.prefixCls),a=e(),c=r.key||_(),s=new Promise(function(e){var s=function(){return"function"==typeof r.onClose&&r.onClose(),e(!0)};T((0,l.Z)((0,l.Z)({},r),{prefixCls:o,rootPrefixCls:a,getPopupContainer:t}),function(e){var t=e.prefixCls;n=e.instance,i(A((0,l.Z)((0,l.Z)({},r),{key:c,onClose:s}),t))})}),u=function(){n&&n.removeNotice(c)};return u.then=function(e,t){return s.then(e,t)},u.promise=s,u},P.forEach(function(e){return M(c.current,e)}),[c.current,g.createElement(x.C,{key:"holder"},function(n){return e=n.getPrefixCls,t=n.getPopupContainer,a})]};var j=R},85402:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r,o=n(74902),i=n(87462),a=n(8751),l=n(18429),c=n(11475),s=n(45605),u=n(38135),f=n(67294),d=n(38080),p=n(4942),h=n(94184),m=n.n(h),v=n(86743),g=n(33603),y=n(97937),b=n(38425),w=n(71577),x=n(6134),E=n(53124),C=n(65223),Z=n(23715),S=n(31808),k=n(83008),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,S.jD)()&&document.documentElement.addEventListener("click",function(e){r={x:e.pageX,y:e.pageY},setTimeout(function(){r=null},100)},!0);var _=function(e){var t,n,o=f.useContext(E.E_),a=o.getPopupContainer,l=o.getPrefixCls,c=o.direction,s=function(t){var n=e.onCancel;null==n||n(t)},u=function(t){var n=e.onOk;null==n||n(t)},d=e.prefixCls,h=e.footer,v=e.visible,S=e.open,_=e.wrapClassName,T=e.centered,O=e.getContainer,P=e.closeIcon,A=e.focusTriggerAfterClose,R=e.width,M=N(e,["prefixCls","footer","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose","width"]),j=l("modal",d),L=l(),F=f.createElement(Z.Z,{componentName:"Modal",defaultLocale:(0,k.A)()},function(t){var n=e.okText,r=e.okType,o=e.cancelText,a=e.confirmLoading;return f.createElement(f.Fragment,null,f.createElement(w.Z,(0,i.Z)({onClick:s},e.cancelButtonProps),o||t.cancelText),f.createElement(w.Z,(0,i.Z)({},(0,x.n)(void 0===r?"primary":r),{loading:void 0!==a&&a,onClick:u},e.okButtonProps),null!=n?n:t.okText))}),I=f.createElement("span",{className:"".concat(j,"-close-x")},P||f.createElement(y.Z,{className:"".concat(j,"-close-icon")})),V=m()(_,(t={},(0,p.Z)(t,"".concat(j,"-centered"),!!T),(0,p.Z)(t,"".concat(j,"-wrap-rtl"),"rtl"===c),t));return f.createElement(C.Ux,{status:!0,override:!0},f.createElement(b.Z,(0,i.Z)({width:void 0===R?520:R},M,{getContainer:void 0===O?a:O,prefixCls:j,wrapClassName:V,footer:void 0===h?F:h,visible:void 0!==S&&S||v,mousePosition:null!==(n=M.mousePosition)&&void 0!==n?n:r,onClose:s,closeIcon:I,focusTriggerAfterClose:void 0===A||A,transitionName:(0,g.mL)(L,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(L,"fade",e.maskTransitionName)})))},T=function(e){var t=e.icon,n=e.onCancel,r=e.onOk,o=e.close,i=e.zIndex,a=e.afterClose,l=e.visible,c=e.open,s=e.keyboard,u=e.centered,h=e.getContainer,y=e.maskStyle,b=e.okText,w=e.okButtonProps,x=e.cancelText,E=e.cancelButtonProps,C=e.direction,Z=e.prefixCls,S=e.wrapClassName,k=e.rootPrefixCls,N=e.iconPrefixCls,T=e.bodyStyle,O=e.closable,P=e.closeIcon,A=e.modalRender,R=e.focusTriggerAfterClose,M=e.okType||"primary",j="".concat(Z,"-confirm"),L=!("okCancel"in e)||e.okCancel,F=e.width||416,I=e.style||{},V=void 0===e.mask||e.mask,D=void 0!==e.maskClosable&&e.maskClosable,z=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),U=m()(j,"".concat(j,"-").concat(e.type),(0,p.Z)({},"".concat(j,"-rtl"),"rtl"===C),e.className),B=L&&f.createElement(v.Z,{actionFn:n,close:o,autoFocus:"cancel"===z,buttonProps:E,prefixCls:"".concat(k,"-btn")},x);return f.createElement(d.ZP,{prefixCls:k,iconPrefixCls:N,direction:C},f.createElement(_,{prefixCls:Z,className:U,wrapClassName:m()((0,p.Z)({},"".concat(j,"-centered"),!!e.centered),S),onCancel:function(){return null==o?void 0:o({triggerCancel:!0})},open:c||l,title:"",footer:"",transitionName:(0,g.mL)(k,"zoom",e.transitionName),maskTransitionName:(0,g.mL)(k,"fade",e.maskTransitionName),mask:V,maskClosable:D,maskStyle:y,style:I,bodyStyle:T,width:F,zIndex:i,afterClose:a,keyboard:s,centered:u,getContainer:h,closable:void 0!==O&&O,closeIcon:P,modalRender:A,focusTriggerAfterClose:R},f.createElement("div",{className:"".concat(j,"-body-wrapper")},f.createElement("div",{className:"".concat(j,"-body")},t,void 0===e.title?null:f.createElement("span",{className:"".concat(j,"-title")},e.title),f.createElement("div",{className:"".concat(j,"-content")},e.content)),f.createElement("div",{className:"".concat(j,"-btns")},B,f.createElement(v.Z,{type:M,actionFn:r,close:o,autoFocus:"ok"===z,buttonProps:w,prefixCls:"".concat(k,"-btn")},b)))))},O=[],P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},A="";function R(e){var t,n=document.createDocumentFragment(),r=(0,i.Z)((0,i.Z)({},e),{close:c,open:!0});function a(){for(var t=arguments.length,r=Array(t),i=0;it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?o.createElement(o.Fragment,null,t&&o.createElement("div",{className:"".concat(r,"-title")},(0,l.Z)(t)),o.createElement("div",{className:"".concat(r,"-inner-content")},(0,l.Z)(n))):null},f=o.forwardRef(function(e,t){var n=e.prefixCls,l=e.title,f=e.content,d=e._overlay,p=e.placement,h=e.trigger,m=e.mouseEnterDelay,v=e.mouseLeaveDelay,g=e.overlayStyle,y=s(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),b=o.useContext(i.E_).getPrefixCls,w=b("popover",n),x=b();return o.createElement(a.Z,(0,r.Z)({placement:void 0===p?"top":p,trigger:void 0===h?"hover":h,mouseEnterDelay:void 0===m?.1:m,mouseLeaveDelay:void 0===v?.1:v,overlayStyle:void 0===g?{}:g},y,{prefixCls:w,ref:t,overlay:d||o.createElement(u,{prefixCls:w,title:l,content:f}),transitionName:(0,c.mL)(x,"zoom-big",y.transitionName)}))});t.Z=f},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return d}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),l=n(50344),c=n(67294),s=n(53124),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},f=c.createContext(null),d=function(e,t){var n=c.useContext(f),r=c.useMemo(function(){if(!n)return"";var r,i=n.compactDirection,l=n.isFirstItem,c=n.isLastItem,s="vertical"===i?"-vertical-":"-";return a()((r={},(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item"),!0),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"first-item"),l),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"last-item"),c),(0,o.Z)(r,"".concat(e,"-compact").concat(s,"item-rtl"),"rtl"===t),r))},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=function(e){var t=e.children;return c.createElement(f.Provider,{value:null},t)},h=function(e){var t=e.children,n=u(e,["children"]);return c.createElement(f.Provider,{value:n},t)};t.ZP=function(e){var t,n=c.useContext(s.E_),i=n.getPrefixCls,d=n.direction,p=e.size,m=void 0===p?"middle":p,v=e.direction,g=e.block,y=e.prefixCls,b=e.className,w=e.children,x=u(e,["size","direction","block","prefixCls","className","children"]),E=i("space-compact",y),C=a()(E,(t={},(0,o.Z)(t,"".concat(E,"-rtl"),"rtl"===d),(0,o.Z)(t,"".concat(E,"-block"),g),(0,o.Z)(t,"".concat(E,"-vertical"),"vertical"===v),t),b),Z=c.useContext(f),S=(0,l.Z)(w),k=c.useMemo(function(){return S.map(function(e,t){var n=e&&e.key||"".concat(E,"-item-").concat(t);return c.createElement(h,{key:n,compactSize:m,compactDirection:v,isFirstItem:0===t&&(!Z||(null==Z?void 0:Z.isFirstItem)),isLastItem:t===S.length-1&&(!Z||(null==Z?void 0:Z.isLastItem))},e)})},[m,S,Z]);return 0===S.length?null:c.createElement("div",(0,r.Z)({className:C},x),k)}},26713:function(e,t,n){"use strict";n.d(t,{u:function(){return m},Z:function(){return y}});var r=n(87462),o=n(4942),i=n(97685),a=n(94184),l=n.n(a),c=n(50344),s=n(67294),u=n(53124),f=n(98082);function d(e){var t=e.className,n=e.direction,i=e.index,a=e.marginDirection,l=e.children,c=e.split,u=e.wrap,f=s.useContext(m),d=f.horizontalSize,p=f.verticalSize,h=f.latestIndex,v=f.supportFlexGap,g={};return(!v&&("vertical"===n?it.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},m=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),v={small:8,middle:16,large:24},g=function(e){var t,n=s.useContext(u.E_),a=n.getPrefixCls,p=n.space,g=n.direction,y=e.size,b=void 0===y?(null==p?void 0:p.size)||"small":y,w=e.align,x=e.className,E=e.children,C=e.direction,Z=void 0===C?"horizontal":C,S=e.prefixCls,k=e.split,N=e.style,_=e.wrap,T=void 0!==_&&_,O=h(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),P=(0,f.Z)(),A=s.useMemo(function(){return(Array.isArray(b)?b:[b,b]).map(function(e){return"string"==typeof e?v[e]:e||0})},[b]),R=(0,i.Z)(A,2),M=R[0],j=R[1],L=(0,c.Z)(E,{keepEmpty:!0}),F=void 0===w&&"horizontal"===Z?"center":w,I=a("space",S),V=l()(I,"".concat(I,"-").concat(Z),(t={},(0,o.Z)(t,"".concat(I,"-rtl"),"rtl"===g),(0,o.Z)(t,"".concat(I,"-align-").concat(F),F),t),x),D="".concat(I,"-item"),z="rtl"===g?"marginLeft":"marginRight",U=0,B=L.map(function(e,t){null!=e&&(U=t);var n=e&&e.key||"".concat(D,"-").concat(t);return s.createElement(d,{className:D,key:n,direction:Z,index:t,marginDirection:z,split:k,wrap:T},e)}),H=s.useMemo(function(){return{horizontalSize:M,verticalSize:j,latestIndex:U,supportFlexGap:P}},[M,j,U,P]);if(0===L.length)return null;var W={};return T&&(W.flexWrap="wrap",P||(W.marginBottom=-j)),P&&(W.columnGap=M,W.rowGap=j),s.createElement("div",(0,r.Z)({className:V,style:(0,r.Z)((0,r.Z)({},W),N)},O),s.createElement(m.Provider,{value:H},B))};g.Compact=p.ZP;var y=g},94199:function(e,t,n){"use strict";var r=n(4942),o=n(97685),i=n(87462),a=n(94184),l=n.n(a),c=n(43763),s=n(21770),u=n(67294),f=n(53124),d=n(98787),p=n(33603),h=n(80636),m=n(96159),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},g=function(e,t){var n={},r=(0,i.Z)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},y=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),b=u.forwardRef(function(e,t){var n,a,d,b=u.useContext(f.E_),w=b.getPopupContainer,x=b.getPrefixCls,E=b.direction,C=(0,s.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),Z=(0,o.Z)(C,2),S=Z[0],k=Z[1],N=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},_=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,h.Z)({arrowPointAtCenter:void 0!==n&&n,autoAdjustOverflow:void 0===r||r})},T=e.getPopupContainer,O=e.placement,P=e.mouseEnterDelay,A=e.mouseLeaveDelay,R=v(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),M=e.prefixCls,j=e.openClassName,L=e.getTooltipContainer,F=e.overlayClassName,I=e.color,V=e.overlayInnerStyle,D=e.children,z=x("tooltip",M),U=x(),B=S;!("open"in e)&&!("visible"in e)&&N()&&(B=!1);var H=function(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=g(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=r.picked,a=r.omitted,c=(0,i.Z)((0,i.Z)({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),s=(0,i.Z)((0,i.Z)({},a),{pointerEvents:"none"}),f=(0,m.Tm)(e,{style:s,className:null});return u.createElement("span",{style:c,className:l()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},f)}return e}((0,m.l$)(D)&&!(0,m.M2)(D)?D:u.createElement("span",null,D),z),W=H.props,q=W.className&&"string"!=typeof W.className?W.className:l()(W.className,(0,r.Z)({},j||"".concat(z,"-open"),!0)),$=l()(F,(d={},(0,r.Z)(d,"".concat(z,"-rtl"),"rtl"===E),(0,r.Z)(d,"".concat(z,"-").concat(I),I&&y.test(I)),d)),K=V,G={};return I&&!y.test(I)&&(K=(0,i.Z)((0,i.Z)({},V),{background:I}),G={"--antd-arrow-background-color":I}),u.createElement(c.default,(0,i.Z)({},R,{placement:void 0===O?"top":O,mouseEnterDelay:void 0===P?.1:P,mouseLeaveDelay:void 0===A?.1:A,prefixCls:z,overlayClassName:$,getTooltipContainer:T||L||w,ref:t,builtinPlacements:_(),overlay:(n=e.title,a=e.overlay,0===n?n:a||n||""),visible:B,onVisibleChange:function(t){var n,r;k(!N()&&t),N()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},onPopupAlign:function(e,t){var n=_(),r=Object.keys(n).find(function(e){var r,o;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(o=t.points)||void 0===o?void 0:o[1])});if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};/top|Bottom/.test(r)?i.top="".concat(o.height-t.offset[1],"px"):/Top|bottom/.test(r)&&(i.top="".concat(-t.offset[1],"px")),/left|Right/.test(r)?i.left="".concat(o.width-t.offset[0],"px"):/right|Left/.test(r)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:K,arrowContent:u.createElement("span",{className:"".concat(z,"-arrow-content"),style:G}),motion:{motionName:(0,p.mL)(U,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),B?(0,m.Tm)(H,{className:q}):H)});t.Z=b},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return ei}});var r=n(87462),o=n(67294),i=n(4942),a=n(71002),l=n(97685),c=n(63606),s=n(57132),u=n(86548),f=n(94184),d=n.n(f),p=n(20640),h=n.n(p),m=n(48555),v=n(50344),g=n(8410),y=n(21770),b=n(98423),w=n(42550),x=n(53124),E=n(23715),C=n(15105),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},k=o.forwardRef(function(e,t){var n=e.style,i=e.noStyle,a=e.disabled,l=Z(e,["style","noStyle","disabled"]),c={};return i||(c=(0,r.Z)({},S)),a&&(c.pointerEvents="none"),c=(0,r.Z)((0,r.Z)({},c),n),o.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},l,{onKeyDown:function(e){e.keyCode===C.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===C.Z.ENTER&&r&&r()},style:c}))}),N=n(79370),_=n(94199),T=n(1413),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},P=n(42135),A=function(e,t){return o.createElement(P.Z,(0,T.Z)((0,T.Z)({},e),{},{ref:t,icon:O}))};A.displayName="EnterOutlined";var R=o.forwardRef(A),M=n(80173),j=n(96159),L=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,a=e.style,c=e.direction,s=e.maxLength,u=e.autoSize,f=e.value,p=e.onSave,h=e.onCancel,m=e.onEnd,v=e.component,g=e.enterIcon,y=void 0===g?o.createElement(R,null):g,b=o.useRef(null),w=o.useRef(!1),x=o.useRef(),E=o.useState(f),Z=(0,l.Z)(E,2),S=Z[0],k=Z[1];o.useEffect(function(){k(f)},[f]),o.useEffect(function(){if(b.current&&b.current.resizableTextArea){var e=b.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}},[]);var N=function(){p(S.trim())},_=v?"".concat(t,"-").concat(v):"",T=d()(t,"".concat(t,"-edit-content"),(0,i.Z)({},"".concat(t,"-rtl"),"rtl"===c),r,_);return o.createElement("div",{className:T,style:a},o.createElement(M.Z,{ref:b,maxLength:s,value:S,onChange:function(e){k(e.target.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;w.current||(x.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,i=e.shiftKey;x.current!==t||w.current||n||r||o||i||(t===C.Z.ENTER?(N(),null==m||m()):t===C.Z.ESC&&h())},onCompositionStart:function(){w.current=!0},onCompositionEnd:function(){w.current=!1},onBlur:function(){N()},"aria-label":n,rows:1,autoSize:void 0===u||u}),null!==y?(0,j.Tm)(y,{className:"".concat(t,"-edit-content-confirm")}):null)};function F(e,t){return o.useMemo(function(){var n=!!e;return[n,(0,r.Z)((0,r.Z)({},t),n&&"object"===(0,a.Z)(e)?e:null)]},[e])}var I=function(e,t){var n=o.useRef(!1);o.useEffect(function(){n.current?e():n.current=!0},t)},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},D=o.forwardRef(function(e,t){var n=e.prefixCls,a=e.component,l=e.className,c=e.setContentRef,s=e.children,u=e.direction,f=V(e,["prefixCls","component","className","setContentRef","children","direction"]),p=o.useContext(x.E_),h=p.getPrefixCls,m=p.direction,v=t;c&&(v=(0,w.sQ)(t,c));var g=h("typography",n),y=d()(g,(0,i.Z)({},"".concat(g,"-rtl"),"rtl"===(null!=u?u:m)),l);return o.createElement(void 0===a?"article":a,(0,r.Z)({className:y,ref:v},f),s)});function z(e){var t=(0,a.Z)(e);return"string"===t||"number"===t}function U(e,t){for(var n=0,r=[],o=0;ot){var l=t-n;return r.push(String(i).slice(0,l)),r}r.push(i),n=a}return e}var B=function(e){var t=e.enabledMeasure,n=e.children,i=e.text,a=e.width,c=e.fontSize,s=e.rows,u=e.onEllipsis,f=o.useState([0,0,0]),d=(0,l.Z)(f,2),p=(0,l.Z)(d[0],3),h=p[0],m=p[1],y=p[2],b=d[1],w=o.useState(0),x=(0,l.Z)(w,2),E=x[0],C=x[1],Z=o.useState(0),S=(0,l.Z)(Z,2),k=S[0],N=S[1],_=o.useRef(null),T=o.useRef(null),O=o.useMemo(function(){return(0,v.Z)(i)},[i]),P=o.useMemo(function(){var e;return e=0,O.forEach(function(t){z(t)?e+=String(t).length:e+=1}),e},[O]),A=o.useMemo(function(){return t&&3===E?n(U(O,m),mt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}function $(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var K=o.forwardRef(function(e,t){var n,f,p,C=e.prefixCls,Z=e.className,S=e.style,T=e.type,O=e.disabled,P=e.children,A=e.ellipsis,R=e.editable,M=e.copyable,j=e.component,V=e.title,z=W(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),U=o.useContext(x.E_),K=U.getPrefixCls,G=U.direction,Y=(0,E.E)("Text")[0],Q=o.useRef(null),X=o.useRef(null),J=K("typography",C),ee=(0,b.Z)(z,["mark","code","delete","underline","strong","keyboard","italic"]),et=F(R),en=(0,l.Z)(et,2),er=en[0],eo=en[1],ei=(0,y.Z)(!1,{value:eo.editing}),ea=(0,l.Z)(ei,2),el=ea[0],ec=ea[1],es=eo.triggerType,eu=void 0===es?["icon"]:es,ef=function(e){var t;e&&(null===(t=eo.onStart)||void 0===t||t.call(eo)),ec(e)};I(function(){var e;el||null===(e=X.current)||void 0===e||e.focus()},[el]);var ed=function(e){null==e||e.preventDefault(),ef(!0)},ep=F(M),eh=(0,l.Z)(ep,2),em=eh[0],ev=eh[1],eg=o.useState(!1),ey=(0,l.Z)(eg,2),eb=ey[0],ew=ey[1],ex=o.useRef(),eE={};ev.format&&(eE.format=ev.format);var eC=function(){window.clearTimeout(ex.current)},eZ=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),h()(ev.text||String(P)||"",eE),ew(!0),eC(),ex.current=window.setTimeout(function(){ew(!1)},3e3),null===(t=ev.onCopy)||void 0===t||t.call(ev,e)};o.useEffect(function(){return eC},[]);var eS=o.useState(!1),ek=(0,l.Z)(eS,2),eN=ek[0],e_=ek[1],eT=o.useState(!1),eO=(0,l.Z)(eT,2),eP=eO[0],eA=eO[1],eR=o.useState(!1),eM=(0,l.Z)(eR,2),ej=eM[0],eL=eM[1],eF=o.useState(!1),eI=(0,l.Z)(eF,2),eV=eI[0],eD=eI[1],ez=o.useState(!1),eU=(0,l.Z)(ez,2),eB=eU[0],eH=eU[1],eW=o.useState(!0),eq=(0,l.Z)(eW,2),e$=eq[0],eK=eq[1],eG=F(A,{expandable:!1}),eY=(0,l.Z)(eG,2),eQ=eY[0],eX=eY[1],eJ=eQ&&!ej,e0=eX.rows,e1=void 0===e0?1:e0,e2=o.useMemo(function(){return!eJ||void 0!==eX.suffix||eX.onEllipsis||eX.expandable||er||em},[eJ,eX,er,em]);(0,g.Z)(function(){eQ&&!e2&&(e_((0,N.G)("webkitLineClamp")),eA((0,N.G)("textOverflow")))},[e2,eQ]);var e4=o.useMemo(function(){return!e2&&(1===e1?eP:eN)},[e2,eP,eN]),e5=eJ&&(e4?eB:eV),e6=eJ&&1===e1&&e4,e3=eJ&&e1>1&&e4,e8=function(e){var t;eL(!0),null===(t=eX.onExpand)||void 0===t||t.call(eX,e)},e7=o.useState(0),e9=(0,l.Z)(e7,2),te=e9[0],tt=e9[1],tn=o.useState(0),tr=(0,l.Z)(tn,2),to=tr[0],ti=tr[1],ta=function(e){var t;eD(e),eV!==e&&(null===(t=eX.onEllipsis)||void 0===t||t.call(eX,e))};o.useEffect(function(){var e=Q.current;if(eQ&&e4&&e){var t=e3?e.offsetHeightt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Y=o.forwardRef(function(e,t){var n=e.ellipsis,i=e.rel,a=G(e,["ellipsis","rel"]),l=(0,r.Z)((0,r.Z)({},a),{rel:void 0===i&&"_blank"===a.target?"noopener noreferrer":i});return delete l.navigate,o.createElement(K,(0,r.Z)({},l,{ref:t,ellipsis:!!n,component:"a"}))}),Q=o.forwardRef(function(e,t){return o.createElement(K,(0,r.Z)({ref:t},e,{component:"div"}))}),X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},J=o.forwardRef(function(e,t){var n=e.ellipsis,i=X(e,["ellipsis"]),l=o.useMemo(function(){return n&&"object"===(0,a.Z)(n)?(0,b.Z)(n,["expandable","rows"]):n},[n]);return o.createElement(K,(0,r.Z)({ref:t},i,{ellipsis:l,component:"span"}))}),ee=n(93355),et=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},en=(0,ee.a)(1,2,3,4,5),er=o.forwardRef(function(e,t){var n,i=e.level,a=void 0===i?1:i,l=et(e,["level"]);return n=en.includes(a)?"h".concat(a):"h1",o.createElement(K,(0,r.Z)({ref:t},l,{component:n}))}),eo=D;eo.Text=J,eo.Link=Y,eo.Title=er,eo.Paragraph=Q;var ei=eo},94184:function(e,t){var n; /*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},93645:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function o(e){return e?r[e]:r.trunc}},59910:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}},11699:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59910),o=n(13882),i=n(93645);function a(e,t,n){(0,o.Z)(2,arguments);var a=(0,r.Z)(e,t)/1e3;return(0,i.u)(null==n?void 0:n.roundingMethod)(a)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13882);function o(e){return(o="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})(e)}function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===o(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),l=n(81866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tu))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(r){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,c=l?l.isBuffer:void 0;e.exports=c||o},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(12295)}])},22825:function(e,t){"use strict";t.Z={src:"/_next/static/media/fediverse-black.0b51c805.png",height:100,width:100,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEVMaXEbGxsREREQEBAPDw8NDQ0FBQUQEBAQEBAUFBQNDQ0REREVFRUQEBAODg4UFBQUFBQHBwcNDQ1DUQGwAAAAE3RSTlMAC2QvWeDEnZQbSn15tW2ri/pAr8wTOgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAD1JREFUeJwdy0cOgDAMAMGNS2yHFPj/Z0GcRwMwegNaWbgB3WfmZSArZd7eqR0qEYM6GT/pc/bygqal8v0XMgEBhHcrytIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},50738:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o),a=n(29403),l=n.n(a);let c=e=>{let{variant:t="simple"}=e,n=i()(l().root,{[l().simple]:"simple"===t,[l().contrast]:"contrast"===t});return(0,r.jsx)("div",{className:n,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.68623352050781 104.46271514892578",className:"logo-svg",children:(0,r.jsx)("g",{transform:"matrix(1 0 0 1 -37.08803939819336 -18.940391540527344)",children:(0,r.jsx)("g",{children:(0,r.jsxs)("g",{children:[(0,r.jsx)("g",{children:(0,r.jsxs)("g",{transform:"matrix(1.0445680396949917 0 0 1.0445679172996596 36.34559138380523 18.877718021903796)",children:[(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient120",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#1f2022",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#635e69",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient120)",d:"M91.5 75.35Q93.05 71.15 91.65 67.7 90.35 64.5 86.65 62.3 83.2 60.3 78.3 59.4 73.85 58.6 68.6 58.7 63.55 58.85 58.8 59.8 54.25 60.75 50.8 62.2 47.4 63.65 45.5 65.35 43.6 67.15 43.5 69.05 43.35 71.3 45.8 73.9 48.05 76.3 52.1 78.6 56.15 80.9 61.05 82.55 66.3 84.3 71.4 84.8 74.7 85.1 77.55 84.9 80.65 84.6 83.3 83.6 86.15 82.5 88.15 80.55 90.4 78.4 91.5 75.35M70.6 67.5Q72.3 68.4 73.1 69.7 73.9 71.15 73.45 73 73.1 74.3 72.3 75.25 71.55 76.1 70.3 76.6 69.25 77.05 67.75 77.25 66.3 77.4 64.85 77.3 62.3 77.15 59.25 76.3 56.6 75.5 54.15 74.3 51.9 73.2 50.45 72 49.05 70.75 49.1 69.8 49.2 69 50.25 68.25 51.3 67.55 53.15 67 55 66.4 57.25 66.1 59.8 65.8 62.1 65.8 64.65 65.85 66.7 66.2 68.9 66.65 70.6 67.5Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient121",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#2087e2",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#b63fff",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient121)",d:"M66.6 15.05Q66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.75 18.45 32.7 23.4 31.7 28.05 31.35 32.85 31.05 37.2 31.3 41.2 31.6 45.15 32.4 48.35 34 54.9 37.3 56.4 37.6 56.55 37.9 56.65L39.2 56.85Q39.45 56.85 39.95 56.8 42.05 56.6 44.7 55.05 47.25 53.5 50.05 50.8 53.05 47.9 55.85 44.05 58.8 40.05 61.1 35.6 63.8 30.35 65.25 25.3 66.75 19.75 66.6 15.05M47.55 23.15Q48.05 23.25 48.4 23.4 52.45 24.8 52.55 29.85 52.6 34 50 39.4 47.85 43.9 44.85 47.3 42.05 50.5 40.15 50.7L39.9 50.75 39.45 50.7 39.2 50.6Q37.8 49.95 37.25 46.35 36.7 42.7 37.3 38 37.95 32.75 39.75 28.8 41.9 24.1 45.05 23.25 45.6 23.1 45.85 23.1 46.25 23.05 46.65 23.05 47.05 23.05 47.55 23.15Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient122",gradientTransform:"rotate(-90 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#100f0f",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient122)",d:"M2.7 33.6Q2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7 0 42.6 2.2 47.2 4 51 8 54.35 11.55 57.3 16 59.15 20.5 61 23.85 60.85 24.5 60.85 25.25 60.7 26 60.55 26.5 60.3 27 60.05 27.45 59.65 27.9 59.25 28.15 58.75 29.35 56.45 27.5 51.65 25.6 47 21.75 42.1 17.75 37 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6M10.1 43.55Q10.35 43.1 10.6 42.85 10.85 42.6 11.2 42.4 11.6 42.25 11.9 42.2 13.5 41.9 15.95 43.6 18.15 45.05 20.35 47.7 22.35 50.1 23.55 52.4 24.7 54.75 24.25 55.7 24.15 55.9 24 56 23.85 56.2 23.65 56.25 23.55 56.35 23.25 56.4L22.7 56.5Q21.1 56.6 18.55 55.6 16.05 54.6 13.85 52.95 11.5 51.2 10.35 49.15 9.05 46.8 9.75 44.45 9.9 43.95 10.1 43.55Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient123",gradientTransform:"rotate(-180 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#222020",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient123)",d:"M34.95 74.2L34.75 74.2Q33.2 74.15 31.9 75.25 30.7 76.3 29.85 78.25 29.1 80 28.8 82.2 28.5 84.4 28.7 86.65 29.1 91.4 31.5 94.7 34.3 98.5 39.3 99.7L39.4 99.7 39.7 99.8 39.85 99.8Q45.3 100.85 47.15 97.75 48 96.3 48 94.05 47.95 91.9 47.2 89.35 46.45 86.75 45.1 84.15 43.75 81.5 42.05 79.35 40.25 77.1 38.45 75.75 36.55 74.35 34.95 74.2M33.55 80.4Q34.35 78.2 35.6 78.3L35.65 78.3Q36.9 78.45 38.6 80.9 40.3 83.35 41.15 86.05 42.1 89 41.55 90.75 40.9 92.6 38.35 92.25L38.3 92.25 38.25 92.2 38.1 92.2Q35.6 91.7 34.25 89.6 33.1 87.7 32.95 85 32.8 82.35 33.55 80.4Z"})]}),(0,r.jsxs)("g",{transform:"matrix(0.9999999999999999 0 0 1 0 5.684341886080802e-14)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient124",gradientTransform:"rotate(-180 .5 .5)",children:[" ",(0,r.jsx)("stop",{offset:"0",stopColor:"#1e1c1c",stopOpacity:"1"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#49261F",stopOpacity:"1"})]})}),(0,r.jsx)("path",{fill:"url(#gradient124)",d:"M22.7 69.65Q22.25 69.3 21.6 69.05 20.95 68.8 20.25 68.7 19.6 68.55 18.85 68.5 16.7 68.45 14.65 69.15 12.65 69.8 11.4 71.1 10.15 72.5 10.2 74.2 10.25 76.05 11.95 78.2 12.4 78.75 13.05 79.4 13.55 79.9 14.2 80.3 14.7 80.6 15.3 80.85 16 81.1 16.4 81.1 18.2 81.35 19.9 80.35 21.55 79.4 22.75 77.65 24 75.85 24.3 73.95 24.6 71.85 23.55 70.5 23.15 70 22.7 69.65M21.7 71.7Q22.15 72.3 21.9 73.3 21.7 74.25 21 75.25 20.3 76.2 19.4 76.75 18.45 77.35 17.55 77.25L17 77.15Q16.7 77.05 16.45 76.85 16.25 76.75 15.9 76.45 15.7 76.25 15.4 75.9 14.5 74.75 14.7 73.8 14.8 72.95 15.75 72.3 16.6 71.7 17.8 71.4 19 71.1 20.1 71.15L20.65 71.2 21.1 71.3Q21.3 71.4 21.45 71.5L21.7 71.7Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient125",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient125)",d:"M52.6 19.25Q59.6 19.25 66.2 20.95 66.7 17.8 66.6 15.05 66.4 9.65 63.9 6.05 61.25 2.1 56.1 0.65 54.95 0.3 53.65 0.15 52.5 0 51.3 0.1 50.2 0.1 49.1 0.35 48.15 0.55 47 1 43.3 2.45 40.3 6.1 37.5 9.4 35.5 14.3 33.85 18.3 32.8 22.85 42.25 19.25 52.6 19.25Z"})]}),(0,r.jsxs)("g",{transform:"matrix(1 0 0 1 0 0)",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"0",y1:"0",x2:"0",y2:"1",id:"gradient126",gradientTransform:"rotate(-360 .5 .5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#FFFFFF",stopOpacity:"0.5"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#FFFFFF",stopOpacity:"0.2"})]})}),(0,r.jsx)("path",{fill:"url(#gradient126)",d:"M1.05 37.7Q0 42.6 2.2 47.2 2.95 48.8 4.05 50.25 7.55 41.65 14.4 34.75 14 34.45 13.4 34.05 8.7 30.9 5.45 31.7 4.65 31.9 3.95 32.4 3.25 32.85 2.7 33.6 2.1 34.4 1.7 35.35 1.25 36.5 1.05 37.7Z"})]})]})}),(0,r.jsx)("g",{transform:"matrix(1.219512230276127 0 0 1.2195122143630526 32.82519274395008 88.56945194723018)",children:(0,r.jsx)("path",{fill:"#000000",fillOpacity:"1",d:""})})]})})})})})}},39664:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(85893);n(67294);var o=n(94184),i=n.n(o);let a=e=>{let{status:t}=e,{type:n,icon:o,message:a}=t||{},l=i()({"status-container":!0,["status-".concat(n)]:n,empty:!a});return(0,r.jsxs)("span",{className:l,children:[o?(0,r.jsx)("span",{className:"status-icon",children:o}):null,a?(0,r.jsx)("span",{className:"status-message",children:a}):null]})};t.Z=a},40117:function(e,t,n){"use strict";n.d(t,{mG:function(){return en},A8:function(){return et},Kx:function(){return ee},Sk:function(){return er},xA:function(){return eo},nv:function(){return ei}});var r=n(85893),o=n(67294),i=n(94184),a=n.n(i),l=n(69677),c=n(87462),s=n(4942),u=n(71002),f=n(97685),d=n(80882),p=n(1413),h={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},m=n(42135),v=function(e,t){return o.createElement(m.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:h}))};v.displayName="UpOutlined";var g=o.forwardRef(v),y=n(45987),b=n(15105),w=n(8410),x=n(42550),E=n(15671),C=n(43144);function Z(){return"function"==typeof BigInt}function S(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var l=n?"-":"";return{negative:n,negativeStr:l,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(l).concat(r)}}function k(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function N(e){var t=String(e);if(k(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null==r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&T(t)?t.length-t.indexOf(".")-1:0}function _(e){var t=String(e);if(k(e)){if(e>Number.MAX_SAFE_INTEGER)return String(Z()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":_(this.number):this.origin}}]),e}(),A=function(){function e(t){if((0,E.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,!t&&0!==t||!String(t).trim()){this.empty=!0;return}if(this.origin=String(t),"-"===t){this.nan=!0;return}var n=t;if(k(n)&&(n=Number(n)),T(n="string"==typeof n?n:_(n))){var r=S(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}return(0,C.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=S((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,l="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(l.slice(0,-r),".").concat(l.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":S("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function R(e){return Z()?new A(e):new P(e)}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=S(e),i=o.negativeStr,a=o.integerStr,l=o.decimalStr,c="".concat(t).concat(l),s="".concat(i).concat(a);if(n>=0){var u=Number(l[n]);return u>=5&&!r?M(R(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?s:"".concat(s).concat(t).concat(l.padEnd(n,"0").slice(0,n))}return".0"===c?s:"".concat(s).concat(c)}var j=n(31131);function L(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,l=e.downDisabled,u=e.onStep,f=o.useRef(),d=o.useRef();d.current=u;var p=function(e,t){e.preventDefault(),d.current(t),f.current=setTimeout(function e(){d.current(t),f.current=setTimeout(e,200)},600)},h=function(){clearTimeout(f.current)};if(o.useEffect(function(){return h},[]),(0,j.Z)())return null;var m="".concat(t,"-handler"),v=a()(m,"".concat(m,"-up"),(0,s.Z)({},"".concat(m,"-up-disabled"),i)),g=a()(m,"".concat(m,"-down"),(0,s.Z)({},"".concat(m,"-down-disabled"),l)),y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return o.createElement("div",{className:"".concat(m,"-wrap")},o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":i,className:v}),n||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":l,className:g}),r||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var F=n(80334),I=n(75164),V=function(){var e=(0,o.useRef)(0),t=function(){I.Z.cancel(e.current)};return(0,o.useEffect)(function(){return t},[]),function(n){t(),e.current=(0,I.Z)(function(){n()})}},D=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],z=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},U=function(e){var t=R(e);return t.isInvalidate()?null:t},B=o.forwardRef(function(e,t){var n,r,i,l=e.prefixCls,d=void 0===l?"rc-input-number":l,p=e.className,h=e.style,m=e.min,v=e.max,g=e.step,E=void 0===g?1:g,C=e.defaultValue,Z=e.value,S=e.disabled,k=e.readOnly,P=e.upHandler,A=e.downHandler,j=e.keyboard,I=e.controls,B=e.stringMode,H=e.parser,W=e.formatter,q=e.precision,$=e.decimalSeparator,K=e.onChange,G=e.onInput,Y=e.onPressEnter,Q=e.onStep,X=(0,y.Z)(e,D),J="".concat(d,"-input"),ee=o.useRef(null),et=o.useState(!1),en=(0,f.Z)(et,2),er=en[0],eo=en[1],ei=o.useRef(!1),ea=o.useRef(!1),el=o.useRef(!1),ec=o.useState(function(){return R(null!=Z?Z:C)}),es=(0,f.Z)(ec,2),eu=es[0],ef=es[1],ed=o.useCallback(function(e,t){return t?void 0:q>=0?q:Math.max(N(e),N(E))},[q,E]),ep=o.useCallback(function(e){var t=String(e);if(H)return H(t);var n=t;return $&&(n=n.replace($,".")),n.replace(/[^\w.-]+/g,"")},[H,$]),eh=o.useRef(""),em=o.useCallback(function(e,t){if(W)return W(e,{userTyping:t,input:String(eh.current)});var n="number"==typeof e?_(e):e;if(!t){var r=ed(n,t);T(n)&&($||r>=0)&&(n=M(n,$||".",r))}return n},[W,ed,$]),ev=o.useState(function(){var e=null!=C?C:Z;return eu.isInvalidate()&&["string","number"].includes((0,u.Z)(e))?Number.isNaN(e)?"":e:em(eu.toString(),!1)}),eg=(0,f.Z)(ev,2),ey=eg[0],eb=eg[1];function ew(e,t){eb(em(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}eh.current=ey;var ex=o.useMemo(function(){return U(v)},[v,q]),eE=o.useMemo(function(){return U(m)},[m,q]),eC=o.useMemo(function(){return!(!ex||!eu||eu.isInvalidate())&&ex.lessEquals(eu)},[ex,eu]),eZ=o.useMemo(function(){return!(!eE||!eu||eu.isInvalidate())&&eu.lessEquals(eE)},[eE,eu]),eS=(n=ee.current,r=(0,o.useRef)(null),[function(){try{var e=n.selectionStart,t=n.selectionEnd,o=n.value,i=o.substring(0,e),a=o.substring(t);r.current={start:e,end:t,value:o,beforeTxt:i,afterTxt:a}}catch(l){}},function(){if(n&&r.current&&er)try{var e=n.value,t=r.current,o=t.beforeTxt,i=t.afterTxt,a=t.start,l=e.length;if(e.endsWith(i))l=e.length-r.current.afterTxt.length;else if(e.startsWith(o))l=o.length;else{var c=o[a-1],s=e.indexOf(c,a-1);-1!==s&&(l=s+1)}n.setSelectionRange(l,l)}catch(u){(0,F.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(u.message))}}]),ek=(0,f.Z)(eS,2),eN=ek[0],e_=ek[1],eT=function(e){return ex&&!e.lessEquals(ex)?ex:eE&&!eE.lessEquals(e)?eE:null},eO=function(e){return!eT(e)},eP=function(e,t){var n=e,r=eO(n)||n.isEmpty();if(n.isEmpty()||t||(n=eT(n)||n,r=!0),!k&&!S&&r){var o,i=n.toString(),a=ed(i,t);return a>=0&&!eO(n=R(M(i,".",a)))&&(n=R(M(i,".",a,!0))),n.equals(eu)||(o=n,void 0===Z&&ef(o),null==K||K(n.isEmpty()?null:z(B,n)),void 0===Z&&ew(n,t)),n}return eu},eA=V(),eR=function e(t){if(eN(),eb(t),!ea.current){var n=R(ep(t));n.isNaN()||eP(n,!0)}null==G||G(t),eA(function(){var n=t;H||(n=t.replace(/。/g,".")),n!==t&&e(n)})},eM=function(e){if((!e||!eC)&&(e||!eZ)){ei.current=!1;var t,n=R(el.current?O(E):E);e||(n=n.negate());var r=eP((eu||R(0)).add(n.toString()),!1);null==Q||Q(z(B,r),{offset:el.current?O(E):E,type:e?"up":"down"}),null===(t=ee.current)||void 0===t||t.focus()}},ej=function(e){var t=R(ep(ey)),n=t;n=t.isNaN()?eu:eP(t,e),void 0!==Z?ew(eu,!1):n.isNaN()||ew(n,!1)};return(0,w.o)(function(){eu.isInvalidate()||ew(eu,!1)},[q]),(0,w.o)(function(){var e=R(Z);ef(e);var t=R(ep(ey));e.equals(t)&&ei.current&&!W||ew(e,ei.current)},[Z]),(0,w.o)(function(){W&&e_()},[ey]),o.createElement("div",{className:a()(d,p,(i={},(0,s.Z)(i,"".concat(d,"-focused"),er),(0,s.Z)(i,"".concat(d,"-disabled"),S),(0,s.Z)(i,"".concat(d,"-readonly"),k),(0,s.Z)(i,"".concat(d,"-not-a-number"),eu.isNaN()),(0,s.Z)(i,"".concat(d,"-out-of-range"),!eu.isInvalidate()&&!eO(eu)),i)),style:h,onFocus:function(){eo(!0)},onBlur:function(){ej(!1),eo(!1),ei.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;ei.current=!0,n?el.current=!0:el.current=!1,t===b.Z.ENTER&&(ea.current||(ei.current=!1),ej(!1),null==Y||Y(e)),!1!==j&&!ea.current&&[b.Z.UP,b.Z.DOWN].includes(t)&&(eM(b.Z.UP===t),e.preventDefault())},onKeyUp:function(){ei.current=!1,el.current=!1},onCompositionStart:function(){ea.current=!0},onCompositionEnd:function(){ea.current=!1,eR(ee.current.value)},onBeforeInput:function(){ei.current=!0}},(void 0===I||I)&&o.createElement(L,{prefixCls:d,upNode:P,downNode:A,upDisabled:eC,downDisabled:eZ,onStep:eM}),o.createElement("div",{className:"".concat(J,"-wrap")},o.createElement("input",(0,c.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":m,"aria-valuemax":v,"aria-valuenow":eu.isInvalidate()?null:eu.toString(),step:E},X,{ref:(0,x.sQ)(ee,t),className:J,value:ey,onChange:function(e){eR(e.target.value)},disabled:S,readOnly:k}))))});B.displayName="InputNumber";var H=n(53124),W=n(98866),q=n(97647),$=n(65223),K=n(4173),G=n(96159),Y=n(9708),Q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},X=o.forwardRef(function(e,t){var n=o.useContext(H.E_),r=n.getPrefixCls,i=n.direction,l=o.useContext(q.Z),p=o.useState(!1),h=(0,f.Z)(p,2),m=h[0],v=h[1],y=o.useRef(null);o.useImperativeHandle(t,function(){return y.current});var b=e.className,w=e.size,x=e.disabled,E=e.prefixCls,C=e.addonBefore,Z=e.addonAfter,S=e.prefix,k=e.bordered,N=void 0===k||k,_=e.readOnly,T=e.status,O=e.controls,P=Q(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),A=r("input-number",E),R=(0,K.ri)(A,i),M=R.compactSize,j=R.compactItemClassnames,L=o.createElement(g,{className:"".concat(A,"-handler-up-inner")}),F=o.createElement(d.Z,{className:"".concat(A,"-handler-down-inner")});"object"===(0,u.Z)(O)&&(L=void 0===O.upIcon?L:o.createElement("span",{className:"".concat(A,"-handler-up-inner")},O.upIcon),F=void 0===O.downIcon?F:o.createElement("span",{className:"".concat(A,"-handler-down-inner")},O.downIcon));var I=(0,o.useContext)($.aM),V=I.hasFeedback,D=I.status,z=I.isFormItemInput,U=I.feedbackIcon,X=(0,Y.F)(D,T),J=M||w||l,ee=o.useContext(W.Z),et=null!=x?x:ee,en=a()((eo={},(0,s.Z)(eo,"".concat(A,"-lg"),"large"===J),(0,s.Z)(eo,"".concat(A,"-sm"),"small"===J),(0,s.Z)(eo,"".concat(A,"-rtl"),"rtl"===i),(0,s.Z)(eo,"".concat(A,"-borderless"),!N),(0,s.Z)(eo,"".concat(A,"-in-form-item"),z),eo),(0,Y.Z)(A,X),j,b),er=o.createElement(B,(0,c.Z)({ref:y,disabled:et,className:en,upHandler:L,downHandler:F,prefixCls:A,readOnly:_,controls:"boolean"==typeof O?O:void 0},P));if(null!=S||V){var eo,ei,ea=a()("".concat(A,"-affix-wrapper"),(0,Y.Z)("".concat(A,"-affix-wrapper"),X,V),(ei={},(0,s.Z)(ei,"".concat(A,"-affix-wrapper-focused"),m),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-disabled"),e.disabled),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-sm"),"small"===l),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-lg"),"large"===l),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-rtl"),"rtl"===i),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-readonly"),_),(0,s.Z)(ei,"".concat(A,"-affix-wrapper-borderless"),!N),(0,s.Z)(ei,"".concat(b),!(C||Z)&&b),ei));er=o.createElement("div",{className:ea,style:e.style,onMouseUp:function(){return y.current.focus()}},S&&o.createElement("span",{className:"".concat(A,"-prefix")},S),(0,G.Tm)(er,{style:null,value:e.value,onFocus:function(t){var n;v(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(t){var n;v(!1),null===(n=e.onBlur)||void 0===n||n.call(e,t)}}),V&&o.createElement("span",{className:"".concat(A,"-suffix")},U))}if(null!=C||null!=Z){var el,ec="".concat(A,"-group"),es="".concat(ec,"-addon"),eu=C?o.createElement("div",{className:es},C):null,ef=Z?o.createElement("div",{className:es},Z):null,ed=a()("".concat(A,"-wrapper"),ec,(0,s.Z)({},"".concat(ec,"-rtl"),"rtl"===i)),ep=a()("".concat(A,"-group-wrapper"),(el={},(0,s.Z)(el,"".concat(A,"-group-wrapper-sm"),"small"===l),(0,s.Z)(el,"".concat(A,"-group-wrapper-lg"),"large"===l),(0,s.Z)(el,"".concat(A,"-group-wrapper-rtl"),"rtl"===i),el),(0,Y.Z)("".concat(A,"-group-wrapper"),X,V),b);er=o.createElement("div",{className:ep,style:e.style},o.createElement("div",{className:ed},eu&&o.createElement($.Ux,{status:!0,override:!0},eu),(0,G.Tm)(er,{style:null,disabled:et}),ef&&o.createElement($.Ux,{status:!0,override:!0},ef)))}return er}),J=n(39664);let ee="default",et="password",en="numeric",er="textarea",eo="url",ei=e=>{let{className:t,disabled:n,fieldName:o,label:i,maxLength:c,onBlur:s,onChange:u,onPressEnter:f,pattern:d,placeholder:p,required:h,status:m,tip:v,type:g,useTrim:y,value:b}=e,w=e=>{if(u){let t=g===en?e:e.target.value;u({fieldName:o,value:y?t.trim():t})}},x=e=>{let t=e.target.value;s&&s({value:t})},E=()=>{f&&f()},C=l.Z,Z={};g===er?(C=l.Z.TextArea,Z={autoSize:!0}):g===et?(C=l.Z.Password,Z={visibilityToggle:!0}):g===en?(C=X,Z={type:"number",min:1,max:10**c-1}):g===eo&&(Z={type:"url",pattern:d});let S="field-".concat(o),{type:k}=m||{},N=a()({"formfield-container":!0,"textfield-container":!0,["type-".concat(g)]:!0,required:h,["status-".concat(k)]:m});return(0,r.jsxs)("div",{className:N,children:[i?(0,r.jsx)("div",{className:"label-side",children:(0,r.jsx)("label",{htmlFor:S,className:"formfield-label",children:i})}):null,(0,r.jsxs)("div",{className:"input-side",children:[(0,r.jsx)("div",{className:"input-group",children:(0,r.jsx)(C,{id:S,className:"field ".concat(t," ").concat(S),...Z,...g!==en&&{allowClear:!0},placeholder:p,maxLength:c,onChange:w,onBlur:x,onPressEnter:E,disabled:n,value:b})}),(0,r.jsx)(J.E,{status:m}),(0,r.jsx)("p",{className:"field-tip",children:v})]})]})};ei.defaultProps={className:"",disabled:!1,label:"",maxLength:255,placeholder:"",required:!1,status:null,tip:"",type:ee,value:"",pattern:"",useTrim:!1,useTrimLead:!1,onSubmit(){},onBlur(){},onChange(){},onPressEnter(){}}},10135:function(e,t,n){"use strict";n.d(t,{$7:function(){return v},Kx:function(){return p},Sk:function(){return h},xA:function(){return m}});var r=n(85893),o=n(71577),i=n(94184),a=n.n(i),l=n(67294),c=n(90745),s=n(41983),u=n(99519),f=n(39664),d=n(40117);let p="default",h="textarea",m="url",v=e=>{let{apiPath:t,configPath:n="",initialValue:i,useTrim:p,useTrimLead:h,...m}=e,[v,g]=(0,l.useState)(null),[y,b]=(0,l.useState)(!1),w=(0,l.useContext)(u.aC),{setFieldInConfigState:x}=w||{},E=null,{fieldName:C,required:Z,tip:S,status:k,value:N,onChange:_,onSubmit:T}=m,O=()=>{g(null),b(!1),clearTimeout(E),E=null};(0,l.useEffect)(()=>{Z&&(""===N||null===N)||N===i?b(!1):(O(),b(!0))},[N]);let P=e=>{let{fieldName:t,value:n}=e;if(_){let r=n;p?r=n.trim():h&&(r=n.replace(/^\s+/g,"")),_({fieldName:t,value:r})}},A=e=>{let{value:t}=e;_&&Z&&""===t&&_({fieldName:C,value:i})},R=async()=>{(Z&&""!==N||N!==i)&&(g((0,s.kg)(s.Jk)),await (0,c.Si)({apiPath:t,data:{value:N},onSuccess(){x({fieldName:C,value:N,path:n}),g((0,s.kg)(s.zv))},onError(e){g((0,s.kg)(s.Un,"There was an error: ".concat(e)))}}),E=setTimeout(O,c.sI),T&&T())},M=a()({"textfield-with-submit-container":!0,submittable:y});return(0,r.jsxs)("div",{className:M,children:[(0,r.jsx)("div",{className:"textfield-component",children:(0,r.jsx)(d.nv,{...m,onSubmit:null,onBlur:A,onChange:P})}),(0,r.jsxs)("div",{className:"formfield-container lower-container",children:[(0,r.jsx)("p",{className:"label-spacer"}),(0,r.jsxs)("div",{className:"lower-content",children:[(0,r.jsx)("div",{className:"field-tip",children:S}),(0,r.jsx)(f.E,{status:k||v}),(0,r.jsx)("div",{className:"update-button-container",children:(0,r.jsx)(o.Z,{type:"primary",size:"small",className:"submit-button",onClick:R,disabled:!y,children:"Update"})})]})]})]})};v.defaultProps={configPath:"",initialValue:""}},10227:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(92648).Z,o=n(17273).Z,i=r(n(67294)),a=n(41003),l=n(67795),c=n(54465),s=n(72692),u=n(48245),f=n(69246),d=n(10227),p=n(33468);let h=new Set;function m(e,t,n,r){if(a.isLocalURL(t)){if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(h.has(i))return;h.add(i)}Promise.resolve(e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:l.formatUrl(e)}let g=i.default.forwardRef(function(e,t){let n,r;let{href:l,as:h,children:g,prefetch:y,passHref:b,replace:w,shallow:x,scroll:E,locale:C,onClick:Z,onMouseEnter:S,onTouchStart:k,legacyBehavior:N=!1}=e,_=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,N&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let T=!1!==y,O=i.default.useContext(s.RouterContext),P=i.default.useContext(u.AppRouterContext),A=null!=O?O:P,R=!O,{href:M,as:j}=i.default.useMemo(()=>{if(!O){let e=v(l);return{href:e,as:h?v(h):e}}let[t,n]=a.resolveHref(O,l,!0);return{href:t,as:h?a.resolveHref(O,h):n||t}},[O,l,h]),L=i.default.useRef(M),F=i.default.useRef(j);N&&(r=i.default.Children.only(n));let I=N?r&&"object"==typeof r&&r.ref:t,[V,D,z]=f.useIntersection({rootMargin:"200px"}),U=i.default.useCallback(e=>{(F.current!==j||L.current!==M)&&(z(),F.current=j,L.current=M),V(e),I&&("function"==typeof I?I(e):"object"==typeof I&&(I.current=e))},[j,I,M,z,V]);i.default.useEffect(()=>{A&&D&&T&&m(A,M,j,{locale:C})},[j,M,D,C,T,null==O?void 0:O.locale,A]);let B={ref:U,onClick(e){N||"function"!=typeof Z||Z(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,n,r,o,l,c,s,u,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let{target:t}=e.currentTarget;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!a.isLocalURL(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:l,locale:s,scroll:c}):t[o?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};u?i.default.startTransition(h):h()}(e,A,M,j,w,x,E,C,R,T)},onMouseEnter(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),A&&(T||!R)&&m(A,M,j,{locale:C,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(e){N||"function"!=typeof k||k(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),A&&(T||!R)&&m(A,M,j,{locale:C,priority:!0,bypassPrefetchedCheck:!0})}};if(!N||b||"a"===r.type&&!("href"in r.props)){let H=void 0!==C?C:null==O?void 0:O.locale,W=(null==O?void 0:O.isLocaleDomain)&&d.getDomainLocale(j,H,null==O?void 0:O.locales,null==O?void 0:O.domainLocales);B.href=W||p.addBasePath(c.addLocale(j,H,null==O?void 0:O.defaultLocale))}return N?i.default.cloneElement(r,B):i.default.createElement("a",Object.assign({},_,B),n)});t.default=g,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){let{rootRef:t,rootMargin:n,disabled:c}=e,s=c||!i,[u,f]=r.useState(!1),[d,p]=r.useState(null);r.useEffect(()=>{if(i){if(!s&&!u&&d&&d.tagName){let e=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let t=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);t>-1&&l.splice(t,1)}}}(d,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!u){let r=o.requestIdleCallback(()=>f(!0));return()=>o.cancelIdleCallback(r)}},[d,s,n,t,u]);let h=r.useCallback(()=>{f(!1)},[]);return[p,u,h]};var r=n(67294),o=n(44686);let i="function"==typeof IntersectionObserver,a=new Map,l=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12295:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ep}});var r=n(85893);n(63785),n(75575),n(58090),n(45354),n(34146);var o=n(11163),i=n(4480),a=n(67294),l=n(99519),c=n(82661),s=n(45697),u=n.n(s),f=n(41664),d=n.n(f),p=n(9008),h=n.n(p),m=n(11699),v=n(97183),g=n(14670),y=n(84485),b=n(55241),w=n(66516),x=n(26713),E=n(94199),C=n(71577),Z=n(1413),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},k=n(42135),N=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:S}))};N.displayName="PlayCircleFilled";var _=a.forwardRef(N),T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},O=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:T}))};O.displayName="MinusSquareFilled";var P=a.forwardRef(O),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},R=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:A}))};R.displayName="HomeOutlined";var M=a.forwardRef(R),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},L=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:j}))};L.displayName="LineChartOutlined";var F=a.forwardRef(L),I=n(38545),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},D=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:V}))};D.displayName="SettingOutlined";var z=a.forwardRef(D),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},B=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:U}))};B.displayName="ToolOutlined";var H=a.forwardRef(B),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},q=function(e,t){return a.createElement(k.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:W}))};q.displayName="ExperimentOutlined";var $=a.forwardRef(q),K=n(25035),G=n(86548),Y=n(94184),Q=n.n(Y),X=n(64777),J=n(70241),ee=n(50738),et=n(10135),en=n(90745),er=n(69677),eo=n(85402),ei=n(41983);let{TextArea:ea}=er.Z,el=e=>{let{open:t,handleClose:n}=e,[o,i]=(0,a.useState)(""),[l,c]=(0,a.useState)(!1),[s,u]=(0,a.useState)(null);function f(){c(!1),u(null),n()}async function d(){c(!0);try{await (0,X.rQ)(X.e_,{data:{value:o},method:"POST",auth:!0}),u(ei.zv),setTimeout(f,1e3)}catch(e){console.error(e),u(ei.Un)}c(!1)}return(0,r.jsx)(eo.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",open:t,onCancel:n,footer:[(0,r.jsx)(C.Z,{onClick:()=>n(),children:"Cancel"}),(0,r.jsx)(C.Z,{type:"primary",onClick:d,disabled:l||s,loading:l,children:(null==s?void 0:s.toUpperCase())||"Post"})],children:(0,r.jsx)(ea,{placeholder:"Tell the world about your streaming plans...",size:"large",showCount:!0,maxLength:500,style:{height:"150px",width:"100%"},onChange:function(e){i(e.target.value)}})})};var ec=n(22825);let es=e=>{let{children:t}=e,n=(0,a.useContext)(l.aC),{serverConfig:i,online:s,broadcaster:u,versionNumber:f}=n||{},{instanceDetails:p,chatDisabled:Z,federation:S}=i,{enabled:k}=S,[N,T]=(0,a.useState)(""),[O,A]=(0,a.useState)(!1),R=(0,a.useContext)(c.k),j=(0,o.useRouter)(),{route:L}=j||{},{Header:V,Footer:D,Content:U,Sider:B}=v.Z,[W,q]=(0,a.useState)(""),Y=async()=>{try{let e=await (0,X.GR)(f);q(e)}catch(t){console.log("==== error",t)}};(0,a.useEffect)(()=>{Y()},[f]),(0,a.useEffect)(()=>{T(p.streamTitle)},[p]);let er=e=>{let{value:t}=e;T(t)},eo=()=>{A(!0)},ei=Q()({"app-container":!0,online:s}),ea=()=>{R.setMessage(null)},es=R.message?(0,r.jsx)(g.Z,{message:R.message,afterClose:ea,banner:!0,closable:!0}):null,eu=u?(0,J.wS)((0,m.Z)(new Date,new Date(u.time))):"",ef=s?(0,r.jsx)("img",{src:"/thumbnail.jpg",className:"online-thumbnail",alt:"current thumbnail",width:"1rem"}):null,ed=s?(0,r.jsx)(_,{}):(0,r.jsx)(P,{}),ep=(0,r.jsx)(y.Z.Text,{children:"Thumbnail"}),eh=(0,r.jsxs)("div",{className:"online-status-indicator",children:[(0,r.jsx)("span",{className:"status-label",children:s?"Online ".concat(eu):"Offline"}),(0,r.jsx)("span",{className:"status-icon",children:ed})]}),em=s?(0,r.jsx)(b.Z,{content:ef,title:ep,trigger:"hover",children:eh}):eh,ev=[{label:(0,r.jsx)(d(),{href:"/admin/webhooks",children:"Webhooks"}),key:"webhooks"},{label:(0,r.jsx)(d(),{href:"/admin/access-tokens",children:"Access Tokens"}),key:"access-tokens"},{label:(0,r.jsx)(d(),{href:"/admin/actions",children:"External Actions"}),key:"actions"}],eg=[{label:(0,r.jsx)(d(),{href:"/admin/chat/messages",children:"Messages"}),key:"messages"},{label:(0,r.jsx)(d(),{href:"/admin/chat/users",children:"Users"}),key:"chat-users"},{label:(0,r.jsx)(d(),{href:"/admin/chat/emojis",children:"Emojis"}),key:"emojis"}],ey=[{label:(0,r.jsx)(d(),{href:"/admin/hardware-info",children:"Hardware"}),key:"hardware-info"},{label:(0,r.jsx)(d(),{href:"/admin/stream-health",children:"Stream Health"}),key:"stream-health"},{label:(0,r.jsx)(d(),{href:"/admin/logs",children:"Logs"}),key:"logs"},k&&{label:(0,r.jsx)(d(),{href:"/admin/federation/actions",children:"Social Actions"}),key:"federation-activities"}],eb=[{label:(0,r.jsx)(d(),{href:"/admin/config-public-details",children:"General"}),key:"config-public-details"},{label:(0,r.jsx)(d(),{href:"/admin/config-server-details",children:"Server Setup"}),key:"config-server-details"},{label:(0,r.jsx)(d(),{href:"/admin/config/streamkeys/",children:"Stream Keys"}),key:"config-streamkeys"},{label:(0,r.jsx)(d(),{href:"/admin/config-video",children:"Video"}),key:"config-video"},{label:(0,r.jsx)(d(),{href:"/admin/config-chat",children:"Chat"}),key:"config-chat"},{label:(0,r.jsx)(d(),{href:"/admin/config-federation",children:"Social"}),key:"config-federation"},{label:(0,r.jsx)(d(),{href:"/admin/config-notify",children:"Notifications"}),key:"config-notify"},{label:(0,r.jsx)(d(),{href:"/admin/config/appearance",children:"Appearance"}),key:"config-appearance"},{label:(0,r.jsx)(d(),{href:"/admin/config-storage",children:"S3 Storage"}),key:"config-storage"}],ew=[{label:(0,r.jsx)(d(),{href:"/admin",children:"Home"}),icon:(0,r.jsx)(M,{}),key:"home"},{label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Viewers"}),icon:(0,r.jsx)(F,{}),key:"viewer-info"},!Z&&{label:(0,r.jsx)(d(),{href:"/admin/viewer-info",children:"Chat & Users"}),icon:(0,r.jsx)(I.Z,{}),children:eg,key:"chat-and-users"},k&&{key:"fediverse-followers",label:(0,r.jsx)(d(),{href:"/admin/federation/followers",children:"Followers"}),icon:(0,r.jsx)("img",{alt:"fediverse icon",src:ec.Z.src,width:"17rem",style:{opacity:.6,position:"relative",top:"-1px"}})},{key:"configuration",label:"Configuration",icon:(0,r.jsx)(z,{}),children:eb},{key:"utilities",label:"Utilities",icon:(0,r.jsx)(H,{}),children:ey},{key:"integrations",label:"Integrations",icon:(0,r.jsx)($,{}),children:ev},W&&{key:"upgrade",label:(0,r.jsx)(d(),{href:"/upgrade",children:"Upgrade to v".concat("".concat(W)||"")})},{key:"help",label:"Help",icon:(0,r.jsx)(K.Z,{})}];return(0,r.jsxs)(v.Z,{className:ei,children:[(0,r.jsxs)(h(),{children:[(0,r.jsx)("title",{children:"Owncast Admin"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/img/favicon/favicon-32x32.png"})]}),(0,r.jsxs)(B,{width:240,className:"side-nav",children:[(0,r.jsxs)("h1",{className:"owncast-title",children:[(0,r.jsx)("span",{className:"logo-container",children:(0,r.jsx)(ee.C,{variant:"simple"})}),(0,r.jsx)("span",{className:"title-label",children:"Owncast Admin"})]}),(0,r.jsx)(w.Z,{defaultSelectedKeys:[L.substring(1)||"home"],defaultOpenKeys:W?["utilities-menu"]:[],mode:"inline",className:"menu-container",items:ew})]}),(0,r.jsxs)(v.Z,{className:"layout-main",children:[(0,r.jsxs)(V,{className:"layout-header",children:[(0,r.jsx)(x.Z,{direction:"horizontal",children:(0,r.jsx)(E.Z,{title:"Compose post to your followers",children:(0,r.jsx)(C.Z,{type:"primary",shape:"circle",icon:(0,r.jsx)(G.Z,{}),size:"large",onClick:eo,style:{display:k?"block":"none"}})})}),(0,r.jsx)("div",{className:"global-stream-title-container",children:(0,r.jsx)(et.$7,{fieldName:"streamTitle",...en.$t,placeholder:"What are you streaming now",value:N,initialValue:p.streamTitle,onChange:er})}),(0,r.jsx)(x.Z,{direction:"horizontal",children:em})]}),es,(0,r.jsx)(U,{className:"main-content-container",children:t}),(0,r.jsx)(D,{className:"footer-container",children:(0,r.jsxs)("a",{href:"https://owncast.online/?source=admin",target:"_blank",rel:"noopener noreferrer",children:["About Owncast v",f]})})]}),(0,r.jsx)(el,{open:O,handleClose:()=>A(!1)})]})};es.propTypes={children:u().element.isRequired};let eu=e=>{let{Component:t,pageProps:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/main-layout.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/form-textfields.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-socialhandles.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-storage.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-edit-string-tags.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-video-variants.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/config-public-details.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/home.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/chat.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/pages.css"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/admin/offline-notice.css"}),(0,r.jsx)(l.ZP,{children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(es,{children:(0,r.jsx)(t,{...n})})})})]})},ef=e=>{let{Component:t,pageProps:n}=e;return(0,r.jsx)("div",{children:(0,r.jsx)(t,{...n})})},ed=e=>{let{Component:t,pageProps:n}=e;(0,a.useEffect)(()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/serviceWorker.js").then(e=>{console.debug("Service Worker registration successful with scope: ",e.scope)},e=>{console.error("Service Worker registration failed: ",e)})})},[]);let l=(0,o.useRouter)();return l.pathname.startsWith("/admin")?(0,r.jsx)(eu,{pageProps:n,Component:t,router:l}):(0,r.jsx)(i.Wh,{children:(0,r.jsx)(ef,{pageProps:n,Component:t,router:l})})};var ep=ed},82661:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i);let l=o.createContext({message:null,setMessage:e=>null}),c=e=>{let{children:t}=e,[n,i]=(0,o.useState)("");return(0,r.jsx)(l.Provider,{value:{message:n,setMessage:i},children:t})};c.propTypes={children:a().element.isRequired},t.Z=c},64777:function(e,t,n){"use strict";n.d(t,{$i:function(){return M},$l:function(){return W},Bu:function(){return g},E8:function(){return F},Ff:function(){return N},GC:function(){return w},GR:function(){return G},HP:function(){return L},IO:function(){return O},Kp:function(){return h},Kt:function(){return $},M_:function(){return A},N$:function(){return z},NE:function(){return c},NM:function(){return v},Q_:function(){return s},Qc:function(){return k},RB:function(){return y},UJ:function(){return B},WB:function(){return a},WE:function(){return Z},WQ:function(){return C},Wr:function(){return T},XA:function(){return P},Y9:function(){return I},a_:function(){return p},ao:function(){return f},bl:function(){return u},e_:function(){return j},hn:function(){return S},iG:function(){return R},iV:function(){return d},jr:function(){return b},kb:function(){return V},kg:function(){return q},ms:function(){return _},nx:function(){return x},op:function(){return D},qk:function(){return m},rQ:function(){return H},sG:function(){return E},um:function(){return U}});var r=n(34155);let o=r.env.NEXT_PUBLIC_ADMIN_USERNAME,i=r.env.NEXT_PUBLIC_ADMIN_STREAMKEY,a="/",l="".concat(a,"api/admin/"),c=15e3,s="".concat(l,"status"),u="".concat(l,"serverconfig"),f="".concat(l,"config"),d="".concat(l,"viewersOverTime"),p="".concat(l,"viewers"),h="".concat(l,"chat/clients"),m="".concat(l,"chat/users/disabled"),v="".concat(l,"chat/users/setenabled"),g="".concat(l,"chat/users/ipbans"),y="".concat(l,"chat/users/ipbans/remove"),b="".concat(l,"chat/users/setmoderator"),w="".concat(l,"chat/users/moderators"),x="".concat(l,"hardwarestats"),E="".concat(l,"logs"),C="".concat(l,"logs/warnings"),Z="".concat(l,"chat/messages"),S="/api/admin/chat/messagevisibility",k="".concat(l,"emoji/upload"),N="".concat(l,"emoji/delete"),_="".concat(l,"accesstokens"),T="".concat(l,"accesstokens/delete"),O="".concat(l,"accesstokens/create"),P="".concat(l,"webhooks"),A="".concat(l,"webhooks/delete"),R="".concat(l,"webhooks/create"),M="".concat(a,"api/socialplatforms"),j="".concat(l,"federation/send"),L="".concat(l,"followers"),F="".concat(l,"followers/pending"),I="".concat(l,"followers/blocked"),V="".concat(l,"followers/approve"),D="".concat(l,"federation/actions"),z="".concat(l,"metrics/video"),U="".concat(l,"config/streamkeys"),B="".concat(l,"yp/reset");async function H(e,t){let{data:n,method:r="GET",auth:a=!0}=t||{},l={method:r};if(n&&(l.body=JSON.stringify(n)),a&&o&&i){let c=btoa("".concat(o,":").concat(i));l.headers={Authorization:"Basic ".concat(c)},l.mode="cors",l.credentials="include"}try{let s=await fetch(e,l),u=await s.json();if(!s.ok){let f=u.message||"An error has occurred: ".concat(s.status);throw Error(f)}return u}catch(d){return console.error(d),d}}async function W(e,t){let n={method:"GET",auth:!1,...t};return H(e,n)}async function q(e){try{let t=await fetch(e,{referrerPolicy:"no-referrer",referrer:""});if(!t.ok){let n="An error has occured: ".concat(t.status);throw Error(n)}let r=await t.json();return r}catch(o){console.log(o)}return{}}async function $(){return q("https://api.github.com/repos/owncast/owncast/releases/latest")}let K=/^\d+(\.\d+){0,2}$/;async function G(e){let t=await $(),n=t.tag_name;return("v"===n.substr(0,1)&&(n=n.substr(1)),!function(e,t){if(!e||!t||0===e.length||0===t.length)return!1;if(e===t)return!0;if(K.test(e)&&K.test(t)){let n=e.split(".");for(;n.length<3;)n.push("0");let r=t.split(".");for(;r.length<3;)r.push("0");for(let o=0;o<3;o++){let i=parseInt(n[o],10),a=parseInt(r[o],10);if(i!==a)return i>a}return!0}return e>=t}(e,n))?n:null}},90745:function(e,t,n){"use strict";n.d(t,{$Z:function(){return eh},$t:function(){return Z},$w:function(){return d},AA:function(){return c},AN:function(){return H},AP:function(){return v},BF:function(){return K},B_:function(){return Q},CJ:function(){return g},CQ:function(){return w},Dg:function(){return B},EY:function(){return L},FE:function(){return $},HM:function(){return ei},I$:function(){return el},IX:function(){return N},KB:function(){return O},Kl:function(){return W},LC:function(){return q},ME:function(){return M},P:function(){return F},RE:function(){return C},SS:function(){return eo},Si:function(){return E},Xc:function(){return G},Xq:function(){return et},ZQ:function(){return _},_X:function(){return I},c9:function(){return p},cf:function(){return y},cj:function(){return R},d$:function(){return s},dL:function(){return J},dR:function(){return X},dj:function(){return U},gX:function(){return V},i3:function(){return ec},kB:function(){return z},lT:function(){return A},mv:function(){return ep},nm:function(){return ee},os:function(){return b},oy:function(){return ed},pE:function(){return x},rE:function(){return P},rd:function(){return k},rs:function(){return S},sI:function(){return l},sv:function(){return h},t$:function(){return ea},tQ:function(){return T},vv:function(){return m},wC:function(){return es},x8:function(){return en},yC:function(){return er},y_:function(){return j},yi:function(){return Y},yj:function(){return D},z_:function(){return eu},zm:function(){return ef}});var r=n(85893),o=n(64777),i=n(40117),a=n(37174);let l=3e3,c="/pagecontent",s="/customstyles",u="/serverurl",f="/nsfw",d="/s3",p="/socialhandles",h="/video/streamlatencylevel",m="/video/streamoutputvariants",v="/directoryenabled",g="/chat/forbiddenusernames",y="/chat/suggestedusernames",b="/externalactions",w="/video/codec",x="/federation/blockdomains";async function E(e){let{apiPath:t,data:n,onSuccess:r,onError:i}=e,a=await (0,o.rQ)("".concat(o.ao).concat(t),{data:n,method:"POST",auth:!0});a.success&&r?r(a.message):i&&i(a.message)}let C={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},Z={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},S={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},k={apiPath:"/offlinemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"An optional message you can leave people when your stream is not live.",label:"Offline Message",tip:"An optional message you can leave people when your stream is not live."},N={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},_={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one. We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},T={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Admin Password",tip:"Save this password somewhere safe, you will need it to login to the admin dashboard!",required:!0},O={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},P={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},A={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},R={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:i.xA,pattern:a.ax,useTrim:!0},M={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:i.xA,pattern:a.ax,useTrim:!0},j={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},L={apiPath:f,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},F={apiPath:v,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},I={apiPath:"/hideviewercount",configPath:"",label:"Hide viewer count",tip:"Turn this ON to hide the viewer count the web page."},V={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},D={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},z={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},U={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},B={apiPath:g,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},H={apiPath:y,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},W={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},q={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},$={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},K={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},G={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},Y={apiPath:u,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:i.xA,pattern:a.ax,useTrim:!0},Q={apiPath:f,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},X={apiPath:x,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},J={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},ee={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},et={[ee.min]:"".concat(ee.min," ").concat(ee.unit),25:" ",30:" ",50:" ",60:" ",90:" ",[ee.max]:"".concat(ee.max," ").concat(ee.unit)},en={[ee.min]:"".concat(ee.min,"fps - Good for film, presentations, music, low power/bandwidth servers."),25:"25fps - Good for film, presentations, music, low power/bandwidth servers.",30:"30fps - Good for slow/casual games, chat, general purpose.",50:"50fps - Good for fast/action games, sports, HD video.",60:"60fps - Good for fast/action games, sports, HD video.",90:"90fps - Good for newer fast games and hardware.",[ee.max]:"".concat(ee.max,"fps - Experimental, use at your own risk!")},er={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},eo={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},ei={[er.min]:{style:{marginLeft:"24px"},label:"".concat(er.min," ").concat(er.unit)},3e3:3e3,4500:4500,[er.max]:{style:{marginLeft:"-10px"},label:"".concat(er.max," ").concat(er.unit)}},ea={1:{style:{marginLeft:"15px"},label:(0,r.jsx)("p",{children:"lowest"})},2:"",3:"",4:"",5:{style:{marginLeft:"-15px"},label:(0,r.jsx)("p",{children:"highest"})}},el={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},ec={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},es={url:"",platform:""},eu="OTHER_SOCIAL_HANDLE_OPTION",ef={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:i.xA,pattern:a.ax},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:i.xA,pattern:a.ax,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},ed={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:i.xA,pattern:a.ax,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},ep={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},eh={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},70241:function(e,t,n){"use strict";n.d(t,{AB:function(){return s},Qr:function(){return a},t5:function(){return i},wS:function(){return c}});var r=n(42238),o=n.n(r);function i(e){let t=e.split(":");t[t.length-1]="";let n=t.join(":");return"[::1]"===(n=n.slice(0,n.length-1))||"127.0.0.1"===n?"Localhost":n}function a(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function l(e,t,n){return String(t.repeat(n)+e).slice(-n)}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,n=Math.floor(t/86400),r=n>0?"".concat(n," day").concat(n>1?"s":""," "):"",o=Math.floor(t/3600%24),i=o||n?l("".concat(o,":"),"0",3):"",a=l("".concat(Math.floor(t/60%60),":"),"0",3),c=l("".concat(Math.floor(t%60)),"0",2);return r+i+a+c}function s(e){let t=o()(e),{device:n,os:r,browser:i}=t,{major:a,name:l}=i,{version:c,name:s}=r,{model:u,type:f}=n;return"libmpv"===e?"mpv media player":l&&a&&s?"".concat(l," ").concat(a," on ").concat(s," ").concat(c,"\n ").concat(u||f?" (".concat(u||f,")"):""):e}},41983:function(e,t,n){"use strict";n.d(t,{Jk:function(){return u},Un:function(){return c},dG:function(){return d},kg:function(){return h},zv:function(){return f}});var r=n(85893),o=n(89739),i=n(21640),a=n(50888),l=n(28058);let c="error",s="invalid",u="proessing",f="success",d="warning",p={[f]:{type:f,icon:(0,r.jsx)(o.Z,{style:{color:"green"}}),message:"Success!"},[c]:{type:c,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."},[s]:{type:s,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."},[u]:{type:u,icon:(0,r.jsx)(a.Z,{}),message:""},[d]:{type:d,icon:(0,r.jsx)(l.Z,{style:{color:"#fc0"}}),message:""}};function h(e,t){return e&&p[e]?t?{type:e,icon:p[e].icon,message:t}:p[e]:null}},99519:function(e,t,n){"use strict";n.d(t,{aC:function(){return f}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i),l=n(64777),c=n(90745);let s={streamKeys:[],adminPassword:"",instanceDetails:{customStyles:"",extraPageContent:"",logo:"",name:"",nsfw:!1,socialHandles:[],streamTitle:"",summary:"",tags:[],title:"",welcomeMessage:"",offlineMessage:"",appearanceVariables:{}},ffmpegPath:"",rtmpServerPort:"",webServerPort:"",socketHostOverride:null,s3:{accessKey:"",acl:"",bucket:"",enabled:!1,endpoint:"",region:"",secret:"",servingEndpoint:"",forcePathStyle:!1},yp:{enabled:!1,instanceUrl:""},videoSettings:{latencyLevel:4,cpuUsageLevel:3,videoQualityVariants:[c.gX]},federation:{enabled:!1,isPrivate:!1,username:"",goLiveMessage:"",showEngagement:!0,blockedDomains:[]},notifications:{browser:{enabled:!1,goLiveMessage:""},discord:{enabled:!1,webhook:"",goLiveMessage:""},twitter:{enabled:!1,goLiveMessage:"",apiKey:"",apiSecret:"",accessToken:"",accessTokenSecret:"",bearerToken:""}},externalActions:[],supportedCodecs:[],videoCodec:"",forbiddenUsernames:[],suggestedUsernames:[],chatDisabled:!1,chatJoinMessagesEnabled:!0,chatEstablishedUserMode:!1,hideViewerCount:!1},u={broadcastActive:!1,broadcaster:null,currentBroadcast:null,online:!1,viewerCount:0,sessionMaxViewerCount:0,sessionPeakViewerCount:0,overallPeakViewerCount:0,versionNumber:"0.0.0",streamTitle:"",chatDisabled:!1,health:{healthy:!0,healthPercentage:100,message:"",representation:0}},f=o.createContext({...u,serverConfig:s,setFieldInConfigState:e=>null}),d=e=>{let{children:t}=e,[n,i]=(0,o.useState)(u),[a,c]=(0,o.useState)(s),d=async()=>{try{let e=await (0,l.rQ)(l.Q_);i({...e})}catch(t){}},p=async()=>{try{let e=await (0,l.rQ)(l.bl);c(e)}catch(t){}},h=e=>{let{fieldName:t,value:n,path:r}=e,o=r?{...a,[r]:{...a[r],[t]:n}}:{...a,[t]:n};c(o)};(0,o.useEffect)(()=>{let e=null;return d(),e=setInterval(d,l.NE),p(),()=>{clearInterval(e)}},[]);let m={...n,serverConfig:a,setFieldInConfigState:h};return(0,r.jsx)(f.Provider,{value:m,children:t})};d.propTypes={children:a().element.isRequired},t.ZP=d},37174:function(e,t,n){"use strict";n.d(t,{Kf:function(){return i},ax:function(){return r},bu:function(){return a},jv:function(){return o}});let r="https?://.*";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["http:","https:"];try{let n=new URL(e);if(""===n.protocol||""===n.hostname||!t.includes(n.protocol))return!1}catch(r){return!1}return!0}function i(e,t){e.startsWith("@")&&(e=e.slice(1));let n=e.split(/:|@/),[r,o,i]=n;return console.log({account:e,protocol:t,service:r,user:o,host:i}),r===t&&3===n.length&&!!r&&!!o&&!!i}function a(e){if(!e.startsWith("matrix:"))return!1;(e=e.slice(7)).startsWith("@")&&(e=e.slice(1));let t=e.split(":"),[n,r]=t;return 2===t.length&&!!n&&!!r}},63785:function(){},34146:function(){},45354:function(){},58090:function(){},75575:function(){},29403:function(e){e.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}},9008:function(e,t,n){e.exports=n(83121)},41664:function(e,t,n){e.exports=n(31551)},11163:function(e,t,n){e.exports=n(80880)},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(r){n=a}}();var c=[],s=!1,u=-1;function f(){s&&r&&(s=!1,r.length?c=r.concat(c):u=-1,c.length&&d())}function d(){if(!s){var e=l(f);s=!0;for(var t=c.length;t;){for(r=c,c=[];++u1)for(var n=1;n1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}):e}function A(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function R(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},D={integer:function(e){return D.number(e)&&parseInt(e,10)===e},float:function(e){return D.number(e)&&!D.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return RegExp(e),!0}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(V.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(I())},hex:function(e){return"string"==typeof e&&!!e.match(V.hex)}},z="enum",U={required:F,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(P(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){F(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?D[i](t)||r.push(P(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(P(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,c=t,s=null,u="string"==typeof t,f=Array.isArray(t);if("number"==typeof t?s="number":u?s="string":f&&(s="array"),!s)return!1;f&&(c=t.length),u&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&r.push(P(o.messages[s].len,e.fullField,e.len)):a&&!l&&ce.max?r.push(P(o.messages[s].max,e.fullField,e.max)):a&&l&&(ce.max)&&r.push(P(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[z]=Array.isArray(e[z])?e[z]:[],-1===e[z].indexOf(t)&&r.push(P(o.messages[z],e.fullField,e[z].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||RegExp(e.pattern).test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},B=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,i)&&!e.required)return n();U.required(e,t,r,a,o,i),A(t,i)||U.type(e,t,r,a,o)}n(a)},H={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();U.required(e,t,r,i,o,"string"),A(t,"string")||(U.type(e,t,r,i,o),U.range(e,t,r,i,o),U.pattern(e,t,r,i,o),!0===e.whitespace&&U.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),A(t)||U.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();U.required(e,t,r,i,o,"array"),null!=t&&(U.type(e,t,r,i,o),U.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o),void 0!==t&&U.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();U.required(e,t,r,i,o),A(t,"string")||U.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"date")&&!e.required)return n();U.required(e,t,r,a,o),!A(t,"date")&&(i=t instanceof Date?t:new Date(t),U.type(e,i,r,a,o),i&&U.range(e,i.getTime(),r,a,o))}n(a)},url:B,hex:B,email:B,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;U.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();U.required(e,t,r,i,o)}n(i)}};function W(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var q=W(),$=function(){function e(e){this.rules=null,this._messages=q,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=L(W(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var c=this.messages();c===q&&(c=W()),L(c,a.messages),a.messages=c}else a.messages=this.messages();var s={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=o.rules[e],r=i[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),s[e]=s[e]||[],s[e].push({rule:a,value:r,source:i,field:e}))})});var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;R((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,e[t]||[])}),a),n,function(e){return r(e),e.length?i(new M(e,O(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),c=l.length,s=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++s===c)return r(u),u.length?i(new M(u,O(u))):t(o)};l.length||(r(u),t(o)),l.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?R(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(s,a,function(t,n){var r,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"==typeof o.fields||"object"==typeof o.defaultField);function c(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function s(r){void 0===r&&(r=[]);var s=Array.isArray(r)?r:[r];!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==o.message&&(s=[].concat(o.message));var f=s.map(j(o,i));if(a.first&&f.length)return u[o.field]=1,n(f);if(l){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(j(o,i)):a.error&&(f=[a.error(o,P(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map(function(e){d[e]=o.defaultField});var p={};Object.keys(d=Z({},d,t.rule.fields)).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(c.bind(null,e))});var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(f)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,s,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,s,t.source,a)}catch(f){null==console.error||console.error(f),a.suppressValidatorError||setTimeout(function(){throw f},0),s(f.message)}!0===r?s():!1===r?s("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?s(r):r instanceof Error&&s(r.message)}r&&r.then&&r.then(function(){return s()},function(e){return s(e)})},function(e){!function(e){for(var t=[],n={},r=0;r3&&void 0!==arguments[3]&&arguments[3];return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!Q(e,t.slice(0,-1))?e:function e(t,n,r,o){if(!n.length)return r;var i,a=(0,X.Z)(n),l=a[0],u=a.slice(1);return i=t||"number"!=typeof l?Array.isArray(t)?(0,s.Z)(t):(0,c.Z)({},t):[],o&&void 0===r&&1===u.length?delete i[l][u[0]]:i[l]=e(i[l],u,r,o),i}(e,t,n,r)}(e,t,n,r)}function en(e,t){var n={};return t.forEach(function(t){var r=Q(e,t);n=et(n,t,r)}),n}function er(e,t){return e&&e.some(function(e){return ea(e,t)})}function eo(e){return"object"===(0,Y.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ei(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,s.Z)(e.slice(0,n)),[o],(0,s.Z)(e.slice(n,t)),(0,s.Z)(e.slice(t+1,r))):i<0?[].concat((0,s.Z)(e.slice(0,t)),(0,s.Z)(e.slice(t+1,n+1)),[o],(0,s.Z)(e.slice(n+1,r))):e}var es="CODE_LOGIC_ERROR";function eu(e,t,n,r,o){return ef.apply(this,arguments)}function ef(){return(ef=(0,E.Z)((0,x.Z)().mark(function e(t,n,r,i,a){var u,f,d,p,h,m,v,g,y;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete(u=(0,c.Z)({},r)).ruleIndex,u.validator&&(f=u.validator,u.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(es)}}),d=null,u&&"array"===u.type&&u.defaultField&&(d=u.defaultField,delete u.defaultField),p=new $((0,l.Z)({},t,[u])),h=ei({},G,i.validateMessages),p.messages(h),m=[],e.prev=9,e.next=12,Promise.resolve(p.validate((0,l.Z)({},t,n),(0,c.Z)({},i)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(9),e.t0.errors&&(m=e.t0.errors.map(function(e,t){var n=e.message,r=n===es?h.default:n;return o.isValidElement(r)?o.cloneElement(r,{key:"error_".concat(t)}):r}));case 17:if(!(!m.length&&d)){e.next=22;break}return e.next=20,Promise.all(n.map(function(e,n){return eu("".concat(t,".").concat(n),e,d,i,a)}));case 20:return v=e.sent,e.abrupt("return",v.reduce(function(e,t){return[].concat((0,s.Z)(e),(0,s.Z)(t))},[]));case 22:return g=(0,c.Z)((0,c.Z)({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),y=m.map(function(e){return"string"==typeof e?function(e,t){return e.replace(/\$\{\w+\}/g,function(e){return t[e.slice(2,-1)]})}(e,g):e}),e.abrupt("return",y);case 25:case"end":return e.stop()}},e,null,[[9,14]])}))).apply(this,arguments)}function ed(){return(ed=(0,E.Z)((0,x.Z)().mark(function e(t){return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then(function(e){var t;return(t=[]).concat.apply(t,(0,s.Z)(e))}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ep(){return(ep=(0,E.Z)((0,x.Z)().mark(function e(t){var n;return(0,x.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise(function(e){t.forEach(function(r){r.then(function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])})})}));case 2:case"end":return e.stop()}},e)}))).apply(this,arguments)}var eh=["name"],em=[];function ev(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var eg=function(e){(0,p.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).state={resetCount:0},r.cancelRegisterFunc=null,r.mounted=!1,r.touched=!1,r.dirty=!1,r.validatePromise=null,r.prevValidating=void 0,r.errors=em,r.warnings=em,r.cancelRegister=function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ee(o)),r.cancelRegisterFunc=null},r.getNamePath=function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat((0,s.Z)(void 0===n?[]:n),(0,s.Z)(t)):[]},r.getRules=function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})},r.refresh=function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})},r.triggerMetaEvent=function(e){var t=r.props.onMetaChange;null==t||t((0,c.Z)((0,c.Z)({},r.getMeta()),{},{destroy:e}))},r.onStoreChange=function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,c=o.onReset,s=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(s),p=t&&er(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==d&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=null,r.errors=em,r.warnings=em,r.triggerMetaEvent(),null==c||c(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":if(p){var h=n.data;"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||em),"warnings"in h&&(r.warnings=h.warnings||em),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if(i&&!u.length&&ev(i,e,s,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(l.map(ee).some(function(e){return er(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!l.length||u.length||i)&&ev(i,e,s,f,d,n)){r.reRender();return}}!0===i&&r.reRender()},r.validateRules=function(e){var t=r.getNamePath(),n=r.getValue(),o=Promise.resolve().then(function(){if(!r.mounted)return[];var i=r.props,a=i.validateFirst,l=i.messageVariables,u=(e||{}).triggerName,f=r.getRules();u&&(f=f.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||w(t).includes(u)}));var d=function(e,t,n,r,o,i){var a,l,s=e.join("."),u=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:em;if(r.validatePromise===o){r.validatePromise=null;var t,n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?em:r;t?i.push.apply(i,(0,s.Z)(o)):n.push.apply(n,(0,s.Z)(o))}),r.errors=n,r.warnings=i,r.triggerMetaEvent(),r.reRender()}}),d});return r.validatePromise=o,r.dirty=!0,r.errors=em,r.warnings=em,r.triggerMetaEvent(),r.reRender(),o},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(g).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath()}},r.getOnlyChild=function(e){if("function"==typeof e){var t=r.getMeta();return(0,c.Z)((0,c.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return Q(e||t(!0),n)},r.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,s=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==o?o:f.validateTrigger,p=r.getNamePath(),h=f.getInternalHooks,m=f.getFieldsValue,v=h(g).dispatch,y=r.getValue(),b=e[n],x=(0,c.Z)((0,c.Z)({},e),(u||function(e){return(0,l.Z)({},s,e)})(y));return x[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(u.keys=[].concat((0,s.Z)(u.keys.slice(0,t)),[u.id],(0,s.Z)(u.keys.slice(t))),o([].concat((0,s.Z)(n.slice(0,t)),[e],(0,s.Z)(n.slice(t))))):(u.keys=[].concat((0,s.Z)(u.keys),[u.id]),o([].concat((0,s.Z)(n),[e]))),u.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(u.keys=u.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(u.keys=ec(u.keys,e,t),o(ec(n,e,t)))}}},t)})))},ex=n(97685),eE="__@field_split__";function eC(e){return e.map(function(e){return"".concat((0,Y.Z)(e),":").concat(e)}).join(eE)}var eZ=function(){function e(){(0,u.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eC(e),t)}},{key:"get",value:function(e){return this.kvs.get(eC(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eC(e))}},{key:"map",value:function(e){return(0,s.Z)(this.kvs.entries()).map(function(t){var n=(0,ex.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eE).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ex.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),eS=["name","errors"],ek=(0,f.Z)(function e(t){var n=this;(0,u.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===g?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,v.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=ei({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=et(o,n,Q(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new eZ;n.getFieldEntities(!0).forEach(function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=Q(n.initialValues,e);return e.length?J(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach(function(n){n(t,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eZ;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ee(e);return t.get(n)||{INVALIDATE_NAME_PATH:ee(e)}})},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach(function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();!(!e&&(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))&&(t?t("getMeta"in n?n.getMeta():null)&&o.push(i):o.push(i))}),en(n.store,o.map(ee))},this.getFieldValue=function(e){n.warningUnhooked();var t=ee(e);return Q(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ee(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ee(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new eZ,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,s.Z)((0,s.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,v.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,v.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);t.skipExist&&void 0!==a||n.updateStore(et(n.store,o,(0,s.Z)(i)[0].value))}}}})}(e)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore(ei({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ee);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore(et(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(e.errors,(0,a.Z)(e,eS)),l=ee(o);r.push(l),"value"in i&&n.updateStore(et(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===Q(n.store,r)&&n.updateStore(et(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ea(e.getNamePath(),t)})){var l=n.store;n.updateStore(et(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,s.Z)(r))}),r},this.updateValue=function(e,t){var r=ee(e),o=n.store;n.updateStore(et(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(en(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,s.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=ei(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new eZ;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ee(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new eZ;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}r(o.filter(function(t){return er(e,t.name)}),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r,o,i,a=!!e,l=a?e.map(ee):[],u=[];n.getFieldEntities(!0).forEach(function(r){if(a||l.push(r.getNamePath()),(null==t?void 0:t.recursive)&&a){var o=r.getNamePath();o.every(function(t,n){return e[n]===t||void 0===e[n]})&&l.push(o)}if(r.props.rules&&r.props.rules.length){var i=r.getNamePath();if(!a||er(l,i)){var f=r.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},G),n.validateMessages)},t));u.push(f.then(function(){return{name:i,errors:[],warnings:[]}}).catch(function(e){var t,n=[],r=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,(0,s.Z)(o)):n.push.apply(n,(0,s.Z)(o))}),n.length)?Promise.reject({name:i,errors:n,warnings:r}):{name:i,errors:n,warnings:r}}))}}});var f=(r=!1,o=u.length,i=[],u.length?new Promise(function(e,t){u.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=f,f.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var d=f.then(function(){return n.lastValidatePromise===f?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==f})});return d.catch(function(e){return e}),d},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eN=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ex.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new ek(function(){r({})});t.current=i.getForm()}}return[t.current]},e_=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eT=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(e_),s=o.useRef({});return o.createElement(e_.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,l.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)},eO=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eP(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}var eA=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o0;if(P||A){var t=f(I),n=(0,p.Z)(t).length,a="object"===(0,o.Z)(A)?A.formatter({value:t,count:n,maxLength:O}):"".concat(n).concat(e?" / ".concat(O):"");return i.createElement(i.Fragment,null,!!A&&i.createElement("span",{className:l()("".concat(k,"-show-count-suffix"),(0,r.Z)({},"".concat(k,"-show-count-has-suffix"),!!P))},a),P)}return null}(),disabled:N}))})},97868:function(e,t,n){"use strict";n.d(t,{iz:function(){return eI},ck:function(){return q},BW:function(){return eF},sN:function(){return q},GP:function(){return eF},Wd:function(){return ep},ZP:function(){return eD},Xl:function(){return j}});var r=n(87462),o=n(4942),i=n(1413),a=n(74902),l=n(97685),c=n(45987),s=n(67294),u=n(94184),f=n.n(u),d=n(96774),p=n.n(d),h=n(21770),m=n(80334),v=n(34243),g=n(15671),y=n(43144),b=n(60136),w=n(33643),x=n(15105),E=n(98423),C=n(56982),Z=["children","locked"],S=s.createContext(null);function k(e){var t=e.children,n=e.locked,r=(0,c.Z)(e,Z),o=s.useContext(S),a=(0,C.Z)(function(){var e;return e=(0,i.Z)({},o),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[o,r],function(e,t){return!n&&(e[0]!==t[0]||!p()(e[1],t[1]))});return s.createElement(S.Provider,{value:a},t)}function N(e,t,n,r){var o=s.useContext(S),i=o.activeKey,a=o.onActive,l=o.onInactive,c={active:i===e};return t||(c.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},c.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),l(e)}),c}var _=["item"];function T(e){var t=e.item,n=(0,c.Z)(e,_);return Object.defineProperty(n,"item",{get:function(){return(0,m.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function O(e){var t=e.icon,n=e.props,r=e.children;return("function"==typeof t?s.createElement(t,(0,i.Z)({},n)):t)||r||null}function P(e){var t=s.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*o}:{paddingLeft:e*o}}var A=s.createContext(null);function R(){return s.useContext(A)}var M=s.createContext([]);function j(e){var t=s.useContext(M);return s.useMemo(function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t},[t,e])}var L=s.createContext(null),F=s.createContext(null);function I(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function V(e){return I(s.useContext(F),e)}var D=s.createContext({}),z=["title","attribute","elementRef"],U=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],B=["active"],H=function(e){(0,b.Z)(n,e);var t=(0,w.Z)(n);function n(){return(0,g.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,c.Z)(e,z),a=(0,E.Z)(i,["eventKey"]);return(0,m.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),s.createElement(v.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(s.Component),W=function(e){var t,n=e.style,l=e.className,u=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,m=e.role,v=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,c.Z)(e,U),C=V(u),Z=s.useContext(S),k=Z.prefixCls,_=Z.onItemClick,A=Z.disabled,R=Z.overflowDisabled,M=Z.itemIcon,L=Z.selectedKeys,F=Z.onActive,I=s.useContext(D)._internalRenderMenuItem,z="".concat(k,"-item"),W=s.useRef(),q=s.useRef(),$=A||d,K=j(u),G=function(e){return{key:u,keyPath:(0,a.Z)(K).reverse(),item:W.current,domEvent:e}},Y=N(u,$,v,g),Q=Y.active,X=(0,c.Z)(Y,B),J=L.includes(u),ee=P(K.length),et={};"option"===e.role&&(et["aria-selected"]=J);var en=s.createElement(H,(0,r.Z)({ref:W,elementRef:q,role:null===m?"none":m||"menuitem",tabIndex:d?null:-1,"data-menu-id":R&&C?null:C},E,X,et,{component:"li","aria-disabled":d,style:(0,i.Z)((0,i.Z)({},ee),n),className:f()(z,(t={},(0,o.Z)(t,"".concat(z,"-active"),Q),(0,o.Z)(t,"".concat(z,"-selected"),J),(0,o.Z)(t,"".concat(z,"-disabled"),$),t),l),onClick:function(e){if(!$){var t=G(e);null==y||y(T(t)),_(t)}},onKeyDown:function(e){if(null==b||b(e),e.which===x.Z.ENTER){var t=G(e);null==y||y(T(t)),_(t)}},onFocus:function(e){F(u),null==w||w(e)}}),h,s.createElement(O,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:J}),icon:p||M}));return I&&(en=I(en,e,{selected:J})),en},q=function(e){var t=e.eventKey,n=R(),r=j(t);return(s.useEffect(function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}},[r]),n)?null:s.createElement(W,e)},$=n(71002),K=n(50344),G=["label","children","key","type"];function Y(e,t){return(0,K.Z)(e).map(function(e,n){if(s.isValidElement(e)){var r,o,i=e.key,l=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==l&&(l="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var c={key:l,eventKey:l};return s.cloneElement(e,c)}return e})}function Q(e){var t=s.useRef(e);t.current=e;var n=s.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return(E.onVisibleChanged=function(e){return v.current||e||w(!0),null==C?void 0:C(e)},b)?null:s.createElement(k,{mode:c,locked:!v.current},s.createElement(ec.Z,(0,r.Z)({visible:x},E,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),function(e){var n=e.className,r=e.style;return s.createElement(J,{id:t,className:n,style:r},a)}))}var eu=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ef=["active"],ed=function(e){var t,n=e.style,a=e.className,u=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,m=e.children,g=e.itemIcon,y=e.expandIcon,b=e.popupClassName,w=e.popupOffset,x=e.onClick,E=e.onMouseEnter,C=e.onMouseLeave,Z=e.onTitleClick,_=e.onTitleMouseEnter,A=e.onTitleMouseLeave,R=(0,c.Z)(e,eu),M=V(d),F=s.useContext(S),I=F.prefixCls,z=F.mode,U=F.openKeys,B=F.disabled,H=F.overflowDisabled,W=F.activeKey,q=F.selectedKeys,$=F.itemIcon,K=F.expandIcon,G=F.onItemClick,Y=F.onOpenChange,X=F.onActive,ee=s.useContext(D)._internalRenderSubMenuItem,et=s.useContext(L).isSubPathKey,en=j(),er="".concat(I,"-submenu"),eo=B||p,ei=s.useRef(),ea=s.useRef(),ec=y||K,ed=U.includes(d),ep=!H&&ed,eh=et(q,d),em=N(d,eo,_,A),ev=em.active,eg=(0,c.Z)(em,ef),ey=s.useState(!1),eb=(0,l.Z)(ey,2),ew=eb[0],ex=eb[1],eE=function(e){eo||ex(e)},eC=s.useMemo(function(){return ev||"inline"!==z&&(ew||et([W],d))},[z,ev,W,ew,d,et]),eZ=P(en.length),eS=Q(function(e){null==x||x(T(e)),G(e)}),ek=M&&"".concat(M,"-popup"),eN=s.createElement("div",(0,r.Z)({role:"menuitem",style:eZ,className:"".concat(er,"-title"),tabIndex:eo?null:-1,ref:ei,title:"string"==typeof u?u:null,"data-menu-id":H&&M?null:M,"aria-expanded":ep,"aria-haspopup":!0,"aria-controls":ek,"aria-disabled":eo,onClick:function(e){eo||(null==Z||Z({key:d,domEvent:e}),"inline"===z&&Y(d,!ed))},onFocus:function(){X(d)}},eg),u,s.createElement(O,{icon:"horizontal"!==z?ec:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:ep,isSubMenu:!0})},s.createElement("i",{className:"".concat(er,"-arrow")}))),e_=s.useRef(z);if("inline"!==z&&en.length>1?e_.current="vertical":e_.current=z,!H){var eT=e_.current;eN=s.createElement(el,{mode:eT,prefixCls:er,visible:!h&&ep&&"inline"!==z,popupClassName:b,popupOffset:w,popup:s.createElement(k,{mode:"horizontal"===eT?"vertical":eT},s.createElement(J,{id:ek,ref:ea},m)),disabled:eo,onVisibleChange:function(e){"inline"!==z&&Y(d,e)}},eN)}var eO=s.createElement(v.Z.Item,(0,r.Z)({role:"none"},R,{component:"li",style:n,className:f()(er,"".concat(er,"-").concat(z),a,(t={},(0,o.Z)(t,"".concat(er,"-open"),ep),(0,o.Z)(t,"".concat(er,"-active"),eC),(0,o.Z)(t,"".concat(er,"-selected"),eh),(0,o.Z)(t,"".concat(er,"-disabled"),eo),t)),onMouseEnter:function(e){eE(!0),null==E||E({key:d,domEvent:e})},onMouseLeave:function(e){eE(!1),null==C||C({key:d,domEvent:e})}}),eN,!H&&s.createElement(es,{id:ek,open:ep,keyPath:en},m));return ee&&(eO=ee(eO,e,{selected:eh,active:eC,open:ep,disabled:eo})),s.createElement(k,{onItemClick:eS,mode:"horizontal"===z?"vertical":z,itemIcon:g||$,expandIcon:ec},eO)};function ep(e){var t,n=e.eventKey,r=e.children,o=j(n),i=Y(r,o),a=R();return s.useEffect(function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}},[o]),t=a?i:s.createElement(ed,e,i),s.createElement(M.Provider,{value:o},t)}var eh=n(88603),em=x.Z.LEFT,ev=x.Z.RIGHT,eg=x.Z.UP,ey=x.Z.DOWN,eb=x.Z.ENTER,ew=x.Z.ESC,ex=x.Z.HOME,eE=x.Z.END,eC=[eg,ey,em,ev];function eZ(e,t){return(0,eh.tS)(e,!0).filter(function(e){return t.has(e)})}function eS(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=eZ(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var ek=Math.random().toFixed(5).toString().slice(2),eN=0,e_="__RC_UTIL_PATH_SPLIT__",eT=function(e){return e.join(e_)},eO="rc-menu-more",eP=["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"],eA=[],eR=s.forwardRef(function(e,t){var n,u,d,m,g,y,b,w,x,E,C,Z,S,N,_,O,P,R,M,j,V,z,U,B,H,W,K,X=e.prefixCls,J=void 0===X?"rc-menu":X,ee=e.rootClassName,en=e.style,er=e.className,eo=e.tabIndex,ei=e.items,ea=e.children,el=e.direction,ec=e.id,es=e.mode,eu=void 0===es?"vertical":es,ef=e.inlineCollapsed,ed=e.disabled,eh=e.disabledOverflow,eR=e.subMenuOpenDelay,eM=e.subMenuCloseDelay,ej=e.forceSubMenuRender,eL=e.defaultOpenKeys,eV=e.openKeys,eD=e.activeKey,ez=e.defaultActiveFirst,eU=e.selectable,eB=void 0===eU||eU,eH=e.multiple,eW=void 0!==eH&&eH,eq=e.defaultSelectedKeys,e$=e.selectedKeys,eK=e.onSelect,eG=e.onDeselect,eY=e.inlineIndent,eQ=e.motion,eX=e.defaultMotions,eJ=e.triggerSubMenuAction,e0=e.builtinPlacements,e1=e.itemIcon,e2=e.expandIcon,e4=e.overflowedIndicator,e5=void 0===e4?"...":e4,e6=e.overflowedIndicatorPopupClassName,e3=e.getPopupContainer,e8=e.onClick,e7=e.onOpenChange,e9=e.onKeyDown,te=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tt=e._internalRenderSubMenuItem,tn=(0,c.Z)(e,eP),tr=s.useMemo(function(){var e;return e=ea,ei&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,$.Z)(t)){var o=t.label,i=t.children,a=t.key,l=t.type,u=(0,c.Z)(t,G),f=null!=a?a:"tmp-".concat(n);return i||"group"===l?"group"===l?s.createElement(eF,(0,r.Z)({key:f},u,{title:o}),e(i)):s.createElement(ep,(0,r.Z)({key:f},u,{title:o}),e(i)):"divider"===l?s.createElement(eI,(0,r.Z)({key:f},u)):s.createElement(q,(0,r.Z)({key:f},u),o)}return null}).filter(function(e){return e})}(ei)),Y(e,eA)},[ea,ei]),to=s.useState(!1),ti=(0,l.Z)(to,2),ta=ti[0],tl=ti[1],tc=s.useRef(),ts=(n=(0,h.Z)(ec,{value:ec}),d=(u=(0,l.Z)(n,2))[0],m=u[1],s.useEffect(function(){eN+=1;var e="".concat(ek,"-").concat(eN);m("rc-menu-uuid-".concat(e))},[]),d),tu="rtl"===el,tf=s.useMemo(function(){return("inline"===eu||"vertical"===eu)&&ef?["vertical",ef]:[eu,!1]},[eu,ef]),td=(0,l.Z)(tf,2),tp=td[0],th=td[1],tm=s.useState(0),tv=(0,l.Z)(tm,2),tg=tv[0],ty=tv[1],tb=tg>=tr.length-1||"horizontal"!==tp||eh,tw=(0,h.Z)(eL,{value:eV,postState:function(e){return e||eA}}),tx=(0,l.Z)(tw,2),tE=tx[0],tC=tx[1],tZ=function(e){tC(e),null==e7||e7(e)},tS=s.useState(tE),tk=(0,l.Z)(tS,2),tN=tk[0],t_=tk[1],tT="inline"===tp,tO=s.useRef(!1);s.useEffect(function(){tT&&t_(tE)},[tE]),s.useEffect(function(){tO.current&&(tT?tC(tN):tZ(eA))},[tT]),s.useEffect(function(){return tO.current=!0,function(){tO.current=!1}},[]);var tP=(g=s.useState({}),y=(0,l.Z)(g,2)[1],b=(0,s.useRef)(new Map),w=(0,s.useRef)(new Map),x=s.useState([]),C=(E=(0,l.Z)(x,2))[0],Z=E[1],S=(0,s.useRef)(0),N=(0,s.useRef)(!1),_=function(){N.current||y({})},O=(0,s.useCallback)(function(e,t){var n=eT(t);w.current.set(n,e),b.current.set(e,n),S.current+=1;var r=S.current;Promise.resolve().then(function(){r===S.current&&_()})},[]),P=(0,s.useCallback)(function(e,t){var n=eT(t);w.current.delete(n),b.current.delete(e)},[]),R=(0,s.useCallback)(function(e){Z(e)},[]),M=(0,s.useCallback)(function(e,t){var n=(b.current.get(e)||"").split(e_);return t&&C.includes(n[0])&&n.unshift(eO),n},[C]),j=(0,s.useCallback)(function(e,t){return e.some(function(e){return M(e,!0).includes(t)})},[M]),V=(0,s.useCallback)(function(e){var t="".concat(b.current.get(e)).concat(e_),n=new Set;return(0,a.Z)(w.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(w.current.get(e))}),n},[]),s.useEffect(function(){return function(){N.current=!0}},[]),{registerPath:O,unregisterPath:P,refreshOverflowKeys:R,isSubPathKey:j,getKeyPath:M,getKeys:function(){var e=(0,a.Z)(b.current.keys());return C.length&&e.push(eO),e},getSubPathKeys:V}),tA=tP.registerPath,tR=tP.unregisterPath,tM=tP.refreshOverflowKeys,tj=tP.isSubPathKey,tL=tP.getKeyPath,tF=tP.getKeys,tI=tP.getSubPathKeys,tV=s.useMemo(function(){return{registerPath:tA,unregisterPath:tR}},[tA,tR]),tD=s.useMemo(function(){return{isSubPathKey:tj}},[tj]);s.useEffect(function(){tM(tb?eA:tr.slice(tg+1).map(function(e){return e.key}))},[tg,tb]);var tz=(0,h.Z)(eD||ez&&(null===(W=tr[0])||void 0===W?void 0:W.key),{value:eD}),tU=(0,l.Z)(tz,2),tB=tU[0],tH=tU[1],tW=Q(function(e){tH(e)}),tq=Q(function(){tH(void 0)});(0,s.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,r,o,i=null!=tB?tB:null===(t=tr.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;i&&(null===(n=tc.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(I(ts,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var t$=(0,h.Z)(eq||[],{value:e$,postState:function(e){return Array.isArray(e)?e:null==e?eA:[e]}}),tK=(0,l.Z)(t$,2),tG=tK[0],tY=tK[1],tQ=function(e){if(eB){var t,n=e.key,r=tG.includes(n);tY(t=eW?r?tG.filter(function(e){return e!==n}):[].concat((0,a.Z)(tG),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==eG||eG(o):null==eK||eK(o)}!eW&&tE.length&&"inline"!==tp&&tZ(eA)},tX=Q(function(e){null==e8||e8(T(e)),tQ(e)}),tJ=Q(function(e,t){var n=tE.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tp){var r=tI(e);n=n.filter(function(e){return!r.has(e)})}p()(tE,n)||tZ(n)}),t0=Q(e3),t1=(z=function(e,t){var n=null!=t?t:!tE.includes(e);tJ(e,n)},U=s.useRef(),(B=s.useRef()).current=tB,H=function(){et.Z.cancel(U.current)},s.useEffect(function(){return function(){H()}},[]),function(e){var t=e.which;if([].concat(eC,[eb,ew,ex,eE]).includes(t)){var n=function(){return c=new Set,s=new Map,u=new Map,tF().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(I(ts,e),"']"));t&&(c.add(t),u.set(t,e),s.set(e,t))}),c};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(s.get(tB),c),i=u.get(r),a=function(e,t,n,r){var i,a,l,c,s="prev",u="next",f="children",d="parent";if("inline"===e&&r===eb)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,eg,s),(0,o.Z)(i,ey,u),i),h=(a={},(0,o.Z)(a,em,n?u:s),(0,o.Z)(a,ev,n?s:u),(0,o.Z)(a,ey,f),(0,o.Z)(a,eb,f),a),m=(l={},(0,o.Z)(l,eg,s),(0,o.Z)(l,ey,u),(0,o.Z)(l,eb,f),(0,o.Z)(l,ew,d),(0,o.Z)(l,em,n?f:d),(0,o.Z)(l,ev,n?d:f),l);switch(null===(c=({inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case s:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(tp,1===tL(i,!0).length,tu,t);if(!a&&t!==ex&&t!==eE)return;(eC.includes(t)||[ex,eE].includes(t))&&e.preventDefault();var l=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=u.get(e);tH(r),H(),U.current=(0,et.Z)(function(){B.current===r&&t.focus()})}};if([ex,eE].includes(t)||a.sibling||!r){var c,s,u,f,d=eZ(f=r&&"inline"!==tp?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tc.current,c);l(t===ex?d[0]:t===eE?d[d.length-1]:eS(f,c,r,a.offset))}else if(a.inlineTrigger)z(i);else if(a.offset>0)z(i,!0),H(),U.current=(0,et.Z)(function(){n();var e=r.getAttribute("aria-controls");l(eS(document.getElementById(e),c))},5);else if(a.offset<0){var p=tL(i,!0),h=p[p.length-2],m=s.get(h);z(h,!1),l(m)}}null==e9||e9(e)});s.useEffect(function(){tl(!0)},[]);var t2=s.useMemo(function(){return{_internalRenderMenuItem:te,_internalRenderSubMenuItem:tt}},[te,tt]),t4="horizontal"!==tp||eh?tr:tr.map(function(e,t){return s.createElement(k,{key:e.key,overflowDisabled:t>tg},e)}),t5=s.createElement(v.Z,(0,r.Z)({id:ec,ref:tc,prefixCls:"".concat(J,"-overflow"),component:"ul",itemComponent:q,className:f()(J,"".concat(J,"-root"),"".concat(J,"-").concat(tp),er,(K={},(0,o.Z)(K,"".concat(J,"-inline-collapsed"),th),(0,o.Z)(K,"".concat(J,"-rtl"),tu),K),ee),dir:el,style:en,role:"menu",tabIndex:void 0===eo?0:eo,data:t4,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?tr.slice(-t):null;return s.createElement(ep,{eventKey:eO,title:e5,disabled:tb,internalPopupClose:0===t,popupClassName:e6},n)},maxCount:"horizontal"!==tp||eh?v.Z.INVALIDATE:v.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){ty(e)},onKeyDown:t1},tn));return s.createElement(D.Provider,{value:t2},s.createElement(F.Provider,{value:ts},s.createElement(k,{prefixCls:J,rootClassName:ee,mode:tp,openKeys:tE,rtl:tu,disabled:ed,motion:ta?eQ:null,defaultMotions:ta?eX:null,activeKey:tB,onActive:tW,onInactive:tq,selectedKeys:tG,inlineIndent:void 0===eY?24:eY,subMenuOpenDelay:void 0===eR?.1:eR,subMenuCloseDelay:void 0===eM?.1:eM,forceSubMenuRender:ej,builtinPlacements:e0,triggerSubMenuAction:void 0===eJ?"hover":eJ,getPopupContainer:t0,itemIcon:e1,expandIcon:e2,onItemClick:tX,onOpenChange:tJ},s.createElement(L.Provider,{value:tD},t5),s.createElement("div",{style:{display:"none"},"aria-hidden":!0},s.createElement(A.Provider,{value:tV},tr)))))}),eM=["className","title","eventKey","children"],ej=["children"],eL=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,c.Z)(e,eM),a=s.useContext(S).prefixCls,l="".concat(a,"-item-group");return s.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(l,t)}),s.createElement("div",{className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),s.createElement("ul",{className:"".concat(l,"-list")},o))};function eF(e){var t=e.children,n=(0,c.Z)(e,ej),r=Y(t,j(n.eventKey));return R()?r:s.createElement(eL,(0,E.Z)(n,["warnKey"]),r)}function eI(e){var t=e.className,n=e.style,r=s.useContext(S).prefixCls;return R()?null:s.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var eV=eR;eV.Item=q,eV.SubMenu=ep,eV.ItemGroup=eF,eV.Divider=eI;var eD=eV},62874:function(e,t,n){"use strict";n.d(t,{V:function(){return ei},Z:function(){return ea}});var r,o,i,a=n(4942),l=n(1413),c=n(97685),s=n(71002),u=n(67294),f=n(34203),d=n(42550),p=n(94184),h=n.n(p),m=n(98924);function v(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}var g=(r=(0,m.Z)(),o="undefined"!=typeof window?window:{},i={animationend:v("Animation","AnimationEnd"),transitionend:v("Transition","TransitionEnd")},!r||("AnimationEvent"in o||delete i.animationend.animation,"TransitionEvent"in o||delete i.transitionend.transition),i),y={};(0,m.Z)()&&(y=document.createElement("div").style);var b={};function w(e){if(b[e])return b[e];var t=g[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,L.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},I=(0,m.Z)()?u.useLayoutEffect:u.useEffect,V=[A,R,M,"end"];function D(e){return e===M||"end"===e}var z=function(e,t){var n=(0,j.Z)(P),r=(0,c.Z)(n,2),o=r[0],i=r[1],a=F(),l=(0,c.Z)(a,2),s=l[0],f=l[1];return I(function(){if(o!==P&&"end"!==o){var e=V[V.indexOf(o)+1],n=t(o);!1===n?i(e,!0):s(function(t){function r(){t.isCanceled()||i(e,!0)}!0===n?r():Promise.resolve(n).then(r)})}},[e,o]),u.useEffect(function(){return function(){f()}},[]),[function(){i(A,!0)},o]},U=function(e){var t=(0,u.useRef)(),n=(0,u.useRef)(e);n.current=e;var r=u.useCallback(function(e){n.current(e)},[]);function o(e){e&&(e.removeEventListener(S,r),e.removeEventListener(Z,r))}return u.useEffect(function(){return function(){o(t.current)}},[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(S,r),e.addEventListener(Z,r),t.current=e)},o]},B=n(15671),H=n(43144),W=n(60136),q=n(33643),$=function(e){(0,W.Z)(n,e);var t=(0,q.Z)(n);function n(){return(0,B.Z)(this,n),t.apply(this,arguments)}return(0,H.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component),K=function(e){var t=e;function n(e){return!!(e.motionName&&t)}"object"===(0,s.Z)(e)&&(t=e.transitionSupport);var r=u.forwardRef(function(e,t){var r,o,i,s=e.visible,p=void 0===s||s,m=e.removeOnLeave,v=e.forceRender,g=e.children,y=e.motionName,b=e.leavedClassName,w=e.eventProps,x=n(e),E=(0,u.useRef)(),C=(0,u.useRef)(),Z=function(e,t,n,r){var o=r.motionEnter,i=void 0===o||o,s=r.motionAppear,f=void 0===s||s,d=r.motionLeave,p=void 0===d||d,h=r.motionDeadline,m=r.motionLeaveImmediately,v=r.onAppearPrepare,g=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,w=r.onEnterStart,x=r.onLeaveStart,E=r.onAppearActive,C=r.onEnterActive,Z=r.onLeaveActive,S=r.onAppearEnd,k=r.onEnterEnd,P=r.onLeaveEnd,L=r.onVisibleChanged,F=(0,j.Z)(),V=(0,c.Z)(F,2),B=V[0],H=V[1],W=(0,j.Z)(N),q=(0,c.Z)(W,2),$=q[0],K=q[1],G=(0,j.Z)(null),Y=(0,c.Z)(G,2),Q=Y[0],X=Y[1],J=(0,u.useRef)(!1),ee=(0,u.useRef)(null),et=(0,u.useRef)(!1);function en(e){var t,r=n();if(!e||e.deadline||e.target===r){var o=et.current;$===_&&o?t=null==S?void 0:S(r,e):$===T&&o?t=null==k?void 0:k(r,e):$===O&&o&&(t=null==P?void 0:P(r,e)),$!==N&&o&&!1!==t&&(K(N,!0),X(null,!0))}}var er=U(en),eo=(0,c.Z)(er,1)[0],ei=u.useMemo(function(){var e,t,n;switch($){case _:return e={},(0,a.Z)(e,A,v),(0,a.Z)(e,R,b),(0,a.Z)(e,M,E),e;case T:return t={},(0,a.Z)(t,A,g),(0,a.Z)(t,R,w),(0,a.Z)(t,M,C),t;case O:return n={},(0,a.Z)(n,A,y),(0,a.Z)(n,R,x),(0,a.Z)(n,M,Z),n;default:return{}}},[$]),ea=z($,function(e){if(e===A){var t,r=ei[A];return!!r&&r(n())}return es in ei&&X((null===(t=ei[es])||void 0===t?void 0:t.call(ei,n(),null))||null),es===M&&(eo(n()),h>0&&(clearTimeout(ee.current),ee.current=setTimeout(function(){en({deadline:!0})},h))),!0}),el=(0,c.Z)(ea,2),ec=el[0],es=el[1],eu=D(es);et.current=eu,I(function(){H(t);var n,r=J.current;J.current=!0,e&&(!r&&t&&f&&(n=_),r&&t&&i&&(n=T),(r&&!t&&p||!r&&m&&!t&&p)&&(n=O),n&&(K(n),ec()))},[t]),(0,u.useEffect)(function(){($!==_||f)&&($!==T||i)&&($!==O||p)||K(N)},[f,i,p]),(0,u.useEffect)(function(){return function(){J.current=!1,clearTimeout(ee.current)}},[]);var ef=u.useRef(!1);(0,u.useEffect)(function(){B&&(ef.current=!0),void 0!==B&&$===N&&((ef.current||B)&&(null==L||L(B)),ef.current=!0)},[B,$]);var ed=Q;return ei[A]&&es===R&&(ed=(0,l.Z)({transition:"none"},ed)),[$,es,ed,null!=B?B:t]}(x,p,function(){try{return E.current instanceof HTMLElement?E.current:(0,f.Z)(C.current)}catch(e){return null}},e),S=(0,c.Z)(Z,4),P=S[0],L=S[1],F=S[2],V=S[3],B=u.useRef(V);V&&(B.current=!0);var H=u.useCallback(function(e){E.current=e,(0,d.mH)(t,e)},[t]),W=(0,l.Z)((0,l.Z)({},w),{},{visible:p});return g?P!==N&&n(e)?(L===A?i="prepare":D(L)?i="active":L===R&&(i="start"),r=g((0,l.Z)((0,l.Z)({},W),{},{className:h()(k(y,P),(o={},(0,a.Z)(o,k(y,"".concat(P,"-").concat(i)),i),(0,a.Z)(o,y,"string"==typeof y),o)),style:F}),H)):r=V?g((0,l.Z)({},W),H):!(void 0===m||m)&&B.current?g((0,l.Z)((0,l.Z)({},W),{},{className:b}),H):v?g((0,l.Z)((0,l.Z)({},W),{},{style:{display:"none"}}),H):null:r=null,u.isValidElement(r)&&(0,d.Yr)(r)&&!r.ref&&(r=u.cloneElement(r,{ref:H})),u.createElement($,{ref:C},r)});return r.displayName="CSSMotion",r}(C),G=n(87462),Y=n(45987),Q="keep",X="remove",J="removed";function ee(e){var t;return t=e&&"object"===(0,s.Z)(e)&&"key"in e?e:{key:e},(0,l.Z)((0,l.Z)({},t),{},{key:String(t.key)})}function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ee)}var en=["component","children","onVisibleChanged","onAllRemoved"],er=["status"],eo=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ei=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K,n=function(e){(0,W.Z)(r,e);var n=(0,q.Z)(r);function r(){var e;(0,B.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=et(e),a=et(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==X})).forEach(function(t){t.key===e&&(t.status=Q)})}),n})(r,et(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==J||e.status!==X})}}}]),r}(u.Component);return n.defaultProps={component:"div"},n}(C),ea=K},51784:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(4942),i=n(15671),a=n(43144),l=n(60136),c=n(33643),s=n(67294),u=n(73935),f=n(94184),d=n.n(f),p=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a=l&&(a.key=i[0].notice.key,a.updateMark=w(),a.userPassKey=o,i.shift()),i.push({notice:a,holderCallback:n})),{notices:i}})},e.remove=function(t){e.setState(function(e){return{notices:e.notices.filter(function(e){var n=e.notice,r=n.key,o=n.userPassKey;return(null!=o?o:r)!==t})}})},e.noticePropsMap={},e}return(0,l.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,l=n.closeIcon,c=n.style,s=[];return t.forEach(function(n,o){var a=n.notice,c=n.holderCallback,u=o===t.length-1?a.updateMark:void 0,f=a.key,d=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:l},a),a.props),{},{key:f,noticeKey:d||f,updateMark:u,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});s.push(f),e.noticePropsMap[f]={props:p,holderCallback:c}}),u.createElement("div",{className:p()(r,a),style:c},u.createElement(h.V,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},function(t){var n=t.key,a=t.className,l=t.style,c=t.visible,s=e.noticePropsMap[n],f=s.props,d=s.holderCallback;return d?u.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},l),ref:function(t){void 0!==n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):u.createElement(m.Z,(0,o.Z)({},f,{className:p()(a,null==f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},l),null==f?void 0:f.style),visible:c}))}))}}]),n}(u.Component);x.newInstance=void 0,x.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},x.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,g),l=document.createElement("div");i?i().appendChild(l):document.body.appendChild(l);var c=!1;(0,f.s)(u.createElement(x,(0,o.Z)({},a,{ref:function(e){c||(c=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(l),l.parentNode&&l.parentNode.removeChild(l)},useNotification:function(){return(0,v.Z)(e)}}))}})),l)};var E=x},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),l=n(51784);function c(e){var t=a.useRef({}),n=a.useState([]),c=(0,i.Z)(n,2),s=c[0],u=c[1];return[function(n){var i=!0;e.add(n,function(e,n){var c=n.key;if(e&&(!t.current[c]||i)){var s=a.createElement(l.Z,(0,o.Z)({},n,{holder:e}));t.current[c]=s,u(function(e){var t=e.findIndex(function(e){return e.key===n.key});if(-1===t)return[].concat((0,r.Z)(e),[s]);var o=(0,r.Z)(e);return o[t]=s,o})}i=!1})},a.createElement(a.Fragment,null,s)]}},34243:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(87462),o=n(1413),i=n(97685),a=n(45987),l=n(67294),c=n(94184),s=n.n(c),u=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,h=l.forwardRef(function(e,t){var n,i=e.prefixCls,c=e.invalidate,f=e.item,h=e.renderItem,m=e.responsive,v=e.responsiveDisabled,g=e.registerSize,y=e.itemKey,b=e.className,w=e.style,x=e.children,E=e.display,C=e.order,Z=e.component,S=(0,a.Z)(e,d),k=m&&!E;l.useEffect(function(){return function(){g(y,null)}},[]);var N=h&&f!==p?h(f):x;c||(n={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:m?C:p,pointerEvents:k?"none":p,position:k?"absolute":p});var _={};k&&(_["aria-hidden"]=!0);var T=l.createElement(void 0===Z?"div":Z,(0,r.Z)({className:s()(!c&&i,b),style:(0,o.Z)((0,o.Z)({},n),w)},_,S,{ref:t}),N);return m&&(T=l.createElement(u.default,{onResize:function(e){g(y,e.offsetWidth)},disabled:v},T)),T});h.displayName="Item";var m=n(75164),v=n(30470),g=["component"],y=["className"],b=["className"],w=l.forwardRef(function(e,t){var n=l.useContext(E);if(!n){var o=e.component,i=(0,a.Z)(e,g);return l.createElement(void 0===o?"div":o,(0,r.Z)({},i,{ref:t}))}var c=n.className,u=(0,a.Z)(n,y),f=e.className,d=(0,a.Z)(e,b);return l.createElement(E.Provider,{value:null},l.createElement(h,(0,r.Z)({ref:t,className:s()(c,f)},u,d)))});w.displayName="RawItem";var x=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],E=l.createContext(null),C="responsive",Z="invalidate";function S(e){return"+ ".concat(e.length," ...")}var k=l.forwardRef(function(e,t){var n,c,d,p,g,y,b=e.prefixCls,w=void 0===b?"rc-overflow":b,k=e.data,N=void 0===k?[]:k,_=e.renderItem,T=e.renderRawItem,O=e.itemKey,P=e.itemWidth,A=void 0===P?10:P,R=e.ssr,M=e.style,j=e.className,L=e.maxCount,F=e.renderRest,I=e.renderRawRest,V=e.suffix,D=e.component,z=e.itemComponent,U=e.onVisibleChange,B=(0,a.Z)(e,x),H=(n=(0,v.Z)({}),c=(0,i.Z)(n,2)[1],d=(0,l.useRef)([]),p=0,g=0,function(e){var t=p;return p+=1,d.current.lengthL,eA=(0,l.useMemo)(function(){var e=N;return eT?e=null===K&&W?N:N.slice(0,Math.min(N.length,Y/A)):"number"==typeof L&&(e=N.slice(0,L)),e},[N,A,K,L,eT]),eR=(0,l.useMemo)(function(){return eT?N.slice(ex+1):N.slice(eA.length)},[N,eA,eT,ex]),eM=(0,l.useCallback)(function(e,t){var n;return"function"==typeof O?O(e):null!==(n=O&&(null==e?void 0:e[O]))&&void 0!==n?n:t},[O]),ej=(0,l.useCallback)(_||function(e){return e},[_]);function eL(e,t,n){(eb!==e||void 0!==t&&t!==em)&&(ew(e),n||(eS(eY){eL(r-1,e-o-ef+el);break}}V&&eI(0)+ef>Y&&ev(null)}},[Y,J,el,ef,eM,eA]);var eV=eZ&&!!eR.length,eD={};null!==em&&eT&&(eD={position:"absolute",left:em,top:0});var ez={prefixCls:ek,responsive:eT,component:z,invalidate:eO},eU=T?function(e,t){var n=eM(e,t);return l.createElement(E.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},ez),{},{order:t,item:e,itemKey:n,registerSize:eF,display:t<=ex})},T(e,t))}:function(e,t){var n=eM(e,t);return l.createElement(h,(0,r.Z)({},ez,{order:t,key:n,item:e,renderItem:ej,itemKey:n,registerSize:eF,display:t<=ex}))},eB={order:eV?ex:Number.MAX_SAFE_INTEGER,className:"".concat(ek,"-rest"),registerSize:function(e,t){ec(t),eo(el)},display:eV};if(I)I&&(y=l.createElement(E.Provider,{value:(0,o.Z)((0,o.Z)({},ez),eB)},I(eR)));else{var eH=F||S;y=l.createElement(h,(0,r.Z)({},ez,eB),"function"==typeof eH?eH(eR):eH)}var eW=l.createElement(void 0===D?"div":D,(0,r.Z)({className:s()(!eO&&w,j),style:M,ref:t},B),eA.map(eU),eP?y:null,V&&l.createElement(h,(0,r.Z)({},ez,{responsive:e_,responsiveDisabled:!eT,order:ex,className:"".concat(ek,"-suffix"),registerSize:function(e,t){ed(t)},display:!0,style:eD}),V));return e_&&(eW=l.createElement(u.default,{onResize:function(e,t){G(t.clientWidth)},disabled:!eT},eW)),eW});k.displayName="Overflow",k.Item=w,k.RESPONSIVE=C,k.INVALIDATE=Z;var N=k},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(87462),o=n(67294),i=n(50344);n(80334);var a=n(1413),l=n(42550),c=n(34203),s=n(91033),u=new Map,f=new s.Z(function(e){e.forEach(function(e){var t,n=e.target;null===(t=u.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),d=n(15671),p=n(43144),h=n(60136),m=n(33643),v=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),g=o.createContext(null);function y(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),s=o.useContext(g),d="function"==typeof t,p=d?t(r):t,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,l.Yr)(p),y=m?p.ref:null,b=o.useMemo(function(){return(0,l.sQ)(y,r)},[y,r]),w=o.useRef(e);w.current=e;var x=o.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,c=e.offsetWidth,u=e.offsetHeight,f=Math.floor(i),d=Math.floor(l);if(h.current.width!==f||h.current.height!==d||h.current.offsetWidth!==c||h.current.offsetHeight!==u){var p={width:f,height:d,offsetWidth:c,offsetHeight:u};h.current=p;var m=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:c===Math.round(i)?i:c,offsetHeight:u===Math.round(l)?l:u});null==s||s(m,e,r),n&&Promise.resolve().then(function(){n(m,e)})}},[]);return o.useEffect(function(){var e=(0,c.Z)(r.current)||(0,c.Z)(i.current);return e&&!n&&(u.has(e)||(u.set(e,new Set),f.observe(e)),u.get(e).add(x)),function(){u.has(e)&&(u.get(e).delete(x),u.get(e).size||(f.unobserve(e),u.delete(e)))}},[r.current,n]),o.createElement(v,{ref:i},m?o.cloneElement(p,{ref:b}):p)}function b(e){var t=e.children;return("function"==typeof t?[t]:(0,i.Z)(t)).map(function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(y,(0,r.Z)({},e,{key:i}),t)})}b.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(g),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(g.Provider,{value:l},t)};var w=b},57239:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return Z},default:function(){return S}});var r,o=n(87462),i=n(15671),a=n(43144),l=n(60136),c=n(33643),s=n(67294),u=n(4942),f=n(1413),d=n(71002),p=n(97685),h=n(45987),m=n(48555),v=n(8410),g=n(75164),y=n(21770),b=n(94184),w=n.n(b),x=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],E={},C=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=s.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-textarea":n,a=(e.onPressEnter,e.defaultValue),l=e.value,c=e.autoSize,b=e.onResize,Z=e.className,S=e.style,k=e.disabled,N=e.onChange,_=(e.onInternalAutoSize,(0,h.Z)(e,C)),T=(0,y.Z)(a,{value:l,postState:function(e){return null!=e?e:""}}),O=(0,p.Z)(T,2),P=O[0],A=O[1],R=s.useRef();s.useImperativeHandle(t,function(){return{textArea:R.current}});var M=s.useMemo(function(){return c&&"object"===(0,d.Z)(c)?[c.minRows,c.maxRows]:[]},[c]),j=(0,p.Z)(M,2),L=j[0],F=j[1],I=!!c,V=function(){try{if(document.activeElement===R.current){var e=R.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;R.current.setSelectionRange(t,n),R.current.scrollTop=r}}catch(o){}},D=s.useState(2),z=(0,p.Z)(D,2),U=z[0],B=z[1],H=s.useState(),W=(0,p.Z)(H,2),q=W[0],$=W[1],K=function(){B(0)};(0,v.Z)(function(){I&&K()},[l,L,F,I]),(0,v.Z)(function(){if(0===U)B(1);else if(1===U){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&E[n])return E[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l={sizingStyle:x.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(E[n]=l),l}(e,n),l=a.paddingSize,c=a.borderSize,s=a.boxSizing,u=a.sizingStyle;r.setAttribute("style","".concat(u,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===s?p+=c:"content-box"===s&&(p-=l),null!==o||null!==i){r.value=" ";var h=r.scrollHeight-l;null!==o&&(f=h*o,"border-box"===s&&(f=f+l+c),p=Math.max(f,p)),null!==i&&(d=h*i,"border-box"===s&&(d=d+l+c),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(R.current,!1,L,F);B(2),$(e)}else V()},[U]);var G=s.useRef(),Y=function(){g.Z.cancel(G.current)};s.useEffect(function(){return Y},[]);var Q=(0,f.Z)((0,f.Z)({},S),I?q:null);return(0===U||1===U)&&(Q.overflowY="hidden",Q.overflowX="hidden"),s.createElement(m.default,{onResize:function(e){2===U&&(null==b||b(e),c&&(Y(),G.current=(0,g.Z)(function(){K()})))},disabled:!(c||b)},s.createElement("textarea",(0,o.Z)({},_,{ref:R,style:Q,className:w()(i,Z,(0,u.Z)({},"".concat(i,"-disabled"),k)),disabled:k,value:P,onChange:function(e){A(e.target.value),null==N||N(e)}})))}),S=function(e){(0,l.Z)(n,e);var t=(0,c.Z)(n);function n(e){(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var r,o=void 0===e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return s.createElement(Z,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(s.Component)},43763:function(e,t,n){"use strict";n.r(t),n.d(t,{Popup:function(){return d},default:function(){return p}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),l=n(67294),c=n(81263),s=n(43159),u=n(94184),f=n.n(u);function d(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,c=e.className,s=e.style;return l.createElement("div",{className:f()("".concat(o,"-content"),c),style:s},!1!==t&&l.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),l.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"==typeof r?r():r))}var p=(0,l.forwardRef)(function(e,t){var n=e.overlayClassName,u=e.trigger,f=e.mouseEnterDelay,p=e.mouseLeaveDelay,h=e.overlayStyle,m=e.prefixCls,v=void 0===m?"rc-tooltip":m,g=e.children,y=e.onVisibleChange,b=e.afterVisibleChange,w=e.transitionName,x=e.animation,E=e.motion,C=e.placement,Z=e.align,S=e.destroyTooltipOnHide,k=void 0!==S&&S,N=e.defaultVisible,_=e.getTooltipContainer,T=e.overlayInnerStyle,O=e.arrowContent,P=e.overlay,A=e.id,R=e.showArrow,M=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),j=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,function(){return j.current});var L=(0,i.Z)({},M);"visible"in e&&(L.popupVisible=e.visible);var F=!1,I=!1;if("boolean"==typeof k)F=k;else if(k&&"object"===(0,o.Z)(k)){var V=k.keepParent;F=!0===V,I=!1===V}return l.createElement(c.Z,(0,r.Z)({popupClassName:n,prefixCls:v,popup:function(){return l.createElement(d,{showArrow:R,arrowContent:O,key:"content",prefixCls:v,id:A,overlayInnerStyle:T},P)},action:void 0===u?["hover"]:u,builtinPlacements:s.C,popupPlacement:void 0===C?"right":C,ref:j,popupAlign:void 0===Z?{}:Z,getPopupContainer:_,onPopupVisibleChange:y,afterPopupVisibleChange:b,popupTransitionName:w,popupAnimation:x,popupMotion:E,defaultPopupVisible:N,destroyPopupOnHide:F,autoDestroy:I,mouseLeaveDelay:void 0===p?.1:p,popupStyle:h,mouseEnterDelay:void 0===f?0:f},L),g)})},43159:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},81263:function(e,t,n){"use strict";n.d(t,{Z:function(){return eX}});var r,o,i,a=n(1413),l=n(87462),c=n(15671),s=n(43144),u=n(97326),f=n(60136),d=n(33643),p=n(4942),h=n(67294),m=n(73935),v=n(75164),g=n(94999),y=n(34203),b=n(42550),w=n(64019),x=n(98924),E=(0,h.forwardRef)(function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,i=(0,h.useRef)(),a=(0,h.useRef)();(0,h.useImperativeHandle)(t,function(){return{}});var l=(0,h.useRef)(!1);return!l.current&&(0,x.Z)()&&(a.current=r(),i.current=a.current.parentNode,l.current=!0),(0,h.useEffect)(function(){null==n||n(e)}),(0,h.useEffect)(function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}},[]),a.current?m.createPortal(o,a.current):null}),C=n(94184),Z=n.n(C),S=n(97685),k=n(45987),N=n(31131),_=n(62874);function T(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function O(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,o=e.mask,i=e.maskMotion,c=e.maskAnimation,s=e.maskTransitionName;if(!o)return null;var u={};return(i||s||c)&&(u=(0,a.Z)({motionAppear:!0},T({motion:i,prefixCls:t,transitionName:s,animation:c}))),h.createElement(_.Z,(0,l.Z)({},u,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return h.createElement("div",{style:{zIndex:r},className:Z()("".concat(t,"-mask"),n)})})}var P=n(71002),A=n(5110);function R(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 M(e){for(var t=1;tNumber(c))&&(c=e.style[t]||0),c=Math.floor(parseFloat(c))||0),void 0===r&&(r=l?1:-1);var s=void 0!==a||l,u=a||c;return -1===r?s?u-ec(e,["border","padding"],o):c:s?1===r?u:u+(2===r?-ec(e,["border"],o):ec(e,["margin"],o)):c+ec(e,el.slice(r),o)}ei(["Width","Height"],function(e){es["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],es["viewport".concat(e)](n))},es["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}});var ef={position:"absolute",visibility:"hidden",display:"block"};function ed(){for(var e,t=arguments.length,n=Array(t),r=0;r=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function eb(e){if(eh.isWindow(e)||9===e.nodeType){var t,n,r,o=eh.getWindow(e);t={left:eh.getWindowScrollLeft(o),top:eh.getWindowScrollTop(o)},n=eh.viewportWidth(o),r=eh.viewportHeight(o)}else t=eh.offset(e),n=eh.outerWidth(e),r=eh.outerHeight(e);return t.width=n,t.height=r,t}function ew(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,l=e.top;return"c"===n?l+=i/2:"b"===n&&(l+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:l}}function ex(e,t,n,r,o){var i=ew(t,n[1]),a=ew(e,n[0]),l=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-l[0]+r[0]-o[0]),top:Math.round(e.top-l[1]+r[1]-o[1])}}function eE(e,t,n){return e.leftn.right}function eC(e,t,n){return e.topn.bottom}function eZ(e,t,n){var r=[];return eh.each(e,function(e){r.push(e.replace(t,function(e){return n[e]}))}),r}function eS(e,t){return e[t]=-e[t],e}function ek(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function eN(e,t){e[0]=ek(e[0],t.width),e[1]=ek(e[1],t.height)}function e_(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],l=n.overflow,c=n.source||e;i=[].concat(i),a=[].concat(a);var s={},u=0,f=ey(c,!!(l=l||{}).alwaysByViewport),d=eb(c);eN(i,d),eN(a,t);var p=ex(d,t,o,i,a),h=eh.merge(d,p);if(f&&(l.adjustX||l.adjustY)&&r){if(l.adjustX&&eE(p,d,f)){var m,v,g,y,b=eZ(o,/[lr]/gi,{l:"r",r:"l"}),w=eS(i,0),x=eS(a,0);(y=ex(d,t,b,w,x)).left>f.right||y.left+d.widthf.bottom||E.top+d.height=f.left&&v.left+g.width>f.right&&(g.width-=v.left+g.width-f.right),s.adjustX&&v.left+g.width>f.right&&(v.left=Math.max(f.right-g.width,f.left)),s.adjustY&&v.top=f.top&&v.top+g.height>f.bottom&&(g.height-=v.top+g.height-f.bottom),s.adjustY&&v.top+g.height>f.bottom&&(v.top=Math.max(f.bottom-g.height,f.top)),h=eh.mix(v,g))}return h.width!==d.width&&eh.css(c,"width",eh.width(c)+h.width-d.width),h.height!==d.height&&eh.css(c,"height",eh.height(c)+h.height-d.height),eh.offset(c,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function eT(e,t,n){var r,o,i=n.target||t,a=eb(i),l=(r=ey(i,n.overflow&&n.overflow.alwaysByViewport),o=eb(i),!!r&&!(o.left+o.width<=r.left)&&!(o.top+o.height<=r.top)&&!(o.left>=r.right)&&!(o.top>=r.bottom));return e_(e,a,n,l)}eT.__getOffsetParent=ev,eT.__getVisibleRectForElement=ey;var eO=n(18446),eP=n.n(eO),eA=n(91033);function eR(e,t){var n=null,r=null,o=new eA.Z(function(e){var o=(0,S.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,l=i.height,c=Math.floor(a),s=Math.floor(l);(n!==c||r!==s)&&Promise.resolve().then(function(){t({width:c,height:s})}),n=c,r=s}});return e&&o.observe(e),function(){o.disconnect()}}var eM=function(e,t){var n=h.useRef(!1),r=h.useRef(null);function o(){window.clearTimeout(r.current)}return[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)}},function(){n.current=!1,o()}]};function ej(e){return"function"!=typeof e?null:e()}function eL(e){return"object"===(0,P.Z)(e)&&e?e:null}var eF=h.forwardRef(function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,l=e.monitorWindowResize,c=e.monitorBufferTime,s=h.useRef({}),u=h.useRef(),f=h.Children.only(n),d=h.useRef({});d.current.disabled=r,d.current.target=o,d.current.align=i,d.current.onAlign=a;var p=eM(function(){var e=d.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a,l,c,f,p,h,m,v,y,b,w=u.current,x=ej(n),E=eL(n);s.current.element=x,s.current.point=E,s.current.align=r;var C=document.activeElement;return x&&(0,A.Z)(x)?b=eT(w,x,r):E&&(c=(l=eh.getDocument(w)).defaultView||l.parentWindow,f=eh.getWindowScrollLeft(c),p=eh.getWindowScrollTop(c),h=eh.viewportWidth(c),m=eh.viewportHeight(c),v={left:i="pageX"in E?E.pageX:f+E.clientX,top:a="pageY"in E?E.pageY:p+E.clientY,width:0,height:0},y=[r.points[0],"cc"],b=e_(w,v,M(M({},r),{},{points:y}),i>=0&&i<=f+h&&a>=0&&a<=p+m)),C!==document.activeElement&&(0,g.Z)(w,C)&&"function"==typeof C.focus&&C.focus(),o&&b&&o(w,b),!0}return!1},void 0===c?0:c),m=(0,S.Z)(p,2),v=m[0],y=m[1],x=h.useRef({cancel:function(){}}),E=h.useRef({cancel:function(){}});h.useEffect(function(){var e,t=ej(o),n=eL(o);u.current!==E.current.element&&(E.current.cancel(),E.current.element=u.current,E.current.cancel=eR(u.current,v)),s.current.element===t&&((e=s.current.point)===n||e&&n&&("pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n&&e.clientX===n.clientX&&e.clientY===n.clientY))&&eP()(s.current.align,i)||(v(),x.current.element!==t&&(x.current.cancel(),x.current.element=t,x.current.cancel=eR(t,v)))}),h.useEffect(function(){r?y():v()},[r]);var C=h.useRef(null);return h.useEffect(function(){l?C.current||(C.current=(0,w.Z)(window,"resize",v)):C.current&&(C.current.remove(),C.current=null)},[l]),h.useEffect(function(){return function(){x.current.cancel(),E.current.cancel(),C.current&&C.current.remove(),y()}},[]),h.useImperativeHandle(t,function(){return{forceAlign:function(){return v(!0)}}}),h.isValidElement(f)&&(f=h.cloneElement(f,{ref:(0,b.sQ)(f.ref,u)})),f});eF.displayName="Align";var eI=n(8410),eV=n(74165),eD=n(15861),ez=n(30470),eU=["measure","alignPre","align",null,"motion"],eB=function(e,t){var n=(0,ez.Z)(null),r=(0,S.Z)(n,2),o=r[0],i=r[1],a=(0,h.useRef)();function l(){v.Z.cancel(a.current)}return(0,h.useEffect)(function(){i("measure",!0)},[e]),(0,h.useEffect)(function(){"measure"===o&&t(),o&&(a.current=(0,v.Z)((0,eD.Z)((0,eV.Z)().mark(function e(){var t,n;return(0,eV.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(n=eU[(t=eU.indexOf(o))+1])&&-1!==t&&i(n,!0);case 3:case"end":return e.stop()}},e)}))))},[o]),(0,h.useEffect)(function(){return function(){l()}},[]),[o,function(e){l(),a.current=(0,v.Z)(function(){i(function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},eH=function(e){var t=h.useState({width:0,height:0}),n=(0,S.Z)(t,2),r=n[0],o=n[1];return[h.useMemo(function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t},[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),i=r.width,a=r.height;1>Math.abs(t-i)&&1>Math.abs(n-a)&&(t=i,n=a),o({width:t,height:n})}]},eW=h.forwardRef(function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,i=e.style,c=e.children,s=e.zIndex,u=e.stretch,f=e.destroyPopupOnHide,d=e.forceRender,p=e.align,m=e.point,v=e.getRootDomNode,g=e.getClassNameFromAlign,y=e.onAlign,b=e.onMouseEnter,w=e.onMouseLeave,x=e.onMouseDown,E=e.onTouchStart,C=e.onClick,k=(0,h.useRef)(),N=(0,h.useRef)(),O=(0,h.useState)(),P=(0,S.Z)(O,2),A=P[0],R=P[1],M=eH(u),j=(0,S.Z)(M,2),L=j[0],F=j[1],I=eB(n,function(){u&&F(v())}),V=(0,S.Z)(I,2),D=V[0],z=V[1],U=(0,h.useState)(0),B=(0,S.Z)(U,2),H=B[0],W=B[1],q=(0,h.useRef)();function $(){var e;null===(e=k.current)||void 0===e||e.forceAlign()}function K(e,t){var n=g(t);A!==n&&R(n),W(function(e){return e+1}),"align"===D&&(null==y||y(e,t))}(0,eI.Z)(function(){"alignPre"===D&&W(0)},[D]),(0,eI.Z)(function(){"align"===D&&(H<3?$():z(function(){var e;null===(e=q.current)||void 0===e||e.call(q)}))},[H]);var G=(0,a.Z)({},T(e));function Y(){return new Promise(function(e){q.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=G[e];G[e]=function(e,n){return z(),null==t?void 0:t(e,n)}}),h.useEffect(function(){G.motionName||"motion"!==D||z()},[G.motionName,D]),h.useImperativeHandle(t,function(){return{forceAlign:$,getElement:function(){return N.current}}});var Q=(0,a.Z)((0,a.Z)({},L),{},{zIndex:s,opacity:"motion"!==D&&"stable"!==D&&n?0:void 0,pointerEvents:n||"stable"===D?void 0:"none"},i),X=!0;null!=p&&p.points&&("align"===D||"stable"===D)&&(X=!1);var J=c;return h.Children.count(c)>1&&(J=h.createElement("div",{className:"".concat(r,"-content")},c)),h.createElement(_.Z,(0,l.Z)({visible:n,ref:N,leavedClassName:"".concat(r,"-hidden")},G,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:f,forceRender:d}),function(e,t){var n=e.className,i=e.style,l=Z()(r,o,A,n);return h.createElement(eF,{target:m||v,key:"popup",ref:k,monitorWindowResize:!0,disabled:X,align:p,onAlign:K},h.createElement("div",{ref:t,className:l,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:x,onTouchStartCapture:E,onClick:C,style:(0,a.Z)((0,a.Z)({},i),Q)},J))})});eW.displayName="PopupInner";var eq=h.forwardRef(function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,i=e.children,c=e.mobile,s=(c=void 0===c?{}:c).popupClassName,u=c.popupStyle,f=c.popupMotion,d=c.popupRender,p=e.onClick,m=h.useRef();h.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var v=(0,a.Z)({zIndex:o},u),g=i;return h.Children.count(i)>1&&(g=h.createElement("div",{className:"".concat(n,"-content")},i)),d&&(g=d(g)),h.createElement(_.Z,(0,l.Z)({visible:r,ref:m,removeOnLeave:!0},void 0===f?{}:f),function(e,t){var r=e.className,o=e.style,i=Z()(n,s,r);return h.createElement("div",{ref:t,className:i,onClick:p,style:(0,a.Z)((0,a.Z)({},o),v)},g)})});eq.displayName="MobilePopupInner";var e$=["visible","mobile"],eK=h.forwardRef(function(e,t){var n=e.visible,r=e.mobile,o=(0,k.Z)(e,e$),i=(0,h.useState)(n),c=(0,S.Z)(i,2),s=c[0],u=c[1],f=(0,h.useState)(!1),d=(0,S.Z)(f,2),p=d[0],m=d[1],v=(0,a.Z)((0,a.Z)({},o),{},{visible:s});(0,h.useEffect)(function(){u(n),n&&r&&m((0,N.Z)())},[n,r]);var g=p?h.createElement(eq,(0,l.Z)({},v,{mobile:r,ref:t})):h.createElement(eW,(0,l.Z)({},v,{ref:t}));return h.createElement("div",null,h.createElement(O,v),g)});eK.displayName="Popup";var eG=h.createContext(null);function eY(){}var eQ=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],eX=(r=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(e){var r,o;return(0,c.Z)(this,n),r=t.call(this,e),(0,p.Z)((0,u.Z)(r),"popupRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"triggerRef",h.createRef()),(0,p.Z)((0,u.Z)(r),"portalContainer",void 0),(0,p.Z)((0,u.Z)(r),"attachId",void 0),(0,p.Z)((0,u.Z)(r),"clickOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"touchOutsideHandler",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler1",void 0),(0,p.Z)((0,u.Z)(r),"contextMenuOutsideHandler2",void 0),(0,p.Z)((0,u.Z)(r),"mouseDownTimeout",void 0),(0,p.Z)((0,u.Z)(r),"focusTime",void 0),(0,p.Z)((0,u.Z)(r),"preClickTime",void 0),(0,p.Z)((0,u.Z)(r),"preTouchTime",void 0),(0,p.Z)((0,u.Z)(r),"delayTimer",void 0),(0,p.Z)((0,u.Z)(r),"hasPopupMouseDown",void 0),(0,p.Z)((0,u.Z)(r),"onMouseEnter",function(e){var t=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",e),r.delaySetPopupVisible(!0,t,t?null:e)}),(0,p.Z)((0,u.Z)(r),"onMouseMove",function(e){r.fireEvents("onMouseMove",e),r.setPoint(e)}),(0,p.Z)((0,u.Z)(r),"onMouseLeave",function(e){r.fireEvents("onMouseLeave",e),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseEnter",function(){r.clearDelayTimer()}),(0,p.Z)((0,u.Z)(r),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,g.Z)(null===(t=r.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)}),(0,p.Z)((0,u.Z)(r),"onFocus",function(e){r.fireEvents("onFocus",e),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))}),(0,p.Z)((0,u.Z)(r),"onMouseDown",function(e){r.fireEvents("onMouseDown",e),r.preClickTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onTouchStart",function(e){r.fireEvents("onTouchStart",e),r.preTouchTime=Date.now()}),(0,p.Z)((0,u.Z)(r),"onBlur",function(e){r.fireEvents("onBlur",e),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)}),(0,p.Z)((0,u.Z)(r),"onContextMenu",function(e){e.preventDefault(),r.fireEvents("onContextMenu",e),r.setPopupVisible(!0,e)}),(0,p.Z)((0,u.Z)(r),"onContextMenuClose",function(){r.isContextMenuToShow()&&r.close()}),(0,p.Z)((0,u.Z)(r),"onClick",function(e){if(r.fireEvents("onClick",e),r.focusTime){var t;if(r.preClickTime&&r.preTouchTime?t=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?t=r.preClickTime:r.preTouchTime&&(t=r.preTouchTime),20>Math.abs(t-r.focusTime))return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,e)}),(0,p.Z)((0,u.Z)(r),"onPopupMouseDown",function(){if(r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout(function(){r.hasPopupMouseDown=!1},0),r.context){var e;(e=r.context).onPopupMouseDown.apply(e,arguments)}}),(0,p.Z)((0,u.Z)(r),"onDocumentClick",function(e){if(!r.props.mask||r.props.maskClosable){var t=e.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(!(0,g.Z)(n,t)||r.isContextMenuOnly())&&!(0,g.Z)(o,t)&&!r.hasPopupMouseDown&&r.close()}}),(0,p.Z)((0,u.Z)(r),"getRootDomNode",function(){var e=r.props.getTriggerDOMNode;if(e)return e(r.triggerRef.current);try{var t=(0,y.Z)(r.triggerRef.current);if(t)return t}catch(n){}return m.findDOMNode((0,u.Z)(r))}),(0,p.Z)((0,u.Z)(r),"getPopupClassNameFromAlign",function(e){var t=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,l=n.alignPoint,c=n.getPopupClassNameFromAlign;return o&&i&&t.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(67294),o=n(11805)},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){e.removeEventListener&&e.removeEventListener(t,i,o)}}}},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return p},jL:function(){return d}});var r=n(98924),o=n(94999),i="data-rc-order",a=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function s(e){return Array.from((a.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),(null==n?void 0:n.nonce)&&(a.nonce=null==n?void 0:n.nonce),a.innerHTML=e;var l=c(t),u=l.firstChild;if(o){if("queue"===o){var f=s(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(c(t)).find(function(n){return n.getAttribute(l(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(e,t);n&&c(t).removeChild(n)}function p(e,t){var n,r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=a.get(e);if(!n||!(0,o.Z)(document,n)){var r=u("",t),i=r.parentNode;a.set(e,i),e.removeChild(r)}}(c(s),s);var d=f(t,s);if(d)return(null===(n=s.csp)||void 0===n?void 0:n.nonce)&&d.nonce!==(null===(r=s.csp)||void 0===r?void 0:r.nonce)&&(d.nonce=null===(i=s.csp)||void 0===i?void 0:i.nonce),d.innerHTML!==e&&(d.innerHTML=e),d;var p=u(e,s);return p.setAttribute(l(s),t),p}},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e instanceof HTMLElement?e:r.findDOMNode(e)}},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),l=null;return i&&!Number.isNaN(a)?l=a:r&&null===l&&(l=0),r&&e.disabled&&(l=null),null!==l&&(l>=0||t&&l<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter(function(e){return i(e,t)});return i(e,t)&&n.unshift(e),n}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof HTMLElement&&e.offsetParent)return!0;if(e instanceof SVGGraphicsElement&&e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e instanceof HTMLElement&&e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}return!1}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(98924),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},i=function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?o(e):i(e,t)}},15105:function(e,t){"use strict";var n={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>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return g},v:function(){return b}});var r,o,i=n(74165),a=n(15861),l=n(71002),c=n(1413),s=n(73935),u=(0,c.Z)({},r||(r=n.t(s,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(h){}function m(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function g(e,t){if(o){var n,r;n=t,m(!0),r=n[v]||o(n),m(!1),r.render(e),n[v]=r;return}d(e,t)}function y(){return(y=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function b(e){return w.apply(this,arguments)}function w(){return(w=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return y.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o