From 84dc83359bfbfef559ef0dffffa80d8498ccc10a Mon Sep 17 00:00:00 2001 From: gabek Date: Tue, 11 Oct 2022 02:53:23 +0000 Subject: [PATCH] Bundle embedded web app --- static/web/404.html | 4 ++-- static/web/404/index.html | 4 ++-- .../web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_buildManifest.js | 1 - .../web/_next/static/LvFhX9PabEBOXrsY_7zxF/_buildManifest.js | 1 + .../_ssgManifest.js | 0 .../{1829-271cba4b38fde9a4.js => 1829-b015b4e5cd814fc8.js} | 2 +- static/web/_next/static/chunks/2944-2a9b62dad629aca2.js | 1 + static/web/_next/static/chunks/2944-6793cb651dad1c89.js | 1 - static/web/_next/static/chunks/3626-b49150a5e9455fe4.js | 1 + static/web/_next/static/chunks/3626-e1c13c951477db78.js | 1 - .../{3903-1e79dad4c0cd3b68.js => 3903-97c724332d1a5798.js} | 2 +- static/web/_next/static/chunks/4812-106e72c5e21f1d74.js | 1 - static/web/_next/static/chunks/4812-9c96405be4c6ddd3.js | 1 + static/web/_next/static/chunks/4ad82c5e-aee7dee7c0ddef1c.js | 1 + .../{5473-185a5241676edf4a.js => 5473-ecd3fd646bf241fd.js} | 2 +- .../{5566-66931d6b98651304.js => 5566-83c23d347261cd0b.js} | 2 +- .../{6610-62b167129a72b8f1.js => 6610-d5a140d3395ae209.js} | 2 +- static/web/_next/static/chunks/7910-7248e2d1496cf795.js | 1 - static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js | 1 + static/web/_next/static/chunks/8607-cb90f82a9c12f20e.js | 1 + static/web/_next/static/chunks/8939-3a2494dcf1327384.js | 1 + static/web/_next/static/chunks/8939-b1631aef52fbaa8f.js | 1 - static/web/_next/static/chunks/9181-df8b71d4f342f83d.js | 1 - static/web/_next/static/chunks/9358-4680e4896298cbd2.js | 1 + static/web/_next/static/chunks/9358-6c31827aa73f405a.js | 1 - static/web/_next/static/chunks/pages/_app-4e145ddb6ab3ef3a.js | 1 + static/web/_next/static/chunks/pages/_app-b9a5e01c5d96cb99.js | 1 - .../static/chunks/pages/admin/config-chat-40e0e71cfeaff121.js | 1 - .../static/chunks/pages/admin/config-chat-60cf4efa879df43b.js | 1 + .../chunks/pages/admin/config-notify-162a41a161f6bd5a.js | 1 + .../chunks/pages/admin/config-notify-58fa36815f7c88c5.js | 1 - ...3e762bcda.js => config-public-details-daef6ec4e52c2e2d.js} | 2 +- ...-cd84396bc39c49ed.js => hardware-info-2cb40bf1c957de96.js} | 2 +- ...ebpack-2c1f3afac0d74fe4.js => webpack-8de48d29531ae80e.js} | 2 +- static/web/admin/access-tokens/index.html | 2 +- static/web/admin/actions/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/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 | 2 +- 60 files changed, 50 insertions(+), 49 deletions(-) delete mode 100644 static/web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_buildManifest.js create mode 100644 static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_buildManifest.js rename static/web/_next/static/{7CNS6ZIbEw76cPNhpXTX9 => LvFhX9PabEBOXrsY_7zxF}/_ssgManifest.js (100%) rename static/web/_next/static/chunks/{1829-271cba4b38fde9a4.js => 1829-b015b4e5cd814fc8.js} (53%) create mode 100644 static/web/_next/static/chunks/2944-2a9b62dad629aca2.js delete mode 100644 static/web/_next/static/chunks/2944-6793cb651dad1c89.js create mode 100644 static/web/_next/static/chunks/3626-b49150a5e9455fe4.js delete mode 100644 static/web/_next/static/chunks/3626-e1c13c951477db78.js rename static/web/_next/static/chunks/{3903-1e79dad4c0cd3b68.js => 3903-97c724332d1a5798.js} (58%) delete mode 100644 static/web/_next/static/chunks/4812-106e72c5e21f1d74.js create mode 100644 static/web/_next/static/chunks/4812-9c96405be4c6ddd3.js create mode 100644 static/web/_next/static/chunks/4ad82c5e-aee7dee7c0ddef1c.js rename static/web/_next/static/chunks/{5473-185a5241676edf4a.js => 5473-ecd3fd646bf241fd.js} (75%) rename static/web/_next/static/chunks/{5566-66931d6b98651304.js => 5566-83c23d347261cd0b.js} (90%) rename static/web/_next/static/chunks/{6610-62b167129a72b8f1.js => 6610-d5a140d3395ae209.js} (70%) delete mode 100644 static/web/_next/static/chunks/7910-7248e2d1496cf795.js create mode 100644 static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js create mode 100644 static/web/_next/static/chunks/8607-cb90f82a9c12f20e.js create mode 100644 static/web/_next/static/chunks/8939-3a2494dcf1327384.js delete mode 100644 static/web/_next/static/chunks/8939-b1631aef52fbaa8f.js delete mode 100644 static/web/_next/static/chunks/9181-df8b71d4f342f83d.js create mode 100644 static/web/_next/static/chunks/9358-4680e4896298cbd2.js delete mode 100644 static/web/_next/static/chunks/9358-6c31827aa73f405a.js create mode 100644 static/web/_next/static/chunks/pages/_app-4e145ddb6ab3ef3a.js delete mode 100644 static/web/_next/static/chunks/pages/_app-b9a5e01c5d96cb99.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-chat-40e0e71cfeaff121.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-chat-60cf4efa879df43b.js create mode 100644 static/web/_next/static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js delete mode 100644 static/web/_next/static/chunks/pages/admin/config-notify-58fa36815f7c88c5.js rename static/web/_next/static/chunks/pages/admin/{config-public-details-271e3473e762bcda.js => config-public-details-daef6ec4e52c2e2d.js} (53%) rename static/web/_next/static/chunks/pages/admin/{hardware-info-cd84396bc39c49ed.js => hardware-info-2cb40bf1c957de96.js} (69%) rename static/web/_next/static/chunks/{webpack-2c1f3afac0d74fe4.js => webpack-8de48d29531ae80e.js} (65%) diff --git a/static/web/404.html b/static/web/404.html index 726274b04..7321452e1 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 726274b04..7321452e1 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/7CNS6ZIbEw76cPNhpXTX9/_buildManifest.js b/static/web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_buildManifest.js deleted file mode 100644 index 07e0f7194..000000000 --- a/static/web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,d,n,f,h,b,o,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[o,m,l,s,t,d,f,u,k,_,w,v,"static/chunks/9358-6c31827aa73f405a.js",h,r,y,"static/css/88e696b24c18d1ea.css","static/chunks/pages/index-4ee29a24aed8c0f7.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,d,n,b,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-3176829e7059317f.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-ffe8732ccbc0256e.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-e6982b17ca2b6d30.js"],"/admin/chat/messages":[I,a,s,c,e,i,d,B,F,"static/chunks/pages/admin/chat/messages-574b118b6708bb45.js"],"/admin/chat/users":[I,a,s,c,e,i,t,d,B,F,"static/chunks/pages/admin/chat/users-4eca8d7ae4b4f4d0.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-40e0e71cfeaff121.js"],"/admin/config-federation":["static/chunks/1829-271cba4b38fde9a4.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-58fa36815f7c88c5.js"],"/admin/config-public-details":[a,s,c,e,g,"static/css/1f5ee95fffd43a71.css","static/chunks/9181-df8b71d4f342f83d.js",A,"static/chunks/pages/admin/config-public-details-271e3473e762bcda.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"static/chunks/pages/admin/config-social-items-0c9506f9b2b2acaf.js"],"/admin/config-storage":["static/chunks/5473-185a5241676edf4a.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,D,"static/chunks/4812-106e72c5e21f1d74.js","static/chunks/pages/admin/config-video-67dd9ceeab2a8d04.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-e31f1858274d3033.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-9a4b0ecf039c6197.js"],"/admin/hardware-info":[j,i,t,n,b,p,g,"static/chunks/pages/admin/hardware-info-cd84396bc39c49ed.js"],"/admin/help":[t,n,v,"static/chunks/5566-66931d6b98651304.js","static/chunks/pages/admin/help-635a866be914f510.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-2296627de57047d9.js"],"/admin/stream-health":[j,i,t,n,b,p,"static/chunks/6610-62b167129a72b8f1.js","static/chunks/pages/admin/stream-health-897a4c79610a240c.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/3812-73e73ff4fa8c15d9.js","static/chunks/pages/admin/upgrade-a2690af66d4d3214.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,d,n,b,p,g,"static/chunks/pages/admin/viewer-info-fcaef066e0a36623.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-31e1e30a1af46238.js"],"/embed/chat/readonly":[o,m,f,u,h,r,"static/css/87104b15c089124a.css","static/chunks/pages/embed/chat/readonly-7d52555642af387d.js"],"/embed/chat/readwrite":[o,m,s,f,u,h,r,"static/css/38031c0e461b403f.css","static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.js"],"/embed/video":[l,d,f,_,w,h,y,"static/css/50d4ea374f37f0f9.css","static/chunks/pages/embed/video-b921529d7c1b6a75.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-1e79dad4c0cd3b68.js","static/chunks/8939-b1631aef52fbaa8f.js","static/chunks/3698-68c12d00e813fbb1.js","static/chunks/3626-e1c13c951477db78.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-6793cb651dad1c89.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-0e7e74a6fb9533c3.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-18f6a7fa5034eeb3.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-579ef58c933db91c.js","static/chunks/7364-b1e647c0e7c9ab4e.js","static/chunks/2429-6b998575dbc68f9a.js","static/chunks/8763-3aa1a6c3e214b143.js","static/chunks/7910-7248e2d1496cf795.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/7c735c05af084bb2.css","static/chunks/2860-6233db10d7394b17.js","static/chunks/1082-03ae605a1f81cbce.js","static/chunks/2854-904b0905cf6698f3.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-6ed259e27dba66ad.js","static/chunks/3286-a15aa91d3d2fc97f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_buildManifest.js b/static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_buildManifest.js new file mode 100644 index 000000000..b38099db5 --- /dev/null +++ b/static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,b,m,u,k,r,g,j,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[b,m,l,s,t,n,f,u,k,_,w,v,"static/chunks/9358-4680e4896298cbd2.js",h,r,y,"static/css/88e696b24c18d1ea.css","static/chunks/pages/index-4ee29a24aed8c0f7.js"],"/_error":["static/chunks/pages/_error-f2496e8b9fdedb89.js"],"/admin":[a,s,c,e,i,t,n,d,o,k,"static/chunks/8676-58e1723c87a0d4ec.js","static/chunks/pages/admin-3176829e7059317f.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-ffe8732ccbc0256e.js"],"/admin/actions":[a,s,c,e,"static/chunks/pages/admin/actions-e6982b17ca2b6d30.js"],"/admin/chat/messages":[I,a,s,c,e,i,n,B,F,"static/chunks/pages/admin/chat/messages-574b118b6708bb45.js"],"/admin/chat/users":[I,a,s,c,e,i,t,n,B,F,"static/chunks/pages/admin/chat/users-4eca8d7ae4b4f4d0.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-60cf4efa879df43b.js"],"/admin/config-federation":["static/chunks/1829-b015b4e5cd814fc8.js","static/chunks/pages/admin/config-federation-5c6874737e33a71c.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-162a41a161f6bd5a.js"],"/admin/config-public-details":["static/chunks/4ad82c5e-aee7dee7c0ddef1c.js",a,s,c,e,g,"static/css/1f5ee95fffd43a71.css","static/chunks/8607-cb90f82a9c12f20e.js",A,"static/chunks/pages/admin/config-public-details-daef6ec4e52c2e2d.js"],"/admin/config-server-details":[D,"static/chunks/pages/admin/config-server-details-16e85ec1ac7c9ccd.js"],"/admin/config-social-items":[a,s,c,e,A,"static/chunks/pages/admin/config-social-items-0c9506f9b2b2acaf.js"],"/admin/config-storage":["static/chunks/5473-ecd3fd646bf241fd.js","static/chunks/pages/admin/config-storage-723faa1b1e9d32cc.js"],"/admin/config-video":[a,s,c,e,D,"static/chunks/4812-9c96405be4c6ddd3.js","static/chunks/pages/admin/config-video-67dd9ceeab2a8d04.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-e31f1858274d3033.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-9a4b0ecf039c6197.js"],"/admin/hardware-info":[j,i,t,d,o,p,g,"static/chunks/pages/admin/hardware-info-2cb40bf1c957de96.js"],"/admin/help":[t,d,v,"static/chunks/5566-83c23d347261cd0b.js","static/chunks/pages/admin/help-635a866be914f510.js"],"/admin/logs":[a,s,c,e,i,k,"static/chunks/pages/admin/logs-2296627de57047d9.js"],"/admin/stream-health":[j,i,t,d,o,p,"static/chunks/6610-d5a140d3395ae209.js","static/chunks/pages/admin/stream-health-897a4c79610a240c.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/3812-73e73ff4fa8c15d9.js","static/chunks/pages/admin/upgrade-a2690af66d4d3214.js"],"/admin/viewer-info":[j,a,s,c,e,i,t,n,d,o,p,g,"static/chunks/pages/admin/viewer-info-fcaef066e0a36623.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-31e1e30a1af46238.js"],"/embed/chat/readonly":[b,m,f,u,h,r,"static/css/87104b15c089124a.css","static/chunks/pages/embed/chat/readonly-7d52555642af387d.js"],"/embed/chat/readwrite":[b,m,s,f,u,h,r,"static/css/38031c0e461b403f.css","static/chunks/pages/embed/chat/readwrite-b54f76d80455488b.js"],"/embed/video":[l,n,f,_,w,h,y,"static/css/50d4ea374f37f0f9.css","static/chunks/pages/embed/video-b921529d7c1b6a75.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/messages","/admin/chat/users","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-97c724332d1a5798.js","static/chunks/8939-3a2494dcf1327384.js","static/chunks/3698-68c12d00e813fbb1.js","static/chunks/3626-b49150a5e9455fe4.js","static/chunks/8091-d7457a988f3f1d54.js","static/chunks/2944-2a9b62dad629aca2.js","static/chunks/9764-3705d4c034a766fe.js","static/chunks/5315-0e7e74a6fb9533c3.js","static/chunks/9372-9a6ed970911222d5.js","static/chunks/1899-18f6a7fa5034eeb3.js","static/chunks/4763-a050d4b408cb3260.js","static/chunks/d3048c20-0576676e1017fabd.js","static/chunks/d2094a0f-579ef58c933db91c.js","static/chunks/7364-b1e647c0e7c9ab4e.js","static/chunks/2429-6b998575dbc68f9a.js","static/chunks/8763-3aa1a6c3e214b143.js","static/chunks/7910-c80aab5f0058b5c3.js","static/chunks/3fff1979-612c6162f1b345ff.js","static/chunks/2139-c72b3a851c3b6fc9.js","static/chunks/d6e1aeb5-1e3969b413cccadf.js","static/css/7c735c05af084bb2.css","static/chunks/2860-6233db10d7394b17.js","static/chunks/1082-03ae605a1f81cbce.js","static/chunks/2854-904b0905cf6698f3.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/9189-200a9342100c92dd.js","static/chunks/9640-e282810d6fb4f58d.js","static/chunks/2877-6ed259e27dba66ad.js","static/chunks/3286-a15aa91d3d2fc97f.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_ssgManifest.js b/static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_ssgManifest.js similarity index 100% rename from static/web/_next/static/7CNS6ZIbEw76cPNhpXTX9/_ssgManifest.js rename to static/web/_next/static/LvFhX9PabEBOXrsY_7zxF/_ssgManifest.js diff --git a/static/web/_next/static/chunks/1829-271cba4b38fde9a4.js b/static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js similarity index 53% rename from static/web/_next/static/chunks/1829-271cba4b38fde9a4.js rename to static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js index 3fac3e7b4..9e179f1c3 100644 --- a/static/web/_next/static/chunks/1829-271cba4b38fde9a4.js +++ b/static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1829],{24308:function(e,t,n){n.d(t,{c4:function(){return o}});var c=n(4942),r=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)"},l=new Map,i=-1,s={},u={matchHandlers:{},dispatch:function(e){return s=e,l.forEach((function(e){return e(s)})),l.size>=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],c=e.matchHandlers[n];null===c||void 0===c||c.mql.removeListener(null===c||void 0===c?void 0:c.listener)})),l.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,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)}))}};t.ZP=u},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0){var A=h[0]/2;R.paddingLeft=A,R.paddingRight=A}if(h&&h[1]>0&&!y){var T=h[1]/2;R.paddingTop=T,R.paddingBottom=T}return j&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(j),!1!==b||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),k)}))},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0?A[0]/-2:void 0,L=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(H&&(z.marginLeft=H,z.marginRight=H),I){var F=(0,a.Z)(A,2);z.rowGap=F[1]}else L&&(z.marginTop=L,z.marginBottom=L);var G=(0,a.Z)(A,2),D=G[0],K=G[1],M=s.useMemo((function(){return{gutter:[D,K],wrap:C,supportFlexGap:I}}),[D,K,C,I]);return s.createElement(m.Z.Provider,{value:M},s.createElement("div",(0,c.Z)({},w,{className:T,style:(0,c.Z)((0,c.Z)({},z),y),ref:t}),Z))}))},94594:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(91),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef((function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,h=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,f.Z)(!1,{value:p,defaultValue:m}),O=(0,i.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return v||(k(n=e),null===x||void 0===x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),v),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:v,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?j(!1,e):e.which===d.Z.RIGHT&&j(!0,e),null===g||void 0===g||g(e)},onClick:function(e){var t=j(!E,e);null===Z||void 0===Z||Z(t,e)}}),h,u.createElement("span",{className:"".concat(o,"-inner")},E?b:y))}));p.displayName="Switch";var m=p,v=n(53124),h=n(98866),b=n(97647),y=n(68349),Z=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],c=e.matchHandlers[n];null===c||void 0===c||c.mql.removeListener(null===c||void 0===c?void 0:c.listener)})),l.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,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)}))}};t.ZP=u},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0){var A=h[0]/2;R.paddingLeft=A,R.paddingRight=A}if(h&&h[1]>0&&!y){var T=h[1]/2;R.paddingTop=T,R.paddingBottom=T}return j&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(j),!1!==b||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),k)}))},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0?A[0]/-2:void 0,L=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(H&&(z.marginLeft=H,z.marginRight=H),I){var F=(0,a.Z)(A,2);z.rowGap=F[1]}else L&&(z.marginTop=L,z.marginBottom=L);var G=(0,a.Z)(A,2),D=G[0],K=G[1],M=s.useMemo((function(){return{gutter:[D,K],wrap:C,supportFlexGap:I}}),[D,K,C,I]);return s.createElement(m.Z.Provider,{value:M},s.createElement("div",(0,c.Z)({},w,{className:T,style:(0,c.Z)((0,c.Z)({},z),y),ref:t}),Z))}))},94594:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(45987),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef((function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,h=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,f.Z)(!1,{value:p,defaultValue:m}),O=(0,i.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return v||(k(n=e),null===x||void 0===x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),v),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:v,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?j(!1,e):e.which===d.Z.RIGHT&&j(!0,e),null===g||void 0===g||g(e)},onClick:function(e){var t=j(!E,e);null===Z||void 0===Z||Z(t,e)}}),h,u.createElement("span",{className:"".concat(o,"-inner")},E?b:y))}));p.displayName="Switch";var m=p,v=n(53124),h=n(98866),b=n(97647),y=n(68349),Z=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);rt?"left":"right"})})),Y=(0,b.Z)(X,2),U=Y[0],J=Y[1],Q=_(0,(function(e,t){!F&&R&&R({direction:e>t?"top":"bottom"})})),$=(0,b.Z)(Q,2),ee=$[0],te=$[1],ne=(0,l.useState)(0),ae=(0,b.Z)(ne,2),re=ae[0],oe=ae[1],ie=(0,l.useState)(0),ce=(0,b.Z)(ie,2),le=ce[0],ue=ce[1],se=(0,l.useState)(null),fe=(0,b.Z)(se,2),de=fe[0],ve=fe[1],me=(0,l.useState)(null),be=(0,b.Z)(me,2),pe=be[0],he=be[1],ye=(0,l.useState)(0),Ze=(0,b.Z)(ye,2),ge=Ze[0],Ee=Ze[1],ke=(0,l.useState)(0),we=(0,b.Z)(ke,2),xe=we[0],Ce=we[1],Ne=function(e){var t=(0,l.useRef)([]),n=(0,l.useState)({}),a=(0,b.Z)(n,2)[1],r=(0,l.useRef)("function"===typeof e?e():e),o=T((function(){var e=r.current;t.current.forEach((function(t){e=t(e)})),t.current=[],r.current=e,a({})}));return[r.current,function(e){t.current.push(e),o()}]}(new Map),Pe=(0,b.Z)(Ne,2),Te=Pe[0],Ie=Pe[1],Re=function(e,t,n){return(0,l.useMemo)((function(){for(var n,a=new Map,r=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||M,o=r.left+r.width,i=0;iBe?Be:e}F?h?(Me=0,Be=Math.max(0,re-de)):(Me=Math.min(0,de-re),Be=0):(Me=Math.min(0,pe-le),Be=0);var Oe=(0,l.useRef)(),Ae=(0,l.useState)(),De=(0,b.Z)(Ae,2),je=De[0],Ke=De[1];function We(){Ke(Date.now())}function _e(){window.clearTimeout(Oe.current)}function qe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=Re.get(e)||{width:0,height:0,left:0,right:0,top:0};if(F){var n=U;h?t.rightU+de&&(n=t.right+t.width-de):t.left<-U?n=-t.left:t.left+t.width>-U+de&&(n=-(t.left+t.width-de)),te(0),J(Le(n))}else{var a=ee;t.top<-ee?a=-t.top:t.top+t.height>-ee+pe&&(a=-(t.top+t.height-pe)),J(0),te(Le(a))}}!function(e,t){var n=(0,l.useState)(),a=(0,b.Z)(n,2),r=a[0],o=a[1],i=(0,l.useState)(0),c=(0,b.Z)(i,2),u=c[0],s=c[1],f=(0,l.useState)(0),d=(0,b.Z)(f,2),v=d[0],m=d[1],p=(0,l.useState)(),h=(0,b.Z)(p,2),y=h[0],Z=h[1],g=(0,l.useRef)(),E=(0,l.useRef)(),k=(0,l.useRef)(null);k.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,a=t.screenY;o({x:n,y:a}),window.clearInterval(g.current)},onTouchMove:function(e){if(r){e.preventDefault();var n=e.touches[0],a=n.screenX,i=n.screenY;o({x:a,y:i});var c=a-r.x,l=i-r.y;t(c,l);var f=Date.now();s(f),m(f-u),Z({x:c,y:l})}},onTouchEnd:function(){if(r&&(o(null),Z(null),y)){var e=y.x/v,n=y.y/v,a=Math.abs(e),i=Math.abs(n);if(Math.max(a,i)<.1)return;var c=e,l=n;g.current=window.setInterval((function(){Math.abs(c)<.01&&Math.abs(l)<.01?window.clearInterval(g.current):t(20*(c*=W),20*(l*=W))}),20)}},onWheel:function(e){var n=e.deltaX,a=e.deltaY,r=0,o=Math.abs(n),i=Math.abs(a);o===i?r="x"===E.current?n:a:o>i?(r=n,E.current="x"):(r=a,E.current="y"),t(-r,-r)&&e.preventDefault()}},l.useEffect((function(){function t(e){k.current.onTouchMove(e)}function n(e){k.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){k.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){k.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(L,(function(e,t){function n(e,t){e((function(e){return Le(e+t)}))}if(F){if(de>=re)return!1;n(J,e)}else{if(pe>=le)return!1;n(te,t)}return _e(),We(),!0})),(0,l.useEffect)((function(){return _e(),je&&(Oe.current=window.setTimeout((function(){Ke(0)}),100)),_e}),[je]);var Ve=function(e,t,n,a,r){var o,i,c,u=r.tabs,s=r.tabPosition,f=r.rtl;["top","bottom"].includes(s)?(o="width",i=f?"right":"left",c=Math.abs(t.left)):(o="height",i="top",c=-t.top);var d=t[o],v=n[o],m=a[o],b=d;return v+m>d&&vc+b){n=a-1;break}}for(var l=0,s=t-1;s>=0;s-=1)if((e.get(u[s].key)||B)[i]0,it=U+de0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,c.Z)({inkBar:!0},"object"===(0,p.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),z=(0,l.useState)(!1),G=(0,b.Z)(z,2),H=G[0],U=G[1];(0,l.useEffect)((function(){U((0,y.Z)())}),[]);var J=(0,Z.Z)((function(){var e;return null===(e=_[0])||void 0===e?void 0:e.key}),{value:v,defaultValue:g}),Q=(0,b.Z)(J,2),$=Q[0],ee=Q[1],te=(0,l.useState)((function(){return _.findIndex((function(e){return e.key===$}))})),ne=(0,b.Z)(te,2),ae=ne[0],re=ne[1];(0,l.useEffect)((function(){var e,t=_.findIndex((function(e){return e.key===$}));-1===t&&(t=Math.max(0,Math.min(ae,_.length-1)),ee(null===(e=_[t])||void 0===e?void 0:e.key));re(t)}),[_.map((function(e){return e.key})).join("_"),$,ae]);var oe=(0,Z.Z)(null,{value:o}),ie=(0,b.Z)(oe,2),ce=ie[0],le=ie[1];(0,l.useEffect)((function(){o||(le("rc-tabs-".concat(Y)),Y+=1)}),[]);var ue={id:ce,activeKey:$,animated:V,tabPosition:N,rtl:q,mobile:H},se=(0,c.Z)((0,c.Z)({},ue),{},{editable:k,locale:R,moreIcon:S,moreTransitionName:M,tabBarGutter:P,onTabClick:function(e,t){null===A||void 0===A||A(e,t);var n=e!==$;ee(e),n&&(null===O||void 0===O||O(e))},onTabScroll:D,extra:I,style:T,panes:null,getPopupContainer:j,popupClassName:K});return l.createElement(E.Provider,{value:{tabs:_,prefixCls:u}},l.createElement("div",(0,r.Z)({ref:t,id:o,className:m()(u,"".concat(u,"-").concat(N),(n={},(0,a.Z)(n,"".concat(u,"-mobile"),H),(0,a.Z)(n,"".concat(u,"-editable"),k),(0,a.Z)(n,"".concat(u,"-rtl"),q),n),s)},W),undefined,l.createElement(F,(0,r.Z)({},se,{renderTabBar:L})),l.createElement(x,(0,r.Z)({destroyInactiveTabPane:B},ue,{animated:V}))))}var J=l.forwardRef(U),Q=n(53124),$=n(97647),ee=n(33603),te={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ne=n(50344),ae=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:(0,r.Z)({inkBar:!0},"object"===(0,p.Z)(n)?n:{})).tabPane&&(t.tabPaneMotion=(0,r.Z)((0,r.Z)({},te),{motionName:(0,ee.mL)(e,"switch")})),t}(P,Z);return l.createElement($.Z.Consumer,null,(function(e){var o,i=void 0!==u?u:e;return l.createElement(J,(0,r.Z)({direction:N,moreTransitionName:"".concat(T,"-slide-up")},g,{items:I,className:m()((o={},(0,a.Z)(o,"".concat(P,"-").concat(i),i),(0,a.Z)(o,"".concat(P,"-card"),["card","editable-card"].includes(n)),(0,a.Z)(o,"".concat(P,"-editable-card"),"editable-card"===n),(0,a.Z)(o,"".concat(P,"-centered"),v),o),c),editable:t,moreIcon:w,prefixCls:P,animated:R}))}))}ie.TabPane=re;var ce=ie}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2944-6793cb651dad1c89.js b/static/web/_next/static/chunks/2944-6793cb651dad1c89.js deleted file mode 100644 index fb085a223..000000000 --- a/static/web/_next/static/chunks/2944-6793cb651dad1c89.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2944],{2944:function(e,t,n){n.d(t,{Z:function(){return ce}});var a=n(4942),r=n(87462),o=n(97937),i=n(89705),c=n(1413),l=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},s=n(42135),f=function(e,t){return l.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="PlusOutlined";var d=l.forwardRef(f),v=n(94184),m=n.n(v),b=n(97685),p=n(71002),h=n(91),y=n(31131),Z=n(21770),g=n(62874),E=(0,l.createContext)(null);var k=l.forwardRef((function(e,t){var n=e.prefixCls,a=e.className,r=e.style,o=e.id,i=e.active,c=e.tabKey,u=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(c),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(c),"aria-hidden":!i,style:r,className:m()(n,i&&"".concat(n,"-active"),a),ref:t},u)})),w=["key","forceRender","style","className"];function x(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,u=e.destroyInactiveTabPane,s=l.useContext(E),f=s.prefixCls,d=s.tabs,v=o.tabPane,b="".concat(f,"-tabpane");return l.createElement("div",{className:m()("".concat(f,"-content-holder"))},l.createElement("div",{className:m()("".concat(f,"-content"),"".concat(f,"-content-").concat(i),(0,a.Z)({},"".concat(f,"-content-animated"),v))},d.map((function(e){var a=e.key,i=e.forceRender,s=e.style,f=e.className,d=(0,h.Z)(e,w),p=a===n;return l.createElement(g.Z,(0,r.Z)({key:a,visible:p,forceRender:i,removeOnLeave:!!u,leavedClassName:"".concat(b,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,i=e.className;return l.createElement(k,(0,r.Z)({},d,{prefixCls:b,id:t,tabKey:a,animated:v,active:p,style:(0,c.Z)((0,c.Z)({},s),o),className:m()(f,i),ref:n}))}))}))))}var C=n(74902),N=n(75164),P=n(48555);function T(e){var t=(0,l.useRef)(),n=(0,l.useRef)(!1);return(0,l.useEffect)((function(){return n.current=!1,function(){n.current=!0,N.Z.cancel(t.current)}}),[]),function(){for(var a=arguments.length,r=new Array(a),o=0;ot?"left":"right"})})),Y=(0,b.Z)(X,2),U=Y[0],J=Y[1],Q=_(0,(function(e,t){!F&&R&&R({direction:e>t?"top":"bottom"})})),$=(0,b.Z)(Q,2),ee=$[0],te=$[1],ne=(0,l.useState)(0),ae=(0,b.Z)(ne,2),re=ae[0],oe=ae[1],ie=(0,l.useState)(0),ce=(0,b.Z)(ie,2),le=ce[0],ue=ce[1],se=(0,l.useState)(null),fe=(0,b.Z)(se,2),de=fe[0],ve=fe[1],me=(0,l.useState)(null),be=(0,b.Z)(me,2),pe=be[0],he=be[1],ye=(0,l.useState)(0),Ze=(0,b.Z)(ye,2),ge=Ze[0],Ee=Ze[1],ke=(0,l.useState)(0),we=(0,b.Z)(ke,2),xe=we[0],Ce=we[1],Ne=function(e){var t=(0,l.useRef)([]),n=(0,l.useState)({}),a=(0,b.Z)(n,2)[1],r=(0,l.useRef)("function"===typeof e?e():e),o=T((function(){var e=r.current;t.current.forEach((function(t){e=t(e)})),t.current=[],r.current=e,a({})}));return[r.current,function(e){t.current.push(e),o()}]}(new Map),Pe=(0,b.Z)(Ne,2),Te=Pe[0],Ie=Pe[1],Re=function(e,t,n){return(0,l.useMemo)((function(){for(var n,a=new Map,r=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||M,o=r.left+r.width,i=0;iBe?Be:e}F?h?(Me=0,Be=Math.max(0,re-de)):(Me=Math.min(0,de-re),Be=0):(Me=Math.min(0,pe-le),Be=0);var Oe=(0,l.useRef)(),Ae=(0,l.useState)(),De=(0,b.Z)(Ae,2),je=De[0],Ke=De[1];function We(){Ke(Date.now())}function _e(){window.clearTimeout(Oe.current)}function qe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=Re.get(e)||{width:0,height:0,left:0,right:0,top:0};if(F){var n=U;h?t.rightU+de&&(n=t.right+t.width-de):t.left<-U?n=-t.left:t.left+t.width>-U+de&&(n=-(t.left+t.width-de)),te(0),J(Le(n))}else{var a=ee;t.top<-ee?a=-t.top:t.top+t.height>-ee+pe&&(a=-(t.top+t.height-pe)),J(0),te(Le(a))}}!function(e,t){var n=(0,l.useState)(),a=(0,b.Z)(n,2),r=a[0],o=a[1],i=(0,l.useState)(0),c=(0,b.Z)(i,2),u=c[0],s=c[1],f=(0,l.useState)(0),d=(0,b.Z)(f,2),v=d[0],m=d[1],p=(0,l.useState)(),h=(0,b.Z)(p,2),y=h[0],Z=h[1],g=(0,l.useRef)(),E=(0,l.useRef)(),k=(0,l.useRef)(null);k.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,a=t.screenY;o({x:n,y:a}),window.clearInterval(g.current)},onTouchMove:function(e){if(r){e.preventDefault();var n=e.touches[0],a=n.screenX,i=n.screenY;o({x:a,y:i});var c=a-r.x,l=i-r.y;t(c,l);var f=Date.now();s(f),m(f-u),Z({x:c,y:l})}},onTouchEnd:function(){if(r&&(o(null),Z(null),y)){var e=y.x/v,n=y.y/v,a=Math.abs(e),i=Math.abs(n);if(Math.max(a,i)<.1)return;var c=e,l=n;g.current=window.setInterval((function(){Math.abs(c)<.01&&Math.abs(l)<.01?window.clearInterval(g.current):t(20*(c*=W),20*(l*=W))}),20)}},onWheel:function(e){var n=e.deltaX,a=e.deltaY,r=0,o=Math.abs(n),i=Math.abs(a);o===i?r="x"===E.current?n:a:o>i?(r=n,E.current="x"):(r=a,E.current="y"),t(-r,-r)&&e.preventDefault()}},l.useEffect((function(){function t(e){k.current.onTouchMove(e)}function n(e){k.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){k.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){k.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(L,(function(e,t){function n(e,t){e((function(e){return Le(e+t)}))}if(F){if(de>=re)return!1;n(J,e)}else{if(pe>=le)return!1;n(te,t)}return _e(),We(),!0})),(0,l.useEffect)((function(){return _e(),je&&(Oe.current=window.setTimeout((function(){Ke(0)}),100)),_e}),[je]);var Ve=function(e,t,n,a,r){var o,i,c,u=r.tabs,s=r.tabPosition,f=r.rtl;["top","bottom"].includes(s)?(o="width",i=f?"right":"left",c=Math.abs(t.left)):(o="height",i="top",c=-t.top);var d=t[o],v=n[o],m=a[o],b=d;return v+m>d&&vc+b){n=a-1;break}}for(var l=0,s=t-1;s>=0;s-=1)if((e.get(u[s].key)||B)[i]0,it=U+de0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,c.Z)({inkBar:!0},"object"===(0,p.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(w),z=(0,l.useState)(!1),G=(0,b.Z)(z,2),H=G[0],U=G[1];(0,l.useEffect)((function(){U((0,y.Z)())}),[]);var J=(0,Z.Z)((function(){var e;return null===(e=_[0])||void 0===e?void 0:e.key}),{value:v,defaultValue:g}),Q=(0,b.Z)(J,2),$=Q[0],ee=Q[1],te=(0,l.useState)((function(){return _.findIndex((function(e){return e.key===$}))})),ne=(0,b.Z)(te,2),ae=ne[0],re=ne[1];(0,l.useEffect)((function(){var e,t=_.findIndex((function(e){return e.key===$}));-1===t&&(t=Math.max(0,Math.min(ae,_.length-1)),ee(null===(e=_[t])||void 0===e?void 0:e.key));re(t)}),[_.map((function(e){return e.key})).join("_"),$,ae]);var oe=(0,Z.Z)(null,{value:o}),ie=(0,b.Z)(oe,2),ce=ie[0],le=ie[1];(0,l.useEffect)((function(){o||(le("rc-tabs-".concat(Y)),Y+=1)}),[]);var ue={id:ce,activeKey:$,animated:V,tabPosition:N,rtl:q,mobile:H},se=(0,c.Z)((0,c.Z)({},ue),{},{editable:k,locale:R,moreIcon:S,moreTransitionName:M,tabBarGutter:P,onTabClick:function(e,t){null===A||void 0===A||A(e,t);var n=e!==$;ee(e),n&&(null===O||void 0===O||O(e))},onTabScroll:D,extra:I,style:T,panes:null,getPopupContainer:j,popupClassName:K});return l.createElement(E.Provider,{value:{tabs:_,prefixCls:u}},l.createElement("div",(0,r.Z)({ref:t,id:o,className:m()(u,"".concat(u,"-").concat(N),(n={},(0,a.Z)(n,"".concat(u,"-mobile"),H),(0,a.Z)(n,"".concat(u,"-editable"),k),(0,a.Z)(n,"".concat(u,"-rtl"),q),n),s)},W),undefined,l.createElement(F,(0,r.Z)({},se,{renderTabBar:L})),l.createElement(x,(0,r.Z)({destroyInactiveTabPane:B},ue,{animated:V}))))}var J=l.forwardRef(U),Q=n(53124),$=n(97647),ee=n(33603),te={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ne=n(50344),ae=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:(0,r.Z)({inkBar:!0},"object"===(0,p.Z)(n)?n:{})).tabPane&&(t.tabPaneMotion=(0,r.Z)((0,r.Z)({},te),{motionName:(0,ee.mL)(e,"switch")})),t}(P,Z);return l.createElement($.Z.Consumer,null,(function(e){var o,i=void 0!==u?u:e;return l.createElement(J,(0,r.Z)({direction:N,moreTransitionName:"".concat(T,"-slide-up")},g,{items:I,className:m()((o={},(0,a.Z)(o,"".concat(P,"-").concat(i),i),(0,a.Z)(o,"".concat(P,"-card"),["card","editable-card"].includes(n)),(0,a.Z)(o,"".concat(P,"-editable-card"),"editable-card"===n),(0,a.Z)(o,"".concat(P,"-centered"),v),o),c),editable:t,moreIcon:w,prefixCls:P,animated:R}))}))}ie.TabPane=re;var ce=ie}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3626-b49150a5e9455fe4.js b/static/web/_next/static/chunks/3626-b49150a5e9455fe4.js new file mode 100644 index 000000000..23181939d --- /dev/null +++ b/static/web/_next/static/chunks/3626-b49150a5e9455fe4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3626],{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"},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){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(94184),i=t.n(a),l=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)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(a=M().map((function(e){return c.createElement(k,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(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 C||K(t);var r=M();null===x||void 0===x||x(t.filter((function(e){return-1!==D.indexOf(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:C.disabled,name:C.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=i()(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(m.Provider,{value:A},a))},y=c.forwardRef(h),g=c.memo(y),x=t(98866),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=t}(t,p||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:n}})),m=v.onHover,y=v.hovering;return u.createElement(z,(0,a.Z)({},e,{colSpan:f,rowSpan:p,hovering:y,ref:n,onHover:m}))}));_.displayName="WrappedCell";var F=_,j=u.createContext(null);function B(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 d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==i){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==i){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:i,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function V(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,i=e.rowComponent,l=e.cellComponent,c=e.onHeaderRow,d=e.index,s=u.useContext(j),f=s.prefixCls,p=s.direction;c&&(n=c(t.map((function(e){return e.column})),d));var v=w(t.map((function(e){return e.column})));return u.createElement(i,n,t.map((function(e,n){var t,i=e.column,c=B(e.colStart,e.colEnd,o,r,p);return i&&i.onHeaderCell&&(t=e.column.onHeaderCell(i)),u.createElement(F,(0,a.Z)({},e,{ellipsis:i.ellipsis,align:i.align,component:l,prefixCls:f,key:v[n]},c,{additionalProps:t,rowType:"header"}))})))}V.displayName="HeaderRow";var W=V;var U=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=u.useContext(j),i=a.prefixCls,l=a.getComponent,c=u.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),a=1;a0?[].concat((0,s.Z)(e),(0,s.Z)(ue(o).map((function(e){return(0,d.Z)({fixed:r},e)})))):[].concat((0,s.Z)(e),[(0,d.Z)((0,d.Z)({},n),{},{fixed:r})])}),[])}var fe=function(e,n){var t=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,l=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,v=e.rowExpandable,m=e.expandIconColumnIndex,h=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=u.useMemo((function(){return r||se(a)}),[r,a]),E=u.useMemo((function(){if(i){var e,n=C.slice();if(!n.includes(le)){var r=m||0;r>=0&&n.splice(r,0,le)}0;var a=n.indexOf(le);n=n.filter((function(e,n){return e!==le||n===a}));var d,h=C[a];d="left"!==x&&!x||m?"right"!==x&&!x||m!==C.length?h?h.fixed:null:"right":"left";var E=(e={},(0,o.Z)(e,ie,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",c),(0,o.Z)(e,"fixed",d),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",g),(0,o.Z)(e,"render",(function(e,n,r){var o=s(n,r),a=l.has(o),i=!v||v(n),c=p({prefixCls:t,expanded:a,expandable:i,record:n,onExpand:f});return y?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},c):c})),e);return n.map((function(e){return e===le?E:e}))}return C.filter((function(e){return e!==le}))}),[i,C,s,l,p,h]),Z=u.useMemo((function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,E,h]),N=u.useMemo((function(){return"rtl"===h?function(e){return e.map((function(e){var n=e.fixed,t=(0,k.Z)(e,de),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,d.Z)({fixed:r},t)}))}(ue(Z)):ue(Z)}),[Z,h]);return[Z,N]};function pe(e){var n=(0,u.useRef)(e),t=(0,u.useState)({}),r=(0,i.Z)(t,2)[1],o=(0,u.useRef)(null),a=(0,u.useRef)([]);return(0,u.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 ve=function(e,n,t){return(0,u.useMemo)((function(){for(var r=[],o=[],a=0,i=0,l=0;l=0;i-=1){var l=n[i],c=t&&t[i],d=c&&c[ie];if(l||d||o){var s=d||{},f=(s.columnType,(0,k.Z)(s,me));r.unshift(u.createElement("col",(0,a.Z)({key:i,style:{width:l}},f))),o=!0}}return u.createElement("colgroup",null,r)};var ye=function(e){var n=e.className,t=e.children;return u.createElement("div",{className:n},t)},ge=u.createContext({});var xe=["children"];function Ce(e){return e.children}Ce.Row=function(e){var n=e.children,t=(0,k.Z)(e,xe);return u.createElement("tr",t,n)},Ce.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,i=void 0===o?1:o,l=e.rowSpan,c=e.align,d=u.useContext(j),s=d.prefixCls,f=d.direction,p=u.useContext(ge),v=p.scrollColumnIndex,m=p.stickyOffsets,h=t+i-1+1===v?i+1:i,y=B(t,t+h-1,p.flattenColumns,m,f);return u.createElement(F,(0,a.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:h,rowSpan:l,render:function(){return r}},y))};var Ee=Ce;var ke=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=u.useContext(j).prefixCls,a=r.length-1,i=r[a],l=u.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===i||void 0===i?void 0:i.scrollbar)?a:null}}),[i,r,a,t]);return u.createElement(ge.Provider,{value:l},u.createElement("tfoot",{className:"".concat(o,"-summary")},n))},Ze=Ee;function Ne(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,i=e.expanded,l=e.expandable,d="".concat(t,"-row-expand-icon");if(!l)return u.createElement("span",{className:c()(d,"".concat(t,"-row-spaced"))});return u.createElement("span",{className:c()(d,(n={},(0,o.Z)(n,"".concat(t,"-row-expanded"),i),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!i),n)),onClick:function(e){a(r,e),e.stopPropagation()}})}var be=t(64019),we=t(27678),Se=function(e,n){var t,r,a=e.scrollBodyRef,l=e.onScroll,s=e.offsetScroll,f=e.container,p=u.useContext(j).prefixCls,v=(null===(t=a.current)||void 0===t?void 0:t.scrollWidth)||0,m=(null===(r=a.current)||void 0===r?void 0:r.clientWidth)||0,h=v&&m*(m/v),y=u.useRef(),g=pe({scrollLeft:0,isHiddenScrollBar:!1}),C=(0,i.Z)(g,2),E=C[0],k=C[1],Z=u.useRef({delta:0,x:0}),N=u.useState(!1),b=(0,i.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){var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+h>=m&&(r=m-h),l({scrollLeft:r/m*(v+2)}),Z.current.x=e.pageX}else w&&S(!1)},P=function(){if(a.current){var e=(0,we.os)(a.current).top,n=e+a.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:(0,we.os)(f).top+f.clientHeight;n-(0,x.Z)()<=t||e>=t-s?k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!0})})):k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!1})}))}},D=function(e){k((function(n){return(0,d.Z)((0,d.Z)({},n),{},{scrollLeft:e/v*m||0})}))};return u.useImperativeHandle(n,(function(){return{setScrollLeft:D}})),u.useEffect((function(){var e=(0,be.Z)(document.body,"mouseup",K,!1),n=(0,be.Z)(document.body,"mousemove",O,!1);return P(),function(){e.remove(),n.remove()}}),[h,w]),u.useEffect((function(){var e=(0,be.Z)(f,"scroll",P,!1),n=(0,be.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}}),[f]),u.useEffect((function(){E.isHiddenScrollBar||k((function(e){var n=a.current;return n?(0,d.Z)((0,d.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[E.isHiddenScrollBar]),v<=m||!h||E.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,x.Z)(),width:m,bottom:s},className:"".concat(p,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-E.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:c()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(E.scrollLeft,"px, 0, 0)")}}))},Ke=u.forwardRef(Se),Oe=(0,t(98924).Z)()?window:null;var Pe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var De=u.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,i=e.flattenColumns,l=e.colWidths,f=e.columCount,p=e.stickyOffsets,v=e.direction,m=e.fixHeader,h=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,N=(0,k.Z)(e,Pe),b=u.useContext(j),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!m?0:S,P=u.useRef(null),D=u.useCallback((function(e){(0,Z.mH)(n,e),(0,Z.mH)(P,e)}),[]);u.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 R=u.useMemo((function(){return i.every((function(e){return e.width>=0}))}),[i]),M=i[i.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(a),[L]):a}),[O,a]),I=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(i),[L]):i}),[O,i]),A=(0,u.useMemo)((function(){var e=p.right,n=p.left;return(0,d.Z)((0,d.Z)({},p),{},{left:"rtl"===v?[].concat((0,s.Z)(n.map((function(e){return e+O}))),[0]):n,right:"rtl"===v?e:[].concat((0,s.Z)(e.map((function(e){return e+O}))),[0]),isSticky:K})}),[O,p,K]),H=function(e,n){return(0,u.useMemo)((function(){for(var t=[],r=0;r0)):(ln(a>0),un(a1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=void 0===t?function(){return window}:t,o=n.callback,a=n.duration,i=void 0===a?450:a,l=r(),c=Ye(l,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=Xe(t>i?i:t,c,e,i);qe(l)?l.scrollTo(window.pageXOffset,r):l instanceof HTMLDocument||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=r:l.scrollTop=r,t0&&(M=x.map((function(e){return"string"===typeof e||"number"===typeof e?u.createElement(On,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:v===e},e):u.createElement(On,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||k,value:e.value,checked:v===e.value,style:e.style},e.label)})));var L=N||s,T=c()(R,"".concat(R,"-").concat(E),(t={},(0,o.Z)(t,"".concat(R,"-").concat(L),L),(0,o.Z)(t,"".concat(R,"-rtl"),"rtl"===d),t),g);return u.createElement("div",(0,a.Z)({},(0,gn.Z)(e),{className:T,style:b,onMouseEnter:S,onMouseLeave:K,onFocus:O,onBlur:P,id:w,ref:n}),u.createElement(Cn,{value:{onChange:function(n){var t=v,r=n.target.value;"value"in e||m(r);var o=e.onChange;o&&r!==t&&o(n)},value:v,disabled:e.disabled,name:e.name,optionType:e.optionType}},M))})),Dn=u.memo(Pn),Rn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(u,f){for(var p,v=pt(r?r.pos:"0",f),m=Yn(u[a],v),h=0;h1&&void 0!==arguments[1]?arguments[1]:{},t=n.initWrapper,r=n.processEntity,o=n.onProcessFinished,a=n.externalGetKey,i=n.childrenPropName,l=n.fieldNames,c=arguments.length>2?arguments[2]:void 0,d=a||c,s={},u={},f={posEntities:s,keyEntities:u};return t&&(f=t(f)||f),et(e,(function(e){var n=e.node,t=e.index,o=e.pos,a=e.key,i=e.parentPos,l=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:l},d=Yn(a,o);s[o]=c,u[d]=c,c.parent=s[i],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:i,fieldNames:l}),o&&o(f),f}function tt(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,i=n.checkedKeys,l=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!==i.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function rt(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,f=e.pos,p=e.active,v=e.eventKey,m=(0,d.Z)((0,d.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:f,active:p,key:v});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}var ot=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],at="open",it="close",lt=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0&&t.splice(r,1),t}function ut(e,n){var t=(e||[]).slice();return-1===t.indexOf(n)&&t.push(n),t}function ft(e){return e.split("-")}function pt(e,n){return"".concat(e,"-").concat(n)}function vt(e,n){var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n){var r=n.key,o=n.children;t.push(r),e(o)}))}(n[e].children),t}function mt(e){if(e.parent){var n=ft(e.pos);return Number(n[n.length-1])===e.parent.children.length-1}return!1}function ht(e,n,t,r,o,a,i,l,c,d){var s,u=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,m=p.height,h=(("rtl"===d?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-u)-12)/r,y=l[t.props.eventKey];if(f-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:y.key,dropTargetPos:y.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(s=y.parent)||void 0===s?void 0:s.key)||null,dropAllowed:K}}function yt(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function gt(e){if(!e)return null;var n;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,y.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 xt(e,n){var t=new Set;function r(e){if(!t.has(e)){var o=n[e];if(o){t.add(e);var a=o.parent;o.node.disabled||a&&r(a.key)}}}return(e||[]).forEach((function(e){r(e)})),(0,s.Z)(t)}var Ct=t(73453),Et=t(62874),kt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Zt=function(e,n){var t=e.className,r=e.style,o=e.motion,l=e.motionNodes,d=e.motionType,s=e.onMotionStart,f=e.onMotionEnd,p=e.active,v=e.treeNodeRequiredProps,m=(0,k.Z)(e,kt),h=u.useState(!0),y=(0,i.Z)(h,2),g=y[0],x=y[1],C=u.useContext(Un).prefixCls,E=u.useRef(!1),Z=function(){E.current||f(),E.current=!0};return(0,u.useEffect)((function(){l&&"hide"===d&&g&&x(!1)}),[l]),(0,u.useEffect)((function(){return l&&s(),function(){l&&Z()}}),[]),l?u.createElement(Et.Z,(0,a.Z)({ref:n,visible:g},o,{motionAppear:"show"===d,onAppearEnd:Z,onLeaveEnd:Z}),(function(e,n){var t=e.className,r=e.style;return u.createElement("div",{ref:n,className:c()("".concat(C,"-treenode-motion"),t),style:r},l.map((function(e){var n=(0,a.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,i=e.isEnd;delete n.children;var l=tt(r,v);return u.createElement(dt,(0,a.Z)({},n,l,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:i}))})))})):u.createElement(dt,(0,a.Z)({domRef:n,className:t,style:r},m,{active:p}))};Zt.displayName="MotionTreeNode";var Nt=u.forwardRef(Zt);function bt(e,n,t){var r=e.findIndex((function(e){return e.key===t})),o=e[r+1],a=n.findIndex((function(e){return e.key===t}));if(o){var i=n.findIndex((function(e){return e.key===o.key}));return n.slice(a+1,i)}return n.slice(a+1)}var wt=["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"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Kt=function(){},Ot="RC_TREE_MOTION_".concat(Math.random()),Pt={key:Ot},Dt={key:Ot,level:0,index:0,pos:"0",node:Pt,nodes:[Pt]},Rt={parent:null,children:[],pos:Dt.pos,data:Pt,title:null,key:Ot,isStart:[],isEnd:[]};function Mt(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function Lt(e){return Yn(e.key,e.pos)}var Tt=u.forwardRef((function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),l=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,s=e.loadingKeys,f=e.halfCheckedKeys,p=e.keyEntities,v=e.disabled,m=e.dragging,h=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,Z=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,P=e.onActiveChange,D=e.onListChangeStart,R=e.onListChangeEnd,M=(0,k.Z)(e,wt),L=u.useRef(null),T=u.useRef(null);u.useImperativeHandle(n,(function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}}));var I=u.useState(o),A=(0,i.Z)(I,2),H=A[0],z=A[1],_=u.useState(r),F=(0,i.Z)(_,2),j=F[0],B=F[1],V=u.useState(r),W=(0,i.Z)(V,2),U=W[0],G=W[1],X=u.useState([]),q=(0,i.Z)(X,2),Y=q[0],$=q[1],J=u.useState(null),Q=(0,i.Z)(J,2),ee=Q[0],ne=Q[1],te=u.useRef(r);function re(){var e=te.current;B(e),G(e),$([]),ne(null),R()}te.current=r,u.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)),u.createElement("div",null,u.createElement("input",{style:St,disabled:!1===Z||v,tabIndex:!1!==Z?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:Kt,"aria-label":"for screen reader"})),u.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},u.createElement("div",{className:"".concat(t,"-indent")},u.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),u.createElement(Ct.Z,(0,a.Z)({},M,{data:oe,itemKey:Lt,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 Lt(e)===Ot}))&&re()}}),(function(e){var n=e.pos,t=(0,a.Z)({},e.data),r=e.title,o=e.key,i=e.isStart,l=e.isEnd,c=Yn(o,n);delete t.key,delete t.children;var d=tt(c,ae);return u.createElement(Nt,(0,a.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:i,isEnd:l,motion:g,motionNodes:o===Ot?Y:null,motionType:ee,onMotionStart:D,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){P(null)}}))})))}));Tt.displayName="NodeList";var It=Tt;function At(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function Ht(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function zt(e,n,t,r){var o,a=[];o=r||Ht;var i,l=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,d=0;return Object.keys(t).forEach((function(e){var n=t[e],r=n.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(n),d=Math.max(d,r)})),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),i=!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,t=e.node;if(!r(t)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(n.key);else{var i=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);i&&!t&&(i=!1),c||!t&&!a.has(n)||(c=!0)})),i&&o.add(n.key),c&&a.add(n.key),l.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(At(a,o))}}(l,c,d,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,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!o(t)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(n.key);else{var r=!0,l=!1;(n.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var n=e.key,t=a.has(n);r&&!t&&(r=!1),l||!t&&!i.has(n)||(l=!0)})),r||a.delete(n.key),l&&i.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(At(i,a))}}(l,n.halfCheckedKeys,c,d,o),i}var _t=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,l=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos,u=a.dropAllowed;if(u){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,d.Z)((0,d.Z)({},tt(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),v=-1!==i.indexOf(c);(0,y.ZP)(!v,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=ft(s),h={event:n,node:rt(p),dragNode:e.dragNode?rt(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==l,dropPosition:l+Number(m[m.length-1])};o||null===f||void 0===f||f(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=rt((0,d.Z)((0,d.Z)({},tt(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?st(o,l):ut(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||void 0===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||void 0===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,d=l.multiple,s=t.selected,u=t[i.key],f=!s,p=(r=f?d?ut(r,u):[u]:st(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||void 0===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,d=e.props,u=d.checkStrictly,f=d.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(u){var m=r?ut(l,p):st(l,p);o={checked:m,halfChecked:st(c,p)},v.checkedNodes=m.map((function(e){return i[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=zt([].concat((0,s.Z)(l),[p]),!0,i),y=h.checkedKeys,g=h.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(p);var C=zt(Array.from(x),{checked:!1,halfCheckedKeys:g},i);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.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:y},!1,{halfCheckedKeys:g})}null===f||void 0===f||f(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=void 0===i?[]:i,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===l.indexOf(t)&&-1===d.indexOf(t)?(u(n).then((function(){var o=ut(e.state.loadedKeys,t);null===f||void 0===f||f(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),r()})).catch((function(n){if(e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:ut(a,t)}),r()}o(n)})),{loadingKeys:ut(d,t)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null===r||void 0===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=new 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){t in e.props?a=!1:(o=!0,i[t]=n[t])})),!o||t&&!a||e.setState((0,d.Z)((0,d.Z)({},i),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,Fn.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,i=t.focused,l=t.flattenNodes,d=t.keyEntities,s=t.draggingNodeKey,f=t.activeKey,v=t.dropLevelOffset,m=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=void 0===w?0:w,K=C.selectable,O=C.showIcon,P=C.icon,D=C.switcherIcon,R=C.draggable,M=C.checkable,L=C.checkStrictly,T=C.disabled,I=C.motion,A=C.loadData,H=C.filterTreeNode,z=C.height,_=C.itemHeight,F=C.virtual,j=C.titleRender,B=C.dropIndicatorRender,V=C.onContextMenu,W=C.onScroll,U=C.direction,G=C.rootClassName,X=C.rootStyle,q=(0,p.Z)(this.props,{aria:!0,data:!0});return R&&(n="object"===(0,r.Z)(R)?R:"function"===typeof R?{nodeDraggable:R}:{}),u.createElement(Un.Provider,{value:{prefixCls:E,selectable:K,showIcon:O,icon:P,switcherIcon:D,draggable:n,draggingNodeKey:s,checkable:M,checkStrictly:L,disabled:T,keyEntities:d,dropLevelOffset:v,dropContainerKey:m,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:U,dropIndicatorRender:B,loadData:A,filterTreeNode:H,titleRender:j,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}},u.createElement("div",{role:"tree",className:c()(E,k,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),N),(0,o.Z)(e,"".concat(E,"-focused"),i),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:X},u.createElement(It,(0,a.Z)({ref:this.listRef,prefixCls:E,style:Z,data:l,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==s,height:z,itemHeight:_,virtual:F,focusable:b,focused:i,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r=n.prevProps,a={prevProps:e};function i(n){return!r&&n in e||r&&r[n]!==e[n]}var l=n.fieldNames;if(i("fieldNames")&&(l=$n(e.fieldNames),a.fieldNames=l),i("treeData")?t=e.treeData:i("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Jn(e.children)),t){a.treeData=t;var c=nt(t,{fieldNames:l});a.keyEntities=(0,d.Z)((0,o.Z)({},Ot,Dt),c.keyEntities)}var s,u=a.keyEntities||n.keyEntities;if(i("expandedKeys")||r&&i("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?xt(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,d.Z)({},u);delete f[Ot],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?xt(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=Qn(t||n.treeData,a.expandedKeys||n.expandedKeys,l);a.flattenNodes=p}if((e.selectable&&(i("selectedKeys")?a.selectedKeys=yt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=yt(e.defaultSelectedKeys,e))),e.checkable)&&(i("checkedKeys")?s=gt(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=gt(e.defaultCheckedKeys)||{}:t&&(s=gt(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),s)){var v=s,m=v.checkedKeys,h=void 0===m?[]:m,g=v.halfCheckedKeys,x=void 0===g?[]:g;if(!e.checkStrictly){var C=zt(h,!0,u);h=C.checkedKeys,x=C.halfCheckedKeys}a.checkedKeys=h,a.halfCheckedKeys=x}return i("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(u.Component);_t.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 u.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},_t.TreeNode=dt;var Ft=_t,jt=t(33603),Bt={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"},Vt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Bt}))};Vt.displayName="FileOutlined";var Wt=u.forwardRef(Vt),Ut={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"},Gt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Ut}))};Gt.displayName="FolderOpenOutlined";var Xt=u.forwardRef(Gt),qt={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"},Yt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:qt}))};Yt.displayName="FolderOutlined";var $t,Jt=u.forwardRef(Yt);function Qt(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&Qt(r||[],n)}))}function er(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],i=$t.None;if(r&&r===o)return[r];if(!r||!o)return[];return Qt(n,(function(e){if(i===$t.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),i===$t.None)i=$t.Start;else if(i===$t.Start)return i=$t.End,!1}else i===$t.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function nr(e,n){var t=(0,s.Z)(n),r=[];return Qt(e,(function(e,n){var o=t.indexOf(e);return-1!==o&&(r.push(n),t.splice(o,1)),!!t.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}($t||($t={}));var tr=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&L(!1),Y(""),z(S?(K||[]).map((function(e){return String(e)})):[])},te=c()((0,o.Z)({},"".concat(s,"-menu-without-submenu"),!(d.filters||[]).some((function(e){return e.children})))),re=function(e){if(e.target.checked){var n=Mr(null===d||void 0===d?void 0:d.filters).map((function(e){return String(e)}));z(n)}else z([])},oe=function e(n){return(n.filters||[]).map((function(n,t){var r=String(n.value),o={title:n.text,key:void 0!==n.value?r:t};return n.children&&(o.children=e({filters:n.children})),o}))},ae=function e(n){var t;return(0,a.Z)((0,a.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 d.filterDropdown)J=d.filterDropdown({prefixCls:"".concat(s,"-custom"),setSelectedKeys:function(e){return _({selectedKeys:e})},selectedKeys:H(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&L(!1),Q(H())},clearFilters:ne,filters:d.filters,visible:t});else if(d.filterDropdown)J=d.filterDropdown;else{var ie=H()||[];J=u.createElement(u.Fragment,null,0===(d.filters||[]).length?u.createElement(vn.Z,{image:vn.Z.PRESENTED_IMAGE_SIMPLE,description:C.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===m?u.createElement(u.Fragment,null,u.createElement(wr,{filterSearch:y,value:q,onChange:$,tablePrefixCls:r,locale:C}),u.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},p?u.createElement(fn.Z,{checked:ie.length===Mr(d.filters).length,indeterminate:ie.length>0&&ie.length0?c:e}),h=Math.ceil((c||e)/m.pageSize);m.current>h&&(m.current=h||1);var y=function(e,n){v({current:null!==e&&void 0!==e?e:1,pageSize:n||m.pageSize})};return!1===n?[{},function(){}]:[(0,a.Z)((0,a.Z)({},m),{onChange:function(e,r){var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),y(e,r),t(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),y]}var zr=t(84506),_r=t(80882),Fr={},jr="SELECT_ALL",Br="SELECT_INVERT",Vr="SELECT_NONE",Wr=[];function Ur(e,n){var t=[];return(e||[]).forEach((function(e){t.push(e),e&&"object"===(0,r.Z)(e)&&n in e&&(t=[].concat((0,s.Z)(t),(0,s.Z)(Ur(e[n],n))))})),t}function Gr(e,n){var t=e||{},r=t.preserveSelectedRowKeys,l=t.selectedRowKeys,c=t.defaultSelectedRowKeys,d=t.getCheckboxProps,f=t.onChange,p=t.onSelect,v=t.onSelectAll,m=t.onSelectInvert,h=t.onSelectNone,y=t.onSelectMultiple,g=t.columnWidth,x=t.type,C=t.selections,E=t.fixed,k=t.renderCell,Z=t.hideSelectAll,N=t.checkStrictly,b=void 0===N||N,w=n.prefixCls,S=n.data,K=n.pageData,O=n.getRecordByKey,P=n.getRowKey,D=n.expandType,R=n.childrenColumnName,M=n.locale,L=n.getPopupContainer,T=(0,yn.Z)(l||c||Wr,{value:l}),I=(0,i.Z)(T,2),A=I[0],H=I[1],z=u.useRef(new Map),_=(0,u.useCallback)((function(e){if(r){var n=new Map;e.forEach((function(e){var t=O(e);!t&&z.current.has(e)&&(t=z.current.get(e)),n.set(e,t)})),z.current=n}}),[O,r]);u.useEffect((function(){_(A)}),[A]);var F=(0,u.useMemo)((function(){return b?{keyEntities:null}:nt(S,{externalGetKey:P,childrenPropName:R})}),[S,P,b,R]).keyEntities,j=(0,u.useMemo)((function(){return Ur(K,R)}),[K,R]),B=(0,u.useMemo)((function(){var e=new Map;return j.forEach((function(n,t){var r=P(n,t),o=(d?d(n):null)||{};e.set(r,o)})),e}),[j,P,d]),V=(0,u.useCallback)((function(e){var n;return!!(null===(n=B.get(P(e)))||void 0===n?void 0:n.disabled)}),[B,P]),W=(0,u.useMemo)((function(){if(b)return[A||[],[]];var e=zt(A,!0,F,V);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,b,F,V]),U=(0,i.Z)(W,2),G=U[0],X=U[1],q=(0,u.useMemo)((function(){var e="radio"===x?G.slice(0,1):G;return new Set(e)}),[G,x]),Y=(0,u.useMemo)((function(){return"radio"===x?new Set:new Set(X)}),[X,x]),$=(0,u.useState)(null),J=(0,i.Z)($,2),Q=J[0],ee=J[1];u.useEffect((function(){e||H(Wr)}),[!!e]);var ne=(0,u.useCallback)((function(e,n){var t,o;_(e),r?(t=e,o=e.map((function(e){return z.current.get(e)}))):(t=[],o=[],e.forEach((function(e){var n=O(e);void 0!==n&&(t.push(e),o.push(n))}))),H(t),null===f||void 0===f||f(t,o,{type:n})}),[H,O,f,r]),te=(0,u.useCallback)((function(e,n,t,r){if(p){var o=t.map((function(e){return O(e)}));p(O(e),n,o,r)}ne(t,"single")}),[p,O,ne]),re=(0,u.useMemo)((function(){return!C||Z?null:(!0===C?[jr,Br,Vr]:C).map((function(e){return e===jr?{key:"all",text:M.selectionAll,onSelect:function(){ne(S.map((function(e,n){return P(e,n)})).filter((function(e){var n=B.get(e);return!(null===n||void 0===n?void 0:n.disabled)||q.has(e)})),"all")}}:e===Br?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(q);K.forEach((function(n,t){var r=P(n,t),o=B.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var n=Array.from(e);m&&m(n),ne(n,"invert")}}:e===Vr?{key:"none",text:M.selectNone,onSelect:function(){null===h||void 0===h||h(),ne(Array.from(q).filter((function(e){var n=B.get(e);return null===n||void 0===n?void 0:n.disabled})),"none")}}:e})).map((function(e){return(0,a.Z)((0,a.Z)({},e),{onSelect:function(){for(var n,t,r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],r=(0,a.Z)((0,a.Z)({},ce),e);t&&(ce.resetPagination(),r.pagination.current&&(r.pagination.current=1),h&&h.onChange&&h.onChange(1,r.pagination.pageSize)),R&&!1!==R.scrollToFirstRowOnChange&&oe.body.current&&$e(0,{getContainer:function(){return oe.body.current}}),null===N||void 0===N||N(r.pagination,r.filters,r.sorter,{currentDataSource:Tr(ao(Y,r.sorterStates,te),r.filterStates),action:n})},ue=io({prefixCls:J,mergedColumns:_,onSorterChange:function(e,n){de({sorter:e,sorterStates:n},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:q,showSorterTooltip:I}),fe=(0,i.Z)(ue,4),pe=fe[0],ve=fe[1],me=fe[2],he=fe[3],ye=u.useMemo((function(){return ao(Y,ve,te)}),[Y,ve]);ce.sorter=he(),ce.sorterStates=ve;var ge=Ir({prefixCls:J,locale:q,dropdownPrefixCls:Q,mergedColumns:_,onFilterChange:function(e,n){de({filters:e,filterStates:n},"filter",!0)},getPopupContainer:b}),xe=(0,i.Z)(ge,3),Ce=xe[0],Ee=xe[1],ke=xe[2],Ze=Tr(ye,Ee);ce.filters=ke,ce.filterStates=Ee;var Ne=co(u.useMemo((function(){var e={};return Object.keys(ke).forEach((function(n){null!==ke[n]&&(e[n]=ke[n])})),(0,a.Z)((0,a.Z)({},me),{filters:e})}),[me,ke])),be=(0,i.Z)(Ne,1)[0],we=Hr(Ze.length,h,(function(e,n){de({pagination:(0,a.Z)((0,a.Z)({},ce.pagination),{current:e,pageSize:n})},"paginate")})),Se=(0,i.Z)(we,2),Ke=Se[0],Oe=Se[1];ce.pagination=!1===h?{}:function(e,n){var t={current:n.current,pageSize:n.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=n[e];"function"!==typeof r&&(t[e]=r)})),t}(h,Ke),ce.resetPagination=Oe;var Pe=u.useMemo((function(){if(!1===h||!Ke.pageSize)return Ze;var e=Ke.current,n=void 0===e?1:e,t=Ke.total,r=Ke.pageSize,o=void 0===r?10:r;return Ze.lengtho?Ze.slice((n-1)*o,n*o):Ze:Ze.slice((n-1)*o,n*o)}),[!!h,Ze,Ke&&Ke.current,Ke&&Ke.pageSize,Ke&&Ke.total]),De=Gr(y,{prefixCls:J,data:Ze,pageData:Pe,getRowKey:ae,getRecordByKey:le,expandType:re,childrenColumnName:te,locale:q,getPopupContainer:b}),Re=(0,i.Z)(De,2),Me=Re[0],Le=Re[1];ee.__PARENT_RENDER_ICON__=ee.expandIcon,ee.expandIcon=ee.expandIcon||S||en(q),"nest"===re&&void 0===ee.expandIconColumnIndex?ee.expandIconColumnIndex=y?1:0:ee.expandIconColumnIndex>0&&y&&(ee.expandIconColumnIndex-=1),"number"!==typeof ee.indentSize&&(ee.indentSize="number"===typeof D?D:15);var Ie,Ae,Ge,Xe=u.useCallback((function(e){return be(Me(Ce(pe(e))))}),[pe,Ce,Me]);if(!1!==h&&(null===Ke||void 0===Ke?void 0:Ke.total)){var qe;qe=Ke.size?Ke.size:"small"===X||"middle"===X?"small":void 0;var Ye=function(e){return u.createElement(We.Z,(0,a.Z)({},Ke,{className:c()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),Ke.className),size:qe}))},Je="rtl"===G?"left":"right",Qe=Ke.position;if(null!==Qe&&Array.isArray(Qe)){var nn=Qe.find((function(e){return-1!==e.indexOf("top")})),tn=Qe.find((function(e){return-1!==e.indexOf("bottom")})),rn=Qe.every((function(e){return"none"==="".concat(e)}));nn||tn||rn||(Ae=Ye(Je)),nn&&(Ie=Ye(nn.toLowerCase().replace("top",""))),tn&&(Ae=Ye(tn.toLowerCase().replace("bottom","")))}else Ae=Ye(Je)}"boolean"===typeof w?Ge={spinning:w}:"object"===(0,r.Z)(w)&&(Ge=(0,a.Z)({spinning:!0},w));var on=c()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),d);return u.createElement("div",{ref:n,className:on,style:s},u.createElement(Ue.Z,(0,a.Z)({spinning:!1},Ge),Ie,u.createElement(He,(0,a.Z)({},F,{columns:_,direction:G,expandable:ee,prefixCls:J,className:c()((t={},(0,o.Z)(t,"".concat(J,"-middle"),"middle"===X),(0,o.Z)(t,"".concat(J,"-small"),"small"===X),(0,o.Z)(t,"".concat(J,"-bordered"),p),(0,o.Z)(t,"".concat(J,"-empty"),0===Y.length),t)),data:Pe,rowKey:ae,rowClassName:function(e,n,t){var r;return r="function"===typeof C?c()(C(e,n,t)):c()(C),c()((0,o.Z)({},"".concat(J,"-row-selected"),Le.has(ae(e,n))),r)},emptyText:L&&L.emptyText||(U||Fe.Z)("Table"),internalHooks:Te,internalRefs:oe,transformColumns:Xe})),Ae))}var fo=u.forwardRef(uo);fo.SELECTION_COLUMN=Fr,fo.EXPAND_COLUMN=He.EXPAND_COLUMN,fo.SELECTION_ALL=jr,fo.SELECTION_INVERT=Br,fo.SELECTION_NONE=Vr,fo.Column=Je,fo.ColumnGroup=Qe,fo.Summary=Ze;var po=fo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),i=t(1413),l=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){var r;(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 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,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,m=n.tabIndex,h=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,i,(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:l},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:m,className:"".concat(t,"-input"),checked:!!S,onClick:h,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,i.Z)((0,i.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},27678:function(e,n,t){t.d(n,{g1:function(){return r},os:function(){return o}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var n=e.getBoundingClientRect(),t=document.documentElement;return{left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3626-e1c13c951477db78.js b/static/web/_next/static/chunks/3626-e1c13c951477db78.js deleted file mode 100644 index a3bcb4e68..000000000 --- a/static/web/_next/static/chunks/3626-e1c13c951477db78.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3626],{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"},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){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(94184),i=t.n(a),l=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)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(a=M().map((function(e){return c.createElement(k,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(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 C||K(t);var r=M();null===x||void 0===x||x(t.filter((function(e){return-1!==D.indexOf(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:C.disabled,name:C.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=i()(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(m.Provider,{value:A},a))},y=c.forwardRef(h),g=c.memo(y),x=t(98866),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=t}(t,p||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:n}})),m=v.onHover,y=v.hovering;return u.createElement(z,(0,a.Z)({},e,{colSpan:f,rowSpan:p,hovering:y,ref:n,onHover:m}))}));_.displayName="WrappedCell";var F=_,j=u.createContext(null);function B(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 d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==i){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==i){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:i,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function V(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,i=e.rowComponent,l=e.cellComponent,c=e.onHeaderRow,d=e.index,s=u.useContext(j),f=s.prefixCls,p=s.direction;c&&(n=c(t.map((function(e){return e.column})),d));var v=w(t.map((function(e){return e.column})));return u.createElement(i,n,t.map((function(e,n){var t,i=e.column,c=B(e.colStart,e.colEnd,o,r,p);return i&&i.onHeaderCell&&(t=e.column.onHeaderCell(i)),u.createElement(F,(0,a.Z)({},e,{ellipsis:i.ellipsis,align:i.align,component:l,prefixCls:f,key:v[n]},c,{additionalProps:t,rowType:"header"}))})))}V.displayName="HeaderRow";var W=V;var U=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=u.useContext(j),i=a.prefixCls,l=a.getComponent,c=u.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),a=1;a0?[].concat((0,s.Z)(e),(0,s.Z)(ue(o).map((function(e){return(0,d.Z)({fixed:r},e)})))):[].concat((0,s.Z)(e),[(0,d.Z)((0,d.Z)({},n),{},{fixed:r})])}),[])}var fe=function(e,n){var t=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,l=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,v=e.rowExpandable,m=e.expandIconColumnIndex,h=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=u.useMemo((function(){return r||se(a)}),[r,a]),E=u.useMemo((function(){if(i){var e,n=C.slice();if(!n.includes(le)){var r=m||0;r>=0&&n.splice(r,0,le)}0;var a=n.indexOf(le);n=n.filter((function(e,n){return e!==le||n===a}));var d,h=C[a];d="left"!==x&&!x||m?"right"!==x&&!x||m!==C.length?h?h.fixed:null:"right":"left";var E=(e={},(0,o.Z)(e,ie,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",c),(0,o.Z)(e,"fixed",d),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",g),(0,o.Z)(e,"render",(function(e,n,r){var o=s(n,r),a=l.has(o),i=!v||v(n),c=p({prefixCls:t,expanded:a,expandable:i,record:n,onExpand:f});return y?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},c):c})),e);return n.map((function(e){return e===le?E:e}))}return C.filter((function(e){return e!==le}))}),[i,C,s,l,p,h]),Z=u.useMemo((function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,E,h]),N=u.useMemo((function(){return"rtl"===h?function(e){return e.map((function(e){var n=e.fixed,t=(0,k.Z)(e,de),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,d.Z)({fixed:r},t)}))}(ue(Z)):ue(Z)}),[Z,h]);return[Z,N]};function pe(e){var n=(0,u.useRef)(e),t=(0,u.useState)({}),r=(0,i.Z)(t,2)[1],o=(0,u.useRef)(null),a=(0,u.useRef)([]);return(0,u.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 ve=function(e,n,t){return(0,u.useMemo)((function(){for(var r=[],o=[],a=0,i=0,l=0;l=0;i-=1){var l=n[i],c=t&&t[i],d=c&&c[ie];if(l||d||o){var s=d||{},f=(s.columnType,(0,k.Z)(s,me));r.unshift(u.createElement("col",(0,a.Z)({key:i,style:{width:l}},f))),o=!0}}return u.createElement("colgroup",null,r)};var ye=function(e){var n=e.className,t=e.children;return u.createElement("div",{className:n},t)},ge=u.createContext({});var xe=["children"];function Ce(e){return e.children}Ce.Row=function(e){var n=e.children,t=(0,k.Z)(e,xe);return u.createElement("tr",t,n)},Ce.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,i=void 0===o?1:o,l=e.rowSpan,c=e.align,d=u.useContext(j),s=d.prefixCls,f=d.direction,p=u.useContext(ge),v=p.scrollColumnIndex,m=p.stickyOffsets,h=t+i-1+1===v?i+1:i,y=B(t,t+h-1,p.flattenColumns,m,f);return u.createElement(F,(0,a.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:h,rowSpan:l,render:function(){return r}},y))};var Ee=Ce;var ke=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=u.useContext(j).prefixCls,a=r.length-1,i=r[a],l=u.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===i||void 0===i?void 0:i.scrollbar)?a:null}}),[i,r,a,t]);return u.createElement(ge.Provider,{value:l},u.createElement("tfoot",{className:"".concat(o,"-summary")},n))},Ze=Ee;function Ne(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,i=e.expanded,l=e.expandable,d="".concat(t,"-row-expand-icon");if(!l)return u.createElement("span",{className:c()(d,"".concat(t,"-row-spaced"))});return u.createElement("span",{className:c()(d,(n={},(0,o.Z)(n,"".concat(t,"-row-expanded"),i),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!i),n)),onClick:function(e){a(r,e),e.stopPropagation()}})}var be=t(64019),we=t(27678),Se=function(e,n){var t,r,a=e.scrollBodyRef,l=e.onScroll,s=e.offsetScroll,f=e.container,p=u.useContext(j).prefixCls,v=(null===(t=a.current)||void 0===t?void 0:t.scrollWidth)||0,m=(null===(r=a.current)||void 0===r?void 0:r.clientWidth)||0,h=v&&m*(m/v),y=u.useRef(),g=pe({scrollLeft:0,isHiddenScrollBar:!1}),C=(0,i.Z)(g,2),E=C[0],k=C[1],Z=u.useRef({delta:0,x:0}),N=u.useState(!1),b=(0,i.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){var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+h>=m&&(r=m-h),l({scrollLeft:r/m*(v+2)}),Z.current.x=e.pageX}else w&&S(!1)},P=function(){if(a.current){var e=(0,we.os)(a.current).top,n=e+a.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:(0,we.os)(f).top+f.clientHeight;n-(0,x.Z)()<=t||e>=t-s?k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!0})})):k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!1})}))}},D=function(e){k((function(n){return(0,d.Z)((0,d.Z)({},n),{},{scrollLeft:e/v*m||0})}))};return u.useImperativeHandle(n,(function(){return{setScrollLeft:D}})),u.useEffect((function(){var e=(0,be.Z)(document.body,"mouseup",K,!1),n=(0,be.Z)(document.body,"mousemove",O,!1);return P(),function(){e.remove(),n.remove()}}),[h,w]),u.useEffect((function(){var e=(0,be.Z)(f,"scroll",P,!1),n=(0,be.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}}),[f]),u.useEffect((function(){E.isHiddenScrollBar||k((function(e){var n=a.current;return n?(0,d.Z)((0,d.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[E.isHiddenScrollBar]),v<=m||!h||E.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,x.Z)(),width:m,bottom:s},className:"".concat(p,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-E.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:c()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(E.scrollLeft,"px, 0, 0)")}}))},Ke=u.forwardRef(Se),Oe=(0,t(98924).Z)()?window:null;var Pe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var De=u.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,i=e.flattenColumns,l=e.colWidths,f=e.columCount,p=e.stickyOffsets,v=e.direction,m=e.fixHeader,h=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,N=(0,k.Z)(e,Pe),b=u.useContext(j),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!m?0:S,P=u.useRef(null),D=u.useCallback((function(e){(0,Z.mH)(n,e),(0,Z.mH)(P,e)}),[]);u.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 R=u.useMemo((function(){return i.every((function(e){return e.width>=0}))}),[i]),M=i[i.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(a),[L]):a}),[O,a]),I=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(i),[L]):i}),[O,i]),A=(0,u.useMemo)((function(){var e=p.right,n=p.left;return(0,d.Z)((0,d.Z)({},p),{},{left:"rtl"===v?[].concat((0,s.Z)(n.map((function(e){return e+O}))),[0]):n,right:"rtl"===v?e:[].concat((0,s.Z)(e.map((function(e){return e+O}))),[0]),isSticky:K})}),[O,p,K]),H=function(e,n){return(0,u.useMemo)((function(){for(var t=[],r=0;r0)):(ln(a>0),un(a1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=void 0===t?function(){return window}:t,o=n.callback,a=n.duration,i=void 0===a?450:a,l=r(),c=Ye(l,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=Xe(t>i?i:t,c,e,i);qe(l)?l.scrollTo(window.pageXOffset,r):l instanceof HTMLDocument||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=r:l.scrollTop=r,t0&&(M=x.map((function(e){return"string"===typeof e||"number"===typeof e?u.createElement(On,{key:e.toString(),prefixCls:D,disabled:k,value:e,checked:v===e},e):u.createElement(On,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||k,value:e.value,checked:v===e.value,style:e.style},e.label)})));var L=N||s,T=c()(R,"".concat(R,"-").concat(E),(t={},(0,o.Z)(t,"".concat(R,"-").concat(L),L),(0,o.Z)(t,"".concat(R,"-rtl"),"rtl"===d),t),g);return u.createElement("div",(0,a.Z)({},(0,gn.Z)(e),{className:T,style:b,onMouseEnter:S,onMouseLeave:K,onFocus:O,onBlur:P,id:w,ref:n}),u.createElement(Cn,{value:{onChange:function(n){var t=v,r=n.target.value;"value"in e||m(r);var o=e.onChange;o&&r!==t&&o(n)},value:v,disabled:e.disabled,name:e.name,optionType:e.optionType}},M))})),Dn=u.memo(Pn),Rn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(u,f){for(var p,v=pt(r?r.pos:"0",f),m=Yn(u[a],v),h=0;h1&&void 0!==arguments[1]?arguments[1]:{},t=n.initWrapper,r=n.processEntity,o=n.onProcessFinished,a=n.externalGetKey,i=n.childrenPropName,l=n.fieldNames,c=arguments.length>2?arguments[2]:void 0,d=a||c,s={},u={},f={posEntities:s,keyEntities:u};return t&&(f=t(f)||f),et(e,(function(e){var n=e.node,t=e.index,o=e.pos,a=e.key,i=e.parentPos,l=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:l},d=Yn(a,o);s[o]=c,u[d]=c,c.parent=s[i],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:i,fieldNames:l}),o&&o(f),f}function tt(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,i=n.checkedKeys,l=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!==i.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function rt(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,f=e.pos,p=e.active,v=e.eventKey,m=(0,d.Z)((0,d.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:i,halfChecked:l,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:f,active:p,key:v});return"props"in m||Object.defineProperty(m,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),m}var ot=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],at="open",it="close",lt=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0&&t.splice(r,1),t}function ut(e,n){var t=(e||[]).slice();return-1===t.indexOf(n)&&t.push(n),t}function ft(e){return e.split("-")}function pt(e,n){return"".concat(e,"-").concat(n)}function vt(e,n){var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n){var r=n.key,o=n.children;t.push(r),e(o)}))}(n[e].children),t}function mt(e){if(e.parent){var n=ft(e.pos);return Number(n[n.length-1])===e.parent.children.length-1}return!1}function ht(e,n,t,r,o,a,i,l,c,d){var s,u=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,m=p.height,h=(("rtl"===d?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-u)-12)/r,y=l[t.props.eventKey];if(f-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:y.key,dropTargetPos:y.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(s=y.parent)||void 0===s?void 0:s.key)||null,dropAllowed:K}}function yt(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function gt(e){if(!e)return null;var n;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,y.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 xt(e,n){var t=new Set;function r(e){if(!t.has(e)){var o=n[e];if(o){t.add(e);var a=o.parent;o.node.disabled||a&&r(a.key)}}}return(e||[]).forEach((function(e){r(e)})),(0,s.Z)(t)}var Ct=t(73453),Et=t(62874),kt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Zt=function(e,n){var t=e.className,r=e.style,o=e.motion,l=e.motionNodes,d=e.motionType,s=e.onMotionStart,f=e.onMotionEnd,p=e.active,v=e.treeNodeRequiredProps,m=(0,k.Z)(e,kt),h=u.useState(!0),y=(0,i.Z)(h,2),g=y[0],x=y[1],C=u.useContext(Un).prefixCls,E=u.useRef(!1),Z=function(){E.current||f(),E.current=!0};return(0,u.useEffect)((function(){l&&"hide"===d&&g&&x(!1)}),[l]),(0,u.useEffect)((function(){return l&&s(),function(){l&&Z()}}),[]),l?u.createElement(Et.Z,(0,a.Z)({ref:n,visible:g},o,{motionAppear:"show"===d,onAppearEnd:Z,onLeaveEnd:Z}),(function(e,n){var t=e.className,r=e.style;return u.createElement("div",{ref:n,className:c()("".concat(C,"-treenode-motion"),t),style:r},l.map((function(e){var n=(0,a.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,i=e.isEnd;delete n.children;var l=tt(r,v);return u.createElement(dt,(0,a.Z)({},n,l,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:i}))})))})):u.createElement(dt,(0,a.Z)({domRef:n,className:t,style:r},m,{active:p}))};Zt.displayName="MotionTreeNode";var Nt=u.forwardRef(Zt);function bt(e,n,t){var r=e.findIndex((function(e){return e.key===t})),o=e[r+1],a=n.findIndex((function(e){return e.key===t}));if(o){var i=n.findIndex((function(e){return e.key===o.key}));return n.slice(a+1,i)}return n.slice(a+1)}var wt=["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"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Kt=function(){},Ot="RC_TREE_MOTION_".concat(Math.random()),Pt={key:Ot},Dt={key:Ot,level:0,index:0,pos:"0",node:Pt,nodes:[Pt]},Rt={parent:null,children:[],pos:Dt.pos,data:Pt,title:null,key:Ot,isStart:[],isEnd:[]};function Mt(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function Lt(e){return Yn(e.key,e.pos)}var Tt=u.forwardRef((function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),l=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,s=e.loadingKeys,f=e.halfCheckedKeys,p=e.keyEntities,v=e.disabled,m=e.dragging,h=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,Z=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,P=e.onActiveChange,D=e.onListChangeStart,R=e.onListChangeEnd,M=(0,k.Z)(e,wt),L=u.useRef(null),T=u.useRef(null);u.useImperativeHandle(n,(function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}}));var I=u.useState(o),A=(0,i.Z)(I,2),H=A[0],z=A[1],_=u.useState(r),F=(0,i.Z)(_,2),j=F[0],B=F[1],V=u.useState(r),W=(0,i.Z)(V,2),U=W[0],G=W[1],X=u.useState([]),q=(0,i.Z)(X,2),Y=q[0],$=q[1],J=u.useState(null),Q=(0,i.Z)(J,2),ee=Q[0],ne=Q[1],te=u.useRef(r);function re(){var e=te.current;B(e),G(e),$([]),ne(null),R()}te.current=r,u.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)),u.createElement("div",null,u.createElement("input",{style:St,disabled:!1===Z||v,tabIndex:!1!==Z?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:Kt,"aria-label":"for screen reader"})),u.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},u.createElement("div",{className:"".concat(t,"-indent")},u.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),u.createElement(Ct.Z,(0,a.Z)({},M,{data:oe,itemKey:Lt,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 Lt(e)===Ot}))&&re()}}),(function(e){var n=e.pos,t=(0,a.Z)({},e.data),r=e.title,o=e.key,i=e.isStart,l=e.isEnd,c=Yn(o,n);delete t.key,delete t.children;var d=tt(c,ae);return u.createElement(Nt,(0,a.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:i,isEnd:l,motion:g,motionNodes:o===Ot?Y:null,motionType:ee,onMotionStart:D,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){P(null)}}))})))}));Tt.displayName="NodeList";var It=Tt;function At(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function Ht(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function zt(e,n,t,r){var o,a=[];o=r||Ht;var i,l=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,d=0;return Object.keys(t).forEach((function(e){var n=t[e],r=n.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(n),d=Math.max(d,r)})),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),i=!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,t=e.node;if(!r(t)&&e.parent&&!l.has(e.parent.key))if(r(e.parent.node))l.add(n.key);else{var i=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);i&&!t&&(i=!1),c||!t&&!a.has(n)||(c=!0)})),i&&o.add(n.key),c&&a.add(n.key),l.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(At(a,o))}}(l,c,d,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,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!o(t)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(n.key);else{var r=!0,l=!1;(n.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var n=e.key,t=a.has(n);r&&!t&&(r=!1),l||!t&&!i.has(n)||(l=!0)})),r||a.delete(n.key),l&&i.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(At(i,a))}}(l,n.halfCheckedKeys,c,d,o),i}var _t=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,_n.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,l=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos,u=a.dropAllowed;if(u){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,d.Z)((0,d.Z)({},tt(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),v=-1!==i.indexOf(c);(0,y.ZP)(!v,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var m=ft(s),h={event:n,node:rt(p),dragNode:e.dragNode?rt(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==l,dropPosition:l+Number(m[m.length-1])};o||null===f||void 0===f||f(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=rt((0,d.Z)((0,d.Z)({},tt(l,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?st(o,l):ut(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||void 0===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||void 0===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,d=l.multiple,s=t.selected,u=t[i.key],f=!s,p=(r=f?d?ut(r,u):[u]:st(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||void 0===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,d=e.props,u=d.checkStrictly,f=d.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(u){var m=r?ut(l,p):st(l,p);o={checked:m,halfChecked:st(c,p)},v.checkedNodes=m.map((function(e){return i[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:m})}else{var h=zt([].concat((0,s.Z)(l),[p]),!0,i),y=h.checkedKeys,g=h.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(p);var C=zt(Array.from(x),{checked:!1,halfCheckedKeys:g},i);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.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:y},!1,{halfCheckedKeys:g})}null===f||void 0===f||f(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=void 0===i?[]:i,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===l.indexOf(t)&&-1===d.indexOf(t)?(u(n).then((function(){var o=ut(e.state.loadedKeys,t);null===f||void 0===f||f(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),r()})).catch((function(n){if(e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:ut(a,t)}),r()}o(n)})),{loadingKeys:ut(d,t)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null===r||void 0===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=new 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){t in e.props?a=!1:(o=!0,i[t]=n[t])})),!o||t&&!a||e.setState((0,d.Z)((0,d.Z)({},i),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,Fn.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,i=t.focused,l=t.flattenNodes,d=t.keyEntities,s=t.draggingNodeKey,f=t.activeKey,v=t.dropLevelOffset,m=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=void 0===w?0:w,K=C.selectable,O=C.showIcon,P=C.icon,D=C.switcherIcon,R=C.draggable,M=C.checkable,L=C.checkStrictly,T=C.disabled,I=C.motion,A=C.loadData,H=C.filterTreeNode,z=C.height,_=C.itemHeight,F=C.virtual,j=C.titleRender,B=C.dropIndicatorRender,V=C.onContextMenu,W=C.onScroll,U=C.direction,G=C.rootClassName,X=C.rootStyle,q=(0,p.Z)(this.props,{aria:!0,data:!0});return R&&(n="object"===(0,r.Z)(R)?R:"function"===typeof R?{nodeDraggable:R}:{}),u.createElement(Un.Provider,{value:{prefixCls:E,selectable:K,showIcon:O,icon:P,switcherIcon:D,draggable:n,draggingNodeKey:s,checkable:M,checkStrictly:L,disabled:T,keyEntities:d,dropLevelOffset:v,dropContainerKey:m,dropTargetKey:h,dropPosition:y,dragOverNodeKey:g,indent:x,direction:U,dropIndicatorRender:B,loadData:A,filterTreeNode:H,titleRender:j,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}},u.createElement("div",{role:"tree",className:c()(E,k,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),N),(0,o.Z)(e,"".concat(E,"-focused"),i),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:X},u.createElement(It,(0,a.Z)({ref:this.listRef,prefixCls:E,style:Z,data:l,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==s,height:z,itemHeight:_,virtual:F,focusable:b,focused:i,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r=n.prevProps,a={prevProps:e};function i(n){return!r&&n in e||r&&r[n]!==e[n]}var l=n.fieldNames;if(i("fieldNames")&&(l=$n(e.fieldNames),a.fieldNames=l),i("treeData")?t=e.treeData:i("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Jn(e.children)),t){a.treeData=t;var c=nt(t,{fieldNames:l});a.keyEntities=(0,d.Z)((0,o.Z)({},Ot,Dt),c.keyEntities)}var s,u=a.keyEntities||n.keyEntities;if(i("expandedKeys")||r&&i("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?xt(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,d.Z)({},u);delete f[Ot],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?xt(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=Qn(t||n.treeData,a.expandedKeys||n.expandedKeys,l);a.flattenNodes=p}if((e.selectable&&(i("selectedKeys")?a.selectedKeys=yt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=yt(e.defaultSelectedKeys,e))),e.checkable)&&(i("checkedKeys")?s=gt(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=gt(e.defaultCheckedKeys)||{}:t&&(s=gt(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),s)){var v=s,m=v.checkedKeys,h=void 0===m?[]:m,g=v.halfCheckedKeys,x=void 0===g?[]:g;if(!e.checkStrictly){var C=zt(h,!0,u);h=C.checkedKeys,x=C.halfCheckedKeys}a.checkedKeys=h,a.halfCheckedKeys=x}return i("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(u.Component);_t.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 u.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},_t.TreeNode=dt;var Ft=_t,jt=t(33603),Bt={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"},Vt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Bt}))};Vt.displayName="FileOutlined";var Wt=u.forwardRef(Vt),Ut={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"},Gt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Ut}))};Gt.displayName="FolderOpenOutlined";var Xt=u.forwardRef(Gt),qt={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"},Yt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:qt}))};Yt.displayName="FolderOutlined";var $t,Jt=u.forwardRef(Yt);function Qt(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&Qt(r||[],n)}))}function er(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],i=$t.None;if(r&&r===o)return[r];if(!r||!o)return[];return Qt(n,(function(e){if(i===$t.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),i===$t.None)i=$t.Start;else if(i===$t.Start)return i=$t.End,!1}else i===$t.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function nr(e,n){var t=(0,s.Z)(n),r=[];return Qt(e,(function(e,n){var o=t.indexOf(e);return-1!==o&&(r.push(n),t.splice(o,1)),!!t.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}($t||($t={}));var tr=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&L(!1),Y(""),z(S?(K||[]).map((function(e){return String(e)})):[])},te=c()((0,o.Z)({},"".concat(s,"-menu-without-submenu"),!(d.filters||[]).some((function(e){return e.children})))),re=function(e){if(e.target.checked){var n=Mr(null===d||void 0===d?void 0:d.filters).map((function(e){return String(e)}));z(n)}else z([])},oe=function e(n){return(n.filters||[]).map((function(n,t){var r=String(n.value),o={title:n.text,key:void 0!==n.value?r:t};return n.children&&(o.children=e({filters:n.children})),o}))},ae=function e(n){var t;return(0,a.Z)((0,a.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 d.filterDropdown)J=d.filterDropdown({prefixCls:"".concat(s,"-custom"),setSelectedKeys:function(e){return _({selectedKeys:e})},selectedKeys:H(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&L(!1),Q(H())},clearFilters:ne,filters:d.filters,visible:t});else if(d.filterDropdown)J=d.filterDropdown;else{var ie=H()||[];J=u.createElement(u.Fragment,null,0===(d.filters||[]).length?u.createElement(vn.Z,{image:vn.Z.PRESENTED_IMAGE_SIMPLE,description:C.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===m?u.createElement(u.Fragment,null,u.createElement(wr,{filterSearch:y,value:q,onChange:$,tablePrefixCls:r,locale:C}),u.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},p?u.createElement(fn.Z,{checked:ie.length===Mr(d.filters).length,indeterminate:ie.length>0&&ie.length0?c:e}),h=Math.ceil((c||e)/m.pageSize);m.current>h&&(m.current=h||1);var y=function(e,n){v({current:null!==e&&void 0!==e?e:1,pageSize:n||m.pageSize})};return!1===n?[{},function(){}]:[(0,a.Z)((0,a.Z)({},m),{onChange:function(e,r){var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),y(e,r),t(e,r||(null===m||void 0===m?void 0:m.pageSize))}}),y]}var zr=t(84506),_r=t(80882),Fr={},jr="SELECT_ALL",Br="SELECT_INVERT",Vr="SELECT_NONE",Wr=[];function Ur(e,n){var t=[];return(e||[]).forEach((function(e){t.push(e),e&&"object"===(0,r.Z)(e)&&n in e&&(t=[].concat((0,s.Z)(t),(0,s.Z)(Ur(e[n],n))))})),t}function Gr(e,n){var t=e||{},r=t.preserveSelectedRowKeys,l=t.selectedRowKeys,c=t.defaultSelectedRowKeys,d=t.getCheckboxProps,f=t.onChange,p=t.onSelect,v=t.onSelectAll,m=t.onSelectInvert,h=t.onSelectNone,y=t.onSelectMultiple,g=t.columnWidth,x=t.type,C=t.selections,E=t.fixed,k=t.renderCell,Z=t.hideSelectAll,N=t.checkStrictly,b=void 0===N||N,w=n.prefixCls,S=n.data,K=n.pageData,O=n.getRecordByKey,P=n.getRowKey,D=n.expandType,R=n.childrenColumnName,M=n.locale,L=n.getPopupContainer,T=(0,yn.Z)(l||c||Wr,{value:l}),I=(0,i.Z)(T,2),A=I[0],H=I[1],z=u.useRef(new Map),_=(0,u.useCallback)((function(e){if(r){var n=new Map;e.forEach((function(e){var t=O(e);!t&&z.current.has(e)&&(t=z.current.get(e)),n.set(e,t)})),z.current=n}}),[O,r]);u.useEffect((function(){_(A)}),[A]);var F=(0,u.useMemo)((function(){return b?{keyEntities:null}:nt(S,{externalGetKey:P,childrenPropName:R})}),[S,P,b,R]).keyEntities,j=(0,u.useMemo)((function(){return Ur(K,R)}),[K,R]),B=(0,u.useMemo)((function(){var e=new Map;return j.forEach((function(n,t){var r=P(n,t),o=(d?d(n):null)||{};e.set(r,o)})),e}),[j,P,d]),V=(0,u.useCallback)((function(e){var n;return!!(null===(n=B.get(P(e)))||void 0===n?void 0:n.disabled)}),[B,P]),W=(0,u.useMemo)((function(){if(b)return[A||[],[]];var e=zt(A,!0,F,V);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,b,F,V]),U=(0,i.Z)(W,2),G=U[0],X=U[1],q=(0,u.useMemo)((function(){var e="radio"===x?G.slice(0,1):G;return new Set(e)}),[G,x]),Y=(0,u.useMemo)((function(){return"radio"===x?new Set:new Set(X)}),[X,x]),$=(0,u.useState)(null),J=(0,i.Z)($,2),Q=J[0],ee=J[1];u.useEffect((function(){e||H(Wr)}),[!!e]);var ne=(0,u.useCallback)((function(e,n){var t,o;_(e),r?(t=e,o=e.map((function(e){return z.current.get(e)}))):(t=[],o=[],e.forEach((function(e){var n=O(e);void 0!==n&&(t.push(e),o.push(n))}))),H(t),null===f||void 0===f||f(t,o,{type:n})}),[H,O,f,r]),te=(0,u.useCallback)((function(e,n,t,r){if(p){var o=t.map((function(e){return O(e)}));p(O(e),n,o,r)}ne(t,"single")}),[p,O,ne]),re=(0,u.useMemo)((function(){return!C||Z?null:(!0===C?[jr,Br,Vr]:C).map((function(e){return e===jr?{key:"all",text:M.selectionAll,onSelect:function(){ne(S.map((function(e,n){return P(e,n)})).filter((function(e){var n=B.get(e);return!(null===n||void 0===n?void 0:n.disabled)||q.has(e)})),"all")}}:e===Br?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(q);K.forEach((function(n,t){var r=P(n,t),o=B.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var n=Array.from(e);m&&m(n),ne(n,"invert")}}:e===Vr?{key:"none",text:M.selectNone,onSelect:function(){null===h||void 0===h||h(),ne(Array.from(q).filter((function(e){var n=B.get(e);return null===n||void 0===n?void 0:n.disabled})),"none")}}:e})).map((function(e){return(0,a.Z)((0,a.Z)({},e),{onSelect:function(){for(var n,t,r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],r=(0,a.Z)((0,a.Z)({},ce),e);t&&(ce.resetPagination(),r.pagination.current&&(r.pagination.current=1),h&&h.onChange&&h.onChange(1,r.pagination.pageSize)),R&&!1!==R.scrollToFirstRowOnChange&&oe.body.current&&$e(0,{getContainer:function(){return oe.body.current}}),null===N||void 0===N||N(r.pagination,r.filters,r.sorter,{currentDataSource:Tr(ao(Y,r.sorterStates,te),r.filterStates),action:n})},ue=io({prefixCls:J,mergedColumns:_,onSorterChange:function(e,n){de({sorter:e,sorterStates:n},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:q,showSorterTooltip:I}),fe=(0,i.Z)(ue,4),pe=fe[0],ve=fe[1],me=fe[2],he=fe[3],ye=u.useMemo((function(){return ao(Y,ve,te)}),[Y,ve]);ce.sorter=he(),ce.sorterStates=ve;var ge=Ir({prefixCls:J,locale:q,dropdownPrefixCls:Q,mergedColumns:_,onFilterChange:function(e,n){de({filters:e,filterStates:n},"filter",!0)},getPopupContainer:b}),xe=(0,i.Z)(ge,3),Ce=xe[0],Ee=xe[1],ke=xe[2],Ze=Tr(ye,Ee);ce.filters=ke,ce.filterStates=Ee;var Ne=co(u.useMemo((function(){var e={};return Object.keys(ke).forEach((function(n){null!==ke[n]&&(e[n]=ke[n])})),(0,a.Z)((0,a.Z)({},me),{filters:e})}),[me,ke])),be=(0,i.Z)(Ne,1)[0],we=Hr(Ze.length,h,(function(e,n){de({pagination:(0,a.Z)((0,a.Z)({},ce.pagination),{current:e,pageSize:n})},"paginate")})),Se=(0,i.Z)(we,2),Ke=Se[0],Oe=Se[1];ce.pagination=!1===h?{}:function(e,n){var t={current:n.current,pageSize:n.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=n[e];"function"!==typeof r&&(t[e]=r)})),t}(h,Ke),ce.resetPagination=Oe;var Pe=u.useMemo((function(){if(!1===h||!Ke.pageSize)return Ze;var e=Ke.current,n=void 0===e?1:e,t=Ke.total,r=Ke.pageSize,o=void 0===r?10:r;return Ze.lengtho?Ze.slice((n-1)*o,n*o):Ze:Ze.slice((n-1)*o,n*o)}),[!!h,Ze,Ke&&Ke.current,Ke&&Ke.pageSize,Ke&&Ke.total]),De=Gr(y,{prefixCls:J,data:Ze,pageData:Pe,getRowKey:ae,getRecordByKey:le,expandType:re,childrenColumnName:te,locale:q,getPopupContainer:b}),Re=(0,i.Z)(De,2),Me=Re[0],Le=Re[1];ee.__PARENT_RENDER_ICON__=ee.expandIcon,ee.expandIcon=ee.expandIcon||S||en(q),"nest"===re&&void 0===ee.expandIconColumnIndex?ee.expandIconColumnIndex=y?1:0:ee.expandIconColumnIndex>0&&y&&(ee.expandIconColumnIndex-=1),"number"!==typeof ee.indentSize&&(ee.indentSize="number"===typeof D?D:15);var Ie,Ae,Ge,Xe=u.useCallback((function(e){return be(Me(Ce(pe(e))))}),[pe,Ce,Me]);if(!1!==h&&(null===Ke||void 0===Ke?void 0:Ke.total)){var qe;qe=Ke.size?Ke.size:"small"===X||"middle"===X?"small":void 0;var Ye=function(e){return u.createElement(We.Z,(0,a.Z)({},Ke,{className:c()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),Ke.className),size:qe}))},Je="rtl"===G?"left":"right",Qe=Ke.position;if(null!==Qe&&Array.isArray(Qe)){var nn=Qe.find((function(e){return-1!==e.indexOf("top")})),tn=Qe.find((function(e){return-1!==e.indexOf("bottom")})),rn=Qe.every((function(e){return"none"==="".concat(e)}));nn||tn||rn||(Ae=Ye(Je)),nn&&(Ie=Ye(nn.toLowerCase().replace("top",""))),tn&&(Ae=Ye(tn.toLowerCase().replace("bottom","")))}else Ae=Ye(Je)}"boolean"===typeof w?Ge={spinning:w}:"object"===(0,r.Z)(w)&&(Ge=(0,a.Z)({spinning:!0},w));var on=c()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),d);return u.createElement("div",{ref:n,className:on,style:s},u.createElement(Ue.Z,(0,a.Z)({spinning:!1},Ge),Ie,u.createElement(He,(0,a.Z)({},F,{columns:_,direction:G,expandable:ee,prefixCls:J,className:c()((t={},(0,o.Z)(t,"".concat(J,"-middle"),"middle"===X),(0,o.Z)(t,"".concat(J,"-small"),"small"===X),(0,o.Z)(t,"".concat(J,"-bordered"),p),(0,o.Z)(t,"".concat(J,"-empty"),0===Y.length),t)),data:Pe,rowKey:ae,rowClassName:function(e,n,t){var r;return r="function"===typeof C?c()(C(e,n,t)):c()(C),c()((0,o.Z)({},"".concat(J,"-row-selected"),Le.has(ae(e,n))),r)},emptyText:L&&L.emptyText||(U||Fe.Z)("Table"),internalHooks:Te,internalRefs:oe,transformColumns:Xe})),Ae))}var fo=u.forwardRef(uo);fo.SELECTION_COLUMN=Fr,fo.EXPAND_COLUMN=He.EXPAND_COLUMN,fo.SELECTION_ALL=jr,fo.SELECTION_INVERT=Br,fo.SELECTION_NONE=Vr,fo.Column=Je,fo.ColumnGroup=Qe,fo.Summary=Ze;var po=fo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(91),i=t(1413),l=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){var r;(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 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,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,m=n.tabIndex,h=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,i,(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:l},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:m,className:"".concat(t,"-input"),checked:!!S,onClick:h,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,i.Z)((0,i.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},27678:function(e,n,t){t.d(n,{g1:function(){return r},os:function(){return o}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var n=e.getBoundingClientRect(),t=document.documentElement;return{left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||document.body.clientTop||0)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3903-1e79dad4c0cd3b68.js b/static/web/_next/static/chunks/3903-97c724332d1a5798.js similarity index 58% rename from static/web/_next/static/chunks/3903-1e79dad4c0cd3b68.js rename to static/web/_next/static/chunks/3903-97c724332d1a5798.js index 6976caedf..de2371b44 100644 --- a/static/web/_next/static/chunks/3903-1e79dad4c0cd3b68.js +++ b/static/web/_next/static/chunks/3903-97c724332d1a5798.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),i={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"},a=n(42135),l=function(e,t){return r.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CaretDownOutlined";var c=r.forwardRef(l)},38504:function(e,t,n){n.d(t,{Z:function(){return x}});var o=n(87462),r=n(71002),i=n(4942),a=n(97685),l=n(18073),c=n(94184),s=n.n(c),u=n(60057),p=n(66680),f=n(21770),v=n(67294),d=n(53124),m=n(76529),g=n(80636),y=n(96159),b=n(93355),C=n(89705),h=n(71577),w=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r0){var A=h[0]/2;I.paddingLeft=A,I.paddingRight=A}if(h&&h[1]>0&&!g){var T=h[1]/2;I.paddingTop=T,I.paddingBottom=T}return M&&(I.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(M),!1!==b||I.minWidth||(I.minWidth=0)),i.createElement("div",(0,a.Z)({},N,{style:(0,a.Z)((0,a.Z)({},I),S),className:R,ref:t}),O)}))},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},25968:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});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)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0?A[0]/-2:void 0,H=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(L&&(F.marginLeft=L,F.marginRight=L),j){var D=(0,c.Z)(A,2);F.rowGap=D[1]}else H&&(F.marginTop=H,F.marginBottom=H);var _=(0,c.Z)(A,2),B=_[0],z=_[1],G=l.useMemo((function(){return{gutter:[B,z],wrap:C,supportFlexGap:j}}),[B,z,C,j]);return l.createElement(m.Z.Provider,{value:G},l.createElement("div",(0,r.Z)({},E,{className:T,style:(0,r.Z)((0,r.Z)({},F),g),ref:t}),y))}))},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});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(91),p=n(1413),h=n(15105),b=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function g(e,t,n){return(e-t)/(n-t)}function y(e,t,n,r){var a=g(t,n,r),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 Z(e,t){return Array.isArray(e)?e[t]:e}var x=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"];var C=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,g=e.dragging,C=e.onOffsetChange,E=(0,m.Z)(e,x),w=s.useContext(b),k=w.min,O=w.max,M=w.direction,S=w.disabled,N=w.range,P=w.tabIndex,j=w.ariaLabelForHandle,R=w.ariaLabelledByForHandle,I=w.ariaValueTextFormatterForHandle,A="".concat(c,"-handle"),T=function(e){S||f(e,l)},F=y(M,u,k,O),L=s.createElement("div",(0,o.Z)({ref:t,className:i()(A,(n={},(0,a.Z)(n,"".concat(A,"-").concat(l+1),N),(0,a.Z)(n,"".concat(A,"-dragging"),g),n)),style:(0,p.Z)((0,p.Z)({},F),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:Z(P,l),role:"slider","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":u,"aria-disabled":S,"aria-label":Z(j,l),"aria-labelledby":Z(R,l),"aria-valuetext":null===(r=Z(I,l))||void 0===r?void 0:r(u)},E));return v&&(L=v(L,{index:l,prefixCls:c,value:u,dragging:g})),L})),E=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"];var w=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,E),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(C,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:l===t,prefixCls:n,style:Z(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 O(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(b),l=u.direction,f=u.min,d=u.max,v=u.disabled,m=u.range,h="".concat(t,"-track"),y=g(r,f,d),Z=g(a,f,d),x=function(e){!v&&c&&c(e,-1)},C={};switch(l){case"rtl":C.right="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%");break;case"btt":C.bottom="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;case"ttb":C.top="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;default:C.left="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%")}return s.createElement("div",{className:i()(h,m&&"".concat(h,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},C),n),onMouseDown:x,onTouchStart:x})}function M(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(b),u=c.included,i=c.range,l=c.min,f=s.useMemo((function(){if(!i){if(0===r.length)return[];var e=null!==a&&void 0!==a?a:l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&z}),[z,ve]),pe=s.useMemo((function(){return Object.keys(ee||{}).map((function(e){var t=ee[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}))}),[ee]),he=function(e,t,n,r,a,o){var c=s.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),Math.max(e,r)}),[e,t]),u=s.useCallback((function(r){if(null!==n){var a=e+Math.round((c(r)-e)/n)*n,o=function(e){return(String(e).split(".")[1]||"").length},u=Math.max(o(n),o(t),o(e)),i=Number(a.toFixed(u));return e<=i&&i<=t?i:null}return null}),[n,e,t,c]),i=s.useCallback((function(a){var o=c(a),i=r.map((function(e){return e.value}));null!==n&&i.push(u(a)),i.push(e,t);var l=i[0],s=t-e;return i.forEach((function(e){var t=Math.abs(o-e);t<=s&&(l=e,s=t)})),l}),[e,t,r,n,c,u]),f=function a(o,c,i){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"===typeof c){var f,d=o[i],v=d+c,m=[];r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(u(d));var p=c>0?1:-1;"unit"===s?m.push(u(d+p*n)):m.push(u(v)),m=m.filter((function(e){return null!==e})).filter((function(e){return c<0?e<=d:e>=d})),"unit"===s&&(m=m.filter((function(e){return e!==d})));var h="unit"===s?d:v;f=m[0];var b=Math.abs(f-h);if(m.forEach((function(e){var t=Math.abs(e-h);t1){var g=(0,l.Z)(o);return g[i]=f,a(g,c-p,i,s)}return f}return"min"===c?e:"max"===c?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=f(e,t,n,r);return{value:o,changed:o!==a}},v=function(e){return null===o&&0===e||"number"===typeof o&&e3&&void 0!==arguments[3]?arguments[3]:"unit",c=e.map(i),u=c[n],l=f(c,t,n,r);if(c[n]=l,!1===a){var s=o||0;n>0&&c[n-1]!==u&&(c[n]=Math.max(c[n],c[n-1]+s)),n0;b-=1)for(var g=!0;v(c[b]-c[b-1])&&g;){var y=d(c,-1,b-1);c[b-1]=y.value,g=y.changed}for(var Z=c.length-1;Z>0;Z-=1)for(var x=!0;v(c[Z]-c[Z-1])&&x;){var C=d(c,-1,Z-1);c[Z-1]=C.value,x=C.changed}for(var E=0;E=0?T+1:2;for(n=n.slice(0,r);n.length=0&&ie.current.focus(e)}Re(null)}),[je]);var Ie=s.useMemo((function(){return(!G||null!==ve)&&G}),[G,ve]),Ae=function(e,t,n,r,a,o,u,i,f){var d=s.useState(null),v=(0,c.Z)(d,2),m=v[0],p=v[1],h=s.useState(-1),b=(0,c.Z)(h,2),g=b[0],y=b[1],Z=s.useState(n),x=(0,c.Z)(Z,2),C=x[0],E=x[1],w=s.useState(n),O=(0,c.Z)(w,2),M=O[0],S=O[1],N=s.useRef(null),P=s.useRef(null);s.useEffect((function(){-1===g&&E(n)}),[n,g]),s.useEffect((function(){return function(){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",P.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",P.current)}}),[]);var j=function(e,t){C.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&p(t),E(e),u(e))},R=function(e,t){if(-1===e){var n=M[0],c=M[M.length-1],u=r-n,i=a-c,s=t*(a-r);s=Math.max(s,u),s=Math.min(s,i);var d=o(n+s);s=d-n;var v=M.map((function(e){return e+s}));j(v)}else{var m=(a-r)*t,p=(0,l.Z)(C);p[e]=M[e];var h=f(p,m,e,"dist");j(h.values,h.value)}},I=s.useRef(R);I.current=R;var A=s.useMemo((function(){var e=(0,l.Z)(n).sort((function(e,t){return e-t})),t=(0,l.Z)(C).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?C:n}),[n,C]);return[g,m,A,function(r,a){r.stopPropagation();var o=n[a];y(a),p(o),S(n);var c=k(r),u=c.pageX,l=c.pageY,s=function(n){n.preventDefault();var r,o=k(n),c=o.pageX,i=o.pageY,s=c-u,f=i-l,d=e.current.getBoundingClientRect(),v=d.width,m=d.height;switch(t){case"btt":r=-f/m;break;case"ttb":r=f/m;break;case"rtl":r=-s/v;break;default:r=s/v}I.current(a,r)},f=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",s),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",s),N.current=null,P.current=null,y(-1),i()};document.addEventListener("mouseup",f),document.addEventListener("mousemove",s),document.addEventListener("touchend",f),document.addEventListener("touchmove",s),N.current=s,P.current=f}]}(le,se,we,fe,de,ge,Me,(function(){null===H||void 0===H||H(Oe(ke.current))}),ye),Te=(0,c.Z)(Ae,4),Fe=Te[0],Le=Te[1],He=Te[2],De=Te[3],_e=function(e,t){De(e,t),null===L||void 0===L||L(Oe(ke.current))},Be=-1!==Fe;s.useEffect((function(){if(!Be){var e=we.lastIndexOf(Le);ie.current.focus(e)}}),[Be]);var ze=s.useMemo((function(){return(0,l.Z)(He).sort((function(e,t){return e-t}))}),[He]),Ge=s.useMemo((function(){return A?[ze[0],ze[ze.length-1]]:[fe,ze[0]]}),[ze,A,fe]),Ve=(0,c.Z)(Ge,2),We=Ve[0],Xe=Ve[1];s.useImperativeHandle(t,(function(){return{focus:function(){ie.current.focus(0)},blur:function(){var e=document.activeElement;le.current.contains(e)&&(null===e||void 0===e||e.blur())}}})),s.useEffect((function(){g&&ie.current.focus(0)}),[]);var Ye=s.useMemo((function(){return{min:fe,max:de,direction:se,disabled:h,step:ve,included:Y,includedStart:We,includedEnd:Xe,range:A,tabIndex:ae,ariaLabelForHandle:oe,ariaLabelledByForHandle:ce,ariaValueTextFormatterForHandle:ue}}),[fe,de,se,h,ve,Y,We,Xe,A,ae,oe,ce,ue]);return s.createElement(b.Provider,{value:Ye},s.createElement("div",{ref:le,className:i()(u,f,(n={},(0,a.Z)(n,"".concat(u,"-disabled"),h),(0,a.Z)(n,"".concat(u,"-vertical"),W),(0,a.Z)(n,"".concat(u,"-horizontal"),!W),(0,a.Z)(n,"".concat(u,"-with-marks"),pe.length),n)),style:m,onMouseDown:function(e){e.preventDefault();var t,n=le.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(se){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}Se(ge(fe+t*(de-fe)))}},s.createElement("div",{className:"".concat(u,"-rail"),style:Q}),s.createElement(M,{prefixCls:u,style:K,values:ze,startPoint:$,onStartMove:Ie?_e:null}),s.createElement(j,{prefixCls:u,marks:pe,dots:te,style:q,activeStyle:J}),s.createElement(w,{ref:ie,prefixCls:u,style:U,values:He,draggingIndex:Fe,onStartMove:_e,onOffsetChange:function(e,t){if(!h){var n=ye(we,e,t);null===L||void 0===L||L(Oe(we)),Me(n.values),null===H||void 0===H||H(Oe(n.values)),Re(n.value)}},onFocus:y,onBlur:Z,handleRender:ne}),s.createElement(N,{prefixCls:u,marks:pe,onClick:Se})))}));var I=R,A=n(53124),T=n(75164),F=n(42550),L=n(94199),H=s.forwardRef((function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){T.Z.cancel(a.current),a.current=null}return s.useEffect((function(){return n?a.current=(0,T.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null})):c(),c}),[n,e.title]),s.createElement(L.Z,(0,o.Z)({ref:(0,F.sQ)(r,t)},e))})),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=t||n<0||h&&e-m>=s}function x(){var e=a();if(Z(e))return C(e);d=setTimeout(x,function(e){var n=t-(e-v);return h?u(n,s-(e-m)):n}(e))}function C(e){return d=void 0,b&&i?g(e):(i=l=void 0,f)}function E(){var e=a(),n=Z(e);if(i=arguments,l=this,v=e,n){if(void 0===d)return y(v);if(h)return clearTimeout(d),d=setTimeout(x,t),g(v)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(p=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,b="trailing"in n?!!n.trailing:b),E.cancel=function(){void 0!==d&&clearTimeout(d),m=0,i=v=l=d=void 0},E.flush=function(){return void 0===d?f:C(a())},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=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;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=u.test(e);return n||i.test(e)?l(e.slice(2),n?2:8):c.test(e)?NaN:+e}},20943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var A=h[0]/2;I.paddingLeft=A,I.paddingRight=A}if(h&&h[1]>0&&!g){var T=h[1]/2;I.paddingTop=T,I.paddingBottom=T}return M&&(I.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(M),!1!==b||I.minWidth||(I.minWidth=0)),i.createElement("div",(0,a.Z)({},N,{style:(0,a.Z)((0,a.Z)({},I),S),className:R,ref:t}),O)}))},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},25968:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});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)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0?A[0]/-2:void 0,H=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(L&&(F.marginLeft=L,F.marginRight=L),j){var D=(0,c.Z)(A,2);F.rowGap=D[1]}else H&&(F.marginTop=H,F.marginBottom=H);var _=(0,c.Z)(A,2),B=_[0],z=_[1],G=l.useMemo((function(){return{gutter:[B,z],wrap:C,supportFlexGap:j}}),[B,z,C,j]);return l.createElement(m.Z.Provider,{value:G},l.createElement("div",(0,r.Z)({},E,{className:T,style:(0,r.Z)((0,r.Z)({},F),g),ref:t}),y))}))},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});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),b=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function g(e,t,n){return(e-t)/(n-t)}function y(e,t,n,r){var a=g(t,n,r),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 Z(e,t){return Array.isArray(e)?e[t]:e}var x=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"];var C=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,g=e.dragging,C=e.onOffsetChange,E=(0,m.Z)(e,x),w=s.useContext(b),k=w.min,O=w.max,M=w.direction,S=w.disabled,N=w.range,P=w.tabIndex,j=w.ariaLabelForHandle,R=w.ariaLabelledByForHandle,I=w.ariaValueTextFormatterForHandle,A="".concat(c,"-handle"),T=function(e){S||f(e,l)},F=y(M,u,k,O),L=s.createElement("div",(0,o.Z)({ref:t,className:i()(A,(n={},(0,a.Z)(n,"".concat(A,"-").concat(l+1),N),(0,a.Z)(n,"".concat(A,"-dragging"),g),n)),style:(0,p.Z)((0,p.Z)({},F),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:Z(P,l),role:"slider","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":u,"aria-disabled":S,"aria-label":Z(j,l),"aria-labelledby":Z(R,l),"aria-valuetext":null===(r=Z(I,l))||void 0===r?void 0:r(u)},E));return v&&(L=v(L,{index:l,prefixCls:c,value:u,dragging:g})),L})),E=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"];var w=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,E),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(C,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:l===t,prefixCls:n,style:Z(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 O(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(b),l=u.direction,f=u.min,d=u.max,v=u.disabled,m=u.range,h="".concat(t,"-track"),y=g(r,f,d),Z=g(a,f,d),x=function(e){!v&&c&&c(e,-1)},C={};switch(l){case"rtl":C.right="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%");break;case"btt":C.bottom="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;case"ttb":C.top="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;default:C.left="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%")}return s.createElement("div",{className:i()(h,m&&"".concat(h,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},C),n),onMouseDown:x,onTouchStart:x})}function M(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(b),u=c.included,i=c.range,l=c.min,f=s.useMemo((function(){if(!i){if(0===r.length)return[];var e=null!==a&&void 0!==a?a:l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&z}),[z,ve]),pe=s.useMemo((function(){return Object.keys(ee||{}).map((function(e){var t=ee[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}))}),[ee]),he=function(e,t,n,r,a,o){var c=s.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),Math.max(e,r)}),[e,t]),u=s.useCallback((function(r){if(null!==n){var a=e+Math.round((c(r)-e)/n)*n,o=function(e){return(String(e).split(".")[1]||"").length},u=Math.max(o(n),o(t),o(e)),i=Number(a.toFixed(u));return e<=i&&i<=t?i:null}return null}),[n,e,t,c]),i=s.useCallback((function(a){var o=c(a),i=r.map((function(e){return e.value}));null!==n&&i.push(u(a)),i.push(e,t);var l=i[0],s=t-e;return i.forEach((function(e){var t=Math.abs(o-e);t<=s&&(l=e,s=t)})),l}),[e,t,r,n,c,u]),f=function a(o,c,i){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"===typeof c){var f,d=o[i],v=d+c,m=[];r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(u(d));var p=c>0?1:-1;"unit"===s?m.push(u(d+p*n)):m.push(u(v)),m=m.filter((function(e){return null!==e})).filter((function(e){return c<0?e<=d:e>=d})),"unit"===s&&(m=m.filter((function(e){return e!==d})));var h="unit"===s?d:v;f=m[0];var b=Math.abs(f-h);if(m.forEach((function(e){var t=Math.abs(e-h);t1){var g=(0,l.Z)(o);return g[i]=f,a(g,c-p,i,s)}return f}return"min"===c?e:"max"===c?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=f(e,t,n,r);return{value:o,changed:o!==a}},v=function(e){return null===o&&0===e||"number"===typeof o&&e3&&void 0!==arguments[3]?arguments[3]:"unit",c=e.map(i),u=c[n],l=f(c,t,n,r);if(c[n]=l,!1===a){var s=o||0;n>0&&c[n-1]!==u&&(c[n]=Math.max(c[n],c[n-1]+s)),n0;b-=1)for(var g=!0;v(c[b]-c[b-1])&&g;){var y=d(c,-1,b-1);c[b-1]=y.value,g=y.changed}for(var Z=c.length-1;Z>0;Z-=1)for(var x=!0;v(c[Z]-c[Z-1])&&x;){var C=d(c,-1,Z-1);c[Z-1]=C.value,x=C.changed}for(var E=0;E=0?T+1:2;for(n=n.slice(0,r);n.length=0&&ie.current.focus(e)}Re(null)}),[je]);var Ie=s.useMemo((function(){return(!G||null!==ve)&&G}),[G,ve]),Ae=function(e,t,n,r,a,o,u,i,f){var d=s.useState(null),v=(0,c.Z)(d,2),m=v[0],p=v[1],h=s.useState(-1),b=(0,c.Z)(h,2),g=b[0],y=b[1],Z=s.useState(n),x=(0,c.Z)(Z,2),C=x[0],E=x[1],w=s.useState(n),O=(0,c.Z)(w,2),M=O[0],S=O[1],N=s.useRef(null),P=s.useRef(null);s.useEffect((function(){-1===g&&E(n)}),[n,g]),s.useEffect((function(){return function(){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",P.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",P.current)}}),[]);var j=function(e,t){C.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&p(t),E(e),u(e))},R=function(e,t){if(-1===e){var n=M[0],c=M[M.length-1],u=r-n,i=a-c,s=t*(a-r);s=Math.max(s,u),s=Math.min(s,i);var d=o(n+s);s=d-n;var v=M.map((function(e){return e+s}));j(v)}else{var m=(a-r)*t,p=(0,l.Z)(C);p[e]=M[e];var h=f(p,m,e,"dist");j(h.values,h.value)}},I=s.useRef(R);I.current=R;var A=s.useMemo((function(){var e=(0,l.Z)(n).sort((function(e,t){return e-t})),t=(0,l.Z)(C).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?C:n}),[n,C]);return[g,m,A,function(r,a){r.stopPropagation();var o=n[a];y(a),p(o),S(n);var c=k(r),u=c.pageX,l=c.pageY,s=function(n){n.preventDefault();var r,o=k(n),c=o.pageX,i=o.pageY,s=c-u,f=i-l,d=e.current.getBoundingClientRect(),v=d.width,m=d.height;switch(t){case"btt":r=-f/m;break;case"ttb":r=f/m;break;case"rtl":r=-s/v;break;default:r=s/v}I.current(a,r)},f=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",s),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",s),N.current=null,P.current=null,y(-1),i()};document.addEventListener("mouseup",f),document.addEventListener("mousemove",s),document.addEventListener("touchend",f),document.addEventListener("touchmove",s),N.current=s,P.current=f}]}(le,se,we,fe,de,ge,Me,(function(){null===H||void 0===H||H(Oe(ke.current))}),ye),Te=(0,c.Z)(Ae,4),Fe=Te[0],Le=Te[1],He=Te[2],De=Te[3],_e=function(e,t){De(e,t),null===L||void 0===L||L(Oe(ke.current))},Be=-1!==Fe;s.useEffect((function(){if(!Be){var e=we.lastIndexOf(Le);ie.current.focus(e)}}),[Be]);var ze=s.useMemo((function(){return(0,l.Z)(He).sort((function(e,t){return e-t}))}),[He]),Ge=s.useMemo((function(){return A?[ze[0],ze[ze.length-1]]:[fe,ze[0]]}),[ze,A,fe]),Ve=(0,c.Z)(Ge,2),We=Ve[0],Xe=Ve[1];s.useImperativeHandle(t,(function(){return{focus:function(){ie.current.focus(0)},blur:function(){var e=document.activeElement;le.current.contains(e)&&(null===e||void 0===e||e.blur())}}})),s.useEffect((function(){g&&ie.current.focus(0)}),[]);var Ye=s.useMemo((function(){return{min:fe,max:de,direction:se,disabled:h,step:ve,included:Y,includedStart:We,includedEnd:Xe,range:A,tabIndex:ae,ariaLabelForHandle:oe,ariaLabelledByForHandle:ce,ariaValueTextFormatterForHandle:ue}}),[fe,de,se,h,ve,Y,We,Xe,A,ae,oe,ce,ue]);return s.createElement(b.Provider,{value:Ye},s.createElement("div",{ref:le,className:i()(u,f,(n={},(0,a.Z)(n,"".concat(u,"-disabled"),h),(0,a.Z)(n,"".concat(u,"-vertical"),W),(0,a.Z)(n,"".concat(u,"-horizontal"),!W),(0,a.Z)(n,"".concat(u,"-with-marks"),pe.length),n)),style:m,onMouseDown:function(e){e.preventDefault();var t,n=le.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(se){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}Se(ge(fe+t*(de-fe)))}},s.createElement("div",{className:"".concat(u,"-rail"),style:Q}),s.createElement(M,{prefixCls:u,style:K,values:ze,startPoint:$,onStartMove:Ie?_e:null}),s.createElement(j,{prefixCls:u,marks:pe,dots:te,style:q,activeStyle:J}),s.createElement(w,{ref:ie,prefixCls:u,style:U,values:He,draggingIndex:Fe,onStartMove:_e,onOffsetChange:function(e,t){if(!h){var n=ye(we,e,t);null===L||void 0===L||L(Oe(we)),Me(n.values),null===H||void 0===H||H(Oe(n.values)),Re(n.value)}},onFocus:y,onBlur:Z,handleRender:ne}),s.createElement(N,{prefixCls:u,marks:pe,onClick:Se})))}));var I=R,A=n(53124),T=n(75164),F=n(42550),L=n(94199),H=s.forwardRef((function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){T.Z.cancel(a.current),a.current=null}return s.useEffect((function(){return n?a.current=(0,T.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null})):c(),c}),[n,e.title]),s.createElement(L.Z,(0,o.Z)({ref:(0,F.sQ)(r,t)},e))})),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=t||n<0||h&&e-m>=s}function x(){var e=a();if(Z(e))return C(e);d=setTimeout(x,function(e){var n=t-(e-v);return h?u(n,s-(e-m)):n}(e))}function C(e){return d=void 0,b&&i?g(e):(i=l=void 0,f)}function E(){var e=a(),n=Z(e);if(i=arguments,l=this,v=e,n){if(void 0===d)return y(v);if(h)return clearTimeout(d),d=setTimeout(x,t),g(v)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(p=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,b="trailing"in n?!!n.trailing:b),E.cancel=function(){void 0!==d&&clearTimeout(d),m=0,i=v=l=d=void 0},E.flush=function(){return void 0===d?f:C(a())},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=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;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=u.test(e);return n||i.test(e)?l(e.slice(2),n?2:8):c.test(e)?NaN:+e}},20943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne)return i.domBoundsAround(t,e,h);if(c>=t&&-1==s&&(s=l,o=h),h>e&&i.dom.parentNode==this.dom){n=l,r=a;break}a=c,h=c+i.breakAfter}return{from:o,to:r<0?i+this.length:r,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:n=0?this.children[n].dom:null}}markDirty(t=!1){this.dirty|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let e=this.parent;e;e=e.parent){if(t&&(e.dirty|=2),1&e.dirty)return;e.dirty|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.dirty&&this.markParentsDirty(!0))}setDOM(t){this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this}get rootView(){for(let t=this;;){let e=t.parent;if(!e)return t;t=e}}replaceChildren(t,e,i=C){this.markDirty();for(let s=t;sthis.pos||t==this.pos&&(e>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function O(t,e,i,s,o,n,r,l,h){let{children:a}=t,c=a.length?a[e]:null,d=n.length?n[n.length-1]:null,u=d?d.breakAfter:r;if(!(e==s&&c&&!r&&!u&&n.length<2&&c.merge(i,o,n.length?d:null,0==i,l,h))){if(s0&&(!r&&n.length&&c.merge(i,c.length,n[0],!1,l,0)?c.breakAfter=n.shift().breakAfter:(i2);var q={mac:I||/Mac/.test(R.platform),windows:/Win/.test(R.platform),linux:/Linux|X11/.test(R.platform),ie:N,ie_version:V?B.documentMode||6:H?+H[1]:L?+L[1]:0,gecko:P,gecko_version:P?+(/Firefox\/(\d+)/.exec(R.userAgent)||[0,0])[1]:0,chrome:!!W,chrome_version:W?+W[1]:0,ios:I,android:/Android\b/.test(R.userAgent),webkit:z,safari:F,webkit_version:z?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=B.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};class j extends A{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){3==t.nodeType&&this.createDOM(t)}merge(t,e,i){return(!i||i instanceof j&&!(this.length-(e-t)+i.length>256))&&(this.text=this.text.slice(0,t)+(i?i.text:"")+this.text.slice(e),this.markDirty(),!0)}split(t){let e=new j(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),e}localPosFromDOM(t,e){return t==this.dom?e:e?this.text.length:0}domAtPos(t){return new k(this.dom,t)}domBoundsAround(t,e,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,e){return $(this.dom,t,e)}}class K extends A{constructor(t,e=[],i=0){super(),this.mark=t,this.children=e,this.length=i;for(let s of e)s.setParent(this)}setAttrs(t){if(M(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let e in this.mark.attrs)t.setAttribute(e,this.mark.attrs[e]);return t}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.dirty|=6)}sync(t){this.dom?4&this.dirty&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t)}merge(t,e,i,s,o,n){return(!i||!(!(i instanceof K&&i.mark.eq(this.mark))||t&&o<=0||et&&e.push(i=t&&(s=o),i=n,o++}let n=this.length-t;return this.length=t,s>-1&&(this.children.length=s,this.markDirty()),new K(this.mark,e,n)}domAtPos(t){return Q(this,t)}coordsAt(t,e){return J(this,t,e)}}function $(t,e,i){let s=t.nodeValue.length;e>s&&(e=s);let o=e,n=e,r=0;0==e&&i<0||e==s&&i>=0?q.chrome||q.gecko||(e?(o--,r=1):n=0)?0:l.length-1];return q.safari&&!r&&0==h.width&&(h=Array.prototype.find.call(l,(t=>t.width))||h),r?m(h,r<0):h||null}class G extends A{constructor(t,e,i){super(),this.widget=t,this.length=e,this.side=i,this.prevWidget=null}static create(t,e,i){return new(t.customView||G)(t,e,i)}split(t){let e=G.create(this.widget,this.length-t,this.side);return this.length-=t,e}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(t,e,i,s,o,n){return!(i&&(!(i instanceof G&&this.widget.compare(i.widget))||t>0&&o<=0||e0?i.length-1:0;s=i[o],!(t>0?0==o:o==i.length-1||s.top0?-1:1);return m(s,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class X extends G{domAtPos(t){let{topView:e,text:i}=this.widget;return e?_(t,0,e,i,((t,e)=>t.domAtPos(e)),(t=>new k(i,Math.min(t,i.nodeValue.length)))):new k(i,Math.min(t,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(t,e){let{topView:i,text:s}=this.widget;return i?U(t,e,i,s):Math.min(e,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(t,e){let{topView:i,text:s}=this.widget;return i?_(t,e,i,s,((t,e,i)=>t.coordsAt(e,i)),((t,e)=>$(s,t,e))):$(s,t,e)}destroy(){var t;super.destroy(),null===(t=this.widget.topView)||void 0===t||t.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function _(t,e,i,s,o,n){if(i instanceof K){for(let r=i.dom.firstChild;r;r=r.nextSibling){let i=A.get(r);if(!i)return n(t,e);let h=l(r,s),a=i.length+(h?s.nodeValue.length:0);if(t=0;)if(e<0?s>0:s0?-1:1);return i&&i.tope.top?{left:e.left,right:e.right,top:i.top,bottom:i.bottom}:e}get overrideDOMText(){return s.xv.empty}}function Q(t,e){let i=t.dom,{children:s}=t,o=0;for(let n=0;on&&e0;n--){let t=s[n-1];if(t.dom.parentNode==i)return t.domAtPos(t.length)}for(let n=o;n0&&e instanceof K&&o.length&&(s=o[o.length-1])instanceof K&&s.mark.eq(e.mark)?Z(s,e.children[0],i-1):(o.push(e),e.setParent(t)),t.length+=e.length}function J(t,e,i){return t.children.length?(i<=0?tt:et)(t,e):function(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=a(e);return i[i.length-1]||null}(t)}function tt(t,e){let i=null,s=-1;return function t(e,o){for(let n=0,r=0;n=o)if(l.children.length){if(t(l,o-r))return!0}else if(h>=o){if(h==o&&l.getSide()>0)return!0;i=l,s=o-r}r=h}}(t,e),i?i.coordsAt(Math.max(0,s),-1):et(t,e)}function et(t,e){let i=null,s=-1;return function t(e,o){for(let n=e.children.length-1,r=e.length;n>=0&&r>=o;n--){let l=e.children[n];if(r-=l.length,r<=o)if(l.children.length){if(t(l,o-r))return!0}else if(r<=o){if(r==o&&l.getSide()<0)return!0;i=l,s=o-r}}}(t,e),i?i.coordsAt(Math.max(0,s),1):tt(t,e)}function it(t,e){for(let i in t)"class"==i&&e.class?e.class+=" "+t.class:"style"==i&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}function st(t,e){if(t==e)return!0;if(!t||!e)return!1;let i=Object.keys(t),s=Object.keys(e);if(i.length!=s.length)return!1;for(let o of i)if(-1==s.indexOf(o)||t[o]!==e[o])return!1;return!0}function ot(t,e,i){let s=null;if(e)for(let o in e)i&&o in i||t.removeAttribute(s=o);if(i)for(let o in i)e&&e[o]==i[o]||t.setAttribute(s=o,i[o]);return!!s}j.prototype.children=G.prototype.children=Y.prototype.children=C;class nt{eq(t){return!1}updateDOM(t){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}ignoreEvent(t){return!0}get customView(){return null}destroy(t){}}var rt=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(rt||(rt={}));class lt extends s.uU{constructor(t,e,i,s){super(),this.startSide=t,this.endSide=e,this.widget=i,this.spec=s}get heightRelevant(){return!1}static mark(t){return new ht(t)}static widget(t){let e=t.side||0,i=!!t.block;return e+=i?e>0?3e8:-4e8:e>0?1e8:-1e8,new ct(t,e,e,i,t.widget||null,!1)}static replace(t){let e,i,s=!!t.block;if(t.isBlockGap)e=-5e8,i=4e8;else{let{start:o,end:n}=dt(t,s);e=(o?s?-3e8:-1:5e8)-1,i=1+(n?s?2e8:1:-6e8)}return new ct(t,e,i,s,t.widget||null,!0)}static line(t){return new at(t)}static set(t,e=!1){return s.Xs.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}lt.none=s.Xs.empty;class ht extends lt{constructor(t){let{start:e,end:i}=dt(t);super(e?-1:5e8,i?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){return this==t||t instanceof ht&&this.tagName==t.tagName&&this.class==t.class&&st(this.attrs,t.attrs)}range(t,e=t){if(t>=e)throw new RangeError("Mark decorations may not be empty");return super.range(t,e)}}ht.prototype.point=!1;class at extends lt{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof at&&st(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}at.prototype.mapMode=s.gc.TrackBefore,at.prototype.point=!0;class ct extends lt{constructor(t,e,i,o,n,r){super(e,i,n,t),this.block=o,this.isReplace=r,this.mapMode=o?e<=0?s.gc.TrackBefore:s.gc.TrackAfter:s.gc.TrackDel}get type(){return this.startSide=5}eq(t){return t instanceof ct&&(e=this.widget,i=t.widget,e==i||!!(e&&i&&e.compare(i)))&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide;var e,i}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function dt(t,e=!1){let{inclusiveStart:i,inclusiveEnd:s}=t;return null==i&&(i=t.inclusive),null==s&&(s=t.inclusive),{start:null!==i&&void 0!==i?i:e,end:null!==s&&void 0!==s?s:e}}function ut(t,e,i,s=0){let o=i.length-1;o>=0&&i[o]+s>=t?i[o]=Math.max(i[o],e):i.push(t,e)}ct.prototype.point=!0;class ft extends A{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,i,s,o,n){if(i){if(!(i instanceof ft))return!1;this.dom||i.transferDOM(this)}return s&&this.setDeco(i?i.attrs:null),E(this,t,e,i?i.children:[],o,n),!0}split(t){let e=new ft;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i:i,off:s}=this.childPos(t);s&&(e.append(this.children[i].split(s),0),this.children[i].merge(s,this.children[i].length,null,!1,0,0),i++);for(let o=i;o0&&0==this.children[i-1].length;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=t,e}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){st(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,e){Z(this,t,e)}addLineDeco(t){let e=t.spec.attributes,i=t.spec.class;e&&(this.attrs=it(e,this.attrs||{})),i&&(this.attrs=it({class:i},this.attrs||{}))}domAtPos(t){return Q(this,t)}reuseDOM(t){"DIV"==t.nodeName&&(this.setDOM(t),this.dirty|=6)}sync(t){var e;this.dom?4&this.dirty&&(M(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(ot(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t);let i=this.dom.lastChild;for(;i&&A.get(i)instanceof K;)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&0==(null===(e=A.get(i))||void 0===e?void 0:e.isEditable)&&(!q.ios||!this.children.some((t=>t instanceof j)))){let t=document.createElement("BR");t.cmIgnore=!0,this.dom.appendChild(t)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let t=0;for(let e of this.children){if(!(e instanceof j)||/[^ -~]/.test(e.text))return null;let i=a(e.dom);if(1!=i.length)return null;t+=i[0].width}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length}:null}coordsAt(t,e){return J(this,t,e)}become(t){return!1}get type(){return rt.Text}static find(t,e){for(let i=0,s=0;i=e){if(o instanceof ft)return o;if(n>e)break}s=n+o.breakAfter}return null}}class pt extends A{constructor(t,e,i){super(),this.widget=t,this.length=e,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(t,e,i,s,o,n){return!(i&&(!(i instanceof pt&&this.widget.compare(i.widget))||t>0&&o<=0||e0;){if(this.textOff==this.text.length){let{value:e,lineBreak:i,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(i){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,t--;continue}this.text=e,this.textOff=0}let s=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(e.slice(0,i)),this.getLine().append(gt(new j(this.text.slice(this.textOff,this.textOff+s)),e),i),this.atCursorPos=!0,this.textOff+=s,t-=s,i=0}}span(t,e,i,s){this.buildText(e-t,i,s),this.pos=e,this.openStart<0&&(this.openStart=s)}point(t,e,i,s,o,n){if(this.disallowBlockEffectsFor[n]&&i instanceof ct){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(e>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let r=e-t;if(i instanceof ct)if(i.block){let{type:t}=i;t!=rt.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new pt(i.widget||new vt("div"),r,t))}else{let n=G.create(i.widget||new vt("span"),r,r?0:i.startSide),l=this.atCursorPos&&!n.isEditable&&o<=s.length&&(t0),h=!n.isEditable&&(tt.some((t=>t))});class Ct{constructor(t,e="nearest",i="nearest",s=5,o=5){this.range=t,this.y=e,this.x=i,this.yMargin=s,this.xMargin=o}map(t){return t.empty?this:new Ct(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}const At=s.Py.define({map:(t,e)=>t.map(e)});function Dt(t,e,i){let s=t.facet(xt);s.length?s[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const Tt=s.r$.define({combine:t=>!t.length||t[0]});let Ot=0;const Et=s.r$.define();class Rt{constructor(t,e,i,s){this.id=t,this.create=e,this.domEventHandlers=i,this.extension=s(this)}static define(t,e){const{eventHandlers:i,provide:s,decorations:o}=e||{};return new Rt(Ot++,t,i,(t=>{let e=[Et.of(t)];return o&&e.push(Ht.of((e=>{let i=e.plugin(t);return i?o(i):lt.none}))),s&&e.push(s(t)),e}))}static fromClass(t,e){return Rt.define((e=>new t(e)),e)}}class Bt{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(e){if(Dt(t.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(i){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(e){Dt(t.state,e,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy)try{this.value.destroy()}catch(i){Dt(t.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Lt=s.r$.define(),Vt=s.r$.define(),Ht=s.r$.define(),Nt=s.r$.define(),Pt=s.r$.define(),Wt=s.r$.define();class zt{constructor(t,e,i,s){this.fromA=t,this.toA=e,this.fromB=i,this.toB=s}join(t){return new zt(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;e>0;e--){let s=t[e-1];if(!(s.fromA>i.toA)){if(s.toAa)break;o+=2}if(!l)return i;new zt(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),n=l.toA,r=l.toB}}}class Ft{constructor(t,e,i){this.view=t,this.state=e,this.transactions=i,this.flags=0,this.startState=t.state,this.changes=s.as.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let o=[];this.changes.iterChangedRanges(((t,e,i,s)=>o.push(new zt(t,e,i,s)))),this.changedRanges=o;let n=t.hasFocus;n!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=n,this.flags|=1)}static create(t,e,i){return new Ft(t,e,i)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((t=>t.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}var It=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(It||(It={}));const qt=It.LTR,jt=It.RTL;function Kt(t){let e=[];for(let i=0;i=e){if(r.level==i)return n;(o<0||(0!=s?s<0?r.frome:t[o].level>r.level))&&(o=n)}}if(o<0)throw new RangeError("Index out of range");return o}}const Qt=[];function Zt(t,e){let i=t.length,s=e==qt?1:2,o=e==qt?2:1;if(!t||1==s&&!Ut.test(t))return Jt(i);for(let l=0,h=s,a=s;l=0;t-=3)if(_t[t+1]==-h){let e=_t[t+2],i=2&e?s:4&e?1&e?o:s:0;i&&(Qt[c]=Qt[_t[t]]=i),d=t;break}}else{if(189==_t.length)break;_t[d++]=c,_t[d++]=l,_t[d++]=u}else if(2==(a=Qt[c])||1==a){let t=a==s;u=t?0:1;for(let e=d-3;e>=0;e-=3){let i=_t[e+2];if(2&i)break;if(t)_t[e+2]|=2;else{if(4&i)break;_t[e+2]|=4}}}for(let l=0;lt;){let e=i,s=2!=Qt[--i];for(;i>t&&s==(2!=Qt[i-1]);)i--;r.push(new Yt(i,e,s?2:1))}else r.push(new Yt(t,l,0))}else for(let l=0;l1)for(let e of this.points)e.node==t&&e.pos>this.text.length&&(e.pos-=r-1);i=n+r}}readNode(t){if(t.cmIgnore)return;let e=A.get(t),i=e&&e.overrideDOMText;if(null!=i){this.findPointInside(t,i.length);for(let t=i.iter();!t.next().done;)t.lineBreak?this.lineBreak():this.append(t.value)}else 3==t.nodeType?this.readTextNode(t):"BR"==t.nodeName?t.nextSibling&&this.lineBreak():1==t.nodeType&&this.readRange(t.firstChild,null)}findPointBefore(t,e){for(let i of this.points)i.node==t&&t.childNodes[i.offset]==e&&(i.pos=this.text.length)}findPointInside(t,e){for(let i of this.points)(3==t.nodeType?i.node==t:t.contains(i.node))&&(i.pos=this.text.length+Math.min(e,i.offset))}}function oe(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class ne{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class re extends A{constructor(t){super(),this.view=t,this.compositionDeco=lt.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new ft],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new zt(0,0,0,t.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(t){let e=t.changedRanges;this.minWidth>0&&e.length&&(e.every((({fromA:t,toA:e})=>ethis.minWidthTo))?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=lt.none:(t.transactions.length||this.dirty)&&(this.compositionDeco=function(t,e){let i=he(t);if(!i)return lt.none;let{from:s,to:o,node:n,text:r}=i,l=e.mapPos(s,1),h=Math.max(l,e.mapPos(o,-1)),{state:a}=t,c=3==n.nodeType?n.nodeValue:new se([],a).readRange(n.firstChild,null).text;if(h-l{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let t=q.chrome||q.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(t),this.dirty=0,t&&(t.written||i.selectionRange.focusNode!=t.node)&&(this.forceSelection=!0),this.dom.style.height=""}));let s=[];if(this.view.viewport.from||this.view.viewport.to=0?t[s]:null;if(!e)break;let{fromA:o,toA:n,fromB:r,toB:l}=e,{content:h,breakAtStart:a,openStart:c,openEnd:d}=mt.build(this.view.state.doc,r,l,this.decorations,this.dynamicDecorationMap),{i:u,off:f}=i.findPos(n,1),{i:p,off:m}=i.findPos(o,-1);O(this,p,m,u,f,h,a,c,d)}}updateSelection(t=!1,e=!1){if(!t&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange(),!e&&!this.mayControlSelection())return;let i=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,o=this.domAtPos(s.anchor),n=s.empty?o:this.domAtPos(s.head);if(q.gecko&&s.empty&&(1==(l=o).node.nodeType&&l.node.firstChild&&(0==l.offset||"false"==l.node.childNodes[l.offset-1].contentEditable)&&(l.offset==l.node.childNodes.length||"false"==l.node.childNodes[l.offset].contentEditable))){let t=document.createTextNode("");this.view.observer.ignore((()=>o.node.insertBefore(t,o.node.childNodes[o.offset]||null))),o=n=new k(t,0),i=!0}var l;let h=this.view.observer.selectionRange;!i&&h.focusNode&&c(o.node,o.offset,h.anchorNode,h.anchorOffset)&&c(n.node,n.offset,h.focusNode,h.focusOffset)||(this.view.observer.ignore((()=>{q.android&&q.chrome&&this.dom.contains(h.focusNode)&&function(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(1==i.nodeType&&"false"==i.contentEditable)return!0;return!1}(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let t=r(this.view.root);if(t)if(s.empty){if(q.gecko){let t=(e=o.node,i=o.offset,1!=e.nodeType?0:(i&&"false"==e.childNodes[i-1].contentEditable?1:0)|(is.head&&([o,n]=[n,o]),e.setEnd(n.node,n.offset),e.setStart(o.node,o.offset),t.removeAllRanges(),t.addRange(e)}else;var e,i})),this.view.observer.setSelectionRange(o,n)),this.impreciseAnchor=o.precise?null:new k(h.anchorNode,h.anchorOffset),this.impreciseHead=n.precise?null:new k(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let t=this.view.state.selection.main,e=r(this.view.root);if(!e||!t.empty||!t.assoc||!e.modify)return;let i=ft.find(this,t.head);if(!i)return;let s=i.posAtStart;if(t.head==s||t.head==s+i.length)return;let o=this.coordsAt(t.head,-1),n=this.coordsAt(t.head,1);if(!o||!n||o.bottom>n.top)return;let l=this.domAtPos(t.head+t.assoc);e.collapse(l.node,l.offset),e.modify("move",t.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){let t=this.view.root.activeElement;return t==this.dom||h(this.dom,this.view.observer.selectionRange)&&!(t&&this.dom.contains(t))}nearest(t){for(let e=t;e;){let t=A.get(e);if(t&&t.rootView==this)return t;e=e.parentNode}return null}posFromDOM(t,e){let i=this.nearest(t);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(t,e)+i.posAtStart}domAtPos(t){let{i:e,off:i}=this.childCursor().findPos(t,-1);for(;en||t==n&&o.type!=rt.WidgetBefore&&o.type!=rt.WidgetAfter&&(!s||2==e||this.children[s-1].breakAfter||this.children[s-1].type==rt.WidgetBefore&&e>-2))return o.coordsAt(t-n,e);i=n}}measureVisibleLineHeights(t){let e=[],{from:i,to:s}=t,o=this.view.contentDOM.clientWidth,n=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,r=-1,l=this.view.textDirection==It.LTR;for(let h=0,c=0;cs)break;if(h>=i){let i=t.dom.getBoundingClientRect();if(e.push(i.height),n){let e=t.dom.lastChild,s=e?a(e):[];if(s.length){let t=s[s.length-1],e=l?t.right-i.left:i.right-t.left;e>r&&(r=e,this.minWidth=o,this.minWidthFrom=h,this.minWidthTo=d)}}}h=d+t.breakAfter}return e}textDirectionAt(t){let{i:e}=this.childPos(t,1);return"rtl"==getComputedStyle(this.children[e].dom).direction?It.RTL:It.LTR}measureTextSize(){for(let s of this.children)if(s instanceof ft){let t=s.measureTextSize();if(t)return t}let t,e,i=document.createElement("div");return i.className="cm-line",i.style.width="99999px",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(i);let s=a(i.firstChild)[0];t=i.getBoundingClientRect().height,e=s?s.width/27:7,i.remove()})),{lineHeight:t,charWidth:e}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new T(this.children,t,e)}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,s=0;;s++){let o=s==e.viewports.length?null:e.viewports[s],n=o?o.from-1:this.length;if(n>i){let s=e.lineBlockAt(n).bottom-e.lineBlockAt(i).top;t.push(lt.replace({widget:new le(s),block:!0,inclusive:!0,isBlockGap:!0}).range(i,n))}if(!o)break;i=o.to+1}return lt.set(t)}updateDeco(){let t=this.view.state.facet(Ht).map(((t,e)=>(this.dynamicDecorationMap[e]="function"==typeof t)?t(this.view):t));for(let e=t.length;ei.anchor?-1:1);if(!s)return;!i.empty&&(e=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(s={left:Math.min(s.left,e.left),top:Math.min(s.top,e.top),right:Math.max(s.right,e.right),bottom:Math.max(s.bottom,e.bottom)});let o=0,n=0,r=0,l=0;for(let a of this.view.state.facet(Pt).map((t=>t(this.view))))if(a){let{left:t,right:e,top:i,bottom:s}=a;null!=t&&(o=Math.max(o,t)),null!=e&&(n=Math.max(n,e)),null!=i&&(r=Math.max(r,i)),null!=s&&(l=Math.max(l,s))}let h={left:s.left-o,top:s.top-r,right:s.right+n,bottom:s.bottom+l};!function(t,e,i,s,o,n,r,l){let h=t.ownerDocument,a=h.defaultView||window;for(let c=t;c;)if(1==c.nodeType){let t,d=c==h.body;if(d)t=g(a);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let e=c.getBoundingClientRect();t={left:e.left,right:e.left+c.clientWidth,top:e.top,bottom:e.top+c.clientHeight}}let u=0,f=0;if("nearest"==o)e.top0&&e.bottom>t.bottom+f&&(f=e.bottom-t.bottom+f+r)):e.bottom>t.bottom&&(f=e.bottom-t.bottom+r,i<0&&e.top-f0&&e.right>t.right+u&&(u=e.right-t.right+u+n)):e.right>t.right&&(u=e.right-t.right+n,i<0&&e.left0&&i<=0)e=f(t=t.childNodes[e-1]);else{if(!(1==t.nodeType&&e=0))return null;t=t.childNodes[e],e=0}}}class de{constructor(){this.changes=[]}compareRange(t,e){ut(t,e,this.changes)}comparePoint(t,e){ut(t,e,this.changes)}}function ue(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function fe(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function pe(t,e){return t.tope.top+1}function me(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function ve(t,e,i){let s,o,n,r,l,h,c,d,u=!1;for(let p=t.firstChild;p;p=p.nextSibling){let t=a(p);for(let a=0;ag||r==g&&n>m)&&(s=p,o=f,n=m,r=g,u=!m||(m>0?a0)),0==m?i>f.bottom&&(!c||c.bottomf.top)&&(h=p,d=f):c&&pe(c,f)?c=ge(c,f.bottom):d&&pe(d,f)&&(d=me(d,f.top))}}if(c&&c.bottom>=i?(s=l,o=c):d&&d.top<=i&&(s=h,o=d),!s)return{node:t,offset:0};let f=Math.max(o.left,Math.min(o.right,e));return 3==s.nodeType?we(s,f,i):u&&"false"!=s.contentEditable?ve(s,f,i):{node:t,offset:Array.prototype.indexOf.call(t.childNodes,s)+(e>=(o.left+o.right)/2?1:0)}}function we(t,e,i){let s=t.nodeValue.length,o=-1,n=1e9,r=0;for(let l=0;li?a.top-i:i-a.bottom)-1;if(a.left-1<=e&&a.right+1>=e&&c=(a.left+a.right)/2,s=i;if(q.chrome||q.gecko){x(t,l).getBoundingClientRect().left==a.right&&(s=!i)}if(c<=0)return{node:t,offset:l+(s?1:0)};o=l+(s?1:0),n=c}}}return{node:t,offset:o>-1?o:r>0?t.nodeValue.length:0}}function be(t,{x:e,y:i},s,o=-1){var n;let r,l=t.contentDOM.getBoundingClientRect(),h=l.top+t.viewState.paddingTop,{docHeight:a}=t.viewState,c=i-h;if(c<0)return 0;if(c>a)return t.state.doc.length;for(let v=t.defaultLineHeight/2,w=!1;r=t.elementAtHeight(c),r.type!=rt.Text;)for(;c=o>0?r.bottom+v:r.top-v,!(c>=0&&c<=a);){if(w)return s?null:0;w=!0,o=-o}i=h+c;let d=r.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:s?null:ye(t,l,r,e,i);let u=t.dom.ownerDocument,f=t.root.elementFromPoint?t.root:u,p=f.elementFromPoint(e,i);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(l.left+1,Math.min(l.right-1,e)),p=f.elementFromPoint(e,i),p&&!t.contentDOM.contains(p)&&(p=null));let m,g=-1;if(p&&0!=(null===(n=t.docView.nearest(p))||void 0===n?void 0:n.isEditable))if(u.caretPositionFromPoint){let t=u.caretPositionFromPoint(e,i);t&&({offsetNode:m,offset:g}=t)}else if(u.caretRangeFromPoint){let s=u.caretRangeFromPoint(e,i);s&&(({startContainer:m,startOffset:g}=s),(!t.contentDOM.contains(m)||q.safari&&function(t,e,i){let s;if(3!=t.nodeType||e!=(s=t.nodeValue.length))return!1;for(let o=t.nextSibling;o;o=o.nextSibling)if(1!=o.nodeType||"BR"!=o.nodeName)return!1;return x(t,s-1,s).getBoundingClientRect().left>i}(m,g,e)||q.chrome&&function(t,e,i){if(0!=e)return!1;for(let o=t;;){let t=o.parentNode;if(!t||1!=t.nodeType||t.firstChild!=o)return!1;if(t.classList.contains("cm-line"))break;o=t}let s=1==t.nodeType?t.getBoundingClientRect():x(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-s.left>5}(m,g,e))&&(m=void 0))}if(!m||!t.docView.dom.contains(m)){let s=ft.find(t.docView,d);if(!s)return c>r.top+r.height/2?r.to:r.from;({node:m,offset:g}=ve(s.dom,e,i))}return t.docView.posFromDOM(m,g)}function ye(t,e,i,o,n){let r=Math.round((o-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>1.5*t.defaultLineHeight){r+=Math.floor((n-i.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength}let l=t.state.sliceDoc(i.from,i.to);return i.from+(0,s.Gz)(l,r,t.state.tabSize)}function xe(t,e,i,o){let n=t.state.doc.lineAt(e.head),r=t.bidiSpans(n),l=t.textDirectionAt(n.from);for(let h=e,a=null;;){let e=ee(n,r,l,h,i),c=te;if(!e){if(n.number==(i?t.state.doc.lines:1))return h;c="\n",n=t.state.doc.line(n.number+(i?1:-1)),r=t.bidiSpans(n),e=s.jT.cursor(i?n.from:n.to)}if(a){if(!a(c))return h}else{if(!o)return e;a=o(c)}h=e}}function Se(t,e,i){let o=t.state.facet(Nt).map((e=>e(t)));for(;;){let t=!1;for(let n of o)n.between(i.from-1,i.from+1,((o,n,r)=>{i.from>o&&i.fromi.from?s.jT.cursor(o,1):s.jT.cursor(n,-1),t=!0)}));if(!t)return i}}class Me{constructor(t){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;for(let e in Oe){let i=Oe[e];t.contentDOM.addEventListener(e,(s=>{Te(t,s)&&!this.ignoreDuringComposition(s)&&("keydown"==e&&this.keydown(t,s)||(this.mustFlushObserver(s)&&t.observer.forceFlush(),this.runCustomHandlers(e,t,s)?s.preventDefault():i(t,s)))}),Ee[e]),this.registeredEvents.push(e)}q.chrome&&102==q.chrome_version&&t.scrollDOM.addEventListener("wheel",(()=>{this.chromeScrollHack<0?t.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout((()=>{this.chromeScrollHack=-1,t.contentDOM.style.pointerEvents=""}),100)}),{passive:!0}),this.notifiedFocused=t.hasFocus,q.safari&&t.contentDOM.addEventListener("input",(()=>null))}setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}ensureHandlers(t,e){var i;let s;this.customHandlers=[];for(let o of e)if(s=null===(i=o.update(t).spec)||void 0===i?void 0:i.domEventHandlers){this.customHandlers.push({plugin:o.value,handlers:s});for(let e in s)this.registeredEvents.indexOf(e)<0&&"scroll"!=e&&(this.registeredEvents.push(e),t.contentDOM.addEventListener(e,(i=>{Te(t,i)&&this.runCustomHandlers(e,t,i)&&i.preventDefault()})))}}runCustomHandlers(t,e,i){for(let o of this.customHandlers){let n=o.handlers[t];if(n)try{if(n.call(o.plugin,i,e)||i.defaultPrevented)return!0}catch(s){Dt(e.state,s)}}return!1}runScrollHandlers(t,e){this.lastScrollTop=t.scrollDOM.scrollTop,this.lastScrollLeft=t.scrollDOM.scrollLeft;for(let s of this.customHandlers){let o=s.handlers.scroll;if(o)try{o.call(s.plugin,e,t)}catch(i){Dt(t.state,i)}}}keydown(t,e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&Date.now()t.keyCode==e.keyCode)))&&!e.ctrlKey||Ce.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey))&&(this.pendingIOSKey=i||e,setTimeout((()=>this.flushIOSKey(t)),250),!0)}flushIOSKey(t){let e=this.pendingIOSKey;return!!e&&(this.pendingIOSKey=void 0,S(t.contentDOM,e.key,e.keyCode))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(this.composing>0||!!(q.safari&&!q.ios&&Date.now()-this.compositionEndedAt<100)&&(this.compositionEndedAt=0,!0))}mustFlushObserver(t){return"keydown"==t.type&&229!=t.keyCode}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.mouseSelection&&this.mouseSelection.update(t),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const ke=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Ce="dthko",Ae=[16,17,18,20,91,92,224,225];class De{constructor(t,e,i,o){this.view=t,this.style=i,this.mustSelect=o,this.lastEvent=e;let n=t.contentDOM.ownerDocument;n.addEventListener("mousemove",this.move=this.move.bind(this)),n.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=e.shiftKey,this.multiple=t.state.facet(s.yy.allowMultipleSelections)&&function(t,e){let i=t.state.facet(wt);return i.length?i[0](e):q.mac?e.metaKey:e.ctrlKey}(t,e),this.dragMove=function(t,e){let i=t.state.facet(bt);return i.length?i[0](e):q.mac?!e.altKey:!e.ctrlKey}(t,e),this.dragging=!(!function(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let s=r(t.root);if(!s||0==s.rangeCount)return!0;let o=s.getRangeAt(0).getClientRects();for(let n=0;n=e.clientX&&t.top<=e.clientY&&t.bottom>=e.clientY)return!0}return!1}(t,e)||1!=qe(e))&&null,!1===this.dragging&&(e.preventDefault(),this.select(e))}move(t){if(0==t.buttons)return this.destroy();!1===this.dragging&&this.select(this.lastEvent=t)}up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(t){let e=this.style.get(t,this.extend,this.multiple);!this.mustSelect&&e.eq(this.view.state.selection)&&e.main.assoc==this.view.state.selection.main.assoc||this.view.dispatch({selection:e,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(t){t.docChanged&&this.dragging&&(this.dragging=this.dragging.map(t.changes)),this.style.update(t)&&setTimeout((()=>this.select(this.lastEvent)),20)}}function Te(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i,s=e.target;s!=t.contentDOM;s=s.parentNode)if(!s||11==s.nodeType||(i=A.get(s))&&i.ignoreEvent(e))return!1;return!0}const Oe=Object.create(null),Ee=Object.create(null),Re=q.ie&&q.ie_version<15||q.ios&&q.webkit_version<604;function Be(t,e){let i,{state:o}=t,n=1,r=o.toText(e),l=r.lines==o.selection.ranges.length;if(null!=Ke&&o.selection.ranges.every((t=>t.empty))&&Ke==r.toString()){let t=-1;i=o.changeByRange((i=>{let h=o.doc.lineAt(i.from);if(h.from==t)return{range:i};t=h.from;let a=o.toText((l?r.line(n++).text:e)+o.lineBreak);return{changes:{from:h.from,insert:a},range:s.jT.cursor(i.from+a.length)}}))}else i=l?o.changeByRange((t=>{let e=r.line(n++);return{changes:{from:t.from,to:t.to,insert:e.text},range:s.jT.cursor(t.from+e.length)}})):o.replaceSelection(r);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}function Le(t,e,i,o){if(1==o)return s.jT.cursor(e,i);if(2==o)return function(t,e,i=1){let o=t.charCategorizer(e),n=t.doc.lineAt(e),r=e-n.from;if(0==n.length)return s.jT.cursor(e);0==r?i=1:r==n.length&&(i=-1);let l=r,h=r;i<0?l=(0,s.cp)(n.text,r,!1):h=(0,s.cp)(n.text,r);let a=o(n.text.slice(l,h));for(;l>0;){let t=(0,s.cp)(n.text,l,!1);if(o(n.text.slice(t,l))!=a)break;l=t}for(;h{t.inputState.setSelectionOrigin("select"),27==e.keyCode?t.inputState.lastEscPress=Date.now():Ae.indexOf(e.keyCode)<0&&(t.inputState.lastEscPress=0)},Oe.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},Oe.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},Ee.touchstart=Ee.touchmove={passive:!0},Oe.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return;let i=null;for(let s of t.state.facet(yt))if(i=s(t,e),i)break;if(i||0!=e.button||(i=function(t,e){let i=Pe(t,e),o=qe(e),n=t.state.selection,r=i,l=e;return{update(t){t.docChanged&&(i.pos=t.changes.mapPos(i.pos),n=n.map(t.changes),l=null)},get(e,h,a){let c;l&&e.clientX==l.clientX&&e.clientY==l.clientY?c=r:(c=r=Pe(t,e),l=e);let d=Le(t,c.pos,c.bias,o);if(i.pos!=c.pos&&!h){let e=Le(t,i.pos,i.bias,o),n=Math.min(e.from,d.from),r=Math.max(e.to,d.to);d=n1&&n.ranges.some((t=>t.eq(d)))?function(t,e){for(let i=0;;i++)if(t.ranges[i].eq(e))return s.jT.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}(n,d):a?n.addRange(d):s.jT.create([d])}}}(t,e)),i){let s=t.root.activeElement!=t.contentDOM;s&&t.observer.ignore((()=>y(t.contentDOM))),t.inputState.startMouseSelection(new De(t,e,i,s))}};let Ve=(t,e)=>t>=e.top&&t<=e.bottom,He=(t,e,i)=>Ve(e,i)&&t>=i.left&&t<=i.right;function Ne(t,e,i,s){let o=ft.find(t.docView,e);if(!o)return 1;let n=e-o.posAtStart;if(0==n)return 1;if(n==o.length)return-1;let r=o.coordsAt(n,-1);if(r&&He(i,s,r))return-1;let l=o.coordsAt(n,1);return l&&He(i,s,l)?1:r&&Ve(s,r)?-1:1}function Pe(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:Ne(t,i,e.clientX,e.clientY)}}const We=q.ie&&q.ie_version<=11;let ze=null,Fe=0,Ie=0;function qe(t){if(!We)return t.detail;let e=ze,i=Ie;return ze=t,Ie=Date.now(),Fe=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Fe+1)%3:1}function je(t,e,i,s){if(!i)return;let o=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:n}=t.inputState,r=s&&n&&n.dragging&&n.dragMove?{from:n.dragging.from,to:n.dragging.to}:null,l={from:o,insert:i},h=t.state.changes(r?[r,l]:l);t.focus(),t.dispatch({changes:h,selection:{anchor:h.mapPos(o,-1),head:h.mapPos(o,1)},userEvent:r?"move.drop":"input.drop"})}Oe.dragstart=(t,e)=>{let{selection:{main:i}}=t.state,{mouseSelection:s}=t.inputState;s&&(s.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")},Oe.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let i=e.dataTransfer.files;if(i&&i.length){e.preventDefault();let s=Array(i.length),o=0,n=()=>{++o==i.length&&je(t,e,s.filter((t=>null!=t)).join(t.state.lineBreak),!1)};for(let t=0;t{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(s[t]=e.result),n()},e.readAsText(i[t])}}else je(t,e,e.dataTransfer.getData("Text"),!0)},Oe.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let i=Re?null:e.clipboardData;i?(Be(t,i.getData("text/plain")),e.preventDefault()):function(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((()=>{t.focus(),i.remove(),Be(t,i.value)}),50)}(t)};let Ke=null;function $e(t){setTimeout((()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])}),10)}Oe.copy=Oe.cut=(t,e)=>{let{text:i,ranges:s,linewise:o}=function(t){let e=[],i=[],s=!1;for(let o of t.selection.ranges)o.empty||(e.push(t.sliceDoc(o.from,o.to)),i.push(o));if(!e.length){let o=-1;for(let{from:s}of t.selection.ranges){let n=t.doc.lineAt(s);n.number>o&&(e.push(n.text),i.push({from:n.from,to:Math.min(t.doc.length,n.to+1)})),o=n.number}s=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:s}}(t.state);if(!i&&!o)return;Ke=o?i:null;let n=Re?null:e.clipboardData;n?(e.preventDefault(),n.clearData(),n.setData("text/plain",i)):function(t,e){let i=t.dom.parentNode;if(!i)return;let s=i.appendChild(document.createElement("textarea"));s.style.cssText="position: fixed; left: -10000px; top: 10px",s.value=e,s.focus(),s.selectionEnd=e.length,s.selectionStart=0,setTimeout((()=>{s.remove(),t.focus()}),50)}(t,i),"cut"!=e.type||t.state.readOnly||t.dispatch({changes:s,scrollIntoView:!0,userEvent:"delete.cut"})},Oe.focus=t=>{t.inputState.lastFocusTime=Date.now(),t.scrollDOM.scrollTop||!t.inputState.lastScrollTop&&!t.inputState.lastScrollLeft||(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),$e(t)},Oe.blur=t=>{t.observer.clearSelectionRange(),$e(t)},Oe.compositionstart=Oe.compositionupdate=t=>{null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)},Oe.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,q.chrome&&q.android&&t.observer.flushSoon(),setTimeout((()=>{t.inputState.composing<0&&t.docView.compositionDeco.size&&t.update([])}),50)},Oe.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},Oe.beforeinput=(t,e)=>{var i;let s;if(q.chrome&&q.android&&(s=ke.find((t=>t.inputType==e.inputType)))&&(t.observer.delayAndroidKey(s.key,s.keyCode),"Backspace"==s.key||"Delete"==s.key)){let e=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout((()=>{var i;((null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0)>e+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())}),100)}};const Ge=["pre-wrap","normal","pre-line","break-spaces"];class Xe{constructor(){this.doc=s.xv.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(t){if(!this.lineWrapping)return this.lineHeight;return(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return Ge.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let e=!1;for(let i=0;i-1,r=Math.round(e)!=Math.round(this.lineHeight)||this.lineWrapping!=n;if(this.lineWrapping=n,this.lineHeight=e,this.charWidth=i,this.lineLength=s,r){this.heightSamples={};for(let t=0;t0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t,e){this.height!=e&&(Math.abs(this.height-e)>Qe&&(t.heightChanged=!0),this.height=e)}replace(t,e,i){return Ze.of(i)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,i,s){let o=this;for(let n=s.length-1;n>=0;n--){let{fromA:r,toA:l,fromB:h,toB:a}=s[n],c=o.lineAt(r,Ye.ByPosNoHeight,e,0,0),d=c.to>=l?c:o.lineAt(l,Ye.ByPosNoHeight,e,0,0);for(a+=d.to-l,l=d.to;n>0&&c.from<=s[n-1].toA;)r=s[n-1].fromA,h=s[n-1].fromB,n--,r2*o){let o=t[e-1];o.break?t.splice(--e,1,o.left,null,o.right):t.splice(--e,1,o.left,o.right),i+=1+o.break,s-=o.size}else{if(!(o>2*s))break;{let e=t[i];e.break?t.splice(i,1,e.left,null,e.right):t.splice(i,1,e.left,e.right),i+=2+e.break,o-=e.size}}else if(s=o&&n(this.blockAt(0,i,s,o))}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more&&this.setHeight(t,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class ti extends Je{constructor(t,e){super(t,e,rt.Text),this.collapsed=0,this.widgetHeight=0}replace(t,e,i){let s=i[0];return 1==i.length&&(s instanceof ti||s instanceof ei&&4&s.flags)&&Math.abs(this.length-s.length)<10?(s instanceof ei?s=new ti(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):Ze.of(i)}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more?this.setHeight(t,s.heights[s.index++]):(i||this.outdated)&&this.setHeight(t,Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ei extends Ze{constructor(t){super(t,0)}lines(t,e){let i=t.lineAt(e).number,s=t.lineAt(e+this.length).number;return{firstLine:i,lastLine:s,lineHeight:this.height/(s-i+1)}}blockAt(t,e,i,s){let{firstLine:o,lastLine:n,lineHeight:r}=this.lines(e,s),l=Math.max(0,Math.min(n-o,Math.floor((t-i)/r))),{from:h,length:a}=e.line(o+l);return new Ue(h,a,i+r*l,r,rt.Text)}lineAt(t,e,i,s,o){if(e==Ye.ByHeight)return this.blockAt(t,i,s,o);if(e==Ye.ByPosNoHeight){let{from:e,to:s}=i.lineAt(t);return new Ue(e,s-e,0,0,rt.Text)}let{firstLine:n,lineHeight:r}=this.lines(i,o),{from:l,length:h,number:a}=i.lineAt(t);return new Ue(l,h,s+r*(a-n),r,rt.Text)}forEachLine(t,e,i,s,o,n){let{firstLine:r,lineHeight:l}=this.lines(i,o);for(let h=Math.max(t,o),a=Math.min(o+this.length,e);h<=a;){let e=i.lineAt(h);h==t&&(s+=l*(e.number-r)),n(new Ue(e.from,e.length,s,l,rt.Text)),s+=l,h=e.to+1}}replace(t,e,i){let s=this.length-e;if(s>0){let t=i[i.length-1];t instanceof ei?i[i.length-1]=new ei(t.length+s):i.push(null,new ei(s-1))}if(t>0){let e=i[0];e instanceof ei?i[0]=new ei(t+e.length):i.unshift(new ei(t-1),null)}return Ze.of(i)}decomposeLeft(t,e){e.push(new ei(t-1),null)}decomposeRight(t,e){e.push(null,new ei(this.length-t-1))}updateHeight(t,e=0,i=!1,s){let o=e+this.length;if(s&&s.from<=e+this.length&&s.more){let i=[],n=Math.max(e,s.from),r=-1,l=t.heightChanged;for(s.from>e&&i.push(new ei(s.from-e-1).updateHeight(t,e));n<=o&&s.more;){let e=t.doc.lineAt(n).length;i.length&&i.push(null);let o=s.heights[s.index++];-1==r?r=o:Math.abs(o-r)>=Qe&&(r=-2);let l=new ti(e,o);l.outdated=!1,i.push(l),n+=e+1}n<=o&&i.push(null,new ei(o-n).updateHeight(t,n));let h=Ze.of(i);return t.heightChanged=l||r<0||Math.abs(h.height-this.height)>=Qe||Math.abs(r-this.lines(t.doc,e).lineHeight)>=Qe,h}return(i||this.outdated)&&(this.setHeight(t,t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class ii extends Ze{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,s){let o=i+this.left.height;return tr))return h;let a=e==Ye.ByPosNoHeight?Ye.ByPosNoHeight:Ye.ByPos;return l?h.join(this.right.lineAt(r,a,i,n,r)):this.left.lineAt(r,a,i,s,o).join(h)}forEachLine(t,e,i,s,o,n){let r=s+this.left.height,l=o+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,e,i,r,l,n);else{let h=this.lineAt(l,Ye.ByPos,i,s,o);t=t&&h.from<=e&&n(h),e>h.to&&this.right.forEachLine(h.to+1,e,i,r,l,n)}}replace(t,e,i){let s=this.left.length+this.break;if(ethis.left.length)return this.balanced(this.left,this.right.replace(t-s,e-s,i));let o=[];t>0&&this.decomposeLeft(t,o);let n=o.length;for(let r of i)o.push(r);if(t>0&&si(o,n-1),e=i&&e.push(null)),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){let i=this.left.length,s=i+this.break;if(t>=s)return this.right.decomposeRight(t-s,e);t2*e.size||e.size>2*t.size?Ze.of(this.break?[t,null,e]:[t,e]):(this.left=t,this.right=e,this.height=t.height+e.height,this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,s){let{left:o,right:n}=this,r=e+o.length+this.break,l=null;return s&&s.from<=e+o.length&&s.more?l=o=o.updateHeight(t,e,i,s):o.updateHeight(t,e,i),s&&s.from<=r+n.length&&s.more?l=n=n.updateHeight(t,r,i,s):n.updateHeight(t,r,i),l?this.balanced(o,n):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function si(t,e){let i,s;null==t[e]&&(i=t[e-1])instanceof ei&&(s=t[e+1])instanceof ei&&t.splice(e-1,3,new ei(i.length+1+s.length))}class oi{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof ti?i.length+=t-this.pos:(t>this.pos||!this.isCovered)&&this.nodes.push(new ti(t-this.pos,-1)),this.writtenTo=t,e>t&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,i){if(t=5)&&this.addLineDeco(s,o)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTot&&this.nodes.push(new ti(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,e){let i=new ei(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof ti)return t;let e=new ti(0,-1);return this.nodes.push(e),e}addBlock(t){this.enterLine(),t.type!=rt.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,t.type!=rt.WidgetBefore&&(this.covering=t)}addLineDeco(t,e){let i=this.ensureLine();i.length+=e,i.collapsed+=e,i.widgetHeight=Math.max(i.widgetHeight,t),this.writtenTo=this.pos=this.pos+e}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof ti||this.isCovered?(this.writtenToe.clientHeight||e.scrollWidth>e.clientWidth)&&"visible"!=i.overflow){let i=e.getBoundingClientRect();n=Math.max(n,i.left),r=Math.min(r,i.right),l=Math.max(l,i.top),h=a==t.parentNode?i.bottom:Math.min(h,i.bottom)}a="absolute"==i.position||"fixed"==i.position?e.offsetParent:e.parentNode}else{if(11!=a.nodeType)break;a=a.host}return{left:n-i.left,right:Math.max(n,r)-i.left,top:l-(i.top+e),bottom:Math.max(l,h)-(i.top+e)}}function li(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class hi{constructor(t,e,i){this.from=t,this.to=e,this.size=i}static same(t,e){if(t.length!=e.length)return!1;for(let i=0;i"function"!=typeof t)),this.heightMap=Ze.empty().applyChanges(this.stateDeco,s.xv.empty,this.heightOracle.setDoc(t.doc),[new zt(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=lt.set(this.lineGaps.map((t=>t.draw(!1)))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let i=0;i<=1;i++){let s=i?e.head:e.anchor;if(!t.some((({from:t,to:e})=>s>=t&&s<=e))){let{from:e,to:i}=this.lineBlockAt(s);t.push(new di(e,i))}}this.viewports=t.sort(((t,e)=>t.from-e.from)),this.scaler=this.heightMap.height<=7e6?mi:new gi(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,(t=>{this.viewportLines.push(1==this.scaler.scale?t:vi(t,this.scaler))}))}update(t,e=null){this.state=t.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Ht).filter((t=>"function"!=typeof t));let o=t.changedRanges,n=zt.extendWithRanges(o,function(t,e,i){let o=new ni;return s.Xs.compare(t,e,i,o,0),o.changes}(i,this.stateDeco,t?t.changes:s.as.empty(this.state.doc.length))),r=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),n),this.heightMap.height!=r&&(t.flags|=2);let l=n.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,e));let h=!t.changes.empty||2&t.flags||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),h&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(t){let e=t.contentDOM,i=window.getComputedStyle(e),s=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection="rtl"==i.direction?It.RTL:It.LTR;let n=this.heightOracle.mustRefreshForWrapping(o),r=n||this.mustMeasureContent||this.contentDOMHeight!=e.clientHeight;this.contentDOMHeight=e.clientHeight,this.mustMeasureContent=!1;let l=0,h=0,a=parseInt(i.paddingTop)||0,c=parseInt(i.paddingBottom)||0;this.paddingTop==a&&this.paddingBottom==c||(this.paddingTop=a,this.paddingBottom=c,l|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(s.lineWrapping&&(r=!0),this.editorWidth=t.scrollDOM.clientWidth,l|=8);let d=(this.printing?li:ri)(e,this.paddingTop),u=d.top-this.pixelViewport.top,f=d.bottom-this.pixelViewport.bottom;this.pixelViewport=d;let p=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(p!=this.inView&&(this.inView=p,p&&(r=!0)),!this.inView&&!this.scrollTarget)return 0;let m=e.clientWidth;if(this.contentDOMWidth==m&&this.editorHeight==t.scrollDOM.clientHeight||(this.contentDOMWidth=m,this.editorHeight=t.scrollDOM.clientHeight,l|=8),r){let e=t.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(e)&&(n=!0),n||s.lineWrapping&&Math.abs(m-this.contentDOMWidth)>s.charWidth){let{lineHeight:i,charWidth:r}=t.docView.measureTextSize();n=i>0&&s.refresh(o,i,r,m/r,e),n&&(t.docView.minWidth=0,l|=8)}u>0&&f>0?h=Math.max(u,f):u<0&&f<0&&(h=Math.min(u,f)),s.heightChanged=!1;for(let i of this.viewports){let o=i.from==this.viewport.from?e:t.docView.measureVisibleLineHeights(i);this.heightMap=this.heightMap.updateHeight(s,0,n,new _e(i.from,o))}s.heightChanged&&(l|=2)}let g=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return g&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(2&l||g)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(n?[]:this.lineGaps,t)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let i=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),s=this.heightMap,o=this.state.doc,{visibleTop:n,visibleBottom:r}=this,l=new di(s.lineAt(n-1e3*i,Ye.ByHeight,o,0,0).from,s.lineAt(r+1e3*(1-i),Ye.ByHeight,o,0,0).to);if(e){let{head:t}=e.range;if(tl.to){let i,n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),r=s.lineAt(t,Ye.ByPos,o,0,0);i="center"==e.y?(r.top+r.bottom)/2-n/2:"start"==e.y||"nearest"==e.y&&t=r+Math.max(10,Math.min(i,250)))&&s>n-2e3&&o>1,r=o<<1;if(this.defaultTextDirection!=It.LTR&&!i)return[];let l=[],h=(o,r,a,c)=>{if(r-oo&&tt.from>=a.from&&t.to<=a.to&&Math.abs(t.from-o)t.frome))));if(!f){if(rt.from<=r&&t.to>=r))){let t=e.moveToLineBoundary(s.jT.cursor(r),!1,!0).head;t>o&&(r=t)}f=new hi(o,r,this.gapSize(a,o,r,c))}l.push(f)};for(let s of this.viewportLines){if(s.lengths.from&&h(s.from,e,s,t),nt.draw(this.heightOracle.lineWrapping)))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let e=[];s.Xs.spans(t,this.viewport.from,this.viewport.to,{span(t,i){e.push({from:t,to:i})},point(){}},20);let i=e.length!=this.visibleRanges.length||this.visibleRanges.some(((t,i)=>t.from!=e[i].from||t.to!=e[i].to));return this.visibleRanges=e,i?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find((e=>e.from<=t&&e.to>=t))||vi(this.heightMap.lineAt(t,Ye.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(t){return vi(this.heightMap.lineAt(this.scaler.fromDOM(t),Ye.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(t){return vi(this.heightMap.blockAt(this.scaler.fromDOM(t),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class di{constructor(t,e){this.from=t,this.to=e}}function ui(t,e,i){let o=[],n=t,r=0;return s.Xs.spans(i,t,e,{span(){},point(t,e){t>n&&(o.push({from:n,to:t}),r+=t-n),n=e}},20),n=1)return e[e.length-1].to;let s=Math.floor(t*i);for(let o=0;;o++){let{from:t,to:i}=e[o],n=i-t;if(s<=n)return t+s;s-=n}}function pi(t,e){let i=0;for(let{from:s,to:o}of t.ranges){if(e<=o){i+=e-s;break}i+=o-s}return i/t.total}const mi={toDOM:t=>t,fromDOM:t=>t,scale:1};class gi{constructor(t,e,i){let s=0,o=0,n=0;this.viewports=i.map((({from:i,to:o})=>{let n=e.lineAt(i,Ye.ByPos,t,0,0).top,r=e.lineAt(o,Ye.ByPos,t,0,0).bottom;return s+=r-n,{from:i,to:o,top:n,bottom:r,domTop:0,domBottom:0}})),this.scale=(7e6-s)/(e.height-s);for(let r of this.viewports)r.domTop=n+(r.top-o)*this.scale,n=r.domBottom=r.domTop+(r.bottom-r.top),o=r.bottom}toDOM(t){for(let e=0,i=0,s=0;;e++){let o=evi(t,e))):t.type)}const wi=s.r$.define({combine:t=>t.join(" ")}),bi=s.r$.define({combine:t=>t.indexOf(!0)>-1}),yi=o.V.newName(),xi=o.V.newName(),Si=o.V.newName(),Mi={"&light":"."+xi,"&dark":"."+Si};function ki(t,e,i){return new o.V(e,{finish:e=>/&/.test(e)?e.replace(/&\w*/,(e=>{if("&"==e)return t;if(!i||!i[e])throw new RangeError(`Unsupported selector: ${e}`);return i[e]})):t+" "+e})}const Ci=ki("."+yi,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Mi);class Ai{constructor(t,e,i,o){this.typeOver=o,this.bounds=null,this.text="";let{impreciseHead:n,impreciseAnchor:r}=t.docView;if(e>-1&&!t.state.readOnly&&(this.bounds=t.docView.domBoundsAround(e,i,0))){let e=n||r?[]:function(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:s,focusNode:o,focusOffset:n}=t.observer.selectionRange;i&&(e.push(new ne(i,s)),o==i&&n==s||e.push(new ne(o,n)));return e}(t),i=new se(e,t.state);i.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=i.text,this.newSel=function(t,e){if(0==t.length)return null;let i=t[0].pos,o=2==t.length?t[1].pos:i;return i>-1&&o>-1?s.jT.single(i+e,o+e):null}(e,this.bounds.from)}else{let e=t.observer.selectionRange,i=n&&n.node==e.focusNode&&n.offset==e.focusOffset||!l(t.contentDOM,e.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(e.focusNode,e.focusOffset),o=r&&r.node==e.anchorNode&&r.offset==e.anchorOffset||!l(t.contentDOM,e.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(e.anchorNode,e.anchorOffset);this.newSel=s.jT.single(o,i)}}}function Di(t,e){let i,{newSel:o}=e,n=t.state.selection.main;if(e.bounds){let{from:o,to:r}=e.bounds,l=n.from,h=null;(8===t.inputState.lastKeyCode&&t.inputState.lastKeyTime>Date.now()-100||q.android&&e.text.length0&&l>0&&t.charCodeAt(r-1)==e.charCodeAt(l-1);)r--,l--;if("end"==s){i-=r+Math.max(0,n-Math.min(r,l))-n}if(r=r?n-i:0,l=n+(l-r),r=n}else if(l=l?n-i:0,r=n+(r-l),l=n}return{from:n,toA:r,toB:l}}(t.state.doc.sliceString(o,r,ie),e.text,l-o,h);a&&(q.chrome&&13==t.inputState.lastKeyCode&&a.toB==a.from+2&&"\uffff\uffff"==e.text.slice(a.from,a.toB)&&a.toB--,i={from:o+a.from,to:o+a.toA,insert:s.xv.of(e.text.slice(a.from,a.toB).split(ie))})}else!o||t.hasFocus&&t.state.facet(Tt)&&!o.main.eq(n)||(o=null);if(!i&&!o)return!1;if(!i&&e.typeOver&&!n.empty&&o&&o.main.empty?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:i&&i.from>=n.from&&i.to<=n.to&&(i.from!=n.from||i.to!=n.to)&&n.to-n.from-(i.to-i.from)<=4?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,n.to))}:(q.mac||q.android)&&i&&i.from==i.to&&i.from==n.head-1&&/^\. ?$/.test(i.insert.toString())&&(o&&2==i.insert.length&&(o=s.jT.single(o.main.anchor-1,o.main.head-1)),i={from:n.from,to:n.to,insert:s.xv.of([" "])}),i){let e=t.state;if(q.ios&&t.inputState.flushIOSKey(t))return!0;if(q.android&&(i.from==n.from&&i.to==n.to&&1==i.insert.length&&2==i.insert.lines&&S(t.contentDOM,"Enter",13)||i.from==n.from-1&&i.to==n.to&&0==i.insert.length&&S(t.contentDOM,"Backspace",8)||i.from==n.from&&i.to==n.to+1&&0==i.insert.length&&S(t.contentDOM,"Delete",46)))return!0;let r,l=i.insert.toString();if(t.state.facet(Mt).some((e=>e(t,i.from,i.to,l))))return!0;if(t.inputState.composing>=0&&t.inputState.composing++,i.from>=n.from&&i.to<=n.to&&i.to-i.from>=(n.to-n.from)/3&&(!o||o.main.empty&&o.main.from==i.from+i.insert.length)&&t.inputState.composing<0){let s=n.fromi.to?e.sliceDoc(i.to,n.to):"";r=e.replaceSelection(t.state.toText(s+i.insert.sliceString(0,void 0,t.state.lineBreak)+o))}else{let l=e.changes(i),h=o&&!e.selection.main.eq(o.main)&&o.main.to<=l.newLength?o.main:void 0;if(e.selection.ranges.length>1&&t.inputState.composing>=0&&i.to<=n.to&&i.to>=n.to-10){let o=t.state.sliceDoc(i.from,i.to),a=he(t)||t.state.doc.lineAt(n.head),c=n.to-i.to,d=n.to-n.from;r=e.changeByRange((r=>{if(r.from==n.from&&r.to==n.to)return{changes:l,range:h||r.map(l)};let u=r.to-c,f=u-o.length;if(r.to-r.from!=d||t.state.sliceDoc(f,u)!=o||a&&r.to>=a.from&&r.from<=a.to)return{range:r};let p=e.changes({from:f,to:u,insert:i.insert}),m=r.to-n.to;return{changes:p,range:h?s.jT.range(Math.max(0,h.anchor+m),Math.max(0,h.head+m)):r.map(p)}}))}else r={changes:l,selection:h&&e.selection.replaceRange(h)}}let h="input.type";return t.composing&&(h+=".compose",t.inputState.compositionFirstChange&&(h+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(r,{scrollIntoView:!0,userEvent:h}),!0}if(o&&!o.main.eq(n)){let e=!1,i="select";return t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(e=!0),i=t.inputState.lastSelectionOrigin),t.dispatch({selection:o,scrollIntoView:e,userEvent:i}),!0}return!1}const Ti={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Oi=q.ie&&q.ie_version<=11;class Ei{constructor(t){this.view=t,this.active=!1,this.selectionRange=new v,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((e=>{for(let t of e)this.queue.push(t);(q.ie&&q.ie_version<=11||q.ios&&t.composing)&&e.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),Oi&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),"function"==typeof ResizeObserver&&(this.resize=new ResizeObserver((()=>{this.view.docView.lastUpdate{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))}),{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runScrollHandlers(this.view,t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout((()=>{this.view.viewState.printing=!1,this.view.requestMeasure()}),500)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some(((e,i)=>e!=t[i])))){this.gapIntersection.disconnect();for(let e of t)this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(Tt)?i.root.activeElement!=this.dom:!h(i.dom,s))return;let o=s.anchorNode&&i.docView.nearest(s.anchorNode);o&&o.ignoreEvent(t)?e||(this.selectionChanged=!1):(q.ie&&q.ie_version<=11||q.android&&q.chrome)&&!i.state.selection.main.empty&&s.focusNode&&c(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,e=q.safari&&11==t.root.nodeType&&function(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(this.dom.ownerDocument)==this.dom&&function(t){let e=null;function i(t){t.preventDefault(),t.stopImmediatePropagation(),e=t.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let s=e.startContainer,o=e.startOffset,n=e.endContainer,r=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);c(l.node,l.offset,n,r)&&([s,o,n,r]=[n,r,s,o]);return{anchorNode:s,anchorOffset:o,focusNode:n,focusOffset:r}}(this.view)||r(t.root);if(!e||this.selectionRange.eq(e))return!1;let i=h(this.dom,e);return i&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let t=this.delayedAndroidKey;t&&(this.clearDelayedAndroidKey(),!this.flush()&&t.force&&S(this.dom,t.key,t.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(t)}this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e,force:this.lastChange{this.delayedFlush=-1,this.flush()})))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let t=this.queue;for(let o of this.observer.takeRecords())t.push(o);t.length&&(this.queue=[]);let e=-1,i=-1,s=!1;for(let o of t){let t=this.readMutation(o);t&&(t.typeOver&&(s=!0),-1==e?({from:e,to:i}=t):(e=Math.min(t.from,e),i=Math.max(t.to,i)))}return{from:e,to:i,typeOver:s}}readChange(){let{from:t,to:e,typeOver:i}=this.processRecords(),s=this.selectionChanged&&h(this.dom,this.selectionRange);return t<0&&!s?null:(t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new Ai(this.view,t,e,i))}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let e=this.readChange();if(!e)return!1;let i=this.view.state,s=Di(this.view,e);return this.view.state==i&&this.view.update([]),s}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty("attributes"==t.type),"attributes"==t.type&&(e.dirty|=4),"childList"==t.type){let i=Ri(e,t.previousSibling||t.target.previousSibling,-1),s=Ri(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:s?e.posBefore(s):e.posAtEnd,typeOver:!1}}return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var t,e,i;this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(i=this.resize)||void 0===i||i.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Ri(t,e,i){for(;e;){let s=A.get(e);if(s&&s.parent==t)return s;let o=e.parentNode;e=o!=t.dom?o:i>0?e.nextSibling:e.previousSibling}return null}class Bi{constructor(t={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=t.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=t.root||function(t){for(;t;){if(t&&(9==t.nodeType||11==t.nodeType&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}(t.parent)||document,this.viewState=new ci(t.state||s.yy.create(t)),this.plugins=this.state.facet(Et).map((t=>new Bt(t)));for(let e of this.plugins)e.update(this);this.observer=new Ei(this),this.inputState=new Me(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new re(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),t.parent&&t.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...t){this._dispatch(1==t.length&&t[0]instanceof s.YW?t[0]:this.state.update(...t))}update(t){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let e,i=!1,o=!1,n=this.state;for(let s of t){if(s.startState!=n)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");n=s.state}if(this.destroyed)return void(this.viewState.state=n);let r=this.observer.delayedAndroidKey,l=null;if(r?(this.observer.clearDelayedAndroidKey(),l=this.observer.readChange(),(l&&!this.state.doc.eq(n.doc)||!this.state.selection.eq(n.selection))&&(l=null)):this.observer.clear(),n.facet(s.yy.phrases)!=this.state.facet(s.yy.phrases))return this.setState(n);e=Ft.create(this,n,t);let h=this.viewState.scrollTarget;try{this.updateState=2;for(let e of t){if(h&&(h=h.map(e.changes)),e.scrollIntoView){let{main:t}=e.state.selection;h=new Ct(t.empty?t:s.jT.cursor(t.head,t.head>t.anchor?-1:1))}for(let t of e.effects)t.is(At)&&(h=t.value)}this.viewState.update(e,h),this.bidiCache=Hi.update(this.bidiCache,e.changes),e.empty||(this.updatePlugins(e),this.inputState.update(e)),i=this.docView.update(e),this.state.facet(Wt)!=this.styleModules&&this.mountStyles(),o=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(i,t.some((t=>t.isUserEvent("select.pointer"))))}finally{this.updateState=0}if(e.startState.facet(wi)!=e.state.facet(wi)&&(this.viewState.mustMeasureContent=!0),(i||o||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!e.empty)for(let s of this.state.facet(St))s(e);l&&!Di(this,l)&&r.force&&S(this.contentDOM,r.key,r.keyCode)}setState(t){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=t);this.updateState=2;let e=this.hasFocus;try{for(let t of this.plugins)t.destroy(this);this.viewState=new ci(t),this.plugins=t.facet(Et).map((t=>new Bt(t))),this.pluginMap.clear();for(let t of this.plugins)t.update(this);this.docView=new re(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(Et),i=t.state.facet(Et);if(e!=i){let s=[];for(let o of i){let i=e.indexOf(o);if(i<0)s.push(new Bt(o));else{let e=this.plugins[i];e.mustUpdate=t,s.push(e)}}for(let e of this.plugins)e.mustUpdate!=t&&e.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let s of this.plugins)s.mustUpdate=t;for(let s=0;s-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.forceFlush();let e=null,{scrollHeight:i,scrollTop:s,clientHeight:o}=this.scrollDOM,n=s>i-o-4?i:s;try{for(let t=0;;t++){this.updateState=1;let i=this.viewport,s=this.viewState.lineBlockAtHeight(n),o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(t>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let l=[];4&o||([this.measureRequests,l]=[l,this.measureRequests]);let h=l.map((t=>{try{return t.read(this)}catch(e){return Dt(this.state,e),Vi}})),a=Ft.create(this,this.state,[]),c=!1,d=!1;a.flags|=o,e?e.flags|=o:e=a,this.updateState=2,a.empty||(this.updatePlugins(a),this.inputState.update(a),this.updateAttrs(),c=this.docView.update(a));for(let t=0;t1||t<-1)&&(this.scrollDOM.scrollTop+=t,d=!0)}if(c&&this.docView.updateSelection(!0),this.viewport.from==i.from&&this.viewport.to==i.to&&!d&&0==this.measureRequests.length)break}}finally{this.updateState=0,this.measureScheduled=-1}if(e&&!e.empty)for(let l of this.state.facet(St))l(e)}get themeClasses(){return yi+" "+(this.state.facet(bi)?Si:xi)+" "+this.state.facet(wi)}updateAttrs(){let t=Ni(this,Lt,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),e={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Tt)?"true":"false",class:"cm-content",style:`${q.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(e["aria-readonly"]="true"),Ni(this,Vt,e);let i=this.observer.ignore((()=>{let i=ot(this.contentDOM,this.contentAttrs,e),s=ot(this.dom,this.editorAttrs,t);return i||s}));return this.editorAttrs=t,this.contentAttrs=e,i}showAnnouncements(t){let e=!0;for(let i of t)for(let t of i.effects)if(t.is(Bi.announce)){e&&(this.announceDOM.textContent=""),e=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(Wt),o.V.mount(this.root,this.styleModules.concat(Ci).reverse())}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),t){if(null!=t.key)for(let e=0;ee.spec==t))||null),e&&e.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,i){return Se(this,t,xe(this,t,e,i))}moveByGroup(t,e){return Se(this,t,xe(this,t,e,(e=>function(t,e,i){let o=t.state.charCategorizer(e),n=o(i);return t=>{let e=o(t);return n==s.D0.Space&&(n=e),n==e}}(this,t.head,e))))}moveToLineBoundary(t,e,i=!0){return function(t,e,i,o){let n=t.state.doc.lineAt(e.head),r=o&&t.lineWrapping?t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head):null;if(r){let e=t.dom.getBoundingClientRect(),o=t.textDirectionAt(n.from),l=t.posAtCoords({x:i==(o==It.LTR)?e.right-1:e.left+1,y:(r.top+r.bottom)/2});if(null!=l)return s.jT.cursor(l,i?-1:1)}let l=ft.find(t.docView,e.head),h=l?i?l.posAtEnd:l.posAtStart:i?n.to:n.from;return s.jT.cursor(h,i?-1:1)}(this,t,e,i)}moveVertically(t,e,i){return Se(this,t,function(t,e,i,o){let n=e.head,r=i?1:-1;if(n==(i?t.state.doc.length:0))return s.jT.cursor(n,e.assoc);let l,h=e.goalColumn,a=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n),d=t.documentTop;if(c)null==h&&(h=c.left-a.left),l=r<0?c.top:c.bottom;else{let e=t.viewState.lineBlockAt(n);null==h&&(h=Math.min(a.right-a.left,t.defaultCharacterWidth*(n-e.from))),l=(r<0?e.top:e.bottom)+d}let u=a.left+h,f=null!==o&&void 0!==o?o:t.defaultLineHeight>>1;for(let p=0;;p+=10){let i=l+(f+p)*r,o=be(t,{x:u,y:i},!1,r);if(ia.bottom||(r<0?on))return s.jT.cursor(o,e.assoc,void 0,h)}}(this,t,e,i))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){return this.readMeasured(),be(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(t),o=this.bidiSpans(s);return m(i,o[Yt.find(o,t-s.from,-1,e)].dir==It.LTR==e>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(kt)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>Li)return Jt(t.length);let e=this.textDirectionAt(t.from);for(let s of this.bidiCache)if(s.from==t.from&&s.dir==e)return s.order;let i=Zt(t.text,e);return this.bidiCache.push(new Hi(t.from,t.to,e,i)),i}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||q.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{y(this.contentDOM),this.docView.updateSelection()}))}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.nodeType?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,e={}){return At.of(new Ct("number"==typeof t?s.jT.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}static domEventHandlers(t){return Rt.define((()=>({})),{eventHandlers:t})}static theme(t,e){let i=o.V.newName(),s=[wi.of(i),Wt.of(ki(`.${i}`,t))];return e&&e.dark&&s.push(bi.of(!0)),s}static baseTheme(t){return s.Wl.lowest(Wt.of(ki("."+yi,t,Mi)))}static findFromDOM(t){var e;let i=t.querySelector(".cm-content"),s=i&&A.get(i)||A.get(t);return(null===(e=null===s||void 0===s?void 0:s.rootView)||void 0===e?void 0:e.view)||null}}Bi.styleModule=Wt,Bi.inputHandler=Mt,Bi.perLineTextDirection=kt,Bi.exceptionSink=xt,Bi.updateListener=St,Bi.editable=Tt,Bi.mouseSelectionStyle=yt,Bi.dragMovesSelection=bt,Bi.clickAddsSelectionRange=wt,Bi.decorations=Ht,Bi.atomicRanges=Nt,Bi.scrollMargins=Pt,Bi.darkTheme=bi,Bi.contentAttributes=Vt,Bi.editorAttributes=Lt,Bi.lineWrapping=Bi.contentAttributes.of({class:"cm-lineWrapping"}),Bi.announce=s.Py.define();const Li=4096,Vi={};class Hi{constructor(t,e,i,s){this.from=t,this.to=e,this.dir=i,this.order=s}static update(t,e){if(e.empty)return t;let i=[],s=t.length?t[t.length-1].dir:It.LTR;for(let o=Math.max(0,t.length-10);o=0;o--){let e=s[o],n="function"==typeof e?e(t):e;n&&it(n,i)}return i}const Pi=q.mac?"mac":q.windows?"win":q.linux?"linux":"key";function Wi(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==i&&e.shiftKey&&(t="Shift-"+t),t}const zi=s.Wl.default(Bi.domEventHandlers({keydown:(t,e)=>$i(qi(e.state),t,e,"editor")})),Fi=s.r$.define({enables:zi}),Ii=new WeakMap;function qi(t){let e=t.facet(Fi),i=Ii.get(e);return i||Ii.set(e,i=function(t,e=Pi){let i=Object.create(null),s=Object.create(null),o=(t,e)=>{let i=s[t];if(null==i)s[t]=e;else if(i!=e)throw new Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},n=(t,s,n,r)=>{var l,h;let a=i[t]||(i[t]=Object.create(null)),c=s.split(/ (?!$)/).map((t=>function(t,e){const i=t.split(/-(?!$)/);let s,o,n,r,l=i[i.length-1];"Space"==l&&(l=" ");for(let h=0;h{let s=Ki={view:e,prefix:i,scope:t};return setTimeout((()=>{Ki==s&&(Ki=null)}),4e3),!0}]})}let d=c.join(" ");o(d,!1);let u=a[d]||(a[d]={preventDefault:!1,run:(null===(h=null===(l=a._any)||void 0===l?void 0:l.run)||void 0===h?void 0:h.slice())||[]});n&&u.run.push(n),r&&(u.preventDefault=!0)};for(let r of t){let t=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let e of t){let t=i[e]||(i[e]=Object.create(null));t._any||(t._any={preventDefault:!1,run:[]});for(let e in t)t[e].run.push(r.any)}let s=r[e]||r.key;if(s)for(let e of t)n(e,s,r.run,r.preventDefault),r.shift&&n(e,"Shift-"+s,r.shift,r.preventDefault)}return i}(e.reduce(((t,e)=>t.concat(e)),[]))),i}function ji(t,e,i){return $i(qi(t.state),e,t,i)}let Ki=null;function $i(t,e,i,o){let r=(0,n.YG)(e),l=(0,s.gm)(r,0),h=(0,s.nZ)(l)==r.length&&" "!=r,a="",c=!1;Ki&&Ki.view==i&&Ki.scope==o&&(a=Ki.prefix+" ",(c=Ae.indexOf(e.keyCode)<0)&&(Ki=null));let d,u,f=new Set,p=t=>{if(t){for(let s of t.run)if(!f.has(s)&&(f.add(s),s(i,e)))return!0;t.preventDefault&&(c=!0)}return!1},m=t[o];if(m){if(p(m[a+Wi(r,e,!h)]))return!0;if(h&&(e.shiftKey||e.altKey||e.metaKey||l>127)&&(d=n.ue[e.keyCode])&&d!=r){if(p(m[a+Wi(d,e,!0)]))return!0;if(e.shiftKey&&(u=n.uY[e.keyCode])!=r&&u!=d&&p(m[a+Wi(u,e,!1)]))return!0}else if(h&&e.shiftKey&&p(m[a+Wi(r,e,!0)]))return!0;if(p(m._any))return!0}return c}const Gi=!q.ios,Xi=s.r$.define({combine:t=>(0,s.BO)(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})});function _i(t={}){return[Xi.of(t),Yi,Zi]}class Ui{constructor(t,e,i,s,o){this.left=t,this.top=e,this.width=i,this.height=s,this.className=o}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width>=0&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}}const Yi=Rt.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet(Xi).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet(Xi)!=t.state.facet(Xi);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some((t=>t.scrollIntoView))&&(this.cursorLayer.style.animationName="cm-blink"==this.cursorLayer.style.animationName?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet(Xi),i=t.selection.ranges.map((t=>t.empty?[]:function(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let i=Math.max(e.from,t.viewport.from),s=Math.min(e.to,t.viewport.to),o=t.textDirection==It.LTR,n=t.contentDOM,r=n.getBoundingClientRect(),l=Ji(t),h=window.getComputedStyle(n.firstChild),a=r.left+parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)),c=r.right-parseInt(h.paddingRight),d=es(t,i),u=es(t,s),f=d.type==rt.Text?d:null,p=u.type==rt.Text?u:null;t.lineWrapping&&(f&&(f=ts(t,i,f)),p&&(p=ts(t,s,p)));if(f&&p&&f.from==p.from)return g(v(e.from,e.to,f));{let i=f?v(e.from,null,f):w(d,!1),s=p?v(null,e.to,p):w(u,!0),o=[];return(f||d).to<(p||u).from-1?o.push(m(a,i.bottom,c,s.top)):i.bottomd&&o.from=n)break;l>s&&h(Math.max(t,s),null==e&&t<=d,Math.min(l,n),null==i&&l>=u,r.dir)}if(s=o.to+1,s>=n)break}return 0==l.length&&h(d,null==e,u,null==i,t.textDirection),{top:n,bottom:r,horizontal:l}}function w(t,e){let i=r.top+(e?t.top:t.bottom);return{top:i,bottom:i,horizontal:[]}}}(this.view,t))).reduce(((t,e)=>t.concat(e))),s=[];for(let o of t.selection.ranges){let i=o==t.selection.main;if(o.empty?!i||Gi:e.drawRangeCursor){let t=is(this.view,o,i);t&&s.push(t)}}return{rangePieces:i,cursors:s}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some(((t,e)=>!t.eq(this.rangePieces[e])))){this.selectionLayer.textContent="";for(let e of t)this.selectionLayer.appendChild(e.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some(((t,e)=>!t.eq(this.cursors[e])))){let t=this.cursorLayer.children;if(t.length!==e.length){this.cursorLayer.textContent="";for(const t of e)this.cursorLayer.appendChild(t.draw())}else e.forEach(((e,i)=>e.adjust(t[i])));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),Qi={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Gi&&(Qi[".cm-line"].caretColor="transparent !important");const Zi=s.Wl.highest(Bi.theme(Qi));function Ji(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==It.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function ts(t,e,i){let o=s.jT.cursor(e);return{from:Math.max(i.from,t.moveToLineBoundary(o,!1,!0).from),to:Math.min(i.to,t.moveToLineBoundary(o,!0,!0).from),type:rt.Text}}function es(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type))for(let s of i.type)if(s.to>e||s.to==e&&(s.to==i.to||s.type==rt.Text))return s;return i}function is(t,e,i){let s=t.coordsAtPos(e.head,e.assoc||1);if(!s)return null;let o=Ji(t);return new Ui(s.left-o.left,s.top-o.top,-1,s.bottom-s.top,i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}const ss=s.Py.define({map:(t,e)=>null==t?null:e.mapPos(t)}),os=s.QQ.define({create:()=>null,update:(t,e)=>(null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce(((t,e)=>e.is(ss)?e.value:t),t))}),ns=Rt.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(os);null==i?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(os)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(os),e=null!=t&&this.view.coordsAtPos(t);if(!e)return null;let i=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-i.left+this.view.scrollDOM.scrollLeft,top:e.top-i.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(os)!=t&&this.view.dispatch({effects:ss.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contains(t.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function rs(){return[os,ns]}function ls(t,e,i,s,o){e.lastIndex=0;for(let n,r=t.iterRange(i,s),l=i;!r.next().done;l+=r.value.length)if(!r.lineBreak)for(;n=e.exec(r.value);)o(l+n.index,n)}class hs{constructor(t){const{regexp:e,decoration:i,decorate:s,boundary:o,maxLength:n=1e3}=t;if(!e.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=e,s)this.addMatch=(t,e,i,o)=>s(o,i,i+t[0].length,t,e);else if("function"==typeof i)this.addMatch=(t,e,s,o)=>{let n=i(t,e,s);n&&o(s,s+t[0].length,n)};else{if(!i)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(t,e,s,o)=>o(s,s+t[0].length,i)}this.boundary=o,this.maxLength=n}createDeco(t){let e=new s.f_,i=e.add.bind(e);for(let{from:s,to:o}of function(t,e){let i=t.visibleRanges;if(1==i.length&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let s=[];for(let{from:o,to:n}of i)o=Math.max(t.state.doc.lineAt(o).from,o-e),n=Math.min(t.state.doc.lineAt(n).to,n+e),s.length&&s[s.length-1].to>=o?s[s.length-1].to=n:s.push({from:o,to:n});return s}(t,this.maxLength))ls(t.state.doc,this.regexp,s,o,((e,s)=>this.addMatch(s,t,e,i)));return e.finish()}updateDeco(t,e){let i=1e9,s=-1;return t.docChanged&&t.changes.iterChanges(((e,o,n,r)=>{r>t.view.viewport.from&&n1e3?this.createDeco(t.view):s>-1?this.updateRange(t.view,e.map(t.changes),i,s):e}updateRange(t,e,i,s){for(let o of t.visibleRanges){let n=Math.max(o.from,i),r=Math.min(o.to,s);if(r>n){let i=t.state.doc.lineAt(n),s=i.toi.from;n--)if(this.boundary.test(i.text[n-1-i.from])){l=n;break}for(;rc.push(i.range(t,e));if(i==s)for(this.regexp.lastIndex=l-i.from;(a=this.regexp.exec(i.text))&&a.indexthis.addMatch(i,t,e,d)));e=e.update({filterFrom:l,filterTo:h,filter:(t,e)=>th,add:c})}}return e}}const as=null!=/x/.unicode?"gu":"g",cs=new RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]",as),ds={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let us=null;const fs=s.r$.define({combine(t){let e=(0,s.BO)(t,{render:null,specialChars:cs,addSpecialChars:null});return(e.replaceTabs=!function(){var t;if(null==us&&"undefined"!=typeof document&&document.body){let e=document.body.style;us=null!=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)}return us||!1}())&&(e.specialChars=new RegExp("\t|"+e.specialChars.source,as)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,as)),e}});function ps(t={}){return[fs.of(t),ms||(ms=Rt.fromClass(class{constructor(t){this.view=t,this.decorations=lt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(fs)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new hs({regexp:t.specialChars,decoration:(e,i,o)=>{let{doc:n}=i.state,r=(0,s.gm)(e[0],0);if(9==r){let t=n.lineAt(o),e=i.state.tabSize,r=(0,s.IS)(t.text,e,o-t.from);return lt.replace({widget:new vs((e-r%e)*this.view.defaultCharacterWidth)})}return this.decorationCache[r]||(this.decorationCache[r]=lt.replace({widget:new gs(t,r)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(fs);t.startState.facet(fs)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))]}let ms=null;class gs extends nt{constructor(t,e){super(),this.options=t,this.code=e}eq(t){return t.code==this.code}toDOM(t){let e=(i=this.code)>=32?"\u2022":10==i?"\u2424":String.fromCharCode(9216+i);var i;let s=t.state.phrase("Control character")+" "+(ds[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,s,e);if(o)return o;let n=document.createElement("span");return n.textContent=e,n.title=s,n.setAttribute("aria-label",s),n.className="cm-specialChar",n}ignoreEvent(){return!1}}class vs extends nt{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="\t",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function ws(){return ys}const bs=lt.line({class:"cm-activeLine"}),ys=Rt.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let s of t.state.selection.ranges){let o=t.lineBlockAt(s.head);o.from>e&&(i.push(bs.range(o.from)),e=o.from)}return lt.set(i)}},{decorations:t=>t.decorations});class xs extends nt{constructor(t){super(),this.content=t}toDOM(){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}ignoreEvent(){return!1}}function Ss(t){return Rt.fromClass(class{constructor(e){this.view=e,this.placeholder=lt.set([lt.widget({widget:new xs(t),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?lt.none:this.placeholder}},{decorations:t=>t.decorations})}const Ms=2e3;function ks(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),o=t.state.doc.lineAt(i),n=i-o.from,r=n>Ms?-1:n==o.length?function(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}(t,e.clientX):(0,s.IS)(o.text,t.state.tabSize,i-o.from);return{line:o.number,col:r,off:n}}function Cs(t,e){let i=ks(t,e),o=t.state.selection;return i?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(i.line).from),s=t.state.doc.lineAt(e);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},o=o.map(t.changes)}},get(e,n,r){let l=ks(t,e);if(!l)return o;let h=function(t,e,i){let o=Math.min(e.line,i.line),n=Math.max(e.line,i.line),r=[];if(e.off>Ms||i.off>Ms||e.col<0||i.col<0){let l=Math.min(e.off,i.off),h=Math.max(e.off,i.off);for(let e=o;e<=n;e++){let i=t.doc.line(e);i.length<=h&&r.push(s.jT.range(i.from+l,i.to+h))}}else{let l=Math.min(e.col,i.col),h=Math.max(e.col,i.col);for(let e=o;e<=n;e++){let i=t.doc.line(e),o=(0,s.Gz)(i.text,l,t.tabSize,!0);if(o>-1){let e=(0,s.Gz)(i.text,h,t.tabSize);r.push(s.jT.range(i.from+o,i.from+e))}}}return r}(t.state,i,l);return h.length?r?s.jT.create(h.concat(o.ranges)):s.jT.create(h):o}}:null}function As(t){let e=(null===t||void 0===t?void 0:t.eventFilter)||(t=>t.altKey&&0==t.button);return Bi.mouseSelectionStyle.of(((t,i)=>e(i)?Cs(t,i):null))}const Ds={Alt:[18,t=>t.altKey],Control:[17,t=>t.ctrlKey],Shift:[16,t=>t.shiftKey],Meta:[91,t=>t.metaKey]},Ts={style:"cursor: crosshair"};function Os(t={}){let[e,i]=Ds[t.key||"Alt"],s=Rt.fromClass(class{constructor(t){this.view=t,this.isDown=!1}set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]))}},{eventHandlers:{keydown(t){this.set(t.keyCode==e||i(t))},keyup(t){t.keyCode!=e&&i(t)||this.set(!1)}}});return[s,Bi.contentAttributes.of((t=>{var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.isDown)?Ts:null}))]}const Es="-10000px";class Rs{constructor(t,e,i){this.facet=e,this.createTooltipView=i,this.input=t.state.facet(e),this.tooltips=this.input.filter((t=>t)),this.tooltipViews=this.tooltips.map(i)}update(t){let e=t.state.facet(this.facet),i=e.filter((t=>t));if(e===this.input){for(let e of this.tooltipViews)e.update&&e.update(t);return!1}let s=[];for(let o=0;o{var e,i,s;return{position:q.ios?"absolute":(null===(e=t.find((t=>t.position)))||void 0===e?void 0:e.position)||"fixed",parent:(null===(i=t.find((t=>t.parent)))||void 0===i?void 0:i.parent)||null,tooltipSpace:(null===(s=t.find((t=>t.tooltipSpace)))||void 0===s?void 0:s.tooltipSpace)||Bs}}}),Vs=Rt.fromClass(class{constructor(t){this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(Ls);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Rs(t,Ps,(t=>this.createTooltip(t))),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{this.measureTimeout=-1,this.maybeMeasure()}),50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let i=e||t.geometryChanged,s=t.state.facet(Ls);if(s.position!=this.position){this.position=s.position;for(let t of this.manager.tooltipViews)t.dom.style.position=this.position;i=!0}if(s.parent!=this.parent){this.parent&&this.container.remove(),this.parent=s.parent,this.createContainer();for(let t of this.manager.tooltipViews)this.container.appendChild(t.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=Es,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t;this.view.win.removeEventListener("resize",this.measureSoon);for(let{dom:e}of this.manager.tooltipViews)e.remove();null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map(((t,e)=>{let i=this.manager.tooltipViews[e];return i.getCoords?i.getCoords(t.pos):this.view.coordsAtPos(t.pos)})),size:this.manager.tooltipViews.map((({dom:t})=>t.getBoundingClientRect())),space:this.view.state.facet(Ls).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:i}=t,s=[];for(let o=0;o=Math.min(e.bottom,i.bottom)||h.rightMath.min(e.right,i.right)+.1){l.style.top=Es;continue}let c=n.arrow?r.dom.querySelector(".cm-tooltip-arrow"):null,d=c?7:0,u=a.right-a.left,f=a.bottom-a.top,p=r.offset||Ns,m=this.view.textDirection==It.LTR,g=a.width>i.right-i.left?m?i.left:i.right-a.width:m?Math.min(h.left-(c?14:0)+p.x,i.right-u):Math.max(i.left,h.left-u+(c?14:0)-p.x),v=!!n.above;!n.strictSide&&(v?h.top-(a.bottom-a.top)-p.yi.bottom)&&v==i.bottom-h.bottom>h.top-i.top&&(v=!v);let w=v?h.top-f-d-p.y:h.bottom+d+p.y,b=g+u;if(!0!==r.overlap)for(let t of s)t.leftg&&t.topw&&(w=v?t.top-f-2-d:t.bottom+d+2);"absolute"==this.position?(l.style.top=w-t.parent.top+"px",l.style.left=g-t.parent.left+"px"):(l.style.top=w+"px",l.style.left=g+"px"),c&&(c.style.left=h.left+(m?p.x:-p.x)-(g+14-7)+"px"),!0!==r.overlap&&s.push({left:g,top:w,right:b,bottom:w+f}),l.classList.toggle("cm-tooltip-above",v),l.classList.toggle("cm-tooltip-below",!v),r.positioned&&r.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Es}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),Hs=Bi.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Ns={x:0,y:0},Ps=s.r$.define({enables:[Vs,Hs]}),Ws=s.r$.define();class zs{constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Rs(t,Ws,(t=>this.createHostedView(t)))}static create(t){return new zs(t)}createHostedView(t){let e=t.create(this.view);return e.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(e.dom),this.mounted&&e.mount&&e.mount(this.view),e}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned()}update(t){this.manager.update(t)}}const Fs=Ps.compute([Ws],(t=>{let e=t.facet(Ws).filter((t=>t));return 0===e.length?null:{pos:Math.min(...e.map((t=>t.pos))),end:Math.max(...e.filter((t=>null!=t.end)).map((t=>t.end))),create:zs.create,above:e[0].above,arrow:e.some((t=>t.arrow))}}));class Is{constructor(t,e,i,s,o){this.view=t,this.source=e,this.field=i,this.setHover=s,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;ti.bottom||t.xi.right+this.view.defaultCharacterWidth)return;let s=this.view.bidiSpans(this.view.state.doc.lineAt(e)).find((t=>t.from<=e&&t.to>=e)),o=s&&s.dir==It.RTL?-1:1,n=this.source(this.view,e,t.x{this.pending==t&&(this.pending=null,e&&this.view.dispatch({effects:this.setHover.of(e)}))}),(t=>Dt(this.view.state,t,"hover tooltip")))}else n&&this.view.dispatch({effects:this.setHover.of(n)})}mousemove(t){var e;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!function(t){for(let e=t;e;e=e.parentNode)if(1==e.nodeType&&e.classList.contains("cm-tooltip"))return!0;return!1}(this.lastMove.target)||this.pending){let{pos:s}=i||this.pending,o=null!==(e=null===i||void 0===i?void 0:i.end)&&void 0!==e?e:s;(s==o?this.view.posAtCoords(this.lastMove)==s:function(t,e,i,s,o,n){let r=document.createRange(),l=t.domAtPos(e),h=t.domAtPos(i);r.setEnd(h.node,h.offset),r.setStart(l.node,l.offset);let a=r.getClientRects();r.detach();for(let c=0;cnull,update(t,o){if(t&&(e.hideOnChange&&(o.docChanged||o.selection)||e.hideOn&&e.hideOn(o,t)))return null;if(t&&o.docChanged){let e=o.changes.mapPos(t.pos,-1,s.gc.TrackDel);if(null==e)return null;let i=Object.assign(Object.create(null),t);i.pos=e,null!=t.end&&(i.end=o.changes.mapPos(t.end)),t=i}for(let e of o.effects)e.is(i)&&(t=e.value),e.is(Ks)&&(t=null);return t},provide:t=>Ws.from(t)});return[o,Rt.define((s=>new Is(s,t,o,i,e.hoverTime||300))),Fs]}function js(t,e){let i=t.plugin(Vs);if(!i)return null;let s=i.manager.tooltips.indexOf(e);return s<0?null:i.manager.tooltipViews[s]}const Ks=s.Py.define();const $s=s.r$.define({combine(t){let e,i;for(let s of t)e=e||s.topContainer,i=i||s.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Gs(t,e){let i=t.plugin(Xs),s=i?i.specs.indexOf(e):-1;return s>-1?i.panels[s]:null}const Xs=Rt.fromClass(class{constructor(t){this.input=t.state.facet(Ys),this.specs=this.input.filter((t=>t)),this.panels=this.specs.map((e=>e(t)));let e=t.state.facet($s);this.top=new _s(t,!0,e.topContainer),this.bottom=new _s(t,!1,e.bottomContainer),this.top.sync(this.panels.filter((t=>t.top))),this.bottom.sync(this.panels.filter((t=>!t.top)));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet($s);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new _s(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new _s(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Ys);if(i!=this.input){let e=i.filter((t=>t)),s=[],o=[],n=[],r=[];for(let i of e){let e,l=this.specs.indexOf(i);l<0?(e=i(t.view),r.push(e)):(e=this.panels[l],e.update&&e.update(t)),s.push(e),(e.top?o:n).push(e)}this.specs=e,this.panels=s,this.top.sync(o),this.bottom.sync(n);for(let t of r)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}else for(let s of this.panels)s.update&&s.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Bi.scrollMargins.of((e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}}))});class _s{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&t.indexOf(e)<0&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let t=this.dom.firstChild;for(let e of this.panels)if(e.dom.parentNode==this.dom){for(;t!=e.dom;)t=Us(t);t=t.nextSibling}else this.dom.insertBefore(e.dom,t);for(;t;)t=Us(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function Us(t){let e=t.nextSibling;return t.remove(),e}const Ys=s.r$.define({enables:Xs});class Qs extends s.uU{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Qs.prototype.elementClass="",Qs.prototype.toDOM=void 0,Qs.prototype.mapMode=s.gc.TrackBefore,Qs.prototype.startSide=Qs.prototype.endSide=-1,Qs.prototype.point=!0;const Zs=s.r$.define(),Js={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>s.Xs.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},to=s.r$.define();function eo(t){return[so(),to.of(Object.assign(Object.assign({},Js),t))]}const io=s.r$.define({combine:t=>t.some((t=>t))});function so(t){let e=[oo];return t&&!1===t.fixed&&e.push(io.of(!0)),e}const oo=Rt.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(to).map((e=>new ho(t,e)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(io),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,s=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(s<.8*(i.to-i.from))}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(io)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=s.Xs.iter(this.view.state.facet(Zs),this.view.viewport.from),o=[],n=this.gutters.map((t=>new lo(t,this.view.viewport,-this.view.documentPadding.top)));for(let s of this.view.viewportLineBlocks){let t;if(Array.isArray(s.type)){for(let e of s.type)if(e.type==rt.Text){t=e;break}}else t=s.type==rt.Text?s:void 0;if(t){o.length&&(o=[]),ro(i,o,s.from);for(let e of n)e.line(this.view,t,o)}}for(let s of n)s.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(to),i=t.state.facet(to),o=t.docChanged||t.heightChanged||t.viewportChanged||!s.Xs.eq(t.startState.facet(Zs),t.state.facet(Zs),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let s of this.gutters)s.update(t)&&(o=!0);else{o=!0;let s=[];for(let o of i){let i=e.indexOf(o);i<0?s.push(new ho(this.view,o)):(this.gutters[i].update(t),s.push(this.gutters[i]))}for(let t of this.gutters)t.dom.remove(),s.indexOf(t)<0&&t.destroy();for(let t of s)this.dom.appendChild(t.dom);this.gutters=s}return o}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Bi.scrollMargins.of((e=>{let i=e.plugin(t);return i&&0!=i.gutters.length&&i.fixed?e.textDirection==It.LTR?{left:i.dom.offsetWidth}:{right:i.dom.offsetWidth}:null}))});function no(t){return Array.isArray(t)?t:[t]}function ro(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}class lo{constructor(t,e,i){this.gutter=t,this.height=i,this.localMarkers=[],this.i=0,this.cursor=s.Xs.iter(t.markers,e.from)}line(t,e,i){this.localMarkers.length&&(this.localMarkers=[]),ro(this.cursor,this.localMarkers,e.from);let s=i.length?this.localMarkers.concat(i):this.localMarkers,o=this.gutter.config.lineMarker(t,e,s);o&&s.unshift(o);let n=this.gutter;if(0==s.length&&!n.config.renderEmptyElements)return;let r=e.top-this.height;if(this.i==n.elements.length){let i=new ao(t,e.height,r,s);n.elements.push(i),n.dom.appendChild(i.dom)}else n.elements[this.i].update(t,e.height,r,s);this.height=e.bottom,this.i++}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class ho{constructor(t,e){this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in e.domEventHandlers)this.dom.addEventListener(i,(s=>{let o=t.lineBlockAtHeight(s.clientY-t.documentTop);e.domEventHandlers[i](t,o,s)&&s.preventDefault()}));this.markers=no(e.markers(t)),e.initialSpacer&&(this.spacer=new ao(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=no(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let e=this.config.updateSpacer(this.spacer.markers[0],t);e!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[e])}let i=t.view.viewport;return!s.Xs.eq(this.markers,e,i.from,i.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class ao{constructor(t,e,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,e,i,s)}update(t,e,i,s){this.height!=e&&(this.dom.style.height=(this.height=e)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),function(t,e){if(t.length!=e.length)return!1;for(let i=0;i(0,s.BO)(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,e){let i=Object.assign({},t);for(let s in e){let t=i[s],o=e[s];i[s]=t?(e,i,s)=>t(e,i,s)||o(e,i,s):o}return i}})});class fo extends Qs{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function po(t,e){return t.state.facet(uo).formatNumber(e,t.state)}const mo=to.compute([uo],(t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:t=>t.state.facet(co),lineMarker:(t,e,i)=>i.some((t=>t.toDOM))?null:new fo(po(t,t.state.doc.lineAt(e.from).number)),lineMarkerChange:t=>t.startState.facet(uo)!=t.state.facet(uo),initialSpacer:t=>new fo(po(t,vo(t.state.doc.lines))),updateSpacer(t,e){let i=po(e.view,vo(e.view.state.doc.lines));return i==t.number?t:new fo(i)},domEventHandlers:t.facet(uo).domEventHandlers})));function go(t={}){return[uo.of(t),so(),mo]}function vo(t){let e=9;for(;e{let e=[],i=-1;for(let s of t.selection.ranges){let o=t.doc.lineAt(s.head).from;o>i&&(i=o,e.push(wo.range(o)))}return s.Xs.of(e)}));function yo(){return bo}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5473-185a5241676edf4a.js b/static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js similarity index 75% rename from static/web/_next/static/chunks/5473-185a5241676edf4a.js rename to static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js index d06cfd3f3..c0f089cd1 100644 --- a/static/web/_next/static/chunks/5473-185a5241676edf4a.js +++ b/static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5473],{54907:function(e,n,t){t.d(n,{Z:function(){return S}});var a=t(87462),r=t(4942),o=t(18073),c=t(94184),l=t.n(c),i=t(74902),s=t(15671),d=t(43144),u=t(60136),p=t(33643),f=t(71002),v=t(67294),m=t(96774),h=t.n(m),C=t(50344),y=t(62874),Z=t(97685),b=v.forwardRef((function(e,n){var t,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,p=v.useState(d||o),f=(0,Z.Z)(p,2),m=f[0],h=f[1];return v.useEffect((function(){(o||d)&&h(!0)}),[o,d]),m?v.createElement("div",{ref:n,className:l()("".concat(a,"-content"),(t={},(0,r.Z)(t,"".concat(a,"-content-active"),d),(0,r.Z)(t,"".concat(a,"-content-inactive"),!d),t),c),style:i,role:u},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));b.displayName="PanelContent";var x=b,k=function(e){(0,u.Z)(t,e);var n=(0,p.Z)(t);function t(){var e;(0,s.Z)(this,t);for(var a=arguments.length,r=new Array(a),o=0;o-1?n.splice(t,1):n.push(e)}a.setActiveKey(n)},a.getNewChild=function(e,n){if(!e)return null;var t=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(n),p=e.props,f=p.header,m=p.headerClass,h=p.destroyInactivePanel,C=p.collapsible,y=null!==C&&void 0!==C?C:d,Z={key:u,panelKey:u,header:f,headerClass:m,isActive:l?t[0]===u:t.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),v.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,C.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:g(o)},a}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!h()(this.props,e)||!h()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,a=n.className,o=n.style,c=n.accordion,i=l()((e={},(0,r.Z)(e,t,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=g(e.activeKey)),n}}]),t}(v.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=N;var I=E,w=(E.Panel,t(98423)),P=t(53124),K=t(33603),A=t(96159),O=function(e){var n,t=v.useContext(P.E_),c=t.getPrefixCls,i=t.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,p=e.bordered,f=void 0===p||p,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,Z=c("collapse",s),b=v.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),x=l()("".concat(Z,"-icon-position-").concat(b),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!f),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===i),(0,r.Z)(n,"".concat(Z,"-ghost"),!!m),n),u),k=(0,a.Z)((0,a.Z)({},K.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return v.createElement(I,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,a=t?t(n):v.createElement(o.Z,{rotate:n.isActive?90:void 0});return(0,A.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:x}),function(){var n=e.children;return(0,C.Z)(n).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,w.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,A.Tm)(e,i)}return e}))}())};O.Panel=function(e){var n=v.useContext(P.E_).getPrefixCls,t=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=n("collapse",t),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return v.createElement(I.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var S=O},94594:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(87462),r=t(4942),o=t(50888),c=t(94184),l=t.n(c),i=t(97685),s=t(91),d=t(67294),u=t(21770),p=t(15105),f=d.forwardRef((function(e,n){var t,a=e.prefixCls,o=void 0===a?"rc-switch":a,c=e.className,f=e.checked,v=e.defaultChecked,m=e.disabled,h=e.loadingIcon,C=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,b=e.onChange,x=e.onKeyDown,k=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),N=(0,u.Z)(!1,{value:f,defaultValue:v}),g=(0,i.Z)(N,2),E=g[0],I=g[1];function w(e,n){var t=E;return m||(I(t=e),null===b||void 0===b||b(t,n)),t}var P=l()(o,c,(t={},(0,r.Z)(t,"".concat(o,"-checked"),E),(0,r.Z)(t,"".concat(o,"-disabled"),m),t));return d.createElement("button",Object.assign({},k,{type:"button",role:"switch","aria-checked":E,disabled:m,className:P,ref:n,onKeyDown:function(e){e.which===p.Z.LEFT?w(!1,e):e.which===p.Z.RIGHT&&w(!0,e),null===x||void 0===x||x(e)},onClick:function(e){var n=w(!E,e);null===Z||void 0===Z||Z(n,e)}}),h,d.createElement("span",{className:"".concat(o,"-inner")},E?C:y))}));f.displayName="Switch";var v=f,m=t(53124),h=t(98866),C=t(97647),y=t(68349),Z=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r-1?n.splice(t,1):n.push(e)}a.setActiveKey(n)},a.getNewChild=function(e,n){if(!e)return null;var t=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(n),p=e.props,f=p.header,m=p.headerClass,h=p.destroyInactivePanel,C=p.collapsible,y=null!==C&&void 0!==C?C:d,Z={key:u,panelKey:u,header:f,headerClass:m,isActive:l?t[0]===u:t.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),v.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,C.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:g(o)},a}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!h()(this.props,e)||!h()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,a=n.className,o=n.style,c=n.accordion,i=l()((e={},(0,r.Z)(e,t,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=g(e.activeKey)),n}}]),t}(v.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=N;var I=E,w=(E.Panel,t(98423)),P=t(53124),K=t(33603),A=t(96159),O=function(e){var n,t=v.useContext(P.E_),c=t.getPrefixCls,i=t.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,p=e.bordered,f=void 0===p||p,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,Z=c("collapse",s),b=v.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),x=l()("".concat(Z,"-icon-position-").concat(b),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!f),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===i),(0,r.Z)(n,"".concat(Z,"-ghost"),!!m),n),u),k=(0,a.Z)((0,a.Z)({},K.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return v.createElement(I,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,a=t?t(n):v.createElement(o.Z,{rotate:n.isActive?90:void 0});return(0,A.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:x}),function(){var n=e.children;return(0,C.Z)(n).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,w.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,A.Tm)(e,i)}return e}))}())};O.Panel=function(e){var n=v.useContext(P.E_).getPrefixCls,t=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=n("collapse",t),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return v.createElement(I.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var S=O},94594:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(87462),r=t(4942),o=t(50888),c=t(94184),l=t.n(c),i=t(97685),s=t(45987),d=t(67294),u=t(21770),p=t(15105),f=d.forwardRef((function(e,n){var t,a=e.prefixCls,o=void 0===a?"rc-switch":a,c=e.className,f=e.checked,v=e.defaultChecked,m=e.disabled,h=e.loadingIcon,C=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,b=e.onChange,x=e.onKeyDown,k=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),N=(0,u.Z)(!1,{value:f,defaultValue:v}),g=(0,i.Z)(N,2),E=g[0],I=g[1];function w(e,n){var t=E;return m||(I(t=e),null===b||void 0===b||b(t,n)),t}var P=l()(o,c,(t={},(0,r.Z)(t,"".concat(o,"-checked"),E),(0,r.Z)(t,"".concat(o,"-disabled"),m),t));return d.createElement("button",Object.assign({},k,{type:"button",role:"switch","aria-checked":E,disabled:m,className:P,ref:n,onKeyDown:function(e){e.which===p.Z.LEFT?w(!1,e):e.which===p.Z.RIGHT&&w(!0,e),null===x||void 0===x||x(e)},onClick:function(e){var n=w(!E,e);null===Z||void 0===Z||Z(n,e)}}),h,d.createElement("span",{className:"".concat(o,"-inner")},E?C:y))}));f.displayName="Switch";var v=f,m=t(53124),h=t(98866),C=t(97647),y=t(68349),Z=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],n=e.matchHandlers[a];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],l=function(a){var l=a.matches;e.dispatch((0,r.Z)((0,r.Z)({},u),(0,n.Z)({},t,l)))},c=window.matchMedia(a);c.addListener(l),e.matchHandlers[a]={mql:c,listener:l},l(c)}))}};t.ZP=s},27049:function(e,t,a){"use strict";var n=a(87462),r=a(4942),l=a(94184),o=a.n(l),c=a(67294),i=a(53124),u=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r0?"-".concat(m):m,F=!!M,O="left"===m&&null!=h,x="right"===m&&null!=h,w=o()(k,"".concat(k,"-").concat(p),(t={},(0,r.Z)(t,"".concat(k,"-with-text"),F),(0,r.Z)(t,"".concat(k,"-with-text").concat(C),F),(0,r.Z)(t,"".concat(k,"-dashed"),!!g),(0,r.Z)(t,"".concat(k,"-plain"),!!y),(0,r.Z)(t,"".concat(k,"-rtl"),"rtl"===s),(0,r.Z)(t,"".concat(k,"-no-default-orientation-margin-left"),O),(0,r.Z)(t,"".concat(k,"-no-default-orientation-margin-right"),x),t),E),L=(0,n.Z)((0,n.Z)({},O&&{marginLeft:h}),x&&{marginRight:h});return c.createElement("div",(0,n.Z)({className:w},b,{role:"separator"}),M&&"vertical"!==p&&c.createElement("span",{className:"".concat(k,"-inner-text"),style:L},M))}},33859:function(e,t,a){"use strict";a.d(t,{ZP:function(){return O}});var n=a(4942),r=a(89739),l=a(4340),o=a(21640),c=a(1413),i=a(67294),u={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"},s=a(42135),f=function(e,t){return i.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="WarningFilled";var d=i.forwardRef(f),p=a(94184),v=a.n(p),m=a(53124),h=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"})))},E=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)"})))},M=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"})))},g={success:r.Z,error:l.Z,info:o.Z,warning:d},y={404:h,500:E,403:M},b=Object.keys(y),k=function(e){var t=e.prefixCls,a=e.icon,n=e.status,r=v()("".concat(t,"-icon"));if(b.includes("".concat(n))){var l=y[n];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(l,null))}var o=i.createElement(g[n]);return i.createElement("div",{className:r},a||o)},C=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},F=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,l=e.title,o=e.style,c=e.children,u=e.status,s=void 0===u?"info":u,f=e.icon,d=e.extra,p=i.useContext(m.E_),h=p.getPrefixCls,E=p.direction,M=h("result",t),g=v()(M,"".concat(M,"-").concat(s),a,(0,n.Z)({},"".concat(M,"-rtl"),"rtl"===E));return i.createElement("div",{className:g,style:o},i.createElement(k,{prefixCls:M,status:s,icon:f}),i.createElement("div",{className:"".concat(M,"-title")},l),r&&i.createElement("div",{className:"".concat(M,"-subtitle")},r),i.createElement(C,{prefixCls:M,extra:d}),c&&i.createElement("div",{className:"".concat(M,"-content")},c))};F.PRESENTED_IMAGE_403=y[403],F.PRESENTED_IMAGE_404=y[404],F.PRESENTED_IMAGE_500=y[500];var O=F},45471:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=a(66764),r=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=r;var l=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=l},53683:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var n=function(){return{height:0,opacity:0}},r=function(e){return{height:e.scrollHeight,opacity:1}},l=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},o={motionName:"ant-motion-collapse",onAppearStart:n,onEnterStart:n,onAppearActive:r,onEnterActive:r,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:n,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500};(0,a(66764).tuple)("bottomLeft","bottomRight","topLeft","topRight");t.getTransitionDirection=function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"};t.getTransitionName=function(e,t,a){return void 0!==a?a:"".concat(e,"-").concat(t)};var c=o;t.default=c},74132:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,a=void 0===t?4:t,n=e.horizontalArrowShift,o=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,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:[-(o+a),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+a)]},topRight:{points:["br","tc"],offset:[o+a,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+a)]},bottomRight:{points:["tr","bc"],offset:[o+a,4]},rightBottom:{points:["bl","cr"],offset:[4,s+a]},bottomLeft:{points:["tl","bc"],offset:[-(o+a),4]},leftBottom:{points:["br","cl"],offset:[-4,s+a]}};return Object.keys(p).forEach((function(e){p[e]=d?(0,r.default)((0,r.default)({},p[e]),{overflow:u(f),targetOffset:i}):(0,r.default)((0,r.default)({},l.placements[e]),{overflow:u(f)}),p[e].ignoreShake=!0})),p},t.getOverflowOptions=u;var r=n(a(10434)),l=a(24375),o={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"===typeof e?e?o:c:(0,r.default)((0,r.default)({},c),e)}},47419:function(e,t,a){"use strict";var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return o(e,e,t)},t.isFragment=function(e){return e&&e.type===r.Fragment},t.isValidElement=void 0,t.replaceElement=o;var r=n(a(67294)),l=r.isValidElement;function o(e,t,a){return l(e)?r.cloneElement(e,"function"===typeof a?a(e.props||{}):a):t}t.isValidElement=l},71434:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,a){var n;return(0,l.default)((n={},(0,r.default)(n,"".concat(e,"-status-success"),"success"===t),(0,r.default)(n,"".concat(e,"-status-warning"),"warning"===t),(0,r.default)(n,"".concat(e,"-status-error"),"error"===t),(0,r.default)(n,"".concat(e,"-status-validating"),"validating"===t),(0,r.default)(n,"".concat(e,"-has-feedback"),a),n))};var r=n(a(38416)),l=n(a(94184));(0,a(66764).tuple)("warning","error","");t.getMergedStatus=function(e,t){return t||e}},38882:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return o.isStyleSupport}});var r,l=n(a(19158)),o=a(3481),c=function(){return(0,l.default)()&&window.document.documentElement};t.canUseDocElement=c;t.detectFlexGapSupported=function(){if(!c())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}},60938:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27712)),c=n(a(67294)),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);rn&&(r=t),r}var O=v.forwardRef((function(e,t){var a,n=e.prefixCls,r=e.bordered,O=void 0===r||r,x=e.showCount,w=void 0!==x&&x,L=e.maxLength,N=e.className,A=e.style,S=e.size,_=e.disabled,P=e.onCompositionStart,j=e.onCompositionEnd,z=e.onChange,R=e.status,B=k(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),T=v.useContext(m.ConfigContext),I=T.getPrefixCls,D=T.direction,H=v.useContext(E.default),W=v.useContext(h.default),Z=_||W,V=v.useContext(M.FormItemInputContext),U=V.status,K=V.hasFeedback,G=V.isFormItemInput,Q=V.feedbackIcon,Y=(0,g.getMergedStatus)(U,R),X=v.useRef(null),q=v.useRef(null),J=v.useState(!1),$=(0,i.default)(J,2),ee=$[0],te=$[1],ae=v.useRef(),ne=v.useRef(0),re=(0,d.default)(B.defaultValue,{value:B.value}),le=(0,i.default)(re,2),oe=le[0],ce=le[1],ie=B.hidden,ue=function(e,t){void 0===B.value&&(ce(e),null===t||void 0===t||t())},se=Number(L)>0,fe=I("input",n);v.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=X.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,a;(0,b.triggerFocus)(null===(a=null===(t=X.current)||void 0===t?void 0:t.resizableTextArea)||void 0===a?void 0:a.textArea,e)},blur:function(){var e;return null===(e=X.current)||void 0===e?void 0:e.blur()}}}));var de=v.createElement(f.default,(0,c.default)({},(0,p.default)(B,["allowClear"]),{disabled:Z,className:(0,s.default)((a={},(0,o.default)(a,"".concat(fe,"-borderless"),!O),(0,o.default)(a,N,N&&!w),(0,o.default)(a,"".concat(fe,"-sm"),"small"===H||"small"===S),(0,o.default)(a,"".concat(fe,"-lg"),"large"===H||"large"===S),a),(0,g.getStatusClassNames)(fe,Y)),style:w?void 0:A,prefixCls:fe,onCompositionStart:function(e){te(!0),ae.current=oe,ne.current=e.currentTarget.selectionStart,null===P||void 0===P||P(e)},onChange:function(e){var t=e.target.value;!ee&&se&&(t=F(e.target.selectionStart>=L+1||e.target.selectionStart===t.length||!e.target.selectionStart,oe,t,L));ue(t),(0,b.resolveOnChange)(e.currentTarget,e,z,t)},onCompositionEnd:function(e){var t;te(!1);var a=e.currentTarget.value;se&&(a=F(ne.current>=L+1||ne.current===(null===(t=ae.current)||void 0===t?void 0:t.length),ae.current,a,L));a!==oe&&(ue(a),(0,b.resolveOnChange)(e.currentTarget,e,z,a)),null===j||void 0===j||j(e)},ref:X})),pe=(0,b.fixControlledValue)(oe);ee||!se||null!==B.value&&void 0!==B.value||(pe=C(pe,L));var ve=v.createElement(y.default,(0,c.default)({disabled:Z},B,{prefixCls:fe,direction:D,inputType:"text",value:pe,element:de,handleReset:function(e){var t,a,n;ue(""),null===(t=X.current)||void 0===t||t.focus(),(0,b.resolveOnChange)(null===(n=null===(a=X.current)||void 0===a?void 0:a.resizableTextArea)||void 0===n?void 0:n.textArea,e,z)},ref:q,bordered:O,status:R,style:w?void 0:A}));if(w||K){var me,he=(0,u.default)(pe).length,Ee="";return Ee="object"===(0,l.default)(w)?w.formatter({value:pe,count:he,maxLength:L}):"".concat(he).concat(se?" / ".concat(L):""),v.createElement("div",{hidden:ie,className:(0,s.default)("".concat(fe,"-textarea"),(me={},(0,o.default)(me,"".concat(fe,"-textarea-rtl"),"rtl"===D),(0,o.default)(me,"".concat(fe,"-textarea-show-count"),w),(0,o.default)(me,"".concat(fe,"-textarea-in-form-item"),G),me),(0,g.getStatusClassNames)("".concat(fe,"-textarea"),Y,K),N),style:A,"data-count":Ee},ve,K&&v.createElement("span",{className:"".concat(fe,"-textarea-suffix")},Q))}return ve}));t.default=O},36714:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},94055:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(38416)),o=r(a(27424)),c=r(a(10434)),i=r(a(94184)),u=r(a(43763)),s=r(a(60869)),f=n(a(67294)),d=a(31929),p=a(45471),v=a(53683),m=r(a(74132)),h=a(47419),E=(r(a(13594)),function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r=0||n.indexOf("Bottom")>=0?l.top="".concat(r.height-t.offset[1],"px"):(n.indexOf("Top")>=0||n.indexOf("bottom")>=0)&&(l.top="".concat(-t.offset[1],"px")),n.indexOf("left")>=0||n.indexOf("Right")>=0?l.left="".concat(r.width-t.offset[0],"px"):(n.indexOf("right")>=0||n.indexOf("Left")>=0)&&(l.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(l.left," ").concat(l.top)}},overlayInnerStyle:V,arrowContent:f.createElement("span",{className:"".concat(R,"-arrow-content"),style:I}),motion:{motionName:(0,v.getTransitionName)(B,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),T?(0,h.cloneElement)(D,{className:W}):D)}));y.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var b=y;t.default=b},12385:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27424)),c=r(a(18698)),i=r(a(45598)),u=r(a(82546)),s=n(a(67294));function f(e){var t=(0,c.default)(e);return"string"===t||"number"===t}function d(e,t){for(var a=0,n=[],r=0;rt){var c=t-a;return n.push(String(l).slice(0,c)),n}n.push(l),a=o}return e}var p=function(e){var t=e.enabledMeasure,a=e.children,n=e.text,r=e.width,c=e.fontSize,p=e.rows,v=e.onEllipsis,m=s.useState([0,0,0]),h=(0,o.default)(m,2),E=h[0],M=h[1],g=s.useState(0),y=(0,o.default)(g,2),b=y[0],k=y[1],C=(0,o.default)(E,3),F=C[0],O=C[1],x=C[2],w=s.useState(0),L=(0,o.default)(w,2),N=L[0],A=L[1],S=s.useRef(null),_=s.useRef(null),P=s.useMemo((function(){return(0,i.default)(n)}),[n]),j=s.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){f(e)?t+=String(e).length:t+=1})),t}(P)}),[P]),z=s.useMemo((function(){return t&&3===b?a(d(P,O),O1&&et,rt=function(e){var t;Pe(!0),null===(t=Ye.onExpand)||void 0===t||t.call(Ye,e)},lt=y.useState(0),ot=(0,i.default)(lt,2),ct=ot[0],it=ot[1],ut=y.useState(0),st=(0,i.default)(ut,2),ft=st[0],dt=st[1],pt=function(e){var t;Be(e),Re!==e&&(null===(t=Ye.onEllipsis)||void 0===t||t.call(Ye,e))};y.useEffect((function(){var e=Q.current;if(Qe&&et&&e){var t=nt?e.offsetHeight1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.default.Children.forEach(t,(function(t){(void 0!==t&&null!==t||a.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,l.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,a)):n.push(t))})),n};var r=n(a(67294)),l=a(11805)},3481:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){if(!Array.isArray(e)&&void 0!==t)return function(e,t){if(!l(e))return!1;var a=document.createElement("div"),n=a.style[e];return a.style[e]=t,a.style[e]!==n}(e,t);return l(e)};var r=n(a(19158)),l=function(e){if((0,r.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],a=window.document.documentElement;return t.some((function(e){return e in a.style}))}return!1}},27712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={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>=a.F1&&t<=a.F12)return!1;switch(t){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a.ZERO&&e<=a.NINE)return!0;if(e>=a.NUM_ZERO&&e<=a.NUM_MULTIPLY)return!0;if(e>=a.A&&e<=a.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},n=a;t.default=n},18545:function(e,t,a){"use strict";var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useRef();t.current=e;var a=r.useCallback((function(){for(var e,a=arguments.length,n=new Array(a),r=0;r=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],n=e.matchHandlers[a];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],l=function(a){var l=a.matches;e.dispatch((0,r.Z)((0,r.Z)({},u),(0,n.Z)({},t,l)))},c=window.matchMedia(a);c.addListener(l),e.matchHandlers[a]={mql:c,listener:l},l(c)}))}};t.ZP=s},27049:function(e,t,a){"use strict";var n=a(87462),r=a(4942),l=a(94184),o=a.n(l),c=a(67294),i=a(53124),u=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r0?"-".concat(m):m,F=!!M,O="left"===m&&null!=h,x="right"===m&&null!=h,w=o()(k,"".concat(k,"-").concat(p),(t={},(0,r.Z)(t,"".concat(k,"-with-text"),F),(0,r.Z)(t,"".concat(k,"-with-text").concat(C),F),(0,r.Z)(t,"".concat(k,"-dashed"),!!g),(0,r.Z)(t,"".concat(k,"-plain"),!!y),(0,r.Z)(t,"".concat(k,"-rtl"),"rtl"===s),(0,r.Z)(t,"".concat(k,"-no-default-orientation-margin-left"),O),(0,r.Z)(t,"".concat(k,"-no-default-orientation-margin-right"),x),t),E),L=(0,n.Z)((0,n.Z)({},O&&{marginLeft:h}),x&&{marginRight:h});return c.createElement("div",(0,n.Z)({className:w},b,{role:"separator"}),M&&"vertical"!==p&&c.createElement("span",{className:"".concat(k,"-inner-text"),style:L},M))}},33859:function(e,t,a){"use strict";a.d(t,{ZP:function(){return O}});var n=a(4942),r=a(89739),l=a(4340),o=a(21640),c=a(1413),i=a(67294),u={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"},s=a(42135),f=function(e,t){return i.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="WarningFilled";var d=i.forwardRef(f),p=a(94184),v=a.n(p),m=a(53124),h=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"})))},E=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)"})))},M=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"})))},g={success:r.Z,error:l.Z,info:o.Z,warning:d},y={404:h,500:E,403:M},b=Object.keys(y),k=function(e){var t=e.prefixCls,a=e.icon,n=e.status,r=v()("".concat(t,"-icon"));if(b.includes("".concat(n))){var l=y[n];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(l,null))}var o=i.createElement(g[n]);return i.createElement("div",{className:r},a||o)},C=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},F=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,l=e.title,o=e.style,c=e.children,u=e.status,s=void 0===u?"info":u,f=e.icon,d=e.extra,p=i.useContext(m.E_),h=p.getPrefixCls,E=p.direction,M=h("result",t),g=v()(M,"".concat(M,"-").concat(s),a,(0,n.Z)({},"".concat(M,"-rtl"),"rtl"===E));return i.createElement("div",{className:g,style:o},i.createElement(k,{prefixCls:M,status:s,icon:f}),i.createElement("div",{className:"".concat(M,"-title")},l),r&&i.createElement("div",{className:"".concat(M,"-subtitle")},r),i.createElement(C,{prefixCls:M,extra:d}),c&&i.createElement("div",{className:"".concat(M,"-content")},c))};F.PRESENTED_IMAGE_403=y[403],F.PRESENTED_IMAGE_404=y[404],F.PRESENTED_IMAGE_500=y[500];var O=F},45471:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=a(66764),r=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=r;var l=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=l},53683:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var n=function(){return{height:0,opacity:0}},r=function(e){return{height:e.scrollHeight,opacity:1}},l=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},o={motionName:"ant-motion-collapse",onAppearStart:n,onEnterStart:n,onAppearActive:r,onEnterActive:r,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:n,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500};(0,a(66764).tuple)("bottomLeft","bottomRight","topLeft","topRight");t.getTransitionDirection=function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"};t.getTransitionName=function(e,t,a){return void 0!==a?a:"".concat(e,"-").concat(t)};var c=o;t.default=c},74132:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,a=void 0===t?4:t,n=e.horizontalArrowShift,o=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,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:[-(o+a),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+a)]},topRight:{points:["br","tc"],offset:[o+a,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+a)]},bottomRight:{points:["tr","bc"],offset:[o+a,4]},rightBottom:{points:["bl","cr"],offset:[4,s+a]},bottomLeft:{points:["tl","bc"],offset:[-(o+a),4]},leftBottom:{points:["br","cl"],offset:[-4,s+a]}};return Object.keys(p).forEach((function(e){p[e]=d?(0,r.default)((0,r.default)({},p[e]),{overflow:u(f),targetOffset:i}):(0,r.default)((0,r.default)({},l.placements[e]),{overflow:u(f)}),p[e].ignoreShake=!0})),p},t.getOverflowOptions=u;var r=n(a(10434)),l=a(24375),o={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"===typeof e?e?o:c:(0,r.default)((0,r.default)({},c),e)}},47419:function(e,t,a){"use strict";var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return o(e,e,t)},t.isFragment=function(e){return e&&e.type===r.Fragment},t.isValidElement=void 0,t.replaceElement=o;var r=n(a(67294)),l=r.isValidElement;function o(e,t,a){return l(e)?r.cloneElement(e,"function"===typeof a?a(e.props||{}):a):t}t.isValidElement=l},71434:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,a){var n;return(0,l.default)((n={},(0,r.default)(n,"".concat(e,"-status-success"),"success"===t),(0,r.default)(n,"".concat(e,"-status-warning"),"warning"===t),(0,r.default)(n,"".concat(e,"-status-error"),"error"===t),(0,r.default)(n,"".concat(e,"-status-validating"),"validating"===t),(0,r.default)(n,"".concat(e,"-has-feedback"),a),n))};var r=n(a(38416)),l=n(a(94184));(0,a(66764).tuple)("warning","error","");t.getMergedStatus=function(e,t){return t||e}},38882:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return o.isStyleSupport}});var r,l=n(a(19158)),o=a(3481),c=function(){return(0,l.default)()&&window.document.documentElement};t.canUseDocElement=c;t.detectFlexGapSupported=function(){if(!c())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}},60938:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27712)),c=n(a(67294)),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);rn&&(r=t),r}var O=v.forwardRef((function(e,t){var a,n=e.prefixCls,r=e.bordered,O=void 0===r||r,x=e.showCount,w=void 0!==x&&x,L=e.maxLength,N=e.className,A=e.style,S=e.size,_=e.disabled,P=e.onCompositionStart,j=e.onCompositionEnd,z=e.onChange,R=e.status,B=k(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),T=v.useContext(m.ConfigContext),I=T.getPrefixCls,D=T.direction,H=v.useContext(E.default),W=v.useContext(h.default),Z=_||W,V=v.useContext(M.FormItemInputContext),U=V.status,K=V.hasFeedback,G=V.isFormItemInput,Q=V.feedbackIcon,Y=(0,g.getMergedStatus)(U,R),X=v.useRef(null),q=v.useRef(null),J=v.useState(!1),$=(0,i.default)(J,2),ee=$[0],te=$[1],ae=v.useRef(),ne=v.useRef(0),re=(0,d.default)(B.defaultValue,{value:B.value}),le=(0,i.default)(re,2),oe=le[0],ce=le[1],ie=B.hidden,ue=function(e,t){void 0===B.value&&(ce(e),null===t||void 0===t||t())},se=Number(L)>0,fe=I("input",n);v.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=X.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,a;(0,b.triggerFocus)(null===(a=null===(t=X.current)||void 0===t?void 0:t.resizableTextArea)||void 0===a?void 0:a.textArea,e)},blur:function(){var e;return null===(e=X.current)||void 0===e?void 0:e.blur()}}}));var de=v.createElement(f.default,(0,c.default)({},(0,p.default)(B,["allowClear"]),{disabled:Z,className:(0,s.default)((a={},(0,o.default)(a,"".concat(fe,"-borderless"),!O),(0,o.default)(a,N,N&&!w),(0,o.default)(a,"".concat(fe,"-sm"),"small"===H||"small"===S),(0,o.default)(a,"".concat(fe,"-lg"),"large"===H||"large"===S),a),(0,g.getStatusClassNames)(fe,Y)),style:w?void 0:A,prefixCls:fe,onCompositionStart:function(e){te(!0),ae.current=oe,ne.current=e.currentTarget.selectionStart,null===P||void 0===P||P(e)},onChange:function(e){var t=e.target.value;!ee&&se&&(t=F(e.target.selectionStart>=L+1||e.target.selectionStart===t.length||!e.target.selectionStart,oe,t,L));ue(t),(0,b.resolveOnChange)(e.currentTarget,e,z,t)},onCompositionEnd:function(e){var t;te(!1);var a=e.currentTarget.value;se&&(a=F(ne.current>=L+1||ne.current===(null===(t=ae.current)||void 0===t?void 0:t.length),ae.current,a,L));a!==oe&&(ue(a),(0,b.resolveOnChange)(e.currentTarget,e,z,a)),null===j||void 0===j||j(e)},ref:X})),pe=(0,b.fixControlledValue)(oe);ee||!se||null!==B.value&&void 0!==B.value||(pe=C(pe,L));var ve=v.createElement(y.default,(0,c.default)({disabled:Z},B,{prefixCls:fe,direction:D,inputType:"text",value:pe,element:de,handleReset:function(e){var t,a,n;ue(""),null===(t=X.current)||void 0===t||t.focus(),(0,b.resolveOnChange)(null===(n=null===(a=X.current)||void 0===a?void 0:a.resizableTextArea)||void 0===n?void 0:n.textArea,e,z)},ref:q,bordered:O,status:R,style:w?void 0:A}));if(w||K){var me,he=(0,u.default)(pe).length,Ee="";return Ee="object"===(0,l.default)(w)?w.formatter({value:pe,count:he,maxLength:L}):"".concat(he).concat(se?" / ".concat(L):""),v.createElement("div",{hidden:ie,className:(0,s.default)("".concat(fe,"-textarea"),(me={},(0,o.default)(me,"".concat(fe,"-textarea-rtl"),"rtl"===D),(0,o.default)(me,"".concat(fe,"-textarea-show-count"),w),(0,o.default)(me,"".concat(fe,"-textarea-in-form-item"),G),me),(0,g.getStatusClassNames)("".concat(fe,"-textarea"),Y,K),N),style:A,"data-count":Ee},ve,K&&v.createElement("span",{className:"".concat(fe,"-textarea-suffix")},Q))}return ve}));t.default=O},36714:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},94055:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(38416)),o=r(a(27424)),c=r(a(10434)),i=r(a(94184)),u=r(a(43763)),s=r(a(60869)),f=n(a(67294)),d=a(31929),p=a(45471),v=a(53683),m=r(a(74132)),h=a(47419),E=(r(a(13594)),function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r=0||n.indexOf("Bottom")>=0?l.top="".concat(r.height-t.offset[1],"px"):(n.indexOf("Top")>=0||n.indexOf("bottom")>=0)&&(l.top="".concat(-t.offset[1],"px")),n.indexOf("left")>=0||n.indexOf("Right")>=0?l.left="".concat(r.width-t.offset[0],"px"):(n.indexOf("right")>=0||n.indexOf("Left")>=0)&&(l.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(l.left," ").concat(l.top)}},overlayInnerStyle:V,arrowContent:f.createElement("span",{className:"".concat(R,"-arrow-content"),style:I}),motion:{motionName:(0,v.getTransitionName)(B,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),T?(0,h.cloneElement)(D,{className:W}):D)}));y.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var b=y;t.default=b},12385:function(e,t,a){"use strict";var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27424)),c=r(a(18698)),i=r(a(45598)),u=r(a(82546)),s=n(a(67294));function f(e){var t=(0,c.default)(e);return"string"===t||"number"===t}function d(e,t){for(var a=0,n=[],r=0;rt){var c=t-a;return n.push(String(l).slice(0,c)),n}n.push(l),a=o}return e}var p=function(e){var t=e.enabledMeasure,a=e.children,n=e.text,r=e.width,c=e.fontSize,p=e.rows,v=e.onEllipsis,m=s.useState([0,0,0]),h=(0,o.default)(m,2),E=h[0],M=h[1],g=s.useState(0),y=(0,o.default)(g,2),b=y[0],k=y[1],C=(0,o.default)(E,3),F=C[0],O=C[1],x=C[2],w=s.useState(0),L=(0,o.default)(w,2),N=L[0],A=L[1],S=s.useRef(null),_=s.useRef(null),P=s.useMemo((function(){return(0,i.default)(n)}),[n]),j=s.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){f(e)?t+=String(e).length:t+=1})),t}(P)}),[P]),z=s.useMemo((function(){return t&&3===b?a(d(P,O),O1&&et,rt=function(e){var t;Pe(!0),null===(t=Ye.onExpand)||void 0===t||t.call(Ye,e)},lt=y.useState(0),ot=(0,i.default)(lt,2),ct=ot[0],it=ot[1],ut=y.useState(0),st=(0,i.default)(ut,2),ft=st[0],dt=st[1],pt=function(e){var t;Be(e),Re!==e&&(null===(t=Ye.onEllipsis)||void 0===t||t.call(Ye,e))};y.useEffect((function(){var e=Q.current;if(Qe&&et&&e){var t=nt?e.offsetHeight1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.default.Children.forEach(t,(function(t){(void 0!==t&&null!==t||a.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,l.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,a)):n.push(t))})),n};var r=n(a(67294)),l=a(11805)},3481:function(e,t,a){"use strict";var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){if(!Array.isArray(e)&&void 0!==t)return function(e,t){if(!l(e))return!1;var a=document.createElement("div"),n=a.style[e];return a.style[e]=t,a.style[e]!==n}(e,t);return l(e)};var r=n(a(19158)),l=function(e){if((0,r.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],a=window.document.documentElement;return t.some((function(e){return e in a.style}))}return!1}},27712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={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>=a.F1&&t<=a.F12)return!1;switch(t){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a.ZERO&&e<=a.NINE)return!0;if(e>=a.NUM_ZERO&&e<=a.NUM_MULTIPLY)return!0;if(e>=a.A&&e<=a.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},n=a;t.default=n},18545:function(e,t,a){"use strict";var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useRef();t.current=e;var a=r.useCallback((function(){for(var e,a=arguments.length,n=new Array(a),r=0;r=1},subscribe:function(e){return c.size||this.register(),s+=1,c.set(s,e),e(l),s},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(n){var t=o[n],i=e.matchHandlers[t];null===i||void 0===i||i.mql.removeListener(null===i||void 0===i?void 0:i.listener)})),c.clear()},register:function(){var e=this;Object.keys(o).forEach((function(n){var t=o[n],a=function(t){var a=t.matches;e.dispatch((0,r.Z)((0,r.Z)({},l),(0,i.Z)({},n,a)))},c=window.matchMedia(t);c.addListener(a),e.matchHandlers[t]={mql:c,listener:a},a(c)}))}};n.ZP=u},11382:function(e,n,t){"use strict";var i=t(87462),r=t(4942),a=t(15671),o=t(43144),c=t(60136),s=t(33643),l=t(94184),u=t.n(l),f=t(23279),p=t.n(f),d=t(98423),v=t(67294),m=t(53124),g=t(96159),h=t(93355),y=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r=n||t<0||g&&e-v>=u}function x(){var e=r();if(w(e))return C(e);p=setTimeout(x,function(e){var t=n-(e-d);return g?c(t,u-(e-v)):t}(e))}function C(e){return p=void 0,h&&s?y(e):(s=l=void 0,f)}function N(){var e=r(),t=w(e);if(s=arguments,l=this,d=e,t){if(void 0===p)return b(d);if(g)return clearTimeout(p),p=setTimeout(x,n),y(d)}return void 0===p&&(p=setTimeout(x,n)),f}return n=a(n)||0,i(t)&&(m=!!t.leading,u=(g="maxWait"in t)?o(a(t.maxWait)||0,n):u,h="trailing"in t?!!t.trailing:h),N.cancel=function(){void 0!==p&&clearTimeout(p),v=0,s=d=l=p=void 0},N.flush=function(){return void 0===p?f:C(r())},N}},33448:function(e,n,t){var i=t(44239),r=t(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,n,t){var i=t(55639);e.exports=function(){return i.Date.now()}},14841:function(e,n,t){var i=t(27561),r=t(13218),a=t(33448),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=r(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var t=c.test(e);return t||s.test(e)?l(e.slice(2),t?2:8):o.test(e)?NaN:+e}},60057:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var i=t(4942),r=t(1413),a=t(97685),o=t(91),c=t(67294),s=t(51169),l=t(94184),u=t.n(l),f={adjustX:1,adjustY:1},p=[0,0],d={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}},v=t(15105),m=t(75164),g=t(88603),h=v.Z.ESC,y=v.Z.TAB;var b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function w(e,n){var t=e.arrow,l=void 0!==t&&t,f=e.prefixCls,p=void 0===f?"rc-dropdown":f,v=e.transitionName,w=e.animation,x=e.align,C=e.placement,N=void 0===C?"bottomLeft":C,Z=e.placements,E=void 0===Z?d:Z,S=e.getPopupContainer,O=e.showAction,k=e.hideAction,P=e.overlayClassName,T=e.overlayStyle,z=e.visible,M=e.trigger,R=void 0===M?["hover"]:M,A=e.autoFocus,j=(0,o.Z)(e,b),V=c.useState(),L=(0,a.Z)(V,2),U=L[0],W=L[1],D="visible"in e?z:U,F=c.useRef(null);c.useImperativeHandle(n,(function(){return F.current})),function(e){var n=e.visible,t=e.setTriggerVisible,i=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=c.useRef(!1),s=function(){var e,a,o,c;n&&i.current&&(null===(e=i.current)||void 0===e||null===(a=e.triggerRef)||void 0===a||null===(o=a.current)||void 0===o||null===(c=o.focus)||void 0===c||c.call(o),t(!1),"function"===typeof r&&r(!1))},l=function(){var e,n,t,r,a=(0,g.tS)(null===(e=i.current)||void 0===e||null===(n=e.popupRef)||void 0===n||null===(t=n.current)||void 0===t||null===(r=t.getElement)||void 0===r?void 0:r.call(t))[0];return!!(null===a||void 0===a?void 0:a.focus)&&(a.focus(),o.current=!0,!0)},u=function(e){switch(e.keyCode){case h:s();break;case y:var n=!1;o.current||(n=l()),n?e.preventDefault():s()}};c.useEffect((function(){return n?(window.addEventListener("keydown",u),a&&(0,m.Z)(l,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}}),[n])}({visible:D,setTriggerVisible:W,triggerRef:F,onVisibleChange:e.onVisibleChange,autoFocus:A});var H=function(){var n=function(){var n=e.overlay;return"function"===typeof n?n():n}();return c.createElement(c.Fragment,null,l&&c.createElement("div",{className:"".concat(p,"-arrow")}),n)},$=k;return $||-1===R.indexOf("contextMenu")||($=["click"]),c.createElement(s.Z,(0,r.Z)((0,r.Z)({builtinPlacements:E},j),{},{prefixCls:p,ref:F,popupClassName:u()(P,(0,i.Z)({},"".concat(p,"-show-arrow"),l)),popupStyle:T,action:R,showAction:O,hideAction:$||[],popupPlacement:N,popupAlign:x,popupTransitionName:v,popupAnimation:w,popupVisible:D,stretch:function(){var n=e.minOverlayWidthMatchTrigger,t=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?n:!t}()?"minWidth":"",popup:"function"===typeof e.overlay?H:H(),onPopupVisibleChange:function(n){var t=e.onVisibleChange;W(n),"function"===typeof t&&t(n)},onPopupClick:function(n){var t=e.onOverlayClick;W(!1),t&&t(n)},getPopupContainer:S}),function(){var n=e.children,t=n.props?n.props:{},i=u()(t.className,function(){var n=e.openClassName;return void 0!==n?n:"".concat(p,"-open")}());return D&&n?c.cloneElement(n,{className:i}):n}())}var x=c.forwardRef(w)}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6610],{24019:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var i=t(1413),r=t(67294),a={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"},o=t(42135),c=function(e,n){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:n,icon:a}))};c.displayName="ClockCircleOutlined";var s=r.forwardRef(c)},93069:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var i=t(1413),r=t(67294),a={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"},o=t(42135),c=function(e,n){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:n,icon:a}))};c.displayName="WifiOutlined";var s=r.forwardRef(c)},24308:function(e,n,t){"use strict";t.d(n,{c4:function(){return a}});var i=t(4942),r=t(87462),a=["xxl","xl","lg","md","sm","xs"],o={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,s=-1,l={},u={matchHandlers:{},dispatch:function(e){return l=e,c.forEach((function(e){return e(l)})),c.size>=1},subscribe:function(e){return c.size||this.register(),s+=1,c.set(s,e),e(l),s},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(n){var t=o[n],i=e.matchHandlers[t];null===i||void 0===i||i.mql.removeListener(null===i||void 0===i?void 0:i.listener)})),c.clear()},register:function(){var e=this;Object.keys(o).forEach((function(n){var t=o[n],a=function(t){var a=t.matches;e.dispatch((0,r.Z)((0,r.Z)({},l),(0,i.Z)({},n,a)))},c=window.matchMedia(t);c.addListener(a),e.matchHandlers[t]={mql:c,listener:a},a(c)}))}};n.ZP=u},11382:function(e,n,t){"use strict";var i=t(87462),r=t(4942),a=t(15671),o=t(43144),c=t(60136),s=t(33643),l=t(94184),u=t.n(l),f=t(23279),p=t.n(f),d=t(98423),v=t(67294),m=t(53124),g=t(96159),h=t(93355),y=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r=n||t<0||g&&e-v>=u}function x(){var e=r();if(w(e))return C(e);p=setTimeout(x,function(e){var t=n-(e-d);return g?c(t,u-(e-v)):t}(e))}function C(e){return p=void 0,h&&s?y(e):(s=l=void 0,f)}function N(){var e=r(),t=w(e);if(s=arguments,l=this,d=e,t){if(void 0===p)return b(d);if(g)return clearTimeout(p),p=setTimeout(x,n),y(d)}return void 0===p&&(p=setTimeout(x,n)),f}return n=a(n)||0,i(t)&&(m=!!t.leading,u=(g="maxWait"in t)?o(a(t.maxWait)||0,n):u,h="trailing"in t?!!t.trailing:h),N.cancel=function(){void 0!==p&&clearTimeout(p),v=0,s=d=l=p=void 0},N.flush=function(){return void 0===p?f:C(r())},N}},33448:function(e,n,t){var i=t(44239),r=t(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,n,t){var i=t(55639);e.exports=function(){return i.Date.now()}},14841:function(e,n,t){var i=t(27561),r=t(13218),a=t(33448),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(r(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=r(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var t=c.test(e);return t||s.test(e)?l(e.slice(2),t?2:8):o.test(e)?NaN:+e}},60057:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var i=t(4942),r=t(1413),a=t(97685),o=t(45987),c=t(67294),s=t(51169),l=t(94184),u=t.n(l),f={adjustX:1,adjustY:1},p=[0,0],d={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}},v=t(15105),m=t(75164),g=t(88603),h=v.Z.ESC,y=v.Z.TAB;var b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function w(e,n){var t=e.arrow,l=void 0!==t&&t,f=e.prefixCls,p=void 0===f?"rc-dropdown":f,v=e.transitionName,w=e.animation,x=e.align,C=e.placement,N=void 0===C?"bottomLeft":C,Z=e.placements,E=void 0===Z?d:Z,S=e.getPopupContainer,O=e.showAction,k=e.hideAction,P=e.overlayClassName,T=e.overlayStyle,z=e.visible,M=e.trigger,R=void 0===M?["hover"]:M,A=e.autoFocus,j=(0,o.Z)(e,b),V=c.useState(),L=(0,a.Z)(V,2),U=L[0],W=L[1],D="visible"in e?z:U,F=c.useRef(null);c.useImperativeHandle(n,(function(){return F.current})),function(e){var n=e.visible,t=e.setTriggerVisible,i=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=c.useRef(!1),s=function(){var e,a,o,c;n&&i.current&&(null===(e=i.current)||void 0===e||null===(a=e.triggerRef)||void 0===a||null===(o=a.current)||void 0===o||null===(c=o.focus)||void 0===c||c.call(o),t(!1),"function"===typeof r&&r(!1))},l=function(){var e,n,t,r,a=(0,g.tS)(null===(e=i.current)||void 0===e||null===(n=e.popupRef)||void 0===n||null===(t=n.current)||void 0===t||null===(r=t.getElement)||void 0===r?void 0:r.call(t))[0];return!!(null===a||void 0===a?void 0:a.focus)&&(a.focus(),o.current=!0,!0)},u=function(e){switch(e.keyCode){case h:s();break;case y:var n=!1;o.current||(n=l()),n?e.preventDefault():s()}};c.useEffect((function(){return n?(window.addEventListener("keydown",u),a&&(0,m.Z)(l,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}}),[n])}({visible:D,setTriggerVisible:W,triggerRef:F,onVisibleChange:e.onVisibleChange,autoFocus:A});var H=function(){var n=function(){var n=e.overlay;return"function"===typeof n?n():n}();return c.createElement(c.Fragment,null,l&&c.createElement("div",{className:"".concat(p,"-arrow")}),n)},$=k;return $||-1===R.indexOf("contextMenu")||($=["click"]),c.createElement(s.Z,(0,r.Z)((0,r.Z)({builtinPlacements:E},j),{},{prefixCls:p,ref:F,popupClassName:u()(P,(0,i.Z)({},"".concat(p,"-show-arrow"),l)),popupStyle:T,action:R,showAction:O,hideAction:$||[],popupPlacement:N,popupAlign:x,popupTransitionName:v,popupAnimation:w,popupVisible:D,stretch:function(){var n=e.minOverlayWidthMatchTrigger,t=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?n:!t}()?"minWidth":"",popup:"function"===typeof e.overlay?H:H(),onPopupVisibleChange:function(n){var t=e.onVisibleChange;W(n),"function"===typeof t&&t(n)},onPopupClick:function(n){var t=e.onOverlayClick;W(!1),t&&t(n)},getPopupContainer:S}),function(){var n=e.children,t=n.props?n.props:{},i=u()(t.className,function(){var n=e.openClassName;return void 0!==n?n:"".concat(p,"-open")}());return D&&n?c.cloneElement(n,{className:i}):n}())}var x=c.forwardRef(w)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7910-7248e2d1496cf795.js b/static/web/_next/static/chunks/7910-7248e2d1496cf795.js deleted file mode 100644 index 62a506a04..000000000 --- a/static/web/_next/static/chunks/7910-7248e2d1496cf795.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7910],{97910:function(e,t,r){r.d(t,{Z:function(){return H}});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),d=r(98423),p=r(67294),f=r(53124),v=r(93355),k=r(92138),y=r(91),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,p.useRef)([]),t=(0,p.useRef)(null);return(0,p.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"],C=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,d=e.trailWidth,f=e.transition,v=(0,y.Z)(e,g);delete v.gapPosition;var k=Array.isArray(r)?r:[r],m=Array.isArray(s)?s:[s],C=h(),b=c/2,E=100-c/2,x="M ".concat("round"===a?b:0,",").concat(b,"\n L ").concat("round"===a?E:100,",").concat(b),O="0 0 100 ".concat(c),N=0;return p.createElement("svg",(0,n.Z)({className:u()("".concat(o,"-line"),t),viewBox:O,preserveAspectRatio:"none",style:i},v),p.createElement("path",{className:"".concat(o,"-line-trail"),d:x,strokeLinecap:a,stroke:l,strokeWidth:d||c,fillOpacity:"0"}),k.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(N,"px"),transition:f||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=m[t]||m[m.length-1];return N+=e,p.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:x,strokeLinecap:a,stroke:s,strokeWidth:c,fillOpacity:"0",ref:function(e){C[t]=e},style:n})})))};C.defaultProps=m,C.displayName="Line";var b=r(71002),E=r(97685),x=r(98924),O=0,N=(0,x.Z)();var Z=function(e){var t=p.useState(),r=(0,E.Z)(t,2),o=r[0],n=r[1];return p.useEffect((function(){n("rc_progress_".concat(function(){var e;return N?(e=O,O+=1):e="TEST_OR_SSR",e}()))}),[]),e||o},w=["id","prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function P(e){return+e.replace("%","")}function W(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}var j=100,D=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,i=n>0?90+n/2:-90,l=2*Math.PI*e,u=l*((360-n)/360),d=t/100*360*((360-n)/360),p=0===n?0:{bottom:0,top:180,left:90,right:-90}[s],f=(100-r)/100*u;return"round"===a&&100!==r&&(f+=c/2)>=u&&(f=u-.01),{stroke:"string"===typeof o?o:void 0,strokeDasharray:"".concat(u,"px ").concat(l),strokeDashoffset:f,transform:"rotate(".concat(i+d+p,"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},L=function(e){var t=e.id,r=e.prefixCls,o=e.strokeWidth,s=e.trailWidth,a=e.gapDegree,c=e.gapPosition,i=e.trailColor,l=e.strokeLinecap,d=e.style,f=e.className,v=e.strokeColor,k=e.percent,m=(0,y.Z)(e,w),g=Z(t),C="".concat(g,"-gradient"),E=50-o/2,x=D(E,0,100,i,a,c,l,o),O=W(k),N=W(v),L=N.find((function(e){return e&&"object"===(0,b.Z)(e)})),A=h();return p.createElement("svg",(0,n.Z)({className:u()("".concat(r,"-circle"),f),viewBox:"0 0 ".concat(j," ").concat(j),style:d,id:t},m),L&&p.createElement("defs",null,p.createElement("linearGradient",{id:C,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(L).sort((function(e,t){return P(e)-P(t)})).map((function(e,t){return p.createElement("stop",{key:t,offset:e,stopColor:L[e]})})))),p.createElement("circle",{className:"".concat(r,"-circle-trail"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:s||o,style:x}),function(){var e=0;return O.map((function(t,n){var s=N[n]||N[N.length-1],i=s&&"object"===(0,b.Z)(s)?"url(#".concat(C,")"):void 0,u=D(E,e,t,s,a,c,l,o);return e+=t,p.createElement("circle",{key:n,className:"".concat(r,"-circle-path"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:o,opacity:0===t?0:1,style:u,ref:function(e){A[n]=e}})})).reverse()}())};L.defaultProps=m,L.displayName="Circle";var A=L;function S(e){return!e||e<0?0:e>100?100:e}function _(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}function I(e){var t=e.percent,r=S(_({success:e.success,successPercent:e.successPercent}));return[r,S(S(t)-r)]}var R=function(e){var t=e.prefixCls,r=e.width,n=e.strokeWidth,s=e.trailColor,a=void 0===s?null:s,c=e.strokeLinecap,i=void 0===c?"round":c,l=e.gapPosition,d=e.gapDegree,f=e.type,v=e.children,y=e.success,m=r||120,h={width:m,height:m,fontSize:.15*m+6},g=n||6,C=l||"dashboard"===f&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=function(e){var t=e.success,r=void 0===t?{}:t,o=e.strokeColor;return[r.strokeColor||k.presetPrimaryColors.green,o||null]}({success:y,strokeColor:e.strokeColor}),x=u()("".concat(t,"-inner"),(0,o.Z)({},"".concat(t,"-circle-gradient"),b));return p.createElement("div",{className:x,style:h},p.createElement(A,{percent:I(e),strokeWidth:g,trailWidth:g,strokeColor:E,strokeLinecap:i,trailColor:a,prefixCls:t,gapDegree:d||0===d?d:"dashboard"===f?75:void 0,gapPosition:C}),v)},z=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n=100?"success":t||"normal"}(),D=function(t,r){var o,n=e.format,l=_(e);if(!b)return null;var u="line"===x;return n||"exception"!==r&&"success"!==r?o=(n||function(e){return"".concat(e,"%")})(S(m),S(l)):"exception"===r?o=u?p.createElement(c.Z,null):p.createElement(i.Z,null):"success"===r&&(o=u?p.createElement(s.Z,null):p.createElement(a.Z,null)),p.createElement("span",{className:"".concat(t,"-text"),title:"string"===typeof o?o:void 0},o)}(W,j),L=Array.isArray(k)?k[0]:k,A="string"===typeof k||Array.isArray(k)?k:void 0;"line"===x?N=v?p.createElement(B,(0,n.Z)({},e,{strokeColor:A,prefixCls:W,steps:v}),D):p.createElement(q,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,direction:P}),D):"circle"!==x&&"dashboard"!==x||(N=p.createElement(R,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,progressStatus:j}),D));var I=u()(W,(t={},(0,o.Z)(t,"".concat(W,"-").concat(("dashboard"===x?"circle":v&&"steps")||x),!0),(0,o.Z)(t,"".concat(W,"-status-").concat(j),!0),(0,o.Z)(t,"".concat(W,"-show-info"),b),(0,o.Z)(t,"".concat(W,"-").concat(g),g),(0,o.Z)(t,"".concat(W,"-rtl"),"rtl"===P),t),l);return p.createElement("div",(0,n.Z)({},(0,d.Z)(O,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:I}),N)},H=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js b/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js new file mode 100644 index 000000000..89837aa4d --- /dev/null +++ b/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7910],{97910:function(e,t,r){r.d(t,{Z:function(){return H}});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),d=r(98423),p=r(67294),f=r(53124),v=r(93355),k=r(92138),y=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,p.useRef)([]),t=(0,p.useRef)(null);return(0,p.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"],C=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,d=e.trailWidth,f=e.transition,v=(0,y.Z)(e,g);delete v.gapPosition;var k=Array.isArray(r)?r:[r],m=Array.isArray(s)?s:[s],C=h(),b=c/2,E=100-c/2,x="M ".concat("round"===a?b:0,",").concat(b,"\n L ").concat("round"===a?E:100,",").concat(b),O="0 0 100 ".concat(c),N=0;return p.createElement("svg",(0,n.Z)({className:u()("".concat(o,"-line"),t),viewBox:O,preserveAspectRatio:"none",style:i},v),p.createElement("path",{className:"".concat(o,"-line-trail"),d:x,strokeLinecap:a,stroke:l,strokeWidth:d||c,fillOpacity:"0"}),k.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(N,"px"),transition:f||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=m[t]||m[m.length-1];return N+=e,p.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:x,strokeLinecap:a,stroke:s,strokeWidth:c,fillOpacity:"0",ref:function(e){C[t]=e},style:n})})))};C.defaultProps=m,C.displayName="Line";var b=r(71002),E=r(97685),x=r(98924),O=0,N=(0,x.Z)();var Z=function(e){var t=p.useState(),r=(0,E.Z)(t,2),o=r[0],n=r[1];return p.useEffect((function(){n("rc_progress_".concat(function(){var e;return N?(e=O,O+=1):e="TEST_OR_SSR",e}()))}),[]),e||o},w=["id","prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function P(e){return+e.replace("%","")}function W(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}var j=100,D=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,i=n>0?90+n/2:-90,l=2*Math.PI*e,u=l*((360-n)/360),d=t/100*360*((360-n)/360),p=0===n?0:{bottom:0,top:180,left:90,right:-90}[s],f=(100-r)/100*u;return"round"===a&&100!==r&&(f+=c/2)>=u&&(f=u-.01),{stroke:"string"===typeof o?o:void 0,strokeDasharray:"".concat(u,"px ").concat(l),strokeDashoffset:f,transform:"rotate(".concat(i+d+p,"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},L=function(e){var t=e.id,r=e.prefixCls,o=e.strokeWidth,s=e.trailWidth,a=e.gapDegree,c=e.gapPosition,i=e.trailColor,l=e.strokeLinecap,d=e.style,f=e.className,v=e.strokeColor,k=e.percent,m=(0,y.Z)(e,w),g=Z(t),C="".concat(g,"-gradient"),E=50-o/2,x=D(E,0,100,i,a,c,l,o),O=W(k),N=W(v),L=N.find((function(e){return e&&"object"===(0,b.Z)(e)})),A=h();return p.createElement("svg",(0,n.Z)({className:u()("".concat(r,"-circle"),f),viewBox:"0 0 ".concat(j," ").concat(j),style:d,id:t},m),L&&p.createElement("defs",null,p.createElement("linearGradient",{id:C,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(L).sort((function(e,t){return P(e)-P(t)})).map((function(e,t){return p.createElement("stop",{key:t,offset:e,stopColor:L[e]})})))),p.createElement("circle",{className:"".concat(r,"-circle-trail"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:s||o,style:x}),function(){var e=0;return O.map((function(t,n){var s=N[n]||N[N.length-1],i=s&&"object"===(0,b.Z)(s)?"url(#".concat(C,")"):void 0,u=D(E,e,t,s,a,c,l,o);return e+=t,p.createElement("circle",{key:n,className:"".concat(r,"-circle-path"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:o,opacity:0===t?0:1,style:u,ref:function(e){A[n]=e}})})).reverse()}())};L.defaultProps=m,L.displayName="Circle";var A=L;function S(e){return!e||e<0?0:e>100?100:e}function _(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}function I(e){var t=e.percent,r=S(_({success:e.success,successPercent:e.successPercent}));return[r,S(S(t)-r)]}var R=function(e){var t=e.prefixCls,r=e.width,n=e.strokeWidth,s=e.trailColor,a=void 0===s?null:s,c=e.strokeLinecap,i=void 0===c?"round":c,l=e.gapPosition,d=e.gapDegree,f=e.type,v=e.children,y=e.success,m=r||120,h={width:m,height:m,fontSize:.15*m+6},g=n||6,C=l||"dashboard"===f&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=function(e){var t=e.success,r=void 0===t?{}:t,o=e.strokeColor;return[r.strokeColor||k.presetPrimaryColors.green,o||null]}({success:y,strokeColor:e.strokeColor}),x=u()("".concat(t,"-inner"),(0,o.Z)({},"".concat(t,"-circle-gradient"),b));return p.createElement("div",{className:x,style:h},p.createElement(A,{percent:I(e),strokeWidth:g,trailWidth:g,strokeColor:E,strokeLinecap:i,trailColor:a,prefixCls:t,gapDegree:d||0===d?d:"dashboard"===f?75:void 0,gapPosition:C}),v)},z=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n=100?"success":t||"normal"}(),D=function(t,r){var o,n=e.format,l=_(e);if(!b)return null;var u="line"===x;return n||"exception"!==r&&"success"!==r?o=(n||function(e){return"".concat(e,"%")})(S(m),S(l)):"exception"===r?o=u?p.createElement(c.Z,null):p.createElement(i.Z,null):"success"===r&&(o=u?p.createElement(s.Z,null):p.createElement(a.Z,null)),p.createElement("span",{className:"".concat(t,"-text"),title:"string"===typeof o?o:void 0},o)}(W,j),L=Array.isArray(k)?k[0]:k,A="string"===typeof k||Array.isArray(k)?k:void 0;"line"===x?N=v?p.createElement(B,(0,n.Z)({},e,{strokeColor:A,prefixCls:W,steps:v}),D):p.createElement(q,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,direction:P}),D):"circle"!==x&&"dashboard"!==x||(N=p.createElement(R,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,progressStatus:j}),D));var I=u()(W,(t={},(0,o.Z)(t,"".concat(W,"-").concat(("dashboard"===x?"circle":v&&"steps")||x),!0),(0,o.Z)(t,"".concat(W,"-status-").concat(j),!0),(0,o.Z)(t,"".concat(W,"-show-info"),b),(0,o.Z)(t,"".concat(W,"-").concat(g),g),(0,o.Z)(t,"".concat(W,"-rtl"),"rtl"===P),t),l);return p.createElement("div",(0,n.Z)({},(0,d.Z)(O,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:I}),N)},H=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8607-cb90f82a9c12f20e.js b/static/web/_next/static/chunks/8607-cb90f82a9c12f20e.js new file mode 100644 index 000000000..51f276c68 --- /dev/null +++ b/static/web/_next/static/chunks/8607-cb90f82a9c12f20e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8607],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),s={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"},o=n(42135),a=function(e,t){return i.createElement(o.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:s}))};a.displayName="DeleteOutlined";var l=i.forwardRef(a)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),s={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"},o=n(42135),a=function(e,t){return i.createElement(o.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:s}))};a.displayName="UploadOutlined";var l=i.forwardRef(a)},20151:function(e,t,n){"use strict";n.d(t,{ZP:function(){return Qr}});var r=n(87462),i=n(63366),s=n(67294),o=n(78120),a=n(47421),l=n(59119),c=n(41113);function h(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}const u=h(g,0),f=h(m,0),p=h(((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>r.from?t[s].to=i.to:t.push({from:r.from,to:i.to})}return t}(t))),0);function d(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let r=n.map((e=>d(t,e.from).block));if(!r.every((e=>e)))return null;let i=n.map(((e,n)=>function(e,{open:t,close:n},r,i){let s,o,a=e.sliceDoc(r-50,r),l=e.sliceDoc(i,i+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,u=a.length-c;if(a.slice(u-t.length,u)==t&&l.slice(h,h+n.length)==n)return{open:{pos:r-c,margin:c&&1},close:{pos:i+h,margin:h&&1}};i-r<=100?s=o=e.sliceDoc(r,i):(s=e.sliceDoc(r,r+50),o=e.sliceDoc(i-50,i));let f=/^\s*/.exec(s)[0].length,p=/\s*$/.exec(o)[0].length,d=o.length-p-n.length;return s.slice(f,f+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:r+f+t.length,margin:/\s/.test(s.charAt(f+t.length))?1:0},close:{pos:i-p-n.length,margin:/\s/.test(o.charAt(d-1))?1:0}}:null}(t,r[n],e.from,e.to)));if(2!=e&&!i.every((e=>e)))return{changes:t.changes(n.map(((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}])))};if(1!=e&&i.some((e=>e))){let e=[];for(let t,n=0;ni&&(s==o||o>e.from)){i=e.from;let s=d(t,a).line;if(!s)continue;let o=/^\s*/.exec(e.text)[0].length,l=o==e.length,c=e.text.slice(o,o+s.length)==s?o:-1;oe.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:i,indent:s,empty:o,single:a}of r)!a&&o||e.push({from:t.from+s,insert:i+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,s=r+i.length;" "==t.text[s-t.from]&&s++,e.push({from:r,to:s})}return{changes:e}}return null}const v=o.q6.define(),b=o.q6.define(),k=o.r$.define(),y=o.r$.define({combine:e=>(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})});const x=o.QQ.define({create:()=>M.empty,update(e,t){let n=t.state.facet(y),r=t.annotation(v);if(r){let i=t.docChanged?o.jT.single(function(e){let t=0;return e.iterChangedRanges(((e,n)=>t=n)),t}(t.changes)):void 0,s=A.fromTransaction(t,i),a=r.side,l=0==a?e.undone:e.done;return l=s?D(l,l.length,n.minDepth,s):Q(l,t.startState.selection),new M(0==a?r.rest:l,0==a?l:r.rest)}let i=t.annotation(b);if("full"!=i&&"before"!=i||(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let s=A.fromTransaction(t),a=t.annotation(o.YW.time),l=t.annotation(o.YW.userEvent);return s?e=e.addChanges(s,a,l,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,a,l,n.newGroupDelay)),"full"!=i&&"after"!=i||(e=e.isolate()),e},toJSON:e=>({done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}),fromJSON:e=>new M(e.done.map(A.fromJSON),e.undone.map(A.fromJSON))});function w(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(x,!1);if(!i)return!1;let s=i.pop(e,n,t);return!!s&&(r(s),!0)}}const O=w(0,!1),_=w(1,!1),C=w(0,!0),S=w(1,!0);class A{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}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=P;for(let r of e.startState.facet(k)){let t=r(e);t.length&&(n=n.concat(t))}return!n.length&&e.changes.empty?null:new A(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,P)}static selection(e){return new A(void 0,P,void 0,void 0,e)}}function D(e,t,n,r){let i=t+1>n+20?t-n-1:0,s=e.slice(i,t);return s.push(r),s}function E(e,t){return e.length?t.length?e.concat(t):e:t}const P=[];function Q(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),D(e,e.length-1,1e9,n.setSelAfter(r)))}return[A.selection([t])]}function T(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function I(e,t){if(!e.length)return e;let n=e.length,r=P;for(;n;){let i=z(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let t=e.slice(0,n);return t[n-1]=i,t}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[A.selection(r)]:P}function z(e,t,n){let r=E(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):P,n);if(!e.changes)return A.selection(r);let i=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new A(i,o.Py.mapEffects(e.effects,t),a,e.startSelection.map(s),r)}const R=/^(input\.type|delete)($|\.)/;class M{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new M(this.done,this.undone):this}addChanges(e,t,n,r,i){let s=this.done,o=s[s.length-1];return s=o&&o.changes&&!o.changes.empty&&e.changes&&(!n||R.test(n))&&(!o.selectionsAfter.length&&t-this.prevTimen.push(e,t))),t.iterChangedRanges(((e,t,i,s)=>{for(let o=0;o=e&&i<=t&&(r=!0)}})),r}(o.changes,e.changes)||"input.type.compose"==n)?D(s,s.length-1,i,new A(e.changes.compose(o.changes),E(e.effects,o.effects),o.mapped,o.startSelection,P)):D(s,s.length,i,e),new M(s,P,t,n)}addSelection(e,t,n,r){let i=this.done.length?this.done[this.done.length-1].selectionsAfter:P;return i.length>0&&t-this.prevTimee.empty!=o.ranges[t].empty)).length)?this:new M(Q(this.done,e),this.undone,t,n);var s,o}addMapping(e){return new M(I(this.done,e),I(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1];if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:v.of({side:e,rest:T(r)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){let n=1==r.length?P:r.slice(0,r.length-1);return i.mapped&&(n=I(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:v.of({side:e,rest:n}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}M.empty=new M(P,P);const N=[{key:"Mod-z",run:O,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:_,preventDefault:!0},{linux:"Ctrl-Shift-z",run:_,preventDefault:!0},{key:"Mod-u",run:C,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:S,preventDefault:!0}];function q(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function L(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function F({state:e,dispatch:t},n){let r=q(e.selection,n);return!r.eq(e.selection)&&(t(L(e,r)),!0)}function $(e,t){return o.jT.cursor(t?e.to:e.from)}function B(e,t){return F(e,(n=>n.empty?e.moveByChar(n,t):$(n,t)))}function Z(e){return e.textDirectionAt(e.state.selection.main.head)==a.Nm.LTR}const j=e=>B(e,!Z(e)),W=e=>B(e,Z(e));function U(e,t){return F(e,(n=>n.empty?e.moveByGroup(n,t):$(n,t)))}function J(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function V(e,t,n){let r,i,s=(0,l.qz)(e).resolveInner(t.head),a=n?c.md.closedBy:c.md.openedBy;for(let o=t.head;;){let t=n?s.childAfter(o):s.childBefore(o);if(!t)break;J(e,t,a)?s=t:o=n?t.to:t.from}return i=s.type.prop(a)&&(r=n?(0,l.Um)(e,s.from,1):(0,l.Um)(e,s.to,-1))&&r.matched?n?r.end.to:r.end.from:n?s.to:s.from,o.jT.cursor(i,n?-1:1)}function X(e,t){return F(e,(n=>{if(!n.empty)return $(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}const G=e=>X(e,!1),H=e=>X(e,!0);function Y(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function K(e,t){let{state:n}=e,r=q(n.selection,(n=>n.empty?e.moveVertically(n,t,Y(e)):$(n,t)));if(r.eq(n.selection))return!1;let i,s=e.coordsAtPos(n.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomK(e,!1),te=e=>K(e,!0);function ne(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let n=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;n&&t.head!=r.from+n&&(i=o.jT.cursor(r.from+n))}return i}function re(e,t,n){let r=!1,i=q(e.selection,(t=>{let i=(0,l.Um)(e,t.head,-1)||(0,l.Um)(e,t.head,1)||t.head>0&&(0,l.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(L(e.state,n)),!0)}function se(e,t){return ie(e,(n=>e.moveByChar(n,t)))}const oe=e=>se(e,!Z(e)),ae=e=>se(e,Z(e));function le(e,t){return ie(e,(n=>e.moveByGroup(n,t)))}function ce(e,t){return ie(e,(n=>e.moveVertically(n,t)))}const he=e=>ce(e,!1),ue=e=>ce(e,!0);function fe(e,t){return ie(e,(n=>e.moveVertically(n,t,Y(e))))}const pe=e=>fe(e,!1),de=e=>fe(e,!0),me=({state:e,dispatch:t})=>(t(L(e,{anchor:0})),!0),ge=({state:e,dispatch:t})=>(t(L(e,{anchor:e.doc.length})),!0),ve=({state:e,dispatch:t})=>(t(L(e,{anchor:e.selection.main.anchor,head:0})),!0),be=({state:e,dispatch:t})=>(t(L(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function ke(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange((r=>{let{from:i,to:s}=r;if(i==s){let r=t(i);ri&&(n="delete.forward",r=ye(e,r,!0)),i=Math.min(i,r),s=Math.max(s,r)}else i=ye(e,i,!1),s=ye(e,i,!0);return i==s?{range:r}:{changes:{from:i,to:s},range:o.jT.cursor(i)}}));return!i.changes.empty&&(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?a.tk.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function ye(e,t,n){if(e instanceof a.tk)for(let r of e.state.facet(a.tk.atomicRanges).map((t=>t(e))))r.between(t,t,((e,r)=>{et&&(t=n?r:e)}));return t}const xe=(e,t)=>ke(e,(n=>{let r,i,{state:s}=e,a=s.doc.lineAt(n);if(!t&&n>a.from&&nxe(e,!1),Oe=e=>xe(e,!0),_e=(e,t)=>ke(e,(n=>{let r=n,{state:i}=e,s=i.doc.lineAt(r),a=i.charCategorizer(r);for(let e=null;;){if(r==(t?s.to:s.from)){r==n&&s.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let l=(0,o.cp)(s.text,r-s.from,t)+s.from,c=s.text.slice(Math.min(r,l)-s.from,Math.max(r,l)-s.from),h=a(c);if(null!=e&&h!=e)break;" "==c&&r==n||(e=h),r=l}return r})),Ce=e=>_e(e,!1),Se=e=>ke(e,(t=>{let n=e.lineBlockAt(t).to;return t=i.number){let e=t[t.length-1];e.to=s.to,e.ranges.push(r)}else t.push({from:i.from,to:s.to,ranges:[r]});n=s.number+1}return t}function De(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let s of Ae(e)){if(n?s.to==e.doc.length:0==s.from)continue;let t=e.doc.lineAt(n?s.to+1:s.from-1),a=t.length+1;if(n){r.push({from:s.to,to:t.to},{from:s.from,insert:t.text+e.lineBreak});for(let t of s.ranges)i.push(o.jT.range(Math.min(e.doc.length,t.anchor+a),Math.min(e.doc.length,t.head+a)))}else{r.push({from:t.from,to:s.from},{from:s.to,insert:e.lineBreak+t.text});for(let e of s.ranges)i.push(o.jT.range(e.anchor-a,e.head-a))}}return!!r.length&&(t(e.update({changes:r,scrollIntoView:!0,selection:o.jT.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0)}function Ee(e,t,n){if(e.readOnly)return!1;let r=[];for(let i of Ae(e))n?r.push({from:i.from,insert:e.doc.slice(i.from,i.to)+e.lineBreak}):r.push({from:i.to,insert:e.lineBreak+e.doc.slice(i.from,i.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Pe=Qe(!1);function Qe(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange((n=>{let{from:r,to:i}=n,s=t.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,r=(0,l.qz)(e).resolveInner(t),i=r.childBefore(t),s=r.childAfter(t);return i&&s&&i.to<=t&&s.from>=t&&(n=i.type.prop(c.md.closedBy))&&n.indexOf(s.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(s.from).from?{from:i.to,to:s.from}:null}(t,r);e&&(r=i=(i<=s.to?s:t.doc.lineAt(i)).to);let h=new l.Gn(t,{simulateBreak:r,simulateDoubleBreak:!!a}),u=(0,l.K0)(h,r);for(null==u&&(u=/^\s*/.exec(t.doc.lineAt(r).text)[0].length);is.from&&r{let i=[];for(let o=r.from;o<=r.to;){let s=e.doc.lineAt(o);s.number>n&&(r.empty||r.to>s.from)&&(t(s,i,r),n=s.number),o=s.to+1}let s=e.changes(i);return{changes:i,range:o.jT.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}}))}const Ie=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Te(e,((t,n)=>{n.push({from:t.from,insert:e.facet(l.c)})})),{userEvent:"input.indent"})),!0),ze=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Te(e,((t,n)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let i=(0,o.IS)(r,e.tabSize),s=0,a=(0,l.SS)(e,Math.max(0,i-(0,l.y1)(e)));for(;sF(e,(t=>V(e.state,t,!Z(e)))),shift:e=>ie(e,(t=>V(e.state,t,!Z(e))))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>F(e,(t=>V(e.state,t,Z(e)))),shift:e=>ie(e,(t=>V(e.state,t,Z(e))))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>De(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>Ee(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>De(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>Ee(e,t,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=o.jT.create([n.main]):n.main.empty||(r=o.jT.create([o.jT.cursor(n.main.head)])),!!r&&(t(L(e,r)),!0)}},{key:"Mod-Enter",run:Qe(!0)},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=Ae(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}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=q(e.selection,(t=>{var n;let r=(0,l.qz)(e).resolveInner(t.head,1);for(;!(r.from=t.to||r.to>t.to&&r.from<=t.from)&&(null===(n=r.parent)||void 0===n?void 0:n.parent);)r=r.parent;return o.jT.range(r.to,r.from)}));return t(L(e,n)),!0},preventDefault:!0},{key:"Mod-[",run:ze},{key:"Mod-]",run:Ie},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new l.Gn(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=Te(e,((t,i,s)=>{let o=(0,l.K0)(r,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.SS)(e,o);(a!=c||s.from{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Ae(t).map((({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0))).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>re(e,t,!1)},{key:"Mod-/",run:e=>{let t=d(e.state);return t.line?u(e):!!t.block&&p(e)}},{key:"Alt-A",run:f}].concat([{key:"ArrowLeft",run:j,shift:oe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>U(e,!Z(e)),shift:e=>le(e,!Z(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>F(e,(t=>ne(e,t,!Z(e)))),shift:e=>ie(e,(t=>ne(e,t,!Z(e)))),preventDefault:!0},{key:"ArrowRight",run:W,shift:ae,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>U(e,Z(e)),shift:e=>le(e,Z(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>F(e,(t=>ne(e,t,Z(e)))),shift:e=>ie(e,(t=>ne(e,t,Z(e)))),preventDefault:!0},{key:"ArrowUp",run:G,shift:he,preventDefault:!0},{mac:"Cmd-ArrowUp",run:me,shift:ve},{mac:"Ctrl-ArrowUp",run:ee,shift:pe},{key:"ArrowDown",run:H,shift:ue,preventDefault:!0},{mac:"Cmd-ArrowDown",run:ge,shift:be},{mac:"Ctrl-ArrowDown",run:te,shift:de},{key:"PageUp",run:ee,shift:pe},{key:"PageDown",run:te,shift:de},{key:"Home",run:e=>F(e,(t=>ne(e,t,!1))),shift:e=>ie(e,(t=>ne(e,t,!1))),preventDefault:!0},{key:"Mod-Home",run:me,shift:ve},{key:"End",run:e=>F(e,(t=>ne(e,t,!0))),shift:e=>ie(e,(t=>ne(e,t,!0))),preventDefault:!0},{key:"Mod-End",run:ge,shift:be},{key:"Enter",run:Pe},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:we,shift:we},{key:"Delete",run:Oe},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Ce},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>_e(e,!0)},{mac:"Mod-Backspace",run:e=>ke(e,(t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}))},{mac:"Mod-Delete",run:Se}].concat([{key:"Ctrl-b",run:j,shift:oe,preventDefault:!0},{key:"Ctrl-f",run:W,shift:ae},{key:"Ctrl-p",run:G,shift:he},{key:"Ctrl-n",run:H,shift:ue},{key:"Ctrl-a",run:e=>F(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).from,1))),shift:e=>ie(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).from)))},{key:"Ctrl-e",run:e=>F(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1))),shift:e=>ie(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).to)))},{key:"Ctrl-d",run:Oe},{key:"Ctrl-h",run:we},{key:"Ctrl-k",run:Se},{key:"Ctrl-Alt-h",run:Ce},{key:"Ctrl-o",run:({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}},{key:"Ctrl-t",run:({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,r=e.doc.lineAt(n),i=n==r.from?n-1:(0,o.cp)(r.text,n-r.from,!1)+r.from,s=n==r.to?n+1:(0,o.cp)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(i,n))},range:o.jT.cursor(s)}}));return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:te}].map((e=>({mac:e.key,run:e.run,shift:e.shift}))))),Me={key:"Tab",run:Ie,shift:ze};function Ne(){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 r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;te.normalize("NFKD"):e=>e;class Fe{constructor(e,t,n=0,r=e.length,i,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,r),this.bufferStart=n,this.normalize=i?e=>i(Le(e)):Le,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 r=this.normalize(t);for(let i=0,s=n;;i++){let e=r.charCodeAt(i),o=this.match(e,s);if(o)return this.value=o,this;if(i==r.length-1)break;s==n&&ithis.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,r=n+t[0].length;if(this.matchPos=Je(this.text,r+(n==r?1:0)),n==this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||r.to<=t){let r=new We(t,e.sliceString(t,n));return je.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:s}=r;return s>t&&(i=e.sliceString(t,s)+i,s=t),r.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 e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=Je(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=We.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function Je(e,t){if(t>=e.length)return t;let n,r=e.lineAt(t);for(;t=56320&&n<57344;)t++;return t}function Ve(e){let t=Ne("input",{class:"cm-textfield",name:"line"});function n(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:r}=e,i=r.doc.lineAt(r.selection.main.head),[,s,a,l,c]=n,h=l?+l.slice(1):0,u=a?+a:i.number;if(a&&c){let e=u/100;s&&(e=e*("-"==s?-1:1)+i.number/r.doc.lines),u=Math.round(r.doc.lines*e)}else a&&s&&(u=u*("-"==s?-1:1)+i.number);let f=r.doc.line(Math.max(1,Math.min(r.doc.lines,u)));e.dispatch({effects:Xe.of(!1),selection:o.jT.cursor(f.from+Math.max(0,Math.min(h,f.length))),scrollIntoView:!0}),e.focus()}return{dom:Ne("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:Xe.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:e=>{e.preventDefault(),n()}},Ne("label",e.state.phrase("Go to line"),": ",t)," ",Ne("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(Ze.prototype[Symbol.iterator]=Ue.prototype[Symbol.iterator]=function(){return this});const Xe=o.Py.define(),Ge=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(Xe)&&(e=n.value);return e},provide:e=>a.mH.from(e,(e=>e?Ve:null))}),He=a.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Ye={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Ke=o.r$.define({combine:e=>(0,o.BO)(e,Ye,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})});const et=a.p.mark({class:"cm-selectionMatch"}),tt=a.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function nt(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=o.D0.Word)}const rt=a.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(Ke),{state:n}=e,r=n.selection;if(r.ranges.length>1)return a.p.none;let i,s=r.main,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return a.p.none;let e=n.wordAt(s.head);if(!e)return a.p.none;l=n.charCategorizer(s.head),i=n.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e200)return a.p.none;if(t.wholeWords){if(i=n.sliceDoc(s.from,s.to),l=n.charCategorizer(s.head),!nt(l,n,s.from,s.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==o.D0.Word&&e(t.sliceDoc(r-1,r))==o.D0.Word}(l,n,s.from,s.to))return a.p.none}else if(i=n.sliceDoc(s.from,s.to).trim(),!i)return a.p.none}let c=[];for(let o of e.visibleRanges){let e=new Fe(n.doc,i,o.from,o.to);for(;!e.next().done;){let{from:r,to:i}=e.value;if((!l||nt(l,n,r,i))&&(s.empty&&r<=s.from&&i>=s.to?c.push(tt.range(r,i)):(r>=s.to||i<=s.from)&&c.push(et.range(r,i)),c.length>t.maxMatches))return a.p.none}}return a.p.set(c)}},{decorations:e=>e.decorations}),it=a.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const st=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new Tt(e)})});class ot{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 new RegExp(e,Be),!0}catch(t){return!1}}(this.search)),this.unquoted=this.literal?this.search:this.search.replace(/\\([nrt\\])/g,((e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\")),this.wholeWord=!!e.wholeWord}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 pt(this):new ct(this)}getCursor(e,t=0,n){let r=e.doc?e:o.yy.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?ht(this,r,t,n):lt(this,r,t,n)}}class at{constructor(e){this.spec=e}}function lt(e,t,n,r){return new Fe(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(i=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,r)=>((r>e||r+n.length=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=lt(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function ht(e,t,n,r){return new Ze(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(i=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(i(ut(n.input,n.index))!=o.D0.Word||i(ft(n.input,n.index))!=o.D0.Word)&&(i(ft(n.input,n.index+n[0].length))!=o.D0.Word||i(ut(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,r);var i}function ut(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function ft(e,t){return e.slice(t,(0,o.cp)(e,t))}class pt extends at{nextMatch(e,t,n){let r=ht(this.spec,e,n,e.doc.length).next();return r.done&&(r=ht(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),s=ht(this.spec,e,i,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(i==t||o.from>i+10))return o;if(i==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.replace.replace(/\$([$&\d+])/g,((t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=ht(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}const dt=o.Py.define(),mt=o.Py.define(),gt=o.QQ.define({create:e=>new vt(Dt(e).create(),null),update(e,t){for(let n of t.effects)n.is(dt)?e=new vt(n.value.create(),e.panel):n.is(mt)&&(e=new vt(e.query,n.value?At:null));return e},provide:e=>a.mH.from(e,(e=>e.panel))});class vt{constructor(e,t){this.query=e,this.panel=t}}const bt=a.p.mark({class:"cm-searchMatch"}),kt=a.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),yt=a.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(gt))}update(e){let t=e.state.field(gt);(t!=e.startState.field(gt)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.p.none;let{view:n}=this,r=new o.f_;for(let i=0,s=n.visibleRanges,o=s.length;is[i+1].from-500;)a=s[++i].to;e.highlight(n.state,t,a,((e,t)=>{let i=n.state.selection.ranges.some((n=>n.from==e&&n.to==t));r.add(e,t,i?kt:bt)}))}return r.finish()}},{decorations:e=>e.decorations});function xt(e){return t=>{let n=t.state.field(gt,!1);return n&&n.query.spec.valid?e(t,n):Et(t)}}const wt=xt(((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:Rt(e,r),userEvent:"select.search"}),!0)})),Ot=xt(((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:Rt(e,i),userEvent:"select.search"}),!0)})),_t=xt(((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)})),Ct=xt(((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,r,r);if(!s)return!1;let o,l,c=[],h=[];if(s.from==r&&s.to==i&&(l=n.toText(t.getReplacement(s)),c.push({from:s.from,to:s.to,insert:l}),s=t.nextMatch(n,s.from,s.to),h.push(a.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),s){let t=0==c.length||c[0].from>=s.to?0:s.to-s.from-l.length;o={anchor:s.from-t,head:s.to-t},h.push(Rt(e,s))}return e.dispatch({changes:c,selection:o,scrollIntoView:!!o,effects:h,userEvent:"input.replace"}),!0})),St=xt(((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map((e=>{let{from:n,to:r}=e;return{from:n,to:r,insert:t.getReplacement(e)}}));if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.tk.announce.of(r),userEvent:"input.replace.all"}),!0}));function At(e){return e.state.facet(st).createPanel(e)}function Dt(e,t){var n,r,i,s;let o=e.selection.main,a=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!a)return t;let l=e.facet(st);return new ot({search:(null!==(n=null===t||void 0===t?void 0:t.literal)&&void 0!==n?n:l.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null===t||void 0===t?void 0:t.caseSensitive)&&void 0!==r?r:l.caseSensitive,literal:null!==(i=null===t||void 0===t?void 0:t.literal)&&void 0!==i?i:l.literal,wholeWord:null!==(s=null===t||void 0===t?void 0:t.wholeWord)&&void 0!==s?s:l.wholeWord})}const Et=e=>{let t=e.state.field(gt,!1);if(t&&t.panel){let n=(0,a.Sd)(e,At);if(!n)return!1;let r=n.dom.querySelector("[main-field]");if(r&&r!=e.root.activeElement){let n=Dt(e.state,t.query.spec);n.valid&&e.dispatch({effects:dt.of(n)}),r.focus(),r.select()}}else e.dispatch({effects:[mt.of(!0),t?dt.of(Dt(e.state,t.query.spec)):o.Py.appendConfig.of(Nt)]});return!0},Pt=e=>{let t=e.state.field(gt,!1);if(!t||!t.panel)return!1;let n=(0,a.Sd)(e,At);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:mt.of(!1)}),!0},Qt=[{key:"Mod-f",run:Et,scope:"editor search-panel"},{key:"F3",run:wt,shift:Ot,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:wt,shift:Ot,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Pt,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,s=[],a=0;for(let l=new Fe(e.doc,e.sliceDoc(r,i));!l.next().done;){if(s.length>1e3)return!1;l.value.from==r&&(a=s.length),s.push(o.jT.range(l.value.from,l.value.to))}return t(e.update({selection:o.jT.create(s,a),userEvent:"select.search.matches"})),!0}},{key:"Alt-g",run:e=>{let t=(0,a.Sd)(e,Ve);if(!t){let n=[Xe.of(!0)];null==e.state.field(Ge,!1)&&n.push(o.Py.appendConfig.of([Ge,He])),e.dispatch({effects:n}),t=(0,a.Sd)(e,Ve)}return t&&t.dom.querySelector("input").focus(),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some((e=>e.from===e.to)))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=o.jT.create(n.ranges.map((t=>e.wordAt(t.head)||o.jT.cursor(t.head))),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=r)))return!1;let i=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),s=i&&i.from==n.from&&i.to==n.to;for(let o=!1,a=new Fe(e.doc,t,r[r.length-1].to);;){if(a.next(),!a.done){if(o&&r.some((e=>e.from==a.value.from)))continue;if(s){let t=e.wordAt(a.value.from);if(!t||t.from!=a.value.from||t.to!=a.value.to)continue}return a.value}if(o)return null;a=new Fe(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),o=!0}}(e,r);return!!i&&(t(e.update({selection:e.selection.addRange(o.jT.range(i.from,i.to),!1),effects:a.tk.scrollIntoView(i.to)})),!0)},preventDefault:!0}];class Tt{constructor(e){this.view=e;let t=this.query=e.state.field(gt).query.spec;function n(e,t,n){return Ne("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=Ne("input",{value:t.search,placeholder:It(e,"Find"),"aria-label":It(e,"Find"),class:"cm-textfield",name:"search","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Ne("input",{value:t.replace,placeholder:It(e,"Replace"),"aria-label":It(e,"Replace"),class:"cm-textfield",name:"replace",onchange:this.commit,onkeyup:this.commit}),this.caseField=Ne("input",{type:"checkbox",name:"case",checked:t.caseSensitive,onchange:this.commit}),this.reField=Ne("input",{type:"checkbox",name:"re",checked:t.regexp,onchange:this.commit}),this.wordField=Ne("input",{type:"checkbox",name:"word",checked:t.wholeWord,onchange:this.commit}),this.dom=Ne("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",(()=>wt(e)),[It(e,"next")]),n("prev",(()=>Ot(e)),[It(e,"previous")]),n("select",(()=>_t(e)),[It(e,"all")]),Ne("label",null,[this.caseField,It(e,"match case")]),Ne("label",null,[this.reField,It(e,"regexp")]),Ne("label",null,[this.wordField,It(e,"by word")]),...e.state.readOnly?[]:[Ne("br"),this.replaceField,n("replace",(()=>Ct(e)),[It(e,"replace")]),n("replaceAll",(()=>St(e)),[It(e,"replace all")]),Ne("button",{name:"close",onclick:()=>Pt(e),"aria-label":It(e,"close"),type:"button"},["\xd7"])]])}commit(){let e=new ot({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:dt.of(e)}))}keydown(e){(0,a.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Ot:wt)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),Ct(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(dt)&&!e.value.eq(this.query)&&this.setQuery(e.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(st).top}}function It(e,t){return e.state.phrase(t)}const zt=/[\s\.,:;?!]/;function Rt(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,s=Math.max(r.from,t-30),o=Math.min(i,n+30),l=e.state.sliceDoc(s,o);if(s!=r.from)for(let a=0;a<30;a++)if(!zt.test(l[a+1])&&zt.test(l[a])){l=l.slice(a);break}if(o!=i)for(let a=l.length-1;a>l.length-30;a--)if(!zt.test(l[a-1])&&zt.test(l[a])){l=l.slice(0,a);break}return a.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${r.number}.`)}const Mt=a.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"}}),Nt=[gt,o.Wl.lowest(yt),Mt];class qt{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,l.qz)(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)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),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(Zt(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function Lt(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 Ft(e){let t=e.map((e=>"string"==typeof e?{label:e}:e)),[n,r]=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 e=1;e{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}class $t{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function Bt(e){return e.selection.main.head}function Zt(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],s="$"!=r[r.length-1];return i||s?new RegExp(`${i?"^":""}(?:${r})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function jt(e,t){const n=t.completion.apply||t.completion.label;let r=t.source;var i,s,a,l;"string"==typeof n?e.dispatch((i=e.state,s=n,a=r.from,l=r.to,Object.assign(Object.assign({},i.changeByRange((e=>{if(e==i.selection.main)return{changes:{from:a,to:l,insert:s},range:o.jT.cursor(a+s.length)};let t=l-a;return!e.empty||t&&i.sliceDoc(e.from-t,e.from)!=i.sliceDoc(a,l)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:s},range:o.jT.cursor(e.from-t+s.length)}}))),{userEvent:"input.complete"}))):n(e,t.completion,r.from,r.to)}const Wt=new WeakMap;function Ut(e){if(!Array.isArray(e))return e;let t=Wt.get(e);return t||Wt.set(e,t=Ft(e)),t}class Jt{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(c=(0,o.bg)(r))!=c.toLowerCase()?1:c!=c.toUpperCase()?2:0;(!b||1==k&&g||0==y&&0!=k)&&(t[u]==r||n[u]==r&&(f=!0)?s[u++]=b:s.length&&(v=!1)),y=k,b+=(0,o.nZ)(r)}return u==l&&0==s[0]&&v?this.result((f?-200:0)-100,s,e):p==l&&0==d?[-200-e.length,0,m]:a>-1?[-700-e.length,a,a+this.pattern.length]:p==l?[-900-e.length,d,m]:u==l?this.result((f?-200:0)-100-700+(v?0:-1100),s,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}result(e,t,n){let r=[e-n.length],i=1;for(let s of t){let e=s+(this.astral?(0,o.nZ)((0,o.gm)(n,s)):1);i>1&&r[i-1]==s?r[i-1]=e:(r[i++]=s,r[i++]=e)}return r}}const Vt=o.r$.define({combine:e=>(0,o.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=>function(e,t){return e?t?e+" "+t:e:t}(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})});function Xt(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class Gt{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this};let n=e.state.field(t),{options:r,selected:i}=n.open,s=e.state.facet(Vt);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.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}),t.push({render(e,t,n){let r=document.createElement("span");r.className="cm-completionLabel";let{label:i}=e,s=0;for(let o=1;os&&r.appendChild(document.createTextNode(i.slice(s,e)));let a=r.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(i.slice(e,t))),a.className="cm-completionMatchedText",s=t}return se.position-t.position)).map((e=>e.render))}(s),this.optionClass=s.optionClass,this.range=Xt(r.length,i,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",(t=>{for(let n,i=t.target;i&&i!=this.dom;i=i.parentNode)if("LI"==i.nodeName&&(n=/-(\d+)$/.exec(i.id))&&+n[1]{this.info&&this.view.requestMeasure(this.placeInfo)}))}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){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=Xt(t.options.length,t.selected,this.view.state.facet(Vt).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:r}=n;if(!r)return;let i="string"===typeof r?document.createTextNode(r):r(n);if(!i)return;"then"in i?i.then((t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)})).catch((e=>(0,a.OO)(this.view.state,e,"completion info"))):this.addInfoPane(i)}}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){let t=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&function(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect();r.topn.bottom&&(e.scrollTop+=r.bottom-n.bottom)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect();if(i.top>Math.min(t.innerHeight,n.bottom)-10||i.bottom=r.height||e>n.top?h=i.bottom-n.top+"px":u=n.bottom-i.top+"px"}return{top:h,bottom:u,maxWidth:s,class:c?o?"left-narrow":"right-narrow":l?"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){const r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let i=n.from;i=this.options.length?this:new Yt(this.options,tn(t,e),this.tooltip,this.timestamp,e)}static build(e,t,n,r,i){let s=function(e,t){let n=[],r=0;for(let a of e)if(a.hasResult())if(!1===a.result.filter){let e=a.result.getMatch;for(let t of a.result.options){let i=[1e9-r++];if(e)for(let n of e(t))i.push(n);n.push(new $t(t,a,i))}}else{let e,r=new Jt(t.sliceDoc(a.from,a.to));for(let t of a.result.options)(e=r.match(t.label))&&(null!=t.boost&&(e[0]+=t.boost),n.push(new $t(t,a,e)))}let i=[],s=null,o=t.facet(Vt).compareCompletions;for(let a of n.sort(((e,t)=>t.match[0]-e.match[0]||o(e.completion,t.completion))))!s||s.label!=a.completion.label||s.detail!=a.completion.detail||null!=s.type&&null!=a.completion.type&&s.type!=a.completion.type||s.apply!=a.completion.apply?i.push(a):Ht(a.completion)>Ht(s)&&(i[i.length-1]=a),s=a.completion;return i}(e,t);if(!s.length)return null;let o=t.facet(Vt).selectOnOpen?0:-1;if(r&&r.selected!=o&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;tt.hasResult()?Math.min(e,t.from):e),1e8),create:(a=un,e=>new Gt(e,a)),above:i.aboveCursor},r?r.timestamp:Date.now(),o);var a}map(e){return new Yt(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class Kt{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new Kt(nn,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(Vt),r=(n.override||t.languageDataAt("autocomplete",Bt(t)).map(Ut)).map((t=>(this.active.find((e=>e.source==t))||new sn(t,this.active.some((e=>0!=e.state))?1:0)).update(e,n)));r.length==this.active.length&&r.every(((e,t)=>e==this.active[t]))&&(r=this.active);let i=e.selection||r.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n1!=e.state))&&r.some((e=>e.hasResult()))&&(r=r.map((e=>e.hasResult()?new sn(e.source,0):e)));for(let s of e.effects)s.is(hn)&&(i=i&&i.setSelected(s.value,this.id));return r==this.active&&i==this.open?this:new Kt(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:en}}const en={"aria-autocomplete":"list"};function tn(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const nn=[];function rn(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class sn{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=rn(e),r=this;n?r=r.handleUserEvent(e,n,t):e.docChanged?r=r.handleChange(e):e.selection&&0!=r.state&&(r=new sn(r.source,0));for(let i of e.effects)if(i.is(an))r=new sn(r.source,1,i.value?Bt(e.state):-1);else if(i.is(ln))r=new sn(r.source,0);else if(i.is(cn))for(let e of i.value)e.source==r.source&&(r=e);return r}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new sn(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(Bt(e.startState))?new sn(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new sn(this.source,this.state,e.mapPos(this.explicitPos))}}class on extends sn{constructor(e,t,n,r,i){super(e,2,t),this.result=n,this.from=r,this.to=i}hasResult(){return!0}handleUserEvent(e,t,n){var r;let i=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),o=Bt(e.state);if((this.explicitPos<0?o<=i:os||"delete"==t&&Bt(e.startState)==this.from)return new sn(this.source,"input"==t&&n.activateOnTyping?1:0);let a,l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return function(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):Zt(e,!0).test(i)}(this.result.validFor,e.state,i,s)?new on(this.source,l,this.result,i,s):this.result.update&&(a=this.result.update(this.result,i,s,new qt(e.state,o,l>=0)))?new on(this.source,l,a,a.from,null!==(r=a.to)&&void 0!==r?r:Bt(e.state)):new sn(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new sn(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new on(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}const an=o.Py.define(),ln=o.Py.define(),cn=o.Py.define({map:(e,t)=>e.map((e=>e.map(t)))}),hn=o.Py.define(),un=o.QQ.define({create:()=>Kt.start(),update:(e,t)=>e.update(t),provide:e=>[a.hJ.from(e,(e=>e.tooltip)),a.tk.contentAttributes.from(e,(e=>e.attrs))]});function fn(e,t="option"){return n=>{let r=n.state.field(un,!1);if(!r||!r.open||Date.now()-r.open.timestamp-1?r.open.selected+s*(e?1:-1):e?0:o-1;return l<0?l="page"==t?0:o-1:l>=o&&(l="page"==t?o-1:0),n.dispatch({effects:hn.of(l)}),!0}}class pn{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const dn=a.lg.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let t of e.state.field(un).active)1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(un);if(!e.selectionSet&&!e.docChanged&&e.startState.field(un)==t)return;let n=e.transactions.some((e=>(e.selection||e.docChanged)&&!rn(e)));for(let i=0;i50&&Date.now()-t.time>1e3){for(let e of t.context.abortListeners)try{e()}catch(r){(0,a.OO)(this.view.state,r)}t.context.abortListeners=null,this.running.splice(i--,1)}else t.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 i of e.transactions)"input"==rn(i)?this.composing=2:2==this.composing&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(un);for(let n of t.active)1!=n.state||this.running.some((e=>e.active.source==n.source))||this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=Bt(t),r=new qt(t,n,e.explicitPos==n),i=new pn(e,r);this.running.push(i),Promise.resolve(e.source(r)).then((e=>{i.context.aborted||(i.done=e||null,this.scheduleAccept())}),(e=>{this.view.dispatch({effects:ln.of(null)}),(0,a.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(Vt);for(let r=0;re.source==i.active.source));if(s&&1==s.state)if(null==i.done){let e=new sn(i.active.source,0);for(let t of i.updates)e=e.update(t,n);1!=e.state&&t.push(e)}else this.startQuery(s)}t.length&&this.view.dispatch({effects:cn.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field(un,!1);e&&e.tooltip&&this.view.state.facet(Vt).closeOnBlur&&this.view.dispatch({effects:ln.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:an.of(!1)})),20),this.composing=0}}}),mn=a.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",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"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".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"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25cb'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25cc'"}},".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:"'\u222a'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25a1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\ud83d\udd11\ufe0e'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25a2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});const gn={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},vn=o.Py.define({map(e,t){let n=t.mapPos(e,-1,o.gc.TrackAfter);return null==n?void 0:n}}),bn=o.Py.define({map:(e,t)=>t.mapPos(e)}),kn=new class extends o.uU{};kn.startSide=1,kn.endSide=-1;const yn=o.QQ.define({create:()=>o.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=o.Xs.empty)}e=e.map(t.changes);for(let n of t.effects)n.is(vn)?e=e.update({add:[kn.range(n.value,n.value+1)]}):n.is(bn)&&(e=e.update({filter:e=>e!=n.value}));return e}});const xn="()[]{}<>";function wn(e){for(let t=0;t{if((_n?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,o.nZ)((0,o.gm)(r,0))||t!=i.from||n!=i.to)return!1;let s=function(e,t){let n=On(e,e.selection.main.head),r=n.brackets||gn.brackets;for(let i of r){let s=wn((0,o.gm)(i,0));if(t==i)return s==i?Qn(e,i,r.indexOf(i+i+i)>-1,n):En(e,i,s,n.before||gn.before);if(t==s&&An(e,e.selection.main.from))return Pn(e,i,s)}return null}(e.state,r);return!!s&&(e.dispatch(s),!0)})),Sn=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=On(e,e.selection.main.head).brackets||gn.brackets,r=null,i=e.changeByRange((t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return(0,o.nZ)((0,o.gm)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let i of n)if(i==r&&Dn(e.doc,t.head)==wn((0,o.gm)(i,0)))return{changes:{from:t.head-i.length,to:t.head+i.length},range:o.jT.cursor(t.head-i.length)}}return{range:r=t}}));return r||t(e.update(i,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function An(e,t){let n=!1;return e.field(yn).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}function Dn(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,o.nZ)((0,o.gm)(n,0)))}function En(e,t,n,r){let i=null,s=e.changeByRange((s=>{if(!s.empty)return{changes:[{insert:t,from:s.from},{insert:n,from:s.to}],effects:vn.of(s.to+t.length),range:o.jT.range(s.anchor+t.length,s.head+t.length)};let a=Dn(e.doc,s.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:s.head},effects:vn.of(s.head+t.length),range:o.jT.cursor(s.head+t.length)}:{range:i=s}}));return i?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function Pn(e,t,n){let r=null,i=e.selection.ranges.map((t=>t.empty&&Dn(e.doc,t.head)==n?o.jT.cursor(t.head+n.length):r=t));return r?null:e.update({selection:o.jT.create(i,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map((({from:e})=>bn.of(e)))})}function Qn(e,t,n,r){let i=r.stringPrefixes||gn.stringPrefixes,s=null,a=e.changeByRange((r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:vn.of(r.to+t.length),range:o.jT.range(r.anchor+t.length,r.head+t.length)};let a,c=r.head,h=Dn(e.doc,c);if(h==t){if(Tn(e,c))return{changes:{insert:t+t,from:c},effects:vn.of(c+t.length),range:o.jT.cursor(c+t.length)};if(An(e,c)){let r=n&&e.sliceDoc(c,c+3*t.length)==t+t+t;return{range:o.jT.cursor(c+t.length*(r?3:1)),effects:bn.of(c)}}}else{if(n&&e.sliceDoc(c-2*t.length,c)==t+t&&(a=In(e,c-2*t.length,i))>-1&&Tn(e,a))return{changes:{insert:t+t+t+t,from:c},effects:vn.of(c+t.length),range:o.jT.cursor(c+t.length)};if(e.charCategorizer(c)(h)!=o.D0.Word&&In(e,c,i)>-1&&!function(e,t,n,r){let i=(0,l.qz)(e).resolveInner(t,-1),s=r.reduce(((e,t)=>Math.max(e,t.length)),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+s)),a=o.indexOf(n);if(!a||a>-1&&r.indexOf(o.slice(0,a))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+a;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=i.to==t&&i.parent;if(!l)break;i=l}return!1}(e,c,t,i))return{changes:{insert:t+t,from:c},effects:vn.of(c+t.length),range:o.jT.cursor(c+t.length)}}return{range:s=r}}));return s?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Tn(e,t){let n=(0,l.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function In(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=o.D0.Word)return t;for(let i of n){let n=t-i.length;if(e.sliceDoc(n,t)==i&&r(e.sliceDoc(n-1,n))!=o.D0.Word)return n}return-1}const zn=[{key:"Ctrl-Space",run:e=>!!e.state.field(un,!1)&&(e.dispatch({effects:an.of(!0)}),!0)},{key:"Escape",run:e=>{let t=e.state.field(un,!1);return!(!t||!t.active.some((e=>0!=e.state)))&&(e.dispatch({effects:ln.of(null)}),!0)}},{key:"ArrowDown",run:fn(!0)},{key:"ArrowUp",run:fn(!1)},{key:"PageDown",run:fn(!0,"page")},{key:"PageUp",run:fn(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(un,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestampe.facet(Vt).defaultKeymap?[zn]:[])));class Mn{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 r=e,i=n.facet(Hn).markerFilter;i&&(r=i(r));let s=a.p.set(r.map((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?a.p.widget({widget:new er(e),diagnostic:e}).range(e.from):a.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to))),!0);return new Nn(s,t,qn(s))}}function qn(e,t=null,n=0){let r=null;return e.between(n,1e9,((e,n,{spec:i})=>{if(!t||i.diagnostic==t)return r=new Mn(e,n,i.diagnostic),!1})),r}function Ln(e,t){return!(!e.effects.some((e=>e.is($n)))&&!e.changes.touchesRange(t.pos))}function Fn(e,t){return e.field(jn,!1)?t:t.concat(o.Py.appendConfig.of([jn,a.tk.decorations.compute([jn],(e=>{let{selected:t,panel:n}=e.field(jn);return t&&n&&t.from!=t.to?a.p.set([Wn.range(t.from,t.to)]):a.p.none})),(0,a.bF)(Un,{hideOn:Ln}),sr]))}const $n=o.Py.define(),Bn=o.Py.define(),Zn=o.Py.define(),jn=o.QQ.define({create:()=>new Nn(a.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),r=null;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=qn(n,e.selected.diagnostic,i)||qn(n,null,i)}e=new Nn(n,e.panel,r)}for(let n of t.effects)n.is($n)?e=Nn.init(n.value,e.panel,t.state):n.is(Bn)?e=new Nn(e.diagnostics,n.value?nr.open:null,e.selected):n.is(Zn)&&(e=new Nn(e.diagnostics,e.panel,n.value));return e},provide:e=>[a.mH.from(e,(e=>e.panel)),a.tk.decorations.from(e,(e=>e.diagnostics))]});const Wn=a.p.mark({class:"cm-lintRange cm-lintRange-active"});function Un(e,t,n){let{diagnostics:r}=e.state.field(jn),i=[],s=2e8,o=0;r.between(t-(n<0?1:0),t+(n>0?1:0),((e,r,{spec:a})=>{t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t({dom:Jn(e,i)})}:null}function Jn(e,t){return Ne("ul",{class:"cm-tooltip-lint"},t.map((t=>Kn(e,t,!1))))}const Vn=e=>{let t=e.state.field(jn,!1);return!(!t||!t.panel)&&(e.dispatch({effects:Bn.of(!1)}),!0)},Xn=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(jn,!1);t&&t.panel||e.dispatch({effects:Fn(e.state,[Bn.of(!0)])});let n=(0,a.Sd)(e,nr.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0}},{key:"F8",run:e=>{let t=e.state.field(jn,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!(!r.value&&(r=t.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],Gn=a.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(Hn);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((t=>{let n=t.reduce(((e,t)=>e.concat(t)));this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{effects:Fn(e,[$n.of(t)])}}(this.view.state,n))}),(e=>{(0,a.OO)(this.view.state,e)}))}}update(e){let t=e.state.facet(Hn);(e.docChanged||t!=e.startState.facet(Hn))&&(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)}}),Hn=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:Gn});function Yn(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;ee.toLowerCase()==r.toLowerCase()))){t.push(r);continue e}}t.push("")}return t}function Kn(e,t,n){var r;let i=n?Yn(t.actions):[];return Ne("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ne("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(r=t.actions)||void 0===r?void 0:r.map(((n,r)=>{let s=r=>{r.preventDefault();let i=qn(e.state.field(jn).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:o}=n,a=i[r]?o.indexOf(i[r]):-1,l=a<0?o:[o.slice(0,a),Ne("u",o.slice(a,a+1)),o.slice(a+1)];return Ne("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${a<0?"":` (access key "${i[r]})"`}.`},l)})),t.source&&Ne("div",{class:"cm-diagnosticSource"},t.source))}class er extends a.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Ne("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class tr{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Kn(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class nr{constructor(e){this.view=e,this.items=[];this.list=Ne("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)Vn(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],r=Yn(n.actions);for(let i=0;i{for(let t=0;tVn(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(jn).selected;if(!e)return-1;for(let t=0;t{let a,l=-1;for(let t=n;tn&&(this.items.splice(n,l-n),r=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),i=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}));n({sel:i.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"),r&&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=qn(this.view.state.field(jn).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Zn.of(t)})}static open(e){return new nr(e)}}function rr(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function ir(e){return rr(``,'width="6" height="3"')}const sr=a.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:ir("#d11")},".cm-lintRange-warning":{backgroundImage:ir("orange")},".cm-lintRange-info":{backgroundImage:ir("#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}}});a.SJ;var or=function(e){void 0===e&&(e={});var t=[];!1!==e.closeBracketsKeymap&&(t=t.concat(Sn)),!1!==e.defaultKeymap&&(t=t.concat(Re)),!1!==e.searchKeymap&&(t=t.concat(Qt)),!1!==e.historyKeymap&&(t=t.concat(N)),!1!==e.foldKeymap&&(t=t.concat(l.e7)),!1!==e.completionKeymap&&(t=t.concat(zn)),!1!==e.lintKeymap&&(t=t.concat(Xn));var n=[];return!1!==e.lineNumbers&&n.push((0,a.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,a.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,a.AE)()),!1!==e.history&&n.push(function(e={}){return[x,y.of(e),a.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?O:"historyRedo"==e.inputType?_:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&n.push((0,l.mi)()),!1!==e.drawSelection&&n.push((0,a.Uw)()),!1!==e.dropCursor&&n.push((0,a.qr)()),!1!==e.allowMultipleSelections&&n.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push((0,l.nY)()),!1!==e.syntaxHighlighting&&n.push((0,l.nF)(l.R_,{fallback:!0})),!1!==e.bracketMatching&&n.push((0,l.n$)()),!1!==e.closeBrackets&&n.push([Cn,yn]),!1!==e.autocompletion&&n.push(function(e={}){return[un,Vt.of(e),dn,Rn,mn]}()),!1!==e.rectangularSelection&&n.push((0,a.Zs)()),!1!==e.crosshairCursor&&n.push((0,a.S2)()),!1!==e.highlightActiveLine&&n.push((0,a.ZO)()),!1!==e.highlightSelectionMatches&&n.push(function(e){let t=[it,rt];return e&&t.push(Ke.of(e)),t}()),n.concat([a.$f.of(t.flat())]).filter(Boolean)},ar=n(35524);const lr="#e5c07b",cr="#e06c75",hr="#56b6c2",ur="#ffffff",fr="#abb2bf",pr="#7d8799",dr="#61afef",mr="#98c379",gr="#d19a66",vr="#c678dd",br="#21252b",kr="#2c313a",yr="#282c34",xr="#353a42",wr="#3E4451",Or="#528bff",_r=a.tk.theme({"&":{color:fr,backgroundColor:yr},".cm-content":{caretColor:Or},".cm-cursor, .cm-dropCursor":{borderLeftColor:Or},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:wr},".cm-panels":{backgroundColor:br,color:fr},".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:yr,color:pr,border:"none"},".cm-activeLineGutter":{backgroundColor:kr},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:xr},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:xr,borderBottomColor:xr},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:kr,color:fr}}},{dark:!0}),Cr=l.Qf.define([{tag:ar.pJ.keyword,color:vr},{tag:[ar.pJ.name,ar.pJ.deleted,ar.pJ.character,ar.pJ.propertyName,ar.pJ.macroName],color:cr},{tag:[ar.pJ.function(ar.pJ.variableName),ar.pJ.labelName],color:dr},{tag:[ar.pJ.color,ar.pJ.constant(ar.pJ.name),ar.pJ.standard(ar.pJ.name)],color:gr},{tag:[ar.pJ.definition(ar.pJ.name),ar.pJ.separator],color:fr},{tag:[ar.pJ.typeName,ar.pJ.className,ar.pJ.number,ar.pJ.changed,ar.pJ.annotation,ar.pJ.modifier,ar.pJ.self,ar.pJ.namespace],color:lr},{tag:[ar.pJ.operator,ar.pJ.operatorKeyword,ar.pJ.url,ar.pJ.escape,ar.pJ.regexp,ar.pJ.link,ar.pJ.special(ar.pJ.string)],color:hr},{tag:[ar.pJ.meta,ar.pJ.comment],color:pr},{tag:ar.pJ.strong,fontWeight:"bold"},{tag:ar.pJ.emphasis,fontStyle:"italic"},{tag:ar.pJ.strikethrough,textDecoration:"line-through"},{tag:ar.pJ.link,color:pr,textDecoration:"underline"},{tag:ar.pJ.heading,fontWeight:"bold",color:cr},{tag:[ar.pJ.atom,ar.pJ.bool,ar.pJ.special(ar.pJ.variableName)],color:gr},{tag:[ar.pJ.processingInstruction,ar.pJ.string,ar.pJ.inserted],color:mr},{tag:ar.pJ.invalid,color:ur}]),Sr=[_r,(0,l.nF)(Cr)];function Ar(e){var{value:t,selection:n,onChange:r,onStatistics:i,onCreateEditor:l,onUpdate:c,extensions:h=[],autoFocus:u,theme:f="light",height:p="",minHeight:d="",maxHeight:m="",placeholder:g="",width:v="",minWidth:b="",maxWidth:k="",editable:y=!0,readOnly:x=!1,indentWithTab:w=!0,basicSetup:O=!0,root:_,initialState:C}=e,[S,A]=(0,s.useState)(),[D,E]=(0,s.useState)(),[P,Q]=(0,s.useState)(),T=a.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),I=a.tk.theme({"&":{height:p,minHeight:d,maxHeight:m,width:v,minWidth:b,maxWidth:k}}),z=a.tk.updateListener.of((e=>{if(e.docChanged&&"function"===typeof r){var t=e.state.doc.toString();r(t,e)}i&&i((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))}))(e))})),R=[z,I];switch(w&&R.unshift(a.$f.of([Me])),O&&("boolean"===typeof O?R.unshift(or()):R.unshift(or(O))),g&&R.unshift((0,a.W$)(g)),f){case"light":R.push(T);break;case"dark":R.push(Sr);break;default:R.push(f)}return!1===y&&R.push(a.tk.editable.of(!1)),x&&R.push(o.yy.readOnly.of(!0)),c&&"function"===typeof c&&R.push(a.tk.updateListener.of(c)),R=R.concat(h),(0,s.useEffect)((()=>{if(S&&!P){var e={doc:t,selection:n,extensions:R},r=C?o.yy.fromJSON(C.json,e,C.fields):o.yy.create(e);if(Q(r),!D){var i=new a.tk({state:r,parent:S,root:_});E(i),l&&l(i,r)}}return()=>{D&&(Q(void 0),E(void 0))}}),[S,P]),(0,s.useEffect)((()=>A(e.container)),[e.container]),(0,s.useEffect)((()=>()=>{D&&(D.destroy(),E(void 0))}),[D]),(0,s.useEffect)((()=>{u&&D&&D.focus()}),[u,D]),(0,s.useEffect)((()=>{D&&D.dispatch({effects:o.Py.reconfigure.of(R)})}),[f,h,p,d,m,v,b,k,g,y,x,w,O,r,c]),(0,s.useEffect)((()=>{var e=D?D.state.doc.toString():"";D&&t!==e&&D.dispatch({changes:{from:0,to:e.length,insert:t||""}})}),[t,D]),{state:P,setState:Q,view:D,setView:E,container:S,setContainer:A}}var Dr=n(85893),Er=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],Pr=(0,s.forwardRef)(((e,t)=>{var{className:n,value:o="",selection:a,extensions:l=[],onChange:c,onStatistics:h,onCreateEditor:u,onUpdate:f,autoFocus:p,theme:d="light",height:m,minHeight:g,maxHeight:v,width:b,minWidth:k,maxWidth:y,basicSetup:x,placeholder:w,indentWithTab:O,editable:_,readOnly:C,root:S,initialState:A}=e,D=(0,i.Z)(e,Er),E=(0,s.useRef)(null),{state:P,view:Q,container:T,setContainer:I}=Ar({container:E.current,root:S,value:o,autoFocus:p,theme:d,height:m,minHeight:g,maxHeight:v,width:b,minWidth:k,maxWidth:y,basicSetup:x,placeholder:w,indentWithTab:O,editable:_,readOnly:C,selection:a,onChange:c,onStatistics:h,onCreateEditor:u,onUpdate:f,extensions:l,initialState:A});if((0,s.useImperativeHandle)(t,(()=>({editor:E.current,state:P,view:Q})),[E,T,P,Q]),"string"!==typeof o)throw new Error("value must be typeof string but got "+typeof o);var z="string"===typeof d?"cm-theme-"+d:"cm-theme";return(0,Dr.jsx)("div",(0,r.Z)({ref:E,className:z+(n?" "+n:"")},D))}));Pr.displayName="CodeMirror";var Qr=Pr},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(87462),i=n(4942),s=n(50888),o=n(94184),a=n.n(o),l=n(97685),c=n(45987),h=n(67294),u=n(21770),f=n(15105),p=h.forwardRef((function(e,t){var n,r=e.prefixCls,s=void 0===r?"rc-switch":r,o=e.className,p=e.checked,d=e.defaultChecked,m=e.disabled,g=e.loadingIcon,v=e.checkedChildren,b=e.unCheckedChildren,k=e.onClick,y=e.onChange,x=e.onKeyDown,w=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),O=(0,u.Z)(!1,{value:p,defaultValue:d}),_=(0,l.Z)(O,2),C=_[0],S=_[1];function A(e,t){var n=C;return m||(S(n=e),null===y||void 0===y||y(n,t)),n}var D=a()(s,o,(n={},(0,i.Z)(n,"".concat(s,"-checked"),C),(0,i.Z)(n,"".concat(s,"-disabled"),m),n));return h.createElement("button",Object.assign({},w,{type:"button",role:"switch","aria-checked":C,disabled:m,className:D,ref:t,onKeyDown:function(e){e.which===f.Z.LEFT?A(!1,e):e.which===f.Z.RIGHT&&A(!0,e),null===x||void 0===x||x(e)},onClick:function(e){var t=A(!C,e);null===k||void 0===k||k(t,e)}}),g,h.createElement("span",{className:"".concat(s,"-inner")},C?v:b))}));p.displayName="Switch";var d=p,m=n(53124),g=n(98866),v=n(97647),b=n(68349),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,r)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}(e,t),k(t)):e.onSuccess(k(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var x=+new Date,w=0;function O(){return"rc-upload-".concat(x,"-").concat(++w)}var _=n(80334),C=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",s=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=r.toLowerCase(),o=t.toLowerCase(),a=[o];return".jpg"!==o&&".jpeg"!==o||(a=[".jpg",".jpeg"]),a.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?s===t.replace(/\/.*$/,""):i===t||!!/^\w+$/.test(t)&&((0,_.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var S=function(e,t,n){var r=function e(r,i){r.path=i||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&function(e,t){var n=e.createReader(),r=[];!function e(){n.readEntries((function(n){var i=Array.prototype.slice.apply(n);r=r.concat(i),i.length?e():t(r)}))}()}(r,(function(t){t.forEach((function(t){e(t,"".concat(i).concat(r.name,"/"))}))}))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},A=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],D=function(e){(0,d.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,f.Z)(this,n);for(var r=arguments.length,i=new Array(r),s=0;ss?c=-((a=s*(oe/e))-o)/2:l=-((o=e*(oe/s))-a)/2,r.drawImage(i,l,c,o,a);var h=n.toDataURL();document.body.removeChild(n),t(h)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var s=new FileReader;s.addEventListener("load",(function(){s.result&&(i.src=s.result)})),s.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return se(e.type);var t=e.thumbUrl||e.url||"",n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n}};var be=ve,ke=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{l(r.next(e))}catch(t){s(t)}}function a(e){try{l(r.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((r=r.apply(e,t||[])).next())}))},ye="__LIST_IGNORE_".concat(Date.now(),"__"),xe=function(e,t){var n,h=e.fileList,f=e.defaultFileList,p=e.onRemove,d=e.showUploadList,m=e.listType,g=e.onPreview,v=e.onDownload,b=e.onChange,k=e.onDrop,y=e.previewFile,x=e.disabled,w=e.locale,O=e.iconRender,_=e.isImageUrl,C=e.progress,S=e.prefixCls,A=e.className,D=e.type,E=e.children,P=e.style,Q=e.itemRender,L=e.maxCount,F=i.useContext(M.Z),$=x||F,B=(0,I.Z)(f||[],{value:h,postState:function(e){return null!==e&&void 0!==e?e:[]}}),Z=(0,c.Z)(B,2),j=Z[0],W=Z[1],U=i.useState("drop"),J=(0,c.Z)(U,2),V=J[0],X=J[1],G=i.useRef();i.useMemo((function(){var e=Date.now();(h||[]).forEach((function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))}))}),[h]);var H=function(e,t,n){var r=(0,l.Z)(t);1===L?r=r.slice(-1):L&&(r=r.slice(0,L)),(0,z.flushSync)((function(){W(r)}));var i={file:e,fileList:r};n&&(i.event=n),null===b||void 0===b||b(i)},Y=function(e){var t=e.filter((function(e){return!e.file[ye]}));if(t.length){var n=t.map((function(e){return ne(e.file)})),r=(0,l.Z)(j);n.forEach((function(e){r=re(e,r)})),n.forEach((function(e,n){var i=e;if(t[n].parsedFile)e.status="uploading";else{var s,o=e.originFileObj;try{s=new File([o],o.name,{type:o.type})}catch(a){(s=new Blob([o],{type:o.type})).name=o.name,s.lastModifiedDate=new Date,s.lastModified=(new Date).getTime()}s.uid=e.uid,i=s}H(i,r)}))}},K=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(s){}if(ie(t,j)){var r=ne(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var i=re(r,j);H(r,i)}},ee=function(e,t){if(ie(t,j)){var n=ne(t);n.status="uploading",n.percent=e.percent;var r=re(n,j);H(n,r,e)}},te=function(e,t,n){if(ie(n,j)){var r=ne(n);r.error=e,r.response=t,r.status="error";var i=re(r,j);H(r,i)}},se=function(e){var t;Promise.resolve("function"===typeof p?p(e):p).then((function(n){var i;if(!1!==n){var s=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,j);s&&(t=(0,r.Z)((0,r.Z)({},e),{status:"removed"}),null===j||void 0===j||j.forEach((function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(i=G.current)||void 0===i||i.abort(t),H(t,s))}}))},oe=function(e){X(e.type),"drop"===e.type&&(null===k||void 0===k||k(e))};i.useImperativeHandle(t,(function(){return{onBatchStart:Y,onSuccess:K,onProgress:ee,onError:te,fileList:j,upload:G.current}}));var ae=i.useContext(R.E_),le=ae.getPrefixCls,ce=ae.direction,he=le("upload",S),ue=(0,r.Z)((0,r.Z)({onBatchStart:Y,onError:te,onProgress:ee,onSuccess:K},e),{prefixCls:he,disabled:$,beforeUpload:function(t,n){return ke(void 0,void 0,void 0,(0,o.Z)().mark((function r(){var i,s,l,c;return(0,o.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=e.beforeUpload,s=e.transformFile,l=t,!i){r.next=13;break}return r.next=5,i(t,n);case 5:if(!1!==(c=r.sent)){r.next=8;break}return r.abrupt("return",!1);case 8:if(delete t[ye],c!==ye){r.next=12;break}return Object.defineProperty(t,ye,{value:!0,configurable:!0}),r.abrupt("return",!1);case 12:"object"===(0,a.Z)(c)&&c&&(l=c);case 13:if(!s){r.next=17;break}return r.next=16,s(l);case 16:l=r.sent;case 17:return r.abrupt("return",l);case 18:case"end":return r.stop()}}),r)})))},onChange:void 0});delete ue.className,delete ue.style,E&&!$||delete ue.id;var fe=function(e,t){return d?i.createElement(N.Z,{componentName:"Upload",defaultLocale:q.Z.Upload},(function(n){var s="boolean"===typeof d?{}:d,o=s.showRemoveIcon,a=s.showPreviewIcon,l=s.showDownloadIcon,c=s.removeIcon,h=s.previewIcon,u=s.downloadIcon;return i.createElement(be,{prefixCls:he,listType:m,items:j,previewFile:y,onPreview:g,onDownload:v,onRemove:se,showRemoveIcon:!$&&o,showPreviewIcon:a,showDownloadIcon:l,removeIcon:c,previewIcon:h,downloadIcon:u,iconRender:O,locale:(0,r.Z)((0,r.Z)({},n),w),isImageUrl:_,progress:C,appendAction:e,appendActionVisible:t,itemRender:Q})})):e};if("drag"===D){var pe,de=u()(he,(pe={},(0,s.Z)(pe,"".concat(he,"-drag"),!0),(0,s.Z)(pe,"".concat(he,"-drag-uploading"),j.some((function(e){return"uploading"===e.status}))),(0,s.Z)(pe,"".concat(he,"-drag-hover"),"dragover"===V),(0,s.Z)(pe,"".concat(he,"-disabled"),$),(0,s.Z)(pe,"".concat(he,"-rtl"),"rtl"===ce),pe),A);return i.createElement("span",null,i.createElement("div",{className:de,onDrop:oe,onDragOver:oe,onDragLeave:oe,style:P},i.createElement(T,(0,r.Z)({},ue,{ref:G,className:"".concat(he,"-btn")}),i.createElement("div",{className:"".concat(he,"-drag-container")},E))),fe())}var me,ge=u()(he,(n={},(0,s.Z)(n,"".concat(he,"-select"),!0),(0,s.Z)(n,"".concat(he,"-select-").concat(m),!0),(0,s.Z)(n,"".concat(he,"-disabled"),$),(0,s.Z)(n,"".concat(he,"-rtl"),"rtl"===ce),n)),ve=(me=E?void 0:{display:"none"},i.createElement("div",{className:ge,style:me},i.createElement(T,(0,r.Z)({},ue,{ref:G}))));return"picture-card"===m?i.createElement("span",{className:u()("".concat(he,"-picture-card-wrapper"),A)},fe(ve,!!E)):i.createElement("span",{className:A},ve,fe())},we=i.forwardRef(xe);we.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Oe=we,_e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function h(e){var t=e.re=n(36066)(e.__opts__),r=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.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]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?s(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(s(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?c(t,n):l.push(t)}})),l.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:function(e,t){t.normalize(e)}};var h=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+h+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+h+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function u(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new u(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},h(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},p.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,s,o,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(i=this.testSchemaAt(e,t[2],a.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:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(r=e.match(this.re.email_fuzzy))&&(s=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,f(this,0)):null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},e.exports=p},36066:function(e,t,n){"use strict";e.exports=function(e){var t={};e=e||{},t.src_Any=n(29369).source,t.src_Cc=n(99413).source,t.src_Z=n(35045).source,t.src_P=n(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("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+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="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+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='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},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),s=n(14841),o=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,h,u,f,p,d=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=l,r=c;return l=c=void 0,d=t,u=e.apply(r,n)}function k(e){return d=e,f=setTimeout(x,t),m?b(e):u}function y(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-d>=h}function x(){var e=i();if(y(e))return w(e);f=setTimeout(x,function(e){var n=t-(e-p);return g?a(n,h-(e-d)):n}(e))}function w(e){return f=void 0,v&&l?b(e):(l=c=void 0,u)}function O(){var e=i(),n=y(e);if(l=arguments,c=this,p=e,n){if(void 0===f)return k(p);if(g)return clearTimeout(f),f=setTimeout(x,t),b(p)}return void 0===f&&(f=setTimeout(x,t)),u}return t=s(t)||0,r(n)&&(m=!!n.leading,h=(g="maxWait"in n)?o(s(n.maxWait)||0,t):h,v="trailing"in n?!!n.trailing:v),O.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=p=c=f=void 0},O.flush=function(){return void 0===f?u:w(i())},O}},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),s=n(33448),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return NaN;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=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}},9980:function(e,t,n){"use strict";e.exports=n(17024)},26233:function(e,t,n){"use strict";e.exports=n(95485)},40813:function(e){"use strict";e.exports=["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","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),i=new RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=i},67022:function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=n(26233);var u=/[&<>"]/,f=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function d(e){return p[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=n(73189);t.lib={},t.lib.mdurl=n(48765),t.lib.ucmicro=n(84205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return i(h,t)?h[t]:35===t.charCodeAt(0)&&c.test(t)&&s(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return u.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},51685:function(e,t,n){"use strict";t.parseLinkLabel=n(33595),t.parseLinkDestination=n(12548),t.parseLinkTitle=n(88040)},12548:function(e,t,n){"use strict";var r=n(67022).unescapeAll;e.exports=function(e,t,n){var i,s,o=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return a;if(41===i){if(0===s)break;s--}t++}return o===t||0!==s||(a.str=r(e.slice(o,t)),a.lines=0,a.pos=t,a.ok=!0),a}},33595:function(e){"use strict";e.exports=function(e,t,n){var r,i,s,o,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos=n)return l;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return l;for(t++,40===s&&(s=41);t=0))try{t.hostname=u.toASCII(t.hostname)}catch(n){}return h.encode(h.format(t))}function b(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=u.toUnicode(t.hostname)}catch(n){}return h.decode(h.format(t),h.decode.defaultChars+"%")}function k(e,t){if(!(this instanceof k))return new k(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new a,this.core=new o,this.renderer=new s,this.linkify=new c,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=b,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}k.prototype.set=function(e){return r.assign(this.options,e),this},k.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},k.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},k.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},k.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},k.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},k.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},k.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},k.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=k},82471:function(e,t,n){"use strict";var r=n(79580),i=[["table",n(91785),["paragraph","reference"]],["code",n(38768)],["fence",n(13542),["paragraph","reference","blockquote","list"]],["blockquote",n(45258),["paragraph","reference","blockquote","list"]],["hr",n(35634),["paragraph","reference","blockquote","list"]],["list",n(18532),["paragraph","reference","blockquote"]],["reference",n(43804)],["html_block",n(76329),["paragraph","reference","blockquote"]],["heading",n(61630),["paragraph","reference","blockquote"]],["lheading",n(56850)],["paragraph",n(96864)]];function s(){this.ruler=new r;for(var e=0;e=n))&&!(e.sCount[o]=l){e.line=n;break}for(r=0;r=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,s,o,a=new this.State(e,t,n,r);for(this.tokenize(a),o=(s=this.ruler2.getRules("")).length,i=0;i"+s(e[t].content)+""},o.code_block=function(e,t,n,r,i){var o=e[t];return""+s(e[t].content)+"\n"},o.fence=function(e,t,n,r,o){var a,l,c,h,u,f=e[t],p=f.info?i(f.info).trim():"",d="",m="";return p&&(d=(c=p.split(/(\s+)/g))[0],m=c.slice(2).join("")),0===(a=n.highlight&&n.highlight(f.content,d,m)||s(f.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},o.image=function(e,t,n,r,i){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},o.text=function(e,t){return s(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},a.prototype.renderInline=function(e,t,n){for(var r,i="",s=this.rules,o=0,a=e.length;o=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(l=p=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,l++,p++,s=!1,y=!0):9===e.src.charCodeAt(S)?(y=!0,(e.bsCount[t]+p)%4===3?(S++,l++,p++,s=!1):s=!0):y=!1,d=[e.bMarks[t]],e.bMarks[t]=S;S=A,b=[e.sCount[t]],e.sCount[t]=p-l,k=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",f=t+1;f=(A=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(S++)||_){if(h)break;for(x=!1,a=0,c=w.length;a=A,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(y?1:0),b.push(e.sCount[f]),e.sCount[f]=p-l,k.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=u=[t,0],e.md.block.tokenize(e,t,f),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=C,e.parentType=v,u[1]=e.line,a=0;a=4))break;i=++r}return e.line=i,(s=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",s.map=[t,e.line],!0}},13542:function(e){"use strict";e.exports=function(e,t,n,r){var i,s,o,a,l,c,h,u=!1,f=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>p)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(l=f,(s=(f=e.skipChars(f,i))-l)<3)return!1;if(h=e.src.slice(l,f),o=e.src.slice(f,p),96===i&&o.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(a=t;!(++a>=n)&&!((f=l=e.bMarks[a]+e.tShift[a])<(p=e.eMarks[a])&&e.sCount[a]=4)&&!((f=e.skipChars(f,i))-l=4)return!1;if(35!==(s=e.src.charCodeAt(c))||c>=h)return!1;for(o=1,s=e.src.charCodeAt(++c);35===s&&c6||cc&&r(e.src.charCodeAt(a-1))&&(h=a),e.line=t+1,(l=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,h).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)}},35634:function(e,t,n){"use strict";var r=n(67022).isSpace;e.exports=function(e,t,n,i){var s,o,a,l,c=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(s=e.src.charCodeAt(c++))&&45!==s&&95!==s)return!1;for(o=1;c|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,a,l,c=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,h),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p])<(c=e.eMarks[p])&&(45===(u=e.src.charCodeAt(l))||61===u)&&(l=e.skipChars(l,u),(l=e.skipSpaces(l))>=c)){h=61===u?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,s=0,o=d.length;s=o)return-1;if((n=e.src.charCodeAt(s++))<48||n>57)return-1;for(;;){if(s>=o)return-1;if(!((n=e.src.charCodeAt(s++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(s-i>=10)return-1}return s=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(D=s(e,t))>=0){if(f=!0,P=e.bMarks[t]+e.tShift[t],b=Number(e.src.slice(P,D-1)),z&&1!==b)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(z&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;for(g=e.tokens.length,f?(I=e.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=e.push("bullet_list_open","ul",1),I.map=m=[t,0],I.markup=String.fromCharCode(v),y=t,E=!1,T=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";y=k?1:x-u)>4&&(h=1),c=u+h,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=p=[t,0],f&&(I.info=e.src.slice(P,D-1)),S=e.tight,C=e.tShift[t],_=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=x,a>=k&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!E||(R=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=_,e.tight=S,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),y=t=e.line,p[1]=y,a=e.bMarks[t],y>=n)break;if(e.sCount[y]=4)break;for(Q=!1,l=0,d=T.length;l3)&&!(e.sCount[l]<0)){for(r=!1,i=0,s=c.length;i=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<_;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===_)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(c=e.lineMax,y=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3)&&!(e.sCount[C]<0)){for(k=!1,u=0,f=y.length;u0&&this.level++,this.tokens.push(i),i},s.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},s.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},s.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},s.prototype.getLines=function(e,t,n,r){var s,o,a,l,c,h,u,f=e;if(e>=t)return"";for(h=new Array(t-e),s=0;fn?new Array(o-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return h.join("")},s.prototype.Token=r,e.exports=s},91785:function(e,t,n){"use strict";var r=n(67022).isSpace;function i(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function s(e){var t,n=[],r=0,i=e.length,s=!1,o=0,a="";for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(O=e.src.charCodeAt(c++))&&45!==O&&58!==O)return!1;if(c>=e.eMarks[f])return!1;if(124!==(_=e.src.charCodeAt(c++))&&45!==_&&58!==_&&!r(_))return!1;if(45===O&&r(_))return!1;for(;c=4)return!1;if((p=s(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),0===(d=p.length)||d!==g.length)return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=b=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],h=0;h=4)break;for((p=s(l)).length&&""===p[0]&&p.shift(),p.length&&""===p[p.length-1]&&p.pop(),f===t+2&&((m=e.push("tbody_open","tbody",1)).map=k=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[f,f+1],h=0;h/i.test(e)}e.exports=function(e){var t,n,s,o,a,l,c,h,u,f,p,d,m,g,v,b,k,y,x=e.tokens;if(e.md.options.linkify)for(n=0,s=x.length;n=0;t--)if("link_close"!==(l=o[t]).type){if("html_inline"===l.type&&(y=l.content,/^\s]/i.test(y)&&m>0&&m--,i(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(u=l.content,k=e.md.linkify.match(u),c=[],d=l.level,p=0,k.length>0&&0===k[0].index&&t>0&&"text_special"===o[t-1].type&&(k=k.slice(1)),h=0;hp&&((a=new e.Token("text","",0)).content=u.slice(p,f),a.level=d,c.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",v]],a.level=d++,a.markup="linkify",a.info="auto",c.push(a),(a=new e.Token("text","",0)).content=b,a.level=d,c.push(a),(a=new e.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",c.push(a),p=k[h].lastIndex);p=0;t--)"text"!==(n=e[t]).type||i||(n.content=n.content.replace(r,s)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function a(e){var n,r,i=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||i||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&i--,"link_close"===r.type&&"auto"===r.info&&i++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)"inline"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&o(e.tokens[r].children),t.test(e.tokens[r].content)&&a(e.tokens[r].children))}},58450:function(e,t,n){"use strict";var r=n(67022).isWhiteSpace,i=n(67022).isPunctChar,s=n(67022).isMdAsciiPunct,o=/['"]/,a=/['"]/g;function l(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function c(e,t){var n,o,c,h,u,f,p,d,m,g,v,b,k,y,x,w,O,_,C,S,A;for(C=[],n=0;n=0&&!(C[O].level<=p);O--);if(C.length=O+1,"text"===o.type){u=0,f=(c=o.content).length;e:for(;u=0)m=c.charCodeAt(h.index-1);else for(O=n-1;O>=0&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O--)if(e[O].content){m=e[O].content.charCodeAt(e[O].content.length-1);break}if(g=32,u=48&&m<=57&&(w=x=!1),x&&w&&(x=v,w=b),x||w){if(w)for(O=C.length-1;O>=0&&(d=C[O],!(C[O].level=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},16480:function(e,t,n){"use strict";var r=n(75872);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},46633:function(e){"use strict";e.exports=function(e){var t,n,r,i,s,o,a=e.tokens;for(t=0,n=a.length;t\x00-\x20]*)$/;e.exports=function(e,r){var i,s,o,a,l,c,h=e.pos;if(60!==e.src.charCodeAt(h))return!1;for(l=e.pos,c=e.posMax;;){if(++h>=c)return!1;if(60===(a=e.src.charCodeAt(h)))return!1;if(62===a)break}return i=e.src.slice(l+1,h),n.test(i)?(s=e.md.normalizeLink(i),!!e.md.validateLink(s)&&(r||((o=e.push("link_open","a",1)).attrs=[["href",s]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(i),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=i.length+2,!0)):!!t.test(i)&&(s=e.md.normalizeLink("mailto:"+i),!!e.md.validateLink(s)&&(r||((o=e.push("link_open","a",1)).attrs=[["href",s]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(i),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=i.length+2,!0))}},79755:function(e){"use strict";e.exports=function(e,t){var n,r,i,s,o,a,l,c,h=e.pos;if(96!==e.src.charCodeAt(h))return!1;for(n=h,h++,r=e.posMax;ho;r-=d[r]+1)if((s=t[r]).marker===i.marker&&s.open&&s.end<0&&(l=!1,(s.close||i.open)&&(s.length+i.length)%3===0&&(s.length%3===0&&i.length%3===0||(l=!0)),!l)){c=r>0&&!t[r-1].open?d[r-1]+1:0,d[n]=n-r+c,d[r]=c,i.open=!1,s.end=n,s.close=!1,a=-1,p=-2;break}-1!==a&&(h[i.marker][(i.open?3:0)+(i.length||0)%3]=a)}}}e.exports=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],a=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),(s=e.tokens[r.token]).type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?o+o:o,s.content="",(s=e.tokens[i.token]).type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?o+o:o,s.content="",a&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(95!==s&&42!==s)return!1;for(r=e.scanDelims(e.pos,42===s),n=0;n=f)return!1;if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(a))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(h=e.push("text_special","",0)).content=s(n)?o(n):o(65533),h.markup=c[0],h.info="entity"),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&i(r,c[1]))return t||((h=e.push("text_special","",0)).content=r[c[1]],h.markup=c[0],h.info="entity"),e.pos+=c[0].length,!0;return!1}},1917:function(e,t,n){"use strict";for(var r=n(67022).isSpace,i=[],s=0;s<256;s++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,s,o,a,l,c=e.pos,h=e.posMax;if(92!==e.src.charCodeAt(c))return!1;if(++c>=h)return!1;if(10===(n=e.src.charCodeAt(c))){for(t||e.push("hardbreak","br",0),c++;c=55296&&n<=56319&&c+1=56320&&s<=57343&&(a+=e.src[c+1],c++),o="\\"+a,t||(l=e.push("text_special","",0),n<256&&0!==i[n]?l.content=a:l.content=o,l.markup=o,l.info="escape"),e.pos=c+1,!0}},69969:function(e){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,s=e.tokens.length;for(t=n=0;t0&&r++,"text"===i[t].type&&t+1=s)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(l).match(r))&&(t||((o=e.push("html_inline","",0)).content=e.src.slice(l,l+i[0].length),a=o.content,/^\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(o.content)&&e.linkLevel--),e.pos+=i[0].length,!0))))}},83006:function(e,t,n){"use strict";var r=n(67022).normalizeReference,i=n(67022).isSpace;e.exports=function(e,t){var n,s,o,a,l,c,h,u,f,p,d,m,g,v="",b=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((h=l+1)=k)return!1;for(g=h,(f=e.md.helpers.parseLinkDestination(e.src,h,e.posMax)).ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?h=f.pos:v=""),g=h;h=k||41!==e.src.charCodeAt(h))return e.pos=b,!1;h++}else{if("undefined"===typeof e.env.references)return!1;if(h=0?a=e.src.slice(g,h++):h=l+1):h=l+1,a||(a=e.src.slice(c,l)),!(u=e.env.references[r(a)]))return e.pos=b,!1;v=u.href,p=u.title}return t||(o=e.src.slice(c,l),e.md.inline.parse(o,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=n=[["src",v],["alt",""]],d.children=m,d.content=o,p&&n.push(["title",p])),e.pos=h,e.posMax=k,!0}},81727:function(e,t,n){"use strict";var r=n(67022).normalizeReference,i=n(67022).isSpace;e.exports=function(e,t){var n,s,o,a,l,c,h,u,f="",p="",d=e.pos,m=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=a+1)=m)return!1;if(g=c,(h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(f=e.md.normalizeLink(h.str),e.md.validateLink(f)?c=h.pos:f="",g=c;c=m||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if("undefined"===typeof e.env.references)return!1;if(c=0?o=e.src.slice(g,c++):c=a+1):c=a+1,o||(o=e.src.slice(l,a)),!(u=e.env.references[r(o)]))return e.pos=d,!1;f=u.href,p=u.title}return t||(e.pos=l,e.posMax=a,e.push("link_open","a",1).attrs=n=[["href",f]],p&&n.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},12906:function(e){"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,n){var r,i,s,o,a,l,c;return!!e.md.options.linkify&&(!(e.linkLevel>0)&&(!((r=e.pos)+3>e.posMax)&&(58===e.src.charCodeAt(r)&&(47===e.src.charCodeAt(r+1)&&(47===e.src.charCodeAt(r+2)&&(!!(i=e.pending.match(t))&&(s=i[1],!!(o=e.md.linkify.matchAtStart(e.src.slice(r-s.length)))&&(a=(a=o.url).replace(/\*+$/,""),l=e.md.normalizeLink(a),!!e.md.validateLink(l)&&(n||(e.pending=e.pending.slice(0,-s.length),(c=e.push("link_open","a",1)).attrs=[["href",l]],c.markup="linkify",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(a),(c=e.push("link_close","a",-1)).markup="linkify",c.info="auto"),e.pos+=a.length-s.length,!0)))))))))}},43905:function(e,t,n){"use strict";var r=n(67022).isSpace;e.exports=function(e,t){var n,i,s,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(s=n-1;s>=1&&32===e.pending.charCodeAt(s-1);)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(s),i},a.prototype.scanDelims=function(e,t){var n,r,a,l,c,h,u,f,p,d=e,m=!0,g=!0,v=this.posMax,b=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;d=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},83122:function(e){"use strict";var t={};function n(e,r){var i;return"string"!==typeof r&&(r=n.defaultChars),i=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),t+=6):240===(248&r)&&t+91114111?c+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="\ufffd";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},70729:function(e){"use strict";var t={};function n(e,r,i){var s,o,a,l,c,h="";for("string"!==typeof r&&(i=r,r=n.defaultChars),"undefined"===typeof i&&(i=!0),c=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1=56320&&l<=57343){h+=encodeURIComponent(e[s]+e[s+1]),s++;continue}h+="%EF%BF%BD"}else h+=encodeURIComponent(e[s]);return h}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},2201:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},48765:function(e,t,n){"use strict";e.exports.encode=n(70729),e.exports.decode=n(83122),e.exports.format=n(2201),e.exports.parse=n(9553)},9553:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),o=["'"].concat(s),a=["%","/","?",";","#"].concat(o),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,s,o,p,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=i.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=n.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||v&&u[v]||(m=m.substr(2),this.slashes=!0)),!u[v]&&(d||v&&!f[v])){var b,k,y=-1;for(r=0;r127?C+="x":C+=_[S];if(!C.match(c)){var D=O.slice(0,r),E=O.slice(r+1),P=_.match(h);P&&(D.push(P[1]),E.unshift(P[2])),E.length&&(m=E.join(".")+m),this.hostname=D.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Q=m.indexOf("#");-1!==Q&&(this.hash=m.substr(Q),m=m.slice(0,Q));var T=m.indexOf("?");return-1!==T&&(this.search=m.substr(T),m=m.slice(0,T)),m&&(this.pathname=m),f[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},90638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(96856).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default,s=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};r(e,Promise)?s.loader=function(){return e}:"function"===typeof e?s.loader=e:"object"===typeof e&&(s=i({},s,e));if((s=i({},s,t)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");s.suspense&&(delete s.ssr,delete s.loading);s.loadableGenerated&&delete(s=i({},s,s.loadableGenerated)).loadableGenerated;if("boolean"===typeof s.ssr&&!s.suspense){if(!s.ssr)return delete s.ssr,a(n,s);delete s.ssr}return n(s)},t.noSSR=a;var i=n(6495).Z,s=n(92648).Z,o=(s(n(67294)),s(n(14302)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294)).default.createContext(null);t.LoadableContext=r},14302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(79658).Z,i=n(7222).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(6495).Z,o=(0,n(92648).Z)(n(67294)),a=n(16319),l=n(61688).useSyncExternalStore,c=[],h=[],u=!1;function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var p=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return i(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=s({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function d(e){return function(e,t){var n=function(){if(!c){var t=new p(e,i);c={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return c.promise()},r=function(){n();var e=o.default.useContext(a.LoadableContext);e&&Array.isArray(i.modules)&&i.modules.forEach((function(t){e(t)}))},i=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);i.suspense&&(i.lazy=o.default.lazy(i.loader));var c=null;if(!u){var f=i.webpack?i.webpack():i.modules;f&&h.push((function(e){var t=!0,r=!1,i=void 0;try{for(var s,o=f[Symbol.iterator]();!(t=(s=o.next()).done);t=!0){var a=s.value;if(-1!==e.indexOf(a))return n()}}catch(l){r=!0,i=l}finally{try{t||null==o.return||o.return()}finally{if(r)throw i}}}))}var d=i.suspense?function(e,t){return r(),o.default.createElement(i.lazy,s({},e,{ref:t}))}:function(e,t){r();var n=l(c.subscribe,c.getCurrentValue,c.getCurrentValue);return o.default.useImperativeHandle(t,(function(){return{retry:c.retry}}),[]),o.default.useMemo((function(){return n.loading||n.error?o.default.createElement(i.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:c.retry}):n.loaded?o.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,n])};return d.preload=function(){return n()},d.displayName="LoadableComponent",o.default.forwardRef(d)}(f,e)}function m(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return m(e,t)}))}d.preloadAll=function(){return new Promise((function(e,t){m(c).then(e,t)}))},d.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return u=!0,t()};m(h,e).then(n,n)}))},window.__NEXT_PRELOADREADY=d.preloadReady;var g=d;t.default=g},69596:function(){},5152:function(e,t,n){e.exports=n(90638)},3689:function(e,t,n){"use strict";n.r(t),n.d(t,{decode:function(){return v},encode:function(){return b},toASCII:function(){return y},toUnicode:function(){return k},ucs2decode:function(){return p},ucs2encode:function(){return d}});const r=2147483647,i=36,s=/^xn--/,o=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,h=String.fromCharCode;function u(e){throw new RangeError(l[e])}function f(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const i=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(a,".")).split("."),t).join(".");return r+i}function p(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=i)e=c(e/35);return c(r+36*e/(e+38))},v=function(e){const t=[],n=e.length;let s=0,o=128,a=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r=128&&u("not-basic"),t.push(e.charCodeAt(r));for(let f=l>0?l+1:0;f=n&&u("invalid-input");const l=(h=e.charCodeAt(f++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:i;(l>=i||l>c((r-s)/t))&&u("overflow"),s+=l*t;const p=o<=a?1:o>=a+26?26:o-a;if(lc(r/d)&&u("overflow"),t*=d}const p=t.length+1;a=g(s-l,p,0==l),c(s/p)>r-o&&u("overflow"),o+=c(s/p),s%=p,t.splice(s++,0,o)}var h;return String.fromCodePoint(...t)},b=function(e){const t=[];let n=(e=p(e)).length,s=128,o=0,a=72;for(const r of e)r<128&&t.push(h(r));let l=t.length,f=l;for(l&&t.push("-");f=s&&tc((r-o)/p)&&u("overflow"),o+=(n-s)*p,s=n;for(const d of e)if(dr&&u("overflow"),d==s){let e=o;for(let n=i;;n+=i){const r=n<=a?1:n>=a+26?26:n-a;if(et%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new a(r,r.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:r}=this.p,i=r.dynamicPrecedence(n);if(i&&(this.score+=i),0==t)return this.pushState(r.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,r=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&0!=this.buffer[i-4])for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4);this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n){let r=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let i=e,{parser:s}=this.p;(n>this.pos||t<=s.maxNode)&&(this.pos=n,s.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,r),this.shiftContext(t,r),t<=s.maxNode&&this.buffer.push(t,r,n,4)}else this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,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 r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,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),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,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 l(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==(65536&n))return!0;if(0==n)return!1;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 r,i=0;i1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r>19,r=65535&e,i=this.stack.length-3*n;if(i<0||t.getGoto(this.stack[i],r,!1)<0)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 a{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}!function(e){e[e.Insert=200]="Insert",e[e.Delete=190]="Delete",e[e.Reduce=100]="Reduce",e[e.MaxNext=4]="MaxNext",e[e.MaxInsertStackDepth=300]="MaxInsertStackDepth",e[e.DampenInsertStackDepth=120]="DampenInsertStackDepth"}(r||(r={}));class l{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class c{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 c(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 c(this.stack,this.pos,this.index)}}class h{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const u=new h;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=u,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,r=this.rangeIndex,i=this.pos+e;for(;in.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r=this.chunk2Pos&&tr.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,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=u,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 r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class p{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,r){let i=0,s=1<0){let n=e[h];if(a.allows(n)&&(-1==t.token.value||t.token.value==n||o.overrides(n,t.token.value))){t.acceptToken(n);break}}let r=t.next,l=0,c=e[i+2];if(!(t.next<0&&c>l&&65535==e[n+3*c-3])){for(;l>1,o=n+s+(s<<1),a=e[o],h=e[o+1];if(r=h)){i=e[o+2],t.advance();continue e}l=s+1}}break}i=e[n+3*c-1]}}(this.data,e,t,this.id)}}p.prototype.contextual=p.prototype.fallback=p.prototype.extend=!1;class d{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function m(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),s+=i,n)break;s*=46}n?n[i++]=s:n=new t(s)}return n}const g="undefined"!=typeof s&&s.env&&/\bparse\b/.test(s.env.LOG);let v=null;var b,k;function y(e,t,n){let r=e.cursor(i.vj.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.tot)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}!function(e){e[e.Margin=25]="Margin"}(b||(b={}));class x{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?y(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?y(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=o,null;if(s instanceof i.mp){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+s.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new h))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,s=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let l=0;lc.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let i=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new h,n.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 h,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r=0&&n.p.parser.dialect.allows(i>>1)){0==(1&i)?e.value=i>>1:e.extended=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let i=0;i4*e.bufferLength?new x(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];for(let s=0;sr)i.push(o);else{if(this.advanceStack(o,i,n))continue;{e||(e=[],t=[]),e.push(o);let n=this.tokens.getMainToken(o);t.push(n.value,n.end)}}break}}if(!i.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,i);if(n)return this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort(((e,t)=>t.score-e.score));i.length>e;)i.pop();i.some((e=>e.reducePos>r))&&this.recovering--}else if(i.length>1)e:for(let s=0;s500&&n.buffer.length>500){if(!((e.score-n.score||e.buffer.length-n.buffer.length)>0)){i.splice(s--,1);continue e}i.splice(t--,1)}}}this.minStackPos=i[0].pos;for(let s=1;s ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(r);a;){let r=this.parser.nodeSet.types[a.type.id]==a.type?s.getGoto(e.state,a.type.id):-1;if(r>-1&&a.length&&(!t||(a.prop(i.md.contextHash)||0)==n))return e.useNode(a,r),g&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(a.type.id)})`),!0;if(!(a instanceof i.mp)||0==a.children.length||a.positions[0]>0)break;let l=a.children[0];if(!(l instanceof i.mp&&0==a.positions[0]))break;a=l}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),g&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(65535&a)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let i=0;ir?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return _(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let s=0;s ":"";if(o.deadEnd){if(i)continue;if(i=!0,o.restart(),g&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))continue}let h=o.split(),u=c;for(let e=0;h.forceReduce()&&e<10;e++){if(g&&console.log(u+this.stackID(h)+" (via force-reduce)"),this.advanceFully(h,n))break;g&&(u=this.stackID(h)+" -> ")}for(let e of o.recoverByInsert(a))g&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),g&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),_(o,n)):(!r||r.scoree.topRules[t][1])),r=[];for(let i=0;i=0)s(n,e,a[t++]);else{let r=a[t+-n];for(let i=-n;i>0;i--)s(a[t++],e,r);t++}}}this.nodeSet=new i.Lj(t.map(((t,s)=>i.Jq.define({name:s>=this.minRepeatTerm?void 0:t,id:s,props:r[s],top:n.indexOf(s)>-1,error:0==s,skipped:e.skippedNodes&&e.skippedNodes.indexOf(s)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=i.L3;let o=m(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let i=0;i"number"==typeof e?new p(o,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 r=new O(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],s=1&t,o=r[i++];if(s&&n)return o;for(let n=i+(t>>1);i0}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=A(this.data,n+2)}if(t==A(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])break;n=A(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}overrides(e,t){let n=D(this.data,this.tokenPrecTable,t);return n<0||D(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,r)=>{let i=e.specializers.find((e=>e.from==n.external));if(!i)return n;let s=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=E(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 e=t.indexOf(i);e>=0&&(n[e]=!0)}let r=null;for(let i=0;ie.external(n,r)<<1|t}return e.get}var P=n(35524);const Q=[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 T(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}const I=new d(((e,t)=>{for(let r=!1,i=0,s=0;;s++){let{next:o}=e;if(!(T(o)||45==o||95==o||r&&(n=o,n>=48&&n<=57))){r&&e.acceptToken(40==o?94:2==i&&t.canShift(2)?2:95);break}!r&&(45!=o||s>0)&&(r=!0),i===s&&45==o&&i++,e.advance()}var n})),z=new d((e=>{if(Q.includes(e.peek(-1))){let{next:t}=e;(T(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}})),R=new d((e=>{if(!Q.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),T(t)){do{e.advance()}while(T(e.next));e.acceptToken(1)}}})),M=(0,P.Gv)({"AtKeyword import charset namespace keyframes media supports":P.pJ.definitionKeyword,"from to selector":P.pJ.keyword,NamespaceName:P.pJ.namespace,KeyframeName:P.pJ.labelName,TagName:P.pJ.tagName,ClassName:P.pJ.className,PseudoClassName:P.pJ.constant(P.pJ.className),IdName:P.pJ.labelName,"FeatureName PropertyName":P.pJ.propertyName,AttributeName:P.pJ.attributeName,NumberLiteral:P.pJ.number,KeywordQuery:P.pJ.keyword,UnaryQueryOp:P.pJ.operatorKeyword,"CallTag ValueName":P.pJ.atom,VariableName:P.pJ.variableName,Callee:P.pJ.operatorKeyword,Unit:P.pJ.unit,"UniversalSelector NestingSelector":P.pJ.definitionOperator,MatchOp:P.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":P.pJ.logicOperator,BinOp:P.pJ.arithmeticOperator,Important:P.pJ.modifier,Comment:P.pJ.blockComment,ParenthesizedContent:P.pJ.special(P.pJ.name),ColorLiteral:P.pJ.color,StringLiteral:P.pJ.string,":":P.pJ.punctuation,"PseudoOp #":P.pJ.derefOperator,"; ,":P.pJ.separator,"( )":P.pJ.paren,"[ ]":P.pJ.squareBracket,"{ }":P.pJ.brace}),N={__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},q={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},L={__proto__:null,not:128,only:128,from:158,to:160},F=S.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOOQP1G.n1G.nO'iQWO1G.nO'nQWO1G.nOOQP1G/V1G/VO,WQ`O1G/ZO,qQXO1G/_O-XQXO1G/aO-oQXO1G/bO.VQXO'#CdO.zQWO'#DaOOQS,59z,59zO/PQWO,59zO/XQ[O,59zO/`Q[O'#DOO/gQdO'#CoOOQP1G/Z1G/ZO#kQdO1G/ZO/nQpO,59]OOQS,59_,59_O#kQdO,59aO/vQWO1G/kOOQS,59c,59cO/{Q!bO,59eO0TQWO'#DhO0`QWO,5:TO0eQWO,5:ZO$xQ[O,5:VO$xQ[O'#EYO0mQWO,5;TO0xQWO,5:XO%_Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O1ZQWO1G/|O1`QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XOOQP7+$Y7+$YOOQP7+$u7+$uO#kQdO7+$uO#kQdO,59{O1nQ[O'#EXO1xQWO1G/fOOQS1G/f1G/fO1xQWO1G/fO2QQXO'#EhO2XQWO,59jO2^QtO'#ETO3RQdO'#EeO3]QWO,59ZO3bQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO3jQWO1G/PO#kQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO3oQWO,5:tOOQO-E8W-E8WO3}QXO1G/vOOQS7+%h7+%hO4UQYO'#CsO%|QWO'#EZO4^QdO,5:hOOQS,5:h,5:hO4lQpO<O!c!}$w!}#O?[#O#P$w#P#Q?g#Q#R2U#R#T$w#T#U?r#U#c$w#c#d@q#d#o$w#o#pAQ#p#q2U#q#rA]#r#sAh#s#y$w#y#z%]#z$f$w$f$g%]$g#BY$w#BY#BZ%]#BZ$IS$w$IS$I_%]$I_$I|$w$I|$JO%]$JO$JT$w$JT$JU%]$JU$KV$w$KV$KW%]$KW&FU$w&FU&FV%]&FV~$wW$zQOy%Qz~%QW%VQoWOy%Qz~%Q~%bf#T~OX%QX^&v^p%Qpq&vqy%Qz#y%Q#y#z&v#z$f%Q$f$g&v$g#BY%Q#BY#BZ&v#BZ$IS%Q$IS$I_&v$I_$I|%Q$I|$JO&v$JO$JT%Q$JT$JU&v$JU$KV%Q$KV$KW&v$KW&FU%Q&FU&FV&v&FV~%Q~&}f#T~oWOX%QX^&v^p%Qpq&vqy%Qz#y%Q#y#z&v#z$f%Q$f$g&v$g#BY%Q#BY#BZ&v#BZ$IS%Q$IS$I_&v$I_$I|%Q$I|$JO&v$JO$JT%Q$JT$JU&v$JU$KV%Q$KV$KW&v$KW&FU%Q&FU&FV&v&FV~%Q^(fSOy%Qz#]%Q#]#^(r#^~%Q^(wSoWOy%Qz#a%Q#a#b)T#b~%Q^)YSoWOy%Qz#d%Q#d#e)f#e~%Q^)kSoWOy%Qz#c%Q#c#d)w#d~%Q^)|SoWOy%Qz#f%Q#f#g*Y#g~%Q^*_SoWOy%Qz#h%Q#h#i*k#i~%Q^*pSoWOy%Qz#T%Q#T#U*|#U~%Q^+RSoWOy%Qz#b%Q#b#c+_#c~%Q^+dSoWOy%Qz#h%Q#h#i+p#i~%Q^+wQ!VUoWOy%Qz~%Q~,QUOY+}Zr+}rs,ds#O+}#O#P,i#P~+}~,iOh~~,lPO~+}_,tWtPOy%Qz!Q%Q!Q![-^![!c%Q!c!i-^!i#T%Q#T#Z-^#Z~%Q^-cWoWOy%Qz!Q%Q!Q![-{![!c%Q!c!i-{!i#T%Q#T#Z-{#Z~%Q^.QWoWOy%Qz!Q%Q!Q![.j![!c%Q!c!i.j!i#T%Q#T#Z.j#Z~%Q^.qWfUoWOy%Qz!Q%Q!Q![/Z![!c%Q!c!i/Z!i#T%Q#T#Z/Z#Z~%Q^/bWfUoWOy%Qz!Q%Q!Q![/z![!c%Q!c!i/z!i#T%Q#T#Z/z#Z~%Q^0PWoWOy%Qz!Q%Q!Q![0i![!c%Q!c!i0i!i#T%Q#T#Z0i#Z~%Q^0pWfUoWOy%Qz!Q%Q!Q![1Y![!c%Q!c!i1Y!i#T%Q#T#Z1Y#Z~%Q^1_WoWOy%Qz!Q%Q!Q![1w![!c%Q!c!i1w!i#T%Q#T#Z1w#Z~%Q^2OQfUoWOy%Qz~%QY2XSOy%Qz!_%Q!_!`2e!`~%QY2lQzQoWOy%Qz~%QX2wQXPOy%Qz~%Q~3QUOY2}Zw2}wx,dx#O2}#O#P3d#P~2}~3gPO~2}_3oQbVOy%Qz~%Q~3zOa~_4RSUPjSOy%Qz!_%Q!_!`2e!`~%Q_4fUjS!PPOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q^4}SoWOy%Qz!Q%Q!Q![5Z![~%Q^5bWoW#ZUOy%Qz!Q%Q!Q![5Z![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q^6PWoWOy%Qz{%Q{|6i|}%Q}!O6i!O!Q%Q!Q![6z![~%Q^6nSoWOy%Qz!Q%Q!Q![6z![~%Q^7RSoW#ZUOy%Qz!Q%Q!Q![6z![~%Q^7fYoW#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q_8ZQpVOy%Qz~%Q^8fUjSOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q_8}S#WPOy%Qz!Q%Q!Q![5Z![~%Q~9`RjSOy%Qz{9i{~%Q~9nSoWOy9iyz9zz{:o{~9i~9}ROz9zz{:W{~9z~:ZTOz9zz{:W{!P9z!P!Q:j!Q~9z~:oOR~~:tUoWOy9iyz9zz{:o{!P9i!P!Q;W!Q~9i~;_QoWR~Oy%Qz~%Q^;jY#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[z,R,I,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:e=>N[e]||-1},{term:56,get:e=>q[e]||-1},{term:95,get:e=>L[e]||-1}],tokenPrec:1078});var $=n(59119);let B=null;function Z(){if(!B&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);B=e.sort().map((e=>({type:"property",label:e})))}return B||[]}const j=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map((e=>({type:"class",label:e}))),W=["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})))),U=["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}))),J=/^[\w-]*/,V=e=>{let{state:t,pos:n}=e,r=(0,$.qz)(t).resolveInner(n,-1);if("PropertyName"==r.name)return{from:r.from,options:Z(),validFor:J};if("ValueName"==r.name)return{from:r.from,options:W,validFor:J};if("PseudoClassName"==r.name)return{from:r.from,options:j,validFor:J};if("TagName"==r.name){for(let{parent:e}=r;e;e=e.parent)if("Block"==e.name)return{from:r.from,options:Z(),validFor:J};return{from:r.from,options:U,validFor:J}}if(!e.explicit)return null;let i=r.resolve(n),s=i.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:n,options:j,validFor:J}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:n,options:W,validFor:J}:"Block"==i.name?{from:n,options:Z(),validFor:J}:null},X=$.qp.define({parser:F.configure({props:[$.uj.add({Declaration:(0,$.tC)()}),$.x0.add({Block:$.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function G(){return new $.ri(X,X.data.of({autocomplete:V}))}},59119:function(e,t,n){"use strict";n.d(t,{Dv:function(){return B},Gn:function(){return P},K0:function(){return E},Qf:function(){return ce},R_:function(){return ge},SS:function(){return D},Um:function(){return Se},c:function(){return S},e7:function(){return ee},mi:function(){return ae},n$:function(){return _e},nF:function(){return pe},nY:function(){return L},qp:function(){return p},qz:function(){return d},ri:function(){return _},tC:function(){return q},uj:function(){return Q},x0:function(){return $},y1:function(){return A}});var r,i=n(41113),s=n(78120),o=n(47421),a=n(35524),l=n(28699);const c=new i.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class u{constructor(e,t,n=[]){this.data=e,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[O.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(O);if((null===t||void 0===t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let s=e.prop(i.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let e of s.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let e=n.length;if(r(s.tree,s.overlay[0].from+t),n.length>e)return}}for(let n=0;ne.isTop?t:void 0))]}))}configure(e){return new p(this.data,this.parser.configure(e))}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(u.state,!1);return t?t.tree:i.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 v{constructor(e,t,n=[],r,i,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new v(e,t,[],i.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!=i.mp.empty&&this.isDone(null!==t&&void 0!==t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}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(i.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=b(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges(((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i}))),n=i.i9.applyChanges(n,t),r=i.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);ne.from&&(this.fragments=b(this.fragments,t,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 i._b{createParse(t,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let t=g;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new i.mp(i.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 b(e,t,n){return i.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class k{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 k(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=v.create(e.facet(O).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new k(n)}}u.state=s.QQ.define({create:k.init,update(e,t){for(let n of t.effects)if(n.is(u.setState))return n.value;return t.startState.facet(O)!=t.state.facet(O)?k.init(t.state):e.apply(t)}});let y=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(y=e=>{let t=-1,n=setTimeout((()=>{t=requestIdleCallback(e,{timeout:400})}),100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const x="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,w=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=y(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndr+1e3,a=i.context.work((()=>x&&x()||Date.now()>s),r+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:u.setState.of(new k(i.context))})),this.chunkBudget>0&&(!a||o)&&this.scheduleWork(),this.checkAsyncSchedule(i.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()}}}),O=s.r$.define({combine:e=>e.length?e[0]:null,enables:[u.state,w]});class _{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const C=s.r$.define(),S=s.r$.define({combine:e=>{if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function A(e){let t=e.facet(S);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function D(e,t){let n="",r=e.tabSize;if(9==e.facet(S).charCodeAt(0))for(;t>=r;)n+="\t",t-=r;for(let i=0;i=n.from&&r<=n.to?i&&r==e?{text:"",from:e}:(t<0?r-1&&(i+=s-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Q=new i.md;function T(e){let t=e.type.prop(Q);if(t)return t;let n,r=e.firstChild;if(r&&(n=r.type.prop(i.md.closedBy))){let t=e.lastChild,r=t&&n.indexOf(t.name)>-1;return e=>N(e,!0,1,void 0,r&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?z:null}function I(e,t,n){for(;e;e=e.parent){let r=T(e);if(r)return r(R.create(n,t,e))}return null}function z(){return 0}class R extends P{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 R(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(M(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?I(e,this.pos,this.base):0}}function M(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function N(e,t,n,r,i){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=r&&s.slice(o,o+r.length)==r||i==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==i||i<=s.from?s.to:Math.min(s.to,i);for(let a=n.to;;){let e=t.childAfter(a);if(!e||e==r)return null;if(!e.type.isSkipped)return e.from{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function L(){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:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let s=n.sliceString(i.from,r);if(!t.some((e=>e.test(s))))return e;let{state:o}=e,a=-1,l=[];for(let{head:c}of o.selection.ranges){let e=o.doc.lineAt(c);if(e.from==a)continue;a=e.from;let t=E(o,e.from);if(null==t)continue;let n=/^\s*/.exec(e.text)[0],r=D(o,t);n!=r&&l.push({from:e.from,to:e.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e}))}const F=s.r$.define(),$=new i.md;function B(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(i&&s.from=t&&r.to>n&&(i=r)}}return i}(e,t,n)}function W(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const U=s.Py.define({map:W}),J=s.Py.define({map:W});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}const X=s.QQ.define({create:()=>o.p.none,update(e,t){e=e.map(t.changes);for(let n of t.effects)n.is(U)&&!H(e,n.value.from,n.value.to)?e=e.update({add:[ie.range(n.value.from,n.value.to)]}):n.is(J)&&(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 n=!1,{head:r}=t.selection.main;e.between(r,r,((e,t)=>{er&&(n=!0)})),n&&(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 new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!i||i.from>e)&&(i={from:e,to:t})})),i}function H(e,t,n){let r=!1;return e.between(t,t,((e,i)=>{e==t&&i==n&&(r=!0)})),r}function Y(e,t){return e.field(X,!1)?t:t.concat(s.Py.appendConfig.of(re()))}function K(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}const ee=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of V(e)){let n=j(e.state,t.from,t.to);if(n)return e.dispatch({effects:Y(e.state,[U.of(n),K(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(X,!1))return!1;let t=[];for(let n of V(e)){let r=G(e.state,n.from,n.to);r&&t.push(J.of(r),K(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(X,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,((e,t)=>{n.push(J.of({from:e,to:t}))})),e.dispatch({effects:n}),!0}}],te={placeholderDOM:null,placeholderText:"\u2026"},ne=s.r$.define({combine:e=>(0,s.BO)(e,te)});function re(e){let t=[X,le];return e&&t.push(ne.of(e)),t}const ie=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(ne),r=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=G(e.state,n.from,n.to);r&&e.dispatch({effects:J.of(r)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,r);let i=document.createElement("span");return i.textContent=n.placeholderText,i.setAttribute("aria-label",t.phrase("folded code")),i.title=t.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=r,i}}}),se={openText:"\u2304",closedText:"\u203a",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class oe 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 ae(e={}){let t=Object.assign(Object.assign({},se),e),n=new oe(t,!0),r=new oe(t,!1),i=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(O)!=e.state.facet(O)||e.startState.field(X,!1)!=e.state.field(X,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let i of e.viewportLineBlocks){let s=G(e.state,i.from,i.to)?r:j(e.state,i.from,i.to)?n:null;s&&t.add(i.from,i.from,s)}return t.finish()}}),{domEventHandlers:a}=t;return[i,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new oe(t,!1),domEventHandlers:Object.assign(Object.assign({},a),{click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let r=G(e.state,t.from,t.to);if(r)return e.dispatch({effects:J.of(r)}),!0;let i=j(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:U.of(i)}),!0)}})}),re()]}const le=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 ce{constructor(e,t){let n;function r(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}const i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map((e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))}))),{all:i}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new ce(e,t||{})}}const he=s.r$.define(),ue=s.r$.define({combine:e=>e.length?[e[0]]:null});function fe(e){let t=e.facet(he);return t.length?t:e.facet(ue)}function pe(e,t){let n,r=[me];return e instanceof ce&&(e.module&&r.push(o.tk.styleModule.of(e.module)),n=e.themeType),(null===t||void 0===t?void 0:t.fallback)?r.push(ue.of(e)):n?r.push(he.computeN([o.tk.darkTheme],(t=>t.facet(o.tk.darkTheme)==("dark"==n)?[e]:[]))):r.push(he.of(e)),r}class de{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,fe(e.state))}update(e){let t=d(e.state),n=fe(e.state),r=n!=fe(e.startState);t.length{n.add(e,t,this.markCache[r]||(this.markCache[r]=o.p.mark({class:r})))}),r,i);return n.finish()}}const me=s.Wl.high(o.lg.fromClass(de,{decorations:e=>e.decorations})),ge=ce.define([{tag:a.pJ.meta,color:"#7a757a"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),ve=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),be="()[]{}",ke=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:be,maxScanDistance:1e4,renderMatch:we})}),ye=o.p.mark({class:"cm-matchingBracket"}),xe=o.p.mark({class:"cm-nonmatchingBracket"});function we(e){let t=[],n=e.matched?ye:xe;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const Oe=[s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(ke);for(let i of t.state.selection.ranges){if(!i.empty)continue;let e=Se(t.state,i.head,-1,r)||i.head>0&&Se(t.state,i.head-1,1,r)||r.afterCursor&&(Se(t.state,i.head,1,r)||i.heado.tk.decorations.from(e)}),ve];function _e(e={}){return[ke.of(e),Oe]}function Ce(e,t,n){let r=e.prop(t<0?i.md.openedBy:i.md.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}function Se(e,t,n,r={}){let i=r.maxScanDistance||1e4,s=r.brackets||be,o=d(e),a=o.resolveInner(t,n);for(let l=a;l;l=l.parent){let r=Ce(l.type,n,s);if(r&&l.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let f=0;!h.next().done&&f<=s;){let e=h.value;n<0&&(f+=e.length);let s=t+f*n;for(let t=n>0?0:e.length-1,a=n>0?e.length:-1;t!=a;t+=n){let a=o.indexOf(e[t]);if(!(a<0||r.resolveInner(s+t,1).type!=i))if(a%2==0==n>0)u++;else{if(1==u)return{start:c,end:{from:s+t,to:s+t+1},matched:a>>1==l>>1};u--}}n>0&&(f+=e.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,i,s)}function Ae(e,t,n,r,i,s){let o=r.parent,a={from:r.from,to:r.to},l=0,c=null===o||void 0===o?void 0:o.cursor();if(c&&(n<0?c.childBefore(r.from):c.childAfter(r.to)))do{if(n<0?c.to<=r.from:c.from>=r.to){if(0==l&&i.indexOf(c.type.name)>-1&&c.from-1||(Pe.push(e),console.warn(t))}function Ie(e,t){let n=null;for(let i of t.split(".")){let t=e[i]||a.pJ[i];t?"function"==typeof t?n?n=t(n):Te(i,`Modifier ${i} used at start of tag`):n?Te(i,`Tag ${i} used as modifier`):n=t:Te(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let r=t.replace(/ /g,"_"),s=i.Jq.define({id:Ee.length,name:r,props:[(0,a.Gv)({[r]:n})]});return Ee.push(s),s.id}},78120:function(e,t,n){"use strict";n.d(t,{BO:function(){return Se},D0:function(){return xe},Gz:function(){return je},IS:function(){return Ze},Py:function(){return pe},QQ:function(){return j},Wl:function(){return G},Xs:function(){return Qe},YW:function(){return de},as:function(){return S},bg:function(){return x},cp:function(){return m},f_:function(){return Te},gc:function(){return _},gm:function(){return y},jT:function(){return z},n0:function(){return C},nZ:function(){return w},q6:function(){return he},r$:function(){return N},uU:function(){return Ae},xv:function(){return r},yy:function(){return Ce}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw new 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 new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),s.from(r,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),s.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),r=new l(this),i=new l(e);for(let s=t,o=t;;){if(r.next(s),i.next(s),s=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new h(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new i(e):s.from(i.split(e,[])):r.empty}}class i 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,r){for(let i=0;;i++){let s=this.text[i],o=r+s.length;if((t?n:o)>=e)return new u(r,o,n,s);r=o+1,n++}}decompose(e,t,n,r){let s=e<=0&&t>=this.length?this:new i(a(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=o(s.text,e.text.slice(),0,s.length);if(t.length<=32)n.push(new i(t,e.length+s.length));else{let e=t.length>>1;n.push(new i(t.slice(0,e)),new i(t.slice(e)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof i))return super.replace(e,t,n);let r=o(this.text,o(n.text,a(this.text,0,e)),t),l=this.length+n.length-(t-e);return r.length<=32?new i(r,l):s.from(i.split(r,[]),l)}sliceString(e,t=this.length,n="\n"){let r="";for(let i=0,s=0;i<=t&&se&&s&&(r+=n),ei&&(r+=o.slice(Math.max(0,e-i),t-i)),i=a+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,32==n.length&&(t.push(new i(n,r)),n=[],r=-1);return r>-1&&t.push(new i(n,r)),t}}class s extends r{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let s=this.children[i],o=r+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,r);r=o+1,n=a+1}}decompose(e,t,n,r){for(let i=0,s=0;s<=t&&i=s){let i=r&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!i?n.push(o):o.decompose(e-s,t-s,n,i)}s=a+1}}replace(e,t,n){if(n.lines=i&&t<=a){let l=o.replace(e-i,t-i,n),c=this.lines-o.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let i=this.children.slice();return i[r]=l,new s(i,this.length-(t-e)+n.length)}return super.replace(i,a,l)}i=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let r="";for(let i=0,s=0;ie&&i&&(r+=n),es&&(r+=o.sliceString(e-s,t-s,n)),s=a+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof s))return 0;let n=0,[r,i,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==a)return n;let s=this.children[r],l=e.children[i];if(s!=l)return n+s.scanIdentical(l,t);n+=s.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 n=[];for(let t of e)t.flatten(n);return new i(n,t)}let r=Math.max(32,n>>5),o=r<<1,a=r>>1,l=[],c=0,h=-1,u=[];function f(e){let t;if(e.lines>o&&e instanceof s)for(let n of e.children)f(n);else e.lines>a&&(c>a||!c)?(p(),l.push(e)):e instanceof i&&c&&(t=u[u.length-1])instanceof i&&e.lines+t.lines<=32?(c+=e.lines,h+=e.length+1,u[u.length-1]=new i(t.text.concat(e.text),t.length+1+e.length)):(c+e.lines>r&&p(),c+=e.lines,h+=e.length+1,u.push(e))}function p(){0!=c&&(l.push(1==u.length?u[0]:s.from(u,h)),h=-1,c=u.length=0)}for(let i of e)f(i);return p(),1==l.length?l[0]:new s(l,t)}}function o(e,t,n=0,r=1e9){for(let i=0,s=0,o=!0;s=n&&(l>r&&(a=a.slice(0,r-i)),i0?1:(e instanceof i?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,a=r instanceof i?r.text.length:r.children.length;if(o==(t>0?a: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&s)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof i){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let s=r.children[o+(t<0?-1:0)];e>s.length?(e-=s.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(s),this.offsets.push(t>0?1:(s instanceof i?s.text.length:s.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new l(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:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.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 h{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=function(){return this});class u{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}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 Ue=1;Uee)return f[t-1]<=e;return!1}function d(e){return e>=127462&&e<=127487}function m(e,t,n=!0,r=!0){return(n?g:v)(e,t,r)}function g(e,t,n){if(t==e.length)return t;t&&b(e.charCodeAt(t))&&k(e.charCodeAt(t-1))&&t--;let r=y(e,t);for(t+=w(r);t=0&&d(y(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}function v(e,t,n){for(;t>0;){let r=g(e,t-2,n);if(r=56320&&e<57344}function k(e){return e>=55296&&e<56320}function y(e,t){let n=e.charCodeAt(t);if(!k(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return b(r)?r-56320+(n-55296<<10)+65536:n}function x(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function w(e){return e<65536?1:2}const O=/\r\n?|\n/;var _=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(_||(_={}));class C{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return i+(e-r);i+=o}else{if(n!=_.Simple&&l>=e&&(n==_.TrackDel&&re||n==_.TrackBefore&&re))return null;if(l>e||l==e&&t<0&&!o)return e==r||t<0?i:i+a;i+=a}r=l}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n=0&&r<=t&&i>=e)return!(rt)||"cover";r=i}return!1}toString(){let e="";for(let t=0;t=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new C(e)}static create(e){return new C(e)}}class S extends C{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return E(this,((t,n,r,i,s)=>e=e.replace(r,r+(n-t),s)),!1),e}mapDesc(e,t=!1){return P(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=a,t[i+1]=o;let l=i>>1;for(;n.length0&&D(n,t,i.text),i.forward(e),o+=e}let l=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!i.length)return;oa||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let u=h?"string"==typeof h?r.of(h.split(n||O)):h:r.empty,f=u.length;if(e==a&&0==f)return;eo&&A(i,e-o,-1),A(i,a-e,f),D(s,i,u),o=a}}(e),l(!a),a}static empty(e){return new S(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[i+1]?e[i]+=t:0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function D(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)l=e.sections[a++],c=e.sections[a++];t(s,h,o,u,f),s=h,o=u}}}function P(e,t,n,r=!1){let i=[],s=r?[]:null,o=new T(e),a=new T(t);for(let l=-1;;)if(-1==o.ins&&-1==a.ins){let e=Math.min(o.len,a.len);A(i,e,-1),o.forward(e),a.forward(e)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len=0&&l=0)){if(o.done&&a.done)return s?S.createSet(i,s):C.create(i);throw new Error("Mismatched change set lengths")}{let e=0,t=o.len;for(;t;)if(-1==a.ins){let n=Math.min(t,a.len);e+=n,t-=n,a.forward(n)}else{if(!(0==a.ins&&a.lene||o.ins>=0&&o.len>e)&&(a||r.length>t),s.forward2(e),o.forward(e)}}else A(r,0,o.ins,a),i&&D(i,r,o.text),o.next()}}class T{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 I{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,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new I(n,r,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return z.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return z.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 new RangeError("Invalid JSON representation for SelectionRange");return z.range(e.anchor,e.head)}static create(e,t,n){return new I(e,t,n)}}class z{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:z.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 new RangeError("Invalid JSON representation for EditorSelection");return new z(e.ranges.map((e=>I.fromJSON(e))),e.main)}static single(e,t=e){return new z([z.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;re?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 r=1;rn.head?z.range(o,s):z.range(s,o))}}return new z(e,t)}}function R(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let M=0;class N{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=M++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}static define(e={}){return new N(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:q),!!e.static,e.enables)}of(e){return new L([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new L(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new 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 q(e,t){return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class L{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=M++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,s=e[i]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let h of this.dependencies)"doc"==h?a=!0:"selection"==h?l=!0:0==(1&(null!==(t=e[h.id])&&void 0!==t?t:1))&&c.push(e[h.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||$(e,c)){let t=n(e);if(o?!F(t,e.values[s],r):!r(t,e.values[s]))return e.values[s]=t,1}return 0},reconfigure:(e,t)=>{let a=n(e),l=t.config.address[i];if(null!=l){let n=ne(t,l);if(this.dependencies.every((n=>n instanceof N?t.facet(n)===e.facet(n):!(n instanceof j)||t.field(n,!1)==e.field(n,!1)))||(o?F(a,n,r):r(a,n)))return e.values[s]=n,0}return e.values[s]=a,1}}}}function F(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re[t.id])),i=n.map((e=>e.type)),s=r.filter((e=>!(1&e))),o=e[t.id]>>1;function a(e){let n=[];for(let t=0;te===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Z).find((e=>e.field==this));return((null===t||void 0===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 r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,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,Z.of({field:this,create:e})]}get extension(){return this}}const W=4,U=3,J=2,V=1;function X(e){return t=>new H(t,e)}const G={highest:X(0),high:X(V),default:X(J),low:X(U),lowest:X(W)};class H{constructor(e,t){this.inner=e,this.prec=t}}class Y{of(e){return new K(this,e)}reconfigure(e){return Y.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class K{constructor(e,t){this.compartment=e,this.inner=t}}class ee{constructor(e,t,n,r,i,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let r=[],i=Object.create(null),s=new Map;for(let u of function(e,t,n){let r=[[],[],[],[],[]],i=new Map;function s(e,o){let a=i.get(e);if(null!=a){if(a<=o)return;let t=r[a].indexOf(e);t>-1&&r[a].splice(t,1),e instanceof K&&n.delete(e.compartment)}if(i.set(e,o),Array.isArray(e))for(let t of e)s(t,o);else if(e instanceof K){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),s(r,o)}else if(e instanceof H)s(e.inner,e.prec);else if(e instanceof j)r[o].push(e),e.provides&&s(e.provides,o);else if(e instanceof L)r[o].push(e),e.facet.extensions&&s(e.facet.extensions,J);else{let t=e.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(t,o)}}return s(e,J),r.reduce(((e,t)=>e.concat(t)))}(e,t,s))u instanceof j?r.push(u):(i[u.facet.id]||(i[u.facet.id]=[])).push(u);let o=Object.create(null),a=[],l=[];for(let u of r)o[u.id]=l.length<<1,l.push((e=>u.slot(e)));let c=null===n||void 0===n?void 0:n.config.facets;for(let u in i){let e=i[u],t=e[0].facet,r=c&&c[u]||[];if(e.every((e=>0==e.type)))if(o[t.id]=a.length<<1|1,q(r,e))a.push(n.facet(t));else{let r=t.combine(e.map((e=>e.value)));a.push(n&&t.compare(r,n.facet(t))?n.facet(t):r)}else{for(let t of e)0==t.type?(o[t.id]=a.length<<1|1,a.push(t.value)):(o[t.id]=l.length<<1,l.push((e=>t.dynamicSlot(e))));o[t.id]=l.length<<1,l.push((n=>B(n,t,e)))}}let h=l.map((e=>e(o)));return new ee(e,s,h,o,a,i)}}function te(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw new Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function ne(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const re=N.define(),ie=N.define({combine:e=>e.some((e=>e)),static:!0}),se=N.define({combine:e=>e.length?e[0]:void 0,static:!0}),oe=N.define(),ae=N.define(),le=N.define(),ce=N.define({combine:e=>!!e.length&&e[0]});class he{constructor(e,t){this.type=e,this.value=t}static define(){return new ue}}class ue{of(e){return new he(this,e)}}class fe{constructor(e){this.map=e}of(e){return new pe(this,e)}}class pe{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 pe(this.type,t)}is(e){return this.type==e}static define(e={}){return new fe(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}pe.reconfigure=pe.define(),pe.appendConfig=pe.define();class de{constructor(e,t,n,r,i,s){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=s,this._doc=null,this._state=null,n&&R(n,t.newLength),i.some((e=>e.type==de.time))||(this.annotations=i.concat(de.time.of(Date.now())))}static create(e,t,n,r,i,s){return new de(e,t,n,r,i,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(de.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function me(e,t){let n=[];for(let r=0,i=0;;){let s,o;if(r=e[r]))s=e[r++],o=e[r++];else{if(!(i=0;i--){let s=n[i](e);s&&Object.keys(s).length&&(r=ge(r,ve(t,s,e.changes.newLength),!0))}return r==e?e:de.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let i of t.facet(oe)){let t=i(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:me(n,t))}if(!0!==n){let r,i;if(!1===n)i=e.changes.invertedDesc,r=S.empty(t.doc.length);else{let t=e.changes.filter(n);r=t.changes,i=t.filtered.mapDesc(t.changes).invertedDesc}e=de.create(t,r,e.selection&&e.selection.map(i),pe.mapEffects(e.effects,i),e.annotations,e.scrollIntoView)}let r=t.facet(ae);for(let i=r.length-1;i>=0;i--){let n=r[i](e);e=n instanceof de?n:Array.isArray(n)&&1==n.length&&n[0]instanceof de?n[0]:be(t,ye(n),!1)}return e}(i):i)}de.time=he.define(),de.userEvent=he.define(),de.addToHistory=he.define(),de.remote=he.define();const ke=[];function ye(e){return null==e?ke:Array.isArray(e)?e:[e]}var xe=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(xe||(xe={}));const we=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Oe;try{Oe=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(We){}function _e(e){return t=>{if(!/\S/.test(t))return xe.Space;if(function(e){if(Oe)return Oe.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||we.test(n)))return!0}return!1}(t))return xe.Word;for(let n=0;n-1)return xe.Word;return xe.Other}}class Ce{constructor(e,t,n,r,i,s){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,s&&(s._state=this);for(let o=0;oi.set(t,e))),n=null),i.set(s.value.compartment,s.value.extension)):s.is(pe.reconfigure)?(n=null,r=s.value):s.is(pe.appendConfig)&&(n=null,r=ye(r).concat(s.value));if(n)t=e.startState.values.slice();else{n=ee.resolve(r,i,this),t=new Ce(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values}new Ce(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:z.cursor(t.from+e.length)})))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],s=ye(n.effects);for(let o=1;ot.spec.fromJSON(s,e))))}return Ce.create({doc:e.doc,selection:z.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(Ce.lineSeparator)||O)),i=e.selection?e.selection instanceof z?e.selection:z.single(e.selection.anchor,e.selection.head):z.single(0);return R(i,n.length),t.staticFacet(ie)||(i=i.asSingle()),new Ce(t,n,i,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)}get tabSize(){return this.facet(Ce.tabSize)}get lineBreak(){return this.facet(Ce.lineSeparator)||"\n"}get readOnly(){return this.facet(ce)}phrase(e,...t){for(let n of this.facet(Ce.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 r=+(n||1);return!r||r>t.length?e:t[r-1]}))),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(re))for(let s of i(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&r.push(s[e]);return r}charCategorizer(e){return _e(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let e=m(t,s,!1);if(i(t.slice(e,s))!=xe.Word)break;s=e}for(;oe.length?e[0]:4}),Ce.lineSeparator=se,Ce.readOnly=ce,Ce.phrases=N.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every((n=>e[n]==t[n]))}}),Ce.languageData=re,Ce.changeFilter=oe,Ce.transactionFilter=ae,Ce.transactionExtender=le,Y.reconfigure=pe.define();class Ae{eq(e){return this==e}range(e,t=e){return De.create(e,t,this)}}Ae.prototype.startSide=Ae.prototype.endSide=0,Ae.prototype.point=!1,Ae.prototype.mapMode=_.TrackDel;class De{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new De(e,t,n)}}function Ee(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Pe{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let s=r,o=i.length;;){if(s==o)return s;let r=s+o>>1,a=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==s)return a>=0?s:o;a>=0?o=r:s=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,i);ic||l==c&&h.startSide>0&&h.endSide<=0)continue;(c-l||h.endSide-h.startSide)<0||(s<0&&(s=l),h.point&&(o=Math.max(o,c-l)),n.push(h),r.push(l-s),i.push(c-s))}return{mapped:n.length?new Pe(r,i,n,o):null,pos:s}}}class Qe{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new Qe(e,t,n,r)}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:r=0,filterTo:i=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(Ee)),this.isEmpty)return t.length?Qe.of(t):this;let o=new ze(this,null,-1).goto(0),a=0,l=[],c=new Te;for(;o.value||a=0){let e=t[a++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||io.to||i=i&&e<=i+s.length&&!1===s.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return Re.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Re.from(e).goto(t)}static compare(e,t,n,r,i=-1){let s=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i)),o=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i)),a=Ie(s,o,n),l=new Ne(s,a,i),c=new Ne(o,a,i);n.iterGaps(((e,t,n)=>qe(l,e,c,t,n,r))),n.empty&&0==n.length&&qe(l,0,c,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=1e9);let i=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),s=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));if(i.length!=s.length)return!1;if(!i.length)return!0;let o=Ie(i,s),a=new Ne(i,o,0).goto(n),l=new Ne(s,o,0).goto(n);for(;;){if(a.to!=l.to||!Le(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>r)return!0;a.next(),l.next()}}static spans(e,t,n,r,i=-1){let s=new Ne(e,null,i).goto(t),o=t,a=s.openStart;for(;;){let e=Math.min(s.to,n);if(s.point?(r.point(o,e,s.point,s.activeForPoint(s.to),a,s.pointRank),a=s.openEnd(e)+(s.to>e?1:0)):e>o&&(r.span(o,e,s.active,a),a=s.openEnd(e)),s.to>n)break;o=s.to,s.next()}return a}static of(e,t=!1){let n=new Te;for(let r of e instanceof De?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(Ee);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}}Qe.empty=new Qe([],[],null,-1),Qe.empty.nextLayer=Qe.empty;class Te{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 Pe(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 Te)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<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((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)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(Qe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=Qe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Ie(e,t,n){let r=new Map;for(let s of e)for(let e=0;e=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new ze(s,t,n,i));return 1==r.length?r[0]:new Re(r)}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 n=this.heap.length>>1;n>=0;n--)Me(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Me(this.heap,n);(this.to-e||this.value.endSide-t)<0&&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(),Me(this.heap,0)}}}function Me(e,t){for(let n=e[t];;){let r=1+(t<<1);if(r>=e.length)break;let i=e[r];if(r+1=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}class Ne{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=Re.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&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Fe(this.active,e),Fe(this.activeTo,e),Fe(this.activeRank,e),this.minActive=Be(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Fe(n,i)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let i=this.cursor.value;if(i.point){if(!(t&&this.cursor.to==this.to&&this.cursor.frome&&r++,this.cursor.next()}}}if(n){let t=0;for(;t=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 qe(e,t,n,r,i,s){e.goto(t),n.goto(r);let o=r+i,a=r,l=r-t;for(;;){let t=e.to+l-n.to||e.endSide-n.endSide,r=t<0?e.to+l:n.to,i=Math.min(r,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&Le(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||s.comparePoint(a,i,e.point,n.point):i>a&&!Le(e.active,n.active)&&s.compareRange(a,i,e.active,n.active),r>o)break;a=r,t<=0&&e.next(),t>=0&&n.next()}}function Le(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;r--)e[r+1]=e[r];e[t]=n}function Be(e,t){let n=-1,r=1e9;for(let i=0;i=t)return i;if(i==e.length)break;s+=9==e.charCodeAt(i)?n-s%n:1,i=m(e,i)}return!0===r?-1:e.length}},41113:function(e,t,n){"use strict";n.d(t,{Jq:function(){return l},L3:function(){return r},Lj:function(){return c},_b:function(){return P},i9:function(){return E},md:function(){return o},mp:function(){return p},vj:function(){return f}});const r=1024;let i=0;class s{constructor(e,t){this.from=e,this.to=t}}class o{constructor(e={}){this.id=i++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=l.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}o.closedBy=new o({deserialize:e=>e.split(" ")}),o.openedBy=new o({deserialize:e=>e.split(" ")}),o.group=new o({deserialize:e=>e.split(" ")}),o.contextHash=new o({perNode:!0}),o.lookAhead=new o({perNode:!0}),o.mounted=new o({perNode:!0});const a=Object.create(null);class l{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new l(e.name||"",t,e.id,n);if(e.props)for(let i of e.props)if(Array.isArray(i)||(i=i(r)),i){if(i[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[i[0].id]=i[1]}return r}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(o.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 r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(o.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}l.none=new l("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t=r&&(s.type.isAnonymous||!1!==t(s))){if(s.firstChild())continue;e=!0}for(;e&&n&&!s.type.isAnonymous&&n(s),!s.nextSibling();){if(!s.parent())return;e=!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:D(l.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new p(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new p(l.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:s=r,reused:a=[],minRepeatType:l=i.types.length}=e,c=Array.isArray(n)?new d(n,n.length):n,h=i.types,u=0,f=0;function g(e,t,n,r,o){let{id:p,start:d,end:w,size:O}=c,_=f;for(;O<0;){if(c.next(),-1==O){let t=a[p];return n.push(t),void r.push(d-e)}if(-3==O)return void(u=p);if(-4==O)return void(f=p);throw new RangeError(`Unrecognized record size: ${O}`)}let C,S,A=h[p],E=d-e;if(w-d<=s&&(S=y(c.pos-t,o))){let t=new Uint16Array(S.size-S.skip),n=c.pos-S.size,r=t.length;for(;c.pos>n;)r=x(S.start,t,r);C=new m(t,w-S.start,i),E=S.start-e}else{let e=c.pos-O;c.next();let t=[],n=[],r=p>=l?p:-1,i=0,o=w;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=o-s&&(b(t,n,d,i,c.end,o,r,_),i=t.length,o=c.end),c.next()):g(d,e,t,n,r);if(r>=0&&i>0&&i-1&&i>0){let e=v(A);C=D(A,t,n,0,t.length,0,w-d,e,e)}else C=k(A,t,n,w-d,_-w)}n.push(C),r.push(E)}function v(e){return(t,n,r)=>{let i,s,a=0,l=t.length-1;if(l>=0&&(i=t[l])instanceof p){if(!l&&i.type==e&&i.length==r)return i;(s=i.prop(o.lookAhead))&&(a=n[l]+i.length+s)}return k(e,t,n,r,a)}}function b(e,t,n,r,s,o,a,l){let c=[],h=[];for(;e.length>r;)c.push(e.pop()),h.push(t.pop()+n-s);e.push(k(i.types[a],c,h,o-s,l-o)),t.push(s-n)}function k(e,t,n,r,i=0,s){if(u){let e=[o.contextHash,u];s=s?[e].concat(s):[e]}if(i>25){let e=[o.lookAhead,i];s=s?[e].concat(s):[e]}return new p(e,t,n,r,s)}function y(e,t){let n=c.fork(),r=0,i=0,o=0,a=n.end-s,h={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){h.size=r,h.start=i,h.skip=o,o+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c=l?4:0,f=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;u+=4}else n.id>=l&&(u+=4);n.next()}i=f,r+=e,o+=u}return(t<0||r==e)&&(h.size=r,h.start=i,h.skip=o),h.size>4?h:void 0}function x(e,t,n){let{id:r,start:i,end:s,size:o}=c;if(c.next(),o>=0&&r4){let r=c.pos-(o-4);for(;c.pos>r;)n=x(e,t,n)}t[--n]=a,t[--n]=s-e,t[--n]=i-e,t[--n]=r}else-3==o?u=r:-4==o&&(f=r);return n}let w=[],O=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,w,O,-1);let _=null!==(t=e.length)&&void 0!==t?t:w.length?O[0]+w[0].length:0;return new p(h[e.topID],w.reverse(),O.reverse(),_)}(e)}}p.empty=new p(l.none,[],[],0);class d{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 d(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return l.none}toString(){let e=[];for(let t=0;t0));a=s[a+3]);return o}slice(e,t,n,r){let i=this.buffer,s=new Uint16Array(t-e);for(let o=e,a=0;o=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function v(e,t){let n=e.childBefore(t);for(;n;){let t=n.lastChild;if(!t||t.to!=n.to)break;t.type.isError&&t.from==t.to?(e=n,n=t.prevSibling):n=t}return e}function b(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;e!=c;e+=t){let c=a[e],h=l[e]+s.from;if(g(r,n,h,h+c.length))if(c instanceof m){if(i&f.ExcludeBuffers)continue;let o=c.findChild(0,c.buffer.length,t,n-h,r);if(o>-1)return new O(new w(s,c,e,h),null,o)}else if(i&f.IncludeAnonymous||!c.type.isAnonymous||C(c)){let a;if(!(i&f.IgnoreMounts)&&c.props&&(a=c.prop(o.mounted))&&!a.overlay)return new k(a.tree,h,e,s);let l=new k(c,h,e,s);return i&f.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(t<0?c.children.length-1:0,t,n,r)}}if(i&f.IncludeAnonymous||!s.type.isAnonymous)return null;if(e=s.index>=0?s.index+t:t<0?-1:s._parent._tree.children.length,s=s._parent,!s)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&f.IgnoreOverlays)&&(r=this._tree.prop(o.mounted))&&r.overlay){let n=e-this.from;for(let{from:e,to:i}of r.overlay)if((t>0?e<=n:e=n:i>n))return new k(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 _(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 r=y(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return x(this,e)}}function y(e,t,n,r){let i=e.cursor(),s=[];if(!i.firstChild())return s;if(null!=n)for(;!i.type.is(n);)if(!i.nextSibling())return s;for(;;){if(null!=r&&i.type.is(r))return s;if(i.type.is(t)&&s.push(i.node),!i.nextSibling())return null==r?s:[]}}function x(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class w{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class O{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}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]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new O(this.context,this,i)}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&f.ExcludeBuffers)return null;let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return i<0?null:new O(this.context,this,i)}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 O(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 O(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new _(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let s=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(r,i,s,o)),t.push(0)}return new p(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 r=y(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}get node(){return this}matchContext(e){return x(this,e)}}class _{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof k)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}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:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof k?(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:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}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&f.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&f.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&f.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 e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}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 r=t+e,i=e<0?-1:n._tree.children.length;r!=i;r+=e){let e=n._tree.children[r];if(this.mode&f.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))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==r){if(r==this.index)return s;t=s,n=i+1;break e}r=this.stack[--i]}for(let r=n;r=0;i--){if(i<0)return x(this.node,e,r);let s=n[t.buffer[this.stack[i]]];if(!s.isAnonymous){if(e[r]&&e[r]!=s.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const S=new WeakMap;function A(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=S.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof p)){n=1;break}n+=A(e,r)}S.set(t,n)}return n}function D(e,t,n,r,i,s,o,a,l){let c=0;for(let p=r;p=h)break;d+=t}if(c==i+1){if(d>h){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+a);continue}u.push(n[i])}else{let t=r[c-1]+n[c-1].length-p;u.push(D(e,n,r,i,c,p,t,null,l))}f.push(p+a-s)}}(t,n,r,i,0),(a||l)(u,f,o)}class E{constructor(e,t,n,r,i=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(i?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 r=[new E(0,e.length,e,0,!1,n)];for(let i of t)i.to>e.length&&r.push(i);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o=n)for(;s&&s.from=t.from||h<=t.to||l){let e=Math.max(t.from,a)-l,n=Math.min(t.to,h)-l;t=e>=n?null:new E(e,n,t.tree,t.offset+l,o>0,!!c)}if(t&&r.push(t),s.to>h)break;s=inew s(e.from,e.to))):[new s(0,0)]:[new s(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class Q{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)}}new o({perNode:!0})},35524:function(e,t,n){"use strict";n.d(t,{Gv:function(){return c},QR:function(){return f},bW:function(){return p},pJ:function(){return P}});var r=n(41113);let i=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=i++}static define(e){if(null===e||void 0===e?void 0:e.base)throw new 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 a;return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort(((e,t)=>e.id-t.id)))}}let o=0;class a{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every(((e,t)=>e==i[t])));var r,i}));if(n)return n;let r=[],i=new s(r,e,t);for(let s of t)s.instances.push(i);let o=l(t);for(let s of e.set)for(let e of o)r.push(a.get(s,e));return i}}function l(e){let t=[e];for(let n=0;n0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!r)throw new RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){i=0;break}if("/"!=o)throw new RangeError("Invalid path: "+e);s=e.slice(t)}let o=n.length-1,a=n[o];if(!a)throw new RangeError("Invalid path: "+e);let l=new u(r,i,o>0?n.slice(0,o):null);t[a]=l.sort(t[a])}}return h.add(t)}const h=new r.md;class u{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function p(e,t,n,r=0,i=e.length){let s=new d(r,Array.isArray(t)?t:[t],n);s.highlightRange(e.cursor(),r,i,"",s.highlighters),s.flush(i)}u.empty=new u([],2,null);class d{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.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,i,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter((e=>!e.scope||e.scope(o))));let c=i,f=function(e){let t=e.type.prop(h);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||u.empty,p=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(s,f.tags);if(p&&(c&&(c+=" "),c+=p,1==f.mode&&(i+=(i?" ":"")+p)),this.startSpan(e.from,c),f.opaque)return;let d=e.tree&&e.tree.prop(r.md.mounted);if(d&&d.overlay){let r=e.node.enter(d.overlay[0].from+a,1),o=this.highlighters.filter((e=>!e.scope||e.scope(d.tree.type))),h=e.firstChild();for(let u=0,f=a;;u++){let p=u=m)&&e.nextSibling()););if(!p||m>n)break;f=p.to+a,f>t&&(this.highlightRange(r.cursor(),Math.max(t,p.from+a),Math.min(n,f),i,o),this.startSpan(f,c))}h&&e.parent()}else if(e.firstChild()){do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,s),this.startSpan(Math.min(n,e.to),c)}}while(e.nextSibling());e.parent()}}}const m=s.define,g=m(),v=m(),b=m(v),k=m(v),y=m(),x=m(y),w=m(y),O=m(),_=m(O),C=m(),S=m(),A=m(),D=m(A),E=m(),P={comment:g,lineComment:m(g),blockComment:m(g),docComment:m(g),name:v,variableName:m(v),typeName:b,tagName:m(b),propertyName:k,attributeName:m(k),className:m(v),labelName:m(v),namespace:m(v),macroName:m(v),literal:y,string:x,docString:m(x),character:m(x),attributeValue:m(x),number:w,integer:m(w),float:m(w),bool:m(y),regexp:m(y),escape:m(y),color:m(y),url:m(y),keyword:C,self:m(C),null:m(C),atom:m(C),unit:m(C),modifier:m(C),operatorKeyword:m(C),controlKeyword:m(C),definitionKeyword:m(C),moduleKeyword:m(C),operator:S,derefOperator:m(S),arithmeticOperator:m(S),logicOperator:m(S),bitwiseOperator:m(S),compareOperator:m(S),updateOperator:m(S),definitionOperator:m(S),typeOperator:m(S),controlOperator:m(S),punctuation:A,separator:m(A),bracket:D,angleBracket:m(D),squareBracket:m(D),paren:m(D),brace:m(D),content:O,heading:_,heading1:m(_),heading2:m(_),heading3:m(_),heading4:m(_),heading5:m(_),heading6:m(_),contentSeparator:m(O),list:m(O),quote:m(O),emphasis:m(O),strong:m(O),link:m(O),monospace:m(O),strikethrough:m(O),inserted:m(),deleted:m(),changed:m(),invalid:m(),meta:E,documentMeta:m(E),annotation:m(E),processingInstruction:m(E),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};f([{tag:P.link,class:"tok-link"},{tag:P.heading,class:"tok-heading"},{tag:P.emphasis,class:"tok-emphasis"},{tag:P.strong,class:"tok-strong"},{tag:P.keyword,class:"tok-keyword"},{tag:P.atom,class:"tok-atom"},{tag:P.bool,class:"tok-bool"},{tag:P.url,class:"tok-url"},{tag:P.labelName,class:"tok-labelName"},{tag:P.inserted,class:"tok-inserted"},{tag:P.deleted,class:"tok-deleted"},{tag:P.literal,class:"tok-literal"},{tag:P.string,class:"tok-string"},{tag:P.number,class:"tok-number"},{tag:[P.regexp,P.escape,P.special(P.string)],class:"tok-string2"},{tag:P.variableName,class:"tok-variableName"},{tag:P.local(P.variableName),class:"tok-variableName tok-local"},{tag:P.definition(P.variableName),class:"tok-variableName tok-definition"},{tag:P.special(P.variableName),class:"tok-variableName2"},{tag:P.definition(P.propertyName),class:"tok-propertyName tok-definition"},{tag:P.typeName,class:"tok-typeName"},{tag:P.namespace,class:"tok-namespace"},{tag:P.className,class:"tok-className"},{tag:P.macroName,class:"tok-macroName"},{tag:P.propertyName,class:"tok-propertyName"},{tag:P.operator,class:"tok-operator"},{tag:P.comment,class:"tok-comment"},{tag:P.meta,class:"tok-meta"},{tag:P.invalid,class:"tok-invalid"},{tag:P.punctuation,class:"tok-punctuation"}])},20943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,s);else if(o&&"object"==typeof o){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");i(r(n),o,a,c)}else null!=o&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}(a.length||c)&&s.push((!n||l||o?e:e.map(n)).join(", ")+" {"+a.join(" ")+"}")}for(let s in e)i(r(s),e[s],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[r]||1;return s[r]=e+1,"\u037c"+e.toString(36)}static mount(e,t){(e[i]||new l(e)).mount(Array.isArray(t)?t:[t])}}let a=null;class l{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(a)return e.adoptedStyleSheets=[a.sheet].concat(e.adoptedStyleSheets),e[i]=a;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),a=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[i]=this}mount(e){let t=this.sheet,n=0,r=0;for(let i=0;i-1&&(this.modules.splice(o,1),r--,o=-1),-1==o){if(this.modules.splice(r++,0,s),t)for(let e=0;e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),o=("undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&+s[1]<57,c=0;c<10;c++)r[48+c]=r[96+c]=String(c);for(c=1;c<=24;c++)r[c+111]="F"+c;for(c=65;c<=90;c++)r[c]=String.fromCharCode(c+32),i[c]=String.fromCharCode(c);for(var h in r)i.hasOwnProperty(h)||(i[h]=r[h]);function u(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[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}},95485:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8939-3a2494dcf1327384.js b/static/web/_next/static/chunks/8939-3a2494dcf1327384.js new file mode 100644 index 000000000..d638ac8a6 --- /dev/null +++ b/static/web/_next/static/chunks/8939-3a2494dcf1327384.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8939],{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 h}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),u=n(67294),l=n(53124),c=n(23715),s=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-default");return u.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.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"}),u.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)"}),u.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"}),u.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"})),u.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"}),u.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-simple");return u.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},u.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"}),u.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")}))))},p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rZ&&(a="".concat(i.slice(0,Z),"..."))}var u=function(t){t&&t.stopPropagation(),P(e)};return"function"===typeof x?function(e,t,n,o,r){return v.createElement("span",{onMouseDown:function(e){H(e),M(!l)}},x({label:t,value:e,disabled:n,closable:o,onClose:r}))}(o,a,t,r,u):te(e,a,t,r,u)},renderRest:function(e){var t="function"===typeof O?O(e):O;return te({title:t},t,!1)},suffix:ne,itemKey:_,maxCount:S});return v.createElement(v.Fragment,null,oe,!u.length&&!J&&v.createElement("span",{className:"".concat(q,"-placeholder")},p))},F=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,u=e.autoComplete,l=e.activeDescendantId,s=e.mode,f=e.open,p=e.values,d=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,S=e.onInputChange,Z=e.onInputPaste,C=e.onInputCompositionStart,O=e.onInputCompositionEnd,x=v.useState(!1),M=(0,c.Z)(x,2),R=M[0],N=M[1],P="combobox"===s,D=P||h,j=p[0],k=g||"";P&&b&&!R&&(k=b),v.useEffect((function(){P&&N(!1)}),[P,b]);var A=!("combobox"!==s&&!f&&!h)&&!!k,_=L(j);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(T,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:u,editable:D,activeDescendantId:l,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){N(!0),S(e)},onPaste:Z,onCompositionStart:C,onCompositionEnd:O,tabIndex:m,attrs:(0,I.Z)(e,!0),maxLength:P?y:void 0})),!P&&j&&!A&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:_},j.label),function(){if(j)return null;var e=A?{visibility:"hidden"}:void 0;return v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},d)}())};function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);function o(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return v.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},o]}var z=function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,u=e.mode,l=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,p=e.onSearchSubmit,d=e.onToggleOpen,h=e.onInputKeyDown,g=e.domRef;v.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var b=K(0),y=(0,c.Z)(b,2),w=y[0],E=y[1],S=(0,v.useRef)(null),Z=function(e){!1!==f(e,!0,o.current)&&d(!0)},C={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==m.Z.UP&&n!==m.Z.DOWN||e.preventDefault(),h&&h(e),n!==m.Z.ENTER||"tags"!==u||o.current||i||null===p||void 0===p||p(e.target.value),t=n,[m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(t)||d(!0)},onInputMouseDown:function(){E(!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,Z(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"!==u&&Z(e.target.value)}},O="multiple"===u||"tags"===u?v.createElement(V,(0,r.Z)({},e,C)):v.createElement(F,(0,r.Z)({},e,C));return v.createElement("div",{ref:g,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=w();e.target===n.current||t||"combobox"===u||e.preventDefault(),("combobox"===u||l&&t)&&i||(i&&f("",!0,!1),d())}},O)},U=v.forwardRef(z);U.displayName="Selector";var W=U;var Y=v.createContext(null);var B=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function X(e){return"tags"===e||"multiple"===e}var $=v.forwardRef((function(e,t){var n,a,d=e.id,w=e.prefixCls,E=e.className,S=e.showSearch,Z=e.tagRender,C=e.direction,O=e.omitDomProps,x=e.displayValues,I=e.onDisplayValuesChange,R=e.emptyOptions,P=e.notFoundContent,D=void 0===P?"Not Found":P,T=e.onClear,j=e.mode,k=e.disabled,A=e.loading,L=e.getInputElement,_=e.getRawInputElement,H=e.open,V=e.defaultOpen,F=e.onDropdownVisibleChange,z=e.activeValue,U=e.onActiveValueChange,$=e.activeDescendantId,Q=e.searchValue,q=e.onSearch,J=e.onSearchSplit,ee=e.tokenSeparators,te=e.allowClear,ne=e.showArrow,oe=e.inputIcon,re=e.clearIcon,ae=e.OptionList,ie=e.animation,ue=e.transitionName,le=e.dropdownStyle,ce=e.dropdownClassName,se=e.dropdownMatchSelectWidth,fe=e.dropdownRender,pe=e.dropdownAlign,de=e.placement,ve=e.getPopupContainer,me=e.showAction,he=void 0===me?[]:me,ge=e.onFocus,be=e.onBlur,ye=e.onKeyUp,we=e.onKeyDown,Ee=e.onMouseDown,Se=(0,s.Z)(e,B),Ze=X(j),Ce=(void 0!==S?S:Ze)||"combobox"===j,Oe=(0,l.Z)({},Se);G.forEach((function(e){delete Oe[e]})),null===O||void 0===O||O.forEach((function(e){delete Oe[e]}));var xe=v.useState(!1),Me=(0,c.Z)(xe,2),Ie=Me[0],Re=Me[1];v.useEffect((function(){Re((0,h.Z)())}),[]);var Ne=v.useRef(null),Pe=v.useRef(null),De=v.useRef(null),Te=v.useRef(null),je=v.useRef(null),ke=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]}(),Ae=(0,c.Z)(ke,3),Le=Ae[0],_e=Ae[1],He=Ae[2];v.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Te.current)||void 0===e?void 0:e.focus,blur:null===(t=Te.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=je.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Ve=v.useMemo((function(){var e;if("combobox"!==j)return Q;var t=null===(e=x[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[Q,j,x]),Fe="combobox"===j&&"function"===typeof L&&L()||null,Ke="function"===typeof _&&_(),ze=(0,g.x1)(Pe,null===Ke||void 0===Ke||null===(n=Ke.props)||void 0===n?void 0:n.ref),Ue=(0,p.Z)(void 0,{defaultValue:V,value:H}),We=(0,c.Z)(Ue,2),Ye=We[0],Be=We[1],Ge=Ye,Xe=!D&&R;(k||Xe&&Ge&&"combobox"===j)&&(Ge=!1);var $e=!Xe&&Ge,Qe=v.useCallback((function(e){var t=void 0!==e?e:!Ge;Ge===t||k||(Be(t),null===F||void 0===F||F(t))}),[k,Ge,Be,F]),qe=v.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),Je=function(e,t,n){var o=!0,r=e;null===U||void 0===U||U(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,y.Z)(o),a=r[0],i=r.slice(1);if(!a)return[t];var l=t.split(a);return n=n||l.length>1,l.reduce((function(t,n){return[].concat((0,u.Z)(t),(0,u.Z)(e(n,i)))}),[]).filter((function(e){return e}))}(e,t);return n?o:null}(e,ee);return"combobox"!==j&&a&&(r="",null===J||void 0===J||J(a),Qe(!1),o=!1),q&&Ve!==r&&q(r,{source:t?"typing":"effect"}),o};v.useEffect((function(){Ge||Ze||"combobox"===j||Je("",!1,!1)}),[Ge]),v.useEffect((function(){Ye&&k&&Be(!1),k&&_e(!1)}),[k]);var et=K(),tt=(0,c.Z)(et,2),nt=tt[0],ot=tt[1],rt=v.useRef(!1),at=[];v.useEffect((function(){return function(){at.forEach((function(e){return clearTimeout(e)})),at.splice(0,at.length)}}),[]);var it,ut=v.useState(null),lt=(0,c.Z)(ut,2),ct=lt[0],st=lt[1],ft=v.useState({}),pt=(0,c.Z)(ft,2)[1];(0,b.Z)((function(){if($e){var e,t=Math.ceil(null===(e=Ne.current)||void 0===e?void 0:e.offsetWidth);ct===t||Number.isNaN(t)||st(t)}}),[$e]),Ke&&(it=function(e){Qe(e)}),function(e,t,n,o){var r=v.useRef(null);r.current={open:t,triggerOpen:n,customizedTrigger:o},v.useEffect((function(){function t(t){var n;if(!(null===(n=r.current)||void 0===n?void 0:n.customizedTrigger)){var o=t.target;o.shadowRoot&&t.composed&&(o=t.composedPath()[0]||o),r.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(o)&&e!==o}))&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ne.current,null===(e=De.current)||void 0===e?void 0:e.getPopupElement()]}),$e,Qe,!!Ke);var dt,vt,mt=v.useMemo((function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:D,open:Ge,triggerOpen:$e,id:d,showSearch:Ce,multiple:Ze,toggleOpen:Qe})}),[e,D,$e,Ge,d,Ce,Ze,Qe]),ht=void 0!==ne?ne:A||!Ze&&"combobox"!==j;ht&&(dt=v.createElement(N,{className:i()("".concat(w,"-arrow"),(0,o.Z)({},"".concat(w,"-arrow-loading"),A)),customizeIcon:oe,customizeIconProps:{loading:A,searchValue:Ve,open:Ge,focused:Le,showSearch:Ce}}));k||!te||!x.length&&!Ve||"combobox"===j&&""===Ve||(vt=v.createElement(N,{className:"".concat(w,"-clear"),onMouseDown:function(){null===T||void 0===T||T(),I([],{type:"clear",values:x}),Je("",!1,!1)},customizeIcon:re},"\xd7"));var gt,bt=v.createElement(ae,{ref:je}),yt=i()(w,E,(a={},(0,o.Z)(a,"".concat(w,"-focused"),Le),(0,o.Z)(a,"".concat(w,"-multiple"),Ze),(0,o.Z)(a,"".concat(w,"-single"),!Ze),(0,o.Z)(a,"".concat(w,"-allow-clear"),te),(0,o.Z)(a,"".concat(w,"-show-arrow"),ht),(0,o.Z)(a,"".concat(w,"-disabled"),k),(0,o.Z)(a,"".concat(w,"-loading"),A),(0,o.Z)(a,"".concat(w,"-open"),Ge),(0,o.Z)(a,"".concat(w,"-customize-input"),Fe),(0,o.Z)(a,"".concat(w,"-show-search"),Ce),a)),wt=v.createElement(M,{ref:De,disabled:k,prefixCls:w,visible:$e,popupElement:bt,containerWidth:ct,animation:ie,transitionName:ue,dropdownStyle:le,dropdownClassName:ce,direction:C,dropdownMatchSelectWidth:se,dropdownRender:fe,dropdownAlign:pe,placement:de,getPopupContainer:ve,empty:R,getTriggerDOMNode:function(){return Pe.current},onPopupVisibleChange:it,onPopupMouseEnter:function(){pt({})}},Ke?v.cloneElement(Ke,{ref:ze}):v.createElement(W,(0,r.Z)({},e,{domRef:Pe,prefixCls:w,inputElement:Fe,ref:Te,id:d,showSearch:Ce,mode:j,activeDescendantId:$,tagRender:Z,values:x,open:Ge,onToggleOpen:Qe,activeValue:z,searchValue:Ve,onSearch:Je,onSearchSubmit:function(e){e&&e.trim()&&q(e,{source:"submit"})},onRemove:function(e){var t=x.filter((function(t){return t!==e}));I(t,{type:"remove",values:[e]})},tokenWithEnter:qe})));return gt=Ke?wt:v.createElement("div",(0,r.Z)({className:yt},Oe,{ref:Ne,onMouseDown:function(e){var t,n=e.target,o=null===(t=De.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout((function(){var e,t=at.indexOf(r);-1!==t&&at.splice(t,1),He(),Ie||o.contains(document.activeElement)||null===(e=Te.current)||void 0===e||e.focus()}));at.push(r)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u=0;i-=1){var l=r[i];if(!l.disabled){r.splice(i,1),a=l;break}}a&&I(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f1?t-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return(0,oe.Z)(e).map((function(e,n){if(!v.isValidElement(e)||!e.type)return null;var o=e.type.isSelectOptGroup,r=e.key,a=e.props,i=a.children,u=(0,s.Z)(a,ae);return t||!o?ie(e):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===r?n:r,"__"),label:r},u),{},{options:ue(i)})})).filter((function(e){return e}))}function le(e,t,n,o,r){return v.useMemo((function(){var a=e;!e&&(a=ue(t));var i=new Map,u=new Map,l=function(e,t,n){n&&"string"===typeof n&&e.set(t[n],t)};return function e(t){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c1&&void 0!==arguments[1]?arguments[1]:1,n=j.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];K(e);var n={source:t?"keyboard":"mouse"},o=j[e];o?S(o.value,e,n):S(null,-1,n)};(0,v.useEffect)((function(){z(!1!==Z?_(0):-1)}),[j.length,h]);var U=v.useCallback((function(e){return x.has(e)&&"combobox"!==d}),[d,(0,u.Z)(x).toString()]);(0,v.useEffect)((function(){var e,t=setTimeout((function(){if(!p&&f&&1===x.size){var e=Array.from(x)[0],t=j.findIndex((function(t){return t.data.value===e}));-1!==t&&(z(t),L(t))}}));f&&(null===(e=k.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[f,h]);var W=function(e){void 0!==e&&C(e,{selected:!x.has(e)}),p||g(!1)};if(v.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:var o=0;if(t===m.Z.UP?o=-1:t===m.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===m.Z.N?o=1:t===m.Z.P&&(o=-1)),0!==o){var r=_(F+o,o);L(r),z(r,!0)}break;case m.Z.ENTER:var a=j[F];a&&!a.data.disabled?W(a.value):W(void 0),f&&e.preventDefault();break;case m.Z.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}})),0===j.length)return v.createElement("div",{role:"listbox",id:"".concat(l,"_list"),className:"".concat(T,"-empty"),onMouseDown:A},b);var B=Object.keys(M).map((function(e){return M[e]})),G=function(e){return e.label},X=function(e){var t=j[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,I.Z)(n,!0),u=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof u||a?null:u},i,{key:e,role:a?"presentation":"option",id:"".concat(l,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(l,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(F-1),X(F),X(F+1)),v.createElement(he.Z,{itemKey:"key",ref:k,data:j,height:P,itemHeight:D,fullHeight:!1,onMouseDown:A,onScroll:y,virtual:R},(function(e,t){var n,a=e.group,u=e.groupOption,l=e.data,c=e.label,f=e.value,p=l.key;if(a){var d,m=null!==(d=l.title)&&void 0!==d?d:ye(c)?c.toString():void 0;return v.createElement("div",{className:i()(T,"".concat(T,"-group")),title:m},void 0!==c?c:p)}var h=l.disabled,g=l.title,b=(l.children,l.style),y=l.className,w=(0,s.Z)(l,be),E=(0,ve.Z)(w,B),S=U(f),Z="".concat(T,"-option"),C=i()(T,Z,y,(n={},(0,o.Z)(n,"".concat(Z,"-grouped"),u),(0,o.Z)(n,"".concat(Z,"-active"),F===t&&!h),(0,o.Z)(n,"".concat(Z,"-disabled"),h),(0,o.Z)(n,"".concat(Z,"-selected"),S),n)),x=G(e),M=!O||"function"===typeof O||S,R="number"===typeof x?x:x||f,P=ye(R)?R.toString():void 0;return void 0!==g&&(P=g),v.createElement("div",(0,r.Z)({},(0,I.Z)(E),{"aria-selected":S,className:C,title:P,onMouseMove:function(){F===t||h||z(t)},onClick:function(){h||W(f)},style:b}),v.createElement("div",{className:"".concat(Z,"-content")},R),v.isValidElement(O)||S,M&&v.createElement(N,{className:"".concat(T,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:S}},S?"\u2713":null))})))},Ee=v.forwardRef(we);Ee.displayName="OptionList";var Se=Ee;var Ze=["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"],Ce=["inputValue"];var Oe=v.forwardRef((function(e,t){var n=e.id,a=e.mode,i=e.prefixCls,d=void 0===i?"rc-select":i,m=e.backfill,h=e.fieldNames,g=e.inputValue,b=e.searchValue,y=e.onSearch,Z=e.autoClearSearchValue,C=void 0===Z||Z,O=e.onSelect,x=e.onDeselect,M=e.dropdownMatchSelectWidth,I=void 0===M||M,R=e.filterOption,N=e.filterSort,P=e.optionFilterProp,D=e.optionLabelProp,T=e.options,k=e.children,A=e.defaultActiveFirstOption,L=e.menuItemSelectedIcon,_=e.virtual,H=e.listHeight,V=void 0===H?200:H,F=e.listItemHeight,K=void 0===F?20:F,z=e.value,U=e.defaultValue,W=e.labelInValue,Y=e.onChange,B=(0,s.Z)(e,Ze),G=ne(n),$=X(a),J=!(T||!k),ee=v.useMemo((function(){return(void 0!==R||"combobox"!==a)&&R}),[R,a]),te=v.useMemo((function(){return E(h,J)}),[JSON.stringify(h),J]),oe=(0,p.Z)("",{value:void 0!==b?b:g,postState:function(e){return e||""}}),re=(0,c.Z)(oe,2),ae=re[0],ie=re[1],ue=le(T,k,te,P,D),se=ue.valueOptions,fe=ue.labelOptions,pe=ue.options,de=v.useCallback((function(e){return j(e).map((function(e){var t,n,o,r,a,i;(function(e){return!e||"object"!==(0,f.Z)(e)})(e)?t=e:(o=e.key,n=e.label,t=null!==(i=e.value)&&void 0!==i?i:o);var u,l=se.get(t);l&&(void 0===n&&(n=null===l||void 0===l?void 0:l[D||te.label]),void 0===o&&(o=null!==(u=null===l||void 0===l?void 0:l.key)&&void 0!==u?u:t),r=null===l||void 0===l?void 0:l.disabled,a=null===l||void 0===l?void 0:l.title);return{label:n,value:t,key:o,disabled:r,title:a}}))}),[te,D,se]),ve=(0,p.Z)(U,{value:z}),me=(0,c.Z)(ve,2),he=me[0],be=me[1],ye=function(e,t){var n=v.useRef({values:new Map,options:new Map});return[v.useMemo((function(){var o=n.current,r=o.values,a=o.options,i=e.map((function(e){var t;return void 0===e.label?(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label}):e})),u=new Map,c=new Map;return i.forEach((function(e){u.set(e.value,e),c.set(e.value,t.get(e.value)||a.get(e.value))})),n.current.values=u,n.current.options=c,i}),[e,t]),v.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(v.useMemo((function(){var e,t=de(he);return"combobox"!==a||(null===(e=t[0])||void 0===e?void 0:e.value)?t:[]}),[he,de,a]),se),we=(0,c.Z)(ye,2),Ee=we[0],Oe=we[1],xe=v.useMemo((function(){if(!a&&1===Ee.length){var e=Ee[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ee.map((function(e){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[a,Ee]),Me=v.useMemo((function(){return new Set(Ee.map((function(e){return e.value})))}),[Ee]);v.useEffect((function(){if("combobox"===a){var e,t=null===(e=Ee[0])||void 0===e?void 0:e.value;ie(function(e){return void 0!==e&&null!==e}(t)?String(t):"")}}),[Ee]);var Ie=ce((function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},(0,o.Z)(n,te.value,e),(0,o.Z)(n,te.label,r),n})),Re=function(e,t,n,r,a){return v.useMemo((function(){if(!n||!1===r)return e;var i=t.options,u=t.label,c=t.value,s=[],f="function"===typeof r,p=n.toUpperCase(),d=f?r:function(e,t){return a?q(t[a],p):t[i]?q(t["children"!==u?u:"label"],p):q(t[c],p)},v=f?function(e){return S(e)}:function(e){return e};return e.forEach((function(e){if(e[i])if(d(n,v(e)))s.push(e);else{var t=e[i].filter((function(e){return d(n,v(e))}));t.length&&s.push((0,l.Z)((0,l.Z)({},e),{},(0,o.Z)({},i,t)))}else d(n,v(e))&&s.push(e)})),s}),[e,r,a,n,t])}(v.useMemo((function(){if("tags"!==a)return pe;var e=(0,u.Z)(pe);return(0,u.Z)(Ee).sort((function(e,t){return e.value1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=E(n,!1),i=a.label,u=a.value,l=a.options;function c(e,t){e.forEach((function(e){var n=e[i];if(t||!(l in e)){var a=e[u];r.push({key:w(e,r.length),groupOption:t,data:e,label:n,value:a})}else{var s=n;void 0===s&&o&&(s=e.label),r.push({key:w(e,r.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),r}(Pe,{fieldNames:te,childrenAsData:J})}),[Pe,te,J]),Te=function(e){var t=de(e);if(be(t),Y&&(t.length!==Ee.length||t.some((function(e,t){var n;return(null===(n=Ee[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=W?t:t.map((function(e){return e.value})),o=t.map((function(e){return S(Oe(e.value))}));Y($?n:n[0],$?o:o[0])}},je=v.useState(null),ke=(0,c.Z)(je,2),Ae=ke[0],Le=ke[1],_e=v.useState(0),He=(0,c.Z)(_e,2),Ve=He[0],Fe=He[1],Ke=void 0!==A?A:"combobox"!==a,ze=v.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source,r=void 0===o?"keyboard":o;Fe(t),m&&"combobox"===a&&null!==e&&"keyboard"===r&&Le(String(e))}),[m,a]),Ue=function(e,t){var n=function(){var t,n=Oe(e);return[W?{label:null===n||void 0===n?void 0:n[te.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,S(n)]};if(t&&O){var o=n(),r=(0,c.Z)(o,2),a=r[0],i=r[1];O(a,i)}else if(!t&&x){var u=n(),l=(0,c.Z)(u,2),s=l[0],f=l[1];x(s,f)}},We=ce((function(e,t){var n,o=!$||t.selected;n=o?$?[].concat((0,u.Z)(Ee),[e]):[e]:Ee.filter((function(t){return t.value!==e})),Te(n),Ue(e,o),"combobox"===a?Le(""):X&&!C||(ie(""),Le(""))})),Ye=v.useMemo((function(){var e=!1!==_&&!1!==I;return(0,l.Z)((0,l.Z)({},ue),{},{flattenOptions:De,onActiveValue:ze,defaultActiveFirstOption:Ke,onSelect:We,menuItemSelectedIcon:L,rawValues:Me,fieldNames:te,virtual:e,listHeight:V,listItemHeight:K,childrenAsData:J})}),[ue,De,ze,Ke,We,L,Me,te,_,I,V,K,J]);return v.createElement(ge.Provider,{value:Ye},v.createElement(Q,(0,r.Z)({},B,{id:G,prefixCls:d,ref:t,omitDomProps:Ce,mode:a,displayValues:xe,onDisplayValuesChange:function(e,t){Te(e),"remove"!==t.type&&"clear"!==t.type||t.values.forEach((function(e){Ue(e.value,!1)}))},searchValue:ae,onSearch:function(e,t){if(ie(e),Le(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===a&&Te(e),null===y||void 0===y||y(e));else{var n=(e||"").trim();if(n){var o=Array.from(new Set([].concat((0,u.Z)(Me),[n])));Te(o),Ue(n,!0),ie("")}}},onSearchSplit:function(e){var t=e;"tags"!==a&&(t=e.map((function(e){var t=fe.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,u.Z)(Me),(0,u.Z)(t))));Te(n),n.forEach((function(e){Ue(e,!0)}))},dropdownMatchSelectWidth:I,OptionList:Se,emptyOptions:!De.length,activeValue:Ae,activeDescendantId:"".concat(G,"_list_").concat(Ve)})))}));var xe=Oe;xe.Option=de,xe.OptGroup=fe;var Me=xe,Ie=n(53124),Re=n(88258),Ne=n(98866),Pe=n(97647),De=n(65223),Te=n(33603),je=n(9708),ke=n(63606),Ae=n(4340),Le=n(97937),_e=n(80882),He=n(50888),Ve=n(68795);var Fe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rn},e}return t=u,(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,r=this.props.prefixCls,i=this.getSpinHeight(),u=this.getTop(),l=this.showScroll(),c=l&&n;return o.createElement("div",{ref:this.scrollbarRef,className:a()("".concat(r,"-scrollbar"),v({},"".concat(r,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:c?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},o.createElement("div",{ref:this.thumbRef,className:a()("".concat(r,"-scrollbar-thumb"),v({},"".concat(r,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:i,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&h(t.prototype,n),r&&h(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Component);function Z(e){var t=e.children,n=e.setRef,r=o.useCallback((function(e){n(e)}),[]);return o.cloneElement(t,{ref:r})}var C=n(34203);function O(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n1&&void 0!==arguments[1]&&arguments[1],o=e<0&&i.current.top||e>0&&i.current.bottom;return t&&o?(clearTimeout(r.current),n.current=!1):o&&!n.current||a(),!n.current&&o}};var A=n(8410);var L=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function _(){return _=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var W=[],Y={overflowY:"auto",overflowAnchor:"none"};function B(e,t){var n=e.prefixCls,r=void 0===n?"rc-virtual-list":n,i=e.className,u=e.height,l=e.itemHeight,c=e.fullHeight,s=void 0===c||c,d=e.style,v=e.data,m=e.children,h=e.itemKey,g=e.virtual,b=e.component,y=void 0===b?"div":b,w=e.onScroll,E=e.onVisibleChange,O=U(e,L),I=!(!1===g||!u||!l),N=I&&v&&l*v.length>u,P=K((0,o.useState)(0),2),T=P[0],H=P[1],z=K((0,o.useState)(!1),2),B=z[0],G=z[1],X=a()(r,i),$=v||W,Q=(0,o.useRef)(),q=(0,o.useRef)(),J=(0,o.useRef)(),ee=o.useCallback((function(e){return"function"===typeof h?h(e):null===e||void 0===e?void 0:e[h]}),[h]),te={getKey:ee};function ne(e){H((function(t){var n=function(e){var t=e;Number.isNaN(be.current)||(t=Math.min(t,be.current));return t=Math.max(t,0)}("function"===typeof e?e(t):e);return Q.current.scrollTop=n,n}))}var oe=(0,o.useRef)({start:0,end:$.length}),re=(0,o.useRef)(),ae=K(D($,ee),1)[0];re.current=ae;var ie=function(e,t,n){var r=M(o.useState(0),2),a=r[0],i=r[1],u=(0,o.useRef)(new Map),l=(0,o.useRef)(new x),c=(0,o.useRef)();function s(){p.Z.cancel(c.current)}function f(){s(),c.current=(0,p.Z)((function(){u.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,C.Z)(e),o=n.offsetHeight;l.current.get(t)!==o&&l.current.set(t,n.offsetHeight)}})),i((function(e){return e+1}))}))}return(0,o.useEffect)((function(){return s}),[]),[function(o,r){var a=e(o),i=u.current.get(a);r?(u.current.set(a,r),f()):u.current.delete(a),!i!==!r&&(r?null===t||void 0===t||t(o):null===n||void 0===n||n(o))},f,l.current,a]}(ee,null,null),ue=K(ie,4),le=ue[0],ce=ue[1],se=ue[2],fe=ue[3],pe=o.useMemo((function(){if(!I)return{scrollHeight:void 0,start:0,end:$.length-1,offset:void 0};var e;if(!N)return{scrollHeight:(null===(e=q.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:$.length-1,offset:void 0};for(var t,n,o,r=0,a=$.length,i=0;i=T&&void 0===t&&(t=i,n=r),p>T+u&&void 0===o&&(o=i),r=p}return void 0===t&&(t=0,n=0),void 0===o&&(o=$.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,$.length),offset:n}}),[N,I,T,$,fe,u]),de=pe.scrollHeight,ve=pe.start,me=pe.end,he=pe.offset;oe.current.start=ve,oe.current.end=me;var ge=de-u,be=(0,o.useRef)(ge);be.current=ge;var ye=T<=0,we=T>=ge,Ee=k(ye,we);var Se=function(e,t,n,r){var a=(0,o.useRef)(0),i=(0,o.useRef)(null),u=(0,o.useRef)(null),l=(0,o.useRef)(!1),c=k(t,n);return[function(t){if(e){p.Z.cancel(i.current);var n=t.deltaY;a.current+=n,u.current=n,c(n)||(j||t.preventDefault(),i.current=(0,p.Z)((function(){var e=l.current?10:1;r(a.current*e),a.current=0})))}},function(t){e&&(l.current=t.detail===u.current)}]}(I,ye,we,(function(e){ne((function(t){return t+e}))})),Ze=K(Se,2),Ce=Ze[0],Oe=Ze[1];!function(e,t,n){var r,a=(0,o.useRef)(!1),i=(0,o.useRef)(0),u=(0,o.useRef)(null),l=(0,o.useRef)(null),c=function(e){if(a.current){var t=Math.ceil(e.touches[0].pageY),o=i.current-t;i.current=t,n(o)&&e.preventDefault(),clearInterval(l.current),l.current=setInterval((function(){(!n(o*=.9333333333333333,!0)||Math.abs(o)<=.1)&&clearInterval(l.current)}),16)}},s=function(){a.current=!1,r()},f=function(e){r(),1!==e.touches.length||a.current||(a.current=!0,i.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",c),u.current.addEventListener("touchend",s))};r=function(){u.current&&(u.current.removeEventListener("touchmove",c),u.current.removeEventListener("touchend",s))},(0,A.Z)((function(){return e&&t.current.addEventListener("touchstart",f),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",f),r(),clearInterval(l.current)}}),[e])}(I,Q,(function(e,t){return!Ee(e,t)&&(Ce({preventDefault:function(){},deltaY:e}),!0)})),(0,A.Z)((function(){function e(e){I&&e.preventDefault()}return Q.current.addEventListener("wheel",Ce),Q.current.addEventListener("DOMMouseScroll",Oe),Q.current.addEventListener("MozMousePixelScroll",e),function(){Q.current&&(Q.current.removeEventListener("wheel",Ce),Q.current.removeEventListener("DOMMouseScroll",Oe),Q.current.removeEventListener("MozMousePixelScroll",e))}}),[I]);var xe=function(e,t,n,r,a,i,u,l){var c=o.useRef();return function(o){if(null!==o&&void 0!==o){if(p.Z.cancel(c.current),"number"===typeof o)u(o);else if(o&&"object"===R(o)){var s,f=o.align;s="index"in o?o.index:t.findIndex((function(e){return a(e)===o.key}));var d=o.offset,v=void 0===d?0:d;!function o(l,d){if(!(l<0)&&e.current){var m=e.current.clientHeight,h=!1,g=d;if(m){for(var b=d||f,y=0,w=0,E=0,S=Math.min(t.length,s),Z=0;Z<=S;Z+=1){var C=a(t[Z]);w=y;var O=n.get(C);y=E=w+(void 0===O?r:O),Z===s&&void 0===O&&(h=!0)}var x=null;switch(b){case"top":x=w-v;break;case"bottom":x=E-m+v;break;default:var M=e.current.scrollTop;wM+m&&(g="bottom")}null!==x&&x!==e.current.scrollTop&&u(x)}c.current=(0,p.Z)((function(){h&&i(),o(l-1,g)}))}}(3)}}else l()}}(Q,$,se,l,ee,ce,ne,(function(){var e;null===(e=J.current)||void 0===e||e.delayHidden()}));o.useImperativeHandle(t,(function(){return{scrollTo:xe}})),(0,A.Z)((function(){if(E){var e=$.slice(ve,me+1);E(e,$)}}),[ve,me,$]);var Me=function(e,t,n,r,a,i){var u=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=a(e,t+n,{}),l=u(e);return o.createElement(Z,{key:l,setRef:function(t){return r(e,t)}},i)}))}($,ve,me,le,m,te),Ie=null;return u&&(Ie=V(F({},s?"height":"maxHeight",u),Y),I&&(Ie.overflowY="hidden",B&&(Ie.pointerEvents="none"))),o.createElement("div",_({style:V(V({},d),{},{position:"relative"}),className:X},O),o.createElement(y,{className:"".concat(r,"-holder"),style:Ie,ref:Q,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==T&&ne(t),null===w||void 0===w||w(e)}},o.createElement(f,{prefixCls:r,height:de,offset:he,onInnerResize:ce,ref:q},Me)),I&&o.createElement(S,{ref:J,prefixCls:r,scrollTop:T,height:u,scrollHeight:de,count:$.length,onScroll:function(e){ne(e)},onStartMove:function(){G(!0)},onStopMove:function(){G(!1)}}))}var G=o.forwardRef(B);G.displayName="List";var X=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8939-b1631aef52fbaa8f.js b/static/web/_next/static/chunks/8939-b1631aef52fbaa8f.js deleted file mode 100644 index 6797a6e07..000000000 --- a/static/web/_next/static/chunks/8939-b1631aef52fbaa8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8939],{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 h}});var o=n(4942),r=n(87462),a=n(94184),i=n.n(a),u=n(67294),l=n(53124),c=n(23715),s=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-default");return u.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.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"}),u.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)"}),u.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"}),u.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"})),u.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"}),u.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,u.useContext(l.E_).getPrefixCls)("empty-img-simple");return u.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},u.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"}),u.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")}))))},p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rZ&&(a="".concat(i.slice(0,Z),"..."))}var u=function(t){t&&t.stopPropagation(),P(e)};return"function"===typeof x?function(e,t,n,o,r){return v.createElement("span",{onMouseDown:function(e){H(e),M(!l)}},x({label:t,value:e,disabled:n,closable:o,onClose:r}))}(o,a,t,r,u):te(e,a,t,r,u)},renderRest:function(e){var t="function"===typeof O?O(e):O;return te({title:t},t,!1)},suffix:ne,itemKey:_,maxCount:S});return v.createElement(v.Fragment,null,oe,!u.length&&!J&&v.createElement("span",{className:"".concat(q,"-placeholder")},p))},F=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,u=e.autoComplete,l=e.activeDescendantId,s=e.mode,f=e.open,p=e.values,d=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,S=e.onInputChange,Z=e.onInputPaste,C=e.onInputCompositionStart,O=e.onInputCompositionEnd,x=v.useState(!1),M=(0,c.Z)(x,2),R=M[0],N=M[1],P="combobox"===s,D=P||h,j=p[0],k=g||"";P&&b&&!R&&(k=b),v.useEffect((function(){P&&N(!1)}),[P,b]);var A=!("combobox"!==s&&!f&&!h)&&!!k,_=L(j);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(T,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:i,autoComplete:u,editable:D,activeDescendantId:l,value:k,onKeyDown:w,onMouseDown:E,onChange:function(e){N(!0),S(e)},onPaste:Z,onCompositionStart:C,onCompositionEnd:O,tabIndex:m,attrs:(0,I.Z)(e,!0),maxLength:P?y:void 0})),!P&&j&&!A&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:_},j.label),function(){if(j)return null;var e=A?{visibility:"hidden"}:void 0;return v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:e},d)}())};function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);function o(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return v.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},o]}var z=function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,i=e.open,u=e.mode,l=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,p=e.onSearchSubmit,d=e.onToggleOpen,h=e.onInputKeyDown,g=e.domRef;v.useImperativeHandle(t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var b=K(0),y=(0,c.Z)(b,2),w=y[0],E=y[1],S=(0,v.useRef)(null),Z=function(e){!1!==f(e,!0,o.current)&&d(!0)},C={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==m.Z.UP&&n!==m.Z.DOWN||e.preventDefault(),h&&h(e),n!==m.Z.ENTER||"tags"!==u||o.current||i||null===p||void 0===p||p(e.target.value),t=n,[m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(t)||d(!0)},onInputMouseDown:function(){E(!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,Z(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"!==u&&Z(e.target.value)}},O="multiple"===u||"tags"===u?v.createElement(V,(0,r.Z)({},e,C)):v.createElement(F,(0,r.Z)({},e,C));return v.createElement("div",{ref:g,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=w();e.target===n.current||t||"combobox"===u||e.preventDefault(),("combobox"===u||l&&t)&&i||(i&&f("",!0,!1),d())}},O)},U=v.forwardRef(z);U.displayName="Selector";var W=U;var Y=v.createContext(null);var B=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function X(e){return"tags"===e||"multiple"===e}var $=v.forwardRef((function(e,t){var n,a,d=e.id,w=e.prefixCls,E=e.className,S=e.showSearch,Z=e.tagRender,C=e.direction,O=e.omitDomProps,x=e.displayValues,I=e.onDisplayValuesChange,R=e.emptyOptions,P=e.notFoundContent,D=void 0===P?"Not Found":P,T=e.onClear,j=e.mode,k=e.disabled,A=e.loading,L=e.getInputElement,_=e.getRawInputElement,H=e.open,V=e.defaultOpen,F=e.onDropdownVisibleChange,z=e.activeValue,U=e.onActiveValueChange,$=e.activeDescendantId,Q=e.searchValue,q=e.onSearch,J=e.onSearchSplit,ee=e.tokenSeparators,te=e.allowClear,ne=e.showArrow,oe=e.inputIcon,re=e.clearIcon,ae=e.OptionList,ie=e.animation,ue=e.transitionName,le=e.dropdownStyle,ce=e.dropdownClassName,se=e.dropdownMatchSelectWidth,fe=e.dropdownRender,pe=e.dropdownAlign,de=e.placement,ve=e.getPopupContainer,me=e.showAction,he=void 0===me?[]:me,ge=e.onFocus,be=e.onBlur,ye=e.onKeyUp,we=e.onKeyDown,Ee=e.onMouseDown,Se=(0,s.Z)(e,B),Ze=X(j),Ce=(void 0!==S?S:Ze)||"combobox"===j,Oe=(0,l.Z)({},Se);G.forEach((function(e){delete Oe[e]})),null===O||void 0===O||O.forEach((function(e){delete Oe[e]}));var xe=v.useState(!1),Me=(0,c.Z)(xe,2),Ie=Me[0],Re=Me[1];v.useEffect((function(){Re((0,h.Z)())}),[]);var Ne=v.useRef(null),Pe=v.useRef(null),De=v.useRef(null),Te=v.useRef(null),je=v.useRef(null),ke=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]}(),Ae=(0,c.Z)(ke,3),Le=Ae[0],_e=Ae[1],He=Ae[2];v.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Te.current)||void 0===e?void 0:e.focus,blur:null===(t=Te.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=je.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Ve=v.useMemo((function(){var e;if("combobox"!==j)return Q;var t=null===(e=x[0])||void 0===e?void 0:e.value;return"string"===typeof t||"number"===typeof t?String(t):""}),[Q,j,x]),Fe="combobox"===j&&"function"===typeof L&&L()||null,Ke="function"===typeof _&&_(),ze=(0,g.x1)(Pe,null===Ke||void 0===Ke||null===(n=Ke.props)||void 0===n?void 0:n.ref),Ue=(0,p.Z)(void 0,{defaultValue:V,value:H}),We=(0,c.Z)(Ue,2),Ye=We[0],Be=We[1],Ge=Ye,Xe=!D&&R;(k||Xe&&Ge&&"combobox"===j)&&(Ge=!1);var $e=!Xe&&Ge,Qe=v.useCallback((function(e){var t=void 0!==e?e:!Ge;Ge===t||k||(Be(t),null===F||void 0===F||F(t))}),[k,Ge,Be,F]),qe=v.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),Je=function(e,t,n){var o=!0,r=e;null===U||void 0===U||U(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,y.Z)(o),a=r[0],i=r.slice(1);if(!a)return[t];var l=t.split(a);return n=n||l.length>1,l.reduce((function(t,n){return[].concat((0,u.Z)(t),(0,u.Z)(e(n,i)))}),[]).filter((function(e){return e}))}(e,t);return n?o:null}(e,ee);return"combobox"!==j&&a&&(r="",null===J||void 0===J||J(a),Qe(!1),o=!1),q&&Ve!==r&&q(r,{source:t?"typing":"effect"}),o};v.useEffect((function(){Ge||Ze||"combobox"===j||Je("",!1,!1)}),[Ge]),v.useEffect((function(){Ye&&k&&Be(!1),k&&_e(!1)}),[k]);var et=K(),tt=(0,c.Z)(et,2),nt=tt[0],ot=tt[1],rt=v.useRef(!1),at=[];v.useEffect((function(){return function(){at.forEach((function(e){return clearTimeout(e)})),at.splice(0,at.length)}}),[]);var it,ut=v.useState(null),lt=(0,c.Z)(ut,2),ct=lt[0],st=lt[1],ft=v.useState({}),pt=(0,c.Z)(ft,2)[1];(0,b.Z)((function(){if($e){var e,t=Math.ceil(null===(e=Ne.current)||void 0===e?void 0:e.offsetWidth);ct===t||Number.isNaN(t)||st(t)}}),[$e]),Ke&&(it=function(e){Qe(e)}),function(e,t,n,o){var r=v.useRef(null);r.current={open:t,triggerOpen:n,customizedTrigger:o},v.useEffect((function(){function t(t){var n;if(!(null===(n=r.current)||void 0===n?void 0:n.customizedTrigger)){var o=t.target;o.shadowRoot&&t.composed&&(o=t.composedPath()[0]||o),r.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(o)&&e!==o}))&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",t),function(){return window.removeEventListener("mousedown",t)}}),[])}((function(){var e;return[Ne.current,null===(e=De.current)||void 0===e?void 0:e.getPopupElement()]}),$e,Qe,!!Ke);var dt,vt,mt=v.useMemo((function(){return(0,l.Z)((0,l.Z)({},e),{},{notFoundContent:D,open:Ge,triggerOpen:$e,id:d,showSearch:Ce,multiple:Ze,toggleOpen:Qe})}),[e,D,$e,Ge,d,Ce,Ze,Qe]),ht=void 0!==ne?ne:A||!Ze&&"combobox"!==j;ht&&(dt=v.createElement(N,{className:i()("".concat(w,"-arrow"),(0,o.Z)({},"".concat(w,"-arrow-loading"),A)),customizeIcon:oe,customizeIconProps:{loading:A,searchValue:Ve,open:Ge,focused:Le,showSearch:Ce}}));k||!te||!x.length&&!Ve||"combobox"===j&&""===Ve||(vt=v.createElement(N,{className:"".concat(w,"-clear"),onMouseDown:function(){null===T||void 0===T||T(),I([],{type:"clear",values:x}),Je("",!1,!1)},customizeIcon:re},"\xd7"));var gt,bt=v.createElement(ae,{ref:je}),yt=i()(w,E,(a={},(0,o.Z)(a,"".concat(w,"-focused"),Le),(0,o.Z)(a,"".concat(w,"-multiple"),Ze),(0,o.Z)(a,"".concat(w,"-single"),!Ze),(0,o.Z)(a,"".concat(w,"-allow-clear"),te),(0,o.Z)(a,"".concat(w,"-show-arrow"),ht),(0,o.Z)(a,"".concat(w,"-disabled"),k),(0,o.Z)(a,"".concat(w,"-loading"),A),(0,o.Z)(a,"".concat(w,"-open"),Ge),(0,o.Z)(a,"".concat(w,"-customize-input"),Fe),(0,o.Z)(a,"".concat(w,"-show-search"),Ce),a)),wt=v.createElement(M,{ref:De,disabled:k,prefixCls:w,visible:$e,popupElement:bt,containerWidth:ct,animation:ie,transitionName:ue,dropdownStyle:le,dropdownClassName:ce,direction:C,dropdownMatchSelectWidth:se,dropdownRender:fe,dropdownAlign:pe,placement:de,getPopupContainer:ve,empty:R,getTriggerDOMNode:function(){return Pe.current},onPopupVisibleChange:it,onPopupMouseEnter:function(){pt({})}},Ke?v.cloneElement(Ke,{ref:ze}):v.createElement(W,(0,r.Z)({},e,{domRef:Pe,prefixCls:w,inputElement:Fe,ref:Te,id:d,showSearch:Ce,mode:j,activeDescendantId:$,tagRender:Z,values:x,open:Ge,onToggleOpen:Qe,activeValue:z,searchValue:Ve,onSearch:Je,onSearchSubmit:function(e){e&&e.trim()&&q(e,{source:"submit"})},onRemove:function(e){var t=x.filter((function(t){return t!==e}));I(t,{type:"remove",values:[e]})},tokenWithEnter:qe})));return gt=Ke?wt:v.createElement("div",(0,r.Z)({className:yt},Oe,{ref:Ne,onMouseDown:function(e){var t,n=e.target,o=null===(t=De.current)||void 0===t?void 0:t.getPopupElement();if(o&&o.contains(n)){var r=setTimeout((function(){var e,t=at.indexOf(r);-1!==t&&at.splice(t,1),He(),Ie||o.contains(document.activeElement)||null===(e=Te.current)||void 0===e||e.focus()}));at.push(r)}for(var a=arguments.length,i=new Array(a>1?a-1:0),u=1;u=0;i-=1){var l=r[i];if(!l.disabled){r.splice(i,1),a=l;break}}a&&I(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f1?t-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return(0,oe.Z)(e).map((function(e,n){if(!v.isValidElement(e)||!e.type)return null;var o=e.type.isSelectOptGroup,r=e.key,a=e.props,i=a.children,u=(0,s.Z)(a,ae);return t||!o?ie(e):(0,l.Z)((0,l.Z)({key:"__RC_SELECT_GRP__".concat(null===r?n:r,"__"),label:r},u),{},{options:ue(i)})})).filter((function(e){return e}))}function le(e,t,n,o,r){return v.useMemo((function(){var a=e;!e&&(a=ue(t));var i=new Map,u=new Map,l=function(e,t,n){n&&"string"===typeof n&&e.set(t[n],t)};return function e(t){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c1&&void 0!==arguments[1]?arguments[1]:1,n=j.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];K(e);var n={source:t?"keyboard":"mouse"},o=j[e];o?S(o.value,e,n):S(null,-1,n)};(0,v.useEffect)((function(){z(!1!==Z?_(0):-1)}),[j.length,h]);var U=v.useCallback((function(e){return x.has(e)&&"combobox"!==d}),[d,(0,u.Z)(x).toString()]);(0,v.useEffect)((function(){var e,t=setTimeout((function(){if(!p&&f&&1===x.size){var e=Array.from(x)[0],t=j.findIndex((function(t){return t.data.value===e}));-1!==t&&(z(t),L(t))}}));f&&(null===(e=k.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[f,h]);var W=function(e){void 0!==e&&C(e,{selected:!x.has(e)}),p||g(!1)};if(v.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:var o=0;if(t===m.Z.UP?o=-1:t===m.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===m.Z.N?o=1:t===m.Z.P&&(o=-1)),0!==o){var r=_(F+o,o);L(r),z(r,!0)}break;case m.Z.ENTER:var a=j[F];a&&!a.data.disabled?W(a.value):W(void 0),f&&e.preventDefault();break;case m.Z.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){L(e)}}})),0===j.length)return v.createElement("div",{role:"listbox",id:"".concat(l,"_list"),className:"".concat(T,"-empty"),onMouseDown:A},b);var B=Object.keys(M).map((function(e){return M[e]})),G=function(e){return e.label},X=function(e){var t=j[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,i=(0,I.Z)(n,!0),u=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof u||a?null:u},i,{key:e,role:a?"presentation":"option",id:"".concat(l,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(l,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(F-1),X(F),X(F+1)),v.createElement(he.Z,{itemKey:"key",ref:k,data:j,height:P,itemHeight:D,fullHeight:!1,onMouseDown:A,onScroll:y,virtual:R},(function(e,t){var n,a=e.group,u=e.groupOption,l=e.data,c=e.label,f=e.value,p=l.key;if(a){var d,m=null!==(d=l.title)&&void 0!==d?d:ye(c)?c.toString():void 0;return v.createElement("div",{className:i()(T,"".concat(T,"-group")),title:m},void 0!==c?c:p)}var h=l.disabled,g=l.title,b=(l.children,l.style),y=l.className,w=(0,s.Z)(l,be),E=(0,ve.Z)(w,B),S=U(f),Z="".concat(T,"-option"),C=i()(T,Z,y,(n={},(0,o.Z)(n,"".concat(Z,"-grouped"),u),(0,o.Z)(n,"".concat(Z,"-active"),F===t&&!h),(0,o.Z)(n,"".concat(Z,"-disabled"),h),(0,o.Z)(n,"".concat(Z,"-selected"),S),n)),x=G(e),M=!O||"function"===typeof O||S,R="number"===typeof x?x:x||f,P=ye(R)?R.toString():void 0;return void 0!==g&&(P=g),v.createElement("div",(0,r.Z)({},(0,I.Z)(E),{"aria-selected":S,className:C,title:P,onMouseMove:function(){F===t||h||z(t)},onClick:function(){h||W(f)},style:b}),v.createElement("div",{className:"".concat(Z,"-content")},R),v.isValidElement(O)||S,M&&v.createElement(N,{className:"".concat(T,"-option-state"),customizeIcon:O,customizeIconProps:{isSelected:S}},S?"\u2713":null))})))},Ee=v.forwardRef(we);Ee.displayName="OptionList";var Se=Ee;var Ze=["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"],Ce=["inputValue"];var Oe=v.forwardRef((function(e,t){var n=e.id,a=e.mode,i=e.prefixCls,d=void 0===i?"rc-select":i,m=e.backfill,h=e.fieldNames,g=e.inputValue,b=e.searchValue,y=e.onSearch,Z=e.autoClearSearchValue,C=void 0===Z||Z,O=e.onSelect,x=e.onDeselect,M=e.dropdownMatchSelectWidth,I=void 0===M||M,R=e.filterOption,N=e.filterSort,P=e.optionFilterProp,D=e.optionLabelProp,T=e.options,k=e.children,A=e.defaultActiveFirstOption,L=e.menuItemSelectedIcon,_=e.virtual,H=e.listHeight,V=void 0===H?200:H,F=e.listItemHeight,K=void 0===F?20:F,z=e.value,U=e.defaultValue,W=e.labelInValue,Y=e.onChange,B=(0,s.Z)(e,Ze),G=ne(n),$=X(a),J=!(T||!k),ee=v.useMemo((function(){return(void 0!==R||"combobox"!==a)&&R}),[R,a]),te=v.useMemo((function(){return E(h,J)}),[JSON.stringify(h),J]),oe=(0,p.Z)("",{value:void 0!==b?b:g,postState:function(e){return e||""}}),re=(0,c.Z)(oe,2),ae=re[0],ie=re[1],ue=le(T,k,te,P,D),se=ue.valueOptions,fe=ue.labelOptions,pe=ue.options,de=v.useCallback((function(e){return j(e).map((function(e){var t,n,o,r,a,i;(function(e){return!e||"object"!==(0,f.Z)(e)})(e)?t=e:(o=e.key,n=e.label,t=null!==(i=e.value)&&void 0!==i?i:o);var u,l=se.get(t);l&&(void 0===n&&(n=null===l||void 0===l?void 0:l[D||te.label]),void 0===o&&(o=null!==(u=null===l||void 0===l?void 0:l.key)&&void 0!==u?u:t),r=null===l||void 0===l?void 0:l.disabled,a=null===l||void 0===l?void 0:l.title);return{label:n,value:t,key:o,disabled:r,title:a}}))}),[te,D,se]),ve=(0,p.Z)(U,{value:z}),me=(0,c.Z)(ve,2),he=me[0],be=me[1],ye=function(e,t){var n=v.useRef({values:new Map,options:new Map});return[v.useMemo((function(){var o=n.current,r=o.values,a=o.options,i=e.map((function(e){var t;return void 0===e.label?(0,l.Z)((0,l.Z)({},e),{},{label:null===(t=r.get(e.value))||void 0===t?void 0:t.label}):e})),u=new Map,c=new Map;return i.forEach((function(e){u.set(e.value,e),c.set(e.value,t.get(e.value)||a.get(e.value))})),n.current.values=u,n.current.options=c,i}),[e,t]),v.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(v.useMemo((function(){var e,t=de(he);return"combobox"!==a||(null===(e=t[0])||void 0===e?void 0:e.value)?t:[]}),[he,de,a]),se),we=(0,c.Z)(ye,2),Ee=we[0],Oe=we[1],xe=v.useMemo((function(){if(!a&&1===Ee.length){var e=Ee[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ee.map((function(e){var t;return(0,l.Z)((0,l.Z)({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[a,Ee]),Me=v.useMemo((function(){return new Set(Ee.map((function(e){return e.value})))}),[Ee]);v.useEffect((function(){if("combobox"===a){var e,t=null===(e=Ee[0])||void 0===e?void 0:e.value;ie(function(e){return void 0!==e&&null!==e}(t)?String(t):"")}}),[Ee]);var Ie=ce((function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},(0,o.Z)(n,te.value,e),(0,o.Z)(n,te.label,r),n})),Re=function(e,t,n,r,a){return v.useMemo((function(){if(!n||!1===r)return e;var i=t.options,u=t.label,c=t.value,s=[],f="function"===typeof r,p=n.toUpperCase(),d=f?r:function(e,t){return a?q(t[a],p):t[i]?q(t["children"!==u?u:"label"],p):q(t[c],p)},v=f?function(e){return S(e)}:function(e){return e};return e.forEach((function(e){if(e[i])if(d(n,v(e)))s.push(e);else{var t=e[i].filter((function(e){return d(n,v(e))}));t.length&&s.push((0,l.Z)((0,l.Z)({},e),{},(0,o.Z)({},i,t)))}else d(n,v(e))&&s.push(e)})),s}),[e,r,a,n,t])}(v.useMemo((function(){if("tags"!==a)return pe;var e=(0,u.Z)(pe);return(0,u.Z)(Ee).sort((function(e,t){return e.value1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=E(n,!1),i=a.label,u=a.value,l=a.options;function c(e,t){e.forEach((function(e){var n=e[i];if(t||!(l in e)){var a=e[u];r.push({key:w(e,r.length),groupOption:t,data:e,label:n,value:a})}else{var s=n;void 0===s&&o&&(s=e.label),r.push({key:w(e,r.length),group:!0,data:e,label:s}),c(e[l],!0)}}))}return c(e,!1),r}(Pe,{fieldNames:te,childrenAsData:J})}),[Pe,te,J]),Te=function(e){var t=de(e);if(be(t),Y&&(t.length!==Ee.length||t.some((function(e,t){var n;return(null===(n=Ee[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=W?t:t.map((function(e){return e.value})),o=t.map((function(e){return S(Oe(e.value))}));Y($?n:n[0],$?o:o[0])}},je=v.useState(null),ke=(0,c.Z)(je,2),Ae=ke[0],Le=ke[1],_e=v.useState(0),He=(0,c.Z)(_e,2),Ve=He[0],Fe=He[1],Ke=void 0!==A?A:"combobox"!==a,ze=v.useCallback((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source,r=void 0===o?"keyboard":o;Fe(t),m&&"combobox"===a&&null!==e&&"keyboard"===r&&Le(String(e))}),[m,a]),Ue=function(e,t){var n=function(){var t,n=Oe(e);return[W?{label:null===n||void 0===n?void 0:n[te.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,S(n)]};if(t&&O){var o=n(),r=(0,c.Z)(o,2),a=r[0],i=r[1];O(a,i)}else if(!t&&x){var u=n(),l=(0,c.Z)(u,2),s=l[0],f=l[1];x(s,f)}},We=ce((function(e,t){var n,o=!$||t.selected;n=o?$?[].concat((0,u.Z)(Ee),[e]):[e]:Ee.filter((function(t){return t.value!==e})),Te(n),Ue(e,o),"combobox"===a?Le(""):X&&!C||(ie(""),Le(""))})),Ye=v.useMemo((function(){var e=!1!==_&&!1!==I;return(0,l.Z)((0,l.Z)({},ue),{},{flattenOptions:De,onActiveValue:ze,defaultActiveFirstOption:Ke,onSelect:We,menuItemSelectedIcon:L,rawValues:Me,fieldNames:te,virtual:e,listHeight:V,listItemHeight:K,childrenAsData:J})}),[ue,De,ze,Ke,We,L,Me,te,_,I,V,K,J]);return v.createElement(ge.Provider,{value:Ye},v.createElement(Q,(0,r.Z)({},B,{id:G,prefixCls:d,ref:t,omitDomProps:Ce,mode:a,displayValues:xe,onDisplayValuesChange:function(e,t){Te(e),"remove"!==t.type&&"clear"!==t.type||t.values.forEach((function(e){Ue(e.value,!1)}))},searchValue:ae,onSearch:function(e,t){if(ie(e),Le(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===a&&Te(e),null===y||void 0===y||y(e));else{var n=(e||"").trim();if(n){var o=Array.from(new Set([].concat((0,u.Z)(Me),[n])));Te(o),Ue(n,!0),ie("")}}},onSearchSplit:function(e){var t=e;"tags"!==a&&(t=e.map((function(e){var t=fe.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,u.Z)(Me),(0,u.Z)(t))));Te(n),n.forEach((function(e){Ue(e,!0)}))},dropdownMatchSelectWidth:I,OptionList:Se,emptyOptions:!De.length,activeValue:Ae,activeDescendantId:"".concat(G,"_list_").concat(Ve)})))}));var xe=Oe;xe.Option=de,xe.OptGroup=fe;var Me=xe,Ie=n(53124),Re=n(88258),Ne=n(98866),Pe=n(97647),De=n(65223),Te=n(33603),je=n(9708),ke=n(63606),Ae=n(4340),Le=n(97937),_e=n(80882),He=n(50888),Ve=n(68795);var Fe=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rn},e}return t=u,(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,r=this.props.prefixCls,i=this.getSpinHeight(),u=this.getTop(),l=this.showScroll(),c=l&&n;return o.createElement("div",{ref:this.scrollbarRef,className:a()("".concat(r,"-scrollbar"),v({},"".concat(r,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:c?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},o.createElement("div",{ref:this.thumbRef,className:a()("".concat(r,"-scrollbar-thumb"),v({},"".concat(r,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:i,top:u,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}])&&h(t.prototype,n),r&&h(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(o.Component);function Z(e){var t=e.children,n=e.setRef,r=o.useCallback((function(e){n(e)}),[]);return o.cloneElement(t,{ref:r})}var C=n(34203);function O(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n1&&void 0!==arguments[1]&&arguments[1],o=e<0&&i.current.top||e>0&&i.current.bottom;return t&&o?(clearTimeout(r.current),n.current=!1):o&&!n.current||a(),!n.current&&o}};var A=n(8410);var L=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function _(){return _=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var W=[],Y={overflowY:"auto",overflowAnchor:"none"};function B(e,t){var n=e.prefixCls,r=void 0===n?"rc-virtual-list":n,i=e.className,u=e.height,l=e.itemHeight,c=e.fullHeight,s=void 0===c||c,d=e.style,v=e.data,m=e.children,h=e.itemKey,g=e.virtual,b=e.component,y=void 0===b?"div":b,w=e.onScroll,E=e.onVisibleChange,O=U(e,L),I=!(!1===g||!u||!l),N=I&&v&&l*v.length>u,P=K((0,o.useState)(0),2),T=P[0],H=P[1],z=K((0,o.useState)(!1),2),B=z[0],G=z[1],X=a()(r,i),$=v||W,Q=(0,o.useRef)(),q=(0,o.useRef)(),J=(0,o.useRef)(),ee=o.useCallback((function(e){return"function"===typeof h?h(e):null===e||void 0===e?void 0:e[h]}),[h]),te={getKey:ee};function ne(e){H((function(t){var n=function(e){var t=e;Number.isNaN(be.current)||(t=Math.min(t,be.current));return t=Math.max(t,0)}("function"===typeof e?e(t):e);return Q.current.scrollTop=n,n}))}var oe=(0,o.useRef)({start:0,end:$.length}),re=(0,o.useRef)(),ae=K(D($,ee),1)[0];re.current=ae;var ie=function(e,t,n){var r=M(o.useState(0),2),a=r[0],i=r[1],u=(0,o.useRef)(new Map),l=(0,o.useRef)(new x),c=(0,o.useRef)();function s(){p.Z.cancel(c.current)}function f(){s(),c.current=(0,p.Z)((function(){u.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,C.Z)(e),o=n.offsetHeight;l.current.get(t)!==o&&l.current.set(t,n.offsetHeight)}})),i((function(e){return e+1}))}))}return(0,o.useEffect)((function(){return s}),[]),[function(o,r){var a=e(o),i=u.current.get(a);r?(u.current.set(a,r),f()):u.current.delete(a),!i!==!r&&(r?null===t||void 0===t||t(o):null===n||void 0===n||n(o))},f,l.current,a]}(ee,null,null),ue=K(ie,4),le=ue[0],ce=ue[1],se=ue[2],fe=ue[3],pe=o.useMemo((function(){if(!I)return{scrollHeight:void 0,start:0,end:$.length-1,offset:void 0};var e;if(!N)return{scrollHeight:(null===(e=q.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:$.length-1,offset:void 0};for(var t,n,o,r=0,a=$.length,i=0;i=T&&void 0===t&&(t=i,n=r),p>T+u&&void 0===o&&(o=i),r=p}return void 0===t&&(t=0,n=0),void 0===o&&(o=$.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,$.length),offset:n}}),[N,I,T,$,fe,u]),de=pe.scrollHeight,ve=pe.start,me=pe.end,he=pe.offset;oe.current.start=ve,oe.current.end=me;var ge=de-u,be=(0,o.useRef)(ge);be.current=ge;var ye=T<=0,we=T>=ge,Ee=k(ye,we);var Se=function(e,t,n,r){var a=(0,o.useRef)(0),i=(0,o.useRef)(null),u=(0,o.useRef)(null),l=(0,o.useRef)(!1),c=k(t,n);return[function(t){if(e){p.Z.cancel(i.current);var n=t.deltaY;a.current+=n,u.current=n,c(n)||(j||t.preventDefault(),i.current=(0,p.Z)((function(){var e=l.current?10:1;r(a.current*e),a.current=0})))}},function(t){e&&(l.current=t.detail===u.current)}]}(I,ye,we,(function(e){ne((function(t){return t+e}))})),Ze=K(Se,2),Ce=Ze[0],Oe=Ze[1];!function(e,t,n){var r,a=(0,o.useRef)(!1),i=(0,o.useRef)(0),u=(0,o.useRef)(null),l=(0,o.useRef)(null),c=function(e){if(a.current){var t=Math.ceil(e.touches[0].pageY),o=i.current-t;i.current=t,n(o)&&e.preventDefault(),clearInterval(l.current),l.current=setInterval((function(){(!n(o*=.9333333333333333,!0)||Math.abs(o)<=.1)&&clearInterval(l.current)}),16)}},s=function(){a.current=!1,r()},f=function(e){r(),1!==e.touches.length||a.current||(a.current=!0,i.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",c),u.current.addEventListener("touchend",s))};r=function(){u.current&&(u.current.removeEventListener("touchmove",c),u.current.removeEventListener("touchend",s))},(0,A.Z)((function(){return e&&t.current.addEventListener("touchstart",f),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",f),r(),clearInterval(l.current)}}),[e])}(I,Q,(function(e,t){return!Ee(e,t)&&(Ce({preventDefault:function(){},deltaY:e}),!0)})),(0,A.Z)((function(){function e(e){I&&e.preventDefault()}return Q.current.addEventListener("wheel",Ce),Q.current.addEventListener("DOMMouseScroll",Oe),Q.current.addEventListener("MozMousePixelScroll",e),function(){Q.current&&(Q.current.removeEventListener("wheel",Ce),Q.current.removeEventListener("DOMMouseScroll",Oe),Q.current.removeEventListener("MozMousePixelScroll",e))}}),[I]);var xe=function(e,t,n,r,a,i,u,l){var c=o.useRef();return function(o){if(null!==o&&void 0!==o){if(p.Z.cancel(c.current),"number"===typeof o)u(o);else if(o&&"object"===R(o)){var s,f=o.align;s="index"in o?o.index:t.findIndex((function(e){return a(e)===o.key}));var d=o.offset,v=void 0===d?0:d;!function o(l,d){if(!(l<0)&&e.current){var m=e.current.clientHeight,h=!1,g=d;if(m){for(var b=d||f,y=0,w=0,E=0,S=Math.min(t.length,s),Z=0;Z<=S;Z+=1){var C=a(t[Z]);w=y;var O=n.get(C);y=E=w+(void 0===O?r:O),Z===s&&void 0===O&&(h=!0)}var x=null;switch(b){case"top":x=w-v;break;case"bottom":x=E-m+v;break;default:var M=e.current.scrollTop;wM+m&&(g="bottom")}null!==x&&x!==e.current.scrollTop&&u(x)}c.current=(0,p.Z)((function(){h&&i(),o(l-1,g)}))}}(3)}}else l()}}(Q,$,se,l,ee,ce,ne,(function(){var e;null===(e=J.current)||void 0===e||e.delayHidden()}));o.useImperativeHandle(t,(function(){return{scrollTo:xe}})),(0,A.Z)((function(){if(E){var e=$.slice(ve,me+1);E(e,$)}}),[ve,me,$]);var Me=function(e,t,n,r,a,i){var u=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=a(e,t+n,{}),l=u(e);return o.createElement(Z,{key:l,setRef:function(t){return r(e,t)}},i)}))}($,ve,me,le,m,te),Ie=null;return u&&(Ie=V(F({},s?"height":"maxHeight",u),Y),I&&(Ie.overflowY="hidden",B&&(Ie.pointerEvents="none"))),o.createElement("div",_({style:V(V({},d),{},{position:"relative"}),className:X},O),o.createElement(y,{className:"".concat(r,"-holder"),style:Ie,ref:Q,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==T&&ne(t),null===w||void 0===w||w(e)}},o.createElement(f,{prefixCls:r,height:de,offset:he,onInnerResize:ce,ref:q},Me)),I&&o.createElement(S,{ref:J,prefixCls:r,scrollTop:T,height:u,scrollHeight:de,count:$.length,onScroll:function(e){ne(e)},onStartMove:function(){G(!0)},onStopMove:function(){G(!1)}}))}var G=o.forwardRef(B);G.displayName="List";var X=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9181-df8b71d4f342f83d.js b/static/web/_next/static/chunks/9181-df8b71d4f342f83d.js deleted file mode 100644 index 711ebd2d0..000000000 --- a/static/web/_next/static/chunks/9181-df8b71d4f342f83d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9181],{48689:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={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"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="DeleteOutlined";var c=o.forwardRef(a)},88484:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(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"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="UploadOutlined";var c=o.forwardRef(a)},94594:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(87462),o=r(4942),i=r(50888),s=r(94184),a=r.n(s),c=r(97685),l=r(91),u=r(67294),p=r(21770),f=r(15105),h=u.forwardRef((function(e,t){var r,n=e.prefixCls,i=void 0===n?"rc-switch":n,s=e.className,h=e.checked,d=e.defaultChecked,m=e.disabled,g=e.loadingIcon,_=e.checkedChildren,v=e.unCheckedChildren,b=e.onClick,k=e.onChange,y=e.onKeyDown,C=(0,l.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,p.Z)(!1,{value:h,defaultValue:d}),w=(0,c.Z)(x,2),E=w[0],A=w[1];function D(e,t){var r=E;return m||(A(r=e),null===k||void 0===k||k(r,t)),r}var S=a()(i,s,(r={},(0,o.Z)(r,"".concat(i,"-checked"),E),(0,o.Z)(r,"".concat(i,"-disabled"),m),r));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:m,className:S,ref:t,onKeyDown:function(e){e.which===f.Z.LEFT?D(!1,e):e.which===f.Z.RIGHT&&D(!0,e),null===y||void 0===y||y(e)},onClick:function(e){var t=D(!E,e);null===b||void 0===b||b(t,e)}}),g,u.createElement("span",{className:"".concat(i,"-inner")},E?_:v))}));h.displayName="Switch";var d=h,m=r(53124),g=r(98866),_=r(97647),v=r(68349),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var n=e.data[t];Array.isArray(n)?n.forEach((function(e){r.append("".concat(t,"[]"),e)})):r.append(t,n)})),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var r="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),n=new Error(r);return n.status=t.status,n.method=e.method,n.url=e.action,n}(e,t),b(t)):e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach((function(e){null!==n[e]&&t.setRequestHeader(e,n[e])})),t.send(r),{abort:function(){t.abort()}}}var y=+new Date,C=0;function x(){return"rc-upload-".concat(y,"-").concat(++C)}var w=r(80334),E=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),s=t.toLowerCase(),a=[s];return".jpg"!==s&&".jpeg"!==s||(a=[".jpg",".jpeg"]),a.some((function(e){return r.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,w.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var A=function(e,t,r){var n=function e(n,o){n.path=o||"",n.isFile?n.file((function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):n.isDirectory&&function(e,t){var r=e.createReader(),n=[];!function e(){r.readEntries((function(r){var o=Array.prototype.slice.apply(r);n=n.concat(o),o.length?e():t(n)}))}()}(n,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(n.name,"/"))}))}))};e.forEach((function(e){n(e.webkitGetAsEntry())}))},D=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],S=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,f.Z)(this,r);for(var n=arguments.length,o=new Array(n),i=0;ii?l=-((a=i*(se/e))-s)/2:c=-((s=e*(se/i))-a)/2,n.drawImage(o,c,l,s,a);var u=r.toDataURL();document.body.removeChild(r),t(u)},o.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var i=new FileReader;i.addEventListener("load",(function(){i.result&&(o.src=i.result)})),i.readAsDataURL(e)}else o.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return ie(e.type);var t=e.thumbUrl||e.url||"",r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(r))||!/^data:/.test(t)&&!r}};var ve=_e,be=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},ke="__LIST_IGNORE_".concat(Date.now(),"__"),ye=function(e,t){var r,u=e.fileList,f=e.defaultFileList,h=e.onRemove,d=e.showUploadList,m=e.listType,g=e.onPreview,_=e.onDownload,v=e.onChange,b=e.onDrop,k=e.previewFile,y=e.disabled,C=e.locale,x=e.iconRender,w=e.isImageUrl,E=e.progress,A=e.prefixCls,D=e.className,S=e.type,q=e.children,F=e.style,L=e.itemRender,N=e.maxCount,P=o.useContext(T.Z),j=y||P,B=(0,z.Z)(f||[],{value:u,postState:function(e){return null!==e&&void 0!==e?e:[]}}),U=(0,l.Z)(B,2),V=U[0],$=U[1],H=o.useState("drop"),G=(0,l.Z)(H,2),W=G[0],J=G[1],K=o.useRef();o.useMemo((function(){var e=Date.now();(u||[]).forEach((function(t,r){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(r,"__"))}))}),[u]);var Y=function(e,t,r){var n=(0,c.Z)(t);1===N?n=n.slice(-1):N&&(n=n.slice(0,N)),(0,I.flushSync)((function(){$(n)}));var o={file:e,fileList:n};r&&(o.event=r),null===v||void 0===v||v(o)},X=function(e){var t=e.filter((function(e){return!e.file[ke]}));if(t.length){var r=t.map((function(e){return re(e.file)})),n=(0,c.Z)(V);r.forEach((function(e){n=ne(e,n)})),r.forEach((function(e,r){var o=e;if(t[r].parsedFile)e.status="uploading";else{var i,s=e.originFileObj;try{i=new File([s],s.name,{type:s.type})}catch(a){(i=new Blob([s],{type:s.type})).name=s.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}Y(o,n)}))}},Q=function(e,t,r){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}if(oe(t,V)){var n=re(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;var o=ne(n,V);Y(n,o)}},ee=function(e,t){if(oe(t,V)){var r=re(t);r.status="uploading",r.percent=e.percent;var n=ne(r,V);Y(r,n,e)}},te=function(e,t,r){if(oe(r,V)){var n=re(r);n.error=e,n.response=t,n.status="error";var o=ne(n,V);Y(n,o)}},ie=function(e){var t;Promise.resolve("function"===typeof h?h(e):h).then((function(r){var o;if(!1!==r){var i=function(e,t){var r=void 0!==e.uid?"uid":"name",n=t.filter((function(t){return t[r]!==e[r]}));return n.length===t.length?null:n}(e,V);i&&(t=(0,n.Z)((0,n.Z)({},e),{status:"removed"}),null===V||void 0===V||V.forEach((function(e){var r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")})),null===(o=K.current)||void 0===o||o.abort(t),Y(t,i))}}))},se=function(e){J(e.type),"drop"===e.type&&(null===b||void 0===b||b(e))};o.useImperativeHandle(t,(function(){return{onBatchStart:X,onSuccess:Q,onProgress:ee,onError:te,fileList:V,upload:K.current}}));var ae=o.useContext(R.E_),ce=ae.getPrefixCls,le=ae.direction,ue=ce("upload",A),pe=(0,n.Z)((0,n.Z)({onBatchStart:X,onError:te,onProgress:ee,onSuccess:Q},e),{prefixCls:ue,disabled:j,beforeUpload:function(t,r){return be(void 0,void 0,void 0,(0,s.Z)().mark((function n(){var o,i,c,l;return(0,s.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.beforeUpload,i=e.transformFile,c=t,!o){n.next=13;break}return n.next=5,o(t,r);case 5:if(!1!==(l=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[ke],l!==ke){n.next=12;break}return Object.defineProperty(t,ke,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,a.Z)(l)&&l&&(c=l);case 13:if(!i){n.next=17;break}return n.next=16,i(c);case 16:c=n.sent;case 17:return n.abrupt("return",c);case 18:case"end":return n.stop()}}),n)})))},onChange:void 0});delete pe.className,delete pe.style,q&&!j||delete pe.id;var fe=function(e,t){return d?o.createElement(M.Z,{componentName:"Upload",defaultLocale:O.Z.Upload},(function(r){var i="boolean"===typeof d?{}:d,s=i.showRemoveIcon,a=i.showPreviewIcon,c=i.showDownloadIcon,l=i.removeIcon,u=i.previewIcon,p=i.downloadIcon;return o.createElement(ve,{prefixCls:ue,listType:m,items:V,previewFile:k,onPreview:g,onDownload:_,onRemove:ie,showRemoveIcon:!j&&s,showPreviewIcon:a,showDownloadIcon:c,removeIcon:l,previewIcon:u,downloadIcon:p,iconRender:x,locale:(0,n.Z)((0,n.Z)({},r),C),isImageUrl:w,progress:E,appendAction:e,appendActionVisible:t,itemRender:L})})):e};if("drag"===S){var he,de=p()(ue,(he={},(0,i.Z)(he,"".concat(ue,"-drag"),!0),(0,i.Z)(he,"".concat(ue,"-drag-uploading"),V.some((function(e){return"uploading"===e.status}))),(0,i.Z)(he,"".concat(ue,"-drag-hover"),"dragover"===W),(0,i.Z)(he,"".concat(ue,"-disabled"),j),(0,i.Z)(he,"".concat(ue,"-rtl"),"rtl"===le),he),D);return o.createElement("span",null,o.createElement("div",{className:de,onDrop:se,onDragOver:se,onDragLeave:se,style:F},o.createElement(Z,(0,n.Z)({},pe,{ref:K,className:"".concat(ue,"-btn")}),o.createElement("div",{className:"".concat(ue,"-drag-container")},q))),fe())}var me,ge=p()(ue,(r={},(0,i.Z)(r,"".concat(ue,"-select"),!0),(0,i.Z)(r,"".concat(ue,"-select-").concat(m),!0),(0,i.Z)(r,"".concat(ue,"-disabled"),j),(0,i.Z)(r,"".concat(ue,"-rtl"),"rtl"===le),r)),_e=(me=q?void 0:{display:"none"},o.createElement("div",{className:ge,style:me},o.createElement(Z,(0,n.Z)({},pe,{ref:K}))));return"picture-card"===m?o.createElement("span",{className:p()("".concat(ue,"-picture-card-wrapper"),D)},fe(_e,!!q)):o.createElement("span",{className:D},_e,fe())},Ce=o.forwardRef(ye);Ce.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var xe=Ce,we=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(e){var t=e.re=r(36066)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.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]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}})),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:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,s,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.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:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,f(this,0)):null},h.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(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};e=e||{},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("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+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="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+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='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},27561:function(e,t,r){var n=r(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):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 n=r(13218),o=r(7771),i=r(14841),s=Math.max,a=Math.min;e.exports=function(e,t,r){var c,l,u,p,f,h,d=0,m=!1,g=!1,_=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=c,n=l;return c=l=void 0,d=t,p=e.apply(n,r)}function b(e){return d=e,f=setTimeout(y,t),m?v(e):p}function k(e){var r=e-h;return void 0===h||r>=t||r<0||g&&e-d>=u}function y(){var e=o();if(k(e))return C(e);f=setTimeout(y,function(e){var r=t-(e-h);return g?a(r,u-(e-d)):r}(e))}function C(e){return f=void 0,_&&c?v(e):(c=l=void 0,p)}function x(){var e=o(),r=k(e);if(c=arguments,l=this,h=e,r){if(void 0===f)return b(h);if(g)return clearTimeout(f),f=setTimeout(y,t),v(h)}return void 0===f&&(f=setTimeout(y,t)),p}return t=i(t)||0,n(r)&&(m=!!r.leading,u=(g="maxWait"in r)?s(i(r.maxWait)||0,t):u,_="trailing"in r?!!r.trailing:_),x.cancel=function(){void 0!==f&&clearTimeout(f),d=0,c=h=l=f=void 0},x.flush=function(){return void 0===f?p:C(o())},x}},33448:function(e,t,r){var n=r(44239),o=r(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},7771:function(e,t,r){var n=r(55639);e.exports=function(){return n.Date.now()}},14841:function(e,t,r){var n=r(27561),o=r(13218),i=r(33448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;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=n(e);var r=a.test(e);return r||c.test(e)?l(e.slice(2),r?2:8):s.test(e)?NaN:+e}},9980:function(e,t,r){"use strict";e.exports=r(17024)},26233:function(e,t,r){"use strict";e.exports=r(95485)},40813:function(e){"use strict";e.exports=["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","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",n=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),o=new RegExp("^(?:"+t+"|"+r+")");e.exports.n=n,e.exports.q=o},67022:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(26233);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function d(e){return h[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(73189);t.lib={},t.lib.mdurl=r(48765),t.lib.ucmicro=r(84205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=i,t.fromCodePoint=s,t.escapeHtml=function(e){return p.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},51685:function(e,t,r){"use strict";t.parseLinkLabel=r(33595),t.parseLinkDestination=r(12548),t.parseLinkTitle=r(88040)},12548:function(e,t,r){"use strict";var n=r(67022).unescapeAll;e.exports=function(e,t,r){var o,i,s=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return a;if(41===o){if(0===i)break;i--}t++}return s===t||0!==i||(a.str=n(e.slice(s,t)),a.lines=0,a.pos=t,a.ok=!0),a}},33595:function(e){"use strict";e.exports=function(e,t,r){var n,o,i,s,a=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t=0))try{t.hostname=p.toASCII(t.hostname)}catch(r){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(r){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new s,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=_,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},82471:function(e,t,r){"use strict";var n=r(79580),o=[["table",r(91785),["paragraph","reference"]],["code",r(38768)],["fence",r(13542),["paragraph","reference","blockquote","list"]],["blockquote",r(45258),["paragraph","reference","blockquote","list"]],["hr",r(35634),["paragraph","reference","blockquote","list"]],["list",r(18532),["paragraph","reference","blockquote"]],["reference",r(43804)],["html_block",r(76329),["paragraph","reference","blockquote"]],["heading",r(61630),["paragraph","reference","blockquote"]],["lheading",r(56850)],["paragraph",r(96864)]];function i(){this.ruler=new n;for(var e=0;e=r))&&!(e.sCount[s]=c){e.line=r;break}for(n=0;n=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,r,n){var o,i,s,a=new this.State(e,t,r,n);for(this.tokenize(a),s=(i=this.ruler2.getRules("")).length,o=0;o"+i(e[t].content)+""},s.code_block=function(e,t,r,n,o){var s=e[t];return""+i(e[t].content)+"\n"},s.fence=function(e,t,r,n,s){var a,c,l,u,p,f=e[t],h=f.info?o(f.info).trim():"",d="",m="";return h&&(d=(l=h.split(/(\s+)/g))[0],m=l.slice(2).join("")),0===(a=r.highlight&&r.highlight(f.content,d,m)||i(f.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},s.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},s.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(e,t){return i(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,s=0,a=e.length;s=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(c=h=e.sCount[t]+1,32===e.src.charCodeAt(A)?(A++,c++,h++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[t]+h)%4===3?(A++,c++,h++,i=!1):i=!0):k=!1,d=[e.bMarks[t]],e.bMarks[t]=A;A=D,v=[e.sCount[t]],e.sCount[t]=h-c,b=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=t+1;f=(D=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(A++)||w){if(u)break;for(y=!1,a=0,l=C.length;a=D,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(k?1:0),v.push(e.sCount[f]),e.sCount[f]=h-c,b.push(e.tShift[f]),e.tShift[f]=A-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(x=e.push("blockquote_open","blockquote",1)).markup=">",x.map=p=[t,0],e.md.block.tokenize(e,t,f),(x=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=_,p[1]=e.line,a=0;a=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},13542:function(e){"use strict";e.exports=function(e,t,r,n){var o,i,s,a,c,l,u,p=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(c=f,(i=(f=e.skipChars(f,o))-c)<3)return!1;if(u=e.src.slice(c,f),s=e.src.slice(f,h),96===o&&s.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((f=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]=4)&&!((f=e.skipChars(f,o))-c=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(s=1,i=e.src.charCodeAt(++l);35===i&&l6||ll&&n(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,(c=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)}},35634:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t,r,o){var i,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(s=1;l|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o=4)return!1;for(f=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,i=0,s=d.length;i=s)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=s)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(I=!0),(S=i(e,t))>=0){if(f=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(F,S-1)),I&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;f=!1}if(I&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(S-1),n)return!0;for(g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==v&&(z.attrs=[["start",v]])):z=e.push("bullet_list_open","ul",1),z.map=m=[t,0],z.markup=String.fromCharCode(_),k=t,q=!1,Z=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";k=b?1:y-p)>4&&(u=1),l=p+u,(z=e.push("list_item_open","li",1)).markup=String.fromCharCode(_),z.map=h=[t,0],f&&(z.info=e.src.slice(F,S-1)),A=e.tight,E=e.tShift[t],w=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=y,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!q||(R=!1),q=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=w,e.tight=A,(z=e.push("list_item_close","li",-1)).markup=String.fromCharCode(_),k=t=e.line,h[1]=k,a=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(L=!1,c=0,d=Z.length;c3)&&!(e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x3)&&!(e.sCount[E]<0)){for(b=!1,p=0,f=k.length;p0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,s,a,c,l,u,p,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fr?new Array(s-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},91785:function(e,t,r){"use strict";var n=r(67022).isSpace;function o(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function i(e){var t,r=[],n=0,o=e.length,i=!1,s=0,a="";for(t=e.charCodeAt(n);nr)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(x=e.src.charCodeAt(l++))&&45!==x&&58!==x)return!1;if(l>=e.eMarks[f])return!1;if(124!==(w=e.src.charCodeAt(l++))&&45!==w&&58!==w&&!n(w))return!1;if(45===x&&n(w))return!1;for(;l=4)return!1;if((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),0===(d=h.length)||d!==g.length)return!1;if(s)return!0;for(k=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=v=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u=4)break;for((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),f===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[f,f+1],u=0;u/i.test(e)}e.exports=function(e){var t,r,i,s,a,c,l,u,p,f,h,d,m,g,_,v,b,k,y=e.tokens;if(e.md.options.linkify)for(r=0,i=y.length;r=0;t--)if("link_close"!==(c=s[t]).type){if("html_inline"===c.type&&(k=c.content,/^\s]/i.test(k)&&m>0&&m--,o(c.content)&&m++),!(m>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,b=e.md.linkify.match(p),l=[],d=c.level,h=0,b.length>0&&0===b[0].index&&t>0&&"text_special"===s[t-1].type&&(b=b.slice(1)),u=0;uh&&((a=new e.Token("text","",0)).content=p.slice(h,f),a.level=d,l.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",_]],a.level=d++,a.markup="linkify",a.info="auto",l.push(a),(a=new e.Token("text","",0)).content=v,a.level=d,l.push(a),(a=new e.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",l.push(a),h=b[u].lastIndex);h=0;t--)"text"!==(r=e[t]).type||o||(r.content=r.content.replace(n,i)),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}function a(e){var r,n,o=0;for(r=e.length-1;r>=0;r--)"text"!==(n=e[r]).type||o||t.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}e.exports=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)"inline"===e.tokens[n].type&&(r.test(e.tokens[n].content)&&s(e.tokens[n].children),t.test(e.tokens[n].content)&&a(e.tokens[n].children))}},58450:function(e,t,r){"use strict";var n=r(67022).isWhiteSpace,o=r(67022).isPunctChar,i=r(67022).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function c(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function l(e,t){var r,s,l,u,p,f,h,d,m,g,_,v,b,k,y,C,x,w,E,A,D;for(E=[],r=0;r=0&&!(E[x].level<=h);x--);if(E.length=x+1,"text"===s.type){p=0,f=(l=s.content).length;e:for(;p=0)m=l.charCodeAt(u.index-1);else for(x=r-1;x>=0&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x--)if(e[x].content){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(g=32,p=48&&m<=57&&(C=y=!1),y&&C&&(y=_,C=v),y||C){if(C)for(x=E.length-1;x>=0&&(d=E[x],!(E[x].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},16480:function(e,t,r){"use strict";var n=r(75872);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},46633:function(e){"use strict";e.exports=function(e){var t,r,n,o,i,s,a=e.tokens;for(t=0,r=a.length;t\x00-\x20]*)$/;e.exports=function(e,n){var o,i,s,a,c,l,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(c=e.pos,l=e.posMax;;){if(++u>=l)return!1;if(60===(a=e.src.charCodeAt(u)))return!1;if(62===a)break}return o=e.src.slice(c+1,u),r.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0))}},79755:function(e){"use strict";e.exports=function(e,t){var r,n,o,i,s,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;us;n-=d[n]+1)if((i=t[n]).marker===o.marker&&i.open&&i.end<0&&(c=!1,(i.close||o.open)&&(i.length+o.length)%3===0&&(i.length%3===0&&o.length%3===0||(c=!0)),!c)){l=n>0&&!t[n-1].open?d[n-1]+1:0,d[r]=r-n+l,d[n]=l,o.open=!1,i.end=r,i.close=!1,a=-1,h=-2;break}-1!==a&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}e.exports=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1,s=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?s+s:s,i.content="",(i=e.tokens[o.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?s+s:s,i.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}e.exports.w=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r=f)return!1;if(35===e.src.charCodeAt(p+1)){if(l=e.src.slice(p).match(a))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),(u=e.push("text_special","",0)).content=i(r)?s(r):s(65533),u.markup=l[0],u.info="entity"),e.pos+=l[0].length,!0}else if((l=e.src.slice(p).match(c))&&o(n,l[1]))return t||((u=e.push("text_special","",0)).content=n[l[1]],u.markup=l[0],u.info="entity"),e.pos+=l[0].length,!0;return!1}},1917:function(e,t,r){"use strict";for(var n=r(67022).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,i,s,a,c,l=e.pos,u=e.posMax;if(92!==e.src.charCodeAt(l))return!1;if(++l>=u)return!1;if(10===(r=e.src.charCodeAt(l))){for(t||e.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(a+=e.src[l+1],l++),s="\\"+a,t||(c=e.push("text_special","",0),r<256&&0!==o[r]?c.content=a:c.content=s,c.markup=s,c.info="escape"),e.pos=l+1,!0}},69969:function(e){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,i=e.tokens.length;for(t=r=0;t0&&n++,"text"===o[t].type&&t+1=i)&&(!(33!==(r=e.src.charCodeAt(c+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(c).match(n))&&(t||((s=e.push("html_inline","",0)).content=e.src.slice(c,c+o[0].length),a=s.content,/^\s]/i.test(a)&&e.linkLevel++,function(e){return/^<\/a\s*>/i.test(e)}(s.content)&&e.linkLevel--),e.pos+=o[0].length,!0))))}},83006:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f,h,d,m,g,_="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)=b)return!1;for(g=u,(f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(_=e.md.normalizeLink(f.str),e.md.validateLink(_)?u=f.pos:_=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(g,u++):u=c+1):u=c+1,a||(a=e.src.slice(l,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;_=p.href,h=p.title}return t||(s=e.src.slice(l,c),e.md.inline.parse(s,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=r=[["src",_],["alt",""]],d.children=m,d.content=s,h&&r.push(["title",h])),e.pos=u,e.posMax=b,!0}},81727:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f="",h="",d=e.pos,m=e.posMax,g=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=a+1)=m)return!1;if(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok){for(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f="",g=l;l=m||41!==e.src.charCodeAt(l))&&(_=!0),l++}if(_){if("undefined"===typeof e.env.references)return!1;if(l=0?s=e.src.slice(g,l++):l=a+1):l=a+1,s||(s=e.src.slice(c,a)),!(p=e.env.references[n(s)]))return e.pos=d,!1;f=p.href,h=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",f]],h&&r.push(["title",h]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},12906:function(e){"use strict";var t=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;e.exports=function(e,r){var n,o,i,s,a,c,l;return!!e.md.options.linkify&&(!(e.linkLevel>0)&&(!((n=e.pos)+3>e.posMax)&&(58===e.src.charCodeAt(n)&&(47===e.src.charCodeAt(n+1)&&(47===e.src.charCodeAt(n+2)&&(!!(o=e.pending.match(t))&&(i=o[1],!!(s=e.md.linkify.matchAtStart(e.src.slice(n-i.length)))&&(a=(a=s.url).replace(/\*+$/,""),c=e.md.normalizeLink(a),!!e.md.validateLink(c)&&(r||(e.pending=e.pending.slice(0,-i.length),(l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="linkify",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(a),(l=e.push("link_close","a",-1)).markup="linkify",l.info="auto"),e.pos+=a.length-i.length,!0)))))))))}},43905:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t){var r,o,i,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,o=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(i=r-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,l,u,p,f,h,d=e,m=!0,g=!0,_=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<_&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<_?this.src.charCodeAt(d):32,p=s(r)||i(String.fromCharCode(r)),h=s(n)||i(String.fromCharCode(n)),u=o(r),(f=o(n))?m=!1:h&&(u||p||(m=!1)),u?g=!1:p&&(f||h||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||h)),{can_open:c,can_close:l,length:a}},a.prototype.Token=n,e.exports=a},44814:function(e){"use strict";function t(e,t){var r,n,o,i,s,a=[],c=t.length;for(r=0;r=0&&(r=this.attrs[t][1]),r},t.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=t},83122:function(e){"use strict";var t={};function r(e,n){var o;return"string"!==typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r=55296&&c<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(c),t+=6):240===(248&n)&&t+91114111?l+="\ufffd\ufffd\ufffd\ufffd":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="\ufffd";return l}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},70729:function(e){"use strict";var t={};function r(e,n,o){var i,s,a,c,l,u="";for("string"!==typeof n&&(o=n,n=r.defaultChars),"undefined"===typeof o&&(o=!0),l=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},2201:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},48765:function(e,t,r){"use strict";e.exports.encode=r(70729),e.exports.decode=r(83122),e.exports.format=r(2201),e.exports.parse=r(9553)},9553:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(i),a=["%","/","?",";","#"].concat(s),c=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,i,s,h,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var _=r.exec(m);if(_&&(s=(_=_[0]).toLowerCase(),this.protocol=_,m=m.substr(_.length)),(t||_||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||_&&p[_]||(m=m.substr(2),this.slashes=!0)),!p[_]&&(d||_&&!f[_])){var v,b,k=-1;for(n=0;n127?E+="x":E+=w[A];if(!E.match(l)){var S=x.slice(0,n),q=x.slice(n+1),F=w.match(u);F&&(S.push(F[1]),q.unshift(F[2])),q.length&&(m=q.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var Z=m.indexOf("?");return-1!==Z&&(this.search=m.substr(Z),m=m.slice(0,Z)),m&&(this.pathname=m),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},90638:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(96856).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=s.default,i=(null==t?void 0:t.suspense)?{}:{loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};n(e,Promise)?i.loader=function(){return e}:"function"===typeof e?i.loader=e:"object"===typeof e&&(i=o({},i,e));if((i=o({},i,t)).suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");i.suspense&&(delete i.ssr,delete i.loading);i.loadableGenerated&&delete(i=o({},i,i.loadableGenerated)).loadableGenerated;if("boolean"===typeof i.ssr&&!i.suspense){if(!i.ssr)return delete i.ssr,a(r,i);delete i.ssr}return r(i)},t.noSSR=a;var o=r(6495).Z,i=r(92648).Z,s=(i(r(67294)),i(r(14302)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var n=(0,r(92648).Z)(r(67294)).default.createContext(null);t.LoadableContext=n},14302:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(79658).Z,o=r(7222).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(6495).Z,s=(0,r(92648).Z)(r(67294)),a=r(16319),c=r(61688).useSyncExternalStore,l=[],u=[],p=!1;function f(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then((function(e){return r.loading=!1,r.loaded=e,e})).catch((function(e){throw r.loading=!1,r.error=e,e})),r}var h=function(){function e(t,r){n(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return o(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"===typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),r.delay)),"number"===typeof r.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),r.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=i({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function d(e){return function(e,t){var r=function(){if(!l){var t=new h(e,o);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()},n=function(){r();var e=s.default.useContext(a.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach((function(t){e(t)}))},o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);o.suspense&&(o.lazy=s.default.lazy(o.loader));var l=null;if(!p){var f=o.webpack?o.webpack():o.modules;f&&u.push((function(e){var t=!0,n=!1,o=void 0;try{for(var i,s=f[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var a=i.value;if(-1!==e.indexOf(a))return r()}}catch(c){n=!0,o=c}finally{try{t||null==s.return||s.return()}finally{if(n)throw o}}}))}var d=o.suspense?function(e,t){return n(),s.default.createElement(o.lazy,i({},e,{ref:t}))}:function(e,t){n();var r=c(l.subscribe,l.getCurrentValue,l.getCurrentValue);return s.default.useImperativeHandle(t,(function(){return{retry:l.retry}}),[]),s.default.useMemo((function(){return r.loading||r.error?s.default.createElement(o.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:l.retry}):r.loaded?s.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null;var t}),[e,r])};return d.preload=function(){return r()},d.displayName="LoadableComponent",s.default.forwardRef(d)}(f,e)}function m(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then((function(){if(e.length)return m(e,t)}))}d.preloadAll=function(){return new Promise((function(e,t){m(l).then(e,t)}))},d.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return p=!0,t()};m(u,e).then(r,r)}))},window.__NEXT_PRELOADREADY=d.preloadReady;var g=d;t.default=g},69596:function(){},5152:function(e,t,r){e.exports=r(90638)},3689:function(e,t,r){"use strict";r.r(t),r.d(t,{decode:function(){return _},encode:function(){return v},toASCII:function(){return k},toUnicode:function(){return b},ucs2decode:function(){return h},ucs2encode:function(){return d}});const n=2147483647,o=36,i=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(c[e])}function f(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const o=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+o}function h(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,r){let n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;n+=o)e=l(e/35);return l(n+36*e/(e+38))},_=function(e){const t=[],r=e.length;let i=0,s=128,a=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let f=c>0?c+1:0;f=r&&p("invalid-input");const c=(u=e.charCodeAt(f++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:o;(c>=o||c>l((n-i)/t))&&p("overflow"),i+=c*t;const h=s<=a?1:s>=a+26?26:s-a;if(cl(n/d)&&p("overflow"),t*=d}const h=t.length+1;a=g(i-c,h,0==c),l(i/h)>n-s&&p("overflow"),s+=l(i/h),i%=h,t.splice(i++,0,s)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let r=(e=h(e)).length,i=128,s=0,a=72;for(const n of e)n<128&&t.push(u(n));let c=t.length,f=c;for(c&&t.push("-");f=i&&tl((n-s)/h)&&p("overflow"),s+=(r-i)*h,i=r;for(const d of e)if(dn&&p("overflow"),d==i){let e=s;for(let r=o;;r+=o){const n=r<=a?1:r>=a+26?26:r-a;if(ee.length)&&(t=e.length);for(var r=0,n=new Array(t);r","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9358-4680e4896298cbd2.js b/static/web/_next/static/chunks/9358-4680e4896298cbd2.js new file mode 100644 index 000000000..027eabc4e --- /dev/null +++ b/static/web/_next/static/chunks/9358-4680e4896298cbd2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9358],{25413:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},6594:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},77307:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},54067:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(45799))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},68229:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(7500))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},67638:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(86994))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},94149:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(1413),a=n(67294),o={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"},i=n(42135),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="LockOutlined";var c=a.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(1413),a=n(67294),o={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"},i=n(42135),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var c=a.forwardRef(l)},45799:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(25413)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="BarsOutlined";var s=i.forwardRef(u);t.default=s},7500:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(6594)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="LeftOutlined";var s=i.forwardRef(u);t.default=s},86994:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(77307)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="RightOutlined";var s=i.forwardRef(u);t.default=s},79216:function(e,t,n){n.d(t,{Z:function(){return le}});var r=n(87462),a=n(71002),o=n(99611),i=n(1413),l=n(4942),c=n(97685),u=n(45987),s=n(67294),f=n(94184),d=n.n(f),v=n(27678),m=n(21770),p=n(95173),g=n(64019),h=n(15105),w=n(80334),y=n(75164);function C(e,t,n,r){var a=t+n,o=(n-r)/2;if(n>r){if(t>0)return(0,l.Z)({},e,o);if(t<0&&ar)return(0,l.Z)({},e,t<0?o:-o);return{}}var x=["visible","onVisibleChange","getContainer","current","countRender"],Z=s.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),b=Z.Provider,E=function(e){var t=e.previewPrefixCls,n=void 0===t?"rc-image-preview":t,o=e.children,i=e.icons,l=void 0===i?{}:i,f=e.preview,d="object"===(0,a.Z)(f)?f:{},v=d.visible,p=void 0===v?void 0:v,g=d.onVisibleChange,h=void 0===g?void 0:g,w=d.getContainer,y=void 0===w?void 0:w,C=d.current,Z=void 0===C?0:C,E=d.countRender,N=void 0===E?void 0:E,P=(0,u.Z)(d,x),O=(0,s.useState)(new Map),k=(0,c.Z)(O,2),M=k[0],S=k[1],z=(0,s.useState)(),R=(0,c.Z)(z,2),j=R[0],L=R[1],H=(0,m.Z)(!!p,{value:p,onChange:h}),I=(0,c.Z)(H,2),V=I[0],B=I[1],T=(0,s.useState)(null),D=(0,c.Z)(T,2),F=D[0],W=D[1],Y=void 0!==p,A=Array.from(M.keys())[Z],X=new Map(Array.from(M).filter((function(e){return!!(0,c.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,c.Z)(e,2);return[t[0],t[1].url]})));return s.useEffect((function(){L(A)}),[A]),s.useEffect((function(){!V&&Y&&L(A)}),[A,Y,V]),s.createElement(b,{value:{isPreviewGroup:!0,previewUrls:X,setPreviewUrls:S,current:j,setCurrent:L,setShowPreview:B,setMousePosition:W,registerImage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=function(){S((function(t){var n=new Map(t);return n.delete(e)?n:t}))};return S((function(r){return new Map(r).set(e,{url:t,canPreview:n})})),r}}},o,s.createElement(_,(0,r.Z)({"aria-hidden":!V,visible:V,prefixCls:n,onClose:function(e){e.stopPropagation(),B(!1),W(null)},mousePosition:F,src:X.get(j),icons:l,getContainer:y,countRender:N},P)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],P=s.useState,O=s.useEffect,k=s.useCallback,M=s.useRef,S=s.useContext,z={x:0,y:0},_=function(e){var t,n=e.prefixCls,a=e.src,o=e.alt,f=e.onClose,m=(e.afterClose,e.visible),x=e.icons,b=void 0===x?{}:x,E=e.rootClassName,_=e.countRender,R=(0,u.Z)(e,N),j=b.rotateLeft,L=b.rotateRight,H=b.zoomIn,I=b.zoomOut,V=b.close,B=b.left,T=b.right,D=P(1),F=(0,c.Z)(D,2),W=F[0],Y=F[1],A=P(0),X=(0,c.Z)(A,2),G=X[0],U=X[1],K=function(e){var t=s.useRef(null),n=s.useState(e),r=(0,c.Z)(n,2),a=r[0],o=r[1],l=s.useRef([]);return s.useEffect((function(){return function(){return t.current&&y.Z.cancel(t.current)}}),[]),[a,function(e){null===t.current&&(l.current=[],t.current=(0,y.Z)((function(){o((function(e){var n=e;return l.current.forEach((function(e){n=(0,i.Z)((0,i.Z)({},n),e)})),t.current=null,n}))}))),l.current.push(e)}]}(z),q=(0,c.Z)(K,2),J=q[0],Q=q[1],$=M(),ee=M({originX:0,originY:0,deltaX:0,deltaY:0}),te=P(!1),ne=(0,c.Z)(te,2),re=ne[0],ae=ne[1],oe=S(Z),ie=oe.previewUrls,le=oe.current,ce=oe.isPreviewGroup,ue=oe.setCurrent,se=ie.size,fe=Array.from(ie.keys()),de=fe.indexOf(le),ve=ce?ie.get(le):a,me=ce&&se>1,pe=P({wheelDirection:0}),ge=(0,c.Z)(pe,2),he=ge[0],we=ge[1],ye=function(){Y((function(e){return e+1})),Q(z)},Ce=function(){W>1&&Y((function(e){return e-1})),Q(z)},xe=d()((0,l.Z)({},"".concat(n,"-moving"),re)),Ze="".concat(n,"-operations-operation"),be="".concat(n,"-operations-icon"),Ee=[{icon:V,onClick:f,type:"close"},{icon:H,onClick:ye,type:"zoomIn"},{icon:I,onClick:Ce,type:"zoomOut",disabled:1===W},{icon:L,onClick:function(){U((function(e){return e+90}))},type:"rotateRight"},{icon:j,onClick:function(){U((function(e){return e-90}))},type:"rotateLeft"}],Ne=function(){if(m&&re){var e=$.current.offsetWidth*W,t=$.current.offsetHeight*W,n=$.current.getBoundingClientRect(),r=n.left,a=n.top,o=G%180!==0;ae(!1);var l=function(e,t,n,r){var a=(0,v.g1)(),o=a.width,l=a.height,c=null;return e<=o&&t<=l?c={x:0,y:0}:(e>o||t>l)&&(c=(0,i.Z)((0,i.Z)({},C("x",n,e,o)),C("y",r,t,l))),c}(o?t:e,o?e:t,r,a);l&&Q((0,i.Z)({},l))}},Pe=function(e){m&&re&&Q({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},Oe=function(e){if(m){e.preventDefault();var t=e.deltaY;we({wheelDirection:t})}},ke=k((function(e){m&&me&&(e.preventDefault(),e.keyCode===h.Z.LEFT?de>0&&ue(fe[de-1]):e.keyCode===h.Z.RIGHT&&de0?Ce():e<0&&ye()}),[he]),O((function(){var e,t,n=(0,g.Z)(window,"mouseup",Ne,!1),r=(0,g.Z)(window,"mousemove",Pe,!1),a=(0,g.Z)(window,"wheel",Oe,{passive:!1}),o=(0,g.Z)(window,"keydown",ke,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",Ne,!1),t=(0,g.Z)(window.top,"mousemove",Pe,!1))}catch(i){(0,w.Kp)(!1,"[rc-image] ".concat(i))}return function(){n.remove(),r.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[m,re,ke]),s.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:n,onClose:f,afterClose:function(){Y(1),U(0),Q(z)},visible:m,wrapClassName:xe,rootClassName:E},R),s.createElement("ul",{className:"".concat(n,"-operations")},me&&s.createElement("li",{className:"".concat(n,"-operations-progress")},null!==(t=null===_||void 0===_?void 0:_(de+1,se))&&void 0!==t?t:"".concat(de+1," / ").concat(se)),Ee.map((function(e){var t=e.icon,r=e.onClick,a=e.type,o=e.disabled;return s.createElement("li",{className:d()(Ze,(0,l.Z)({},"".concat(n,"-operations-operation-disabled"),!!o)),onClick:r,key:a},s.isValidElement(t)?s.cloneElement(t,{className:be}):t)}))),s.createElement("div",{className:"".concat(n,"-img-wrapper"),style:{transform:"translate3d(".concat(J.x,"px, ").concat(J.y,"px, 0)")}},s.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-J.x,ee.current.deltaY=e.pageY-J.y,ee.current.originX=J.x,ee.current.originY=J.y,ae(!0))},onDoubleClick:function(){m&&(1!==W&&Y(1),J.x===z.x&&J.y===z.y||Q(z))},ref:$,className:"".concat(n,"-img"),src:ve,alt:o,style:{transform:"scale3d(".concat(W,", ").concat(W,", 1) rotate(").concat(G,"deg)")}})),me&&s.createElement("div",{className:d()("".concat(n,"-switch-left"),(0,l.Z)({},"".concat(n,"-switch-left-disabled"),0===de)),onClick:function(e){e.preventDefault(),e.stopPropagation(),de>0&&ue(fe[de-1])}},B),me&&s.createElement("div",{className:d()("".concat(n,"-switch-right"),(0,l.Z)({},"".concat(n,"-switch-right-disabled"),de===se-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),de0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var x=v.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,a=e.trigger,x=e.children,Z=e.defaultCollapsed,b=void 0!==Z&&Z,E=e.theme,N=void 0===E?"dark":E,P=e.style,O=void 0===P?{}:P,k=e.collapsible,M=void 0!==k&&k,S=e.reverseArrow,z=void 0!==S&&S,_=e.width,R=void 0===_?200:_,j=e.collapsedWidth,L=void 0===j?80:j,H=e.zeroWidthTriggerStyle,I=e.breakpoint,V=e.onCollapse,B=e.onBreakpoint,T=h(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),D=(0,v.useContext)(g.LayoutContext).siderHook,F=(0,v.useState)("collapsed"in T?T.collapsed:b),W=(0,l.default)(F,2),Y=W[0],A=W[1],X=(0,v.useState)(!1),G=(0,l.default)(X,2),U=G[0],K=G[1];(0,v.useEffect)((function(){"collapsed"in T&&A(T.collapsed)}),[T.collapsed]);var q=function(e,t){"collapsed"in T||A(e),null===V||void 0===V||V(e,t)},J=(0,v.useRef)();J.current=function(e){K(e.matches),null===B||void 0===B||B(e.matches),Y!==e.matches&&q(e.matches,"responsive")},(0,v.useEffect)((function(){function e(e){return J.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&I&&I in w){t=n("(max-width: ".concat(w[I],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,v.useEffect)((function(){var e=C("ant-sider-");return D.addSider(e),function(){return D.removeSider(e)}}),[]);var Q=function(){q(!Y,"clickTrigger")},$=(0,v.useContext)(m.ConfigContext).getPrefixCls,ee=v.useMemo((function(){return{siderCollapsed:Y}}),[Y]);return v.createElement(y.Provider,{value:ee},function(){var e,l=$("layout-sider",n),m=(0,d.default)(T,["collapsed"]),g=Y?L:R,h=(0,p.default)(g)?"".concat(g,"px"):String(g),w=0===parseFloat(String(L||0))?v.createElement("span",{onClick:Q,className:(0,f.default)("".concat(l,"-zero-width-trigger"),"".concat(l,"-zero-width-trigger-").concat(z?"right":"left")),style:H},a||v.createElement(c.default,null)):null,y={expanded:z?v.createElement(s.default,null):v.createElement(u.default,null),collapsed:z?v.createElement(u.default,null):v.createElement(s.default,null)}[Y?"collapsed":"expanded"],C=null!==a?w||v.createElement("div",{className:"".concat(l,"-trigger"),onClick:Q,style:{width:h}},a||y):null,Z=(0,i.default)((0,i.default)({},O),{flex:"0 0 ".concat(h),maxWidth:h,minWidth:h,width:h}),b=(0,f.default)(l,"".concat(l,"-").concat(N),(e={},(0,o.default)(e,"".concat(l,"-collapsed"),!!Y),(0,o.default)(e,"".concat(l,"-has-trigger"),M&&null!==a&&!w),(0,o.default)(e,"".concat(l,"-below"),!!U),(0,o.default)(e,"".concat(l,"-zero-width"),0===parseFloat(h)),e),r);return v.createElement("aside",(0,i.default)({className:b},m,{style:Z,ref:t}),v.createElement("div",{className:"".concat(l,"-children")},x),M||U&&w?C:null)}())}));t.ZP=x},62704:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var o=a(n(861)),i=a(n(38416)),l=a(n(27424)),c=a(n(10434)),u=a(n(94184)),s=r(n(67294)),f=n(31929),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0),(0,i.default)(n,"".concat(h,"-rtl"),"rtl"===r),n),w),E=s.useMemo((function(){return{siderHook:{addSider:function(e){g((function(t){return[].concat((0,o.default)(t),[e])}))},removeSider:function(e){g((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return s.createElement(v.Provider,{value:E},s.createElement(x,(0,c.default)({ref:t,className:b},Z),y))})),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),w=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p);t.Header=w;var y=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p);t.Footer=y;var C=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.Content=C;var x=h;t.default=x},27678:function(e,t,n){n.d(t,{g1:function(){return r},os:function(){return a}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function a(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}},82670:function(e,t,n){function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9358-6c31827aa73f405a.js b/static/web/_next/static/chunks/9358-6c31827aa73f405a.js deleted file mode 100644 index 88ac5c7aa..000000000 --- a/static/web/_next/static/chunks/9358-6c31827aa73f405a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9358],{25413:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},6594:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},77307:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={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"}},54067:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(45799))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},68229:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(7500))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},67638:function(e,t,n){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(86994))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},94149:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(1413),a=n(67294),o={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"},i=n(42135),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="LockOutlined";var c=a.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(1413),a=n(67294),o={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"},i=n(42135),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var c=a.forwardRef(l)},45799:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(25413)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="BarsOutlined";var s=i.forwardRef(u);t.default=s},7500:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(6594)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="LeftOutlined";var s=i.forwardRef(u);t.default=s},86994:function(e,t,n){var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),l=a(n(77307)),c=a(n(92074)),u=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};u.displayName="RightOutlined";var s=i.forwardRef(u);t.default=s},79216:function(e,t,n){n.d(t,{Z:function(){return le}});var r=n(87462),a=n(71002),o=n(99611),i=n(1413),l=n(4942),c=n(97685),u=n(91),s=n(67294),f=n(94184),d=n.n(f),v=n(27678),m=n(21770),p=n(95173),g=n(64019),h=n(15105),w=n(80334),y=n(75164);function C(e,t,n,r){var a=t+n,o=(n-r)/2;if(n>r){if(t>0)return(0,l.Z)({},e,o);if(t<0&&ar)return(0,l.Z)({},e,t<0?o:-o);return{}}var x=["visible","onVisibleChange","getContainer","current","countRender"],Z=s.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),b=Z.Provider,E=function(e){var t=e.previewPrefixCls,n=void 0===t?"rc-image-preview":t,o=e.children,i=e.icons,l=void 0===i?{}:i,f=e.preview,d="object"===(0,a.Z)(f)?f:{},v=d.visible,p=void 0===v?void 0:v,g=d.onVisibleChange,h=void 0===g?void 0:g,w=d.getContainer,y=void 0===w?void 0:w,C=d.current,Z=void 0===C?0:C,E=d.countRender,N=void 0===E?void 0:E,P=(0,u.Z)(d,x),O=(0,s.useState)(new Map),k=(0,c.Z)(O,2),M=k[0],S=k[1],z=(0,s.useState)(),R=(0,c.Z)(z,2),j=R[0],L=R[1],H=(0,m.Z)(!!p,{value:p,onChange:h}),I=(0,c.Z)(H,2),V=I[0],B=I[1],T=(0,s.useState)(null),D=(0,c.Z)(T,2),F=D[0],W=D[1],Y=void 0!==p,A=Array.from(M.keys())[Z],X=new Map(Array.from(M).filter((function(e){return!!(0,c.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,c.Z)(e,2);return[t[0],t[1].url]})));return s.useEffect((function(){L(A)}),[A]),s.useEffect((function(){!V&&Y&&L(A)}),[A,Y,V]),s.createElement(b,{value:{isPreviewGroup:!0,previewUrls:X,setPreviewUrls:S,current:j,setCurrent:L,setShowPreview:B,setMousePosition:W,registerImage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=function(){S((function(t){var n=new Map(t);return n.delete(e)?n:t}))};return S((function(r){return new Map(r).set(e,{url:t,canPreview:n})})),r}}},o,s.createElement(_,(0,r.Z)({"aria-hidden":!V,visible:V,prefixCls:n,onClose:function(e){e.stopPropagation(),B(!1),W(null)},mousePosition:F,src:X.get(j),icons:l,getContainer:y,countRender:N},P)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],P=s.useState,O=s.useEffect,k=s.useCallback,M=s.useRef,S=s.useContext,z={x:0,y:0},_=function(e){var t,n=e.prefixCls,a=e.src,o=e.alt,f=e.onClose,m=(e.afterClose,e.visible),x=e.icons,b=void 0===x?{}:x,E=e.rootClassName,_=e.countRender,R=(0,u.Z)(e,N),j=b.rotateLeft,L=b.rotateRight,H=b.zoomIn,I=b.zoomOut,V=b.close,B=b.left,T=b.right,D=P(1),F=(0,c.Z)(D,2),W=F[0],Y=F[1],A=P(0),X=(0,c.Z)(A,2),G=X[0],U=X[1],K=function(e){var t=s.useRef(null),n=s.useState(e),r=(0,c.Z)(n,2),a=r[0],o=r[1],l=s.useRef([]);return s.useEffect((function(){return function(){return t.current&&y.Z.cancel(t.current)}}),[]),[a,function(e){null===t.current&&(l.current=[],t.current=(0,y.Z)((function(){o((function(e){var n=e;return l.current.forEach((function(e){n=(0,i.Z)((0,i.Z)({},n),e)})),t.current=null,n}))}))),l.current.push(e)}]}(z),q=(0,c.Z)(K,2),J=q[0],Q=q[1],$=M(),ee=M({originX:0,originY:0,deltaX:0,deltaY:0}),te=P(!1),ne=(0,c.Z)(te,2),re=ne[0],ae=ne[1],oe=S(Z),ie=oe.previewUrls,le=oe.current,ce=oe.isPreviewGroup,ue=oe.setCurrent,se=ie.size,fe=Array.from(ie.keys()),de=fe.indexOf(le),ve=ce?ie.get(le):a,me=ce&&se>1,pe=P({wheelDirection:0}),ge=(0,c.Z)(pe,2),he=ge[0],we=ge[1],ye=function(){Y((function(e){return e+1})),Q(z)},Ce=function(){W>1&&Y((function(e){return e-1})),Q(z)},xe=d()((0,l.Z)({},"".concat(n,"-moving"),re)),Ze="".concat(n,"-operations-operation"),be="".concat(n,"-operations-icon"),Ee=[{icon:V,onClick:f,type:"close"},{icon:H,onClick:ye,type:"zoomIn"},{icon:I,onClick:Ce,type:"zoomOut",disabled:1===W},{icon:L,onClick:function(){U((function(e){return e+90}))},type:"rotateRight"},{icon:j,onClick:function(){U((function(e){return e-90}))},type:"rotateLeft"}],Ne=function(){if(m&&re){var e=$.current.offsetWidth*W,t=$.current.offsetHeight*W,n=$.current.getBoundingClientRect(),r=n.left,a=n.top,o=G%180!==0;ae(!1);var l=function(e,t,n,r){var a=(0,v.g1)(),o=a.width,l=a.height,c=null;return e<=o&&t<=l?c={x:0,y:0}:(e>o||t>l)&&(c=(0,i.Z)((0,i.Z)({},C("x",n,e,o)),C("y",r,t,l))),c}(o?t:e,o?e:t,r,a);l&&Q((0,i.Z)({},l))}},Pe=function(e){m&&re&&Q({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},Oe=function(e){if(m){e.preventDefault();var t=e.deltaY;we({wheelDirection:t})}},ke=k((function(e){m&&me&&(e.preventDefault(),e.keyCode===h.Z.LEFT?de>0&&ue(fe[de-1]):e.keyCode===h.Z.RIGHT&&de0?Ce():e<0&&ye()}),[he]),O((function(){var e,t,n=(0,g.Z)(window,"mouseup",Ne,!1),r=(0,g.Z)(window,"mousemove",Pe,!1),a=(0,g.Z)(window,"wheel",Oe,{passive:!1}),o=(0,g.Z)(window,"keydown",ke,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",Ne,!1),t=(0,g.Z)(window.top,"mousemove",Pe,!1))}catch(i){(0,w.Kp)(!1,"[rc-image] ".concat(i))}return function(){n.remove(),r.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[m,re,ke]),s.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:n,onClose:f,afterClose:function(){Y(1),U(0),Q(z)},visible:m,wrapClassName:xe,rootClassName:E},R),s.createElement("ul",{className:"".concat(n,"-operations")},me&&s.createElement("li",{className:"".concat(n,"-operations-progress")},null!==(t=null===_||void 0===_?void 0:_(de+1,se))&&void 0!==t?t:"".concat(de+1," / ").concat(se)),Ee.map((function(e){var t=e.icon,r=e.onClick,a=e.type,o=e.disabled;return s.createElement("li",{className:d()(Ze,(0,l.Z)({},"".concat(n,"-operations-operation-disabled"),!!o)),onClick:r,key:a},s.isValidElement(t)?s.cloneElement(t,{className:be}):t)}))),s.createElement("div",{className:"".concat(n,"-img-wrapper"),style:{transform:"translate3d(".concat(J.x,"px, ").concat(J.y,"px, 0)")}},s.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-J.x,ee.current.deltaY=e.pageY-J.y,ee.current.originX=J.x,ee.current.originY=J.y,ae(!0))},onDoubleClick:function(){m&&(1!==W&&Y(1),J.x===z.x&&J.y===z.y||Q(z))},ref:$,className:"".concat(n,"-img"),src:ve,alt:o,style:{transform:"scale3d(".concat(W,", ").concat(W,", 1) rotate(").concat(G,"deg)")}})),me&&s.createElement("div",{className:d()("".concat(n,"-switch-left"),(0,l.Z)({},"".concat(n,"-switch-left-disabled"),0===de)),onClick:function(e){e.preventDefault(),e.stopPropagation(),de>0&&ue(fe[de-1])}},B),me&&s.createElement("div",{className:d()("".concat(n,"-switch-right"),(0,l.Z)({},"".concat(n,"-switch-right-disabled"),de===se-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),de0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var x=v.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,a=e.trigger,x=e.children,Z=e.defaultCollapsed,b=void 0!==Z&&Z,E=e.theme,N=void 0===E?"dark":E,P=e.style,O=void 0===P?{}:P,k=e.collapsible,M=void 0!==k&&k,S=e.reverseArrow,z=void 0!==S&&S,_=e.width,R=void 0===_?200:_,j=e.collapsedWidth,L=void 0===j?80:j,H=e.zeroWidthTriggerStyle,I=e.breakpoint,V=e.onCollapse,B=e.onBreakpoint,T=h(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),D=(0,v.useContext)(g.LayoutContext).siderHook,F=(0,v.useState)("collapsed"in T?T.collapsed:b),W=(0,l.default)(F,2),Y=W[0],A=W[1],X=(0,v.useState)(!1),G=(0,l.default)(X,2),U=G[0],K=G[1];(0,v.useEffect)((function(){"collapsed"in T&&A(T.collapsed)}),[T.collapsed]);var q=function(e,t){"collapsed"in T||A(e),null===V||void 0===V||V(e,t)},J=(0,v.useRef)();J.current=function(e){K(e.matches),null===B||void 0===B||B(e.matches),Y!==e.matches&&q(e.matches,"responsive")},(0,v.useEffect)((function(){function e(e){return J.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&I&&I in w){t=n("(max-width: ".concat(w[I],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,v.useEffect)((function(){var e=C("ant-sider-");return D.addSider(e),function(){return D.removeSider(e)}}),[]);var Q=function(){q(!Y,"clickTrigger")},$=(0,v.useContext)(m.ConfigContext).getPrefixCls,ee=v.useMemo((function(){return{siderCollapsed:Y}}),[Y]);return v.createElement(y.Provider,{value:ee},function(){var e,l=$("layout-sider",n),m=(0,d.default)(T,["collapsed"]),g=Y?L:R,h=(0,p.default)(g)?"".concat(g,"px"):String(g),w=0===parseFloat(String(L||0))?v.createElement("span",{onClick:Q,className:(0,f.default)("".concat(l,"-zero-width-trigger"),"".concat(l,"-zero-width-trigger-").concat(z?"right":"left")),style:H},a||v.createElement(c.default,null)):null,y={expanded:z?v.createElement(s.default,null):v.createElement(u.default,null),collapsed:z?v.createElement(u.default,null):v.createElement(s.default,null)}[Y?"collapsed":"expanded"],C=null!==a?w||v.createElement("div",{className:"".concat(l,"-trigger"),onClick:Q,style:{width:h}},a||y):null,Z=(0,i.default)((0,i.default)({},O),{flex:"0 0 ".concat(h),maxWidth:h,minWidth:h,width:h}),b=(0,f.default)(l,"".concat(l,"-").concat(N),(e={},(0,o.default)(e,"".concat(l,"-collapsed"),!!Y),(0,o.default)(e,"".concat(l,"-has-trigger"),M&&null!==a&&!w),(0,o.default)(e,"".concat(l,"-below"),!!U),(0,o.default)(e,"".concat(l,"-zero-width"),0===parseFloat(h)),e),r);return v.createElement("aside",(0,i.default)({className:b},m,{style:Z,ref:t}),v.createElement("div",{className:"".concat(l,"-children")},x),M||U&&w?C:null)}())}));t.ZP=x},62704:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var o=a(n(861)),i=a(n(38416)),l=a(n(27424)),c=a(n(10434)),u=a(n(94184)),s=r(n(67294)),f=n(31929),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0),(0,i.default)(n,"".concat(h,"-rtl"),"rtl"===r),n),w),E=s.useMemo((function(){return{siderHook:{addSider:function(e){g((function(t){return[].concat((0,o.default)(t),[e])}))},removeSider:function(e){g((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return s.createElement(v.Provider,{value:E},s.createElement(x,(0,c.default)({ref:t,className:b},Z),y))})),h=m({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),w=m({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p);t.Header=w;var y=m({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p);t.Footer=y;var C=m({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.Content=C;var x=h;t.default=x},27678:function(e,t,n){n.d(t,{g1:function(){return r},os:function(){return a}});function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function a(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}},82670:function(e,t,n){function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/pages/_app-4e145ddb6ab3ef3a.js b/static/web/_next/static/chunks/pages/_app-4e145ddb6ab3ef3a.js new file mode 100644 index 000000000..332a25bcb --- /dev/null +++ b/static/web/_next/static/chunks/pages/_app-4e145ddb6ab3ef3a.js @@ -0,0 +1 @@ +(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 Z},cyan:function(){return C},geekblue:function(){return S},generate:function(){return d},gold:function(){return y},green:function(){return E},grey:function(){return _},lime:function(){return x},magenta:function(){return N},orange:function(){return b},presetDarkPalettes:function(){return v},presetPalettes:function(){return h},presetPrimaryColors:function(){return p},purple:function(){return k},red:function(){return m},volcano:function(){return g},yellow:function(){return w}});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 c(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function s(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function u(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?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 l(e,t,n){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)));var r}function f(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function d(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),d=5;d>0;d-=1){var p=a(r),h=c((0,o.uA)({h:u(p,d,!0),s:l(p,d,!0),v:f(p,d,!0)}));n.push(h)}n.push(c(r));for(var v=1;v<=4;v+=1){var m=a(r),g=c((0,o.uA)({h:u(m,v),s:l(m,v),v:f(m,v)}));n.push(g)}return"dark"===t.theme?i.map((function(e){var r=e.index,i=e.opacity;return c(s((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))})):n}var p={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"},h={},v={};Object.keys(p).forEach((function(e){h[e]=d(p[e]),h[e].primary=h[e][5],v[e]=d(p[e],{theme:"dark",backgroundColor:"#141414"}),v[e].primary=v[e][5]}));var m=h.red,g=h.volcano,y=h.gold,b=h.orange,w=h.yellow,x=h.lime,E=h.green,C=h.cyan,Z=h.blue,S=h.geekblue,k=h.purple,N=h.magenta,_=h.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(1413),o=n(97685),i=n(4942),a=n(45987),c=n(67294),s=n(94184),u=n.n(s),l=n(63017),f=n(71002),d=n(92138),p=n(80334),h=n(44958);function v(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 m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}function g(e,t,n){return n?c.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},m(e.attrs)),n),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,r.Z)({key:t},m(e.attrs)),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function y(e){return(0,d.generate)(e)[0]}function b(e){return e?Array.isArray(e)?e:[e]:[]}var w="\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",x=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var C=function(e){var t,n,o=e.icon,i=e.className,s=e.onClick,u=e.style,f=e.primaryColor,d=e.secondaryColor,m=(0,a.Z)(e,x),b=E;if(f&&(b={primaryColor:f,secondaryColor:d||y(f)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=(0,c.useContext)(l.Z).csp;(0,c.useEffect)((function(){(0,h.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),t=v(o),n="icon should be icon definiton, but got ".concat(o),(0,p.ZP)(t,"[@ant-design/icons] ".concat(n)),!v(o))return null;var C=o;return C&&"function"===typeof C.icon&&(C=(0,r.Z)((0,r.Z)({},C),{},{icon:C.icon(b.primaryColor,b.secondaryColor)})),g(C.icon,"svg-".concat(C.name),(0,r.Z)({className:i,onClick:s,style:u,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},m))};C.displayName="IconReact",C.getTwoToneColors=function(){return(0,r.Z)({},E)},C.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;E.primaryColor=t,E.secondaryColor=n||y(t),E.calculated=!!n};var Z=C;function S(e){var t=b(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return Z.setTwoToneColors({primaryColor:r,secondaryColor:i})}var k=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];S("#1890ff");var N=c.forwardRef((function(e,t){var n,s=e.className,f=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,v=e.onClick,m=e.twoToneColor,g=(0,a.Z)(e,k),y=c.useContext(l.Z).prefixCls,w=void 0===y?"anticon":y,x=u()(w,(n={},(0,i.Z)(n,"".concat(w,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(w,"-spin"),!!d||"loading"===f.name),n),s),E=h;void 0===E&&v&&(E=-1);var C=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,S=b(m),N=(0,o.Z)(S,2),_=N[0],T=N[1];return c.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:E,onClick:v,className:x}),c.createElement(Z,{icon:f,primaryColor:_,secondaryColor:T,style:C}))}));N.displayName="AntdIcon",N.getTwoToneColor=function(){var e=Z.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},N.setTwoToneColor=S;var _=N},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 s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleFilled";var s=o.forwardRef(c)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleOutlined";var s=o.forwardRef(c)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckOutlined";var s=o.forwardRef(c)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleFilled";var s=o.forwardRef(c)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleOutlined";var s=o.forwardRef(c)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseOutlined";var s=o.forwardRef(c)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CopyOutlined";var s=o.forwardRef(c)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="DownOutlined";var s=o.forwardRef(c)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EditOutlined";var s=o.forwardRef(c)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EllipsisOutlined";var s=o.forwardRef(c)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleFilled";var s=o.forwardRef(c)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleOutlined";var s=o.forwardRef(c)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeInvisibleOutlined";var s=o.forwardRef(c)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeOutlined";var s=o.forwardRef(c)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleFilled";var s=o.forwardRef(c)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleOutlined";var s=o.forwardRef(c)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LeftOutlined";var s=o.forwardRef(c)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LoadingOutlined";var s=o.forwardRef(c)},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="MessageOutlined";var s=o.forwardRef(c)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="RightOutlined";var s=o.forwardRef(c)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="SearchOutlined";var s=o.forwardRef(c)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});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),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="WarningOutlined";var s=o.forwardRef(c)},86500:function(e,t,n){"use strict";n.d(t,{GC:function(){return d},T6:function(){return h},VD:function(){return v},WE:function(){return u},Wl:function(){return p},Yt:function(){return m},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return c},vq:function(){return l}});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){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,s=(o+i)/2;if(o===i)c=0,a=0;else{var u=o-i;switch(c=s>.5?u/(2-o-i):u/(o+i),o){case e:a=(t-n)/u+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,c=n,o=n;else{var s=n<.5?n*(1+t):n+t-n*t,u=2*n-s;o=a(u,s,e+1/3),i=a(u,s,e),c=a(u,s,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function s(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,s=o-i,u=0===o?0:s/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/s+(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,c=null,s=!1,u=!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),s=!0,u="%"===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),s=!0,u="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),c=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,c),s=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:s,format:e.format||u,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 c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),l={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+s),rgba:new RegExp("rgba"+u),hsl:new RegExp("hsl"+s),hsla:new RegExp("hsla"+u),hsv:new RegExp("hsv"+s),hsva:new RegExp("hsva"+u),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=l.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=l.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=l.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=l.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=l.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=l.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=l.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=l.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=l.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=l.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(l.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return c},H:function(){return s}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),c=function(){function e(t,n){var o;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 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 this.getBrightness()<128},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.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?("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()):"name"===e&&0===this.a?this.toName():this.toRgbString()},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(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),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;return new e({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})},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=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%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;a1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return c},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(30470),a=n(67294),c=n(71577),s=n(6134);function u(e){return!(!e||!e.then)}t.Z=function(e){var t=a.useRef(!1),n=a.useRef(),l=(0,i.Z)(!1),f=(0,o.Z)(l,2),d=f[0],p=f[1],h=e.close,v=function(){null===h||void 0===h||h.apply(void 0,arguments)};a.useEffect((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var m=e.type,g=e.children,y=e.prefixCls,b=e.buttonProps;return a.createElement(c.Z,(0,r.Z)({},(0,s.n)(m),{onClick:function(n){var r=e.actionFn;if(!t.current)if(t.current=!0,r){var o;if(e.emitEvent){if(o=r(n),e.quitOnNullishReturnValue&&!u(o))return t.current=!1,void v(n)}else if(r.length)o=r(h),t.current=!1;else if(!(o=r()))return void v();!function(e){u(e)&&(p(!0),e.then((function(){p(!1,!0),v.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),p(!1,!0),t.current=!1})))}(o)}else v()},loading:d,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 s},q0:function(){return c}});var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:i,onEnterEnd:i,onLeaveEnd:i,motionDeadline:500},c=((0,n(93355).b)("bottomLeft","bottomRight","topLeft","topRight"),function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"}),s=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.ZP=a},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(87462),o=n(43159),i={adjustX:1,adjustY:1},a={adjustX:0,adjustY:0},c=[0,0];function s(e){return"boolean"===typeof e?e?i:a:(0,r.Z)((0,r.Z)({},a),e)}function u(e){var t=e.arrowWidth,n=void 0===t?4:t,i=e.horizontalArrowShift,a=void 0===i?16:i,u=e.verticalArrowShift,l=void 0===u?8:u,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,-(l+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(l+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,l+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,l+n]}};return Object.keys(p).forEach((function(e){p[e]=d?(0,r.Z)((0,r.Z)({},p[e]),{overflow:s(f),targetOffset:c}):(0,r.Z)((0,r.Z)({},o.C[e]),{overflow:s(f)}),p[e].ignoreShake=!0})),p}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return i},Tm:function(){return c},l$:function(){return o},wm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e){return 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 c(e,t){return a(e,e,t)}},9708:function(e,t,n){"use strict";n.d(t,{F:function(){return c},Z:function(){return a}});var r=n(4942),o=n(94184),i=n.n(o);(0,n(93355).b)("warning","error","");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))}var c=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=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=h++,r=t;function o(){(r-=1)<=0?(e(),delete v[n]):v[n]=(0,p.Z)(o)}return v[n]=(0,p.Z)(o),n}m.cancel=function(e){void 0!==e&&(p.Z.cancel(v[e]),delete v[e])},m.ids=v;var g,y=n(96159);function b(e){return!e||null===e.offsetParent||e.hidden}function w(e){return e instanceof Document?e.body:Array.from(e.childNodes).find((function(e){return(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE}))}function x(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var E=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,o.Z)(this,n),(e=t.apply(this,arguments)).containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,i=e.props,c=i.insertExtraNode;if(!(i.disabled||!t||b(t)||t.className.indexOf("-leave")>=0)){e.extraNode=document.createElement("div");var s=(0,a.Z)(e).extraNode,l=e.context.getPrefixCls;s.className="".concat(l(""),"-click-animating-node");var f=e.getAttributeName();if(t.setAttribute(f,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&x(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){s.style.borderColor=n;var d=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,p=null!==(o=w(d))&&void 0!==o?o:d;g=(0,u.hq)("\n [".concat(l(""),"-click-animating-without-extra-node='true']::after, .").concat(l(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:p})}c&&t.appendChild(s),["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.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!b(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),m.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=m((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,l.Yr)(r)&&(o=(0,l.sQ)(r.ref,e.containerRef)),(0,y.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,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-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,r=this.getAttributeName();e.setAttribute(r,"false"),g&&(g.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);E.contextType=d.E_;var C=(0,f.forwardRef)((function(e,t){return f.createElement(E,(0,r.Z)({ref:t},e))}))},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(87462),o=n(97685),i=n(4942),a=n(89739),c=n(8751),s=n(4340),u=n(18429),l=n(97937),f=n(21640),d=n(11475),p=n(78860),h=n(45605),v=n(94184),m=n.n(v),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)).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,c=a&&a.componentStack?a.componentStack:null,s="undefined"===typeof t?(i||"").toString():t,u="undefined"===typeof n?c:n;return i?y.createElement(A,{type:"error",message:s,description:y.createElement("pre",null,u)}):r}}]),n}(y.Component),N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:L,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F;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}function U(e,t){var n=e.placement,r=void 0===n?V:n,o=e.top,i=e.bottom,a=e.getContainer,c=void 0===a?P:a,s=e.prefixCls,u=ae(),l=u.getPrefixCls,f=u.getIconPrefixCls,d=l("notification",s||I),p=f(),h="".concat(d,"-").concat(r),v=M[h];if(v)Promise.resolve(v).then((function(e){t({prefixCls:"".concat(d,"-notice"),iconPrefixCls:p,instance:e})}));else{var m=k()("".concat(d,"-").concat(r),(0,b.Z)({},"".concat(d,"-rtl"),!0===D));M[h]=new Promise((function(e){N.default.newInstance({prefixCls:d,className:m,style:z(r,o,i),getContainer:c,maxCount:A},(function(n){e(n),t({prefixCls:"".concat(d,"-notice"),iconPrefixCls:p,instance:n})}))}))}}var B={success:w.Z,info:Z.Z,error:x.Z,warning:C.Z};function H(e,t,n){var r=e.duration,o=e.icon,i=e.type,a=e.description,s=e.message,u=e.btn,l=e.onClose,f=e.onClick,d=e.key,p=e.style,h=e.className,v=e.closeIcon,m=void 0===v?R:v,g=void 0===r?j:r,y=null;o?y=c.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(y=c.createElement(B[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var w=c.createElement("span",{className:"".concat(t,"-close-x")},m||c.createElement(E.Z,{className:"".concat(t,"-close-icon")})),x=!a&&y?c.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:c.createElement(ue,{iconPrefixCls:n},c.createElement("div",{className:y?"".concat(t,"-with-icon"):"",role:"alert"},y,c.createElement("div",{className:"".concat(t,"-message")},x,s),c.createElement("div",{className:"".concat(t,"-description")},a),u?c.createElement("span",{className:"".concat(t,"-btn")},u):null)),duration:g,closable:!0,closeIcon:w,onClose:l,onClick:f,key:d,style:p||{},className:k()(h,(0,b.Z)({},"".concat(t,"-").concat(i),!!i))}}var W={open:function(e){U(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(H(e,n,r))}))},close:function(e){Object.keys(M).forEach((function(t){return Promise.resolve(M[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,c=e.prefixCls;void 0!==c&&(I=c),void 0!==t&&(j=t),void 0!==n?V=n:e.rtl&&(V="topLeft"),void 0!==r&&(F=r),void 0!==o&&(L=o),void 0!==i&&(P=i),void 0!==a&&(R=a),void 0!==e.rtl&&(D=e.rtl),void 0!==e.maxCount&&(A=e.maxCount)},destroy:function(){Object.keys(M).forEach((function(e){Promise.resolve(M[e]).then((function(e){e.destroy()})),delete M[e]}))}};["success","info","warning","error"].forEach((function(e){W[e]=function(t){return W.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),W.warn=W.warning,W.useNotification=function(e,t){return function(){var n,o=null,i={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},a=(0,T.Z)(i),s=(0,_.Z)(a,2),u=s[0],l=s[1];var f=c.useRef({});return f.current.open=function(i){var a=i.prefixCls,c=n("notification",a);e((0,r.Z)((0,r.Z)({},i),{prefixCls:c}),(function(e){var n=e.prefixCls,r=e.instance;o=r,u(t(i,n))}))},["success","info","warning","error"].forEach((function(e){f.current[e]=function(t){return f.current.open((0,r.Z)((0,r.Z)({},t),{type:e}))}})),[f.current,c.createElement(O.C,{key:"holder"},(function(e){return n=e.getPrefixCls,l}))]}}(U,H);var q=W,$=n(92138),K=n(10274),G=n(98924),Y=n(44958),X="-ant-".concat(Date.now(),"-").concat(Math.random());function Q(e,t){var n=function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new K.C(e),i=(0,$.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 K.C(t.primaryColor),a=(0,$.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 c=new K.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(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 s=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}(e,t);(0,G.Z)()&&(0,Y.hq)(n,"".concat(X,"-dynamic-theme"))}var J,ee,te=n(98866),ne=n(97647),re=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];function oe(){return J||"ant"}function ie(){return ee||"anticon"}var ae=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(oe(),"-").concat(e):oe())},getIconPrefixCls:ie,getRootPrefixCls:function(e,t){return e||(J||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):oe()))}}},ce=function(e){var t,n,s=e.children,u=e.csp,l=e.autoInsertSpaceInButton,f=e.form,d=e.locale,p=e.componentSize,h=e.direction,m=e.space,y=e.virtual,b=e.dropdownMatchSelectWidth,w=e.legacyLocale,x=e.parentContext,E=e.iconPrefixCls,C=e.componentDisabled,Z=c.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,r.Z)((0,r.Z)({},x),{csp:u,autoInsertSpaceInButton:l,locale:d||w,direction:h,space:m,virtual:y,dropdownMatchSelectWidth:b,getPrefixCls:Z});re.forEach((function(t){var n=e[t];n&&(S[t]=n)}));var k=(0,a.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=c.useMemo((function(){return{prefixCls:E,csp:u}}),[E,u]),_=s,T={};return d&&(T=(null===(t=d.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=g.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),f&&f.validateMessages&&(T=(0,r.Z)((0,r.Z)({},T),f.validateMessages)),Object.keys(T).length>0&&(_=c.createElement(i.FormProvider,{validateMessages:T},s)),d&&(_=c.createElement(v,{locale:d,_ANT_MARK__:"internalMark"},_)),(E||u)&&(_=c.createElement(o.Z.Provider,{value:N},_)),p&&(_=c.createElement(ne.q,{size:p},_)),void 0!==C&&(_=c.createElement(te.n,{disabled:C},_)),c.createElement(O.E_.Provider,{value:k},_)},se=function(e){return c.useEffect((function(){e.direction&&(y.ZP.config({rtl:"rtl"===e.direction}),q.config({rtl:"rtl"===e.direction}))}),[e.direction]),c.createElement(m.Z,null,(function(t,n,o){return c.createElement(O.C,null,(function(t){return c.createElement(ce,(0,r.Z)({parentContext:t,legacyLocale:o},e))}))}))};se.ConfigContext=O.E_,se.SizeContext=ne.Z,se.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(J=t),void 0!==n&&(ee=n),r&&Q(oe(),r)};var ue=se},65223:function(e,t,n){"use strict";n.d(t,{Ux:function(){return a},aM:function(){return i}});var r=n(87462),o=(n(71990),n(67294)),i=o.createContext({}),a=function(e){var t=e.children,n=e.status,a=e.override,c=(0,o.useContext)(i),s=(0,o.useMemo)((function(){var e=(0,r.Z)({},c);return a&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,a,c]);return o.createElement(i.Provider,{value:s},t)}},82586:function(e,t,n){"use strict";n.d(t,{ZP:function(){return x},D7:function(){return y},rJ:function(){return b},nH:function(){return w}});var r=n(4942),o=n(87462),i=n(71002),a=n(4340),c=n(94184),s=n.n(c),u=n(59775),l=n(42550),f=n(67294),d=n(53124),p=n(98866),h=n(97647),v=n(65223),m=n(9708);var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);or&&(o=t),o}var R=p.forwardRef((function(e,t){var n,s=e.prefixCls,b=e.bordered,w=void 0===b||b,x=e.showCount,E=void 0!==x&&x,C=e.maxLength,Z=e.className,S=e.style,k=e.size,R=e.disabled,A=e.onCompositionStart,M=e.onCompositionEnd,j=e.onChange,L=e.status,F=T(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),I=p.useContext(h.E_),V=I.getPrefixCls,D=I.direction,z=p.useContext(m.Z),U=p.useContext(v.Z),B=R||U,H=p.useContext(g.aM),W=H.status,q=H.hasFeedback,$=H.isFormItemInput,K=H.feedbackIcon,G=(0,y.F)(W,L),Y=p.useRef(null),X=p.useRef(null),Q=p.useState(!1),J=(0,a.Z)(Q,2),ee=J[0],te=J[1],ne=p.useRef(),re=p.useRef(0),oe=(0,f.Z)(F.defaultValue,{value:F.value}),ie=(0,a.Z)(oe,2),ae=ie[0],ce=ie[1],se=F.hidden,ue=function(e,t){void 0===F.value&&(ce(e),null===t||void 0===t||t())},le=Number(C)>0,fe=V("input",s);p.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,_.nH)(null===(n=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}}));var de=p.createElement(l.default,(0,i.Z)({},(0,d.Z)(F,["allowClear"]),{disabled:B,className:u()((n={},(0,o.Z)(n,"".concat(fe,"-borderless"),!w),(0,o.Z)(n,Z,Z&&!E),(0,o.Z)(n,"".concat(fe,"-sm"),"small"===z||"small"===k),(0,o.Z)(n,"".concat(fe,"-lg"),"large"===z||"large"===k),n),(0,y.Z)(fe,G)),style:E?void 0:S,prefixCls:fe,onCompositionStart:function(e){te(!0),ne.current=ae,re.current=e.currentTarget.selectionStart,null===A||void 0===A||A(e)},onChange:function(e){var t=e.target.value;!ee&&le&&(t=P(e.target.selectionStart>=C+1||e.target.selectionStart===t.length||!e.target.selectionStart,ae,t,C));ue(t),(0,_.rJ)(e.currentTarget,e,j,t)},onCompositionEnd:function(e){var t;te(!1);var n=e.currentTarget.value;le&&(n=P(re.current>=C+1||re.current===(null===(t=ne.current)||void 0===t?void 0:t.length),ne.current,n,C));n!==ae&&(ue(n),(0,_.rJ)(e.currentTarget,e,j,n)),null===M||void 0===M||M(e)},ref:Y})),pe=(0,_.D7)(ae);ee||!le||null!==F.value&&void 0!==F.value||(pe=O(pe,C));var he=p.createElement(N,(0,i.Z)({disabled:B},F,{prefixCls:fe,direction:D,inputType:"text",value:pe,element:de,handleReset:function(e){var t,n,r;ue(""),null===(t=Y.current)||void 0===t||t.focus(),(0,_.rJ)(null===(r=null===(n=Y.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,j)},ref:X,bordered:w,status:L,style:E?void 0:S}));if(E||q){var ve,me=(0,c.Z)(pe).length,ge="";return ge="object"===(0,r.Z)(E)?E.formatter({value:pe,count:me,maxLength:C}):"".concat(me).concat(le?" / ".concat(C):""),p.createElement("div",{hidden:se,className:u()("".concat(fe,"-textarea"),(ve={},(0,o.Z)(ve,"".concat(fe,"-textarea-rtl"),"rtl"===D),(0,o.Z)(ve,"".concat(fe,"-textarea-show-count"),E),(0,o.Z)(ve,"".concat(fe,"-textarea-in-form-item"),$),ve),(0,y.Z)("".concat(fe,"-textarea"),G,q),Z),style:S,"data-count":ge},he,q&&p.createElement("span",{className:"".concat(fe,"-textarea-suffix")},K))}return he}))},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(87462),o=n(4942),i=n(94184),a=n.n(i),c=n(67294),s=n(53124),u=n(65223),l=function(e){var t,n=(0,c.useContext)(s.E_),i=n.getPrefixCls,l=n.direction,f=e.prefixCls,d=e.className,p=void 0===d?"":d,h=i("input-group",f),v=a()(h,(t={},(0,o.Z)(t,"".concat(h,"-lg"),"large"===e.size),(0,o.Z)(t,"".concat(h,"-sm"),"small"===e.size),(0,o.Z)(t,"".concat(h,"-compact"),e.compact),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===l),t),p),m=(0,c.useContext)(u.aM),g=(0,c.useMemo)((function(){return(0,r.Z)((0,r.Z)({},m),{isFormItemInput:!1})}),[m]);return c.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(u.aM.Provider,{value:g},e.children))},f=n(82586),d=n(97685),p=n(90420),h=n(99611),v=n(98423),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var Z=c.forwardRef((function(e,t){var n=e.prefixCls,a=e.className,s=e.trigger,u=e.children,l=e.defaultCollapsed,h=void 0!==l&&l,Z=e.theme,S=void 0===Z?"dark":Z,k=e.style,N=void 0===k?{}:k,_=e.collapsible,T=void 0!==_&&_,O=e.reverseArrow,P=void 0!==O&&O,R=e.width,A=void 0===R?200:R,M=e.collapsedWidth,j=void 0===M?80:M,L=e.zeroWidthTriggerStyle,F=e.breakpoint,I=e.onCollapse,V=e.onBreakpoint,D=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),z=(0,c.useContext)(b.Gs).siderHook,U=(0,c.useState)("collapsed"in D?D.collapsed:h),B=(0,i.Z)(U,2),H=B[0],W=B[1],q=(0,c.useState)(!1),$=(0,i.Z)(q,2),K=$[0],G=$[1];(0,c.useEffect)((function(){"collapsed"in D&&W(D.collapsed)}),[D.collapsed]);var Y=function(e,t){"collapsed"in D||W(e),null===I||void 0===I||I(e,t)},X=(0,c.useRef)();X.current=function(e){G(e.matches),null===V||void 0===V||V(e.matches),H!==e.matches&&Y(e.matches,"responsive")},(0,c.useEffect)((function(){function e(e){return X.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&F&&F in x){t=n("(max-width: ".concat(x[F],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[F]),(0,c.useEffect)((function(){var e=C("ant-sider-");return z.addSider(e),function(){return z.removeSider(e)}}),[]);var Q=function(){Y(!H,"clickTrigger")},J=(0,c.useContext)(g.E_).getPrefixCls,ee=c.useMemo((function(){return{siderCollapsed:H}}),[H]);return c.createElement(E.Provider,{value:ee},function(){var e,i=J("layout-sider",n),l=(0,m.Z)(D,["collapsed"]),h=H?j:A,g=y(h)?"".concat(h,"px"):String(h),b=0===parseFloat(String(j||0))?c.createElement("span",{onClick:Q,className:v()("".concat(i,"-zero-width-trigger"),"".concat(i,"-zero-width-trigger-").concat(P?"right":"left")),style:L},s||c.createElement(f,null)):null,w={expanded:P?c.createElement(p.Z,null):c.createElement(d.Z,null),collapsed:P?c.createElement(d.Z,null):c.createElement(p.Z,null)}[H?"collapsed":"expanded"],x=null!==s?b||c.createElement("div",{className:"".concat(i,"-trigger"),onClick:Q,style:{width:g}},s||w):null,E=(0,o.Z)((0,o.Z)({},N),{flex:"0 0 ".concat(g),maxWidth:g,minWidth:g,width:g}),C=v()(i,"".concat(i,"-").concat(S),(e={},(0,r.Z)(e,"".concat(i,"-collapsed"),!!H),(0,r.Z)(e,"".concat(i,"-has-trigger"),T&&null!==s&&!b),(0,r.Z)(e,"".concat(i,"-below"),!!K),(0,r.Z)(e,"".concat(i,"-zero-width"),0===parseFloat(g)),e),a);return c.createElement("aside",(0,o.Z)({className:C},l,{style:E,ref:t}),c.createElement("div",{className:"".concat(i,"-children")},u),T||K&&b?x: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),c=n(94184),s=n.n(c),u=n(67294),l=n(53124),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0),(0,o.Z)(n,"".concat(g,"-rtl"),"rtl"===c),n),y),Z=u.useMemo((function(){return{siderHook:{addSider:function(e){m((function(t){return[].concat((0,r.Z)(t),[e])}))},removeSider:function(e){m((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return u.createElement(d.Provider,{value:Z},u.createElement(x,(0,a.Z)({ref:t,className:C},E),b))})),m=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(v),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=m},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return f},E:function(){return d}});var r=n(87462),o=n(15671),i=n(43144),a=n(60136),c=n(33643),s=n(67294),u=n(67178),l=n(6213).Z,f=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||l[null!==t&&void 0!==t?t:"global"],o=this.context,i=t&&o?o[t]:{};return(0,r.Z)((0,r.Z)({},n instanceof Function?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?l.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(s.Component);function d(e,t){var n=s.useContext(u.Z);return[s.useMemo((function(){var o=t||l[e||"global"],i=e&&n?n[e]:{};return(0,r.Z)((0,r.Z)({},"function"===typeof o?o():o),i||{})}),[e,t,n])]}f.defaultProps={componentName:"global"},f.contextType=u.Z},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 l}});var r=n(62906),o=n(87462),i={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"},a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},c={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"]},i),timePickerLocale:(0,o.Z)({},a)},s=c,u="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:c,TimePicker:a,Calendar:s,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:u,method:u,array:u,object:u,number:u,date:u,boolean:u,integer:u,float:u,regexp:u,email:u,url:u,hex:u},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 c}});var r=n(87462),o=n(67294),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:H,arrowContent:l.createElement("span",{className:"".concat(L,"-arrow-content"),style:V}),motion:{motionName:(0,p.mL)(F,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),I?(0,v.Tm)(D,{className:U}):D)}));b.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},t.Z=b},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return le}});var r=n(87462),o=n(67294),i=n(4942),a=n(71002),c=n(97685),s=n(63606),u=n(57132),l=n(86548),f=n(94184),d=n.n(f),p=n(20640),h=n.n(p),v=n(48555),m=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)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot){var c=t-n;return r.push(String(i).slice(0,c)),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,s=e.fontSize,u=e.rows,l=e.onEllipsis,f=o.useState([0,0,0]),d=(0,c.Z)(f,2),p=d[0],h=d[1],v=o.useState(0),y=(0,c.Z)(v,2),b=y[0],w=y[1],x=(0,c.Z)(p,3),E=x[0],C=x[1],Z=x[2],S=o.useState(0),k=(0,c.Z)(S,2),N=k[0],_=k[1],T=o.useRef(null),O=o.useRef(null),P=o.useMemo((function(){return(0,m.Z)(i)}),[i]),R=o.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){z(e)?t+=String(e).length:t+=1})),t}(P)}),[P]),A=o.useMemo((function(){return t&&3===b?n(U(P,C),C1&&Je,rt=function(e){var t;Re(!0),null===(t=Ke.onExpand)||void 0===t||t.call(Ke,e)},ot=o.useState(0),it=(0,c.Z)(ot,2),at=it[0],ct=it[1],st=o.useState(0),ut=(0,c.Z)(st,2),lt=ut[0],ft=ut[1],dt=function(e){var t;Le(e),je!==e&&(null===(t=Ke.onEllipsis)||void 0===t||t.call(Ke,e))};o.useEffect((function(){var e=U.current;if($e&&Je&&e){var t=nt?e.offsetHeight1?"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?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},o(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((new 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),c=n(81866);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tl))return!1;var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var h=-1,v=!0,m=2&n?new r:void 0;for(s.set(e,t),s.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,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=c},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(n){}}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,c=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=s},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,c=a&&a.exports===i?r.Buffer:void 0,s=(c?c.isBuffer:void 0)||o;e.exports=s},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,c=a?o(a):r;e.exports=c},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}},30845:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;nNumber.MAX_SAFE_INTEGER)return String(N()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":P(this.number):this.origin}}]),e}(),j=function(){function e(t){if((0,S.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())if(this.origin=String(t),"-"!==t){var n=t;if(T(n)&&(n=Number(n)),R(n="string"===typeof n?n:P(n))){var r=_(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}else this.nan=!0;else this.empty=!0}return(0,k.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){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{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=_((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,c="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(c.slice(0,-r),".").concat(c.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?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{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()?"":_("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function L(e){return N()?new j(e):new M(e)}function F(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var o=_(e),i=o.negativeStr,a=o.integerStr,c=o.decimalStr,s="".concat(t).concat(c),u="".concat(i).concat(a);if(n>=0){var l=Number(c[n]);if(l>=5&&!r){var f=L(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-l));return F(f.toString(),t,n,r)}return 0===n?u:"".concat(u).concat(t).concat(c.padEnd(n,"0").slice(0,n))}return".0"===s?u:"".concat(u).concat(s)}var I=n(31131);function V(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,i=e.downDisabled,a=e.onStep,s=c.useRef(),l=c.useRef();l.current=a;var p=function(e,t){e.preventDefault(),l.current(t),s.current=setTimeout((function e(){l.current(t),s.current=setTimeout(e,200)}),600)},h=function(){clearTimeout(s.current)};if(c.useEffect((function(){return h}),[]),(0,I.Z)())return null;var v="".concat(t,"-handler"),m=u()(v,"".concat(v,"-up"),(0,d.Z)({},"".concat(v,"-up-disabled"),o)),g=u()(v,"".concat(v,"-down"),(0,d.Z)({},"".concat(v,"-down-disabled"),i)),y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return c.createElement("div",{className:"".concat(v,"-wrap")},c.createElement("span",(0,f.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":o,className:m}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",(0,f.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:g}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var D=n(80334);var z=n(75164),U=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],B=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},H=function(e){var t=L(e);return t.isInvalidate()?null:t},W=c.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-input-number":r,i=e.className,a=e.style,s=e.min,l=e.max,v=e.step,m=void 0===v?1:v,g=e.defaultValue,y=e.value,b=e.disabled,w=e.readOnly,S=e.upHandler,k=e.downHandler,N=e.keyboard,_=e.controls,T=void 0===_||_,M=e.stringMode,j=e.parser,I=e.formatter,W=e.precision,q=e.decimalSeparator,$=e.onChange,K=e.onInput,G=e.onPressEnter,Y=e.onStep,X=(0,x.Z)(e,U),Q="".concat(o,"-input"),J=c.useRef(null),ee=c.useState(!1),te=(0,h.Z)(ee,2),ne=te[0],re=te[1],oe=c.useRef(!1),ie=c.useRef(!1),ae=c.useRef(!1),ce=c.useState((function(){return L(null!==y&&void 0!==y?y:g)})),se=(0,h.Z)(ce,2),ue=se[0],le=se[1];var fe=c.useCallback((function(e,t){if(!t)return W>=0?W:Math.max(O(e),O(m))}),[W,m]),de=c.useCallback((function(e){var t=String(e);if(j)return j(t);var n=t;return q&&(n=n.replace(q,".")),n.replace(/[^\w.-]+/g,"")}),[j,q]),pe=c.useRef(""),he=c.useCallback((function(e,t){if(I)return I(e,{userTyping:t,input:String(pe.current)});var n="number"===typeof e?P(e):e;if(!t){var r=fe(n,t);if(R(n)&&(q||r>=0))n=F(n,q||".",r)}return n}),[I,fe,q]),ve=c.useState((function(){var e=null!==g&&void 0!==g?g:y;return ue.isInvalidate()&&["string","number"].includes((0,p.Z)(e))?Number.isNaN(e)?"":e:he(ue.toString(),!1)})),me=(0,h.Z)(ve,2),ge=me[0],ye=me[1];function be(e,t){ye(he(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}pe.current=ge;var we=c.useMemo((function(){return H(l)}),[l,W]),xe=c.useMemo((function(){return H(s)}),[s,W]),Ee=c.useMemo((function(){return!(!we||!ue||ue.isInvalidate())&&we.lessEquals(ue)}),[we,ue]),Ce=c.useMemo((function(){return!(!xe||!ue||ue.isInvalidate())&&ue.lessEquals(xe)}),[xe,ue]),Ze=function(e,t){var n=(0,c.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(c){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,c=o.start,s=r.length;if(r.endsWith(a))s=r.length-n.current.afterTxt.length;else if(r.startsWith(i))s=i.length;else{var u=i[c-1],l=r.indexOf(u,c-1);-1!==l&&(s=l+1)}e.setSelectionRange(s,s)}catch(f){(0,D.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(f.message))}}]}(J.current,ne),Se=(0,h.Z)(Ze,2),ke=Se[0],Ne=Se[1],_e=function(e){return we&&!e.lessEquals(we)?we:xe&&!xe.lessEquals(e)?xe:null},Te=function(e){return!_e(e)},Oe=function(e,t){var n,r=e,o=Te(r)||r.isEmpty();if(r.isEmpty()||t||(r=_e(r)||r,o=!0),!w&&!b&&o){var i=r.toString(),a=fe(i,t);return a>=0&&(r=L(F(i,".",a)),Te(r)||(r=L(F(i,".",a,!0)))),r.equals(ue)||(n=r,void 0===y&&le(n),null===$||void 0===$||$(r.isEmpty()?null:B(M,r)),void 0===y&&be(r,t)),r}return ue},Pe=function(){var e=(0,c.useRef)(0),t=function(){z.Z.cancel(e.current)};return(0,c.useEffect)((function(){return t}),[]),function(n){t(),e.current=(0,z.Z)((function(){n()}))}}(),Re=function e(t){if(ke(),ye(t),!ie.current){var n=L(de(t));n.isNaN()||Oe(n,!0)}null===K||void 0===K||K(t),Pe((function(){var n=t;j||(n=t.replace(/\u3002/g,".")),n!==t&&e(n)}))},Ae=function(e){var t;if(!(e&&Ee||!e&&Ce)){oe.current=!1;var n=L(ae.current?A(m):m);e||(n=n.negate());var r=(ue||L(0)).add(n.toString()),o=Oe(r,!1);null===Y||void 0===Y||Y(B(M,o),{offset:ae.current?A(m):m,type:e?"up":"down"}),null===(t=J.current)||void 0===t||t.focus()}},Me=function(e){var t=L(de(ge)),n=t;n=t.isNaN()?ue:Oe(t,e),void 0!==y?be(ue,!1):n.isNaN()||be(n,!1)};return(0,C.o)((function(){ue.isInvalidate()||be(ue,!1)}),[W]),(0,C.o)((function(){var e=L(y);le(e);var t=L(de(ge));e.equals(t)&&oe.current&&!I||be(e,oe.current)}),[y]),(0,C.o)((function(){I&&Ne()}),[ge]),c.createElement("div",{className:u()(o,i,(n={},(0,d.Z)(n,"".concat(o,"-focused"),ne),(0,d.Z)(n,"".concat(o,"-disabled"),b),(0,d.Z)(n,"".concat(o,"-readonly"),w),(0,d.Z)(n,"".concat(o,"-not-a-number"),ue.isNaN()),(0,d.Z)(n,"".concat(o,"-out-of-range"),!ue.isInvalidate()&&!Te(ue)),n)),style:a,onFocus:function(){re(!0)},onBlur:function(){Me(!1),re(!1),oe.current=!1},onKeyDown:function(e){var t=e.which,n=e.shiftKey;oe.current=!0,ae.current=!!n,t===E.Z.ENTER&&(ie.current||(oe.current=!1),Me(!1),null===G||void 0===G||G(e)),!1!==N&&!ie.current&&[E.Z.UP,E.Z.DOWN].includes(t)&&(Ae(E.Z.UP===t),e.preventDefault())},onKeyUp:function(){oe.current=!1,ae.current=!1},onCompositionStart:function(){ie.current=!0},onCompositionEnd:function(){ie.current=!1,Re(J.current.value)}},T&&c.createElement(V,{prefixCls:o,upNode:S,downNode:k,upDisabled:Ee,downDisabled:Ce,onStep:Ae}),c.createElement("div",{className:"".concat(Q,"-wrap")},c.createElement("input",(0,f.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":s,"aria-valuemax":l,"aria-valuenow":ue.isInvalidate()?null:ue.toString(),step:m},X,{ref:(0,Z.sQ)(J,t),className:Q,value:ge,onChange:function(e){Re(e.target.value)},disabled:b,readOnly:w}))))}));W.displayName="InputNumber";var q=W,$=n(53124),K=n(98866),G=n(97647),Y=n(65223),X=n(96159),Q=n(9708),J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=n(70655),s=n(85893),u=n(71577),l=n(94184),f=n.n(l),d=n(67294),p=n(25964),h=n(83192),v=n(35159),m=n(25521),g=n(24389),y="default",b="textarea",w="url",x=function(e){var t=e.apiPath,n=e.configPath,l=void 0===n?"":n,y=e.initialValue,b=e.useTrim,w=e.useTrimLead,x=a(e,["apiPath","configPath","initialValue","useTrim","useTrimLead"]),E=(0,d.useState)(null),C=E[0],Z=E[1],S=(0,d.useState)(!1),k=S[0],N=S[1],_=((0,d.useContext)(v.aC)||{}).setFieldInConfigState,T=null,O=x.fieldName,P=x.required,R=x.tip,A=x.status,M=x.value,j=x.onChange,L=x.onSubmit,F=function(){Z(null),N(!1),clearTimeout(T),T=null};(0,d.useEffect)((function(){P&&(""===M||null===M)||M===y?N(!1):(F(),N(!0))}),[M]);var I=function(){var e=(0,r.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return P&&""!==M||M!==y?(Z((0,h.kg)(h.Jk)),[4,(0,p.Si)({apiPath:t,data:{value:M},onSuccess:function(){_({fieldName:O,value:M,path:l}),Z((0,h.kg)(h.zv))},onError:function(e){Z((0,h.kg)(h.Un,"There was an error: ".concat(e)))}})]):[3,2];case 1:e.sent(),T=setTimeout(F,p.sI),L&&L(),e.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),V=f()({"textfield-with-submit-container":!0,submittable:k});return(0,s.jsxs)("div",{className:V,children:[(0,s.jsx)("div",{className:"textfield-component",children:(0,s.jsx)(g.nv,(0,i.Z)((0,o.Z)({},x),{onSubmit:null,onBlur:function(e){var t=e.value;j&&P&&""===t&&j({fieldName:O,value:y})},onChange:function(e){var t=e.fieldName,n=e.value;if(j){var r=n;b?r=n.trim():w&&(r=n.replace(/^\s+/g,"")),j({fieldName:t,value:r})}}}))}),(0,s.jsxs)("div",{className:"formfield-container lower-container",children:[(0,s.jsx)("p",{className:"label-spacer"}),(0,s.jsxs)("div",{className:"lower-content",children:[(0,s.jsx)("div",{className:"field-tip",children:R}),(0,s.jsx)(m.E,{status:A||C}),(0,s.jsx)("div",{className:"update-button-container",children:(0,s.jsx)(u.Z,{type:"primary",size:"small",className:"submit-button",onClick:I,disabled:!k,children:"Update"})})]})]})]})};x.defaultProps={configPath:"",initialValue:""}},71210: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)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94941).Z;n(45753).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(92648).Z,i=n(17273).Z,a=o(n(67294)),c=n(76273),s=n(22725),u=n(63462),l=n(21018),f=n(57190),d=n(71210),p=n(98684),h={};function v(e,t,n,r){if(e&&c.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(o?"%"+o:"")]=!0}}var m=a.default.forwardRef((function(e,t){var n,o=e.href,m=e.as,g=e.children,y=e.prefetch,b=e.passHref,w=e.replace,x=e.shallow,E=e.scroll,C=e.locale,Z=e.onClick,S=e.onMouseEnter,k=e.onTouchStart,N=e.legacyBehavior,_=void 0===N?!0!==Boolean(!1):N,T=i(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,!_||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var O=!1!==y,P=a.default.useContext(u.RouterContext),R=a.default.useContext(l.AppRouterContext);R&&(P=R);var A,M=a.default.useMemo((function(){var e=r(c.resolveHref(P,o,!0),2),t=e[0],n=e[1];return{href:t,as:m?c.resolveHref(P,m):n||t}}),[P,o,m]),j=M.href,L=M.as,F=a.default.useRef(j),I=a.default.useRef(L);_&&(A=a.default.Children.only(n));var V=_?A&&"object"===typeof A&&A.ref:t,D=r(f.useIntersection({rootMargin:"200px"}),3),z=D[0],U=D[1],B=D[2],H=a.default.useCallback((function(e){I.current===L&&F.current===j||(B(),I.current=L,F.current=j),z(e),V&&("function"===typeof V?V(e):"object"===typeof V&&(V.current=e))}),[L,V,j,B,z]);a.default.useEffect((function(){var e=U&&O&&c.isLocalURL(j),t="undefined"!==typeof C?C:P&&P.locale,n=h[j+"%"+L+(t?"%"+t:"")];e&&!n&&v(P,j,L,{locale:t})}),[L,j,U,C,O,P]);var W={ref:H,onClick:function(e){_||"function"!==typeof Z||Z(e),_&&A.props&&"function"===typeof A.props.onClick&&A.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,i,s,u,l,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&c.isLocalURL(n)){e.preventDefault();var d=function(){"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:u,scroll:s}):t[o?"replace":"push"](n,{forceOptimisticNavigation:!f})};l?a.default.startTransition(d):d()}}(e,P,j,L,w,x,E,C,Boolean(R),O)},onMouseEnter:function(e){_||"function"!==typeof S||S(e),_&&A.props&&"function"===typeof A.props.onMouseEnter&&A.props.onMouseEnter(e),!O&&R||c.isLocalURL(j)&&v(P,j,L,{priority:!0})},onTouchStart:function(e){_||"function"!==typeof k||k(e),_&&A.props&&"function"===typeof A.props.onTouchStart&&A.props.onTouchStart(e),!O&&R||c.isLocalURL(j)&&v(P,j,L,{priority:!0})}};if(!_||b||"a"===A.type&&!("href"in A.props)){var q="undefined"!==typeof C?C:P&&P.locale,$=P&&P.isLocaleDomain&&d.getDomainLocale(L,q,P.locales,P.domainLocales);W.href=$||p.addBasePath(s.addLocale(L,q,P&&P.defaultLocale))}return _?a.default.cloneElement(A,W):a.default.createElement("a",Object.assign({},T,W),n)}));t.default=m,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!a,l=r(o.useState(!1),2),f=l[0],d=l[1],p=r(o.useState(null),2),h=p[0],v=p[1];o.useEffect((function(){if(a){if(u||f)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=s.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=c.get(r)))return t;var o=new Map,i=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:i,elements:o},s.push(n),c.set(n,t),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),c.delete(o);var t=s.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&s.splice(t,1)}}}(h,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){var r=i.requestIdleCallback((function(){return d(!0)}));return function(){return i.cancelIdleCallback(r)}}}),[h,u,n,t,f]);var m=o.useCallback((function(){d(!1)}),[]);return[v,f,m]};var o=n(67294),i=n(9311),a="function"===typeof IntersectionObserver,c=new Map,s=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(92648).Z)(n(67294)),o=r.default.createContext(null);t.AppRouterContext=o;var i=r.default.createContext(null);t.LayoutRouterContext=i;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var c=r.default.createContext(null);t.TemplateContext=c},66747:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ge}});var r=n(85893),o=(n(84010),n(20225),n(14379),n(98621),n(85385),n(11163)),i=n(4480),a=n(67294),c=n(26042),s=n(35159),u=n(57553),l=n(47568),f=n(69396),d=n(70655),p=n(45697),h=n.n(p),v=n(41664),m=n.n(v),g=n(9008),y=n.n(g),b=n(11699),w=n(97183),x=n(66516),E=n(14670),C=n(84485),Z=n(55241),S=n(26713),k=n(94199),N=n(71577),_=n(1413),T={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"},O=n(42135),P=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:T}))};P.displayName="PlayCircleFilled";var R=a.forwardRef(P),A={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"},M=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:A}))};M.displayName="MinusSquareFilled";var j=a.forwardRef(M),L={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"},F=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:L}))};F.displayName="HomeOutlined";var I=a.forwardRef(F),V={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"},D=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:V}))};D.displayName="LineChartOutlined";var z=a.forwardRef(D),U=n(38545),B={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"},H=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:B}))};H.displayName="SettingOutlined";var W=a.forwardRef(H),q={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"},$=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:q}))};$.displayName="ToolOutlined";var K=a.forwardRef($),G={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"},Y=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:G}))};Y.displayName="ExperimentOutlined";var X=a.forwardRef(Y),Q={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"},J=function(e,t){return a.createElement(O.Z,(0,_.Z)((0,_.Z)({},e),{},{ref:t,icon:Q}))};J.displayName="QuestionCircleOutlined";var ee=a.forwardRef(J),te=n(86548),ne=n(94184),re=n.n(ne),oe=n(58827),ie=n(2766),ae=n(60113),ce=n(45200),se=n(25964),ue=n(69677),le=n(85402),fe=n(83192),de=ue.Z.TextArea,pe=function(e){var t=e.visible,n=e.handleClose,o=function(){p(!1),m(null),n()},i=(0,a.useState)(""),c=i[0],s=i[1],u=(0,a.useState)(!1),f=u[0],p=u[1],h=(0,a.useState)(null),v=h[0],m=h[1];function g(){return(g=(0,l.Z)((function(){var e,t;return(0,d.__generator)(this,(function(n){switch(n.label){case 0:p(!0),e={value:c},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,(0,oe.rQ)(oe.e_,{data:e,method:"POST",auth:!0})];case 2:return n.sent(),m(fe.zv),setTimeout(o,1e3),[3,4];case 3:return t=n.sent(),console.error(t),m(fe.Un),[3,4];case 4:return p(!1),[2]}}))}))).apply(this,arguments)}return(0,r.jsx)(le.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",visible:t,onCancel:n,footer:[(0,r.jsx)(N.Z,{onClick:function(){return n()},children:"Cancel"}),(0,r.jsx)(N.Z,{type:"primary",onClick:function(){return g.apply(this,arguments)},disabled:f||v,loading:f,children:(null===v||void 0===v?void 0:v.toUpperCase())||"Post"})],children:(0,r.jsx)(S.Z,{id:"fediverse-post-container",direction:"vertical",children:(0,r.jsx)(de,{placeholder:"Tell the world about your streaming plans...",size:"large",showCount:!0,maxLength:500,style:{height:"150px"},onChange:function(e){s(e.target.value)}})})})},he=function(e){var t=e.children,n=(0,a.useContext)(s.aC)||{},i=n.serverConfig,p=n.online,h=n.broadcaster,v=n.versionNumber,g=i.instanceDetails,_=i.chatDisabled,T=i.federation.enabled,O=(0,a.useState)(""),P=O[0],A=O[1],M=(0,a.useState)(!1),L=M[0],F=M[1],V=(0,a.useContext)(u.k),D=((0,o.useRouter)()||{}).route,B=w.Z.Header,H=w.Z.Footer,q=w.Z.Content,$=w.Z.Sider,G=x.Z.SubMenu,Y=(0,a.useState)(""),Q=Y[0],J=Y[1],ne=function(){var e=(0,l.Z)((function(){var e,t;return(0,d.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,oe.GR)(v)];case 1:return e=n.sent(),J(e),[3,3];case 2:return t=n.sent(),console.log("==== error",t),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,a.useEffect)((function(){ne()}),[v]),(0,a.useEffect)((function(){A(g.streamTitle)}),[g]);var ue=re()({"app-container":!0,online:p}),le=Q?"block":"none",fe="".concat(Q)||"",de="Upgrade to v".concat(fe),he=_?"none":"block",ve=Q?["utilities-menu"]:[],me=V.message?(0,r.jsx)(E.Z,{message:V.message,afterClose:function(){V.setMessage(null)},banner:!0,closable:!0}):null,ge=h?(0,ie.wS)((0,b.Z)(new Date,new Date(h.time))):"",ye=p?(0,r.jsx)("img",{src:"/thumbnail.jpg",className:"online-thumbnail",alt:"current thumbnail",width:"1rem"}):null,be=p?(0,r.jsx)(R,{}):(0,r.jsx)(j,{}),we=p?"Online ".concat(ge):"Offline",xe=(0,r.jsx)(C.Z.Text,{children:"Thumbnail"}),Ee=(0,r.jsxs)("div",{className:"online-status-indicator",children:[(0,r.jsx)("span",{className:"status-label",children:we}),(0,r.jsx)("span",{className:"status-icon",children:be})]}),Ce=p?(0,r.jsx)(Z.Z,{content:ye,title:xe,trigger:"hover",children:Ee}):Ee;return(0,r.jsxs)(w.Z,{className:ue,children:[(0,r.jsxs)(y(),{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)($,{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)(ae.C,{variant:"simple"})}),(0,r.jsx)("span",{className:"title-label",children:"Owncast Admin"})]}),(0,r.jsxs)(x.Z,{defaultSelectedKeys:[D.substring(1)||"home"],defaultOpenKeys:ve,mode:"inline",className:"menu-container",children:[(0,r.jsx)(x.Z.Item,{icon:(0,r.jsx)(I,{}),children:(0,r.jsx)(m(),{href:"/admin",children:"Home"})},"home"),(0,r.jsx)(x.Z.Item,{icon:(0,r.jsx)(z,{}),title:"Current stream",children:(0,r.jsx)(m(),{href:"/admin/viewer-info",children:"Viewers"})},"viewer-info"),(0,r.jsxs)(G,{title:"Chat & Users",icon:(0,r.jsx)(U.Z,{}),style:{display:he},children:[(0,r.jsx)(x.Z.Item,{title:"Chat utilities",children:(0,r.jsx)(m(),{href:"/admin/chat/messages",children:"Messages"})},"messages"),(0,r.jsx)(x.Z.Item,{title:"Chat utilities",children:(0,r.jsx)(m(),{href:"/admin/chat/users",children:"Users"})},"chat-users")]},"chat-config"),(0,r.jsx)(x.Z.Item,{style:{display:T?"block":"none"},title:"Fediverse followers",icon:(0,r.jsx)("img",{alt:"fediverse icon",src:"/admin/fediverse-white.png",width:"15rem",style:{opacity:.6,position:"relative",top:"-1px"}}),children:(0,r.jsx)(m(),{href:"/admin/federation/followers",children:"Followers"})},"federation-followers"),(0,r.jsxs)(G,{title:"Configuration",icon:(0,r.jsx)(W,{}),children:[(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-public-details",children:"General"})},"config-public-details"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-server-details",children:"Server Setup"})},"config-server-details"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-video",children:"Video"})},"config-video"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-chat",children:"Chat"})},"config-chat"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-federation",children:"Social"})},"config-federation"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-notify",children:"Notifications"})},"config-notify"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/config-storage",children:"S3 Storage"})},"config-storage")]},"configuration"),(0,r.jsxs)(G,{icon:(0,r.jsx)(K,{}),title:"Utilities",children:[(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/hardware-info",children:"Hardware"})},"hardware-info"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/stream-health",children:"Stream Health"})},"stream-health"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/logs",children:"Logs"})},"logs"),(0,r.jsx)(x.Z.Item,{title:"Social Actions",style:{display:T?"block":"none"},children:(0,r.jsx)(m(),{href:"/admin/federation/actions",children:"Social Actions"})},"federation-activities"),(0,r.jsx)(x.Z.Item,{style:{display:le},children:(0,r.jsx)(m(),{href:"/upgrade",children:de})},"upgrade")]},"utilities-menu"),(0,r.jsxs)(G,{icon:(0,r.jsx)(X,{}),title:"Integrations",children:[(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/webhooks",children:"Webhooks"})},"webhooks"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/access-tokens",children:"Access Tokens"})},"access-tokens"),(0,r.jsx)(x.Z.Item,{children:(0,r.jsx)(m(),{href:"/admin/actions",children:"External Actions"})},"actions")]},"integrations-menu"),(0,r.jsx)(x.Z.Item,{icon:(0,r.jsx)(ee,{}),title:"Help",children:(0,r.jsx)(m(),{href:"/admin/help",children:"Help"})},"help")]})]}),(0,r.jsxs)(w.Z,{className:"layout-main",children:[(0,r.jsxs)(B,{className:"layout-header",children:[(0,r.jsx)(S.Z,{direction:"horizontal",children:(0,r.jsx)(k.Z,{title:"Compose post to your followers",children:(0,r.jsx)(N.Z,{type:"primary",shape:"circle",icon:(0,r.jsx)(te.Z,{}),size:"large",onClick:function(){F(!0)},style:{display:T?"block":"none"}})})}),(0,r.jsx)("div",{className:"global-stream-title-container",children:(0,r.jsx)(ce.$7,(0,f.Z)((0,c.Z)({fieldName:"streamTitle"},se.$t),{placeholder:"What are you streaming now",value:P,initialValue:g.streamTitle,onChange:function(e){var t=e.value;A(t)}}))}),(0,r.jsx)(S.Z,{direction:"horizontal",children:Ce})]}),me,(0,r.jsx)(q,{className:"main-content-container",children:t}),(0,r.jsx)(H,{className:"footer-container",children:(0,r.jsxs)("a",{href:"https://owncast.online/?source=admin",target:"_blank",rel:"noopener noreferrer",children:["About Owncast v",v]})})]}),(0,r.jsx)(pe,{visible:L,handleClose:function(){return F(!1)}})]})};he.propTypes={children:h().element.isRequired};var ve=function(e){var t=e.Component,n=e.pageProps;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)(s.ZP,{children:(0,r.jsx)(u.Z,{children:(0,r.jsx)(he,{children:(0,r.jsx)(t,(0,c.Z)({},n))})})})]})},me=function(e){var t=e.Component,n=e.pageProps;return(0,r.jsx)("div",{children:(0,r.jsx)(t,(0,c.Z)({},n))})},ge=function(e){var t=e.Component,n=e.pageProps;(0,a.useEffect)((function(){"serviceWorker"in navigator&&window.addEventListener("load",(function(){navigator.serviceWorker.register("/serviceWorker.js").then((function(e){console.debug("Service Worker registration successful with scope: ",e.scope)}),(function(e){console.error("Service Worker registration failed: ",e)}))}))}),[]);var c=(0,o.useRouter)();return c.pathname.startsWith("/admin")?(0,r.jsx)(ve,{pageProps:n,Component:t,router:c}):(0,r.jsx)(i.Wh,{children:(0,r.jsx)(me,{pageProps:n,Component:t,router:c})})}},57553:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(85893),o=n(67294),i=n(45697),a=n.n(i),c=o.createContext({message:null,setMessage:function(e){return null}}),s=function(e){var t=e.children,n=(0,o.useState)(""),i={message:n[0],setMessage:n[1]};return(0,r.jsx)(c.Provider,{value:i,children:t})};s.propTypes={children:a().element.isRequired},t.Z=s},58827:function(e,t,n){"use strict";n.d(t,{$i:function(){return j},$l:function(){return $},Bu:function(){return w},E8:function(){return I},GC:function(){return C},GR:function(){return te},HP:function(){return F},IO:function(){return P},Kp:function(){return g},Kt:function(){return X},M_:function(){return A},N$:function(){return U},NE:function(){return f},NM:function(){return b},Q_:function(){return d},RB:function(){return x},UJ:function(){return B},WB:function(){return u},WE:function(){return N},WQ:function(){return k},Wr:function(){return O},XA:function(){return R},Y9:function(){return V},a_:function(){return m},ao:function(){return h},bl:function(){return p},e_:function(){return L},hn:function(){return _},iG:function(){return M},iV:function(){return v},jr:function(){return E},kb:function(){return D},kg:function(){return G},ms:function(){return T},nx:function(){return Z},op:function(){return z},qk:function(){return y},rQ:function(){return W},sG:function(){return S}});var r=n(47568),o=n(26042),i=n(70655),a=n(34155),c=a.env.NEXT_PUBLIC_ADMIN_USERNAME,s=a.env.NEXT_PUBLIC_ADMIN_STREAMKEY,u="/",l="".concat(u,"api/admin/"),f=15e3,d="".concat(l,"status"),p=("".concat(l,"disconnect"),"".concat(l,"changekey"),"".concat(l,"serverconfig")),h="".concat(l,"config"),v="".concat(l,"viewersOverTime"),m="".concat(l,"viewers"),g="".concat(l,"chat/clients"),y="".concat(l,"chat/users/disabled"),b="".concat(l,"chat/users/setenabled"),w="".concat(l,"chat/users/ipbans"),x="".concat(l,"chat/users/ipbans/remove"),E="".concat(l,"chat/users/setmoderator"),C="".concat(l,"chat/users/moderators"),Z="".concat(l,"hardwarestats"),S="".concat(l,"logs"),k="".concat(l,"logs/warnings"),N="".concat(l,"chat/messages"),_="/api/admin/chat/messagevisibility",T="".concat(l,"accesstokens"),O="".concat(l,"accesstokens/delete"),P="".concat(l,"accesstokens/create"),R="".concat(l,"webhooks"),A="".concat(l,"webhooks/delete"),M="".concat(l,"webhooks/create"),j="".concat(u,"api/socialplatforms"),L=("".concat(l,"api/externalactions"),"".concat(l,"federation/send")),F="".concat(l,"followers"),I="".concat(l,"followers/pending"),V="".concat(l,"followers/blocked"),D="".concat(l,"followers/approve"),z="".concat(l,"federation/actions"),U="".concat(l,"metrics/video"),B="".concat(l,"yp/reset"),H="https://api.github.com/repos/owncast/owncast/releases/latest";function W(e,t){return q.apply(this,arguments)}function q(){return(q=(0,r.Z)((function(e,t){var n,r,o,a,u,l,f,d,p,h,v,m;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:r=(n=t||{}).data,o=n.method,a=void 0===o?"GET":o,u=n.auth,l=void 0===u||u,f={method:a},r&&(f.body=JSON.stringify(r)),l&&c&&s&&(d=btoa("".concat(c,":").concat(s)),f.headers={Authorization:"Basic ".concat(d)},f.mode="cors",f.credentials="include"),i.label=1;case 1:return i.trys.push([1,4,,5]),[4,fetch(e,f)];case 2:return[4,(p=i.sent()).json()];case 3:if(h=i.sent(),!p.ok)throw v=h.message||"An error has occurred: ".concat(p.status),new Error(v);return[2,h];case 4:return m=i.sent(),console.error(m),[2,m];case 5:return[2]}}))}))).apply(this,arguments)}function $(e,t){return K.apply(this,arguments)}function K(){return(K=(0,r.Z)((function(e,t){var n;return(0,i.__generator)(this,(function(r){return n=(0,o.Z)({method:"GET",auth:!1},t),[2,W(e,n)]}))}))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=(0,r.Z)((function(e){var t,n,r;return(0,i.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch(e,{referrerPolicy:"no-referrer",referrer:""})];case 1:if(!(t=o.sent()).ok)throw n="An error has occured: ".concat(t.status),new Error(n);return[4,t.json()];case 2:return[2,o.sent()];case 3:return r=o.sent(),console.log(r),[3,4];case 4:return[2,{}]}}))}))).apply(this,arguments)}function X(){return Q.apply(this,arguments)}function Q(){return(Q=(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){return[2,G(H)]}))}))).apply(this,arguments)}var J=/^\d+(\.\d+){0,2}$/;function ee(e,t){if(!e||!t||0===e.length||0===t.length)return!1;if(e===t)return!0;if(J.test(e)&&J.test(t)){for(var n=e.split(".");n.length<3;)n.push("0");for(var r=t.split(".");r.length<3;)r.push("0");for(var o=0;o<3;o++){var i=parseInt(n[o],10),a=parseInt(r[o],10);if(i!==a)return i>a}return!0}return e>=t}function te(e){return ne.apply(this,arguments)}function ne(){return(ne=(0,r.Z)((function(e){var t,n;return(0,i.__generator)(this,(function(r){switch(r.label){case 0:return[4,X()];case 1:return t=r.sent(),"v"===(n=t.tag_name).substr(0,1)&&(n=n.substr(1)),ee(e,n)?[2,null]:[2,n]}}))}))).apply(this,arguments)}},25964:function(e,t,n){"use strict";n.d(t,{$Z:function(){return we},$t:function(){return O},$w:function(){return h},AA:function(){return l},AN:function(){return Y},AP:function(){return y},BF:function(){return ee},B_:function(){return re},CJ:function(){return b},CQ:function(){return E},Dg:function(){return G},EY:function(){return U},FE:function(){return J},HM:function(){return fe},I$:function(){return pe},IX:function(){return A},KB:function(){return L},Kl:function(){return X},LC:function(){return Q},ME:function(){return D},P:function(){return B},RE:function(){return T},Ri:function(){return j},SS:function(){return le},Si:function(){return Z},Xc:function(){return te},Xq:function(){return ce},ZQ:function(){return M},_X:function(){return H},c9:function(){return v},cf:function(){return w},cj:function(){return V},d$:function(){return f},dL:function(){return ie},dR:function(){return oe},dj:function(){return K},gX:function(){return W},i3:function(){return he},kB:function(){return $},lT:function(){return I},mv:function(){return be},nm:function(){return ae},os:function(){return x},oy:function(){return ye},pE:function(){return C},rE:function(){return F},rd:function(){return R},rs:function(){return P},sI:function(){return u},sv:function(){return m},t$:function(){return de},vv:function(){return g},wC:function(){return ve},x8:function(){return se},yC:function(){return ue},y_:function(){return z},yi:function(){return ne},yj:function(){return q},z_:function(){return me},zm:function(){return ge}});var r=n(47568),o=n(14924),i=n(70655),a=n(58827),c=n(24389),s=n(19411),u=3e3,l="/pagecontent",f="/customstyles",d="/serverurl",p="/nsfw",h="/s3",v="/socialhandles",m="/video/streamlatencylevel",g="/video/streamoutputvariants",y="/directoryenabled",b="/chat/forbiddenusernames",w="/chat/suggestedusernames",x="/externalactions",E="/video/codec",C="/federation/blockdomains";function Z(e){return S.apply(this,arguments)}function S(){return(S=(0,r.Z)((function(e){var t,n,r,o,c;return(0,i.__generator)(this,(function(i){switch(i.label){case 0:return t=e.apiPath,n=e.data,r=e.onSuccess,o=e.onError,[4,(0,a.rQ)("".concat(a.ao).concat(t),{data:n,method:"POST",auth:!0})];case 1:return(c=i.sent()).success&&r?r(c.message):o&&o(c.message),[2]}}))}))).apply(this,arguments)}var k,N,_,T={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},O={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},P={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},R={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."},A={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."},M={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."},j={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Stream Key",tip:"Save this key somewhere safe, you will need it to stream or login to the admin dashboard!",required:!0},L={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},F={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},I={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},V={apiPath:d,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:c.xA,pattern:s.a,useTrim:!0},D={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:c.xA,pattern:s.a,useTrim:!0},z={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},U={apiPath:p,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."},B={apiPath:y,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},H={apiPath:"/hideviewercount",configPath:"",label:"Hide viewer count",tip:"Turn this ON to hide the viewer count the web page."},W={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},q={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},$={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},K={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},G={apiPath:b,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},Y={apiPath:w,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."},X={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},J={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},ee={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."},te={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.'},ne={apiPath:d,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:c.xA,pattern:s.a,useTrim:!0},re={apiPath:p,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."},oe={apiPath:C,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},ie={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."}},ae={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."},ce=(k={},(0,o.Z)(k,ae.min,"".concat(ae.min," ").concat(ae.unit)),(0,o.Z)(k,25," "),(0,o.Z)(k,30," "),(0,o.Z)(k,50," "),(0,o.Z)(k,60," "),(0,o.Z)(k,90," "),(0,o.Z)(k,ae.max,"".concat(ae.max," ").concat(ae.unit)),k),se=(N={},(0,o.Z)(N,ae.min,"".concat(ae.min,"fps - Good for film, presentations, music, low power/bandwidth servers.")),(0,o.Z)(N,25,"25fps - Good for film, presentations, music, low power/bandwidth servers."),(0,o.Z)(N,30,"30fps - Good for slow/casual games, chat, general purpose."),(0,o.Z)(N,50,"50fps - Good for fast/action games, sports, HD video."),(0,o.Z)(N,60,"60fps - Good for fast/action games, sports, HD video."),(0,o.Z)(N,90,"90fps - Good for newer fast games and hardware."),(0,o.Z)(N,ae.max,"".concat(ae.max,"fps - Experimental, use at your own risk!")),N),ue={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},le={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},fe=(_={},(0,o.Z)(_,ue.min,"".concat(ue.min," ").concat(ue.unit)),(0,o.Z)(_,3e3,3e3),(0,o.Z)(_,4500,4500),(0,o.Z)(_,ue.max,"".concat(ue.max," ").concat(ue.unit)),_),de={1:"lowest",2:"",3:"",4:"",5:"highest"},pe={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"},he={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!"},ve={url:"",platform:""},me="OTHER_SOCIAL_HANDLE_OPTION",ge={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:c.xA,pattern:s.a},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:c.xA,pattern:s.a,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)"}},ye={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:c.xA,pattern:s.a,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!"}},be={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!"}},we={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!"}}},2766:function(e,t,n){"use strict";n.d(t,{AB:function(){return u},Qr:function(){return a},t5:function(){return i},wS:function(){return s}});var r=n(42238),o=n.n(r);function i(e){var t=e.split(":");t[t.length-1]="";var 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 c(e,t,n){return String(t.repeat(n)+e).slice(-n)}function s(){var 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?c("".concat(o,":"),"0",3):"",a=Math.floor(t/60%60),s=c("".concat(a,":"),"0",3),u=Math.floor(t%60),l=c("".concat(u),"0",2);return r+i+s+l}function u(e){var t=o()(e),n=t.device,r=t.os,i=t.browser,a=i.major,c=i.name,s=r.version,u=r.name,l=n.model,f=n.type;if("libmpv"===e)return"mpv media player";if(!c||!a||!u)return e;var d=l||f?" (".concat(l||f,")"):"";return"".concat(c," ").concat(a," on ").concat(u," ").concat(s,"\n ").concat(d)}},83192:function(e,t,n){"use strict";n.d(t,{Jk:function(){return d},Un:function(){return l},dG:function(){return h},kg:function(){return m},zv:function(){return p}});var r,o=n(14924),i=n(85893),a=n(89739),c=n(21640),s=n(50888),u=n(28058),l="error",f="invalid",d="proessing",p="success",h="warning",v=(r={},(0,o.Z)(r,p,{type:p,icon:(0,i.jsx)(a.Z,{style:{color:"green"}}),message:"Success!"}),(0,o.Z)(r,l,{type:l,icon:(0,i.jsx)(c.Z,{style:{color:"red"}}),message:"An error occurred."}),(0,o.Z)(r,f,{type:f,icon:(0,i.jsx)(c.Z,{style:{color:"red"}}),message:"An error occurred."}),(0,o.Z)(r,d,{type:d,icon:(0,i.jsx)(s.Z,{}),message:""}),(0,o.Z)(r,h,{type:h,icon:(0,i.jsx)(u.Z,{style:{color:"#fc0"}}),message:""}),r);function m(e,t){return e&&v[e]?t?{type:e,icon:v[e].icon,message:t}:v[e]:null}},35159:function(e,t,n){"use strict";n.d(t,{aC:function(){return v}});var r=n(47568),o=n(14924),i=n(26042),a=n(69396),c=n(70655),s=n(85893),u=n(67294),l=n(45697),f=n.n(l),d=n(58827),p={streamKey:"",instanceDetails:{customStyles:"",extraPageContent:"",logo:"",name:"",nsfw:!1,socialHandles:[],streamTitle:"",summary:"",tags:[],title:"",welcomeMessage:"",offlineMessage:""},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:[n(25964).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},h={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}},v=u.createContext((0,a.Z)((0,i.Z)({},h),{serverConfig:p,setFieldInConfigState:function(e){return null}})),m=function(e){var t=e.children,n=(0,u.useState)(h),l=n[0],f=n[1],m=(0,u.useState)(p),g=m[0],y=m[1],b=function(){var e=(0,r.Z)((function(){var e;return(0,c.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,d.rQ)(d.Q_)];case 1:return e=t.sent(),f((0,i.Z)({},e)),[3,3];case 2:return t.sent(),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),w=function(){var e=(0,r.Z)((function(){var e;return(0,c.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,d.rQ)(d.bl)];case 1:return e=t.sent(),y(e),[3,3];case 2:return t.sent(),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,u.useEffect)((function(){var e;return b(),e=setInterval(b,d.NE),w(),function(){clearInterval(e)}}),[]);var x=(0,a.Z)((0,i.Z)({},l),{serverConfig:g,setFieldInConfigState:function(e){var t=e.fieldName,n=e.value,r=e.path,c=r?(0,a.Z)((0,i.Z)({},g),(0,o.Z)({},r,(0,a.Z)((0,i.Z)({},g[r]),(0,o.Z)({},t,n)))):(0,a.Z)((0,i.Z)({},g),(0,o.Z)({},t,n));y(c)}});return(0,s.jsx)(v.Provider,{value:x,children:t})};m.propTypes={children:f().element.isRequired},t.ZP=m},19411:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},a:function(){return r}});var r="https?://.*";function o(e){try{var t=new URL(e);if(""===t.protocol||""===t.hostname||!["http:","https:"].includes(t.protocol))return!1}catch(n){return!1}return!0}},85385:function(){},98621:function(){},14379:function(){},20225:function(){},83426:function(e){e.exports={root:"OwncastLogo_root__uDVJf",contrast:"OwncastLogo_contrast__rDMJY",simple:"OwncastLogo_simple___hC9r"}},84010:function(){},9008:function(e,t,n){e.exports=n(5443)},41664:function(e,t,n){e.exports=n(48418)},11163:function(e,t,n){e.exports=n(90387)},34155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c,s=[],u=!1,l=-1;function f(){u&&c&&(u=!1,c.length?s=c.concat(s):l=-1,s.length&&d())}function d(){if(!u){var e=a(f);u=!0;for(var t=s.length;t;){for(c=s,s=[];++l1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o};var g={},y=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return m(g),g={},void(document.body.className=r.replace(n,"").trim())}var o=(0,v.Z)();if(o&&(g=m({position:"relative",width:"calc(100% - ".concat(o,"px)")}),!n.test(r))){var i="".concat(r," ").concat(t);document.body.className=i.trim()}}},b=n(74902),w=0,x=[],E="ant-scrolling-effect",C=new RegExp("".concat(E),"g"),Z=new Map,S=(0,s.Z)((function e(t){var n=this;(0,c.Z)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container},this.reLock=function(e){var t=x.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())},this.lock=function(){var e;if(!x.some((function(e){return e.target===n.lockTarget})))if(x.some((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))x=[].concat((0,b.Z)(x),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=(0,v.Z)());var o=r.className;if(0===x.filter((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&Z.set(r,m({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!C.test(o)){var i="".concat(o," ").concat(E);r.className=i.trim()}x=[].concat((0,b.Z)(x),[{target:n.lockTarget,options:n.options}])}},this.unLock=function(){var e,t=x.find((function(e){return e.target===n.lockTarget}));if(x=x.filter((function(e){return e.target!==n.lockTarget})),t&&!x.some((function(e){var n,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,o=r.className;C.test(o)&&(m(Z.get(r),{element:r}),Z.delete(r),r.className=r.className.replace(C,"").trim())}},this.lockTarget=w++,this.options=t})),k=0,N=(0,h.Z)();var _={},T=function(e){if(!N)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===(0,f.Z)(e)&&e instanceof window.HTMLElement)return e}return document.body},O=function(e){(0,u.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).container=void 0,r.componentRef=i.createRef(),r.rafId=void 0,r.scrollLocker=void 0,r.renderComponent=void 0,r.updateScrollLocker=function(e){var t=(e||{}).visible,n=r.props,o=n.getContainer,i=n.visible;i&&i!==t&&N&&T(o)!==r.scrollLocker.getContainer()&&r.scrollLocker.reLock({container:T(o)})},r.updateOpenCount=function(e){var t=e||{},n=t.visible,o=t.getContainer,i=r.props,a=i.visible,c=i.getContainer;a!==n&&N&&T(c)===document.body&&(a&&!n?k+=1:e&&(k-=1)),("function"===typeof c&&"function"===typeof o?c.toString()!==o.toString():c!==o)&&r.removeCurrentContainer()},r.attachToParent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||r.container&&!r.container.parentNode){var t=T(r.props.getContainer);return!!t&&(t.appendChild(r.container),!0)}return!0},r.getContainer=function(){return N?(r.container||(r.container=document.createElement("div"),r.attachToParent(!0)),r.setWrapperClassName(),r.container):null},r.setWrapperClassName=function(){var e=r.props.wrapperClassName;r.container&&e&&e!==r.container.className&&(r.container.className=e)},r.removeCurrentContainer=function(){var e,t;null===(e=r.container)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(r.container)},r.switchScrollingEffect=function(){1!==k||Object.keys(_).length?k||(m(_),_={},y(!0)):(y(),_=m({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},r.scrollLocker=new S({container:T(e.getContainer)}),r}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,d.Z)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;N&&T(n)===document.body&&(k=t&&k?k-1:k),this.removeCurrentContainer(),d.Z.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,o=null,a={getOpenCount:function(){return k},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(o=i.createElement(p.Z,{getContainer:this.getContainer,ref:this.componentRef},t(a))),o}}]),n}(i.Component),P=O,R=n(1413),A=n(94184),M=n.n(A),j=n(15105);var L=0;function F(e){var t=i.useState("ssr-id"),n=(0,o.Z)(t,2),r=n[0],c=n[1],s=(0,R.Z)({},a).useId,u=null===s||void 0===s?void 0:s();return i.useEffect((function(){if(!s){var e=L;L+=1,c("rc_unique_".concat(e))}}),[]),e||(u||r)}var I=n(94999),V=n(64217),D=n(62874);function z(e){var t=e.prefixCls,n=e.style,o=e.visible,a=e.maskProps,c=e.motionName;return i.createElement(D.Z,{key:"mask",visible:o,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},(function(e){var o=e.className,c=e.style;return i.createElement("div",(0,r.Z)({style:(0,R.Z)((0,R.Z)({},c),n),className:M()("".concat(t,"-mask"),o)},a))}))}function U(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function B(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;"number"!==typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var H=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),W={width:0,height:0,overflow:"hidden",outline:"none"};var q=i.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,a=e.style,c=e.title,s=e.ariaId,u=e.footer,l=e.closable,f=e.closeIcon,d=e.onClose,p=e.children,h=e.bodyStyle,v=e.bodyProps,m=e.modalRender,g=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,w=e.visible,x=e.forceRender,E=e.width,C=e.height,Z=(0,i.useRef)(),S=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=Z.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===S.current?Z.current.focus():e||t!==Z.current||S.current.focus()}}}));var k,N,_,T={};void 0!==E&&(T.width=E),void 0!==C&&(T.height=C),u&&(k=i.createElement("div",{className:"".concat(n,"-footer")},u)),c&&(N=i.createElement("div",{className:"".concat(n,"-header")},i.createElement("div",{className:"".concat(n,"-title"),id:s},c))),l&&(_=i.createElement("button",{type:"button",onClick:d,"aria-label":"Close",className:"".concat(n,"-close")},f||i.createElement("span",{className:"".concat(n,"-close-x")})));var O=i.createElement("div",{className:"".concat(n,"-content")},_,N,i.createElement("div",(0,r.Z)({className:"".concat(n,"-body"),style:h},v),p),k);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?s:null,"aria-modal":"true",ref:b,style:(0,R.Z)((0,R.Z)({},a),T),className:M()(n,o),onMouseDown:g,onMouseUp:y},i.createElement("div",{tabIndex:0,ref:Z,style:W,"aria-hidden":"true"}),i.createElement(H,{shouldUpdate:w||x},m?m(O):O),i.createElement("div",{tabIndex:0,ref:S,style:W,"aria-hidden":"true"}))})),$=i.forwardRef((function(e,t){var n=e.prefixCls,a=e.title,c=e.style,s=e.className,u=e.visible,l=e.forceRender,f=e.destroyOnClose,d=e.motionName,p=e.ariaId,h=e.onVisibleChanged,v=e.mousePosition,m=(0,i.useRef)(),g=i.useState(),y=(0,o.Z)(g,2),b=y[0],w=y[1],x={};function E(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=B(o),n.top+=B(o,!0),n}(m.current);w(v?"".concat(v.x-e.left,"px ").concat(v.y-e.top,"px"):"")}return b&&(x.transformOrigin=b),i.createElement(D.Z,{visible:u,onVisibleChanged:h,onAppearPrepare:E,onEnterPrepare:E,forceRender:l,motionName:d,removeOnLeave:f,ref:m},(function(o,u){var l=o.className,f=o.style;return i.createElement(q,(0,r.Z)({},e,{ref:t,title:a,ariaId:p,prefixCls:n,holderRef:u,style:(0,R.Z)((0,R.Z)((0,R.Z)({},f),c),x),className:M()(s,l)}))}))}));$.displayName="Content";var K=$;function G(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,a=e.zIndex,c=e.visible,s=void 0!==c&&c,u=e.keyboard,l=void 0===u||u,f=e.focusTriggerAfterClose,d=void 0===f||f,p=e.scrollLocker,h=e.wrapStyle,v=e.wrapClassName,m=e.wrapProps,g=e.onClose,y=e.afterClose,b=e.transitionName,w=e.animation,x=e.closable,E=void 0===x||x,C=e.mask,Z=void 0===C||C,S=e.maskTransitionName,k=e.maskAnimation,N=e.maskClosable,_=void 0===N||N,T=e.maskStyle,O=e.maskProps,P=e.rootClassName,A=(0,i.useRef)(),L=(0,i.useRef)(),D=(0,i.useRef)(),B=i.useState(s),H=(0,o.Z)(B,2),W=H[0],q=H[1],$=F();function G(e){null===g||void 0===g||g(e)}var Y=(0,i.useRef)(!1),X=(0,i.useRef)(),Q=null;return _&&(Q=function(e){Y.current?Y.current=!1:L.current===e.target&&G(e)}),(0,i.useEffect)((function(){return s&&q(!0),function(){}}),[s]),(0,i.useEffect)((function(){return function(){clearTimeout(X.current)}}),[]),(0,i.useEffect)((function(){return W?(null===p||void 0===p||p.lock(),null===p||void 0===p?void 0:p.unLock):function(){}}),[W,p]),i.createElement("div",(0,r.Z)({className:M()("".concat(n,"-root"),P)},(0,V.Z)(e,{data:!0})),i.createElement(z,{prefixCls:n,visible:Z&&s,motionName:U(n,S,k),style:(0,R.Z)({zIndex:a},T),maskProps:O}),i.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===j.Z.ESC)return e.stopPropagation(),void G(e);s&&e.keyCode===j.Z.TAB&&D.current.changeActive(!e.shiftKey)},className:M()("".concat(n,"-wrap"),v),ref:L,onClick:Q,style:(0,R.Z)((0,R.Z)({zIndex:a},h),{},{display:W?null:"none"})},m),i.createElement(K,(0,r.Z)({},e,{onMouseDown:function(){clearTimeout(X.current),Y.current=!0},onMouseUp:function(){X.current=setTimeout((function(){Y.current=!1}))},ref:D,closable:E,ariaId:$,prefixCls:n,visible:s,onClose:G,onVisibleChanged:function(e){if(e){var t;if(!(0,I.Z)(L.current,document.activeElement))A.current=document.activeElement,null===(t=D.current)||void 0===t||t.focus()}else{if(q(!1),Z&&A.current&&d){try{A.current.focus({preventScroll:!0})}catch(n){}A.current=null}W&&(null===y||void 0===y||y())}},motionName:U(n,b,w)}))))}var Y=function(e){var t=e.visible,n=e.getContainer,a=e.forceRender,c=e.destroyOnClose,s=void 0!==c&&c,u=e.afterClose,l=i.useState(t),f=(0,o.Z)(l,2),d=f[0],p=f[1];return i.useEffect((function(){t&&p(!0)}),[t]),!1===n?i.createElement(G,(0,r.Z)({},e,{getOpenCount:function(){return 2}})):a||!s||d?i.createElement(P,{visible:t,forceRender:a,getContainer:n},(function(t){return i.createElement(G,(0,r.Z)({},e,{destroyOnClose:s,afterClose:function(){null===u||void 0===u||u(),p(!1)}},t))})):null};Y.displayName="Dialog";var X=Y},71990:function(e,t,n){"use strict";n.r(t),n.d(t,{Field:function(){return Ne},FieldContext:function(){return y},FormProvider:function(){return Ve},List:function(){return Te},ListContext:function(){return _e},default:function(){return qe},useForm:function(){return Fe},useWatch:function(){return He}});var r=n(67294),o=n(87462),i=n(45987),a=n(4942),c=n(1413),s=n(74902),u=n(15671),l=n(43144),f=n(97326),d=n(60136),p=n(33643),h=n(50344),v=n(80334),m="RC_FORM_INTERNAL_HOOKS",g=function(){(0,v.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},y=r.createContext({getFieldValue:g,getFieldsValue:g,getFieldError:g,getFieldWarning:g,getFieldsError:g,isFieldsTouched:g,isFieldTouched:g,isFieldValidating:g,isFieldsValidating:g,resetFields:g,setFields:g,setFieldValue:g,setFieldsValue:g,validateFields:g,submit:g,getInternalHooks:function(){return g(),{dispatch:g,initEntityValue:g,registerField:g,useSubscribe:g,setInitialValues:g,destroyForm:g,setCallbacks:g,registerWatch:g,getFields:g,setValidateMessages:g,setPreserve:g,getInitialValue:g}}});function b(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var w=n(74165),x=n(15861),E=n(34155);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?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}}));return a}return e}function R(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function A(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c()\[\]\\.,;:\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,}))$/,z=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,U={integer:function(e){return U.number(e)&&parseInt(e,10)===e},float:function(e){return U.number(e)&&!U.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}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&&!U.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(D)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(function(){if(I)return I;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),c=new RegExp("^"+o+"$"),s=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")};s.v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?c:new RegExp(""+t(e)+o+t(e),"g")};var u=s.v4().source,l=s.v6().source;return I=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+u+"|"+l+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"===typeof e&&!!e.match(z)}},B={required:V,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)V(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?U[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,c="number"===typeof e.max,s=t,u=null,l="number"===typeof t,f="string"===typeof t,d=Array.isArray(t);if(l?u="number":f?u="string":d&&(u="array"),!u)return!1;d&&(s=t.length),f&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(P(o.messages[u].len,e.fullField,e.len)):a&&!c&&se.max?r.push(P(o.messages[u].max,e.fullField,e.max)):a&&c&&(se.max)&&r.push(P(o.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(P(o.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(P(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},H=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,i)&&!e.required)return n();B.required(e,t,r,a,o,i),R(t,i)||B.type(e,t,r,a,o)}n(a)},W={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,"string")&&!e.required)return n();B.required(e,t,r,i,o,"string"),R(t,"string")||(B.type(e,t,r,i,o),B.range(e,t,r,i,o),B.pattern(e,t,r,i,o),!0===e.whitespace&&B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&B.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),R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&(B.type(e,t,r,i,o),B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),R(t)||B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&(B.type(e,t,r,i,o),B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&(B.type(e,t,r,i,o),B.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((void 0===t||null===t)&&!e.required)return n();B.required(e,t,r,i,o,"array"),void 0!==t&&null!==t&&(B.type(e,t,r,i,o),B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o),void 0!==t&&B.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(R(t,"string")&&!e.required)return n();B.required(e,t,r,i,o),R(t,"string")||B.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(R(t,"date")&&!e.required)return n();var a;if(B.required(e,t,r,i,o),!R(t,"date"))a=t instanceof Date?t:new Date(t),B.type(e,a,r,i,o),a&&B.range(e,a.getTime(),r,i,o)}n(i)},url:H,hex:H,email:H,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;B.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(R(t)&&!e.required)return n();B.required(e,t,r,i,o)}n(i)}};function q(){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(),K=function(){function e(e){this.rules=null,this._messages=$,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new 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=F(q(),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,c=r;if("function"===typeof a&&(c=a,a={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===$&&(s=q()),F(s,a.messages),a.messages=s}else a.messages=this.messages();var u={};(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=C({},i)),r=i[e]=a.transform(r)),(a="function"===typeof a?{validator:a}:C({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),u[e]=u[e]||[],u[e].push({rule:a,value:r,source:i,field:e}))}))}));var l={};return j(u,a,(function(t,n){var r,o=t.rule,c=("object"===o.type||"array"===o.type)&&("object"===typeof o.fields||"object"===typeof o.defaultField);function s(e,t){return C({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function u(r){void 0===r&&(r=[]);var u=Array.isArray(r)?r:[r];!a.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==o.message&&(u=[].concat(o.message));var f=u.map(L(o,i));if(a.first&&f.length)return l[o.field]=1,n(f);if(c){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(L(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})),d=C({},d,t.rule.fields);var p={};Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.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(c=c&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,u,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,u,t.source,a)}catch(f){null==console.error||console.error(f),a.suppressValidatorError||setTimeout((function(){throw f}),0),u(f.message)}!0===r?u():!1===r?u("function"===typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?u(r):r instanceof Error&&u(r.message)}r&&r.then&&r.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!Q(e,t.slice(0,-1))?e:ee(e,t,n,r)}function ne(e){return Array.isArray(e)?function(e){return e.map((function(e){return ne(e)}))}(e):"object"===(0,X.Z)(e)&&null!==e?function(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=ne(e[n]);return t}return e}(e):e}var re=ne;function oe(e){return b(e)}function ie(e,t){return Q(e,t)}function ae(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=te(e,t,n,r);return o}function ce(e,t){var n={};return t.forEach((function(t){var r=ie(e,t);n=ae(n,t,r)})),n}function se(e,t){return e&&e.some((function(e){return de(e,t)}))}function ue(e){return"object"===(0,X.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function le(e,t){var n=Array.isArray(e)?(0,s.Z)(e):(0,c.Z)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=ue(r)&&ue(o);n[e]=i?le(r,o||{}):re(o)})),n):n}function fe(e){for(var t=arguments.length,n=new 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 ve=K;function me(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}var ge="CODE_LOGIC_ERROR";function ye(e,t,n,r,o){return be.apply(this,arguments)}function be(){return be=(0,x.Z)((0,w.Z)().mark((function e(t,n,o,i,u){var l,f,d,p,h,v,m,g,y;return(0,w.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(l=(0,c.Z)({},o)).ruleIndex,l.validator&&(f=l.validator,l.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(ge)}}),d=null,l&&"array"===l.type&&l.defaultField&&(d=l.defaultField,delete l.defaultField),p=new ve((0,a.Z)({},t,[l])),h=fe({},Y,i.validateMessages),p.messages(h),v=[],e.prev=9,e.next=12,Promise.resolve(p.validate((0,a.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&&(v=e.t0.errors.map((function(e,t){var n=e.message,o=n===ge?h.default:n;return r.isValidElement(o)?r.cloneElement(o,{key:"error_".concat(t)}):o})));case 17:if(v.length||!d){e.next=22;break}return e.next=20,Promise.all(n.map((function(e,n){return ye("".concat(t,".").concat(n),e,d,i,u)})));case 20:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat((0,s.Z)(e),(0,s.Z)(t))}),[]));case 22:return g=(0,c.Z)((0,c.Z)({},o),{},{name:t,enum:(o.enum||[]).join(", ")},u),y=v.map((function(e){return"string"===typeof e?me(e,g):e})),e.abrupt("return",y);case 25:case"end":return e.stop()}}),e,null,[[9,14]])}))),be.apply(this,arguments)}function we(e,t,n,r,o,i){var a,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=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:Ze;if(o.validatePromise===r){var t;o.validatePromise=null;var 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?Ze:r;t?i.push.apply(i,(0,s.Z)(o)):n.push.apply(n,(0,s.Z)(o))})),o.errors=n,o.warnings=i,o.triggerMetaEvent(),o.reRender()}})),d}));return o.validatePromise=r,o.dirty=!0,o.errors=Ze,o.warnings=Ze,o.triggerMetaEvent(),o.reRender(),r},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(m).getInitialValue)(o.getNamePath())},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath()}},o.getOnlyChild=function(e){if("function"===typeof e){var t=o.getMeta();return(0,c.Z)((0,c.Z)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,h.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},o.getValue=function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return ie(e||t(!0),n)},o.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,s=t.normalize,u=t.valuePropName,l=t.getValueProps,f=t.fieldContext,d=void 0!==r?r:f.validateTrigger,p=o.getNamePath(),h=f.getInternalHooks,v=f.getFieldsValue,g=h(m),y=g.dispatch,w=o.getValue(),x=l||function(e){return(0,a.Z)({},u,e)},E=e[n],C=(0,c.Z)((0,c.Z)({},e),x(w));C[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(l.keys=[].concat((0,s.Z)(l.keys.slice(0,t)),[l.id],(0,s.Z)(l.keys.slice(t))),i([].concat((0,s.Z)(n.slice(0,t)),[e],(0,s.Z)(n.slice(t))))):(l.keys=[].concat((0,s.Z)(l.keys),[l.id]),i([].concat((0,s.Z)(n),[e]))),l.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(l.keys=l.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(l.keys=he(l.keys,e,t),i(he(n,e,t)))}}},p=r||[];return Array.isArray(p)||(p=[]),o(p.map((function(e,t){var n=l.keys[t];return void 0===n&&(l.keys[t]=l.id,n=l.keys[t],l.id+=1),{name:t,key:n,isListField:!0}})),d,t)}))))},Oe=n(97685);var Pe="__@field_split__";function Re(e){return e.map((function(e){return"".concat((0,X.Z)(e),":").concat(e)})).join(Pe)}var Ae=function(){function e(){(0,u.Z)(this,e),this.kvs=new Map}return(0,l.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(Re(e),t)}},{key:"get",value:function(e){return this.kvs.get(Re(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(Re(e))}},{key:"map",value:function(e){return(0,s.Z)(this.kvs.entries()).map((function(t){var n=(0,Oe.Z)(t,2),r=n[0],o=n[1],i=r.split(Pe);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,Oe.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}(),Me=Ae,je=["name","errors"],Le=(0,l.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===m?(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=fe({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=ae(o,n,ie(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new Me;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=ie(n.initialValues,e);return e.length?re(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(){0},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 Me;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=oe(e);return t.get(n)||{INVALIDATE_NAME_PATH:oe(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();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a="getMeta"in n?n.getMeta():null;t(a)&&o.push(i)}else o.push(i)})),ce(n.store,o.map(oe))},this.getFieldValue=function(e){n.warningUnhooked();var t=oe(e);return ie(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:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:oe(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=oe(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=oe(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Me,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o,i=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.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=t.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);e.skipExist&&void 0!==a||n.updateStore(ae(n.store,o,(0,s.Z)(i)[0].value))}}}}))};e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,s.Z)((0,s.Z)(r).map((function(e){return e.entity}))))}))):o=r,i(o)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(fe({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(oe);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(ae(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,a=(e.errors,(0,i.Z)(e,je)),c=oe(o);r.push(c),"value"in a&&n.updateStore(ae(n.store,c,a.value)),n.notifyObservers(t,[c],{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===ie(n.store,r)&&n.updateStore(ae(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null===t||void 0===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!de(e.getNamePath(),t)}))){var c=n.store;n.updateStore(ae(c,t,a,!0)),n.notifyObservers(c,[t],{type:"remove"}),n.triggerDependenciesUpdate(c,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=oe(e),o=n.store;n.updateStore(ae(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(ce(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=fe(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 Me;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=oe(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return 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 Me;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){var n=t.name;return se(e,n)})),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,o=r?e.map(oe):[],i=[];n.getFieldEntities(!0).forEach((function(a){if(r||o.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var u=a.getNamePath();u.every((function(t,n){return e[n]===t||void 0===e[n]}))&&o.push(u)}if(a.props.rules&&a.props.rules.length){var l=a.getNamePath();if(!r||se(o,l)){var f=a.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},Y),n.validateMessages)},t));i.push(f.then((function(){return{name:l,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:l,errors:n,warnings:r}):{name:l,errors:n,warnings:r}})))}}}));var a=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(i);n.lastValidatePromise=a,a.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 u=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(o),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return u.catch((function(e){return e})),u},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}));var Fe=function(e){var t=r.useRef(),n=r.useState({}),o=(0,Oe.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new Le((function(){o({})}));t.current=i.getForm()}return[t.current]},Ie=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ve=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,s=r.useContext(Ie),u=r.useRef({});return r.createElement(Ie.Provider,{value:(0,c.Z)((0,c.Z)({},s),{},{validateMessages:(0,c.Z)((0,c.Z)({},s.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:u.current}),s.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:u.current}),s.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(u.current=(0,c.Z)((0,c.Z)({},u.current),{},(0,a.Z)({},e,t))),s.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},u.current);delete t[e],u.current=t,s.unregisterForm(e)}})},i)},De=Ie,ze=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Ue=function(e,t){var n=e.name,a=e.initialValues,u=e.fields,l=e.form,f=e.preserve,d=e.children,p=e.component,h=void 0===p?"form":p,v=e.validateMessages,g=e.validateTrigger,b=void 0===g?"onChange":g,w=e.onValuesChange,x=e.onFieldsChange,E=e.onFinish,C=e.onFinishFailed,Z=(0,i.Z)(e,ze),S=r.useContext(De),k=Fe(l),N=(0,Oe.Z)(k,1)[0],_=N.getInternalHooks(m),T=_.useSubscribe,O=_.setInitialValues,P=_.setCallbacks,R=_.setValidateMessages,A=_.setPreserve,M=_.destroyForm;r.useImperativeHandle(t,(function(){return N})),r.useEffect((function(){return S.registerForm(n,N),function(){S.unregisterForm(n)}}),[S,N,n]),R((0,c.Z)((0,c.Z)({},S.validateMessages),v)),P({onValuesChange:w,onFieldsChange:function(e){if(S.triggerFormChange(n,e),x){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o0;if(O||P){var t=f(I),n=(0,p.Z)(t).length,a="object"===(0,o.Z)(P)?P.formatter({value:t,count:n,maxLength:T}):"".concat(n).concat(e?" / ".concat(T):"");return i.createElement(i.Fragment,null,!!P&&i.createElement("span",{className:c()("".concat(S,"-show-count-suffix"),(0,r.Z)({},"".concat(S,"-show-count-has-suffix"),!!O))},a),O)}return null}(),disabled:k}))}))},97868:function(e,t,n){"use strict";n.d(t,{iz:function(){return He},ck:function(){return $},BW:function(){return Be},sN:function(){return $},GP:function(){return Be},Wd:function(){return ye},ZP:function(){return qe},Xl:function(){return L}});var r=n(87462),o=n(4942),i=n(1413),a=n(74902),c=n(97685),s=n(45987),u=n(67294),l=n(94184),f=n.n(l),d=n(96774),p=n.n(d),h=n(21770),v=n(80334),m=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=u.createContext(null);function k(e){var t=e.children,n=e.locked,r=(0,s.Z)(e,Z),o=u.useContext(S),a=(0,C.Z)((function(){return function(e,t){var n=(0,i.Z)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!p()(e[1],t[1]))}));return u.createElement(S.Provider,{value:a},t)}function N(e,t,n,r){var o=u.useContext(S),i=o.activeKey,a=o.onActive,c=o.onInactive,s={active:i===e};return t||(s.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},s.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),c(e)}),s}var _=["item"];function T(e){var t=e.item,n=(0,s.Z)(e,_);return Object.defineProperty(n,"item",{get:function(){return(0,v.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?u.createElement(t,(0,i.Z)({},n)):t)||r||null}function P(e){var t=u.useContext(S),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*o}:{paddingLeft:e*o}}var R=[],A=u.createContext(null);function M(){return u.useContext(A)}var j=u.createContext(R);function L(e){var t=u.useContext(j);return u.useMemo((function(){return void 0!==e?[].concat((0,a.Z)(t),[e]):t}),[t,e])}var F=u.createContext(null),I=u.createContext(null);function V(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function D(e){return V(u.useContext(I),e)}var z=u.createContext({}),U=["title","attribute","elementRef"],B=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],H=["active"],W=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,s.Z)(e,U),a=(0,E.Z)(i,["eventKey"]);return(0,v.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(m.Z.Item,(0,r.Z)({},n,{title:"string"===typeof t?t:void 0},a,{ref:o}))}}]),n}(u.Component),q=function(e){var t,n=e.style,c=e.className,l=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,h=e.children,v=e.role,m=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,s.Z)(e,B),C=D(l),Z=u.useContext(S),k=Z.prefixCls,_=Z.onItemClick,R=Z.disabled,A=Z.overflowDisabled,M=Z.itemIcon,j=Z.selectedKeys,F=Z.onActive,I=u.useContext(z)._internalRenderMenuItem,V="".concat(k,"-item"),U=u.useRef(),q=u.useRef(),$=R||d,K=L(l);var G=function(e){return{key:l,keyPath:(0,a.Z)(K).reverse(),item:U.current,domEvent:e}},Y=p||M,X=N(l,$,m,g),Q=X.active,J=(0,s.Z)(X,H),ee=j.includes(l),te=P(K.length),ne={};"option"===e.role&&(ne["aria-selected"]=ee);var re=u.createElement(W,(0,r.Z)({ref:U,elementRef:q,role:null===v?"none":v||"menuitem",tabIndex:d?null:-1,"data-menu-id":A&&C?null:C},E,J,ne,{component:"li","aria-disabled":d,style:(0,i.Z)((0,i.Z)({},te),n),className:f()(V,(t={},(0,o.Z)(t,"".concat(V,"-active"),Q),(0,o.Z)(t,"".concat(V,"-selected"),ee),(0,o.Z)(t,"".concat(V,"-disabled"),$),t),c),onClick:function(e){if(!$){var t=G(e);null===y||void 0===y||y(T(t)),_(t)}},onKeyDown:function(e){if(null===b||void 0===b||b(e),e.which===x.Z.ENTER){var t=G(e);null===y||void 0===y||y(T(t)),_(t)}},onFocus:function(e){F(l),null===w||void 0===w||w(e)}}),h,u.createElement(O,{props:(0,i.Z)((0,i.Z)({},e),{},{isSelected:ee}),icon:Y}));return I&&(re=I(re,e,{selected:ee})),re};var $=function(e){var t=e.eventKey,n=M(),r=L(t);return u.useEffect((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:u.createElement(q,e)},K=n(71002),G=n(50344),Y=["label","children","key","type"];function X(e,t){return(0,G.Z)(e).map((function(e,n){if(u.isValidElement(e)){var r,o,i=e.key,c=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;(null===c||void 0===c)&&(c="tmp_key-".concat([].concat((0,a.Z)(t),[n]).join("-")));var s={key:c,eventKey:c};return u.cloneElement(e,s)}return e}))}function Q(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,K.Z)(e)){var n=e.label,o=e.children,i=e.key,a=e.type,c=(0,s.Z)(e,Y),l=null!==i&&void 0!==i?i:"tmp-".concat(t);return o||"group"===a?"group"===a?u.createElement(Be,(0,r.Z)({key:l},c,{title:n}),Q(o)):u.createElement(ye,(0,r.Z)({key:l},c,{title:n}),Q(o)):"divider"===a?u.createElement(He,(0,r.Z)({key:l},c)):u.createElement($,(0,r.Z)({key:l},c),n)}return null})).filter((function(e){return e}))}function J(e,t,n){var r=e;return t&&(r=Q(t)),X(r,n)}function ee(e){var t=u.useRef(e);t.current=e;var n=u.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return E.onVisibleChanged=function(e){return m.current||e||w(!0),null===C||void 0===C?void 0:C(e)},b?null:u.createElement(k,{mode:s,locked:!m.current},u.createElement(pe.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 u.createElement(oe,{id:t,className:n,style:r},a)})))}var ve=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],me=["active"],ge=function(e){var t,n=e.style,a=e.className,l=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),h=e.internalPopupClose,v=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,R=e.onTitleMouseLeave,A=(0,s.Z)(e,ve),M=D(d),j=u.useContext(S),I=j.prefixCls,V=j.mode,U=j.openKeys,B=j.disabled,H=j.overflowDisabled,W=j.activeKey,q=j.selectedKeys,$=j.itemIcon,K=j.expandIcon,G=j.onItemClick,Y=j.onOpenChange,X=j.onActive,Q=u.useContext(z)._internalRenderSubMenuItem,J=u.useContext(F).isSubPathKey,te=L(),ne="".concat(I,"-submenu"),re=B||p,ie=u.useRef(),ae=u.useRef();var ce=g||$,se=y||K,ue=U.includes(d),le=!H&&ue,fe=J(q,d),pe=N(d,re,_,R),ge=pe.active,ye=(0,s.Z)(pe,me),be=u.useState(!1),we=(0,c.Z)(be,2),xe=we[0],Ee=we[1],Ce=function(e){re||Ee(e)},Ze=u.useMemo((function(){return ge||"inline"!==V&&(xe||J([W],d))}),[V,ge,W,xe,d,J]),Se=P(te.length),ke=ee((function(e){null===x||void 0===x||x(T(e)),G(e)})),Ne=M&&"".concat(M,"-popup"),_e=u.createElement("div",(0,r.Z)({role:"menuitem",style:Se,className:"".concat(ne,"-title"),tabIndex:re?null:-1,ref:ie,title:"string"===typeof l?l:null,"data-menu-id":H&&M?null:M,"aria-expanded":le,"aria-haspopup":!0,"aria-controls":Ne,"aria-disabled":re,onClick:function(e){re||(null===Z||void 0===Z||Z({key:d,domEvent:e}),"inline"===V&&Y(d,!ue))},onFocus:function(){X(d)}},ye),l,u.createElement(O,{icon:"horizontal"!==V?se:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:le,isSubMenu:!0})},u.createElement("i",{className:"".concat(ne,"-arrow")}))),Te=u.useRef(V);if("inline"!==V&&(Te.current=te.length>1?"vertical":V),!H){var Oe=Te.current;_e=u.createElement(de,{mode:Oe,prefixCls:ne,visible:!h&&le&&"inline"!==V,popupClassName:b,popupOffset:w,popup:u.createElement(k,{mode:"horizontal"===Oe?"vertical":Oe},u.createElement(oe,{id:Ne,ref:ae},v)),disabled:re,onVisibleChange:function(e){"inline"!==V&&Y(d,e)}},_e)}var Pe=u.createElement(m.Z.Item,(0,r.Z)({role:"none"},A,{component:"li",style:n,className:f()(ne,"".concat(ne,"-").concat(V),a,(t={},(0,o.Z)(t,"".concat(ne,"-open"),le),(0,o.Z)(t,"".concat(ne,"-active"),Ze),(0,o.Z)(t,"".concat(ne,"-selected"),fe),(0,o.Z)(t,"".concat(ne,"-disabled"),re),t)),onMouseEnter:function(e){Ce(!0),null===E||void 0===E||E({key:d,domEvent:e})},onMouseLeave:function(e){Ce(!1),null===C||void 0===C||C({key:d,domEvent:e})}}),_e,!H&&u.createElement(he,{id:Ne,open:le,keyPath:te},v));return Q&&(Pe=Q(Pe,e,{selected:fe,active:Ze,open:le,disabled:re})),u.createElement(k,{onItemClick:ke,mode:"horizontal"===V?"vertical":V,itemIcon:ce,expandIcon:se},Pe)};function ye(e){var t,n=e.eventKey,r=e.children,o=L(n),i=X(r,o),a=M();return u.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:u.createElement(ge,e,i),u.createElement(j.Provider,{value:o},t)}var be=n(88603),we=x.Z.LEFT,xe=x.Z.RIGHT,Ee=x.Z.UP,Ce=x.Z.DOWN,Ze=x.Z.ENTER,Se=x.Z.ESC,ke=x.Z.HOME,Ne=x.Z.END,_e=[Ee,Ce,we,xe];function Te(e,t){return(0,be.tS)(e,!0).filter((function(e){return t.has(e)}))}function Oe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=Te(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]}function Pe(e,t,n,r,i,a,c,s,l,f){var d=u.useRef(),p=u.useRef();p.current=t;var h=function(){ae.Z.cancel(d.current)};return u.useEffect((function(){return function(){h()}}),[]),function(u){var v=u.which;if([].concat(_e,[Ze,Se,ke,Ne]).includes(v)){var m,g,y,b=function(){return m=new Set,g=new Map,y=new Map,a().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(V(r,e),"']"));t&&(m.add(t),y.set(t,e),g.set(e,t))})),m};b();var w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(g.get(t),m),x=y.get(w),E=function(e,t,n,r){var i,a,c,s,u="prev",l="next",f="children",d="parent";if("inline"===e&&r===Ze)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,Ee,u),(0,o.Z)(i,Ce,l),i),h=(a={},(0,o.Z)(a,we,n?l:u),(0,o.Z)(a,xe,n?u:l),(0,o.Z)(a,Ce,f),(0,o.Z)(a,Ze,f),a),v=(c={},(0,o.Z)(c,Ee,u),(0,o.Z)(c,Ce,l),(0,o.Z)(c,Ze,f),(0,o.Z)(c,Se,d),(0,o.Z)(c,we,n?f:d),(0,o.Z)(c,xe,n?d:f),c);switch(null===(s={inline:p,horizontal:h,vertical:v,inlineSub:p,horizontalSub:v,verticalSub:v}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case u:return{offset:-1,sibling:!0};case l:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===c(x,!0).length,n,v);if(!E&&v!==ke&&v!==Ne)return;(_e.includes(v)||[ke,Ne].includes(v))&&u.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);s(r),h(),d.current=(0,ae.Z)((function(){p.current===r&&t.focus()}))}};if([ke,Ne].includes(v)||E.sibling||!w){var Z,S,k=Te(Z=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):i.current,m);S=v===ke?k[0]:v===Ne?k[k.length-1]:Oe(Z,m,w,E.offset),C(S)}else if(E.inlineTrigger)l(x);else if(E.offset>0)l(x,!0),h(),d.current=(0,ae.Z)((function(){b();var e=w.getAttribute("aria-controls"),t=Oe(document.getElementById(e),m);C(t)}),5);else if(E.offset<0){var N=c(x,!0),_=N[N.length-2],T=g.get(_);l(_,!1),C(T)}}null===f||void 0===f||f(u)}}var Re=Math.random().toFixed(5).toString().slice(2),Ae=0;var Me="__RC_UTIL_PATH_SPLIT__",je=function(e){return e.join(Me)},Le="rc-menu-more";function Fe(){var e=u.useState({}),t=(0,c.Z)(e,2)[1],n=(0,u.useRef)(new Map),r=(0,u.useRef)(new Map),o=u.useState([]),i=(0,c.Z)(o,2),s=i[0],l=i[1],f=(0,u.useRef)(0),d=(0,u.useRef)(!1),p=(0,u.useCallback)((function(e,o){var i=je(o);r.current.set(i,e),n.current.set(e,i),f.current+=1;var a,c=f.current;a=function(){c===f.current&&(d.current||t({}))},Promise.resolve().then(a)}),[]),h=(0,u.useCallback)((function(e,t){var o=je(t);r.current.delete(o),n.current.delete(e)}),[]),v=(0,u.useCallback)((function(e){l(e)}),[]),m=(0,u.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Me);return t&&s.includes(o[0])&&o.unshift(Le),o}),[s]),g=(0,u.useCallback)((function(e,t){return e.some((function(e){return m(e,!0).includes(t)}))}),[m]),y=(0,u.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Me),o=new Set;return(0,a.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return u.useEffect((function(){return function(){d.current=!0}}),[]),{registerPath:p,unregisterPath:h,refreshOverflowKeys:v,isSubPathKey:g,getKeyPath:m,getKeys:function(){var e=(0,a.Z)(n.current.keys());return s.length&&e.push(Le),e},getSubPathKeys:y}}var Ie=["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"],Ve=[],De=["className","title","eventKey","children"],ze=["children"],Ue=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,s.Z)(e,De),a=u.useContext(S).prefixCls,c="".concat(a,"-item-group");return u.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(c,t)}),u.createElement("div",{className:"".concat(c,"-title"),title:"string"===typeof n?n:void 0},n),u.createElement("ul",{className:"".concat(c,"-list")},o))};function Be(e){var t=e.children,n=(0,s.Z)(e,ze),r=X(t,L(n.eventKey));return M()?r:u.createElement(Ue,(0,E.Z)(n,["warnKey"]),r)}function He(e){var t=e.className,n=e.style,r=u.useContext(S).prefixCls;return M()?null:u.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var We=u.forwardRef((function(e,t){var n,l,d=e.prefixCls,v=void 0===d?"rc-menu":d,g=e.rootClassName,y=e.style,b=e.className,w=e.tabIndex,x=void 0===w?0:w,E=e.items,C=e.children,Z=e.direction,S=e.id,N=e.mode,_=void 0===N?"vertical":N,O=e.inlineCollapsed,P=e.disabled,R=e.disabledOverflow,M=e.subMenuOpenDelay,j=void 0===M?.1:M,L=e.subMenuCloseDelay,D=void 0===L?.1:L,U=e.forceSubMenuRender,B=e.defaultOpenKeys,H=e.openKeys,W=e.activeKey,q=e.defaultActiveFirst,K=e.selectable,G=void 0===K||K,Y=e.multiple,X=void 0!==Y&&Y,Q=e.defaultSelectedKeys,te=e.selectedKeys,ne=e.onSelect,re=e.onDeselect,oe=e.inlineIndent,ie=void 0===oe?24:oe,ae=e.motion,ce=e.defaultMotions,se=e.triggerSubMenuAction,ue=void 0===se?"hover":se,le=e.builtinPlacements,fe=e.itemIcon,de=e.expandIcon,pe=e.overflowedIndicator,he=void 0===pe?"...":pe,ve=e.overflowedIndicatorPopupClassName,me=e.getPopupContainer,ge=e.onClick,be=e.onOpenChange,we=e.onKeyDown,xe=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),Ee=e._internalRenderSubMenuItem,Ce=(0,s.Z)(e,Ie),Ze=u.useMemo((function(){return J(C,E,Ve)}),[C,E]),Se=u.useState(!1),ke=(0,c.Z)(Se,2),Ne=ke[0],_e=ke[1],Te=u.useRef(),Oe=function(e){var t=(0,h.Z)(e,{value:e}),n=(0,c.Z)(t,2),r=n[0],o=n[1];return u.useEffect((function(){Ae+=1;var e="".concat(Re,"-").concat(Ae);o("rc-menu-uuid-".concat(e))}),[]),r}(S),Me="rtl"===Z;var je=u.useMemo((function(){return"inline"!==_&&"vertical"!==_||!O?[_,!1]:["vertical",O]}),[_,O]),De=(0,c.Z)(je,2),ze=De[0],Ue=De[1],Be=u.useState(0),He=(0,c.Z)(Be,2),We=He[0],qe=He[1],$e=We>=Ze.length-1||"horizontal"!==ze||R,Ke=(0,h.Z)(B,{value:H,postState:function(e){return e||Ve}}),Ge=(0,c.Z)(Ke,2),Ye=Ge[0],Xe=Ge[1],Qe=function(e){Xe(e),null===be||void 0===be||be(e)},Je=u.useState(Ye),et=(0,c.Z)(Je,2),tt=et[0],nt=et[1],rt="inline"===ze,ot=u.useRef(!1);u.useEffect((function(){rt&&nt(Ye)}),[Ye]),u.useEffect((function(){ot.current&&(rt?Xe(tt):Qe(Ve))}),[rt]),u.useEffect((function(){return ot.current=!0,function(){ot.current=!1}}),[]);var it=Fe(),at=it.registerPath,ct=it.unregisterPath,st=it.refreshOverflowKeys,ut=it.isSubPathKey,lt=it.getKeyPath,ft=it.getKeys,dt=it.getSubPathKeys,pt=u.useMemo((function(){return{registerPath:at,unregisterPath:ct}}),[at,ct]),ht=u.useMemo((function(){return{isSubPathKey:ut}}),[ut]);u.useEffect((function(){st($e?Ve:Ze.slice(We+1).map((function(e){return e.key})))}),[We,$e]);var vt=(0,h.Z)(W||q&&(null===(n=Ze[0])||void 0===n?void 0:n.key),{value:W}),mt=(0,c.Z)(vt,2),gt=mt[0],yt=mt[1],bt=ee((function(e){yt(e)})),wt=ee((function(){yt(void 0)}));(0,u.useImperativeHandle)(t,(function(){return{list:Te.current,focus:function(e){var t,n,r,o,i=null!==gt&&void 0!==gt?gt:null===(t=Ze.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=Te.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(V(Oe,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var xt=(0,h.Z)(Q||[],{value:te,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Ve:[e]}}),Et=(0,c.Z)(xt,2),Ct=Et[0],Zt=Et[1],St=ee((function(e){null===ge||void 0===ge||ge(T(e)),function(e){if(G){var t,n=e.key,r=Ct.includes(n);t=X?r?Ct.filter((function(e){return e!==n})):[].concat((0,a.Z)(Ct),[n]):[n],Zt(t);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null===re||void 0===re||re(o):null===ne||void 0===ne||ne(o)}!X&&Ye.length&&"inline"!==ze&&Qe(Ve)}(e)})),kt=ee((function(e,t){var n=Ye.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==ze){var r=dt(e);n=n.filter((function(e){return!r.has(e)}))}p()(Ye,n)||Qe(n)})),Nt=ee(me),_t=Pe(ze,gt,Me,Oe,Te,ft,lt,yt,(function(e,t){var n=null!==t&&void 0!==t?t:!Ye.includes(e);kt(e,n)}),we);u.useEffect((function(){_e(!0)}),[]);var Tt=u.useMemo((function(){return{_internalRenderMenuItem:xe,_internalRenderSubMenuItem:Ee}}),[xe,Ee]),Ot="horizontal"!==ze||R?Ze:Ze.map((function(e,t){return u.createElement(k,{key:e.key,overflowDisabled:t>We},e)})),Pt=u.createElement(m.Z,(0,r.Z)({id:S,ref:Te,prefixCls:"".concat(v,"-overflow"),component:"ul",itemComponent:$,className:f()(v,"".concat(v,"-root"),"".concat(v,"-").concat(ze),b,(l={},(0,o.Z)(l,"".concat(v,"-inline-collapsed"),Ue),(0,o.Z)(l,"".concat(v,"-rtl"),Me),l),g),dir:Z,style:y,role:"menu",tabIndex:x,data:Ot,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?Ze.slice(-t):null;return u.createElement(ye,{eventKey:Le,title:he,disabled:$e,internalPopupClose:0===t,popupClassName:ve},n)},maxCount:"horizontal"!==ze||R?m.Z.INVALIDATE:m.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){qe(e)},onKeyDown:_t},Ce));return u.createElement(z.Provider,{value:Tt},u.createElement(I.Provider,{value:Oe},u.createElement(k,{prefixCls:v,rootClassName:g,mode:ze,openKeys:Ye,rtl:Me,disabled:P,motion:Ne?ae:null,defaultMotions:Ne?ce:null,activeKey:gt,onActive:bt,onInactive:wt,selectedKeys:Ct,inlineIndent:ie,subMenuOpenDelay:j,subMenuCloseDelay:D,forceSubMenuRender:U,builtinPlacements:le,triggerSubMenuAction:ue,getPopupContainer:Nt,itemIcon:fe,expandIcon:de,onItemClick:St,onOpenChange:kt},u.createElement(F.Provider,{value:ht},Pt),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(A.Provider,{value:pt},Ze)))))}));We.Item=$,We.SubMenu=ye,We.ItemGroup=Be,We.Divider=He;var qe=We},62874:function(e,t,n){"use strict";n.d(t,{V:function(){return ae},Z:function(){return ce}});var r=n(4942),o=n(1413),i=n(97685),a=n(71002),c=n(67294),s=n(34203),u=n(42550),l=n(94184),f=n.n(l),d=n(98924);function p(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var h=function(e,t){var n={animationend:p("Animation","AnimationEnd"),transitionend:p("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}((0,d.Z)(),"undefined"!==typeof window?window:{}),v={};if((0,d.Z)()){var m=document.createElement("div");v=m.style}var g={};function y(e){if(g[e])return g[e];var t=h[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,j.Z)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),u=(0,i.Z)(s,2),l=u[0],f=u[1];return L((function(){if(o!==T&&o!==A){var e=F.indexOf(o),n=F[e+1],r=t(o);false===r?a(n,!0):l((function(e){function t(){e.isCanceled()||a(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,o]),c.useEffect((function(){return function(){f()}}),[]),[function(){a(O,!0)},o]};function D(e,t,n,a){var s=a.motionEnter,u=void 0===s||s,l=a.motionAppear,f=void 0===l||l,d=a.motionLeave,p=void 0===d||d,h=a.motionDeadline,v=a.motionLeaveImmediately,m=a.onAppearPrepare,g=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,w=a.onEnterStart,x=a.onLeaveStart,Z=a.onAppearActive,T=a.onEnterActive,A=a.onLeaveActive,j=a.onAppearEnd,F=a.onEnterEnd,D=a.onLeaveEnd,z=a.onVisibleChanged,U=(0,M.Z)(),B=(0,i.Z)(U,2),H=B[0],W=B[1],q=(0,M.Z)(S),$=(0,i.Z)(q,2),K=$[0],G=$[1],Y=(0,M.Z)(null),X=(0,i.Z)(Y,2),Q=X[0],J=X[1],ee=(0,c.useRef)(!1),te=(0,c.useRef)(null);function ne(){return n()}var re=(0,c.useRef)(!1);function oe(e){var t=ne();if(!e||e.deadline||e.target===t){var n,r=re.current;K===k&&r?n=null===j||void 0===j?void 0:j(t,e):K===N&&r?n=null===F||void 0===F?void 0:F(t,e):K===_&&r&&(n=null===D||void 0===D?void 0:D(t,e)),K!==S&&r&&!1!==n&&(G(S,!0),J(null,!0))}}var ie=function(e){var t=(0,c.useRef)(),n=(0,c.useRef)(e);n.current=e;var r=c.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(C,r),e.removeEventListener(E,r))}return c.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(C,r),e.addEventListener(E,r),t.current=e)},o]}(oe),ae=(0,i.Z)(ie,1)[0],ce=c.useMemo((function(){var e,t,n;switch(K){case k:return e={},(0,r.Z)(e,O,m),(0,r.Z)(e,P,b),(0,r.Z)(e,R,Z),e;case N:return t={},(0,r.Z)(t,O,g),(0,r.Z)(t,P,w),(0,r.Z)(t,R,T),t;case _:return n={},(0,r.Z)(n,O,y),(0,r.Z)(n,P,x),(0,r.Z)(n,R,A),n;default:return{}}}),[K]),se=V(K,(function(e){if(e===O){var t=ce.prepare;return!!t&&t(ne())}var n;fe in ce&&J((null===(n=ce[fe])||void 0===n?void 0:n.call(ce,ne(),null))||null);return fe===R&&(ae(ne()),h>0&&(clearTimeout(te.current),te.current=setTimeout((function(){oe({deadline:!0})}),h))),true})),ue=(0,i.Z)(se,2),le=ue[0],fe=ue[1],de=I(fe);re.current=de,L((function(){W(t);var n,r=ee.current;(ee.current=!0,e)&&(!r&&t&&f&&(n=k),r&&t&&u&&(n=N),(r&&!t&&p||!r&&v&&!t&&p)&&(n=_),n&&(G(n),le()))}),[t]),(0,c.useEffect)((function(){(K===k&&!f||K===N&&!u||K===_&&!p)&&G(S)}),[f,u,p]),(0,c.useEffect)((function(){return function(){ee.current=!1,clearTimeout(te.current)}}),[]);var pe=c.useRef(!1);(0,c.useEffect)((function(){H&&(pe.current=!0),void 0!==H&&K===S&&((pe.current||H)&&(null===z||void 0===z||z(H)),pe.current=!0)}),[H,K]);var he=Q;return ce.prepare&&fe===P&&(he=(0,o.Z)({transition:"none"},he)),[K,fe,he,null!==H&&void 0!==H?H:t]}var z=n(15671),U=n(43144),B=n(60136),H=n(33643),W=function(e){(0,B.Z)(n,e);var t=(0,H.Z)(n);function n(){return(0,z.Z)(this,n),t.apply(this,arguments)}return(0,U.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),q=W;var $=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var l=c.forwardRef((function(e,t){var a=e.visible,l=void 0===a||a,d=e.removeOnLeave,p=void 0===d||d,h=e.forceRender,v=e.children,m=e.motionName,g=e.leavedClassName,y=e.eventProps,b=n(e),w=(0,c.useRef)(),x=(0,c.useRef)();var E=D(b,l,(function(){try{return w.current instanceof HTMLElement?w.current:(0,s.Z)(x.current)}catch(e){return null}}),e),C=(0,i.Z)(E,4),k=C[0],N=C[1],_=C[2],T=C[3],R=c.useRef(T);T&&(R.current=!0);var A,M=c.useCallback((function(e){w.current=e,(0,u.mH)(t,e)}),[t]),j=(0,o.Z)((0,o.Z)({},y),{},{visible:l});if(v)if(k!==S&&n(e)){var L,F;N===O?F="prepare":I(N)?F="active":N===P&&(F="start"),A=v((0,o.Z)((0,o.Z)({},j),{},{className:f()(Z(m,k),(L={},(0,r.Z)(L,Z(m,"".concat(k,"-").concat(F)),F),(0,r.Z)(L,m,"string"===typeof m),L)),style:_}),M)}else A=T?v((0,o.Z)({},j),M):!p&&R.current?v((0,o.Z)((0,o.Z)({},j),{},{className:g}),M):h?v((0,o.Z)((0,o.Z)({},j),{},{style:{display:"none"}}),M):null;else A=null;c.isValidElement(A)&&(0,u.Yr)(A)&&(A.ref||(A=c.cloneElement(A,{ref:M})));return c.createElement(q,{ref:x},A)}));return l.displayName="CSSMotion",l}(x),K=n(87462),G=n(45987),Y="add",X="keep",Q="remove",J="removed";function ee(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ee)}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=te(e),c=te(t);a.forEach((function(e){for(var t=!1,a=r;a1}));return u.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Q}))).forEach((function(t){t.key===e&&(t.status=X)}))})),n}var re=["component","children","onVisibleChanged","onAllRemoved"],oe=["status"],ie=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$,n=function(e){(0,B.Z)(r,e);var n=(0,H.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var t=arguments.length,i=new Array(t),a=0;a=a&&(o.key=c[0].notice.key,o.updateMark=w(),o.userPassKey=r,c.shift()),c.push({notice:o,holderCallback:n})),{notices:c}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key;return(n.userPassKey||r)!==t}))}}))},e.noticePropsMap={},e}return(0,c.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,c=n.closeIcon,s=n.style,u=[];return t.forEach((function(n,o){var a=n.notice,s=n.holderCallback,l=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:c},a),a.props),{},{key:f,noticeKey:d||f,updateMark:l,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});u.push(f),e.noticePropsMap[f]={props:p,holderCallback:s}})),l.createElement("div",{className:p()(r,a),style:s},l.createElement(h.V,{keys:u,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,c=t.style,s=t.visible,u=e.noticePropsMap[n],f=u.props,d=u.holderCallback;return d?l.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},c),ref:function(t){"undefined"!==typeof n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):l.createElement(v.Z,(0,o.Z)({},f,{className:p()(a,null===f||void 0===f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},c),null===f||void 0===f?void 0:f.style),visible:s}))})))}}]),n}(l.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),c=document.createElement("div");i?i().appendChild(c):document.body.appendChild(c);var s=!1;(0,f.s)(l.createElement(x,(0,o.Z)({},a,{ref:function(e){s||(s=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){(0,f.v)(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return(0,m.Z)(e)}}))}})),c)};var E=x},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),c=n(51784);function s(e){var t=a.useRef({}),n=a.useState([]),s=(0,i.Z)(n,2),u=s[0],l=s[1];return[function(n){var i=!0;e.add(n,(function(e,n){var s=n.key;if(e&&(!t.current[s]||i)){var u=a.createElement(c.Z,(0,o.Z)({},n,{holder:e}));t.current[s]=u,l((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[u]);var o=(0,r.Z)(e);return o[t]=u,o}))}i=!1}))},a.createElement(a.Fragment,null,u)]}},34243:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(87462),o=n(1413),i=n(97685),a=n(45987),c=n(67294),s=n(94184),u=n.n(s),l=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function h(e,t){var n=e.prefixCls,i=e.invalidate,s=e.item,f=e.renderItem,h=e.responsive,v=e.responsiveDisabled,m=e.registerSize,g=e.itemKey,y=e.className,b=e.style,w=e.children,x=e.display,E=e.order,C=e.component,Z=void 0===C?"div":C,S=(0,a.Z)(e,d),k=h&&!x;function N(e){m(g,e)}c.useEffect((function(){return function(){N(null)}}),[]);var _,T=f&&s!==p?f(s):w;i||(_={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:h?E:p,pointerEvents:k?"none":p,position:k?"absolute":p});var O={};k&&(O["aria-hidden"]=!0);var P=c.createElement(Z,(0,r.Z)({className:u()(!i&&n,y),style:(0,o.Z)((0,o.Z)({},_),b)},O,S,{ref:t}),T);return h&&(P=c.createElement(l.default,{onResize:function(e){N(e.offsetWidth)},disabled:v},P)),P}var v=c.forwardRef(h);v.displayName="Item";var m=v,g=n(75164),y=n(30470);var b=["component"],w=["className"],x=["className"],E=function(e,t){var n=c.useContext(k);if(!n){var o=e.component,i=void 0===o?"div":o,s=(0,a.Z)(e,b);return c.createElement(i,(0,r.Z)({},s,{ref:t}))}var l=n.className,f=(0,a.Z)(n,w),d=e.className,p=(0,a.Z)(e,x);return c.createElement(k.Provider,{value:null},c.createElement(m,(0,r.Z)({ref:t,className:u()(l,d)},f,p)))},C=c.forwardRef(E);C.displayName="RawItem";var Z=C,S=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],k=c.createContext(null),N="responsive",_="invalidate";function T(e){return"+ ".concat(e.length," ...")}function O(e,t){var n=e.prefixCls,s=void 0===n?"rc-overflow":n,d=e.data,p=void 0===d?[]:d,h=e.renderItem,v=e.renderRawItem,b=e.itemKey,w=e.itemWidth,x=void 0===w?10:w,E=e.ssr,C=e.style,Z=e.className,O=e.maxCount,P=e.renderRest,R=e.renderRawRest,A=e.suffix,M=e.component,j=void 0===M?"div":M,L=e.itemComponent,F=e.onVisibleChange,I=(0,a.Z)(e,S),V=function(){var e=(0,y.Z)({}),t=(0,i.Z)(e,2)[1],n=(0,c.useRef)([]),r=0,o=0;return function(e){var i=r;return r+=1,n.current.lengthO,Ne=(0,c.useMemo)((function(){var e=p;return Ze?e=null===B&&D?p:p.slice(0,Math.min(p.length,W/x)):"number"===typeof O&&(e=p.slice(0,O)),e}),[p,x,B,O,Ze]),_e=(0,c.useMemo)((function(){return Ze?p.slice(me+1):p.slice(Ne.length)}),[p,Ne,Ze,me]),Te=(0,c.useCallback)((function(e,t){var n;return"function"===typeof b?b(e):null!==(n=b&&(null===e||void 0===e?void 0:e[b]))&&void 0!==n?n:t}),[b]),Oe=(0,c.useCallback)(h||function(e){return e},[h]);function Pe(e,t,n){(he!==e||void 0!==t&&t!==le)&&(ve(e),n||(we(eW){Pe(r-1,e-o-ae+ne);break}}A&&Ae(0)+ae>W&&fe(null)}}),[W,K,ne,ae,Te,Ne]);var Me=be&&!!_e.length,je={};null!==le&&Ze&&(je={position:"absolute",left:le,top:0});var Le,Fe={prefixCls:xe,responsive:Ze,component:L,invalidate:Se},Ie=v?function(e,t){var n=Te(e,t);return c.createElement(k.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},Fe),{},{order:t,item:e,itemKey:n,registerSize:Re,display:t<=me})},v(e,t))}:function(e,t){var n=Te(e,t);return c.createElement(m,(0,r.Z)({},Fe,{order:t,key:n,item:e,renderItem:Oe,itemKey:n,registerSize:Re,display:t<=me}))},Ve={order:Me?me:Number.MAX_SAFE_INTEGER,className:"".concat(xe,"-rest"),registerSize:function(e,t){re(t),J(ne)},display:Me};if(R)R&&(Le=c.createElement(k.Provider,{value:(0,o.Z)((0,o.Z)({},Fe),Ve)},R(_e)));else{var De=P||T;Le=c.createElement(m,(0,r.Z)({},Fe,Ve),"function"===typeof De?De(_e):De)}var ze=c.createElement(j,(0,r.Z)({className:u()(!Se&&s,Z),style:C,ref:t},I),Ne.map(Ie),ke?Le:null,A&&c.createElement(m,(0,r.Z)({},Fe,{responsive:Ce,responsiveDisabled:!Ze,order:me,className:"".concat(xe,"-suffix"),registerSize:function(e,t){ce(t)},display:!0,style:je}),A));return Ce&&(ze=c.createElement(l.default,{onResize:function(e,t){H(t.clientWidth)},disabled:!Ze},ze)),ze}var P=c.forwardRef(O);P.displayName="Overflow",P.Item=Z,P.RESPONSIVE=N,P.INVALIDATE=_;var R=P},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),a=(n(80334),n(1413)),c=n(42550),s=n(34203),u=n(91033),l=new Map;var f=new u.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=l.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var d=n(15671),p=n(43144),h=n(60136),v=n(33643),m=function(e){(0,h.Z)(n,e);var t=(0,v.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),u=o.useContext(g),d="function"===typeof t,p=d?t(r):t,h=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!d&&o.isValidElement(p)&&(0,c.Yr)(p),y=v?p.ref:null,b=o.useMemo((function(){return(0,c.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,c=o.height,s=e.offsetWidth,l=e.offsetHeight,f=Math.floor(i),d=Math.floor(c);if(h.current.width!==f||h.current.height!==d||h.current.offsetWidth!==s||h.current.offsetHeight!==l){var p={width:f,height:d,offsetWidth:s,offsetHeight:l};h.current=p;var v=s===Math.round(i)?i:s,m=l===Math.round(c)?c:l,g=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:v,offsetHeight:m});null===u||void 0===u||u(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o.useEffect((function(){var e,t,o=(0,s.Z)(r.current)||(0,s.Z)(i.current);return o&&!n&&(e=o,t=x,l.has(e)||(l.set(e,new Set),f.observe(e)),l.get(e).add(t)),function(){return function(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(f.unobserve(e),l.delete(e)))}(o,x)}}),[r.current,n]),o.createElement(m,{ref:i},v?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?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),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===a||void 0===a||a(e,t,o)}),[n,a]);return o.createElement(g.Provider,{value:c},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),c=n(60136),s=n(33643),u=n(67294),l=n(1413),f=n(4942),d=n(48555),p=n(98423),h=n(94184),v=n.n(h),m="\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",g=["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"],y={};function b(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&&y[n])return y[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")),c=g.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),s={sizingStyle:c,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(y[n]=s),s}var w,x=n(96774),E=n.n(x);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(w||(w={}));var C=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).nextFrameActionId=void 0,a.resizeFrameId=void 0,a.textArea=void 0,a.saveTextArea=function(e){a.textArea=e},a.handleResize=function(e){var t=a.state.resizeStatus,n=a.props,r=n.autoSize,o=n.onResize;t===w.NONE&&("function"===typeof o&&o(e),r&&a.resizeOnNextFrame())},a.resizeOnNextFrame=function(){cancelAnimationFrame(a.nextFrameActionId),a.nextFrameActionId=requestAnimationFrame(a.resizeTextarea)},a.resizeTextarea=function(){var e=a.props.autoSize;if(e&&a.textArea){var t=e.minRows,n=e.maxRows,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=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 i=b(e,t),a=i.paddingSize,c=i.borderSize,s=i.boxSizing,u=i.sizingStyle;r.setAttribute("style","".concat(u,";").concat(m)),r.value=e.value||e.placeholder||"";var l,f=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,p=r.scrollHeight;if("border-box"===s?p+=c:"content-box"===s&&(p-=a),null!==n||null!==o){r.value=" ";var h=r.scrollHeight-a;null!==n&&(f=h*n,"border-box"===s&&(f=f+a+c),p=Math.max(f,p)),null!==o&&(d=h*o,"border-box"===s&&(d=d+a+c),l=p>d?"":"hidden",p=Math.min(d,p))}return{height:p,minHeight:f,maxHeight:d,overflowY:l,resize:"none"}}(a.textArea,!1,t,n);a.setState({textareaStyles:o,resizeStatus:w.RESIZING},(function(){cancelAnimationFrame(a.resizeFrameId),a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.RESIZED},(function(){a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.NONE}),a.fixFirefoxAutoScroll()}))}))}))}))}},a.renderTextArea=function(){var e=a.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,r=e.autoSize,i=e.onResize,c=e.className,s=e.disabled,h=a.state,m=h.textareaStyles,g=h.resizeStatus,y=(0,p.Z)(a.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),b=v()(n,c,(0,f.Z)({},"".concat(n,"-disabled"),s));"value"in y&&(y.value=y.value||"");var x=(0,l.Z)((0,l.Z)((0,l.Z)({},a.props.style),m),g===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return u.createElement(d.default,{onResize:a.handleResize,disabled:!(r||i)},u.createElement("textarea",(0,o.Z)({},y,{className:b,style:x,ref:a.saveTextArea})))},a.state={textareaStyles:{},resizeStatus:w.NONE},a}return(0,a.Z)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&E()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(u.Component),Z=C,S=function(e){(0,c.Z)(n,e);var t=(0,s.Z)(n);function n(e){var r;(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,(function(){r.resizableTextArea.resizeTextarea()})),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 o="undefined"===typeof 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 u.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}(u.Component)},43763:function(e,t,n){"use strict";n.r(t),n.d(t,{Popup:function(){return d},default:function(){return h}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),c=n(67294),s=n(51169),u=n(43159),l=n(94184),f=n.n(l);function d(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,s=e.className,u=e.style;return c.createElement("div",{className:f()("".concat(o,"-content"),s),style:u},!1!==t&&c.createElement("div",{className:"".concat(o,"-arrow"),key:"arrow"},n),c.createElement("div",{className:"".concat(o,"-inner"),id:i,role:"tooltip",style:a},"function"===typeof r?r():r))}var p=function(e,t){var n=e.overlayClassName,l=e.trigger,f=void 0===l?["hover"]:l,p=e.mouseEnterDelay,h=void 0===p?0:p,v=e.mouseLeaveDelay,m=void 0===v?.1:v,g=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,x=e.onVisibleChange,E=e.afterVisibleChange,C=e.transitionName,Z=e.animation,S=e.motion,k=e.placement,N=void 0===k?"right":k,_=e.align,T=void 0===_?{}:_,O=e.destroyTooltipOnHide,P=void 0!==O&&O,R=e.defaultVisible,A=e.getTooltipContainer,M=e.overlayInnerStyle,j=e.arrowContent,L=e.overlay,F=e.id,I=e.showArrow,V=(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"]),D=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,(function(){return D.current}));var z=(0,i.Z)({},V);"visible"in e&&(z.popupVisible=e.visible);var U=!1,B=!1;if("boolean"===typeof P)U=P;else if(P&&"object"===(0,o.Z)(P)){var H=P.keepParent;U=!0===H,B=!1===H}return c.createElement(s.Z,(0,r.Z)({popupClassName:n,prefixCls:b,popup:function(){return c.createElement(d,{showArrow:I,arrowContent:j,key:"content",prefixCls:b,id:F,overlayInnerStyle:M},L)},action:f,builtinPlacements:u.C,popupPlacement:N,ref:D,popupAlign:T,getPopupContainer:A,onPopupVisibleChange:x,afterPopupVisibleChange:E,popupTransitionName:C,popupAnimation:Z,popupMotion:S,defaultPopupVisible:R,destroyPopupOnHide:U,autoDestroy:B,mouseLeaveDelay:m,popupStyle:g,mouseEnterDelay:h},z),w)},h=(0,c.forwardRef)(p)},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}}},51169:function(e,t,n){"use strict";n.d(t,{Z:function(){return tt}});var r=n(1413),o=n(87462),i=n(15671),a=n(43144),c=n(97326),s=n(60136),u=n(33643),l=n(67294),f=n(73935),d=n(75164),p=n(94999),h=n(34203),v=n(42550),m=n(64019),g=n(59015),y=n(94184),b=n.n(y);function w(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n(97685),E=n(45987),C=n(31131),Z=n(62874);function S(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 k(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,a=e.mask,c=e.maskMotion,s=e.maskAnimation,u=e.maskTransitionName;if(!a)return null;var f={};return(c||u||s)&&(f=(0,r.Z)({motionAppear:!0},S({motion:c,prefixCls:t,transitionName:u,animation:s}))),l.createElement(Z.Z,(0,o.Z)({},f,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return l.createElement("div",{style:{zIndex:i},className:b()("".concat(t,"-mask"),n)})}))}var N,_=n(71002),T=n(5110);function O(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 P(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ye(e){var t,n,r;if(pe.isWindow(e)||9===e.nodeType){var o=pe.getWindow(e);t={left:pe.getWindowScrollLeft(o),top:pe.getWindowScrollTop(o)},n=pe.viewportWidth(o),r=pe.viewportHeight(o)}else t=pe.offset(e),n=pe.outerWidth(e),r=pe.outerHeight(e);return t.width=n,t.height=r,t}function be(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,c=e.top;return"c"===n?c+=i/2:"b"===n&&(c+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:c}}function we(e,t,n,r,o){var i=be(t,n[1]),a=be(e,n[0]),c=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-c[0]+r[0]-o[0]),top:Math.round(e.top-c[1]+r[1]-o[1])}}function xe(e,t,n){return e.leftn.right}function Ee(e,t,n){return e.topn.bottom}function Ce(e,t,n){var r=[];return pe.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Ze(e,t){return e[t]=-e[t],e}function Se(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function ke(e,t){e[0]=Se(e[0],t.width),e[1]=Se(e[1],t.height)}function Ne(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],c=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a);var u={},l=0,f=ge(s,!(!(c=c||{})||!c.alwaysByViewport)),d=ye(s);ke(i,d),ke(a,t);var p=we(d,t,o,i,a),h=pe.merge(d,p);if(f&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&xe(p,d,f)){var v=Ce(o,/[lr]/gi,{l:"r",r:"l"}),m=Ze(i,0),g=Ze(a,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),pe.mix(o,i)}(p,d,f,u))}return h.width!==d.width&&pe.css(s,"width",pe.width(s)+h.width-d.width),h.height!==d.height&&pe.css(s,"height",pe.height(s)+h.height-d.height),pe.offset(s,{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:u}}function _e(e,t,n){var r=n.target||t,o=ye(r),i=!function(e,t){var n=ge(e,t),r=ye(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Ne(e,o,n,i)}_e.__getOffsetParent=ve,_e.__getVisibleRectForElement=ge;var Te=n(18446),Oe=n.n(Te),Pe=n(91033);function Re(e,t){var n=null,r=null;var o=new Pe.Z((function(e){var o=(0,x.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,c=i.height,s=Math.floor(a),u=Math.floor(c);n===s&&r===u||Promise.resolve().then((function(){t({width:s,height:u})})),n=s,r=u}}));return e&&o.observe(e),function(){o.disconnect()}}function Ae(e){return"function"!==typeof e?null:e()}function Me(e){return"object"===(0,_.Z)(e)&&e?e:null}var je=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,c=e.monitorWindowResize,s=e.monitorBufferTime,u=void 0===s?0:s,f=l.useRef({}),d=l.useRef(),h=l.Children.only(n),g=l.useRef({});g.current.disabled=r,g.current.target=o,g.current.align=i,g.current.onAlign=a;var y=function(e,t){var n=l.useRef(!1),r=l.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(){var e=g.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a=d.current,c=Ae(n),s=Me(n);f.current.element=c,f.current.point=s,f.current.align=r;var u=document.activeElement;return c&&(0,T.Z)(c)?i=_e(a,c,r):s&&(i=function(e,t,n){var r,o,i=pe.getDocument(e),a=i.defaultView||i.parentWindow,c=pe.getWindowScrollLeft(a),s=pe.getWindowScrollTop(a),u=pe.viewportWidth(a),l=pe.viewportHeight(a),f={left:r="pageX"in t?t.pageX:c+t.clientX,top:o="pageY"in t?t.pageY:s+t.clientY,width:0,height:0},d=r>=0&&r<=c+u&&o>=0&&o<=s+l,p=[n.points[0],"cc"];return Ne(e,f,P(P({},n),{},{points:p}),d)}(a,s,r)),function(e,t){e!==document.activeElement&&(0,p.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(u,a),o&&i&&o(a,i),!0}return!1}),u),b=(0,x.Z)(y,2),w=b[0],E=b[1],C=l.useRef({cancel:function(){}}),Z=l.useRef({cancel:function(){}});l.useEffect((function(){var e,t,n=Ae(o),r=Me(o);d.current!==Z.current.element&&(Z.current.cancel(),Z.current.element=d.current,Z.current.cancel=Re(d.current,w)),f.current.element===n&&((e=f.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&Oe()(f.current.align,i)||(w(),C.current.element!==n&&(C.current.cancel(),C.current.element=n,C.current.cancel=Re(n,w)))})),l.useEffect((function(){r?E():w()}),[r]);var S=l.useRef(null);return l.useEffect((function(){c?S.current||(S.current=(0,m.Z)(window,"resize",w)):S.current&&(S.current.remove(),S.current=null)}),[c]),l.useEffect((function(){return function(){C.current.cancel(),Z.current.cancel(),S.current&&S.current.remove(),E()}}),[]),l.useImperativeHandle(t,(function(){return{forceAlign:function(){return w(!0)}}})),l.isValidElement(h)&&(h=l.cloneElement(h,{ref:(0,v.sQ)(h.ref,d)})),h},Le=l.forwardRef(je);Le.displayName="Align";var Fe=Le,Ie=n(8410),Ve=n(74165),De=n(15861),ze=n(30470),Ue=["measure","alignPre","align",null,"motion"],Be=l.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,a=e.className,c=e.style,s=e.children,u=e.zIndex,f=e.stretch,p=e.destroyPopupOnHide,h=e.forceRender,v=e.align,m=e.point,g=e.getRootDomNode,y=e.getClassNameFromAlign,w=e.onAlign,E=e.onMouseEnter,C=e.onMouseLeave,k=e.onMouseDown,N=e.onTouchStart,_=e.onClick,T=(0,l.useRef)(),O=(0,l.useRef)(),P=(0,l.useState)(),R=(0,x.Z)(P,2),A=R[0],M=R[1],j=function(e){var t=l.useState({width:0,height:0}),n=(0,x.Z)(t,2),r=n[0],o=n[1];return[l.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){o({width:e.offsetWidth,height:e.offsetHeight})}]}(f),L=(0,x.Z)(j,2),F=L[0],I=L[1];var V=function(e,t){var n=(0,ze.Z)(null),r=(0,x.Z)(n,2),o=r[0],i=r[1],a=(0,l.useRef)();function c(e){i(e,!0)}function s(){d.Z.cancel(a.current)}return(0,l.useEffect)((function(){c("measure")}),[e]),(0,l.useEffect)((function(){"measure"===o&&t(),o&&(a.current=(0,d.Z)((0,De.Z)((0,Ve.Z)().mark((function e(){var t,n;return(0,Ve.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ue.indexOf(o),(n=Ue[t+1])&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),(0,l.useEffect)((function(){return function(){s()}}),[]),[o,function(e){s(),a.current=(0,d.Z)((function(){c((function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]}(n,(function(){f&&I(g())})),D=(0,x.Z)(V,2),z=D[0],U=D[1],B=(0,l.useState)(0),H=(0,x.Z)(B,2),W=H[0],q=H[1],$=(0,l.useRef)();function K(){var e;null===(e=T.current)||void 0===e||e.forceAlign()}function G(e,t){var n=y(t);A!==n&&M(n),q((function(e){return e+1})),"align"===z&&(null===w||void 0===w||w(e,t))}(0,Ie.Z)((function(){"alignPre"===z&&q(0)}),[z]),(0,Ie.Z)((function(){"align"===z&&(W<2?K():U((function(){var e;null===(e=$.current)||void 0===e||e.call($)})))}),[W]);var Y=(0,r.Z)({},S(e));function X(){return new Promise((function(e){$.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=Y[e];Y[e]=function(e,n){return U(),null===t||void 0===t?void 0:t(e,n)}})),l.useEffect((function(){Y.motionName||"motion"!==z||U()}),[Y.motionName,z]),l.useImperativeHandle(t,(function(){return{forceAlign:K,getElement:function(){return O.current}}}));var Q=(0,r.Z)((0,r.Z)({},F),{},{zIndex:u,opacity:"motion"!==z&&"stable"!==z&&n?0:void 0,pointerEvents:n||"stable"===z?void 0:"none"},c),J=!0;!(null===v||void 0===v?void 0:v.points)||"align"!==z&&"stable"!==z||(J=!1);var ee=s;return l.Children.count(s)>1&&(ee=l.createElement("div",{className:"".concat(i,"-content")},s)),l.createElement(Z.Z,(0,o.Z)({visible:n,ref:O,leavedClassName:"".concat(i,"-hidden")},Y,{onAppearPrepare:X,onEnterPrepare:X,removeOnLeave:p,forceRender:h}),(function(e,t){var n=e.className,o=e.style,c=b()(i,a,A,n);return l.createElement(Fe,{target:m||g,key:"popup",ref:T,monitorWindowResize:!0,disabled:J,align:v,onAlign:G},l.createElement("div",{ref:t,className:c,onMouseEnter:E,onMouseLeave:C,onMouseDownCapture:k,onTouchStartCapture:N,onClick:_,style:(0,r.Z)((0,r.Z)({},o),Q)},ee))}))}));Be.displayName="PopupInner";var He=Be,We=l.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,a=e.zIndex,c=e.children,s=e.mobile,u=(s=void 0===s?{}:s).popupClassName,f=s.popupStyle,d=s.popupMotion,p=void 0===d?{}:d,h=s.popupRender,v=e.onClick,m=l.useRef();l.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var g=(0,r.Z)({zIndex:a},f),y=c;return l.Children.count(c)>1&&(y=l.createElement("div",{className:"".concat(n,"-content")},c)),h&&(y=h(y)),l.createElement(Z.Z,(0,o.Z)({visible:i,ref:m,removeOnLeave:!0},p),(function(e,t){var o=e.className,i=e.style,a=b()(n,u,o);return l.createElement("div",{ref:t,className:a,onClick:v,style:(0,r.Z)((0,r.Z)({},i),g)},y)}))}));We.displayName="MobilePopupInner";var qe=We,$e=["visible","mobile"],Ke=l.forwardRef((function(e,t){var n=e.visible,i=e.mobile,a=(0,E.Z)(e,$e),c=(0,l.useState)(n),s=(0,x.Z)(c,2),u=s[0],f=s[1],d=(0,l.useState)(!1),p=(0,x.Z)(d,2),h=p[0],v=p[1],m=(0,r.Z)((0,r.Z)({},a),{},{visible:u});(0,l.useEffect)((function(){f(n),n&&i&&v((0,C.Z)())}),[n,i]);var g=h?l.createElement(qe,(0,o.Z)({},m,{mobile:i,ref:t})):l.createElement(He,(0,o.Z)({},m,{ref:t}));return l.createElement("div",null,l.createElement(k,m),g)}));Ke.displayName="Popup";var Ge=Ke,Ye=l.createContext(null);function Xe(){}function Qe(){return""}function Je(e){return e?e.ownerDocument:window.document}var et=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var tt=function(e){var t=function(t){(0,s.Z)(g,t);var n=(0,u.Z)(g);function g(e){var t,r;return(0,i.Z)(this,g),(t=n.call(this,e)).popupRef=l.createRef(),t.triggerRef=l.createRef(),t.portalContainer=void 0,t.attachId=void 0,t.clickOutsideHandler=void 0,t.touchOutsideHandler=void 0,t.contextMenuOutsideHandler1=void 0,t.contextMenuOutsideHandler2=void 0,t.mouseDownTimeout=void 0,t.focusTime=void 0,t.preClickTime=void 0,t.preTouchTime=void 0,t.delayTimer=void 0,t.hasPopupMouseDown=void 0,t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,p.Z)(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();(0,p.Z)(r,n)&&!t.isContextMenuOnly()||(0,p.Z)(o,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=(0,h.Z)(t.triggerRef.current);if(n)return n}catch(r){}return f.findDOMNode((0,c.Z)(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,c=r.alignPoint,s=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},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 v}});var r=n(98924),o=n(94999),i="data-rc-order",a="rc-util-key",c=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):a}function u(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function l(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function f(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function d(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,l(o)),(null===n||void 0===n?void 0:n.nonce)&&(a.nonce=null===n||void 0===n?void 0:n.nonce),a.innerHTML=e;var c=u(t),s=c.firstChild;if(o){if("queue"===o){var d=f(c).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))}));if(d.length)return c.insertBefore(a,d[d.length-1].nextSibling),a}c.insertBefore(a,s)}else c.appendChild(a);return a}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=u(t);return f(n).find((function(n){return n.getAttribute(s(t))===e}))}function h(e,t){var n=c.get(e);if(!n||!(0,o.Z)(document,n)){var r=d("",t),i=r.parentNode;c.set(e,i),i.removeChild(r)}}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(n);h(r,n);var o=p(t,n);if(o){var i,a,c;if((null===(i=n.csp)||void 0===i?void 0:i.nonce)&&o.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=n.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var l=d(e,n);return l.setAttribute(s(n),t),l}},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),c=null;return i&&!Number.isNaN(a)?c=a:r&&null===c&&(c=0),r&&e.disabled&&(c=null),null!==c&&(c>=0||t&&c<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 i}});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};function i(e,t){return Array.isArray(e)||void 0===t?o(e):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}(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)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-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},59015:function(e,t,n){"use strict";var r=n(67294),o=n(73935),i=n(98924),a=(0,r.forwardRef)((function(e,t){var n=e.didUpdate,a=e.getContainer,c=e.children,s=(0,r.useRef)(),u=(0,r.useRef)();(0,r.useImperativeHandle)(t,(function(){return{}}));var l=(0,r.useRef)(!1);return!l.current&&(0,i.Z)()&&(u.current=a(),s.current=u.current.parentNode,l.current=!0),(0,r.useEffect)((function(){null===n||void 0===n||n(e)})),(0,r.useEffect)((function(){return null===u.current.parentNode&&null!==s.current&&s.current.appendChild(u.current),function(){var e,t;null===(e=u.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(u.current)}}),[]),u.current?o.createPortal(c,u.current):null}));t.Z=a},38135:function(e,t,n){"use strict";var r;n.d(t,{s:function(){return m},v:function(){return w}});var o,i=n(74165),a=n(15861),c=n(71002),s=n(1413),u=n(73935),l=(0,s.Z)({},r||(r=n.t(u,2))),f=l.version,d=l.render,p=l.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=l.createRoot)}catch(E){}function h(e){var t=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,c.Z)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function m(e,t){o?function(e,t){h(!0);var n=t[v]||o(t);h(!1),n.render(e),t[v]=n}(e,t):function(e,t){d(e,t)}(e,t)}function g(e){return y.apply(this,arguments)}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){p(e)}function w(e){return x.apply(this,arguments)}function x(){return(x=(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",g(t));case 2:b(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?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();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o